Changeset 3425 for trunk/packages/vizservers/configure
- Timestamp:
- Mar 3, 2013, 5:49:46 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/configure
r3403 r3425 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. … … 643 658 LD_RPATH 644 659 FF_INC_SPEC 645 DX_LIB_SPEC646 DX_INC_SPEC647 660 CG_LIB_SPEC 648 661 CG_INC_SPEC … … 722 735 prefix 723 736 exec_prefix 724 PACKAGE_URL725 737 PACKAGE_BUGREPORT 726 738 PACKAGE_STRING … … 822 834 823 835 case $ac_option in 824 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 825 *=) ac_optarg= ;; 826 *) ac_optarg=yes ;; 836 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 837 *) ac_optarg=yes ;; 827 838 esac 828 839 … … 869 880 # Reject names that are not valid shell variable names. 870 881 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 871 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; }; } 872 884 ac_useropt_orig=$ac_useropt 873 885 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 895 907 # Reject names that are not valid shell variable names. 896 908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 897 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; }; } 898 911 ac_useropt_orig=$ac_useropt 899 912 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1099 1112 # Reject names that are not valid shell variable names. 1100 1113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1101 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; }; } 1102 1116 ac_useropt_orig=$ac_useropt 1103 1117 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1115 1129 # Reject names that are not valid shell variable names. 1116 1130 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1117 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; }; } 1118 1133 ac_useropt_orig=$ac_useropt 1119 1134 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1145 1160 x_libraries=$ac_optarg ;; 1146 1161 1147 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1148 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; }; } 1149 1165 ;; 1150 1166 … … 1152 1168 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1153 1169 # Reject names that are not valid shell variable names. 1154 case $ac_envvar in #( 1155 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1156 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1157 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; }; } 1158 1173 eval $ac_envvar=\$ac_optarg 1159 1174 export $ac_envvar ;; … … 1164 1179 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1165 1180 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1166 : "${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} 1167 1182 ;; 1168 1183 … … 1172 1187 if test -n "$ac_prev"; then 1173 1188 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1174 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; }; } 1175 1191 fi 1176 1192 … … 1178 1194 case $enable_option_checking in 1179 1195 no) ;; 1180 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; }; } ;; 1181 1198 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1182 1199 esac … … 1201 1218 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1202 1219 esac 1203 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; }; } 1204 1222 done 1205 1223 … … 1215 1233 if test "x$build_alias" = x; then 1216 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 1217 1237 elif test "x$build_alias" != "x$host_alias"; then 1218 1238 cross_compiling=yes … … 1229 1249 ac_ls_di=`ls -di .` && 1230 1250 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1231 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; }; } 1232 1253 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1233 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; }; } 1234 1256 1235 1257 … … 1270 1292 if test ! -r "$srcdir/$ac_unique_file"; then 1271 1293 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1272 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; }; } 1273 1296 fi 1274 1297 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1275 1298 ac_abs_confdir=`( 1276 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; }; } 1277 1301 pwd)` 1278 1302 # When building in place, set srcdir=. … … 1314 1338 --help=recursive display the short help of all the included packages 1315 1339 -V, --version display version information and exit 1316 -q, --quiet, --silent do not print \`checking 1340 -q, --quiet, --silent do not print \`checking...' messages 1317 1341 --cache-file=FILE cache test results in FILE [disabled] 1318 1342 -C, --config-cache alias for \`--cache-file=config.cache' … … 1398 1422 nonstandard directory <lib dir> 1399 1423 LIBS libraries to pass to the linker, e.g. -l<library> 1400 CPPFLAGS (Objective) C/C++preprocessor flags, e.g. -I<include dir> if1424 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1401 1425 you have headers in a nonstandard directory <include dir> 1402 1426 CPP C preprocessor … … 1473 1497 cat <<\_ACEOF 1474 1498 vizservers configure 0.1 1475 generated by GNU Autoconf 2.69 1476 1477 Copyright (C) 2012 Free Software Foundation, Inc. 1499 generated by GNU Autoconf 2.63 1500 1501 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1502 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1478 1503 This configure script is free software; the Free Software Foundation 1479 1504 gives unlimited permission to copy, distribute and modify it. … … 1481 1506 exit 1482 1507 fi 1483 1484 ## ------------------------ ##1485 ## Autoconf initialization. ##1486 ## ------------------------ ##1487 1488 # ac_fn_c_try_compile LINENO1489 # --------------------------1490 # Try to compile conftest.$ac_ext, and return whether this succeeded.1491 ac_fn_c_try_compile ()1492 {1493 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1494 rm -f conftest.$ac_objext1495 if { { ac_try="$ac_compile"1496 case "(($ac_try" in1497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1498 *) ac_try_echo=$ac_try;;1499 esac1500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1501 $as_echo "$ac_try_echo"; } >&51502 (eval "$ac_compile") 2>conftest.err1503 ac_status=$?1504 if test -s conftest.err; then1505 grep -v '^ *+' conftest.err >conftest.er11506 cat conftest.er1 >&51507 mv -f conftest.er1 conftest.err1508 fi1509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51510 test $ac_status = 0; } && {1511 test -z "$ac_c_werror_flag" ||1512 test ! -s conftest.err1513 } && test -s conftest.$ac_objext; then :1514 ac_retval=01515 else1516 $as_echo "$as_me: failed program was:" >&51517 sed 's/^/| /' conftest.$ac_ext >&51518 1519 ac_retval=11520 fi1521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1522 as_fn_set_status $ac_retval1523 1524 } # ac_fn_c_try_compile1525 1526 # ac_fn_c_try_cpp LINENO1527 # ----------------------1528 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1529 ac_fn_c_try_cpp ()1530 {1531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1532 if { { ac_try="$ac_cpp conftest.$ac_ext"1533 case "(($ac_try" in1534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1535 *) ac_try_echo=$ac_try;;1536 esac1537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1538 $as_echo "$ac_try_echo"; } >&51539 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1540 ac_status=$?1541 if test -s conftest.err; then1542 grep -v '^ *+' conftest.err >conftest.er11543 cat conftest.er1 >&51544 mv -f conftest.er1 conftest.err1545 fi1546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51547 test $ac_status = 0; } > conftest.i && {1548 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1549 test ! -s conftest.err1550 }; then :1551 ac_retval=01552 else1553 $as_echo "$as_me: failed program was:" >&51554 sed 's/^/| /' conftest.$ac_ext >&51555 1556 ac_retval=11557 fi1558 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1559 as_fn_set_status $ac_retval1560 1561 } # ac_fn_c_try_cpp1562 1563 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES1564 # -------------------------------------------------------1565 # Tests whether HEADER exists, giving a warning if it cannot be compiled using1566 # the include files in INCLUDES and setting the cache variable VAR1567 # accordingly.1568 ac_fn_c_check_header_mongrel ()1569 {1570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1571 if eval \${$3+:} false; then :1572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51573 $as_echo_n "checking for $2... " >&6; }1574 if eval \${$3+:} false; then :1575 $as_echo_n "(cached) " >&61576 fi1577 eval ac_res=\$$31578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51579 $as_echo "$ac_res" >&6; }1580 else1581 # Is the header compilable?1582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&51583 $as_echo_n "checking $2 usability... " >&6; }1584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1585 /* end confdefs.h. */1586 $41587 #include <$2>1588 _ACEOF1589 if ac_fn_c_try_compile "$LINENO"; then :1590 ac_header_compiler=yes1591 else1592 ac_header_compiler=no1593 fi1594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&51596 $as_echo "$ac_header_compiler" >&6; }1597 1598 # Is the header present?1599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&51600 $as_echo_n "checking $2 presence... " >&6; }1601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1602 /* end confdefs.h. */1603 #include <$2>1604 _ACEOF1605 if ac_fn_c_try_cpp "$LINENO"; then :1606 ac_header_preproc=yes1607 else1608 ac_header_preproc=no1609 fi1610 rm -f conftest.err conftest.i conftest.$ac_ext1611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&51612 $as_echo "$ac_header_preproc" >&6; }1613 1614 # So? What about this header?1615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((1616 yes:no: )1617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&51618 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}1619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51620 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1621 ;;1622 no:yes:* )1623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&51624 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}1625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&51626 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}1627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&51628 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}1629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&51630 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}1631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51632 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1633 ( $as_echo "## ----------------------------------- ##1634 ## Report this to rappture@nanohub.org ##1635 ## ----------------------------------- ##"1636 ) | sed "s/^/$as_me: WARNING: /" >&21637 ;;1638 esac1639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51640 $as_echo_n "checking for $2... " >&6; }1641 if eval \${$3+:} false; then :1642 $as_echo_n "(cached) " >&61643 else1644 eval "$3=\$ac_header_compiler"1645 fi1646 eval ac_res=\$$31647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51648 $as_echo "$ac_res" >&6; }1649 fi1650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1651 1652 } # ac_fn_c_check_header_mongrel1653 1654 # ac_fn_c_try_run LINENO1655 # ----------------------1656 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1657 # that executables *can* be run.1658 ac_fn_c_try_run ()1659 {1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1661 if { { ac_try="$ac_link"1662 case "(($ac_try" in1663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1664 *) ac_try_echo=$ac_try;;1665 esac1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1667 $as_echo "$ac_try_echo"; } >&51668 (eval "$ac_link") 2>&51669 ac_status=$?1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51671 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1672 { { case "(($ac_try" in1673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1674 *) ac_try_echo=$ac_try;;1675 esac1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1677 $as_echo "$ac_try_echo"; } >&51678 (eval "$ac_try") 2>&51679 ac_status=$?1680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51681 test $ac_status = 0; }; }; then :1682 ac_retval=01683 else1684 $as_echo "$as_me: program exited with status $ac_status" >&51685 $as_echo "$as_me: failed program was:" >&51686 sed 's/^/| /' conftest.$ac_ext >&51687 1688 ac_retval=$ac_status1689 fi1690 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1691 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1692 as_fn_set_status $ac_retval1693 1694 } # ac_fn_c_try_run1695 1696 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES1697 # -------------------------------------------------------1698 # Tests whether HEADER exists and can be compiled using the include files in1699 # INCLUDES, setting the cache variable VAR accordingly.1700 ac_fn_c_check_header_compile ()1701 {1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51704 $as_echo_n "checking for $2... " >&6; }1705 if eval \${$3+:} false; then :1706 $as_echo_n "(cached) " >&61707 else1708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1709 /* end confdefs.h. */1710 $41711 #include <$2>1712 _ACEOF1713 if ac_fn_c_try_compile "$LINENO"; then :1714 eval "$3=yes"1715 else1716 eval "$3=no"1717 fi1718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1719 fi1720 eval ac_res=\$$31721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51722 $as_echo "$ac_res" >&6; }1723 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1724 1725 } # ac_fn_c_check_header_compile1726 1727 # ac_fn_c_try_link LINENO1728 # -----------------------1729 # Try to link conftest.$ac_ext, and return whether this succeeded.1730 ac_fn_c_try_link ()1731 {1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1733 rm -f conftest.$ac_objext conftest$ac_exeext1734 if { { ac_try="$ac_link"1735 case "(($ac_try" in1736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1737 *) ac_try_echo=$ac_try;;1738 esac1739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1740 $as_echo "$ac_try_echo"; } >&51741 (eval "$ac_link") 2>conftest.err1742 ac_status=$?1743 if test -s conftest.err; then1744 grep -v '^ *+' conftest.err >conftest.er11745 cat conftest.er1 >&51746 mv -f conftest.er1 conftest.err1747 fi1748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51749 test $ac_status = 0; } && {1750 test -z "$ac_c_werror_flag" ||1751 test ! -s conftest.err1752 } && test -s conftest$ac_exeext && {1753 test "$cross_compiling" = yes ||1754 test -x conftest$ac_exeext1755 }; then :1756 ac_retval=01757 else1758 $as_echo "$as_me: failed program was:" >&51759 sed 's/^/| /' conftest.$ac_ext >&51760 1761 ac_retval=11762 fi1763 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1764 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1765 # interfere with the next link command; also delete a directory that is1766 # left behind by Apple's compiler. We do this before executing the actions.1767 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1769 as_fn_set_status $ac_retval1770 1771 } # ac_fn_c_try_link1772 1773 # ac_fn_cxx_try_compile LINENO1774 # ----------------------------1775 # Try to compile conftest.$ac_ext, and return whether this succeeded.1776 ac_fn_cxx_try_compile ()1777 {1778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1779 rm -f conftest.$ac_objext1780 if { { ac_try="$ac_compile"1781 case "(($ac_try" in1782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1783 *) ac_try_echo=$ac_try;;1784 esac1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1786 $as_echo "$ac_try_echo"; } >&51787 (eval "$ac_compile") 2>conftest.err1788 ac_status=$?1789 if test -s conftest.err; then1790 grep -v '^ *+' conftest.err >conftest.er11791 cat conftest.er1 >&51792 mv -f conftest.er1 conftest.err1793 fi1794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51795 test $ac_status = 0; } && {1796 test -z "$ac_cxx_werror_flag" ||1797 test ! -s conftest.err1798 } && test -s conftest.$ac_objext; then :1799 ac_retval=01800 else1801 $as_echo "$as_me: failed program was:" >&51802 sed 's/^/| /' conftest.$ac_ext >&51803 1804 ac_retval=11805 fi1806 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1807 as_fn_set_status $ac_retval1808 1809 } # ac_fn_cxx_try_compile1810 1811 # ac_fn_cxx_try_cpp LINENO1812 # ------------------------1813 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1814 ac_fn_cxx_try_cpp ()1815 {1816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1817 if { { ac_try="$ac_cpp conftest.$ac_ext"1818 case "(($ac_try" in1819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1820 *) ac_try_echo=$ac_try;;1821 esac1822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1823 $as_echo "$ac_try_echo"; } >&51824 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1825 ac_status=$?1826 if test -s conftest.err; then1827 grep -v '^ *+' conftest.err >conftest.er11828 cat conftest.er1 >&51829 mv -f conftest.er1 conftest.err1830 fi1831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51832 test $ac_status = 0; } > conftest.i && {1833 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||1834 test ! -s conftest.err1835 }; then :1836 ac_retval=01837 else1838 $as_echo "$as_me: failed program was:" >&51839 sed 's/^/| /' conftest.$ac_ext >&51840 1841 ac_retval=11842 fi1843 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1844 as_fn_set_status $ac_retval1845 1846 } # ac_fn_cxx_try_cpp1847 1848 # ac_fn_cxx_try_run LINENO1849 # ------------------------1850 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1851 # that executables *can* be run.1852 ac_fn_cxx_try_run ()1853 {1854 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1855 if { { ac_try="$ac_link"1856 case "(($ac_try" in1857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1858 *) ac_try_echo=$ac_try;;1859 esac1860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1861 $as_echo "$ac_try_echo"; } >&51862 (eval "$ac_link") 2>&51863 ac_status=$?1864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51865 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1866 { { case "(($ac_try" in1867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1868 *) ac_try_echo=$ac_try;;1869 esac1870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1871 $as_echo "$ac_try_echo"; } >&51872 (eval "$ac_try") 2>&51873 ac_status=$?1874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51875 test $ac_status = 0; }; }; then :1876 ac_retval=01877 else1878 $as_echo "$as_me: program exited with status $ac_status" >&51879 $as_echo "$as_me: failed program was:" >&51880 sed 's/^/| /' conftest.$ac_ext >&51881 1882 ac_retval=$ac_status1883 fi1884 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1885 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1886 as_fn_set_status $ac_retval1887 1888 } # ac_fn_cxx_try_run1889 1890 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES1891 # ----------------------------------------------1892 # Tries to find the compile-time value of EXPR in a program that includes1893 # INCLUDES, setting VAR accordingly. Returns whether the value could be1894 # computed1895 ac_fn_cxx_compute_int ()1896 {1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1898 if test "$cross_compiling" = yes; then1899 # Depending upon the size, compute the lo and hi bounds.1900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1901 /* end confdefs.h. */1902 $41903 int1904 main ()1905 {1906 static int test_array [1 - 2 * !(($2) >= 0)];1907 test_array [0] = 0;1908 return test_array [0];1909 1910 ;1911 return 0;1912 }1913 _ACEOF1914 if ac_fn_cxx_try_compile "$LINENO"; then :1915 ac_lo=0 ac_mid=01916 while :; do1917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1918 /* end confdefs.h. */1919 $41920 int1921 main ()1922 {1923 static int test_array [1 - 2 * !(($2) <= $ac_mid)];1924 test_array [0] = 0;1925 return test_array [0];1926 1927 ;1928 return 0;1929 }1930 _ACEOF1931 if ac_fn_cxx_try_compile "$LINENO"; then :1932 ac_hi=$ac_mid; break1933 else1934 as_fn_arith $ac_mid + 1 && ac_lo=$as_val1935 if test $ac_lo -le $ac_mid; then1936 ac_lo= ac_hi=1937 break1938 fi1939 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val1940 fi1941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1942 done1943 else1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1945 /* end confdefs.h. */1946 $41947 int1948 main ()1949 {1950 static int test_array [1 - 2 * !(($2) < 0)];1951 test_array [0] = 0;1952 return test_array [0];1953 1954 ;1955 return 0;1956 }1957 _ACEOF1958 if ac_fn_cxx_try_compile "$LINENO"; then :1959 ac_hi=-1 ac_mid=-11960 while :; do1961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1962 /* end confdefs.h. */1963 $41964 int1965 main ()1966 {1967 static int test_array [1 - 2 * !(($2) >= $ac_mid)];1968 test_array [0] = 0;1969 return test_array [0];1970 1971 ;1972 return 0;1973 }1974 _ACEOF1975 if ac_fn_cxx_try_compile "$LINENO"; then :1976 ac_lo=$ac_mid; break1977 else1978 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val1979 if test $ac_mid -le $ac_hi; then1980 ac_lo= ac_hi=1981 break1982 fi1983 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val1984 fi1985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1986 done1987 else1988 ac_lo= ac_hi=1989 fi1990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1991 fi1992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1993 # Binary search between lo and hi bounds.1994 while test "x$ac_lo" != "x$ac_hi"; do1995 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val1996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1997 /* end confdefs.h. */1998 $41999 int2000 main ()2001 {2002 static int test_array [1 - 2 * !(($2) <= $ac_mid)];2003 test_array [0] = 0;2004 return test_array [0];2005 2006 ;2007 return 0;2008 }2009 _ACEOF2010 if ac_fn_cxx_try_compile "$LINENO"; then :2011 ac_hi=$ac_mid2012 else2013 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val2014 fi2015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2016 done2017 case $ac_lo in #((2018 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;2019 '') ac_retval=1 ;;2020 esac2021 else2022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2023 /* end confdefs.h. */2024 $42025 static long int longval () { return $2; }2026 static unsigned long int ulongval () { return $2; }2027 #include <stdio.h>2028 #include <stdlib.h>2029 int2030 main ()2031 {2032 2033 FILE *f = fopen ("conftest.val", "w");2034 if (! f)2035 return 1;2036 if (($2) < 0)2037 {2038 long int i = longval ();2039 if (i != ($2))2040 return 1;2041 fprintf (f, "%ld", i);2042 }2043 else2044 {2045 unsigned long int i = ulongval ();2046 if (i != ($2))2047 return 1;2048 fprintf (f, "%lu", i);2049 }2050 /* Do not output a trailing newline, as this causes \r\n confusion2051 on some platforms. */2052 return ferror (f) || fclose (f) != 0;2053 2054 ;2055 return 0;2056 }2057 _ACEOF2058 if ac_fn_cxx_try_run "$LINENO"; then :2059 echo >>conftest.val; read $3 <conftest.val; ac_retval=02060 else2061 ac_retval=12062 fi2063 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \2064 conftest.$ac_objext conftest.beam conftest.$ac_ext2065 rm -f conftest.val2066 2067 fi2068 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2069 as_fn_set_status $ac_retval2070 2071 } # ac_fn_cxx_compute_int2072 2073 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES2074 # ---------------------------------------------------------2075 # Tests whether HEADER exists, giving a warning if it cannot be compiled using2076 # the include files in INCLUDES and setting the cache variable VAR2077 # accordingly.2078 ac_fn_cxx_check_header_mongrel ()2079 {2080 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2081 if eval \${$3+:} false; then :2082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52083 $as_echo_n "checking for $2... " >&6; }2084 if eval \${$3+:} false; then :2085 $as_echo_n "(cached) " >&62086 fi2087 eval ac_res=\$$32088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52089 $as_echo "$ac_res" >&6; }2090 else2091 # Is the header compilable?2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&52093 $as_echo_n "checking $2 usability... " >&6; }2094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2095 /* end confdefs.h. */2096 $42097 #include <$2>2098 _ACEOF2099 if ac_fn_cxx_try_compile "$LINENO"; then :2100 ac_header_compiler=yes2101 else2102 ac_header_compiler=no2103 fi2104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&52106 $as_echo "$ac_header_compiler" >&6; }2107 2108 # Is the header present?2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&52110 $as_echo_n "checking $2 presence... " >&6; }2111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2112 /* end confdefs.h. */2113 #include <$2>2114 _ACEOF2115 if ac_fn_cxx_try_cpp "$LINENO"; then :2116 ac_header_preproc=yes2117 else2118 ac_header_preproc=no2119 fi2120 rm -f conftest.err conftest.i conftest.$ac_ext2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&52122 $as_echo "$ac_header_preproc" >&6; }2123 2124 # So? What about this header?2125 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((2126 yes:no: )2127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&52128 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}2129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&52130 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}2131 ;;2132 no:yes:* )2133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&52134 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}2135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&52136 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&52138 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}2139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&52140 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}2141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&52142 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}2143 ( $as_echo "## ----------------------------------- ##2144 ## Report this to rappture@nanohub.org ##2145 ## ----------------------------------- ##"2146 ) | sed "s/^/$as_me: WARNING: /" >&22147 ;;2148 esac2149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52150 $as_echo_n "checking for $2... " >&6; }2151 if eval \${$3+:} false; then :2152 $as_echo_n "(cached) " >&62153 else2154 eval "$3=\$ac_header_compiler"2155 fi2156 eval ac_res=\$$32157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52158 $as_echo "$ac_res" >&6; }2159 fi2160 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2161 2162 } # ac_fn_cxx_check_header_mongrel2163 2164 # ac_fn_cxx_try_link LINENO2165 # -------------------------2166 # Try to link conftest.$ac_ext, and return whether this succeeded.2167 ac_fn_cxx_try_link ()2168 {2169 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2170 rm -f conftest.$ac_objext conftest$ac_exeext2171 if { { ac_try="$ac_link"2172 case "(($ac_try" in2173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2174 *) ac_try_echo=$ac_try;;2175 esac2176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2177 $as_echo "$ac_try_echo"; } >&52178 (eval "$ac_link") 2>conftest.err2179 ac_status=$?2180 if test -s conftest.err; then2181 grep -v '^ *+' conftest.err >conftest.er12182 cat conftest.er1 >&52183 mv -f conftest.er1 conftest.err2184 fi2185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52186 test $ac_status = 0; } && {2187 test -z "$ac_cxx_werror_flag" ||2188 test ! -s conftest.err2189 } && test -s conftest$ac_exeext && {2190 test "$cross_compiling" = yes ||2191 test -x conftest$ac_exeext2192 }; then :2193 ac_retval=02194 else2195 $as_echo "$as_me: failed program was:" >&52196 sed 's/^/| /' conftest.$ac_ext >&52197 2198 ac_retval=12199 fi2200 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information2201 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would2202 # interfere with the next link command; also delete a directory that is2203 # left behind by Apple's compiler. We do this before executing the actions.2204 rm -rf conftest.dSYM conftest_ipa8_conftest.oo2205 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2206 as_fn_set_status $ac_retval2207 2208 } # ac_fn_cxx_try_link2209 2210 # ac_fn_cxx_check_func LINENO FUNC VAR2211 # ------------------------------------2212 # Tests whether FUNC exists, setting the cache variable VAR accordingly2213 ac_fn_cxx_check_func ()2214 {2215 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52217 $as_echo_n "checking for $2... " >&6; }2218 if eval \${$3+:} false; then :2219 $as_echo_n "(cached) " >&62220 else2221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2222 /* end confdefs.h. */2223 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.2224 For example, HP-UX 11i <limits.h> declares gettimeofday. */2225 #define $2 innocuous_$22226 2227 /* System header to define __stub macros and hopefully few prototypes,2228 which can conflict with char $2 (); below.2229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since2230 <limits.h> exists even on freestanding compilers. */2231 2232 #ifdef __STDC__2233 # include <limits.h>2234 #else2235 # include <assert.h>2236 #endif2237 2238 #undef $22239 2240 /* Override any GCC internal prototype to avoid an error.2241 Use char because int might match the return type of a GCC2242 builtin and then its argument prototype would still apply. */2243 #ifdef __cplusplus2244 extern "C"2245 #endif2246 char $2 ();2247 /* The GNU C library defines this for functions which it implements2248 to always fail with ENOSYS. Some functions are actually named2249 something starting with __ and the normal name is an alias. */2250 #if defined __stub_$2 || defined __stub___$22251 choke me2252 #endif2253 2254 int2255 main ()2256 {2257 return $2 ();2258 ;2259 return 0;2260 }2261 _ACEOF2262 if ac_fn_cxx_try_link "$LINENO"; then :2263 eval "$3=yes"2264 else2265 eval "$3=no"2266 fi2267 rm -f core conftest.err conftest.$ac_objext \2268 conftest$ac_exeext conftest.$ac_ext2269 fi2270 eval ac_res=\$$32271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52272 $as_echo "$ac_res" >&6; }2273 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2274 2275 } # ac_fn_cxx_check_func2276 2277 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES2278 # ---------------------------------------------------------2279 # Tests whether HEADER exists and can be compiled using the include files in2280 # INCLUDES, setting the cache variable VAR accordingly.2281 ac_fn_cxx_check_header_compile ()2282 {2283 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52285 $as_echo_n "checking for $2... " >&6; }2286 if eval \${$3+:} false; then :2287 $as_echo_n "(cached) " >&62288 else2289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2290 /* end confdefs.h. */2291 $42292 #include <$2>2293 _ACEOF2294 if ac_fn_cxx_try_compile "$LINENO"; then :2295 eval "$3=yes"2296 else2297 eval "$3=no"2298 fi2299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2300 fi2301 eval ac_res=\$$32302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52303 $as_echo "$ac_res" >&6; }2304 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2305 2306 } # ac_fn_cxx_check_header_compile2307 1508 cat >config.log <<_ACEOF 2308 1509 This file contains any messages produced by compilers while … … 2310 1511 2311 1512 It was created by vizservers $as_me 0.1, which was 2312 generated by GNU Autoconf 2.6 9. Invocation command line was1513 generated by GNU Autoconf 2.63. Invocation command line was 2313 1514 2314 1515 $ $0 $@ … … 2346 1547 IFS=$as_save_IFS 2347 1548 test -z "$as_dir" && as_dir=. 2348 2349 1549 $as_echo "PATH: $as_dir" 1550 done 2350 1551 IFS=$as_save_IFS 2351 1552 … … 2384 1585 esac 2385 1586 case $ac_pass in 2386 1) a s_fn_append ac_configure_args0 "'$ac_arg'" ;;1587 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2387 1588 2) 2388 a s_fn_append ac_configure_args1 "'$ac_arg'"1589 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 2389 1590 if test $ac_must_keep_next = true; then 2390 1591 ac_must_keep_next=false # Got value, back to normal. … … 2402 1603 esac 2403 1604 fi 2404 a s_fn_append ac_configure_args "'$ac_arg'"1605 ac_configure_args="$ac_configure_args '$ac_arg'" 2405 1606 ;; 2406 1607 esac 2407 1608 done 2408 1609 done 2409 { ac_configure_args0=; unset ac_configure_args0;}2410 { ac_configure_args1=; unset ac_configure_args1;}1610 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1611 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 2411 1612 2412 1613 # When interrupted or exit'd, cleanup temporary files, and complete … … 2420 1621 echo 2421 1622 2422 $as_echo "## ---------------- ## 1623 cat <<\_ASBOX 1624 ## ---------------- ## 2423 1625 ## Cache variables. ## 2424 ## ---------------- ##" 1626 ## ---------------- ## 1627 _ASBOX 2425 1628 echo 2426 1629 # The following way of writing the cache mishandles newlines in values, … … 2431 1634 *${as_nl}*) 2432 1635 case $ac_var in #( 2433 *_cv_*) { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&51636 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 2434 1637 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2435 1638 esac … … 2437 1640 _ | IFS | as_nl) ;; #( 2438 1641 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2439 *) { eval $ac_var=; unset $ac_var;};;1642 *) $as_unset $ac_var ;; 2440 1643 esac ;; 2441 1644 esac … … 2456 1659 echo 2457 1660 2458 $as_echo "## ----------------- ## 1661 cat <<\_ASBOX 1662 ## ----------------- ## 2459 1663 ## Output variables. ## 2460 ## ----------------- ##" 1664 ## ----------------- ## 1665 _ASBOX 2461 1666 echo 2462 1667 for ac_var in $ac_subst_vars … … 2471 1676 2472 1677 if test -n "$ac_subst_files"; then 2473 $as_echo "## ------------------- ## 1678 cat <<\_ASBOX 1679 ## ------------------- ## 2474 1680 ## File substitutions. ## 2475 ## ------------------- ##" 1681 ## ------------------- ## 1682 _ASBOX 2476 1683 echo 2477 1684 for ac_var in $ac_subst_files … … 2487 1694 2488 1695 if test -s confdefs.h; then 2489 $as_echo "## ----------- ## 1696 cat <<\_ASBOX 1697 ## ----------- ## 2490 1698 ## confdefs.h. ## 2491 ## ----------- ##" 1699 ## ----------- ## 1700 _ASBOX 2492 1701 echo 2493 1702 cat confdefs.h … … 2503 1712 ' 0 2504 1713 for ac_signal in 1 2 13 15; do 2505 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal1714 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2506 1715 done 2507 1716 ac_signal=0 … … 2510 1719 rm -f -r conftest* confdefs.h 2511 1720 2512 $as_echo "/* confdefs.h */" > confdefs.h2513 2514 1721 # Predefined preprocessor variables. 2515 1722 … … 2518 1725 _ACEOF 2519 1726 1727 2520 1728 cat >>confdefs.h <<_ACEOF 2521 1729 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2522 1730 _ACEOF 2523 1731 1732 2524 1733 cat >>confdefs.h <<_ACEOF 2525 1734 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2526 1735 _ACEOF 2527 1736 1737 2528 1738 cat >>confdefs.h <<_ACEOF 2529 1739 #define PACKAGE_STRING "$PACKAGE_STRING" 2530 1740 _ACEOF 2531 1741 1742 2532 1743 cat >>confdefs.h <<_ACEOF 2533 1744 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2534 _ACEOF2535 2536 cat >>confdefs.h <<_ACEOF2537 #define PACKAGE_URL "$PACKAGE_URL"2538 1745 _ACEOF 2539 1746 … … 2544 1751 ac_site_file2=NONE 2545 1752 if test -n "$CONFIG_SITE"; then 2546 # We do not want a PATH search for config.site. 2547 case $CONFIG_SITE in #(( 2548 -*) ac_site_file1=./$CONFIG_SITE;; 2549 */*) ac_site_file1=$CONFIG_SITE;; 2550 *) ac_site_file1=./$CONFIG_SITE;; 2551 esac 1753 ac_site_file1=$CONFIG_SITE 2552 1754 elif test "x$prefix" != xNONE; then 2553 1755 ac_site_file1=$prefix/share/config.site … … 2560 1762 do 2561 1763 test "x$ac_site_file" = xNONE && continue 2562 if test /dev/null != "$ac_site_file" && test-r "$ac_site_file"; then2563 { $as_echo "$as_me:$ {as_lineno-$LINENO}: loading site script $ac_site_file" >&51764 if test -r "$ac_site_file"; then 1765 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 2564 1766 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2565 1767 sed 's/^/| /' "$ac_site_file" >&5 2566 . "$ac_site_file" \ 2567 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2569 as_fn_error $? "failed to load site script $ac_site_file 2570 See \`config.log' for more details" "$LINENO" 5; } 1768 . "$ac_site_file" 2571 1769 fi 2572 1770 done 2573 1771 2574 1772 if test -r "$cache_file"; then 2575 # Some versions of bash will fail to source /dev/null (special files2576 # actually), so we avoid doing that. DJGPP emulates it as a regular file.2577 if test /dev/null != "$cache_file" && test-f "$cache_file"; then2578 { $as_echo "$as_me:$ {as_lineno-$LINENO}: loading cache $cache_file" >&51773 # Some versions of bash will fail to source /dev/null (special 1774 # files actually), so we avoid doing that. 1775 if test -f "$cache_file"; then 1776 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 2579 1777 $as_echo "$as_me: loading cache $cache_file" >&6;} 2580 1778 case $cache_file in … … 2584 1782 fi 2585 1783 else 2586 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating cache $cache_file" >&51784 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 2587 1785 $as_echo "$as_me: creating cache $cache_file" >&6;} 2588 1786 >$cache_file … … 2599 1797 case $ac_old_set,$ac_new_set in 2600 1798 set,) 2601 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51799 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2602 1800 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2603 1801 ac_cache_corrupted=: ;; 2604 1802 ,set) 2605 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&51803 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 2606 1804 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2607 1805 ac_cache_corrupted=: ;; … … 2613 1811 ac_new_val_w=`echo x $ac_new_val` 2614 1812 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2615 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&51813 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2616 1814 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2617 1815 ac_cache_corrupted=: 2618 1816 else 2619 { $as_echo "$as_me:$ {as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&51817 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2620 1818 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2621 1819 eval $ac_var=\$ac_old_val 2622 1820 fi 2623 { $as_echo "$as_me:$ {as_lineno-$LINENO}: former value: \`$ac_old_val'" >&51821 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 2624 1822 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2625 { $as_echo "$as_me:$ {as_lineno-$LINENO}: current value: \`$ac_new_val'" >&51823 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 2626 1824 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2627 1825 fi;; … … 2635 1833 case " $ac_configure_args " in 2636 1834 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2637 *) a s_fn_append ac_configure_args "'$ac_arg'" ;;1835 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2638 1836 esac 2639 1837 fi 2640 1838 done 2641 1839 if $ac_cache_corrupted; then 2642 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&51840 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2643 1841 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2644 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&51842 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2645 1843 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2646 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2647 fi 2648 ## -------------------- ## 2649 ## Main body of script. ## 2650 ## -------------------- ## 1844 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1845 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1846 { (exit 1); exit 1; }; } 1847 fi 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 2651 1872 2652 1873 ac_ext=c … … 2674 1895 done 2675 1896 if test -z "$ac_aux_dir"; then 2676 as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 1897 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5 1898 $as_echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;} 1899 { (exit 1); exit 1; }; } 2677 1900 fi 2678 1901 … … 2691 1914 2692 1915 # Check whether --with-tcllib was given. 2693 if test "${with_tcllib+set}" = set; then :1916 if test "${with_tcllib+set}" = set; then 2694 1917 withval=$with_tcllib; with_tcllib=$withval 2695 1918 else … … 2700 1923 2701 1924 # Check whether --with-rappture was given. 2702 if test "${with_rappture+set}" = set; then :1925 if test "${with_rappture+set}" = set; then 2703 1926 withval=$with_rappture; with_rappture=$withval 2704 1927 else … … 2709 1932 2710 1933 # Check whether --with-vtk-includes was given. 2711 if test "${with_vtk_includes+set}" = set; then :1934 if test "${with_vtk_includes+set}" = set; then 2712 1935 withval=$with_vtk_includes; with_vtk_includes=$withval 2713 1936 else … … 2718 1941 2719 1942 # Check whether --with-vtk-libs was given. 2720 if test "${with_vtk_libs+set}" = set; then :1943 if test "${with_vtk_libs+set}" = set; then 2721 1944 withval=$with_vtk_libs; with_vtk_libs=$withval 2722 1945 else … … 2727 1950 2728 1951 # Check whether --with-vtk was given. 2729 if test "${with_vtk+set}" = set; then :1952 if test "${with_vtk+set}" = set; then 2730 1953 withval=$with_vtk; with_vtk=$withval 2731 1954 else … … 2742 1965 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2743 1966 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2744 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&51967 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2745 1968 $as_echo_n "checking for $ac_word... " >&6; } 2746 if ${ac_cv_prog_CC+:} false; then :1969 if test "${ac_cv_prog_CC+set}" = set; then 2747 1970 $as_echo_n "(cached) " >&6 2748 1971 else … … 2755 1978 IFS=$as_save_IFS 2756 1979 test -z "$as_dir" && as_dir=. 2757 2758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1980 for ac_exec_ext in '' $ac_executable_extensions; do 1981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2759 1982 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2760 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51983 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2761 1984 break 2 2762 1985 fi 2763 1986 done 2764 1987 done 2765 1988 IFS=$as_save_IFS 2766 1989 … … 2769 1992 CC=$ac_cv_prog_CC 2770 1993 if test -n "$CC"; then 2771 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&51994 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2772 1995 $as_echo "$CC" >&6; } 2773 1996 else 2774 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&51997 { $as_echo "$as_me:$LINENO: result: no" >&5 2775 1998 $as_echo "no" >&6; } 2776 1999 fi … … 2782 2005 # Extract the first word of "gcc", so it can be a program name with args. 2783 2006 set dummy gcc; ac_word=$2 2784 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52007 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2785 2008 $as_echo_n "checking for $ac_word... " >&6; } 2786 if ${ac_cv_prog_ac_ct_CC+:} false; then :2009 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2787 2010 $as_echo_n "(cached) " >&6 2788 2011 else … … 2795 2018 IFS=$as_save_IFS 2796 2019 test -z "$as_dir" && as_dir=. 2797 2798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2020 for ac_exec_ext in '' $ac_executable_extensions; do 2021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2799 2022 ac_cv_prog_ac_ct_CC="gcc" 2800 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52023 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2801 2024 break 2 2802 2025 fi 2803 2026 done 2804 2027 done 2805 2028 IFS=$as_save_IFS 2806 2029 … … 2809 2032 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2810 2033 if test -n "$ac_ct_CC"; then 2811 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&52034 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2812 2035 $as_echo "$ac_ct_CC" >&6; } 2813 2036 else 2814 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52037 { $as_echo "$as_me:$LINENO: result: no" >&5 2815 2038 $as_echo "no" >&6; } 2816 2039 fi … … 2821 2044 case $cross_compiling:$ac_tool_warned in 2822 2045 yes:) 2823 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52046 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2824 2047 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2825 2048 ac_tool_warned=yes ;; … … 2835 2058 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2836 2059 set dummy ${ac_tool_prefix}cc; ac_word=$2 2837 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52060 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2838 2061 $as_echo_n "checking for $ac_word... " >&6; } 2839 if ${ac_cv_prog_CC+:} false; then :2062 if test "${ac_cv_prog_CC+set}" = set; then 2840 2063 $as_echo_n "(cached) " >&6 2841 2064 else … … 2848 2071 IFS=$as_save_IFS 2849 2072 test -z "$as_dir" && as_dir=. 2850 2851 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2073 for ac_exec_ext in '' $ac_executable_extensions; do 2074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2852 2075 ac_cv_prog_CC="${ac_tool_prefix}cc" 2853 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52076 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2854 2077 break 2 2855 2078 fi 2856 2079 done 2857 2080 done 2858 2081 IFS=$as_save_IFS 2859 2082 … … 2862 2085 CC=$ac_cv_prog_CC 2863 2086 if test -n "$CC"; then 2864 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52087 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2865 2088 $as_echo "$CC" >&6; } 2866 2089 else 2867 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52090 { $as_echo "$as_me:$LINENO: result: no" >&5 2868 2091 $as_echo "no" >&6; } 2869 2092 fi … … 2875 2098 # Extract the first word of "cc", so it can be a program name with args. 2876 2099 set dummy cc; ac_word=$2 2877 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52100 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2878 2101 $as_echo_n "checking for $ac_word... " >&6; } 2879 if ${ac_cv_prog_CC+:} false; then :2102 if test "${ac_cv_prog_CC+set}" = set; then 2880 2103 $as_echo_n "(cached) " >&6 2881 2104 else … … 2889 2112 IFS=$as_save_IFS 2890 2113 test -z "$as_dir" && as_dir=. 2891 2892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2114 for ac_exec_ext in '' $ac_executable_extensions; do 2115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2893 2116 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2894 2117 ac_prog_rejected=yes … … 2896 2119 fi 2897 2120 ac_cv_prog_CC="cc" 2898 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52121 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2899 2122 break 2 2900 2123 fi 2901 2124 done 2902 2125 done 2903 2126 IFS=$as_save_IFS 2904 2127 … … 2919 2142 CC=$ac_cv_prog_CC 2920 2143 if test -n "$CC"; then 2921 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52144 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2922 2145 $as_echo "$CC" >&6; } 2923 2146 else 2924 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52147 { $as_echo "$as_me:$LINENO: result: no" >&5 2925 2148 $as_echo "no" >&6; } 2926 2149 fi … … 2934 2157 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2935 2158 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2936 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52159 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2937 2160 $as_echo_n "checking for $ac_word... " >&6; } 2938 if ${ac_cv_prog_CC+:} false; then :2161 if test "${ac_cv_prog_CC+set}" = set; then 2939 2162 $as_echo_n "(cached) " >&6 2940 2163 else … … 2947 2170 IFS=$as_save_IFS 2948 2171 test -z "$as_dir" && as_dir=. 2949 2950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2172 for ac_exec_ext in '' $ac_executable_extensions; do 2173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2951 2174 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2952 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52175 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2953 2176 break 2 2954 2177 fi 2955 2178 done 2956 2179 done 2957 2180 IFS=$as_save_IFS 2958 2181 … … 2961 2184 CC=$ac_cv_prog_CC 2962 2185 if test -n "$CC"; then 2963 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52186 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2964 2187 $as_echo "$CC" >&6; } 2965 2188 else 2966 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52189 { $as_echo "$as_me:$LINENO: result: no" >&5 2967 2190 $as_echo "no" >&6; } 2968 2191 fi … … 2978 2201 # Extract the first word of "$ac_prog", so it can be a program name with args. 2979 2202 set dummy $ac_prog; ac_word=$2 2980 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52203 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2981 2204 $as_echo_n "checking for $ac_word... " >&6; } 2982 if ${ac_cv_prog_ac_ct_CC+:} false; then :2205 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2983 2206 $as_echo_n "(cached) " >&6 2984 2207 else … … 2991 2214 IFS=$as_save_IFS 2992 2215 test -z "$as_dir" && as_dir=. 2993 2994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2216 for ac_exec_ext in '' $ac_executable_extensions; do 2217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2995 2218 ac_cv_prog_ac_ct_CC="$ac_prog" 2996 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52219 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2997 2220 break 2 2998 2221 fi 2999 2222 done 3000 2223 done 3001 2224 IFS=$as_save_IFS 3002 2225 … … 3005 2228 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3006 2229 if test -n "$ac_ct_CC"; then 3007 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&52230 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3008 2231 $as_echo "$ac_ct_CC" >&6; } 3009 2232 else 3010 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52233 { $as_echo "$as_me:$LINENO: result: no" >&5 3011 2234 $as_echo "no" >&6; } 3012 2235 fi … … 3021 2244 case $cross_compiling:$ac_tool_warned in 3022 2245 yes:) 3023 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52246 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3024 2247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3025 2248 ac_tool_warned=yes ;; … … 3032 2255 3033 2256 3034 test -z "$CC" && { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52257 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3035 2258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3036 as_fn_error $? "no acceptable C compiler found in \$PATH 3037 See \`config.log' for more details" "$LINENO" 5; } 2259 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2260 See \`config.log' for more details." >&5 2261 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2262 See \`config.log' for more details." >&2;} 2263 { (exit 1); exit 1; }; }; } 3038 2264 3039 2265 # Provide some information about the compiler. 3040 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C compiler version" >&52266 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 3041 2267 set X $ac_compile 3042 2268 ac_compiler=$2 3043 for ac_option in --version -v -V -qversion; do 3044 { { ac_try="$ac_compiler $ac_option >&5" 2269 { (ac_try="$ac_compiler --version >&5" 3045 2270 case "(($ac_try" in 3046 2271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3047 2272 *) ac_try_echo=$ac_try;; 3048 2273 esac 3049 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3050 $as_echo "$ac_try_echo" ; }>&53051 (eval "$ac_compiler $ac_option >&5") 2>conftest.err2274 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2275 $as_echo "$ac_try_echo") >&5 2276 (eval "$ac_compiler --version >&5") 2>&5 3052 2277 ac_status=$? 3053 if test -s conftest.err; then 3054 sed '10a\ 3055 ... rest of stderr output deleted ... 3056 10q' conftest.err >conftest.er1 3057 cat conftest.er1 >&5 3058 fi 3059 rm -f conftest.er1 conftest.err 3060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3061 test $ac_status = 0; } 3062 done 3063 3064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2278 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2279 (exit $ac_status); } 2280 { (ac_try="$ac_compiler -v >&5" 2281 case "(($ac_try" in 2282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2283 *) ac_try_echo=$ac_try;; 2284 esac 2285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2286 $as_echo "$ac_try_echo") >&5 2287 (eval "$ac_compiler -v >&5") 2>&5 2288 ac_status=$? 2289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2290 (exit $ac_status); } 2291 { (ac_try="$ac_compiler -V >&5" 2292 case "(($ac_try" in 2293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2294 *) ac_try_echo=$ac_try;; 2295 esac 2296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2297 $as_echo "$ac_try_echo") >&5 2298 (eval "$ac_compiler -V >&5") 2>&5 2299 ac_status=$? 2300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2301 (exit $ac_status); } 2302 2303 cat >conftest.$ac_ext <<_ACEOF 2304 /* confdefs.h. */ 2305 _ACEOF 2306 cat confdefs.h >>conftest.$ac_ext 2307 cat >>conftest.$ac_ext <<_ACEOF 3065 2308 /* end confdefs.h. */ 3066 2309 … … 3078 2321 # It will help us diagnose broken compilers, and finding out an intuition 3079 2322 # of exeext. 3080 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether the C compiler works" >&53081 $as_echo_n "checking whether the C compiler works... " >&6; }2323 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2324 $as_echo_n "checking for C compiler default output file name... " >&6; } 3082 2325 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3083 2326 … … 3095 2338 rm -f $ac_rmfiles 3096 2339 3097 if { {ac_try="$ac_link_default"2340 if { (ac_try="$ac_link_default" 3098 2341 case "(($ac_try" in 3099 2342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3100 2343 *) ac_try_echo=$ac_try;; 3101 2344 esac 3102 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3103 $as_echo "$ac_try_echo" ; }>&52345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2346 $as_echo "$ac_try_echo") >&5 3104 2347 (eval "$ac_link_default") 2>&5 3105 2348 ac_status=$? 3106 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53107 test $ac_status = 0; }; then :2349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2350 (exit $ac_status); }; then 3108 2351 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3109 2352 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 3122 2365 break;; 3123 2366 *.* ) 3124 2367 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3125 2368 then :; else 3126 2369 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 3141 2384 ac_file='' 3142 2385 fi 3143 if test -z "$ac_file"; then : 3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3145 $as_echo "no" >&6; } 3146 $as_echo "$as_me: failed program was:" >&5 2386 2387 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2388 $as_echo "$ac_file" >&6; } 2389 if test -z "$ac_file"; then 2390 $as_echo "$as_me: failed program was:" >&5 3147 2391 sed 's/^/| /' conftest.$ac_ext >&5 3148 2392 3149 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52393 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3150 2394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3151 as_fn_error 77 "C compiler cannot create executables 3152 See \`config.log' for more details" "$LINENO" 5; } 3153 else 3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2395 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2396 See \`config.log' for more details." >&5 2397 $as_echo "$as_me: error: C compiler cannot create executables 2398 See \`config.log' for more details." >&2;} 2399 { (exit 77); exit 77; }; }; } 2400 fi 2401 2402 ac_exeext=$ac_cv_exeext 2403 2404 # Check that the compiler produces executables we can run. If not, either 2405 # the compiler is broken, or we cross compile. 2406 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2407 $as_echo_n "checking whether the C compiler works... " >&6; } 2408 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2409 # If not cross compiling, check that we can run a simple program. 2410 if test "$cross_compiling" != yes; then 2411 if { ac_try='./$ac_file' 2412 { (case "(($ac_try" in 2413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2414 *) ac_try_echo=$ac_try;; 2415 esac 2416 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2417 $as_echo "$ac_try_echo") >&5 2418 (eval "$ac_try") 2>&5 2419 ac_status=$? 2420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2421 (exit $ac_status); }; }; then 2422 cross_compiling=no 2423 else 2424 if test "$cross_compiling" = maybe; then 2425 cross_compiling=yes 2426 else 2427 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2429 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2430 If you meant to cross compile, use \`--host'. 2431 See \`config.log' for more details." >&5 2432 $as_echo "$as_me: error: cannot run C compiled programs. 2433 If you meant to cross compile, use \`--host'. 2434 See \`config.log' for more details." >&2;} 2435 { (exit 1); exit 1; }; }; } 2436 fi 2437 fi 2438 fi 2439 { $as_echo "$as_me:$LINENO: result: yes" >&5 3155 2440 $as_echo "yes" >&6; } 3156 fi3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&53158 $as_echo_n "checking for C compiler default output file name... " >&6; }3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&53160 $as_echo "$ac_file" >&6; }3161 ac_exeext=$ac_cv_exeext3162 2441 3163 2442 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3164 2443 ac_clean_files=$ac_clean_files_save 3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2444 # Check that the compiler produces executables we can run. If not, either 2445 # the compiler is broken, or we cross compile. 2446 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2447 $as_echo_n "checking whether we are cross compiling... " >&6; } 2448 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2449 $as_echo "$cross_compiling" >&6; } 2450 2451 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3166 2452 $as_echo_n "checking for suffix of executables... " >&6; } 3167 if { {ac_try="$ac_link"2453 if { (ac_try="$ac_link" 3168 2454 case "(($ac_try" in 3169 2455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3170 2456 *) ac_try_echo=$ac_try;; 3171 2457 esac 3172 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3173 $as_echo "$ac_try_echo" ; }>&52458 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2459 $as_echo "$ac_try_echo") >&5 3174 2460 (eval "$ac_link") 2>&5 3175 2461 ac_status=$? 3176 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53177 test $ac_status = 0; }; then :2462 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2463 (exit $ac_status); }; then 3178 2464 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3179 2465 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 3190 2476 done 3191 2477 else 3192 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52478 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3193 2479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3194 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3195 See \`config.log' for more details" "$LINENO" 5; } 3196 fi 3197 rm -f conftest conftest$ac_cv_exeext 3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2480 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2481 See \`config.log' for more details." >&5 2482 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2483 See \`config.log' for more details." >&2;} 2484 { (exit 1); exit 1; }; }; } 2485 fi 2486 2487 rm -f conftest$ac_cv_exeext 2488 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3199 2489 $as_echo "$ac_cv_exeext" >&6; } 3200 2490 … … 3202 2492 EXEEXT=$ac_cv_exeext 3203 2493 ac_exeext=$EXEEXT 3204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2494 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2495 $as_echo_n "checking for suffix of object files... " >&6; } 2496 if test "${ac_cv_objext+set}" = set; then 2497 $as_echo_n "(cached) " >&6 2498 else 2499 cat >conftest.$ac_ext <<_ACEOF 2500 /* confdefs.h. */ 2501 _ACEOF 2502 cat confdefs.h >>conftest.$ac_ext 2503 cat >>conftest.$ac_ext <<_ACEOF 3205 2504 /* end confdefs.h. */ 3206 #include <stdio.h> 2505 3207 2506 int 3208 2507 main () 3209 2508 { 3210 FILE *f = fopen ("conftest.out", "w");3211 return ferror (f) || fclose (f) != 0;3212 2509 3213 2510 ; … … 3215 2512 } 3216 2513 _ACEOF 3217 ac_clean_files="$ac_clean_files conftest.out" 3218 # Check that the compiler produces executables we can run. If not, either 3219 # the compiler is broken, or we cross compile. 3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3221 $as_echo_n "checking whether we are cross compiling... " >&6; } 3222 if test "$cross_compiling" != yes; then 3223 { { ac_try="$ac_link" 2514 rm -f conftest.o conftest.obj 2515 if { (ac_try="$ac_compile" 3224 2516 case "(($ac_try" in 3225 2517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3226 2518 *) ac_try_echo=$ac_try;; 3227 2519 esac 3228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3229 $as_echo "$ac_try_echo"; } >&5 3230 (eval "$ac_link") 2>&5 3231 ac_status=$? 3232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3233 test $ac_status = 0; } 3234 if { ac_try='./conftest$ac_cv_exeext' 3235 { { case "(($ac_try" in 3236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3237 *) ac_try_echo=$ac_try;; 3238 esac 3239 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3240 $as_echo "$ac_try_echo"; } >&5 3241 (eval "$ac_try") 2>&5 3242 ac_status=$? 3243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3244 test $ac_status = 0; }; }; then 3245 cross_compiling=no 3246 else 3247 if test "$cross_compiling" = maybe; then 3248 cross_compiling=yes 3249 else 3250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3252 as_fn_error $? "cannot run C compiled programs. 3253 If you meant to cross compile, use \`--host'. 3254 See \`config.log' for more details" "$LINENO" 5; } 3255 fi 3256 fi 3257 fi 3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3259 $as_echo "$cross_compiling" >&6; } 3260 3261 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3262 ac_clean_files=$ac_clean_files_save 3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3264 $as_echo_n "checking for suffix of object files... " >&6; } 3265 if ${ac_cv_objext+:} false; then : 3266 $as_echo_n "(cached) " >&6 3267 else 3268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3269 /* end confdefs.h. */ 3270 3271 int 3272 main () 3273 { 3274 3275 ; 3276 return 0; 3277 } 3278 _ACEOF 3279 rm -f conftest.o conftest.obj 3280 if { { ac_try="$ac_compile" 3281 case "(($ac_try" in 3282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3283 *) ac_try_echo=$ac_try;; 3284 esac 3285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3286 $as_echo "$ac_try_echo"; } >&5 2520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2521 $as_echo "$ac_try_echo") >&5 3287 2522 (eval "$ac_compile") 2>&5 3288 2523 ac_status=$? 3289 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53290 test $ac_status = 0; }; then :2524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2525 (exit $ac_status); }; then 3291 2526 for ac_file in conftest.o conftest.obj conftest.*; do 3292 2527 test -f "$ac_file" || continue; … … 3301 2536 sed 's/^/| /' conftest.$ac_ext >&5 3302 2537 3303 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52538 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3304 2539 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3305 as_fn_error $? "cannot compute suffix of object files: cannot compile 3306 See \`config.log' for more details" "$LINENO" 5; } 3307 fi 2540 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2541 See \`config.log' for more details." >&5 2542 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2543 See \`config.log' for more details." >&2;} 2544 { (exit 1); exit 1; }; }; } 2545 fi 2546 3308 2547 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3309 2548 fi 3310 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_objext" >&52549 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3311 2550 $as_echo "$ac_cv_objext" >&6; } 3312 2551 OBJEXT=$ac_cv_objext 3313 2552 ac_objext=$OBJEXT 3314 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&52553 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3315 2554 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3316 if ${ac_cv_c_compiler_gnu+:} false; then :2555 if test "${ac_cv_c_compiler_gnu+set}" = set; then 3317 2556 $as_echo_n "(cached) " >&6 3318 2557 else 3319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2558 cat >conftest.$ac_ext <<_ACEOF 2559 /* confdefs.h. */ 2560 _ACEOF 2561 cat confdefs.h >>conftest.$ac_ext 2562 cat >>conftest.$ac_ext <<_ACEOF 3320 2563 /* end confdefs.h. */ 3321 2564 … … 3331 2574 } 3332 2575 _ACEOF 3333 if ac_fn_c_try_compile "$LINENO"; then : 2576 rm -f conftest.$ac_objext 2577 if { (ac_try="$ac_compile" 2578 case "(($ac_try" in 2579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2580 *) ac_try_echo=$ac_try;; 2581 esac 2582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2583 $as_echo "$ac_try_echo") >&5 2584 (eval "$ac_compile") 2>conftest.er1 2585 ac_status=$? 2586 grep -v '^ *+' conftest.er1 >conftest.err 2587 rm -f conftest.er1 2588 cat conftest.err >&5 2589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2590 (exit $ac_status); } && { 2591 test -z "$ac_c_werror_flag" || 2592 test ! -s conftest.err 2593 } && test -s conftest.$ac_objext; then 3334 2594 ac_compiler_gnu=yes 3335 2595 else 3336 ac_compiler_gnu=no 3337 fi 2596 $as_echo "$as_me: failed program was:" >&5 2597 sed 's/^/| /' conftest.$ac_ext >&5 2598 2599 ac_compiler_gnu=no 2600 fi 2601 3338 2602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3339 2603 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3340 2604 3341 2605 fi 3342 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&52606 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3343 2607 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3344 2608 if test $ac_compiler_gnu = yes; then … … 3349 2613 ac_test_CFLAGS=${CFLAGS+set} 3350 2614 ac_save_CFLAGS=$CFLAGS 3351 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CC accepts -g" >&52615 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3352 2616 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3353 if ${ac_cv_prog_cc_g+:} false; then :2617 if test "${ac_cv_prog_cc_g+set}" = set; then 3354 2618 $as_echo_n "(cached) " >&6 3355 2619 else … … 3358 2622 ac_cv_prog_cc_g=no 3359 2623 CFLAGS="-g" 3360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2624 cat >conftest.$ac_ext <<_ACEOF 2625 /* confdefs.h. */ 2626 _ACEOF 2627 cat confdefs.h >>conftest.$ac_ext 2628 cat >>conftest.$ac_ext <<_ACEOF 3361 2629 /* end confdefs.h. */ 3362 2630 … … 3369 2637 } 3370 2638 _ACEOF 3371 if ac_fn_c_try_compile "$LINENO"; then : 2639 rm -f conftest.$ac_objext 2640 if { (ac_try="$ac_compile" 2641 case "(($ac_try" in 2642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2643 *) ac_try_echo=$ac_try;; 2644 esac 2645 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2646 $as_echo "$ac_try_echo") >&5 2647 (eval "$ac_compile") 2>conftest.er1 2648 ac_status=$? 2649 grep -v '^ *+' conftest.er1 >conftest.err 2650 rm -f conftest.er1 2651 cat conftest.err >&5 2652 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2653 (exit $ac_status); } && { 2654 test -z "$ac_c_werror_flag" || 2655 test ! -s conftest.err 2656 } && test -s conftest.$ac_objext; then 3372 2657 ac_cv_prog_cc_g=yes 3373 2658 else 3374 CFLAGS="" 3375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2659 $as_echo "$as_me: failed program was:" >&5 2660 sed 's/^/| /' conftest.$ac_ext >&5 2661 2662 CFLAGS="" 2663 cat >conftest.$ac_ext <<_ACEOF 2664 /* confdefs.h. */ 2665 _ACEOF 2666 cat confdefs.h >>conftest.$ac_ext 2667 cat >>conftest.$ac_ext <<_ACEOF 3376 2668 /* end confdefs.h. */ 3377 2669 … … 3384 2676 } 3385 2677 _ACEOF 3386 if ac_fn_c_try_compile "$LINENO"; then : 3387 3388 else 3389 ac_c_werror_flag=$ac_save_c_werror_flag 2678 rm -f conftest.$ac_objext 2679 if { (ac_try="$ac_compile" 2680 case "(($ac_try" in 2681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2682 *) ac_try_echo=$ac_try;; 2683 esac 2684 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2685 $as_echo "$ac_try_echo") >&5 2686 (eval "$ac_compile") 2>conftest.er1 2687 ac_status=$? 2688 grep -v '^ *+' conftest.er1 >conftest.err 2689 rm -f conftest.er1 2690 cat conftest.err >&5 2691 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2692 (exit $ac_status); } && { 2693 test -z "$ac_c_werror_flag" || 2694 test ! -s conftest.err 2695 } && test -s conftest.$ac_objext; then 2696 : 2697 else 2698 $as_echo "$as_me: failed program was:" >&5 2699 sed 's/^/| /' conftest.$ac_ext >&5 2700 2701 ac_c_werror_flag=$ac_save_c_werror_flag 3390 2702 CFLAGS="-g" 3391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2703 cat >conftest.$ac_ext <<_ACEOF 2704 /* confdefs.h. */ 2705 _ACEOF 2706 cat confdefs.h >>conftest.$ac_ext 2707 cat >>conftest.$ac_ext <<_ACEOF 3392 2708 /* end confdefs.h. */ 3393 2709 … … 3400 2716 } 3401 2717 _ACEOF 3402 if ac_fn_c_try_compile "$LINENO"; then : 2718 rm -f conftest.$ac_objext 2719 if { (ac_try="$ac_compile" 2720 case "(($ac_try" in 2721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2722 *) ac_try_echo=$ac_try;; 2723 esac 2724 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2725 $as_echo "$ac_try_echo") >&5 2726 (eval "$ac_compile") 2>conftest.er1 2727 ac_status=$? 2728 grep -v '^ *+' conftest.er1 >conftest.err 2729 rm -f conftest.er1 2730 cat conftest.err >&5 2731 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2732 (exit $ac_status); } && { 2733 test -z "$ac_c_werror_flag" || 2734 test ! -s conftest.err 2735 } && test -s conftest.$ac_objext; then 3403 2736 ac_cv_prog_cc_g=yes 3404 fi 2737 else 2738 $as_echo "$as_me: failed program was:" >&5 2739 sed 's/^/| /' conftest.$ac_ext >&5 2740 2741 2742 fi 2743 3405 2744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3406 2745 fi 2746 3407 2747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3408 2748 fi 2749 3409 2750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3410 2751 ac_c_werror_flag=$ac_save_c_werror_flag 3411 2752 fi 3412 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&52753 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3413 2754 $as_echo "$ac_cv_prog_cc_g" >&6; } 3414 2755 if test "$ac_test_CFLAGS" = set; then … … 3427 2768 fi 3428 2769 fi 3429 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&52770 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3430 2771 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3431 if ${ac_cv_prog_cc_c89+:} false; then :2772 if test "${ac_cv_prog_cc_c89+set}" = set; then 3432 2773 $as_echo_n "(cached) " >&6 3433 2774 else 3434 2775 ac_cv_prog_cc_c89=no 3435 2776 ac_save_CC=$CC 3436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2777 cat >conftest.$ac_ext <<_ACEOF 2778 /* confdefs.h. */ 2779 _ACEOF 2780 cat confdefs.h >>conftest.$ac_ext 2781 cat >>conftest.$ac_ext <<_ACEOF 3437 2782 /* end confdefs.h. */ 3438 2783 #include <stdarg.h> 3439 2784 #include <stdio.h> 3440 struct stat; 2785 #include <sys/types.h> 2786 #include <sys/stat.h> 3441 2787 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3442 2788 struct buf { int x; }; … … 3490 2836 do 3491 2837 CC="$ac_save_CC $ac_arg" 3492 if ac_fn_c_try_compile "$LINENO"; then : 2838 rm -f conftest.$ac_objext 2839 if { (ac_try="$ac_compile" 2840 case "(($ac_try" in 2841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2842 *) ac_try_echo=$ac_try;; 2843 esac 2844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2845 $as_echo "$ac_try_echo") >&5 2846 (eval "$ac_compile") 2>conftest.er1 2847 ac_status=$? 2848 grep -v '^ *+' conftest.er1 >conftest.err 2849 rm -f conftest.er1 2850 cat conftest.err >&5 2851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2852 (exit $ac_status); } && { 2853 test -z "$ac_c_werror_flag" || 2854 test ! -s conftest.err 2855 } && test -s conftest.$ac_objext; then 3493 2856 ac_cv_prog_cc_c89=$ac_arg 3494 fi 2857 else 2858 $as_echo "$as_me: failed program was:" >&5 2859 sed 's/^/| /' conftest.$ac_ext >&5 2860 2861 2862 fi 2863 3495 2864 rm -f core conftest.err conftest.$ac_objext 3496 2865 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3503 2872 case "x$ac_cv_prog_cc_c89" in 3504 2873 x) 3505 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: none needed" >&52874 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3506 2875 $as_echo "none needed" >&6; } ;; 3507 2876 xno) 3508 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: unsupported" >&52877 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3509 2878 $as_echo "unsupported" >&6; } ;; 3510 2879 *) 3511 2880 CC="$CC $ac_cv_prog_cc_c89" 3512 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&52881 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3513 2882 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3514 2883 esac 3515 if test "x$ac_cv_prog_cc_c89" != xno; then : 3516 3517 fi 2884 3518 2885 3519 2886 ac_ext=c … … 3529 2896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3530 2897 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3531 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to run the C preprocessor" >&52898 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3532 2899 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3533 2900 # On Suns, sometimes $CPP names a directory. … … 3536 2903 fi 3537 2904 if test -z "$CPP"; then 3538 if ${ac_cv_prog_CPP+:} false; then :2905 if test "${ac_cv_prog_CPP+set}" = set; then 3539 2906 $as_echo_n "(cached) " >&6 3540 2907 else … … 3551 2918 # On the NeXT, cc -E runs the code through the compiler's parser, 3552 2919 # not just through cpp. "Syntax error" is here to catch this case. 3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2920 cat >conftest.$ac_ext <<_ACEOF 2921 /* confdefs.h. */ 2922 _ACEOF 2923 cat confdefs.h >>conftest.$ac_ext 2924 cat >>conftest.$ac_ext <<_ACEOF 3554 2925 /* end confdefs.h. */ 3555 2926 #ifdef __STDC__ … … 3560 2931 Syntax error 3561 2932 _ACEOF 3562 if ac_fn_c_try_cpp "$LINENO"; then : 3563 3564 else 2933 if { (ac_try="$ac_cpp conftest.$ac_ext" 2934 case "(($ac_try" in 2935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2936 *) ac_try_echo=$ac_try;; 2937 esac 2938 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2939 $as_echo "$ac_try_echo") >&5 2940 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2941 ac_status=$? 2942 grep -v '^ *+' conftest.er1 >conftest.err 2943 rm -f conftest.er1 2944 cat conftest.err >&5 2945 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2946 (exit $ac_status); } >/dev/null && { 2947 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2948 test ! -s conftest.err 2949 }; then 2950 : 2951 else 2952 $as_echo "$as_me: failed program was:" >&5 2953 sed 's/^/| /' conftest.$ac_ext >&5 2954 3565 2955 # Broken: fails on valid input. 3566 2956 continue 3567 2957 fi 3568 rm -f conftest.err conftest.i conftest.$ac_ext 2958 2959 rm -f conftest.err conftest.$ac_ext 3569 2960 3570 2961 # OK, works on sane cases. Now check whether nonexistent headers 3571 2962 # can be detected and how. 3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2963 cat >conftest.$ac_ext <<_ACEOF 2964 /* confdefs.h. */ 2965 _ACEOF 2966 cat confdefs.h >>conftest.$ac_ext 2967 cat >>conftest.$ac_ext <<_ACEOF 3573 2968 /* end confdefs.h. */ 3574 2969 #include <ac_nonexistent.h> 3575 2970 _ACEOF 3576 if ac_fn_c_try_cpp "$LINENO"; then : 2971 if { (ac_try="$ac_cpp conftest.$ac_ext" 2972 case "(($ac_try" in 2973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2974 *) ac_try_echo=$ac_try;; 2975 esac 2976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2977 $as_echo "$ac_try_echo") >&5 2978 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2979 ac_status=$? 2980 grep -v '^ *+' conftest.er1 >conftest.err 2981 rm -f conftest.er1 2982 cat conftest.err >&5 2983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2984 (exit $ac_status); } >/dev/null && { 2985 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2986 test ! -s conftest.err 2987 }; then 3577 2988 # Broken: success on invalid input. 3578 2989 continue 3579 2990 else 2991 $as_echo "$as_me: failed program was:" >&5 2992 sed 's/^/| /' conftest.$ac_ext >&5 2993 3580 2994 # Passes both tests. 3581 2995 ac_preproc_ok=: 3582 2996 break 3583 2997 fi 3584 rm -f conftest.err conftest.i conftest.$ac_ext 2998 2999 rm -f conftest.err conftest.$ac_ext 3585 3000 3586 3001 done 3587 3002 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3588 rm -f conftest. i conftest.err conftest.$ac_ext3589 if $ac_preproc_ok; then :3003 rm -f conftest.err conftest.$ac_ext 3004 if $ac_preproc_ok; then 3590 3005 break 3591 3006 fi … … 3599 3014 ac_cv_prog_CPP=$CPP 3600 3015 fi 3601 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CPP" >&53016 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 3602 3017 $as_echo "$CPP" >&6; } 3603 3018 ac_preproc_ok=false … … 3610 3025 # On the NeXT, cc -E runs the code through the compiler's parser, 3611 3026 # not just through cpp. "Syntax error" is here to catch this case. 3612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3027 cat >conftest.$ac_ext <<_ACEOF 3028 /* confdefs.h. */ 3029 _ACEOF 3030 cat confdefs.h >>conftest.$ac_ext 3031 cat >>conftest.$ac_ext <<_ACEOF 3613 3032 /* end confdefs.h. */ 3614 3033 #ifdef __STDC__ … … 3619 3038 Syntax error 3620 3039 _ACEOF 3621 if ac_fn_c_try_cpp "$LINENO"; then : 3622 3623 else 3040 if { (ac_try="$ac_cpp conftest.$ac_ext" 3041 case "(($ac_try" in 3042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3043 *) ac_try_echo=$ac_try;; 3044 esac 3045 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3046 $as_echo "$ac_try_echo") >&5 3047 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3048 ac_status=$? 3049 grep -v '^ *+' conftest.er1 >conftest.err 3050 rm -f conftest.er1 3051 cat conftest.err >&5 3052 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3053 (exit $ac_status); } >/dev/null && { 3054 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3055 test ! -s conftest.err 3056 }; then 3057 : 3058 else 3059 $as_echo "$as_me: failed program was:" >&5 3060 sed 's/^/| /' conftest.$ac_ext >&5 3061 3624 3062 # Broken: fails on valid input. 3625 3063 continue 3626 3064 fi 3627 rm -f conftest.err conftest.i conftest.$ac_ext 3065 3066 rm -f conftest.err conftest.$ac_ext 3628 3067 3629 3068 # OK, works on sane cases. Now check whether nonexistent headers 3630 3069 # can be detected and how. 3631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3070 cat >conftest.$ac_ext <<_ACEOF 3071 /* confdefs.h. */ 3072 _ACEOF 3073 cat confdefs.h >>conftest.$ac_ext 3074 cat >>conftest.$ac_ext <<_ACEOF 3632 3075 /* end confdefs.h. */ 3633 3076 #include <ac_nonexistent.h> 3634 3077 _ACEOF 3635 if ac_fn_c_try_cpp "$LINENO"; then : 3078 if { (ac_try="$ac_cpp conftest.$ac_ext" 3079 case "(($ac_try" in 3080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3081 *) ac_try_echo=$ac_try;; 3082 esac 3083 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3084 $as_echo "$ac_try_echo") >&5 3085 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3086 ac_status=$? 3087 grep -v '^ *+' conftest.er1 >conftest.err 3088 rm -f conftest.er1 3089 cat conftest.err >&5 3090 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3091 (exit $ac_status); } >/dev/null && { 3092 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3093 test ! -s conftest.err 3094 }; then 3636 3095 # Broken: success on invalid input. 3637 3096 continue 3638 3097 else 3098 $as_echo "$as_me: failed program was:" >&5 3099 sed 's/^/| /' conftest.$ac_ext >&5 3100 3639 3101 # Passes both tests. 3640 3102 ac_preproc_ok=: 3641 3103 break 3642 3104 fi 3643 rm -f conftest.err conftest.i conftest.$ac_ext 3105 3106 rm -f conftest.err conftest.$ac_ext 3644 3107 3645 3108 done 3646 3109 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3647 rm -f conftest. i conftest.err conftest.$ac_ext3648 if $ac_preproc_ok; then :3649 3650 else 3651 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53110 rm -f conftest.err conftest.$ac_ext 3111 if $ac_preproc_ok; then 3112 : 3113 else 3114 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3652 3115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3653 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3654 See \`config.log' for more details" "$LINENO" 5; } 3116 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3117 See \`config.log' for more details." >&5 3118 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3119 See \`config.log' for more details." >&2;} 3120 { (exit 1); exit 1; }; }; } 3655 3121 fi 3656 3122 … … 3662 3128 3663 3129 3664 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&53130 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3665 3131 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3666 if ${ac_cv_path_GREP+:} false; then :3132 if test "${ac_cv_path_GREP+set}" = set; then 3667 3133 $as_echo_n "(cached) " >&6 3668 3134 else … … 3675 3141 IFS=$as_save_IFS 3676 3142 test -z "$as_dir" && as_dir=. 3677 3143 for ac_prog in grep ggrep; do 3678 3144 for ac_exec_ext in '' $ac_executable_extensions; do 3679 3145 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3680 as_fn_executable_p "$ac_path_GREP"|| continue3146 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3681 3147 # Check for GNU ac_path_GREP and select it if it is found. 3682 3148 # Check for GNU $ac_path_GREP … … 3695 3161 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3696 3162 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3697 a s_fn_arith $ac_count + 1 && ac_count=$as_val3163 ac_count=`expr $ac_count + 1` 3698 3164 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3699 3165 # Best one so far, save it but keep looking for a better one … … 3710 3176 done 3711 3177 done 3712 3178 done 3713 3179 IFS=$as_save_IFS 3714 3180 if test -z "$ac_cv_path_GREP"; then 3715 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3181 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3182 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3183 { (exit 1); exit 1; }; } 3716 3184 fi 3717 3185 else … … 3720 3188 3721 3189 fi 3722 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&53190 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3723 3191 $as_echo "$ac_cv_path_GREP" >&6; } 3724 3192 GREP="$ac_cv_path_GREP" 3725 3193 3726 3194 3727 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for egrep" >&53195 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 3728 3196 $as_echo_n "checking for egrep... " >&6; } 3729 if ${ac_cv_path_EGREP+:} false; then :3197 if test "${ac_cv_path_EGREP+set}" = set; then 3730 3198 $as_echo_n "(cached) " >&6 3731 3199 else … … 3741 3209 IFS=$as_save_IFS 3742 3210 test -z "$as_dir" && as_dir=. 3743 3211 for ac_prog in egrep; do 3744 3212 for ac_exec_ext in '' $ac_executable_extensions; do 3745 3213 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3746 as_fn_executable_p "$ac_path_EGREP"|| continue3214 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3747 3215 # Check for GNU ac_path_EGREP and select it if it is found. 3748 3216 # Check for GNU $ac_path_EGREP … … 3761 3229 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3762 3230 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3763 a s_fn_arith $ac_count + 1 && ac_count=$as_val3231 ac_count=`expr $ac_count + 1` 3764 3232 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3765 3233 # Best one so far, save it but keep looking for a better one … … 3776 3244 done 3777 3245 done 3778 3246 done 3779 3247 IFS=$as_save_IFS 3780 3248 if test -z "$ac_cv_path_EGREP"; then 3781 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3249 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3250 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3251 { (exit 1); exit 1; }; } 3782 3252 fi 3783 3253 else … … 3787 3257 fi 3788 3258 fi 3789 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&53259 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3790 3260 $as_echo "$ac_cv_path_EGREP" >&6; } 3791 3261 EGREP="$ac_cv_path_EGREP" 3792 3262 3793 3263 3794 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ANSI C header files" >&53264 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3795 3265 $as_echo_n "checking for ANSI C header files... " >&6; } 3796 if ${ac_cv_header_stdc+:} false; then :3266 if test "${ac_cv_header_stdc+set}" = set; then 3797 3267 $as_echo_n "(cached) " >&6 3798 3268 else 3799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3269 cat >conftest.$ac_ext <<_ACEOF 3270 /* confdefs.h. */ 3271 _ACEOF 3272 cat confdefs.h >>conftest.$ac_ext 3273 cat >>conftest.$ac_ext <<_ACEOF 3800 3274 /* end confdefs.h. */ 3801 3275 #include <stdlib.h> … … 3812 3286 } 3813 3287 _ACEOF 3814 if ac_fn_c_try_compile "$LINENO"; then : 3288 rm -f conftest.$ac_objext 3289 if { (ac_try="$ac_compile" 3290 case "(($ac_try" in 3291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3292 *) ac_try_echo=$ac_try;; 3293 esac 3294 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3295 $as_echo "$ac_try_echo") >&5 3296 (eval "$ac_compile") 2>conftest.er1 3297 ac_status=$? 3298 grep -v '^ *+' conftest.er1 >conftest.err 3299 rm -f conftest.er1 3300 cat conftest.err >&5 3301 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3302 (exit $ac_status); } && { 3303 test -z "$ac_c_werror_flag" || 3304 test ! -s conftest.err 3305 } && test -s conftest.$ac_objext; then 3815 3306 ac_cv_header_stdc=yes 3816 3307 else 3817 ac_cv_header_stdc=no 3818 fi 3308 $as_echo "$as_me: failed program was:" >&5 3309 sed 's/^/| /' conftest.$ac_ext >&5 3310 3311 ac_cv_header_stdc=no 3312 fi 3313 3819 3314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3820 3315 3821 3316 if test $ac_cv_header_stdc = yes; then 3822 3317 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3318 cat >conftest.$ac_ext <<_ACEOF 3319 /* confdefs.h. */ 3320 _ACEOF 3321 cat confdefs.h >>conftest.$ac_ext 3322 cat >>conftest.$ac_ext <<_ACEOF 3824 3323 /* end confdefs.h. */ 3825 3324 #include <string.h> … … 3827 3326 _ACEOF 3828 3327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3829 $EGREP "memchr" >/dev/null 2>&1; then :3830 3328 $EGREP "memchr" >/dev/null 2>&1; then 3329 : 3831 3330 else 3832 3331 ac_cv_header_stdc=no … … 3838 3337 if test $ac_cv_header_stdc = yes; then 3839 3338 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3339 cat >conftest.$ac_ext <<_ACEOF 3340 /* confdefs.h. */ 3341 _ACEOF 3342 cat confdefs.h >>conftest.$ac_ext 3343 cat >>conftest.$ac_ext <<_ACEOF 3841 3344 /* end confdefs.h. */ 3842 3345 #include <stdlib.h> … … 3844 3347 _ACEOF 3845 3348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3846 $EGREP "free" >/dev/null 2>&1; then :3847 3349 $EGREP "free" >/dev/null 2>&1; then 3350 : 3848 3351 else 3849 3352 ac_cv_header_stdc=no … … 3855 3358 if test $ac_cv_header_stdc = yes; then 3856 3359 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3857 if test "$cross_compiling" = yes; then :3360 if test "$cross_compiling" = yes; then 3858 3361 : 3859 3362 else 3860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3363 cat >conftest.$ac_ext <<_ACEOF 3364 /* confdefs.h. */ 3365 _ACEOF 3366 cat confdefs.h >>conftest.$ac_ext 3367 cat >>conftest.$ac_ext <<_ACEOF 3861 3368 /* end confdefs.h. */ 3862 3369 #include <ctype.h> … … 3885 3392 } 3886 3393 _ACEOF 3887 if ac_fn_c_try_run "$LINENO"; then : 3888 3889 else 3890 ac_cv_header_stdc=no 3891 fi 3892 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3893 conftest.$ac_objext conftest.beam conftest.$ac_ext 3894 fi 3895 3896 fi 3897 fi 3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3394 rm -f conftest$ac_exeext 3395 if { (ac_try="$ac_link" 3396 case "(($ac_try" in 3397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3398 *) ac_try_echo=$ac_try;; 3399 esac 3400 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3401 $as_echo "$ac_try_echo") >&5 3402 (eval "$ac_link") 2>&5 3403 ac_status=$? 3404 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3405 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3406 { (case "(($ac_try" in 3407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3408 *) ac_try_echo=$ac_try;; 3409 esac 3410 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3411 $as_echo "$ac_try_echo") >&5 3412 (eval "$ac_try") 2>&5 3413 ac_status=$? 3414 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3415 (exit $ac_status); }; }; then 3416 : 3417 else 3418 $as_echo "$as_me: program exited with status $ac_status" >&5 3419 $as_echo "$as_me: failed program was:" >&5 3420 sed 's/^/| /' conftest.$ac_ext >&5 3421 3422 ( exit $ac_status ) 3423 ac_cv_header_stdc=no 3424 fi 3425 rm -rf conftest.dSYM 3426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3427 fi 3428 3429 3430 fi 3431 fi 3432 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3899 3433 $as_echo "$ac_cv_header_stdc" >&6; } 3900 3434 if test $ac_cv_header_stdc = yes; then 3901 3435 3902 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 3436 cat >>confdefs.h <<\_ACEOF 3437 #define STDC_HEADERS 1 3438 _ACEOF 3903 3439 3904 3440 fi 3905 3441 3906 3442 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3443 3444 3445 3446 3447 3448 3449 3450 3451 3907 3452 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3908 3453 inttypes.h stdint.h unistd.h 3909 do : 3910 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3911 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3912 " 3913 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3454 do 3455 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3456 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3457 $as_echo_n "checking for $ac_header... " >&6; } 3458 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3459 $as_echo_n "(cached) " >&6 3460 else 3461 cat >conftest.$ac_ext <<_ACEOF 3462 /* confdefs.h. */ 3463 _ACEOF 3464 cat confdefs.h >>conftest.$ac_ext 3465 cat >>conftest.$ac_ext <<_ACEOF 3466 /* end confdefs.h. */ 3467 $ac_includes_default 3468 3469 #include <$ac_header> 3470 _ACEOF 3471 rm -f conftest.$ac_objext 3472 if { (ac_try="$ac_compile" 3473 case "(($ac_try" in 3474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3475 *) ac_try_echo=$ac_try;; 3476 esac 3477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3478 $as_echo "$ac_try_echo") >&5 3479 (eval "$ac_compile") 2>conftest.er1 3480 ac_status=$? 3481 grep -v '^ *+' conftest.er1 >conftest.err 3482 rm -f conftest.er1 3483 cat conftest.err >&5 3484 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3485 (exit $ac_status); } && { 3486 test -z "$ac_c_werror_flag" || 3487 test ! -s conftest.err 3488 } && test -s conftest.$ac_objext; then 3489 eval "$as_ac_Header=yes" 3490 else 3491 $as_echo "$as_me: failed program was:" >&5 3492 sed 's/^/| /' conftest.$ac_ext >&5 3493 3494 eval "$as_ac_Header=no" 3495 fi 3496 3497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3498 fi 3499 ac_res=`eval 'as_val=${'$as_ac_Header'} 3500 $as_echo "$as_val"'` 3501 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3502 $as_echo "$ac_res" >&6; } 3503 as_val=`eval 'as_val=${'$as_ac_Header'} 3504 $as_echo "$as_val"'` 3505 if test "x$as_val" = x""yes; then 3914 3506 cat >>confdefs.h <<_ACEOF 3915 3507 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 3936 3528 3937 3529 # Check whether --with-python was given. 3938 if test "${with_python+set}" = set; then :3530 if test "${with_python+set}" = set; then 3939 3531 withval=$with_python; 3940 3532 else … … 3947 3539 # 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. 3948 3540 set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 3949 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53541 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3950 3542 $as_echo_n "checking for $ac_word... " >&6; } 3951 if ${ac_cv_path_PYTHON+:} false; then :3543 if test "${ac_cv_path_PYTHON+set}" = set; then 3952 3544 $as_echo_n "(cached) " >&6 3953 3545 else … … 3962 3554 IFS=$as_save_IFS 3963 3555 test -z "$as_dir" && as_dir=. 3964 3965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3556 for ac_exec_ext in '' $ac_executable_extensions; do 3557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3966 3558 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 3967 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53559 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3968 3560 break 2 3969 3561 fi 3970 3562 done 3971 3563 done 3972 3564 IFS=$as_save_IFS 3973 3565 … … 3977 3569 PYTHON=$ac_cv_path_PYTHON 3978 3570 if test -n "$PYTHON"; then 3979 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON" >&53571 { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5 3980 3572 $as_echo "$PYTHON" >&6; } 3981 3573 else 3982 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53574 { $as_echo "$as_me:$LINENO: result: no" >&5 3983 3575 $as_echo "no" >&6; } 3984 3576 fi … … 3988 3580 # Extract the first word of "python", so it can be a program name with args. 3989 3581 set dummy python; ac_word=$2 3990 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53582 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3991 3583 $as_echo_n "checking for $ac_word... " >&6; } 3992 if ${ac_cv_path_PYTHON+:} false; then :3584 if test "${ac_cv_path_PYTHON+set}" = set; then 3993 3585 $as_echo_n "(cached) " >&6 3994 3586 else … … 4004 3596 IFS=$as_save_IFS 4005 3597 test -z "$as_dir" && as_dir=. 4006 4007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3598 for ac_exec_ext in '' $ac_executable_extensions; do 3599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4008 3600 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 4009 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53601 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4010 3602 break 2 4011 3603 fi 4012 3604 done 4013 3605 done 4014 3606 IFS=$as_save_IFS 4015 3607 … … 4019 3611 PYTHON=$ac_cv_path_PYTHON 4020 3612 if test -n "$PYTHON"; then 4021 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON" >&53613 { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5 4022 3614 $as_echo "$PYTHON" >&6; } 4023 3615 else 4024 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53616 { $as_echo "$as_me:$LINENO: result: no" >&5 4025 3617 $as_echo "no" >&6; } 4026 3618 fi … … 4028 3620 4029 3621 fi 4030 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for Python version" >&53622 { $as_echo "$as_me:$LINENO: checking for Python version" >&5 4031 3623 $as_echo_n "checking for Python version... " >&6; } 4032 3624 if test "x${PYTHON}" != "x"; then 4033 3625 PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"` 4034 3626 fi 4035 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON_VERSION" >&53627 { $as_echo "$as_me:$LINENO: result: $PYTHON_VERSION" >&5 4036 3628 $as_echo "$PYTHON_VERSION" >&6; } 4037 3629 fi … … 4039 3631 if test "x${PYTHON_VERSION}" != "x"; then 4040 3632 PYTHON_INCLUDES=$incdir 4041 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for Python distutils" >&53633 { $as_echo "$as_me:$LINENO: checking for Python distutils" >&5 4042 3634 $as_echo_n "checking for Python distutils... " >&6; } 4043 3635 PYTHON_DISTUTILS="" … … 4047 3639 PYTHON_DISTUTILS="yes" 4048 3640 fi 4049 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&53641 { $as_echo "$as_me:$LINENO: result: $PYTHON_DISTUTILS" >&5 4050 3642 $as_echo "$PYTHON_DISTUTILS" >&6; } 4051 3643 if test "${PYTHON_DISTUTILS}" = "yes" ; then … … 4054 3646 # Check for Python include path 4055 3647 # 4056 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking path to Python headers" >&53648 { $as_echo "$as_me:$LINENO: checking path to Python headers" >&5 4057 3649 $as_echo_n "checking path to Python headers... " >&6; } 4058 3650 PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \ 4059 3651 print distutils.sysconfig.get_python_inc();"` 4060 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&53652 { $as_echo "$as_me:$LINENO: result: $PYTHON_INCDIR" >&5 4061 3653 $as_echo "$PYTHON_INCDIR" >&6; } 4062 3654 # … … 4071 3663 save_CPPFLAGS=$CPPFLAGS 4072 3664 CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}" 4073 for ac_header in Python.h 4074 do : 4075 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 4076 if test "x$ac_cv_header_Python_h" = xyes; then : 3665 3666 for ac_header in Python.h 3667 do 3668 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3669 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3670 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3671 $as_echo_n "checking for $ac_header... " >&6; } 3672 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3673 $as_echo_n "(cached) " >&6 3674 fi 3675 ac_res=`eval 'as_val=${'$as_ac_Header'} 3676 $as_echo "$as_val"'` 3677 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3678 $as_echo "$ac_res" >&6; } 3679 else 3680 # Is the header compilable? 3681 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 3682 $as_echo_n "checking $ac_header usability... " >&6; } 3683 cat >conftest.$ac_ext <<_ACEOF 3684 /* confdefs.h. */ 3685 _ACEOF 3686 cat confdefs.h >>conftest.$ac_ext 3687 cat >>conftest.$ac_ext <<_ACEOF 3688 /* end confdefs.h. */ 3689 $ac_includes_default 3690 #include <$ac_header> 3691 _ACEOF 3692 rm -f conftest.$ac_objext 3693 if { (ac_try="$ac_compile" 3694 case "(($ac_try" in 3695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3696 *) ac_try_echo=$ac_try;; 3697 esac 3698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3699 $as_echo "$ac_try_echo") >&5 3700 (eval "$ac_compile") 2>conftest.er1 3701 ac_status=$? 3702 grep -v '^ *+' conftest.er1 >conftest.err 3703 rm -f conftest.er1 3704 cat conftest.err >&5 3705 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3706 (exit $ac_status); } && { 3707 test -z "$ac_c_werror_flag" || 3708 test ! -s conftest.err 3709 } && test -s conftest.$ac_objext; then 3710 ac_header_compiler=yes 3711 else 3712 $as_echo "$as_me: failed program was:" >&5 3713 sed 's/^/| /' conftest.$ac_ext >&5 3714 3715 ac_header_compiler=no 3716 fi 3717 3718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3719 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3720 $as_echo "$ac_header_compiler" >&6; } 3721 3722 # Is the header present? 3723 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 3724 $as_echo_n "checking $ac_header presence... " >&6; } 3725 cat >conftest.$ac_ext <<_ACEOF 3726 /* confdefs.h. */ 3727 _ACEOF 3728 cat confdefs.h >>conftest.$ac_ext 3729 cat >>conftest.$ac_ext <<_ACEOF 3730 /* end confdefs.h. */ 3731 #include <$ac_header> 3732 _ACEOF 3733 if { (ac_try="$ac_cpp conftest.$ac_ext" 3734 case "(($ac_try" in 3735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3736 *) ac_try_echo=$ac_try;; 3737 esac 3738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3739 $as_echo "$ac_try_echo") >&5 3740 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3741 ac_status=$? 3742 grep -v '^ *+' conftest.er1 >conftest.err 3743 rm -f conftest.er1 3744 cat conftest.err >&5 3745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3746 (exit $ac_status); } >/dev/null && { 3747 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3748 test ! -s conftest.err 3749 }; then 3750 ac_header_preproc=yes 3751 else 3752 $as_echo "$as_me: failed program was:" >&5 3753 sed 's/^/| /' conftest.$ac_ext >&5 3754 3755 ac_header_preproc=no 3756 fi 3757 3758 rm -f conftest.err conftest.$ac_ext 3759 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3760 $as_echo "$ac_header_preproc" >&6; } 3761 3762 # So? What about this header? 3763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3764 yes:no: ) 3765 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3766 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3767 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3768 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3769 ac_header_preproc=yes 3770 ;; 3771 no:yes:* ) 3772 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3773 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3774 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3775 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3776 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3777 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3778 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3779 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3780 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3781 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3782 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3783 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3784 ( cat <<\_ASBOX 3785 ## ----------------------------------- ## 3786 ## Report this to rappture@nanohub.org ## 3787 ## ----------------------------------- ## 3788 _ASBOX 3789 ) | sed "s/^/$as_me: WARNING: /" >&2 3790 ;; 3791 esac 3792 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3793 $as_echo_n "checking for $ac_header... " >&6; } 3794 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3795 $as_echo_n "(cached) " >&6 3796 else 3797 eval "$as_ac_Header=\$ac_header_preproc" 3798 fi 3799 ac_res=`eval 'as_val=${'$as_ac_Header'} 3800 $as_echo "$as_val"'` 3801 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3802 $as_echo "$ac_res" >&6; } 3803 3804 fi 3805 as_val=`eval 'as_val=${'$as_ac_Header'} 3806 $as_echo "$as_val"'` 3807 if test "x$as_val" = x""yes; then 4077 3808 cat >>confdefs.h <<_ACEOF 4078 #define HAVE_PYTHON_H13809 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4079 3810 _ACEOF 4080 3811 found=yes … … 4095 3826 4096 3827 # Check whether --with-statsdir was given. 4097 if test "${with_statsdir+set}" = set; then :3828 if test "${with_statsdir+set}" = set; then 4098 3829 withval=$with_statsdir; STATSDIR=$withval 4099 3830 else … … 4129 3860 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4130 3861 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4131 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53862 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4132 3863 $as_echo_n "checking for $ac_word... " >&6; } 4133 if ${ac_cv_prog_RANLIB+:} false; then :3864 if test "${ac_cv_prog_RANLIB+set}" = set; then 4134 3865 $as_echo_n "(cached) " >&6 4135 3866 else … … 4142 3873 IFS=$as_save_IFS 4143 3874 test -z "$as_dir" && as_dir=. 4144 4145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3875 for ac_exec_ext in '' $ac_executable_extensions; do 3876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4146 3877 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4147 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53878 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4148 3879 break 2 4149 3880 fi 4150 3881 done 4151 3882 done 4152 3883 IFS=$as_save_IFS 4153 3884 … … 4156 3887 RANLIB=$ac_cv_prog_RANLIB 4157 3888 if test -n "$RANLIB"; then 4158 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $RANLIB" >&53889 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 4159 3890 $as_echo "$RANLIB" >&6; } 4160 3891 else 4161 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53892 { $as_echo "$as_me:$LINENO: result: no" >&5 4162 3893 $as_echo "no" >&6; } 4163 3894 fi … … 4169 3900 # Extract the first word of "ranlib", so it can be a program name with args. 4170 3901 set dummy ranlib; ac_word=$2 4171 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53902 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4172 3903 $as_echo_n "checking for $ac_word... " >&6; } 4173 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :3904 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 4174 3905 $as_echo_n "(cached) " >&6 4175 3906 else … … 4182 3913 IFS=$as_save_IFS 4183 3914 test -z "$as_dir" && as_dir=. 4184 4185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3915 for ac_exec_ext in '' $ac_executable_extensions; do 3916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4186 3917 ac_cv_prog_ac_ct_RANLIB="ranlib" 4187 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53918 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4188 3919 break 2 4189 3920 fi 4190 3921 done 4191 3922 done 4192 3923 IFS=$as_save_IFS 4193 3924 … … 4196 3927 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4197 3928 if test -n "$ac_ct_RANLIB"; then 4198 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&53929 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 4199 3930 $as_echo "$ac_ct_RANLIB" >&6; } 4200 3931 else 4201 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53932 { $as_echo "$as_me:$LINENO: result: no" >&5 4202 3933 $as_echo "no" >&6; } 4203 3934 fi … … 4208 3939 case $cross_compiling:$ac_tool_warned in 4209 3940 yes:) 4210 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&53941 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4211 3942 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4212 3943 ac_tool_warned=yes ;; … … 4222 3953 # Step 0.a: Enable 64 bit support? 4223 3954 4224 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if 64bit support is requested" >&53955 { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5 4225 3956 $as_echo_n "checking if 64bit support is requested... " >&6; } 4226 3957 # Check whether --enable-64bit was given. 4227 if test "${enable_64bit+set}" = set; then :3958 if test "${enable_64bit+set}" = set; then 4228 3959 enableval=$enable_64bit; do64bit=$enableval 4229 3960 else … … 4231 3962 fi 4232 3963 4233 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $do64bit" >&53964 { $as_echo "$as_me:$LINENO: result: $do64bit" >&5 4234 3965 $as_echo "$do64bit" >&6; } 4235 3966 4236 3967 # Step 0.b: Enable Solaris 64 bit VIS support? 4237 3968 4238 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&53969 { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5 4239 3970 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 4240 3971 # Check whether --enable-64bit-vis was given. 4241 if test "${enable_64bit_vis+set}" = set; then :3972 if test "${enable_64bit_vis+set}" = set; then 4242 3973 enableval=$enable_64bit_vis; do64bitVIS=$enableval 4243 3974 else … … 4245 3976 fi 4246 3977 4247 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $do64bitVIS" >&53978 { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5 4248 3979 $as_echo "$do64bitVIS" >&6; } 4249 3980 … … 4257 3988 4258 3989 4259 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking system version" >&53990 { $as_echo "$as_me:$LINENO: checking system version" >&5 4260 3991 $as_echo_n "checking system version... " >&6; } 4261 if ${tcl_cv_sys_version+:} false; then :3992 if test "${tcl_cv_sys_version+set}" = set; then 4262 3993 $as_echo_n "(cached) " >&6 4263 3994 else … … 4268 3999 tcl_cv_sys_version=`uname -s`-`uname -r` 4269 4000 if test "$?" -ne 0 ; then 4270 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: can't find uname command" >&54001 { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5 4271 4002 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 4272 4003 tcl_cv_sys_version=unknown … … 4285 4016 4286 4017 fi 4287 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&54018 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5 4288 4019 $as_echo "$tcl_cv_sys_version" >&6; } 4289 4020 system=$tcl_cv_sys_version … … 4293 4024 # Linux can use either -ldl or -ldld for dynamic loading. 4294 4025 4295 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for dlopen in -ldl" >&54026 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 4296 4027 $as_echo_n "checking for dlopen in -ldl... " >&6; } 4297 if ${ac_cv_lib_dl_dlopen+:} false; then :4028 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 4298 4029 $as_echo_n "(cached) " >&6 4299 4030 else 4300 4031 ac_check_lib_save_LIBS=$LIBS 4301 4032 LIBS="-ldl $LIBS" 4302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4033 cat >conftest.$ac_ext <<_ACEOF 4034 /* confdefs.h. */ 4035 _ACEOF 4036 cat confdefs.h >>conftest.$ac_ext 4037 cat >>conftest.$ac_ext <<_ACEOF 4303 4038 /* end confdefs.h. */ 4304 4039 … … 4318 4053 } 4319 4054 _ACEOF 4320 if ac_fn_c_try_link "$LINENO"; then : 4055 rm -f conftest.$ac_objext conftest$ac_exeext 4056 if { (ac_try="$ac_link" 4057 case "(($ac_try" in 4058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4059 *) ac_try_echo=$ac_try;; 4060 esac 4061 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4062 $as_echo "$ac_try_echo") >&5 4063 (eval "$ac_link") 2>conftest.er1 4064 ac_status=$? 4065 grep -v '^ *+' conftest.er1 >conftest.err 4066 rm -f conftest.er1 4067 cat conftest.err >&5 4068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4069 (exit $ac_status); } && { 4070 test -z "$ac_c_werror_flag" || 4071 test ! -s conftest.err 4072 } && test -s conftest$ac_exeext && { 4073 test "$cross_compiling" = yes || 4074 $as_test_x conftest$ac_exeext 4075 }; then 4321 4076 ac_cv_lib_dl_dlopen=yes 4322 4077 else 4323 ac_cv_lib_dl_dlopen=no 4324 fi 4325 rm -f core conftest.err conftest.$ac_objext \ 4326 conftest$ac_exeext conftest.$ac_ext 4078 $as_echo "$as_me: failed program was:" >&5 4079 sed 's/^/| /' conftest.$ac_ext >&5 4080 4081 ac_cv_lib_dl_dlopen=no 4082 fi 4083 4084 rm -rf conftest.dSYM 4085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4086 conftest$ac_exeext conftest.$ac_ext 4327 4087 LIBS=$ac_check_lib_save_LIBS 4328 4088 fi 4329 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&54089 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 4330 4090 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 4331 if test "x$ac_cv_lib_dl_dlopen" = x yes; then :4091 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 4332 4092 have_dl=yes 4333 4093 else … … 4361 4121 # Extract the first word of "ar", so it can be a program name with args. 4362 4122 set dummy ar; ac_word=$2 4363 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&54123 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4364 4124 $as_echo_n "checking for $ac_word... " >&6; } 4365 if ${ac_cv_prog_AR+:} false; then :4125 if test "${ac_cv_prog_AR+set}" = set; then 4366 4126 $as_echo_n "(cached) " >&6 4367 4127 else … … 4374 4134 IFS=$as_save_IFS 4375 4135 test -z "$as_dir" && as_dir=. 4376 4377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4136 for ac_exec_ext in '' $ac_executable_extensions; do 4137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4378 4138 ac_cv_prog_AR="ar" 4379 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&54139 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4380 4140 break 2 4381 4141 fi 4382 4142 done 4383 4143 done 4384 4144 IFS=$as_save_IFS 4385 4145 … … 4388 4148 AR=$ac_cv_prog_AR 4389 4149 if test -n "$AR"; then 4390 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $AR" >&54150 { $as_echo "$as_me:$LINENO: result: $AR" >&5 4391 4151 $as_echo "$AR" >&6; } 4392 4152 else 4393 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&54153 { $as_echo "$as_me:$LINENO: result: no" >&5 4394 4154 $as_echo "no" >&6; } 4395 4155 fi … … 4397 4157 4398 4158 if test "${AR}" = "" ; then 4399 as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5 4159 { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 4160 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 4161 { (exit 1); exit 1; }; } 4400 4162 fi 4401 4163 STLIB_LD='${AR} cr' … … 4415 4177 ;; 4416 4178 esac 4417 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&54179 { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5 4418 4180 $as_echo "Using $CC for compiling with threads" >&6; } 4419 4181 fi … … 4431 4193 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 4432 4194 if test "$GCC" = "yes" ; then 4433 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&54195 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 4434 4196 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 4435 4197 else … … 4486 4248 # known GMT value. 4487 4249 4488 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&54250 { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5 4489 4251 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 4490 if ${ac_cv_lib_bsd_gettimeofday+:} false; then :4252 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then 4491 4253 $as_echo_n "(cached) " >&6 4492 4254 else 4493 4255 ac_check_lib_save_LIBS=$LIBS 4494 4256 LIBS="-lbsd $LIBS" 4495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4257 cat >conftest.$ac_ext <<_ACEOF 4258 /* confdefs.h. */ 4259 _ACEOF 4260 cat confdefs.h >>conftest.$ac_ext 4261 cat >>conftest.$ac_ext <<_ACEOF 4496 4262 /* end confdefs.h. */ 4497 4263 … … 4511 4277 } 4512 4278 _ACEOF 4513 if ac_fn_c_try_link "$LINENO"; then : 4279 rm -f conftest.$ac_objext conftest$ac_exeext 4280 if { (ac_try="$ac_link" 4281 case "(($ac_try" in 4282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4283 *) ac_try_echo=$ac_try;; 4284 esac 4285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4286 $as_echo "$ac_try_echo") >&5 4287 (eval "$ac_link") 2>conftest.er1 4288 ac_status=$? 4289 grep -v '^ *+' conftest.er1 >conftest.err 4290 rm -f conftest.er1 4291 cat conftest.err >&5 4292 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4293 (exit $ac_status); } && { 4294 test -z "$ac_c_werror_flag" || 4295 test ! -s conftest.err 4296 } && test -s conftest$ac_exeext && { 4297 test "$cross_compiling" = yes || 4298 $as_test_x conftest$ac_exeext 4299 }; then 4514 4300 ac_cv_lib_bsd_gettimeofday=yes 4515 4301 else 4516 ac_cv_lib_bsd_gettimeofday=no 4517 fi 4518 rm -f core conftest.err conftest.$ac_objext \ 4519 conftest$ac_exeext conftest.$ac_ext 4302 $as_echo "$as_me: failed program was:" >&5 4303 sed 's/^/| /' conftest.$ac_ext >&5 4304 4305 ac_cv_lib_bsd_gettimeofday=no 4306 fi 4307 4308 rm -rf conftest.dSYM 4309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4310 conftest$ac_exeext conftest.$ac_ext 4520 4311 LIBS=$ac_check_lib_save_LIBS 4521 4312 fi 4522 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&54313 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5 4523 4314 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 4524 if test "x$ac_cv_lib_bsd_gettimeofday" = x yes; then :4315 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then 4525 4316 libbsd=yes 4526 4317 else … … 4530 4321 if test $libbsd = yes; then 4531 4322 MATH_LIBS="$MATH_LIBS -lbsd" 4532 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 4323 cat >>confdefs.h <<\_ACEOF 4324 #define USE_DELTA_FOR_TZ 1 4325 _ACEOF 4533 4326 4534 4327 fi … … 4547 4340 # is always linked to, for compatibility. 4548 4341 #----------------------------------------------------------- 4549 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&54342 { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5 4550 4343 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 4551 if ${ac_cv_lib_bind_inet_ntoa+:} false; then :4344 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then 4552 4345 $as_echo_n "(cached) " >&6 4553 4346 else 4554 4347 ac_check_lib_save_LIBS=$LIBS 4555 4348 LIBS="-lbind $LIBS" 4556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4349 cat >conftest.$ac_ext <<_ACEOF 4350 /* confdefs.h. */ 4351 _ACEOF 4352 cat confdefs.h >>conftest.$ac_ext 4353 cat >>conftest.$ac_ext <<_ACEOF 4557 4354 /* end confdefs.h. */ 4558 4355 … … 4572 4369 } 4573 4370 _ACEOF 4574 if ac_fn_c_try_link "$LINENO"; then : 4371 rm -f conftest.$ac_objext conftest$ac_exeext 4372 if { (ac_try="$ac_link" 4373 case "(($ac_try" in 4374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4375 *) ac_try_echo=$ac_try;; 4376 esac 4377 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4378 $as_echo "$ac_try_echo") >&5 4379 (eval "$ac_link") 2>conftest.er1 4380 ac_status=$? 4381 grep -v '^ *+' conftest.er1 >conftest.err 4382 rm -f conftest.er1 4383 cat conftest.err >&5 4384 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4385 (exit $ac_status); } && { 4386 test -z "$ac_c_werror_flag" || 4387 test ! -s conftest.err 4388 } && test -s conftest$ac_exeext && { 4389 test "$cross_compiling" = yes || 4390 $as_test_x conftest$ac_exeext 4391 }; then 4575 4392 ac_cv_lib_bind_inet_ntoa=yes 4576 4393 else 4577 ac_cv_lib_bind_inet_ntoa=no 4578 fi 4579 rm -f core conftest.err conftest.$ac_objext \ 4580 conftest$ac_exeext conftest.$ac_ext 4394 $as_echo "$as_me: failed program was:" >&5 4395 sed 's/^/| /' conftest.$ac_ext >&5 4396 4397 ac_cv_lib_bind_inet_ntoa=no 4398 fi 4399 4400 rm -rf conftest.dSYM 4401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4402 conftest$ac_exeext conftest.$ac_ext 4581 4403 LIBS=$ac_check_lib_save_LIBS 4582 4404 fi 4583 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&54405 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5 4584 4406 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 4585 if test "x$ac_cv_lib_bind_inet_ntoa" = x yes; then :4407 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then 4586 4408 LIBS="$LIBS -lbind -lsocket" 4587 4409 fi … … 4621 4443 HP-UX-*.11.*) 4622 4444 # Use updated header definitions where possible 4623 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 4445 cat >>confdefs.h <<\_ACEOF 4446 #define _XOPEN_SOURCE 1 4447 _ACEOF 4624 4448 # Use the XOPEN network library 4625 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 4449 cat >>confdefs.h <<\_ACEOF 4450 #define _XOPEN_SOURCE_EXTENDED 1 4451 _ACEOF 4626 4452 # Use the XOPEN network library 4627 4453 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 4632 4458 SHLIB_SUFFIX=".sl" 4633 4459 fi 4634 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for shl_load in -ldld" >&54460 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 4635 4461 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4636 if ${ac_cv_lib_dld_shl_load+:} false; then :4462 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 4637 4463 $as_echo_n "(cached) " >&6 4638 4464 else 4639 4465 ac_check_lib_save_LIBS=$LIBS 4640 4466 LIBS="-ldld $LIBS" 4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4467 cat >conftest.$ac_ext <<_ACEOF 4468 /* confdefs.h. */ 4469 _ACEOF 4470 cat confdefs.h >>conftest.$ac_ext 4471 cat >>conftest.$ac_ext <<_ACEOF 4642 4472 /* end confdefs.h. */ 4643 4473 … … 4657 4487 } 4658 4488 _ACEOF 4659 if ac_fn_c_try_link "$LINENO"; then : 4489 rm -f conftest.$ac_objext conftest$ac_exeext 4490 if { (ac_try="$ac_link" 4491 case "(($ac_try" in 4492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4493 *) ac_try_echo=$ac_try;; 4494 esac 4495 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4496 $as_echo "$ac_try_echo") >&5 4497 (eval "$ac_link") 2>conftest.er1 4498 ac_status=$? 4499 grep -v '^ *+' conftest.er1 >conftest.err 4500 rm -f conftest.er1 4501 cat conftest.err >&5 4502 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4503 (exit $ac_status); } && { 4504 test -z "$ac_c_werror_flag" || 4505 test ! -s conftest.err 4506 } && test -s conftest$ac_exeext && { 4507 test "$cross_compiling" = yes || 4508 $as_test_x conftest$ac_exeext 4509 }; then 4660 4510 ac_cv_lib_dld_shl_load=yes 4661 4511 else 4662 ac_cv_lib_dld_shl_load=no 4663 fi 4664 rm -f core conftest.err conftest.$ac_objext \ 4665 conftest$ac_exeext conftest.$ac_ext 4512 $as_echo "$as_me: failed program was:" >&5 4513 sed 's/^/| /' conftest.$ac_ext >&5 4514 4515 ac_cv_lib_dld_shl_load=no 4516 fi 4517 4518 rm -rf conftest.dSYM 4519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4520 conftest$ac_exeext conftest.$ac_ext 4666 4521 LIBS=$ac_check_lib_save_LIBS 4667 4522 fi 4668 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&54523 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 4669 4524 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4670 if test "x$ac_cv_lib_dld_shl_load" = x yes; then :4525 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 4671 4526 tcl_ok=yes 4672 4527 else … … 4708 4563 ;; 4709 4564 *) 4710 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&54565 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 4711 4566 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 4712 4567 ;; … … 4721 4576 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 4722 4577 SHLIB_SUFFIX=".sl" 4723 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for shl_load in -ldld" >&54578 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 4724 4579 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4725 if ${ac_cv_lib_dld_shl_load+:} false; then :4580 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 4726 4581 $as_echo_n "(cached) " >&6 4727 4582 else 4728 4583 ac_check_lib_save_LIBS=$LIBS 4729 4584 LIBS="-ldld $LIBS" 4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4585 cat >conftest.$ac_ext <<_ACEOF 4586 /* confdefs.h. */ 4587 _ACEOF 4588 cat confdefs.h >>conftest.$ac_ext 4589 cat >>conftest.$ac_ext <<_ACEOF 4731 4590 /* end confdefs.h. */ 4732 4591 … … 4746 4605 } 4747 4606 _ACEOF 4748 if ac_fn_c_try_link "$LINENO"; then : 4607 rm -f conftest.$ac_objext conftest$ac_exeext 4608 if { (ac_try="$ac_link" 4609 case "(($ac_try" in 4610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4611 *) ac_try_echo=$ac_try;; 4612 esac 4613 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4614 $as_echo "$ac_try_echo") >&5 4615 (eval "$ac_link") 2>conftest.er1 4616 ac_status=$? 4617 grep -v '^ *+' conftest.er1 >conftest.err 4618 rm -f conftest.er1 4619 cat conftest.err >&5 4620 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4621 (exit $ac_status); } && { 4622 test -z "$ac_c_werror_flag" || 4623 test ! -s conftest.err 4624 } && test -s conftest$ac_exeext && { 4625 test "$cross_compiling" = yes || 4626 $as_test_x conftest$ac_exeext 4627 }; then 4749 4628 ac_cv_lib_dld_shl_load=yes 4750 4629 else 4751 ac_cv_lib_dld_shl_load=no 4752 fi 4753 rm -f core conftest.err conftest.$ac_objext \ 4754 conftest$ac_exeext conftest.$ac_ext 4630 $as_echo "$as_me: failed program was:" >&5 4631 sed 's/^/| /' conftest.$ac_ext >&5 4632 4633 ac_cv_lib_dld_shl_load=no 4634 fi 4635 4636 rm -rf conftest.dSYM 4637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4638 conftest$ac_exeext conftest.$ac_ext 4755 4639 LIBS=$ac_check_lib_save_LIBS 4756 4640 fi 4757 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&54641 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 4758 4642 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4759 if test "x$ac_cv_lib_dld_shl_load" = x yes; then :4643 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 4760 4644 tcl_ok=yes 4761 4645 else … … 4836 4720 if test "$do64bit" = "yes" ; then 4837 4721 if test "$GCC" = "yes" ; then 4838 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&54722 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5 4839 4723 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 4840 4724 else … … 4865 4749 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4866 4750 else 4867 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4868 if test "x$ac_cv_header_dld_h" = xyes; then : 4751 if test "${ac_cv_header_dld_h+set}" = set; then 4752 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4753 $as_echo_n "checking for dld.h... " >&6; } 4754 if test "${ac_cv_header_dld_h+set}" = set; then 4755 $as_echo_n "(cached) " >&6 4756 fi 4757 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4758 $as_echo "$ac_cv_header_dld_h" >&6; } 4759 else 4760 # Is the header compilable? 4761 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 4762 $as_echo_n "checking dld.h usability... " >&6; } 4763 cat >conftest.$ac_ext <<_ACEOF 4764 /* confdefs.h. */ 4765 _ACEOF 4766 cat confdefs.h >>conftest.$ac_ext 4767 cat >>conftest.$ac_ext <<_ACEOF 4768 /* end confdefs.h. */ 4769 $ac_includes_default 4770 #include <dld.h> 4771 _ACEOF 4772 rm -f conftest.$ac_objext 4773 if { (ac_try="$ac_compile" 4774 case "(($ac_try" in 4775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4776 *) ac_try_echo=$ac_try;; 4777 esac 4778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4779 $as_echo "$ac_try_echo") >&5 4780 (eval "$ac_compile") 2>conftest.er1 4781 ac_status=$? 4782 grep -v '^ *+' conftest.er1 >conftest.err 4783 rm -f conftest.er1 4784 cat conftest.err >&5 4785 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4786 (exit $ac_status); } && { 4787 test -z "$ac_c_werror_flag" || 4788 test ! -s conftest.err 4789 } && test -s conftest.$ac_objext; then 4790 ac_header_compiler=yes 4791 else 4792 $as_echo "$as_me: failed program was:" >&5 4793 sed 's/^/| /' conftest.$ac_ext >&5 4794 4795 ac_header_compiler=no 4796 fi 4797 4798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4799 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4800 $as_echo "$ac_header_compiler" >&6; } 4801 4802 # Is the header present? 4803 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 4804 $as_echo_n "checking dld.h presence... " >&6; } 4805 cat >conftest.$ac_ext <<_ACEOF 4806 /* confdefs.h. */ 4807 _ACEOF 4808 cat confdefs.h >>conftest.$ac_ext 4809 cat >>conftest.$ac_ext <<_ACEOF 4810 /* end confdefs.h. */ 4811 #include <dld.h> 4812 _ACEOF 4813 if { (ac_try="$ac_cpp conftest.$ac_ext" 4814 case "(($ac_try" in 4815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4816 *) ac_try_echo=$ac_try;; 4817 esac 4818 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4819 $as_echo "$ac_try_echo") >&5 4820 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4821 ac_status=$? 4822 grep -v '^ *+' conftest.er1 >conftest.err 4823 rm -f conftest.er1 4824 cat conftest.err >&5 4825 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4826 (exit $ac_status); } >/dev/null && { 4827 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4828 test ! -s conftest.err 4829 }; then 4830 ac_header_preproc=yes 4831 else 4832 $as_echo "$as_me: failed program was:" >&5 4833 sed 's/^/| /' conftest.$ac_ext >&5 4834 4835 ac_header_preproc=no 4836 fi 4837 4838 rm -f conftest.err conftest.$ac_ext 4839 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4840 $as_echo "$ac_header_preproc" >&6; } 4841 4842 # So? What about this header? 4843 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4844 yes:no: ) 4845 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 4846 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4847 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 4848 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 4849 ac_header_preproc=yes 4850 ;; 4851 no:yes:* ) 4852 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 4853 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 4854 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 4855 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 4856 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 4857 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 4858 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 4859 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 4860 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 4861 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 4862 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 4863 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 4864 ( cat <<\_ASBOX 4865 ## ----------------------------------- ## 4866 ## Report this to rappture@nanohub.org ## 4867 ## ----------------------------------- ## 4868 _ASBOX 4869 ) | sed "s/^/$as_me: WARNING: /" >&2 4870 ;; 4871 esac 4872 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4873 $as_echo_n "checking for dld.h... " >&6; } 4874 if test "${ac_cv_header_dld_h+set}" = set; then 4875 $as_echo_n "(cached) " >&6 4876 else 4877 ac_cv_header_dld_h=$ac_header_preproc 4878 fi 4879 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4880 $as_echo "$ac_cv_header_dld_h" >&6; } 4881 4882 fi 4883 if test "x$ac_cv_header_dld_h" = x""yes; then 4869 4884 4870 4885 SHLIB_LD="ld -shared" … … 4881 4896 fi 4882 4897 if test $do64bit = yes; then 4883 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&54898 { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5 4884 4899 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 4885 if ${tcl_cv_cc_m64+:} false; then :4900 if test "${tcl_cv_cc_m64+set}" = set; then 4886 4901 $as_echo_n "(cached) " >&6 4887 4902 else … … 4889 4904 hold_cflags=$CFLAGS 4890 4905 CFLAGS="$CFLAGS -m64" 4891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4906 cat >conftest.$ac_ext <<_ACEOF 4907 /* confdefs.h. */ 4908 _ACEOF 4909 cat confdefs.h >>conftest.$ac_ext 4910 cat >>conftest.$ac_ext <<_ACEOF 4892 4911 /* end confdefs.h. */ 4893 4912 … … 4900 4919 } 4901 4920 _ACEOF 4902 if ac_fn_c_try_link "$LINENO"; then : 4921 rm -f conftest.$ac_objext conftest$ac_exeext 4922 if { (ac_try="$ac_link" 4923 case "(($ac_try" in 4924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4925 *) ac_try_echo=$ac_try;; 4926 esac 4927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4928 $as_echo "$ac_try_echo") >&5 4929 (eval "$ac_link") 2>conftest.er1 4930 ac_status=$? 4931 grep -v '^ *+' conftest.er1 >conftest.err 4932 rm -f conftest.er1 4933 cat conftest.err >&5 4934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4935 (exit $ac_status); } && { 4936 test -z "$ac_c_werror_flag" || 4937 test ! -s conftest.err 4938 } && test -s conftest$ac_exeext && { 4939 test "$cross_compiling" = yes || 4940 $as_test_x conftest$ac_exeext 4941 }; then 4903 4942 tcl_cv_cc_m64=yes 4904 4943 else 4905 tcl_cv_cc_m64=no 4906 fi 4907 rm -f core conftest.err conftest.$ac_objext \ 4908 conftest$ac_exeext conftest.$ac_ext 4944 $as_echo "$as_me: failed program was:" >&5 4945 sed 's/^/| /' conftest.$ac_ext >&5 4946 4947 tcl_cv_cc_m64=no 4948 fi 4949 4950 rm -rf conftest.dSYM 4951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4952 conftest$ac_exeext conftest.$ac_ext 4909 4953 CFLAGS=$hold_cflags 4910 4954 fi 4911 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&54955 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5 4912 4956 $as_echo "$tcl_cv_cc_m64" >&6; } 4913 4957 if test $tcl_cv_cc_m64 = yes; then … … 4929 4973 4930 4974 # XIM peeking works under XFree86. 4931 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 4975 cat >>confdefs.h <<\_ACEOF 4976 #define PEEK_XCLOSEIM 1 4977 _ACEOF 4932 4978 4933 4979 … … 4946 4992 LD_SEARCH_FLAGS="" 4947 4993 else 4948 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4949 if test "x$ac_cv_header_dld_h" = xyes; then : 4994 if test "${ac_cv_header_dld_h+set}" = set; then 4995 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4996 $as_echo_n "checking for dld.h... " >&6; } 4997 if test "${ac_cv_header_dld_h+set}" = set; then 4998 $as_echo_n "(cached) " >&6 4999 fi 5000 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 5001 $as_echo "$ac_cv_header_dld_h" >&6; } 5002 else 5003 # Is the header compilable? 5004 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 5005 $as_echo_n "checking dld.h usability... " >&6; } 5006 cat >conftest.$ac_ext <<_ACEOF 5007 /* confdefs.h. */ 5008 _ACEOF 5009 cat confdefs.h >>conftest.$ac_ext 5010 cat >>conftest.$ac_ext <<_ACEOF 5011 /* end confdefs.h. */ 5012 $ac_includes_default 5013 #include <dld.h> 5014 _ACEOF 5015 rm -f conftest.$ac_objext 5016 if { (ac_try="$ac_compile" 5017 case "(($ac_try" in 5018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5019 *) ac_try_echo=$ac_try;; 5020 esac 5021 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5022 $as_echo "$ac_try_echo") >&5 5023 (eval "$ac_compile") 2>conftest.er1 5024 ac_status=$? 5025 grep -v '^ *+' conftest.er1 >conftest.err 5026 rm -f conftest.er1 5027 cat conftest.err >&5 5028 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5029 (exit $ac_status); } && { 5030 test -z "$ac_c_werror_flag" || 5031 test ! -s conftest.err 5032 } && test -s conftest.$ac_objext; then 5033 ac_header_compiler=yes 5034 else 5035 $as_echo "$as_me: failed program was:" >&5 5036 sed 's/^/| /' conftest.$ac_ext >&5 5037 5038 ac_header_compiler=no 5039 fi 5040 5041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5042 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5043 $as_echo "$ac_header_compiler" >&6; } 5044 5045 # Is the header present? 5046 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 5047 $as_echo_n "checking dld.h presence... " >&6; } 5048 cat >conftest.$ac_ext <<_ACEOF 5049 /* confdefs.h. */ 5050 _ACEOF 5051 cat confdefs.h >>conftest.$ac_ext 5052 cat >>conftest.$ac_ext <<_ACEOF 5053 /* end confdefs.h. */ 5054 #include <dld.h> 5055 _ACEOF 5056 if { (ac_try="$ac_cpp conftest.$ac_ext" 5057 case "(($ac_try" in 5058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5059 *) ac_try_echo=$ac_try;; 5060 esac 5061 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5062 $as_echo "$ac_try_echo") >&5 5063 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5064 ac_status=$? 5065 grep -v '^ *+' conftest.er1 >conftest.err 5066 rm -f conftest.er1 5067 cat conftest.err >&5 5068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5069 (exit $ac_status); } >/dev/null && { 5070 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5071 test ! -s conftest.err 5072 }; then 5073 ac_header_preproc=yes 5074 else 5075 $as_echo "$as_me: failed program was:" >&5 5076 sed 's/^/| /' conftest.$ac_ext >&5 5077 5078 ac_header_preproc=no 5079 fi 5080 5081 rm -f conftest.err conftest.$ac_ext 5082 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5083 $as_echo "$ac_header_preproc" >&6; } 5084 5085 # So? What about this header? 5086 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5087 yes:no: ) 5088 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 5089 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5090 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 5091 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 5092 ac_header_preproc=yes 5093 ;; 5094 no:yes:* ) 5095 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 5096 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 5097 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 5098 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 5099 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 5100 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 5101 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 5102 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 5103 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 5104 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 5105 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 5106 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 5107 ( cat <<\_ASBOX 5108 ## ----------------------------------- ## 5109 ## Report this to rappture@nanohub.org ## 5110 ## ----------------------------------- ## 5111 _ASBOX 5112 ) | sed "s/^/$as_me: WARNING: /" >&2 5113 ;; 5114 esac 5115 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 5116 $as_echo_n "checking for dld.h... " >&6; } 5117 if test "${ac_cv_header_dld_h+set}" = set; then 5118 $as_echo_n "(cached) " >&6 5119 else 5120 ac_cv_header_dld_h=$ac_header_preproc 5121 fi 5122 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 5123 $as_echo "$ac_cv_header_dld_h" >&6; } 5124 5125 fi 5126 if test "x$ac_cv_header_dld_h" = x""yes; then 4950 5127 4951 5128 SHLIB_LD="ld -shared" … … 4997 5174 NetBSD-*|FreeBSD-[1-2].*) 4998 5175 # Not available on all versions: check for include file. 4999 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 5000 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 5176 if test "${ac_cv_header_dlfcn_h+set}" = set; then 5177 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 5178 $as_echo_n "checking for dlfcn.h... " >&6; } 5179 if test "${ac_cv_header_dlfcn_h+set}" = set; then 5180 $as_echo_n "(cached) " >&6 5181 fi 5182 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 5183 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 5184 else 5185 # Is the header compilable? 5186 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 5187 $as_echo_n "checking dlfcn.h usability... " >&6; } 5188 cat >conftest.$ac_ext <<_ACEOF 5189 /* confdefs.h. */ 5190 _ACEOF 5191 cat confdefs.h >>conftest.$ac_ext 5192 cat >>conftest.$ac_ext <<_ACEOF 5193 /* end confdefs.h. */ 5194 $ac_includes_default 5195 #include <dlfcn.h> 5196 _ACEOF 5197 rm -f conftest.$ac_objext 5198 if { (ac_try="$ac_compile" 5199 case "(($ac_try" in 5200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5201 *) ac_try_echo=$ac_try;; 5202 esac 5203 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5204 $as_echo "$ac_try_echo") >&5 5205 (eval "$ac_compile") 2>conftest.er1 5206 ac_status=$? 5207 grep -v '^ *+' conftest.er1 >conftest.err 5208 rm -f conftest.er1 5209 cat conftest.err >&5 5210 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5211 (exit $ac_status); } && { 5212 test -z "$ac_c_werror_flag" || 5213 test ! -s conftest.err 5214 } && test -s conftest.$ac_objext; then 5215 ac_header_compiler=yes 5216 else 5217 $as_echo "$as_me: failed program was:" >&5 5218 sed 's/^/| /' conftest.$ac_ext >&5 5219 5220 ac_header_compiler=no 5221 fi 5222 5223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5224 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5225 $as_echo "$ac_header_compiler" >&6; } 5226 5227 # Is the header present? 5228 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 5229 $as_echo_n "checking dlfcn.h presence... " >&6; } 5230 cat >conftest.$ac_ext <<_ACEOF 5231 /* confdefs.h. */ 5232 _ACEOF 5233 cat confdefs.h >>conftest.$ac_ext 5234 cat >>conftest.$ac_ext <<_ACEOF 5235 /* end confdefs.h. */ 5236 #include <dlfcn.h> 5237 _ACEOF 5238 if { (ac_try="$ac_cpp conftest.$ac_ext" 5239 case "(($ac_try" in 5240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5241 *) ac_try_echo=$ac_try;; 5242 esac 5243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5244 $as_echo "$ac_try_echo") >&5 5245 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5246 ac_status=$? 5247 grep -v '^ *+' conftest.er1 >conftest.err 5248 rm -f conftest.er1 5249 cat conftest.err >&5 5250 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5251 (exit $ac_status); } >/dev/null && { 5252 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5253 test ! -s conftest.err 5254 }; then 5255 ac_header_preproc=yes 5256 else 5257 $as_echo "$as_me: failed program was:" >&5 5258 sed 's/^/| /' conftest.$ac_ext >&5 5259 5260 ac_header_preproc=no 5261 fi 5262 5263 rm -f conftest.err conftest.$ac_ext 5264 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5265 $as_echo "$ac_header_preproc" >&6; } 5266 5267 # So? What about this header? 5268 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5269 yes:no: ) 5270 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 5271 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5272 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 5273 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 5274 ac_header_preproc=yes 5275 ;; 5276 no:yes:* ) 5277 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 5278 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 5279 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 5280 $as_echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 5281 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 5282 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 5283 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 5284 $as_echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 5285 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 5286 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 5287 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 5288 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 5289 ( cat <<\_ASBOX 5290 ## ----------------------------------- ## 5291 ## Report this to rappture@nanohub.org ## 5292 ## ----------------------------------- ## 5293 _ASBOX 5294 ) | sed "s/^/$as_me: WARNING: /" >&2 5295 ;; 5296 esac 5297 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 5298 $as_echo_n "checking for dlfcn.h... " >&6; } 5299 if test "${ac_cv_header_dlfcn_h+set}" = set; then 5300 $as_echo_n "(cached) " >&6 5301 else 5302 ac_cv_header_dlfcn_h=$ac_header_preproc 5303 fi 5304 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 5305 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 5306 5307 fi 5308 if test "x$ac_cv_header_dlfcn_h" = x""yes; then 5001 5309 5002 5310 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 5009 5317 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 5010 5318 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 5011 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ELF" >&55319 { $as_echo "$as_me:$LINENO: checking for ELF" >&5 5012 5320 $as_echo_n "checking for ELF... " >&6; } 5013 if ${tcl_cv_ld_elf+:} false; then :5321 if test "${tcl_cv_ld_elf+set}" = set; then 5014 5322 $as_echo_n "(cached) " >&6 5015 5323 else 5016 5324 5017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5325 cat >conftest.$ac_ext <<_ACEOF 5326 /* confdefs.h. */ 5327 _ACEOF 5328 cat confdefs.h >>conftest.$ac_ext 5329 cat >>conftest.$ac_ext <<_ACEOF 5018 5330 /* end confdefs.h. */ 5019 5331 … … 5024 5336 _ACEOF 5025 5337 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5026 $EGREP "yes" >/dev/null 2>&1; then :5338 $EGREP "yes" >/dev/null 2>&1; then 5027 5339 tcl_cv_ld_elf=yes 5028 5340 else … … 5032 5344 5033 5345 fi 5034 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&55346 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 5035 5347 $as_echo "$tcl_cv_ld_elf" >&6; } 5036 5348 if test $tcl_cv_ld_elf = yes; then … … 5091 5403 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 5092 5404 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 5093 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ELF" >&55405 { $as_echo "$as_me:$LINENO: checking for ELF" >&5 5094 5406 $as_echo_n "checking for ELF... " >&6; } 5095 if ${tcl_cv_ld_elf+:} false; then :5407 if test "${tcl_cv_ld_elf+set}" = set; then 5096 5408 $as_echo_n "(cached) " >&6 5097 5409 else 5098 5410 5099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5411 cat >conftest.$ac_ext <<_ACEOF 5412 /* confdefs.h. */ 5413 _ACEOF 5414 cat confdefs.h >>conftest.$ac_ext 5415 cat >>conftest.$ac_ext <<_ACEOF 5100 5416 /* end confdefs.h. */ 5101 5417 … … 5106 5422 _ACEOF 5107 5423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5108 $EGREP "yes" >/dev/null 2>&1; then :5424 $EGREP "yes" >/dev/null 2>&1; then 5109 5425 tcl_cv_ld_elf=yes 5110 5426 else … … 5114 5430 5115 5431 fi 5116 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&55432 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 5117 5433 $as_echo "$tcl_cv_ld_elf" >&6; } 5118 5434 if test $tcl_cv_ld_elf = yes; then … … 5169 5485 case `arch` in 5170 5486 ppc) 5171 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&55487 { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5 5172 5488 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 5173 if ${tcl_cv_cc_arch_ppc64+:} false; then :5489 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then 5174 5490 $as_echo_n "(cached) " >&6 5175 5491 else … … 5177 5493 hold_cflags=$CFLAGS 5178 5494 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 5179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5495 cat >conftest.$ac_ext <<_ACEOF 5496 /* confdefs.h. */ 5497 _ACEOF 5498 cat confdefs.h >>conftest.$ac_ext 5499 cat >>conftest.$ac_ext <<_ACEOF 5180 5500 /* end confdefs.h. */ 5181 5501 … … 5188 5508 } 5189 5509 _ACEOF 5190 if ac_fn_c_try_link "$LINENO"; then : 5510 rm -f conftest.$ac_objext conftest$ac_exeext 5511 if { (ac_try="$ac_link" 5512 case "(($ac_try" in 5513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5514 *) ac_try_echo=$ac_try;; 5515 esac 5516 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5517 $as_echo "$ac_try_echo") >&5 5518 (eval "$ac_link") 2>conftest.er1 5519 ac_status=$? 5520 grep -v '^ *+' conftest.er1 >conftest.err 5521 rm -f conftest.er1 5522 cat conftest.err >&5 5523 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5524 (exit $ac_status); } && { 5525 test -z "$ac_c_werror_flag" || 5526 test ! -s conftest.err 5527 } && test -s conftest$ac_exeext && { 5528 test "$cross_compiling" = yes || 5529 $as_test_x conftest$ac_exeext 5530 }; then 5191 5531 tcl_cv_cc_arch_ppc64=yes 5192 5532 else 5193 tcl_cv_cc_arch_ppc64=no 5194 fi 5195 rm -f core conftest.err conftest.$ac_objext \ 5196 conftest$ac_exeext conftest.$ac_ext 5533 $as_echo "$as_me: failed program was:" >&5 5534 sed 's/^/| /' conftest.$ac_ext >&5 5535 5536 tcl_cv_cc_arch_ppc64=no 5537 fi 5538 5539 rm -rf conftest.dSYM 5540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5541 conftest$ac_exeext conftest.$ac_ext 5197 5542 CFLAGS=$hold_cflags 5198 5543 fi 5199 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&55544 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5 5200 5545 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 5201 5546 if test $tcl_cv_cc_arch_ppc64 = yes; then … … 5204 5549 fi;; 5205 5550 i386) 5206 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&55551 { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5 5207 5552 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 5208 if ${tcl_cv_cc_arch_x86_64+:} false; then :5553 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then 5209 5554 $as_echo_n "(cached) " >&6 5210 5555 else … … 5212 5557 hold_cflags=$CFLAGS 5213 5558 CFLAGS="$CFLAGS -arch x86_64" 5214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5559 cat >conftest.$ac_ext <<_ACEOF 5560 /* confdefs.h. */ 5561 _ACEOF 5562 cat confdefs.h >>conftest.$ac_ext 5563 cat >>conftest.$ac_ext <<_ACEOF 5215 5564 /* end confdefs.h. */ 5216 5565 … … 5223 5572 } 5224 5573 _ACEOF 5225 if ac_fn_c_try_link "$LINENO"; then : 5574 rm -f conftest.$ac_objext conftest$ac_exeext 5575 if { (ac_try="$ac_link" 5576 case "(($ac_try" in 5577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5578 *) ac_try_echo=$ac_try;; 5579 esac 5580 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5581 $as_echo "$ac_try_echo") >&5 5582 (eval "$ac_link") 2>conftest.er1 5583 ac_status=$? 5584 grep -v '^ *+' conftest.er1 >conftest.err 5585 rm -f conftest.er1 5586 cat conftest.err >&5 5587 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5588 (exit $ac_status); } && { 5589 test -z "$ac_c_werror_flag" || 5590 test ! -s conftest.err 5591 } && test -s conftest$ac_exeext && { 5592 test "$cross_compiling" = yes || 5593 $as_test_x conftest$ac_exeext 5594 }; then 5226 5595 tcl_cv_cc_arch_x86_64=yes 5227 5596 else 5228 tcl_cv_cc_arch_x86_64=no 5229 fi 5230 rm -f core conftest.err conftest.$ac_objext \ 5231 conftest$ac_exeext conftest.$ac_ext 5597 $as_echo "$as_me: failed program was:" >&5 5598 sed 's/^/| /' conftest.$ac_ext >&5 5599 5600 tcl_cv_cc_arch_x86_64=no 5601 fi 5602 5603 rm -rf conftest.dSYM 5604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5605 conftest$ac_exeext conftest.$ac_ext 5232 5606 CFLAGS=$hold_cflags 5233 5607 fi 5234 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&55608 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5 5235 5609 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 5236 5610 if test $tcl_cv_cc_arch_x86_64 = yes; then … … 5239 5613 fi;; 5240 5614 *) 5241 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&55615 { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 5242 5616 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 5243 5617 esac … … 5249 5623 fi 5250 5624 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 5251 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&55625 { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5 5252 5626 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 5253 if ${tcl_cv_ld_single_module+:} false; then :5627 if test "${tcl_cv_ld_single_module+set}" = set; then 5254 5628 $as_echo_n "(cached) " >&6 5255 5629 else … … 5257 5631 hold_ldflags=$LDFLAGS 5258 5632 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 5259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5633 cat >conftest.$ac_ext <<_ACEOF 5634 /* confdefs.h. */ 5635 _ACEOF 5636 cat confdefs.h >>conftest.$ac_ext 5637 cat >>conftest.$ac_ext <<_ACEOF 5260 5638 /* end confdefs.h. */ 5261 5639 … … 5268 5646 } 5269 5647 _ACEOF 5270 if ac_fn_c_try_link "$LINENO"; then : 5648 rm -f conftest.$ac_objext conftest$ac_exeext 5649 if { (ac_try="$ac_link" 5650 case "(($ac_try" in 5651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5652 *) ac_try_echo=$ac_try;; 5653 esac 5654 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5655 $as_echo "$ac_try_echo") >&5 5656 (eval "$ac_link") 2>conftest.er1 5657 ac_status=$? 5658 grep -v '^ *+' conftest.er1 >conftest.err 5659 rm -f conftest.er1 5660 cat conftest.err >&5 5661 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5662 (exit $ac_status); } && { 5663 test -z "$ac_c_werror_flag" || 5664 test ! -s conftest.err 5665 } && test -s conftest$ac_exeext && { 5666 test "$cross_compiling" = yes || 5667 $as_test_x conftest$ac_exeext 5668 }; then 5271 5669 tcl_cv_ld_single_module=yes 5272 5670 else 5273 tcl_cv_ld_single_module=no 5274 fi 5275 rm -f core conftest.err conftest.$ac_objext \ 5276 conftest$ac_exeext conftest.$ac_ext 5671 $as_echo "$as_me: failed program was:" >&5 5672 sed 's/^/| /' conftest.$ac_ext >&5 5673 5674 tcl_cv_ld_single_module=no 5675 fi 5676 5677 rm -rf conftest.dSYM 5678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5679 conftest$ac_exeext conftest.$ac_ext 5277 5680 LDFLAGS=$hold_ldflags 5278 5681 fi 5279 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&55682 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5 5280 5683 $as_echo "$tcl_cv_ld_single_module" >&6; } 5281 5684 if test $tcl_cv_ld_single_module = yes; then … … 5291 5694 LDFLAGS="$LDFLAGS -prebind" 5292 5695 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 5293 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&55696 { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5 5294 5697 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 5295 if ${tcl_cv_ld_search_paths_first+:} false; then :5698 if test "${tcl_cv_ld_search_paths_first+set}" = set; then 5296 5699 $as_echo_n "(cached) " >&6 5297 5700 else … … 5299 5702 hold_ldflags=$LDFLAGS 5300 5703 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 5301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5704 cat >conftest.$ac_ext <<_ACEOF 5705 /* confdefs.h. */ 5706 _ACEOF 5707 cat confdefs.h >>conftest.$ac_ext 5708 cat >>conftest.$ac_ext <<_ACEOF 5302 5709 /* end confdefs.h. */ 5303 5710 … … 5310 5717 } 5311 5718 _ACEOF 5312 if ac_fn_c_try_link "$LINENO"; then : 5719 rm -f conftest.$ac_objext conftest$ac_exeext 5720 if { (ac_try="$ac_link" 5721 case "(($ac_try" in 5722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5723 *) ac_try_echo=$ac_try;; 5724 esac 5725 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5726 $as_echo "$ac_try_echo") >&5 5727 (eval "$ac_link") 2>conftest.er1 5728 ac_status=$? 5729 grep -v '^ *+' conftest.er1 >conftest.err 5730 rm -f conftest.er1 5731 cat conftest.err >&5 5732 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5733 (exit $ac_status); } && { 5734 test -z "$ac_c_werror_flag" || 5735 test ! -s conftest.err 5736 } && test -s conftest$ac_exeext && { 5737 test "$cross_compiling" = yes || 5738 $as_test_x conftest$ac_exeext 5739 }; then 5313 5740 tcl_cv_ld_search_paths_first=yes 5314 5741 else 5315 tcl_cv_ld_search_paths_first=no 5316 fi 5317 rm -f core conftest.err conftest.$ac_objext \ 5318 conftest$ac_exeext conftest.$ac_ext 5742 $as_echo "$as_me: failed program was:" >&5 5743 sed 's/^/| /' conftest.$ac_ext >&5 5744 5745 tcl_cv_ld_search_paths_first=no 5746 fi 5747 5748 rm -rf conftest.dSYM 5749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5750 conftest$ac_exeext conftest.$ac_ext 5319 5751 LDFLAGS=$hold_ldflags 5320 5752 fi 5321 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&55753 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5 5322 5754 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 5323 5755 if test $tcl_cv_ld_search_paths_first = yes; then … … 5329 5761 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 5330 5762 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 5331 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether to use CoreFoundation" >&55763 { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5 5332 5764 $as_echo_n "checking whether to use CoreFoundation... " >&6; } 5333 5765 # Check whether --enable-corefoundation was given. 5334 if test "${enable_corefoundation+set}" = set; then :5766 if test "${enable_corefoundation+set}" = set; then 5335 5767 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 5336 5768 else … … 5338 5770 fi 5339 5771 5340 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_corefoundation" >&55772 { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5 5341 5773 $as_echo "$tcl_corefoundation" >&6; } 5342 5774 if test $tcl_corefoundation = yes; then 5343 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for CoreFoundation.framework" >&55775 { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5 5344 5776 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 5345 if ${tcl_cv_lib_corefoundation+:} false; then :5777 if test "${tcl_cv_lib_corefoundation+set}" = set; then 5346 5778 $as_echo_n "(cached) " >&6 5347 5779 else … … 5355 5787 done; fi 5356 5788 LIBS="$LIBS -framework CoreFoundation" 5357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5789 cat >conftest.$ac_ext <<_ACEOF 5790 /* confdefs.h. */ 5791 _ACEOF 5792 cat confdefs.h >>conftest.$ac_ext 5793 cat >>conftest.$ac_ext <<_ACEOF 5358 5794 /* end confdefs.h. */ 5359 5795 #include <CoreFoundation/CoreFoundation.h> … … 5366 5802 } 5367 5803 _ACEOF 5368 if ac_fn_c_try_link "$LINENO"; then : 5804 rm -f conftest.$ac_objext conftest$ac_exeext 5805 if { (ac_try="$ac_link" 5806 case "(($ac_try" in 5807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5808 *) ac_try_echo=$ac_try;; 5809 esac 5810 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5811 $as_echo "$ac_try_echo") >&5 5812 (eval "$ac_link") 2>conftest.er1 5813 ac_status=$? 5814 grep -v '^ *+' conftest.er1 >conftest.err 5815 rm -f conftest.er1 5816 cat conftest.err >&5 5817 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5818 (exit $ac_status); } && { 5819 test -z "$ac_c_werror_flag" || 5820 test ! -s conftest.err 5821 } && test -s conftest$ac_exeext && { 5822 test "$cross_compiling" = yes || 5823 $as_test_x conftest$ac_exeext 5824 }; then 5369 5825 tcl_cv_lib_corefoundation=yes 5370 5826 else 5371 tcl_cv_lib_corefoundation=no 5372 fi 5373 rm -f core conftest.err conftest.$ac_objext \ 5374 conftest$ac_exeext conftest.$ac_ext 5827 $as_echo "$as_me: failed program was:" >&5 5828 sed 's/^/| /' conftest.$ac_ext >&5 5829 5830 tcl_cv_lib_corefoundation=no 5831 fi 5832 5833 rm -rf conftest.dSYM 5834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5835 conftest$ac_exeext conftest.$ac_ext 5375 5836 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 5376 5837 eval $v'="$hold_'$v'"' 5377 5838 done; fi; LIBS=$hold_libs 5378 5839 fi 5379 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&55840 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5 5380 5841 $as_echo "$tcl_cv_lib_corefoundation" >&6; } 5381 5842 if test $tcl_cv_lib_corefoundation = yes; then 5382 5843 LIBS="$LIBS -framework CoreFoundation" 5383 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 5844 cat >>confdefs.h <<\_ACEOF 5845 #define HAVE_COREFOUNDATION 1 5846 _ACEOF 5384 5847 5385 5848 else … … 5387 5850 fi 5388 5851 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 5389 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&55852 { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5 5390 5853 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 5391 if ${tcl_cv_lib_corefoundation_64+:} false; then :5854 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then 5392 5855 $as_echo_n "(cached) " >&6 5393 5856 else … … 5396 5859 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 5397 5860 done 5398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5861 cat >conftest.$ac_ext <<_ACEOF 5862 /* confdefs.h. */ 5863 _ACEOF 5864 cat confdefs.h >>conftest.$ac_ext 5865 cat >>conftest.$ac_ext <<_ACEOF 5399 5866 /* end confdefs.h. */ 5400 5867 #include <CoreFoundation/CoreFoundation.h> … … 5407 5874 } 5408 5875 _ACEOF 5409 if ac_fn_c_try_link "$LINENO"; then : 5876 rm -f conftest.$ac_objext conftest$ac_exeext 5877 if { (ac_try="$ac_link" 5878 case "(($ac_try" in 5879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5880 *) ac_try_echo=$ac_try;; 5881 esac 5882 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5883 $as_echo "$ac_try_echo") >&5 5884 (eval "$ac_link") 2>conftest.er1 5885 ac_status=$? 5886 grep -v '^ *+' conftest.er1 >conftest.err 5887 rm -f conftest.er1 5888 cat conftest.err >&5 5889 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5890 (exit $ac_status); } && { 5891 test -z "$ac_c_werror_flag" || 5892 test ! -s conftest.err 5893 } && test -s conftest$ac_exeext && { 5894 test "$cross_compiling" = yes || 5895 $as_test_x conftest$ac_exeext 5896 }; then 5410 5897 tcl_cv_lib_corefoundation_64=yes 5411 5898 else 5412 tcl_cv_lib_corefoundation_64=no 5413 fi 5414 rm -f core conftest.err conftest.$ac_objext \ 5415 conftest$ac_exeext conftest.$ac_ext 5899 $as_echo "$as_me: failed program was:" >&5 5900 sed 's/^/| /' conftest.$ac_ext >&5 5901 5902 tcl_cv_lib_corefoundation_64=no 5903 fi 5904 5905 rm -rf conftest.dSYM 5906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5907 conftest$ac_exeext conftest.$ac_ext 5416 5908 for v in CFLAGS CPPFLAGS LDFLAGS; do 5417 5909 eval $v'="$hold_'$v'"' 5418 5910 done 5419 5911 fi 5420 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&55912 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5 5421 5913 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; } 5422 5914 if test $tcl_cv_lib_corefoundation_64 = no; then 5423 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 5915 cat >>confdefs.h <<\_ACEOF 5916 #define NO_COREFOUNDATION_64 1 5917 _ACEOF 5424 5918 5425 5919 fi 5426 5920 fi 5427 5921 fi 5428 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 5922 cat >>confdefs.h <<\_ACEOF 5923 #define MAC_OSX_TCL 1 5924 _ACEOF 5429 5925 5430 5926 ;; … … 5441 5937 OS/390-*) 5442 5938 CFLAGS_OPTIMIZE="" # Optimizer is buggy 5443 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 5939 cat >>confdefs.h <<\_ACEOF 5940 #define _OE_SOCKETS 1 5941 _ACEOF 5444 5942 # needed in sys/socket.h 5445 5943 ;; … … 5582 6080 # won't define thread-safe library routines. 5583 6081 5584 $as_echo "#define _REENTRANT 1" >>confdefs.h 5585 5586 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 6082 cat >>confdefs.h <<\_ACEOF 6083 #define _REENTRANT 1 6084 _ACEOF 6085 6086 cat >>confdefs.h <<\_ACEOF 6087 #define _POSIX_PTHREAD_SEMANTICS 1 6088 _ACEOF 5587 6089 5588 6090 … … 5610 6112 # won't define thread-safe library routines. 5611 6113 5612 $as_echo "#define _REENTRANT 1" >>confdefs.h 5613 5614 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 6114 cat >>confdefs.h <<\_ACEOF 6115 #define _REENTRANT 1 6116 _ACEOF 6117 6118 cat >>confdefs.h <<\_ACEOF 6119 #define _POSIX_PTHREAD_SEMANTICS 1 6120 _ACEOF 5615 6121 5616 6122 … … 5623 6129 if test "$GCC" = "yes" ; then 5624 6130 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 5625 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&56131 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 5626 6132 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 5627 6133 else … … 5645 6151 elif test "$arch" = "amd64 i386" ; then 5646 6152 if test "$GCC" = "yes" ; then 5647 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&56153 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 5648 6154 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 5649 6155 else … … 5653 6159 fi 5654 6160 else 5655 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&56161 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5 5656 6162 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 5657 6163 fi … … 5712 6218 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 5713 6219 # that don't grok the -Bexport option. Test that it does. 5714 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&56220 { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5 5715 6221 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 5716 if ${tcl_cv_ld_Bexport+:} false; then :6222 if test "${tcl_cv_ld_Bexport+set}" = set; then 5717 6223 $as_echo_n "(cached) " >&6 5718 6224 else … … 5720 6226 hold_ldflags=$LDFLAGS 5721 6227 LDFLAGS="$LDFLAGS -Wl,-Bexport" 5722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6228 cat >conftest.$ac_ext <<_ACEOF 6229 /* confdefs.h. */ 6230 _ACEOF 6231 cat confdefs.h >>conftest.$ac_ext 6232 cat >>conftest.$ac_ext <<_ACEOF 5723 6233 /* end confdefs.h. */ 5724 6234 … … 5731 6241 } 5732 6242 _ACEOF 5733 if ac_fn_c_try_link "$LINENO"; then : 6243 rm -f conftest.$ac_objext conftest$ac_exeext 6244 if { (ac_try="$ac_link" 6245 case "(($ac_try" in 6246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6247 *) ac_try_echo=$ac_try;; 6248 esac 6249 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6250 $as_echo "$ac_try_echo") >&5 6251 (eval "$ac_link") 2>conftest.er1 6252 ac_status=$? 6253 grep -v '^ *+' conftest.er1 >conftest.err 6254 rm -f conftest.er1 6255 cat conftest.err >&5 6256 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6257 (exit $ac_status); } && { 6258 test -z "$ac_c_werror_flag" || 6259 test ! -s conftest.err 6260 } && test -s conftest$ac_exeext && { 6261 test "$cross_compiling" = yes || 6262 $as_test_x conftest$ac_exeext 6263 }; then 5734 6264 tcl_cv_ld_Bexport=yes 5735 6265 else 5736 tcl_cv_ld_Bexport=no 5737 fi 5738 rm -f core conftest.err conftest.$ac_objext \ 5739 conftest$ac_exeext conftest.$ac_ext 6266 $as_echo "$as_me: failed program was:" >&5 6267 sed 's/^/| /' conftest.$ac_ext >&5 6268 6269 tcl_cv_ld_Bexport=no 6270 fi 6271 6272 rm -rf conftest.dSYM 6273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6274 conftest$ac_exeext conftest.$ac_ext 5740 6275 LDFLAGS=$hold_ldflags 5741 6276 fi 5742 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&56277 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5 5743 6278 $as_echo "$tcl_cv_ld_Bexport" >&6; } 5744 6279 if test $tcl_cv_ld_Bexport = yes; then … … 5751 6286 5752 6287 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 5753 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&56288 { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 5754 6289 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 5755 6290 fi … … 5778 6313 5779 6314 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 5780 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking sys/exec.h" >&56315 { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5 5781 6316 $as_echo_n "checking sys/exec.h... " >&6; } 5782 if ${tcl_cv_sysexec_h+:} false; then :6317 if test "${tcl_cv_sysexec_h+set}" = set; then 5783 6318 $as_echo_n "(cached) " >&6 5784 6319 else 5785 6320 5786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6321 cat >conftest.$ac_ext <<_ACEOF 6322 /* confdefs.h. */ 6323 _ACEOF 6324 cat confdefs.h >>conftest.$ac_ext 6325 cat >>conftest.$ac_ext <<_ACEOF 5787 6326 /* end confdefs.h. */ 5788 6327 #include <sys/exec.h> … … 5806 6345 } 5807 6346 _ACEOF 5808 if ac_fn_c_try_compile "$LINENO"; then : 6347 rm -f conftest.$ac_objext 6348 if { (ac_try="$ac_compile" 6349 case "(($ac_try" in 6350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6351 *) ac_try_echo=$ac_try;; 6352 esac 6353 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6354 $as_echo "$ac_try_echo") >&5 6355 (eval "$ac_compile") 2>conftest.er1 6356 ac_status=$? 6357 grep -v '^ *+' conftest.er1 >conftest.err 6358 rm -f conftest.er1 6359 cat conftest.err >&5 6360 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6361 (exit $ac_status); } && { 6362 test -z "$ac_c_werror_flag" || 6363 test ! -s conftest.err 6364 } && test -s conftest.$ac_objext; then 5809 6365 tcl_cv_sysexec_h=usable 5810 6366 else 5811 tcl_cv_sysexec_h=unusable 5812 fi 6367 $as_echo "$as_me: failed program was:" >&5 6368 sed 's/^/| /' conftest.$ac_ext >&5 6369 6370 tcl_cv_sysexec_h=unusable 6371 fi 6372 5813 6373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5814 6374 fi 5815 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&56375 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5 5816 6376 $as_echo "$tcl_cv_sysexec_h" >&6; } 5817 6377 if test $tcl_cv_sysexec_h = usable; then 5818 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 6378 cat >>confdefs.h <<\_ACEOF 6379 #define USE_SYS_EXEC_H 1 6380 _ACEOF 5819 6381 5820 6382 else 5821 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking a.out.h" >&56383 { $as_echo "$as_me:$LINENO: checking a.out.h" >&5 5822 6384 $as_echo_n "checking a.out.h... " >&6; } 5823 if ${tcl_cv_aout_h+:} false; then :6385 if test "${tcl_cv_aout_h+set}" = set; then 5824 6386 $as_echo_n "(cached) " >&6 5825 6387 else 5826 6388 5827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6389 cat >conftest.$ac_ext <<_ACEOF 6390 /* confdefs.h. */ 6391 _ACEOF 6392 cat confdefs.h >>conftest.$ac_ext 6393 cat >>conftest.$ac_ext <<_ACEOF 5828 6394 /* end confdefs.h. */ 5829 6395 #include <a.out.h> … … 5847 6413 } 5848 6414 _ACEOF 5849 if ac_fn_c_try_compile "$LINENO"; then : 6415 rm -f conftest.$ac_objext 6416 if { (ac_try="$ac_compile" 6417 case "(($ac_try" in 6418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6419 *) ac_try_echo=$ac_try;; 6420 esac 6421 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6422 $as_echo "$ac_try_echo") >&5 6423 (eval "$ac_compile") 2>conftest.er1 6424 ac_status=$? 6425 grep -v '^ *+' conftest.er1 >conftest.err 6426 rm -f conftest.er1 6427 cat conftest.err >&5 6428 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6429 (exit $ac_status); } && { 6430 test -z "$ac_c_werror_flag" || 6431 test ! -s conftest.err 6432 } && test -s conftest.$ac_objext; then 5850 6433 tcl_cv_aout_h=usable 5851 6434 else 5852 tcl_cv_aout_h=unusable 5853 fi 6435 $as_echo "$as_me: failed program was:" >&5 6436 sed 's/^/| /' conftest.$ac_ext >&5 6437 6438 tcl_cv_aout_h=unusable 6439 fi 6440 5854 6441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5855 6442 fi 5856 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&56443 { $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5 5857 6444 $as_echo "$tcl_cv_aout_h" >&6; } 5858 6445 if test $tcl_cv_aout_h = usable; then 5859 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 6446 cat >>confdefs.h <<\_ACEOF 6447 #define USE_A_OUT_H 1 6448 _ACEOF 5860 6449 5861 6450 else 5862 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking sys/exec_aout.h" >&56451 { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5 5863 6452 $as_echo_n "checking sys/exec_aout.h... " >&6; } 5864 if ${tcl_cv_sysexecaout_h+:} false; then :6453 if test "${tcl_cv_sysexecaout_h+set}" = set; then 5865 6454 $as_echo_n "(cached) " >&6 5866 6455 else 5867 6456 5868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6457 cat >conftest.$ac_ext <<_ACEOF 6458 /* confdefs.h. */ 6459 _ACEOF 6460 cat confdefs.h >>conftest.$ac_ext 6461 cat >>conftest.$ac_ext <<_ACEOF 5869 6462 /* end confdefs.h. */ 5870 6463 #include <sys/exec_aout.h> … … 5888 6481 } 5889 6482 _ACEOF 5890 if ac_fn_c_try_compile "$LINENO"; then : 6483 rm -f conftest.$ac_objext 6484 if { (ac_try="$ac_compile" 6485 case "(($ac_try" in 6486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6487 *) ac_try_echo=$ac_try;; 6488 esac 6489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6490 $as_echo "$ac_try_echo") >&5 6491 (eval "$ac_compile") 2>conftest.er1 6492 ac_status=$? 6493 grep -v '^ *+' conftest.er1 >conftest.err 6494 rm -f conftest.er1 6495 cat conftest.err >&5 6496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6497 (exit $ac_status); } && { 6498 test -z "$ac_c_werror_flag" || 6499 test ! -s conftest.err 6500 } && test -s conftest.$ac_objext; then 5891 6501 tcl_cv_sysexecaout_h=usable 5892 6502 else 5893 tcl_cv_sysexecaout_h=unusable 5894 fi 6503 $as_echo "$as_me: failed program was:" >&5 6504 sed 's/^/| /' conftest.$ac_ext >&5 6505 6506 tcl_cv_sysexecaout_h=unusable 6507 fi 6508 5895 6509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5896 6510 fi 5897 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&56511 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5 5898 6512 $as_echo "$tcl_cv_sysexecaout_h" >&6; } 5899 6513 if test $tcl_cv_sysexecaout_h = usable; then 5900 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 6514 cat >>confdefs.h <<\_ACEOF 6515 #define USE_SYS_EXEC_AOUT_H 1 6516 _ACEOF 5901 6517 5902 6518 else … … 5910 6526 5911 6527 # Check whether --enable-load was given. 5912 if test "${enable_load+set}" = set; then :6528 if test "${enable_load+set}" = set; then 5913 6529 enableval=$enable_load; tcl_ok=$enableval 5914 6530 else … … 6033 6649 6034 6650 6035 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for X" >&56651 { $as_echo "$as_me:$LINENO: checking for X" >&5 6036 6652 $as_echo_n "checking for X... " >&6; } 6037 6653 6038 6654 6039 6655 # Check whether --with-x was given. 6040 if test "${with_x+set}" = set; then :6656 if test "${with_x+set}" = set; then 6041 6657 withval=$with_x; 6042 6658 fi … … 6048 6664 else 6049 6665 case $x_includes,$x_libraries in #( 6050 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 6051 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 6666 *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5 6667 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;} 6668 { (exit 1); exit 1; }; };; #( 6669 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then 6052 6670 $as_echo_n "(cached) " >&6 6053 6671 else … … 6066 6684 _ACEOF 6067 6685 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 6068 # GNU make sometimes prints "make[1]: Entering 6686 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 6069 6687 for ac_var in incroot usrlibdir libdir; do 6070 6688 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" … … 6097 6715 ac_x_header_dirs=' 6098 6716 /usr/X11/include 6099 /usr/X11R7/include6100 6717 /usr/X11R6/include 6101 6718 /usr/X11R5/include … … 6103 6720 6104 6721 /usr/include/X11 6105 /usr/include/X11R76106 6722 /usr/include/X11R6 6107 6723 /usr/include/X11R5 … … 6109 6725 6110 6726 /usr/local/X11/include 6111 /usr/local/X11R7/include6112 6727 /usr/local/X11R6/include 6113 6728 /usr/local/X11R5/include … … 6115 6730 6116 6731 /usr/local/include/X11 6117 /usr/local/include/X11R76118 6732 /usr/local/include/X11R6 6119 6733 /usr/local/include/X11R5 … … 6137 6751 # Guess where to find include files, by looking for Xlib.h. 6138 6752 # First, try using that file with no special directory specified. 6139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6753 cat >conftest.$ac_ext <<_ACEOF 6754 /* confdefs.h. */ 6755 _ACEOF 6756 cat confdefs.h >>conftest.$ac_ext 6757 cat >>conftest.$ac_ext <<_ACEOF 6140 6758 /* end confdefs.h. */ 6141 6759 #include <X11/Xlib.h> 6142 6760 _ACEOF 6143 if ac_fn_c_try_cpp "$LINENO"; then : 6761 if { (ac_try="$ac_cpp conftest.$ac_ext" 6762 case "(($ac_try" in 6763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6764 *) ac_try_echo=$ac_try;; 6765 esac 6766 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6767 $as_echo "$ac_try_echo") >&5 6768 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6769 ac_status=$? 6770 grep -v '^ *+' conftest.er1 >conftest.err 6771 rm -f conftest.er1 6772 cat conftest.err >&5 6773 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6774 (exit $ac_status); } >/dev/null && { 6775 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6776 test ! -s conftest.err 6777 }; then 6144 6778 # We can compile using X headers with no special include directory. 6145 6779 ac_x_includes= 6146 6780 else 6781 $as_echo "$as_me: failed program was:" >&5 6782 sed 's/^/| /' conftest.$ac_ext >&5 6783 6147 6784 for ac_dir in $ac_x_header_dirs; do 6148 6785 if test -r "$ac_dir/X11/Xlib.h"; then … … 6152 6789 done 6153 6790 fi 6154 rm -f conftest.err conftest.i conftest.$ac_ext 6791 6792 rm -f conftest.err conftest.$ac_ext 6155 6793 fi # $ac_x_includes = no 6156 6794 … … 6161 6799 ac_save_LIBS=$LIBS 6162 6800 LIBS="-lX11 $LIBS" 6163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6801 cat >conftest.$ac_ext <<_ACEOF 6802 /* confdefs.h. */ 6803 _ACEOF 6804 cat confdefs.h >>conftest.$ac_ext 6805 cat >>conftest.$ac_ext <<_ACEOF 6164 6806 /* end confdefs.h. */ 6165 6807 #include <X11/Xlib.h> … … 6172 6814 } 6173 6815 _ACEOF 6174 if ac_fn_c_try_link "$LINENO"; then : 6816 rm -f conftest.$ac_objext conftest$ac_exeext 6817 if { (ac_try="$ac_link" 6818 case "(($ac_try" in 6819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6820 *) ac_try_echo=$ac_try;; 6821 esac 6822 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6823 $as_echo "$ac_try_echo") >&5 6824 (eval "$ac_link") 2>conftest.er1 6825 ac_status=$? 6826 grep -v '^ *+' conftest.er1 >conftest.err 6827 rm -f conftest.er1 6828 cat conftest.err >&5 6829 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6830 (exit $ac_status); } && { 6831 test -z "$ac_c_werror_flag" || 6832 test ! -s conftest.err 6833 } && test -s conftest$ac_exeext && { 6834 test "$cross_compiling" = yes || 6835 $as_test_x conftest$ac_exeext 6836 }; then 6175 6837 LIBS=$ac_save_LIBS 6176 6838 # We can link X programs with no special library path. 6177 6839 ac_x_libraries= 6178 6840 else 6179 LIBS=$ac_save_LIBS 6841 $as_echo "$as_me: failed program was:" >&5 6842 sed 's/^/| /' conftest.$ac_ext >&5 6843 6844 LIBS=$ac_save_LIBS 6180 6845 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 6181 6846 do … … 6189 6854 done 6190 6855 fi 6191 rm -f core conftest.err conftest.$ac_objext \ 6192 conftest$ac_exeext conftest.$ac_ext 6856 6857 rm -rf conftest.dSYM 6858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6859 conftest$ac_exeext conftest.$ac_ext 6193 6860 fi # $ac_x_libraries = no 6194 6861 … … 6211 6878 6212 6879 if test "$have_x" != yes; then 6213 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $have_x" >&56880 { $as_echo "$as_me:$LINENO: result: $have_x" >&5 6214 6881 $as_echo "$have_x" >&6; } 6215 6882 no_x=yes … … 6222 6889 ac_x_includes='$x_includes'\ 6223 6890 ac_x_libraries='$x_libraries'" 6224 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&56891 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 6225 6892 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } 6226 6893 fi … … 6241 6908 # ./install, which can be erroneously created by make from ./install.sh. 6242 6909 # Reject install programs that cannot install multiple files. 6243 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for a BSD-compatible install" >&56910 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 6244 6911 $as_echo_n "checking for a BSD-compatible install... " >&6; } 6245 6912 if test -z "$INSTALL"; then 6246 if ${ac_cv_path_install+:} false; then :6913 if test "${ac_cv_path_install+set}" = set; then 6247 6914 $as_echo_n "(cached) " >&6 6248 6915 else … … 6252 6919 IFS=$as_save_IFS 6253 6920 test -z "$as_dir" && as_dir=. 6254 6255 case $as_dir/ in #((6256 ./ | .// | / [cC]/* | \6921 # Account for people who put trailing slashes in PATH elements. 6922 case $as_dir/ in 6923 ./ | .// | /cC/* | \ 6257 6924 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 6258 ?: [\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \6925 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 6259 6926 /usr/ucb/* ) ;; 6260 6927 *) … … 6264 6931 for ac_prog in ginstall scoinst install; do 6265 6932 for ac_exec_ext in '' $ac_executable_extensions; do 6266 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then6933 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 6267 6934 if test $ac_prog = install && 6268 6935 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 6293 6960 esac 6294 6961 6295 6962 done 6296 6963 IFS=$as_save_IFS 6297 6964 … … 6309 6976 fi 6310 6977 fi 6311 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $INSTALL" >&56978 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 6312 6979 $as_echo "$INSTALL" >&6; } 6313 6980 … … 6323 6990 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6324 6991 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6325 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&56992 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6326 6993 $as_echo_n "checking for $ac_word... " >&6; } 6327 if ${ac_cv_prog_RANLIB+:} false; then :6994 if test "${ac_cv_prog_RANLIB+set}" = set; then 6328 6995 $as_echo_n "(cached) " >&6 6329 6996 else … … 6336 7003 IFS=$as_save_IFS 6337 7004 test -z "$as_dir" && as_dir=. 6338 6339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7005 for ac_exec_ext in '' $ac_executable_extensions; do 7006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6340 7007 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6341 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57008 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6342 7009 break 2 6343 7010 fi 6344 7011 done 6345 7012 done 6346 7013 IFS=$as_save_IFS 6347 7014 … … 6350 7017 RANLIB=$ac_cv_prog_RANLIB 6351 7018 if test -n "$RANLIB"; then 6352 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $RANLIB" >&57019 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 6353 7020 $as_echo "$RANLIB" >&6; } 6354 7021 else 6355 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57022 { $as_echo "$as_me:$LINENO: result: no" >&5 6356 7023 $as_echo "no" >&6; } 6357 7024 fi … … 6363 7030 # Extract the first word of "ranlib", so it can be a program name with args. 6364 7031 set dummy ranlib; ac_word=$2 6365 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57032 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6366 7033 $as_echo_n "checking for $ac_word... " >&6; } 6367 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :7034 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 6368 7035 $as_echo_n "(cached) " >&6 6369 7036 else … … 6376 7043 IFS=$as_save_IFS 6377 7044 test -z "$as_dir" && as_dir=. 6378 6379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7045 for ac_exec_ext in '' $ac_executable_extensions; do 7046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6380 7047 ac_cv_prog_ac_ct_RANLIB="ranlib" 6381 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57048 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6382 7049 break 2 6383 7050 fi 6384 7051 done 6385 7052 done 6386 7053 IFS=$as_save_IFS 6387 7054 … … 6390 7057 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6391 7058 if test -n "$ac_ct_RANLIB"; then 6392 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&57059 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 6393 7060 $as_echo "$ac_ct_RANLIB" >&6; } 6394 7061 else 6395 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57062 { $as_echo "$as_me:$LINENO: result: no" >&5 6396 7063 $as_echo "no" >&6; } 6397 7064 fi … … 6402 7069 case $cross_compiling:$ac_tool_warned in 6403 7070 yes:) 6404 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57071 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6405 7072 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6406 7073 ac_tool_warned=yes ;; … … 6412 7079 fi 6413 7080 6414 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether ln -s works" >&57081 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 6415 7082 $as_echo_n "checking whether ln -s works... " >&6; } 6416 7083 LN_S=$as_ln_s 6417 7084 if test "$LN_S" = "ln -s"; then 6418 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&57085 { $as_echo "$as_me:$LINENO: result: yes" >&5 6419 7086 $as_echo "yes" >&6; } 6420 7087 else 6421 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no, using $LN_S" >&57088 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 6422 7089 $as_echo "no, using $LN_S" >&6; } 6423 7090 fi 6424 7091 6425 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&57092 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 6426 7093 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 6427 7094 if test -z "$MKDIR_P"; then 6428 if ${ac_cv_path_mkdir+:} false; then :7095 if test "${ac_cv_path_mkdir+set}" = set; then 6429 7096 $as_echo_n "(cached) " >&6 6430 7097 else … … 6434 7101 IFS=$as_save_IFS 6435 7102 test -z "$as_dir" && as_dir=. 6436 7103 for ac_prog in mkdir gmkdir; do 6437 7104 for ac_exec_ext in '' $ac_executable_extensions; do 6438 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"|| continue7105 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 6439 7106 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 6440 7107 'mkdir (GNU coreutils) '* | \ … … 6446 7113 done 6447 7114 done 6448 7115 done 6449 7116 IFS=$as_save_IFS 6450 7117 6451 7118 fi 6452 7119 6453 test -d ./--version && rmdir ./--version6454 7120 if test "${ac_cv_path_mkdir+set}" = set; then 6455 7121 MKDIR_P="$ac_cv_path_mkdir -p" … … 6459 7125 # break other packages using the cache if that directory is 6460 7126 # removed, or if the value is a relative name. 7127 test -d ./--version && rmdir ./--version 6461 7128 MKDIR_P="$ac_install_sh -d" 6462 7129 fi 6463 7130 fi 6464 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $MKDIR_P" >&57131 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 6465 7132 $as_echo "$MKDIR_P" >&6; } 6466 7133 … … 6474 7141 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 6475 7142 set dummy ${ac_tool_prefix}gcc; ac_word=$2 6476 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57143 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6477 7144 $as_echo_n "checking for $ac_word... " >&6; } 6478 if ${ac_cv_prog_CC+:} false; then :7145 if test "${ac_cv_prog_CC+set}" = set; then 6479 7146 $as_echo_n "(cached) " >&6 6480 7147 else … … 6487 7154 IFS=$as_save_IFS 6488 7155 test -z "$as_dir" && as_dir=. 6489 6490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7156 for ac_exec_ext in '' $ac_executable_extensions; do 7157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6491 7158 ac_cv_prog_CC="${ac_tool_prefix}gcc" 6492 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57159 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6493 7160 break 2 6494 7161 fi 6495 7162 done 6496 7163 done 6497 7164 IFS=$as_save_IFS 6498 7165 … … 6501 7168 CC=$ac_cv_prog_CC 6502 7169 if test -n "$CC"; then 6503 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&57170 { $as_echo "$as_me:$LINENO: result: $CC" >&5 6504 7171 $as_echo "$CC" >&6; } 6505 7172 else 6506 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57173 { $as_echo "$as_me:$LINENO: result: no" >&5 6507 7174 $as_echo "no" >&6; } 6508 7175 fi … … 6514 7181 # Extract the first word of "gcc", so it can be a program name with args. 6515 7182 set dummy gcc; ac_word=$2 6516 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57183 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6517 7184 $as_echo_n "checking for $ac_word... " >&6; } 6518 if ${ac_cv_prog_ac_ct_CC+:} false; then :7185 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 6519 7186 $as_echo_n "(cached) " >&6 6520 7187 else … … 6527 7194 IFS=$as_save_IFS 6528 7195 test -z "$as_dir" && as_dir=. 6529 6530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7196 for ac_exec_ext in '' $ac_executable_extensions; do 7197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6531 7198 ac_cv_prog_ac_ct_CC="gcc" 6532 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57199 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6533 7200 break 2 6534 7201 fi 6535 7202 done 6536 7203 done 6537 7204 IFS=$as_save_IFS 6538 7205 … … 6541 7208 ac_ct_CC=$ac_cv_prog_ac_ct_CC 6542 7209 if test -n "$ac_ct_CC"; then 6543 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&57210 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 6544 7211 $as_echo "$ac_ct_CC" >&6; } 6545 7212 else 6546 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57213 { $as_echo "$as_me:$LINENO: result: no" >&5 6547 7214 $as_echo "no" >&6; } 6548 7215 fi … … 6553 7220 case $cross_compiling:$ac_tool_warned in 6554 7221 yes:) 6555 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57222 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6556 7223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6557 7224 ac_tool_warned=yes ;; … … 6567 7234 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 6568 7235 set dummy ${ac_tool_prefix}cc; ac_word=$2 6569 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57236 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6570 7237 $as_echo_n "checking for $ac_word... " >&6; } 6571 if ${ac_cv_prog_CC+:} false; then :7238 if test "${ac_cv_prog_CC+set}" = set; then 6572 7239 $as_echo_n "(cached) " >&6 6573 7240 else … … 6580 7247 IFS=$as_save_IFS 6581 7248 test -z "$as_dir" && as_dir=. 6582 6583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7249 for ac_exec_ext in '' $ac_executable_extensions; do 7250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6584 7251 ac_cv_prog_CC="${ac_tool_prefix}cc" 6585 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57252 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6586 7253 break 2 6587 7254 fi 6588 7255 done 6589 7256 done 6590 7257 IFS=$as_save_IFS 6591 7258 … … 6594 7261 CC=$ac_cv_prog_CC 6595 7262 if test -n "$CC"; then 6596 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&57263 { $as_echo "$as_me:$LINENO: result: $CC" >&5 6597 7264 $as_echo "$CC" >&6; } 6598 7265 else 6599 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57266 { $as_echo "$as_me:$LINENO: result: no" >&5 6600 7267 $as_echo "no" >&6; } 6601 7268 fi … … 6607 7274 # Extract the first word of "cc", so it can be a program name with args. 6608 7275 set dummy cc; ac_word=$2 6609 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57276 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6610 7277 $as_echo_n "checking for $ac_word... " >&6; } 6611 if ${ac_cv_prog_CC+:} false; then :7278 if test "${ac_cv_prog_CC+set}" = set; then 6612 7279 $as_echo_n "(cached) " >&6 6613 7280 else … … 6621 7288 IFS=$as_save_IFS 6622 7289 test -z "$as_dir" && as_dir=. 6623 6624 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7290 for ac_exec_ext in '' $ac_executable_extensions; do 7291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6625 7292 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 6626 7293 ac_prog_rejected=yes … … 6628 7295 fi 6629 7296 ac_cv_prog_CC="cc" 6630 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57297 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6631 7298 break 2 6632 7299 fi 6633 7300 done 6634 7301 done 6635 7302 IFS=$as_save_IFS 6636 7303 … … 6651 7318 CC=$ac_cv_prog_CC 6652 7319 if test -n "$CC"; then 6653 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&57320 { $as_echo "$as_me:$LINENO: result: $CC" >&5 6654 7321 $as_echo "$CC" >&6; } 6655 7322 else 6656 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57323 { $as_echo "$as_me:$LINENO: result: no" >&5 6657 7324 $as_echo "no" >&6; } 6658 7325 fi … … 6666 7333 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6667 7334 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6668 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57335 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6669 7336 $as_echo_n "checking for $ac_word... " >&6; } 6670 if ${ac_cv_prog_CC+:} false; then :7337 if test "${ac_cv_prog_CC+set}" = set; then 6671 7338 $as_echo_n "(cached) " >&6 6672 7339 else … … 6679 7346 IFS=$as_save_IFS 6680 7347 test -z "$as_dir" && as_dir=. 6681 6682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7348 for ac_exec_ext in '' $ac_executable_extensions; do 7349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6683 7350 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 6684 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57351 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6685 7352 break 2 6686 7353 fi 6687 7354 done 6688 7355 done 6689 7356 IFS=$as_save_IFS 6690 7357 … … 6693 7360 CC=$ac_cv_prog_CC 6694 7361 if test -n "$CC"; then 6695 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&57362 { $as_echo "$as_me:$LINENO: result: $CC" >&5 6696 7363 $as_echo "$CC" >&6; } 6697 7364 else 6698 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57365 { $as_echo "$as_me:$LINENO: result: no" >&5 6699 7366 $as_echo "no" >&6; } 6700 7367 fi … … 6710 7377 # Extract the first word of "$ac_prog", so it can be a program name with args. 6711 7378 set dummy $ac_prog; ac_word=$2 6712 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57379 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6713 7380 $as_echo_n "checking for $ac_word... " >&6; } 6714 if ${ac_cv_prog_ac_ct_CC+:} false; then :7381 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 6715 7382 $as_echo_n "(cached) " >&6 6716 7383 else … … 6723 7390 IFS=$as_save_IFS 6724 7391 test -z "$as_dir" && as_dir=. 6725 6726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7392 for ac_exec_ext in '' $ac_executable_extensions; do 7393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6727 7394 ac_cv_prog_ac_ct_CC="$ac_prog" 6728 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57395 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6729 7396 break 2 6730 7397 fi 6731 7398 done 6732 7399 done 6733 7400 IFS=$as_save_IFS 6734 7401 … … 6737 7404 ac_ct_CC=$ac_cv_prog_ac_ct_CC 6738 7405 if test -n "$ac_ct_CC"; then 6739 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&57406 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 6740 7407 $as_echo "$ac_ct_CC" >&6; } 6741 7408 else 6742 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57409 { $as_echo "$as_me:$LINENO: result: no" >&5 6743 7410 $as_echo "no" >&6; } 6744 7411 fi … … 6753 7420 case $cross_compiling:$ac_tool_warned in 6754 7421 yes:) 6755 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57422 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6756 7423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6757 7424 ac_tool_warned=yes ;; … … 6764 7431 6765 7432 6766 test -z "$CC" && { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&57433 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 6767 7434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6768 as_fn_error $? "no acceptable C compiler found in \$PATH 6769 See \`config.log' for more details" "$LINENO" 5; } 7435 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 7436 See \`config.log' for more details." >&5 7437 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 7438 See \`config.log' for more details." >&2;} 7439 { (exit 1); exit 1; }; }; } 6770 7440 6771 7441 # Provide some information about the compiler. 6772 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C compiler version" >&57442 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 6773 7443 set X $ac_compile 6774 7444 ac_compiler=$2 6775 for ac_option in --version -v -V -qversion; do 6776 { { ac_try="$ac_compiler $ac_option >&5" 7445 { (ac_try="$ac_compiler --version >&5" 6777 7446 case "(($ac_try" in 6778 7447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6779 7448 *) ac_try_echo=$ac_try;; 6780 7449 esac 6781 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""6782 $as_echo "$ac_try_echo" ; }>&56783 (eval "$ac_compiler $ac_option >&5") 2>conftest.err7450 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7451 $as_echo "$ac_try_echo") >&5 7452 (eval "$ac_compiler --version >&5") 2>&5 6784 7453 ac_status=$? 6785 if test -s conftest.err; then 6786 sed '10a\ 6787 ... rest of stderr output deleted ... 6788 10q' conftest.err >conftest.er1 6789 cat conftest.er1 >&5 6790 fi 6791 rm -f conftest.er1 conftest.err 6792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6793 test $ac_status = 0; } 6794 done 6795 6796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 7454 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7455 (exit $ac_status); } 7456 { (ac_try="$ac_compiler -v >&5" 7457 case "(($ac_try" in 7458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7459 *) ac_try_echo=$ac_try;; 7460 esac 7461 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7462 $as_echo "$ac_try_echo") >&5 7463 (eval "$ac_compiler -v >&5") 2>&5 7464 ac_status=$? 7465 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7466 (exit $ac_status); } 7467 { (ac_try="$ac_compiler -V >&5" 7468 case "(($ac_try" in 7469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7470 *) ac_try_echo=$ac_try;; 7471 esac 7472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7473 $as_echo "$ac_try_echo") >&5 7474 (eval "$ac_compiler -V >&5") 2>&5 7475 ac_status=$? 7476 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7477 (exit $ac_status); } 7478 7479 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 6797 7480 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 6798 if ${ac_cv_c_compiler_gnu+:} false; then :7481 if test "${ac_cv_c_compiler_gnu+set}" = set; then 6799 7482 $as_echo_n "(cached) " >&6 6800 7483 else 6801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7484 cat >conftest.$ac_ext <<_ACEOF 7485 /* confdefs.h. */ 7486 _ACEOF 7487 cat confdefs.h >>conftest.$ac_ext 7488 cat >>conftest.$ac_ext <<_ACEOF 6802 7489 /* end confdefs.h. */ 6803 7490 … … 6813 7500 } 6814 7501 _ACEOF 6815 if ac_fn_c_try_compile "$LINENO"; then : 7502 rm -f conftest.$ac_objext 7503 if { (ac_try="$ac_compile" 7504 case "(($ac_try" in 7505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7506 *) ac_try_echo=$ac_try;; 7507 esac 7508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7509 $as_echo "$ac_try_echo") >&5 7510 (eval "$ac_compile") 2>conftest.er1 7511 ac_status=$? 7512 grep -v '^ *+' conftest.er1 >conftest.err 7513 rm -f conftest.er1 7514 cat conftest.err >&5 7515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7516 (exit $ac_status); } && { 7517 test -z "$ac_c_werror_flag" || 7518 test ! -s conftest.err 7519 } && test -s conftest.$ac_objext; then 6816 7520 ac_compiler_gnu=yes 6817 7521 else 6818 ac_compiler_gnu=no 6819 fi 7522 $as_echo "$as_me: failed program was:" >&5 7523 sed 's/^/| /' conftest.$ac_ext >&5 7524 7525 ac_compiler_gnu=no 7526 fi 7527 6820 7528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6821 7529 ac_cv_c_compiler_gnu=$ac_compiler_gnu 6822 7530 6823 7531 fi 6824 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&57532 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 6825 7533 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 6826 7534 if test $ac_compiler_gnu = yes; then … … 6831 7539 ac_test_CFLAGS=${CFLAGS+set} 6832 7540 ac_save_CFLAGS=$CFLAGS 6833 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CC accepts -g" >&57541 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 6834 7542 $as_echo_n "checking whether $CC accepts -g... " >&6; } 6835 if ${ac_cv_prog_cc_g+:} false; then :7543 if test "${ac_cv_prog_cc_g+set}" = set; then 6836 7544 $as_echo_n "(cached) " >&6 6837 7545 else … … 6840 7548 ac_cv_prog_cc_g=no 6841 7549 CFLAGS="-g" 6842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7550 cat >conftest.$ac_ext <<_ACEOF 7551 /* confdefs.h. */ 7552 _ACEOF 7553 cat confdefs.h >>conftest.$ac_ext 7554 cat >>conftest.$ac_ext <<_ACEOF 6843 7555 /* end confdefs.h. */ 6844 7556 … … 6851 7563 } 6852 7564 _ACEOF 6853 if ac_fn_c_try_compile "$LINENO"; then : 7565 rm -f conftest.$ac_objext 7566 if { (ac_try="$ac_compile" 7567 case "(($ac_try" in 7568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7569 *) ac_try_echo=$ac_try;; 7570 esac 7571 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7572 $as_echo "$ac_try_echo") >&5 7573 (eval "$ac_compile") 2>conftest.er1 7574 ac_status=$? 7575 grep -v '^ *+' conftest.er1 >conftest.err 7576 rm -f conftest.er1 7577 cat conftest.err >&5 7578 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7579 (exit $ac_status); } && { 7580 test -z "$ac_c_werror_flag" || 7581 test ! -s conftest.err 7582 } && test -s conftest.$ac_objext; then 6854 7583 ac_cv_prog_cc_g=yes 6855 7584 else 6856 CFLAGS="" 6857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7585 $as_echo "$as_me: failed program was:" >&5 7586 sed 's/^/| /' conftest.$ac_ext >&5 7587 7588 CFLAGS="" 7589 cat >conftest.$ac_ext <<_ACEOF 7590 /* confdefs.h. */ 7591 _ACEOF 7592 cat confdefs.h >>conftest.$ac_ext 7593 cat >>conftest.$ac_ext <<_ACEOF 6858 7594 /* end confdefs.h. */ 6859 7595 … … 6866 7602 } 6867 7603 _ACEOF 6868 if ac_fn_c_try_compile "$LINENO"; then : 6869 6870 else 6871 ac_c_werror_flag=$ac_save_c_werror_flag 7604 rm -f conftest.$ac_objext 7605 if { (ac_try="$ac_compile" 7606 case "(($ac_try" in 7607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7608 *) ac_try_echo=$ac_try;; 7609 esac 7610 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7611 $as_echo "$ac_try_echo") >&5 7612 (eval "$ac_compile") 2>conftest.er1 7613 ac_status=$? 7614 grep -v '^ *+' conftest.er1 >conftest.err 7615 rm -f conftest.er1 7616 cat conftest.err >&5 7617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7618 (exit $ac_status); } && { 7619 test -z "$ac_c_werror_flag" || 7620 test ! -s conftest.err 7621 } && test -s conftest.$ac_objext; then 7622 : 7623 else 7624 $as_echo "$as_me: failed program was:" >&5 7625 sed 's/^/| /' conftest.$ac_ext >&5 7626 7627 ac_c_werror_flag=$ac_save_c_werror_flag 6872 7628 CFLAGS="-g" 6873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7629 cat >conftest.$ac_ext <<_ACEOF 7630 /* confdefs.h. */ 7631 _ACEOF 7632 cat confdefs.h >>conftest.$ac_ext 7633 cat >>conftest.$ac_ext <<_ACEOF 6874 7634 /* end confdefs.h. */ 6875 7635 … … 6882 7642 } 6883 7643 _ACEOF 6884 if ac_fn_c_try_compile "$LINENO"; then : 7644 rm -f conftest.$ac_objext 7645 if { (ac_try="$ac_compile" 7646 case "(($ac_try" in 7647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7648 *) ac_try_echo=$ac_try;; 7649 esac 7650 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7651 $as_echo "$ac_try_echo") >&5 7652 (eval "$ac_compile") 2>conftest.er1 7653 ac_status=$? 7654 grep -v '^ *+' conftest.er1 >conftest.err 7655 rm -f conftest.er1 7656 cat conftest.err >&5 7657 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7658 (exit $ac_status); } && { 7659 test -z "$ac_c_werror_flag" || 7660 test ! -s conftest.err 7661 } && test -s conftest.$ac_objext; then 6885 7662 ac_cv_prog_cc_g=yes 6886 fi 7663 else 7664 $as_echo "$as_me: failed program was:" >&5 7665 sed 's/^/| /' conftest.$ac_ext >&5 7666 7667 7668 fi 7669 6887 7670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6888 7671 fi 7672 6889 7673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6890 7674 fi 7675 6891 7676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6892 7677 ac_c_werror_flag=$ac_save_c_werror_flag 6893 7678 fi 6894 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&57679 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 6895 7680 $as_echo "$ac_cv_prog_cc_g" >&6; } 6896 7681 if test "$ac_test_CFLAGS" = set; then … … 6909 7694 fi 6910 7695 fi 6911 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&57696 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 6912 7697 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 6913 if ${ac_cv_prog_cc_c89+:} false; then :7698 if test "${ac_cv_prog_cc_c89+set}" = set; then 6914 7699 $as_echo_n "(cached) " >&6 6915 7700 else 6916 7701 ac_cv_prog_cc_c89=no 6917 7702 ac_save_CC=$CC 6918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7703 cat >conftest.$ac_ext <<_ACEOF 7704 /* confdefs.h. */ 7705 _ACEOF 7706 cat confdefs.h >>conftest.$ac_ext 7707 cat >>conftest.$ac_ext <<_ACEOF 6919 7708 /* end confdefs.h. */ 6920 7709 #include <stdarg.h> 6921 7710 #include <stdio.h> 6922 struct stat; 7711 #include <sys/types.h> 7712 #include <sys/stat.h> 6923 7713 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 6924 7714 struct buf { int x; }; … … 6972 7762 do 6973 7763 CC="$ac_save_CC $ac_arg" 6974 if ac_fn_c_try_compile "$LINENO"; then : 7764 rm -f conftest.$ac_objext 7765 if { (ac_try="$ac_compile" 7766 case "(($ac_try" in 7767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7768 *) ac_try_echo=$ac_try;; 7769 esac 7770 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7771 $as_echo "$ac_try_echo") >&5 7772 (eval "$ac_compile") 2>conftest.er1 7773 ac_status=$? 7774 grep -v '^ *+' conftest.er1 >conftest.err 7775 rm -f conftest.er1 7776 cat conftest.err >&5 7777 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7778 (exit $ac_status); } && { 7779 test -z "$ac_c_werror_flag" || 7780 test ! -s conftest.err 7781 } && test -s conftest.$ac_objext; then 6975 7782 ac_cv_prog_cc_c89=$ac_arg 6976 fi 7783 else 7784 $as_echo "$as_me: failed program was:" >&5 7785 sed 's/^/| /' conftest.$ac_ext >&5 7786 7787 7788 fi 7789 6977 7790 rm -f core conftest.err conftest.$ac_objext 6978 7791 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 6985 7798 case "x$ac_cv_prog_cc_c89" in 6986 7799 x) 6987 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: none needed" >&57800 { $as_echo "$as_me:$LINENO: result: none needed" >&5 6988 7801 $as_echo "none needed" >&6; } ;; 6989 7802 xno) 6990 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: unsupported" >&57803 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 6991 7804 $as_echo "unsupported" >&6; } ;; 6992 7805 *) 6993 7806 CC="$CC $ac_cv_prog_cc_c89" 6994 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&57807 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 6995 7808 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 6996 7809 esac 6997 if test "x$ac_cv_prog_cc_c89" != xno; then : 6998 6999 fi 7810 7000 7811 7001 7812 ac_ext=c … … 7010 7821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7011 7822 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7012 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to run the C preprocessor" >&57823 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 7013 7824 $as_echo_n "checking how to run the C preprocessor... " >&6; } 7014 7825 # On Suns, sometimes $CPP names a directory. … … 7017 7828 fi 7018 7829 if test -z "$CPP"; then 7019 if ${ac_cv_prog_CPP+:} false; then :7830 if test "${ac_cv_prog_CPP+set}" = set; then 7020 7831 $as_echo_n "(cached) " >&6 7021 7832 else … … 7032 7843 # On the NeXT, cc -E runs the code through the compiler's parser, 7033 7844 # not just through cpp. "Syntax error" is here to catch this case. 7034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7845 cat >conftest.$ac_ext <<_ACEOF 7846 /* confdefs.h. */ 7847 _ACEOF 7848 cat confdefs.h >>conftest.$ac_ext 7849 cat >>conftest.$ac_ext <<_ACEOF 7035 7850 /* end confdefs.h. */ 7036 7851 #ifdef __STDC__ … … 7041 7856 Syntax error 7042 7857 _ACEOF 7043 if ac_fn_c_try_cpp "$LINENO"; then : 7044 7045 else 7858 if { (ac_try="$ac_cpp conftest.$ac_ext" 7859 case "(($ac_try" in 7860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7861 *) ac_try_echo=$ac_try;; 7862 esac 7863 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7864 $as_echo "$ac_try_echo") >&5 7865 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7866 ac_status=$? 7867 grep -v '^ *+' conftest.er1 >conftest.err 7868 rm -f conftest.er1 7869 cat conftest.err >&5 7870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7871 (exit $ac_status); } >/dev/null && { 7872 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7873 test ! -s conftest.err 7874 }; then 7875 : 7876 else 7877 $as_echo "$as_me: failed program was:" >&5 7878 sed 's/^/| /' conftest.$ac_ext >&5 7879 7046 7880 # Broken: fails on valid input. 7047 7881 continue 7048 7882 fi 7049 rm -f conftest.err conftest.i conftest.$ac_ext 7883 7884 rm -f conftest.err conftest.$ac_ext 7050 7885 7051 7886 # OK, works on sane cases. Now check whether nonexistent headers 7052 7887 # can be detected and how. 7053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7888 cat >conftest.$ac_ext <<_ACEOF 7889 /* confdefs.h. */ 7890 _ACEOF 7891 cat confdefs.h >>conftest.$ac_ext 7892 cat >>conftest.$ac_ext <<_ACEOF 7054 7893 /* end confdefs.h. */ 7055 7894 #include <ac_nonexistent.h> 7056 7895 _ACEOF 7057 if ac_fn_c_try_cpp "$LINENO"; then : 7896 if { (ac_try="$ac_cpp conftest.$ac_ext" 7897 case "(($ac_try" in 7898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7899 *) ac_try_echo=$ac_try;; 7900 esac 7901 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7902 $as_echo "$ac_try_echo") >&5 7903 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7904 ac_status=$? 7905 grep -v '^ *+' conftest.er1 >conftest.err 7906 rm -f conftest.er1 7907 cat conftest.err >&5 7908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7909 (exit $ac_status); } >/dev/null && { 7910 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7911 test ! -s conftest.err 7912 }; then 7058 7913 # Broken: success on invalid input. 7059 7914 continue 7060 7915 else 7916 $as_echo "$as_me: failed program was:" >&5 7917 sed 's/^/| /' conftest.$ac_ext >&5 7918 7061 7919 # Passes both tests. 7062 7920 ac_preproc_ok=: 7063 7921 break 7064 7922 fi 7065 rm -f conftest.err conftest.i conftest.$ac_ext 7923 7924 rm -f conftest.err conftest.$ac_ext 7066 7925 7067 7926 done 7068 7927 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7069 rm -f conftest. i conftest.err conftest.$ac_ext7070 if $ac_preproc_ok; then :7928 rm -f conftest.err conftest.$ac_ext 7929 if $ac_preproc_ok; then 7071 7930 break 7072 7931 fi … … 7080 7939 ac_cv_prog_CPP=$CPP 7081 7940 fi 7082 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CPP" >&57941 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 7083 7942 $as_echo "$CPP" >&6; } 7084 7943 ac_preproc_ok=false … … 7091 7950 # On the NeXT, cc -E runs the code through the compiler's parser, 7092 7951 # not just through cpp. "Syntax error" is here to catch this case. 7093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7952 cat >conftest.$ac_ext <<_ACEOF 7953 /* confdefs.h. */ 7954 _ACEOF 7955 cat confdefs.h >>conftest.$ac_ext 7956 cat >>conftest.$ac_ext <<_ACEOF 7094 7957 /* end confdefs.h. */ 7095 7958 #ifdef __STDC__ … … 7100 7963 Syntax error 7101 7964 _ACEOF 7102 if ac_fn_c_try_cpp "$LINENO"; then : 7103 7104 else 7965 if { (ac_try="$ac_cpp conftest.$ac_ext" 7966 case "(($ac_try" in 7967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7968 *) ac_try_echo=$ac_try;; 7969 esac 7970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7971 $as_echo "$ac_try_echo") >&5 7972 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7973 ac_status=$? 7974 grep -v '^ *+' conftest.er1 >conftest.err 7975 rm -f conftest.er1 7976 cat conftest.err >&5 7977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7978 (exit $ac_status); } >/dev/null && { 7979 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7980 test ! -s conftest.err 7981 }; then 7982 : 7983 else 7984 $as_echo "$as_me: failed program was:" >&5 7985 sed 's/^/| /' conftest.$ac_ext >&5 7986 7105 7987 # Broken: fails on valid input. 7106 7988 continue 7107 7989 fi 7108 rm -f conftest.err conftest.i conftest.$ac_ext 7990 7991 rm -f conftest.err conftest.$ac_ext 7109 7992 7110 7993 # OK, works on sane cases. Now check whether nonexistent headers 7111 7994 # can be detected and how. 7112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7995 cat >conftest.$ac_ext <<_ACEOF 7996 /* confdefs.h. */ 7997 _ACEOF 7998 cat confdefs.h >>conftest.$ac_ext 7999 cat >>conftest.$ac_ext <<_ACEOF 7113 8000 /* end confdefs.h. */ 7114 8001 #include <ac_nonexistent.h> 7115 8002 _ACEOF 7116 if ac_fn_c_try_cpp "$LINENO"; then : 8003 if { (ac_try="$ac_cpp conftest.$ac_ext" 8004 case "(($ac_try" in 8005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8006 *) ac_try_echo=$ac_try;; 8007 esac 8008 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8009 $as_echo "$ac_try_echo") >&5 8010 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8011 ac_status=$? 8012 grep -v '^ *+' conftest.er1 >conftest.err 8013 rm -f conftest.er1 8014 cat conftest.err >&5 8015 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8016 (exit $ac_status); } >/dev/null && { 8017 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8018 test ! -s conftest.err 8019 }; then 7117 8020 # Broken: success on invalid input. 7118 8021 continue 7119 8022 else 8023 $as_echo "$as_me: failed program was:" >&5 8024 sed 's/^/| /' conftest.$ac_ext >&5 8025 7120 8026 # Passes both tests. 7121 8027 ac_preproc_ok=: 7122 8028 break 7123 8029 fi 7124 rm -f conftest.err conftest.i conftest.$ac_ext 8030 8031 rm -f conftest.err conftest.$ac_ext 7125 8032 7126 8033 done 7127 8034 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7128 rm -f conftest. i conftest.err conftest.$ac_ext7129 if $ac_preproc_ok; then :7130 7131 else 7132 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&58035 rm -f conftest.err conftest.$ac_ext 8036 if $ac_preproc_ok; then 8037 : 8038 else 8039 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7133 8040 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7134 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7135 See \`config.log' for more details" "$LINENO" 5; } 8041 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 8042 See \`config.log' for more details." >&5 8043 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 8044 See \`config.log' for more details." >&2;} 8045 { (exit 1); exit 1; }; }; } 7136 8046 fi 7137 8047 … … 7156 8066 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7157 8067 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7158 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&58068 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7159 8069 $as_echo_n "checking for $ac_word... " >&6; } 7160 if ${ac_cv_prog_CXX+:} false; then :8070 if test "${ac_cv_prog_CXX+set}" = set; then 7161 8071 $as_echo_n "(cached) " >&6 7162 8072 else … … 7169 8079 IFS=$as_save_IFS 7170 8080 test -z "$as_dir" && as_dir=. 7171 7172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8081 for ac_exec_ext in '' $ac_executable_extensions; do 8082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7173 8083 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 7174 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58084 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7175 8085 break 2 7176 8086 fi 7177 8087 done 7178 8088 done 7179 8089 IFS=$as_save_IFS 7180 8090 … … 7183 8093 CXX=$ac_cv_prog_CXX 7184 8094 if test -n "$CXX"; then 7185 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CXX" >&58095 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 7186 8096 $as_echo "$CXX" >&6; } 7187 8097 else 7188 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58098 { $as_echo "$as_me:$LINENO: result: no" >&5 7189 8099 $as_echo "no" >&6; } 7190 8100 fi … … 7200 8110 # Extract the first word of "$ac_prog", so it can be a program name with args. 7201 8111 set dummy $ac_prog; ac_word=$2 7202 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&58112 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7203 8113 $as_echo_n "checking for $ac_word... " >&6; } 7204 if ${ac_cv_prog_ac_ct_CXX+:} false; then :8114 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 7205 8115 $as_echo_n "(cached) " >&6 7206 8116 else … … 7213 8123 IFS=$as_save_IFS 7214 8124 test -z "$as_dir" && as_dir=. 7215 7216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8125 for ac_exec_ext in '' $ac_executable_extensions; do 8126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7217 8127 ac_cv_prog_ac_ct_CXX="$ac_prog" 7218 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58128 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7219 8129 break 2 7220 8130 fi 7221 8131 done 7222 8132 done 7223 8133 IFS=$as_save_IFS 7224 8134 … … 7227 8137 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 7228 8138 if test -n "$ac_ct_CXX"; then 7229 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CXX" >&58139 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 7230 8140 $as_echo "$ac_ct_CXX" >&6; } 7231 8141 else 7232 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58142 { $as_echo "$as_me:$LINENO: result: no" >&5 7233 8143 $as_echo "no" >&6; } 7234 8144 fi … … 7243 8153 case $cross_compiling:$ac_tool_warned in 7244 8154 yes:) 7245 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&58155 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7246 8156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7247 8157 ac_tool_warned=yes ;; … … 7254 8164 fi 7255 8165 # Provide some information about the compiler. 7256 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C++ compiler version" >&58166 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 7257 8167 set X $ac_compile 7258 8168 ac_compiler=$2 7259 for ac_option in --version -v -V -qversion; do 7260 { { ac_try="$ac_compiler $ac_option >&5" 8169 { (ac_try="$ac_compiler --version >&5" 7261 8170 case "(($ac_try" in 7262 8171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7263 8172 *) ac_try_echo=$ac_try;; 7264 8173 esac 7265 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""7266 $as_echo "$ac_try_echo" ; }>&57267 (eval "$ac_compiler $ac_option >&5") 2>conftest.err8174 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8175 $as_echo "$ac_try_echo") >&5 8176 (eval "$ac_compiler --version >&5") 2>&5 7268 8177 ac_status=$? 7269 if test -s conftest.err; then 7270 sed '10a\ 7271 ... rest of stderr output deleted ... 7272 10q' conftest.err >conftest.er1 7273 cat conftest.er1 >&5 7274 fi 7275 rm -f conftest.er1 conftest.err 7276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7277 test $ac_status = 0; } 7278 done 7279 7280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 8178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8179 (exit $ac_status); } 8180 { (ac_try="$ac_compiler -v >&5" 8181 case "(($ac_try" in 8182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8183 *) ac_try_echo=$ac_try;; 8184 esac 8185 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8186 $as_echo "$ac_try_echo") >&5 8187 (eval "$ac_compiler -v >&5") 2>&5 8188 ac_status=$? 8189 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8190 (exit $ac_status); } 8191 { (ac_try="$ac_compiler -V >&5" 8192 case "(($ac_try" in 8193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8194 *) ac_try_echo=$ac_try;; 8195 esac 8196 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8197 $as_echo "$ac_try_echo") >&5 8198 (eval "$ac_compiler -V >&5") 2>&5 8199 ac_status=$? 8200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8201 (exit $ac_status); } 8202 8203 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 7281 8204 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 7282 if ${ac_cv_cxx_compiler_gnu+:} false; then :8205 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 7283 8206 $as_echo_n "(cached) " >&6 7284 8207 else 7285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8208 cat >conftest.$ac_ext <<_ACEOF 8209 /* confdefs.h. */ 8210 _ACEOF 8211 cat confdefs.h >>conftest.$ac_ext 8212 cat >>conftest.$ac_ext <<_ACEOF 7286 8213 /* end confdefs.h. */ 7287 8214 … … 7297 8224 } 7298 8225 _ACEOF 7299 if ac_fn_cxx_try_compile "$LINENO"; then : 8226 rm -f conftest.$ac_objext 8227 if { (ac_try="$ac_compile" 8228 case "(($ac_try" in 8229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8230 *) ac_try_echo=$ac_try;; 8231 esac 8232 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8233 $as_echo "$ac_try_echo") >&5 8234 (eval "$ac_compile") 2>conftest.er1 8235 ac_status=$? 8236 grep -v '^ *+' conftest.er1 >conftest.err 8237 rm -f conftest.er1 8238 cat conftest.err >&5 8239 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8240 (exit $ac_status); } && { 8241 test -z "$ac_cxx_werror_flag" || 8242 test ! -s conftest.err 8243 } && test -s conftest.$ac_objext; then 7300 8244 ac_compiler_gnu=yes 7301 8245 else 7302 ac_compiler_gnu=no 7303 fi 8246 $as_echo "$as_me: failed program was:" >&5 8247 sed 's/^/| /' conftest.$ac_ext >&5 8248 8249 ac_compiler_gnu=no 8250 fi 8251 7304 8252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7305 8253 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 7306 8254 7307 8255 fi 7308 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&58256 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 7309 8257 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 7310 8258 if test $ac_compiler_gnu = yes; then … … 7315 8263 ac_test_CXXFLAGS=${CXXFLAGS+set} 7316 8264 ac_save_CXXFLAGS=$CXXFLAGS 7317 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CXX accepts -g" >&58265 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 7318 8266 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 7319 if ${ac_cv_prog_cxx_g+:} false; then :8267 if test "${ac_cv_prog_cxx_g+set}" = set; then 7320 8268 $as_echo_n "(cached) " >&6 7321 8269 else … … 7324 8272 ac_cv_prog_cxx_g=no 7325 8273 CXXFLAGS="-g" 7326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8274 cat >conftest.$ac_ext <<_ACEOF 8275 /* confdefs.h. */ 8276 _ACEOF 8277 cat confdefs.h >>conftest.$ac_ext 8278 cat >>conftest.$ac_ext <<_ACEOF 7327 8279 /* end confdefs.h. */ 7328 8280 … … 7335 8287 } 7336 8288 _ACEOF 7337 if ac_fn_cxx_try_compile "$LINENO"; then : 8289 rm -f conftest.$ac_objext 8290 if { (ac_try="$ac_compile" 8291 case "(($ac_try" in 8292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8293 *) ac_try_echo=$ac_try;; 8294 esac 8295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8296 $as_echo "$ac_try_echo") >&5 8297 (eval "$ac_compile") 2>conftest.er1 8298 ac_status=$? 8299 grep -v '^ *+' conftest.er1 >conftest.err 8300 rm -f conftest.er1 8301 cat conftest.err >&5 8302 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8303 (exit $ac_status); } && { 8304 test -z "$ac_cxx_werror_flag" || 8305 test ! -s conftest.err 8306 } && test -s conftest.$ac_objext; then 7338 8307 ac_cv_prog_cxx_g=yes 7339 8308 else 7340 CXXFLAGS="" 7341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8309 $as_echo "$as_me: failed program was:" >&5 8310 sed 's/^/| /' conftest.$ac_ext >&5 8311 8312 CXXFLAGS="" 8313 cat >conftest.$ac_ext <<_ACEOF 8314 /* confdefs.h. */ 8315 _ACEOF 8316 cat confdefs.h >>conftest.$ac_ext 8317 cat >>conftest.$ac_ext <<_ACEOF 7342 8318 /* end confdefs.h. */ 7343 8319 … … 7350 8326 } 7351 8327 _ACEOF 7352 if ac_fn_cxx_try_compile "$LINENO"; then : 7353 7354 else 7355 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8328 rm -f conftest.$ac_objext 8329 if { (ac_try="$ac_compile" 8330 case "(($ac_try" in 8331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8332 *) ac_try_echo=$ac_try;; 8333 esac 8334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8335 $as_echo "$ac_try_echo") >&5 8336 (eval "$ac_compile") 2>conftest.er1 8337 ac_status=$? 8338 grep -v '^ *+' conftest.er1 >conftest.err 8339 rm -f conftest.er1 8340 cat conftest.err >&5 8341 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8342 (exit $ac_status); } && { 8343 test -z "$ac_cxx_werror_flag" || 8344 test ! -s conftest.err 8345 } && test -s conftest.$ac_objext; then 8346 : 8347 else 8348 $as_echo "$as_me: failed program was:" >&5 8349 sed 's/^/| /' conftest.$ac_ext >&5 8350 8351 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7356 8352 CXXFLAGS="-g" 7357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8353 cat >conftest.$ac_ext <<_ACEOF 8354 /* confdefs.h. */ 8355 _ACEOF 8356 cat confdefs.h >>conftest.$ac_ext 8357 cat >>conftest.$ac_ext <<_ACEOF 7358 8358 /* end confdefs.h. */ 7359 8359 … … 7366 8366 } 7367 8367 _ACEOF 7368 if ac_fn_cxx_try_compile "$LINENO"; then : 8368 rm -f conftest.$ac_objext 8369 if { (ac_try="$ac_compile" 8370 case "(($ac_try" in 8371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8372 *) ac_try_echo=$ac_try;; 8373 esac 8374 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8375 $as_echo "$ac_try_echo") >&5 8376 (eval "$ac_compile") 2>conftest.er1 8377 ac_status=$? 8378 grep -v '^ *+' conftest.er1 >conftest.err 8379 rm -f conftest.er1 8380 cat conftest.err >&5 8381 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8382 (exit $ac_status); } && { 8383 test -z "$ac_cxx_werror_flag" || 8384 test ! -s conftest.err 8385 } && test -s conftest.$ac_objext; then 7369 8386 ac_cv_prog_cxx_g=yes 7370 fi 8387 else 8388 $as_echo "$as_me: failed program was:" >&5 8389 sed 's/^/| /' conftest.$ac_ext >&5 8390 8391 8392 fi 8393 7371 8394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7372 8395 fi 8396 7373 8397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7374 8398 fi 8399 7375 8400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7376 8401 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7377 8402 fi 7378 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&58403 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 7379 8404 $as_echo "$ac_cv_prog_cxx_g" >&6; } 7380 8405 if test "$ac_test_CXXFLAGS" = set; then … … 7404 8429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7405 8430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 7406 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&58431 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 7407 8432 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 7408 8433 if test -z "$CXXCPP"; then 7409 if ${ac_cv_prog_CXXCPP+:} false; then :8434 if test "${ac_cv_prog_CXXCPP+set}" = set; then 7410 8435 $as_echo_n "(cached) " >&6 7411 8436 else … … 7422 8447 # On the NeXT, cc -E runs the code through the compiler's parser, 7423 8448 # not just through cpp. "Syntax error" is here to catch this case. 7424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8449 cat >conftest.$ac_ext <<_ACEOF 8450 /* confdefs.h. */ 8451 _ACEOF 8452 cat confdefs.h >>conftest.$ac_ext 8453 cat >>conftest.$ac_ext <<_ACEOF 7425 8454 /* end confdefs.h. */ 7426 8455 #ifdef __STDC__ … … 7431 8460 Syntax error 7432 8461 _ACEOF 7433 if ac_fn_cxx_try_cpp "$LINENO"; then : 7434 7435 else 8462 if { (ac_try="$ac_cpp conftest.$ac_ext" 8463 case "(($ac_try" in 8464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8465 *) ac_try_echo=$ac_try;; 8466 esac 8467 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8468 $as_echo "$ac_try_echo") >&5 8469 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8470 ac_status=$? 8471 grep -v '^ *+' conftest.er1 >conftest.err 8472 rm -f conftest.er1 8473 cat conftest.err >&5 8474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8475 (exit $ac_status); } >/dev/null && { 8476 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8477 test ! -s conftest.err 8478 }; then 8479 : 8480 else 8481 $as_echo "$as_me: failed program was:" >&5 8482 sed 's/^/| /' conftest.$ac_ext >&5 8483 7436 8484 # Broken: fails on valid input. 7437 8485 continue 7438 8486 fi 7439 rm -f conftest.err conftest.i conftest.$ac_ext 8487 8488 rm -f conftest.err conftest.$ac_ext 7440 8489 7441 8490 # OK, works on sane cases. Now check whether nonexistent headers 7442 8491 # can be detected and how. 7443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8492 cat >conftest.$ac_ext <<_ACEOF 8493 /* confdefs.h. */ 8494 _ACEOF 8495 cat confdefs.h >>conftest.$ac_ext 8496 cat >>conftest.$ac_ext <<_ACEOF 7444 8497 /* end confdefs.h. */ 7445 8498 #include <ac_nonexistent.h> 7446 8499 _ACEOF 7447 if ac_fn_cxx_try_cpp "$LINENO"; then : 8500 if { (ac_try="$ac_cpp conftest.$ac_ext" 8501 case "(($ac_try" in 8502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8503 *) ac_try_echo=$ac_try;; 8504 esac 8505 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8506 $as_echo "$ac_try_echo") >&5 8507 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8508 ac_status=$? 8509 grep -v '^ *+' conftest.er1 >conftest.err 8510 rm -f conftest.er1 8511 cat conftest.err >&5 8512 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8513 (exit $ac_status); } >/dev/null && { 8514 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8515 test ! -s conftest.err 8516 }; then 7448 8517 # Broken: success on invalid input. 7449 8518 continue 7450 8519 else 8520 $as_echo "$as_me: failed program was:" >&5 8521 sed 's/^/| /' conftest.$ac_ext >&5 8522 7451 8523 # Passes both tests. 7452 8524 ac_preproc_ok=: 7453 8525 break 7454 8526 fi 7455 rm -f conftest.err conftest.i conftest.$ac_ext 8527 8528 rm -f conftest.err conftest.$ac_ext 7456 8529 7457 8530 done 7458 8531 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7459 rm -f conftest. i conftest.err conftest.$ac_ext7460 if $ac_preproc_ok; then :8532 rm -f conftest.err conftest.$ac_ext 8533 if $ac_preproc_ok; then 7461 8534 break 7462 8535 fi … … 7470 8543 ac_cv_prog_CXXCPP=$CXXCPP 7471 8544 fi 7472 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CXXCPP" >&58545 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5 7473 8546 $as_echo "$CXXCPP" >&6; } 7474 8547 ac_preproc_ok=false … … 7481 8554 # On the NeXT, cc -E runs the code through the compiler's parser, 7482 8555 # not just through cpp. "Syntax error" is here to catch this case. 7483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8556 cat >conftest.$ac_ext <<_ACEOF 8557 /* confdefs.h. */ 8558 _ACEOF 8559 cat confdefs.h >>conftest.$ac_ext 8560 cat >>conftest.$ac_ext <<_ACEOF 7484 8561 /* end confdefs.h. */ 7485 8562 #ifdef __STDC__ … … 7490 8567 Syntax error 7491 8568 _ACEOF 7492 if ac_fn_cxx_try_cpp "$LINENO"; then : 7493 7494 else 8569 if { (ac_try="$ac_cpp conftest.$ac_ext" 8570 case "(($ac_try" in 8571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8572 *) ac_try_echo=$ac_try;; 8573 esac 8574 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8575 $as_echo "$ac_try_echo") >&5 8576 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8577 ac_status=$? 8578 grep -v '^ *+' conftest.er1 >conftest.err 8579 rm -f conftest.er1 8580 cat conftest.err >&5 8581 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8582 (exit $ac_status); } >/dev/null && { 8583 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8584 test ! -s conftest.err 8585 }; then 8586 : 8587 else 8588 $as_echo "$as_me: failed program was:" >&5 8589 sed 's/^/| /' conftest.$ac_ext >&5 8590 7495 8591 # Broken: fails on valid input. 7496 8592 continue 7497 8593 fi 7498 rm -f conftest.err conftest.i conftest.$ac_ext 8594 8595 rm -f conftest.err conftest.$ac_ext 7499 8596 7500 8597 # OK, works on sane cases. Now check whether nonexistent headers 7501 8598 # can be detected and how. 7502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8599 cat >conftest.$ac_ext <<_ACEOF 8600 /* confdefs.h. */ 8601 _ACEOF 8602 cat confdefs.h >>conftest.$ac_ext 8603 cat >>conftest.$ac_ext <<_ACEOF 7503 8604 /* end confdefs.h. */ 7504 8605 #include <ac_nonexistent.h> 7505 8606 _ACEOF 7506 if ac_fn_cxx_try_cpp "$LINENO"; then : 8607 if { (ac_try="$ac_cpp conftest.$ac_ext" 8608 case "(($ac_try" in 8609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8610 *) ac_try_echo=$ac_try;; 8611 esac 8612 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8613 $as_echo "$ac_try_echo") >&5 8614 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8615 ac_status=$? 8616 grep -v '^ *+' conftest.er1 >conftest.err 8617 rm -f conftest.er1 8618 cat conftest.err >&5 8619 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8620 (exit $ac_status); } >/dev/null && { 8621 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8622 test ! -s conftest.err 8623 }; then 7507 8624 # Broken: success on invalid input. 7508 8625 continue 7509 8626 else 8627 $as_echo "$as_me: failed program was:" >&5 8628 sed 's/^/| /' conftest.$ac_ext >&5 8629 7510 8630 # Passes both tests. 7511 8631 ac_preproc_ok=: 7512 8632 break 7513 8633 fi 7514 rm -f conftest.err conftest.i conftest.$ac_ext 8634 8635 rm -f conftest.err conftest.$ac_ext 7515 8636 7516 8637 done 7517 8638 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7518 rm -f conftest. i conftest.err conftest.$ac_ext7519 if $ac_preproc_ok; then :7520 7521 else 7522 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&58639 rm -f conftest.err conftest.$ac_ext 8640 if $ac_preproc_ok; then 8641 : 8642 else 8643 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7523 8644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7524 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 7525 See \`config.log' for more details" "$LINENO" 5; } 8645 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 8646 See \`config.log' for more details." >&5 8647 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 8648 See \`config.log' for more details." >&2;} 8649 { (exit 1); exit 1; }; }; } 7526 8650 fi 7527 8651 … … 7546 8670 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7547 8671 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7548 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&58672 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7549 8673 $as_echo_n "checking for $ac_word... " >&6; } 7550 if ${ac_cv_prog_CXX+:} false; then :8674 if test "${ac_cv_prog_CXX+set}" = set; then 7551 8675 $as_echo_n "(cached) " >&6 7552 8676 else … … 7559 8683 IFS=$as_save_IFS 7560 8684 test -z "$as_dir" && as_dir=. 7561 7562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8685 for ac_exec_ext in '' $ac_executable_extensions; do 8686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7563 8687 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 7564 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58688 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7565 8689 break 2 7566 8690 fi 7567 8691 done 7568 8692 done 7569 8693 IFS=$as_save_IFS 7570 8694 … … 7573 8697 CXX=$ac_cv_prog_CXX 7574 8698 if test -n "$CXX"; then 7575 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CXX" >&58699 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 7576 8700 $as_echo "$CXX" >&6; } 7577 8701 else 7578 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58702 { $as_echo "$as_me:$LINENO: result: no" >&5 7579 8703 $as_echo "no" >&6; } 7580 8704 fi … … 7590 8714 # Extract the first word of "$ac_prog", so it can be a program name with args. 7591 8715 set dummy $ac_prog; ac_word=$2 7592 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&58716 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7593 8717 $as_echo_n "checking for $ac_word... " >&6; } 7594 if ${ac_cv_prog_ac_ct_CXX+:} false; then :8718 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 7595 8719 $as_echo_n "(cached) " >&6 7596 8720 else … … 7603 8727 IFS=$as_save_IFS 7604 8728 test -z "$as_dir" && as_dir=. 7605 7606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8729 for ac_exec_ext in '' $ac_executable_extensions; do 8730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7607 8731 ac_cv_prog_ac_ct_CXX="$ac_prog" 7608 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58732 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7609 8733 break 2 7610 8734 fi 7611 8735 done 7612 8736 done 7613 8737 IFS=$as_save_IFS 7614 8738 … … 7617 8741 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 7618 8742 if test -n "$ac_ct_CXX"; then 7619 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CXX" >&58743 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 7620 8744 $as_echo "$ac_ct_CXX" >&6; } 7621 8745 else 7622 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58746 { $as_echo "$as_me:$LINENO: result: no" >&5 7623 8747 $as_echo "no" >&6; } 7624 8748 fi … … 7633 8757 case $cross_compiling:$ac_tool_warned in 7634 8758 yes:) 7635 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&58759 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7636 8760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7637 8761 ac_tool_warned=yes ;; … … 7644 8768 fi 7645 8769 # Provide some information about the compiler. 7646 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C++ compiler version" >&58770 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 7647 8771 set X $ac_compile 7648 8772 ac_compiler=$2 7649 for ac_option in --version -v -V -qversion; do 7650 { { ac_try="$ac_compiler $ac_option >&5" 8773 { (ac_try="$ac_compiler --version >&5" 7651 8774 case "(($ac_try" in 7652 8775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7653 8776 *) ac_try_echo=$ac_try;; 7654 8777 esac 7655 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""7656 $as_echo "$ac_try_echo" ; }>&57657 (eval "$ac_compiler $ac_option >&5") 2>conftest.err8778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8779 $as_echo "$ac_try_echo") >&5 8780 (eval "$ac_compiler --version >&5") 2>&5 7658 8781 ac_status=$? 7659 if test -s conftest.err; then 7660 sed '10a\ 7661 ... rest of stderr output deleted ... 7662 10q' conftest.err >conftest.er1 7663 cat conftest.er1 >&5 7664 fi 7665 rm -f conftest.er1 conftest.err 7666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7667 test $ac_status = 0; } 7668 done 7669 7670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 8782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8783 (exit $ac_status); } 8784 { (ac_try="$ac_compiler -v >&5" 8785 case "(($ac_try" in 8786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8787 *) ac_try_echo=$ac_try;; 8788 esac 8789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8790 $as_echo "$ac_try_echo") >&5 8791 (eval "$ac_compiler -v >&5") 2>&5 8792 ac_status=$? 8793 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8794 (exit $ac_status); } 8795 { (ac_try="$ac_compiler -V >&5" 8796 case "(($ac_try" in 8797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8798 *) ac_try_echo=$ac_try;; 8799 esac 8800 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8801 $as_echo "$ac_try_echo") >&5 8802 (eval "$ac_compiler -V >&5") 2>&5 8803 ac_status=$? 8804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8805 (exit $ac_status); } 8806 8807 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 7671 8808 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 7672 if ${ac_cv_cxx_compiler_gnu+:} false; then :8809 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 7673 8810 $as_echo_n "(cached) " >&6 7674 8811 else 7675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8812 cat >conftest.$ac_ext <<_ACEOF 8813 /* confdefs.h. */ 8814 _ACEOF 8815 cat confdefs.h >>conftest.$ac_ext 8816 cat >>conftest.$ac_ext <<_ACEOF 7676 8817 /* end confdefs.h. */ 7677 8818 … … 7687 8828 } 7688 8829 _ACEOF 7689 if ac_fn_cxx_try_compile "$LINENO"; then : 8830 rm -f conftest.$ac_objext 8831 if { (ac_try="$ac_compile" 8832 case "(($ac_try" in 8833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8834 *) ac_try_echo=$ac_try;; 8835 esac 8836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8837 $as_echo "$ac_try_echo") >&5 8838 (eval "$ac_compile") 2>conftest.er1 8839 ac_status=$? 8840 grep -v '^ *+' conftest.er1 >conftest.err 8841 rm -f conftest.er1 8842 cat conftest.err >&5 8843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8844 (exit $ac_status); } && { 8845 test -z "$ac_cxx_werror_flag" || 8846 test ! -s conftest.err 8847 } && test -s conftest.$ac_objext; then 7690 8848 ac_compiler_gnu=yes 7691 8849 else 7692 ac_compiler_gnu=no 7693 fi 8850 $as_echo "$as_me: failed program was:" >&5 8851 sed 's/^/| /' conftest.$ac_ext >&5 8852 8853 ac_compiler_gnu=no 8854 fi 8855 7694 8856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7695 8857 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 7696 8858 7697 8859 fi 7698 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&58860 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 7699 8861 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 7700 8862 if test $ac_compiler_gnu = yes; then … … 7705 8867 ac_test_CXXFLAGS=${CXXFLAGS+set} 7706 8868 ac_save_CXXFLAGS=$CXXFLAGS 7707 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CXX accepts -g" >&58869 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 7708 8870 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 7709 if ${ac_cv_prog_cxx_g+:} false; then :8871 if test "${ac_cv_prog_cxx_g+set}" = set; then 7710 8872 $as_echo_n "(cached) " >&6 7711 8873 else … … 7714 8876 ac_cv_prog_cxx_g=no 7715 8877 CXXFLAGS="-g" 7716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8878 cat >conftest.$ac_ext <<_ACEOF 8879 /* confdefs.h. */ 8880 _ACEOF 8881 cat confdefs.h >>conftest.$ac_ext 8882 cat >>conftest.$ac_ext <<_ACEOF 7717 8883 /* end confdefs.h. */ 7718 8884 … … 7725 8891 } 7726 8892 _ACEOF 7727 if ac_fn_cxx_try_compile "$LINENO"; then : 8893 rm -f conftest.$ac_objext 8894 if { (ac_try="$ac_compile" 8895 case "(($ac_try" in 8896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8897 *) ac_try_echo=$ac_try;; 8898 esac 8899 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8900 $as_echo "$ac_try_echo") >&5 8901 (eval "$ac_compile") 2>conftest.er1 8902 ac_status=$? 8903 grep -v '^ *+' conftest.er1 >conftest.err 8904 rm -f conftest.er1 8905 cat conftest.err >&5 8906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8907 (exit $ac_status); } && { 8908 test -z "$ac_cxx_werror_flag" || 8909 test ! -s conftest.err 8910 } && test -s conftest.$ac_objext; then 7728 8911 ac_cv_prog_cxx_g=yes 7729 8912 else 7730 CXXFLAGS="" 7731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8913 $as_echo "$as_me: failed program was:" >&5 8914 sed 's/^/| /' conftest.$ac_ext >&5 8915 8916 CXXFLAGS="" 8917 cat >conftest.$ac_ext <<_ACEOF 8918 /* confdefs.h. */ 8919 _ACEOF 8920 cat confdefs.h >>conftest.$ac_ext 8921 cat >>conftest.$ac_ext <<_ACEOF 7732 8922 /* end confdefs.h. */ 7733 8923 … … 7740 8930 } 7741 8931 _ACEOF 7742 if ac_fn_cxx_try_compile "$LINENO"; then : 7743 7744 else 7745 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8932 rm -f conftest.$ac_objext 8933 if { (ac_try="$ac_compile" 8934 case "(($ac_try" in 8935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8936 *) ac_try_echo=$ac_try;; 8937 esac 8938 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8939 $as_echo "$ac_try_echo") >&5 8940 (eval "$ac_compile") 2>conftest.er1 8941 ac_status=$? 8942 grep -v '^ *+' conftest.er1 >conftest.err 8943 rm -f conftest.er1 8944 cat conftest.err >&5 8945 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8946 (exit $ac_status); } && { 8947 test -z "$ac_cxx_werror_flag" || 8948 test ! -s conftest.err 8949 } && test -s conftest.$ac_objext; then 8950 : 8951 else 8952 $as_echo "$as_me: failed program was:" >&5 8953 sed 's/^/| /' conftest.$ac_ext >&5 8954 8955 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7746 8956 CXXFLAGS="-g" 7747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8957 cat >conftest.$ac_ext <<_ACEOF 8958 /* confdefs.h. */ 8959 _ACEOF 8960 cat confdefs.h >>conftest.$ac_ext 8961 cat >>conftest.$ac_ext <<_ACEOF 7748 8962 /* end confdefs.h. */ 7749 8963 … … 7756 8970 } 7757 8971 _ACEOF 7758 if ac_fn_cxx_try_compile "$LINENO"; then : 8972 rm -f conftest.$ac_objext 8973 if { (ac_try="$ac_compile" 8974 case "(($ac_try" in 8975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8976 *) ac_try_echo=$ac_try;; 8977 esac 8978 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8979 $as_echo "$ac_try_echo") >&5 8980 (eval "$ac_compile") 2>conftest.er1 8981 ac_status=$? 8982 grep -v '^ *+' conftest.er1 >conftest.err 8983 rm -f conftest.er1 8984 cat conftest.err >&5 8985 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8986 (exit $ac_status); } && { 8987 test -z "$ac_cxx_werror_flag" || 8988 test ! -s conftest.err 8989 } && test -s conftest.$ac_objext; then 7759 8990 ac_cv_prog_cxx_g=yes 7760 fi 8991 else 8992 $as_echo "$as_me: failed program was:" >&5 8993 sed 's/^/| /' conftest.$ac_ext >&5 8994 8995 8996 fi 8997 7761 8998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7762 8999 fi 9000 7763 9001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7764 9002 fi 9003 7765 9004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7766 9005 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7767 9006 fi 7768 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&59007 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 7769 9008 $as_echo "$ac_cv_prog_cxx_g" >&6; } 7770 9009 if test "$ac_test_CXXFLAGS" = set; then … … 7797 9036 7798 9037 7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 9038 9039 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7800 9040 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 7801 if ${ac_cv_c_bigendian+:} false; then :9041 if test "${ac_cv_c_bigendian+set}" = set; then 7802 9042 $as_echo_n "(cached) " >&6 7803 9043 else 7804 9044 ac_cv_c_bigendian=unknown 7805 9045 # See if we're dealing with a universal compiler. 7806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9046 cat >conftest.$ac_ext <<_ACEOF 9047 /* confdefs.h. */ 9048 _ACEOF 9049 cat confdefs.h >>conftest.$ac_ext 9050 cat >>conftest.$ac_ext <<_ACEOF 7807 9051 /* end confdefs.h. */ 7808 9052 #ifndef __APPLE_CC__ … … 7812 9056 7813 9057 _ACEOF 7814 if ac_fn_cxx_try_compile "$LINENO"; then : 9058 rm -f conftest.$ac_objext 9059 if { (ac_try="$ac_compile" 9060 case "(($ac_try" in 9061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9062 *) ac_try_echo=$ac_try;; 9063 esac 9064 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9065 $as_echo "$ac_try_echo") >&5 9066 (eval "$ac_compile") 2>conftest.er1 9067 ac_status=$? 9068 grep -v '^ *+' conftest.er1 >conftest.err 9069 rm -f conftest.er1 9070 cat conftest.err >&5 9071 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9072 (exit $ac_status); } && { 9073 test -z "$ac_cxx_werror_flag" || 9074 test ! -s conftest.err 9075 } && test -s conftest.$ac_objext; then 7815 9076 7816 9077 # Check for potential -arch flags. It is not universal unless 7817 # there are at least two -arch flags with different values. 7818 ac_arch= 7819 ac_prev= 7820 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 7821 if test -n "$ac_prev"; then 7822 case $ac_word in 7823 i?86 | x86_64 | ppc | ppc64) 7824 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 7825 ac_arch=$ac_word 7826 else 7827 ac_cv_c_bigendian=universal 7828 break 7829 fi 7830 ;; 7831 esac 7832 ac_prev= 7833 elif test "x$ac_word" = "x-arch"; then 7834 ac_prev=arch 7835 fi 7836 done 7837 fi 9078 # there are some -arch flags. Note that *ppc* also matches 9079 # ppc64. This check is also rather less than ideal. 9080 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 9081 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 9082 esac 9083 else 9084 $as_echo "$as_me: failed program was:" >&5 9085 sed 's/^/| /' conftest.$ac_ext >&5 9086 9087 9088 fi 9089 7838 9090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7839 9091 if test $ac_cv_c_bigendian = unknown; then 7840 9092 # See if sys/param.h defines the BYTE_ORDER macro. 7841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9093 cat >conftest.$ac_ext <<_ACEOF 9094 /* confdefs.h. */ 9095 _ACEOF 9096 cat confdefs.h >>conftest.$ac_ext 9097 cat >>conftest.$ac_ext <<_ACEOF 7842 9098 /* end confdefs.h. */ 7843 9099 #include <sys/types.h> … … 7857 9113 } 7858 9114 _ACEOF 7859 if ac_fn_cxx_try_compile "$LINENO"; then : 9115 rm -f conftest.$ac_objext 9116 if { (ac_try="$ac_compile" 9117 case "(($ac_try" in 9118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9119 *) ac_try_echo=$ac_try;; 9120 esac 9121 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9122 $as_echo "$ac_try_echo") >&5 9123 (eval "$ac_compile") 2>conftest.er1 9124 ac_status=$? 9125 grep -v '^ *+' conftest.er1 >conftest.err 9126 rm -f conftest.er1 9127 cat conftest.err >&5 9128 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9129 (exit $ac_status); } && { 9130 test -z "$ac_cxx_werror_flag" || 9131 test ! -s conftest.err 9132 } && test -s conftest.$ac_objext; then 7860 9133 # It does; now see whether it defined to BIG_ENDIAN or not. 7861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9134 cat >conftest.$ac_ext <<_ACEOF 9135 /* confdefs.h. */ 9136 _ACEOF 9137 cat confdefs.h >>conftest.$ac_ext 9138 cat >>conftest.$ac_ext <<_ACEOF 7862 9139 /* end confdefs.h. */ 7863 9140 #include <sys/types.h> … … 7875 9152 } 7876 9153 _ACEOF 7877 if ac_fn_cxx_try_compile "$LINENO"; then : 9154 rm -f conftest.$ac_objext 9155 if { (ac_try="$ac_compile" 9156 case "(($ac_try" in 9157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9158 *) ac_try_echo=$ac_try;; 9159 esac 9160 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9161 $as_echo "$ac_try_echo") >&5 9162 (eval "$ac_compile") 2>conftest.er1 9163 ac_status=$? 9164 grep -v '^ *+' conftest.er1 >conftest.err 9165 rm -f conftest.er1 9166 cat conftest.err >&5 9167 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9168 (exit $ac_status); } && { 9169 test -z "$ac_cxx_werror_flag" || 9170 test ! -s conftest.err 9171 } && test -s conftest.$ac_objext; then 7878 9172 ac_cv_c_bigendian=yes 7879 9173 else 7880 ac_cv_c_bigendian=no 7881 fi 9174 $as_echo "$as_me: failed program was:" >&5 9175 sed 's/^/| /' conftest.$ac_ext >&5 9176 9177 ac_cv_c_bigendian=no 9178 fi 9179 7882 9180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7883 fi 9181 else 9182 $as_echo "$as_me: failed program was:" >&5 9183 sed 's/^/| /' conftest.$ac_ext >&5 9184 9185 9186 fi 9187 7884 9188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7885 9189 fi 7886 9190 if test $ac_cv_c_bigendian = unknown; then 7887 9191 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 7888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9192 cat >conftest.$ac_ext <<_ACEOF 9193 /* confdefs.h. */ 9194 _ACEOF 9195 cat confdefs.h >>conftest.$ac_ext 9196 cat >>conftest.$ac_ext <<_ACEOF 7889 9197 /* end confdefs.h. */ 7890 9198 #include <limits.h> … … 7901 9209 } 7902 9210 _ACEOF 7903 if ac_fn_cxx_try_compile "$LINENO"; then : 9211 rm -f conftest.$ac_objext 9212 if { (ac_try="$ac_compile" 9213 case "(($ac_try" in 9214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9215 *) ac_try_echo=$ac_try;; 9216 esac 9217 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9218 $as_echo "$ac_try_echo") >&5 9219 (eval "$ac_compile") 2>conftest.er1 9220 ac_status=$? 9221 grep -v '^ *+' conftest.er1 >conftest.err 9222 rm -f conftest.er1 9223 cat conftest.err >&5 9224 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9225 (exit $ac_status); } && { 9226 test -z "$ac_cxx_werror_flag" || 9227 test ! -s conftest.err 9228 } && test -s conftest.$ac_objext; then 7904 9229 # It does; now see whether it defined to _BIG_ENDIAN or not. 7905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9230 cat >conftest.$ac_ext <<_ACEOF 9231 /* confdefs.h. */ 9232 _ACEOF 9233 cat confdefs.h >>conftest.$ac_ext 9234 cat >>conftest.$ac_ext <<_ACEOF 7906 9235 /* end confdefs.h. */ 7907 9236 #include <limits.h> … … 7918 9247 } 7919 9248 _ACEOF 7920 if ac_fn_cxx_try_compile "$LINENO"; then : 9249 rm -f conftest.$ac_objext 9250 if { (ac_try="$ac_compile" 9251 case "(($ac_try" in 9252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9253 *) ac_try_echo=$ac_try;; 9254 esac 9255 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9256 $as_echo "$ac_try_echo") >&5 9257 (eval "$ac_compile") 2>conftest.er1 9258 ac_status=$? 9259 grep -v '^ *+' conftest.er1 >conftest.err 9260 rm -f conftest.er1 9261 cat conftest.err >&5 9262 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9263 (exit $ac_status); } && { 9264 test -z "$ac_cxx_werror_flag" || 9265 test ! -s conftest.err 9266 } && test -s conftest.$ac_objext; then 7921 9267 ac_cv_c_bigendian=yes 7922 9268 else 7923 ac_cv_c_bigendian=no 7924 fi 9269 $as_echo "$as_me: failed program was:" >&5 9270 sed 's/^/| /' conftest.$ac_ext >&5 9271 9272 ac_cv_c_bigendian=no 9273 fi 9274 7925 9275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7926 fi 9276 else 9277 $as_echo "$as_me: failed program was:" >&5 9278 sed 's/^/| /' conftest.$ac_ext >&5 9279 9280 9281 fi 9282 7927 9283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7928 9284 fi 7929 9285 if test $ac_cv_c_bigendian = unknown; then 7930 9286 # Compile a test program. 7931 if test "$cross_compiling" = yes; then :9287 if test "$cross_compiling" = yes; then 7932 9288 # Try to guess by grepping values from an object file. 7933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9289 cat >conftest.$ac_ext <<_ACEOF 9290 /* confdefs.h. */ 9291 _ACEOF 9292 cat confdefs.h >>conftest.$ac_ext 9293 cat >>conftest.$ac_ext <<_ACEOF 7934 9294 /* end confdefs.h. */ 7935 9295 short int ascii_mm[] = … … 7957 9317 } 7958 9318 _ACEOF 7959 if ac_fn_cxx_try_compile "$LINENO"; then : 9319 rm -f conftest.$ac_objext 9320 if { (ac_try="$ac_compile" 9321 case "(($ac_try" in 9322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9323 *) ac_try_echo=$ac_try;; 9324 esac 9325 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9326 $as_echo "$ac_try_echo") >&5 9327 (eval "$ac_compile") 2>conftest.er1 9328 ac_status=$? 9329 grep -v '^ *+' conftest.er1 >conftest.err 9330 rm -f conftest.er1 9331 cat conftest.err >&5 9332 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9333 (exit $ac_status); } && { 9334 test -z "$ac_cxx_werror_flag" || 9335 test ! -s conftest.err 9336 } && test -s conftest.$ac_objext; then 7960 9337 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 7961 9338 ac_cv_c_bigendian=yes … … 7969 9346 fi 7970 9347 fi 7971 fi 9348 else 9349 $as_echo "$as_me: failed program was:" >&5 9350 sed 's/^/| /' conftest.$ac_ext >&5 9351 9352 9353 fi 9354 7972 9355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7973 9356 else 7974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9357 cat >conftest.$ac_ext <<_ACEOF 9358 /* confdefs.h. */ 9359 _ACEOF 9360 cat confdefs.h >>conftest.$ac_ext 9361 cat >>conftest.$ac_ext <<_ACEOF 7975 9362 /* end confdefs.h. */ 7976 9363 $ac_includes_default … … 7992 9379 } 7993 9380 _ACEOF 7994 if ac_fn_cxx_try_run "$LINENO"; then : 9381 rm -f conftest$ac_exeext 9382 if { (ac_try="$ac_link" 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_link") 2>&5 9390 ac_status=$? 9391 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9392 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9393 { (case "(($ac_try" in 9394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9395 *) ac_try_echo=$ac_try;; 9396 esac 9397 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9398 $as_echo "$ac_try_echo") >&5 9399 (eval "$ac_try") 2>&5 9400 ac_status=$? 9401 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9402 (exit $ac_status); }; }; then 7995 9403 ac_cv_c_bigendian=no 7996 9404 else 7997 ac_cv_c_bigendian=yes 7998 fi 7999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8000 conftest.$ac_objext conftest.beam conftest.$ac_ext 8001 fi 9405 $as_echo "$as_me: program exited with status $ac_status" >&5 9406 $as_echo "$as_me: failed program was:" >&5 9407 sed 's/^/| /' conftest.$ac_ext >&5 9408 9409 ( exit $ac_status ) 9410 ac_cv_c_bigendian=yes 9411 fi 9412 rm -rf conftest.dSYM 9413 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9414 fi 9415 8002 9416 8003 9417 fi 8004 9418 fi 8005 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&59419 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 8006 9420 $as_echo "$ac_cv_c_bigendian" >&6; } 8007 9421 case $ac_cv_c_bigendian in #( 8008 9422 yes) 8009 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 9423 cat >>confdefs.h <<\_ACEOF 9424 #define WORDS_BIGENDIAN 1 9425 _ACEOF 8010 9426 ;; #( 8011 9427 no) … … 8013 9429 universal) 8014 9430 8015 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 9431 cat >>confdefs.h <<\_ACEOF 9432 #define AC_APPLE_UNIVERSAL_BUILD 1 9433 _ACEOF 8016 9434 8017 9435 ;; #( 8018 9436 *) 8019 as_fn_error $? "unknown endianness 8020 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 9437 { { $as_echo "$as_me:$LINENO: error: unknown endianness 9438 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 9439 $as_echo "$as_me: error: unknown endianness 9440 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 9441 { (exit 1); exit 1; }; } ;; 8021 9442 esac 8022 9443 … … 8025 9446 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8026 9447 # This bug is HP SR number 8606223364. 8027 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of int" >&59448 { $as_echo "$as_me:$LINENO: checking size of int" >&5 8028 9449 $as_echo_n "checking size of int... " >&6; } 8029 if ${ac_cv_sizeof_int+:} false; then :9450 if test "${ac_cv_sizeof_int+set}" = set; then 8030 9451 $as_echo_n "(cached) " >&6 8031 9452 else 8032 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 8033 8034 else 8035 if test "$ac_cv_type_int" = yes; then 8036 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9453 if test "$cross_compiling" = yes; then 9454 # Depending upon the size, compute the lo and hi bounds. 9455 cat >conftest.$ac_ext <<_ACEOF 9456 /* confdefs.h. */ 9457 _ACEOF 9458 cat confdefs.h >>conftest.$ac_ext 9459 cat >>conftest.$ac_ext <<_ACEOF 9460 /* end confdefs.h. */ 9461 $ac_includes_default 9462 int 9463 main () 9464 { 9465 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)]; 9466 test_array [0] = 0 9467 9468 ; 9469 return 0; 9470 } 9471 _ACEOF 9472 rm -f conftest.$ac_objext 9473 if { (ac_try="$ac_compile" 9474 case "(($ac_try" in 9475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9476 *) ac_try_echo=$ac_try;; 9477 esac 9478 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9479 $as_echo "$ac_try_echo") >&5 9480 (eval "$ac_compile") 2>conftest.er1 9481 ac_status=$? 9482 grep -v '^ *+' conftest.er1 >conftest.err 9483 rm -f conftest.er1 9484 cat conftest.err >&5 9485 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9486 (exit $ac_status); } && { 9487 test -z "$ac_cxx_werror_flag" || 9488 test ! -s conftest.err 9489 } && test -s conftest.$ac_objext; then 9490 ac_lo=0 ac_mid=0 9491 while :; do 9492 cat >conftest.$ac_ext <<_ACEOF 9493 /* confdefs.h. */ 9494 _ACEOF 9495 cat confdefs.h >>conftest.$ac_ext 9496 cat >>conftest.$ac_ext <<_ACEOF 9497 /* end confdefs.h. */ 9498 $ac_includes_default 9499 int 9500 main () 9501 { 9502 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; 9503 test_array [0] = 0 9504 9505 ; 9506 return 0; 9507 } 9508 _ACEOF 9509 rm -f conftest.$ac_objext 9510 if { (ac_try="$ac_compile" 9511 case "(($ac_try" in 9512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9513 *) ac_try_echo=$ac_try;; 9514 esac 9515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9516 $as_echo "$ac_try_echo") >&5 9517 (eval "$ac_compile") 2>conftest.er1 9518 ac_status=$? 9519 grep -v '^ *+' conftest.er1 >conftest.err 9520 rm -f conftest.er1 9521 cat conftest.err >&5 9522 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9523 (exit $ac_status); } && { 9524 test -z "$ac_cxx_werror_flag" || 9525 test ! -s conftest.err 9526 } && test -s conftest.$ac_objext; then 9527 ac_hi=$ac_mid; break 9528 else 9529 $as_echo "$as_me: failed program was:" >&5 9530 sed 's/^/| /' conftest.$ac_ext >&5 9531 9532 ac_lo=`expr $ac_mid + 1` 9533 if test $ac_lo -le $ac_mid; then 9534 ac_lo= ac_hi= 9535 break 9536 fi 9537 ac_mid=`expr 2 '*' $ac_mid + 1` 9538 fi 9539 9540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9541 done 9542 else 9543 $as_echo "$as_me: failed program was:" >&5 9544 sed 's/^/| /' conftest.$ac_ext >&5 9545 9546 cat >conftest.$ac_ext <<_ACEOF 9547 /* confdefs.h. */ 9548 _ACEOF 9549 cat confdefs.h >>conftest.$ac_ext 9550 cat >>conftest.$ac_ext <<_ACEOF 9551 /* end confdefs.h. */ 9552 $ac_includes_default 9553 int 9554 main () 9555 { 9556 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)]; 9557 test_array [0] = 0 9558 9559 ; 9560 return 0; 9561 } 9562 _ACEOF 9563 rm -f conftest.$ac_objext 9564 if { (ac_try="$ac_compile" 9565 case "(($ac_try" in 9566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9567 *) ac_try_echo=$ac_try;; 9568 esac 9569 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9570 $as_echo "$ac_try_echo") >&5 9571 (eval "$ac_compile") 2>conftest.er1 9572 ac_status=$? 9573 grep -v '^ *+' conftest.er1 >conftest.err 9574 rm -f conftest.er1 9575 cat conftest.err >&5 9576 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9577 (exit $ac_status); } && { 9578 test -z "$ac_cxx_werror_flag" || 9579 test ! -s conftest.err 9580 } && test -s conftest.$ac_objext; then 9581 ac_hi=-1 ac_mid=-1 9582 while :; do 9583 cat >conftest.$ac_ext <<_ACEOF 9584 /* confdefs.h. */ 9585 _ACEOF 9586 cat confdefs.h >>conftest.$ac_ext 9587 cat >>conftest.$ac_ext <<_ACEOF 9588 /* end confdefs.h. */ 9589 $ac_includes_default 9590 int 9591 main () 9592 { 9593 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)]; 9594 test_array [0] = 0 9595 9596 ; 9597 return 0; 9598 } 9599 _ACEOF 9600 rm -f conftest.$ac_objext 9601 if { (ac_try="$ac_compile" 9602 case "(($ac_try" in 9603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9604 *) ac_try_echo=$ac_try;; 9605 esac 9606 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9607 $as_echo "$ac_try_echo") >&5 9608 (eval "$ac_compile") 2>conftest.er1 9609 ac_status=$? 9610 grep -v '^ *+' conftest.er1 >conftest.err 9611 rm -f conftest.er1 9612 cat conftest.err >&5 9613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9614 (exit $ac_status); } && { 9615 test -z "$ac_cxx_werror_flag" || 9616 test ! -s conftest.err 9617 } && test -s conftest.$ac_objext; then 9618 ac_lo=$ac_mid; break 9619 else 9620 $as_echo "$as_me: failed program was:" >&5 9621 sed 's/^/| /' conftest.$ac_ext >&5 9622 9623 ac_hi=`expr '(' $ac_mid ')' - 1` 9624 if test $ac_mid -le $ac_hi; then 9625 ac_lo= ac_hi= 9626 break 9627 fi 9628 ac_mid=`expr 2 '*' $ac_mid` 9629 fi 9630 9631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9632 done 9633 else 9634 $as_echo "$as_me: failed program was:" >&5 9635 sed 's/^/| /' conftest.$ac_ext >&5 9636 9637 ac_lo= ac_hi= 9638 fi 9639 9640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9641 fi 9642 9643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9644 # Binary search between lo and hi bounds. 9645 while test "x$ac_lo" != "x$ac_hi"; do 9646 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 9647 cat >conftest.$ac_ext <<_ACEOF 9648 /* confdefs.h. */ 9649 _ACEOF 9650 cat confdefs.h >>conftest.$ac_ext 9651 cat >>conftest.$ac_ext <<_ACEOF 9652 /* end confdefs.h. */ 9653 $ac_includes_default 9654 int 9655 main () 9656 { 9657 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; 9658 test_array [0] = 0 9659 9660 ; 9661 return 0; 9662 } 9663 _ACEOF 9664 rm -f conftest.$ac_objext 9665 if { (ac_try="$ac_compile" 9666 case "(($ac_try" in 9667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9668 *) ac_try_echo=$ac_try;; 9669 esac 9670 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9671 $as_echo "$ac_try_echo") >&5 9672 (eval "$ac_compile") 2>conftest.er1 9673 ac_status=$? 9674 grep -v '^ *+' conftest.er1 >conftest.err 9675 rm -f conftest.er1 9676 cat conftest.err >&5 9677 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9678 (exit $ac_status); } && { 9679 test -z "$ac_cxx_werror_flag" || 9680 test ! -s conftest.err 9681 } && test -s conftest.$ac_objext; then 9682 ac_hi=$ac_mid 9683 else 9684 $as_echo "$as_me: failed program was:" >&5 9685 sed 's/^/| /' conftest.$ac_ext >&5 9686 9687 ac_lo=`expr '(' $ac_mid ')' + 1` 9688 fi 9689 9690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9691 done 9692 case $ac_lo in 9693 ?*) ac_cv_sizeof_int=$ac_lo;; 9694 '') if test "$ac_cv_type_int" = yes; then 9695 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8037 9696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8038 as_fn_error 77 "cannot compute sizeof (int) 8039 See \`config.log' for more details" "$LINENO" 5; } 9697 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 9698 See \`config.log' for more details." >&5 9699 $as_echo "$as_me: error: cannot compute sizeof (int) 9700 See \`config.log' for more details." >&2;} 9701 { (exit 77); exit 77; }; }; } 9702 else 9703 ac_cv_sizeof_int=0 9704 fi ;; 9705 esac 9706 else 9707 cat >conftest.$ac_ext <<_ACEOF 9708 /* confdefs.h. */ 9709 _ACEOF 9710 cat confdefs.h >>conftest.$ac_ext 9711 cat >>conftest.$ac_ext <<_ACEOF 9712 /* end confdefs.h. */ 9713 $ac_includes_default 9714 static long int longval () { return (long int) (sizeof (int)); } 9715 static unsigned long int ulongval () { return (long int) (sizeof (int)); } 9716 #include <stdio.h> 9717 #include <stdlib.h> 9718 int 9719 main () 9720 { 9721 9722 FILE *f = fopen ("conftest.val", "w"); 9723 if (! f) 9724 return 1; 9725 if (((long int) (sizeof (int))) < 0) 9726 { 9727 long int i = longval (); 9728 if (i != ((long int) (sizeof (int)))) 9729 return 1; 9730 fprintf (f, "%ld", i); 9731 } 9732 else 9733 { 9734 unsigned long int i = ulongval (); 9735 if (i != ((long int) (sizeof (int)))) 9736 return 1; 9737 fprintf (f, "%lu", i); 9738 } 9739 /* Do not output a trailing newline, as this causes \r\n confusion 9740 on some platforms. */ 9741 return ferror (f) || fclose (f) != 0; 9742 9743 ; 9744 return 0; 9745 } 9746 _ACEOF 9747 rm -f conftest$ac_exeext 9748 if { (ac_try="$ac_link" 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_link") 2>&5 9756 ac_status=$? 9757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9758 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9759 { (case "(($ac_try" in 9760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9761 *) ac_try_echo=$ac_try;; 9762 esac 9763 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9764 $as_echo "$ac_try_echo") >&5 9765 (eval "$ac_try") 2>&5 9766 ac_status=$? 9767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9768 (exit $ac_status); }; }; then 9769 ac_cv_sizeof_int=`cat conftest.val` 9770 else 9771 $as_echo "$as_me: program exited with status $ac_status" >&5 9772 $as_echo "$as_me: failed program was:" >&5 9773 sed 's/^/| /' conftest.$ac_ext >&5 9774 9775 ( exit $ac_status ) 9776 if test "$ac_cv_type_int" = yes; then 9777 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9778 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9779 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 9780 See \`config.log' for more details." >&5 9781 $as_echo "$as_me: error: cannot compute sizeof (int) 9782 See \`config.log' for more details." >&2;} 9783 { (exit 77); exit 77; }; }; } 8040 9784 else 8041 9785 ac_cv_sizeof_int=0 8042 9786 fi 8043 9787 fi 8044 8045 fi 8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 9788 rm -rf conftest.dSYM 9789 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9790 fi 9791 rm -f conftest.val 9792 fi 9793 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 8047 9794 $as_echo "$ac_cv_sizeof_int" >&6; } 8048 9795 … … 8058 9805 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8059 9806 # This bug is HP SR number 8606223364. 8060 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of long" >&59807 { $as_echo "$as_me:$LINENO: checking size of long" >&5 8061 9808 $as_echo_n "checking size of long... " >&6; } 8062 if ${ac_cv_sizeof_long+:} false; then :9809 if test "${ac_cv_sizeof_long+set}" = set; then 8063 9810 $as_echo_n "(cached) " >&6 8064 9811 else 8065 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 8066 8067 else 8068 if test "$ac_cv_type_long" = yes; then 8069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9812 if test "$cross_compiling" = yes; then 9813 # Depending upon the size, compute the lo and hi bounds. 9814 cat >conftest.$ac_ext <<_ACEOF 9815 /* confdefs.h. */ 9816 _ACEOF 9817 cat confdefs.h >>conftest.$ac_ext 9818 cat >>conftest.$ac_ext <<_ACEOF 9819 /* end confdefs.h. */ 9820 $ac_includes_default 9821 int 9822 main () 9823 { 9824 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)]; 9825 test_array [0] = 0 9826 9827 ; 9828 return 0; 9829 } 9830 _ACEOF 9831 rm -f conftest.$ac_objext 9832 if { (ac_try="$ac_compile" 9833 case "(($ac_try" in 9834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9835 *) ac_try_echo=$ac_try;; 9836 esac 9837 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9838 $as_echo "$ac_try_echo") >&5 9839 (eval "$ac_compile") 2>conftest.er1 9840 ac_status=$? 9841 grep -v '^ *+' conftest.er1 >conftest.err 9842 rm -f conftest.er1 9843 cat conftest.err >&5 9844 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9845 (exit $ac_status); } && { 9846 test -z "$ac_cxx_werror_flag" || 9847 test ! -s conftest.err 9848 } && test -s conftest.$ac_objext; then 9849 ac_lo=0 ac_mid=0 9850 while :; do 9851 cat >conftest.$ac_ext <<_ACEOF 9852 /* confdefs.h. */ 9853 _ACEOF 9854 cat confdefs.h >>conftest.$ac_ext 9855 cat >>conftest.$ac_ext <<_ACEOF 9856 /* end confdefs.h. */ 9857 $ac_includes_default 9858 int 9859 main () 9860 { 9861 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; 9862 test_array [0] = 0 9863 9864 ; 9865 return 0; 9866 } 9867 _ACEOF 9868 rm -f conftest.$ac_objext 9869 if { (ac_try="$ac_compile" 9870 case "(($ac_try" in 9871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9872 *) ac_try_echo=$ac_try;; 9873 esac 9874 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9875 $as_echo "$ac_try_echo") >&5 9876 (eval "$ac_compile") 2>conftest.er1 9877 ac_status=$? 9878 grep -v '^ *+' conftest.er1 >conftest.err 9879 rm -f conftest.er1 9880 cat conftest.err >&5 9881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9882 (exit $ac_status); } && { 9883 test -z "$ac_cxx_werror_flag" || 9884 test ! -s conftest.err 9885 } && test -s conftest.$ac_objext; then 9886 ac_hi=$ac_mid; break 9887 else 9888 $as_echo "$as_me: failed program was:" >&5 9889 sed 's/^/| /' conftest.$ac_ext >&5 9890 9891 ac_lo=`expr $ac_mid + 1` 9892 if test $ac_lo -le $ac_mid; then 9893 ac_lo= ac_hi= 9894 break 9895 fi 9896 ac_mid=`expr 2 '*' $ac_mid + 1` 9897 fi 9898 9899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9900 done 9901 else 9902 $as_echo "$as_me: failed program was:" >&5 9903 sed 's/^/| /' conftest.$ac_ext >&5 9904 9905 cat >conftest.$ac_ext <<_ACEOF 9906 /* confdefs.h. */ 9907 _ACEOF 9908 cat confdefs.h >>conftest.$ac_ext 9909 cat >>conftest.$ac_ext <<_ACEOF 9910 /* end confdefs.h. */ 9911 $ac_includes_default 9912 int 9913 main () 9914 { 9915 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)]; 9916 test_array [0] = 0 9917 9918 ; 9919 return 0; 9920 } 9921 _ACEOF 9922 rm -f conftest.$ac_objext 9923 if { (ac_try="$ac_compile" 9924 case "(($ac_try" in 9925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9926 *) ac_try_echo=$ac_try;; 9927 esac 9928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9929 $as_echo "$ac_try_echo") >&5 9930 (eval "$ac_compile") 2>conftest.er1 9931 ac_status=$? 9932 grep -v '^ *+' conftest.er1 >conftest.err 9933 rm -f conftest.er1 9934 cat conftest.err >&5 9935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9936 (exit $ac_status); } && { 9937 test -z "$ac_cxx_werror_flag" || 9938 test ! -s conftest.err 9939 } && test -s conftest.$ac_objext; then 9940 ac_hi=-1 ac_mid=-1 9941 while :; do 9942 cat >conftest.$ac_ext <<_ACEOF 9943 /* confdefs.h. */ 9944 _ACEOF 9945 cat confdefs.h >>conftest.$ac_ext 9946 cat >>conftest.$ac_ext <<_ACEOF 9947 /* end confdefs.h. */ 9948 $ac_includes_default 9949 int 9950 main () 9951 { 9952 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)]; 9953 test_array [0] = 0 9954 9955 ; 9956 return 0; 9957 } 9958 _ACEOF 9959 rm -f conftest.$ac_objext 9960 if { (ac_try="$ac_compile" 9961 case "(($ac_try" in 9962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9963 *) ac_try_echo=$ac_try;; 9964 esac 9965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9966 $as_echo "$ac_try_echo") >&5 9967 (eval "$ac_compile") 2>conftest.er1 9968 ac_status=$? 9969 grep -v '^ *+' conftest.er1 >conftest.err 9970 rm -f conftest.er1 9971 cat conftest.err >&5 9972 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9973 (exit $ac_status); } && { 9974 test -z "$ac_cxx_werror_flag" || 9975 test ! -s conftest.err 9976 } && test -s conftest.$ac_objext; then 9977 ac_lo=$ac_mid; break 9978 else 9979 $as_echo "$as_me: failed program was:" >&5 9980 sed 's/^/| /' conftest.$ac_ext >&5 9981 9982 ac_hi=`expr '(' $ac_mid ')' - 1` 9983 if test $ac_mid -le $ac_hi; then 9984 ac_lo= ac_hi= 9985 break 9986 fi 9987 ac_mid=`expr 2 '*' $ac_mid` 9988 fi 9989 9990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9991 done 9992 else 9993 $as_echo "$as_me: failed program was:" >&5 9994 sed 's/^/| /' conftest.$ac_ext >&5 9995 9996 ac_lo= ac_hi= 9997 fi 9998 9999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10000 fi 10001 10002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10003 # Binary search between lo and hi bounds. 10004 while test "x$ac_lo" != "x$ac_hi"; do 10005 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10006 cat >conftest.$ac_ext <<_ACEOF 10007 /* confdefs.h. */ 10008 _ACEOF 10009 cat confdefs.h >>conftest.$ac_ext 10010 cat >>conftest.$ac_ext <<_ACEOF 10011 /* end confdefs.h. */ 10012 $ac_includes_default 10013 int 10014 main () 10015 { 10016 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; 10017 test_array [0] = 0 10018 10019 ; 10020 return 0; 10021 } 10022 _ACEOF 10023 rm -f conftest.$ac_objext 10024 if { (ac_try="$ac_compile" 10025 case "(($ac_try" in 10026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10027 *) ac_try_echo=$ac_try;; 10028 esac 10029 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10030 $as_echo "$ac_try_echo") >&5 10031 (eval "$ac_compile") 2>conftest.er1 10032 ac_status=$? 10033 grep -v '^ *+' conftest.er1 >conftest.err 10034 rm -f conftest.er1 10035 cat conftest.err >&5 10036 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10037 (exit $ac_status); } && { 10038 test -z "$ac_cxx_werror_flag" || 10039 test ! -s conftest.err 10040 } && test -s conftest.$ac_objext; then 10041 ac_hi=$ac_mid 10042 else 10043 $as_echo "$as_me: failed program was:" >&5 10044 sed 's/^/| /' conftest.$ac_ext >&5 10045 10046 ac_lo=`expr '(' $ac_mid ')' + 1` 10047 fi 10048 10049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10050 done 10051 case $ac_lo in 10052 ?*) ac_cv_sizeof_long=$ac_lo;; 10053 '') if test "$ac_cv_type_long" = yes; then 10054 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8070 10055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8071 as_fn_error 77 "cannot compute sizeof (long) 8072 See \`config.log' for more details" "$LINENO" 5; } 10056 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 10057 See \`config.log' for more details." >&5 10058 $as_echo "$as_me: error: cannot compute sizeof (long) 10059 See \`config.log' for more details." >&2;} 10060 { (exit 77); exit 77; }; }; } 10061 else 10062 ac_cv_sizeof_long=0 10063 fi ;; 10064 esac 10065 else 10066 cat >conftest.$ac_ext <<_ACEOF 10067 /* confdefs.h. */ 10068 _ACEOF 10069 cat confdefs.h >>conftest.$ac_ext 10070 cat >>conftest.$ac_ext <<_ACEOF 10071 /* end confdefs.h. */ 10072 $ac_includes_default 10073 static long int longval () { return (long int) (sizeof (long)); } 10074 static unsigned long int ulongval () { return (long int) (sizeof (long)); } 10075 #include <stdio.h> 10076 #include <stdlib.h> 10077 int 10078 main () 10079 { 10080 10081 FILE *f = fopen ("conftest.val", "w"); 10082 if (! f) 10083 return 1; 10084 if (((long int) (sizeof (long))) < 0) 10085 { 10086 long int i = longval (); 10087 if (i != ((long int) (sizeof (long)))) 10088 return 1; 10089 fprintf (f, "%ld", i); 10090 } 10091 else 10092 { 10093 unsigned long int i = ulongval (); 10094 if (i != ((long int) (sizeof (long)))) 10095 return 1; 10096 fprintf (f, "%lu", i); 10097 } 10098 /* Do not output a trailing newline, as this causes \r\n confusion 10099 on some platforms. */ 10100 return ferror (f) || fclose (f) != 0; 10101 10102 ; 10103 return 0; 10104 } 10105 _ACEOF 10106 rm -f conftest$ac_exeext 10107 if { (ac_try="$ac_link" 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_link") 2>&5 10115 ac_status=$? 10116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10117 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10118 { (case "(($ac_try" in 10119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10120 *) ac_try_echo=$ac_try;; 10121 esac 10122 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10123 $as_echo "$ac_try_echo") >&5 10124 (eval "$ac_try") 2>&5 10125 ac_status=$? 10126 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10127 (exit $ac_status); }; }; then 10128 ac_cv_sizeof_long=`cat conftest.val` 10129 else 10130 $as_echo "$as_me: program exited with status $ac_status" >&5 10131 $as_echo "$as_me: failed program was:" >&5 10132 sed 's/^/| /' conftest.$ac_ext >&5 10133 10134 ( exit $ac_status ) 10135 if test "$ac_cv_type_long" = yes; then 10136 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10138 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 10139 See \`config.log' for more details." >&5 10140 $as_echo "$as_me: error: cannot compute sizeof (long) 10141 See \`config.log' for more details." >&2;} 10142 { (exit 77); exit 77; }; }; } 8073 10143 else 8074 10144 ac_cv_sizeof_long=0 8075 10145 fi 8076 10146 fi 8077 8078 fi 8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 10147 rm -rf conftest.dSYM 10148 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10149 fi 10150 rm -f conftest.val 10151 fi 10152 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 8080 10153 $as_echo "$ac_cv_sizeof_long" >&6; } 8081 10154 … … 8091 10164 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8092 10165 # This bug is HP SR number 8606223364. 8093 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of long long" >&510166 { $as_echo "$as_me:$LINENO: checking size of long long" >&5 8094 10167 $as_echo_n "checking size of long long... " >&6; } 8095 if ${ac_cv_sizeof_long_long+:} false; then :10168 if test "${ac_cv_sizeof_long_long+set}" = set; then 8096 10169 $as_echo_n "(cached) " >&6 8097 10170 else 8098 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 8099 8100 else 8101 if test "$ac_cv_type_long_long" = yes; then 8102 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10171 if test "$cross_compiling" = yes; then 10172 # Depending upon the size, compute the lo and hi bounds. 10173 cat >conftest.$ac_ext <<_ACEOF 10174 /* confdefs.h. */ 10175 _ACEOF 10176 cat confdefs.h >>conftest.$ac_ext 10177 cat >>conftest.$ac_ext <<_ACEOF 10178 /* end confdefs.h. */ 10179 $ac_includes_default 10180 int 10181 main () 10182 { 10183 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)]; 10184 test_array [0] = 0 10185 10186 ; 10187 return 0; 10188 } 10189 _ACEOF 10190 rm -f conftest.$ac_objext 10191 if { (ac_try="$ac_compile" 10192 case "(($ac_try" in 10193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10194 *) ac_try_echo=$ac_try;; 10195 esac 10196 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10197 $as_echo "$ac_try_echo") >&5 10198 (eval "$ac_compile") 2>conftest.er1 10199 ac_status=$? 10200 grep -v '^ *+' conftest.er1 >conftest.err 10201 rm -f conftest.er1 10202 cat conftest.err >&5 10203 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10204 (exit $ac_status); } && { 10205 test -z "$ac_cxx_werror_flag" || 10206 test ! -s conftest.err 10207 } && test -s conftest.$ac_objext; then 10208 ac_lo=0 ac_mid=0 10209 while :; do 10210 cat >conftest.$ac_ext <<_ACEOF 10211 /* confdefs.h. */ 10212 _ACEOF 10213 cat confdefs.h >>conftest.$ac_ext 10214 cat >>conftest.$ac_ext <<_ACEOF 10215 /* end confdefs.h. */ 10216 $ac_includes_default 10217 int 10218 main () 10219 { 10220 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; 10221 test_array [0] = 0 10222 10223 ; 10224 return 0; 10225 } 10226 _ACEOF 10227 rm -f conftest.$ac_objext 10228 if { (ac_try="$ac_compile" 10229 case "(($ac_try" in 10230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10231 *) ac_try_echo=$ac_try;; 10232 esac 10233 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10234 $as_echo "$ac_try_echo") >&5 10235 (eval "$ac_compile") 2>conftest.er1 10236 ac_status=$? 10237 grep -v '^ *+' conftest.er1 >conftest.err 10238 rm -f conftest.er1 10239 cat conftest.err >&5 10240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10241 (exit $ac_status); } && { 10242 test -z "$ac_cxx_werror_flag" || 10243 test ! -s conftest.err 10244 } && test -s conftest.$ac_objext; then 10245 ac_hi=$ac_mid; break 10246 else 10247 $as_echo "$as_me: failed program was:" >&5 10248 sed 's/^/| /' conftest.$ac_ext >&5 10249 10250 ac_lo=`expr $ac_mid + 1` 10251 if test $ac_lo -le $ac_mid; then 10252 ac_lo= ac_hi= 10253 break 10254 fi 10255 ac_mid=`expr 2 '*' $ac_mid + 1` 10256 fi 10257 10258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10259 done 10260 else 10261 $as_echo "$as_me: failed program was:" >&5 10262 sed 's/^/| /' conftest.$ac_ext >&5 10263 10264 cat >conftest.$ac_ext <<_ACEOF 10265 /* confdefs.h. */ 10266 _ACEOF 10267 cat confdefs.h >>conftest.$ac_ext 10268 cat >>conftest.$ac_ext <<_ACEOF 10269 /* end confdefs.h. */ 10270 $ac_includes_default 10271 int 10272 main () 10273 { 10274 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)]; 10275 test_array [0] = 0 10276 10277 ; 10278 return 0; 10279 } 10280 _ACEOF 10281 rm -f conftest.$ac_objext 10282 if { (ac_try="$ac_compile" 10283 case "(($ac_try" in 10284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10285 *) ac_try_echo=$ac_try;; 10286 esac 10287 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10288 $as_echo "$ac_try_echo") >&5 10289 (eval "$ac_compile") 2>conftest.er1 10290 ac_status=$? 10291 grep -v '^ *+' conftest.er1 >conftest.err 10292 rm -f conftest.er1 10293 cat conftest.err >&5 10294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10295 (exit $ac_status); } && { 10296 test -z "$ac_cxx_werror_flag" || 10297 test ! -s conftest.err 10298 } && test -s conftest.$ac_objext; then 10299 ac_hi=-1 ac_mid=-1 10300 while :; do 10301 cat >conftest.$ac_ext <<_ACEOF 10302 /* confdefs.h. */ 10303 _ACEOF 10304 cat confdefs.h >>conftest.$ac_ext 10305 cat >>conftest.$ac_ext <<_ACEOF 10306 /* end confdefs.h. */ 10307 $ac_includes_default 10308 int 10309 main () 10310 { 10311 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)]; 10312 test_array [0] = 0 10313 10314 ; 10315 return 0; 10316 } 10317 _ACEOF 10318 rm -f conftest.$ac_objext 10319 if { (ac_try="$ac_compile" 10320 case "(($ac_try" in 10321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10322 *) ac_try_echo=$ac_try;; 10323 esac 10324 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10325 $as_echo "$ac_try_echo") >&5 10326 (eval "$ac_compile") 2>conftest.er1 10327 ac_status=$? 10328 grep -v '^ *+' conftest.er1 >conftest.err 10329 rm -f conftest.er1 10330 cat conftest.err >&5 10331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10332 (exit $ac_status); } && { 10333 test -z "$ac_cxx_werror_flag" || 10334 test ! -s conftest.err 10335 } && test -s conftest.$ac_objext; then 10336 ac_lo=$ac_mid; break 10337 else 10338 $as_echo "$as_me: failed program was:" >&5 10339 sed 's/^/| /' conftest.$ac_ext >&5 10340 10341 ac_hi=`expr '(' $ac_mid ')' - 1` 10342 if test $ac_mid -le $ac_hi; then 10343 ac_lo= ac_hi= 10344 break 10345 fi 10346 ac_mid=`expr 2 '*' $ac_mid` 10347 fi 10348 10349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10350 done 10351 else 10352 $as_echo "$as_me: failed program was:" >&5 10353 sed 's/^/| /' conftest.$ac_ext >&5 10354 10355 ac_lo= ac_hi= 10356 fi 10357 10358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10359 fi 10360 10361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10362 # Binary search between lo and hi bounds. 10363 while test "x$ac_lo" != "x$ac_hi"; do 10364 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10365 cat >conftest.$ac_ext <<_ACEOF 10366 /* confdefs.h. */ 10367 _ACEOF 10368 cat confdefs.h >>conftest.$ac_ext 10369 cat >>conftest.$ac_ext <<_ACEOF 10370 /* end confdefs.h. */ 10371 $ac_includes_default 10372 int 10373 main () 10374 { 10375 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; 10376 test_array [0] = 0 10377 10378 ; 10379 return 0; 10380 } 10381 _ACEOF 10382 rm -f conftest.$ac_objext 10383 if { (ac_try="$ac_compile" 10384 case "(($ac_try" in 10385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10386 *) ac_try_echo=$ac_try;; 10387 esac 10388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10389 $as_echo "$ac_try_echo") >&5 10390 (eval "$ac_compile") 2>conftest.er1 10391 ac_status=$? 10392 grep -v '^ *+' conftest.er1 >conftest.err 10393 rm -f conftest.er1 10394 cat conftest.err >&5 10395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10396 (exit $ac_status); } && { 10397 test -z "$ac_cxx_werror_flag" || 10398 test ! -s conftest.err 10399 } && test -s conftest.$ac_objext; then 10400 ac_hi=$ac_mid 10401 else 10402 $as_echo "$as_me: failed program was:" >&5 10403 sed 's/^/| /' conftest.$ac_ext >&5 10404 10405 ac_lo=`expr '(' $ac_mid ')' + 1` 10406 fi 10407 10408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10409 done 10410 case $ac_lo in 10411 ?*) ac_cv_sizeof_long_long=$ac_lo;; 10412 '') if test "$ac_cv_type_long_long" = yes; then 10413 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8103 10414 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8104 as_fn_error 77 "cannot compute sizeof (long long) 8105 See \`config.log' for more details" "$LINENO" 5; } 10415 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 10416 See \`config.log' for more details." >&5 10417 $as_echo "$as_me: error: cannot compute sizeof (long long) 10418 See \`config.log' for more details." >&2;} 10419 { (exit 77); exit 77; }; }; } 10420 else 10421 ac_cv_sizeof_long_long=0 10422 fi ;; 10423 esac 10424 else 10425 cat >conftest.$ac_ext <<_ACEOF 10426 /* confdefs.h. */ 10427 _ACEOF 10428 cat confdefs.h >>conftest.$ac_ext 10429 cat >>conftest.$ac_ext <<_ACEOF 10430 /* end confdefs.h. */ 10431 $ac_includes_default 10432 static long int longval () { return (long int) (sizeof (long long)); } 10433 static unsigned long int ulongval () { return (long int) (sizeof (long long)); } 10434 #include <stdio.h> 10435 #include <stdlib.h> 10436 int 10437 main () 10438 { 10439 10440 FILE *f = fopen ("conftest.val", "w"); 10441 if (! f) 10442 return 1; 10443 if (((long int) (sizeof (long long))) < 0) 10444 { 10445 long int i = longval (); 10446 if (i != ((long int) (sizeof (long long)))) 10447 return 1; 10448 fprintf (f, "%ld", i); 10449 } 10450 else 10451 { 10452 unsigned long int i = ulongval (); 10453 if (i != ((long int) (sizeof (long long)))) 10454 return 1; 10455 fprintf (f, "%lu", i); 10456 } 10457 /* Do not output a trailing newline, as this causes \r\n confusion 10458 on some platforms. */ 10459 return ferror (f) || fclose (f) != 0; 10460 10461 ; 10462 return 0; 10463 } 10464 _ACEOF 10465 rm -f conftest$ac_exeext 10466 if { (ac_try="$ac_link" 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_link") 2>&5 10474 ac_status=$? 10475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10476 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10477 { (case "(($ac_try" in 10478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10479 *) ac_try_echo=$ac_try;; 10480 esac 10481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10482 $as_echo "$ac_try_echo") >&5 10483 (eval "$ac_try") 2>&5 10484 ac_status=$? 10485 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10486 (exit $ac_status); }; }; then 10487 ac_cv_sizeof_long_long=`cat conftest.val` 10488 else 10489 $as_echo "$as_me: program exited with status $ac_status" >&5 10490 $as_echo "$as_me: failed program was:" >&5 10491 sed 's/^/| /' conftest.$ac_ext >&5 10492 10493 ( exit $ac_status ) 10494 if test "$ac_cv_type_long_long" = yes; then 10495 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10497 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 10498 See \`config.log' for more details." >&5 10499 $as_echo "$as_me: error: cannot compute sizeof (long long) 10500 See \`config.log' for more details." >&2;} 10501 { (exit 77); exit 77; }; }; } 8106 10502 else 8107 10503 ac_cv_sizeof_long_long=0 8108 10504 fi 8109 10505 fi 8110 8111 fi 8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 10506 rm -rf conftest.dSYM 10507 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10508 fi 10509 rm -f conftest.val 10510 fi 10511 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 8113 10512 $as_echo "$ac_cv_sizeof_long_long" >&6; } 8114 10513 … … 8124 10523 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8125 10524 # This bug is HP SR number 8606223364. 8126 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of void *" >&510525 { $as_echo "$as_me:$LINENO: checking size of void *" >&5 8127 10526 $as_echo_n "checking size of void *... " >&6; } 8128 if ${ac_cv_sizeof_void_p+:} false; then :10527 if test "${ac_cv_sizeof_void_p+set}" = set; then 8129 10528 $as_echo_n "(cached) " >&6 8130 10529 else 8131 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 8132 8133 else 8134 if test "$ac_cv_type_void_p" = yes; then 8135 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10530 if test "$cross_compiling" = yes; then 10531 # Depending upon the size, compute the lo and hi bounds. 10532 cat >conftest.$ac_ext <<_ACEOF 10533 /* confdefs.h. */ 10534 _ACEOF 10535 cat confdefs.h >>conftest.$ac_ext 10536 cat >>conftest.$ac_ext <<_ACEOF 10537 /* end confdefs.h. */ 10538 $ac_includes_default 10539 int 10540 main () 10541 { 10542 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)]; 10543 test_array [0] = 0 10544 10545 ; 10546 return 0; 10547 } 10548 _ACEOF 10549 rm -f conftest.$ac_objext 10550 if { (ac_try="$ac_compile" 10551 case "(($ac_try" in 10552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10553 *) ac_try_echo=$ac_try;; 10554 esac 10555 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10556 $as_echo "$ac_try_echo") >&5 10557 (eval "$ac_compile") 2>conftest.er1 10558 ac_status=$? 10559 grep -v '^ *+' conftest.er1 >conftest.err 10560 rm -f conftest.er1 10561 cat conftest.err >&5 10562 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10563 (exit $ac_status); } && { 10564 test -z "$ac_cxx_werror_flag" || 10565 test ! -s conftest.err 10566 } && test -s conftest.$ac_objext; then 10567 ac_lo=0 ac_mid=0 10568 while :; do 10569 cat >conftest.$ac_ext <<_ACEOF 10570 /* confdefs.h. */ 10571 _ACEOF 10572 cat confdefs.h >>conftest.$ac_ext 10573 cat >>conftest.$ac_ext <<_ACEOF 10574 /* end confdefs.h. */ 10575 $ac_includes_default 10576 int 10577 main () 10578 { 10579 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; 10580 test_array [0] = 0 10581 10582 ; 10583 return 0; 10584 } 10585 _ACEOF 10586 rm -f conftest.$ac_objext 10587 if { (ac_try="$ac_compile" 10588 case "(($ac_try" in 10589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10590 *) ac_try_echo=$ac_try;; 10591 esac 10592 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10593 $as_echo "$ac_try_echo") >&5 10594 (eval "$ac_compile") 2>conftest.er1 10595 ac_status=$? 10596 grep -v '^ *+' conftest.er1 >conftest.err 10597 rm -f conftest.er1 10598 cat conftest.err >&5 10599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10600 (exit $ac_status); } && { 10601 test -z "$ac_cxx_werror_flag" || 10602 test ! -s conftest.err 10603 } && test -s conftest.$ac_objext; then 10604 ac_hi=$ac_mid; break 10605 else 10606 $as_echo "$as_me: failed program was:" >&5 10607 sed 's/^/| /' conftest.$ac_ext >&5 10608 10609 ac_lo=`expr $ac_mid + 1` 10610 if test $ac_lo -le $ac_mid; then 10611 ac_lo= ac_hi= 10612 break 10613 fi 10614 ac_mid=`expr 2 '*' $ac_mid + 1` 10615 fi 10616 10617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10618 done 10619 else 10620 $as_echo "$as_me: failed program was:" >&5 10621 sed 's/^/| /' conftest.$ac_ext >&5 10622 10623 cat >conftest.$ac_ext <<_ACEOF 10624 /* confdefs.h. */ 10625 _ACEOF 10626 cat confdefs.h >>conftest.$ac_ext 10627 cat >>conftest.$ac_ext <<_ACEOF 10628 /* end confdefs.h. */ 10629 $ac_includes_default 10630 int 10631 main () 10632 { 10633 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)]; 10634 test_array [0] = 0 10635 10636 ; 10637 return 0; 10638 } 10639 _ACEOF 10640 rm -f conftest.$ac_objext 10641 if { (ac_try="$ac_compile" 10642 case "(($ac_try" in 10643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10644 *) ac_try_echo=$ac_try;; 10645 esac 10646 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10647 $as_echo "$ac_try_echo") >&5 10648 (eval "$ac_compile") 2>conftest.er1 10649 ac_status=$? 10650 grep -v '^ *+' conftest.er1 >conftest.err 10651 rm -f conftest.er1 10652 cat conftest.err >&5 10653 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10654 (exit $ac_status); } && { 10655 test -z "$ac_cxx_werror_flag" || 10656 test ! -s conftest.err 10657 } && test -s conftest.$ac_objext; then 10658 ac_hi=-1 ac_mid=-1 10659 while :; do 10660 cat >conftest.$ac_ext <<_ACEOF 10661 /* confdefs.h. */ 10662 _ACEOF 10663 cat confdefs.h >>conftest.$ac_ext 10664 cat >>conftest.$ac_ext <<_ACEOF 10665 /* end confdefs.h. */ 10666 $ac_includes_default 10667 int 10668 main () 10669 { 10670 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)]; 10671 test_array [0] = 0 10672 10673 ; 10674 return 0; 10675 } 10676 _ACEOF 10677 rm -f conftest.$ac_objext 10678 if { (ac_try="$ac_compile" 10679 case "(($ac_try" in 10680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10681 *) ac_try_echo=$ac_try;; 10682 esac 10683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10684 $as_echo "$ac_try_echo") >&5 10685 (eval "$ac_compile") 2>conftest.er1 10686 ac_status=$? 10687 grep -v '^ *+' conftest.er1 >conftest.err 10688 rm -f conftest.er1 10689 cat conftest.err >&5 10690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10691 (exit $ac_status); } && { 10692 test -z "$ac_cxx_werror_flag" || 10693 test ! -s conftest.err 10694 } && test -s conftest.$ac_objext; then 10695 ac_lo=$ac_mid; break 10696 else 10697 $as_echo "$as_me: failed program was:" >&5 10698 sed 's/^/| /' conftest.$ac_ext >&5 10699 10700 ac_hi=`expr '(' $ac_mid ')' - 1` 10701 if test $ac_mid -le $ac_hi; then 10702 ac_lo= ac_hi= 10703 break 10704 fi 10705 ac_mid=`expr 2 '*' $ac_mid` 10706 fi 10707 10708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10709 done 10710 else 10711 $as_echo "$as_me: failed program was:" >&5 10712 sed 's/^/| /' conftest.$ac_ext >&5 10713 10714 ac_lo= ac_hi= 10715 fi 10716 10717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10718 fi 10719 10720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10721 # Binary search between lo and hi bounds. 10722 while test "x$ac_lo" != "x$ac_hi"; do 10723 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10724 cat >conftest.$ac_ext <<_ACEOF 10725 /* confdefs.h. */ 10726 _ACEOF 10727 cat confdefs.h >>conftest.$ac_ext 10728 cat >>conftest.$ac_ext <<_ACEOF 10729 /* end confdefs.h. */ 10730 $ac_includes_default 10731 int 10732 main () 10733 { 10734 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; 10735 test_array [0] = 0 10736 10737 ; 10738 return 0; 10739 } 10740 _ACEOF 10741 rm -f conftest.$ac_objext 10742 if { (ac_try="$ac_compile" 10743 case "(($ac_try" in 10744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10745 *) ac_try_echo=$ac_try;; 10746 esac 10747 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10748 $as_echo "$ac_try_echo") >&5 10749 (eval "$ac_compile") 2>conftest.er1 10750 ac_status=$? 10751 grep -v '^ *+' conftest.er1 >conftest.err 10752 rm -f conftest.er1 10753 cat conftest.err >&5 10754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10755 (exit $ac_status); } && { 10756 test -z "$ac_cxx_werror_flag" || 10757 test ! -s conftest.err 10758 } && test -s conftest.$ac_objext; then 10759 ac_hi=$ac_mid 10760 else 10761 $as_echo "$as_me: failed program was:" >&5 10762 sed 's/^/| /' conftest.$ac_ext >&5 10763 10764 ac_lo=`expr '(' $ac_mid ')' + 1` 10765 fi 10766 10767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10768 done 10769 case $ac_lo in 10770 ?*) ac_cv_sizeof_void_p=$ac_lo;; 10771 '') if test "$ac_cv_type_void_p" = yes; then 10772 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8136 10773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8137 as_fn_error 77 "cannot compute sizeof (void *) 8138 See \`config.log' for more details" "$LINENO" 5; } 10774 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 10775 See \`config.log' for more details." >&5 10776 $as_echo "$as_me: error: cannot compute sizeof (void *) 10777 See \`config.log' for more details." >&2;} 10778 { (exit 77); exit 77; }; }; } 10779 else 10780 ac_cv_sizeof_void_p=0 10781 fi ;; 10782 esac 10783 else 10784 cat >conftest.$ac_ext <<_ACEOF 10785 /* confdefs.h. */ 10786 _ACEOF 10787 cat confdefs.h >>conftest.$ac_ext 10788 cat >>conftest.$ac_ext <<_ACEOF 10789 /* end confdefs.h. */ 10790 $ac_includes_default 10791 static long int longval () { return (long int) (sizeof (void *)); } 10792 static unsigned long int ulongval () { return (long int) (sizeof (void *)); } 10793 #include <stdio.h> 10794 #include <stdlib.h> 10795 int 10796 main () 10797 { 10798 10799 FILE *f = fopen ("conftest.val", "w"); 10800 if (! f) 10801 return 1; 10802 if (((long int) (sizeof (void *))) < 0) 10803 { 10804 long int i = longval (); 10805 if (i != ((long int) (sizeof (void *)))) 10806 return 1; 10807 fprintf (f, "%ld", i); 10808 } 10809 else 10810 { 10811 unsigned long int i = ulongval (); 10812 if (i != ((long int) (sizeof (void *)))) 10813 return 1; 10814 fprintf (f, "%lu", i); 10815 } 10816 /* Do not output a trailing newline, as this causes \r\n confusion 10817 on some platforms. */ 10818 return ferror (f) || fclose (f) != 0; 10819 10820 ; 10821 return 0; 10822 } 10823 _ACEOF 10824 rm -f conftest$ac_exeext 10825 if { (ac_try="$ac_link" 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_link") 2>&5 10833 ac_status=$? 10834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10835 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10836 { (case "(($ac_try" in 10837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10838 *) ac_try_echo=$ac_try;; 10839 esac 10840 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10841 $as_echo "$ac_try_echo") >&5 10842 (eval "$ac_try") 2>&5 10843 ac_status=$? 10844 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10845 (exit $ac_status); }; }; then 10846 ac_cv_sizeof_void_p=`cat conftest.val` 10847 else 10848 $as_echo "$as_me: program exited with status $ac_status" >&5 10849 $as_echo "$as_me: failed program was:" >&5 10850 sed 's/^/| /' conftest.$ac_ext >&5 10851 10852 ( exit $ac_status ) 10853 if test "$ac_cv_type_void_p" = yes; then 10854 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10856 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 10857 See \`config.log' for more details." >&5 10858 $as_echo "$as_me: error: cannot compute sizeof (void *) 10859 See \`config.log' for more details." >&2;} 10860 { (exit 77); exit 77; }; }; } 8139 10861 else 8140 10862 ac_cv_sizeof_void_p=0 8141 10863 fi 8142 10864 fi 8143 8144 fi 8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 10865 rm -rf conftest.dSYM 10866 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10867 fi 10868 rm -f conftest.val 10869 fi 10870 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 8146 10871 $as_echo "$ac_cv_sizeof_void_p" >&6; } 8147 10872 … … 8157 10882 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8158 10883 # This bug is HP SR number 8606223364. 8159 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of float" >&510884 { $as_echo "$as_me:$LINENO: checking size of float" >&5 8160 10885 $as_echo_n "checking size of float... " >&6; } 8161 if ${ac_cv_sizeof_float+:} false; then :10886 if test "${ac_cv_sizeof_float+set}" = set; then 8162 10887 $as_echo_n "(cached) " >&6 8163 10888 else 8164 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then : 8165 8166 else 8167 if test "$ac_cv_type_float" = yes; then 8168 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10889 if test "$cross_compiling" = yes; then 10890 # Depending upon the size, compute the lo and hi bounds. 10891 cat >conftest.$ac_ext <<_ACEOF 10892 /* confdefs.h. */ 10893 _ACEOF 10894 cat confdefs.h >>conftest.$ac_ext 10895 cat >>conftest.$ac_ext <<_ACEOF 10896 /* end confdefs.h. */ 10897 $ac_includes_default 10898 int 10899 main () 10900 { 10901 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= 0)]; 10902 test_array [0] = 0 10903 10904 ; 10905 return 0; 10906 } 10907 _ACEOF 10908 rm -f conftest.$ac_objext 10909 if { (ac_try="$ac_compile" 10910 case "(($ac_try" in 10911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10912 *) ac_try_echo=$ac_try;; 10913 esac 10914 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10915 $as_echo "$ac_try_echo") >&5 10916 (eval "$ac_compile") 2>conftest.er1 10917 ac_status=$? 10918 grep -v '^ *+' conftest.er1 >conftest.err 10919 rm -f conftest.er1 10920 cat conftest.err >&5 10921 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10922 (exit $ac_status); } && { 10923 test -z "$ac_cxx_werror_flag" || 10924 test ! -s conftest.err 10925 } && test -s conftest.$ac_objext; then 10926 ac_lo=0 ac_mid=0 10927 while :; do 10928 cat >conftest.$ac_ext <<_ACEOF 10929 /* confdefs.h. */ 10930 _ACEOF 10931 cat confdefs.h >>conftest.$ac_ext 10932 cat >>conftest.$ac_ext <<_ACEOF 10933 /* end confdefs.h. */ 10934 $ac_includes_default 10935 int 10936 main () 10937 { 10938 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)]; 10939 test_array [0] = 0 10940 10941 ; 10942 return 0; 10943 } 10944 _ACEOF 10945 rm -f conftest.$ac_objext 10946 if { (ac_try="$ac_compile" 10947 case "(($ac_try" in 10948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10949 *) ac_try_echo=$ac_try;; 10950 esac 10951 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10952 $as_echo "$ac_try_echo") >&5 10953 (eval "$ac_compile") 2>conftest.er1 10954 ac_status=$? 10955 grep -v '^ *+' conftest.er1 >conftest.err 10956 rm -f conftest.er1 10957 cat conftest.err >&5 10958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10959 (exit $ac_status); } && { 10960 test -z "$ac_cxx_werror_flag" || 10961 test ! -s conftest.err 10962 } && test -s conftest.$ac_objext; then 10963 ac_hi=$ac_mid; break 10964 else 10965 $as_echo "$as_me: failed program was:" >&5 10966 sed 's/^/| /' conftest.$ac_ext >&5 10967 10968 ac_lo=`expr $ac_mid + 1` 10969 if test $ac_lo -le $ac_mid; then 10970 ac_lo= ac_hi= 10971 break 10972 fi 10973 ac_mid=`expr 2 '*' $ac_mid + 1` 10974 fi 10975 10976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10977 done 10978 else 10979 $as_echo "$as_me: failed program was:" >&5 10980 sed 's/^/| /' conftest.$ac_ext >&5 10981 10982 cat >conftest.$ac_ext <<_ACEOF 10983 /* confdefs.h. */ 10984 _ACEOF 10985 cat confdefs.h >>conftest.$ac_ext 10986 cat >>conftest.$ac_ext <<_ACEOF 10987 /* end confdefs.h. */ 10988 $ac_includes_default 10989 int 10990 main () 10991 { 10992 static int test_array [1 - 2 * !(((long int) (sizeof (float))) < 0)]; 10993 test_array [0] = 0 10994 10995 ; 10996 return 0; 10997 } 10998 _ACEOF 10999 rm -f conftest.$ac_objext 11000 if { (ac_try="$ac_compile" 11001 case "(($ac_try" in 11002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11003 *) ac_try_echo=$ac_try;; 11004 esac 11005 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11006 $as_echo "$ac_try_echo") >&5 11007 (eval "$ac_compile") 2>conftest.er1 11008 ac_status=$? 11009 grep -v '^ *+' conftest.er1 >conftest.err 11010 rm -f conftest.er1 11011 cat conftest.err >&5 11012 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11013 (exit $ac_status); } && { 11014 test -z "$ac_cxx_werror_flag" || 11015 test ! -s conftest.err 11016 } && test -s conftest.$ac_objext; then 11017 ac_hi=-1 ac_mid=-1 11018 while :; do 11019 cat >conftest.$ac_ext <<_ACEOF 11020 /* confdefs.h. */ 11021 _ACEOF 11022 cat confdefs.h >>conftest.$ac_ext 11023 cat >>conftest.$ac_ext <<_ACEOF 11024 /* end confdefs.h. */ 11025 $ac_includes_default 11026 int 11027 main () 11028 { 11029 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= $ac_mid)]; 11030 test_array [0] = 0 11031 11032 ; 11033 return 0; 11034 } 11035 _ACEOF 11036 rm -f conftest.$ac_objext 11037 if { (ac_try="$ac_compile" 11038 case "(($ac_try" in 11039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11040 *) ac_try_echo=$ac_try;; 11041 esac 11042 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11043 $as_echo "$ac_try_echo") >&5 11044 (eval "$ac_compile") 2>conftest.er1 11045 ac_status=$? 11046 grep -v '^ *+' conftest.er1 >conftest.err 11047 rm -f conftest.er1 11048 cat conftest.err >&5 11049 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11050 (exit $ac_status); } && { 11051 test -z "$ac_cxx_werror_flag" || 11052 test ! -s conftest.err 11053 } && test -s conftest.$ac_objext; then 11054 ac_lo=$ac_mid; break 11055 else 11056 $as_echo "$as_me: failed program was:" >&5 11057 sed 's/^/| /' conftest.$ac_ext >&5 11058 11059 ac_hi=`expr '(' $ac_mid ')' - 1` 11060 if test $ac_mid -le $ac_hi; then 11061 ac_lo= ac_hi= 11062 break 11063 fi 11064 ac_mid=`expr 2 '*' $ac_mid` 11065 fi 11066 11067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11068 done 11069 else 11070 $as_echo "$as_me: failed program was:" >&5 11071 sed 's/^/| /' conftest.$ac_ext >&5 11072 11073 ac_lo= ac_hi= 11074 fi 11075 11076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11077 fi 11078 11079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11080 # Binary search between lo and hi bounds. 11081 while test "x$ac_lo" != "x$ac_hi"; do 11082 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 11083 cat >conftest.$ac_ext <<_ACEOF 11084 /* confdefs.h. */ 11085 _ACEOF 11086 cat confdefs.h >>conftest.$ac_ext 11087 cat >>conftest.$ac_ext <<_ACEOF 11088 /* end confdefs.h. */ 11089 $ac_includes_default 11090 int 11091 main () 11092 { 11093 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)]; 11094 test_array [0] = 0 11095 11096 ; 11097 return 0; 11098 } 11099 _ACEOF 11100 rm -f conftest.$ac_objext 11101 if { (ac_try="$ac_compile" 11102 case "(($ac_try" in 11103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11104 *) ac_try_echo=$ac_try;; 11105 esac 11106 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11107 $as_echo "$ac_try_echo") >&5 11108 (eval "$ac_compile") 2>conftest.er1 11109 ac_status=$? 11110 grep -v '^ *+' conftest.er1 >conftest.err 11111 rm -f conftest.er1 11112 cat conftest.err >&5 11113 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11114 (exit $ac_status); } && { 11115 test -z "$ac_cxx_werror_flag" || 11116 test ! -s conftest.err 11117 } && test -s conftest.$ac_objext; then 11118 ac_hi=$ac_mid 11119 else 11120 $as_echo "$as_me: failed program was:" >&5 11121 sed 's/^/| /' conftest.$ac_ext >&5 11122 11123 ac_lo=`expr '(' $ac_mid ')' + 1` 11124 fi 11125 11126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11127 done 11128 case $ac_lo in 11129 ?*) ac_cv_sizeof_float=$ac_lo;; 11130 '') if test "$ac_cv_type_float" = yes; then 11131 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8169 11132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8170 as_fn_error 77 "cannot compute sizeof (float) 8171 See \`config.log' for more details" "$LINENO" 5; } 11133 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float) 11134 See \`config.log' for more details." >&5 11135 $as_echo "$as_me: error: cannot compute sizeof (float) 11136 See \`config.log' for more details." >&2;} 11137 { (exit 77); exit 77; }; }; } 11138 else 11139 ac_cv_sizeof_float=0 11140 fi ;; 11141 esac 11142 else 11143 cat >conftest.$ac_ext <<_ACEOF 11144 /* confdefs.h. */ 11145 _ACEOF 11146 cat confdefs.h >>conftest.$ac_ext 11147 cat >>conftest.$ac_ext <<_ACEOF 11148 /* end confdefs.h. */ 11149 $ac_includes_default 11150 static long int longval () { return (long int) (sizeof (float)); } 11151 static unsigned long int ulongval () { return (long int) (sizeof (float)); } 11152 #include <stdio.h> 11153 #include <stdlib.h> 11154 int 11155 main () 11156 { 11157 11158 FILE *f = fopen ("conftest.val", "w"); 11159 if (! f) 11160 return 1; 11161 if (((long int) (sizeof (float))) < 0) 11162 { 11163 long int i = longval (); 11164 if (i != ((long int) (sizeof (float)))) 11165 return 1; 11166 fprintf (f, "%ld", i); 11167 } 11168 else 11169 { 11170 unsigned long int i = ulongval (); 11171 if (i != ((long int) (sizeof (float)))) 11172 return 1; 11173 fprintf (f, "%lu", i); 11174 } 11175 /* Do not output a trailing newline, as this causes \r\n confusion 11176 on some platforms. */ 11177 return ferror (f) || fclose (f) != 0; 11178 11179 ; 11180 return 0; 11181 } 11182 _ACEOF 11183 rm -f conftest$ac_exeext 11184 if { (ac_try="$ac_link" 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_link") 2>&5 11192 ac_status=$? 11193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11194 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11195 { (case "(($ac_try" in 11196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11197 *) ac_try_echo=$ac_try;; 11198 esac 11199 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11200 $as_echo "$ac_try_echo") >&5 11201 (eval "$ac_try") 2>&5 11202 ac_status=$? 11203 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11204 (exit $ac_status); }; }; then 11205 ac_cv_sizeof_float=`cat conftest.val` 11206 else 11207 $as_echo "$as_me: program exited with status $ac_status" >&5 11208 $as_echo "$as_me: failed program was:" >&5 11209 sed 's/^/| /' conftest.$ac_ext >&5 11210 11211 ( exit $ac_status ) 11212 if test "$ac_cv_type_float" = yes; then 11213 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 11214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11215 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float) 11216 See \`config.log' for more details." >&5 11217 $as_echo "$as_me: error: cannot compute sizeof (float) 11218 See \`config.log' for more details." >&2;} 11219 { (exit 77); exit 77; }; }; } 8172 11220 else 8173 11221 ac_cv_sizeof_float=0 8174 11222 fi 8175 11223 fi 8176 8177 fi 8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5 11224 rm -rf conftest.dSYM 11225 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11226 fi 11227 rm -f conftest.val 11228 fi 11229 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5 8179 11230 $as_echo "$ac_cv_sizeof_float" >&6; } 8180 11231 … … 8199 11250 # GL headers and library 8200 11251 # GLuT headers and library 8201 # GLui header and library8202 11252 # GLEW header and library 8203 11253 # Cg headers and library 8204 11254 # CgGL headers and library 8205 11255 # pthread library 8206 # DX headers and library (done, sort of)8207 11256 # ffmpeg headers and library (started) 8208 11257 # … … 8234 11283 8235 11284 RP_DIR="" 8236 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for rappture" >&511285 { $as_echo "$as_me:$LINENO: checking for rappture" >&5 8237 11286 $as_echo_n "checking for rappture... " >&6; } 8238 11287 if test "$with_rappture" == "yes" ; then … … 8243 11292 RP_INC_SPEC="-I$dir/include -I$dir/include/rappture2" 8244 11293 RP_LIB_DIR="$dir/lib" 8245 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $dir" >&511294 { $as_echo "$as_me:$LINENO: result: $dir" >&5 8246 11295 $as_echo "$dir" >&6; } 8247 11296 break … … 8250 11299 else 8251 11300 if test ! -d "$with_rappture" ; then 8252 as_fn_error $? "--with-rappture: no such directory $with_rappture" "$LINENO" 5 11301 { { $as_echo "$as_me:$LINENO: error: --with-rappture: no such directory $with_rappture" >&5 11302 $as_echo "$as_me: error: --with-rappture: no such directory $with_rappture" >&2;} 11303 { (exit 1); exit 1; }; } 8253 11304 fi 8254 11305 RP_DIR=$with_rappture … … 8257 11308 fi 8258 11309 if test "x${RP_DIR}" = "x" ; then 8259 as_fn_error $? "cannot find rappture.h and librappture2.a, try using --with-rappture" "$LINENO" 5 8260 else 8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_rappture" >&5 11310 { { $as_echo "$as_me:$LINENO: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&5 11311 $as_echo "$as_me: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&2;} 11312 { (exit 1); exit 1; }; } 11313 else 11314 { $as_echo "$as_me:$LINENO: result: $with_rappture" >&5 8262 11315 $as_echo "$with_rappture" >&6; } 8263 11316 fi … … 8290 11343 CPPFLAGS=$VTK_INC_SPEC 8291 11344 11345 8292 11346 for ac_header in vtkSmartPointer.h 8293 do : 8294 ac_fn_cxx_check_header_mongrel "$LINENO" "vtkSmartPointer.h" "ac_cv_header_vtkSmartPointer_h" "$ac_includes_default" 8295 if test "x$ac_cv_header_vtkSmartPointer_h" = xyes; then : 8296 cat >>confdefs.h <<_ACEOF 8297 #define HAVE_VTKSMARTPOINTER_H 1 8298 _ACEOF 8299 8300 else 8301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find vtkSmartPointer.h" >&5 8302 $as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;} 8303 fi 8304 8305 done 8306 8307 CPPFLAGS=$save_CPPFLAGS 8308 8309 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glui.h" "ac_cv_header_GL_glui_h" "$ac_includes_default" 8310 if test "x$ac_cv_header_GL_glui_h" = xyes; then : 8311 8312 fi 8313 8314 8315 ac_fn_cxx_check_header_mongrel "$LINENO" "glui.h" "ac_cv_header_glui_h" "$ac_includes_default" 8316 if test "x$ac_cv_header_glui_h" = xyes; then : 8317 8318 fi 8319 8320 8321 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glut.h" "ac_cv_header_GL_glut_h" "$ac_includes_default" 8322 if test "x$ac_cv_header_GL_glut_h" = xyes; then : 8323 8324 fi 8325 8326 8327 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" "$ac_includes_default" 8328 if test "x$ac_cv_header_GL_glew_h" = xyes; then : 8329 8330 fi 8331 8332 8333 8334 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h 8335 do : 8336 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8337 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8338 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11347 do 11348 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11349 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11350 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11351 $as_echo_n "checking for $ac_header... " >&6; } 11352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11353 $as_echo_n "(cached) " >&6 11354 fi 11355 ac_res=`eval 'as_val=${'$as_ac_Header'} 11356 $as_echo "$as_val"'` 11357 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11358 $as_echo "$ac_res" >&6; } 11359 else 11360 # Is the header compilable? 11361 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 11362 $as_echo_n "checking $ac_header usability... " >&6; } 11363 cat >conftest.$ac_ext <<_ACEOF 11364 /* confdefs.h. */ 11365 _ACEOF 11366 cat confdefs.h >>conftest.$ac_ext 11367 cat >>conftest.$ac_ext <<_ACEOF 11368 /* end confdefs.h. */ 11369 $ac_includes_default 11370 #include <$ac_header> 11371 _ACEOF 11372 rm -f conftest.$ac_objext 11373 if { (ac_try="$ac_compile" 11374 case "(($ac_try" in 11375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11376 *) ac_try_echo=$ac_try;; 11377 esac 11378 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11379 $as_echo "$ac_try_echo") >&5 11380 (eval "$ac_compile") 2>conftest.er1 11381 ac_status=$? 11382 grep -v '^ *+' conftest.er1 >conftest.err 11383 rm -f conftest.er1 11384 cat conftest.err >&5 11385 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11386 (exit $ac_status); } && { 11387 test -z "$ac_cxx_werror_flag" || 11388 test ! -s conftest.err 11389 } && test -s conftest.$ac_objext; then 11390 ac_header_compiler=yes 11391 else 11392 $as_echo "$as_me: failed program was:" >&5 11393 sed 's/^/| /' conftest.$ac_ext >&5 11394 11395 ac_header_compiler=no 11396 fi 11397 11398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11399 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11400 $as_echo "$ac_header_compiler" >&6; } 11401 11402 # Is the header present? 11403 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 11404 $as_echo_n "checking $ac_header presence... " >&6; } 11405 cat >conftest.$ac_ext <<_ACEOF 11406 /* confdefs.h. */ 11407 _ACEOF 11408 cat confdefs.h >>conftest.$ac_ext 11409 cat >>conftest.$ac_ext <<_ACEOF 11410 /* end confdefs.h. */ 11411 #include <$ac_header> 11412 _ACEOF 11413 if { (ac_try="$ac_cpp conftest.$ac_ext" 11414 case "(($ac_try" in 11415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11416 *) ac_try_echo=$ac_try;; 11417 esac 11418 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11419 $as_echo "$ac_try_echo") >&5 11420 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11421 ac_status=$? 11422 grep -v '^ *+' conftest.er1 >conftest.err 11423 rm -f conftest.er1 11424 cat conftest.err >&5 11425 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11426 (exit $ac_status); } >/dev/null && { 11427 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11428 test ! -s conftest.err 11429 }; then 11430 ac_header_preproc=yes 11431 else 11432 $as_echo "$as_me: failed program was:" >&5 11433 sed 's/^/| /' conftest.$ac_ext >&5 11434 11435 ac_header_preproc=no 11436 fi 11437 11438 rm -f conftest.err conftest.$ac_ext 11439 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11440 $as_echo "$ac_header_preproc" >&6; } 11441 11442 # So? What about this header? 11443 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11444 yes:no: ) 11445 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 11446 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 11447 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 11448 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 11449 ac_header_preproc=yes 11450 ;; 11451 no:yes:* ) 11452 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 11453 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 11454 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 11455 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 11456 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 11457 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 11458 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 11459 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 11460 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 11461 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 11462 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 11463 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 11464 ( cat <<\_ASBOX 11465 ## ----------------------------------- ## 11466 ## Report this to rappture@nanohub.org ## 11467 ## ----------------------------------- ## 11468 _ASBOX 11469 ) | sed "s/^/$as_me: WARNING: /" >&2 11470 ;; 11471 esac 11472 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11473 $as_echo_n "checking for $ac_header... " >&6; } 11474 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11475 $as_echo_n "(cached) " >&6 11476 else 11477 eval "$as_ac_Header=\$ac_header_preproc" 11478 fi 11479 ac_res=`eval 'as_val=${'$as_ac_Header'} 11480 $as_echo "$as_val"'` 11481 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11482 $as_echo "$ac_res" >&6; } 11483 11484 fi 11485 as_val=`eval 'as_val=${'$as_ac_Header'} 11486 $as_echo "$as_val"'` 11487 if test "x$as_val" = x""yes; then 8339 11488 cat >>confdefs.h <<_ACEOF 8340 11489 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8341 11490 _ACEOF 8342 11491 11492 else 11493 { $as_echo "$as_me:$LINENO: WARNING: cannot find vtkSmartPointer.h" >&5 11494 $as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;} 8343 11495 fi 8344 11496 8345 11497 done 8346 11498 8347 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h 8348 do : 8349 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8350 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8351 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11499 CPPFLAGS=$save_CPPFLAGS 11500 11501 if test "${ac_cv_header_GL_glui_h+set}" = set; then 11502 { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5 11503 $as_echo_n "checking for GL/glui.h... " >&6; } 11504 if test "${ac_cv_header_GL_glui_h+set}" = set; then 11505 $as_echo_n "(cached) " >&6 11506 fi 11507 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5 11508 $as_echo "$ac_cv_header_GL_glui_h" >&6; } 11509 else 11510 # Is the header compilable? 11511 { $as_echo "$as_me:$LINENO: checking GL/glui.h usability" >&5 11512 $as_echo_n "checking GL/glui.h usability... " >&6; } 11513 cat >conftest.$ac_ext <<_ACEOF 11514 /* confdefs.h. */ 11515 _ACEOF 11516 cat confdefs.h >>conftest.$ac_ext 11517 cat >>conftest.$ac_ext <<_ACEOF 11518 /* end confdefs.h. */ 11519 $ac_includes_default 11520 #include <GL/glui.h> 11521 _ACEOF 11522 rm -f conftest.$ac_objext 11523 if { (ac_try="$ac_compile" 11524 case "(($ac_try" in 11525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11526 *) ac_try_echo=$ac_try;; 11527 esac 11528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11529 $as_echo "$ac_try_echo") >&5 11530 (eval "$ac_compile") 2>conftest.er1 11531 ac_status=$? 11532 grep -v '^ *+' conftest.er1 >conftest.err 11533 rm -f conftest.er1 11534 cat conftest.err >&5 11535 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11536 (exit $ac_status); } && { 11537 test -z "$ac_cxx_werror_flag" || 11538 test ! -s conftest.err 11539 } && test -s conftest.$ac_objext; then 11540 ac_header_compiler=yes 11541 else 11542 $as_echo "$as_me: failed program was:" >&5 11543 sed 's/^/| /' conftest.$ac_ext >&5 11544 11545 ac_header_compiler=no 11546 fi 11547 11548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11549 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11550 $as_echo "$ac_header_compiler" >&6; } 11551 11552 # Is the header present? 11553 { $as_echo "$as_me:$LINENO: checking GL/glui.h presence" >&5 11554 $as_echo_n "checking GL/glui.h presence... " >&6; } 11555 cat >conftest.$ac_ext <<_ACEOF 11556 /* confdefs.h. */ 11557 _ACEOF 11558 cat confdefs.h >>conftest.$ac_ext 11559 cat >>conftest.$ac_ext <<_ACEOF 11560 /* end confdefs.h. */ 11561 #include <GL/glui.h> 11562 _ACEOF 11563 if { (ac_try="$ac_cpp conftest.$ac_ext" 11564 case "(($ac_try" in 11565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11566 *) ac_try_echo=$ac_try;; 11567 esac 11568 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11569 $as_echo "$ac_try_echo") >&5 11570 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11571 ac_status=$? 11572 grep -v '^ *+' conftest.er1 >conftest.err 11573 rm -f conftest.er1 11574 cat conftest.err >&5 11575 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11576 (exit $ac_status); } >/dev/null && { 11577 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11578 test ! -s conftest.err 11579 }; then 11580 ac_header_preproc=yes 11581 else 11582 $as_echo "$as_me: failed program was:" >&5 11583 sed 's/^/| /' conftest.$ac_ext >&5 11584 11585 ac_header_preproc=no 11586 fi 11587 11588 rm -f conftest.err conftest.$ac_ext 11589 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11590 $as_echo "$ac_header_preproc" >&6; } 11591 11592 # So? What about this header? 11593 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11594 yes:no: ) 11595 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&5 11596 $as_echo "$as_me: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11597 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the compiler's result" >&5 11598 $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the compiler's result" >&2;} 11599 ac_header_preproc=yes 11600 ;; 11601 no:yes:* ) 11602 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: present but cannot be compiled" >&5 11603 $as_echo "$as_me: WARNING: GL/glui.h: present but cannot be compiled" >&2;} 11604 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: check for missing prerequisite headers?" >&5 11605 $as_echo "$as_me: WARNING: GL/glui.h: check for missing prerequisite headers?" >&2;} 11606 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: see the Autoconf documentation" >&5 11607 $as_echo "$as_me: WARNING: GL/glui.h: see the Autoconf documentation" >&2;} 11608 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: section \"Present But Cannot Be Compiled\"" >&5 11609 $as_echo "$as_me: WARNING: GL/glui.h: section \"Present But Cannot Be Compiled\"" >&2;} 11610 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&5 11611 $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&2;} 11612 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&5 11613 $as_echo "$as_me: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&2;} 11614 ( cat <<\_ASBOX 11615 ## ----------------------------------- ## 11616 ## Report this to rappture@nanohub.org ## 11617 ## ----------------------------------- ## 11618 _ASBOX 11619 ) | sed "s/^/$as_me: WARNING: /" >&2 11620 ;; 11621 esac 11622 { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5 11623 $as_echo_n "checking for GL/glui.h... " >&6; } 11624 if test "${ac_cv_header_GL_glui_h+set}" = set; then 11625 $as_echo_n "(cached) " >&6 11626 else 11627 ac_cv_header_GL_glui_h=$ac_header_preproc 11628 fi 11629 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5 11630 $as_echo "$ac_cv_header_GL_glui_h" >&6; } 11631 11632 fi 11633 11634 11635 if test "${ac_cv_header_glui_h+set}" = set; then 11636 { $as_echo "$as_me:$LINENO: checking for glui.h" >&5 11637 $as_echo_n "checking for glui.h... " >&6; } 11638 if test "${ac_cv_header_glui_h+set}" = set; then 11639 $as_echo_n "(cached) " >&6 11640 fi 11641 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5 11642 $as_echo "$ac_cv_header_glui_h" >&6; } 11643 else 11644 # Is the header compilable? 11645 { $as_echo "$as_me:$LINENO: checking glui.h usability" >&5 11646 $as_echo_n "checking glui.h usability... " >&6; } 11647 cat >conftest.$ac_ext <<_ACEOF 11648 /* confdefs.h. */ 11649 _ACEOF 11650 cat confdefs.h >>conftest.$ac_ext 11651 cat >>conftest.$ac_ext <<_ACEOF 11652 /* end confdefs.h. */ 11653 $ac_includes_default 11654 #include <glui.h> 11655 _ACEOF 11656 rm -f conftest.$ac_objext 11657 if { (ac_try="$ac_compile" 11658 case "(($ac_try" in 11659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11660 *) ac_try_echo=$ac_try;; 11661 esac 11662 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11663 $as_echo "$ac_try_echo") >&5 11664 (eval "$ac_compile") 2>conftest.er1 11665 ac_status=$? 11666 grep -v '^ *+' conftest.er1 >conftest.err 11667 rm -f conftest.er1 11668 cat conftest.err >&5 11669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11670 (exit $ac_status); } && { 11671 test -z "$ac_cxx_werror_flag" || 11672 test ! -s conftest.err 11673 } && test -s conftest.$ac_objext; then 11674 ac_header_compiler=yes 11675 else 11676 $as_echo "$as_me: failed program was:" >&5 11677 sed 's/^/| /' conftest.$ac_ext >&5 11678 11679 ac_header_compiler=no 11680 fi 11681 11682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11683 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11684 $as_echo "$ac_header_compiler" >&6; } 11685 11686 # Is the header present? 11687 { $as_echo "$as_me:$LINENO: checking glui.h presence" >&5 11688 $as_echo_n "checking glui.h presence... " >&6; } 11689 cat >conftest.$ac_ext <<_ACEOF 11690 /* confdefs.h. */ 11691 _ACEOF 11692 cat confdefs.h >>conftest.$ac_ext 11693 cat >>conftest.$ac_ext <<_ACEOF 11694 /* end confdefs.h. */ 11695 #include <glui.h> 11696 _ACEOF 11697 if { (ac_try="$ac_cpp conftest.$ac_ext" 11698 case "(($ac_try" in 11699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11700 *) ac_try_echo=$ac_try;; 11701 esac 11702 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11703 $as_echo "$ac_try_echo") >&5 11704 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11705 ac_status=$? 11706 grep -v '^ *+' conftest.er1 >conftest.err 11707 rm -f conftest.er1 11708 cat conftest.err >&5 11709 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11710 (exit $ac_status); } >/dev/null && { 11711 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11712 test ! -s conftest.err 11713 }; then 11714 ac_header_preproc=yes 11715 else 11716 $as_echo "$as_me: failed program was:" >&5 11717 sed 's/^/| /' conftest.$ac_ext >&5 11718 11719 ac_header_preproc=no 11720 fi 11721 11722 rm -f conftest.err conftest.$ac_ext 11723 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11724 $as_echo "$ac_header_preproc" >&6; } 11725 11726 # So? What about this header? 11727 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11728 yes:no: ) 11729 { $as_echo "$as_me:$LINENO: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&5 11730 $as_echo "$as_me: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11731 { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the compiler's result" >&5 11732 $as_echo "$as_me: WARNING: glui.h: proceeding with the compiler's result" >&2;} 11733 ac_header_preproc=yes 11734 ;; 11735 no:yes:* ) 11736 { $as_echo "$as_me:$LINENO: WARNING: glui.h: present but cannot be compiled" >&5 11737 $as_echo "$as_me: WARNING: glui.h: present but cannot be compiled" >&2;} 11738 { $as_echo "$as_me:$LINENO: WARNING: glui.h: check for missing prerequisite headers?" >&5 11739 $as_echo "$as_me: WARNING: glui.h: check for missing prerequisite headers?" >&2;} 11740 { $as_echo "$as_me:$LINENO: WARNING: glui.h: see the Autoconf documentation" >&5 11741 $as_echo "$as_me: WARNING: glui.h: see the Autoconf documentation" >&2;} 11742 { $as_echo "$as_me:$LINENO: WARNING: glui.h: section \"Present But Cannot Be Compiled\"" >&5 11743 $as_echo "$as_me: WARNING: glui.h: section \"Present But Cannot Be Compiled\"" >&2;} 11744 { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the preprocessor's result" >&5 11745 $as_echo "$as_me: WARNING: glui.h: proceeding with the preprocessor's result" >&2;} 11746 { $as_echo "$as_me:$LINENO: WARNING: glui.h: in the future, the compiler will take precedence" >&5 11747 $as_echo "$as_me: WARNING: glui.h: in the future, the compiler will take precedence" >&2;} 11748 ( cat <<\_ASBOX 11749 ## ----------------------------------- ## 11750 ## Report this to rappture@nanohub.org ## 11751 ## ----------------------------------- ## 11752 _ASBOX 11753 ) | sed "s/^/$as_me: WARNING: /" >&2 11754 ;; 11755 esac 11756 { $as_echo "$as_me:$LINENO: checking for glui.h" >&5 11757 $as_echo_n "checking for glui.h... " >&6; } 11758 if test "${ac_cv_header_glui_h+set}" = set; then 11759 $as_echo_n "(cached) " >&6 11760 else 11761 ac_cv_header_glui_h=$ac_header_preproc 11762 fi 11763 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5 11764 $as_echo "$ac_cv_header_glui_h" >&6; } 11765 11766 fi 11767 11768 11769 if test "${ac_cv_header_GL_glut_h+set}" = set; then 11770 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 11771 $as_echo_n "checking for GL/glut.h... " >&6; } 11772 if test "${ac_cv_header_GL_glut_h+set}" = set; then 11773 $as_echo_n "(cached) " >&6 11774 fi 11775 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 11776 $as_echo "$ac_cv_header_GL_glut_h" >&6; } 11777 else 11778 # Is the header compilable? 11779 { $as_echo "$as_me:$LINENO: checking GL/glut.h usability" >&5 11780 $as_echo_n "checking GL/glut.h usability... " >&6; } 11781 cat >conftest.$ac_ext <<_ACEOF 11782 /* confdefs.h. */ 11783 _ACEOF 11784 cat confdefs.h >>conftest.$ac_ext 11785 cat >>conftest.$ac_ext <<_ACEOF 11786 /* end confdefs.h. */ 11787 $ac_includes_default 11788 #include <GL/glut.h> 11789 _ACEOF 11790 rm -f conftest.$ac_objext 11791 if { (ac_try="$ac_compile" 11792 case "(($ac_try" in 11793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11794 *) ac_try_echo=$ac_try;; 11795 esac 11796 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11797 $as_echo "$ac_try_echo") >&5 11798 (eval "$ac_compile") 2>conftest.er1 11799 ac_status=$? 11800 grep -v '^ *+' conftest.er1 >conftest.err 11801 rm -f conftest.er1 11802 cat conftest.err >&5 11803 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11804 (exit $ac_status); } && { 11805 test -z "$ac_cxx_werror_flag" || 11806 test ! -s conftest.err 11807 } && test -s conftest.$ac_objext; then 11808 ac_header_compiler=yes 11809 else 11810 $as_echo "$as_me: failed program was:" >&5 11811 sed 's/^/| /' conftest.$ac_ext >&5 11812 11813 ac_header_compiler=no 11814 fi 11815 11816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11817 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11818 $as_echo "$ac_header_compiler" >&6; } 11819 11820 # Is the header present? 11821 { $as_echo "$as_me:$LINENO: checking GL/glut.h presence" >&5 11822 $as_echo_n "checking GL/glut.h presence... " >&6; } 11823 cat >conftest.$ac_ext <<_ACEOF 11824 /* confdefs.h. */ 11825 _ACEOF 11826 cat confdefs.h >>conftest.$ac_ext 11827 cat >>conftest.$ac_ext <<_ACEOF 11828 /* end confdefs.h. */ 11829 #include <GL/glut.h> 11830 _ACEOF 11831 if { (ac_try="$ac_cpp conftest.$ac_ext" 11832 case "(($ac_try" in 11833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11834 *) ac_try_echo=$ac_try;; 11835 esac 11836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11837 $as_echo "$ac_try_echo") >&5 11838 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11839 ac_status=$? 11840 grep -v '^ *+' conftest.er1 >conftest.err 11841 rm -f conftest.er1 11842 cat conftest.err >&5 11843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11844 (exit $ac_status); } >/dev/null && { 11845 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11846 test ! -s conftest.err 11847 }; then 11848 ac_header_preproc=yes 11849 else 11850 $as_echo "$as_me: failed program was:" >&5 11851 sed 's/^/| /' conftest.$ac_ext >&5 11852 11853 ac_header_preproc=no 11854 fi 11855 11856 rm -f conftest.err conftest.$ac_ext 11857 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11858 $as_echo "$ac_header_preproc" >&6; } 11859 11860 # So? What about this header? 11861 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11862 yes:no: ) 11863 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5 11864 $as_echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11865 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5 11866 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;} 11867 ac_header_preproc=yes 11868 ;; 11869 no:yes:* ) 11870 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5 11871 $as_echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;} 11872 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: check for missing prerequisite headers?" >&5 11873 $as_echo "$as_me: WARNING: GL/glut.h: check for missing prerequisite headers?" >&2;} 11874 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5 11875 $as_echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;} 11876 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&5 11877 $as_echo "$as_me: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&2;} 11878 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5 11879 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;} 11880 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5 11881 $as_echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;} 11882 ( cat <<\_ASBOX 11883 ## ----------------------------------- ## 11884 ## Report this to rappture@nanohub.org ## 11885 ## ----------------------------------- ## 11886 _ASBOX 11887 ) | sed "s/^/$as_me: WARNING: /" >&2 11888 ;; 11889 esac 11890 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 11891 $as_echo_n "checking for GL/glut.h... " >&6; } 11892 if test "${ac_cv_header_GL_glut_h+set}" = set; then 11893 $as_echo_n "(cached) " >&6 11894 else 11895 ac_cv_header_GL_glut_h=$ac_header_preproc 11896 fi 11897 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 11898 $as_echo "$ac_cv_header_GL_glut_h" >&6; } 11899 11900 fi 11901 11902 11903 if test "${ac_cv_header_GL_glew_h+set}" = set; then 11904 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5 11905 $as_echo_n "checking for GL/glew.h... " >&6; } 11906 if test "${ac_cv_header_GL_glew_h+set}" = set; then 11907 $as_echo_n "(cached) " >&6 11908 fi 11909 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5 11910 $as_echo "$ac_cv_header_GL_glew_h" >&6; } 11911 else 11912 # Is the header compilable? 11913 { $as_echo "$as_me:$LINENO: checking GL/glew.h usability" >&5 11914 $as_echo_n "checking GL/glew.h usability... " >&6; } 11915 cat >conftest.$ac_ext <<_ACEOF 11916 /* confdefs.h. */ 11917 _ACEOF 11918 cat confdefs.h >>conftest.$ac_ext 11919 cat >>conftest.$ac_ext <<_ACEOF 11920 /* end confdefs.h. */ 11921 $ac_includes_default 11922 #include <GL/glew.h> 11923 _ACEOF 11924 rm -f conftest.$ac_objext 11925 if { (ac_try="$ac_compile" 11926 case "(($ac_try" in 11927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11928 *) ac_try_echo=$ac_try;; 11929 esac 11930 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11931 $as_echo "$ac_try_echo") >&5 11932 (eval "$ac_compile") 2>conftest.er1 11933 ac_status=$? 11934 grep -v '^ *+' conftest.er1 >conftest.err 11935 rm -f conftest.er1 11936 cat conftest.err >&5 11937 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11938 (exit $ac_status); } && { 11939 test -z "$ac_cxx_werror_flag" || 11940 test ! -s conftest.err 11941 } && test -s conftest.$ac_objext; then 11942 ac_header_compiler=yes 11943 else 11944 $as_echo "$as_me: failed program was:" >&5 11945 sed 's/^/| /' conftest.$ac_ext >&5 11946 11947 ac_header_compiler=no 11948 fi 11949 11950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11951 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11952 $as_echo "$ac_header_compiler" >&6; } 11953 11954 # Is the header present? 11955 { $as_echo "$as_me:$LINENO: checking GL/glew.h presence" >&5 11956 $as_echo_n "checking GL/glew.h presence... " >&6; } 11957 cat >conftest.$ac_ext <<_ACEOF 11958 /* confdefs.h. */ 11959 _ACEOF 11960 cat confdefs.h >>conftest.$ac_ext 11961 cat >>conftest.$ac_ext <<_ACEOF 11962 /* end confdefs.h. */ 11963 #include <GL/glew.h> 11964 _ACEOF 11965 if { (ac_try="$ac_cpp conftest.$ac_ext" 11966 case "(($ac_try" in 11967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11968 *) ac_try_echo=$ac_try;; 11969 esac 11970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11971 $as_echo "$ac_try_echo") >&5 11972 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11973 ac_status=$? 11974 grep -v '^ *+' conftest.er1 >conftest.err 11975 rm -f conftest.er1 11976 cat conftest.err >&5 11977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11978 (exit $ac_status); } >/dev/null && { 11979 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11980 test ! -s conftest.err 11981 }; then 11982 ac_header_preproc=yes 11983 else 11984 $as_echo "$as_me: failed program was:" >&5 11985 sed 's/^/| /' conftest.$ac_ext >&5 11986 11987 ac_header_preproc=no 11988 fi 11989 11990 rm -f conftest.err conftest.$ac_ext 11991 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11992 $as_echo "$ac_header_preproc" >&6; } 11993 11994 # So? What about this header? 11995 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11996 yes:no: ) 11997 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&5 11998 $as_echo "$as_me: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11999 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the compiler's result" >&5 12000 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;} 12001 ac_header_preproc=yes 12002 ;; 12003 no:yes:* ) 12004 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&5 12005 $as_echo "$as_me: WARNING: GL/glew.h: present but cannot be compiled" >&2;} 12006 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: check for missing prerequisite headers?" >&5 12007 $as_echo "$as_me: WARNING: GL/glew.h: check for missing prerequisite headers?" >&2;} 12008 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: see the Autoconf documentation" >&5 12009 $as_echo "$as_me: WARNING: GL/glew.h: see the Autoconf documentation" >&2;} 12010 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&5 12011 $as_echo "$as_me: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&2;} 12012 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&5 12013 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&2;} 12014 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&5 12015 $as_echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;} 12016 ( cat <<\_ASBOX 12017 ## ----------------------------------- ## 12018 ## Report this to rappture@nanohub.org ## 12019 ## ----------------------------------- ## 12020 _ASBOX 12021 ) | sed "s/^/$as_me: WARNING: /" >&2 12022 ;; 12023 esac 12024 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5 12025 $as_echo_n "checking for GL/glew.h... " >&6; } 12026 if test "${ac_cv_header_GL_glew_h+set}" = set; then 12027 $as_echo_n "(cached) " >&6 12028 else 12029 ac_cv_header_GL_glew_h=$ac_header_preproc 12030 fi 12031 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5 12032 $as_echo "$ac_cv_header_GL_glew_h" >&6; } 12033 12034 fi 12035 12036 12037 12038 12039 12040 12041 12042 12043 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h 12044 do 12045 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12046 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12047 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12048 $as_echo_n "checking for $ac_header... " >&6; } 12049 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12050 $as_echo_n "(cached) " >&6 12051 fi 12052 ac_res=`eval 'as_val=${'$as_ac_Header'} 12053 $as_echo "$as_val"'` 12054 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12055 $as_echo "$ac_res" >&6; } 12056 else 12057 # Is the header compilable? 12058 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 12059 $as_echo_n "checking $ac_header usability... " >&6; } 12060 cat >conftest.$ac_ext <<_ACEOF 12061 /* confdefs.h. */ 12062 _ACEOF 12063 cat confdefs.h >>conftest.$ac_ext 12064 cat >>conftest.$ac_ext <<_ACEOF 12065 /* end confdefs.h. */ 12066 $ac_includes_default 12067 #include <$ac_header> 12068 _ACEOF 12069 rm -f conftest.$ac_objext 12070 if { (ac_try="$ac_compile" 12071 case "(($ac_try" in 12072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12073 *) ac_try_echo=$ac_try;; 12074 esac 12075 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12076 $as_echo "$ac_try_echo") >&5 12077 (eval "$ac_compile") 2>conftest.er1 12078 ac_status=$? 12079 grep -v '^ *+' conftest.er1 >conftest.err 12080 rm -f conftest.er1 12081 cat conftest.err >&5 12082 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12083 (exit $ac_status); } && { 12084 test -z "$ac_cxx_werror_flag" || 12085 test ! -s conftest.err 12086 } && test -s conftest.$ac_objext; then 12087 ac_header_compiler=yes 12088 else 12089 $as_echo "$as_me: failed program was:" >&5 12090 sed 's/^/| /' conftest.$ac_ext >&5 12091 12092 ac_header_compiler=no 12093 fi 12094 12095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12096 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12097 $as_echo "$ac_header_compiler" >&6; } 12098 12099 # Is the header present? 12100 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 12101 $as_echo_n "checking $ac_header presence... " >&6; } 12102 cat >conftest.$ac_ext <<_ACEOF 12103 /* confdefs.h. */ 12104 _ACEOF 12105 cat confdefs.h >>conftest.$ac_ext 12106 cat >>conftest.$ac_ext <<_ACEOF 12107 /* end confdefs.h. */ 12108 #include <$ac_header> 12109 _ACEOF 12110 if { (ac_try="$ac_cpp conftest.$ac_ext" 12111 case "(($ac_try" in 12112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12113 *) ac_try_echo=$ac_try;; 12114 esac 12115 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12116 $as_echo "$ac_try_echo") >&5 12117 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12118 ac_status=$? 12119 grep -v '^ *+' conftest.er1 >conftest.err 12120 rm -f conftest.er1 12121 cat conftest.err >&5 12122 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12123 (exit $ac_status); } >/dev/null && { 12124 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 12125 test ! -s conftest.err 12126 }; then 12127 ac_header_preproc=yes 12128 else 12129 $as_echo "$as_me: failed program was:" >&5 12130 sed 's/^/| /' conftest.$ac_ext >&5 12131 12132 ac_header_preproc=no 12133 fi 12134 12135 rm -f conftest.err conftest.$ac_ext 12136 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12137 $as_echo "$ac_header_preproc" >&6; } 12138 12139 # So? What about this header? 12140 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 12141 yes:no: ) 12142 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 12143 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 12144 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 12145 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 12146 ac_header_preproc=yes 12147 ;; 12148 no:yes:* ) 12149 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 12150 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 12151 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 12152 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 12153 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 12154 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 12155 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 12156 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 12157 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 12158 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 12159 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 12160 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 12161 ( cat <<\_ASBOX 12162 ## ----------------------------------- ## 12163 ## Report this to rappture@nanohub.org ## 12164 ## ----------------------------------- ## 12165 _ASBOX 12166 ) | sed "s/^/$as_me: WARNING: /" >&2 12167 ;; 12168 esac 12169 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12170 $as_echo_n "checking for $ac_header... " >&6; } 12171 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12172 $as_echo_n "(cached) " >&6 12173 else 12174 eval "$as_ac_Header=\$ac_header_preproc" 12175 fi 12176 ac_res=`eval 'as_val=${'$as_ac_Header'} 12177 $as_echo "$as_val"'` 12178 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12179 $as_echo "$ac_res" >&6; } 12180 12181 fi 12182 as_val=`eval 'as_val=${'$as_ac_Header'} 12183 $as_echo "$as_val"'` 12184 if test "x$as_val" = x""yes; then 8352 12185 cat >>confdefs.h <<_ACEOF 8353 12186 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 8359 12192 8360 12193 12194 12195 12196 12197 12198 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h 12199 do 12200 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12201 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12202 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12203 $as_echo_n "checking for $ac_header... " >&6; } 12204 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12205 $as_echo_n "(cached) " >&6 12206 fi 12207 ac_res=`eval 'as_val=${'$as_ac_Header'} 12208 $as_echo "$as_val"'` 12209 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12210 $as_echo "$ac_res" >&6; } 12211 else 12212 # Is the header compilable? 12213 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 12214 $as_echo_n "checking $ac_header usability... " >&6; } 12215 cat >conftest.$ac_ext <<_ACEOF 12216 /* confdefs.h. */ 12217 _ACEOF 12218 cat confdefs.h >>conftest.$ac_ext 12219 cat >>conftest.$ac_ext <<_ACEOF 12220 /* end confdefs.h. */ 12221 $ac_includes_default 12222 #include <$ac_header> 12223 _ACEOF 12224 rm -f conftest.$ac_objext 12225 if { (ac_try="$ac_compile" 12226 case "(($ac_try" in 12227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12228 *) ac_try_echo=$ac_try;; 12229 esac 12230 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12231 $as_echo "$ac_try_echo") >&5 12232 (eval "$ac_compile") 2>conftest.er1 12233 ac_status=$? 12234 grep -v '^ *+' conftest.er1 >conftest.err 12235 rm -f conftest.er1 12236 cat conftest.err >&5 12237 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12238 (exit $ac_status); } && { 12239 test -z "$ac_cxx_werror_flag" || 12240 test ! -s conftest.err 12241 } && test -s conftest.$ac_objext; then 12242 ac_header_compiler=yes 12243 else 12244 $as_echo "$as_me: failed program was:" >&5 12245 sed 's/^/| /' conftest.$ac_ext >&5 12246 12247 ac_header_compiler=no 12248 fi 12249 12250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12251 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12252 $as_echo "$ac_header_compiler" >&6; } 12253 12254 # Is the header present? 12255 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 12256 $as_echo_n "checking $ac_header presence... " >&6; } 12257 cat >conftest.$ac_ext <<_ACEOF 12258 /* confdefs.h. */ 12259 _ACEOF 12260 cat confdefs.h >>conftest.$ac_ext 12261 cat >>conftest.$ac_ext <<_ACEOF 12262 /* end confdefs.h. */ 12263 #include <$ac_header> 12264 _ACEOF 12265 if { (ac_try="$ac_cpp conftest.$ac_ext" 12266 case "(($ac_try" in 12267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12268 *) ac_try_echo=$ac_try;; 12269 esac 12270 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12271 $as_echo "$ac_try_echo") >&5 12272 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12273 ac_status=$? 12274 grep -v '^ *+' conftest.er1 >conftest.err 12275 rm -f conftest.er1 12276 cat conftest.err >&5 12277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12278 (exit $ac_status); } >/dev/null && { 12279 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 12280 test ! -s conftest.err 12281 }; then 12282 ac_header_preproc=yes 12283 else 12284 $as_echo "$as_me: failed program was:" >&5 12285 sed 's/^/| /' conftest.$ac_ext >&5 12286 12287 ac_header_preproc=no 12288 fi 12289 12290 rm -f conftest.err conftest.$ac_ext 12291 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12292 $as_echo "$ac_header_preproc" >&6; } 12293 12294 # So? What about this header? 12295 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 12296 yes:no: ) 12297 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 12298 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 12299 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 12300 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 12301 ac_header_preproc=yes 12302 ;; 12303 no:yes:* ) 12304 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 12305 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 12306 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 12307 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 12308 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 12309 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 12310 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 12311 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 12312 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 12313 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 12314 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 12315 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 12316 ( cat <<\_ASBOX 12317 ## ----------------------------------- ## 12318 ## Report this to rappture@nanohub.org ## 12319 ## ----------------------------------- ## 12320 _ASBOX 12321 ) | sed "s/^/$as_me: WARNING: /" >&2 12322 ;; 12323 esac 12324 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12325 $as_echo_n "checking for $ac_header... " >&6; } 12326 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12327 $as_echo_n "(cached) " >&6 12328 else 12329 eval "$as_ac_Header=\$ac_header_preproc" 12330 fi 12331 ac_res=`eval 'as_val=${'$as_ac_Header'} 12332 $as_echo "$as_val"'` 12333 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12334 $as_echo "$ac_res" >&6; } 12335 12336 fi 12337 as_val=`eval 'as_val=${'$as_ac_Header'} 12338 $as_echo "$as_val"'` 12339 if test "x$as_val" = x""yes; then 12340 cat >>confdefs.h <<_ACEOF 12341 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12342 _ACEOF 12343 12344 fi 12345 12346 done 12347 12348 12349 8361 12350 for ac_func in accept4 8362 do :8363 ac_fn_cxx_check_func "$LINENO" "accept4" "ac_cv_func_accept4"8364 if test "x$ac_cv_func_accept4" = xyes; then :8365 cat >>confdefs.h <<_ACEOF8366 #define HAVE_ACCEPT4 18367 _ACEOF8368 8369 fi8370 done8371 8372 8373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenDX headers" >&58374 $as_echo_n "checking for OpenDX headers... " >&6; }8375 DX_INC_DIR=""8376 for dir in \8377 /apps/rappture/include \8378 /usr/dx/include \8379 /usr/include8380 12351 do 8381 if test -r "${dir}/dx/dx.h" ; then 8382 DX_INC_DIR="$dir" 8383 break 8384 fi 8385 done 8386 if test "x${DX_INC_DIR}" = "x" ; then 8387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find OpenDX include files" >&5 8388 $as_echo "$as_me: WARNING: cannot find OpenDX include files" >&2;} 8389 DX_INC_SPEC="" 8390 elif test "${DX_INC_DIR}" = "/usr/include" ; then 8391 DX_INC_SPEC="" 8392 else 8393 DX_INC_SPEC="-I{DX_INC_DIR}" 8394 fi 8395 8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${DX_INC_DIR}" >&5 8397 $as_echo "${DX_INC_DIR}" >&6; } 8398 save_CPPFLAGS=${CPPFLAGS} 8399 CPPFLAGS="$DX_INC_SPEC $CPPFLAGS" 8400 for ac_header in dx/dx.h 8401 do : 8402 ac_fn_cxx_check_header_mongrel "$LINENO" "dx/dx.h" "ac_cv_header_dx_dx_h" "$ac_includes_default" 8403 if test "x$ac_cv_header_dx_dx_h" = xyes; then : 8404 cat >>confdefs.h <<_ACEOF 8405 #define HAVE_DX_DX_H 1 8406 _ACEOF 8407 8408 fi 8409 8410 done 8411 8412 CPPFLAGS=${save_CPPFLAGS} 8413 8414 DX_LIB_DIR="" 8415 for dir in \ 8416 /usr/lib \ 8417 /usr/lib64 \ 8418 /usr/dx/lib_linux \ 8419 /usr/lib/dx/lib_linux \ 8420 /usr/lib64/dx/lib_linux \ 8421 /apps/rappture/lib 8422 do 8423 saveLDFLAGS=$LDFLAGS 8424 LDFLAGS="-L$dir $LDFLAGS" 8425 unset ac_cv_lib_DXcallm_DXGetComponentValue 8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DXGetComponentValue in -lDXcallm" >&5 8427 $as_echo_n "checking for DXGetComponentValue in -lDXcallm... " >&6; } 8428 if ${ac_cv_lib_DXcallm_DXGetComponentValue+:} false; then : 12352 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12353 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12354 $as_echo_n "checking for $ac_func... " >&6; } 12355 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 8429 12356 $as_echo_n "(cached) " >&6 8430 12357 else 8431 ac_check_lib_save_LIBS=$LIBS 8432 LIBS="-lDXcallm -lX11 $LIBS" 8433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12358 cat >conftest.$ac_ext <<_ACEOF 12359 /* confdefs.h. */ 12360 _ACEOF 12361 cat confdefs.h >>conftest.$ac_ext 12362 cat >>conftest.$ac_ext <<_ACEOF 8434 12363 /* end confdefs.h. */ 12364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12365 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12366 #define $ac_func innocuous_$ac_func 12367 12368 /* System header to define __stub macros and hopefully few prototypes, 12369 which can conflict with char $ac_func (); below. 12370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12371 <limits.h> exists even on freestanding compilers. */ 12372 12373 #ifdef __STDC__ 12374 # include <limits.h> 12375 #else 12376 # include <assert.h> 12377 #endif 12378 12379 #undef $ac_func 8435 12380 8436 12381 /* Override any GCC internal prototype to avoid an error. … … 8440 12385 extern "C" 8441 12386 #endif 8442 char DXGetComponentValue (); 12387 char $ac_func (); 12388 /* The GNU C library defines this for functions which it implements 12389 to always fail with ENOSYS. Some functions are actually named 12390 something starting with __ and the normal name is an alias. */ 12391 #if defined __stub_$ac_func || defined __stub___$ac_func 12392 choke me 12393 #endif 12394 8443 12395 int 8444 12396 main () 8445 12397 { 8446 return DXGetComponentValue();12398 return $ac_func (); 8447 12399 ; 8448 12400 return 0; 8449 12401 } 8450 12402 _ACEOF 8451 if ac_fn_cxx_try_link "$LINENO"; then : 8452 ac_cv_lib_DXcallm_DXGetComponentValue=yes 8453 else 8454 ac_cv_lib_DXcallm_DXGetComponentValue=no 8455 fi 8456 rm -f core conftest.err conftest.$ac_objext \ 8457 conftest$ac_exeext conftest.$ac_ext 8458 LIBS=$ac_check_lib_save_LIBS 8459 fi 8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_DXcallm_DXGetComponentValue" >&5 8461 $as_echo "$ac_cv_lib_DXcallm_DXGetComponentValue" >&6; } 8462 if test "x$ac_cv_lib_DXcallm_DXGetComponentValue" = xyes; then : 8463 found=yes 8464 else 8465 found=no 8466 fi 8467 8468 LDFLAGS=$saveLDFLAGS 8469 if test "$found" = "yes" ; then 8470 DX_LIB_DIR="$dir" 8471 break 8472 fi 12403 rm -f conftest.$ac_objext conftest$ac_exeext 12404 if { (ac_try="$ac_link" 12405 case "(($ac_try" in 12406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12407 *) ac_try_echo=$ac_try;; 12408 esac 12409 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12410 $as_echo "$ac_try_echo") >&5 12411 (eval "$ac_link") 2>conftest.er1 12412 ac_status=$? 12413 grep -v '^ *+' conftest.er1 >conftest.err 12414 rm -f conftest.er1 12415 cat conftest.err >&5 12416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12417 (exit $ac_status); } && { 12418 test -z "$ac_cxx_werror_flag" || 12419 test ! -s conftest.err 12420 } && test -s conftest$ac_exeext && { 12421 test "$cross_compiling" = yes || 12422 $as_test_x conftest$ac_exeext 12423 }; then 12424 eval "$as_ac_var=yes" 12425 else 12426 $as_echo "$as_me: failed program was:" >&5 12427 sed 's/^/| /' conftest.$ac_ext >&5 12428 12429 eval "$as_ac_var=no" 12430 fi 12431 12432 rm -rf conftest.dSYM 12433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12434 conftest$ac_exeext conftest.$ac_ext 12435 fi 12436 ac_res=`eval 'as_val=${'$as_ac_var'} 12437 $as_echo "$as_val"'` 12438 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12439 $as_echo "$ac_res" >&6; } 12440 as_val=`eval 'as_val=${'$as_ac_var'} 12441 $as_echo "$as_val"'` 12442 if test "x$as_val" = x""yes; then 12443 cat >>confdefs.h <<_ACEOF 12444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12445 _ACEOF 12446 12447 fi 8473 12448 done 8474 if test "x${DX_LIB_DIR}" = "x" ; then 8475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find OpenDX libraries" >&5 8476 $as_echo "$as_me: WARNING: cannot find OpenDX libraries" >&2;} 8477 fi 8478 8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libDXcallm library" >&5 8480 $as_echo_n "checking for libDXcallm library... " >&6; } 8481 if test "x${DX_LIB_DIR}" = "x" -o "${DX_LIB_DIR}" = "/usr/lib" -o "${DX_LIB_DIR}" = "/usr/lib64"; then 8482 DX_LIB_SPEC="" 8483 else 8484 DX_LIB_SPEC="-L${DX_LIB_DIR} -lDXcallm" 8485 fi 8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LIB_SPEC" >&5 8487 $as_echo "$DX_LIB_SPEC" >&6; } 12449 8488 12450 8489 12451 save_CPPFLAGS=$CPPFLAGS … … 8494 12456 fi 8495 12457 12458 12459 12460 12461 12462 12463 8496 12464 for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h 8497 do : 8498 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8499 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" " 12465 do 12466 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12467 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12468 $as_echo_n "checking for $ac_header... " >&6; } 12469 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12470 $as_echo_n "(cached) " >&6 12471 else 12472 cat >conftest.$ac_ext <<_ACEOF 12473 /* confdefs.h. */ 12474 _ACEOF 12475 cat confdefs.h >>conftest.$ac_ext 12476 cat >>conftest.$ac_ext <<_ACEOF 12477 /* end confdefs.h. */ 12478 8500 12479 #define __STDC_CONSTANT_MACROS 1 8501 12480 8502 " 8503 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 12481 12482 #include <$ac_header> 12483 _ACEOF 12484 rm -f conftest.$ac_objext 12485 if { (ac_try="$ac_compile" 12486 case "(($ac_try" in 12487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12488 *) ac_try_echo=$ac_try;; 12489 esac 12490 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12491 $as_echo "$ac_try_echo") >&5 12492 (eval "$ac_compile") 2>conftest.er1 12493 ac_status=$? 12494 grep -v '^ *+' conftest.er1 >conftest.err 12495 rm -f conftest.er1 12496 cat conftest.err >&5 12497 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12498 (exit $ac_status); } && { 12499 test -z "$ac_cxx_werror_flag" || 12500 test ! -s conftest.err 12501 } && test -s conftest.$ac_objext; then 12502 eval "$as_ac_Header=yes" 12503 else 12504 $as_echo "$as_me: failed program was:" >&5 12505 sed 's/^/| /' conftest.$ac_ext >&5 12506 12507 eval "$as_ac_Header=no" 12508 fi 12509 12510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12511 fi 12512 ac_res=`eval 'as_val=${'$as_ac_Header'} 12513 $as_echo "$as_val"'` 12514 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12515 $as_echo "$ac_res" >&6; } 12516 as_val=`eval 'as_val=${'$as_ac_Header'} 12517 $as_echo "$as_val"'` 12518 if test "x$as_val" = x""yes; then 8504 12519 cat >>confdefs.h <<_ACEOF 8505 12520 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 8512 12527 CPPFLAGS=$save_CPPFLAGS 8513 12528 8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavcodec" >&5 12529 12530 { $as_echo "$as_me:$LINENO: checking for main in -lavcodec" >&5 8515 12531 $as_echo_n "checking for main in -lavcodec... " >&6; } 8516 if ${ac_cv_lib_avcodec_main+:} false; then :12532 if test "${ac_cv_lib_avcodec_main+set}" = set; then 8517 12533 $as_echo_n "(cached) " >&6 8518 12534 else 8519 12535 ac_check_lib_save_LIBS=$LIBS 8520 12536 LIBS="-lavcodec $LIBS" 8521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12537 cat >conftest.$ac_ext <<_ACEOF 12538 /* confdefs.h. */ 12539 _ACEOF 12540 cat confdefs.h >>conftest.$ac_ext 12541 cat >>conftest.$ac_ext <<_ACEOF 8522 12542 /* end confdefs.h. */ 8523 12543 … … 8531 12551 } 8532 12552 _ACEOF 8533 if ac_fn_cxx_try_link "$LINENO"; then : 12553 rm -f conftest.$ac_objext conftest$ac_exeext 12554 if { (ac_try="$ac_link" 12555 case "(($ac_try" in 12556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12557 *) ac_try_echo=$ac_try;; 12558 esac 12559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12560 $as_echo "$ac_try_echo") >&5 12561 (eval "$ac_link") 2>conftest.er1 12562 ac_status=$? 12563 grep -v '^ *+' conftest.er1 >conftest.err 12564 rm -f conftest.er1 12565 cat conftest.err >&5 12566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12567 (exit $ac_status); } && { 12568 test -z "$ac_cxx_werror_flag" || 12569 test ! -s conftest.err 12570 } && test -s conftest$ac_exeext && { 12571 test "$cross_compiling" = yes || 12572 $as_test_x conftest$ac_exeext 12573 }; then 8534 12574 ac_cv_lib_avcodec_main=yes 8535 12575 else 8536 ac_cv_lib_avcodec_main=no 8537 fi 8538 rm -f core conftest.err conftest.$ac_objext \ 8539 conftest$ac_exeext conftest.$ac_ext 12576 $as_echo "$as_me: failed program was:" >&5 12577 sed 's/^/| /' conftest.$ac_ext >&5 12578 12579 ac_cv_lib_avcodec_main=no 12580 fi 12581 12582 rm -rf conftest.dSYM 12583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12584 conftest$ac_exeext conftest.$ac_ext 8540 12585 LIBS=$ac_check_lib_save_LIBS 8541 12586 fi 8542 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_main" >&512587 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_main" >&5 8543 12588 $as_echo "$ac_cv_lib_avcodec_main" >&6; } 8544 if test "x$ac_cv_lib_avcodec_main" = x yes; then :12589 if test "x$ac_cv_lib_avcodec_main" = x""yes; then 8545 12590 cat >>confdefs.h <<_ACEOF 8546 12591 #define HAVE_LIBAVCODEC 1 … … 8550 12595 8551 12596 else 8552 as_fn_error $? "requires libavcodec" "$LINENO" 5 8553 fi 8554 8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavutil" >&5 12597 { { $as_echo "$as_me:$LINENO: error: requires libavcodec" >&5 12598 $as_echo "$as_me: error: requires libavcodec" >&2;} 12599 { (exit 1); exit 1; }; } 12600 fi 12601 12602 12603 { $as_echo "$as_me:$LINENO: checking for main in -lavutil" >&5 8556 12604 $as_echo_n "checking for main in -lavutil... " >&6; } 8557 if ${ac_cv_lib_avutil_main+:} false; then :12605 if test "${ac_cv_lib_avutil_main+set}" = set; then 8558 12606 $as_echo_n "(cached) " >&6 8559 12607 else 8560 12608 ac_check_lib_save_LIBS=$LIBS 8561 12609 LIBS="-lavutil $LIBS" 8562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12610 cat >conftest.$ac_ext <<_ACEOF 12611 /* confdefs.h. */ 12612 _ACEOF 12613 cat confdefs.h >>conftest.$ac_ext 12614 cat >>conftest.$ac_ext <<_ACEOF 8563 12615 /* end confdefs.h. */ 8564 12616 … … 8572 12624 } 8573 12625 _ACEOF 8574 if ac_fn_cxx_try_link "$LINENO"; then : 12626 rm -f conftest.$ac_objext conftest$ac_exeext 12627 if { (ac_try="$ac_link" 12628 case "(($ac_try" in 12629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12630 *) ac_try_echo=$ac_try;; 12631 esac 12632 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12633 $as_echo "$ac_try_echo") >&5 12634 (eval "$ac_link") 2>conftest.er1 12635 ac_status=$? 12636 grep -v '^ *+' conftest.er1 >conftest.err 12637 rm -f conftest.er1 12638 cat conftest.err >&5 12639 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12640 (exit $ac_status); } && { 12641 test -z "$ac_cxx_werror_flag" || 12642 test ! -s conftest.err 12643 } && test -s conftest$ac_exeext && { 12644 test "$cross_compiling" = yes || 12645 $as_test_x conftest$ac_exeext 12646 }; then 8575 12647 ac_cv_lib_avutil_main=yes 8576 12648 else 8577 ac_cv_lib_avutil_main=no 8578 fi 8579 rm -f core conftest.err conftest.$ac_objext \ 8580 conftest$ac_exeext conftest.$ac_ext 12649 $as_echo "$as_me: failed program was:" >&5 12650 sed 's/^/| /' conftest.$ac_ext >&5 12651 12652 ac_cv_lib_avutil_main=no 12653 fi 12654 12655 rm -rf conftest.dSYM 12656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12657 conftest$ac_exeext conftest.$ac_ext 8581 12658 LIBS=$ac_check_lib_save_LIBS 8582 12659 fi 8583 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avutil_main" >&512660 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_main" >&5 8584 12661 $as_echo "$ac_cv_lib_avutil_main" >&6; } 8585 if test "x$ac_cv_lib_avutil_main" = x yes; then :12662 if test "x$ac_cv_lib_avutil_main" = x""yes; then 8586 12663 cat >>confdefs.h <<_ACEOF 8587 12664 #define HAVE_LIBAVUTIL 1 … … 8591 12668 8592 12669 else 8593 as_fn_error $? "requires libavutil" "$LINENO" 5 8594 fi 8595 8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavformat" >&5 12670 { { $as_echo "$as_me:$LINENO: error: requires libavutil" >&5 12671 $as_echo "$as_me: error: requires libavutil" >&2;} 12672 { (exit 1); exit 1; }; } 12673 fi 12674 12675 12676 { $as_echo "$as_me:$LINENO: checking for main in -lavformat" >&5 8597 12677 $as_echo_n "checking for main in -lavformat... " >&6; } 8598 if ${ac_cv_lib_avformat_main+:} false; then :12678 if test "${ac_cv_lib_avformat_main+set}" = set; then 8599 12679 $as_echo_n "(cached) " >&6 8600 12680 else 8601 12681 ac_check_lib_save_LIBS=$LIBS 8602 12682 LIBS="-lavformat $LIBS" 8603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12683 cat >conftest.$ac_ext <<_ACEOF 12684 /* confdefs.h. */ 12685 _ACEOF 12686 cat confdefs.h >>conftest.$ac_ext 12687 cat >>conftest.$ac_ext <<_ACEOF 8604 12688 /* end confdefs.h. */ 8605 12689 … … 8613 12697 } 8614 12698 _ACEOF 8615 if ac_fn_cxx_try_link "$LINENO"; then : 12699 rm -f conftest.$ac_objext conftest$ac_exeext 12700 if { (ac_try="$ac_link" 12701 case "(($ac_try" in 12702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12703 *) ac_try_echo=$ac_try;; 12704 esac 12705 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12706 $as_echo "$ac_try_echo") >&5 12707 (eval "$ac_link") 2>conftest.er1 12708 ac_status=$? 12709 grep -v '^ *+' conftest.er1 >conftest.err 12710 rm -f conftest.er1 12711 cat conftest.err >&5 12712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12713 (exit $ac_status); } && { 12714 test -z "$ac_cxx_werror_flag" || 12715 test ! -s conftest.err 12716 } && test -s conftest$ac_exeext && { 12717 test "$cross_compiling" = yes || 12718 $as_test_x conftest$ac_exeext 12719 }; then 8616 12720 ac_cv_lib_avformat_main=yes 8617 12721 else 8618 ac_cv_lib_avformat_main=no 8619 fi 8620 rm -f core conftest.err conftest.$ac_objext \ 8621 conftest$ac_exeext conftest.$ac_ext 12722 $as_echo "$as_me: failed program was:" >&5 12723 sed 's/^/| /' conftest.$ac_ext >&5 12724 12725 ac_cv_lib_avformat_main=no 12726 fi 12727 12728 rm -rf conftest.dSYM 12729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12730 conftest$ac_exeext conftest.$ac_ext 8622 12731 LIBS=$ac_check_lib_save_LIBS 8623 12732 fi 8624 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avformat_main" >&512733 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_main" >&5 8625 12734 $as_echo "$ac_cv_lib_avformat_main" >&6; } 8626 if test "x$ac_cv_lib_avformat_main" = x yes; then :12735 if test "x$ac_cv_lib_avformat_main" = x""yes; then 8627 12736 cat >>confdefs.h <<_ACEOF 8628 12737 #define HAVE_LIBAVFORMAT 1 … … 8632 12741 8633 12742 else 8634 as_fn_error $? "requires libavformat" "$LINENO" 5 8635 fi 8636 8637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lswscale" >&5 12743 { { $as_echo "$as_me:$LINENO: error: requires libavformat" >&5 12744 $as_echo "$as_me: error: requires libavformat" >&2;} 12745 { (exit 1); exit 1; }; } 12746 fi 12747 12748 12749 { $as_echo "$as_me:$LINENO: checking for main in -lswscale" >&5 8638 12750 $as_echo_n "checking for main in -lswscale... " >&6; } 8639 if ${ac_cv_lib_swscale_main+:} false; then :12751 if test "${ac_cv_lib_swscale_main+set}" = set; then 8640 12752 $as_echo_n "(cached) " >&6 8641 12753 else 8642 12754 ac_check_lib_save_LIBS=$LIBS 8643 12755 LIBS="-lswscale $LIBS" 8644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12756 cat >conftest.$ac_ext <<_ACEOF 12757 /* confdefs.h. */ 12758 _ACEOF 12759 cat confdefs.h >>conftest.$ac_ext 12760 cat >>conftest.$ac_ext <<_ACEOF 8645 12761 /* end confdefs.h. */ 8646 12762 … … 8654 12770 } 8655 12771 _ACEOF 8656 if ac_fn_cxx_try_link "$LINENO"; then : 12772 rm -f conftest.$ac_objext conftest$ac_exeext 12773 if { (ac_try="$ac_link" 12774 case "(($ac_try" in 12775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12776 *) ac_try_echo=$ac_try;; 12777 esac 12778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12779 $as_echo "$ac_try_echo") >&5 12780 (eval "$ac_link") 2>conftest.er1 12781 ac_status=$? 12782 grep -v '^ *+' conftest.er1 >conftest.err 12783 rm -f conftest.er1 12784 cat conftest.err >&5 12785 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12786 (exit $ac_status); } && { 12787 test -z "$ac_cxx_werror_flag" || 12788 test ! -s conftest.err 12789 } && test -s conftest$ac_exeext && { 12790 test "$cross_compiling" = yes || 12791 $as_test_x conftest$ac_exeext 12792 }; then 8657 12793 ac_cv_lib_swscale_main=yes 8658 12794 else 8659 ac_cv_lib_swscale_main=no 8660 fi 8661 rm -f core conftest.err conftest.$ac_objext \ 8662 conftest$ac_exeext conftest.$ac_ext 12795 $as_echo "$as_me: failed program was:" >&5 12796 sed 's/^/| /' conftest.$ac_ext >&5 12797 12798 ac_cv_lib_swscale_main=no 12799 fi 12800 12801 rm -rf conftest.dSYM 12802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12803 conftest$ac_exeext conftest.$ac_ext 8663 12804 LIBS=$ac_check_lib_save_LIBS 8664 12805 fi 8665 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_swscale_main" >&512806 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_swscale_main" >&5 8666 12807 $as_echo "$ac_cv_lib_swscale_main" >&6; } 8667 if test "x$ac_cv_lib_swscale_main" = x yes; then :12808 if test "x$ac_cv_lib_swscale_main" = x""yes; then 8668 12809 cat >>confdefs.h <<_ACEOF 8669 12810 #define HAVE_LIBSWSCALE 1 … … 8674 12815 fi 8675 12816 12817 8676 12818 for ac_func in avcodec_register_all 8677 do : 8678 ac_fn_cxx_check_func "$LINENO" "avcodec_register_all" "ac_cv_func_avcodec_register_all" 8679 if test "x$ac_cv_func_avcodec_register_all" = xyes; then : 12819 do 12820 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12821 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12822 $as_echo_n "checking for $ac_func... " >&6; } 12823 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12824 $as_echo_n "(cached) " >&6 12825 else 12826 cat >conftest.$ac_ext <<_ACEOF 12827 /* confdefs.h. */ 12828 _ACEOF 12829 cat confdefs.h >>conftest.$ac_ext 12830 cat >>conftest.$ac_ext <<_ACEOF 12831 /* end confdefs.h. */ 12832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12833 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12834 #define $ac_func innocuous_$ac_func 12835 12836 /* System header to define __stub macros and hopefully few prototypes, 12837 which can conflict with char $ac_func (); below. 12838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12839 <limits.h> exists even on freestanding compilers. */ 12840 12841 #ifdef __STDC__ 12842 # include <limits.h> 12843 #else 12844 # include <assert.h> 12845 #endif 12846 12847 #undef $ac_func 12848 12849 /* Override any GCC internal prototype to avoid an error. 12850 Use char because int might match the return type of a GCC 12851 builtin and then its argument prototype would still apply. */ 12852 #ifdef __cplusplus 12853 extern "C" 12854 #endif 12855 char $ac_func (); 12856 /* The GNU C library defines this for functions which it implements 12857 to always fail with ENOSYS. Some functions are actually named 12858 something starting with __ and the normal name is an alias. */ 12859 #if defined __stub_$ac_func || defined __stub___$ac_func 12860 choke me 12861 #endif 12862 12863 int 12864 main () 12865 { 12866 return $ac_func (); 12867 ; 12868 return 0; 12869 } 12870 _ACEOF 12871 rm -f conftest.$ac_objext conftest$ac_exeext 12872 if { (ac_try="$ac_link" 12873 case "(($ac_try" in 12874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12875 *) ac_try_echo=$ac_try;; 12876 esac 12877 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12878 $as_echo "$ac_try_echo") >&5 12879 (eval "$ac_link") 2>conftest.er1 12880 ac_status=$? 12881 grep -v '^ *+' conftest.er1 >conftest.err 12882 rm -f conftest.er1 12883 cat conftest.err >&5 12884 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12885 (exit $ac_status); } && { 12886 test -z "$ac_cxx_werror_flag" || 12887 test ! -s conftest.err 12888 } && test -s conftest$ac_exeext && { 12889 test "$cross_compiling" = yes || 12890 $as_test_x conftest$ac_exeext 12891 }; then 12892 eval "$as_ac_var=yes" 12893 else 12894 $as_echo "$as_me: failed program was:" >&5 12895 sed 's/^/| /' conftest.$ac_ext >&5 12896 12897 eval "$as_ac_var=no" 12898 fi 12899 12900 rm -rf conftest.dSYM 12901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12902 conftest$ac_exeext conftest.$ac_ext 12903 fi 12904 ac_res=`eval 'as_val=${'$as_ac_var'} 12905 $as_echo "$as_val"'` 12906 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12907 $as_echo "$ac_res" >&6; } 12908 as_val=`eval 'as_val=${'$as_ac_var'} 12909 $as_echo "$as_val"'` 12910 if test "x$as_val" = x""yes; then 8680 12911 cat >>confdefs.h <<_ACEOF 8681 #define HAVE_AVCODEC_REGISTER_ALL112912 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8682 12913 _ACEOF 8683 12914 … … 8685 12916 done 8686 12917 12918 8687 12919 for ac_func in avcodec_init 8688 do : 8689 ac_fn_cxx_check_func "$LINENO" "avcodec_init" "ac_cv_func_avcodec_init" 8690 if test "x$ac_cv_func_avcodec_init" = xyes; then : 12920 do 12921 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12922 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12923 $as_echo_n "checking for $ac_func... " >&6; } 12924 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12925 $as_echo_n "(cached) " >&6 12926 else 12927 cat >conftest.$ac_ext <<_ACEOF 12928 /* confdefs.h. */ 12929 _ACEOF 12930 cat confdefs.h >>conftest.$ac_ext 12931 cat >>conftest.$ac_ext <<_ACEOF 12932 /* end confdefs.h. */ 12933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12934 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12935 #define $ac_func innocuous_$ac_func 12936 12937 /* System header to define __stub macros and hopefully few prototypes, 12938 which can conflict with char $ac_func (); below. 12939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12940 <limits.h> exists even on freestanding compilers. */ 12941 12942 #ifdef __STDC__ 12943 # include <limits.h> 12944 #else 12945 # include <assert.h> 12946 #endif 12947 12948 #undef $ac_func 12949 12950 /* Override any GCC internal prototype to avoid an error. 12951 Use char because int might match the return type of a GCC 12952 builtin and then its argument prototype would still apply. */ 12953 #ifdef __cplusplus 12954 extern "C" 12955 #endif 12956 char $ac_func (); 12957 /* The GNU C library defines this for functions which it implements 12958 to always fail with ENOSYS. Some functions are actually named 12959 something starting with __ and the normal name is an alias. */ 12960 #if defined __stub_$ac_func || defined __stub___$ac_func 12961 choke me 12962 #endif 12963 12964 int 12965 main () 12966 { 12967 return $ac_func (); 12968 ; 12969 return 0; 12970 } 12971 _ACEOF 12972 rm -f conftest.$ac_objext conftest$ac_exeext 12973 if { (ac_try="$ac_link" 12974 case "(($ac_try" in 12975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12976 *) ac_try_echo=$ac_try;; 12977 esac 12978 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12979 $as_echo "$ac_try_echo") >&5 12980 (eval "$ac_link") 2>conftest.er1 12981 ac_status=$? 12982 grep -v '^ *+' conftest.er1 >conftest.err 12983 rm -f conftest.er1 12984 cat conftest.err >&5 12985 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12986 (exit $ac_status); } && { 12987 test -z "$ac_cxx_werror_flag" || 12988 test ! -s conftest.err 12989 } && test -s conftest$ac_exeext && { 12990 test "$cross_compiling" = yes || 12991 $as_test_x conftest$ac_exeext 12992 }; then 12993 eval "$as_ac_var=yes" 12994 else 12995 $as_echo "$as_me: failed program was:" >&5 12996 sed 's/^/| /' conftest.$ac_ext >&5 12997 12998 eval "$as_ac_var=no" 12999 fi 13000 13001 rm -rf conftest.dSYM 13002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13003 conftest$ac_exeext conftest.$ac_ext 13004 fi 13005 ac_res=`eval 'as_val=${'$as_ac_var'} 13006 $as_echo "$as_val"'` 13007 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13008 $as_echo "$ac_res" >&6; } 13009 as_val=`eval 'as_val=${'$as_ac_var'} 13010 $as_echo "$as_val"'` 13011 if test "x$as_val" = x""yes; then 8691 13012 cat >>confdefs.h <<_ACEOF 8692 #define HAVE_AVCODEC_INIT113013 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8693 13014 _ACEOF 8694 13015 … … 8696 13017 done 8697 13018 13019 8698 13020 for ac_func in avformat_new_stream 8699 do : 8700 ac_fn_cxx_check_func "$LINENO" "avformat_new_stream" "ac_cv_func_avformat_new_stream" 8701 if test "x$ac_cv_func_avformat_new_stream" = xyes; then : 13021 do 13022 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13023 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13024 $as_echo_n "checking for $ac_func... " >&6; } 13025 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13026 $as_echo_n "(cached) " >&6 13027 else 13028 cat >conftest.$ac_ext <<_ACEOF 13029 /* confdefs.h. */ 13030 _ACEOF 13031 cat confdefs.h >>conftest.$ac_ext 13032 cat >>conftest.$ac_ext <<_ACEOF 13033 /* end confdefs.h. */ 13034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13035 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13036 #define $ac_func innocuous_$ac_func 13037 13038 /* System header to define __stub macros and hopefully few prototypes, 13039 which can conflict with char $ac_func (); below. 13040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13041 <limits.h> exists even on freestanding compilers. */ 13042 13043 #ifdef __STDC__ 13044 # include <limits.h> 13045 #else 13046 # include <assert.h> 13047 #endif 13048 13049 #undef $ac_func 13050 13051 /* Override any GCC internal prototype to avoid an error. 13052 Use char because int might match the return type of a GCC 13053 builtin and then its argument prototype would still apply. */ 13054 #ifdef __cplusplus 13055 extern "C" 13056 #endif 13057 char $ac_func (); 13058 /* The GNU C library defines this for functions which it implements 13059 to always fail with ENOSYS. Some functions are actually named 13060 something starting with __ and the normal name is an alias. */ 13061 #if defined __stub_$ac_func || defined __stub___$ac_func 13062 choke me 13063 #endif 13064 13065 int 13066 main () 13067 { 13068 return $ac_func (); 13069 ; 13070 return 0; 13071 } 13072 _ACEOF 13073 rm -f conftest.$ac_objext conftest$ac_exeext 13074 if { (ac_try="$ac_link" 13075 case "(($ac_try" in 13076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13077 *) ac_try_echo=$ac_try;; 13078 esac 13079 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13080 $as_echo "$ac_try_echo") >&5 13081 (eval "$ac_link") 2>conftest.er1 13082 ac_status=$? 13083 grep -v '^ *+' conftest.er1 >conftest.err 13084 rm -f conftest.er1 13085 cat conftest.err >&5 13086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13087 (exit $ac_status); } && { 13088 test -z "$ac_cxx_werror_flag" || 13089 test ! -s conftest.err 13090 } && test -s conftest$ac_exeext && { 13091 test "$cross_compiling" = yes || 13092 $as_test_x conftest$ac_exeext 13093 }; then 13094 eval "$as_ac_var=yes" 13095 else 13096 $as_echo "$as_me: failed program was:" >&5 13097 sed 's/^/| /' conftest.$ac_ext >&5 13098 13099 eval "$as_ac_var=no" 13100 fi 13101 13102 rm -rf conftest.dSYM 13103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13104 conftest$ac_exeext conftest.$ac_ext 13105 fi 13106 ac_res=`eval 'as_val=${'$as_ac_var'} 13107 $as_echo "$as_val"'` 13108 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13109 $as_echo "$ac_res" >&6; } 13110 as_val=`eval 'as_val=${'$as_ac_var'} 13111 $as_echo "$as_val"'` 13112 if test "x$as_val" = x""yes; then 8702 13113 cat >>confdefs.h <<_ACEOF 8703 #define HAVE_AVFORMAT_NEW_STREAM113114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8704 13115 _ACEOF 8705 13116 … … 8707 13118 done 8708 13119 13120 8709 13121 for ac_func in av_new_stream 8710 do : 8711 ac_fn_cxx_check_func "$LINENO" "av_new_stream" "ac_cv_func_av_new_stream" 8712 if test "x$ac_cv_func_av_new_stream" = xyes; then : 13122 do 13123 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13124 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13125 $as_echo_n "checking for $ac_func... " >&6; } 13126 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13127 $as_echo_n "(cached) " >&6 13128 else 13129 cat >conftest.$ac_ext <<_ACEOF 13130 /* confdefs.h. */ 13131 _ACEOF 13132 cat confdefs.h >>conftest.$ac_ext 13133 cat >>conftest.$ac_ext <<_ACEOF 13134 /* end confdefs.h. */ 13135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13136 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13137 #define $ac_func innocuous_$ac_func 13138 13139 /* System header to define __stub macros and hopefully few prototypes, 13140 which can conflict with char $ac_func (); below. 13141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13142 <limits.h> exists even on freestanding compilers. */ 13143 13144 #ifdef __STDC__ 13145 # include <limits.h> 13146 #else 13147 # include <assert.h> 13148 #endif 13149 13150 #undef $ac_func 13151 13152 /* Override any GCC internal prototype to avoid an error. 13153 Use char because int might match the return type of a GCC 13154 builtin and then its argument prototype would still apply. */ 13155 #ifdef __cplusplus 13156 extern "C" 13157 #endif 13158 char $ac_func (); 13159 /* The GNU C library defines this for functions which it implements 13160 to always fail with ENOSYS. Some functions are actually named 13161 something starting with __ and the normal name is an alias. */ 13162 #if defined __stub_$ac_func || defined __stub___$ac_func 13163 choke me 13164 #endif 13165 13166 int 13167 main () 13168 { 13169 return $ac_func (); 13170 ; 13171 return 0; 13172 } 13173 _ACEOF 13174 rm -f conftest.$ac_objext conftest$ac_exeext 13175 if { (ac_try="$ac_link" 13176 case "(($ac_try" in 13177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13178 *) ac_try_echo=$ac_try;; 13179 esac 13180 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13181 $as_echo "$ac_try_echo") >&5 13182 (eval "$ac_link") 2>conftest.er1 13183 ac_status=$? 13184 grep -v '^ *+' conftest.er1 >conftest.err 13185 rm -f conftest.er1 13186 cat conftest.err >&5 13187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13188 (exit $ac_status); } && { 13189 test -z "$ac_cxx_werror_flag" || 13190 test ! -s conftest.err 13191 } && test -s conftest$ac_exeext && { 13192 test "$cross_compiling" = yes || 13193 $as_test_x conftest$ac_exeext 13194 }; then 13195 eval "$as_ac_var=yes" 13196 else 13197 $as_echo "$as_me: failed program was:" >&5 13198 sed 's/^/| /' conftest.$ac_ext >&5 13199 13200 eval "$as_ac_var=no" 13201 fi 13202 13203 rm -rf conftest.dSYM 13204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13205 conftest$ac_exeext conftest.$ac_ext 13206 fi 13207 ac_res=`eval 'as_val=${'$as_ac_var'} 13208 $as_echo "$as_val"'` 13209 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13210 $as_echo "$ac_res" >&6; } 13211 as_val=`eval 'as_val=${'$as_ac_var'} 13212 $as_echo "$as_val"'` 13213 if test "x$as_val" = x""yes; then 8713 13214 cat >>confdefs.h <<_ACEOF 8714 #define HAVE_AV_NEW_STREAM113215 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8715 13216 _ACEOF 8716 13217 … … 8718 13219 done 8719 13220 13221 8720 13222 for ac_func in avcodec_open 8721 do : 8722 ac_fn_cxx_check_func "$LINENO" "avcodec_open" "ac_cv_func_avcodec_open" 8723 if test "x$ac_cv_func_avcodec_open" = xyes; then : 13223 do 13224 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13225 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13226 $as_echo_n "checking for $ac_func... " >&6; } 13227 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13228 $as_echo_n "(cached) " >&6 13229 else 13230 cat >conftest.$ac_ext <<_ACEOF 13231 /* confdefs.h. */ 13232 _ACEOF 13233 cat confdefs.h >>conftest.$ac_ext 13234 cat >>conftest.$ac_ext <<_ACEOF 13235 /* end confdefs.h. */ 13236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13237 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13238 #define $ac_func innocuous_$ac_func 13239 13240 /* System header to define __stub macros and hopefully few prototypes, 13241 which can conflict with char $ac_func (); below. 13242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13243 <limits.h> exists even on freestanding compilers. */ 13244 13245 #ifdef __STDC__ 13246 # include <limits.h> 13247 #else 13248 # include <assert.h> 13249 #endif 13250 13251 #undef $ac_func 13252 13253 /* Override any GCC internal prototype to avoid an error. 13254 Use char because int might match the return type of a GCC 13255 builtin and then its argument prototype would still apply. */ 13256 #ifdef __cplusplus 13257 extern "C" 13258 #endif 13259 char $ac_func (); 13260 /* The GNU C library defines this for functions which it implements 13261 to always fail with ENOSYS. Some functions are actually named 13262 something starting with __ and the normal name is an alias. */ 13263 #if defined __stub_$ac_func || defined __stub___$ac_func 13264 choke me 13265 #endif 13266 13267 int 13268 main () 13269 { 13270 return $ac_func (); 13271 ; 13272 return 0; 13273 } 13274 _ACEOF 13275 rm -f conftest.$ac_objext conftest$ac_exeext 13276 if { (ac_try="$ac_link" 13277 case "(($ac_try" in 13278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13279 *) ac_try_echo=$ac_try;; 13280 esac 13281 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13282 $as_echo "$ac_try_echo") >&5 13283 (eval "$ac_link") 2>conftest.er1 13284 ac_status=$? 13285 grep -v '^ *+' conftest.er1 >conftest.err 13286 rm -f conftest.er1 13287 cat conftest.err >&5 13288 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13289 (exit $ac_status); } && { 13290 test -z "$ac_cxx_werror_flag" || 13291 test ! -s conftest.err 13292 } && test -s conftest$ac_exeext && { 13293 test "$cross_compiling" = yes || 13294 $as_test_x conftest$ac_exeext 13295 }; then 13296 eval "$as_ac_var=yes" 13297 else 13298 $as_echo "$as_me: failed program was:" >&5 13299 sed 's/^/| /' conftest.$ac_ext >&5 13300 13301 eval "$as_ac_var=no" 13302 fi 13303 13304 rm -rf conftest.dSYM 13305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13306 conftest$ac_exeext conftest.$ac_ext 13307 fi 13308 ac_res=`eval 'as_val=${'$as_ac_var'} 13309 $as_echo "$as_val"'` 13310 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13311 $as_echo "$ac_res" >&6; } 13312 as_val=`eval 'as_val=${'$as_ac_var'} 13313 $as_echo "$as_val"'` 13314 if test "x$as_val" = x""yes; then 8724 13315 cat >>confdefs.h <<_ACEOF 8725 #define HAVE_AVCODEC_OPEN113316 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8726 13317 _ACEOF 8727 13318 … … 8729 13320 done 8730 13321 13322 8731 13323 for ac_func in avcodec_open2 8732 do : 8733 ac_fn_cxx_check_func "$LINENO" "avcodec_open2" "ac_cv_func_avcodec_open2" 8734 if test "x$ac_cv_func_avcodec_open2" = xyes; then : 13324 do 13325 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13326 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13327 $as_echo_n "checking for $ac_func... " >&6; } 13328 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13329 $as_echo_n "(cached) " >&6 13330 else 13331 cat >conftest.$ac_ext <<_ACEOF 13332 /* confdefs.h. */ 13333 _ACEOF 13334 cat confdefs.h >>conftest.$ac_ext 13335 cat >>conftest.$ac_ext <<_ACEOF 13336 /* end confdefs.h. */ 13337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13338 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13339 #define $ac_func innocuous_$ac_func 13340 13341 /* System header to define __stub macros and hopefully few prototypes, 13342 which can conflict with char $ac_func (); below. 13343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13344 <limits.h> exists even on freestanding compilers. */ 13345 13346 #ifdef __STDC__ 13347 # include <limits.h> 13348 #else 13349 # include <assert.h> 13350 #endif 13351 13352 #undef $ac_func 13353 13354 /* Override any GCC internal prototype to avoid an error. 13355 Use char because int might match the return type of a GCC 13356 builtin and then its argument prototype would still apply. */ 13357 #ifdef __cplusplus 13358 extern "C" 13359 #endif 13360 char $ac_func (); 13361 /* The GNU C library defines this for functions which it implements 13362 to always fail with ENOSYS. Some functions are actually named 13363 something starting with __ and the normal name is an alias. */ 13364 #if defined __stub_$ac_func || defined __stub___$ac_func 13365 choke me 13366 #endif 13367 13368 int 13369 main () 13370 { 13371 return $ac_func (); 13372 ; 13373 return 0; 13374 } 13375 _ACEOF 13376 rm -f conftest.$ac_objext conftest$ac_exeext 13377 if { (ac_try="$ac_link" 13378 case "(($ac_try" in 13379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13380 *) ac_try_echo=$ac_try;; 13381 esac 13382 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13383 $as_echo "$ac_try_echo") >&5 13384 (eval "$ac_link") 2>conftest.er1 13385 ac_status=$? 13386 grep -v '^ *+' conftest.er1 >conftest.err 13387 rm -f conftest.er1 13388 cat conftest.err >&5 13389 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13390 (exit $ac_status); } && { 13391 test -z "$ac_cxx_werror_flag" || 13392 test ! -s conftest.err 13393 } && test -s conftest$ac_exeext && { 13394 test "$cross_compiling" = yes || 13395 $as_test_x conftest$ac_exeext 13396 }; then 13397 eval "$as_ac_var=yes" 13398 else 13399 $as_echo "$as_me: failed program was:" >&5 13400 sed 's/^/| /' conftest.$ac_ext >&5 13401 13402 eval "$as_ac_var=no" 13403 fi 13404 13405 rm -rf conftest.dSYM 13406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13407 conftest$ac_exeext conftest.$ac_ext 13408 fi 13409 ac_res=`eval 'as_val=${'$as_ac_var'} 13410 $as_echo "$as_val"'` 13411 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13412 $as_echo "$ac_res" >&6; } 13413 as_val=`eval 'as_val=${'$as_ac_var'} 13414 $as_echo "$as_val"'` 13415 if test "x$as_val" = x""yes; then 8735 13416 cat >>confdefs.h <<_ACEOF 8736 #define HAVE_AVCODEC_OPEN2113417 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8737 13418 _ACEOF 8738 13419 … … 8740 13421 done 8741 13422 13423 8742 13424 for ac_func in avcodec_decode_video2 8743 do : 8744 ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video2" "ac_cv_func_avcodec_decode_video2" 8745 if test "x$ac_cv_func_avcodec_decode_video2" = xyes; then : 13425 do 13426 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13427 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13428 $as_echo_n "checking for $ac_func... " >&6; } 13429 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13430 $as_echo_n "(cached) " >&6 13431 else 13432 cat >conftest.$ac_ext <<_ACEOF 13433 /* confdefs.h. */ 13434 _ACEOF 13435 cat confdefs.h >>conftest.$ac_ext 13436 cat >>conftest.$ac_ext <<_ACEOF 13437 /* end confdefs.h. */ 13438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13439 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13440 #define $ac_func innocuous_$ac_func 13441 13442 /* System header to define __stub macros and hopefully few prototypes, 13443 which can conflict with char $ac_func (); below. 13444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13445 <limits.h> exists even on freestanding compilers. */ 13446 13447 #ifdef __STDC__ 13448 # include <limits.h> 13449 #else 13450 # include <assert.h> 13451 #endif 13452 13453 #undef $ac_func 13454 13455 /* Override any GCC internal prototype to avoid an error. 13456 Use char because int might match the return type of a GCC 13457 builtin and then its argument prototype would still apply. */ 13458 #ifdef __cplusplus 13459 extern "C" 13460 #endif 13461 char $ac_func (); 13462 /* The GNU C library defines this for functions which it implements 13463 to always fail with ENOSYS. Some functions are actually named 13464 something starting with __ and the normal name is an alias. */ 13465 #if defined __stub_$ac_func || defined __stub___$ac_func 13466 choke me 13467 #endif 13468 13469 int 13470 main () 13471 { 13472 return $ac_func (); 13473 ; 13474 return 0; 13475 } 13476 _ACEOF 13477 rm -f conftest.$ac_objext conftest$ac_exeext 13478 if { (ac_try="$ac_link" 13479 case "(($ac_try" in 13480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13481 *) ac_try_echo=$ac_try;; 13482 esac 13483 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13484 $as_echo "$ac_try_echo") >&5 13485 (eval "$ac_link") 2>conftest.er1 13486 ac_status=$? 13487 grep -v '^ *+' conftest.er1 >conftest.err 13488 rm -f conftest.er1 13489 cat conftest.err >&5 13490 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13491 (exit $ac_status); } && { 13492 test -z "$ac_cxx_werror_flag" || 13493 test ! -s conftest.err 13494 } && test -s conftest$ac_exeext && { 13495 test "$cross_compiling" = yes || 13496 $as_test_x conftest$ac_exeext 13497 }; then 13498 eval "$as_ac_var=yes" 13499 else 13500 $as_echo "$as_me: failed program was:" >&5 13501 sed 's/^/| /' conftest.$ac_ext >&5 13502 13503 eval "$as_ac_var=no" 13504 fi 13505 13506 rm -rf conftest.dSYM 13507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13508 conftest$ac_exeext conftest.$ac_ext 13509 fi 13510 ac_res=`eval 'as_val=${'$as_ac_var'} 13511 $as_echo "$as_val"'` 13512 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13513 $as_echo "$ac_res" >&6; } 13514 as_val=`eval 'as_val=${'$as_ac_var'} 13515 $as_echo "$as_val"'` 13516 if test "x$as_val" = x""yes; then 8746 13517 cat >>confdefs.h <<_ACEOF 8747 #define HAVE_AVCODEC_DECODE_VIDEO2113518 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8748 13519 _ACEOF 8749 13520 … … 8751 13522 done 8752 13523 13524 8753 13525 for ac_func in avcodec_decode_video 8754 do : 8755 ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video" "ac_cv_func_avcodec_decode_video" 8756 if test "x$ac_cv_func_avcodec_decode_video" = xyes; then : 13526 do 13527 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13528 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13529 $as_echo_n "checking for $ac_func... " >&6; } 13530 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13531 $as_echo_n "(cached) " >&6 13532 else 13533 cat >conftest.$ac_ext <<_ACEOF 13534 /* confdefs.h. */ 13535 _ACEOF 13536 cat confdefs.h >>conftest.$ac_ext 13537 cat >>conftest.$ac_ext <<_ACEOF 13538 /* end confdefs.h. */ 13539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13540 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13541 #define $ac_func innocuous_$ac_func 13542 13543 /* System header to define __stub macros and hopefully few prototypes, 13544 which can conflict with char $ac_func (); below. 13545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13546 <limits.h> exists even on freestanding compilers. */ 13547 13548 #ifdef __STDC__ 13549 # include <limits.h> 13550 #else 13551 # include <assert.h> 13552 #endif 13553 13554 #undef $ac_func 13555 13556 /* Override any GCC internal prototype to avoid an error. 13557 Use char because int might match the return type of a GCC 13558 builtin and then its argument prototype would still apply. */ 13559 #ifdef __cplusplus 13560 extern "C" 13561 #endif 13562 char $ac_func (); 13563 /* The GNU C library defines this for functions which it implements 13564 to always fail with ENOSYS. Some functions are actually named 13565 something starting with __ and the normal name is an alias. */ 13566 #if defined __stub_$ac_func || defined __stub___$ac_func 13567 choke me 13568 #endif 13569 13570 int 13571 main () 13572 { 13573 return $ac_func (); 13574 ; 13575 return 0; 13576 } 13577 _ACEOF 13578 rm -f conftest.$ac_objext conftest$ac_exeext 13579 if { (ac_try="$ac_link" 13580 case "(($ac_try" in 13581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13582 *) ac_try_echo=$ac_try;; 13583 esac 13584 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13585 $as_echo "$ac_try_echo") >&5 13586 (eval "$ac_link") 2>conftest.er1 13587 ac_status=$? 13588 grep -v '^ *+' conftest.er1 >conftest.err 13589 rm -f conftest.er1 13590 cat conftest.err >&5 13591 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13592 (exit $ac_status); } && { 13593 test -z "$ac_cxx_werror_flag" || 13594 test ! -s conftest.err 13595 } && test -s conftest$ac_exeext && { 13596 test "$cross_compiling" = yes || 13597 $as_test_x conftest$ac_exeext 13598 }; then 13599 eval "$as_ac_var=yes" 13600 else 13601 $as_echo "$as_me: failed program was:" >&5 13602 sed 's/^/| /' conftest.$ac_ext >&5 13603 13604 eval "$as_ac_var=no" 13605 fi 13606 13607 rm -rf conftest.dSYM 13608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13609 conftest$ac_exeext conftest.$ac_ext 13610 fi 13611 ac_res=`eval 'as_val=${'$as_ac_var'} 13612 $as_echo "$as_val"'` 13613 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13614 $as_echo "$ac_res" >&6; } 13615 as_val=`eval 'as_val=${'$as_ac_var'} 13616 $as_echo "$as_val"'` 13617 if test "x$as_val" = x""yes; then 8757 13618 cat >>confdefs.h <<_ACEOF 8758 #define HAVE_AVCODEC_DECODE_VIDEO113619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8759 13620 _ACEOF 8760 13621 … … 8762 13623 done 8763 13624 13625 8764 13626 for ac_func in avcodec_encode_video2 8765 do : 8766 ac_fn_cxx_check_func "$LINENO" "avcodec_encode_video2" "ac_cv_func_avcodec_encode_video2" 8767 if test "x$ac_cv_func_avcodec_encode_video2" = xyes; then : 13627 do 13628 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13629 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13630 $as_echo_n "checking for $ac_func... " >&6; } 13631 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13632 $as_echo_n "(cached) " >&6 13633 else 13634 cat >conftest.$ac_ext <<_ACEOF 13635 /* confdefs.h. */ 13636 _ACEOF 13637 cat confdefs.h >>conftest.$ac_ext 13638 cat >>conftest.$ac_ext <<_ACEOF 13639 /* end confdefs.h. */ 13640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13641 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13642 #define $ac_func innocuous_$ac_func 13643 13644 /* System header to define __stub macros and hopefully few prototypes, 13645 which can conflict with char $ac_func (); below. 13646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13647 <limits.h> exists even on freestanding compilers. */ 13648 13649 #ifdef __STDC__ 13650 # include <limits.h> 13651 #else 13652 # include <assert.h> 13653 #endif 13654 13655 #undef $ac_func 13656 13657 /* Override any GCC internal prototype to avoid an error. 13658 Use char because int might match the return type of a GCC 13659 builtin and then its argument prototype would still apply. */ 13660 #ifdef __cplusplus 13661 extern "C" 13662 #endif 13663 char $ac_func (); 13664 /* The GNU C library defines this for functions which it implements 13665 to always fail with ENOSYS. Some functions are actually named 13666 something starting with __ and the normal name is an alias. */ 13667 #if defined __stub_$ac_func || defined __stub___$ac_func 13668 choke me 13669 #endif 13670 13671 int 13672 main () 13673 { 13674 return $ac_func (); 13675 ; 13676 return 0; 13677 } 13678 _ACEOF 13679 rm -f conftest.$ac_objext conftest$ac_exeext 13680 if { (ac_try="$ac_link" 13681 case "(($ac_try" in 13682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13683 *) ac_try_echo=$ac_try;; 13684 esac 13685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13686 $as_echo "$ac_try_echo") >&5 13687 (eval "$ac_link") 2>conftest.er1 13688 ac_status=$? 13689 grep -v '^ *+' conftest.er1 >conftest.err 13690 rm -f conftest.er1 13691 cat conftest.err >&5 13692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13693 (exit $ac_status); } && { 13694 test -z "$ac_cxx_werror_flag" || 13695 test ! -s conftest.err 13696 } && test -s conftest$ac_exeext && { 13697 test "$cross_compiling" = yes || 13698 $as_test_x conftest$ac_exeext 13699 }; then 13700 eval "$as_ac_var=yes" 13701 else 13702 $as_echo "$as_me: failed program was:" >&5 13703 sed 's/^/| /' conftest.$ac_ext >&5 13704 13705 eval "$as_ac_var=no" 13706 fi 13707 13708 rm -rf conftest.dSYM 13709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13710 conftest$ac_exeext conftest.$ac_ext 13711 fi 13712 ac_res=`eval 'as_val=${'$as_ac_var'} 13713 $as_echo "$as_val"'` 13714 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13715 $as_echo "$ac_res" >&6; } 13716 as_val=`eval 'as_val=${'$as_ac_var'} 13717 $as_echo "$as_val"'` 13718 if test "x$as_val" = x""yes; then 8768 13719 cat >>confdefs.h <<_ACEOF 8769 #define HAVE_AVCODEC_ENCODE_VIDEO2113720 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8770 13721 _ACEOF 8771 13722 … … 8773 13724 done 8774 13725 13726 8775 13727 for ac_func in avcodec_encode_video 8776 do : 8777 ac_fn_cxx_check_func "$LINENO" "avcodec_encode_video" "ac_cv_func_avcodec_encode_video" 8778 if test "x$ac_cv_func_avcodec_encode_video" = xyes; then : 13728 do 13729 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13730 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13731 $as_echo_n "checking for $ac_func... " >&6; } 13732 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13733 $as_echo_n "(cached) " >&6 13734 else 13735 cat >conftest.$ac_ext <<_ACEOF 13736 /* confdefs.h. */ 13737 _ACEOF 13738 cat confdefs.h >>conftest.$ac_ext 13739 cat >>conftest.$ac_ext <<_ACEOF 13740 /* end confdefs.h. */ 13741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13742 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13743 #define $ac_func innocuous_$ac_func 13744 13745 /* System header to define __stub macros and hopefully few prototypes, 13746 which can conflict with char $ac_func (); below. 13747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13748 <limits.h> exists even on freestanding compilers. */ 13749 13750 #ifdef __STDC__ 13751 # include <limits.h> 13752 #else 13753 # include <assert.h> 13754 #endif 13755 13756 #undef $ac_func 13757 13758 /* Override any GCC internal prototype to avoid an error. 13759 Use char because int might match the return type of a GCC 13760 builtin and then its argument prototype would still apply. */ 13761 #ifdef __cplusplus 13762 extern "C" 13763 #endif 13764 char $ac_func (); 13765 /* The GNU C library defines this for functions which it implements 13766 to always fail with ENOSYS. Some functions are actually named 13767 something starting with __ and the normal name is an alias. */ 13768 #if defined __stub_$ac_func || defined __stub___$ac_func 13769 choke me 13770 #endif 13771 13772 int 13773 main () 13774 { 13775 return $ac_func (); 13776 ; 13777 return 0; 13778 } 13779 _ACEOF 13780 rm -f conftest.$ac_objext conftest$ac_exeext 13781 if { (ac_try="$ac_link" 13782 case "(($ac_try" in 13783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13784 *) ac_try_echo=$ac_try;; 13785 esac 13786 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13787 $as_echo "$ac_try_echo") >&5 13788 (eval "$ac_link") 2>conftest.er1 13789 ac_status=$? 13790 grep -v '^ *+' conftest.er1 >conftest.err 13791 rm -f conftest.er1 13792 cat conftest.err >&5 13793 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13794 (exit $ac_status); } && { 13795 test -z "$ac_cxx_werror_flag" || 13796 test ! -s conftest.err 13797 } && test -s conftest$ac_exeext && { 13798 test "$cross_compiling" = yes || 13799 $as_test_x conftest$ac_exeext 13800 }; then 13801 eval "$as_ac_var=yes" 13802 else 13803 $as_echo "$as_me: failed program was:" >&5 13804 sed 's/^/| /' conftest.$ac_ext >&5 13805 13806 eval "$as_ac_var=no" 13807 fi 13808 13809 rm -rf conftest.dSYM 13810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13811 conftest$ac_exeext conftest.$ac_ext 13812 fi 13813 ac_res=`eval 'as_val=${'$as_ac_var'} 13814 $as_echo "$as_val"'` 13815 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13816 $as_echo "$ac_res" >&6; } 13817 as_val=`eval 'as_val=${'$as_ac_var'} 13818 $as_echo "$as_val"'` 13819 if test "x$as_val" = x""yes; then 8779 13820 cat >>confdefs.h <<_ACEOF 8780 #define HAVE_AVCODEC_ENCODE_VIDEO113821 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8781 13822 _ACEOF 8782 13823 … … 8784 13825 done 8785 13826 13827 8786 13828 for ac_func in avformat_open_input 8787 do : 8788 ac_fn_cxx_check_func "$LINENO" "avformat_open_input" "ac_cv_func_avformat_open_input" 8789 if test "x$ac_cv_func_avformat_open_input" = xyes; then : 13829 do 13830 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13831 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13832 $as_echo_n "checking for $ac_func... " >&6; } 13833 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13834 $as_echo_n "(cached) " >&6 13835 else 13836 cat >conftest.$ac_ext <<_ACEOF 13837 /* confdefs.h. */ 13838 _ACEOF 13839 cat confdefs.h >>conftest.$ac_ext 13840 cat >>conftest.$ac_ext <<_ACEOF 13841 /* end confdefs.h. */ 13842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13843 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13844 #define $ac_func innocuous_$ac_func 13845 13846 /* System header to define __stub macros and hopefully few prototypes, 13847 which can conflict with char $ac_func (); below. 13848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13849 <limits.h> exists even on freestanding compilers. */ 13850 13851 #ifdef __STDC__ 13852 # include <limits.h> 13853 #else 13854 # include <assert.h> 13855 #endif 13856 13857 #undef $ac_func 13858 13859 /* Override any GCC internal prototype to avoid an error. 13860 Use char because int might match the return type of a GCC 13861 builtin and then its argument prototype would still apply. */ 13862 #ifdef __cplusplus 13863 extern "C" 13864 #endif 13865 char $ac_func (); 13866 /* The GNU C library defines this for functions which it implements 13867 to always fail with ENOSYS. Some functions are actually named 13868 something starting with __ and the normal name is an alias. */ 13869 #if defined __stub_$ac_func || defined __stub___$ac_func 13870 choke me 13871 #endif 13872 13873 int 13874 main () 13875 { 13876 return $ac_func (); 13877 ; 13878 return 0; 13879 } 13880 _ACEOF 13881 rm -f conftest.$ac_objext conftest$ac_exeext 13882 if { (ac_try="$ac_link" 13883 case "(($ac_try" in 13884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13885 *) ac_try_echo=$ac_try;; 13886 esac 13887 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13888 $as_echo "$ac_try_echo") >&5 13889 (eval "$ac_link") 2>conftest.er1 13890 ac_status=$? 13891 grep -v '^ *+' conftest.er1 >conftest.err 13892 rm -f conftest.er1 13893 cat conftest.err >&5 13894 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13895 (exit $ac_status); } && { 13896 test -z "$ac_cxx_werror_flag" || 13897 test ! -s conftest.err 13898 } && test -s conftest$ac_exeext && { 13899 test "$cross_compiling" = yes || 13900 $as_test_x conftest$ac_exeext 13901 }; then 13902 eval "$as_ac_var=yes" 13903 else 13904 $as_echo "$as_me: failed program was:" >&5 13905 sed 's/^/| /' conftest.$ac_ext >&5 13906 13907 eval "$as_ac_var=no" 13908 fi 13909 13910 rm -rf conftest.dSYM 13911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13912 conftest$ac_exeext conftest.$ac_ext 13913 fi 13914 ac_res=`eval 'as_val=${'$as_ac_var'} 13915 $as_echo "$as_val"'` 13916 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13917 $as_echo "$ac_res" >&6; } 13918 as_val=`eval 'as_val=${'$as_ac_var'} 13919 $as_echo "$as_val"'` 13920 if test "x$as_val" = x""yes; then 8790 13921 cat >>confdefs.h <<_ACEOF 8791 #define HAVE_AVFORMAT_OPEN_INPUT113922 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8792 13923 _ACEOF 8793 13924 … … 8795 13926 done 8796 13927 13928 8797 13929 for ac_func in av_open_input_file 8798 do : 8799 ac_fn_cxx_check_func "$LINENO" "av_open_input_file" "ac_cv_func_av_open_input_file" 8800 if test "x$ac_cv_func_av_open_input_file" = xyes; then : 13930 do 13931 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13932 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13933 $as_echo_n "checking for $ac_func... " >&6; } 13934 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13935 $as_echo_n "(cached) " >&6 13936 else 13937 cat >conftest.$ac_ext <<_ACEOF 13938 /* confdefs.h. */ 13939 _ACEOF 13940 cat confdefs.h >>conftest.$ac_ext 13941 cat >>conftest.$ac_ext <<_ACEOF 13942 /* end confdefs.h. */ 13943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13944 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13945 #define $ac_func innocuous_$ac_func 13946 13947 /* System header to define __stub macros and hopefully few prototypes, 13948 which can conflict with char $ac_func (); below. 13949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13950 <limits.h> exists even on freestanding compilers. */ 13951 13952 #ifdef __STDC__ 13953 # include <limits.h> 13954 #else 13955 # include <assert.h> 13956 #endif 13957 13958 #undef $ac_func 13959 13960 /* Override any GCC internal prototype to avoid an error. 13961 Use char because int might match the return type of a GCC 13962 builtin and then its argument prototype would still apply. */ 13963 #ifdef __cplusplus 13964 extern "C" 13965 #endif 13966 char $ac_func (); 13967 /* The GNU C library defines this for functions which it implements 13968 to always fail with ENOSYS. Some functions are actually named 13969 something starting with __ and the normal name is an alias. */ 13970 #if defined __stub_$ac_func || defined __stub___$ac_func 13971 choke me 13972 #endif 13973 13974 int 13975 main () 13976 { 13977 return $ac_func (); 13978 ; 13979 return 0; 13980 } 13981 _ACEOF 13982 rm -f conftest.$ac_objext conftest$ac_exeext 13983 if { (ac_try="$ac_link" 13984 case "(($ac_try" in 13985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13986 *) ac_try_echo=$ac_try;; 13987 esac 13988 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13989 $as_echo "$ac_try_echo") >&5 13990 (eval "$ac_link") 2>conftest.er1 13991 ac_status=$? 13992 grep -v '^ *+' conftest.er1 >conftest.err 13993 rm -f conftest.er1 13994 cat conftest.err >&5 13995 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13996 (exit $ac_status); } && { 13997 test -z "$ac_cxx_werror_flag" || 13998 test ! -s conftest.err 13999 } && test -s conftest$ac_exeext && { 14000 test "$cross_compiling" = yes || 14001 $as_test_x conftest$ac_exeext 14002 }; then 14003 eval "$as_ac_var=yes" 14004 else 14005 $as_echo "$as_me: failed program was:" >&5 14006 sed 's/^/| /' conftest.$ac_ext >&5 14007 14008 eval "$as_ac_var=no" 14009 fi 14010 14011 rm -rf conftest.dSYM 14012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14013 conftest$ac_exeext conftest.$ac_ext 14014 fi 14015 ac_res=`eval 'as_val=${'$as_ac_var'} 14016 $as_echo "$as_val"'` 14017 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14018 $as_echo "$ac_res" >&6; } 14019 as_val=`eval 'as_val=${'$as_ac_var'} 14020 $as_echo "$as_val"'` 14021 if test "x$as_val" = x""yes; then 8801 14022 cat >>confdefs.h <<_ACEOF 8802 #define HAVE_AV_OPEN_INPUT_FILE114023 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8803 14024 _ACEOF 8804 14025 … … 8806 14027 done 8807 14028 14029 8808 14030 for ac_func in av_guess_format 8809 do : 8810 ac_fn_cxx_check_func "$LINENO" "av_guess_format" "ac_cv_func_av_guess_format" 8811 if test "x$ac_cv_func_av_guess_format" = xyes; then : 14031 do 14032 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14033 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14034 $as_echo_n "checking for $ac_func... " >&6; } 14035 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14036 $as_echo_n "(cached) " >&6 14037 else 14038 cat >conftest.$ac_ext <<_ACEOF 14039 /* confdefs.h. */ 14040 _ACEOF 14041 cat confdefs.h >>conftest.$ac_ext 14042 cat >>conftest.$ac_ext <<_ACEOF 14043 /* end confdefs.h. */ 14044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14045 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14046 #define $ac_func innocuous_$ac_func 14047 14048 /* System header to define __stub macros and hopefully few prototypes, 14049 which can conflict with char $ac_func (); below. 14050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14051 <limits.h> exists even on freestanding compilers. */ 14052 14053 #ifdef __STDC__ 14054 # include <limits.h> 14055 #else 14056 # include <assert.h> 14057 #endif 14058 14059 #undef $ac_func 14060 14061 /* Override any GCC internal prototype to avoid an error. 14062 Use char because int might match the return type of a GCC 14063 builtin and then its argument prototype would still apply. */ 14064 #ifdef __cplusplus 14065 extern "C" 14066 #endif 14067 char $ac_func (); 14068 /* The GNU C library defines this for functions which it implements 14069 to always fail with ENOSYS. Some functions are actually named 14070 something starting with __ and the normal name is an alias. */ 14071 #if defined __stub_$ac_func || defined __stub___$ac_func 14072 choke me 14073 #endif 14074 14075 int 14076 main () 14077 { 14078 return $ac_func (); 14079 ; 14080 return 0; 14081 } 14082 _ACEOF 14083 rm -f conftest.$ac_objext conftest$ac_exeext 14084 if { (ac_try="$ac_link" 14085 case "(($ac_try" in 14086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14087 *) ac_try_echo=$ac_try;; 14088 esac 14089 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14090 $as_echo "$ac_try_echo") >&5 14091 (eval "$ac_link") 2>conftest.er1 14092 ac_status=$? 14093 grep -v '^ *+' conftest.er1 >conftest.err 14094 rm -f conftest.er1 14095 cat conftest.err >&5 14096 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14097 (exit $ac_status); } && { 14098 test -z "$ac_cxx_werror_flag" || 14099 test ! -s conftest.err 14100 } && test -s conftest$ac_exeext && { 14101 test "$cross_compiling" = yes || 14102 $as_test_x conftest$ac_exeext 14103 }; then 14104 eval "$as_ac_var=yes" 14105 else 14106 $as_echo "$as_me: failed program was:" >&5 14107 sed 's/^/| /' conftest.$ac_ext >&5 14108 14109 eval "$as_ac_var=no" 14110 fi 14111 14112 rm -rf conftest.dSYM 14113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14114 conftest$ac_exeext conftest.$ac_ext 14115 fi 14116 ac_res=`eval 'as_val=${'$as_ac_var'} 14117 $as_echo "$as_val"'` 14118 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14119 $as_echo "$ac_res" >&6; } 14120 as_val=`eval 'as_val=${'$as_ac_var'} 14121 $as_echo "$as_val"'` 14122 if test "x$as_val" = x""yes; then 8812 14123 cat >>confdefs.h <<_ACEOF 8813 #define HAVE_AV_GUESS_FORMAT114124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8814 14125 _ACEOF 8815 14126 … … 8817 14128 done 8818 14129 14130 8819 14131 for ac_func in guess_format 8820 do : 8821 ac_fn_cxx_check_func "$LINENO" "guess_format" "ac_cv_func_guess_format" 8822 if test "x$ac_cv_func_guess_format" = xyes; then : 14132 do 14133 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14134 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14135 $as_echo_n "checking for $ac_func... " >&6; } 14136 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14137 $as_echo_n "(cached) " >&6 14138 else 14139 cat >conftest.$ac_ext <<_ACEOF 14140 /* confdefs.h. */ 14141 _ACEOF 14142 cat confdefs.h >>conftest.$ac_ext 14143 cat >>conftest.$ac_ext <<_ACEOF 14144 /* end confdefs.h. */ 14145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14146 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14147 #define $ac_func innocuous_$ac_func 14148 14149 /* System header to define __stub macros and hopefully few prototypes, 14150 which can conflict with char $ac_func (); below. 14151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14152 <limits.h> exists even on freestanding compilers. */ 14153 14154 #ifdef __STDC__ 14155 # include <limits.h> 14156 #else 14157 # include <assert.h> 14158 #endif 14159 14160 #undef $ac_func 14161 14162 /* Override any GCC internal prototype to avoid an error. 14163 Use char because int might match the return type of a GCC 14164 builtin and then its argument prototype would still apply. */ 14165 #ifdef __cplusplus 14166 extern "C" 14167 #endif 14168 char $ac_func (); 14169 /* The GNU C library defines this for functions which it implements 14170 to always fail with ENOSYS. Some functions are actually named 14171 something starting with __ and the normal name is an alias. */ 14172 #if defined __stub_$ac_func || defined __stub___$ac_func 14173 choke me 14174 #endif 14175 14176 int 14177 main () 14178 { 14179 return $ac_func (); 14180 ; 14181 return 0; 14182 } 14183 _ACEOF 14184 rm -f conftest.$ac_objext conftest$ac_exeext 14185 if { (ac_try="$ac_link" 14186 case "(($ac_try" in 14187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14188 *) ac_try_echo=$ac_try;; 14189 esac 14190 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14191 $as_echo "$ac_try_echo") >&5 14192 (eval "$ac_link") 2>conftest.er1 14193 ac_status=$? 14194 grep -v '^ *+' conftest.er1 >conftest.err 14195 rm -f conftest.er1 14196 cat conftest.err >&5 14197 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14198 (exit $ac_status); } && { 14199 test -z "$ac_cxx_werror_flag" || 14200 test ! -s conftest.err 14201 } && test -s conftest$ac_exeext && { 14202 test "$cross_compiling" = yes || 14203 $as_test_x conftest$ac_exeext 14204 }; then 14205 eval "$as_ac_var=yes" 14206 else 14207 $as_echo "$as_me: failed program was:" >&5 14208 sed 's/^/| /' conftest.$ac_ext >&5 14209 14210 eval "$as_ac_var=no" 14211 fi 14212 14213 rm -rf conftest.dSYM 14214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14215 conftest$ac_exeext conftest.$ac_ext 14216 fi 14217 ac_res=`eval 'as_val=${'$as_ac_var'} 14218 $as_echo "$as_val"'` 14219 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14220 $as_echo "$ac_res" >&6; } 14221 as_val=`eval 'as_val=${'$as_ac_var'} 14222 $as_echo "$as_val"'` 14223 if test "x$as_val" = x""yes; then 8823 14224 cat >>confdefs.h <<_ACEOF 8824 #define HAVE_GUESS_FORMAT114225 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8825 14226 _ACEOF 8826 14227 … … 8828 14229 done 8829 14230 14231 8830 14232 for ac_func in av_dump_format 8831 do : 8832 ac_fn_cxx_check_func "$LINENO" "av_dump_format" "ac_cv_func_av_dump_format" 8833 if test "x$ac_cv_func_av_dump_format" = xyes; then : 14233 do 14234 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14235 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14236 $as_echo_n "checking for $ac_func... " >&6; } 14237 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14238 $as_echo_n "(cached) " >&6 14239 else 14240 cat >conftest.$ac_ext <<_ACEOF 14241 /* confdefs.h. */ 14242 _ACEOF 14243 cat confdefs.h >>conftest.$ac_ext 14244 cat >>conftest.$ac_ext <<_ACEOF 14245 /* end confdefs.h. */ 14246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14247 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14248 #define $ac_func innocuous_$ac_func 14249 14250 /* System header to define __stub macros and hopefully few prototypes, 14251 which can conflict with char $ac_func (); below. 14252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14253 <limits.h> exists even on freestanding compilers. */ 14254 14255 #ifdef __STDC__ 14256 # include <limits.h> 14257 #else 14258 # include <assert.h> 14259 #endif 14260 14261 #undef $ac_func 14262 14263 /* Override any GCC internal prototype to avoid an error. 14264 Use char because int might match the return type of a GCC 14265 builtin and then its argument prototype would still apply. */ 14266 #ifdef __cplusplus 14267 extern "C" 14268 #endif 14269 char $ac_func (); 14270 /* The GNU C library defines this for functions which it implements 14271 to always fail with ENOSYS. Some functions are actually named 14272 something starting with __ and the normal name is an alias. */ 14273 #if defined __stub_$ac_func || defined __stub___$ac_func 14274 choke me 14275 #endif 14276 14277 int 14278 main () 14279 { 14280 return $ac_func (); 14281 ; 14282 return 0; 14283 } 14284 _ACEOF 14285 rm -f conftest.$ac_objext conftest$ac_exeext 14286 if { (ac_try="$ac_link" 14287 case "(($ac_try" in 14288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14289 *) ac_try_echo=$ac_try;; 14290 esac 14291 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14292 $as_echo "$ac_try_echo") >&5 14293 (eval "$ac_link") 2>conftest.er1 14294 ac_status=$? 14295 grep -v '^ *+' conftest.er1 >conftest.err 14296 rm -f conftest.er1 14297 cat conftest.err >&5 14298 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14299 (exit $ac_status); } && { 14300 test -z "$ac_cxx_werror_flag" || 14301 test ! -s conftest.err 14302 } && test -s conftest$ac_exeext && { 14303 test "$cross_compiling" = yes || 14304 $as_test_x conftest$ac_exeext 14305 }; then 14306 eval "$as_ac_var=yes" 14307 else 14308 $as_echo "$as_me: failed program was:" >&5 14309 sed 's/^/| /' conftest.$ac_ext >&5 14310 14311 eval "$as_ac_var=no" 14312 fi 14313 14314 rm -rf conftest.dSYM 14315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14316 conftest$ac_exeext conftest.$ac_ext 14317 fi 14318 ac_res=`eval 'as_val=${'$as_ac_var'} 14319 $as_echo "$as_val"'` 14320 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14321 $as_echo "$ac_res" >&6; } 14322 as_val=`eval 'as_val=${'$as_ac_var'} 14323 $as_echo "$as_val"'` 14324 if test "x$as_val" = x""yes; then 8834 14325 cat >>confdefs.h <<_ACEOF 8835 #define HAVE_AV_DUMP_FORMAT114326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8836 14327 _ACEOF 8837 14328 … … 8839 14330 done 8840 14331 14332 8841 14333 for ac_func in dump_format 8842 do : 8843 ac_fn_cxx_check_func "$LINENO" "dump_format" "ac_cv_func_dump_format" 8844 if test "x$ac_cv_func_dump_format" = xyes; then : 14334 do 14335 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14336 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14337 $as_echo_n "checking for $ac_func... " >&6; } 14338 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14339 $as_echo_n "(cached) " >&6 14340 else 14341 cat >conftest.$ac_ext <<_ACEOF 14342 /* confdefs.h. */ 14343 _ACEOF 14344 cat confdefs.h >>conftest.$ac_ext 14345 cat >>conftest.$ac_ext <<_ACEOF 14346 /* end confdefs.h. */ 14347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14348 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14349 #define $ac_func innocuous_$ac_func 14350 14351 /* System header to define __stub macros and hopefully few prototypes, 14352 which can conflict with char $ac_func (); below. 14353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14354 <limits.h> exists even on freestanding compilers. */ 14355 14356 #ifdef __STDC__ 14357 # include <limits.h> 14358 #else 14359 # include <assert.h> 14360 #endif 14361 14362 #undef $ac_func 14363 14364 /* Override any GCC internal prototype to avoid an error. 14365 Use char because int might match the return type of a GCC 14366 builtin and then its argument prototype would still apply. */ 14367 #ifdef __cplusplus 14368 extern "C" 14369 #endif 14370 char $ac_func (); 14371 /* The GNU C library defines this for functions which it implements 14372 to always fail with ENOSYS. Some functions are actually named 14373 something starting with __ and the normal name is an alias. */ 14374 #if defined __stub_$ac_func || defined __stub___$ac_func 14375 choke me 14376 #endif 14377 14378 int 14379 main () 14380 { 14381 return $ac_func (); 14382 ; 14383 return 0; 14384 } 14385 _ACEOF 14386 rm -f conftest.$ac_objext conftest$ac_exeext 14387 if { (ac_try="$ac_link" 14388 case "(($ac_try" in 14389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14390 *) ac_try_echo=$ac_try;; 14391 esac 14392 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14393 $as_echo "$ac_try_echo") >&5 14394 (eval "$ac_link") 2>conftest.er1 14395 ac_status=$? 14396 grep -v '^ *+' conftest.er1 >conftest.err 14397 rm -f conftest.er1 14398 cat conftest.err >&5 14399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14400 (exit $ac_status); } && { 14401 test -z "$ac_cxx_werror_flag" || 14402 test ! -s conftest.err 14403 } && test -s conftest$ac_exeext && { 14404 test "$cross_compiling" = yes || 14405 $as_test_x conftest$ac_exeext 14406 }; then 14407 eval "$as_ac_var=yes" 14408 else 14409 $as_echo "$as_me: failed program was:" >&5 14410 sed 's/^/| /' conftest.$ac_ext >&5 14411 14412 eval "$as_ac_var=no" 14413 fi 14414 14415 rm -rf conftest.dSYM 14416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14417 conftest$ac_exeext conftest.$ac_ext 14418 fi 14419 ac_res=`eval 'as_val=${'$as_ac_var'} 14420 $as_echo "$as_val"'` 14421 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14422 $as_echo "$ac_res" >&6; } 14423 as_val=`eval 'as_val=${'$as_ac_var'} 14424 $as_echo "$as_val"'` 14425 if test "x$as_val" = x""yes; then 8845 14426 cat >>confdefs.h <<_ACEOF 8846 #define HAVE_DUMP_FORMAT114427 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8847 14428 _ACEOF 8848 14429 … … 8850 14431 done 8851 14432 14433 8852 14434 for ac_func in avio_open 8853 do : 8854 ac_fn_cxx_check_func "$LINENO" "avio_open" "ac_cv_func_avio_open" 8855 if test "x$ac_cv_func_avio_open" = xyes; then : 14435 do 14436 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14437 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14438 $as_echo_n "checking for $ac_func... " >&6; } 14439 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14440 $as_echo_n "(cached) " >&6 14441 else 14442 cat >conftest.$ac_ext <<_ACEOF 14443 /* confdefs.h. */ 14444 _ACEOF 14445 cat confdefs.h >>conftest.$ac_ext 14446 cat >>conftest.$ac_ext <<_ACEOF 14447 /* end confdefs.h. */ 14448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14449 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14450 #define $ac_func innocuous_$ac_func 14451 14452 /* System header to define __stub macros and hopefully few prototypes, 14453 which can conflict with char $ac_func (); below. 14454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14455 <limits.h> exists even on freestanding compilers. */ 14456 14457 #ifdef __STDC__ 14458 # include <limits.h> 14459 #else 14460 # include <assert.h> 14461 #endif 14462 14463 #undef $ac_func 14464 14465 /* Override any GCC internal prototype to avoid an error. 14466 Use char because int might match the return type of a GCC 14467 builtin and then its argument prototype would still apply. */ 14468 #ifdef __cplusplus 14469 extern "C" 14470 #endif 14471 char $ac_func (); 14472 /* The GNU C library defines this for functions which it implements 14473 to always fail with ENOSYS. Some functions are actually named 14474 something starting with __ and the normal name is an alias. */ 14475 #if defined __stub_$ac_func || defined __stub___$ac_func 14476 choke me 14477 #endif 14478 14479 int 14480 main () 14481 { 14482 return $ac_func (); 14483 ; 14484 return 0; 14485 } 14486 _ACEOF 14487 rm -f conftest.$ac_objext conftest$ac_exeext 14488 if { (ac_try="$ac_link" 14489 case "(($ac_try" in 14490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14491 *) ac_try_echo=$ac_try;; 14492 esac 14493 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14494 $as_echo "$ac_try_echo") >&5 14495 (eval "$ac_link") 2>conftest.er1 14496 ac_status=$? 14497 grep -v '^ *+' conftest.er1 >conftest.err 14498 rm -f conftest.er1 14499 cat conftest.err >&5 14500 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14501 (exit $ac_status); } && { 14502 test -z "$ac_cxx_werror_flag" || 14503 test ! -s conftest.err 14504 } && test -s conftest$ac_exeext && { 14505 test "$cross_compiling" = yes || 14506 $as_test_x conftest$ac_exeext 14507 }; then 14508 eval "$as_ac_var=yes" 14509 else 14510 $as_echo "$as_me: failed program was:" >&5 14511 sed 's/^/| /' conftest.$ac_ext >&5 14512 14513 eval "$as_ac_var=no" 14514 fi 14515 14516 rm -rf conftest.dSYM 14517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14518 conftest$ac_exeext conftest.$ac_ext 14519 fi 14520 ac_res=`eval 'as_val=${'$as_ac_var'} 14521 $as_echo "$as_val"'` 14522 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14523 $as_echo "$ac_res" >&6; } 14524 as_val=`eval 'as_val=${'$as_ac_var'} 14525 $as_echo "$as_val"'` 14526 if test "x$as_val" = x""yes; then 8856 14527 cat >>confdefs.h <<_ACEOF 8857 #define HAVE_AVIO_OPEN114528 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8858 14529 _ACEOF 8859 14530 … … 8861 14532 done 8862 14533 14534 8863 14535 for ac_func in url_fopen 8864 do : 8865 ac_fn_cxx_check_func "$LINENO" "url_fopen" "ac_cv_func_url_fopen" 8866 if test "x$ac_cv_func_url_fopen" = xyes; then : 14536 do 14537 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14538 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14539 $as_echo_n "checking for $ac_func... " >&6; } 14540 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14541 $as_echo_n "(cached) " >&6 14542 else 14543 cat >conftest.$ac_ext <<_ACEOF 14544 /* confdefs.h. */ 14545 _ACEOF 14546 cat confdefs.h >>conftest.$ac_ext 14547 cat >>conftest.$ac_ext <<_ACEOF 14548 /* end confdefs.h. */ 14549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14550 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14551 #define $ac_func innocuous_$ac_func 14552 14553 /* System header to define __stub macros and hopefully few prototypes, 14554 which can conflict with char $ac_func (); below. 14555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14556 <limits.h> exists even on freestanding compilers. */ 14557 14558 #ifdef __STDC__ 14559 # include <limits.h> 14560 #else 14561 # include <assert.h> 14562 #endif 14563 14564 #undef $ac_func 14565 14566 /* Override any GCC internal prototype to avoid an error. 14567 Use char because int might match the return type of a GCC 14568 builtin and then its argument prototype would still apply. */ 14569 #ifdef __cplusplus 14570 extern "C" 14571 #endif 14572 char $ac_func (); 14573 /* The GNU C library defines this for functions which it implements 14574 to always fail with ENOSYS. Some functions are actually named 14575 something starting with __ and the normal name is an alias. */ 14576 #if defined __stub_$ac_func || defined __stub___$ac_func 14577 choke me 14578 #endif 14579 14580 int 14581 main () 14582 { 14583 return $ac_func (); 14584 ; 14585 return 0; 14586 } 14587 _ACEOF 14588 rm -f conftest.$ac_objext conftest$ac_exeext 14589 if { (ac_try="$ac_link" 14590 case "(($ac_try" in 14591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14592 *) ac_try_echo=$ac_try;; 14593 esac 14594 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14595 $as_echo "$ac_try_echo") >&5 14596 (eval "$ac_link") 2>conftest.er1 14597 ac_status=$? 14598 grep -v '^ *+' conftest.er1 >conftest.err 14599 rm -f conftest.er1 14600 cat conftest.err >&5 14601 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14602 (exit $ac_status); } && { 14603 test -z "$ac_cxx_werror_flag" || 14604 test ! -s conftest.err 14605 } && test -s conftest$ac_exeext && { 14606 test "$cross_compiling" = yes || 14607 $as_test_x conftest$ac_exeext 14608 }; then 14609 eval "$as_ac_var=yes" 14610 else 14611 $as_echo "$as_me: failed program was:" >&5 14612 sed 's/^/| /' conftest.$ac_ext >&5 14613 14614 eval "$as_ac_var=no" 14615 fi 14616 14617 rm -rf conftest.dSYM 14618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14619 conftest$ac_exeext conftest.$ac_ext 14620 fi 14621 ac_res=`eval 'as_val=${'$as_ac_var'} 14622 $as_echo "$as_val"'` 14623 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14624 $as_echo "$ac_res" >&6; } 14625 as_val=`eval 'as_val=${'$as_ac_var'} 14626 $as_echo "$as_val"'` 14627 if test "x$as_val" = x""yes; then 8867 14628 cat >>confdefs.h <<_ACEOF 8868 #define HAVE_URL_FOPEN114629 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8869 14630 _ACEOF 8870 14631 … … 8872 14633 done 8873 14634 14635 8874 14636 for ac_func in avio_close 8875 do : 8876 ac_fn_cxx_check_func "$LINENO" "avio_close" "ac_cv_func_avio_close" 8877 if test "x$ac_cv_func_avio_close" = xyes; then : 14637 do 14638 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14639 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14640 $as_echo_n "checking for $ac_func... " >&6; } 14641 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14642 $as_echo_n "(cached) " >&6 14643 else 14644 cat >conftest.$ac_ext <<_ACEOF 14645 /* confdefs.h. */ 14646 _ACEOF 14647 cat confdefs.h >>conftest.$ac_ext 14648 cat >>conftest.$ac_ext <<_ACEOF 14649 /* end confdefs.h. */ 14650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14651 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14652 #define $ac_func innocuous_$ac_func 14653 14654 /* System header to define __stub macros and hopefully few prototypes, 14655 which can conflict with char $ac_func (); below. 14656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14657 <limits.h> exists even on freestanding compilers. */ 14658 14659 #ifdef __STDC__ 14660 # include <limits.h> 14661 #else 14662 # include <assert.h> 14663 #endif 14664 14665 #undef $ac_func 14666 14667 /* Override any GCC internal prototype to avoid an error. 14668 Use char because int might match the return type of a GCC 14669 builtin and then its argument prototype would still apply. */ 14670 #ifdef __cplusplus 14671 extern "C" 14672 #endif 14673 char $ac_func (); 14674 /* The GNU C library defines this for functions which it implements 14675 to always fail with ENOSYS. Some functions are actually named 14676 something starting with __ and the normal name is an alias. */ 14677 #if defined __stub_$ac_func || defined __stub___$ac_func 14678 choke me 14679 #endif 14680 14681 int 14682 main () 14683 { 14684 return $ac_func (); 14685 ; 14686 return 0; 14687 } 14688 _ACEOF 14689 rm -f conftest.$ac_objext conftest$ac_exeext 14690 if { (ac_try="$ac_link" 14691 case "(($ac_try" in 14692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14693 *) ac_try_echo=$ac_try;; 14694 esac 14695 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14696 $as_echo "$ac_try_echo") >&5 14697 (eval "$ac_link") 2>conftest.er1 14698 ac_status=$? 14699 grep -v '^ *+' conftest.er1 >conftest.err 14700 rm -f conftest.er1 14701 cat conftest.err >&5 14702 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14703 (exit $ac_status); } && { 14704 test -z "$ac_cxx_werror_flag" || 14705 test ! -s conftest.err 14706 } && test -s conftest$ac_exeext && { 14707 test "$cross_compiling" = yes || 14708 $as_test_x conftest$ac_exeext 14709 }; then 14710 eval "$as_ac_var=yes" 14711 else 14712 $as_echo "$as_me: failed program was:" >&5 14713 sed 's/^/| /' conftest.$ac_ext >&5 14714 14715 eval "$as_ac_var=no" 14716 fi 14717 14718 rm -rf conftest.dSYM 14719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14720 conftest$ac_exeext conftest.$ac_ext 14721 fi 14722 ac_res=`eval 'as_val=${'$as_ac_var'} 14723 $as_echo "$as_val"'` 14724 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14725 $as_echo "$ac_res" >&6; } 14726 as_val=`eval 'as_val=${'$as_ac_var'} 14727 $as_echo "$as_val"'` 14728 if test "x$as_val" = x""yes; then 8878 14729 cat >>confdefs.h <<_ACEOF 8879 #define HAVE_AVIO_CLOSE114730 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8880 14731 _ACEOF 8881 14732 … … 8883 14734 done 8884 14735 14736 8885 14737 for ac_func in url_fclose 8886 do : 8887 ac_fn_cxx_check_func "$LINENO" "url_fclose" "ac_cv_func_url_fclose" 8888 if test "x$ac_cv_func_url_fclose" = xyes; then : 14738 do 14739 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14740 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14741 $as_echo_n "checking for $ac_func... " >&6; } 14742 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14743 $as_echo_n "(cached) " >&6 14744 else 14745 cat >conftest.$ac_ext <<_ACEOF 14746 /* confdefs.h. */ 14747 _ACEOF 14748 cat confdefs.h >>conftest.$ac_ext 14749 cat >>conftest.$ac_ext <<_ACEOF 14750 /* end confdefs.h. */ 14751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14752 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14753 #define $ac_func innocuous_$ac_func 14754 14755 /* System header to define __stub macros and hopefully few prototypes, 14756 which can conflict with char $ac_func (); below. 14757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14758 <limits.h> exists even on freestanding compilers. */ 14759 14760 #ifdef __STDC__ 14761 # include <limits.h> 14762 #else 14763 # include <assert.h> 14764 #endif 14765 14766 #undef $ac_func 14767 14768 /* Override any GCC internal prototype to avoid an error. 14769 Use char because int might match the return type of a GCC 14770 builtin and then its argument prototype would still apply. */ 14771 #ifdef __cplusplus 14772 extern "C" 14773 #endif 14774 char $ac_func (); 14775 /* The GNU C library defines this for functions which it implements 14776 to always fail with ENOSYS. Some functions are actually named 14777 something starting with __ and the normal name is an alias. */ 14778 #if defined __stub_$ac_func || defined __stub___$ac_func 14779 choke me 14780 #endif 14781 14782 int 14783 main () 14784 { 14785 return $ac_func (); 14786 ; 14787 return 0; 14788 } 14789 _ACEOF 14790 rm -f conftest.$ac_objext conftest$ac_exeext 14791 if { (ac_try="$ac_link" 14792 case "(($ac_try" in 14793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14794 *) ac_try_echo=$ac_try;; 14795 esac 14796 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14797 $as_echo "$ac_try_echo") >&5 14798 (eval "$ac_link") 2>conftest.er1 14799 ac_status=$? 14800 grep -v '^ *+' conftest.er1 >conftest.err 14801 rm -f conftest.er1 14802 cat conftest.err >&5 14803 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14804 (exit $ac_status); } && { 14805 test -z "$ac_cxx_werror_flag" || 14806 test ! -s conftest.err 14807 } && test -s conftest$ac_exeext && { 14808 test "$cross_compiling" = yes || 14809 $as_test_x conftest$ac_exeext 14810 }; then 14811 eval "$as_ac_var=yes" 14812 else 14813 $as_echo "$as_me: failed program was:" >&5 14814 sed 's/^/| /' conftest.$ac_ext >&5 14815 14816 eval "$as_ac_var=no" 14817 fi 14818 14819 rm -rf conftest.dSYM 14820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14821 conftest$ac_exeext conftest.$ac_ext 14822 fi 14823 ac_res=`eval 'as_val=${'$as_ac_var'} 14824 $as_echo "$as_val"'` 14825 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14826 $as_echo "$ac_res" >&6; } 14827 as_val=`eval 'as_val=${'$as_ac_var'} 14828 $as_echo "$as_val"'` 14829 if test "x$as_val" = x""yes; then 8889 14830 cat >>confdefs.h <<_ACEOF 8890 #define HAVE_URL_FCLOSE114831 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8891 14832 _ACEOF 8892 14833 … … 8894 14835 done 8895 14836 14837 8896 14838 for ac_func in avformat_alloc_context 8897 do : 8898 ac_fn_cxx_check_func "$LINENO" "avformat_alloc_context" "ac_cv_func_avformat_alloc_context" 8899 if test "x$ac_cv_func_avformat_alloc_context" = xyes; then : 14839 do 14840 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14841 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14842 $as_echo_n "checking for $ac_func... " >&6; } 14843 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14844 $as_echo_n "(cached) " >&6 14845 else 14846 cat >conftest.$ac_ext <<_ACEOF 14847 /* confdefs.h. */ 14848 _ACEOF 14849 cat confdefs.h >>conftest.$ac_ext 14850 cat >>conftest.$ac_ext <<_ACEOF 14851 /* end confdefs.h. */ 14852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14853 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14854 #define $ac_func innocuous_$ac_func 14855 14856 /* System header to define __stub macros and hopefully few prototypes, 14857 which can conflict with char $ac_func (); below. 14858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14859 <limits.h> exists even on freestanding compilers. */ 14860 14861 #ifdef __STDC__ 14862 # include <limits.h> 14863 #else 14864 # include <assert.h> 14865 #endif 14866 14867 #undef $ac_func 14868 14869 /* Override any GCC internal prototype to avoid an error. 14870 Use char because int might match the return type of a GCC 14871 builtin and then its argument prototype would still apply. */ 14872 #ifdef __cplusplus 14873 extern "C" 14874 #endif 14875 char $ac_func (); 14876 /* The GNU C library defines this for functions which it implements 14877 to always fail with ENOSYS. Some functions are actually named 14878 something starting with __ and the normal name is an alias. */ 14879 #if defined __stub_$ac_func || defined __stub___$ac_func 14880 choke me 14881 #endif 14882 14883 int 14884 main () 14885 { 14886 return $ac_func (); 14887 ; 14888 return 0; 14889 } 14890 _ACEOF 14891 rm -f conftest.$ac_objext conftest$ac_exeext 14892 if { (ac_try="$ac_link" 14893 case "(($ac_try" in 14894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14895 *) ac_try_echo=$ac_try;; 14896 esac 14897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14898 $as_echo "$ac_try_echo") >&5 14899 (eval "$ac_link") 2>conftest.er1 14900 ac_status=$? 14901 grep -v '^ *+' conftest.er1 >conftest.err 14902 rm -f conftest.er1 14903 cat conftest.err >&5 14904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14905 (exit $ac_status); } && { 14906 test -z "$ac_cxx_werror_flag" || 14907 test ! -s conftest.err 14908 } && test -s conftest$ac_exeext && { 14909 test "$cross_compiling" = yes || 14910 $as_test_x conftest$ac_exeext 14911 }; then 14912 eval "$as_ac_var=yes" 14913 else 14914 $as_echo "$as_me: failed program was:" >&5 14915 sed 's/^/| /' conftest.$ac_ext >&5 14916 14917 eval "$as_ac_var=no" 14918 fi 14919 14920 rm -rf conftest.dSYM 14921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14922 conftest$ac_exeext conftest.$ac_ext 14923 fi 14924 ac_res=`eval 'as_val=${'$as_ac_var'} 14925 $as_echo "$as_val"'` 14926 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14927 $as_echo "$ac_res" >&6; } 14928 as_val=`eval 'as_val=${'$as_ac_var'} 14929 $as_echo "$as_val"'` 14930 if test "x$as_val" = x""yes; then 8900 14931 cat >>confdefs.h <<_ACEOF 8901 #define HAVE_AVFORMAT_ALLOC_CONTEXT114932 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8902 14933 _ACEOF 8903 14934 … … 8905 14936 done 8906 14937 14938 8907 14939 for ac_func in av_alloc_format_context 8908 do : 8909 ac_fn_cxx_check_func "$LINENO" "av_alloc_format_context" "ac_cv_func_av_alloc_format_context" 8910 if test "x$ac_cv_func_av_alloc_format_context" = xyes; then : 14940 do 14941 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14942 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14943 $as_echo_n "checking for $ac_func... " >&6; } 14944 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14945 $as_echo_n "(cached) " >&6 14946 else 14947 cat >conftest.$ac_ext <<_ACEOF 14948 /* confdefs.h. */ 14949 _ACEOF 14950 cat confdefs.h >>conftest.$ac_ext 14951 cat >>conftest.$ac_ext <<_ACEOF 14952 /* end confdefs.h. */ 14953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14954 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14955 #define $ac_func innocuous_$ac_func 14956 14957 /* System header to define __stub macros and hopefully few prototypes, 14958 which can conflict with char $ac_func (); below. 14959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14960 <limits.h> exists even on freestanding compilers. */ 14961 14962 #ifdef __STDC__ 14963 # include <limits.h> 14964 #else 14965 # include <assert.h> 14966 #endif 14967 14968 #undef $ac_func 14969 14970 /* Override any GCC internal prototype to avoid an error. 14971 Use char because int might match the return type of a GCC 14972 builtin and then its argument prototype would still apply. */ 14973 #ifdef __cplusplus 14974 extern "C" 14975 #endif 14976 char $ac_func (); 14977 /* The GNU C library defines this for functions which it implements 14978 to always fail with ENOSYS. Some functions are actually named 14979 something starting with __ and the normal name is an alias. */ 14980 #if defined __stub_$ac_func || defined __stub___$ac_func 14981 choke me 14982 #endif 14983 14984 int 14985 main () 14986 { 14987 return $ac_func (); 14988 ; 14989 return 0; 14990 } 14991 _ACEOF 14992 rm -f conftest.$ac_objext conftest$ac_exeext 14993 if { (ac_try="$ac_link" 14994 case "(($ac_try" in 14995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14996 *) ac_try_echo=$ac_try;; 14997 esac 14998 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14999 $as_echo "$ac_try_echo") >&5 15000 (eval "$ac_link") 2>conftest.er1 15001 ac_status=$? 15002 grep -v '^ *+' conftest.er1 >conftest.err 15003 rm -f conftest.er1 15004 cat conftest.err >&5 15005 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15006 (exit $ac_status); } && { 15007 test -z "$ac_cxx_werror_flag" || 15008 test ! -s conftest.err 15009 } && test -s conftest$ac_exeext && { 15010 test "$cross_compiling" = yes || 15011 $as_test_x conftest$ac_exeext 15012 }; then 15013 eval "$as_ac_var=yes" 15014 else 15015 $as_echo "$as_me: failed program was:" >&5 15016 sed 's/^/| /' conftest.$ac_ext >&5 15017 15018 eval "$as_ac_var=no" 15019 fi 15020 15021 rm -rf conftest.dSYM 15022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15023 conftest$ac_exeext conftest.$ac_ext 15024 fi 15025 ac_res=`eval 'as_val=${'$as_ac_var'} 15026 $as_echo "$as_val"'` 15027 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 15028 $as_echo "$ac_res" >&6; } 15029 as_val=`eval 'as_val=${'$as_ac_var'} 15030 $as_echo "$as_val"'` 15031 if test "x$as_val" = x""yes; then 8911 15032 cat >>confdefs.h <<_ACEOF 8912 #define HAVE_AV_ALLOC_FORMAT_CONTEXT115033 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8913 15034 _ACEOF 8914 15035 … … 8916 15037 done 8917 15038 15039 8918 15040 for ac_func in av_set_parameters 8919 do : 8920 ac_fn_cxx_check_func "$LINENO" "av_set_parameters" "ac_cv_func_av_set_parameters" 8921 if test "x$ac_cv_func_av_set_parameters" = xyes; then : 15041 do 15042 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15043 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 15044 $as_echo_n "checking for $ac_func... " >&6; } 15045 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15046 $as_echo_n "(cached) " >&6 15047 else 15048 cat >conftest.$ac_ext <<_ACEOF 15049 /* confdefs.h. */ 15050 _ACEOF 15051 cat confdefs.h >>conftest.$ac_ext 15052 cat >>conftest.$ac_ext <<_ACEOF 15053 /* end confdefs.h. */ 15054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 15055 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15056 #define $ac_func innocuous_$ac_func 15057 15058 /* System header to define __stub macros and hopefully few prototypes, 15059 which can conflict with char $ac_func (); below. 15060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15061 <limits.h> exists even on freestanding compilers. */ 15062 15063 #ifdef __STDC__ 15064 # include <limits.h> 15065 #else 15066 # include <assert.h> 15067 #endif 15068 15069 #undef $ac_func 15070 15071 /* Override any GCC internal prototype to avoid an error. 15072 Use char because int might match the return type of a GCC 15073 builtin and then its argument prototype would still apply. */ 15074 #ifdef __cplusplus 15075 extern "C" 15076 #endif 15077 char $ac_func (); 15078 /* The GNU C library defines this for functions which it implements 15079 to always fail with ENOSYS. Some functions are actually named 15080 something starting with __ and the normal name is an alias. */ 15081 #if defined __stub_$ac_func || defined __stub___$ac_func 15082 choke me 15083 #endif 15084 15085 int 15086 main () 15087 { 15088 return $ac_func (); 15089 ; 15090 return 0; 15091 } 15092 _ACEOF 15093 rm -f conftest.$ac_objext conftest$ac_exeext 15094 if { (ac_try="$ac_link" 15095 case "(($ac_try" in 15096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15097 *) ac_try_echo=$ac_try;; 15098 esac 15099 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15100 $as_echo "$ac_try_echo") >&5 15101 (eval "$ac_link") 2>conftest.er1 15102 ac_status=$? 15103 grep -v '^ *+' conftest.er1 >conftest.err 15104 rm -f conftest.er1 15105 cat conftest.err >&5 15106 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15107 (exit $ac_status); } && { 15108 test -z "$ac_cxx_werror_flag" || 15109 test ! -s conftest.err 15110 } && test -s conftest$ac_exeext && { 15111 test "$cross_compiling" = yes || 15112 $as_test_x conftest$ac_exeext 15113 }; then 15114 eval "$as_ac_var=yes" 15115 else 15116 $as_echo "$as_me: failed program was:" >&5 15117 sed 's/^/| /' conftest.$ac_ext >&5 15118 15119 eval "$as_ac_var=no" 15120 fi 15121 15122 rm -rf conftest.dSYM 15123 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15124 conftest$ac_exeext conftest.$ac_ext 15125 fi 15126 ac_res=`eval 'as_val=${'$as_ac_var'} 15127 $as_echo "$as_val"'` 15128 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 15129 $as_echo "$ac_res" >&6; } 15130 as_val=`eval 'as_val=${'$as_ac_var'} 15131 $as_echo "$as_val"'` 15132 if test "x$as_val" = x""yes; then 8922 15133 cat >>confdefs.h <<_ACEOF 8923 #define HAVE_AV_SET_PARAMETERS115134 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8924 15135 _ACEOF 8925 15136 … … 8927 15138 done 8928 15139 15140 8929 15141 for ac_func in avformat_write_header 8930 do : 8931 ac_fn_cxx_check_func "$LINENO" "avformat_write_header" "ac_cv_func_avformat_write_header" 8932 if test "x$ac_cv_func_avformat_write_header" = xyes; then : 15142 do 15143 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15144 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 15145 $as_echo_n "checking for $ac_func... " >&6; } 15146 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15147 $as_echo_n "(cached) " >&6 15148 else 15149 cat >conftest.$ac_ext <<_ACEOF 15150 /* confdefs.h. */ 15151 _ACEOF 15152 cat confdefs.h >>conftest.$ac_ext 15153 cat >>conftest.$ac_ext <<_ACEOF 15154 /* end confdefs.h. */ 15155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 15156 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15157 #define $ac_func innocuous_$ac_func 15158 15159 /* System header to define __stub macros and hopefully few prototypes, 15160 which can conflict with char $ac_func (); below. 15161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15162 <limits.h> exists even on freestanding compilers. */ 15163 15164 #ifdef __STDC__ 15165 # include <limits.h> 15166 #else 15167 # include <assert.h> 15168 #endif 15169 15170 #undef $ac_func 15171 15172 /* Override any GCC internal prototype to avoid an error. 15173 Use char because int might match the return type of a GCC 15174 builtin and then its argument prototype would still apply. */ 15175 #ifdef __cplusplus 15176 extern "C" 15177 #endif 15178 char $ac_func (); 15179 /* The GNU C library defines this for functions which it implements 15180 to always fail with ENOSYS. Some functions are actually named 15181 something starting with __ and the normal name is an alias. */ 15182 #if defined __stub_$ac_func || defined __stub___$ac_func 15183 choke me 15184 #endif 15185 15186 int 15187 main () 15188 { 15189 return $ac_func (); 15190 ; 15191 return 0; 15192 } 15193 _ACEOF 15194 rm -f conftest.$ac_objext conftest$ac_exeext 15195 if { (ac_try="$ac_link" 15196 case "(($ac_try" in 15197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15198 *) ac_try_echo=$ac_try;; 15199 esac 15200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15201 $as_echo "$ac_try_echo") >&5 15202 (eval "$ac_link") 2>conftest.er1 15203 ac_status=$? 15204 grep -v '^ *+' conftest.er1 >conftest.err 15205 rm -f conftest.er1 15206 cat conftest.err >&5 15207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15208 (exit $ac_status); } && { 15209 test -z "$ac_cxx_werror_flag" || 15210 test ! -s conftest.err 15211 } && test -s conftest$ac_exeext && { 15212 test "$cross_compiling" = yes || 15213 $as_test_x conftest$ac_exeext 15214 }; then 15215 eval "$as_ac_var=yes" 15216 else 15217 $as_echo "$as_me: failed program was:" >&5 15218 sed 's/^/| /' conftest.$ac_ext >&5 15219 15220 eval "$as_ac_var=no" 15221 fi 15222 15223 rm -rf conftest.dSYM 15224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15225 conftest$ac_exeext conftest.$ac_ext 15226 fi 15227 ac_res=`eval 'as_val=${'$as_ac_var'} 15228 $as_echo "$as_val"'` 15229 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 15230 $as_echo "$ac_res" >&6; } 15231 as_val=`eval 'as_val=${'$as_ac_var'} 15232 $as_echo "$as_val"'` 15233 if test "x$as_val" = x""yes; then 8933 15234 cat >>confdefs.h <<_ACEOF 8934 #define HAVE_AVFORMAT_WRITE_HEADER115235 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8935 15236 _ACEOF 8936 15237 … … 8938 15239 done 8939 15240 15241 8940 15242 for ac_func in av_write_header 8941 do : 8942 ac_fn_cxx_check_func "$LINENO" "av_write_header" "ac_cv_func_av_write_header" 8943 if test "x$ac_cv_func_av_write_header" = xyes; then : 15243 do 15244 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15245 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 15246 $as_echo_n "checking for $ac_func... " >&6; } 15247 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15248 $as_echo_n "(cached) " >&6 15249 else 15250 cat >conftest.$ac_ext <<_ACEOF 15251 /* confdefs.h. */ 15252 _ACEOF 15253 cat confdefs.h >>conftest.$ac_ext 15254 cat >>conftest.$ac_ext <<_ACEOF 15255 /* end confdefs.h. */ 15256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 15257 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15258 #define $ac_func innocuous_$ac_func 15259 15260 /* System header to define __stub macros and hopefully few prototypes, 15261 which can conflict with char $ac_func (); below. 15262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15263 <limits.h> exists even on freestanding compilers. */ 15264 15265 #ifdef __STDC__ 15266 # include <limits.h> 15267 #else 15268 # include <assert.h> 15269 #endif 15270 15271 #undef $ac_func 15272 15273 /* Override any GCC internal prototype to avoid an error. 15274 Use char because int might match the return type of a GCC 15275 builtin and then its argument prototype would still apply. */ 15276 #ifdef __cplusplus 15277 extern "C" 15278 #endif 15279 char $ac_func (); 15280 /* The GNU C library defines this for functions which it implements 15281 to always fail with ENOSYS. Some functions are actually named 15282 something starting with __ and the normal name is an alias. */ 15283 #if defined __stub_$ac_func || defined __stub___$ac_func 15284 choke me 15285 #endif 15286 15287 int 15288 main () 15289 { 15290 return $ac_func (); 15291 ; 15292 return 0; 15293 } 15294 _ACEOF 15295 rm -f conftest.$ac_objext conftest$ac_exeext 15296 if { (ac_try="$ac_link" 15297 case "(($ac_try" in 15298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15299 *) ac_try_echo=$ac_try;; 15300 esac 15301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15302 $as_echo "$ac_try_echo") >&5 15303 (eval "$ac_link") 2>conftest.er1 15304 ac_status=$? 15305 grep -v '^ *+' conftest.er1 >conftest.err 15306 rm -f conftest.er1 15307 cat conftest.err >&5 15308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15309 (exit $ac_status); } && { 15310 test -z "$ac_cxx_werror_flag" || 15311 test ! -s conftest.err 15312 } && test -s conftest$ac_exeext && { 15313 test "$cross_compiling" = yes || 15314 $as_test_x conftest$ac_exeext 15315 }; then 15316 eval "$as_ac_var=yes" 15317 else 15318 $as_echo "$as_me: failed program was:" >&5 15319 sed 's/^/| /' conftest.$ac_ext >&5 15320 15321 eval "$as_ac_var=no" 15322 fi 15323 15324 rm -rf conftest.dSYM 15325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15326 conftest$ac_exeext conftest.$ac_ext 15327 fi 15328 ac_res=`eval 'as_val=${'$as_ac_var'} 15329 $as_echo "$as_val"'` 15330 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 15331 $as_echo "$ac_res" >&6; } 15332 as_val=`eval 'as_val=${'$as_ac_var'} 15333 $as_echo "$as_val"'` 15334 if test "x$as_val" = x""yes; then 8944 15335 cat >>confdefs.h <<_ACEOF 8945 #define HAVE_AV_WRITE_HEADER115336 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8946 15337 _ACEOF 8947 15338 … … 8949 15340 done 8950 15341 8951 ac_fn_cxx_check_func "$LINENO" "av_write_trailer" "ac_cv_func_av_write_trailer" 8952 if test "x$ac_cv_func_av_write_trailer" = xyes; then : 8953 8954 else 8955 as_fn_error $? "oops! no av_write_trailer?!?" "$LINENO" 5 8956 fi 8957 8958 ac_fn_cxx_check_func "$LINENO" "av_freep" "ac_cv_func_av_freep" 8959 if test "x$ac_cv_func_av_freep" = xyes; then : 8960 8961 else 8962 as_fn_error $? "oops! no av_freep ?!?" "$LINENO" 5 8963 fi 8964 8965 ac_fn_cxx_check_func "$LINENO" "av_free" "ac_cv_func_av_free" 8966 if test "x$ac_cv_func_av_free" = xyes; then : 8967 8968 else 8969 as_fn_error $? "oops! no av_free ?!?" "$LINENO" 5 8970 fi 8971 8972 ac_fn_cxx_check_func "$LINENO" "av_new_stream" "ac_cv_func_av_new_stream" 8973 if test "x$ac_cv_func_av_new_stream" = xyes; then : 8974 8975 else 8976 as_fn_error $? "oops! av_new_stream ?!?" "$LINENO" 5 8977 fi 8978 8979 ac_fn_cxx_check_func "$LINENO" "av_malloc" "ac_cv_func_av_malloc" 8980 if test "x$ac_cv_func_av_malloc" = xyes; then : 8981 8982 else 8983 as_fn_error $? "oops! no av_malloc ?!?" "$LINENO" 5 8984 fi 8985 8986 ac_fn_cxx_check_func "$LINENO" "av_init_packet" "ac_cv_func_av_init_packet" 8987 if test "x$ac_cv_func_av_init_packet" = xyes; then : 8988 8989 else 8990 as_fn_error $? "oops! no av_init_packet ?!?" "$LINENO" 5 8991 fi 8992 8993 ac_fn_cxx_check_func "$LINENO" "av_rescale_q" "ac_cv_func_av_rescale_q" 8994 if test "x$ac_cv_func_av_rescale_q" = xyes; then : 8995 8996 else 8997 as_fn_error $? "oops! no av_rescale_q ?!?" "$LINENO" 5 8998 fi 8999 9000 ac_fn_cxx_check_func "$LINENO" "av_write_frame" "ac_cv_func_av_write_frame" 9001 if test "x$ac_cv_func_av_write_frame" = xyes; then : 9002 9003 else 9004 as_fn_error $? "oops! av_write_frame ?!?" "$LINENO" 5 9005 fi 15342 { $as_echo "$as_me:$LINENO: checking for av_write_trailer" >&5 15343 $as_echo_n "checking for av_write_trailer... " >&6; } 15344 if test "${ac_cv_func_av_write_trailer+set}" = set; then 15345 $as_echo_n "(cached) " >&6 15346 else 15347 cat >conftest.$ac_ext <<_ACEOF 15348 /* confdefs.h. */ 15349 _ACEOF 15350 cat confdefs.h >>conftest.$ac_ext 15351 cat >>conftest.$ac_ext <<_ACEOF 15352 /* end confdefs.h. */ 15353 /* Define av_write_trailer to an innocuous variant, in case <limits.h> declares av_write_trailer. 15354 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15355 #define av_write_trailer innocuous_av_write_trailer 15356 15357 /* System header to define __stub macros and hopefully few prototypes, 15358 which can conflict with char av_write_trailer (); below. 15359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15360 <limits.h> exists even on freestanding compilers. */ 15361 15362 #ifdef __STDC__ 15363 # include <limits.h> 15364 #else 15365 # include <assert.h> 15366 #endif 15367 15368 #undef av_write_trailer 15369 15370 /* Override any GCC internal prototype to avoid an error. 15371 Use char because int might match the return type of a GCC 15372 builtin and then its argument prototype would still apply. */ 15373 #ifdef __cplusplus 15374 extern "C" 15375 #endif 15376 char av_write_trailer (); 15377 /* The GNU C library defines this for functions which it implements 15378 to always fail with ENOSYS. Some functions are actually named 15379 something starting with __ and the normal name is an alias. */ 15380 #if defined __stub_av_write_trailer || defined __stub___av_write_trailer 15381 choke me 15382 #endif 15383 15384 int 15385 main () 15386 { 15387 return av_write_trailer (); 15388 ; 15389 return 0; 15390 } 15391 _ACEOF 15392 rm -f conftest.$ac_objext conftest$ac_exeext 15393 if { (ac_try="$ac_link" 15394 case "(($ac_try" in 15395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15396 *) ac_try_echo=$ac_try;; 15397 esac 15398 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15399 $as_echo "$ac_try_echo") >&5 15400 (eval "$ac_link") 2>conftest.er1 15401 ac_status=$? 15402 grep -v '^ *+' conftest.er1 >conftest.err 15403 rm -f conftest.er1 15404 cat conftest.err >&5 15405 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15406 (exit $ac_status); } && { 15407 test -z "$ac_cxx_werror_flag" || 15408 test ! -s conftest.err 15409 } && test -s conftest$ac_exeext && { 15410 test "$cross_compiling" = yes || 15411 $as_test_x conftest$ac_exeext 15412 }; then 15413 ac_cv_func_av_write_trailer=yes 15414 else 15415 $as_echo "$as_me: failed program was:" >&5 15416 sed 's/^/| /' conftest.$ac_ext >&5 15417 15418 ac_cv_func_av_write_trailer=no 15419 fi 15420 15421 rm -rf conftest.dSYM 15422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15423 conftest$ac_exeext conftest.$ac_ext 15424 fi 15425 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_write_trailer" >&5 15426 $as_echo "$ac_cv_func_av_write_trailer" >&6; } 15427 if test "x$ac_cv_func_av_write_trailer" = x""yes; then 15428 : 15429 else 15430 { { $as_echo "$as_me:$LINENO: error: oops! no av_write_trailer?!?" >&5 15431 $as_echo "$as_me: error: oops! no av_write_trailer?!?" >&2;} 15432 { (exit 1); exit 1; }; } 15433 fi 15434 15435 { $as_echo "$as_me:$LINENO: checking for av_freep" >&5 15436 $as_echo_n "checking for av_freep... " >&6; } 15437 if test "${ac_cv_func_av_freep+set}" = set; then 15438 $as_echo_n "(cached) " >&6 15439 else 15440 cat >conftest.$ac_ext <<_ACEOF 15441 /* confdefs.h. */ 15442 _ACEOF 15443 cat confdefs.h >>conftest.$ac_ext 15444 cat >>conftest.$ac_ext <<_ACEOF 15445 /* end confdefs.h. */ 15446 /* Define av_freep to an innocuous variant, in case <limits.h> declares av_freep. 15447 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15448 #define av_freep innocuous_av_freep 15449 15450 /* System header to define __stub macros and hopefully few prototypes, 15451 which can conflict with char av_freep (); below. 15452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15453 <limits.h> exists even on freestanding compilers. */ 15454 15455 #ifdef __STDC__ 15456 # include <limits.h> 15457 #else 15458 # include <assert.h> 15459 #endif 15460 15461 #undef av_freep 15462 15463 /* Override any GCC internal prototype to avoid an error. 15464 Use char because int might match the return type of a GCC 15465 builtin and then its argument prototype would still apply. */ 15466 #ifdef __cplusplus 15467 extern "C" 15468 #endif 15469 char av_freep (); 15470 /* The GNU C library defines this for functions which it implements 15471 to always fail with ENOSYS. Some functions are actually named 15472 something starting with __ and the normal name is an alias. */ 15473 #if defined __stub_av_freep || defined __stub___av_freep 15474 choke me 15475 #endif 15476 15477 int 15478 main () 15479 { 15480 return av_freep (); 15481 ; 15482 return 0; 15483 } 15484 _ACEOF 15485 rm -f conftest.$ac_objext conftest$ac_exeext 15486 if { (ac_try="$ac_link" 15487 case "(($ac_try" in 15488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15489 *) ac_try_echo=$ac_try;; 15490 esac 15491 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15492 $as_echo "$ac_try_echo") >&5 15493 (eval "$ac_link") 2>conftest.er1 15494 ac_status=$? 15495 grep -v '^ *+' conftest.er1 >conftest.err 15496 rm -f conftest.er1 15497 cat conftest.err >&5 15498 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15499 (exit $ac_status); } && { 15500 test -z "$ac_cxx_werror_flag" || 15501 test ! -s conftest.err 15502 } && test -s conftest$ac_exeext && { 15503 test "$cross_compiling" = yes || 15504 $as_test_x conftest$ac_exeext 15505 }; then 15506 ac_cv_func_av_freep=yes 15507 else 15508 $as_echo "$as_me: failed program was:" >&5 15509 sed 's/^/| /' conftest.$ac_ext >&5 15510 15511 ac_cv_func_av_freep=no 15512 fi 15513 15514 rm -rf conftest.dSYM 15515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15516 conftest$ac_exeext conftest.$ac_ext 15517 fi 15518 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_freep" >&5 15519 $as_echo "$ac_cv_func_av_freep" >&6; } 15520 if test "x$ac_cv_func_av_freep" = x""yes; then 15521 : 15522 else 15523 { { $as_echo "$as_me:$LINENO: error: oops! no av_freep ?!?" >&5 15524 $as_echo "$as_me: error: oops! no av_freep ?!?" >&2;} 15525 { (exit 1); exit 1; }; } 15526 fi 15527 15528 { $as_echo "$as_me:$LINENO: checking for av_free" >&5 15529 $as_echo_n "checking for av_free... " >&6; } 15530 if test "${ac_cv_func_av_free+set}" = set; then 15531 $as_echo_n "(cached) " >&6 15532 else 15533 cat >conftest.$ac_ext <<_ACEOF 15534 /* confdefs.h. */ 15535 _ACEOF 15536 cat confdefs.h >>conftest.$ac_ext 15537 cat >>conftest.$ac_ext <<_ACEOF 15538 /* end confdefs.h. */ 15539 /* Define av_free to an innocuous variant, in case <limits.h> declares av_free. 15540 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15541 #define av_free innocuous_av_free 15542 15543 /* System header to define __stub macros and hopefully few prototypes, 15544 which can conflict with char av_free (); below. 15545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15546 <limits.h> exists even on freestanding compilers. */ 15547 15548 #ifdef __STDC__ 15549 # include <limits.h> 15550 #else 15551 # include <assert.h> 15552 #endif 15553 15554 #undef av_free 15555 15556 /* Override any GCC internal prototype to avoid an error. 15557 Use char because int might match the return type of a GCC 15558 builtin and then its argument prototype would still apply. */ 15559 #ifdef __cplusplus 15560 extern "C" 15561 #endif 15562 char av_free (); 15563 /* The GNU C library defines this for functions which it implements 15564 to always fail with ENOSYS. Some functions are actually named 15565 something starting with __ and the normal name is an alias. */ 15566 #if defined __stub_av_free || defined __stub___av_free 15567 choke me 15568 #endif 15569 15570 int 15571 main () 15572 { 15573 return av_free (); 15574 ; 15575 return 0; 15576 } 15577 _ACEOF 15578 rm -f conftest.$ac_objext conftest$ac_exeext 15579 if { (ac_try="$ac_link" 15580 case "(($ac_try" in 15581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15582 *) ac_try_echo=$ac_try;; 15583 esac 15584 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15585 $as_echo "$ac_try_echo") >&5 15586 (eval "$ac_link") 2>conftest.er1 15587 ac_status=$? 15588 grep -v '^ *+' conftest.er1 >conftest.err 15589 rm -f conftest.er1 15590 cat conftest.err >&5 15591 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15592 (exit $ac_status); } && { 15593 test -z "$ac_cxx_werror_flag" || 15594 test ! -s conftest.err 15595 } && test -s conftest$ac_exeext && { 15596 test "$cross_compiling" = yes || 15597 $as_test_x conftest$ac_exeext 15598 }; then 15599 ac_cv_func_av_free=yes 15600 else 15601 $as_echo "$as_me: failed program was:" >&5 15602 sed 's/^/| /' conftest.$ac_ext >&5 15603 15604 ac_cv_func_av_free=no 15605 fi 15606 15607 rm -rf conftest.dSYM 15608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15609 conftest$ac_exeext conftest.$ac_ext 15610 fi 15611 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_free" >&5 15612 $as_echo "$ac_cv_func_av_free" >&6; } 15613 if test "x$ac_cv_func_av_free" = x""yes; then 15614 : 15615 else 15616 { { $as_echo "$as_me:$LINENO: error: oops! no av_free ?!?" >&5 15617 $as_echo "$as_me: error: oops! no av_free ?!?" >&2;} 15618 { (exit 1); exit 1; }; } 15619 fi 15620 15621 { $as_echo "$as_me:$LINENO: checking for av_new_stream" >&5 15622 $as_echo_n "checking for av_new_stream... " >&6; } 15623 if test "${ac_cv_func_av_new_stream+set}" = set; then 15624 $as_echo_n "(cached) " >&6 15625 else 15626 cat >conftest.$ac_ext <<_ACEOF 15627 /* confdefs.h. */ 15628 _ACEOF 15629 cat confdefs.h >>conftest.$ac_ext 15630 cat >>conftest.$ac_ext <<_ACEOF 15631 /* end confdefs.h. */ 15632 /* Define av_new_stream to an innocuous variant, in case <limits.h> declares av_new_stream. 15633 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15634 #define av_new_stream innocuous_av_new_stream 15635 15636 /* System header to define __stub macros and hopefully few prototypes, 15637 which can conflict with char av_new_stream (); below. 15638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15639 <limits.h> exists even on freestanding compilers. */ 15640 15641 #ifdef __STDC__ 15642 # include <limits.h> 15643 #else 15644 # include <assert.h> 15645 #endif 15646 15647 #undef av_new_stream 15648 15649 /* Override any GCC internal prototype to avoid an error. 15650 Use char because int might match the return type of a GCC 15651 builtin and then its argument prototype would still apply. */ 15652 #ifdef __cplusplus 15653 extern "C" 15654 #endif 15655 char av_new_stream (); 15656 /* The GNU C library defines this for functions which it implements 15657 to always fail with ENOSYS. Some functions are actually named 15658 something starting with __ and the normal name is an alias. */ 15659 #if defined __stub_av_new_stream || defined __stub___av_new_stream 15660 choke me 15661 #endif 15662 15663 int 15664 main () 15665 { 15666 return av_new_stream (); 15667 ; 15668 return 0; 15669 } 15670 _ACEOF 15671 rm -f conftest.$ac_objext conftest$ac_exeext 15672 if { (ac_try="$ac_link" 15673 case "(($ac_try" in 15674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15675 *) ac_try_echo=$ac_try;; 15676 esac 15677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15678 $as_echo "$ac_try_echo") >&5 15679 (eval "$ac_link") 2>conftest.er1 15680 ac_status=$? 15681 grep -v '^ *+' conftest.er1 >conftest.err 15682 rm -f conftest.er1 15683 cat conftest.err >&5 15684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15685 (exit $ac_status); } && { 15686 test -z "$ac_cxx_werror_flag" || 15687 test ! -s conftest.err 15688 } && test -s conftest$ac_exeext && { 15689 test "$cross_compiling" = yes || 15690 $as_test_x conftest$ac_exeext 15691 }; then 15692 ac_cv_func_av_new_stream=yes 15693 else 15694 $as_echo "$as_me: failed program was:" >&5 15695 sed 's/^/| /' conftest.$ac_ext >&5 15696 15697 ac_cv_func_av_new_stream=no 15698 fi 15699 15700 rm -rf conftest.dSYM 15701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15702 conftest$ac_exeext conftest.$ac_ext 15703 fi 15704 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_new_stream" >&5 15705 $as_echo "$ac_cv_func_av_new_stream" >&6; } 15706 if test "x$ac_cv_func_av_new_stream" = x""yes; then 15707 : 15708 else 15709 { { $as_echo "$as_me:$LINENO: error: oops! av_new_stream ?!?" >&5 15710 $as_echo "$as_me: error: oops! av_new_stream ?!?" >&2;} 15711 { (exit 1); exit 1; }; } 15712 fi 15713 15714 { $as_echo "$as_me:$LINENO: checking for av_malloc" >&5 15715 $as_echo_n "checking for av_malloc... " >&6; } 15716 if test "${ac_cv_func_av_malloc+set}" = set; then 15717 $as_echo_n "(cached) " >&6 15718 else 15719 cat >conftest.$ac_ext <<_ACEOF 15720 /* confdefs.h. */ 15721 _ACEOF 15722 cat confdefs.h >>conftest.$ac_ext 15723 cat >>conftest.$ac_ext <<_ACEOF 15724 /* end confdefs.h. */ 15725 /* Define av_malloc to an innocuous variant, in case <limits.h> declares av_malloc. 15726 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15727 #define av_malloc innocuous_av_malloc 15728 15729 /* System header to define __stub macros and hopefully few prototypes, 15730 which can conflict with char av_malloc (); below. 15731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15732 <limits.h> exists even on freestanding compilers. */ 15733 15734 #ifdef __STDC__ 15735 # include <limits.h> 15736 #else 15737 # include <assert.h> 15738 #endif 15739 15740 #undef av_malloc 15741 15742 /* Override any GCC internal prototype to avoid an error. 15743 Use char because int might match the return type of a GCC 15744 builtin and then its argument prototype would still apply. */ 15745 #ifdef __cplusplus 15746 extern "C" 15747 #endif 15748 char av_malloc (); 15749 /* The GNU C library defines this for functions which it implements 15750 to always fail with ENOSYS. Some functions are actually named 15751 something starting with __ and the normal name is an alias. */ 15752 #if defined __stub_av_malloc || defined __stub___av_malloc 15753 choke me 15754 #endif 15755 15756 int 15757 main () 15758 { 15759 return av_malloc (); 15760 ; 15761 return 0; 15762 } 15763 _ACEOF 15764 rm -f conftest.$ac_objext conftest$ac_exeext 15765 if { (ac_try="$ac_link" 15766 case "(($ac_try" in 15767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15768 *) ac_try_echo=$ac_try;; 15769 esac 15770 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15771 $as_echo "$ac_try_echo") >&5 15772 (eval "$ac_link") 2>conftest.er1 15773 ac_status=$? 15774 grep -v '^ *+' conftest.er1 >conftest.err 15775 rm -f conftest.er1 15776 cat conftest.err >&5 15777 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15778 (exit $ac_status); } && { 15779 test -z "$ac_cxx_werror_flag" || 15780 test ! -s conftest.err 15781 } && test -s conftest$ac_exeext && { 15782 test "$cross_compiling" = yes || 15783 $as_test_x conftest$ac_exeext 15784 }; then 15785 ac_cv_func_av_malloc=yes 15786 else 15787 $as_echo "$as_me: failed program was:" >&5 15788 sed 's/^/| /' conftest.$ac_ext >&5 15789 15790 ac_cv_func_av_malloc=no 15791 fi 15792 15793 rm -rf conftest.dSYM 15794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15795 conftest$ac_exeext conftest.$ac_ext 15796 fi 15797 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_malloc" >&5 15798 $as_echo "$ac_cv_func_av_malloc" >&6; } 15799 if test "x$ac_cv_func_av_malloc" = x""yes; then 15800 : 15801 else 15802 { { $as_echo "$as_me:$LINENO: error: oops! no av_malloc ?!?" >&5 15803 $as_echo "$as_me: error: oops! no av_malloc ?!?" >&2;} 15804 { (exit 1); exit 1; }; } 15805 fi 15806 15807 { $as_echo "$as_me:$LINENO: checking for av_init_packet" >&5 15808 $as_echo_n "checking for av_init_packet... " >&6; } 15809 if test "${ac_cv_func_av_init_packet+set}" = set; then 15810 $as_echo_n "(cached) " >&6 15811 else 15812 cat >conftest.$ac_ext <<_ACEOF 15813 /* confdefs.h. */ 15814 _ACEOF 15815 cat confdefs.h >>conftest.$ac_ext 15816 cat >>conftest.$ac_ext <<_ACEOF 15817 /* end confdefs.h. */ 15818 /* Define av_init_packet to an innocuous variant, in case <limits.h> declares av_init_packet. 15819 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15820 #define av_init_packet innocuous_av_init_packet 15821 15822 /* System header to define __stub macros and hopefully few prototypes, 15823 which can conflict with char av_init_packet (); below. 15824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15825 <limits.h> exists even on freestanding compilers. */ 15826 15827 #ifdef __STDC__ 15828 # include <limits.h> 15829 #else 15830 # include <assert.h> 15831 #endif 15832 15833 #undef av_init_packet 15834 15835 /* Override any GCC internal prototype to avoid an error. 15836 Use char because int might match the return type of a GCC 15837 builtin and then its argument prototype would still apply. */ 15838 #ifdef __cplusplus 15839 extern "C" 15840 #endif 15841 char av_init_packet (); 15842 /* The GNU C library defines this for functions which it implements 15843 to always fail with ENOSYS. Some functions are actually named 15844 something starting with __ and the normal name is an alias. */ 15845 #if defined __stub_av_init_packet || defined __stub___av_init_packet 15846 choke me 15847 #endif 15848 15849 int 15850 main () 15851 { 15852 return av_init_packet (); 15853 ; 15854 return 0; 15855 } 15856 _ACEOF 15857 rm -f conftest.$ac_objext conftest$ac_exeext 15858 if { (ac_try="$ac_link" 15859 case "(($ac_try" in 15860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15861 *) ac_try_echo=$ac_try;; 15862 esac 15863 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15864 $as_echo "$ac_try_echo") >&5 15865 (eval "$ac_link") 2>conftest.er1 15866 ac_status=$? 15867 grep -v '^ *+' conftest.er1 >conftest.err 15868 rm -f conftest.er1 15869 cat conftest.err >&5 15870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15871 (exit $ac_status); } && { 15872 test -z "$ac_cxx_werror_flag" || 15873 test ! -s conftest.err 15874 } && test -s conftest$ac_exeext && { 15875 test "$cross_compiling" = yes || 15876 $as_test_x conftest$ac_exeext 15877 }; then 15878 ac_cv_func_av_init_packet=yes 15879 else 15880 $as_echo "$as_me: failed program was:" >&5 15881 sed 's/^/| /' conftest.$ac_ext >&5 15882 15883 ac_cv_func_av_init_packet=no 15884 fi 15885 15886 rm -rf conftest.dSYM 15887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15888 conftest$ac_exeext conftest.$ac_ext 15889 fi 15890 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_init_packet" >&5 15891 $as_echo "$ac_cv_func_av_init_packet" >&6; } 15892 if test "x$ac_cv_func_av_init_packet" = x""yes; then 15893 : 15894 else 15895 { { $as_echo "$as_me:$LINENO: error: oops! no av_init_packet ?!?" >&5 15896 $as_echo "$as_me: error: oops! no av_init_packet ?!?" >&2;} 15897 { (exit 1); exit 1; }; } 15898 fi 15899 15900 { $as_echo "$as_me:$LINENO: checking for av_rescale_q" >&5 15901 $as_echo_n "checking for av_rescale_q... " >&6; } 15902 if test "${ac_cv_func_av_rescale_q+set}" = set; then 15903 $as_echo_n "(cached) " >&6 15904 else 15905 cat >conftest.$ac_ext <<_ACEOF 15906 /* confdefs.h. */ 15907 _ACEOF 15908 cat confdefs.h >>conftest.$ac_ext 15909 cat >>conftest.$ac_ext <<_ACEOF 15910 /* end confdefs.h. */ 15911 /* Define av_rescale_q to an innocuous variant, in case <limits.h> declares av_rescale_q. 15912 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15913 #define av_rescale_q innocuous_av_rescale_q 15914 15915 /* System header to define __stub macros and hopefully few prototypes, 15916 which can conflict with char av_rescale_q (); below. 15917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15918 <limits.h> exists even on freestanding compilers. */ 15919 15920 #ifdef __STDC__ 15921 # include <limits.h> 15922 #else 15923 # include <assert.h> 15924 #endif 15925 15926 #undef av_rescale_q 15927 15928 /* Override any GCC internal prototype to avoid an error. 15929 Use char because int might match the return type of a GCC 15930 builtin and then its argument prototype would still apply. */ 15931 #ifdef __cplusplus 15932 extern "C" 15933 #endif 15934 char av_rescale_q (); 15935 /* The GNU C library defines this for functions which it implements 15936 to always fail with ENOSYS. Some functions are actually named 15937 something starting with __ and the normal name is an alias. */ 15938 #if defined __stub_av_rescale_q || defined __stub___av_rescale_q 15939 choke me 15940 #endif 15941 15942 int 15943 main () 15944 { 15945 return av_rescale_q (); 15946 ; 15947 return 0; 15948 } 15949 _ACEOF 15950 rm -f conftest.$ac_objext conftest$ac_exeext 15951 if { (ac_try="$ac_link" 15952 case "(($ac_try" in 15953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15954 *) ac_try_echo=$ac_try;; 15955 esac 15956 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15957 $as_echo "$ac_try_echo") >&5 15958 (eval "$ac_link") 2>conftest.er1 15959 ac_status=$? 15960 grep -v '^ *+' conftest.er1 >conftest.err 15961 rm -f conftest.er1 15962 cat conftest.err >&5 15963 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15964 (exit $ac_status); } && { 15965 test -z "$ac_cxx_werror_flag" || 15966 test ! -s conftest.err 15967 } && test -s conftest$ac_exeext && { 15968 test "$cross_compiling" = yes || 15969 $as_test_x conftest$ac_exeext 15970 }; then 15971 ac_cv_func_av_rescale_q=yes 15972 else 15973 $as_echo "$as_me: failed program was:" >&5 15974 sed 's/^/| /' conftest.$ac_ext >&5 15975 15976 ac_cv_func_av_rescale_q=no 15977 fi 15978 15979 rm -rf conftest.dSYM 15980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15981 conftest$ac_exeext conftest.$ac_ext 15982 fi 15983 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_rescale_q" >&5 15984 $as_echo "$ac_cv_func_av_rescale_q" >&6; } 15985 if test "x$ac_cv_func_av_rescale_q" = x""yes; then 15986 : 15987 else 15988 { { $as_echo "$as_me:$LINENO: error: oops! no av_rescale_q ?!?" >&5 15989 $as_echo "$as_me: error: oops! no av_rescale_q ?!?" >&2;} 15990 { (exit 1); exit 1; }; } 15991 fi 15992 15993 { $as_echo "$as_me:$LINENO: checking for av_write_frame" >&5 15994 $as_echo_n "checking for av_write_frame... " >&6; } 15995 if test "${ac_cv_func_av_write_frame+set}" = set; then 15996 $as_echo_n "(cached) " >&6 15997 else 15998 cat >conftest.$ac_ext <<_ACEOF 15999 /* confdefs.h. */ 16000 _ACEOF 16001 cat confdefs.h >>conftest.$ac_ext 16002 cat >>conftest.$ac_ext <<_ACEOF 16003 /* end confdefs.h. */ 16004 /* Define av_write_frame to an innocuous variant, in case <limits.h> declares av_write_frame. 16005 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16006 #define av_write_frame innocuous_av_write_frame 16007 16008 /* System header to define __stub macros and hopefully few prototypes, 16009 which can conflict with char av_write_frame (); below. 16010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16011 <limits.h> exists even on freestanding compilers. */ 16012 16013 #ifdef __STDC__ 16014 # include <limits.h> 16015 #else 16016 # include <assert.h> 16017 #endif 16018 16019 #undef av_write_frame 16020 16021 /* Override any GCC internal prototype to avoid an error. 16022 Use char because int might match the return type of a GCC 16023 builtin and then its argument prototype would still apply. */ 16024 #ifdef __cplusplus 16025 extern "C" 16026 #endif 16027 char av_write_frame (); 16028 /* The GNU C library defines this for functions which it implements 16029 to always fail with ENOSYS. Some functions are actually named 16030 something starting with __ and the normal name is an alias. */ 16031 #if defined __stub_av_write_frame || defined __stub___av_write_frame 16032 choke me 16033 #endif 16034 16035 int 16036 main () 16037 { 16038 return av_write_frame (); 16039 ; 16040 return 0; 16041 } 16042 _ACEOF 16043 rm -f conftest.$ac_objext conftest$ac_exeext 16044 if { (ac_try="$ac_link" 16045 case "(($ac_try" in 16046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16047 *) ac_try_echo=$ac_try;; 16048 esac 16049 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16050 $as_echo "$ac_try_echo") >&5 16051 (eval "$ac_link") 2>conftest.er1 16052 ac_status=$? 16053 grep -v '^ *+' conftest.er1 >conftest.err 16054 rm -f conftest.er1 16055 cat conftest.err >&5 16056 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16057 (exit $ac_status); } && { 16058 test -z "$ac_cxx_werror_flag" || 16059 test ! -s conftest.err 16060 } && test -s conftest$ac_exeext && { 16061 test "$cross_compiling" = yes || 16062 $as_test_x conftest$ac_exeext 16063 }; then 16064 ac_cv_func_av_write_frame=yes 16065 else 16066 $as_echo "$as_me: failed program was:" >&5 16067 sed 's/^/| /' conftest.$ac_ext >&5 16068 16069 ac_cv_func_av_write_frame=no 16070 fi 16071 16072 rm -rf conftest.dSYM 16073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16074 conftest$ac_exeext conftest.$ac_ext 16075 fi 16076 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_write_frame" >&5 16077 $as_echo "$ac_cv_func_av_write_frame" >&6; } 16078 if test "x$ac_cv_func_av_write_frame" = x""yes; then 16079 : 16080 else 16081 { { $as_echo "$as_me:$LINENO: error: oops! av_write_frame ?!?" >&5 16082 $as_echo "$as_me: error: oops! av_write_frame ?!?" >&2;} 16083 { (exit 1); exit 1; }; } 16084 fi 16085 9006 16086 9007 16087 for ac_func in img_convert 9008 do : 9009 ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert" 9010 if test "x$ac_cv_func_img_convert" = xyes; then : 16088 do 16089 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 16090 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 16091 $as_echo_n "checking for $ac_func... " >&6; } 16092 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 16093 $as_echo_n "(cached) " >&6 16094 else 16095 cat >conftest.$ac_ext <<_ACEOF 16096 /* confdefs.h. */ 16097 _ACEOF 16098 cat confdefs.h >>conftest.$ac_ext 16099 cat >>conftest.$ac_ext <<_ACEOF 16100 /* end confdefs.h. */ 16101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 16102 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16103 #define $ac_func innocuous_$ac_func 16104 16105 /* System header to define __stub macros and hopefully few prototypes, 16106 which can conflict with char $ac_func (); below. 16107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16108 <limits.h> exists even on freestanding compilers. */ 16109 16110 #ifdef __STDC__ 16111 # include <limits.h> 16112 #else 16113 # include <assert.h> 16114 #endif 16115 16116 #undef $ac_func 16117 16118 /* Override any GCC internal prototype to avoid an error. 16119 Use char because int might match the return type of a GCC 16120 builtin and then its argument prototype would still apply. */ 16121 #ifdef __cplusplus 16122 extern "C" 16123 #endif 16124 char $ac_func (); 16125 /* The GNU C library defines this for functions which it implements 16126 to always fail with ENOSYS. Some functions are actually named 16127 something starting with __ and the normal name is an alias. */ 16128 #if defined __stub_$ac_func || defined __stub___$ac_func 16129 choke me 16130 #endif 16131 16132 int 16133 main () 16134 { 16135 return $ac_func (); 16136 ; 16137 return 0; 16138 } 16139 _ACEOF 16140 rm -f conftest.$ac_objext conftest$ac_exeext 16141 if { (ac_try="$ac_link" 16142 case "(($ac_try" in 16143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16144 *) ac_try_echo=$ac_try;; 16145 esac 16146 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16147 $as_echo "$ac_try_echo") >&5 16148 (eval "$ac_link") 2>conftest.er1 16149 ac_status=$? 16150 grep -v '^ *+' conftest.er1 >conftest.err 16151 rm -f conftest.er1 16152 cat conftest.err >&5 16153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16154 (exit $ac_status); } && { 16155 test -z "$ac_cxx_werror_flag" || 16156 test ! -s conftest.err 16157 } && test -s conftest$ac_exeext && { 16158 test "$cross_compiling" = yes || 16159 $as_test_x conftest$ac_exeext 16160 }; then 16161 eval "$as_ac_var=yes" 16162 else 16163 $as_echo "$as_me: failed program was:" >&5 16164 sed 's/^/| /' conftest.$ac_ext >&5 16165 16166 eval "$as_ac_var=no" 16167 fi 16168 16169 rm -rf conftest.dSYM 16170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16171 conftest$ac_exeext conftest.$ac_ext 16172 fi 16173 ac_res=`eval 'as_val=${'$as_ac_var'} 16174 $as_echo "$as_val"'` 16175 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16176 $as_echo "$ac_res" >&6; } 16177 as_val=`eval 'as_val=${'$as_ac_var'} 16178 $as_echo "$as_val"'` 16179 if test "x$as_val" = x""yes; then 9011 16180 cat >>confdefs.h <<_ACEOF 9012 #define HAVE_IMG_CONVERT116181 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9013 16182 _ACEOF 9014 16183 … … 9016 16185 done 9017 16186 16187 9018 16188 for ac_func in sws_scale 9019 do : 9020 ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale" 9021 if test "x$ac_cv_func_sws_scale" = xyes; then : 16189 do 16190 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 16191 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 16192 $as_echo_n "checking for $ac_func... " >&6; } 16193 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 16194 $as_echo_n "(cached) " >&6 16195 else 16196 cat >conftest.$ac_ext <<_ACEOF 16197 /* confdefs.h. */ 16198 _ACEOF 16199 cat confdefs.h >>conftest.$ac_ext 16200 cat >>conftest.$ac_ext <<_ACEOF 16201 /* end confdefs.h. */ 16202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 16203 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16204 #define $ac_func innocuous_$ac_func 16205 16206 /* System header to define __stub macros and hopefully few prototypes, 16207 which can conflict with char $ac_func (); below. 16208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16209 <limits.h> exists even on freestanding compilers. */ 16210 16211 #ifdef __STDC__ 16212 # include <limits.h> 16213 #else 16214 # include <assert.h> 16215 #endif 16216 16217 #undef $ac_func 16218 16219 /* Override any GCC internal prototype to avoid an error. 16220 Use char because int might match the return type of a GCC 16221 builtin and then its argument prototype would still apply. */ 16222 #ifdef __cplusplus 16223 extern "C" 16224 #endif 16225 char $ac_func (); 16226 /* The GNU C library defines this for functions which it implements 16227 to always fail with ENOSYS. Some functions are actually named 16228 something starting with __ and the normal name is an alias. */ 16229 #if defined __stub_$ac_func || defined __stub___$ac_func 16230 choke me 16231 #endif 16232 16233 int 16234 main () 16235 { 16236 return $ac_func (); 16237 ; 16238 return 0; 16239 } 16240 _ACEOF 16241 rm -f conftest.$ac_objext conftest$ac_exeext 16242 if { (ac_try="$ac_link" 16243 case "(($ac_try" in 16244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16245 *) ac_try_echo=$ac_try;; 16246 esac 16247 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16248 $as_echo "$ac_try_echo") >&5 16249 (eval "$ac_link") 2>conftest.er1 16250 ac_status=$? 16251 grep -v '^ *+' conftest.er1 >conftest.err 16252 rm -f conftest.er1 16253 cat conftest.err >&5 16254 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16255 (exit $ac_status); } && { 16256 test -z "$ac_cxx_werror_flag" || 16257 test ! -s conftest.err 16258 } && test -s conftest$ac_exeext && { 16259 test "$cross_compiling" = yes || 16260 $as_test_x conftest$ac_exeext 16261 }; then 16262 eval "$as_ac_var=yes" 16263 else 16264 $as_echo "$as_me: failed program was:" >&5 16265 sed 's/^/| /' conftest.$ac_ext >&5 16266 16267 eval "$as_ac_var=no" 16268 fi 16269 16270 rm -rf conftest.dSYM 16271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16272 conftest$ac_exeext conftest.$ac_ext 16273 fi 16274 ac_res=`eval 'as_val=${'$as_ac_var'} 16275 $as_echo "$as_val"'` 16276 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16277 $as_echo "$ac_res" >&6; } 16278 as_val=`eval 'as_val=${'$as_ac_var'} 16279 $as_echo "$as_val"'` 16280 if test "x$as_val" = x""yes; then 9022 16281 cat >>confdefs.h <<_ACEOF 9023 #define HAVE_SWS_SCALE116282 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9024 16283 _ACEOF 9025 16284 … … 9027 16286 done 9028 16287 9029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16288 cat >conftest.$ac_ext <<_ACEOF 16289 /* confdefs.h. */ 16290 _ACEOF 16291 cat confdefs.h >>conftest.$ac_ext 16292 cat >>conftest.$ac_ext <<_ACEOF 9030 16293 /* end confdefs.h. */ 9031 16294 … … 9048 16311 } 9049 16312 _ACEOF 9050 if ac_fn_cxx_try_compile "$LINENO"; then : 16313 rm -f conftest.$ac_objext 16314 if { (ac_try="$ac_compile" 16315 case "(($ac_try" in 16316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16317 *) ac_try_echo=$ac_try;; 16318 esac 16319 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16320 $as_echo "$ac_try_echo") >&5 16321 (eval "$ac_compile") 2>conftest.er1 16322 ac_status=$? 16323 grep -v '^ *+' conftest.er1 >conftest.err 16324 rm -f conftest.er1 16325 cat conftest.err >&5 16326 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16327 (exit $ac_status); } && { 16328 test -z "$ac_cxx_werror_flag" || 16329 test ! -s conftest.err 16330 } && test -s conftest.$ac_objext; then 9051 16331 ac_avmedia_type_video="yes" 9052 16332 else 9053 ac_avmedia_type_video="no" 9054 fi 16333 $as_echo "$as_me: failed program was:" >&5 16334 sed 's/^/| /' conftest.$ac_ext >&5 16335 16336 ac_avmedia_type_video="no" 16337 fi 16338 9055 16339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9056 16340 if test "$ac_avmedia_type_video" == "yes" ; then 9057 16341 9058 $as_echo "#define HAVE_AVMEDIA_TYPE_VIDEO 1" >>confdefs.h 9059 9060 fi 9061 9062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_alloc_frame in -lavcodec" >&5 16342 cat >>confdefs.h <<\_ACEOF 16343 #define HAVE_AVMEDIA_TYPE_VIDEO 1 16344 _ACEOF 16345 16346 fi 16347 16348 16349 { $as_echo "$as_me:$LINENO: checking for avcodec_alloc_frame in -lavcodec" >&5 9063 16350 $as_echo_n "checking for avcodec_alloc_frame in -lavcodec... " >&6; } 9064 if ${ac_cv_lib_avcodec_avcodec_alloc_frame+:} false; then :16351 if test "${ac_cv_lib_avcodec_avcodec_alloc_frame+set}" = set; then 9065 16352 $as_echo_n "(cached) " >&6 9066 16353 else 9067 16354 ac_check_lib_save_LIBS=$LIBS 9068 16355 LIBS="-lavcodec $LIBS" 9069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16356 cat >conftest.$ac_ext <<_ACEOF 16357 /* confdefs.h. */ 16358 _ACEOF 16359 cat confdefs.h >>conftest.$ac_ext 16360 cat >>conftest.$ac_ext <<_ACEOF 9070 16361 /* end confdefs.h. */ 9071 16362 … … 9085 16376 } 9086 16377 _ACEOF 9087 if ac_fn_cxx_try_link "$LINENO"; then : 16378 rm -f conftest.$ac_objext conftest$ac_exeext 16379 if { (ac_try="$ac_link" 16380 case "(($ac_try" in 16381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16382 *) ac_try_echo=$ac_try;; 16383 esac 16384 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16385 $as_echo "$ac_try_echo") >&5 16386 (eval "$ac_link") 2>conftest.er1 16387 ac_status=$? 16388 grep -v '^ *+' conftest.er1 >conftest.err 16389 rm -f conftest.er1 16390 cat conftest.err >&5 16391 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16392 (exit $ac_status); } && { 16393 test -z "$ac_cxx_werror_flag" || 16394 test ! -s conftest.err 16395 } && test -s conftest$ac_exeext && { 16396 test "$cross_compiling" = yes || 16397 $as_test_x conftest$ac_exeext 16398 }; then 9088 16399 ac_cv_lib_avcodec_avcodec_alloc_frame=yes 9089 16400 else 9090 ac_cv_lib_avcodec_avcodec_alloc_frame=no 9091 fi 9092 rm -f core conftest.err conftest.$ac_objext \ 9093 conftest$ac_exeext conftest.$ac_ext 16401 $as_echo "$as_me: failed program was:" >&5 16402 sed 's/^/| /' conftest.$ac_ext >&5 16403 16404 ac_cv_lib_avcodec_avcodec_alloc_frame=no 16405 fi 16406 16407 rm -rf conftest.dSYM 16408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16409 conftest$ac_exeext conftest.$ac_ext 9094 16410 LIBS=$ac_check_lib_save_LIBS 9095 16411 fi 9096 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_alloc_frame" >&516412 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_alloc_frame" >&5 9097 16413 $as_echo "$ac_cv_lib_avcodec_avcodec_alloc_frame" >&6; } 9098 if test "x$ac_cv_lib_avcodec_avcodec_alloc_frame" = x yes; then :16414 if test "x$ac_cv_lib_avcodec_avcodec_alloc_frame" = x""yes; then 9099 16415 cat >>confdefs.h <<_ACEOF 9100 16416 #define HAVE_LIBAVCODEC 1 … … 9106 16422 9107 16423 # Fallback to deprecated av_alloc_format_context if avformat_alloc_context isn't found 9108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avformat_alloc_context in -lavformat" >&5 16424 16425 { $as_echo "$as_me:$LINENO: checking for avformat_alloc_context in -lavformat" >&5 9109 16426 $as_echo_n "checking for avformat_alloc_context in -lavformat... " >&6; } 9110 if ${ac_cv_lib_avformat_avformat_alloc_context+:} false; then :16427 if test "${ac_cv_lib_avformat_avformat_alloc_context+set}" = set; then 9111 16428 $as_echo_n "(cached) " >&6 9112 16429 else 9113 16430 ac_check_lib_save_LIBS=$LIBS 9114 16431 LIBS="-lavformat $LIBS" 9115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16432 cat >conftest.$ac_ext <<_ACEOF 16433 /* confdefs.h. */ 16434 _ACEOF 16435 cat confdefs.h >>conftest.$ac_ext 16436 cat >>conftest.$ac_ext <<_ACEOF 9116 16437 /* end confdefs.h. */ 9117 16438 … … 9131 16452 } 9132 16453 _ACEOF 9133 if ac_fn_cxx_try_link "$LINENO"; then : 16454 rm -f conftest.$ac_objext conftest$ac_exeext 16455 if { (ac_try="$ac_link" 16456 case "(($ac_try" in 16457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16458 *) ac_try_echo=$ac_try;; 16459 esac 16460 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16461 $as_echo "$ac_try_echo") >&5 16462 (eval "$ac_link") 2>conftest.er1 16463 ac_status=$? 16464 grep -v '^ *+' conftest.er1 >conftest.err 16465 rm -f conftest.er1 16466 cat conftest.err >&5 16467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16468 (exit $ac_status); } && { 16469 test -z "$ac_cxx_werror_flag" || 16470 test ! -s conftest.err 16471 } && test -s conftest$ac_exeext && { 16472 test "$cross_compiling" = yes || 16473 $as_test_x conftest$ac_exeext 16474 }; then 9134 16475 ac_cv_lib_avformat_avformat_alloc_context=yes 9135 16476 else 9136 ac_cv_lib_avformat_avformat_alloc_context=no 9137 fi 9138 rm -f core conftest.err conftest.$ac_objext \ 9139 conftest$ac_exeext conftest.$ac_ext 16477 $as_echo "$as_me: failed program was:" >&5 16478 sed 's/^/| /' conftest.$ac_ext >&5 16479 16480 ac_cv_lib_avformat_avformat_alloc_context=no 16481 fi 16482 16483 rm -rf conftest.dSYM 16484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16485 conftest$ac_exeext conftest.$ac_ext 9140 16486 LIBS=$ac_check_lib_save_LIBS 9141 16487 fi 9142 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avformat_avformat_alloc_context" >&516488 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_avformat_alloc_context" >&5 9143 16489 $as_echo "$ac_cv_lib_avformat_avformat_alloc_context" >&6; } 9144 if test "x$ac_cv_lib_avformat_avformat_alloc_context" = x yes; then :16490 if test "x$ac_cv_lib_avformat_avformat_alloc_context" = x""yes; then 9145 16491 cat >>confdefs.h <<_ACEOF 9146 16492 #define HAVE_LIBAVFORMAT 1 … … 9150 16496 9151 16497 else 9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_alloc_format_context in -lavformat" >&5 16498 16499 { $as_echo "$as_me:$LINENO: checking for av_alloc_format_context in -lavformat" >&5 9153 16500 $as_echo_n "checking for av_alloc_format_context in -lavformat... " >&6; } 9154 if ${ac_cv_lib_avformat_av_alloc_format_context+:} false; then :16501 if test "${ac_cv_lib_avformat_av_alloc_format_context+set}" = set; then 9155 16502 $as_echo_n "(cached) " >&6 9156 16503 else 9157 16504 ac_check_lib_save_LIBS=$LIBS 9158 16505 LIBS="-lavformat $LIBS" 9159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16506 cat >conftest.$ac_ext <<_ACEOF 16507 /* confdefs.h. */ 16508 _ACEOF 16509 cat confdefs.h >>conftest.$ac_ext 16510 cat >>conftest.$ac_ext <<_ACEOF 9160 16511 /* end confdefs.h. */ 9161 16512 … … 9175 16526 } 9176 16527 _ACEOF 9177 if ac_fn_cxx_try_link "$LINENO"; then : 16528 rm -f conftest.$ac_objext conftest$ac_exeext 16529 if { (ac_try="$ac_link" 16530 case "(($ac_try" in 16531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16532 *) ac_try_echo=$ac_try;; 16533 esac 16534 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16535 $as_echo "$ac_try_echo") >&5 16536 (eval "$ac_link") 2>conftest.er1 16537 ac_status=$? 16538 grep -v '^ *+' conftest.er1 >conftest.err 16539 rm -f conftest.er1 16540 cat conftest.err >&5 16541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16542 (exit $ac_status); } && { 16543 test -z "$ac_cxx_werror_flag" || 16544 test ! -s conftest.err 16545 } && test -s conftest$ac_exeext && { 16546 test "$cross_compiling" = yes || 16547 $as_test_x conftest$ac_exeext 16548 }; then 9178 16549 ac_cv_lib_avformat_av_alloc_format_context=yes 9179 16550 else 9180 ac_cv_lib_avformat_av_alloc_format_context=no 9181 fi 9182 rm -f core conftest.err conftest.$ac_objext \ 9183 conftest$ac_exeext conftest.$ac_ext 16551 $as_echo "$as_me: failed program was:" >&5 16552 sed 's/^/| /' conftest.$ac_ext >&5 16553 16554 ac_cv_lib_avformat_av_alloc_format_context=no 16555 fi 16556 16557 rm -rf conftest.dSYM 16558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16559 conftest$ac_exeext conftest.$ac_ext 9184 16560 LIBS=$ac_check_lib_save_LIBS 9185 16561 fi 9186 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avformat_av_alloc_format_context" >&516562 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_av_alloc_format_context" >&5 9187 16563 $as_echo "$ac_cv_lib_avformat_av_alloc_format_context" >&6; } 9188 if test "x$ac_cv_lib_avformat_av_alloc_format_context" = x yes; then :16564 if test "x$ac_cv_lib_avformat_av_alloc_format_context" = x""yes; then 9189 16565 cat >>confdefs.h <<_ACEOF 9190 16566 #define HAVE_LIBAVFORMAT 1 … … 9194 16570 9195 16571 else 9196 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: libavformat not usable" >&516572 { $as_echo "$as_me:$LINENO: WARNING: libavformat not usable" >&5 9197 16573 $as_echo "$as_me: WARNING: libavformat not usable" >&2;} 9198 16574 fi … … 9202 16578 9203 16579 9204 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for nVidia Cg installation" >&516580 { $as_echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5 9205 16581 $as_echo_n "checking for nVidia Cg installation... " >&6; } 9206 16582 CG_DIR="" … … 9215 16591 fi 9216 16592 done 9217 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: ${CG_DIR}" >&516593 { $as_echo "$as_me:$LINENO: result: ${CG_DIR}" >&5 9218 16594 $as_echo "${CG_DIR}" >&6; } 9219 16595 … … 9222 16598 save_CPPFLAGS=$CPPFLAGS 9223 16599 CPPFLAGS="${CG_INC_SPEC} $CPPFLAGS" 16600 9224 16601 for ac_header in Cg/cgGL.h 9225 do : 9226 ac_fn_cxx_check_header_mongrel "$LINENO" "Cg/cgGL.h" "ac_cv_header_Cg_cgGL_h" "$ac_includes_default" 9227 if test "x$ac_cv_header_Cg_cgGL_h" = xyes; then : 16602 do 16603 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 16604 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16605 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 16606 $as_echo_n "checking for $ac_header... " >&6; } 16607 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16608 $as_echo_n "(cached) " >&6 16609 fi 16610 ac_res=`eval 'as_val=${'$as_ac_Header'} 16611 $as_echo "$as_val"'` 16612 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16613 $as_echo "$ac_res" >&6; } 16614 else 16615 # Is the header compilable? 16616 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 16617 $as_echo_n "checking $ac_header usability... " >&6; } 16618 cat >conftest.$ac_ext <<_ACEOF 16619 /* confdefs.h. */ 16620 _ACEOF 16621 cat confdefs.h >>conftest.$ac_ext 16622 cat >>conftest.$ac_ext <<_ACEOF 16623 /* end confdefs.h. */ 16624 $ac_includes_default 16625 #include <$ac_header> 16626 _ACEOF 16627 rm -f conftest.$ac_objext 16628 if { (ac_try="$ac_compile" 16629 case "(($ac_try" in 16630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16631 *) ac_try_echo=$ac_try;; 16632 esac 16633 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16634 $as_echo "$ac_try_echo") >&5 16635 (eval "$ac_compile") 2>conftest.er1 16636 ac_status=$? 16637 grep -v '^ *+' conftest.er1 >conftest.err 16638 rm -f conftest.er1 16639 cat conftest.err >&5 16640 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16641 (exit $ac_status); } && { 16642 test -z "$ac_cxx_werror_flag" || 16643 test ! -s conftest.err 16644 } && test -s conftest.$ac_objext; then 16645 ac_header_compiler=yes 16646 else 16647 $as_echo "$as_me: failed program was:" >&5 16648 sed 's/^/| /' conftest.$ac_ext >&5 16649 16650 ac_header_compiler=no 16651 fi 16652 16653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16654 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 16655 $as_echo "$ac_header_compiler" >&6; } 16656 16657 # Is the header present? 16658 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 16659 $as_echo_n "checking $ac_header presence... " >&6; } 16660 cat >conftest.$ac_ext <<_ACEOF 16661 /* confdefs.h. */ 16662 _ACEOF 16663 cat confdefs.h >>conftest.$ac_ext 16664 cat >>conftest.$ac_ext <<_ACEOF 16665 /* end confdefs.h. */ 16666 #include <$ac_header> 16667 _ACEOF 16668 if { (ac_try="$ac_cpp conftest.$ac_ext" 16669 case "(($ac_try" in 16670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16671 *) ac_try_echo=$ac_try;; 16672 esac 16673 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16674 $as_echo "$ac_try_echo") >&5 16675 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 16676 ac_status=$? 16677 grep -v '^ *+' conftest.er1 >conftest.err 16678 rm -f conftest.er1 16679 cat conftest.err >&5 16680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16681 (exit $ac_status); } >/dev/null && { 16682 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 16683 test ! -s conftest.err 16684 }; then 16685 ac_header_preproc=yes 16686 else 16687 $as_echo "$as_me: failed program was:" >&5 16688 sed 's/^/| /' conftest.$ac_ext >&5 16689 16690 ac_header_preproc=no 16691 fi 16692 16693 rm -f conftest.err conftest.$ac_ext 16694 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 16695 $as_echo "$ac_header_preproc" >&6; } 16696 16697 # So? What about this header? 16698 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 16699 yes:no: ) 16700 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 16701 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 16702 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 16703 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 16704 ac_header_preproc=yes 16705 ;; 16706 no:yes:* ) 16707 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 16708 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 16709 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 16710 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 16711 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 16712 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 16713 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 16714 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 16715 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 16716 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 16717 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 16718 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 16719 ( cat <<\_ASBOX 16720 ## ----------------------------------- ## 16721 ## Report this to rappture@nanohub.org ## 16722 ## ----------------------------------- ## 16723 _ASBOX 16724 ) | sed "s/^/$as_me: WARNING: /" >&2 16725 ;; 16726 esac 16727 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 16728 $as_echo_n "checking for $ac_header... " >&6; } 16729 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16730 $as_echo_n "(cached) " >&6 16731 else 16732 eval "$as_ac_Header=\$ac_header_preproc" 16733 fi 16734 ac_res=`eval 'as_val=${'$as_ac_Header'} 16735 $as_echo "$as_val"'` 16736 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16737 $as_echo "$ac_res" >&6; } 16738 16739 fi 16740 as_val=`eval 'as_val=${'$as_ac_Header'} 16741 $as_echo "$as_val"'` 16742 if test "x$as_val" = x""yes; then 9228 16743 cat >>confdefs.h <<_ACEOF 9229 #define HAVE_CG_CGGL_H19230 _ACEOF 9231 9232 else 9233 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cannot find nVidia Cg headers" >&516744 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 16745 _ACEOF 16746 16747 else 16748 { $as_echo "$as_me:$LINENO: WARNING: cannot find nVidia Cg headers" >&5 9234 16749 $as_echo "$as_me: WARNING: cannot find nVidia Cg headers" >&2;} 9235 16750 fi … … 9294 16809 9295 16810 9296 9297 9298 16811 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" 9299 16812 … … 9325 16838 *${as_nl}*) 9326 16839 case $ac_var in #( 9327 *_cv_*) { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&516840 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 9328 16841 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 9329 16842 esac … … 9331 16844 _ | IFS | as_nl) ;; #( 9332 16845 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9333 *) { eval $ac_var=; unset $ac_var;};;16846 *) $as_unset $ac_var ;; 9334 16847 esac ;; 9335 16848 esac … … 9339 16852 case $as_nl`(ac_space=' '; set) 2>&1` in #( 9340 16853 *${as_nl}ac_space=\ *) 9341 # `set' does not quote correctly, so add quotes :double-quote9342 # substitution turns \\\\ into \\, and sed turns \\ into \ .16854 # `set' does not quote correctly, so add quotes (double-quote 16855 # substitution turns \\\\ into \\, and sed turns \\ into \). 9343 16856 sed -n \ 9344 16857 "s/'/'\\\\''/g; … … 9362 16875 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 9363 16876 if test -w "$cache_file"; then 9364 if test "x$cache_file" != "x/dev/null"; then9365 { $as_echo "$as_me:$ {as_lineno-$LINENO}: updating cache $cache_file" >&516877 test "x$cache_file" != "x/dev/null" && 16878 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 9366 16879 $as_echo "$as_me: updating cache $cache_file" >&6;} 9367 if test ! -f "$cache_file" || test -h "$cache_file"; then 9368 cat confcache >"$cache_file" 9369 else 9370 case $cache_file in #( 9371 */* | ?:*) 9372 mv -f confcache "$cache_file"$$ && 9373 mv -f "$cache_file"$$ "$cache_file" ;; #( 9374 *) 9375 mv -f confcache "$cache_file" ;; 9376 esac 9377 fi 9378 fi 16880 cat confcache >$cache_file 9379 16881 else 9380 { $as_echo "$as_me:$ {as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&516882 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 9381 16883 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 9382 16884 fi … … 9392 16894 ac_libobjs= 9393 16895 ac_ltlibobjs= 9394 U=9395 16896 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 9396 16897 # 1. Remove the extension, and $U if already installed. … … 9399 16900 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 9400 16901 # will be set to the directory where LIBOBJS objects are built. 9401 a s_fn_append ac_libobjs "\${LIBOBJDIR}$ac_i\$U.$ac_objext"9402 a s_fn_append ac_ltlibobjs "\${LIBOBJDIR}$ac_i"'$U.lo'16902 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 16903 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 9403 16904 done 9404 16905 LIBOBJS=$ac_libobjs … … 9409 16910 9410 16911 9411 : "${CONFIG_STATUS=./config.status}"16912 : ${CONFIG_STATUS=./config.status} 9412 16913 ac_write_fail=0 9413 16914 ac_clean_files_save=$ac_clean_files 9414 16915 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 9415 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating $CONFIG_STATUS" >&516916 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 9416 16917 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9417 as_write_fail=0 9418 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 16918 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9419 16919 #! $SHELL 9420 16920 # Generated by $as_me. … … 9426 16926 ac_cs_recheck=false 9427 16927 ac_cs_silent=false 9428 9429 16928 SHELL=\${CONFIG_SHELL-$SHELL} 9430 export SHELL 9431 _ASEOF 9432 cat >>$CONFIG_STATUS <<\_A SEOF || as_write_fail=19433 ## -------------------- ##9434 ## M4sh Initialization. ##9435 ## -------------------- ##16929 _ACEOF 16930 16931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16932 ## --------------------- ## 16933 ## M4sh Initialization. ## 16934 ## --------------------- ## 9436 16935 9437 16936 # Be more Bourne compatible 9438 16937 DUALCASE=1; export DUALCASE # for MKS sh 9439 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :16938 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 9440 16939 emulate sh 9441 16940 NULLCMD=: … … 9445 16944 setopt NO_GLOB_SUBST 9446 16945 else 9447 case `(set -o) 2>/dev/null` in #( 9448 *posix*) : 9449 set -o posix ;; #( 9450 *) : 9451 ;; 9452 esac 9453 fi 9454 16946 case `(set -o) 2>/dev/null` in 16947 *posix*) set -o posix ;; 16948 esac 16949 16950 fi 16951 16952 16953 16954 16955 # PATH needs CR 16956 # Avoid depending upon Character Ranges. 16957 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 16958 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 16959 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 16960 as_cr_digits='0123456789' 16961 as_cr_alnum=$as_cr_Letters$as_cr_digits 9455 16962 9456 16963 as_nl=' … … 9461 16968 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9462 16969 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9463 # Prefer a ksh shell builtin over an external printf program on Solaris, 9464 # but without wasting forks for bash or zsh. 9465 if test -z "$BASH_VERSION$ZSH_VERSION" \ 9466 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 9467 as_echo='print -r --' 9468 as_echo_n='print -rn --' 9469 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 16970 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9470 16971 as_echo='printf %s\n' 9471 16972 as_echo_n='printf %s' … … 9478 16979 as_echo_n_body='eval 9479 16980 arg=$1; 9480 case $arg in #(16981 case $arg in 9481 16982 *"$as_nl"*) 9482 16983 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 9501 17002 fi 9502 17003 17004 # Support unset when possible. 17005 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 17006 as_unset=unset 17007 else 17008 as_unset=false 17009 fi 17010 9503 17011 9504 17012 # IFS … … 9510 17018 9511 17019 # Find who we are. Look in the path if we contain no directory separator. 9512 as_myself= 9513 case $0 in #(( 17020 case $0 in 9514 17021 *[\\/]* ) as_myself=$0 ;; 9515 17022 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 9518 17025 IFS=$as_save_IFS 9519 17026 test -z "$as_dir" && as_dir=. 9520 9521 17027 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 17028 done 9522 17029 IFS=$as_save_IFS 9523 17030 … … 9531 17038 if test ! -f "$as_myself"; then 9532 17039 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9533 exit 1 9534 fi 9535 9536 # Unset variables that we do not need and which cause bugs (e.g. in 9537 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 9538 # suppresses any "Segmentation fault" message there. '((' could 9539 # trigger a bug in pdksh 5.2.14. 9540 for as_var in BASH_ENV ENV MAIL MAILPATH 9541 do eval test x\${$as_var+set} = xset \ 9542 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 17040 { (exit 1); exit 1; } 17041 fi 17042 17043 # Work around bugs in pre-3.0 UWIN ksh. 17044 for as_var in ENV MAIL MAILPATH 17045 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9543 17046 done 9544 17047 PS1='$ ' … … 9552 17055 export LANGUAGE 9553 17056 9554 # CDPATH. 9555 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 9556 9557 9558 # as_fn_error STATUS ERROR [LINENO LOG_FD] 9559 # ---------------------------------------- 9560 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 9561 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 9562 # script with STATUS, using 1 if that was 0. 9563 as_fn_error () 9564 { 9565 as_status=$1; test $as_status -eq 0 && as_status=1 9566 if test "$4"; then 9567 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 9568 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 9569 fi 9570 $as_echo "$as_me: error: $2" >&2 9571 as_fn_exit $as_status 9572 } # as_fn_error 9573 9574 9575 # as_fn_set_status STATUS 9576 # ----------------------- 9577 # Set $? to STATUS, without forking. 9578 as_fn_set_status () 9579 { 9580 return $1 9581 } # as_fn_set_status 9582 9583 # as_fn_exit STATUS 9584 # ----------------- 9585 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 9586 as_fn_exit () 9587 { 9588 set +e 9589 as_fn_set_status $1 9590 exit $1 9591 } # as_fn_exit 9592 9593 # as_fn_unset VAR 9594 # --------------- 9595 # Portably unset VAR. 9596 as_fn_unset () 9597 { 9598 { eval $1=; unset $1;} 9599 } 9600 as_unset=as_fn_unset 9601 # as_fn_append VAR VALUE 9602 # ---------------------- 9603 # Append the text in VALUE to the end of the definition contained in VAR. Take 9604 # advantage of any shell optimizations that allow amortized linear growth over 9605 # repeated appends, instead of the typical quadratic growth present in naive 9606 # implementations. 9607 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 9608 eval 'as_fn_append () 9609 { 9610 eval $1+=\$2 9611 }' 9612 else 9613 as_fn_append () 9614 { 9615 eval $1=\$$1\$2 9616 } 9617 fi # as_fn_append 9618 9619 # as_fn_arith ARG... 9620 # ------------------ 9621 # Perform arithmetic evaluation on the ARGs, and store the result in the 9622 # global $as_val. Take advantage of shells that can avoid forks. The arguments 9623 # must be portable across $(()) and expr. 9624 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 9625 eval 'as_fn_arith () 9626 { 9627 as_val=$(( $* )) 9628 }' 9629 else 9630 as_fn_arith () 9631 { 9632 as_val=`expr "$@" || test $? -eq 1` 9633 } 9634 fi # as_fn_arith 9635 9636 17057 # Required to use basename. 9637 17058 if expr a : '\(a\)' >/dev/null 2>&1 && 9638 17059 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 9648 17069 fi 9649 17070 9650 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9651 as_dirname=dirname 9652 else 9653 as_dirname=false 9654 fi 9655 17071 17072 # Name of the executable. 9656 17073 as_me=`$as_basename -- "$0" || 9657 17074 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 9673 17090 s/.*/./; q'` 9674 17091 9675 # Avoid depending upon Character Ranges. 9676 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 9677 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 9678 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 9679 as_cr_digits='0123456789' 9680 as_cr_alnum=$as_cr_Letters$as_cr_digits 17092 # CDPATH. 17093 $as_unset CDPATH 17094 17095 17096 17097 as_lineno_1=$LINENO 17098 as_lineno_2=$LINENO 17099 test "x$as_lineno_1" != "x$as_lineno_2" && 17100 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 17101 17102 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 17103 # uniformly replaced by the line number. The first 'sed' inserts a 17104 # line-number line after each line using $LINENO; the second 'sed' 17105 # does the real work. The second script uses 'N' to pair each 17106 # line-number line with the line containing $LINENO, and appends 17107 # trailing '-' during substitution so that $LINENO is not a special 17108 # case at line end. 17109 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 17110 # scripts with optimization help from Paolo Bonzini. Blame Lee 17111 # E. McMahon (1931-1989) for sed's syntax. :-) 17112 sed -n ' 17113 p 17114 /[$]LINENO/= 17115 ' <$as_myself | 17116 sed ' 17117 s/[$]LINENO.*/&-/ 17118 t lineno 17119 b 17120 :lineno 17121 N 17122 :loop 17123 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 17124 t loop 17125 s/-\n.*// 17126 ' >$as_me.lineno && 17127 chmod +x "$as_me.lineno" || 17128 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 17129 { (exit 1); exit 1; }; } 17130 17131 # Don't try to exec as it changes $[0], causing all sort of problems 17132 # (the dirname of $[0] is not the place where we might find the 17133 # original and so on. Autoconf is especially sensitive to this). 17134 . "./$as_me.lineno" 17135 # Exit status is that of the last command. 17136 exit 17137 } 17138 17139 17140 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 17141 as_dirname=dirname 17142 else 17143 as_dirname=false 17144 fi 9681 17145 9682 17146 ECHO_C= ECHO_N= ECHO_T= 9683 case `echo -n x` in #(((((17147 case `echo -n x` in 9684 17148 -n*) 9685 case `echo 'x y\c'` in17149 case `echo 'x\c'` in 9686 17150 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 9687 xy) ECHO_C='\c';; 9688 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 9689 ECHO_T=' ';; 17151 *) ECHO_C='\c';; 9690 17152 esac;; 9691 17153 *) 9692 17154 ECHO_N='-n';; 9693 17155 esac 17156 if expr a : '\(a\)' >/dev/null 2>&1 && 17157 test "X`expr 00001 : '.*\(...\)'`" = X001; then 17158 as_expr=expr 17159 else 17160 as_expr=false 17161 fi 9694 17162 9695 17163 rm -f conf$$ conf$$.exe conf$$.file … … 9706 17174 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 9707 17175 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 9708 # In both cases, we have to default to `cp -p R'.17176 # In both cases, we have to default to `cp -p'. 9709 17177 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9710 as_ln_s='cp -p R'17178 as_ln_s='cp -p' 9711 17179 elif ln conf$$.file conf$$ 2>/dev/null; then 9712 17180 as_ln_s=ln 9713 17181 else 9714 as_ln_s='cp -p R'17182 as_ln_s='cp -p' 9715 17183 fi 9716 17184 else 9717 as_ln_s='cp -p R'17185 as_ln_s='cp -p' 9718 17186 fi 9719 17187 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 9720 17188 rmdir conf$$.dir 2>/dev/null 9721 17189 9722 9723 # as_fn_mkdir_p9724 # -------------9725 # Create "$as_dir" as a directory, including parents if necessary.9726 as_fn_mkdir_p ()9727 {9728 9729 case $as_dir in #(9730 -*) as_dir=./$as_dir;;9731 esac9732 test -d "$as_dir" || eval $as_mkdir_p || {9733 as_dirs=9734 while :; do9735 case $as_dir in #(9736 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(9737 *) as_qdir=$as_dir;;9738 esac9739 as_dirs="'$as_qdir' $as_dirs"9740 as_dir=`$as_dirname -- "$as_dir" ||9741 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \9742 X"$as_dir" : 'X\(//\)[^/]' \| \9743 X"$as_dir" : 'X\(//\)$' \| \9744 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||9745 $as_echo X"$as_dir" |9746 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{9747 s//\1/9748 q9749 }9750 /^X\(\/\/\)[^/].*/{9751 s//\1/9752 q9753 }9754 /^X\(\/\/\)$/{9755 s//\1/9756 q9757 }9758 /^X\(\/\).*/{9759 s//\1/9760 q9761 }9762 s/.*/./; q'`9763 test -d "$as_dir" && break9764 done9765 test -z "$as_dirs" || eval "mkdir $as_dirs"9766 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"9767 9768 9769 } # as_fn_mkdir_p9770 17190 if mkdir -p . 2>/dev/null; then 9771 as_mkdir_p= 'mkdir -p "$as_dir"'17191 as_mkdir_p=: 9772 17192 else 9773 17193 test -d ./-p && rmdir ./-p … … 9775 17195 fi 9776 17196 9777 9778 # as_fn_executable_p FILE 9779 # ----------------------- 9780 # Test if FILE is an executable regular file. 9781 as_fn_executable_p () 9782 { 9783 test -f "$1" && test -x "$1" 9784 } # as_fn_executable_p 9785 as_test_x='test -x' 9786 as_executable_p=as_fn_executable_p 17197 if test -x / >/dev/null 2>&1; then 17198 as_test_x='test -x' 17199 else 17200 if ls -dL / >/dev/null 2>&1; then 17201 as_ls_L_option=L 17202 else 17203 as_ls_L_option= 17204 fi 17205 as_test_x=' 17206 eval sh -c '\'' 17207 if test -d "$1"; then 17208 test -d "$1/."; 17209 else 17210 case $1 in 17211 -*)set "./$1";; 17212 esac; 17213 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 17214 ???[sx]*):;;*)false;;esac;fi 17215 '\'' sh 17216 ' 17217 fi 17218 as_executable_p=$as_test_x 9787 17219 9788 17220 # Sed expression to map a string onto a valid CPP name. … … 9794 17226 9795 17227 exec 6>&1 9796 ## ----------------------------------- ## 9797 ## Main body of $CONFIG_STATUS script. ## 9798 ## ----------------------------------- ## 9799 _ASEOF 9800 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 9801 9802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9803 # Save the log message, to keep $0 and so on meaningful, and to 17228 17229 # Save the log message, to keep $[0] and so on meaningful, and to 9804 17230 # report actual input values of CONFIG_FILES etc. instead of their 9805 17231 # values after options handling. 9806 17232 ac_log=" 9807 17233 This file was extended by vizservers $as_me 0.1, which was 9808 generated by GNU Autoconf 2.6 9. Invocation command line was17234 generated by GNU Autoconf 2.63. Invocation command line was 9809 17235 9810 17236 CONFIG_FILES = $CONFIG_FILES … … 9837 17263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9838 17264 ac_cs_usage="\ 9839 \`$as_me' instantiates files and other configuration actions 9840 from templates according to the current configuration. Unless the files 9841 and actions are specified as TAGs, all are instantiated by default. 9842 9843 Usage: $0 [OPTION]... [TAG]... 17265 \`$as_me' instantiates files from templates according to the 17266 current configuration. 17267 17268 Usage: $0 [OPTION]... [FILE]... 9844 17269 9845 17270 -h, --help print this help, then exit 9846 17271 -V, --version print version number and configuration settings, then exit 9847 --config print configuration, then exit9848 17272 -q, --quiet, --silent 9849 17273 do not print progress messages … … 9861 17285 $config_headers 9862 17286 9863 Report bugs to < rappture@nanohub.org>."17287 Report bugs to <bug-autoconf@gnu.org>." 9864 17288 9865 17289 _ACEOF 9866 17290 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9867 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"9868 17291 ac_cs_version="\\ 9869 17292 vizservers config.status 0.1 9870 configured by $0, generated by GNU Autoconf 2.6 9,9871 with options \\" \$ac_cs_config\\"9872 9873 Copyright (C) 20 12Free Software Foundation, Inc.17293 configured by $0, generated by GNU Autoconf 2.63, 17294 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 17295 17296 Copyright (C) 2008 Free Software Foundation, Inc. 9874 17297 This config.status script is free software; the Free Software Foundation 9875 17298 gives unlimited permission to copy, distribute and modify it." … … 9888 17311 do 9889 17312 case $1 in 9890 --*= ?*)17313 --*=*) 9891 17314 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9892 17315 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9893 ac_shift=:9894 ;;9895 --*=)9896 ac_option=`expr "X$1" : 'X\([^=]*\)='`9897 ac_optarg=9898 17316 ac_shift=: 9899 17317 ;; … … 9911 17329 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9912 17330 $as_echo "$ac_cs_version"; exit ;; 9913 --config | --confi | --conf | --con | --co | --c )9914 $as_echo "$ac_cs_config"; exit ;;9915 17331 --debug | --debu | --deb | --de | --d | -d ) 9916 17332 debug=: ;; … … 9919 17335 case $ac_optarg in 9920 17336 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9921 '') as_fn_error $? "missing file argument" ;;9922 17337 esac 9923 as_fn_append CONFIG_FILES "'$ac_optarg'"17338 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 9924 17339 ac_need_defaults=false;; 9925 17340 --header | --heade | --head | --hea ) … … 9928 17343 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9929 17344 esac 9930 as_fn_append CONFIG_HEADERS "'$ac_optarg'"17345 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 9931 17346 ac_need_defaults=false;; 9932 17347 --he | --h) 9933 17348 # Conflict between --help and --header 9934 as_fn_error $? "ambiguous option: \`$1' 9935 Try \`$0 --help' for more information.";; 17349 { $as_echo "$as_me: error: ambiguous option: $1 17350 Try \`$0 --help' for more information." >&2 17351 { (exit 1); exit 1; }; };; 9936 17352 --help | --hel | -h ) 9937 17353 $as_echo "$ac_cs_usage"; exit ;; … … 9941 17357 9942 17358 # This is an error. 9943 -*) as_fn_error $? "unrecognized option: \`$1' 9944 Try \`$0 --help' for more information." ;; 9945 9946 *) as_fn_append ac_config_targets " $1" 17359 -*) { $as_echo "$as_me: error: unrecognized option: $1 17360 Try \`$0 --help' for more information." >&2 17361 { (exit 1); exit 1; }; } ;; 17362 17363 *) ac_config_targets="$ac_config_targets $1" 9947 17364 ac_need_defaults=false ;; 9948 17365 … … 9961 17378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9962 17379 if \$ac_cs_recheck; then 9963 set X $SHELL'$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion17380 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9964 17381 shift 9965 17382 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 … … 10006 17423 "start_nanoscale.sh") CONFIG_FILES="$CONFIG_FILES start_nanoscale.sh" ;; 10007 17424 10008 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 17425 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 17426 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 17427 { (exit 1); exit 1; }; };; 10009 17428 esac 10010 17429 done … … 10028 17447 $debug || 10029 17448 { 10030 tmp= ac_tmp=17449 tmp= 10031 17450 trap 'exit_status=$? 10032 : "${ac_tmp:=$tmp}" 10033 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 17451 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 10034 17452 ' 0 10035 trap ' as_fn_exit 1' 1 2 13 1517453 trap '{ (exit 1); exit 1; }' 1 2 13 15 10036 17454 } 10037 17455 # Create a (secure) tmp directory for tmp files. … … 10039 17457 { 10040 17458 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 10041 test - d "$tmp"17459 test -n "$tmp" && test -d "$tmp" 10042 17460 } || 10043 17461 { 10044 17462 tmp=./conf$$-$RANDOM 10045 17463 (umask 077 && mkdir "$tmp") 10046 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 10047 ac_tmp=$tmp 17464 } || 17465 { 17466 $as_echo "$as_me: cannot create a temporary directory in ." >&2 17467 { (exit 1); exit 1; } 17468 } 10048 17469 10049 17470 # Set up the scripts for CONFIG_FILES section. … … 10053 17474 10054 17475 10055 ac_cr=`echo X | tr X '\015'` 10056 # On cygwin, bash can eat \r inside `` if the user requested igncr. 10057 # But we know of no other shell where ac_cr would be empty at this 10058 # point, so we can use a bashism as a fallback. 10059 if test "x$ac_cr" = x; then 10060 eval ac_cr=\$\'\\r\' 10061 fi 17476 ac_cr=' 17477 ' 10062 17478 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 10063 17479 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then … … 10067 17483 fi 10068 17484 10069 echo 'BEGIN {' >"$ ac_tmp/subs1.awk" &&17485 echo 'BEGIN {' >"$tmp/subs1.awk" && 10070 17486 _ACEOF 10071 17487 … … 10076 17492 echo "_ACEOF" 10077 17493 } >conf$$subs.sh || 10078 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10079 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 17494 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 17495 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 17496 { (exit 1); exit 1; }; } 17497 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 10080 17498 ac_delim='%!_!# ' 10081 17499 for ac_last_try in false false false false false :; do 10082 17500 . ./conf$$subs.sh || 10083 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17501 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 17502 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 17503 { (exit 1); exit 1; }; } 10084 17504 10085 17505 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` … … 10087 17507 break 10088 17508 elif $ac_last_try; then 10089 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17509 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 17510 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 17511 { (exit 1); exit 1; }; } 10090 17512 else 10091 17513 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 10095 17517 10096 17518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10097 cat >>"\$ ac_tmp/subs1.awk" <<\\_ACAWK &&17519 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 10098 17520 _ACEOF 10099 17521 sed -n ' … … 10109 17531 :nl 10110 17532 h 10111 s/\(.\{148\}\). .*/\1/17533 s/\(.\{148\}\).*/\1/ 10112 17534 t more1 10113 17535 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ … … 10123 17545 :delim 10124 17546 h 10125 s/\(.\{148\}\). .*/\1/17547 s/\(.\{148\}\).*/\1/ 10126 17548 t more2 10127 17549 s/["\\]/\\&/g; s/^/"/; s/$/"/ … … 10143 17565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10144 17566 _ACAWK 10145 cat >>"\$ ac_tmp/subs1.awk" <<_ACAWK &&17567 cat >>"\$tmp/subs1.awk" <<_ACAWK && 10146 17568 for (key in S) S_is_set[key] = 1 10147 17569 FS = "" … … 10175 17597 else 10176 17598 cat 10177 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 10178 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 10179 _ACEOF 10180 10181 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 10182 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 17599 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 17600 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 17601 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 17602 { (exit 1); exit 1; }; } 17603 _ACEOF 17604 17605 # VPATH may cause trouble with some makes, so we remove $(srcdir), 17606 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 10183 17607 # trailing colons and then remove the whole line if VPATH becomes empty 10184 17608 # (actually we leave an empty line to preserve line numbers). 10185 17609 if test "x$srcdir" = x.; then 10186 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 10187 h 10188 s/// 10189 s/^/:/ 10190 s/[ ]*$/:/ 10191 s/:\$(srcdir):/:/g 10192 s/:\${srcdir}:/:/g 10193 s/:@srcdir@:/:/g 10194 s/^:*// 17610 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 17611 s/:*\$(srcdir):*/:/ 17612 s/:*\${srcdir}:*/:/ 17613 s/:*@srcdir@:*/:/ 17614 s/^\([^=]*=[ ]*\):*/\1/ 10195 17615 s/:*$// 10196 x10197 s/\(=[ ]*\).*/\1/10198 G10199 s/\n//10200 17616 s/^[^=]*=[ ]*$// 10201 17617 }' … … 10209 17625 # This happens for instance with `./config.status Makefile'. 10210 17626 if test -n "$CONFIG_HEADERS"; then 10211 cat >"$ ac_tmp/defines.awk" <<\_ACAWK ||17627 cat >"$tmp/defines.awk" <<\_ACAWK || 10212 17628 BEGIN { 10213 17629 _ACEOF … … 10221 17637 ac_delim='%!_!# ' 10222 17638 for ac_last_try in false false :; do 10223 ac_t t=`sed -n "/$ac_delim/p" confdefs.h`10224 if test -z "$ac_t t"; then17639 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 17640 if test -z "$ac_t"; then 10225 17641 break 10226 17642 elif $ac_last_try; then 10227 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 17643 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 17644 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 17645 { (exit 1); exit 1; }; } 10228 17646 else 10229 17647 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 10310 17728 _ACEOF 10311 17729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10312 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 17730 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 17731 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 17732 { (exit 1); exit 1; }; } 10313 17733 fi # test -n "$CONFIG_HEADERS" 10314 17734 … … 10323 17743 case $ac_mode$ac_tag in 10324 17744 :[FHL]*:*);; 10325 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 17745 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 17746 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 17747 { (exit 1); exit 1; }; };; 10326 17748 :[FH]-) ac_tag=-:-;; 10327 17749 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 10342 17764 do 10343 17765 case $ac_f in 10344 -) ac_f="$ ac_tmp/stdin";;17766 -) ac_f="$tmp/stdin";; 10345 17767 *) # Look for the file first in the build tree, then in the source tree 10346 17768 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 10351 17773 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 10352 17774 esac || 10353 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 17775 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 17776 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 17777 { (exit 1); exit 1; }; };; 10354 17778 esac 10355 17779 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 10356 a s_fn_append ac_file_inputs "'$ac_f'"17780 ac_file_inputs="$ac_file_inputs '$ac_f'" 10357 17781 done 10358 17782 … … 10365 17789 if test x"$ac_file" != x-; then 10366 17790 configure_input="$ac_file. $configure_input" 10367 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating $ac_file" >&517791 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 10368 17792 $as_echo "$as_me: creating $ac_file" >&6;} 10369 17793 fi … … 10377 17801 10378 17802 case $ac_tag in 10379 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 10380 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 17803 *:-:* | *:-) cat >"$tmp/stdin" \ 17804 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 17805 $as_echo "$as_me: error: could not create $ac_file" >&2;} 17806 { (exit 1); exit 1; }; } ;; 10381 17807 esac 10382 17808 ;; … … 10406 17832 } 10407 17833 s/.*/./; q'` 10408 as_dir="$ac_dir"; as_fn_mkdir_p 17834 { as_dir="$ac_dir" 17835 case $as_dir in #( 17836 -*) as_dir=./$as_dir;; 17837 esac 17838 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 17839 as_dirs= 17840 while :; do 17841 case $as_dir in #( 17842 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 17843 *) as_qdir=$as_dir;; 17844 esac 17845 as_dirs="'$as_qdir' $as_dirs" 17846 as_dir=`$as_dirname -- "$as_dir" || 17847 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17848 X"$as_dir" : 'X\(//\)[^/]' \| \ 17849 X"$as_dir" : 'X\(//\)$' \| \ 17850 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 17851 $as_echo X"$as_dir" | 17852 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17853 s//\1/ 17854 q 17855 } 17856 /^X\(\/\/\)[^/].*/{ 17857 s//\1/ 17858 q 17859 } 17860 /^X\(\/\/\)$/{ 17861 s//\1/ 17862 q 17863 } 17864 /^X\(\/\).*/{ 17865 s//\1/ 17866 q 17867 } 17868 s/.*/./; q'` 17869 test -d "$as_dir" && break 17870 done 17871 test -z "$as_dirs" || eval "mkdir $as_dirs" 17872 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 17873 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 17874 { (exit 1); exit 1; }; }; } 10409 17875 ac_builddir=. 10410 17876 … … 10463 17929 # FIXME: This hack should be removed a few years after 2.60. 10464 17930 ac_datarootdir_hack=; ac_datarootdir_seen= 17931 10465 17932 ac_sed_dataroot=' 10466 17933 /datarootdir/ { … … 10472 17939 /@infodir@/p 10473 17940 /@localedir@/p 10474 /@mandir@/p' 17941 /@mandir@/p 17942 ' 10475 17943 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 10476 17944 *datarootdir*) ac_datarootdir_seen=yes;; 10477 17945 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 10478 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&517946 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10479 17947 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10480 17948 _ACEOF … … 10486 17954 s&@localedir@&$localedir&g 10487 17955 s&@mandir@&$mandir&g 10488 s&\\\${datarootdir}&$datarootdir&g' ;;17956 s&\\\${datarootdir}&$datarootdir&g' ;; 10489 17957 esac 10490 17958 _ACEOF … … 10514 17982 $ac_datarootdir_hack 10515 17983 " 10516 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 10517 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17984 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 17985 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 17986 $as_echo "$as_me: error: could not create $ac_file" >&2;} 17987 { (exit 1); exit 1; }; } 10518 17988 10519 17989 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 10520 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 10521 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 10522 "$ac_tmp/out"`; test -z "$ac_out"; } && 10523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10524 which seems to be undefined. Please make sure it is defined" >&5 17990 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 17991 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 17992 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17993 which seems to be undefined. Please make sure it is defined." >&5 10525 17994 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10526 which seems to be undefined. Please make sure it is defined " >&2;}10527 10528 rm -f "$ ac_tmp/stdin"17995 which seems to be undefined. Please make sure it is defined." >&2;} 17996 17997 rm -f "$tmp/stdin" 10529 17998 case $ac_file in 10530 -) cat "$ ac_tmp/out" && rm -f "$ac_tmp/out";;10531 *) rm -f "$ac_file" && mv "$ ac_tmp/out" "$ac_file";;17999 -) cat "$tmp/out" && rm -f "$tmp/out";; 18000 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 10532 18001 esac \ 10533 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18002 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 18003 $as_echo "$as_me: error: could not create $ac_file" >&2;} 18004 { (exit 1); exit 1; }; } 10534 18005 ;; 10535 18006 :H) … … 10540 18011 { 10541 18012 $as_echo "/* $configure_input */" \ 10542 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 10543 } >"$ac_tmp/config.h" \ 10544 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10545 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 10546 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 18013 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 18014 } >"$tmp/config.h" \ 18015 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 18016 $as_echo "$as_me: error: could not create $ac_file" >&2;} 18017 { (exit 1); exit 1; }; } 18018 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 18019 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 10547 18020 $as_echo "$as_me: $ac_file is unchanged" >&6;} 10548 18021 else 10549 18022 rm -f "$ac_file" 10550 mv "$ac_tmp/config.h" "$ac_file" \ 10551 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18023 mv "$tmp/config.h" "$ac_file" \ 18024 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 18025 $as_echo "$as_me: error: could not create $ac_file" >&2;} 18026 { (exit 1); exit 1; }; } 10552 18027 fi 10553 18028 else 10554 18029 $as_echo "/* $configure_input */" \ 10555 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 10556 || as_fn_error $? "could not create -" "$LINENO" 5 18030 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 18031 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 18032 $as_echo "$as_me: error: could not create -" >&2;} 18033 { (exit 1); exit 1; }; } 10557 18034 fi 10558 18035 ;; … … 10564 18041 10565 18042 10566 as_fn_exit 0 10567 _ACEOF 18043 { (exit 0); exit 0; } 18044 _ACEOF 18045 chmod +x $CONFIG_STATUS 10568 18046 ac_clean_files=$ac_clean_files_save 10569 18047 10570 18048 test $ac_write_fail = 0 || 10571 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 18049 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 18050 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 18051 { (exit 1); exit 1; }; } 10572 18052 10573 18053 … … 10590 18070 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 10591 18071 # would make configure fail if this is the last instruction. 10592 $ac_cs_success || as_fn_exit 118072 $ac_cs_success || { (exit 1); exit 1; } 10593 18073 fi 10594 18074 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 10595 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&518075 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 10596 18076 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 10597 18077 fi
Note: See TracChangeset
for help on using the changeset viewer.