Changeset 3560 for trunk/packages
- Timestamp:
- Mar 22, 2013 7:46:34 PM (11 years ago)
- Location:
- trunk/packages/vizservers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/configure
r3465 r3560 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 3for vizservers 0.1.3 # Generated by GNU Autoconf 2.69 for vizservers 0.1. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 7 # 8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9 # 10 # 9 11 # This configure script is free software; the Free Software Foundation 10 12 # gives unlimited permission to copy, distribute and modify it. 11 ## -------------------- -##12 ## M4sh Initialization. 13 ## -------------------- -##13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 14 16 15 17 # Be more Bourne compatible 16 18 DUALCASE=1; export DUALCASE # for MKS sh 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 20 emulate sh 19 21 NULLCMD=: … … 23 25 setopt NO_GLOB_SUBST 24 26 else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 27 32 esac 28 29 fi 30 31 32 33 34 # PATH needs CR 35 # Avoid depending upon Character Ranges. 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39 as_cr_digits='0123456789' 40 as_cr_alnum=$as_cr_Letters$as_cr_digits 33 fi 34 41 35 42 36 as_nl=' … … 47 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 48 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 50 as_echo='printf %s\n' 51 51 as_echo_n='printf %s' … … 58 58 as_echo_n_body='eval 59 59 arg=$1; 60 case $arg in 60 case $arg in #( 61 61 *"$as_nl"*) 62 62 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 81 81 fi 82 82 83 # Support unset when possible.84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then85 as_unset=unset86 else87 as_unset=false88 fi89 90 83 91 84 # IFS … … 97 90 98 91 # Find who we are. Look in the path if we contain no directory separator. 99 case $0 in 92 as_myself= 93 case $0 in #(( 100 94 *[\\/]* ) as_myself=$0 ;; 101 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 104 98 IFS=$as_save_IFS 105 99 test -z "$as_dir" && as_dir=. 106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break107 done100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 108 102 IFS=$as_save_IFS 109 103 … … 117 111 if test ! -f "$as_myself"; then 118 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 119 { (exit 1); exit 1; } 120 fi 121 122 # Work around bugs in pre-3.0 UWIN ksh. 123 for as_var in ENV MAIL MAILPATH 124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 113 exit 1 114 fi 115 116 # Unset variables that we do not need and which cause bugs (e.g. in 117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118 # suppresses any "Segmentation fault" message there. '((' could 119 # trigger a bug in pdksh 5.2.14. 120 for as_var in BASH_ENV ENV MAIL MAILPATH 121 do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125 123 done 126 124 PS1='$ ' … … 134 132 export LANGUAGE 135 133 136 # Required to use basename. 134 # CDPATH. 135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137 # Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142 # neutralization value for shells without unset; and this also 143 # works around shells that cannot unset nonexistent variables. 144 # Preserve -v and -x to the replacement shell. 145 BASH_ENV=/dev/null 146 ENV=/dev/null 147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148 case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153 esac 154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155 # Admittedly, this is quite paranoid, since all the known shells bail 156 # out after a failed `exec'. 157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158 as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162 if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170 else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176 esac 177 fi 178 " 179 as_required="as_fn_return () { (exit \$1); } 180 as_fn_success () { as_fn_return 0; } 181 as_fn_failure () { as_fn_return 1; } 182 as_fn_ret_success () { return 0; } 183 as_fn_ret_failure () { return 1; } 184 185 exitcode=0 186 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192 else 193 exitcode=1; echo positional parameters were not saved. 194 fi 195 test x\$exitcode = x0 || exit 1 196 test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 test \$(( 1 + 1 )) = 2 || exit 1" 202 if (eval "$as_required") 2>/dev/null; then : 203 as_have_required=yes 204 else 205 as_have_required=no 206 fi 207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 208 209 else 210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211 as_found=false 212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 213 do 214 IFS=$as_save_IFS 215 test -z "$as_dir" && as_dir=. 216 as_found=: 217 case $as_dir in #( 218 /*) 219 for as_base in sh bash ksh sh5; do 220 # Try only shells that exist, to save several forks. 221 as_shell=$as_dir/$as_base 222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 CONFIG_SHELL=$as_shell as_have_required=yes 225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 226 break 2 227 fi 228 fi 229 done;; 230 esac 231 as_found=false 232 done 233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 235 CONFIG_SHELL=$SHELL as_have_required=yes 236 fi; } 237 IFS=$as_save_IFS 238 239 240 if test "x$CONFIG_SHELL" != x; then : 241 export CONFIG_SHELL 242 # We cannot yet assume a decent shell, so we have to provide a 243 # neutralization value for shells without unset; and this also 244 # works around shells that cannot unset nonexistent variables. 245 # Preserve -v and -x to the replacement shell. 246 BASH_ENV=/dev/null 247 ENV=/dev/null 248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 249 case $- in # (((( 250 *v*x* | *x*v* ) as_opts=-vx ;; 251 *v* ) as_opts=-v ;; 252 *x* ) as_opts=-x ;; 253 * ) as_opts= ;; 254 esac 255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256 # Admittedly, this is quite paranoid, since all the known shells bail 257 # out after a failed `exec'. 258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 259 exit 255 260 fi 261 262 if test x$as_have_required = xno; then : 263 $as_echo "$0: This script requires a shell more modern than all" 264 $as_echo "$0: the shells that I found on your system." 265 if test x${ZSH_VERSION+set} = xset ; then 266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 268 else 269 $as_echo "$0: Please tell bug-autoconf@gnu.org and 270 $0: rappture@nanohub.org about your system, including any 271 $0: error possibly output before this message. Then install 272 $0: a modern shell, or manually run the script under such a 273 $0: shell if you do have one." 274 fi 275 exit 1 276 fi 277 fi 278 fi 279 SHELL=${CONFIG_SHELL-/bin/sh} 280 export SHELL 281 # Unset more variables known to interfere with behavior of common tools. 282 CLICOLOR_FORCE= GREP_OPTIONS= 283 unset CLICOLOR_FORCE GREP_OPTIONS 284 285 ## --------------------- ## 286 ## M4sh Shell Functions. ## 287 ## --------------------- ## 288 # as_fn_unset VAR 289 # --------------- 290 # Portably unset VAR. 291 as_fn_unset () 292 { 293 { eval $1=; unset $1;} 294 } 295 as_unset=as_fn_unset 296 297 # as_fn_set_status STATUS 298 # ----------------------- 299 # Set $? to STATUS, without forking. 300 as_fn_set_status () 301 { 302 return $1 303 } # as_fn_set_status 304 305 # as_fn_exit STATUS 306 # ----------------- 307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 308 as_fn_exit () 309 { 310 set +e 311 as_fn_set_status $1 312 exit $1 313 } # as_fn_exit 314 315 # as_fn_mkdir_p 316 # ------------- 317 # Create "$as_dir" as a directory, including parents if necessary. 318 as_fn_mkdir_p () 319 { 320 321 case $as_dir in #( 322 -*) as_dir=./$as_dir;; 323 esac 324 test -d "$as_dir" || eval $as_mkdir_p || { 325 as_dirs= 326 while :; do 327 case $as_dir in #( 328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 329 *) as_qdir=$as_dir;; 330 esac 331 as_dirs="'$as_qdir' $as_dirs" 332 as_dir=`$as_dirname -- "$as_dir" || 333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 334 X"$as_dir" : 'X\(//\)[^/]' \| \ 335 X"$as_dir" : 'X\(//\)$' \| \ 336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 337 $as_echo X"$as_dir" | 338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)[^/].*/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\/\)$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\).*/{ 351 s//\1/ 352 q 353 } 354 s/.*/./; q'` 355 test -d "$as_dir" && break 356 done 357 test -z "$as_dirs" || eval "mkdir $as_dirs" 358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 359 360 361 } # as_fn_mkdir_p 362 363 # as_fn_executable_p FILE 364 # ----------------------- 365 # Test if FILE is an executable regular file. 366 as_fn_executable_p () 367 { 368 test -f "$1" && test -x "$1" 369 } # as_fn_executable_p 370 # as_fn_append VAR VALUE 371 # ---------------------- 372 # Append the text in VALUE to the end of the definition contained in VAR. Take 373 # advantage of any shell optimizations that allow amortized linear growth over 374 # repeated appends, instead of the typical quadratic growth present in naive 375 # implementations. 376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 377 eval 'as_fn_append () 378 { 379 eval $1+=\$2 380 }' 381 else 382 as_fn_append () 383 { 384 eval $1=\$$1\$2 385 } 386 fi # as_fn_append 387 388 # as_fn_arith ARG... 389 # ------------------ 390 # Perform arithmetic evaluation on the ARGs, and store the result in the 391 # global $as_val. Take advantage of shells that can avoid forks. The arguments 392 # must be portable across $(()) and expr. 393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 394 eval 'as_fn_arith () 395 { 396 as_val=$(( $* )) 397 }' 398 else 399 as_fn_arith () 400 { 401 as_val=`expr "$@" || test $? -eq 1` 402 } 403 fi # as_fn_arith 404 405 406 # as_fn_error STATUS ERROR [LINENO LOG_FD] 407 # ---------------------------------------- 408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 410 # script with STATUS, using 1 if that was 0. 411 as_fn_error () 412 { 413 as_status=$1; test $as_status -eq 0 && as_status=1 414 if test "$4"; then 415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 417 fi 418 $as_echo "$as_me: error: $2" >&2 419 as_fn_exit $as_status 420 } # as_fn_error 421 137 422 if expr a : '\(a\)' >/dev/null 2>&1 && 138 423 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 148 433 fi 149 434 150 151 # Name of the executable. 435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 436 as_dirname=dirname 437 else 438 as_dirname=false 439 fi 440 152 441 as_me=`$as_basename -- "$0" || 153 442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 169 458 s/.*/./; q'` 170 459 171 # CDPATH. 172 $as_unset CDPATH 173 174 175 if test "x$CONFIG_SHELL" = x; then 176 if (eval ":") 2>/dev/null; then 177 as_have_required=yes 178 else 179 as_have_required=no 180 fi 181 182 if test $as_have_required = yes && (eval ": 183 (as_func_return () { 184 (exit \$1) 185 } 186 as_func_success () { 187 as_func_return 0 188 } 189 as_func_failure () { 190 as_func_return 1 191 } 192 as_func_ret_success () { 193 return 0 194 } 195 as_func_ret_failure () { 196 return 1 197 } 198 199 exitcode=0 200 if as_func_success; then 201 : 202 else 203 exitcode=1 204 echo as_func_success failed. 205 fi 206 207 if as_func_failure; then 208 exitcode=1 209 echo as_func_failure succeeded. 210 fi 211 212 if as_func_ret_success; then 213 : 214 else 215 exitcode=1 216 echo as_func_ret_success failed. 217 fi 218 219 if as_func_ret_failure; then 220 exitcode=1 221 echo as_func_ret_failure succeeded. 222 fi 223 224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 225 : 226 else 227 exitcode=1 228 echo positional parameters were not saved. 229 fi 230 231 test \$exitcode = 0) || { (exit 1); exit 1; } 232 233 ( 234 as_lineno_1=\$LINENO 235 as_lineno_2=\$LINENO 236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 238 ") 2> /dev/null; then 239 : 240 else 241 as_candidate_shells= 242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 244 do 245 IFS=$as_save_IFS 246 test -z "$as_dir" && as_dir=. 247 case $as_dir in 248 /*) 249 for as_base in sh bash ksh sh5; do 250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 251 done;; 252 esac 253 done 254 IFS=$as_save_IFS 255 256 257 for as_shell in $as_candidate_shells $SHELL; do 258 # Try only shells that exist, to save several forks. 259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 260 { ("$as_shell") 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 _ASEOF 278 }; then 279 CONFIG_SHELL=$as_shell 280 as_have_required=yes 281 if { "$as_shell" 2> /dev/null <<\_ASEOF 282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 283 emulate sh 284 NULLCMD=: 285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 286 # is contrary to our usage. Disable this feature. 287 alias -g '${1+"$@"}'='"$@"' 288 setopt NO_GLOB_SUBST 289 else 290 case `(set -o) 2>/dev/null` in 291 *posix*) set -o posix ;; 292 esac 293 294 fi 295 296 297 : 298 (as_func_return () { 299 (exit $1) 300 } 301 as_func_success () { 302 as_func_return 0 303 } 304 as_func_failure () { 305 as_func_return 1 306 } 307 as_func_ret_success () { 308 return 0 309 } 310 as_func_ret_failure () { 311 return 1 312 } 313 314 exitcode=0 315 if as_func_success; then 316 : 317 else 318 exitcode=1 319 echo as_func_success failed. 320 fi 321 322 if as_func_failure; then 323 exitcode=1 324 echo as_func_failure succeeded. 325 fi 326 327 if as_func_ret_success; then 328 : 329 else 330 exitcode=1 331 echo as_func_ret_success failed. 332 fi 333 334 if as_func_ret_failure; then 335 exitcode=1 336 echo as_func_ret_failure succeeded. 337 fi 338 339 if ( set x; as_func_ret_success y && test x = "$1" ); then 340 : 341 else 342 exitcode=1 343 echo positional parameters were not saved. 344 fi 345 346 test $exitcode = 0) || { (exit 1); exit 1; } 347 348 ( 349 as_lineno_1=$LINENO 350 as_lineno_2=$LINENO 351 test "x$as_lineno_1" != "x$as_lineno_2" && 352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 353 354 _ASEOF 355 }; then 356 break 357 fi 358 359 fi 360 361 done 362 363 if test "x$CONFIG_SHELL" != x; then 364 for as_var in BASH_ENV ENV 365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 366 done 367 export CONFIG_SHELL 368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 369 fi 370 371 372 if test $as_have_required = no; then 373 echo This script requires a shell more modern than all the 374 echo shells that I found on your system. Please install a 375 echo modern shell, or manually run the script under such a 376 echo shell if you do have one. 377 { (exit 1); exit 1; } 378 fi 379 380 381 fi 382 383 fi 384 385 386 387 (eval "as_func_return () { 388 (exit \$1) 389 } 390 as_func_success () { 391 as_func_return 0 392 } 393 as_func_failure () { 394 as_func_return 1 395 } 396 as_func_ret_success () { 397 return 0 398 } 399 as_func_ret_failure () { 400 return 1 401 } 402 403 exitcode=0 404 if as_func_success; then 405 : 406 else 407 exitcode=1 408 echo as_func_success failed. 409 fi 410 411 if as_func_failure; then 412 exitcode=1 413 echo as_func_failure succeeded. 414 fi 415 416 if as_func_ret_success; then 417 : 418 else 419 exitcode=1 420 echo as_func_ret_success failed. 421 fi 422 423 if as_func_ret_failure; then 424 exitcode=1 425 echo as_func_ret_failure succeeded. 426 fi 427 428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 429 : 430 else 431 exitcode=1 432 echo positional parameters were not saved. 433 fi 434 435 test \$exitcode = 0") || { 436 echo No shell found that supports shell functions. 437 echo Please tell bug-autoconf@gnu.org about your system, 438 echo including any error possibly output before this message. 439 echo This can help us improve future autoconf versions. 440 echo Configuration will now proceed without shell functions. 441 } 442 443 444 445 as_lineno_1=$LINENO 446 as_lineno_2=$LINENO 447 test "x$as_lineno_1" != "x$as_lineno_2" && 448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 449 450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 451 # uniformly replaced by the line number. The first 'sed' inserts a 452 # line-number line after each line using $LINENO; the second 'sed' 453 # does the real work. The second script uses 'N' to pair each 454 # line-number line with the line containing $LINENO, and appends 455 # trailing '-' during substitution so that $LINENO is not a special 456 # case at line end. 457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 458 # scripts with optimization help from Paolo Bonzini. Blame Lee 459 # E. McMahon (1931-1989) for sed's syntax. :-) 460 # Avoid depending upon Character Ranges. 461 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 464 as_cr_digits='0123456789' 465 as_cr_alnum=$as_cr_Letters$as_cr_digits 466 467 468 as_lineno_1=$LINENO as_lineno_1a=$LINENO 469 as_lineno_2=$LINENO as_lineno_2a=$LINENO 470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 460 473 sed -n ' 461 474 p … … 474 487 ' >$as_me.lineno && 475 488 chmod +x "$as_me.lineno" || 476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 477 { (exit 1); exit 1; }; } 478 489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 490 491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 492 # already done that, so ensure we don't try to do so again and fall 493 # in an infinite loop. This has already happened in practice. 494 _as_can_reexec=no; export _as_can_reexec 479 495 # Don't try to exec as it changes $[0], causing all sort of problems 480 496 # (the dirname of $[0] is not the place where we might find the … … 485 501 } 486 502 487 488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then489 as_dirname=dirname490 else491 as_dirname=false492 fi493 494 503 ECHO_C= ECHO_N= ECHO_T= 495 case `echo -n x` in 504 case `echo -n x` in #((((( 496 505 -n*) 497 case `echo 'x \c'` in506 case `echo 'xy\c'` in 498 507 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 499 *) ECHO_C='\c';; 508 xy) ECHO_C='\c';; 509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 510 ECHO_T=' ';; 500 511 esac;; 501 512 *) 502 513 ECHO_N='-n';; 503 514 esac 504 if expr a : '\(a\)' >/dev/null 2>&1 &&505 test "X`expr 00001 : '.*\(...\)'`" = X001; then506 as_expr=expr507 else508 as_expr=false509 fi510 515 511 516 rm -f conf$$ conf$$.exe conf$$.file … … 522 527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 523 528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 524 # In both cases, we have to default to `cp -p '.529 # In both cases, we have to default to `cp -pR'. 525 530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 526 as_ln_s='cp -p '531 as_ln_s='cp -pR' 527 532 elif ln conf$$.file conf$$ 2>/dev/null; then 528 533 as_ln_s=ln 529 534 else 530 as_ln_s='cp -p '535 as_ln_s='cp -pR' 531 536 fi 532 537 else 533 as_ln_s='cp -p '538 as_ln_s='cp -pR' 534 539 fi 535 540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 537 542 538 543 if mkdir -p . 2>/dev/null; then 539 as_mkdir_p= :544 as_mkdir_p='mkdir -p "$as_dir"' 540 545 else 541 546 test -d ./-p && rmdir ./-p … … 543 548 fi 544 549 545 if test -x / >/dev/null 2>&1; then 546 as_test_x='test -x' 547 else 548 if ls -dL / >/dev/null 2>&1; then 549 as_ls_L_option=L 550 else 551 as_ls_L_option= 552 fi 553 as_test_x=' 554 eval sh -c '\'' 555 if test -d "$1"; then 556 test -d "$1/."; 557 else 558 case $1 in 559 -*)set "./$1";; 560 esac; 561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 562 ???[sx]*):;;*)false;;esac;fi 563 '\'' sh 564 ' 565 fi 566 as_executable_p=$as_test_x 550 as_test_x='test -x' 551 as_executable_p=as_fn_executable_p 567 552 568 553 # Sed expression to map a string onto a valid CPP name. … … 573 558 574 559 575 576 exec 7<&0 </dev/null6>&1560 test -n "$DJDIR" || exec 7<&0 </dev/null 561 exec 6>&1 577 562 578 563 # Name of the host. 579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 580 565 # so uname gets run too. 581 566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 592 577 MFLAGS= 593 578 MAKEFLAGS= 594 SHELL=${CONFIG_SHELL-/bin/sh}595 579 596 580 # Identity of this package. … … 600 584 PACKAGE_STRING='vizservers 0.1' 601 585 PACKAGE_BUGREPORT='rappture@nanohub.org' 586 PACKAGE_URL='' 602 587 603 588 # Factoring default headers for most tests. … … 660 645 CG_LIB_SPEC 661 646 CG_INC_SPEC 647 FFMPEG 662 648 CXXCPP 663 649 ac_ct_CXX … … 735 721 prefix 736 722 exec_prefix 723 PACKAGE_URL 737 724 PACKAGE_BUGREPORT 738 725 PACKAGE_STRING … … 750 737 with_vtk_libs 751 738 with_vtk 739 with_ffmpeg 752 740 with_python 753 741 with_statsdir … … 834 822 835 823 case $ac_option in 836 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 837 *) ac_optarg=yes ;; 824 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 825 *=) ac_optarg= ;; 826 *) ac_optarg=yes ;; 838 827 esac 839 828 … … 880 869 # Reject names that are not valid shell variable names. 881 870 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 882 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 883 { (exit 1); exit 1; }; } 871 as_fn_error $? "invalid feature name: $ac_useropt" 884 872 ac_useropt_orig=$ac_useropt 885 873 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 907 895 # Reject names that are not valid shell variable names. 908 896 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 909 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 910 { (exit 1); exit 1; }; } 897 as_fn_error $? "invalid feature name: $ac_useropt" 911 898 ac_useropt_orig=$ac_useropt 912 899 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1112 1099 # Reject names that are not valid shell variable names. 1113 1100 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1114 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1115 { (exit 1); exit 1; }; } 1101 as_fn_error $? "invalid package name: $ac_useropt" 1116 1102 ac_useropt_orig=$ac_useropt 1117 1103 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1129 1115 # Reject names that are not valid shell variable names. 1130 1116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1131 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1132 { (exit 1); exit 1; }; } 1117 as_fn_error $? "invalid package name: $ac_useropt" 1133 1118 ac_useropt_orig=$ac_useropt 1134 1119 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1160 1145 x_libraries=$ac_optarg ;; 1161 1146 1162 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1163 Try \`$0 --help' for more information." >&2 1164 { (exit 1); exit 1; }; } 1147 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1148 Try \`$0 --help' for more information" 1165 1149 ;; 1166 1150 … … 1168 1152 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1169 1153 # Reject names that are not valid shell variable names. 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; }; } 1154 case $ac_envvar in #( 1155 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1156 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1157 esac 1173 1158 eval $ac_envvar=\$ac_optarg 1174 1159 export $ac_envvar ;; … … 1179 1164 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1180 1165 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1181 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1166 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1182 1167 ;; 1183 1168 … … 1187 1172 if test -n "$ac_prev"; then 1188 1173 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1189 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1190 { (exit 1); exit 1; }; } 1174 as_fn_error $? "missing argument to $ac_option" 1191 1175 fi 1192 1176 … … 1194 1178 case $enable_option_checking in 1195 1179 no) ;; 1196 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1197 { (exit 1); exit 1; }; } ;; 1180 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1198 1181 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1199 1182 esac … … 1218 1201 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1219 1202 esac 1220 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1221 { (exit 1); exit 1; }; } 1203 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1222 1204 done 1223 1205 … … 1233 1215 if test "x$build_alias" = x; then 1234 1216 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." >&21237 1217 elif test "x$build_alias" != "x$host_alias"; then 1238 1218 cross_compiling=yes … … 1249 1229 ac_ls_di=`ls -di .` && 1250 1230 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1251 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1252 { (exit 1); exit 1; }; } 1231 as_fn_error $? "working directory cannot be determined" 1253 1232 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1254 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1255 { (exit 1); exit 1; }; } 1233 as_fn_error $? "pwd does not report name of working directory" 1256 1234 1257 1235 … … 1292 1270 if test ! -r "$srcdir/$ac_unique_file"; then 1293 1271 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1294 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1295 { (exit 1); exit 1; }; } 1272 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1296 1273 fi 1297 1274 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1298 1275 ac_abs_confdir=`( 1299 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1300 { (exit 1); exit 1; }; } 1276 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1301 1277 pwd)` 1302 1278 # When building in place, set srcdir=. … … 1338 1314 --help=recursive display the short help of all the included packages 1339 1315 -V, --version display version information and exit 1340 -q, --quiet, --silent do not print \`checking ...' messages1316 -q, --quiet, --silent do not print \`checking ...' messages 1341 1317 --cache-file=FILE cache test results in FILE [disabled] 1342 1318 -C, --config-cache alias for \`--cache-file=config.cache' … … 1412 1388 --with-vtk-libs=DIR VTK libraries are in DIR 1413 1389 --with-vtk=VERSION Version of VTK required 1390 --with-ffmpeg=DIR location of ffmpeg [default=yes] 1414 1391 --with-python=DIR location of python [default=yes] 1415 1392 --with-statsdir=DIR Write statics in DIR … … 1422 1399 nonstandard directory <lib dir> 1423 1400 LIBS libraries to pass to the linker, e.g. -l<library> 1424 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1401 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1425 1402 you have headers in a nonstandard directory <include dir> 1426 1403 CPP C preprocessor … … 1497 1474 cat <<\_ACEOF 1498 1475 vizservers configure 0.1 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. 1476 generated by GNU Autoconf 2.69 1477 1478 Copyright (C) 2012 Free Software Foundation, Inc. 1503 1479 This configure script is free software; the Free Software Foundation 1504 1480 gives unlimited permission to copy, distribute and modify it. … … 1506 1482 exit 1507 1483 fi 1484 1485 ## ------------------------ ## 1486 ## Autoconf initialization. ## 1487 ## ------------------------ ## 1488 1489 # ac_fn_c_try_compile LINENO 1490 # -------------------------- 1491 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1492 ac_fn_c_try_compile () 1493 { 1494 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1495 rm -f conftest.$ac_objext 1496 if { { ac_try="$ac_compile" 1497 case "(($ac_try" in 1498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1499 *) ac_try_echo=$ac_try;; 1500 esac 1501 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1502 $as_echo "$ac_try_echo"; } >&5 1503 (eval "$ac_compile") 2>conftest.err 1504 ac_status=$? 1505 if test -s conftest.err; then 1506 grep -v '^ *+' conftest.err >conftest.er1 1507 cat conftest.er1 >&5 1508 mv -f conftest.er1 conftest.err 1509 fi 1510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1511 test $ac_status = 0; } && { 1512 test -z "$ac_c_werror_flag" || 1513 test ! -s conftest.err 1514 } && test -s conftest.$ac_objext; then : 1515 ac_retval=0 1516 else 1517 $as_echo "$as_me: failed program was:" >&5 1518 sed 's/^/| /' conftest.$ac_ext >&5 1519 1520 ac_retval=1 1521 fi 1522 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1523 as_fn_set_status $ac_retval 1524 1525 } # ac_fn_c_try_compile 1526 1527 # ac_fn_c_try_cpp LINENO 1528 # ---------------------- 1529 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1530 ac_fn_c_try_cpp () 1531 { 1532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1533 if { { ac_try="$ac_cpp conftest.$ac_ext" 1534 case "(($ac_try" in 1535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1536 *) ac_try_echo=$ac_try;; 1537 esac 1538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1539 $as_echo "$ac_try_echo"; } >&5 1540 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1541 ac_status=$? 1542 if test -s conftest.err; then 1543 grep -v '^ *+' conftest.err >conftest.er1 1544 cat conftest.er1 >&5 1545 mv -f conftest.er1 conftest.err 1546 fi 1547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1548 test $ac_status = 0; } > conftest.i && { 1549 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1550 test ! -s conftest.err 1551 }; then : 1552 ac_retval=0 1553 else 1554 $as_echo "$as_me: failed program was:" >&5 1555 sed 's/^/| /' conftest.$ac_ext >&5 1556 1557 ac_retval=1 1558 fi 1559 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1560 as_fn_set_status $ac_retval 1561 1562 } # ac_fn_c_try_cpp 1563 1564 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1565 # ------------------------------------------------------- 1566 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1567 # the include files in INCLUDES and setting the cache variable VAR 1568 # accordingly. 1569 ac_fn_c_check_header_mongrel () 1570 { 1571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1572 if eval \${$3+:} false; then : 1573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1574 $as_echo_n "checking for $2... " >&6; } 1575 if eval \${$3+:} false; then : 1576 $as_echo_n "(cached) " >&6 1577 fi 1578 eval ac_res=\$$3 1579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1580 $as_echo "$ac_res" >&6; } 1581 else 1582 # Is the header compilable? 1583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1584 $as_echo_n "checking $2 usability... " >&6; } 1585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1586 /* end confdefs.h. */ 1587 $4 1588 #include <$2> 1589 _ACEOF 1590 if ac_fn_c_try_compile "$LINENO"; then : 1591 ac_header_compiler=yes 1592 else 1593 ac_header_compiler=no 1594 fi 1595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1597 $as_echo "$ac_header_compiler" >&6; } 1598 1599 # Is the header present? 1600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1601 $as_echo_n "checking $2 presence... " >&6; } 1602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1603 /* end confdefs.h. */ 1604 #include <$2> 1605 _ACEOF 1606 if ac_fn_c_try_cpp "$LINENO"; then : 1607 ac_header_preproc=yes 1608 else 1609 ac_header_preproc=no 1610 fi 1611 rm -f conftest.err conftest.i conftest.$ac_ext 1612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1613 $as_echo "$ac_header_preproc" >&6; } 1614 1615 # So? What about this header? 1616 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1617 yes:no: ) 1618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1619 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1621 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1622 ;; 1623 no:yes:* ) 1624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1625 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1627 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1629 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1631 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1633 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1634 ( $as_echo "## ----------------------------------- ## 1635 ## Report this to rappture@nanohub.org ## 1636 ## ----------------------------------- ##" 1637 ) | sed "s/^/$as_me: WARNING: /" >&2 1638 ;; 1639 esac 1640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1641 $as_echo_n "checking for $2... " >&6; } 1642 if eval \${$3+:} false; then : 1643 $as_echo_n "(cached) " >&6 1644 else 1645 eval "$3=\$ac_header_compiler" 1646 fi 1647 eval ac_res=\$$3 1648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1649 $as_echo "$ac_res" >&6; } 1650 fi 1651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1652 1653 } # ac_fn_c_check_header_mongrel 1654 1655 # ac_fn_c_try_run LINENO 1656 # ---------------------- 1657 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1658 # that executables *can* be run. 1659 ac_fn_c_try_run () 1660 { 1661 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1662 if { { ac_try="$ac_link" 1663 case "(($ac_try" in 1664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1665 *) ac_try_echo=$ac_try;; 1666 esac 1667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1668 $as_echo "$ac_try_echo"; } >&5 1669 (eval "$ac_link") 2>&5 1670 ac_status=$? 1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1672 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1673 { { case "(($ac_try" in 1674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1675 *) ac_try_echo=$ac_try;; 1676 esac 1677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1678 $as_echo "$ac_try_echo"; } >&5 1679 (eval "$ac_try") 2>&5 1680 ac_status=$? 1681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1682 test $ac_status = 0; }; }; then : 1683 ac_retval=0 1684 else 1685 $as_echo "$as_me: program exited with status $ac_status" >&5 1686 $as_echo "$as_me: failed program was:" >&5 1687 sed 's/^/| /' conftest.$ac_ext >&5 1688 1689 ac_retval=$ac_status 1690 fi 1691 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1692 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1693 as_fn_set_status $ac_retval 1694 1695 } # ac_fn_c_try_run 1696 1697 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1698 # ------------------------------------------------------- 1699 # Tests whether HEADER exists and can be compiled using the include files in 1700 # INCLUDES, setting the cache variable VAR accordingly. 1701 ac_fn_c_check_header_compile () 1702 { 1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1705 $as_echo_n "checking for $2... " >&6; } 1706 if eval \${$3+:} false; then : 1707 $as_echo_n "(cached) " >&6 1708 else 1709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1710 /* end confdefs.h. */ 1711 $4 1712 #include <$2> 1713 _ACEOF 1714 if ac_fn_c_try_compile "$LINENO"; then : 1715 eval "$3=yes" 1716 else 1717 eval "$3=no" 1718 fi 1719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1720 fi 1721 eval ac_res=\$$3 1722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1723 $as_echo "$ac_res" >&6; } 1724 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1725 1726 } # ac_fn_c_check_header_compile 1727 1728 # ac_fn_c_try_link LINENO 1729 # ----------------------- 1730 # Try to link conftest.$ac_ext, and return whether this succeeded. 1731 ac_fn_c_try_link () 1732 { 1733 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1734 rm -f conftest.$ac_objext conftest$ac_exeext 1735 if { { ac_try="$ac_link" 1736 case "(($ac_try" in 1737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1738 *) ac_try_echo=$ac_try;; 1739 esac 1740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1741 $as_echo "$ac_try_echo"; } >&5 1742 (eval "$ac_link") 2>conftest.err 1743 ac_status=$? 1744 if test -s conftest.err; then 1745 grep -v '^ *+' conftest.err >conftest.er1 1746 cat conftest.er1 >&5 1747 mv -f conftest.er1 conftest.err 1748 fi 1749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1750 test $ac_status = 0; } && { 1751 test -z "$ac_c_werror_flag" || 1752 test ! -s conftest.err 1753 } && test -s conftest$ac_exeext && { 1754 test "$cross_compiling" = yes || 1755 test -x conftest$ac_exeext 1756 }; then : 1757 ac_retval=0 1758 else 1759 $as_echo "$as_me: failed program was:" >&5 1760 sed 's/^/| /' conftest.$ac_ext >&5 1761 1762 ac_retval=1 1763 fi 1764 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1765 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1766 # interfere with the next link command; also delete a directory that is 1767 # left behind by Apple's compiler. We do this before executing the actions. 1768 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1769 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1770 as_fn_set_status $ac_retval 1771 1772 } # ac_fn_c_try_link 1773 1774 # ac_fn_cxx_try_compile LINENO 1775 # ---------------------------- 1776 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1777 ac_fn_cxx_try_compile () 1778 { 1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1780 rm -f conftest.$ac_objext 1781 if { { ac_try="$ac_compile" 1782 case "(($ac_try" in 1783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1784 *) ac_try_echo=$ac_try;; 1785 esac 1786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1787 $as_echo "$ac_try_echo"; } >&5 1788 (eval "$ac_compile") 2>conftest.err 1789 ac_status=$? 1790 if test -s conftest.err; then 1791 grep -v '^ *+' conftest.err >conftest.er1 1792 cat conftest.er1 >&5 1793 mv -f conftest.er1 conftest.err 1794 fi 1795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1796 test $ac_status = 0; } && { 1797 test -z "$ac_cxx_werror_flag" || 1798 test ! -s conftest.err 1799 } && test -s conftest.$ac_objext; then : 1800 ac_retval=0 1801 else 1802 $as_echo "$as_me: failed program was:" >&5 1803 sed 's/^/| /' conftest.$ac_ext >&5 1804 1805 ac_retval=1 1806 fi 1807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1808 as_fn_set_status $ac_retval 1809 1810 } # ac_fn_cxx_try_compile 1811 1812 # ac_fn_cxx_try_cpp LINENO 1813 # ------------------------ 1814 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1815 ac_fn_cxx_try_cpp () 1816 { 1817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1818 if { { ac_try="$ac_cpp conftest.$ac_ext" 1819 case "(($ac_try" in 1820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1821 *) ac_try_echo=$ac_try;; 1822 esac 1823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1824 $as_echo "$ac_try_echo"; } >&5 1825 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1826 ac_status=$? 1827 if test -s conftest.err; then 1828 grep -v '^ *+' conftest.err >conftest.er1 1829 cat conftest.er1 >&5 1830 mv -f conftest.er1 conftest.err 1831 fi 1832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1833 test $ac_status = 0; } > conftest.i && { 1834 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1835 test ! -s conftest.err 1836 }; then : 1837 ac_retval=0 1838 else 1839 $as_echo "$as_me: failed program was:" >&5 1840 sed 's/^/| /' conftest.$ac_ext >&5 1841 1842 ac_retval=1 1843 fi 1844 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1845 as_fn_set_status $ac_retval 1846 1847 } # ac_fn_cxx_try_cpp 1848 1849 # ac_fn_cxx_try_run LINENO 1850 # ------------------------ 1851 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1852 # that executables *can* be run. 1853 ac_fn_cxx_try_run () 1854 { 1855 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1856 if { { ac_try="$ac_link" 1857 case "(($ac_try" in 1858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1859 *) ac_try_echo=$ac_try;; 1860 esac 1861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1862 $as_echo "$ac_try_echo"; } >&5 1863 (eval "$ac_link") 2>&5 1864 ac_status=$? 1865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1866 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1867 { { case "(($ac_try" in 1868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1869 *) ac_try_echo=$ac_try;; 1870 esac 1871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1872 $as_echo "$ac_try_echo"; } >&5 1873 (eval "$ac_try") 2>&5 1874 ac_status=$? 1875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1876 test $ac_status = 0; }; }; then : 1877 ac_retval=0 1878 else 1879 $as_echo "$as_me: program exited with status $ac_status" >&5 1880 $as_echo "$as_me: failed program was:" >&5 1881 sed 's/^/| /' conftest.$ac_ext >&5 1882 1883 ac_retval=$ac_status 1884 fi 1885 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1886 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1887 as_fn_set_status $ac_retval 1888 1889 } # ac_fn_cxx_try_run 1890 1891 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES 1892 # ---------------------------------------------- 1893 # Tries to find the compile-time value of EXPR in a program that includes 1894 # INCLUDES, setting VAR accordingly. Returns whether the value could be 1895 # computed 1896 ac_fn_cxx_compute_int () 1897 { 1898 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1899 if test "$cross_compiling" = yes; then 1900 # Depending upon the size, compute the lo and hi bounds. 1901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1902 /* end confdefs.h. */ 1903 $4 1904 int 1905 main () 1906 { 1907 static int test_array [1 - 2 * !(($2) >= 0)]; 1908 test_array [0] = 0; 1909 return test_array [0]; 1910 1911 ; 1912 return 0; 1913 } 1914 _ACEOF 1915 if ac_fn_cxx_try_compile "$LINENO"; then : 1916 ac_lo=0 ac_mid=0 1917 while :; do 1918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1919 /* end confdefs.h. */ 1920 $4 1921 int 1922 main () 1923 { 1924 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1925 test_array [0] = 0; 1926 return test_array [0]; 1927 1928 ; 1929 return 0; 1930 } 1931 _ACEOF 1932 if ac_fn_cxx_try_compile "$LINENO"; then : 1933 ac_hi=$ac_mid; break 1934 else 1935 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 1936 if test $ac_lo -le $ac_mid; then 1937 ac_lo= ac_hi= 1938 break 1939 fi 1940 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 1941 fi 1942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1943 done 1944 else 1945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1946 /* end confdefs.h. */ 1947 $4 1948 int 1949 main () 1950 { 1951 static int test_array [1 - 2 * !(($2) < 0)]; 1952 test_array [0] = 0; 1953 return test_array [0]; 1954 1955 ; 1956 return 0; 1957 } 1958 _ACEOF 1959 if ac_fn_cxx_try_compile "$LINENO"; then : 1960 ac_hi=-1 ac_mid=-1 1961 while :; do 1962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1963 /* end confdefs.h. */ 1964 $4 1965 int 1966 main () 1967 { 1968 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 1969 test_array [0] = 0; 1970 return test_array [0]; 1971 1972 ; 1973 return 0; 1974 } 1975 _ACEOF 1976 if ac_fn_cxx_try_compile "$LINENO"; then : 1977 ac_lo=$ac_mid; break 1978 else 1979 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 1980 if test $ac_mid -le $ac_hi; then 1981 ac_lo= ac_hi= 1982 break 1983 fi 1984 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 1985 fi 1986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1987 done 1988 else 1989 ac_lo= ac_hi= 1990 fi 1991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1992 fi 1993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1994 # Binary search between lo and hi bounds. 1995 while test "x$ac_lo" != "x$ac_hi"; do 1996 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1998 /* end confdefs.h. */ 1999 $4 2000 int 2001 main () 2002 { 2003 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2004 test_array [0] = 0; 2005 return test_array [0]; 2006 2007 ; 2008 return 0; 2009 } 2010 _ACEOF 2011 if ac_fn_cxx_try_compile "$LINENO"; then : 2012 ac_hi=$ac_mid 2013 else 2014 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2015 fi 2016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2017 done 2018 case $ac_lo in #(( 2019 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2020 '') ac_retval=1 ;; 2021 esac 2022 else 2023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2024 /* end confdefs.h. */ 2025 $4 2026 static long int longval () { return $2; } 2027 static unsigned long int ulongval () { return $2; } 2028 #include <stdio.h> 2029 #include <stdlib.h> 2030 int 2031 main () 2032 { 2033 2034 FILE *f = fopen ("conftest.val", "w"); 2035 if (! f) 2036 return 1; 2037 if (($2) < 0) 2038 { 2039 long int i = longval (); 2040 if (i != ($2)) 2041 return 1; 2042 fprintf (f, "%ld", i); 2043 } 2044 else 2045 { 2046 unsigned long int i = ulongval (); 2047 if (i != ($2)) 2048 return 1; 2049 fprintf (f, "%lu", i); 2050 } 2051 /* Do not output a trailing newline, as this causes \r\n confusion 2052 on some platforms. */ 2053 return ferror (f) || fclose (f) != 0; 2054 2055 ; 2056 return 0; 2057 } 2058 _ACEOF 2059 if ac_fn_cxx_try_run "$LINENO"; then : 2060 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2061 else 2062 ac_retval=1 2063 fi 2064 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2065 conftest.$ac_objext conftest.beam conftest.$ac_ext 2066 rm -f conftest.val 2067 2068 fi 2069 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2070 as_fn_set_status $ac_retval 2071 2072 } # ac_fn_cxx_compute_int 2073 2074 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 2075 # --------------------------------------------------------- 2076 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 2077 # the include files in INCLUDES and setting the cache variable VAR 2078 # accordingly. 2079 ac_fn_cxx_check_header_mongrel () 2080 { 2081 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2082 if eval \${$3+:} false; then : 2083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2084 $as_echo_n "checking for $2... " >&6; } 2085 if eval \${$3+:} false; then : 2086 $as_echo_n "(cached) " >&6 2087 fi 2088 eval ac_res=\$$3 2089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2090 $as_echo "$ac_res" >&6; } 2091 else 2092 # Is the header compilable? 2093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2094 $as_echo_n "checking $2 usability... " >&6; } 2095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2096 /* end confdefs.h. */ 2097 $4 2098 #include <$2> 2099 _ACEOF 2100 if ac_fn_cxx_try_compile "$LINENO"; then : 2101 ac_header_compiler=yes 2102 else 2103 ac_header_compiler=no 2104 fi 2105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2107 $as_echo "$ac_header_compiler" >&6; } 2108 2109 # Is the header present? 2110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2111 $as_echo_n "checking $2 presence... " >&6; } 2112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2113 /* end confdefs.h. */ 2114 #include <$2> 2115 _ACEOF 2116 if ac_fn_cxx_try_cpp "$LINENO"; then : 2117 ac_header_preproc=yes 2118 else 2119 ac_header_preproc=no 2120 fi 2121 rm -f conftest.err conftest.i conftest.$ac_ext 2122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2123 $as_echo "$ac_header_preproc" >&6; } 2124 2125 # So? What about this header? 2126 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 2127 yes:no: ) 2128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2129 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2131 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2132 ;; 2133 no:yes:* ) 2134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2135 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2137 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2139 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2141 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2143 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2144 ( $as_echo "## ----------------------------------- ## 2145 ## Report this to rappture@nanohub.org ## 2146 ## ----------------------------------- ##" 2147 ) | sed "s/^/$as_me: WARNING: /" >&2 2148 ;; 2149 esac 2150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2151 $as_echo_n "checking for $2... " >&6; } 2152 if eval \${$3+:} false; then : 2153 $as_echo_n "(cached) " >&6 2154 else 2155 eval "$3=\$ac_header_compiler" 2156 fi 2157 eval ac_res=\$$3 2158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2159 $as_echo "$ac_res" >&6; } 2160 fi 2161 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2162 2163 } # ac_fn_cxx_check_header_mongrel 2164 2165 # ac_fn_cxx_try_link LINENO 2166 # ------------------------- 2167 # Try to link conftest.$ac_ext, and return whether this succeeded. 2168 ac_fn_cxx_try_link () 2169 { 2170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2171 rm -f conftest.$ac_objext conftest$ac_exeext 2172 if { { ac_try="$ac_link" 2173 case "(($ac_try" in 2174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2175 *) ac_try_echo=$ac_try;; 2176 esac 2177 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2178 $as_echo "$ac_try_echo"; } >&5 2179 (eval "$ac_link") 2>conftest.err 2180 ac_status=$? 2181 if test -s conftest.err; then 2182 grep -v '^ *+' conftest.err >conftest.er1 2183 cat conftest.er1 >&5 2184 mv -f conftest.er1 conftest.err 2185 fi 2186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2187 test $ac_status = 0; } && { 2188 test -z "$ac_cxx_werror_flag" || 2189 test ! -s conftest.err 2190 } && test -s conftest$ac_exeext && { 2191 test "$cross_compiling" = yes || 2192 test -x conftest$ac_exeext 2193 }; then : 2194 ac_retval=0 2195 else 2196 $as_echo "$as_me: failed program was:" >&5 2197 sed 's/^/| /' conftest.$ac_ext >&5 2198 2199 ac_retval=1 2200 fi 2201 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2202 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2203 # interfere with the next link command; also delete a directory that is 2204 # left behind by Apple's compiler. We do this before executing the actions. 2205 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2206 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2207 as_fn_set_status $ac_retval 2208 2209 } # ac_fn_cxx_try_link 2210 2211 # ac_fn_cxx_check_func LINENO FUNC VAR 2212 # ------------------------------------ 2213 # Tests whether FUNC exists, setting the cache variable VAR accordingly 2214 ac_fn_cxx_check_func () 2215 { 2216 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2218 $as_echo_n "checking for $2... " >&6; } 2219 if eval \${$3+:} false; then : 2220 $as_echo_n "(cached) " >&6 2221 else 2222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2223 /* end confdefs.h. */ 2224 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2225 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2226 #define $2 innocuous_$2 2227 2228 /* System header to define __stub macros and hopefully few prototypes, 2229 which can conflict with char $2 (); below. 2230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2231 <limits.h> exists even on freestanding compilers. */ 2232 2233 #ifdef __STDC__ 2234 # include <limits.h> 2235 #else 2236 # include <assert.h> 2237 #endif 2238 2239 #undef $2 2240 2241 /* Override any GCC internal prototype to avoid an error. 2242 Use char because int might match the return type of a GCC 2243 builtin and then its argument prototype would still apply. */ 2244 #ifdef __cplusplus 2245 extern "C" 2246 #endif 2247 char $2 (); 2248 /* The GNU C library defines this for functions which it implements 2249 to always fail with ENOSYS. Some functions are actually named 2250 something starting with __ and the normal name is an alias. */ 2251 #if defined __stub_$2 || defined __stub___$2 2252 choke me 2253 #endif 2254 2255 int 2256 main () 2257 { 2258 return $2 (); 2259 ; 2260 return 0; 2261 } 2262 _ACEOF 2263 if ac_fn_cxx_try_link "$LINENO"; then : 2264 eval "$3=yes" 2265 else 2266 eval "$3=no" 2267 fi 2268 rm -f core conftest.err conftest.$ac_objext \ 2269 conftest$ac_exeext conftest.$ac_ext 2270 fi 2271 eval ac_res=\$$3 2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2273 $as_echo "$ac_res" >&6; } 2274 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2275 2276 } # ac_fn_cxx_check_func 1508 2277 cat >config.log <<_ACEOF 1509 2278 This file contains any messages produced by compilers while … … 1511 2280 1512 2281 It was created by vizservers $as_me 0.1, which was 1513 generated by GNU Autoconf 2.6 3. Invocation command line was2282 generated by GNU Autoconf 2.69. Invocation command line was 1514 2283 1515 2284 $ $0 $@ … … 1547 2316 IFS=$as_save_IFS 1548 2317 test -z "$as_dir" && as_dir=. 1549 $as_echo "PATH: $as_dir"1550 done2318 $as_echo "PATH: $as_dir" 2319 done 1551 2320 IFS=$as_save_IFS 1552 2321 … … 1585 2354 esac 1586 2355 case $ac_pass in 1587 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2356 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1588 2357 2) 1589 a c_configure_args1="$ac_configure_args1'$ac_arg'"2358 as_fn_append ac_configure_args1 " '$ac_arg'" 1590 2359 if test $ac_must_keep_next = true; then 1591 2360 ac_must_keep_next=false # Got value, back to normal. … … 1603 2372 esac 1604 2373 fi 1605 a c_configure_args="$ac_configure_args'$ac_arg'"2374 as_fn_append ac_configure_args " '$ac_arg'" 1606 2375 ;; 1607 2376 esac 1608 2377 done 1609 2378 done 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;}2379 { ac_configure_args0=; unset ac_configure_args0;} 2380 { ac_configure_args1=; unset ac_configure_args1;} 1612 2381 1613 2382 # When interrupted or exit'd, cleanup temporary files, and complete … … 1621 2390 echo 1622 2391 1623 cat <<\_ASBOX 1624 ## ---------------- ## 2392 $as_echo "## ---------------- ## 1625 2393 ## Cache variables. ## 1626 ## ---------------- ## 1627 _ASBOX 2394 ## ---------------- ##" 1628 2395 echo 1629 2396 # The following way of writing the cache mishandles newlines in values, … … 1634 2401 *${as_nl}*) 1635 2402 case $ac_var in #( 1636 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: cache variable $ac_var contains a newline" >&52403 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1637 2404 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1638 2405 esac … … 1640 2407 _ | IFS | as_nl) ;; #( 1641 2408 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1642 *) $as_unset $ac_var;;2409 *) { eval $ac_var=; unset $ac_var;} ;; 1643 2410 esac ;; 1644 2411 esac … … 1659 2426 echo 1660 2427 1661 cat <<\_ASBOX 1662 ## ----------------- ## 2428 $as_echo "## ----------------- ## 1663 2429 ## Output variables. ## 1664 ## ----------------- ## 1665 _ASBOX 2430 ## ----------------- ##" 1666 2431 echo 1667 2432 for ac_var in $ac_subst_vars … … 1676 2441 1677 2442 if test -n "$ac_subst_files"; then 1678 cat <<\_ASBOX 1679 ## ------------------- ## 2443 $as_echo "## ------------------- ## 1680 2444 ## File substitutions. ## 1681 ## ------------------- ## 1682 _ASBOX 2445 ## ------------------- ##" 1683 2446 echo 1684 2447 for ac_var in $ac_subst_files … … 1694 2457 1695 2458 if test -s confdefs.h; then 1696 cat <<\_ASBOX 1697 ## ----------- ## 2459 $as_echo "## ----------- ## 1698 2460 ## confdefs.h. ## 1699 ## ----------- ## 1700 _ASBOX 2461 ## ----------- ##" 1701 2462 echo 1702 2463 cat confdefs.h … … 1712 2473 ' 0 1713 2474 for ac_signal in 1 2 13 15; do 1714 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2475 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1715 2476 done 1716 2477 ac_signal=0 … … 1719 2480 rm -f -r conftest* confdefs.h 1720 2481 2482 $as_echo "/* confdefs.h */" > confdefs.h 2483 1721 2484 # Predefined preprocessor variables. 1722 2485 … … 1725 2488 _ACEOF 1726 2489 1727 1728 2490 cat >>confdefs.h <<_ACEOF 1729 2491 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1730 2492 _ACEOF 1731 2493 1732 1733 2494 cat >>confdefs.h <<_ACEOF 1734 2495 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1735 2496 _ACEOF 1736 2497 1737 1738 2498 cat >>confdefs.h <<_ACEOF 1739 2499 #define PACKAGE_STRING "$PACKAGE_STRING" 1740 2500 _ACEOF 1741 2501 1742 1743 2502 cat >>confdefs.h <<_ACEOF 1744 2503 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2504 _ACEOF 2505 2506 cat >>confdefs.h <<_ACEOF 2507 #define PACKAGE_URL "$PACKAGE_URL" 1745 2508 _ACEOF 1746 2509 … … 1751 2514 ac_site_file2=NONE 1752 2515 if test -n "$CONFIG_SITE"; then 1753 ac_site_file1=$CONFIG_SITE 2516 # We do not want a PATH search for config.site. 2517 case $CONFIG_SITE in #(( 2518 -*) ac_site_file1=./$CONFIG_SITE;; 2519 */*) ac_site_file1=$CONFIG_SITE;; 2520 *) ac_site_file1=./$CONFIG_SITE;; 2521 esac 1754 2522 elif test "x$prefix" != xNONE; then 1755 2523 ac_site_file1=$prefix/share/config.site … … 1762 2530 do 1763 2531 test "x$ac_site_file" = xNONE && continue 1764 if test -r "$ac_site_file"; then1765 { $as_echo "$as_me:$ LINENO: loading site script $ac_site_file" >&52532 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2533 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1766 2534 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1767 2535 sed 's/^/| /' "$ac_site_file" >&5 1768 . "$ac_site_file" 2536 . "$ac_site_file" \ 2537 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2539 as_fn_error $? "failed to load site script $ac_site_file 2540 See \`config.log' for more details" "$LINENO" 5; } 1769 2541 fi 1770 2542 done 1771 2543 1772 2544 if test -r "$cache_file"; then 1773 # 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"; then1776 { $as_echo "$as_me:$ LINENO: loading cache $cache_file" >&52545 # Some versions of bash will fail to source /dev/null (special files 2546 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2547 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2548 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1777 2549 $as_echo "$as_me: loading cache $cache_file" >&6;} 1778 2550 case $cache_file in … … 1782 2554 fi 1783 2555 else 1784 { $as_echo "$as_me:$ LINENO: creating cache $cache_file" >&52556 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1785 2557 $as_echo "$as_me: creating cache $cache_file" >&6;} 1786 2558 >$cache_file … … 1797 2569 case $ac_old_set,$ac_new_set in 1798 2570 set,) 1799 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52571 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1800 2572 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1801 2573 ac_cache_corrupted=: ;; 1802 2574 ,set) 1803 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was not set in the previous run" >&52575 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1804 2576 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1805 2577 ac_cache_corrupted=: ;; … … 1811 2583 ac_new_val_w=`echo x $ac_new_val` 1812 2584 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1813 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' has changed since the previous run:" >&52585 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1814 2586 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1815 2587 ac_cache_corrupted=: 1816 2588 else 1817 { $as_echo "$as_me:$ LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&52589 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1818 2590 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1819 2591 eval $ac_var=\$ac_old_val 1820 2592 fi 1821 { $as_echo "$as_me:$ LINENO: former value: \`$ac_old_val'" >&52593 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1822 2594 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1823 { $as_echo "$as_me:$ LINENO: current value: \`$ac_new_val'" >&52595 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1824 2596 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1825 2597 fi;; … … 1833 2605 case " $ac_configure_args " in 1834 2606 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1835 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2607 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1836 2608 esac 1837 2609 fi 1838 2610 done 1839 2611 if $ac_cache_corrupted; then 1840 { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52612 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1841 2613 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1842 { $as_echo "$as_me:$ LINENO: error: changes in the environment can compromise the build" >&52614 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1843 2615 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 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 2616 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2617 fi 2618 ## -------------------- ## 2619 ## Main body of script. ## 2620 ## -------------------- ## 1872 2621 1873 2622 ac_ext=c … … 1895 2644 done 1896 2645 if test -z "$ac_aux_dir"; then 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; }; } 2646 as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 1900 2647 fi 1901 2648 … … 1914 2661 1915 2662 # Check whether --with-tcllib was given. 1916 if test "${with_tcllib+set}" = set; then 2663 if test "${with_tcllib+set}" = set; then : 1917 2664 withval=$with_tcllib; with_tcllib=$withval 1918 2665 else … … 1923 2670 1924 2671 # Check whether --with-rappture was given. 1925 if test "${with_rappture+set}" = set; then 2672 if test "${with_rappture+set}" = set; then : 1926 2673 withval=$with_rappture; with_rappture=$withval 1927 2674 else … … 1932 2679 1933 2680 # Check whether --with-vtk-includes was given. 1934 if test "${with_vtk_includes+set}" = set; then 2681 if test "${with_vtk_includes+set}" = set; then : 1935 2682 withval=$with_vtk_includes; with_vtk_includes=$withval 1936 2683 else … … 1941 2688 1942 2689 # Check whether --with-vtk-libs was given. 1943 if test "${with_vtk_libs+set}" = set; then 2690 if test "${with_vtk_libs+set}" = set; then : 1944 2691 withval=$with_vtk_libs; with_vtk_libs=$withval 1945 2692 else … … 1950 2697 1951 2698 # Check whether --with-vtk was given. 1952 if test "${with_vtk+set}" = set; then 2699 if test "${with_vtk+set}" = set; then : 1953 2700 withval=$with_vtk; with_vtk=$withval 1954 2701 else 1955 2702 with_vtk=yes 2703 fi 2704 2705 2706 2707 # Check whether --with-ffmpeg was given. 2708 if test "${with_ffmpeg+set}" = set; then : 2709 withval=$with_ffmpeg; 2710 else 2711 with_ffmpeg=yes 1956 2712 fi 1957 2713 … … 1965 2721 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1966 2722 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1967 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1968 2724 $as_echo_n "checking for $ac_word... " >&6; } 1969 if test "${ac_cv_prog_CC+set}" = set; then2725 if ${ac_cv_prog_CC+:} false; then : 1970 2726 $as_echo_n "(cached) " >&6 1971 2727 else … … 1978 2734 IFS=$as_save_IFS 1979 2735 test -z "$as_dir" && as_dir=. 1980 for ac_exec_ext in '' $ac_executable_extensions; do1981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2736 for ac_exec_ext in '' $ac_executable_extensions; do 2737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1982 2738 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1983 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1984 2740 break 2 1985 2741 fi 1986 2742 done 1987 done2743 done 1988 2744 IFS=$as_save_IFS 1989 2745 … … 1992 2748 CC=$ac_cv_prog_CC 1993 2749 if test -n "$CC"; then 1994 { $as_echo "$as_me:$ LINENO: result: $CC" >&52750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 1995 2751 $as_echo "$CC" >&6; } 1996 2752 else 1997 { $as_echo "$as_me:$ LINENO: result: no" >&52753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1998 2754 $as_echo "no" >&6; } 1999 2755 fi … … 2005 2761 # Extract the first word of "gcc", so it can be a program name with args. 2006 2762 set dummy gcc; ac_word=$2 2007 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2008 2764 $as_echo_n "checking for $ac_word... " >&6; } 2009 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2765 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2010 2766 $as_echo_n "(cached) " >&6 2011 2767 else … … 2018 2774 IFS=$as_save_IFS 2019 2775 test -z "$as_dir" && as_dir=. 2020 for ac_exec_ext in '' $ac_executable_extensions; do2021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2776 for ac_exec_ext in '' $ac_executable_extensions; do 2777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2022 2778 ac_cv_prog_ac_ct_CC="gcc" 2023 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2024 2780 break 2 2025 2781 fi 2026 2782 done 2027 done2783 done 2028 2784 IFS=$as_save_IFS 2029 2785 … … 2032 2788 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2033 2789 if test -n "$ac_ct_CC"; then 2034 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&52790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2035 2791 $as_echo "$ac_ct_CC" >&6; } 2036 2792 else 2037 { $as_echo "$as_me:$ LINENO: result: no" >&52793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2038 2794 $as_echo "no" >&6; } 2039 2795 fi … … 2044 2800 case $cross_compiling:$ac_tool_warned in 2045 2801 yes:) 2046 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&52802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2047 2803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2048 2804 ac_tool_warned=yes ;; … … 2058 2814 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2059 2815 set dummy ${ac_tool_prefix}cc; ac_word=$2 2060 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2061 2817 $as_echo_n "checking for $ac_word... " >&6; } 2062 if test "${ac_cv_prog_CC+set}" = set; then2818 if ${ac_cv_prog_CC+:} false; then : 2063 2819 $as_echo_n "(cached) " >&6 2064 2820 else … … 2071 2827 IFS=$as_save_IFS 2072 2828 test -z "$as_dir" && as_dir=. 2073 for ac_exec_ext in '' $ac_executable_extensions; do2074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2829 for ac_exec_ext in '' $ac_executable_extensions; do 2830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2075 2831 ac_cv_prog_CC="${ac_tool_prefix}cc" 2076 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2077 2833 break 2 2078 2834 fi 2079 2835 done 2080 done2836 done 2081 2837 IFS=$as_save_IFS 2082 2838 … … 2085 2841 CC=$ac_cv_prog_CC 2086 2842 if test -n "$CC"; then 2087 { $as_echo "$as_me:$ LINENO: result: $CC" >&52843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2088 2844 $as_echo "$CC" >&6; } 2089 2845 else 2090 { $as_echo "$as_me:$ LINENO: result: no" >&52846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2091 2847 $as_echo "no" >&6; } 2092 2848 fi … … 2098 2854 # Extract the first word of "cc", so it can be a program name with args. 2099 2855 set dummy cc; ac_word=$2 2100 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2101 2857 $as_echo_n "checking for $ac_word... " >&6; } 2102 if test "${ac_cv_prog_CC+set}" = set; then2858 if ${ac_cv_prog_CC+:} false; then : 2103 2859 $as_echo_n "(cached) " >&6 2104 2860 else … … 2112 2868 IFS=$as_save_IFS 2113 2869 test -z "$as_dir" && as_dir=. 2114 for ac_exec_ext in '' $ac_executable_extensions; do2115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2870 for ac_exec_ext in '' $ac_executable_extensions; do 2871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2116 2872 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2117 2873 ac_prog_rejected=yes … … 2119 2875 fi 2120 2876 ac_cv_prog_CC="cc" 2121 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2122 2878 break 2 2123 2879 fi 2124 2880 done 2125 done2881 done 2126 2882 IFS=$as_save_IFS 2127 2883 … … 2142 2898 CC=$ac_cv_prog_CC 2143 2899 if test -n "$CC"; then 2144 { $as_echo "$as_me:$ LINENO: result: $CC" >&52900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2145 2901 $as_echo "$CC" >&6; } 2146 2902 else 2147 { $as_echo "$as_me:$ LINENO: result: no" >&52903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2148 2904 $as_echo "no" >&6; } 2149 2905 fi … … 2157 2913 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2158 2914 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2159 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2160 2916 $as_echo_n "checking for $ac_word... " >&6; } 2161 if test "${ac_cv_prog_CC+set}" = set; then2917 if ${ac_cv_prog_CC+:} false; then : 2162 2918 $as_echo_n "(cached) " >&6 2163 2919 else … … 2170 2926 IFS=$as_save_IFS 2171 2927 test -z "$as_dir" && as_dir=. 2172 for ac_exec_ext in '' $ac_executable_extensions; do2173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2928 for ac_exec_ext in '' $ac_executable_extensions; do 2929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2174 2930 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2175 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2176 2932 break 2 2177 2933 fi 2178 2934 done 2179 done2935 done 2180 2936 IFS=$as_save_IFS 2181 2937 … … 2184 2940 CC=$ac_cv_prog_CC 2185 2941 if test -n "$CC"; then 2186 { $as_echo "$as_me:$ LINENO: result: $CC" >&52942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2187 2943 $as_echo "$CC" >&6; } 2188 2944 else 2189 { $as_echo "$as_me:$ LINENO: result: no" >&52945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2190 2946 $as_echo "no" >&6; } 2191 2947 fi … … 2201 2957 # Extract the first word of "$ac_prog", so it can be a program name with args. 2202 2958 set dummy $ac_prog; ac_word=$2 2203 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2204 2960 $as_echo_n "checking for $ac_word... " >&6; } 2205 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2961 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2206 2962 $as_echo_n "(cached) " >&6 2207 2963 else … … 2214 2970 IFS=$as_save_IFS 2215 2971 test -z "$as_dir" && as_dir=. 2216 for ac_exec_ext in '' $ac_executable_extensions; do2217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2972 for ac_exec_ext in '' $ac_executable_extensions; do 2973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2218 2974 ac_cv_prog_ac_ct_CC="$ac_prog" 2219 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2220 2976 break 2 2221 2977 fi 2222 2978 done 2223 done2979 done 2224 2980 IFS=$as_save_IFS 2225 2981 … … 2228 2984 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2229 2985 if test -n "$ac_ct_CC"; then 2230 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&52986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2231 2987 $as_echo "$ac_ct_CC" >&6; } 2232 2988 else 2233 { $as_echo "$as_me:$ LINENO: result: no" >&52989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2234 2990 $as_echo "no" >&6; } 2235 2991 fi … … 2244 3000 case $cross_compiling:$ac_tool_warned in 2245 3001 yes:) 2246 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&53002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2247 3003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2248 3004 ac_tool_warned=yes ;; … … 2255 3011 2256 3012 2257 test -z "$CC" && { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53013 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2258 3014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 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; }; }; } 3015 as_fn_error $? "no acceptable C compiler found in \$PATH 3016 See \`config.log' for more details" "$LINENO" 5; } 2264 3017 2265 3018 # Provide some information about the compiler. 2266 $as_echo "$as_me:$ LINENO: checking for C compiler version" >&53019 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2267 3020 set X $ac_compile 2268 3021 ac_compiler=$2 2269 { (ac_try="$ac_compiler --version >&5" 3022 for ac_option in --version -v -V -qversion; do 3023 { { ac_try="$ac_compiler $ac_option >&5" 2270 3024 case "(($ac_try" in 2271 3025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2272 3026 *) ac_try_echo=$ac_try;; 2273 3027 esac 2274 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2275 $as_echo "$ac_try_echo" )>&52276 (eval "$ac_compiler --version >&5") 2>&53028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3029 $as_echo "$ac_try_echo"; } >&5 3030 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2277 3031 ac_status=$? 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 3032 if test -s conftest.err; then 3033 sed '10a\ 3034 ... rest of stderr output deleted ... 3035 10q' conftest.err >conftest.er1 3036 cat conftest.er1 >&5 3037 fi 3038 rm -f conftest.er1 conftest.err 3039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3040 test $ac_status = 0; } 3041 done 3042 3043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2308 3044 /* end confdefs.h. */ 2309 3045 … … 2321 3057 # It will help us diagnose broken compilers, and finding out an intuition 2322 3058 # of exeext. 2323 { $as_echo "$as_me:$ LINENO: checking for C compiler default output file name" >&52324 $as_echo_n "checking for C compiler default output file name... " >&6; }3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3060 $as_echo_n "checking whether the C compiler works... " >&6; } 2325 3061 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2326 3062 … … 2338 3074 rm -f $ac_rmfiles 2339 3075 2340 if { (ac_try="$ac_link_default"3076 if { { ac_try="$ac_link_default" 2341 3077 case "(($ac_try" in 2342 3078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2343 3079 *) ac_try_echo=$ac_try;; 2344 3080 esac 2345 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2346 $as_echo "$ac_try_echo" )>&53081 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3082 $as_echo "$ac_try_echo"; } >&5 2347 3083 (eval "$ac_link_default") 2>&5 2348 3084 ac_status=$? 2349 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52350 (exit $ac_status); }; then3085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3086 test $ac_status = 0; }; then : 2351 3087 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2352 3088 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2365 3101 break;; 2366 3102 *.* ) 2367 3103 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2368 3104 then :; else 2369 3105 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2384 3120 ac_file='' 2385 3121 fi 2386 2387 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 3122 if test -z "$ac_file"; then : 3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3124 $as_echo "no" >&6; } 3125 $as_echo "$as_me: failed program was:" >&5 3126 sed 's/^/| /' conftest.$ac_ext >&5 3127 3128 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3130 as_fn_error 77 "C compiler cannot create executables 3131 See \`config.log' for more details" "$LINENO" 5; } 3132 else 3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3134 $as_echo "yes" >&6; } 3135 fi 3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3137 $as_echo_n "checking for C compiler default output file name... " >&6; } 3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2388 3139 $as_echo "$ac_file" >&6; } 2389 if test -z "$ac_file"; then2390 $as_echo "$as_me: failed program was:" >&52391 sed 's/^/| /' conftest.$ac_ext >&52392 2393 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2395 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables2396 See \`config.log' for more details." >&52397 $as_echo "$as_me: error: C compiler cannot create executables2398 See \`config.log' for more details." >&2;}2399 { (exit 77); exit 77; }; }; }2400 fi2401 2402 3140 ac_exeext=$ac_cv_exeext 2403 2404 # Check that the compiler produces executables we can run. If not, either2405 # the compiler is broken, or we cross compile.2406 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&52407 $as_echo_n "checking whether the C compiler works... " >&6; }2408 # FIXME: These cross compiler hacks should be removed for Autoconf 3.02409 # If not cross compiling, check that we can run a simple program.2410 if test "$cross_compiling" != yes; then2411 if { ac_try='./$ac_file'2412 { (case "(($ac_try" in2413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2414 *) ac_try_echo=$ac_try;;2415 esac2416 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""2417 $as_echo "$ac_try_echo") >&52418 (eval "$ac_try") 2>&52419 ac_status=$?2420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52421 (exit $ac_status); }; }; then2422 cross_compiling=no2423 else2424 if test "$cross_compiling" = maybe; then2425 cross_compiling=yes2426 else2427 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52428 $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." >&52432 $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 fi2437 fi2438 fi2439 { $as_echo "$as_me:$LINENO: result: yes" >&52440 $as_echo "yes" >&6; }2441 3141 2442 3142 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2443 3143 ac_clean_files=$ac_clean_files_save 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 3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2452 3145 $as_echo_n "checking for suffix of executables... " >&6; } 2453 if { (ac_try="$ac_link"3146 if { { ac_try="$ac_link" 2454 3147 case "(($ac_try" in 2455 3148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2456 3149 *) ac_try_echo=$ac_try;; 2457 3150 esac 2458 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2459 $as_echo "$ac_try_echo" )>&53151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3152 $as_echo "$ac_try_echo"; } >&5 2460 3153 (eval "$ac_link") 2>&5 2461 3154 ac_status=$? 2462 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52463 (exit $ac_status); }; then3155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3156 test $ac_status = 0; }; then : 2464 3157 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2465 3158 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2476 3169 done 2477 3170 else 2478 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53171 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2479 3172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 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 3173 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3174 See \`config.log' for more details" "$LINENO" 5; } 3175 fi 3176 rm -f conftest conftest$ac_cv_exeext 3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2489 3178 $as_echo "$ac_cv_exeext" >&6; } 2490 3179 … … 2492 3181 EXEEXT=$ac_cv_exeext 2493 3182 ac_exeext=$EXEEXT 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 3183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2504 3184 /* end confdefs.h. */ 2505 3185 #include <stdio.h> 2506 3186 int 2507 3187 main () 2508 3188 { 3189 FILE *f = fopen ("conftest.out", "w"); 3190 return ferror (f) || fclose (f) != 0; 2509 3191 2510 3192 ; … … 2512 3194 } 2513 3195 _ACEOF 2514 rm -f conftest.o conftest.obj 2515 if { (ac_try="$ac_compile" 3196 ac_clean_files="$ac_clean_files conftest.out" 3197 # Check that the compiler produces executables we can run. If not, either 3198 # the compiler is broken, or we cross compile. 3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3200 $as_echo_n "checking whether we are cross compiling... " >&6; } 3201 if test "$cross_compiling" != yes; then 3202 { { ac_try="$ac_link" 2516 3203 case "(($ac_try" in 2517 3204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2518 3205 *) ac_try_echo=$ac_try;; 2519 3206 esac 2520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2521 $as_echo "$ac_try_echo") >&5 3207 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3208 $as_echo "$ac_try_echo"; } >&5 3209 (eval "$ac_link") 2>&5 3210 ac_status=$? 3211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3212 test $ac_status = 0; } 3213 if { ac_try='./conftest$ac_cv_exeext' 3214 { { case "(($ac_try" in 3215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3216 *) ac_try_echo=$ac_try;; 3217 esac 3218 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3219 $as_echo "$ac_try_echo"; } >&5 3220 (eval "$ac_try") 2>&5 3221 ac_status=$? 3222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3223 test $ac_status = 0; }; }; then 3224 cross_compiling=no 3225 else 3226 if test "$cross_compiling" = maybe; then 3227 cross_compiling=yes 3228 else 3229 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3231 as_fn_error $? "cannot run C compiled programs. 3232 If you meant to cross compile, use \`--host'. 3233 See \`config.log' for more details" "$LINENO" 5; } 3234 fi 3235 fi 3236 fi 3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3238 $as_echo "$cross_compiling" >&6; } 3239 3240 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3241 ac_clean_files=$ac_clean_files_save 3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3243 $as_echo_n "checking for suffix of object files... " >&6; } 3244 if ${ac_cv_objext+:} false; then : 3245 $as_echo_n "(cached) " >&6 3246 else 3247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3248 /* end confdefs.h. */ 3249 3250 int 3251 main () 3252 { 3253 3254 ; 3255 return 0; 3256 } 3257 _ACEOF 3258 rm -f conftest.o conftest.obj 3259 if { { ac_try="$ac_compile" 3260 case "(($ac_try" in 3261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3262 *) ac_try_echo=$ac_try;; 3263 esac 3264 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3265 $as_echo "$ac_try_echo"; } >&5 2522 3266 (eval "$ac_compile") 2>&5 2523 3267 ac_status=$? 2524 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52525 (exit $ac_status); }; then3268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3269 test $ac_status = 0; }; then : 2526 3270 for ac_file in conftest.o conftest.obj conftest.*; do 2527 3271 test -f "$ac_file" || continue; … … 2536 3280 sed 's/^/| /' conftest.$ac_ext >&5 2537 3281 2538 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53282 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2539 3283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 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 3284 as_fn_error $? "cannot compute suffix of object files: cannot compile 3285 See \`config.log' for more details" "$LINENO" 5; } 3286 fi 2547 3287 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2548 3288 fi 2549 { $as_echo "$as_me:$ LINENO: result: $ac_cv_objext" >&53289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2550 3290 $as_echo "$ac_cv_objext" >&6; } 2551 3291 OBJEXT=$ac_cv_objext 2552 3292 ac_objext=$OBJEXT 2553 { $as_echo "$as_me:$ LINENO: checking whether we are using the GNU C compiler" >&53293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2554 3294 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2555 if test "${ac_cv_c_compiler_gnu+set}" = set; then3295 if ${ac_cv_c_compiler_gnu+:} false; then : 2556 3296 $as_echo_n "(cached) " >&6 2557 3297 else 2558 cat >conftest.$ac_ext <<_ACEOF 2559 /* confdefs.h. */ 2560 _ACEOF 2561 cat confdefs.h >>conftest.$ac_ext 2562 cat >>conftest.$ac_ext <<_ACEOF 3298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2563 3299 /* end confdefs.h. */ 2564 3300 … … 2574 3310 } 2575 3311 _ACEOF 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 3312 if ac_fn_c_try_compile "$LINENO"; then : 2594 3313 ac_compiler_gnu=yes 2595 3314 else 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 3315 ac_compiler_gnu=no 3316 fi 2602 3317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2603 3318 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2604 3319 2605 3320 fi 2606 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_compiler_gnu" >&53321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2607 3322 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2608 3323 if test $ac_compiler_gnu = yes; then … … 2613 3328 ac_test_CFLAGS=${CFLAGS+set} 2614 3329 ac_save_CFLAGS=$CFLAGS 2615 { $as_echo "$as_me:$ LINENO: checking whether $CC accepts -g" >&53330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2616 3331 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2617 if test "${ac_cv_prog_cc_g+set}" = set; then3332 if ${ac_cv_prog_cc_g+:} false; then : 2618 3333 $as_echo_n "(cached) " >&6 2619 3334 else … … 2622 3337 ac_cv_prog_cc_g=no 2623 3338 CFLAGS="-g" 2624 cat >conftest.$ac_ext <<_ACEOF 2625 /* confdefs.h. */ 2626 _ACEOF 2627 cat confdefs.h >>conftest.$ac_ext 2628 cat >>conftest.$ac_ext <<_ACEOF 3339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2629 3340 /* end confdefs.h. */ 2630 3341 … … 2637 3348 } 2638 3349 _ACEOF 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 3350 if ac_fn_c_try_compile "$LINENO"; then : 2657 3351 ac_cv_prog_cc_g=yes 2658 3352 else 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 3353 CFLAGS="" 3354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2668 3355 /* end confdefs.h. */ 2669 3356 … … 2676 3363 } 2677 3364 _ACEOF 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 3365 if ac_fn_c_try_compile "$LINENO"; then : 3366 3367 else 3368 ac_c_werror_flag=$ac_save_c_werror_flag 2702 3369 CFLAGS="-g" 2703 cat >conftest.$ac_ext <<_ACEOF 2704 /* confdefs.h. */ 2705 _ACEOF 2706 cat confdefs.h >>conftest.$ac_ext 2707 cat >>conftest.$ac_ext <<_ACEOF 3370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2708 3371 /* end confdefs.h. */ 2709 3372 … … 2716 3379 } 2717 3380 _ACEOF 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 3381 if ac_fn_c_try_compile "$LINENO"; then : 2736 3382 ac_cv_prog_cc_g=yes 2737 else 2738 $as_echo "$as_me: failed program was:" >&5 2739 sed 's/^/| /' conftest.$ac_ext >&5 2740 2741 2742 fi 2743 3383 fi 2744 3384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2745 3385 fi 2746 2747 3386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2748 3387 fi 2749 2750 3388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2751 3389 ac_c_werror_flag=$ac_save_c_werror_flag 2752 3390 fi 2753 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_g" >&53391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2754 3392 $as_echo "$ac_cv_prog_cc_g" >&6; } 2755 3393 if test "$ac_test_CFLAGS" = set; then … … 2768 3406 fi 2769 3407 fi 2770 { $as_echo "$as_me:$ LINENO: checking for $CC option to accept ISO C89" >&53408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2771 3409 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2772 if test "${ac_cv_prog_cc_c89+set}" = set; then3410 if ${ac_cv_prog_cc_c89+:} false; then : 2773 3411 $as_echo_n "(cached) " >&6 2774 3412 else 2775 3413 ac_cv_prog_cc_c89=no 2776 3414 ac_save_CC=$CC 2777 cat >conftest.$ac_ext <<_ACEOF 2778 /* confdefs.h. */ 2779 _ACEOF 2780 cat confdefs.h >>conftest.$ac_ext 2781 cat >>conftest.$ac_ext <<_ACEOF 3415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2782 3416 /* end confdefs.h. */ 2783 3417 #include <stdarg.h> 2784 3418 #include <stdio.h> 2785 #include <sys/types.h> 2786 #include <sys/stat.h> 3419 struct stat; 2787 3420 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2788 3421 struct buf { int x; }; … … 2836 3469 do 2837 3470 CC="$ac_save_CC $ac_arg" 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 3471 if ac_fn_c_try_compile "$LINENO"; then : 2856 3472 ac_cv_prog_cc_c89=$ac_arg 2857 else 2858 $as_echo "$as_me: failed program was:" >&5 2859 sed 's/^/| /' conftest.$ac_ext >&5 2860 2861 2862 fi 2863 3473 fi 2864 3474 rm -f core conftest.err conftest.$ac_objext 2865 3475 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2872 3482 case "x$ac_cv_prog_cc_c89" in 2873 3483 x) 2874 { $as_echo "$as_me:$ LINENO: result: none needed" >&53484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 2875 3485 $as_echo "none needed" >&6; } ;; 2876 3486 xno) 2877 { $as_echo "$as_me:$ LINENO: result: unsupported" >&53487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 2878 3488 $as_echo "unsupported" >&6; } ;; 2879 3489 *) 2880 3490 CC="$CC $ac_cv_prog_cc_c89" 2881 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_c89" >&53491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 2882 3492 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2883 3493 esac 2884 3494 if test "x$ac_cv_prog_cc_c89" != xno; then : 3495 3496 fi 2885 3497 2886 3498 ac_ext=c … … 2896 3508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2897 3509 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2898 { $as_echo "$as_me:$ LINENO: checking how to run the C preprocessor" >&53510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 2899 3511 $as_echo_n "checking how to run the C preprocessor... " >&6; } 2900 3512 # On Suns, sometimes $CPP names a directory. … … 2903 3515 fi 2904 3516 if test -z "$CPP"; then 2905 if test "${ac_cv_prog_CPP+set}" = set; then3517 if ${ac_cv_prog_CPP+:} false; then : 2906 3518 $as_echo_n "(cached) " >&6 2907 3519 else … … 2918 3530 # On the NeXT, cc -E runs the code through the compiler's parser, 2919 3531 # not just through cpp. "Syntax error" is here to catch this case. 2920 cat >conftest.$ac_ext <<_ACEOF 2921 /* confdefs.h. */ 2922 _ACEOF 2923 cat confdefs.h >>conftest.$ac_ext 2924 cat >>conftest.$ac_ext <<_ACEOF 3532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2925 3533 /* end confdefs.h. */ 2926 3534 #ifdef __STDC__ … … 2931 3539 Syntax error 2932 3540 _ACEOF 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 3541 if ac_fn_c_try_cpp "$LINENO"; then : 3542 3543 else 2955 3544 # Broken: fails on valid input. 2956 3545 continue 2957 3546 fi 2958 2959 rm -f conftest.err conftest.$ac_ext 3547 rm -f conftest.err conftest.i conftest.$ac_ext 2960 3548 2961 3549 # OK, works on sane cases. Now check whether nonexistent headers 2962 3550 # can be detected and how. 2963 cat >conftest.$ac_ext <<_ACEOF 2964 /* confdefs.h. */ 2965 _ACEOF 2966 cat confdefs.h >>conftest.$ac_ext 2967 cat >>conftest.$ac_ext <<_ACEOF 3551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2968 3552 /* end confdefs.h. */ 2969 3553 #include <ac_nonexistent.h> 2970 3554 _ACEOF 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 3555 if ac_fn_c_try_cpp "$LINENO"; then : 2988 3556 # Broken: success on invalid input. 2989 3557 continue 2990 3558 else 2991 $as_echo "$as_me: failed program was:" >&52992 sed 's/^/| /' conftest.$ac_ext >&52993 2994 3559 # Passes both tests. 2995 3560 ac_preproc_ok=: 2996 3561 break 2997 3562 fi 2998 2999 rm -f conftest.err conftest.$ac_ext 3563 rm -f conftest.err conftest.i conftest.$ac_ext 3000 3564 3001 3565 done 3002 3566 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3003 rm -f conftest. err conftest.$ac_ext3004 if $ac_preproc_ok; then 3567 rm -f conftest.i conftest.err conftest.$ac_ext 3568 if $ac_preproc_ok; then : 3005 3569 break 3006 3570 fi … … 3014 3578 ac_cv_prog_CPP=$CPP 3015 3579 fi 3016 { $as_echo "$as_me:$ LINENO: result: $CPP" >&53580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3017 3581 $as_echo "$CPP" >&6; } 3018 3582 ac_preproc_ok=false … … 3025 3589 # On the NeXT, cc -E runs the code through the compiler's parser, 3026 3590 # not just through cpp. "Syntax error" is here to catch this case. 3027 cat >conftest.$ac_ext <<_ACEOF 3028 /* confdefs.h. */ 3029 _ACEOF 3030 cat confdefs.h >>conftest.$ac_ext 3031 cat >>conftest.$ac_ext <<_ACEOF 3591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3032 3592 /* end confdefs.h. */ 3033 3593 #ifdef __STDC__ … … 3038 3598 Syntax error 3039 3599 _ACEOF 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 3600 if ac_fn_c_try_cpp "$LINENO"; then : 3601 3602 else 3062 3603 # Broken: fails on valid input. 3063 3604 continue 3064 3605 fi 3065 3066 rm -f conftest.err conftest.$ac_ext 3606 rm -f conftest.err conftest.i conftest.$ac_ext 3067 3607 3068 3608 # OK, works on sane cases. Now check whether nonexistent headers 3069 3609 # can be detected and how. 3070 cat >conftest.$ac_ext <<_ACEOF 3071 /* confdefs.h. */ 3072 _ACEOF 3073 cat confdefs.h >>conftest.$ac_ext 3074 cat >>conftest.$ac_ext <<_ACEOF 3610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3075 3611 /* end confdefs.h. */ 3076 3612 #include <ac_nonexistent.h> 3077 3613 _ACEOF 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 3614 if ac_fn_c_try_cpp "$LINENO"; then : 3095 3615 # Broken: success on invalid input. 3096 3616 continue 3097 3617 else 3098 $as_echo "$as_me: failed program was:" >&53099 sed 's/^/| /' conftest.$ac_ext >&53100 3101 3618 # Passes both tests. 3102 3619 ac_preproc_ok=: 3103 3620 break 3104 3621 fi 3105 3106 rm -f conftest.err conftest.$ac_ext 3622 rm -f conftest.err conftest.i conftest.$ac_ext 3107 3623 3108 3624 done 3109 3625 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3110 rm -f conftest. err conftest.$ac_ext3111 if $ac_preproc_ok; then 3112 : 3113 else 3114 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53626 rm -f conftest.i conftest.err conftest.$ac_ext 3627 if $ac_preproc_ok; then : 3628 3629 else 3630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3115 3631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 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; }; }; } 3632 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3633 See \`config.log' for more details" "$LINENO" 5; } 3121 3634 fi 3122 3635 … … 3128 3641 3129 3642 3130 { $as_echo "$as_me:$ LINENO: checking for grep that handles long lines and -e" >&53643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3131 3644 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3132 if test "${ac_cv_path_GREP+set}" = set; then3645 if ${ac_cv_path_GREP+:} false; then : 3133 3646 $as_echo_n "(cached) " >&6 3134 3647 else … … 3141 3654 IFS=$as_save_IFS 3142 3655 test -z "$as_dir" && as_dir=. 3143 for ac_prog in grep ggrep; do3656 for ac_prog in grep ggrep; do 3144 3657 for ac_exec_ext in '' $ac_executable_extensions; do 3145 3658 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3146 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; }|| continue3659 as_fn_executable_p "$ac_path_GREP" || continue 3147 3660 # Check for GNU ac_path_GREP and select it if it is found. 3148 3661 # Check for GNU $ac_path_GREP … … 3161 3674 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3162 3675 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3163 a c_count=`expr $ac_count + 1`3676 as_fn_arith $ac_count + 1 && ac_count=$as_val 3164 3677 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3165 3678 # Best one so far, save it but keep looking for a better one … … 3176 3689 done 3177 3690 done 3178 done3691 done 3179 3692 IFS=$as_save_IFS 3180 3693 if test -z "$ac_cv_path_GREP"; then 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; }; } 3694 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3184 3695 fi 3185 3696 else … … 3188 3699 3189 3700 fi 3190 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_GREP" >&53701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3191 3702 $as_echo "$ac_cv_path_GREP" >&6; } 3192 3703 GREP="$ac_cv_path_GREP" 3193 3704 3194 3705 3195 { $as_echo "$as_me:$ LINENO: checking for egrep" >&53706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3196 3707 $as_echo_n "checking for egrep... " >&6; } 3197 if test "${ac_cv_path_EGREP+set}" = set; then3708 if ${ac_cv_path_EGREP+:} false; then : 3198 3709 $as_echo_n "(cached) " >&6 3199 3710 else … … 3209 3720 IFS=$as_save_IFS 3210 3721 test -z "$as_dir" && as_dir=. 3211 for ac_prog in egrep; do3722 for ac_prog in egrep; do 3212 3723 for ac_exec_ext in '' $ac_executable_extensions; do 3213 3724 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3214 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; }|| continue3725 as_fn_executable_p "$ac_path_EGREP" || continue 3215 3726 # Check for GNU ac_path_EGREP and select it if it is found. 3216 3727 # Check for GNU $ac_path_EGREP … … 3229 3740 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3230 3741 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3231 a c_count=`expr $ac_count + 1`3742 as_fn_arith $ac_count + 1 && ac_count=$as_val 3232 3743 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3233 3744 # Best one so far, save it but keep looking for a better one … … 3244 3755 done 3245 3756 done 3246 done3757 done 3247 3758 IFS=$as_save_IFS 3248 3759 if test -z "$ac_cv_path_EGREP"; then 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; }; } 3760 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3252 3761 fi 3253 3762 else … … 3257 3766 fi 3258 3767 fi 3259 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_EGREP" >&53768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3260 3769 $as_echo "$ac_cv_path_EGREP" >&6; } 3261 3770 EGREP="$ac_cv_path_EGREP" 3262 3771 3263 3772 3264 { $as_echo "$as_me:$ LINENO: checking for ANSI C header files" >&53773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3265 3774 $as_echo_n "checking for ANSI C header files... " >&6; } 3266 if test "${ac_cv_header_stdc+set}" = set; then3775 if ${ac_cv_header_stdc+:} false; then : 3267 3776 $as_echo_n "(cached) " >&6 3268 3777 else 3269 cat >conftest.$ac_ext <<_ACEOF 3270 /* confdefs.h. */ 3271 _ACEOF 3272 cat confdefs.h >>conftest.$ac_ext 3273 cat >>conftest.$ac_ext <<_ACEOF 3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3274 3779 /* end confdefs.h. */ 3275 3780 #include <stdlib.h> … … 3286 3791 } 3287 3792 _ACEOF 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 3793 if ac_fn_c_try_compile "$LINENO"; then : 3306 3794 ac_cv_header_stdc=yes 3307 3795 else 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 3796 ac_cv_header_stdc=no 3797 fi 3314 3798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3315 3799 3316 3800 if test $ac_cv_header_stdc = yes; then 3317 3801 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3318 cat >conftest.$ac_ext <<_ACEOF 3319 /* confdefs.h. */ 3320 _ACEOF 3321 cat confdefs.h >>conftest.$ac_ext 3322 cat >>conftest.$ac_ext <<_ACEOF 3802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3323 3803 /* end confdefs.h. */ 3324 3804 #include <string.h> … … 3326 3806 _ACEOF 3327 3807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3328 $EGREP "memchr" >/dev/null 2>&1; then 3329 : 3808 $EGREP "memchr" >/dev/null 2>&1; then : 3809 3330 3810 else 3331 3811 ac_cv_header_stdc=no … … 3337 3817 if test $ac_cv_header_stdc = yes; then 3338 3818 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3339 cat >conftest.$ac_ext <<_ACEOF 3340 /* confdefs.h. */ 3341 _ACEOF 3342 cat confdefs.h >>conftest.$ac_ext 3343 cat >>conftest.$ac_ext <<_ACEOF 3819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3344 3820 /* end confdefs.h. */ 3345 3821 #include <stdlib.h> … … 3347 3823 _ACEOF 3348 3824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3349 $EGREP "free" >/dev/null 2>&1; then 3350 : 3825 $EGREP "free" >/dev/null 2>&1; then : 3826 3351 3827 else 3352 3828 ac_cv_header_stdc=no … … 3358 3834 if test $ac_cv_header_stdc = yes; then 3359 3835 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3360 if test "$cross_compiling" = yes; then 3836 if test "$cross_compiling" = yes; then : 3361 3837 : 3362 3838 else 3363 cat >conftest.$ac_ext <<_ACEOF 3364 /* confdefs.h. */ 3365 _ACEOF 3366 cat confdefs.h >>conftest.$ac_ext 3367 cat >>conftest.$ac_ext <<_ACEOF 3839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3368 3840 /* end confdefs.h. */ 3369 3841 #include <ctype.h> … … 3392 3864 } 3393 3865 _ACEOF 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 3866 if ac_fn_c_try_run "$LINENO"; then : 3867 3868 else 3869 ac_cv_header_stdc=no 3870 fi 3871 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3872 conftest.$ac_objext conftest.beam conftest.$ac_ext 3873 fi 3874 3875 fi 3876 fi 3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3433 3878 $as_echo "$ac_cv_header_stdc" >&6; } 3434 3879 if test $ac_cv_header_stdc = yes; then 3435 3880 3436 cat >>confdefs.h <<\_ACEOF 3437 #define STDC_HEADERS 1 3438 _ACEOF 3881 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 3439 3882 3440 3883 fi 3441 3884 3442 3885 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3886 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3453 3887 inttypes.h stdint.h unistd.h 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 3888 do : 3889 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3890 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3891 " 3892 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3506 3893 cat >>confdefs.h <<_ACEOF 3507 3894 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 3528 3915 3529 3916 # Check whether --with-python was given. 3530 if test "${with_python+set}" = set; then 3917 if test "${with_python+set}" = set; then : 3531 3918 withval=$with_python; 3532 3919 else … … 3539 3926 # 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. 3540 3927 set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 3541 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3542 3929 $as_echo_n "checking for $ac_word... " >&6; } 3543 if test "${ac_cv_path_PYTHON+set}" = set; then3930 if ${ac_cv_path_PYTHON+:} false; then : 3544 3931 $as_echo_n "(cached) " >&6 3545 3932 else … … 3554 3941 IFS=$as_save_IFS 3555 3942 test -z "$as_dir" && as_dir=. 3556 for ac_exec_ext in '' $ac_executable_extensions; do3557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3943 for ac_exec_ext in '' $ac_executable_extensions; do 3944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3558 3945 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 3559 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3560 3947 break 2 3561 3948 fi 3562 3949 done 3563 done3950 done 3564 3951 IFS=$as_save_IFS 3565 3952 … … 3569 3956 PYTHON=$ac_cv_path_PYTHON 3570 3957 if test -n "$PYTHON"; then 3571 { $as_echo "$as_me:$ LINENO: result: $PYTHON" >&53958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 3572 3959 $as_echo "$PYTHON" >&6; } 3573 3960 else 3574 { $as_echo "$as_me:$ LINENO: result: no" >&53961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3575 3962 $as_echo "no" >&6; } 3576 3963 fi … … 3580 3967 # Extract the first word of "python", so it can be a program name with args. 3581 3968 set dummy python; ac_word=$2 3582 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3583 3970 $as_echo_n "checking for $ac_word... " >&6; } 3584 if test "${ac_cv_path_PYTHON+set}" = set; then3971 if ${ac_cv_path_PYTHON+:} false; then : 3585 3972 $as_echo_n "(cached) " >&6 3586 3973 else … … 3596 3983 IFS=$as_save_IFS 3597 3984 test -z "$as_dir" && as_dir=. 3598 for ac_exec_ext in '' $ac_executable_extensions; do3599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3985 for ac_exec_ext in '' $ac_executable_extensions; do 3986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3600 3987 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 3601 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3602 3989 break 2 3603 3990 fi 3604 3991 done 3605 done3992 done 3606 3993 IFS=$as_save_IFS 3607 3994 … … 3611 3998 PYTHON=$ac_cv_path_PYTHON 3612 3999 if test -n "$PYTHON"; then 3613 { $as_echo "$as_me:$ LINENO: result: $PYTHON" >&54000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 3614 4001 $as_echo "$PYTHON" >&6; } 3615 4002 else 3616 { $as_echo "$as_me:$ LINENO: result: no" >&54003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3617 4004 $as_echo "no" >&6; } 3618 4005 fi … … 3620 4007 3621 4008 fi 3622 { $as_echo "$as_me:$ LINENO: checking for Python version" >&54009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5 3623 4010 $as_echo_n "checking for Python version... " >&6; } 3624 4011 if test "x${PYTHON}" != "x"; then 3625 4012 PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"` 3626 4013 fi 3627 { $as_echo "$as_me:$ LINENO: result: $PYTHON_VERSION" >&54014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5 3628 4015 $as_echo "$PYTHON_VERSION" >&6; } 3629 4016 fi … … 3631 4018 if test "x${PYTHON_VERSION}" != "x"; then 3632 4019 PYTHON_INCLUDES=$incdir 3633 { $as_echo "$as_me:$ LINENO: checking for Python distutils" >&54020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5 3634 4021 $as_echo_n "checking for Python distutils... " >&6; } 3635 4022 PYTHON_DISTUTILS="" … … 3639 4026 PYTHON_DISTUTILS="yes" 3640 4027 fi 3641 { $as_echo "$as_me:$ LINENO: result: $PYTHON_DISTUTILS" >&54028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5 3642 4029 $as_echo "$PYTHON_DISTUTILS" >&6; } 3643 4030 if test "${PYTHON_DISTUTILS}" = "yes" ; then … … 3646 4033 # Check for Python include path 3647 4034 # 3648 { $as_echo "$as_me:$ LINENO: checking path to Python headers" >&54035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5 3649 4036 $as_echo_n "checking path to Python headers... " >&6; } 3650 4037 PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \ 3651 4038 print distutils.sysconfig.get_python_inc();"` 3652 { $as_echo "$as_me:$ LINENO: result: $PYTHON_INCDIR" >&54039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5 3653 4040 $as_echo "$PYTHON_INCDIR" >&6; } 3654 4041 # … … 3663 4050 save_CPPFLAGS=$CPPFLAGS 3664 4051 CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}" 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 4052 for ac_header in Python.h 4053 do : 4054 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 4055 if test "x$ac_cv_header_Python_h" = xyes; then : 3808 4056 cat >>confdefs.h <<_ACEOF 3809 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`14057 #define HAVE_PYTHON_H 1 3810 4058 _ACEOF 3811 4059 found=yes … … 3826 4074 3827 4075 # Check whether --with-statsdir was given. 3828 if test "${with_statsdir+set}" = set; then 4076 if test "${with_statsdir+set}" = set; then : 3829 4077 withval=$with_statsdir; STATSDIR=$withval 3830 4078 else … … 3860 4108 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3861 4109 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3862 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3863 4111 $as_echo_n "checking for $ac_word... " >&6; } 3864 if test "${ac_cv_prog_RANLIB+set}" = set; then4112 if ${ac_cv_prog_RANLIB+:} false; then : 3865 4113 $as_echo_n "(cached) " >&6 3866 4114 else … … 3873 4121 IFS=$as_save_IFS 3874 4122 test -z "$as_dir" && as_dir=. 3875 for ac_exec_ext in '' $ac_executable_extensions; do3876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4123 for ac_exec_ext in '' $ac_executable_extensions; do 4124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3877 4125 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3878 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3879 4127 break 2 3880 4128 fi 3881 4129 done 3882 done4130 done 3883 4131 IFS=$as_save_IFS 3884 4132 … … 3887 4135 RANLIB=$ac_cv_prog_RANLIB 3888 4136 if test -n "$RANLIB"; then 3889 { $as_echo "$as_me:$ LINENO: result: $RANLIB" >&54137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 3890 4138 $as_echo "$RANLIB" >&6; } 3891 4139 else 3892 { $as_echo "$as_me:$ LINENO: result: no" >&54140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3893 4141 $as_echo "no" >&6; } 3894 4142 fi … … 3900 4148 # Extract the first word of "ranlib", so it can be a program name with args. 3901 4149 set dummy ranlib; ac_word=$2 3902 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3903 4151 $as_echo_n "checking for $ac_word... " >&6; } 3904 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then4152 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 3905 4153 $as_echo_n "(cached) " >&6 3906 4154 else … … 3913 4161 IFS=$as_save_IFS 3914 4162 test -z "$as_dir" && as_dir=. 3915 for ac_exec_ext in '' $ac_executable_extensions; do3916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4163 for ac_exec_ext in '' $ac_executable_extensions; do 4164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3917 4165 ac_cv_prog_ac_ct_RANLIB="ranlib" 3918 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3919 4167 break 2 3920 4168 fi 3921 4169 done 3922 done4170 done 3923 4171 IFS=$as_save_IFS 3924 4172 … … 3927 4175 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3928 4176 if test -n "$ac_ct_RANLIB"; then 3929 { $as_echo "$as_me:$ LINENO: result: $ac_ct_RANLIB" >&54177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 3930 4178 $as_echo "$ac_ct_RANLIB" >&6; } 3931 4179 else 3932 { $as_echo "$as_me:$ LINENO: result: no" >&54180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3933 4181 $as_echo "no" >&6; } 3934 4182 fi … … 3939 4187 case $cross_compiling:$ac_tool_warned in 3940 4188 yes:) 3941 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&54189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3942 4190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3943 4191 ac_tool_warned=yes ;; … … 3953 4201 # Step 0.a: Enable 64 bit support? 3954 4202 3955 { $as_echo "$as_me:$ LINENO: checking if 64bit support is requested" >&54203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5 3956 4204 $as_echo_n "checking if 64bit support is requested... " >&6; } 3957 4205 # Check whether --enable-64bit was given. 3958 if test "${enable_64bit+set}" = set; then 4206 if test "${enable_64bit+set}" = set; then : 3959 4207 enableval=$enable_64bit; do64bit=$enableval 3960 4208 else … … 3962 4210 fi 3963 4211 3964 { $as_echo "$as_me:$ LINENO: result: $do64bit" >&54212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5 3965 4213 $as_echo "$do64bit" >&6; } 3966 4214 3967 4215 # Step 0.b: Enable Solaris 64 bit VIS support? 3968 4216 3969 { $as_echo "$as_me:$ LINENO: checking if 64bit Sparc VIS support is requested" >&54217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5 3970 4218 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 3971 4219 # Check whether --enable-64bit-vis was given. 3972 if test "${enable_64bit_vis+set}" = set; then 4220 if test "${enable_64bit_vis+set}" = set; then : 3973 4221 enableval=$enable_64bit_vis; do64bitVIS=$enableval 3974 4222 else … … 3976 4224 fi 3977 4225 3978 { $as_echo "$as_me:$ LINENO: result: $do64bitVIS" >&54226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5 3979 4227 $as_echo "$do64bitVIS" >&6; } 3980 4228 … … 3988 4236 3989 4237 3990 { $as_echo "$as_me:$ LINENO: checking system version" >&54238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5 3991 4239 $as_echo_n "checking system version... " >&6; } 3992 if test "${tcl_cv_sys_version+set}" = set; then4240 if ${tcl_cv_sys_version+:} false; then : 3993 4241 $as_echo_n "(cached) " >&6 3994 4242 else … … 3999 4247 tcl_cv_sys_version=`uname -s`-`uname -r` 4000 4248 if test "$?" -ne 0 ; then 4001 { $as_echo "$as_me:$ LINENO: WARNING: can't find uname command" >&54249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5 4002 4250 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 4003 4251 tcl_cv_sys_version=unknown … … 4016 4264 4017 4265 fi 4018 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sys_version" >&54266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5 4019 4267 $as_echo "$tcl_cv_sys_version" >&6; } 4020 4268 system=$tcl_cv_sys_version … … 4024 4272 # Linux can use either -ldl or -ldld for dynamic loading. 4025 4273 4026 { $as_echo "$as_me:$ LINENO: checking for dlopen in -ldl" >&54274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 4027 4275 $as_echo_n "checking for dlopen in -ldl... " >&6; } 4028 if test "${ac_cv_lib_dl_dlopen+set}" = set; then4276 if ${ac_cv_lib_dl_dlopen+:} false; then : 4029 4277 $as_echo_n "(cached) " >&6 4030 4278 else 4031 4279 ac_check_lib_save_LIBS=$LIBS 4032 4280 LIBS="-ldl $LIBS" 4033 cat >conftest.$ac_ext <<_ACEOF 4034 /* confdefs.h. */ 4035 _ACEOF 4036 cat confdefs.h >>conftest.$ac_ext 4037 cat >>conftest.$ac_ext <<_ACEOF 4281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4038 4282 /* end confdefs.h. */ 4039 4283 … … 4053 4297 } 4054 4298 _ACEOF 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 4299 if ac_fn_c_try_link "$LINENO"; then : 4076 4300 ac_cv_lib_dl_dlopen=yes 4077 4301 else 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 4302 ac_cv_lib_dl_dlopen=no 4303 fi 4304 rm -f core conftest.err conftest.$ac_objext \ 4305 conftest$ac_exeext conftest.$ac_ext 4087 4306 LIBS=$ac_check_lib_save_LIBS 4088 4307 fi 4089 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dl_dlopen" >&54308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 4090 4309 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 4091 if test "x$ac_cv_lib_dl_dlopen" = x ""yes; then4310 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 4092 4311 have_dl=yes 4093 4312 else … … 4121 4340 # Extract the first word of "ar", so it can be a program name with args. 4122 4341 set dummy ar; ac_word=$2 4123 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4124 4343 $as_echo_n "checking for $ac_word... " >&6; } 4125 if test "${ac_cv_prog_AR+set}" = set; then4344 if ${ac_cv_prog_AR+:} false; then : 4126 4345 $as_echo_n "(cached) " >&6 4127 4346 else … … 4134 4353 IFS=$as_save_IFS 4135 4354 test -z "$as_dir" && as_dir=. 4136 for ac_exec_ext in '' $ac_executable_extensions; do4137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4355 for ac_exec_ext in '' $ac_executable_extensions; do 4356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4138 4357 ac_cv_prog_AR="ar" 4139 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4140 4359 break 2 4141 4360 fi 4142 4361 done 4143 done4362 done 4144 4363 IFS=$as_save_IFS 4145 4364 … … 4148 4367 AR=$ac_cv_prog_AR 4149 4368 if test -n "$AR"; then 4150 { $as_echo "$as_me:$ LINENO: result: $AR" >&54369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 4151 4370 $as_echo "$AR" >&6; } 4152 4371 else 4153 { $as_echo "$as_me:$ LINENO: result: no" >&54372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4154 4373 $as_echo "no" >&6; } 4155 4374 fi … … 4157 4376 4158 4377 if test "${AR}" = "" ; then 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; }; } 4378 as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5 4162 4379 fi 4163 4380 STLIB_LD='${AR} cr' … … 4177 4394 ;; 4178 4395 esac 4179 { $as_echo "$as_me:$ LINENO: result: Using $CC for compiling with threads" >&54396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5 4180 4397 $as_echo "Using $CC for compiling with threads" >&6; } 4181 4398 fi … … 4193 4410 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 4194 4411 if test "$GCC" = "yes" ; then 4195 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&54412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 4196 4413 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 4197 4414 else … … 4248 4465 # known GMT value. 4249 4466 4250 { $as_echo "$as_me:$ LINENO: checking for gettimeofday in -lbsd" >&54467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5 4251 4468 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 4252 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then4469 if ${ac_cv_lib_bsd_gettimeofday+:} false; then : 4253 4470 $as_echo_n "(cached) " >&6 4254 4471 else 4255 4472 ac_check_lib_save_LIBS=$LIBS 4256 4473 LIBS="-lbsd $LIBS" 4257 cat >conftest.$ac_ext <<_ACEOF 4258 /* confdefs.h. */ 4259 _ACEOF 4260 cat confdefs.h >>conftest.$ac_ext 4261 cat >>conftest.$ac_ext <<_ACEOF 4474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4262 4475 /* end confdefs.h. */ 4263 4476 … … 4277 4490 } 4278 4491 _ACEOF 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 4492 if ac_fn_c_try_link "$LINENO"; then : 4300 4493 ac_cv_lib_bsd_gettimeofday=yes 4301 4494 else 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 4495 ac_cv_lib_bsd_gettimeofday=no 4496 fi 4497 rm -f core conftest.err conftest.$ac_objext \ 4498 conftest$ac_exeext conftest.$ac_ext 4311 4499 LIBS=$ac_check_lib_save_LIBS 4312 4500 fi 4313 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&54501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5 4314 4502 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 4315 if test "x$ac_cv_lib_bsd_gettimeofday" = x ""yes; then4503 if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then : 4316 4504 libbsd=yes 4317 4505 else … … 4321 4509 if test $libbsd = yes; then 4322 4510 MATH_LIBS="$MATH_LIBS -lbsd" 4323 cat >>confdefs.h <<\_ACEOF 4324 #define USE_DELTA_FOR_TZ 1 4325 _ACEOF 4511 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 4326 4512 4327 4513 fi … … 4340 4526 # is always linked to, for compatibility. 4341 4527 #----------------------------------------------------------- 4342 { $as_echo "$as_me:$ LINENO: checking for inet_ntoa in -lbind" >&54528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5 4343 4529 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 4344 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then4530 if ${ac_cv_lib_bind_inet_ntoa+:} false; then : 4345 4531 $as_echo_n "(cached) " >&6 4346 4532 else 4347 4533 ac_check_lib_save_LIBS=$LIBS 4348 4534 LIBS="-lbind $LIBS" 4349 cat >conftest.$ac_ext <<_ACEOF 4350 /* confdefs.h. */ 4351 _ACEOF 4352 cat confdefs.h >>conftest.$ac_ext 4353 cat >>conftest.$ac_ext <<_ACEOF 4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4354 4536 /* end confdefs.h. */ 4355 4537 … … 4369 4551 } 4370 4552 _ACEOF 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 4553 if ac_fn_c_try_link "$LINENO"; then : 4392 4554 ac_cv_lib_bind_inet_ntoa=yes 4393 4555 else 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 4556 ac_cv_lib_bind_inet_ntoa=no 4557 fi 4558 rm -f core conftest.err conftest.$ac_objext \ 4559 conftest$ac_exeext conftest.$ac_ext 4403 4560 LIBS=$ac_check_lib_save_LIBS 4404 4561 fi 4405 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&54562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5 4406 4563 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 4407 if test "x$ac_cv_lib_bind_inet_ntoa" = x ""yes; then4564 if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then : 4408 4565 LIBS="$LIBS -lbind -lsocket" 4409 4566 fi … … 4443 4600 HP-UX-*.11.*) 4444 4601 # Use updated header definitions where possible 4445 cat >>confdefs.h <<\_ACEOF 4446 #define _XOPEN_SOURCE 1 4447 _ACEOF 4602 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 4448 4603 # Use the XOPEN network library 4449 cat >>confdefs.h <<\_ACEOF 4450 #define _XOPEN_SOURCE_EXTENDED 1 4451 _ACEOF 4604 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 4452 4605 # Use the XOPEN network library 4453 4606 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 4458 4611 SHLIB_SUFFIX=".sl" 4459 4612 fi 4460 { $as_echo "$as_me:$ LINENO: checking for shl_load in -ldld" >&54613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 4461 4614 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4462 if test "${ac_cv_lib_dld_shl_load+set}" = set; then4615 if ${ac_cv_lib_dld_shl_load+:} false; then : 4463 4616 $as_echo_n "(cached) " >&6 4464 4617 else 4465 4618 ac_check_lib_save_LIBS=$LIBS 4466 4619 LIBS="-ldld $LIBS" 4467 cat >conftest.$ac_ext <<_ACEOF 4468 /* confdefs.h. */ 4469 _ACEOF 4470 cat confdefs.h >>conftest.$ac_ext 4471 cat >>conftest.$ac_ext <<_ACEOF 4620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4472 4621 /* end confdefs.h. */ 4473 4622 … … 4487 4636 } 4488 4637 _ACEOF 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 4638 if ac_fn_c_try_link "$LINENO"; then : 4510 4639 ac_cv_lib_dld_shl_load=yes 4511 4640 else 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 4641 ac_cv_lib_dld_shl_load=no 4642 fi 4643 rm -f core conftest.err conftest.$ac_objext \ 4644 conftest$ac_exeext conftest.$ac_ext 4521 4645 LIBS=$ac_check_lib_save_LIBS 4522 4646 fi 4523 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dld_shl_load" >&54647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 4524 4648 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4525 if test "x$ac_cv_lib_dld_shl_load" = x ""yes; then4649 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 4526 4650 tcl_ok=yes 4527 4651 else … … 4563 4687 ;; 4564 4688 *) 4565 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&54689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 4566 4690 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 4567 4691 ;; … … 4576 4700 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 4577 4701 SHLIB_SUFFIX=".sl" 4578 { $as_echo "$as_me:$ LINENO: checking for shl_load in -ldld" >&54702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 4579 4703 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4580 if test "${ac_cv_lib_dld_shl_load+set}" = set; then4704 if ${ac_cv_lib_dld_shl_load+:} false; then : 4581 4705 $as_echo_n "(cached) " >&6 4582 4706 else 4583 4707 ac_check_lib_save_LIBS=$LIBS 4584 4708 LIBS="-ldld $LIBS" 4585 cat >conftest.$ac_ext <<_ACEOF 4586 /* confdefs.h. */ 4587 _ACEOF 4588 cat confdefs.h >>conftest.$ac_ext 4589 cat >>conftest.$ac_ext <<_ACEOF 4709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4590 4710 /* end confdefs.h. */ 4591 4711 … … 4605 4725 } 4606 4726 _ACEOF 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 4727 if ac_fn_c_try_link "$LINENO"; then : 4628 4728 ac_cv_lib_dld_shl_load=yes 4629 4729 else 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 4730 ac_cv_lib_dld_shl_load=no 4731 fi 4732 rm -f core conftest.err conftest.$ac_objext \ 4733 conftest$ac_exeext conftest.$ac_ext 4639 4734 LIBS=$ac_check_lib_save_LIBS 4640 4735 fi 4641 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dld_shl_load" >&54736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 4642 4737 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4643 if test "x$ac_cv_lib_dld_shl_load" = x ""yes; then4738 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 4644 4739 tcl_ok=yes 4645 4740 else … … 4720 4815 if test "$do64bit" = "yes" ; then 4721 4816 if test "$GCC" = "yes" ; then 4722 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported by gcc" >&54817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5 4723 4818 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 4724 4819 else … … 4749 4844 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4750 4845 else 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 4846 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4847 if test "x$ac_cv_header_dld_h" = xyes; then : 4884 4848 4885 4849 SHLIB_LD="ld -shared" … … 4896 4860 fi 4897 4861 if test $do64bit = yes; then 4898 { $as_echo "$as_me:$ LINENO: checking if compiler accepts -m64 flag" >&54862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5 4899 4863 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 4900 if test "${tcl_cv_cc_m64+set}" = set; then4864 if ${tcl_cv_cc_m64+:} false; then : 4901 4865 $as_echo_n "(cached) " >&6 4902 4866 else … … 4904 4868 hold_cflags=$CFLAGS 4905 4869 CFLAGS="$CFLAGS -m64" 4906 cat >conftest.$ac_ext <<_ACEOF 4907 /* confdefs.h. */ 4908 _ACEOF 4909 cat confdefs.h >>conftest.$ac_ext 4910 cat >>conftest.$ac_ext <<_ACEOF 4870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4911 4871 /* end confdefs.h. */ 4912 4872 … … 4919 4879 } 4920 4880 _ACEOF 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 4881 if ac_fn_c_try_link "$LINENO"; then : 4942 4882 tcl_cv_cc_m64=yes 4943 4883 else 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 4884 tcl_cv_cc_m64=no 4885 fi 4886 rm -f core conftest.err conftest.$ac_objext \ 4887 conftest$ac_exeext conftest.$ac_ext 4953 4888 CFLAGS=$hold_cflags 4954 4889 fi 4955 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_cc_m64" >&54890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5 4956 4891 $as_echo "$tcl_cv_cc_m64" >&6; } 4957 4892 if test $tcl_cv_cc_m64 = yes; then … … 4973 4908 4974 4909 # XIM peeking works under XFree86. 4975 cat >>confdefs.h <<\_ACEOF 4976 #define PEEK_XCLOSEIM 1 4977 _ACEOF 4910 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 4978 4911 4979 4912 … … 4992 4925 LD_SEARCH_FLAGS="" 4993 4926 else 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 4927 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4928 if test "x$ac_cv_header_dld_h" = xyes; then : 5127 4929 5128 4930 SHLIB_LD="ld -shared" … … 5174 4976 NetBSD-*|FreeBSD-[1-2].*) 5175 4977 # Not available on all versions: check for include file. 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 4978 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 4979 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 5309 4980 5310 4981 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 5317 4988 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 5318 4989 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 5319 { $as_echo "$as_me:$ LINENO: checking for ELF" >&54990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 5320 4991 $as_echo_n "checking for ELF... " >&6; } 5321 if test "${tcl_cv_ld_elf+set}" = set; then4992 if ${tcl_cv_ld_elf+:} false; then : 5322 4993 $as_echo_n "(cached) " >&6 5323 4994 else 5324 4995 5325 cat >conftest.$ac_ext <<_ACEOF 5326 /* confdefs.h. */ 5327 _ACEOF 5328 cat confdefs.h >>conftest.$ac_ext 5329 cat >>conftest.$ac_ext <<_ACEOF 4996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5330 4997 /* end confdefs.h. */ 5331 4998 … … 5336 5003 _ACEOF 5337 5004 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5338 $EGREP "yes" >/dev/null 2>&1; then 5005 $EGREP "yes" >/dev/null 2>&1; then : 5339 5006 tcl_cv_ld_elf=yes 5340 5007 else … … 5344 5011 5345 5012 fi 5346 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_elf" >&55013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 5347 5014 $as_echo "$tcl_cv_ld_elf" >&6; } 5348 5015 if test $tcl_cv_ld_elf = yes; then … … 5403 5070 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 5404 5071 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 5405 { $as_echo "$as_me:$ LINENO: checking for ELF" >&55072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 5406 5073 $as_echo_n "checking for ELF... " >&6; } 5407 if test "${tcl_cv_ld_elf+set}" = set; then5074 if ${tcl_cv_ld_elf+:} false; then : 5408 5075 $as_echo_n "(cached) " >&6 5409 5076 else 5410 5077 5411 cat >conftest.$ac_ext <<_ACEOF 5412 /* confdefs.h. */ 5413 _ACEOF 5414 cat confdefs.h >>conftest.$ac_ext 5415 cat >>conftest.$ac_ext <<_ACEOF 5078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5416 5079 /* end confdefs.h. */ 5417 5080 … … 5422 5085 _ACEOF 5423 5086 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5424 $EGREP "yes" >/dev/null 2>&1; then 5087 $EGREP "yes" >/dev/null 2>&1; then : 5425 5088 tcl_cv_ld_elf=yes 5426 5089 else … … 5430 5093 5431 5094 fi 5432 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_elf" >&55095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 5433 5096 $as_echo "$tcl_cv_ld_elf" >&6; } 5434 5097 if test $tcl_cv_ld_elf = yes; then … … 5485 5148 case `arch` in 5486 5149 ppc) 5487 { $as_echo "$as_me:$ LINENO: checking if compiler accepts -arch ppc64 flag" >&55150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5 5488 5151 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 5489 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then5152 if ${tcl_cv_cc_arch_ppc64+:} false; then : 5490 5153 $as_echo_n "(cached) " >&6 5491 5154 else … … 5493 5156 hold_cflags=$CFLAGS 5494 5157 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 5495 cat >conftest.$ac_ext <<_ACEOF 5496 /* confdefs.h. */ 5497 _ACEOF 5498 cat confdefs.h >>conftest.$ac_ext 5499 cat >>conftest.$ac_ext <<_ACEOF 5158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5500 5159 /* end confdefs.h. */ 5501 5160 … … 5508 5167 } 5509 5168 _ACEOF 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 5169 if ac_fn_c_try_link "$LINENO"; then : 5531 5170 tcl_cv_cc_arch_ppc64=yes 5532 5171 else 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 5172 tcl_cv_cc_arch_ppc64=no 5173 fi 5174 rm -f core conftest.err conftest.$ac_objext \ 5175 conftest$ac_exeext conftest.$ac_ext 5542 5176 CFLAGS=$hold_cflags 5543 5177 fi 5544 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_cc_arch_ppc64" >&55178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5 5545 5179 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 5546 5180 if test $tcl_cv_cc_arch_ppc64 = yes; then … … 5549 5183 fi;; 5550 5184 i386) 5551 { $as_echo "$as_me:$ LINENO: checking if compiler accepts -arch x86_64 flag" >&55185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5 5552 5186 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 5553 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then5187 if ${tcl_cv_cc_arch_x86_64+:} false; then : 5554 5188 $as_echo_n "(cached) " >&6 5555 5189 else … … 5557 5191 hold_cflags=$CFLAGS 5558 5192 CFLAGS="$CFLAGS -arch x86_64" 5559 cat >conftest.$ac_ext <<_ACEOF 5560 /* confdefs.h. */ 5561 _ACEOF 5562 cat confdefs.h >>conftest.$ac_ext 5563 cat >>conftest.$ac_ext <<_ACEOF 5193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5564 5194 /* end confdefs.h. */ 5565 5195 … … 5572 5202 } 5573 5203 _ACEOF 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 5204 if ac_fn_c_try_link "$LINENO"; then : 5595 5205 tcl_cv_cc_arch_x86_64=yes 5596 5206 else 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 5207 tcl_cv_cc_arch_x86_64=no 5208 fi 5209 rm -f core conftest.err conftest.$ac_objext \ 5210 conftest$ac_exeext conftest.$ac_ext 5606 5211 CFLAGS=$hold_cflags 5607 5212 fi 5608 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_cc_arch_x86_64" >&55213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5 5609 5214 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 5610 5215 if test $tcl_cv_cc_arch_x86_64 = yes; then … … 5613 5218 fi;; 5614 5219 *) 5615 { $as_echo "$as_me:$ LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&55220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 5616 5221 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 5617 5222 esac … … 5623 5228 fi 5624 5229 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 5625 { $as_echo "$as_me:$ LINENO: checking if ld accepts -single_module flag" >&55230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5 5626 5231 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 5627 if test "${tcl_cv_ld_single_module+set}" = set; then5232 if ${tcl_cv_ld_single_module+:} false; then : 5628 5233 $as_echo_n "(cached) " >&6 5629 5234 else … … 5631 5236 hold_ldflags=$LDFLAGS 5632 5237 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 5633 cat >conftest.$ac_ext <<_ACEOF 5634 /* confdefs.h. */ 5635 _ACEOF 5636 cat confdefs.h >>conftest.$ac_ext 5637 cat >>conftest.$ac_ext <<_ACEOF 5238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5638 5239 /* end confdefs.h. */ 5639 5240 … … 5646 5247 } 5647 5248 _ACEOF 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 5249 if ac_fn_c_try_link "$LINENO"; then : 5669 5250 tcl_cv_ld_single_module=yes 5670 5251 else 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 5252 tcl_cv_ld_single_module=no 5253 fi 5254 rm -f core conftest.err conftest.$ac_objext \ 5255 conftest$ac_exeext conftest.$ac_ext 5680 5256 LDFLAGS=$hold_ldflags 5681 5257 fi 5682 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_single_module" >&55258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5 5683 5259 $as_echo "$tcl_cv_ld_single_module" >&6; } 5684 5260 if test $tcl_cv_ld_single_module = yes; then … … 5694 5270 LDFLAGS="$LDFLAGS -prebind" 5695 5271 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 5696 { $as_echo "$as_me:$ LINENO: checking if ld accepts -search_paths_first flag" >&55272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5 5697 5273 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 5698 if test "${tcl_cv_ld_search_paths_first+set}" = set; then5274 if ${tcl_cv_ld_search_paths_first+:} false; then : 5699 5275 $as_echo_n "(cached) " >&6 5700 5276 else … … 5702 5278 hold_ldflags=$LDFLAGS 5703 5279 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 5704 cat >conftest.$ac_ext <<_ACEOF 5705 /* confdefs.h. */ 5706 _ACEOF 5707 cat confdefs.h >>conftest.$ac_ext 5708 cat >>conftest.$ac_ext <<_ACEOF 5280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5709 5281 /* end confdefs.h. */ 5710 5282 … … 5717 5289 } 5718 5290 _ACEOF 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 5291 if ac_fn_c_try_link "$LINENO"; then : 5740 5292 tcl_cv_ld_search_paths_first=yes 5741 5293 else 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 5294 tcl_cv_ld_search_paths_first=no 5295 fi 5296 rm -f core conftest.err conftest.$ac_objext \ 5297 conftest$ac_exeext conftest.$ac_ext 5751 5298 LDFLAGS=$hold_ldflags 5752 5299 fi 5753 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_search_paths_first" >&55300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5 5754 5301 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 5755 5302 if test $tcl_cv_ld_search_paths_first = yes; then … … 5761 5308 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 5762 5309 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 5763 { $as_echo "$as_me:$ LINENO: checking whether to use CoreFoundation" >&55310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5 5764 5311 $as_echo_n "checking whether to use CoreFoundation... " >&6; } 5765 5312 # Check whether --enable-corefoundation was given. 5766 if test "${enable_corefoundation+set}" = set; then 5313 if test "${enable_corefoundation+set}" = set; then : 5767 5314 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 5768 5315 else … … 5770 5317 fi 5771 5318 5772 { $as_echo "$as_me:$ LINENO: result: $tcl_corefoundation" >&55319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5 5773 5320 $as_echo "$tcl_corefoundation" >&6; } 5774 5321 if test $tcl_corefoundation = yes; then 5775 { $as_echo "$as_me:$ LINENO: checking for CoreFoundation.framework" >&55322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5 5776 5323 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 5777 if test "${tcl_cv_lib_corefoundation+set}" = set; then5324 if ${tcl_cv_lib_corefoundation+:} false; then : 5778 5325 $as_echo_n "(cached) " >&6 5779 5326 else … … 5787 5334 done; fi 5788 5335 LIBS="$LIBS -framework CoreFoundation" 5789 cat >conftest.$ac_ext <<_ACEOF 5790 /* confdefs.h. */ 5791 _ACEOF 5792 cat confdefs.h >>conftest.$ac_ext 5793 cat >>conftest.$ac_ext <<_ACEOF 5336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5794 5337 /* end confdefs.h. */ 5795 5338 #include <CoreFoundation/CoreFoundation.h> … … 5802 5345 } 5803 5346 _ACEOF 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 5347 if ac_fn_c_try_link "$LINENO"; then : 5825 5348 tcl_cv_lib_corefoundation=yes 5826 5349 else 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 5350 tcl_cv_lib_corefoundation=no 5351 fi 5352 rm -f core conftest.err conftest.$ac_objext \ 5353 conftest$ac_exeext conftest.$ac_ext 5836 5354 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 5837 5355 eval $v'="$hold_'$v'"' 5838 5356 done; fi; LIBS=$hold_libs 5839 5357 fi 5840 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_lib_corefoundation" >&55358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5 5841 5359 $as_echo "$tcl_cv_lib_corefoundation" >&6; } 5842 5360 if test $tcl_cv_lib_corefoundation = yes; then 5843 5361 LIBS="$LIBS -framework CoreFoundation" 5844 cat >>confdefs.h <<\_ACEOF 5845 #define HAVE_COREFOUNDATION 1 5846 _ACEOF 5362 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 5847 5363 5848 5364 else … … 5850 5366 fi 5851 5367 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 5852 { $as_echo "$as_me:$ LINENO: checking for 64-bit CoreFoundation" >&55368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5 5853 5369 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 5854 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then5370 if ${tcl_cv_lib_corefoundation_64+:} false; then : 5855 5371 $as_echo_n "(cached) " >&6 5856 5372 else … … 5859 5375 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 5860 5376 done 5861 cat >conftest.$ac_ext <<_ACEOF 5862 /* confdefs.h. */ 5863 _ACEOF 5864 cat confdefs.h >>conftest.$ac_ext 5865 cat >>conftest.$ac_ext <<_ACEOF 5377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5866 5378 /* end confdefs.h. */ 5867 5379 #include <CoreFoundation/CoreFoundation.h> … … 5874 5386 } 5875 5387 _ACEOF 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 5388 if ac_fn_c_try_link "$LINENO"; then : 5897 5389 tcl_cv_lib_corefoundation_64=yes 5898 5390 else 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 5391 tcl_cv_lib_corefoundation_64=no 5392 fi 5393 rm -f core conftest.err conftest.$ac_objext \ 5394 conftest$ac_exeext conftest.$ac_ext 5908 5395 for v in CFLAGS CPPFLAGS LDFLAGS; do 5909 5396 eval $v'="$hold_'$v'"' 5910 5397 done 5911 5398 fi 5912 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_lib_corefoundation_64" >&55399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5 5913 5400 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; } 5914 5401 if test $tcl_cv_lib_corefoundation_64 = no; then 5915 cat >>confdefs.h <<\_ACEOF 5916 #define NO_COREFOUNDATION_64 1 5917 _ACEOF 5402 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 5918 5403 5919 5404 fi 5920 5405 fi 5921 5406 fi 5922 cat >>confdefs.h <<\_ACEOF 5923 #define MAC_OSX_TCL 1 5924 _ACEOF 5407 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 5925 5408 5926 5409 ;; … … 5937 5420 OS/390-*) 5938 5421 CFLAGS_OPTIMIZE="" # Optimizer is buggy 5939 cat >>confdefs.h <<\_ACEOF 5940 #define _OE_SOCKETS 1 5941 _ACEOF 5422 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 5942 5423 # needed in sys/socket.h 5943 5424 ;; … … 6080 5561 # won't define thread-safe library routines. 6081 5562 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 5563 $as_echo "#define _REENTRANT 1" >>confdefs.h 5564 5565 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 6089 5566 6090 5567 … … 6112 5589 # won't define thread-safe library routines. 6113 5590 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 5591 $as_echo "#define _REENTRANT 1" >>confdefs.h 5592 5593 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 6121 5594 6122 5595 … … 6129 5602 if test "$GCC" = "yes" ; then 6130 5603 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 6131 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&55604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 6132 5605 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 6133 5606 else … … 6151 5624 elif test "$arch" = "amd64 i386" ; then 6152 5625 if test "$GCC" = "yes" ; then 6153 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&55626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 6154 5627 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 6155 5628 else … … 6159 5632 fi 6160 5633 else 6161 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported for $arch" >&55634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5 6162 5635 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 6163 5636 fi … … 6218 5691 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 6219 5692 # that don't grok the -Bexport option. Test that it does. 6220 { $as_echo "$as_me:$ LINENO: checking for ld accepts -Bexport flag" >&55693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5 6221 5694 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 6222 if test "${tcl_cv_ld_Bexport+set}" = set; then5695 if ${tcl_cv_ld_Bexport+:} false; then : 6223 5696 $as_echo_n "(cached) " >&6 6224 5697 else … … 6226 5699 hold_ldflags=$LDFLAGS 6227 5700 LDFLAGS="$LDFLAGS -Wl,-Bexport" 6228 cat >conftest.$ac_ext <<_ACEOF 6229 /* confdefs.h. */ 6230 _ACEOF 6231 cat confdefs.h >>conftest.$ac_ext 6232 cat >>conftest.$ac_ext <<_ACEOF 5701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6233 5702 /* end confdefs.h. */ 6234 5703 … … 6241 5710 } 6242 5711 _ACEOF 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 5712 if ac_fn_c_try_link "$LINENO"; then : 6264 5713 tcl_cv_ld_Bexport=yes 6265 5714 else 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 5715 tcl_cv_ld_Bexport=no 5716 fi 5717 rm -f core conftest.err conftest.$ac_objext \ 5718 conftest$ac_exeext conftest.$ac_ext 6275 5719 LDFLAGS=$hold_ldflags 6276 5720 fi 6277 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_Bexport" >&55721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5 6278 5722 $as_echo "$tcl_cv_ld_Bexport" >&6; } 6279 5723 if test $tcl_cv_ld_Bexport = yes; then … … 6286 5730 6287 5731 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 6288 { $as_echo "$as_me:$ LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&55732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 6289 5733 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 6290 5734 fi … … 6313 5757 6314 5758 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 6315 { $as_echo "$as_me:$ LINENO: checking sys/exec.h" >&55759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5 6316 5760 $as_echo_n "checking sys/exec.h... " >&6; } 6317 if test "${tcl_cv_sysexec_h+set}" = set; then5761 if ${tcl_cv_sysexec_h+:} false; then : 6318 5762 $as_echo_n "(cached) " >&6 6319 5763 else 6320 5764 6321 cat >conftest.$ac_ext <<_ACEOF 6322 /* confdefs.h. */ 6323 _ACEOF 6324 cat confdefs.h >>conftest.$ac_ext 6325 cat >>conftest.$ac_ext <<_ACEOF 5765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6326 5766 /* end confdefs.h. */ 6327 5767 #include <sys/exec.h> … … 6345 5785 } 6346 5786 _ACEOF 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 5787 if ac_fn_c_try_compile "$LINENO"; then : 6365 5788 tcl_cv_sysexec_h=usable 6366 5789 else 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 5790 tcl_cv_sysexec_h=unusable 5791 fi 6373 5792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6374 5793 fi 6375 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sysexec_h" >&55794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5 6376 5795 $as_echo "$tcl_cv_sysexec_h" >&6; } 6377 5796 if test $tcl_cv_sysexec_h = usable; then 6378 cat >>confdefs.h <<\_ACEOF 6379 #define USE_SYS_EXEC_H 1 6380 _ACEOF 5797 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 6381 5798 6382 5799 else 6383 { $as_echo "$as_me:$ LINENO: checking a.out.h" >&55800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5 6384 5801 $as_echo_n "checking a.out.h... " >&6; } 6385 if test "${tcl_cv_aout_h+set}" = set; then5802 if ${tcl_cv_aout_h+:} false; then : 6386 5803 $as_echo_n "(cached) " >&6 6387 5804 else 6388 5805 6389 cat >conftest.$ac_ext <<_ACEOF 6390 /* confdefs.h. */ 6391 _ACEOF 6392 cat confdefs.h >>conftest.$ac_ext 6393 cat >>conftest.$ac_ext <<_ACEOF 5806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6394 5807 /* end confdefs.h. */ 6395 5808 #include <a.out.h> … … 6413 5826 } 6414 5827 _ACEOF 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 5828 if ac_fn_c_try_compile "$LINENO"; then : 6433 5829 tcl_cv_aout_h=usable 6434 5830 else 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 5831 tcl_cv_aout_h=unusable 5832 fi 6441 5833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6442 5834 fi 6443 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_aout_h" >&55835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5 6444 5836 $as_echo "$tcl_cv_aout_h" >&6; } 6445 5837 if test $tcl_cv_aout_h = usable; then 6446 cat >>confdefs.h <<\_ACEOF 6447 #define USE_A_OUT_H 1 6448 _ACEOF 5838 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 6449 5839 6450 5840 else 6451 { $as_echo "$as_me:$ LINENO: checking sys/exec_aout.h" >&55841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5 6452 5842 $as_echo_n "checking sys/exec_aout.h... " >&6; } 6453 if test "${tcl_cv_sysexecaout_h+set}" = set; then5843 if ${tcl_cv_sysexecaout_h+:} false; then : 6454 5844 $as_echo_n "(cached) " >&6 6455 5845 else 6456 5846 6457 cat >conftest.$ac_ext <<_ACEOF 6458 /* confdefs.h. */ 6459 _ACEOF 6460 cat confdefs.h >>conftest.$ac_ext 6461 cat >>conftest.$ac_ext <<_ACEOF 5847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6462 5848 /* end confdefs.h. */ 6463 5849 #include <sys/exec_aout.h> … … 6481 5867 } 6482 5868 _ACEOF 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 5869 if ac_fn_c_try_compile "$LINENO"; then : 6501 5870 tcl_cv_sysexecaout_h=usable 6502 5871 else 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 5872 tcl_cv_sysexecaout_h=unusable 5873 fi 6509 5874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6510 5875 fi 6511 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sysexecaout_h" >&55876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5 6512 5877 $as_echo "$tcl_cv_sysexecaout_h" >&6; } 6513 5878 if test $tcl_cv_sysexecaout_h = usable; then 6514 cat >>confdefs.h <<\_ACEOF 6515 #define USE_SYS_EXEC_AOUT_H 1 6516 _ACEOF 5879 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 6517 5880 6518 5881 else … … 6526 5889 6527 5890 # Check whether --enable-load was given. 6528 if test "${enable_load+set}" = set; then 5891 if test "${enable_load+set}" = set; then : 6529 5892 enableval=$enable_load; tcl_ok=$enableval 6530 5893 else … … 6649 6012 6650 6013 6651 { $as_echo "$as_me:$ LINENO: checking for X" >&56014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 6652 6015 $as_echo_n "checking for X... " >&6; } 6653 6016 6654 6017 6655 6018 # Check whether --with-x was given. 6656 if test "${with_x+set}" = set; then 6019 if test "${with_x+set}" = set; then : 6657 6020 withval=$with_x; 6658 6021 fi … … 6664 6027 else 6665 6028 case $x_includes,$x_libraries in #( 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 6029 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 6030 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 6670 6031 $as_echo_n "(cached) " >&6 6671 6032 else … … 6684 6045 _ACEOF 6685 6046 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 6686 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.6047 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 6687 6048 for ac_var in incroot usrlibdir libdir; do 6688 6049 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" … … 6715 6076 ac_x_header_dirs=' 6716 6077 /usr/X11/include 6078 /usr/X11R7/include 6717 6079 /usr/X11R6/include 6718 6080 /usr/X11R5/include … … 6720 6082 6721 6083 /usr/include/X11 6084 /usr/include/X11R7 6722 6085 /usr/include/X11R6 6723 6086 /usr/include/X11R5 … … 6725 6088 6726 6089 /usr/local/X11/include 6090 /usr/local/X11R7/include 6727 6091 /usr/local/X11R6/include 6728 6092 /usr/local/X11R5/include … … 6730 6094 6731 6095 /usr/local/include/X11 6096 /usr/local/include/X11R7 6732 6097 /usr/local/include/X11R6 6733 6098 /usr/local/include/X11R5 … … 6751 6116 # Guess where to find include files, by looking for Xlib.h. 6752 6117 # First, try using that file with no special directory specified. 6753 cat >conftest.$ac_ext <<_ACEOF 6754 /* confdefs.h. */ 6755 _ACEOF 6756 cat confdefs.h >>conftest.$ac_ext 6757 cat >>conftest.$ac_ext <<_ACEOF 6118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6758 6119 /* end confdefs.h. */ 6759 6120 #include <X11/Xlib.h> 6760 6121 _ACEOF 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 6122 if ac_fn_c_try_cpp "$LINENO"; then : 6778 6123 # We can compile using X headers with no special include directory. 6779 6124 ac_x_includes= 6780 6125 else 6781 $as_echo "$as_me: failed program was:" >&56782 sed 's/^/| /' conftest.$ac_ext >&56783 6784 6126 for ac_dir in $ac_x_header_dirs; do 6785 6127 if test -r "$ac_dir/X11/Xlib.h"; then … … 6789 6131 done 6790 6132 fi 6791 6792 rm -f conftest.err conftest.$ac_ext 6133 rm -f conftest.err conftest.i conftest.$ac_ext 6793 6134 fi # $ac_x_includes = no 6794 6135 … … 6799 6140 ac_save_LIBS=$LIBS 6800 6141 LIBS="-lX11 $LIBS" 6801 cat >conftest.$ac_ext <<_ACEOF 6802 /* confdefs.h. */ 6803 _ACEOF 6804 cat confdefs.h >>conftest.$ac_ext 6805 cat >>conftest.$ac_ext <<_ACEOF 6142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6806 6143 /* end confdefs.h. */ 6807 6144 #include <X11/Xlib.h> … … 6814 6151 } 6815 6152 _ACEOF 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 6153 if ac_fn_c_try_link "$LINENO"; then : 6837 6154 LIBS=$ac_save_LIBS 6838 6155 # We can link X programs with no special library path. 6839 6156 ac_x_libraries= 6840 6157 else 6841 $as_echo "$as_me: failed program was:" >&5 6842 sed 's/^/| /' conftest.$ac_ext >&5 6843 6844 LIBS=$ac_save_LIBS 6158 LIBS=$ac_save_LIBS 6845 6159 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 6846 6160 do … … 6854 6168 done 6855 6169 fi 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 6170 rm -f core conftest.err conftest.$ac_objext \ 6171 conftest$ac_exeext conftest.$ac_ext 6860 6172 fi # $ac_x_libraries = no 6861 6173 … … 6878 6190 6879 6191 if test "$have_x" != yes; then 6880 { $as_echo "$as_me:$ LINENO: result: $have_x" >&56192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 6881 6193 $as_echo "$have_x" >&6; } 6882 6194 no_x=yes … … 6889 6201 ac_x_includes='$x_includes'\ 6890 6202 ac_x_libraries='$x_libraries'" 6891 { $as_echo "$as_me:$ LINENO: result: libraries $x_libraries, headers $x_includes" >&56203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 6892 6204 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } 6893 6205 fi … … 6908 6220 # ./install, which can be erroneously created by make from ./install.sh. 6909 6221 # Reject install programs that cannot install multiple files. 6910 { $as_echo "$as_me:$ LINENO: checking for a BSD-compatible install" >&56222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 6911 6223 $as_echo_n "checking for a BSD-compatible install... " >&6; } 6912 6224 if test -z "$INSTALL"; then 6913 if test "${ac_cv_path_install+set}" = set; then6225 if ${ac_cv_path_install+:} false; then : 6914 6226 $as_echo_n "(cached) " >&6 6915 6227 else … … 6919 6231 IFS=$as_save_IFS 6920 6232 test -z "$as_dir" && as_dir=. 6921 # Account for people who put trailing slashes in PATH elements.6922 case $as_dir/ in 6923 ./ | .// | / cC/* | \6233 # Account for people who put trailing slashes in PATH elements. 6234 case $as_dir/ in #(( 6235 ./ | .// | /[cC]/* | \ 6924 6236 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 6925 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \6237 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 6926 6238 /usr/ucb/* ) ;; 6927 6239 *) … … 6931 6243 for ac_prog in ginstall scoinst install; do 6932 6244 for ac_exec_ext in '' $ac_executable_extensions; do 6933 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then6245 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 6934 6246 if test $ac_prog = install && 6935 6247 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 6960 6272 esac 6961 6273 6962 done6274 done 6963 6275 IFS=$as_save_IFS 6964 6276 … … 6976 6288 fi 6977 6289 fi 6978 { $as_echo "$as_me:$ LINENO: result: $INSTALL" >&56290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 6979 6291 $as_echo "$INSTALL" >&6; } 6980 6292 … … 6990 6302 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6991 6303 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6992 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6993 6305 $as_echo_n "checking for $ac_word... " >&6; } 6994 if test "${ac_cv_prog_RANLIB+set}" = set; then6306 if ${ac_cv_prog_RANLIB+:} false; then : 6995 6307 $as_echo_n "(cached) " >&6 6996 6308 else … … 7003 6315 IFS=$as_save_IFS 7004 6316 test -z "$as_dir" && as_dir=. 7005 for ac_exec_ext in '' $ac_executable_extensions; do7006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6317 for ac_exec_ext in '' $ac_executable_extensions; do 6318 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7007 6319 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7008 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7009 6321 break 2 7010 6322 fi 7011 6323 done 7012 done6324 done 7013 6325 IFS=$as_save_IFS 7014 6326 … … 7017 6329 RANLIB=$ac_cv_prog_RANLIB 7018 6330 if test -n "$RANLIB"; then 7019 { $as_echo "$as_me:$ LINENO: result: $RANLIB" >&56331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7020 6332 $as_echo "$RANLIB" >&6; } 7021 6333 else 7022 { $as_echo "$as_me:$ LINENO: result: no" >&56334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7023 6335 $as_echo "no" >&6; } 7024 6336 fi … … 7030 6342 # Extract the first word of "ranlib", so it can be a program name with args. 7031 6343 set dummy ranlib; ac_word=$2 7032 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7033 6345 $as_echo_n "checking for $ac_word... " >&6; } 7034 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then6346 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 7035 6347 $as_echo_n "(cached) " >&6 7036 6348 else … … 7043 6355 IFS=$as_save_IFS 7044 6356 test -z "$as_dir" && as_dir=. 7045 for ac_exec_ext in '' $ac_executable_extensions; do7046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6357 for ac_exec_ext in '' $ac_executable_extensions; do 6358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7047 6359 ac_cv_prog_ac_ct_RANLIB="ranlib" 7048 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7049 6361 break 2 7050 6362 fi 7051 6363 done 7052 done6364 done 7053 6365 IFS=$as_save_IFS 7054 6366 … … 7057 6369 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7058 6370 if test -n "$ac_ct_RANLIB"; then 7059 { $as_echo "$as_me:$ LINENO: result: $ac_ct_RANLIB" >&56371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7060 6372 $as_echo "$ac_ct_RANLIB" >&6; } 7061 6373 else 7062 { $as_echo "$as_me:$ LINENO: result: no" >&56374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7063 6375 $as_echo "no" >&6; } 7064 6376 fi … … 7069 6381 case $cross_compiling:$ac_tool_warned in 7070 6382 yes:) 7071 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&56383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7072 6384 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7073 6385 ac_tool_warned=yes ;; … … 7079 6391 fi 7080 6392 7081 { $as_echo "$as_me:$ LINENO: checking whether ln -s works" >&56393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 7082 6394 $as_echo_n "checking whether ln -s works... " >&6; } 7083 6395 LN_S=$as_ln_s 7084 6396 if test "$LN_S" = "ln -s"; then 7085 { $as_echo "$as_me:$ LINENO: result: yes" >&56397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7086 6398 $as_echo "yes" >&6; } 7087 6399 else 7088 { $as_echo "$as_me:$ LINENO: result: no, using $LN_S" >&56400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 7089 6401 $as_echo "no, using $LN_S" >&6; } 7090 6402 fi 7091 6403 7092 { $as_echo "$as_me:$ LINENO: checking for a thread-safe mkdir -p" >&56404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 7093 6405 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 7094 6406 if test -z "$MKDIR_P"; then 7095 if test "${ac_cv_path_mkdir+set}" = set; then6407 if ${ac_cv_path_mkdir+:} false; then : 7096 6408 $as_echo_n "(cached) " >&6 7097 6409 else … … 7101 6413 IFS=$as_save_IFS 7102 6414 test -z "$as_dir" && as_dir=. 7103 for ac_prog in mkdir gmkdir; do6415 for ac_prog in mkdir gmkdir; do 7104 6416 for ac_exec_ext in '' $ac_executable_extensions; do 7105 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }|| continue6417 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 7106 6418 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 7107 6419 'mkdir (GNU coreutils) '* | \ … … 7113 6425 done 7114 6426 done 7115 done6427 done 7116 6428 IFS=$as_save_IFS 7117 6429 7118 6430 fi 7119 6431 6432 test -d ./--version && rmdir ./--version 7120 6433 if test "${ac_cv_path_mkdir+set}" = set; then 7121 6434 MKDIR_P="$ac_cv_path_mkdir -p" … … 7125 6438 # break other packages using the cache if that directory is 7126 6439 # removed, or if the value is a relative name. 7127 test -d ./--version && rmdir ./--version7128 6440 MKDIR_P="$ac_install_sh -d" 7129 6441 fi 7130 6442 fi 7131 { $as_echo "$as_me:$ LINENO: result: $MKDIR_P" >&56443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 7132 6444 $as_echo "$MKDIR_P" >&6; } 7133 6445 … … 7141 6453 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 7142 6454 set dummy ${ac_tool_prefix}gcc; ac_word=$2 7143 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7144 6456 $as_echo_n "checking for $ac_word... " >&6; } 7145 if test "${ac_cv_prog_CC+set}" = set; then6457 if ${ac_cv_prog_CC+:} false; then : 7146 6458 $as_echo_n "(cached) " >&6 7147 6459 else … … 7154 6466 IFS=$as_save_IFS 7155 6467 test -z "$as_dir" && as_dir=. 7156 for ac_exec_ext in '' $ac_executable_extensions; do7157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6468 for ac_exec_ext in '' $ac_executable_extensions; do 6469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7158 6470 ac_cv_prog_CC="${ac_tool_prefix}gcc" 7159 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7160 6472 break 2 7161 6473 fi 7162 6474 done 7163 done6475 done 7164 6476 IFS=$as_save_IFS 7165 6477 … … 7168 6480 CC=$ac_cv_prog_CC 7169 6481 if test -n "$CC"; then 7170 { $as_echo "$as_me:$ LINENO: result: $CC" >&56482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 7171 6483 $as_echo "$CC" >&6; } 7172 6484 else 7173 { $as_echo "$as_me:$ LINENO: result: no" >&56485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7174 6486 $as_echo "no" >&6; } 7175 6487 fi … … 7181 6493 # Extract the first word of "gcc", so it can be a program name with args. 7182 6494 set dummy gcc; ac_word=$2 7183 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7184 6496 $as_echo_n "checking for $ac_word... " >&6; } 7185 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then6497 if ${ac_cv_prog_ac_ct_CC+:} false; then : 7186 6498 $as_echo_n "(cached) " >&6 7187 6499 else … … 7194 6506 IFS=$as_save_IFS 7195 6507 test -z "$as_dir" && as_dir=. 7196 for ac_exec_ext in '' $ac_executable_extensions; do7197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6508 for ac_exec_ext in '' $ac_executable_extensions; do 6509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7198 6510 ac_cv_prog_ac_ct_CC="gcc" 7199 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7200 6512 break 2 7201 6513 fi 7202 6514 done 7203 done6515 done 7204 6516 IFS=$as_save_IFS 7205 6517 … … 7208 6520 ac_ct_CC=$ac_cv_prog_ac_ct_CC 7209 6521 if test -n "$ac_ct_CC"; then 7210 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&56522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 7211 6523 $as_echo "$ac_ct_CC" >&6; } 7212 6524 else 7213 { $as_echo "$as_me:$ LINENO: result: no" >&56525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7214 6526 $as_echo "no" >&6; } 7215 6527 fi … … 7220 6532 case $cross_compiling:$ac_tool_warned in 7221 6533 yes:) 7222 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&56534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7223 6535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7224 6536 ac_tool_warned=yes ;; … … 7234 6546 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 7235 6547 set dummy ${ac_tool_prefix}cc; ac_word=$2 7236 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7237 6549 $as_echo_n "checking for $ac_word... " >&6; } 7238 if test "${ac_cv_prog_CC+set}" = set; then6550 if ${ac_cv_prog_CC+:} false; then : 7239 6551 $as_echo_n "(cached) " >&6 7240 6552 else … … 7247 6559 IFS=$as_save_IFS 7248 6560 test -z "$as_dir" && as_dir=. 7249 for ac_exec_ext in '' $ac_executable_extensions; do7250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6561 for ac_exec_ext in '' $ac_executable_extensions; do 6562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7251 6563 ac_cv_prog_CC="${ac_tool_prefix}cc" 7252 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7253 6565 break 2 7254 6566 fi 7255 6567 done 7256 done6568 done 7257 6569 IFS=$as_save_IFS 7258 6570 … … 7261 6573 CC=$ac_cv_prog_CC 7262 6574 if test -n "$CC"; then 7263 { $as_echo "$as_me:$ LINENO: result: $CC" >&56575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 7264 6576 $as_echo "$CC" >&6; } 7265 6577 else 7266 { $as_echo "$as_me:$ LINENO: result: no" >&56578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7267 6579 $as_echo "no" >&6; } 7268 6580 fi … … 7274 6586 # Extract the first word of "cc", so it can be a program name with args. 7275 6587 set dummy cc; ac_word=$2 7276 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7277 6589 $as_echo_n "checking for $ac_word... " >&6; } 7278 if test "${ac_cv_prog_CC+set}" = set; then6590 if ${ac_cv_prog_CC+:} false; then : 7279 6591 $as_echo_n "(cached) " >&6 7280 6592 else … … 7288 6600 IFS=$as_save_IFS 7289 6601 test -z "$as_dir" && as_dir=. 7290 for ac_exec_ext in '' $ac_executable_extensions; do7291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6602 for ac_exec_ext in '' $ac_executable_extensions; do 6603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7292 6604 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 7293 6605 ac_prog_rejected=yes … … 7295 6607 fi 7296 6608 ac_cv_prog_CC="cc" 7297 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7298 6610 break 2 7299 6611 fi 7300 6612 done 7301 done6613 done 7302 6614 IFS=$as_save_IFS 7303 6615 … … 7318 6630 CC=$ac_cv_prog_CC 7319 6631 if test -n "$CC"; then 7320 { $as_echo "$as_me:$ LINENO: result: $CC" >&56632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 7321 6633 $as_echo "$CC" >&6; } 7322 6634 else 7323 { $as_echo "$as_me:$ LINENO: result: no" >&56635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7324 6636 $as_echo "no" >&6; } 7325 6637 fi … … 7333 6645 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7334 6646 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7335 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7336 6648 $as_echo_n "checking for $ac_word... " >&6; } 7337 if test "${ac_cv_prog_CC+set}" = set; then6649 if ${ac_cv_prog_CC+:} false; then : 7338 6650 $as_echo_n "(cached) " >&6 7339 6651 else … … 7346 6658 IFS=$as_save_IFS 7347 6659 test -z "$as_dir" && as_dir=. 7348 for ac_exec_ext in '' $ac_executable_extensions; do7349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6660 for ac_exec_ext in '' $ac_executable_extensions; do 6661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7350 6662 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 7351 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7352 6664 break 2 7353 6665 fi 7354 6666 done 7355 done6667 done 7356 6668 IFS=$as_save_IFS 7357 6669 … … 7360 6672 CC=$ac_cv_prog_CC 7361 6673 if test -n "$CC"; then 7362 { $as_echo "$as_me:$ LINENO: result: $CC" >&56674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 7363 6675 $as_echo "$CC" >&6; } 7364 6676 else 7365 { $as_echo "$as_me:$ LINENO: result: no" >&56677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7366 6678 $as_echo "no" >&6; } 7367 6679 fi … … 7377 6689 # Extract the first word of "$ac_prog", so it can be a program name with args. 7378 6690 set dummy $ac_prog; ac_word=$2 7379 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7380 6692 $as_echo_n "checking for $ac_word... " >&6; } 7381 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then6693 if ${ac_cv_prog_ac_ct_CC+:} false; then : 7382 6694 $as_echo_n "(cached) " >&6 7383 6695 else … … 7390 6702 IFS=$as_save_IFS 7391 6703 test -z "$as_dir" && as_dir=. 7392 for ac_exec_ext in '' $ac_executable_extensions; do7393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6704 for ac_exec_ext in '' $ac_executable_extensions; do 6705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7394 6706 ac_cv_prog_ac_ct_CC="$ac_prog" 7395 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7396 6708 break 2 7397 6709 fi 7398 6710 done 7399 done6711 done 7400 6712 IFS=$as_save_IFS 7401 6713 … … 7404 6716 ac_ct_CC=$ac_cv_prog_ac_ct_CC 7405 6717 if test -n "$ac_ct_CC"; then 7406 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&56718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 7407 6719 $as_echo "$ac_ct_CC" >&6; } 7408 6720 else 7409 { $as_echo "$as_me:$ LINENO: result: no" >&56721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7410 6722 $as_echo "no" >&6; } 7411 6723 fi … … 7420 6732 case $cross_compiling:$ac_tool_warned in 7421 6733 yes:) 7422 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&56734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7423 6735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7424 6736 ac_tool_warned=yes ;; … … 7431 6743 7432 6744 7433 test -z "$CC" && { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&56745 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7434 6746 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 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; }; }; } 6747 as_fn_error $? "no acceptable C compiler found in \$PATH 6748 See \`config.log' for more details" "$LINENO" 5; } 7440 6749 7441 6750 # Provide some information about the compiler. 7442 $as_echo "$as_me:$ LINENO: checking for C compiler version" >&56751 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 7443 6752 set X $ac_compile 7444 6753 ac_compiler=$2 7445 { (ac_try="$ac_compiler --version >&5" 6754 for ac_option in --version -v -V -qversion; do 6755 { { ac_try="$ac_compiler $ac_option >&5" 7446 6756 case "(($ac_try" in 7447 6757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7448 6758 *) ac_try_echo=$ac_try;; 7449 6759 esac 7450 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""7451 $as_echo "$ac_try_echo" )>&57452 (eval "$ac_compiler --version >&5") 2>&56760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 6761 $as_echo "$ac_try_echo"; } >&5 6762 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 7453 6763 ac_status=$? 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 6764 if test -s conftest.err; then 6765 sed '10a\ 6766 ... rest of stderr output deleted ... 6767 10q' conftest.err >conftest.er1 6768 cat conftest.er1 >&5 6769 fi 6770 rm -f conftest.er1 conftest.err 6771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6772 test $ac_status = 0; } 6773 done 6774 6775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 7480 6776 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 7481 if test "${ac_cv_c_compiler_gnu+set}" = set; then6777 if ${ac_cv_c_compiler_gnu+:} false; then : 7482 6778 $as_echo_n "(cached) " >&6 7483 6779 else 7484 cat >conftest.$ac_ext <<_ACEOF 7485 /* confdefs.h. */ 7486 _ACEOF 7487 cat confdefs.h >>conftest.$ac_ext 7488 cat >>conftest.$ac_ext <<_ACEOF 6780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7489 6781 /* end confdefs.h. */ 7490 6782 … … 7500 6792 } 7501 6793 _ACEOF 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 6794 if ac_fn_c_try_compile "$LINENO"; then : 7520 6795 ac_compiler_gnu=yes 7521 6796 else 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 6797 ac_compiler_gnu=no 6798 fi 7528 6799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7529 6800 ac_cv_c_compiler_gnu=$ac_compiler_gnu 7530 6801 7531 6802 fi 7532 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_compiler_gnu" >&56803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 7533 6804 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 7534 6805 if test $ac_compiler_gnu = yes; then … … 7539 6810 ac_test_CFLAGS=${CFLAGS+set} 7540 6811 ac_save_CFLAGS=$CFLAGS 7541 { $as_echo "$as_me:$ LINENO: checking whether $CC accepts -g" >&56812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 7542 6813 $as_echo_n "checking whether $CC accepts -g... " >&6; } 7543 if test "${ac_cv_prog_cc_g+set}" = set; then6814 if ${ac_cv_prog_cc_g+:} false; then : 7544 6815 $as_echo_n "(cached) " >&6 7545 6816 else … … 7548 6819 ac_cv_prog_cc_g=no 7549 6820 CFLAGS="-g" 7550 cat >conftest.$ac_ext <<_ACEOF 7551 /* confdefs.h. */ 7552 _ACEOF 7553 cat confdefs.h >>conftest.$ac_ext 7554 cat >>conftest.$ac_ext <<_ACEOF 6821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7555 6822 /* end confdefs.h. */ 7556 6823 … … 7563 6830 } 7564 6831 _ACEOF 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 6832 if ac_fn_c_try_compile "$LINENO"; then : 7583 6833 ac_cv_prog_cc_g=yes 7584 6834 else 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 6835 CFLAGS="" 6836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7594 6837 /* end confdefs.h. */ 7595 6838 … … 7602 6845 } 7603 6846 _ACEOF 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 6847 if ac_fn_c_try_compile "$LINENO"; then : 6848 6849 else 6850 ac_c_werror_flag=$ac_save_c_werror_flag 7628 6851 CFLAGS="-g" 7629 cat >conftest.$ac_ext <<_ACEOF 7630 /* confdefs.h. */ 7631 _ACEOF 7632 cat confdefs.h >>conftest.$ac_ext 7633 cat >>conftest.$ac_ext <<_ACEOF 6852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7634 6853 /* end confdefs.h. */ 7635 6854 … … 7642 6861 } 7643 6862 _ACEOF 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 6863 if ac_fn_c_try_compile "$LINENO"; then : 7662 6864 ac_cv_prog_cc_g=yes 7663 else 7664 $as_echo "$as_me: failed program was:" >&5 7665 sed 's/^/| /' conftest.$ac_ext >&5 7666 7667 7668 fi 7669 6865 fi 7670 6866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7671 6867 fi 7672 7673 6868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7674 6869 fi 7675 7676 6870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7677 6871 ac_c_werror_flag=$ac_save_c_werror_flag 7678 6872 fi 7679 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_g" >&56873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 7680 6874 $as_echo "$ac_cv_prog_cc_g" >&6; } 7681 6875 if test "$ac_test_CFLAGS" = set; then … … 7694 6888 fi 7695 6889 fi 7696 { $as_echo "$as_me:$ LINENO: checking for $CC option to accept ISO C89" >&56890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 7697 6891 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 7698 if test "${ac_cv_prog_cc_c89+set}" = set; then6892 if ${ac_cv_prog_cc_c89+:} false; then : 7699 6893 $as_echo_n "(cached) " >&6 7700 6894 else 7701 6895 ac_cv_prog_cc_c89=no 7702 6896 ac_save_CC=$CC 7703 cat >conftest.$ac_ext <<_ACEOF 7704 /* confdefs.h. */ 7705 _ACEOF 7706 cat confdefs.h >>conftest.$ac_ext 7707 cat >>conftest.$ac_ext <<_ACEOF 6897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7708 6898 /* end confdefs.h. */ 7709 6899 #include <stdarg.h> 7710 6900 #include <stdio.h> 7711 #include <sys/types.h> 7712 #include <sys/stat.h> 6901 struct stat; 7713 6902 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 7714 6903 struct buf { int x; }; … … 7762 6951 do 7763 6952 CC="$ac_save_CC $ac_arg" 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 6953 if ac_fn_c_try_compile "$LINENO"; then : 7782 6954 ac_cv_prog_cc_c89=$ac_arg 7783 else 7784 $as_echo "$as_me: failed program was:" >&5 7785 sed 's/^/| /' conftest.$ac_ext >&5 7786 7787 7788 fi 7789 6955 fi 7790 6956 rm -f core conftest.err conftest.$ac_objext 7791 6957 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 7798 6964 case "x$ac_cv_prog_cc_c89" in 7799 6965 x) 7800 { $as_echo "$as_me:$ LINENO: result: none needed" >&56966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 7801 6967 $as_echo "none needed" >&6; } ;; 7802 6968 xno) 7803 { $as_echo "$as_me:$ LINENO: result: unsupported" >&56969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 7804 6970 $as_echo "unsupported" >&6; } ;; 7805 6971 *) 7806 6972 CC="$CC $ac_cv_prog_cc_c89" 7807 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_c89" >&56973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 7808 6974 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 7809 6975 esac 7810 6976 if test "x$ac_cv_prog_cc_c89" != xno; then : 6977 6978 fi 7811 6979 7812 6980 ac_ext=c … … 7821 6989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7822 6990 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7823 { $as_echo "$as_me:$ LINENO: checking how to run the C preprocessor" >&56991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7824 6992 $as_echo_n "checking how to run the C preprocessor... " >&6; } 7825 6993 # On Suns, sometimes $CPP names a directory. … … 7828 6996 fi 7829 6997 if test -z "$CPP"; then 7830 if test "${ac_cv_prog_CPP+set}" = set; then6998 if ${ac_cv_prog_CPP+:} false; then : 7831 6999 $as_echo_n "(cached) " >&6 7832 7000 else … … 7843 7011 # On the NeXT, cc -E runs the code through the compiler's parser, 7844 7012 # not just through cpp. "Syntax error" is here to catch this case. 7845 cat >conftest.$ac_ext <<_ACEOF 7846 /* confdefs.h. */ 7847 _ACEOF 7848 cat confdefs.h >>conftest.$ac_ext 7849 cat >>conftest.$ac_ext <<_ACEOF 7013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7850 7014 /* end confdefs.h. */ 7851 7015 #ifdef __STDC__ … … 7856 7020 Syntax error 7857 7021 _ACEOF 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 7022 if ac_fn_c_try_cpp "$LINENO"; then : 7023 7024 else 7880 7025 # Broken: fails on valid input. 7881 7026 continue 7882 7027 fi 7883 7884 rm -f conftest.err conftest.$ac_ext 7028 rm -f conftest.err conftest.i conftest.$ac_ext 7885 7029 7886 7030 # OK, works on sane cases. Now check whether nonexistent headers 7887 7031 # can be detected and how. 7888 cat >conftest.$ac_ext <<_ACEOF 7889 /* confdefs.h. */ 7890 _ACEOF 7891 cat confdefs.h >>conftest.$ac_ext 7892 cat >>conftest.$ac_ext <<_ACEOF 7032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7893 7033 /* end confdefs.h. */ 7894 7034 #include <ac_nonexistent.h> 7895 7035 _ACEOF 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 7036 if ac_fn_c_try_cpp "$LINENO"; then : 7913 7037 # Broken: success on invalid input. 7914 7038 continue 7915 7039 else 7916 $as_echo "$as_me: failed program was:" >&57917 sed 's/^/| /' conftest.$ac_ext >&57918 7919 7040 # Passes both tests. 7920 7041 ac_preproc_ok=: 7921 7042 break 7922 7043 fi 7923 7924 rm -f conftest.err conftest.$ac_ext 7044 rm -f conftest.err conftest.i conftest.$ac_ext 7925 7045 7926 7046 done 7927 7047 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7928 rm -f conftest. err conftest.$ac_ext7929 if $ac_preproc_ok; then 7048 rm -f conftest.i conftest.err conftest.$ac_ext 7049 if $ac_preproc_ok; then : 7930 7050 break 7931 7051 fi … … 7939 7059 ac_cv_prog_CPP=$CPP 7940 7060 fi 7941 { $as_echo "$as_me:$ LINENO: result: $CPP" >&57061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7942 7062 $as_echo "$CPP" >&6; } 7943 7063 ac_preproc_ok=false … … 7950 7070 # On the NeXT, cc -E runs the code through the compiler's parser, 7951 7071 # not just through cpp. "Syntax error" is here to catch this case. 7952 cat >conftest.$ac_ext <<_ACEOF 7953 /* confdefs.h. */ 7954 _ACEOF 7955 cat confdefs.h >>conftest.$ac_ext 7956 cat >>conftest.$ac_ext <<_ACEOF 7072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7957 7073 /* end confdefs.h. */ 7958 7074 #ifdef __STDC__ … … 7963 7079 Syntax error 7964 7080 _ACEOF 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 7081 if ac_fn_c_try_cpp "$LINENO"; then : 7082 7083 else 7987 7084 # Broken: fails on valid input. 7988 7085 continue 7989 7086 fi 7990 7991 rm -f conftest.err conftest.$ac_ext 7087 rm -f conftest.err conftest.i conftest.$ac_ext 7992 7088 7993 7089 # OK, works on sane cases. Now check whether nonexistent headers 7994 7090 # can be detected and how. 7995 cat >conftest.$ac_ext <<_ACEOF 7996 /* confdefs.h. */ 7997 _ACEOF 7998 cat confdefs.h >>conftest.$ac_ext 7999 cat >>conftest.$ac_ext <<_ACEOF 7091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8000 7092 /* end confdefs.h. */ 8001 7093 #include <ac_nonexistent.h> 8002 7094 _ACEOF 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 7095 if ac_fn_c_try_cpp "$LINENO"; then : 8020 7096 # Broken: success on invalid input. 8021 7097 continue 8022 7098 else 8023 $as_echo "$as_me: failed program was:" >&58024 sed 's/^/| /' conftest.$ac_ext >&58025 8026 7099 # Passes both tests. 8027 7100 ac_preproc_ok=: 8028 7101 break 8029 7102 fi 8030 8031 rm -f conftest.err conftest.$ac_ext 7103 rm -f conftest.err conftest.i conftest.$ac_ext 8032 7104 8033 7105 done 8034 7106 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8035 rm -f conftest. err conftest.$ac_ext8036 if $ac_preproc_ok; then 8037 : 8038 else 8039 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&57107 rm -f conftest.i conftest.err conftest.$ac_ext 7108 if $ac_preproc_ok; then : 7109 7110 else 7111 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8040 7112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 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; }; }; } 7113 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7114 See \`config.log' for more details" "$LINENO" 5; } 8046 7115 fi 8047 7116 … … 8066 7135 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 8067 7136 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 8068 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8069 7138 $as_echo_n "checking for $ac_word... " >&6; } 8070 if test "${ac_cv_prog_CXX+set}" = set; then7139 if ${ac_cv_prog_CXX+:} false; then : 8071 7140 $as_echo_n "(cached) " >&6 8072 7141 else … … 8079 7148 IFS=$as_save_IFS 8080 7149 test -z "$as_dir" && as_dir=. 8081 for ac_exec_ext in '' $ac_executable_extensions; do8082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7150 for ac_exec_ext in '' $ac_executable_extensions; do 7151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8083 7152 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 8084 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8085 7154 break 2 8086 7155 fi 8087 7156 done 8088 done7157 done 8089 7158 IFS=$as_save_IFS 8090 7159 … … 8093 7162 CXX=$ac_cv_prog_CXX 8094 7163 if test -n "$CXX"; then 8095 { $as_echo "$as_me:$ LINENO: result: $CXX" >&57164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 8096 7165 $as_echo "$CXX" >&6; } 8097 7166 else 8098 { $as_echo "$as_me:$ LINENO: result: no" >&57167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8099 7168 $as_echo "no" >&6; } 8100 7169 fi … … 8110 7179 # Extract the first word of "$ac_prog", so it can be a program name with args. 8111 7180 set dummy $ac_prog; ac_word=$2 8112 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8113 7182 $as_echo_n "checking for $ac_word... " >&6; } 8114 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then7183 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 8115 7184 $as_echo_n "(cached) " >&6 8116 7185 else … … 8123 7192 IFS=$as_save_IFS 8124 7193 test -z "$as_dir" && as_dir=. 8125 for ac_exec_ext in '' $ac_executable_extensions; do8126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7194 for ac_exec_ext in '' $ac_executable_extensions; do 7195 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8127 7196 ac_cv_prog_ac_ct_CXX="$ac_prog" 8128 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8129 7198 break 2 8130 7199 fi 8131 7200 done 8132 done7201 done 8133 7202 IFS=$as_save_IFS 8134 7203 … … 8137 7206 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 8138 7207 if test -n "$ac_ct_CXX"; then 8139 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CXX" >&57208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 8140 7209 $as_echo "$ac_ct_CXX" >&6; } 8141 7210 else 8142 { $as_echo "$as_me:$ LINENO: result: no" >&57211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8143 7212 $as_echo "no" >&6; } 8144 7213 fi … … 8153 7222 case $cross_compiling:$ac_tool_warned in 8154 7223 yes:) 8155 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&57224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8156 7225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8157 7226 ac_tool_warned=yes ;; … … 8164 7233 fi 8165 7234 # Provide some information about the compiler. 8166 $as_echo "$as_me:$ LINENO: checking for C++ compiler version" >&57235 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 8167 7236 set X $ac_compile 8168 7237 ac_compiler=$2 8169 { (ac_try="$ac_compiler --version >&5" 7238 for ac_option in --version -v -V -qversion; do 7239 { { ac_try="$ac_compiler $ac_option >&5" 8170 7240 case "(($ac_try" in 8171 7241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8172 7242 *) ac_try_echo=$ac_try;; 8173 7243 esac 8174 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""8175 $as_echo "$ac_try_echo" )>&58176 (eval "$ac_compiler --version >&5") 2>&57244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 7245 $as_echo "$ac_try_echo"; } >&5 7246 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 8177 7247 ac_status=$? 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 7248 if test -s conftest.err; then 7249 sed '10a\ 7250 ... rest of stderr output deleted ... 7251 10q' conftest.err >conftest.er1 7252 cat conftest.er1 >&5 7253 fi 7254 rm -f conftest.er1 conftest.err 7255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7256 test $ac_status = 0; } 7257 done 7258 7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 8204 7260 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 8205 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then7261 if ${ac_cv_cxx_compiler_gnu+:} false; then : 8206 7262 $as_echo_n "(cached) " >&6 8207 7263 else 8208 cat >conftest.$ac_ext <<_ACEOF 8209 /* confdefs.h. */ 8210 _ACEOF 8211 cat confdefs.h >>conftest.$ac_ext 8212 cat >>conftest.$ac_ext <<_ACEOF 7264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8213 7265 /* end confdefs.h. */ 8214 7266 … … 8224 7276 } 8225 7277 _ACEOF 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 7278 if ac_fn_cxx_try_compile "$LINENO"; then : 8244 7279 ac_compiler_gnu=yes 8245 7280 else 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 7281 ac_compiler_gnu=no 7282 fi 8252 7283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8253 7284 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 8254 7285 8255 7286 fi 8256 { $as_echo "$as_me:$ LINENO: result: $ac_cv_cxx_compiler_gnu" >&57287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 8257 7288 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 8258 7289 if test $ac_compiler_gnu = yes; then … … 8263 7294 ac_test_CXXFLAGS=${CXXFLAGS+set} 8264 7295 ac_save_CXXFLAGS=$CXXFLAGS 8265 { $as_echo "$as_me:$ LINENO: checking whether $CXX accepts -g" >&57296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 8266 7297 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 8267 if test "${ac_cv_prog_cxx_g+set}" = set; then7298 if ${ac_cv_prog_cxx_g+:} false; then : 8268 7299 $as_echo_n "(cached) " >&6 8269 7300 else … … 8272 7303 ac_cv_prog_cxx_g=no 8273 7304 CXXFLAGS="-g" 8274 cat >conftest.$ac_ext <<_ACEOF 8275 /* confdefs.h. */ 8276 _ACEOF 8277 cat confdefs.h >>conftest.$ac_ext 8278 cat >>conftest.$ac_ext <<_ACEOF 7305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8279 7306 /* end confdefs.h. */ 8280 7307 … … 8287 7314 } 8288 7315 _ACEOF 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 7316 if ac_fn_cxx_try_compile "$LINENO"; then : 8307 7317 ac_cv_prog_cxx_g=yes 8308 7318 else 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 7319 CXXFLAGS="" 7320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8318 7321 /* end confdefs.h. */ 8319 7322 … … 8326 7329 } 8327 7330 _ACEOF 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 7331 if ac_fn_cxx_try_compile "$LINENO"; then : 7332 7333 else 7334 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8352 7335 CXXFLAGS="-g" 8353 cat >conftest.$ac_ext <<_ACEOF 8354 /* confdefs.h. */ 8355 _ACEOF 8356 cat confdefs.h >>conftest.$ac_ext 8357 cat >>conftest.$ac_ext <<_ACEOF 7336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8358 7337 /* end confdefs.h. */ 8359 7338 … … 8366 7345 } 8367 7346 _ACEOF 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 7347 if ac_fn_cxx_try_compile "$LINENO"; then : 8386 7348 ac_cv_prog_cxx_g=yes 8387 else 8388 $as_echo "$as_me: failed program was:" >&5 8389 sed 's/^/| /' conftest.$ac_ext >&5 8390 8391 8392 fi 8393 7349 fi 8394 7350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8395 7351 fi 8396 8397 7352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8398 7353 fi 8399 8400 7354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8401 7355 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8402 7356 fi 8403 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cxx_g" >&57357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 8404 7358 $as_echo "$ac_cv_prog_cxx_g" >&6; } 8405 7359 if test "$ac_test_CXXFLAGS" = set; then … … 8429 7383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8430 7384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 8431 { $as_echo "$as_me:$ LINENO: checking how to run the C++ preprocessor" >&57385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 8432 7386 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 8433 7387 if test -z "$CXXCPP"; then 8434 if test "${ac_cv_prog_CXXCPP+set}" = set; then7388 if ${ac_cv_prog_CXXCPP+:} false; then : 8435 7389 $as_echo_n "(cached) " >&6 8436 7390 else … … 8447 7401 # On the NeXT, cc -E runs the code through the compiler's parser, 8448 7402 # not just through cpp. "Syntax error" is here to catch this case. 8449 cat >conftest.$ac_ext <<_ACEOF 8450 /* confdefs.h. */ 8451 _ACEOF 8452 cat confdefs.h >>conftest.$ac_ext 8453 cat >>conftest.$ac_ext <<_ACEOF 7403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8454 7404 /* end confdefs.h. */ 8455 7405 #ifdef __STDC__ … … 8460 7410 Syntax error 8461 7411 _ACEOF 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 7412 if ac_fn_cxx_try_cpp "$LINENO"; then : 7413 7414 else 8484 7415 # Broken: fails on valid input. 8485 7416 continue 8486 7417 fi 8487 8488 rm -f conftest.err conftest.$ac_ext 7418 rm -f conftest.err conftest.i conftest.$ac_ext 8489 7419 8490 7420 # OK, works on sane cases. Now check whether nonexistent headers 8491 7421 # can be detected and how. 8492 cat >conftest.$ac_ext <<_ACEOF 8493 /* confdefs.h. */ 8494 _ACEOF 8495 cat confdefs.h >>conftest.$ac_ext 8496 cat >>conftest.$ac_ext <<_ACEOF 7422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8497 7423 /* end confdefs.h. */ 8498 7424 #include <ac_nonexistent.h> 8499 7425 _ACEOF 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 7426 if ac_fn_cxx_try_cpp "$LINENO"; then : 8517 7427 # Broken: success on invalid input. 8518 7428 continue 8519 7429 else 8520 $as_echo "$as_me: failed program was:" >&58521 sed 's/^/| /' conftest.$ac_ext >&58522 8523 7430 # Passes both tests. 8524 7431 ac_preproc_ok=: 8525 7432 break 8526 7433 fi 8527 8528 rm -f conftest.err conftest.$ac_ext 7434 rm -f conftest.err conftest.i conftest.$ac_ext 8529 7435 8530 7436 done 8531 7437 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8532 rm -f conftest. err conftest.$ac_ext8533 if $ac_preproc_ok; then 7438 rm -f conftest.i conftest.err conftest.$ac_ext 7439 if $ac_preproc_ok; then : 8534 7440 break 8535 7441 fi … … 8543 7449 ac_cv_prog_CXXCPP=$CXXCPP 8544 7450 fi 8545 { $as_echo "$as_me:$ LINENO: result: $CXXCPP" >&57451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 8546 7452 $as_echo "$CXXCPP" >&6; } 8547 7453 ac_preproc_ok=false … … 8554 7460 # On the NeXT, cc -E runs the code through the compiler's parser, 8555 7461 # not just through cpp. "Syntax error" is here to catch this case. 8556 cat >conftest.$ac_ext <<_ACEOF 8557 /* confdefs.h. */ 8558 _ACEOF 8559 cat confdefs.h >>conftest.$ac_ext 8560 cat >>conftest.$ac_ext <<_ACEOF 7462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8561 7463 /* end confdefs.h. */ 8562 7464 #ifdef __STDC__ … … 8567 7469 Syntax error 8568 7470 _ACEOF 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 7471 if ac_fn_cxx_try_cpp "$LINENO"; then : 7472 7473 else 8591 7474 # Broken: fails on valid input. 8592 7475 continue 8593 7476 fi 8594 8595 rm -f conftest.err conftest.$ac_ext 7477 rm -f conftest.err conftest.i conftest.$ac_ext 8596 7478 8597 7479 # OK, works on sane cases. Now check whether nonexistent headers 8598 7480 # can be detected and how. 8599 cat >conftest.$ac_ext <<_ACEOF 8600 /* confdefs.h. */ 8601 _ACEOF 8602 cat confdefs.h >>conftest.$ac_ext 8603 cat >>conftest.$ac_ext <<_ACEOF 7481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8604 7482 /* end confdefs.h. */ 8605 7483 #include <ac_nonexistent.h> 8606 7484 _ACEOF 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 7485 if ac_fn_cxx_try_cpp "$LINENO"; then : 8624 7486 # Broken: success on invalid input. 8625 7487 continue 8626 7488 else 8627 $as_echo "$as_me: failed program was:" >&58628 sed 's/^/| /' conftest.$ac_ext >&58629 8630 7489 # Passes both tests. 8631 7490 ac_preproc_ok=: 8632 7491 break 8633 7492 fi 8634 8635 rm -f conftest.err conftest.$ac_ext 7493 rm -f conftest.err conftest.i conftest.$ac_ext 8636 7494 8637 7495 done 8638 7496 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8639 rm -f conftest. err conftest.$ac_ext8640 if $ac_preproc_ok; then 8641 : 8642 else 8643 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&57497 rm -f conftest.i conftest.err conftest.$ac_ext 7498 if $ac_preproc_ok; then : 7499 7500 else 7501 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8644 7502 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 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; }; }; } 7503 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 7504 See \`config.log' for more details" "$LINENO" 5; } 8650 7505 fi 8651 7506 … … 8670 7525 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 8671 7526 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 8672 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8673 7528 $as_echo_n "checking for $ac_word... " >&6; } 8674 if test "${ac_cv_prog_CXX+set}" = set; then7529 if ${ac_cv_prog_CXX+:} false; then : 8675 7530 $as_echo_n "(cached) " >&6 8676 7531 else … … 8683 7538 IFS=$as_save_IFS 8684 7539 test -z "$as_dir" && as_dir=. 8685 for ac_exec_ext in '' $ac_executable_extensions; do8686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7540 for ac_exec_ext in '' $ac_executable_extensions; do 7541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8687 7542 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 8688 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8689 7544 break 2 8690 7545 fi 8691 7546 done 8692 done7547 done 8693 7548 IFS=$as_save_IFS 8694 7549 … … 8697 7552 CXX=$ac_cv_prog_CXX 8698 7553 if test -n "$CXX"; then 8699 { $as_echo "$as_me:$ LINENO: result: $CXX" >&57554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 8700 7555 $as_echo "$CXX" >&6; } 8701 7556 else 8702 { $as_echo "$as_me:$ LINENO: result: no" >&57557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8703 7558 $as_echo "no" >&6; } 8704 7559 fi … … 8714 7569 # Extract the first word of "$ac_prog", so it can be a program name with args. 8715 7570 set dummy $ac_prog; ac_word=$2 8716 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8717 7572 $as_echo_n "checking for $ac_word... " >&6; } 8718 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then7573 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 8719 7574 $as_echo_n "(cached) " >&6 8720 7575 else … … 8727 7582 IFS=$as_save_IFS 8728 7583 test -z "$as_dir" && as_dir=. 8729 for ac_exec_ext in '' $ac_executable_extensions; do8730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7584 for ac_exec_ext in '' $ac_executable_extensions; do 7585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8731 7586 ac_cv_prog_ac_ct_CXX="$ac_prog" 8732 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8733 7588 break 2 8734 7589 fi 8735 7590 done 8736 done7591 done 8737 7592 IFS=$as_save_IFS 8738 7593 … … 8741 7596 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 8742 7597 if test -n "$ac_ct_CXX"; then 8743 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CXX" >&57598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 8744 7599 $as_echo "$ac_ct_CXX" >&6; } 8745 7600 else 8746 { $as_echo "$as_me:$ LINENO: result: no" >&57601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8747 7602 $as_echo "no" >&6; } 8748 7603 fi … … 8757 7612 case $cross_compiling:$ac_tool_warned in 8758 7613 yes:) 8759 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&57614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8760 7615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8761 7616 ac_tool_warned=yes ;; … … 8768 7623 fi 8769 7624 # Provide some information about the compiler. 8770 $as_echo "$as_me:$ LINENO: checking for C++ compiler version" >&57625 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 8771 7626 set X $ac_compile 8772 7627 ac_compiler=$2 8773 { (ac_try="$ac_compiler --version >&5" 7628 for ac_option in --version -v -V -qversion; do 7629 { { ac_try="$ac_compiler $ac_option >&5" 8774 7630 case "(($ac_try" in 8775 7631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8776 7632 *) ac_try_echo=$ac_try;; 8777 7633 esac 8778 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""8779 $as_echo "$ac_try_echo" )>&58780 (eval "$ac_compiler --version >&5") 2>&57634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 7635 $as_echo "$ac_try_echo"; } >&5 7636 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 8781 7637 ac_status=$? 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 7638 if test -s conftest.err; then 7639 sed '10a\ 7640 ... rest of stderr output deleted ... 7641 10q' conftest.err >conftest.er1 7642 cat conftest.er1 >&5 7643 fi 7644 rm -f conftest.er1 conftest.err 7645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7646 test $ac_status = 0; } 7647 done 7648 7649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 8808 7650 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 8809 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then7651 if ${ac_cv_cxx_compiler_gnu+:} false; then : 8810 7652 $as_echo_n "(cached) " >&6 8811 7653 else 8812 cat >conftest.$ac_ext <<_ACEOF 8813 /* confdefs.h. */ 8814 _ACEOF 8815 cat confdefs.h >>conftest.$ac_ext 8816 cat >>conftest.$ac_ext <<_ACEOF 7654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8817 7655 /* end confdefs.h. */ 8818 7656 … … 8828 7666 } 8829 7667 _ACEOF 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 7668 if ac_fn_cxx_try_compile "$LINENO"; then : 8848 7669 ac_compiler_gnu=yes 8849 7670 else 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 7671 ac_compiler_gnu=no 7672 fi 8856 7673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8857 7674 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 8858 7675 8859 7676 fi 8860 { $as_echo "$as_me:$ LINENO: result: $ac_cv_cxx_compiler_gnu" >&57677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 8861 7678 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 8862 7679 if test $ac_compiler_gnu = yes; then … … 8867 7684 ac_test_CXXFLAGS=${CXXFLAGS+set} 8868 7685 ac_save_CXXFLAGS=$CXXFLAGS 8869 { $as_echo "$as_me:$ LINENO: checking whether $CXX accepts -g" >&57686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 8870 7687 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 8871 if test "${ac_cv_prog_cxx_g+set}" = set; then7688 if ${ac_cv_prog_cxx_g+:} false; then : 8872 7689 $as_echo_n "(cached) " >&6 8873 7690 else … … 8876 7693 ac_cv_prog_cxx_g=no 8877 7694 CXXFLAGS="-g" 8878 cat >conftest.$ac_ext <<_ACEOF 8879 /* confdefs.h. */ 8880 _ACEOF 8881 cat confdefs.h >>conftest.$ac_ext 8882 cat >>conftest.$ac_ext <<_ACEOF 7695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8883 7696 /* end confdefs.h. */ 8884 7697 … … 8891 7704 } 8892 7705 _ACEOF 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 7706 if ac_fn_cxx_try_compile "$LINENO"; then : 8911 7707 ac_cv_prog_cxx_g=yes 8912 7708 else 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 7709 CXXFLAGS="" 7710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8922 7711 /* end confdefs.h. */ 8923 7712 … … 8930 7719 } 8931 7720 _ACEOF 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 7721 if ac_fn_cxx_try_compile "$LINENO"; then : 7722 7723 else 7724 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8956 7725 CXXFLAGS="-g" 8957 cat >conftest.$ac_ext <<_ACEOF 8958 /* confdefs.h. */ 8959 _ACEOF 8960 cat confdefs.h >>conftest.$ac_ext 8961 cat >>conftest.$ac_ext <<_ACEOF 7726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8962 7727 /* end confdefs.h. */ 8963 7728 … … 8970 7735 } 8971 7736 _ACEOF 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 7737 if ac_fn_cxx_try_compile "$LINENO"; then : 8990 7738 ac_cv_prog_cxx_g=yes 8991 else 8992 $as_echo "$as_me: failed program was:" >&5 8993 sed 's/^/| /' conftest.$ac_ext >&5 8994 8995 8996 fi 8997 7739 fi 8998 7740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8999 7741 fi 9000 9001 7742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9002 7743 fi 9003 9004 7744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9005 7745 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 9006 7746 fi 9007 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cxx_g" >&57747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 9008 7748 $as_echo "$ac_cv_prog_cxx_g" >&6; } 9009 7749 if test "$ac_test_CXXFLAGS" = set; then … … 9036 7776 9037 7777 9038 9039 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 9040 7779 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 9041 if test "${ac_cv_c_bigendian+set}" = set; then7780 if ${ac_cv_c_bigendian+:} false; then : 9042 7781 $as_echo_n "(cached) " >&6 9043 7782 else 9044 7783 ac_cv_c_bigendian=unknown 9045 7784 # See if we're dealing with a universal compiler. 9046 cat >conftest.$ac_ext <<_ACEOF 9047 /* confdefs.h. */ 9048 _ACEOF 9049 cat confdefs.h >>conftest.$ac_ext 9050 cat >>conftest.$ac_ext <<_ACEOF 7785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9051 7786 /* end confdefs.h. */ 9052 7787 #ifndef __APPLE_CC__ … … 9056 7791 9057 7792 _ACEOF 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 7793 if ac_fn_cxx_try_compile "$LINENO"; then : 9076 7794 9077 7795 # Check for potential -arch flags. It is not universal unless 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 7796 # there are at least two -arch flags with different values. 7797 ac_arch= 7798 ac_prev= 7799 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 7800 if test -n "$ac_prev"; then 7801 case $ac_word in 7802 i?86 | x86_64 | ppc | ppc64) 7803 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 7804 ac_arch=$ac_word 7805 else 7806 ac_cv_c_bigendian=universal 7807 break 7808 fi 7809 ;; 7810 esac 7811 ac_prev= 7812 elif test "x$ac_word" = "x-arch"; then 7813 ac_prev=arch 7814 fi 7815 done 7816 fi 9090 7817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9091 7818 if test $ac_cv_c_bigendian = unknown; then 9092 7819 # See if sys/param.h defines the BYTE_ORDER macro. 9093 cat >conftest.$ac_ext <<_ACEOF 9094 /* confdefs.h. */ 9095 _ACEOF 9096 cat confdefs.h >>conftest.$ac_ext 9097 cat >>conftest.$ac_ext <<_ACEOF 7820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9098 7821 /* end confdefs.h. */ 9099 7822 #include <sys/types.h> … … 9113 7836 } 9114 7837 _ACEOF 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 7838 if ac_fn_cxx_try_compile "$LINENO"; then : 9133 7839 # It does; now see whether it defined to BIG_ENDIAN or not. 9134 cat >conftest.$ac_ext <<_ACEOF 9135 /* confdefs.h. */ 9136 _ACEOF 9137 cat confdefs.h >>conftest.$ac_ext 9138 cat >>conftest.$ac_ext <<_ACEOF 7840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9139 7841 /* end confdefs.h. */ 9140 7842 #include <sys/types.h> … … 9152 7854 } 9153 7855 _ACEOF 9154 rm -f conftest.$ac_objext 9155 if { (ac_try="$ac_compile" 9156 case "(($ac_try" in 9157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9158 *) ac_try_echo=$ac_try;; 9159 esac 9160 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9161 $as_echo "$ac_try_echo") >&5 9162 (eval "$ac_compile") 2>conftest.er1 9163 ac_status=$? 9164 grep -v '^ *+' conftest.er1 >conftest.err 9165 rm -f conftest.er1 9166 cat conftest.err >&5 9167 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9168 (exit $ac_status); } && { 9169 test -z "$ac_cxx_werror_flag" || 9170 test ! -s conftest.err 9171 } && test -s conftest.$ac_objext; then 7856 if ac_fn_cxx_try_compile "$LINENO"; then : 9172 7857 ac_cv_c_bigendian=yes 9173 7858 else 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 7859 ac_cv_c_bigendian=no 7860 fi 9180 7861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9181 else 9182 $as_echo "$as_me: failed program was:" >&5 9183 sed 's/^/| /' conftest.$ac_ext >&5 9184 9185 9186 fi 9187 7862 fi 9188 7863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9189 7864 fi 9190 7865 if test $ac_cv_c_bigendian = unknown; then 9191 7866 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 9192 cat >conftest.$ac_ext <<_ACEOF 9193 /* confdefs.h. */ 9194 _ACEOF 9195 cat confdefs.h >>conftest.$ac_ext 9196 cat >>conftest.$ac_ext <<_ACEOF 7867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9197 7868 /* end confdefs.h. */ 9198 7869 #include <limits.h> … … 9209 7880 } 9210 7881 _ACEOF 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 7882 if ac_fn_cxx_try_compile "$LINENO"; then : 9229 7883 # It does; now see whether it defined to _BIG_ENDIAN or not. 9230 cat >conftest.$ac_ext <<_ACEOF 9231 /* confdefs.h. */ 9232 _ACEOF 9233 cat confdefs.h >>conftest.$ac_ext 9234 cat >>conftest.$ac_ext <<_ACEOF 7884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9235 7885 /* end confdefs.h. */ 9236 7886 #include <limits.h> … … 9247 7897 } 9248 7898 _ACEOF 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 7899 if ac_fn_cxx_try_compile "$LINENO"; then : 9267 7900 ac_cv_c_bigendian=yes 9268 7901 else 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 7902 ac_cv_c_bigendian=no 7903 fi 9275 7904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9276 else 9277 $as_echo "$as_me: failed program was:" >&5 9278 sed 's/^/| /' conftest.$ac_ext >&5 9279 9280 9281 fi 9282 7905 fi 9283 7906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9284 7907 fi 9285 7908 if test $ac_cv_c_bigendian = unknown; then 9286 7909 # Compile a test program. 9287 if test "$cross_compiling" = yes; then 7910 if test "$cross_compiling" = yes; then : 9288 7911 # Try to guess by grepping values from an object file. 9289 cat >conftest.$ac_ext <<_ACEOF 9290 /* confdefs.h. */ 9291 _ACEOF 9292 cat confdefs.h >>conftest.$ac_ext 9293 cat >>conftest.$ac_ext <<_ACEOF 7912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9294 7913 /* end confdefs.h. */ 9295 7914 short int ascii_mm[] = … … 9317 7936 } 9318 7937 _ACEOF 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 7938 if ac_fn_cxx_try_compile "$LINENO"; then : 9337 7939 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 9338 7940 ac_cv_c_bigendian=yes … … 9346 7948 fi 9347 7949 fi 9348 else 9349 $as_echo "$as_me: failed program was:" >&5 9350 sed 's/^/| /' conftest.$ac_ext >&5 9351 9352 9353 fi 9354 7950 fi 9355 7951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9356 7952 else 9357 cat >conftest.$ac_ext <<_ACEOF 9358 /* confdefs.h. */ 9359 _ACEOF 9360 cat confdefs.h >>conftest.$ac_ext 9361 cat >>conftest.$ac_ext <<_ACEOF 7953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9362 7954 /* end confdefs.h. */ 9363 7955 $ac_includes_default … … 9379 7971 } 9380 7972 _ACEOF 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 7973 if ac_fn_cxx_try_run "$LINENO"; then : 9403 7974 ac_cv_c_bigendian=no 9404 7975 else 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 7976 ac_cv_c_bigendian=yes 7977 fi 7978 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7979 conftest.$ac_objext conftest.beam conftest.$ac_ext 7980 fi 9416 7981 9417 7982 fi 9418 7983 fi 9419 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_bigendian" >&57984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 9420 7985 $as_echo "$ac_cv_c_bigendian" >&6; } 9421 7986 case $ac_cv_c_bigendian in #( 9422 7987 yes) 9423 cat >>confdefs.h <<\_ACEOF 9424 #define WORDS_BIGENDIAN 1 9425 _ACEOF 7988 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 9426 7989 ;; #( 9427 7990 no) … … 9429 7992 universal) 9430 7993 9431 cat >>confdefs.h <<\_ACEOF 9432 #define AC_APPLE_UNIVERSAL_BUILD 1 9433 _ACEOF 7994 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 9434 7995 9435 7996 ;; #( 9436 7997 *) 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; }; } ;; 7998 as_fn_error $? "unknown endianness 7999 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 9442 8000 esac 9443 8001 … … 9446 8004 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 9447 8005 # This bug is HP SR number 8606223364. 9448 { $as_echo "$as_me:$ LINENO: checking size of int" >&58006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 9449 8007 $as_echo_n "checking size of int... " >&6; } 9450 if test "${ac_cv_sizeof_int+set}" = set; then8008 if ${ac_cv_sizeof_int+:} false; then : 9451 8009 $as_echo_n "(cached) " >&6 9452 8010 else 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 8011 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 8012 8013 else 8014 if test "$ac_cv_type_int" = yes; then 8015 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9696 8016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 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; }; }; } 8017 as_fn_error 77 "cannot compute sizeof (int) 8018 See \`config.log' for more details" "$LINENO" 5; } 9784 8019 else 9785 8020 ac_cv_sizeof_int=0 9786 8021 fi 9787 8022 fi 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 8023 8024 fi 8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 9794 8026 $as_echo "$ac_cv_sizeof_int" >&6; } 9795 8027 … … 9805 8037 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 9806 8038 # This bug is HP SR number 8606223364. 9807 { $as_echo "$as_me:$ LINENO: checking size of long" >&58039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 9808 8040 $as_echo_n "checking size of long... " >&6; } 9809 if test "${ac_cv_sizeof_long+set}" = set; then8041 if ${ac_cv_sizeof_long+:} false; then : 9810 8042 $as_echo_n "(cached) " >&6 9811 8043 else 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 8044 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 8045 8046 else 8047 if test "$ac_cv_type_long" = yes; then 8048 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10055 8049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 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; }; }; } 8050 as_fn_error 77 "cannot compute sizeof (long) 8051 See \`config.log' for more details" "$LINENO" 5; } 10143 8052 else 10144 8053 ac_cv_sizeof_long=0 10145 8054 fi 10146 8055 fi 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 8056 8057 fi 8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 10153 8059 $as_echo "$ac_cv_sizeof_long" >&6; } 10154 8060 … … 10164 8070 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 10165 8071 # This bug is HP SR number 8606223364. 10166 { $as_echo "$as_me:$ LINENO: checking size of long long" >&58072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 10167 8073 $as_echo_n "checking size of long long... " >&6; } 10168 if test "${ac_cv_sizeof_long_long+set}" = set; then8074 if ${ac_cv_sizeof_long_long+:} false; then : 10169 8075 $as_echo_n "(cached) " >&6 10170 8076 else 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 8077 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 8078 8079 else 8080 if test "$ac_cv_type_long_long" = yes; then 8081 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10414 8082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 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; }; }; } 8083 as_fn_error 77 "cannot compute sizeof (long long) 8084 See \`config.log' for more details" "$LINENO" 5; } 10502 8085 else 10503 8086 ac_cv_sizeof_long_long=0 10504 8087 fi 10505 8088 fi 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 8089 8090 fi 8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 10512 8092 $as_echo "$ac_cv_sizeof_long_long" >&6; } 10513 8093 … … 10523 8103 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 10524 8104 # This bug is HP SR number 8606223364. 10525 { $as_echo "$as_me:$ LINENO: checking size of void *" >&58105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 10526 8106 $as_echo_n "checking size of void *... " >&6; } 10527 if test "${ac_cv_sizeof_void_p+set}" = set; then8107 if ${ac_cv_sizeof_void_p+:} false; then : 10528 8108 $as_echo_n "(cached) " >&6 10529 8109 else 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 8110 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 8111 8112 else 8113 if test "$ac_cv_type_void_p" = yes; then 8114 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10773 8115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 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; }; }; } 8116 as_fn_error 77 "cannot compute sizeof (void *) 8117 See \`config.log' for more details" "$LINENO" 5; } 10861 8118 else 10862 8119 ac_cv_sizeof_void_p=0 10863 8120 fi 10864 8121 fi 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 8122 8123 fi 8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 10871 8125 $as_echo "$ac_cv_sizeof_void_p" >&6; } 10872 8126 … … 10882 8136 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 10883 8137 # This bug is HP SR number 8606223364. 10884 { $as_echo "$as_me:$ LINENO: checking size of float" >&58138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5 10885 8139 $as_echo_n "checking size of float... " >&6; } 10886 if test "${ac_cv_sizeof_float+set}" = set; then8140 if ${ac_cv_sizeof_float+:} false; then : 10887 8141 $as_echo_n "(cached) " >&6 10888 8142 else 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 8143 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then : 8144 8145 else 8146 if test "$ac_cv_type_float" = yes; then 8147 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11132 8148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 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; }; }; } 8149 as_fn_error 77 "cannot compute sizeof (float) 8150 See \`config.log' for more details" "$LINENO" 5; } 11220 8151 else 11221 8152 ac_cv_sizeof_float=0 11222 8153 fi 11223 8154 fi 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 8155 8156 fi 8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5 11230 8158 $as_echo "$ac_cv_sizeof_float" >&6; } 11231 8159 … … 11283 8211 11284 8212 RP_DIR="" 11285 { $as_echo "$as_me:$ LINENO: checking for rappture" >&58213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rappture" >&5 11286 8214 $as_echo_n "checking for rappture... " >&6; } 11287 8215 if test "$with_rappture" == "yes" ; then … … 11292 8220 RP_INC_SPEC="-I$dir/include -I$dir/include/rappture2" 11293 8221 RP_LIB_DIR="$dir/lib" 11294 { $as_echo "$as_me:$ LINENO: result: $dir" >&58222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dir" >&5 11295 8223 $as_echo "$dir" >&6; } 11296 8224 break … … 11299 8227 else 11300 8228 if test ! -d "$with_rappture" ; then 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; }; } 8229 as_fn_error $? "--with-rappture: no such directory $with_rappture" "$LINENO" 5 11304 8230 fi 11305 8231 RP_DIR=$with_rappture … … 11308 8234 fi 11309 8235 if test "x${RP_DIR}" = "x" ; then 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 8236 as_fn_error $? "cannot find rappture.h and librappture2.a, try using --with-rappture" "$LINENO" 5 8237 else 8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_rappture" >&5 11315 8239 $as_echo "$with_rappture" >&6; } 11316 8240 fi … … 11343 8267 CPPFLAGS=$VTK_INC_SPEC 11344 8268 11345 11346 8269 for ac_header in vtkSmartPointer.h 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 8270 do : 8271 ac_fn_cxx_check_header_mongrel "$LINENO" "vtkSmartPointer.h" "ac_cv_header_vtkSmartPointer_h" "$ac_includes_default" 8272 if test "x$ac_cv_header_vtkSmartPointer_h" = xyes; then : 8273 cat >>confdefs.h <<_ACEOF 8274 #define HAVE_VTKSMARTPOINTER_H 1 8275 _ACEOF 8276 8277 else 8278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find vtkSmartPointer.h" >&5 8279 $as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;} 8280 fi 8281 8282 done 8283 8284 CPPFLAGS=$save_CPPFLAGS 8285 8286 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glut.h" "ac_cv_header_GL_glut_h" "$ac_includes_default" 8287 if test "x$ac_cv_header_GL_glut_h" = xyes; then : 8288 8289 fi 8290 8291 8292 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" "$ac_includes_default" 8293 if test "x$ac_cv_header_GL_glew_h" = xyes; then : 8294 8295 fi 8296 8297 8298 8299 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h 8300 do : 8301 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8302 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8303 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11488 8304 cat >>confdefs.h <<_ACEOF 11489 8305 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11490 8306 _ACEOF 11491 8307 11492 else11493 { $as_echo "$as_me:$LINENO: WARNING: cannot find vtkSmartPointer.h" >&511494 $as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;}11495 8308 fi 11496 8309 11497 8310 done 11498 8311 11499 CPPFLAGS=$save_CPPFLAGS 11500 11501 if test "${ac_cv_header_GL_glut_h+set}" = set; then 11502 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 11503 $as_echo_n "checking for GL/glut.h... " >&6; } 11504 if test "${ac_cv_header_GL_glut_h+set}" = set; then 11505 $as_echo_n "(cached) " >&6 11506 fi 11507 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 11508 $as_echo "$ac_cv_header_GL_glut_h" >&6; } 11509 else 11510 # Is the header compilable? 11511 { $as_echo "$as_me:$LINENO: checking GL/glut.h usability" >&5 11512 $as_echo_n "checking GL/glut.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/glut.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/glut.h presence" >&5 11554 $as_echo_n "checking GL/glut.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/glut.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/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5 11596 $as_echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11597 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5 11598 $as_echo "$as_me: WARNING: GL/glut.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/glut.h: present but cannot be compiled" >&5 11603 $as_echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;} 11604 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: check for missing prerequisite headers?" >&5 11605 $as_echo "$as_me: WARNING: GL/glut.h: check for missing prerequisite headers?" >&2;} 11606 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5 11607 $as_echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;} 11608 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&5 11609 $as_echo "$as_me: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&2;} 11610 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5 11611 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;} 11612 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5 11613 $as_echo "$as_me: WARNING: GL/glut.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/glut.h" >&5 11623 $as_echo_n "checking for GL/glut.h... " >&6; } 11624 if test "${ac_cv_header_GL_glut_h+set}" = set; then 11625 $as_echo_n "(cached) " >&6 11626 else 11627 ac_cv_header_GL_glut_h=$ac_header_preproc 11628 fi 11629 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 11630 $as_echo "$ac_cv_header_GL_glut_h" >&6; } 11631 11632 fi 11633 11634 11635 if test "${ac_cv_header_GL_glew_h+set}" = set; then 11636 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5 11637 $as_echo_n "checking for GL/glew.h... " >&6; } 11638 if test "${ac_cv_header_GL_glew_h+set}" = set; then 11639 $as_echo_n "(cached) " >&6 11640 fi 11641 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5 11642 $as_echo "$ac_cv_header_GL_glew_h" >&6; } 11643 else 11644 # Is the header compilable? 11645 { $as_echo "$as_me:$LINENO: checking GL/glew.h usability" >&5 11646 $as_echo_n "checking GL/glew.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 <GL/glew.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 GL/glew.h presence" >&5 11688 $as_echo_n "checking GL/glew.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 <GL/glew.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: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&5 11730 $as_echo "$as_me: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11731 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the compiler's result" >&5 11732 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;} 11733 ac_header_preproc=yes 11734 ;; 11735 no:yes:* ) 11736 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&5 11737 $as_echo "$as_me: WARNING: GL/glew.h: present but cannot be compiled" >&2;} 11738 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: check for missing prerequisite headers?" >&5 11739 $as_echo "$as_me: WARNING: GL/glew.h: check for missing prerequisite headers?" >&2;} 11740 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: see the Autoconf documentation" >&5 11741 $as_echo "$as_me: WARNING: GL/glew.h: see the Autoconf documentation" >&2;} 11742 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&5 11743 $as_echo "$as_me: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&2;} 11744 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&5 11745 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&2;} 11746 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&5 11747 $as_echo "$as_me: WARNING: GL/glew.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 GL/glew.h" >&5 11757 $as_echo_n "checking for GL/glew.h... " >&6; } 11758 if test "${ac_cv_header_GL_glew_h+set}" = set; then 11759 $as_echo_n "(cached) " >&6 11760 else 11761 ac_cv_header_GL_glew_h=$ac_header_preproc 11762 fi 11763 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5 11764 $as_echo "$ac_cv_header_GL_glew_h" >&6; } 11765 11766 fi 11767 11768 11769 11770 11771 11772 11773 11774 11775 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h 11776 do 11777 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11778 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11779 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11780 $as_echo_n "checking for $ac_header... " >&6; } 11781 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11782 $as_echo_n "(cached) " >&6 11783 fi 11784 ac_res=`eval 'as_val=${'$as_ac_Header'} 11785 $as_echo "$as_val"'` 11786 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11787 $as_echo "$ac_res" >&6; } 11788 else 11789 # Is the header compilable? 11790 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 11791 $as_echo_n "checking $ac_header usability... " >&6; } 11792 cat >conftest.$ac_ext <<_ACEOF 11793 /* confdefs.h. */ 11794 _ACEOF 11795 cat confdefs.h >>conftest.$ac_ext 11796 cat >>conftest.$ac_ext <<_ACEOF 11797 /* end confdefs.h. */ 11798 $ac_includes_default 11799 #include <$ac_header> 11800 _ACEOF 11801 rm -f conftest.$ac_objext 11802 if { (ac_try="$ac_compile" 11803 case "(($ac_try" in 11804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11805 *) ac_try_echo=$ac_try;; 11806 esac 11807 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11808 $as_echo "$ac_try_echo") >&5 11809 (eval "$ac_compile") 2>conftest.er1 11810 ac_status=$? 11811 grep -v '^ *+' conftest.er1 >conftest.err 11812 rm -f conftest.er1 11813 cat conftest.err >&5 11814 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11815 (exit $ac_status); } && { 11816 test -z "$ac_cxx_werror_flag" || 11817 test ! -s conftest.err 11818 } && test -s conftest.$ac_objext; then 11819 ac_header_compiler=yes 11820 else 11821 $as_echo "$as_me: failed program was:" >&5 11822 sed 's/^/| /' conftest.$ac_ext >&5 11823 11824 ac_header_compiler=no 11825 fi 11826 11827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11828 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11829 $as_echo "$ac_header_compiler" >&6; } 11830 11831 # Is the header present? 11832 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 11833 $as_echo_n "checking $ac_header presence... " >&6; } 11834 cat >conftest.$ac_ext <<_ACEOF 11835 /* confdefs.h. */ 11836 _ACEOF 11837 cat confdefs.h >>conftest.$ac_ext 11838 cat >>conftest.$ac_ext <<_ACEOF 11839 /* end confdefs.h. */ 11840 #include <$ac_header> 11841 _ACEOF 11842 if { (ac_try="$ac_cpp conftest.$ac_ext" 11843 case "(($ac_try" in 11844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11845 *) ac_try_echo=$ac_try;; 11846 esac 11847 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11848 $as_echo "$ac_try_echo") >&5 11849 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11850 ac_status=$? 11851 grep -v '^ *+' conftest.er1 >conftest.err 11852 rm -f conftest.er1 11853 cat conftest.err >&5 11854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11855 (exit $ac_status); } >/dev/null && { 11856 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11857 test ! -s conftest.err 11858 }; then 11859 ac_header_preproc=yes 11860 else 11861 $as_echo "$as_me: failed program was:" >&5 11862 sed 's/^/| /' conftest.$ac_ext >&5 11863 11864 ac_header_preproc=no 11865 fi 11866 11867 rm -f conftest.err conftest.$ac_ext 11868 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11869 $as_echo "$ac_header_preproc" >&6; } 11870 11871 # So? What about this header? 11872 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11873 yes:no: ) 11874 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 11875 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 11876 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 11877 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 11878 ac_header_preproc=yes 11879 ;; 11880 no:yes:* ) 11881 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 11882 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 11883 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 11884 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 11885 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 11886 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 11887 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 11888 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 11889 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 11890 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 11891 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 11892 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 11893 ( cat <<\_ASBOX 11894 ## ----------------------------------- ## 11895 ## Report this to rappture@nanohub.org ## 11896 ## ----------------------------------- ## 11897 _ASBOX 11898 ) | sed "s/^/$as_me: WARNING: /" >&2 11899 ;; 11900 esac 11901 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11902 $as_echo_n "checking for $ac_header... " >&6; } 11903 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11904 $as_echo_n "(cached) " >&6 11905 else 11906 eval "$as_ac_Header=\$ac_header_preproc" 11907 fi 11908 ac_res=`eval 'as_val=${'$as_ac_Header'} 11909 $as_echo "$as_val"'` 11910 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11911 $as_echo "$ac_res" >&6; } 11912 11913 fi 11914 as_val=`eval 'as_val=${'$as_ac_Header'} 11915 $as_echo "$as_val"'` 11916 if test "x$as_val" = x""yes; then 8312 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h 8313 do : 8314 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8315 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8316 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11917 8317 cat >>confdefs.h <<_ACEOF 11918 8318 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 11924 8324 11925 8325 11926 11927 11928 11929 11930 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h 8326 for ac_func in accept4 8327 do : 8328 ac_fn_cxx_check_func "$LINENO" "accept4" "ac_cv_func_accept4" 8329 if test "x$ac_cv_func_accept4" = xyes; then : 8330 cat >>confdefs.h <<_ACEOF 8331 #define HAVE_ACCEPT4 1 8332 _ACEOF 8333 8334 fi 8335 done 8336 8337 8338 save_CPPFLAGS=$CPPFLAGS 8339 8340 8341 #-------------------------------------------------------------------- 8342 # search for ffmpeg executable 8343 #-------------------------------------------------------------------- 8344 if test "${with_ffmpeg}" != "no" ; then 8345 if test "${with_ffmpeg}" = "yes" ; then 8346 # Extract the first word of "ffmpeg", so it can be a program name with args. 8347 set dummy ffmpeg; ac_word=$2 8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8349 $as_echo_n "checking for $ac_word... " >&6; } 8350 if ${ac_cv_path_FFMPEG+:} false; then : 8351 $as_echo_n "(cached) " >&6 8352 else 8353 case $FFMPEG in 8354 [\\/]* | ?:[\\/]*) 8355 ac_cv_path_FFMPEG="$FFMPEG" # Let the user override the test with a path. 8356 ;; 8357 *) 8358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8359 for as_dir in $PATH 11931 8360 do 11932 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11933 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11934 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11935 $as_echo_n "checking for $ac_header... " >&6; } 11936 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8361 IFS=$as_save_IFS 8362 test -z "$as_dir" && as_dir=. 8363 for ac_exec_ext in '' $ac_executable_extensions; do 8364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8365 ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext" 8366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8367 break 2 8368 fi 8369 done 8370 done 8371 IFS=$as_save_IFS 8372 8373 ;; 8374 esac 8375 fi 8376 FFMPEG=$ac_cv_path_FFMPEG 8377 if test -n "$FFMPEG"; then 8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FFMPEG" >&5 8379 $as_echo "$FFMPEG" >&6; } 8380 else 8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8382 $as_echo "no" >&6; } 8383 fi 8384 8385 8386 else 8387 # Extract the first word of "ffmpeg", so it can be a program name with args. 8388 set dummy ffmpeg; ac_word=$2 8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8390 $as_echo_n "checking for $ac_word... " >&6; } 8391 if ${ac_cv_path_FFMPEG+:} false; then : 11937 8392 $as_echo_n "(cached) " >&6 11938 fi 11939 ac_res=`eval 'as_val=${'$as_ac_Header'} 11940 $as_echo "$as_val"'` 11941 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11942 $as_echo "$ac_res" >&6; } 11943 else 11944 # Is the header compilable?11945 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 11946 $as_echo_n "checking $ac_header usability... " >&6; } 11947 cat >conftest.$ac_ext <<_ACEOF 11948 /* confdefs.h. */ 11949 _ACEOF 11950 cat confdefs.h >>conftest.$ac_ext 11951 cat >>conftest.$ac_ext <<_ACEOF 11952 /* end confdefs.h. */ 11953 $ac_includes_default 11954 #include <$ac_header> 11955 _ACEOF 11956 rm -f conftest.$ac_objext 11957 if { (ac_try="$ac_compile" 11958 case "(($ac_try" in 11959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11960 *) ac_try_echo=$ac_try;;8393 else 8394 case $FFMPEG in 8395 [\\/]* | ?:[\\/]*) 8396 ac_cv_path_FFMPEG="$FFMPEG" # Let the user override the test with a path. 8397 ;; 8398 *) 8399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8400 as_dummy="${with_ffmpeg}/bin:${with_ffmpeg}" 8401 for as_dir in $as_dummy 8402 do 8403 IFS=$as_save_IFS 8404 test -z "$as_dir" && as_dir=. 8405 for ac_exec_ext in '' $ac_executable_extensions; do 8406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8407 ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext" 8408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8409 break 2 8410 fi 8411 done 8412 done 8413 IFS=$as_save_IFS 8414 8415 ;; 11961 8416 esac 11962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11963 $as_echo "$ac_try_echo") >&5 11964 (eval "$ac_compile") 2>conftest.er1 11965 ac_status=$? 11966 grep -v '^ *+' conftest.er1 >conftest.err 11967 rm -f conftest.er1 11968 cat conftest.err >&5 11969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11970 (exit $ac_status); } && { 11971 test -z "$ac_cxx_werror_flag" || 11972 test ! -s conftest.err 11973 } && test -s conftest.$ac_objext; then 11974 ac_header_compiler=yes 11975 else 11976 $as_echo "$as_me: failed program was:" >&5 11977 sed 's/^/| /' conftest.$ac_ext >&5 11978 11979 ac_header_compiler=no 11980 fi 11981 11982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11983 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11984 $as_echo "$ac_header_compiler" >&6; } 11985 11986 # Is the header present? 11987 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 11988 $as_echo_n "checking $ac_header presence... " >&6; } 11989 cat >conftest.$ac_ext <<_ACEOF 11990 /* confdefs.h. */ 11991 _ACEOF 11992 cat confdefs.h >>conftest.$ac_ext 11993 cat >>conftest.$ac_ext <<_ACEOF 11994 /* end confdefs.h. */ 11995 #include <$ac_header> 11996 _ACEOF 11997 if { (ac_try="$ac_cpp conftest.$ac_ext" 11998 case "(($ac_try" in 11999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12000 *) ac_try_echo=$ac_try;; 12001 esac 12002 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12003 $as_echo "$ac_try_echo") >&5 12004 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12005 ac_status=$? 12006 grep -v '^ *+' conftest.er1 >conftest.err 12007 rm -f conftest.er1 12008 cat conftest.err >&5 12009 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12010 (exit $ac_status); } >/dev/null && { 12011 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 12012 test ! -s conftest.err 12013 }; then 12014 ac_header_preproc=yes 12015 else 12016 $as_echo "$as_me: failed program was:" >&5 12017 sed 's/^/| /' conftest.$ac_ext >&5 12018 12019 ac_header_preproc=no 12020 fi 12021 12022 rm -f conftest.err conftest.$ac_ext 12023 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12024 $as_echo "$ac_header_preproc" >&6; } 12025 12026 # So? What about this header? 12027 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 12028 yes:no: ) 12029 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 12030 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 12031 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 12032 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 12033 ac_header_preproc=yes 12034 ;; 12035 no:yes:* ) 12036 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 12037 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 12038 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 12039 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 12040 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 12041 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 12042 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 12043 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 12044 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 12045 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 12046 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 12047 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 12048 ( cat <<\_ASBOX 12049 ## ----------------------------------- ## 12050 ## Report this to rappture@nanohub.org ## 12051 ## ----------------------------------- ## 12052 _ASBOX 12053 ) | sed "s/^/$as_me: WARNING: /" >&2 12054 ;; 12055 esac 12056 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12057 $as_echo_n "checking for $ac_header... " >&6; } 12058 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12059 $as_echo_n "(cached) " >&6 12060 else 12061 eval "$as_ac_Header=\$ac_header_preproc" 12062 fi 12063 ac_res=`eval 'as_val=${'$as_ac_Header'} 12064 $as_echo "$as_val"'` 12065 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12066 $as_echo "$ac_res" >&6; } 12067 12068 fi 12069 as_val=`eval 'as_val=${'$as_ac_Header'} 12070 $as_echo "$as_val"'` 12071 if test "x$as_val" = x""yes; then 12072 cat >>confdefs.h <<_ACEOF 12073 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12074 _ACEOF 12075 12076 fi 12077 12078 done 12079 12080 12081 12082 for ac_func in accept4 12083 do 12084 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12085 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12086 $as_echo_n "checking for $ac_func... " >&6; } 12087 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12088 $as_echo_n "(cached) " >&6 12089 else 12090 cat >conftest.$ac_ext <<_ACEOF 12091 /* confdefs.h. */ 12092 _ACEOF 12093 cat confdefs.h >>conftest.$ac_ext 12094 cat >>conftest.$ac_ext <<_ACEOF 12095 /* end confdefs.h. */ 12096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12097 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12098 #define $ac_func innocuous_$ac_func 12099 12100 /* System header to define __stub macros and hopefully few prototypes, 12101 which can conflict with char $ac_func (); below. 12102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12103 <limits.h> exists even on freestanding compilers. */ 12104 12105 #ifdef __STDC__ 12106 # include <limits.h> 12107 #else 12108 # include <assert.h> 12109 #endif 12110 12111 #undef $ac_func 12112 12113 /* Override any GCC internal prototype to avoid an error. 12114 Use char because int might match the return type of a GCC 12115 builtin and then its argument prototype would still apply. */ 12116 #ifdef __cplusplus 12117 extern "C" 12118 #endif 12119 char $ac_func (); 12120 /* The GNU C library defines this for functions which it implements 12121 to always fail with ENOSYS. Some functions are actually named 12122 something starting with __ and the normal name is an alias. */ 12123 #if defined __stub_$ac_func || defined __stub___$ac_func 12124 choke me 12125 #endif 12126 12127 int 12128 main () 12129 { 12130 return $ac_func (); 12131 ; 12132 return 0; 12133 } 12134 _ACEOF 12135 rm -f conftest.$ac_objext conftest$ac_exeext 12136 if { (ac_try="$ac_link" 12137 case "(($ac_try" in 12138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12139 *) ac_try_echo=$ac_try;; 12140 esac 12141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12142 $as_echo "$ac_try_echo") >&5 12143 (eval "$ac_link") 2>conftest.er1 12144 ac_status=$? 12145 grep -v '^ *+' conftest.er1 >conftest.err 12146 rm -f conftest.er1 12147 cat conftest.err >&5 12148 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12149 (exit $ac_status); } && { 12150 test -z "$ac_cxx_werror_flag" || 12151 test ! -s conftest.err 12152 } && test -s conftest$ac_exeext && { 12153 test "$cross_compiling" = yes || 12154 $as_test_x conftest$ac_exeext 12155 }; then 12156 eval "$as_ac_var=yes" 12157 else 12158 $as_echo "$as_me: failed program was:" >&5 12159 sed 's/^/| /' conftest.$ac_ext >&5 12160 12161 eval "$as_ac_var=no" 12162 fi 12163 12164 rm -rf conftest.dSYM 12165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12166 conftest$ac_exeext conftest.$ac_ext 12167 fi 12168 ac_res=`eval 'as_val=${'$as_ac_var'} 12169 $as_echo "$as_val"'` 12170 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12171 $as_echo "$ac_res" >&6; } 12172 as_val=`eval 'as_val=${'$as_ac_var'} 12173 $as_echo "$as_val"'` 12174 if test "x$as_val" = x""yes; then 12175 cat >>confdefs.h <<_ACEOF 12176 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12177 _ACEOF 12178 12179 fi 12180 done 12181 12182 12183 save_CPPFLAGS=$CPPFLAGS 12184 # Test for redhat-specific location of ffmpeg headers. 12185 if test -d "/usr/include/ffmpeg" ; then 12186 CPPFLAGS="$CPPFLAGS -I/usr/include/ffmpeg" 12187 FF_INC_SPEC="-I/usr/include/ffmpeg" 12188 fi 12189 12190 12191 12192 12193 12194 12195 12196 for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h 12197 do 12198 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12199 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12200 $as_echo_n "checking for $ac_header... " >&6; } 12201 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12202 $as_echo_n "(cached) " >&6 12203 else 12204 cat >conftest.$ac_ext <<_ACEOF 12205 /* confdefs.h. */ 12206 _ACEOF 12207 cat confdefs.h >>conftest.$ac_ext 12208 cat >>conftest.$ac_ext <<_ACEOF 12209 /* end confdefs.h. */ 12210 12211 #define __STDC_CONSTANT_MACROS 1 12212 12213 12214 #include <$ac_header> 12215 _ACEOF 12216 rm -f conftest.$ac_objext 12217 if { (ac_try="$ac_compile" 12218 case "(($ac_try" in 12219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12220 *) ac_try_echo=$ac_try;; 12221 esac 12222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12223 $as_echo "$ac_try_echo") >&5 12224 (eval "$ac_compile") 2>conftest.er1 12225 ac_status=$? 12226 grep -v '^ *+' conftest.er1 >conftest.err 12227 rm -f conftest.er1 12228 cat conftest.err >&5 12229 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12230 (exit $ac_status); } && { 12231 test -z "$ac_cxx_werror_flag" || 12232 test ! -s conftest.err 12233 } && test -s conftest.$ac_objext; then 12234 eval "$as_ac_Header=yes" 12235 else 12236 $as_echo "$as_me: failed program was:" >&5 12237 sed 's/^/| /' conftest.$ac_ext >&5 12238 12239 eval "$as_ac_Header=no" 12240 fi 12241 12242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12243 fi 12244 ac_res=`eval 'as_val=${'$as_ac_Header'} 12245 $as_echo "$as_val"'` 12246 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12247 $as_echo "$ac_res" >&6; } 12248 as_val=`eval 'as_val=${'$as_ac_Header'} 12249 $as_echo "$as_val"'` 12250 if test "x$as_val" = x""yes; then 12251 cat >>confdefs.h <<_ACEOF 12252 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12253 _ACEOF 12254 12255 fi 12256 12257 done 12258 12259 CPPFLAGS=$save_CPPFLAGS 12260 12261 12262 { $as_echo "$as_me:$LINENO: checking for main in -lavcodec" >&5 12263 $as_echo_n "checking for main in -lavcodec... " >&6; } 12264 if test "${ac_cv_lib_avcodec_main+set}" = set; then 12265 $as_echo_n "(cached) " >&6 12266 else 12267 ac_check_lib_save_LIBS=$LIBS 12268 LIBS="-lavcodec $LIBS" 12269 cat >conftest.$ac_ext <<_ACEOF 12270 /* confdefs.h. */ 12271 _ACEOF 12272 cat confdefs.h >>conftest.$ac_ext 12273 cat >>conftest.$ac_ext <<_ACEOF 12274 /* end confdefs.h. */ 12275 12276 12277 int 12278 main () 12279 { 12280 return main (); 12281 ; 12282 return 0; 12283 } 12284 _ACEOF 12285 rm -f conftest.$ac_objext conftest$ac_exeext 12286 if { (ac_try="$ac_link" 12287 case "(($ac_try" in 12288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12289 *) ac_try_echo=$ac_try;; 12290 esac 12291 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12292 $as_echo "$ac_try_echo") >&5 12293 (eval "$ac_link") 2>conftest.er1 12294 ac_status=$? 12295 grep -v '^ *+' conftest.er1 >conftest.err 12296 rm -f conftest.er1 12297 cat conftest.err >&5 12298 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12299 (exit $ac_status); } && { 12300 test -z "$ac_cxx_werror_flag" || 12301 test ! -s conftest.err 12302 } && test -s conftest$ac_exeext && { 12303 test "$cross_compiling" = yes || 12304 $as_test_x conftest$ac_exeext 12305 }; then 12306 ac_cv_lib_avcodec_main=yes 12307 else 12308 $as_echo "$as_me: failed program was:" >&5 12309 sed 's/^/| /' conftest.$ac_ext >&5 12310 12311 ac_cv_lib_avcodec_main=no 12312 fi 12313 12314 rm -rf conftest.dSYM 12315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12316 conftest$ac_exeext conftest.$ac_ext 12317 LIBS=$ac_check_lib_save_LIBS 12318 fi 12319 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_main" >&5 12320 $as_echo "$ac_cv_lib_avcodec_main" >&6; } 12321 if test "x$ac_cv_lib_avcodec_main" = x""yes; then 12322 cat >>confdefs.h <<_ACEOF 12323 #define HAVE_LIBAVCODEC 1 12324 _ACEOF 12325 12326 LIBS="-lavcodec $LIBS" 12327 12328 else 12329 { { $as_echo "$as_me:$LINENO: error: requires libavcodec" >&5 12330 $as_echo "$as_me: error: requires libavcodec" >&2;} 12331 { (exit 1); exit 1; }; } 12332 fi 12333 12334 12335 { $as_echo "$as_me:$LINENO: checking for main in -lavutil" >&5 12336 $as_echo_n "checking for main in -lavutil... " >&6; } 12337 if test "${ac_cv_lib_avutil_main+set}" = set; then 12338 $as_echo_n "(cached) " >&6 12339 else 12340 ac_check_lib_save_LIBS=$LIBS 12341 LIBS="-lavutil $LIBS" 12342 cat >conftest.$ac_ext <<_ACEOF 12343 /* confdefs.h. */ 12344 _ACEOF 12345 cat confdefs.h >>conftest.$ac_ext 12346 cat >>conftest.$ac_ext <<_ACEOF 12347 /* end confdefs.h. */ 12348 12349 12350 int 12351 main () 12352 { 12353 return main (); 12354 ; 12355 return 0; 12356 } 12357 _ACEOF 12358 rm -f conftest.$ac_objext conftest$ac_exeext 12359 if { (ac_try="$ac_link" 12360 case "(($ac_try" in 12361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12362 *) ac_try_echo=$ac_try;; 12363 esac 12364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12365 $as_echo "$ac_try_echo") >&5 12366 (eval "$ac_link") 2>conftest.er1 12367 ac_status=$? 12368 grep -v '^ *+' conftest.er1 >conftest.err 12369 rm -f conftest.er1 12370 cat conftest.err >&5 12371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12372 (exit $ac_status); } && { 12373 test -z "$ac_cxx_werror_flag" || 12374 test ! -s conftest.err 12375 } && test -s conftest$ac_exeext && { 12376 test "$cross_compiling" = yes || 12377 $as_test_x conftest$ac_exeext 12378 }; then 12379 ac_cv_lib_avutil_main=yes 12380 else 12381 $as_echo "$as_me: failed program was:" >&5 12382 sed 's/^/| /' conftest.$ac_ext >&5 12383 12384 ac_cv_lib_avutil_main=no 12385 fi 12386 12387 rm -rf conftest.dSYM 12388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12389 conftest$ac_exeext conftest.$ac_ext 12390 LIBS=$ac_check_lib_save_LIBS 12391 fi 12392 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_main" >&5 12393 $as_echo "$ac_cv_lib_avutil_main" >&6; } 12394 if test "x$ac_cv_lib_avutil_main" = x""yes; then 12395 cat >>confdefs.h <<_ACEOF 12396 #define HAVE_LIBAVUTIL 1 12397 _ACEOF 12398 12399 LIBS="-lavutil $LIBS" 12400 12401 else 12402 { { $as_echo "$as_me:$LINENO: error: requires libavutil" >&5 12403 $as_echo "$as_me: error: requires libavutil" >&2;} 12404 { (exit 1); exit 1; }; } 12405 fi 12406 12407 12408 { $as_echo "$as_me:$LINENO: checking for main in -lavformat" >&5 12409 $as_echo_n "checking for main in -lavformat... " >&6; } 12410 if test "${ac_cv_lib_avformat_main+set}" = set; then 12411 $as_echo_n "(cached) " >&6 12412 else 12413 ac_check_lib_save_LIBS=$LIBS 12414 LIBS="-lavformat $LIBS" 12415 cat >conftest.$ac_ext <<_ACEOF 12416 /* confdefs.h. */ 12417 _ACEOF 12418 cat confdefs.h >>conftest.$ac_ext 12419 cat >>conftest.$ac_ext <<_ACEOF 12420 /* end confdefs.h. */ 12421 12422 12423 int 12424 main () 12425 { 12426 return main (); 12427 ; 12428 return 0; 12429 } 12430 _ACEOF 12431 rm -f conftest.$ac_objext conftest$ac_exeext 12432 if { (ac_try="$ac_link" 12433 case "(($ac_try" in 12434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12435 *) ac_try_echo=$ac_try;; 12436 esac 12437 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12438 $as_echo "$ac_try_echo") >&5 12439 (eval "$ac_link") 2>conftest.er1 12440 ac_status=$? 12441 grep -v '^ *+' conftest.er1 >conftest.err 12442 rm -f conftest.er1 12443 cat conftest.err >&5 12444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12445 (exit $ac_status); } && { 12446 test -z "$ac_cxx_werror_flag" || 12447 test ! -s conftest.err 12448 } && test -s conftest$ac_exeext && { 12449 test "$cross_compiling" = yes || 12450 $as_test_x conftest$ac_exeext 12451 }; then 12452 ac_cv_lib_avformat_main=yes 12453 else 12454 $as_echo "$as_me: failed program was:" >&5 12455 sed 's/^/| /' conftest.$ac_ext >&5 12456 12457 ac_cv_lib_avformat_main=no 12458 fi 12459 12460 rm -rf conftest.dSYM 12461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12462 conftest$ac_exeext conftest.$ac_ext 12463 LIBS=$ac_check_lib_save_LIBS 12464 fi 12465 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_main" >&5 12466 $as_echo "$ac_cv_lib_avformat_main" >&6; } 12467 if test "x$ac_cv_lib_avformat_main" = x""yes; then 12468 cat >>confdefs.h <<_ACEOF 12469 #define HAVE_LIBAVFORMAT 1 12470 _ACEOF 12471 12472 LIBS="-lavformat $LIBS" 12473 12474 else 12475 { { $as_echo "$as_me:$LINENO: error: requires libavformat" >&5 12476 $as_echo "$as_me: error: requires libavformat" >&2;} 12477 { (exit 1); exit 1; }; } 12478 fi 12479 12480 12481 { $as_echo "$as_me:$LINENO: checking for main in -lswscale" >&5 12482 $as_echo_n "checking for main in -lswscale... " >&6; } 12483 if test "${ac_cv_lib_swscale_main+set}" = set; then 12484 $as_echo_n "(cached) " >&6 12485 else 12486 ac_check_lib_save_LIBS=$LIBS 12487 LIBS="-lswscale $LIBS" 12488 cat >conftest.$ac_ext <<_ACEOF 12489 /* confdefs.h. */ 12490 _ACEOF 12491 cat confdefs.h >>conftest.$ac_ext 12492 cat >>conftest.$ac_ext <<_ACEOF 12493 /* end confdefs.h. */ 12494 12495 12496 int 12497 main () 12498 { 12499 return main (); 12500 ; 12501 return 0; 12502 } 12503 _ACEOF 12504 rm -f conftest.$ac_objext conftest$ac_exeext 12505 if { (ac_try="$ac_link" 12506 case "(($ac_try" in 12507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12508 *) ac_try_echo=$ac_try;; 12509 esac 12510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12511 $as_echo "$ac_try_echo") >&5 12512 (eval "$ac_link") 2>conftest.er1 12513 ac_status=$? 12514 grep -v '^ *+' conftest.er1 >conftest.err 12515 rm -f conftest.er1 12516 cat conftest.err >&5 12517 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12518 (exit $ac_status); } && { 12519 test -z "$ac_cxx_werror_flag" || 12520 test ! -s conftest.err 12521 } && test -s conftest$ac_exeext && { 12522 test "$cross_compiling" = yes || 12523 $as_test_x conftest$ac_exeext 12524 }; then 12525 ac_cv_lib_swscale_main=yes 12526 else 12527 $as_echo "$as_me: failed program was:" >&5 12528 sed 's/^/| /' conftest.$ac_ext >&5 12529 12530 ac_cv_lib_swscale_main=no 12531 fi 12532 12533 rm -rf conftest.dSYM 12534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12535 conftest$ac_exeext conftest.$ac_ext 12536 LIBS=$ac_check_lib_save_LIBS 12537 fi 12538 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_swscale_main" >&5 12539 $as_echo "$ac_cv_lib_swscale_main" >&6; } 12540 if test "x$ac_cv_lib_swscale_main" = x""yes; then 12541 cat >>confdefs.h <<_ACEOF 12542 #define HAVE_LIBSWSCALE 1 12543 _ACEOF 12544 12545 LIBS="-lswscale $LIBS" 12546 12547 fi 12548 12549 12550 for ac_func in avcodec_register_all 12551 do 12552 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12553 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12554 $as_echo_n "checking for $ac_func... " >&6; } 12555 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12556 $as_echo_n "(cached) " >&6 12557 else 12558 cat >conftest.$ac_ext <<_ACEOF 12559 /* confdefs.h. */ 12560 _ACEOF 12561 cat confdefs.h >>conftest.$ac_ext 12562 cat >>conftest.$ac_ext <<_ACEOF 12563 /* end confdefs.h. */ 12564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12565 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12566 #define $ac_func innocuous_$ac_func 12567 12568 /* System header to define __stub macros and hopefully few prototypes, 12569 which can conflict with char $ac_func (); below. 12570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12571 <limits.h> exists even on freestanding compilers. */ 12572 12573 #ifdef __STDC__ 12574 # include <limits.h> 12575 #else 12576 # include <assert.h> 12577 #endif 12578 12579 #undef $ac_func 12580 12581 /* Override any GCC internal prototype to avoid an error. 12582 Use char because int might match the return type of a GCC 12583 builtin and then its argument prototype would still apply. */ 12584 #ifdef __cplusplus 12585 extern "C" 12586 #endif 12587 char $ac_func (); 12588 /* The GNU C library defines this for functions which it implements 12589 to always fail with ENOSYS. Some functions are actually named 12590 something starting with __ and the normal name is an alias. */ 12591 #if defined __stub_$ac_func || defined __stub___$ac_func 12592 choke me 12593 #endif 12594 12595 int 12596 main () 12597 { 12598 return $ac_func (); 12599 ; 12600 return 0; 12601 } 12602 _ACEOF 12603 rm -f conftest.$ac_objext conftest$ac_exeext 12604 if { (ac_try="$ac_link" 12605 case "(($ac_try" in 12606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12607 *) ac_try_echo=$ac_try;; 12608 esac 12609 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12610 $as_echo "$ac_try_echo") >&5 12611 (eval "$ac_link") 2>conftest.er1 12612 ac_status=$? 12613 grep -v '^ *+' conftest.er1 >conftest.err 12614 rm -f conftest.er1 12615 cat conftest.err >&5 12616 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12617 (exit $ac_status); } && { 12618 test -z "$ac_cxx_werror_flag" || 12619 test ! -s conftest.err 12620 } && test -s conftest$ac_exeext && { 12621 test "$cross_compiling" = yes || 12622 $as_test_x conftest$ac_exeext 12623 }; then 12624 eval "$as_ac_var=yes" 12625 else 12626 $as_echo "$as_me: failed program was:" >&5 12627 sed 's/^/| /' conftest.$ac_ext >&5 12628 12629 eval "$as_ac_var=no" 12630 fi 12631 12632 rm -rf conftest.dSYM 12633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12634 conftest$ac_exeext conftest.$ac_ext 12635 fi 12636 ac_res=`eval 'as_val=${'$as_ac_var'} 12637 $as_echo "$as_val"'` 12638 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12639 $as_echo "$ac_res" >&6; } 12640 as_val=`eval 'as_val=${'$as_ac_var'} 12641 $as_echo "$as_val"'` 12642 if test "x$as_val" = x""yes; then 12643 cat >>confdefs.h <<_ACEOF 12644 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12645 _ACEOF 12646 12647 fi 12648 done 12649 12650 12651 for ac_func in avcodec_init 12652 do 12653 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12654 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12655 $as_echo_n "checking for $ac_func... " >&6; } 12656 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12657 $as_echo_n "(cached) " >&6 12658 else 12659 cat >conftest.$ac_ext <<_ACEOF 12660 /* confdefs.h. */ 12661 _ACEOF 12662 cat confdefs.h >>conftest.$ac_ext 12663 cat >>conftest.$ac_ext <<_ACEOF 12664 /* end confdefs.h. */ 12665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12666 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12667 #define $ac_func innocuous_$ac_func 12668 12669 /* System header to define __stub macros and hopefully few prototypes, 12670 which can conflict with char $ac_func (); below. 12671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12672 <limits.h> exists even on freestanding compilers. */ 12673 12674 #ifdef __STDC__ 12675 # include <limits.h> 12676 #else 12677 # include <assert.h> 12678 #endif 12679 12680 #undef $ac_func 12681 12682 /* Override any GCC internal prototype to avoid an error. 12683 Use char because int might match the return type of a GCC 12684 builtin and then its argument prototype would still apply. */ 12685 #ifdef __cplusplus 12686 extern "C" 12687 #endif 12688 char $ac_func (); 12689 /* The GNU C library defines this for functions which it implements 12690 to always fail with ENOSYS. Some functions are actually named 12691 something starting with __ and the normal name is an alias. */ 12692 #if defined __stub_$ac_func || defined __stub___$ac_func 12693 choke me 12694 #endif 12695 12696 int 12697 main () 12698 { 12699 return $ac_func (); 12700 ; 12701 return 0; 12702 } 12703 _ACEOF 12704 rm -f conftest.$ac_objext conftest$ac_exeext 12705 if { (ac_try="$ac_link" 12706 case "(($ac_try" in 12707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12708 *) ac_try_echo=$ac_try;; 12709 esac 12710 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12711 $as_echo "$ac_try_echo") >&5 12712 (eval "$ac_link") 2>conftest.er1 12713 ac_status=$? 12714 grep -v '^ *+' conftest.er1 >conftest.err 12715 rm -f conftest.er1 12716 cat conftest.err >&5 12717 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12718 (exit $ac_status); } && { 12719 test -z "$ac_cxx_werror_flag" || 12720 test ! -s conftest.err 12721 } && test -s conftest$ac_exeext && { 12722 test "$cross_compiling" = yes || 12723 $as_test_x conftest$ac_exeext 12724 }; then 12725 eval "$as_ac_var=yes" 12726 else 12727 $as_echo "$as_me: failed program was:" >&5 12728 sed 's/^/| /' conftest.$ac_ext >&5 12729 12730 eval "$as_ac_var=no" 12731 fi 12732 12733 rm -rf conftest.dSYM 12734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12735 conftest$ac_exeext conftest.$ac_ext 12736 fi 12737 ac_res=`eval 'as_val=${'$as_ac_var'} 12738 $as_echo "$as_val"'` 12739 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12740 $as_echo "$ac_res" >&6; } 12741 as_val=`eval 'as_val=${'$as_ac_var'} 12742 $as_echo "$as_val"'` 12743 if test "x$as_val" = x""yes; then 12744 cat >>confdefs.h <<_ACEOF 12745 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12746 _ACEOF 12747 12748 fi 12749 done 12750 12751 12752 for ac_func in avformat_new_stream 12753 do 12754 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12755 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12756 $as_echo_n "checking for $ac_func... " >&6; } 12757 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12758 $as_echo_n "(cached) " >&6 12759 else 12760 cat >conftest.$ac_ext <<_ACEOF 12761 /* confdefs.h. */ 12762 _ACEOF 12763 cat confdefs.h >>conftest.$ac_ext 12764 cat >>conftest.$ac_ext <<_ACEOF 12765 /* end confdefs.h. */ 12766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12767 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12768 #define $ac_func innocuous_$ac_func 12769 12770 /* System header to define __stub macros and hopefully few prototypes, 12771 which can conflict with char $ac_func (); below. 12772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12773 <limits.h> exists even on freestanding compilers. */ 12774 12775 #ifdef __STDC__ 12776 # include <limits.h> 12777 #else 12778 # include <assert.h> 12779 #endif 12780 12781 #undef $ac_func 12782 12783 /* Override any GCC internal prototype to avoid an error. 12784 Use char because int might match the return type of a GCC 12785 builtin and then its argument prototype would still apply. */ 12786 #ifdef __cplusplus 12787 extern "C" 12788 #endif 12789 char $ac_func (); 12790 /* The GNU C library defines this for functions which it implements 12791 to always fail with ENOSYS. Some functions are actually named 12792 something starting with __ and the normal name is an alias. */ 12793 #if defined __stub_$ac_func || defined __stub___$ac_func 12794 choke me 12795 #endif 12796 12797 int 12798 main () 12799 { 12800 return $ac_func (); 12801 ; 12802 return 0; 12803 } 12804 _ACEOF 12805 rm -f conftest.$ac_objext conftest$ac_exeext 12806 if { (ac_try="$ac_link" 12807 case "(($ac_try" in 12808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12809 *) ac_try_echo=$ac_try;; 12810 esac 12811 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12812 $as_echo "$ac_try_echo") >&5 12813 (eval "$ac_link") 2>conftest.er1 12814 ac_status=$? 12815 grep -v '^ *+' conftest.er1 >conftest.err 12816 rm -f conftest.er1 12817 cat conftest.err >&5 12818 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12819 (exit $ac_status); } && { 12820 test -z "$ac_cxx_werror_flag" || 12821 test ! -s conftest.err 12822 } && test -s conftest$ac_exeext && { 12823 test "$cross_compiling" = yes || 12824 $as_test_x conftest$ac_exeext 12825 }; then 12826 eval "$as_ac_var=yes" 12827 else 12828 $as_echo "$as_me: failed program was:" >&5 12829 sed 's/^/| /' conftest.$ac_ext >&5 12830 12831 eval "$as_ac_var=no" 12832 fi 12833 12834 rm -rf conftest.dSYM 12835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12836 conftest$ac_exeext conftest.$ac_ext 12837 fi 12838 ac_res=`eval 'as_val=${'$as_ac_var'} 12839 $as_echo "$as_val"'` 12840 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12841 $as_echo "$ac_res" >&6; } 12842 as_val=`eval 'as_val=${'$as_ac_var'} 12843 $as_echo "$as_val"'` 12844 if test "x$as_val" = x""yes; then 12845 cat >>confdefs.h <<_ACEOF 12846 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12847 _ACEOF 12848 12849 fi 12850 done 12851 12852 12853 for ac_func in av_new_stream 12854 do 12855 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12856 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12857 $as_echo_n "checking for $ac_func... " >&6; } 12858 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12859 $as_echo_n "(cached) " >&6 12860 else 12861 cat >conftest.$ac_ext <<_ACEOF 12862 /* confdefs.h. */ 12863 _ACEOF 12864 cat confdefs.h >>conftest.$ac_ext 12865 cat >>conftest.$ac_ext <<_ACEOF 12866 /* end confdefs.h. */ 12867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12868 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12869 #define $ac_func innocuous_$ac_func 12870 12871 /* System header to define __stub macros and hopefully few prototypes, 12872 which can conflict with char $ac_func (); below. 12873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12874 <limits.h> exists even on freestanding compilers. */ 12875 12876 #ifdef __STDC__ 12877 # include <limits.h> 12878 #else 12879 # include <assert.h> 12880 #endif 12881 12882 #undef $ac_func 12883 12884 /* Override any GCC internal prototype to avoid an error. 12885 Use char because int might match the return type of a GCC 12886 builtin and then its argument prototype would still apply. */ 12887 #ifdef __cplusplus 12888 extern "C" 12889 #endif 12890 char $ac_func (); 12891 /* The GNU C library defines this for functions which it implements 12892 to always fail with ENOSYS. Some functions are actually named 12893 something starting with __ and the normal name is an alias. */ 12894 #if defined __stub_$ac_func || defined __stub___$ac_func 12895 choke me 12896 #endif 12897 12898 int 12899 main () 12900 { 12901 return $ac_func (); 12902 ; 12903 return 0; 12904 } 12905 _ACEOF 12906 rm -f conftest.$ac_objext conftest$ac_exeext 12907 if { (ac_try="$ac_link" 12908 case "(($ac_try" in 12909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12910 *) ac_try_echo=$ac_try;; 12911 esac 12912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12913 $as_echo "$ac_try_echo") >&5 12914 (eval "$ac_link") 2>conftest.er1 12915 ac_status=$? 12916 grep -v '^ *+' conftest.er1 >conftest.err 12917 rm -f conftest.er1 12918 cat conftest.err >&5 12919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12920 (exit $ac_status); } && { 12921 test -z "$ac_cxx_werror_flag" || 12922 test ! -s conftest.err 12923 } && test -s conftest$ac_exeext && { 12924 test "$cross_compiling" = yes || 12925 $as_test_x conftest$ac_exeext 12926 }; then 12927 eval "$as_ac_var=yes" 12928 else 12929 $as_echo "$as_me: failed program was:" >&5 12930 sed 's/^/| /' conftest.$ac_ext >&5 12931 12932 eval "$as_ac_var=no" 12933 fi 12934 12935 rm -rf conftest.dSYM 12936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12937 conftest$ac_exeext conftest.$ac_ext 12938 fi 12939 ac_res=`eval 'as_val=${'$as_ac_var'} 12940 $as_echo "$as_val"'` 12941 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12942 $as_echo "$ac_res" >&6; } 12943 as_val=`eval 'as_val=${'$as_ac_var'} 12944 $as_echo "$as_val"'` 12945 if test "x$as_val" = x""yes; then 12946 cat >>confdefs.h <<_ACEOF 12947 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12948 _ACEOF 12949 12950 fi 12951 done 12952 12953 12954 for ac_func in avcodec_open 12955 do 12956 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12957 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12958 $as_echo_n "checking for $ac_func... " >&6; } 12959 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12960 $as_echo_n "(cached) " >&6 12961 else 12962 cat >conftest.$ac_ext <<_ACEOF 12963 /* confdefs.h. */ 12964 _ACEOF 12965 cat confdefs.h >>conftest.$ac_ext 12966 cat >>conftest.$ac_ext <<_ACEOF 12967 /* end confdefs.h. */ 12968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12969 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12970 #define $ac_func innocuous_$ac_func 12971 12972 /* System header to define __stub macros and hopefully few prototypes, 12973 which can conflict with char $ac_func (); below. 12974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12975 <limits.h> exists even on freestanding compilers. */ 12976 12977 #ifdef __STDC__ 12978 # include <limits.h> 12979 #else 12980 # include <assert.h> 12981 #endif 12982 12983 #undef $ac_func 12984 12985 /* Override any GCC internal prototype to avoid an error. 12986 Use char because int might match the return type of a GCC 12987 builtin and then its argument prototype would still apply. */ 12988 #ifdef __cplusplus 12989 extern "C" 12990 #endif 12991 char $ac_func (); 12992 /* The GNU C library defines this for functions which it implements 12993 to always fail with ENOSYS. Some functions are actually named 12994 something starting with __ and the normal name is an alias. */ 12995 #if defined __stub_$ac_func || defined __stub___$ac_func 12996 choke me 12997 #endif 12998 12999 int 13000 main () 13001 { 13002 return $ac_func (); 13003 ; 13004 return 0; 13005 } 13006 _ACEOF 13007 rm -f conftest.$ac_objext conftest$ac_exeext 13008 if { (ac_try="$ac_link" 13009 case "(($ac_try" in 13010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13011 *) ac_try_echo=$ac_try;; 13012 esac 13013 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13014 $as_echo "$ac_try_echo") >&5 13015 (eval "$ac_link") 2>conftest.er1 13016 ac_status=$? 13017 grep -v '^ *+' conftest.er1 >conftest.err 13018 rm -f conftest.er1 13019 cat conftest.err >&5 13020 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13021 (exit $ac_status); } && { 13022 test -z "$ac_cxx_werror_flag" || 13023 test ! -s conftest.err 13024 } && test -s conftest$ac_exeext && { 13025 test "$cross_compiling" = yes || 13026 $as_test_x conftest$ac_exeext 13027 }; then 13028 eval "$as_ac_var=yes" 13029 else 13030 $as_echo "$as_me: failed program was:" >&5 13031 sed 's/^/| /' conftest.$ac_ext >&5 13032 13033 eval "$as_ac_var=no" 13034 fi 13035 13036 rm -rf conftest.dSYM 13037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13038 conftest$ac_exeext conftest.$ac_ext 13039 fi 13040 ac_res=`eval 'as_val=${'$as_ac_var'} 13041 $as_echo "$as_val"'` 13042 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13043 $as_echo "$ac_res" >&6; } 13044 as_val=`eval 'as_val=${'$as_ac_var'} 13045 $as_echo "$as_val"'` 13046 if test "x$as_val" = x""yes; then 13047 cat >>confdefs.h <<_ACEOF 13048 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13049 _ACEOF 13050 13051 fi 13052 done 13053 13054 13055 for ac_func in avcodec_open2 13056 do 13057 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13058 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13059 $as_echo_n "checking for $ac_func... " >&6; } 13060 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13061 $as_echo_n "(cached) " >&6 13062 else 13063 cat >conftest.$ac_ext <<_ACEOF 13064 /* confdefs.h. */ 13065 _ACEOF 13066 cat confdefs.h >>conftest.$ac_ext 13067 cat >>conftest.$ac_ext <<_ACEOF 13068 /* end confdefs.h. */ 13069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13070 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13071 #define $ac_func innocuous_$ac_func 13072 13073 /* System header to define __stub macros and hopefully few prototypes, 13074 which can conflict with char $ac_func (); below. 13075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13076 <limits.h> exists even on freestanding compilers. */ 13077 13078 #ifdef __STDC__ 13079 # include <limits.h> 13080 #else 13081 # include <assert.h> 13082 #endif 13083 13084 #undef $ac_func 13085 13086 /* Override any GCC internal prototype to avoid an error. 13087 Use char because int might match the return type of a GCC 13088 builtin and then its argument prototype would still apply. */ 13089 #ifdef __cplusplus 13090 extern "C" 13091 #endif 13092 char $ac_func (); 13093 /* The GNU C library defines this for functions which it implements 13094 to always fail with ENOSYS. Some functions are actually named 13095 something starting with __ and the normal name is an alias. */ 13096 #if defined __stub_$ac_func || defined __stub___$ac_func 13097 choke me 13098 #endif 13099 13100 int 13101 main () 13102 { 13103 return $ac_func (); 13104 ; 13105 return 0; 13106 } 13107 _ACEOF 13108 rm -f conftest.$ac_objext conftest$ac_exeext 13109 if { (ac_try="$ac_link" 13110 case "(($ac_try" in 13111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13112 *) ac_try_echo=$ac_try;; 13113 esac 13114 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13115 $as_echo "$ac_try_echo") >&5 13116 (eval "$ac_link") 2>conftest.er1 13117 ac_status=$? 13118 grep -v '^ *+' conftest.er1 >conftest.err 13119 rm -f conftest.er1 13120 cat conftest.err >&5 13121 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13122 (exit $ac_status); } && { 13123 test -z "$ac_cxx_werror_flag" || 13124 test ! -s conftest.err 13125 } && test -s conftest$ac_exeext && { 13126 test "$cross_compiling" = yes || 13127 $as_test_x conftest$ac_exeext 13128 }; then 13129 eval "$as_ac_var=yes" 13130 else 13131 $as_echo "$as_me: failed program was:" >&5 13132 sed 's/^/| /' conftest.$ac_ext >&5 13133 13134 eval "$as_ac_var=no" 13135 fi 13136 13137 rm -rf conftest.dSYM 13138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13139 conftest$ac_exeext conftest.$ac_ext 13140 fi 13141 ac_res=`eval 'as_val=${'$as_ac_var'} 13142 $as_echo "$as_val"'` 13143 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13144 $as_echo "$ac_res" >&6; } 13145 as_val=`eval 'as_val=${'$as_ac_var'} 13146 $as_echo "$as_val"'` 13147 if test "x$as_val" = x""yes; then 13148 cat >>confdefs.h <<_ACEOF 13149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13150 _ACEOF 13151 13152 fi 13153 done 13154 13155 13156 for ac_func in avcodec_decode_video2 13157 do 13158 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13159 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13160 $as_echo_n "checking for $ac_func... " >&6; } 13161 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13162 $as_echo_n "(cached) " >&6 13163 else 13164 cat >conftest.$ac_ext <<_ACEOF 13165 /* confdefs.h. */ 13166 _ACEOF 13167 cat confdefs.h >>conftest.$ac_ext 13168 cat >>conftest.$ac_ext <<_ACEOF 13169 /* end confdefs.h. */ 13170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13171 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13172 #define $ac_func innocuous_$ac_func 13173 13174 /* System header to define __stub macros and hopefully few prototypes, 13175 which can conflict with char $ac_func (); below. 13176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13177 <limits.h> exists even on freestanding compilers. */ 13178 13179 #ifdef __STDC__ 13180 # include <limits.h> 13181 #else 13182 # include <assert.h> 13183 #endif 13184 13185 #undef $ac_func 13186 13187 /* Override any GCC internal prototype to avoid an error. 13188 Use char because int might match the return type of a GCC 13189 builtin and then its argument prototype would still apply. */ 13190 #ifdef __cplusplus 13191 extern "C" 13192 #endif 13193 char $ac_func (); 13194 /* The GNU C library defines this for functions which it implements 13195 to always fail with ENOSYS. Some functions are actually named 13196 something starting with __ and the normal name is an alias. */ 13197 #if defined __stub_$ac_func || defined __stub___$ac_func 13198 choke me 13199 #endif 13200 13201 int 13202 main () 13203 { 13204 return $ac_func (); 13205 ; 13206 return 0; 13207 } 13208 _ACEOF 13209 rm -f conftest.$ac_objext conftest$ac_exeext 13210 if { (ac_try="$ac_link" 13211 case "(($ac_try" in 13212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13213 *) ac_try_echo=$ac_try;; 13214 esac 13215 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13216 $as_echo "$ac_try_echo") >&5 13217 (eval "$ac_link") 2>conftest.er1 13218 ac_status=$? 13219 grep -v '^ *+' conftest.er1 >conftest.err 13220 rm -f conftest.er1 13221 cat conftest.err >&5 13222 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13223 (exit $ac_status); } && { 13224 test -z "$ac_cxx_werror_flag" || 13225 test ! -s conftest.err 13226 } && test -s conftest$ac_exeext && { 13227 test "$cross_compiling" = yes || 13228 $as_test_x conftest$ac_exeext 13229 }; then 13230 eval "$as_ac_var=yes" 13231 else 13232 $as_echo "$as_me: failed program was:" >&5 13233 sed 's/^/| /' conftest.$ac_ext >&5 13234 13235 eval "$as_ac_var=no" 13236 fi 13237 13238 rm -rf conftest.dSYM 13239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13240 conftest$ac_exeext conftest.$ac_ext 13241 fi 13242 ac_res=`eval 'as_val=${'$as_ac_var'} 13243 $as_echo "$as_val"'` 13244 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13245 $as_echo "$ac_res" >&6; } 13246 as_val=`eval 'as_val=${'$as_ac_var'} 13247 $as_echo "$as_val"'` 13248 if test "x$as_val" = x""yes; then 13249 cat >>confdefs.h <<_ACEOF 13250 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13251 _ACEOF 13252 13253 fi 13254 done 13255 13256 13257 for ac_func in avcodec_decode_video 13258 do 13259 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13260 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13261 $as_echo_n "checking for $ac_func... " >&6; } 13262 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13263 $as_echo_n "(cached) " >&6 13264 else 13265 cat >conftest.$ac_ext <<_ACEOF 13266 /* confdefs.h. */ 13267 _ACEOF 13268 cat confdefs.h >>conftest.$ac_ext 13269 cat >>conftest.$ac_ext <<_ACEOF 13270 /* end confdefs.h. */ 13271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13272 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13273 #define $ac_func innocuous_$ac_func 13274 13275 /* System header to define __stub macros and hopefully few prototypes, 13276 which can conflict with char $ac_func (); below. 13277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13278 <limits.h> exists even on freestanding compilers. */ 13279 13280 #ifdef __STDC__ 13281 # include <limits.h> 13282 #else 13283 # include <assert.h> 13284 #endif 13285 13286 #undef $ac_func 13287 13288 /* Override any GCC internal prototype to avoid an error. 13289 Use char because int might match the return type of a GCC 13290 builtin and then its argument prototype would still apply. */ 13291 #ifdef __cplusplus 13292 extern "C" 13293 #endif 13294 char $ac_func (); 13295 /* The GNU C library defines this for functions which it implements 13296 to always fail with ENOSYS. Some functions are actually named 13297 something starting with __ and the normal name is an alias. */ 13298 #if defined __stub_$ac_func || defined __stub___$ac_func 13299 choke me 13300 #endif 13301 13302 int 13303 main () 13304 { 13305 return $ac_func (); 13306 ; 13307 return 0; 13308 } 13309 _ACEOF 13310 rm -f conftest.$ac_objext conftest$ac_exeext 13311 if { (ac_try="$ac_link" 13312 case "(($ac_try" in 13313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13314 *) ac_try_echo=$ac_try;; 13315 esac 13316 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13317 $as_echo "$ac_try_echo") >&5 13318 (eval "$ac_link") 2>conftest.er1 13319 ac_status=$? 13320 grep -v '^ *+' conftest.er1 >conftest.err 13321 rm -f conftest.er1 13322 cat conftest.err >&5 13323 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13324 (exit $ac_status); } && { 13325 test -z "$ac_cxx_werror_flag" || 13326 test ! -s conftest.err 13327 } && test -s conftest$ac_exeext && { 13328 test "$cross_compiling" = yes || 13329 $as_test_x conftest$ac_exeext 13330 }; then 13331 eval "$as_ac_var=yes" 13332 else 13333 $as_echo "$as_me: failed program was:" >&5 13334 sed 's/^/| /' conftest.$ac_ext >&5 13335 13336 eval "$as_ac_var=no" 13337 fi 13338 13339 rm -rf conftest.dSYM 13340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13341 conftest$ac_exeext conftest.$ac_ext 13342 fi 13343 ac_res=`eval 'as_val=${'$as_ac_var'} 13344 $as_echo "$as_val"'` 13345 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13346 $as_echo "$ac_res" >&6; } 13347 as_val=`eval 'as_val=${'$as_ac_var'} 13348 $as_echo "$as_val"'` 13349 if test "x$as_val" = x""yes; then 13350 cat >>confdefs.h <<_ACEOF 13351 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13352 _ACEOF 13353 13354 fi 13355 done 13356 13357 13358 for ac_func in avcodec_encode_video2 13359 do 13360 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13361 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13362 $as_echo_n "checking for $ac_func... " >&6; } 13363 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13364 $as_echo_n "(cached) " >&6 13365 else 13366 cat >conftest.$ac_ext <<_ACEOF 13367 /* confdefs.h. */ 13368 _ACEOF 13369 cat confdefs.h >>conftest.$ac_ext 13370 cat >>conftest.$ac_ext <<_ACEOF 13371 /* end confdefs.h. */ 13372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13373 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13374 #define $ac_func innocuous_$ac_func 13375 13376 /* System header to define __stub macros and hopefully few prototypes, 13377 which can conflict with char $ac_func (); below. 13378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13379 <limits.h> exists even on freestanding compilers. */ 13380 13381 #ifdef __STDC__ 13382 # include <limits.h> 13383 #else 13384 # include <assert.h> 13385 #endif 13386 13387 #undef $ac_func 13388 13389 /* Override any GCC internal prototype to avoid an error. 13390 Use char because int might match the return type of a GCC 13391 builtin and then its argument prototype would still apply. */ 13392 #ifdef __cplusplus 13393 extern "C" 13394 #endif 13395 char $ac_func (); 13396 /* The GNU C library defines this for functions which it implements 13397 to always fail with ENOSYS. Some functions are actually named 13398 something starting with __ and the normal name is an alias. */ 13399 #if defined __stub_$ac_func || defined __stub___$ac_func 13400 choke me 13401 #endif 13402 13403 int 13404 main () 13405 { 13406 return $ac_func (); 13407 ; 13408 return 0; 13409 } 13410 _ACEOF 13411 rm -f conftest.$ac_objext conftest$ac_exeext 13412 if { (ac_try="$ac_link" 13413 case "(($ac_try" in 13414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13415 *) ac_try_echo=$ac_try;; 13416 esac 13417 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13418 $as_echo "$ac_try_echo") >&5 13419 (eval "$ac_link") 2>conftest.er1 13420 ac_status=$? 13421 grep -v '^ *+' conftest.er1 >conftest.err 13422 rm -f conftest.er1 13423 cat conftest.err >&5 13424 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13425 (exit $ac_status); } && { 13426 test -z "$ac_cxx_werror_flag" || 13427 test ! -s conftest.err 13428 } && test -s conftest$ac_exeext && { 13429 test "$cross_compiling" = yes || 13430 $as_test_x conftest$ac_exeext 13431 }; then 13432 eval "$as_ac_var=yes" 13433 else 13434 $as_echo "$as_me: failed program was:" >&5 13435 sed 's/^/| /' conftest.$ac_ext >&5 13436 13437 eval "$as_ac_var=no" 13438 fi 13439 13440 rm -rf conftest.dSYM 13441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13442 conftest$ac_exeext conftest.$ac_ext 13443 fi 13444 ac_res=`eval 'as_val=${'$as_ac_var'} 13445 $as_echo "$as_val"'` 13446 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13447 $as_echo "$ac_res" >&6; } 13448 as_val=`eval 'as_val=${'$as_ac_var'} 13449 $as_echo "$as_val"'` 13450 if test "x$as_val" = x""yes; then 13451 cat >>confdefs.h <<_ACEOF 13452 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13453 _ACEOF 13454 13455 fi 13456 done 13457 13458 13459 for ac_func in avcodec_encode_video 13460 do 13461 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13462 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13463 $as_echo_n "checking for $ac_func... " >&6; } 13464 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13465 $as_echo_n "(cached) " >&6 13466 else 13467 cat >conftest.$ac_ext <<_ACEOF 13468 /* confdefs.h. */ 13469 _ACEOF 13470 cat confdefs.h >>conftest.$ac_ext 13471 cat >>conftest.$ac_ext <<_ACEOF 13472 /* end confdefs.h. */ 13473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13474 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13475 #define $ac_func innocuous_$ac_func 13476 13477 /* System header to define __stub macros and hopefully few prototypes, 13478 which can conflict with char $ac_func (); below. 13479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13480 <limits.h> exists even on freestanding compilers. */ 13481 13482 #ifdef __STDC__ 13483 # include <limits.h> 13484 #else 13485 # include <assert.h> 13486 #endif 13487 13488 #undef $ac_func 13489 13490 /* Override any GCC internal prototype to avoid an error. 13491 Use char because int might match the return type of a GCC 13492 builtin and then its argument prototype would still apply. */ 13493 #ifdef __cplusplus 13494 extern "C" 13495 #endif 13496 char $ac_func (); 13497 /* The GNU C library defines this for functions which it implements 13498 to always fail with ENOSYS. Some functions are actually named 13499 something starting with __ and the normal name is an alias. */ 13500 #if defined __stub_$ac_func || defined __stub___$ac_func 13501 choke me 13502 #endif 13503 13504 int 13505 main () 13506 { 13507 return $ac_func (); 13508 ; 13509 return 0; 13510 } 13511 _ACEOF 13512 rm -f conftest.$ac_objext conftest$ac_exeext 13513 if { (ac_try="$ac_link" 13514 case "(($ac_try" in 13515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13516 *) ac_try_echo=$ac_try;; 13517 esac 13518 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13519 $as_echo "$ac_try_echo") >&5 13520 (eval "$ac_link") 2>conftest.er1 13521 ac_status=$? 13522 grep -v '^ *+' conftest.er1 >conftest.err 13523 rm -f conftest.er1 13524 cat conftest.err >&5 13525 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13526 (exit $ac_status); } && { 13527 test -z "$ac_cxx_werror_flag" || 13528 test ! -s conftest.err 13529 } && test -s conftest$ac_exeext && { 13530 test "$cross_compiling" = yes || 13531 $as_test_x conftest$ac_exeext 13532 }; then 13533 eval "$as_ac_var=yes" 13534 else 13535 $as_echo "$as_me: failed program was:" >&5 13536 sed 's/^/| /' conftest.$ac_ext >&5 13537 13538 eval "$as_ac_var=no" 13539 fi 13540 13541 rm -rf conftest.dSYM 13542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13543 conftest$ac_exeext conftest.$ac_ext 13544 fi 13545 ac_res=`eval 'as_val=${'$as_ac_var'} 13546 $as_echo "$as_val"'` 13547 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13548 $as_echo "$ac_res" >&6; } 13549 as_val=`eval 'as_val=${'$as_ac_var'} 13550 $as_echo "$as_val"'` 13551 if test "x$as_val" = x""yes; then 13552 cat >>confdefs.h <<_ACEOF 13553 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13554 _ACEOF 13555 13556 fi 13557 done 13558 13559 13560 for ac_func in avformat_open_input 13561 do 13562 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13563 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13564 $as_echo_n "checking for $ac_func... " >&6; } 13565 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13566 $as_echo_n "(cached) " >&6 13567 else 13568 cat >conftest.$ac_ext <<_ACEOF 13569 /* confdefs.h. */ 13570 _ACEOF 13571 cat confdefs.h >>conftest.$ac_ext 13572 cat >>conftest.$ac_ext <<_ACEOF 13573 /* end confdefs.h. */ 13574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13575 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13576 #define $ac_func innocuous_$ac_func 13577 13578 /* System header to define __stub macros and hopefully few prototypes, 13579 which can conflict with char $ac_func (); below. 13580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13581 <limits.h> exists even on freestanding compilers. */ 13582 13583 #ifdef __STDC__ 13584 # include <limits.h> 13585 #else 13586 # include <assert.h> 13587 #endif 13588 13589 #undef $ac_func 13590 13591 /* Override any GCC internal prototype to avoid an error. 13592 Use char because int might match the return type of a GCC 13593 builtin and then its argument prototype would still apply. */ 13594 #ifdef __cplusplus 13595 extern "C" 13596 #endif 13597 char $ac_func (); 13598 /* The GNU C library defines this for functions which it implements 13599 to always fail with ENOSYS. Some functions are actually named 13600 something starting with __ and the normal name is an alias. */ 13601 #if defined __stub_$ac_func || defined __stub___$ac_func 13602 choke me 13603 #endif 13604 13605 int 13606 main () 13607 { 13608 return $ac_func (); 13609 ; 13610 return 0; 13611 } 13612 _ACEOF 13613 rm -f conftest.$ac_objext conftest$ac_exeext 13614 if { (ac_try="$ac_link" 13615 case "(($ac_try" in 13616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13617 *) ac_try_echo=$ac_try;; 13618 esac 13619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13620 $as_echo "$ac_try_echo") >&5 13621 (eval "$ac_link") 2>conftest.er1 13622 ac_status=$? 13623 grep -v '^ *+' conftest.er1 >conftest.err 13624 rm -f conftest.er1 13625 cat conftest.err >&5 13626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13627 (exit $ac_status); } && { 13628 test -z "$ac_cxx_werror_flag" || 13629 test ! -s conftest.err 13630 } && test -s conftest$ac_exeext && { 13631 test "$cross_compiling" = yes || 13632 $as_test_x conftest$ac_exeext 13633 }; then 13634 eval "$as_ac_var=yes" 13635 else 13636 $as_echo "$as_me: failed program was:" >&5 13637 sed 's/^/| /' conftest.$ac_ext >&5 13638 13639 eval "$as_ac_var=no" 13640 fi 13641 13642 rm -rf conftest.dSYM 13643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13644 conftest$ac_exeext conftest.$ac_ext 13645 fi 13646 ac_res=`eval 'as_val=${'$as_ac_var'} 13647 $as_echo "$as_val"'` 13648 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13649 $as_echo "$ac_res" >&6; } 13650 as_val=`eval 'as_val=${'$as_ac_var'} 13651 $as_echo "$as_val"'` 13652 if test "x$as_val" = x""yes; then 13653 cat >>confdefs.h <<_ACEOF 13654 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13655 _ACEOF 13656 13657 fi 13658 done 13659 13660 13661 for ac_func in av_open_input_file 13662 do 13663 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13664 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13665 $as_echo_n "checking for $ac_func... " >&6; } 13666 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13667 $as_echo_n "(cached) " >&6 13668 else 13669 cat >conftest.$ac_ext <<_ACEOF 13670 /* confdefs.h. */ 13671 _ACEOF 13672 cat confdefs.h >>conftest.$ac_ext 13673 cat >>conftest.$ac_ext <<_ACEOF 13674 /* end confdefs.h. */ 13675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13676 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13677 #define $ac_func innocuous_$ac_func 13678 13679 /* System header to define __stub macros and hopefully few prototypes, 13680 which can conflict with char $ac_func (); below. 13681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13682 <limits.h> exists even on freestanding compilers. */ 13683 13684 #ifdef __STDC__ 13685 # include <limits.h> 13686 #else 13687 # include <assert.h> 13688 #endif 13689 13690 #undef $ac_func 13691 13692 /* Override any GCC internal prototype to avoid an error. 13693 Use char because int might match the return type of a GCC 13694 builtin and then its argument prototype would still apply. */ 13695 #ifdef __cplusplus 13696 extern "C" 13697 #endif 13698 char $ac_func (); 13699 /* The GNU C library defines this for functions which it implements 13700 to always fail with ENOSYS. Some functions are actually named 13701 something starting with __ and the normal name is an alias. */ 13702 #if defined __stub_$ac_func || defined __stub___$ac_func 13703 choke me 13704 #endif 13705 13706 int 13707 main () 13708 { 13709 return $ac_func (); 13710 ; 13711 return 0; 13712 } 13713 _ACEOF 13714 rm -f conftest.$ac_objext conftest$ac_exeext 13715 if { (ac_try="$ac_link" 13716 case "(($ac_try" in 13717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13718 *) ac_try_echo=$ac_try;; 13719 esac 13720 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13721 $as_echo "$ac_try_echo") >&5 13722 (eval "$ac_link") 2>conftest.er1 13723 ac_status=$? 13724 grep -v '^ *+' conftest.er1 >conftest.err 13725 rm -f conftest.er1 13726 cat conftest.err >&5 13727 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13728 (exit $ac_status); } && { 13729 test -z "$ac_cxx_werror_flag" || 13730 test ! -s conftest.err 13731 } && test -s conftest$ac_exeext && { 13732 test "$cross_compiling" = yes || 13733 $as_test_x conftest$ac_exeext 13734 }; then 13735 eval "$as_ac_var=yes" 13736 else 13737 $as_echo "$as_me: failed program was:" >&5 13738 sed 's/^/| /' conftest.$ac_ext >&5 13739 13740 eval "$as_ac_var=no" 13741 fi 13742 13743 rm -rf conftest.dSYM 13744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13745 conftest$ac_exeext conftest.$ac_ext 13746 fi 13747 ac_res=`eval 'as_val=${'$as_ac_var'} 13748 $as_echo "$as_val"'` 13749 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13750 $as_echo "$ac_res" >&6; } 13751 as_val=`eval 'as_val=${'$as_ac_var'} 13752 $as_echo "$as_val"'` 13753 if test "x$as_val" = x""yes; then 13754 cat >>confdefs.h <<_ACEOF 13755 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13756 _ACEOF 13757 13758 fi 13759 done 13760 13761 13762 for ac_func in av_guess_format 13763 do 13764 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13765 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13766 $as_echo_n "checking for $ac_func... " >&6; } 13767 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13768 $as_echo_n "(cached) " >&6 13769 else 13770 cat >conftest.$ac_ext <<_ACEOF 13771 /* confdefs.h. */ 13772 _ACEOF 13773 cat confdefs.h >>conftest.$ac_ext 13774 cat >>conftest.$ac_ext <<_ACEOF 13775 /* end confdefs.h. */ 13776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13777 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13778 #define $ac_func innocuous_$ac_func 13779 13780 /* System header to define __stub macros and hopefully few prototypes, 13781 which can conflict with char $ac_func (); below. 13782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13783 <limits.h> exists even on freestanding compilers. */ 13784 13785 #ifdef __STDC__ 13786 # include <limits.h> 13787 #else 13788 # include <assert.h> 13789 #endif 13790 13791 #undef $ac_func 13792 13793 /* Override any GCC internal prototype to avoid an error. 13794 Use char because int might match the return type of a GCC 13795 builtin and then its argument prototype would still apply. */ 13796 #ifdef __cplusplus 13797 extern "C" 13798 #endif 13799 char $ac_func (); 13800 /* The GNU C library defines this for functions which it implements 13801 to always fail with ENOSYS. Some functions are actually named 13802 something starting with __ and the normal name is an alias. */ 13803 #if defined __stub_$ac_func || defined __stub___$ac_func 13804 choke me 13805 #endif 13806 13807 int 13808 main () 13809 { 13810 return $ac_func (); 13811 ; 13812 return 0; 13813 } 13814 _ACEOF 13815 rm -f conftest.$ac_objext conftest$ac_exeext 13816 if { (ac_try="$ac_link" 13817 case "(($ac_try" in 13818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13819 *) ac_try_echo=$ac_try;; 13820 esac 13821 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13822 $as_echo "$ac_try_echo") >&5 13823 (eval "$ac_link") 2>conftest.er1 13824 ac_status=$? 13825 grep -v '^ *+' conftest.er1 >conftest.err 13826 rm -f conftest.er1 13827 cat conftest.err >&5 13828 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13829 (exit $ac_status); } && { 13830 test -z "$ac_cxx_werror_flag" || 13831 test ! -s conftest.err 13832 } && test -s conftest$ac_exeext && { 13833 test "$cross_compiling" = yes || 13834 $as_test_x conftest$ac_exeext 13835 }; then 13836 eval "$as_ac_var=yes" 13837 else 13838 $as_echo "$as_me: failed program was:" >&5 13839 sed 's/^/| /' conftest.$ac_ext >&5 13840 13841 eval "$as_ac_var=no" 13842 fi 13843 13844 rm -rf conftest.dSYM 13845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13846 conftest$ac_exeext conftest.$ac_ext 13847 fi 13848 ac_res=`eval 'as_val=${'$as_ac_var'} 13849 $as_echo "$as_val"'` 13850 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13851 $as_echo "$ac_res" >&6; } 13852 as_val=`eval 'as_val=${'$as_ac_var'} 13853 $as_echo "$as_val"'` 13854 if test "x$as_val" = x""yes; then 13855 cat >>confdefs.h <<_ACEOF 13856 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13857 _ACEOF 13858 13859 fi 13860 done 13861 13862 13863 for ac_func in guess_format 13864 do 13865 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13866 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13867 $as_echo_n "checking for $ac_func... " >&6; } 13868 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13869 $as_echo_n "(cached) " >&6 13870 else 13871 cat >conftest.$ac_ext <<_ACEOF 13872 /* confdefs.h. */ 13873 _ACEOF 13874 cat confdefs.h >>conftest.$ac_ext 13875 cat >>conftest.$ac_ext <<_ACEOF 13876 /* end confdefs.h. */ 13877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13878 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13879 #define $ac_func innocuous_$ac_func 13880 13881 /* System header to define __stub macros and hopefully few prototypes, 13882 which can conflict with char $ac_func (); below. 13883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13884 <limits.h> exists even on freestanding compilers. */ 13885 13886 #ifdef __STDC__ 13887 # include <limits.h> 13888 #else 13889 # include <assert.h> 13890 #endif 13891 13892 #undef $ac_func 13893 13894 /* Override any GCC internal prototype to avoid an error. 13895 Use char because int might match the return type of a GCC 13896 builtin and then its argument prototype would still apply. */ 13897 #ifdef __cplusplus 13898 extern "C" 13899 #endif 13900 char $ac_func (); 13901 /* The GNU C library defines this for functions which it implements 13902 to always fail with ENOSYS. Some functions are actually named 13903 something starting with __ and the normal name is an alias. */ 13904 #if defined __stub_$ac_func || defined __stub___$ac_func 13905 choke me 13906 #endif 13907 13908 int 13909 main () 13910 { 13911 return $ac_func (); 13912 ; 13913 return 0; 13914 } 13915 _ACEOF 13916 rm -f conftest.$ac_objext conftest$ac_exeext 13917 if { (ac_try="$ac_link" 13918 case "(($ac_try" in 13919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13920 *) ac_try_echo=$ac_try;; 13921 esac 13922 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13923 $as_echo "$ac_try_echo") >&5 13924 (eval "$ac_link") 2>conftest.er1 13925 ac_status=$? 13926 grep -v '^ *+' conftest.er1 >conftest.err 13927 rm -f conftest.er1 13928 cat conftest.err >&5 13929 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13930 (exit $ac_status); } && { 13931 test -z "$ac_cxx_werror_flag" || 13932 test ! -s conftest.err 13933 } && test -s conftest$ac_exeext && { 13934 test "$cross_compiling" = yes || 13935 $as_test_x conftest$ac_exeext 13936 }; then 13937 eval "$as_ac_var=yes" 13938 else 13939 $as_echo "$as_me: failed program was:" >&5 13940 sed 's/^/| /' conftest.$ac_ext >&5 13941 13942 eval "$as_ac_var=no" 13943 fi 13944 13945 rm -rf conftest.dSYM 13946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13947 conftest$ac_exeext conftest.$ac_ext 13948 fi 13949 ac_res=`eval 'as_val=${'$as_ac_var'} 13950 $as_echo "$as_val"'` 13951 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13952 $as_echo "$ac_res" >&6; } 13953 as_val=`eval 'as_val=${'$as_ac_var'} 13954 $as_echo "$as_val"'` 13955 if test "x$as_val" = x""yes; then 13956 cat >>confdefs.h <<_ACEOF 13957 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13958 _ACEOF 13959 13960 fi 13961 done 13962 13963 13964 for ac_func in av_dump_format 13965 do 13966 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13967 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13968 $as_echo_n "checking for $ac_func... " >&6; } 13969 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13970 $as_echo_n "(cached) " >&6 13971 else 13972 cat >conftest.$ac_ext <<_ACEOF 13973 /* confdefs.h. */ 13974 _ACEOF 13975 cat confdefs.h >>conftest.$ac_ext 13976 cat >>conftest.$ac_ext <<_ACEOF 13977 /* end confdefs.h. */ 13978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13979 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13980 #define $ac_func innocuous_$ac_func 13981 13982 /* System header to define __stub macros and hopefully few prototypes, 13983 which can conflict with char $ac_func (); below. 13984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13985 <limits.h> exists even on freestanding compilers. */ 13986 13987 #ifdef __STDC__ 13988 # include <limits.h> 13989 #else 13990 # include <assert.h> 13991 #endif 13992 13993 #undef $ac_func 13994 13995 /* Override any GCC internal prototype to avoid an error. 13996 Use char because int might match the return type of a GCC 13997 builtin and then its argument prototype would still apply. */ 13998 #ifdef __cplusplus 13999 extern "C" 14000 #endif 14001 char $ac_func (); 14002 /* The GNU C library defines this for functions which it implements 14003 to always fail with ENOSYS. Some functions are actually named 14004 something starting with __ and the normal name is an alias. */ 14005 #if defined __stub_$ac_func || defined __stub___$ac_func 14006 choke me 14007 #endif 14008 14009 int 14010 main () 14011 { 14012 return $ac_func (); 14013 ; 14014 return 0; 14015 } 14016 _ACEOF 14017 rm -f conftest.$ac_objext conftest$ac_exeext 14018 if { (ac_try="$ac_link" 14019 case "(($ac_try" in 14020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14021 *) ac_try_echo=$ac_try;; 14022 esac 14023 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14024 $as_echo "$ac_try_echo") >&5 14025 (eval "$ac_link") 2>conftest.er1 14026 ac_status=$? 14027 grep -v '^ *+' conftest.er1 >conftest.err 14028 rm -f conftest.er1 14029 cat conftest.err >&5 14030 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14031 (exit $ac_status); } && { 14032 test -z "$ac_cxx_werror_flag" || 14033 test ! -s conftest.err 14034 } && test -s conftest$ac_exeext && { 14035 test "$cross_compiling" = yes || 14036 $as_test_x conftest$ac_exeext 14037 }; then 14038 eval "$as_ac_var=yes" 14039 else 14040 $as_echo "$as_me: failed program was:" >&5 14041 sed 's/^/| /' conftest.$ac_ext >&5 14042 14043 eval "$as_ac_var=no" 14044 fi 14045 14046 rm -rf conftest.dSYM 14047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14048 conftest$ac_exeext conftest.$ac_ext 14049 fi 14050 ac_res=`eval 'as_val=${'$as_ac_var'} 14051 $as_echo "$as_val"'` 14052 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14053 $as_echo "$ac_res" >&6; } 14054 as_val=`eval 'as_val=${'$as_ac_var'} 14055 $as_echo "$as_val"'` 14056 if test "x$as_val" = x""yes; then 14057 cat >>confdefs.h <<_ACEOF 14058 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14059 _ACEOF 14060 14061 fi 14062 done 14063 14064 14065 for ac_func in dump_format 14066 do 14067 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14068 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14069 $as_echo_n "checking for $ac_func... " >&6; } 14070 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14071 $as_echo_n "(cached) " >&6 14072 else 14073 cat >conftest.$ac_ext <<_ACEOF 14074 /* confdefs.h. */ 14075 _ACEOF 14076 cat confdefs.h >>conftest.$ac_ext 14077 cat >>conftest.$ac_ext <<_ACEOF 14078 /* end confdefs.h. */ 14079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14080 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14081 #define $ac_func innocuous_$ac_func 14082 14083 /* System header to define __stub macros and hopefully few prototypes, 14084 which can conflict with char $ac_func (); below. 14085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14086 <limits.h> exists even on freestanding compilers. */ 14087 14088 #ifdef __STDC__ 14089 # include <limits.h> 14090 #else 14091 # include <assert.h> 14092 #endif 14093 14094 #undef $ac_func 14095 14096 /* Override any GCC internal prototype to avoid an error. 14097 Use char because int might match the return type of a GCC 14098 builtin and then its argument prototype would still apply. */ 14099 #ifdef __cplusplus 14100 extern "C" 14101 #endif 14102 char $ac_func (); 14103 /* The GNU C library defines this for functions which it implements 14104 to always fail with ENOSYS. Some functions are actually named 14105 something starting with __ and the normal name is an alias. */ 14106 #if defined __stub_$ac_func || defined __stub___$ac_func 14107 choke me 14108 #endif 14109 14110 int 14111 main () 14112 { 14113 return $ac_func (); 14114 ; 14115 return 0; 14116 } 14117 _ACEOF 14118 rm -f conftest.$ac_objext conftest$ac_exeext 14119 if { (ac_try="$ac_link" 14120 case "(($ac_try" in 14121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14122 *) ac_try_echo=$ac_try;; 14123 esac 14124 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14125 $as_echo "$ac_try_echo") >&5 14126 (eval "$ac_link") 2>conftest.er1 14127 ac_status=$? 14128 grep -v '^ *+' conftest.er1 >conftest.err 14129 rm -f conftest.er1 14130 cat conftest.err >&5 14131 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14132 (exit $ac_status); } && { 14133 test -z "$ac_cxx_werror_flag" || 14134 test ! -s conftest.err 14135 } && test -s conftest$ac_exeext && { 14136 test "$cross_compiling" = yes || 14137 $as_test_x conftest$ac_exeext 14138 }; then 14139 eval "$as_ac_var=yes" 14140 else 14141 $as_echo "$as_me: failed program was:" >&5 14142 sed 's/^/| /' conftest.$ac_ext >&5 14143 14144 eval "$as_ac_var=no" 14145 fi 14146 14147 rm -rf conftest.dSYM 14148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14149 conftest$ac_exeext conftest.$ac_ext 14150 fi 14151 ac_res=`eval 'as_val=${'$as_ac_var'} 14152 $as_echo "$as_val"'` 14153 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14154 $as_echo "$ac_res" >&6; } 14155 as_val=`eval 'as_val=${'$as_ac_var'} 14156 $as_echo "$as_val"'` 14157 if test "x$as_val" = x""yes; then 14158 cat >>confdefs.h <<_ACEOF 14159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14160 _ACEOF 14161 14162 fi 14163 done 14164 14165 14166 for ac_func in avio_open 14167 do 14168 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14169 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14170 $as_echo_n "checking for $ac_func... " >&6; } 14171 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14172 $as_echo_n "(cached) " >&6 14173 else 14174 cat >conftest.$ac_ext <<_ACEOF 14175 /* confdefs.h. */ 14176 _ACEOF 14177 cat confdefs.h >>conftest.$ac_ext 14178 cat >>conftest.$ac_ext <<_ACEOF 14179 /* end confdefs.h. */ 14180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14181 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14182 #define $ac_func innocuous_$ac_func 14183 14184 /* System header to define __stub macros and hopefully few prototypes, 14185 which can conflict with char $ac_func (); below. 14186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14187 <limits.h> exists even on freestanding compilers. */ 14188 14189 #ifdef __STDC__ 14190 # include <limits.h> 14191 #else 14192 # include <assert.h> 14193 #endif 14194 14195 #undef $ac_func 14196 14197 /* Override any GCC internal prototype to avoid an error. 14198 Use char because int might match the return type of a GCC 14199 builtin and then its argument prototype would still apply. */ 14200 #ifdef __cplusplus 14201 extern "C" 14202 #endif 14203 char $ac_func (); 14204 /* The GNU C library defines this for functions which it implements 14205 to always fail with ENOSYS. Some functions are actually named 14206 something starting with __ and the normal name is an alias. */ 14207 #if defined __stub_$ac_func || defined __stub___$ac_func 14208 choke me 14209 #endif 14210 14211 int 14212 main () 14213 { 14214 return $ac_func (); 14215 ; 14216 return 0; 14217 } 14218 _ACEOF 14219 rm -f conftest.$ac_objext conftest$ac_exeext 14220 if { (ac_try="$ac_link" 14221 case "(($ac_try" in 14222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14223 *) ac_try_echo=$ac_try;; 14224 esac 14225 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14226 $as_echo "$ac_try_echo") >&5 14227 (eval "$ac_link") 2>conftest.er1 14228 ac_status=$? 14229 grep -v '^ *+' conftest.er1 >conftest.err 14230 rm -f conftest.er1 14231 cat conftest.err >&5 14232 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14233 (exit $ac_status); } && { 14234 test -z "$ac_cxx_werror_flag" || 14235 test ! -s conftest.err 14236 } && test -s conftest$ac_exeext && { 14237 test "$cross_compiling" = yes || 14238 $as_test_x conftest$ac_exeext 14239 }; then 14240 eval "$as_ac_var=yes" 14241 else 14242 $as_echo "$as_me: failed program was:" >&5 14243 sed 's/^/| /' conftest.$ac_ext >&5 14244 14245 eval "$as_ac_var=no" 14246 fi 14247 14248 rm -rf conftest.dSYM 14249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14250 conftest$ac_exeext conftest.$ac_ext 14251 fi 14252 ac_res=`eval 'as_val=${'$as_ac_var'} 14253 $as_echo "$as_val"'` 14254 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14255 $as_echo "$ac_res" >&6; } 14256 as_val=`eval 'as_val=${'$as_ac_var'} 14257 $as_echo "$as_val"'` 14258 if test "x$as_val" = x""yes; then 14259 cat >>confdefs.h <<_ACEOF 14260 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14261 _ACEOF 14262 14263 fi 14264 done 14265 14266 14267 for ac_func in url_fopen 14268 do 14269 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14270 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14271 $as_echo_n "checking for $ac_func... " >&6; } 14272 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14273 $as_echo_n "(cached) " >&6 14274 else 14275 cat >conftest.$ac_ext <<_ACEOF 14276 /* confdefs.h. */ 14277 _ACEOF 14278 cat confdefs.h >>conftest.$ac_ext 14279 cat >>conftest.$ac_ext <<_ACEOF 14280 /* end confdefs.h. */ 14281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14282 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14283 #define $ac_func innocuous_$ac_func 14284 14285 /* System header to define __stub macros and hopefully few prototypes, 14286 which can conflict with char $ac_func (); below. 14287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14288 <limits.h> exists even on freestanding compilers. */ 14289 14290 #ifdef __STDC__ 14291 # include <limits.h> 14292 #else 14293 # include <assert.h> 14294 #endif 14295 14296 #undef $ac_func 14297 14298 /* Override any GCC internal prototype to avoid an error. 14299 Use char because int might match the return type of a GCC 14300 builtin and then its argument prototype would still apply. */ 14301 #ifdef __cplusplus 14302 extern "C" 14303 #endif 14304 char $ac_func (); 14305 /* The GNU C library defines this for functions which it implements 14306 to always fail with ENOSYS. Some functions are actually named 14307 something starting with __ and the normal name is an alias. */ 14308 #if defined __stub_$ac_func || defined __stub___$ac_func 14309 choke me 14310 #endif 14311 14312 int 14313 main () 14314 { 14315 return $ac_func (); 14316 ; 14317 return 0; 14318 } 14319 _ACEOF 14320 rm -f conftest.$ac_objext conftest$ac_exeext 14321 if { (ac_try="$ac_link" 14322 case "(($ac_try" in 14323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14324 *) ac_try_echo=$ac_try;; 14325 esac 14326 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14327 $as_echo "$ac_try_echo") >&5 14328 (eval "$ac_link") 2>conftest.er1 14329 ac_status=$? 14330 grep -v '^ *+' conftest.er1 >conftest.err 14331 rm -f conftest.er1 14332 cat conftest.err >&5 14333 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14334 (exit $ac_status); } && { 14335 test -z "$ac_cxx_werror_flag" || 14336 test ! -s conftest.err 14337 } && test -s conftest$ac_exeext && { 14338 test "$cross_compiling" = yes || 14339 $as_test_x conftest$ac_exeext 14340 }; then 14341 eval "$as_ac_var=yes" 14342 else 14343 $as_echo "$as_me: failed program was:" >&5 14344 sed 's/^/| /' conftest.$ac_ext >&5 14345 14346 eval "$as_ac_var=no" 14347 fi 14348 14349 rm -rf conftest.dSYM 14350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14351 conftest$ac_exeext conftest.$ac_ext 14352 fi 14353 ac_res=`eval 'as_val=${'$as_ac_var'} 14354 $as_echo "$as_val"'` 14355 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14356 $as_echo "$ac_res" >&6; } 14357 as_val=`eval 'as_val=${'$as_ac_var'} 14358 $as_echo "$as_val"'` 14359 if test "x$as_val" = x""yes; then 14360 cat >>confdefs.h <<_ACEOF 14361 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14362 _ACEOF 14363 14364 fi 14365 done 14366 14367 14368 for ac_func in avio_close 14369 do 14370 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14371 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14372 $as_echo_n "checking for $ac_func... " >&6; } 14373 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14374 $as_echo_n "(cached) " >&6 14375 else 14376 cat >conftest.$ac_ext <<_ACEOF 14377 /* confdefs.h. */ 14378 _ACEOF 14379 cat confdefs.h >>conftest.$ac_ext 14380 cat >>conftest.$ac_ext <<_ACEOF 14381 /* end confdefs.h. */ 14382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14383 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14384 #define $ac_func innocuous_$ac_func 14385 14386 /* System header to define __stub macros and hopefully few prototypes, 14387 which can conflict with char $ac_func (); below. 14388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14389 <limits.h> exists even on freestanding compilers. */ 14390 14391 #ifdef __STDC__ 14392 # include <limits.h> 14393 #else 14394 # include <assert.h> 14395 #endif 14396 14397 #undef $ac_func 14398 14399 /* Override any GCC internal prototype to avoid an error. 14400 Use char because int might match the return type of a GCC 14401 builtin and then its argument prototype would still apply. */ 14402 #ifdef __cplusplus 14403 extern "C" 14404 #endif 14405 char $ac_func (); 14406 /* The GNU C library defines this for functions which it implements 14407 to always fail with ENOSYS. Some functions are actually named 14408 something starting with __ and the normal name is an alias. */ 14409 #if defined __stub_$ac_func || defined __stub___$ac_func 14410 choke me 14411 #endif 14412 14413 int 14414 main () 14415 { 14416 return $ac_func (); 14417 ; 14418 return 0; 14419 } 14420 _ACEOF 14421 rm -f conftest.$ac_objext conftest$ac_exeext 14422 if { (ac_try="$ac_link" 14423 case "(($ac_try" in 14424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14425 *) ac_try_echo=$ac_try;; 14426 esac 14427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14428 $as_echo "$ac_try_echo") >&5 14429 (eval "$ac_link") 2>conftest.er1 14430 ac_status=$? 14431 grep -v '^ *+' conftest.er1 >conftest.err 14432 rm -f conftest.er1 14433 cat conftest.err >&5 14434 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14435 (exit $ac_status); } && { 14436 test -z "$ac_cxx_werror_flag" || 14437 test ! -s conftest.err 14438 } && test -s conftest$ac_exeext && { 14439 test "$cross_compiling" = yes || 14440 $as_test_x conftest$ac_exeext 14441 }; then 14442 eval "$as_ac_var=yes" 14443 else 14444 $as_echo "$as_me: failed program was:" >&5 14445 sed 's/^/| /' conftest.$ac_ext >&5 14446 14447 eval "$as_ac_var=no" 14448 fi 14449 14450 rm -rf conftest.dSYM 14451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14452 conftest$ac_exeext conftest.$ac_ext 14453 fi 14454 ac_res=`eval 'as_val=${'$as_ac_var'} 14455 $as_echo "$as_val"'` 14456 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14457 $as_echo "$ac_res" >&6; } 14458 as_val=`eval 'as_val=${'$as_ac_var'} 14459 $as_echo "$as_val"'` 14460 if test "x$as_val" = x""yes; then 14461 cat >>confdefs.h <<_ACEOF 14462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14463 _ACEOF 14464 14465 fi 14466 done 14467 14468 14469 for ac_func in url_fclose 14470 do 14471 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14472 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14473 $as_echo_n "checking for $ac_func... " >&6; } 14474 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14475 $as_echo_n "(cached) " >&6 14476 else 14477 cat >conftest.$ac_ext <<_ACEOF 14478 /* confdefs.h. */ 14479 _ACEOF 14480 cat confdefs.h >>conftest.$ac_ext 14481 cat >>conftest.$ac_ext <<_ACEOF 14482 /* end confdefs.h. */ 14483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14484 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14485 #define $ac_func innocuous_$ac_func 14486 14487 /* System header to define __stub macros and hopefully few prototypes, 14488 which can conflict with char $ac_func (); below. 14489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14490 <limits.h> exists even on freestanding compilers. */ 14491 14492 #ifdef __STDC__ 14493 # include <limits.h> 14494 #else 14495 # include <assert.h> 14496 #endif 14497 14498 #undef $ac_func 14499 14500 /* Override any GCC internal prototype to avoid an error. 14501 Use char because int might match the return type of a GCC 14502 builtin and then its argument prototype would still apply. */ 14503 #ifdef __cplusplus 14504 extern "C" 14505 #endif 14506 char $ac_func (); 14507 /* The GNU C library defines this for functions which it implements 14508 to always fail with ENOSYS. Some functions are actually named 14509 something starting with __ and the normal name is an alias. */ 14510 #if defined __stub_$ac_func || defined __stub___$ac_func 14511 choke me 14512 #endif 14513 14514 int 14515 main () 14516 { 14517 return $ac_func (); 14518 ; 14519 return 0; 14520 } 14521 _ACEOF 14522 rm -f conftest.$ac_objext conftest$ac_exeext 14523 if { (ac_try="$ac_link" 14524 case "(($ac_try" in 14525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14526 *) ac_try_echo=$ac_try;; 14527 esac 14528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14529 $as_echo "$ac_try_echo") >&5 14530 (eval "$ac_link") 2>conftest.er1 14531 ac_status=$? 14532 grep -v '^ *+' conftest.er1 >conftest.err 14533 rm -f conftest.er1 14534 cat conftest.err >&5 14535 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14536 (exit $ac_status); } && { 14537 test -z "$ac_cxx_werror_flag" || 14538 test ! -s conftest.err 14539 } && test -s conftest$ac_exeext && { 14540 test "$cross_compiling" = yes || 14541 $as_test_x conftest$ac_exeext 14542 }; then 14543 eval "$as_ac_var=yes" 14544 else 14545 $as_echo "$as_me: failed program was:" >&5 14546 sed 's/^/| /' conftest.$ac_ext >&5 14547 14548 eval "$as_ac_var=no" 14549 fi 14550 14551 rm -rf conftest.dSYM 14552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14553 conftest$ac_exeext conftest.$ac_ext 14554 fi 14555 ac_res=`eval 'as_val=${'$as_ac_var'} 14556 $as_echo "$as_val"'` 14557 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14558 $as_echo "$ac_res" >&6; } 14559 as_val=`eval 'as_val=${'$as_ac_var'} 14560 $as_echo "$as_val"'` 14561 if test "x$as_val" = x""yes; then 14562 cat >>confdefs.h <<_ACEOF 14563 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14564 _ACEOF 14565 14566 fi 14567 done 14568 14569 14570 for ac_func in avformat_alloc_context 14571 do 14572 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14573 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14574 $as_echo_n "checking for $ac_func... " >&6; } 14575 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14576 $as_echo_n "(cached) " >&6 14577 else 14578 cat >conftest.$ac_ext <<_ACEOF 14579 /* confdefs.h. */ 14580 _ACEOF 14581 cat confdefs.h >>conftest.$ac_ext 14582 cat >>conftest.$ac_ext <<_ACEOF 14583 /* end confdefs.h. */ 14584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14585 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14586 #define $ac_func innocuous_$ac_func 14587 14588 /* System header to define __stub macros and hopefully few prototypes, 14589 which can conflict with char $ac_func (); below. 14590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14591 <limits.h> exists even on freestanding compilers. */ 14592 14593 #ifdef __STDC__ 14594 # include <limits.h> 14595 #else 14596 # include <assert.h> 14597 #endif 14598 14599 #undef $ac_func 14600 14601 /* Override any GCC internal prototype to avoid an error. 14602 Use char because int might match the return type of a GCC 14603 builtin and then its argument prototype would still apply. */ 14604 #ifdef __cplusplus 14605 extern "C" 14606 #endif 14607 char $ac_func (); 14608 /* The GNU C library defines this for functions which it implements 14609 to always fail with ENOSYS. Some functions are actually named 14610 something starting with __ and the normal name is an alias. */ 14611 #if defined __stub_$ac_func || defined __stub___$ac_func 14612 choke me 14613 #endif 14614 14615 int 14616 main () 14617 { 14618 return $ac_func (); 14619 ; 14620 return 0; 14621 } 14622 _ACEOF 14623 rm -f conftest.$ac_objext conftest$ac_exeext 14624 if { (ac_try="$ac_link" 14625 case "(($ac_try" in 14626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14627 *) ac_try_echo=$ac_try;; 14628 esac 14629 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14630 $as_echo "$ac_try_echo") >&5 14631 (eval "$ac_link") 2>conftest.er1 14632 ac_status=$? 14633 grep -v '^ *+' conftest.er1 >conftest.err 14634 rm -f conftest.er1 14635 cat conftest.err >&5 14636 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14637 (exit $ac_status); } && { 14638 test -z "$ac_cxx_werror_flag" || 14639 test ! -s conftest.err 14640 } && test -s conftest$ac_exeext && { 14641 test "$cross_compiling" = yes || 14642 $as_test_x conftest$ac_exeext 14643 }; then 14644 eval "$as_ac_var=yes" 14645 else 14646 $as_echo "$as_me: failed program was:" >&5 14647 sed 's/^/| /' conftest.$ac_ext >&5 14648 14649 eval "$as_ac_var=no" 14650 fi 14651 14652 rm -rf conftest.dSYM 14653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14654 conftest$ac_exeext conftest.$ac_ext 14655 fi 14656 ac_res=`eval 'as_val=${'$as_ac_var'} 14657 $as_echo "$as_val"'` 14658 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14659 $as_echo "$ac_res" >&6; } 14660 as_val=`eval 'as_val=${'$as_ac_var'} 14661 $as_echo "$as_val"'` 14662 if test "x$as_val" = x""yes; then 14663 cat >>confdefs.h <<_ACEOF 14664 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14665 _ACEOF 14666 14667 fi 14668 done 14669 14670 14671 for ac_func in av_alloc_format_context 14672 do 14673 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14674 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14675 $as_echo_n "checking for $ac_func... " >&6; } 14676 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14677 $as_echo_n "(cached) " >&6 14678 else 14679 cat >conftest.$ac_ext <<_ACEOF 14680 /* confdefs.h. */ 14681 _ACEOF 14682 cat confdefs.h >>conftest.$ac_ext 14683 cat >>conftest.$ac_ext <<_ACEOF 14684 /* end confdefs.h. */ 14685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14686 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14687 #define $ac_func innocuous_$ac_func 14688 14689 /* System header to define __stub macros and hopefully few prototypes, 14690 which can conflict with char $ac_func (); below. 14691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14692 <limits.h> exists even on freestanding compilers. */ 14693 14694 #ifdef __STDC__ 14695 # include <limits.h> 14696 #else 14697 # include <assert.h> 14698 #endif 14699 14700 #undef $ac_func 14701 14702 /* Override any GCC internal prototype to avoid an error. 14703 Use char because int might match the return type of a GCC 14704 builtin and then its argument prototype would still apply. */ 14705 #ifdef __cplusplus 14706 extern "C" 14707 #endif 14708 char $ac_func (); 14709 /* The GNU C library defines this for functions which it implements 14710 to always fail with ENOSYS. Some functions are actually named 14711 something starting with __ and the normal name is an alias. */ 14712 #if defined __stub_$ac_func || defined __stub___$ac_func 14713 choke me 14714 #endif 14715 14716 int 14717 main () 14718 { 14719 return $ac_func (); 14720 ; 14721 return 0; 14722 } 14723 _ACEOF 14724 rm -f conftest.$ac_objext conftest$ac_exeext 14725 if { (ac_try="$ac_link" 14726 case "(($ac_try" in 14727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14728 *) ac_try_echo=$ac_try;; 14729 esac 14730 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14731 $as_echo "$ac_try_echo") >&5 14732 (eval "$ac_link") 2>conftest.er1 14733 ac_status=$? 14734 grep -v '^ *+' conftest.er1 >conftest.err 14735 rm -f conftest.er1 14736 cat conftest.err >&5 14737 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14738 (exit $ac_status); } && { 14739 test -z "$ac_cxx_werror_flag" || 14740 test ! -s conftest.err 14741 } && test -s conftest$ac_exeext && { 14742 test "$cross_compiling" = yes || 14743 $as_test_x conftest$ac_exeext 14744 }; then 14745 eval "$as_ac_var=yes" 14746 else 14747 $as_echo "$as_me: failed program was:" >&5 14748 sed 's/^/| /' conftest.$ac_ext >&5 14749 14750 eval "$as_ac_var=no" 14751 fi 14752 14753 rm -rf conftest.dSYM 14754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14755 conftest$ac_exeext conftest.$ac_ext 14756 fi 14757 ac_res=`eval 'as_val=${'$as_ac_var'} 14758 $as_echo "$as_val"'` 14759 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14760 $as_echo "$ac_res" >&6; } 14761 as_val=`eval 'as_val=${'$as_ac_var'} 14762 $as_echo "$as_val"'` 14763 if test "x$as_val" = x""yes; then 14764 cat >>confdefs.h <<_ACEOF 14765 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14766 _ACEOF 14767 14768 fi 14769 done 14770 14771 14772 for ac_func in av_set_parameters 14773 do 14774 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14775 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14776 $as_echo_n "checking for $ac_func... " >&6; } 14777 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14778 $as_echo_n "(cached) " >&6 14779 else 14780 cat >conftest.$ac_ext <<_ACEOF 14781 /* confdefs.h. */ 14782 _ACEOF 14783 cat confdefs.h >>conftest.$ac_ext 14784 cat >>conftest.$ac_ext <<_ACEOF 14785 /* end confdefs.h. */ 14786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14787 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14788 #define $ac_func innocuous_$ac_func 14789 14790 /* System header to define __stub macros and hopefully few prototypes, 14791 which can conflict with char $ac_func (); below. 14792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14793 <limits.h> exists even on freestanding compilers. */ 14794 14795 #ifdef __STDC__ 14796 # include <limits.h> 14797 #else 14798 # include <assert.h> 14799 #endif 14800 14801 #undef $ac_func 14802 14803 /* Override any GCC internal prototype to avoid an error. 14804 Use char because int might match the return type of a GCC 14805 builtin and then its argument prototype would still apply. */ 14806 #ifdef __cplusplus 14807 extern "C" 14808 #endif 14809 char $ac_func (); 14810 /* The GNU C library defines this for functions which it implements 14811 to always fail with ENOSYS. Some functions are actually named 14812 something starting with __ and the normal name is an alias. */ 14813 #if defined __stub_$ac_func || defined __stub___$ac_func 14814 choke me 14815 #endif 14816 14817 int 14818 main () 14819 { 14820 return $ac_func (); 14821 ; 14822 return 0; 14823 } 14824 _ACEOF 14825 rm -f conftest.$ac_objext conftest$ac_exeext 14826 if { (ac_try="$ac_link" 14827 case "(($ac_try" in 14828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14829 *) ac_try_echo=$ac_try;; 14830 esac 14831 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14832 $as_echo "$ac_try_echo") >&5 14833 (eval "$ac_link") 2>conftest.er1 14834 ac_status=$? 14835 grep -v '^ *+' conftest.er1 >conftest.err 14836 rm -f conftest.er1 14837 cat conftest.err >&5 14838 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14839 (exit $ac_status); } && { 14840 test -z "$ac_cxx_werror_flag" || 14841 test ! -s conftest.err 14842 } && test -s conftest$ac_exeext && { 14843 test "$cross_compiling" = yes || 14844 $as_test_x conftest$ac_exeext 14845 }; then 14846 eval "$as_ac_var=yes" 14847 else 14848 $as_echo "$as_me: failed program was:" >&5 14849 sed 's/^/| /' conftest.$ac_ext >&5 14850 14851 eval "$as_ac_var=no" 14852 fi 14853 14854 rm -rf conftest.dSYM 14855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14856 conftest$ac_exeext conftest.$ac_ext 14857 fi 14858 ac_res=`eval 'as_val=${'$as_ac_var'} 14859 $as_echo "$as_val"'` 14860 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14861 $as_echo "$ac_res" >&6; } 14862 as_val=`eval 'as_val=${'$as_ac_var'} 14863 $as_echo "$as_val"'` 14864 if test "x$as_val" = x""yes; then 14865 cat >>confdefs.h <<_ACEOF 14866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14867 _ACEOF 14868 14869 fi 14870 done 14871 14872 14873 for ac_func in avformat_write_header 14874 do 14875 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14876 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14877 $as_echo_n "checking for $ac_func... " >&6; } 14878 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14879 $as_echo_n "(cached) " >&6 14880 else 14881 cat >conftest.$ac_ext <<_ACEOF 14882 /* confdefs.h. */ 14883 _ACEOF 14884 cat confdefs.h >>conftest.$ac_ext 14885 cat >>conftest.$ac_ext <<_ACEOF 14886 /* end confdefs.h. */ 14887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14888 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14889 #define $ac_func innocuous_$ac_func 14890 14891 /* System header to define __stub macros and hopefully few prototypes, 14892 which can conflict with char $ac_func (); below. 14893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14894 <limits.h> exists even on freestanding compilers. */ 14895 14896 #ifdef __STDC__ 14897 # include <limits.h> 14898 #else 14899 # include <assert.h> 14900 #endif 14901 14902 #undef $ac_func 14903 14904 /* Override any GCC internal prototype to avoid an error. 14905 Use char because int might match the return type of a GCC 14906 builtin and then its argument prototype would still apply. */ 14907 #ifdef __cplusplus 14908 extern "C" 14909 #endif 14910 char $ac_func (); 14911 /* The GNU C library defines this for functions which it implements 14912 to always fail with ENOSYS. Some functions are actually named 14913 something starting with __ and the normal name is an alias. */ 14914 #if defined __stub_$ac_func || defined __stub___$ac_func 14915 choke me 14916 #endif 14917 14918 int 14919 main () 14920 { 14921 return $ac_func (); 14922 ; 14923 return 0; 14924 } 14925 _ACEOF 14926 rm -f conftest.$ac_objext conftest$ac_exeext 14927 if { (ac_try="$ac_link" 14928 case "(($ac_try" in 14929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14930 *) ac_try_echo=$ac_try;; 14931 esac 14932 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14933 $as_echo "$ac_try_echo") >&5 14934 (eval "$ac_link") 2>conftest.er1 14935 ac_status=$? 14936 grep -v '^ *+' conftest.er1 >conftest.err 14937 rm -f conftest.er1 14938 cat conftest.err >&5 14939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14940 (exit $ac_status); } && { 14941 test -z "$ac_cxx_werror_flag" || 14942 test ! -s conftest.err 14943 } && test -s conftest$ac_exeext && { 14944 test "$cross_compiling" = yes || 14945 $as_test_x conftest$ac_exeext 14946 }; then 14947 eval "$as_ac_var=yes" 14948 else 14949 $as_echo "$as_me: failed program was:" >&5 14950 sed 's/^/| /' conftest.$ac_ext >&5 14951 14952 eval "$as_ac_var=no" 14953 fi 14954 14955 rm -rf conftest.dSYM 14956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14957 conftest$ac_exeext conftest.$ac_ext 14958 fi 14959 ac_res=`eval 'as_val=${'$as_ac_var'} 14960 $as_echo "$as_val"'` 14961 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14962 $as_echo "$ac_res" >&6; } 14963 as_val=`eval 'as_val=${'$as_ac_var'} 14964 $as_echo "$as_val"'` 14965 if test "x$as_val" = x""yes; then 14966 cat >>confdefs.h <<_ACEOF 14967 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14968 _ACEOF 14969 14970 fi 14971 done 14972 14973 14974 for ac_func in av_write_header 14975 do 14976 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14977 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14978 $as_echo_n "checking for $ac_func... " >&6; } 14979 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14980 $as_echo_n "(cached) " >&6 14981 else 14982 cat >conftest.$ac_ext <<_ACEOF 14983 /* confdefs.h. */ 14984 _ACEOF 14985 cat confdefs.h >>conftest.$ac_ext 14986 cat >>conftest.$ac_ext <<_ACEOF 14987 /* end confdefs.h. */ 14988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14989 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14990 #define $ac_func innocuous_$ac_func 14991 14992 /* System header to define __stub macros and hopefully few prototypes, 14993 which can conflict with char $ac_func (); below. 14994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14995 <limits.h> exists even on freestanding compilers. */ 14996 14997 #ifdef __STDC__ 14998 # include <limits.h> 14999 #else 15000 # include <assert.h> 15001 #endif 15002 15003 #undef $ac_func 15004 15005 /* Override any GCC internal prototype to avoid an error. 15006 Use char because int might match the return type of a GCC 15007 builtin and then its argument prototype would still apply. */ 15008 #ifdef __cplusplus 15009 extern "C" 15010 #endif 15011 char $ac_func (); 15012 /* The GNU C library defines this for functions which it implements 15013 to always fail with ENOSYS. Some functions are actually named 15014 something starting with __ and the normal name is an alias. */ 15015 #if defined __stub_$ac_func || defined __stub___$ac_func 15016 choke me 15017 #endif 15018 15019 int 15020 main () 15021 { 15022 return $ac_func (); 15023 ; 15024 return 0; 15025 } 15026 _ACEOF 15027 rm -f conftest.$ac_objext conftest$ac_exeext 15028 if { (ac_try="$ac_link" 15029 case "(($ac_try" in 15030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15031 *) ac_try_echo=$ac_try;; 15032 esac 15033 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15034 $as_echo "$ac_try_echo") >&5 15035 (eval "$ac_link") 2>conftest.er1 15036 ac_status=$? 15037 grep -v '^ *+' conftest.er1 >conftest.err 15038 rm -f conftest.er1 15039 cat conftest.err >&5 15040 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15041 (exit $ac_status); } && { 15042 test -z "$ac_cxx_werror_flag" || 15043 test ! -s conftest.err 15044 } && test -s conftest$ac_exeext && { 15045 test "$cross_compiling" = yes || 15046 $as_test_x conftest$ac_exeext 15047 }; then 15048 eval "$as_ac_var=yes" 15049 else 15050 $as_echo "$as_me: failed program was:" >&5 15051 sed 's/^/| /' conftest.$ac_ext >&5 15052 15053 eval "$as_ac_var=no" 15054 fi 15055 15056 rm -rf conftest.dSYM 15057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15058 conftest$ac_exeext conftest.$ac_ext 15059 fi 15060 ac_res=`eval 'as_val=${'$as_ac_var'} 15061 $as_echo "$as_val"'` 15062 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 15063 $as_echo "$ac_res" >&6; } 15064 as_val=`eval 'as_val=${'$as_ac_var'} 15065 $as_echo "$as_val"'` 15066 if test "x$as_val" = x""yes; then 15067 cat >>confdefs.h <<_ACEOF 15068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 15069 _ACEOF 15070 15071 fi 15072 done 15073 15074 { $as_echo "$as_me:$LINENO: checking for av_write_trailer" >&5 15075 $as_echo_n "checking for av_write_trailer... " >&6; } 15076 if test "${ac_cv_func_av_write_trailer+set}" = set; then 15077 $as_echo_n "(cached) " >&6 15078 else 15079 cat >conftest.$ac_ext <<_ACEOF 15080 /* confdefs.h. */ 15081 _ACEOF 15082 cat confdefs.h >>conftest.$ac_ext 15083 cat >>conftest.$ac_ext <<_ACEOF 15084 /* end confdefs.h. */ 15085 /* Define av_write_trailer to an innocuous variant, in case <limits.h> declares av_write_trailer. 15086 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15087 #define av_write_trailer innocuous_av_write_trailer 15088 15089 /* System header to define __stub macros and hopefully few prototypes, 15090 which can conflict with char av_write_trailer (); below. 15091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15092 <limits.h> exists even on freestanding compilers. */ 15093 15094 #ifdef __STDC__ 15095 # include <limits.h> 15096 #else 15097 # include <assert.h> 15098 #endif 15099 15100 #undef av_write_trailer 15101 15102 /* Override any GCC internal prototype to avoid an error. 15103 Use char because int might match the return type of a GCC 15104 builtin and then its argument prototype would still apply. */ 15105 #ifdef __cplusplus 15106 extern "C" 15107 #endif 15108 char av_write_trailer (); 15109 /* The GNU C library defines this for functions which it implements 15110 to always fail with ENOSYS. Some functions are actually named 15111 something starting with __ and the normal name is an alias. */ 15112 #if defined __stub_av_write_trailer || defined __stub___av_write_trailer 15113 choke me 15114 #endif 15115 15116 int 15117 main () 15118 { 15119 return av_write_trailer (); 15120 ; 15121 return 0; 15122 } 15123 _ACEOF 15124 rm -f conftest.$ac_objext conftest$ac_exeext 15125 if { (ac_try="$ac_link" 15126 case "(($ac_try" in 15127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15128 *) ac_try_echo=$ac_try;; 15129 esac 15130 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15131 $as_echo "$ac_try_echo") >&5 15132 (eval "$ac_link") 2>conftest.er1 15133 ac_status=$? 15134 grep -v '^ *+' conftest.er1 >conftest.err 15135 rm -f conftest.er1 15136 cat conftest.err >&5 15137 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15138 (exit $ac_status); } && { 15139 test -z "$ac_cxx_werror_flag" || 15140 test ! -s conftest.err 15141 } && test -s conftest$ac_exeext && { 15142 test "$cross_compiling" = yes || 15143 $as_test_x conftest$ac_exeext 15144 }; then 15145 ac_cv_func_av_write_trailer=yes 15146 else 15147 $as_echo "$as_me: failed program was:" >&5 15148 sed 's/^/| /' conftest.$ac_ext >&5 15149 15150 ac_cv_func_av_write_trailer=no 15151 fi 15152 15153 rm -rf conftest.dSYM 15154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15155 conftest$ac_exeext conftest.$ac_ext 15156 fi 15157 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_write_trailer" >&5 15158 $as_echo "$ac_cv_func_av_write_trailer" >&6; } 15159 if test "x$ac_cv_func_av_write_trailer" = x""yes; then 15160 : 15161 else 15162 { { $as_echo "$as_me:$LINENO: error: oops! no av_write_trailer?!?" >&5 15163 $as_echo "$as_me: error: oops! no av_write_trailer?!?" >&2;} 15164 { (exit 1); exit 1; }; } 15165 fi 15166 15167 { $as_echo "$as_me:$LINENO: checking for av_freep" >&5 15168 $as_echo_n "checking for av_freep... " >&6; } 15169 if test "${ac_cv_func_av_freep+set}" = set; then 15170 $as_echo_n "(cached) " >&6 15171 else 15172 cat >conftest.$ac_ext <<_ACEOF 15173 /* confdefs.h. */ 15174 _ACEOF 15175 cat confdefs.h >>conftest.$ac_ext 15176 cat >>conftest.$ac_ext <<_ACEOF 15177 /* end confdefs.h. */ 15178 /* Define av_freep to an innocuous variant, in case <limits.h> declares av_freep. 15179 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15180 #define av_freep innocuous_av_freep 15181 15182 /* System header to define __stub macros and hopefully few prototypes, 15183 which can conflict with char av_freep (); below. 15184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15185 <limits.h> exists even on freestanding compilers. */ 15186 15187 #ifdef __STDC__ 15188 # include <limits.h> 15189 #else 15190 # include <assert.h> 15191 #endif 15192 15193 #undef av_freep 15194 15195 /* Override any GCC internal prototype to avoid an error. 15196 Use char because int might match the return type of a GCC 15197 builtin and then its argument prototype would still apply. */ 15198 #ifdef __cplusplus 15199 extern "C" 15200 #endif 15201 char av_freep (); 15202 /* The GNU C library defines this for functions which it implements 15203 to always fail with ENOSYS. Some functions are actually named 15204 something starting with __ and the normal name is an alias. */ 15205 #if defined __stub_av_freep || defined __stub___av_freep 15206 choke me 15207 #endif 15208 15209 int 15210 main () 15211 { 15212 return av_freep (); 15213 ; 15214 return 0; 15215 } 15216 _ACEOF 15217 rm -f conftest.$ac_objext conftest$ac_exeext 15218 if { (ac_try="$ac_link" 15219 case "(($ac_try" in 15220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15221 *) ac_try_echo=$ac_try;; 15222 esac 15223 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15224 $as_echo "$ac_try_echo") >&5 15225 (eval "$ac_link") 2>conftest.er1 15226 ac_status=$? 15227 grep -v '^ *+' conftest.er1 >conftest.err 15228 rm -f conftest.er1 15229 cat conftest.err >&5 15230 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15231 (exit $ac_status); } && { 15232 test -z "$ac_cxx_werror_flag" || 15233 test ! -s conftest.err 15234 } && test -s conftest$ac_exeext && { 15235 test "$cross_compiling" = yes || 15236 $as_test_x conftest$ac_exeext 15237 }; then 15238 ac_cv_func_av_freep=yes 15239 else 15240 $as_echo "$as_me: failed program was:" >&5 15241 sed 's/^/| /' conftest.$ac_ext >&5 15242 15243 ac_cv_func_av_freep=no 15244 fi 15245 15246 rm -rf conftest.dSYM 15247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15248 conftest$ac_exeext conftest.$ac_ext 15249 fi 15250 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_freep" >&5 15251 $as_echo "$ac_cv_func_av_freep" >&6; } 15252 if test "x$ac_cv_func_av_freep" = x""yes; then 15253 : 15254 else 15255 { { $as_echo "$as_me:$LINENO: error: oops! no av_freep ?!?" >&5 15256 $as_echo "$as_me: error: oops! no av_freep ?!?" >&2;} 15257 { (exit 1); exit 1; }; } 15258 fi 15259 15260 { $as_echo "$as_me:$LINENO: checking for av_free" >&5 15261 $as_echo_n "checking for av_free... " >&6; } 15262 if test "${ac_cv_func_av_free+set}" = set; then 15263 $as_echo_n "(cached) " >&6 15264 else 15265 cat >conftest.$ac_ext <<_ACEOF 15266 /* confdefs.h. */ 15267 _ACEOF 15268 cat confdefs.h >>conftest.$ac_ext 15269 cat >>conftest.$ac_ext <<_ACEOF 15270 /* end confdefs.h. */ 15271 /* Define av_free to an innocuous variant, in case <limits.h> declares av_free. 15272 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15273 #define av_free innocuous_av_free 15274 15275 /* System header to define __stub macros and hopefully few prototypes, 15276 which can conflict with char av_free (); below. 15277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15278 <limits.h> exists even on freestanding compilers. */ 15279 15280 #ifdef __STDC__ 15281 # include <limits.h> 15282 #else 15283 # include <assert.h> 15284 #endif 15285 15286 #undef av_free 15287 15288 /* Override any GCC internal prototype to avoid an error. 15289 Use char because int might match the return type of a GCC 15290 builtin and then its argument prototype would still apply. */ 15291 #ifdef __cplusplus 15292 extern "C" 15293 #endif 15294 char av_free (); 15295 /* The GNU C library defines this for functions which it implements 15296 to always fail with ENOSYS. Some functions are actually named 15297 something starting with __ and the normal name is an alias. */ 15298 #if defined __stub_av_free || defined __stub___av_free 15299 choke me 15300 #endif 15301 15302 int 15303 main () 15304 { 15305 return av_free (); 15306 ; 15307 return 0; 15308 } 15309 _ACEOF 15310 rm -f conftest.$ac_objext conftest$ac_exeext 15311 if { (ac_try="$ac_link" 15312 case "(($ac_try" in 15313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15314 *) ac_try_echo=$ac_try;; 15315 esac 15316 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15317 $as_echo "$ac_try_echo") >&5 15318 (eval "$ac_link") 2>conftest.er1 15319 ac_status=$? 15320 grep -v '^ *+' conftest.er1 >conftest.err 15321 rm -f conftest.er1 15322 cat conftest.err >&5 15323 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15324 (exit $ac_status); } && { 15325 test -z "$ac_cxx_werror_flag" || 15326 test ! -s conftest.err 15327 } && test -s conftest$ac_exeext && { 15328 test "$cross_compiling" = yes || 15329 $as_test_x conftest$ac_exeext 15330 }; then 15331 ac_cv_func_av_free=yes 15332 else 15333 $as_echo "$as_me: failed program was:" >&5 15334 sed 's/^/| /' conftest.$ac_ext >&5 15335 15336 ac_cv_func_av_free=no 15337 fi 15338 15339 rm -rf conftest.dSYM 15340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15341 conftest$ac_exeext conftest.$ac_ext 15342 fi 15343 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_free" >&5 15344 $as_echo "$ac_cv_func_av_free" >&6; } 15345 if test "x$ac_cv_func_av_free" = x""yes; then 15346 : 15347 else 15348 { { $as_echo "$as_me:$LINENO: error: oops! no av_free ?!?" >&5 15349 $as_echo "$as_me: error: oops! no av_free ?!?" >&2;} 15350 { (exit 1); exit 1; }; } 15351 fi 15352 15353 { $as_echo "$as_me:$LINENO: checking for av_new_stream" >&5 15354 $as_echo_n "checking for av_new_stream... " >&6; } 15355 if test "${ac_cv_func_av_new_stream+set}" = set; then 15356 $as_echo_n "(cached) " >&6 15357 else 15358 cat >conftest.$ac_ext <<_ACEOF 15359 /* confdefs.h. */ 15360 _ACEOF 15361 cat confdefs.h >>conftest.$ac_ext 15362 cat >>conftest.$ac_ext <<_ACEOF 15363 /* end confdefs.h. */ 15364 /* Define av_new_stream to an innocuous variant, in case <limits.h> declares av_new_stream. 15365 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15366 #define av_new_stream innocuous_av_new_stream 15367 15368 /* System header to define __stub macros and hopefully few prototypes, 15369 which can conflict with char av_new_stream (); below. 15370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15371 <limits.h> exists even on freestanding compilers. */ 15372 15373 #ifdef __STDC__ 15374 # include <limits.h> 15375 #else 15376 # include <assert.h> 15377 #endif 15378 15379 #undef av_new_stream 15380 15381 /* Override any GCC internal prototype to avoid an error. 15382 Use char because int might match the return type of a GCC 15383 builtin and then its argument prototype would still apply. */ 15384 #ifdef __cplusplus 15385 extern "C" 15386 #endif 15387 char av_new_stream (); 15388 /* The GNU C library defines this for functions which it implements 15389 to always fail with ENOSYS. Some functions are actually named 15390 something starting with __ and the normal name is an alias. */ 15391 #if defined __stub_av_new_stream || defined __stub___av_new_stream 15392 choke me 15393 #endif 15394 15395 int 15396 main () 15397 { 15398 return av_new_stream (); 15399 ; 15400 return 0; 15401 } 15402 _ACEOF 15403 rm -f conftest.$ac_objext conftest$ac_exeext 15404 if { (ac_try="$ac_link" 15405 case "(($ac_try" in 15406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15407 *) ac_try_echo=$ac_try;; 15408 esac 15409 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15410 $as_echo "$ac_try_echo") >&5 15411 (eval "$ac_link") 2>conftest.er1 15412 ac_status=$? 15413 grep -v '^ *+' conftest.er1 >conftest.err 15414 rm -f conftest.er1 15415 cat conftest.err >&5 15416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15417 (exit $ac_status); } && { 15418 test -z "$ac_cxx_werror_flag" || 15419 test ! -s conftest.err 15420 } && test -s conftest$ac_exeext && { 15421 test "$cross_compiling" = yes || 15422 $as_test_x conftest$ac_exeext 15423 }; then 15424 ac_cv_func_av_new_stream=yes 15425 else 15426 $as_echo "$as_me: failed program was:" >&5 15427 sed 's/^/| /' conftest.$ac_ext >&5 15428 15429 ac_cv_func_av_new_stream=no 15430 fi 15431 15432 rm -rf conftest.dSYM 15433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15434 conftest$ac_exeext conftest.$ac_ext 15435 fi 15436 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_new_stream" >&5 15437 $as_echo "$ac_cv_func_av_new_stream" >&6; } 15438 if test "x$ac_cv_func_av_new_stream" = x""yes; then 15439 : 15440 else 15441 { { $as_echo "$as_me:$LINENO: error: oops! av_new_stream ?!?" >&5 15442 $as_echo "$as_me: error: oops! av_new_stream ?!?" >&2;} 15443 { (exit 1); exit 1; }; } 15444 fi 15445 15446 { $as_echo "$as_me:$LINENO: checking for av_malloc" >&5 15447 $as_echo_n "checking for av_malloc... " >&6; } 15448 if test "${ac_cv_func_av_malloc+set}" = set; then 15449 $as_echo_n "(cached) " >&6 15450 else 15451 cat >conftest.$ac_ext <<_ACEOF 15452 /* confdefs.h. */ 15453 _ACEOF 15454 cat confdefs.h >>conftest.$ac_ext 15455 cat >>conftest.$ac_ext <<_ACEOF 15456 /* end confdefs.h. */ 15457 /* Define av_malloc to an innocuous variant, in case <limits.h> declares av_malloc. 15458 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15459 #define av_malloc innocuous_av_malloc 15460 15461 /* System header to define __stub macros and hopefully few prototypes, 15462 which can conflict with char av_malloc (); below. 15463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15464 <limits.h> exists even on freestanding compilers. */ 15465 15466 #ifdef __STDC__ 15467 # include <limits.h> 15468 #else 15469 # include <assert.h> 15470 #endif 15471 15472 #undef av_malloc 15473 15474 /* Override any GCC internal prototype to avoid an error. 15475 Use char because int might match the return type of a GCC 15476 builtin and then its argument prototype would still apply. */ 15477 #ifdef __cplusplus 15478 extern "C" 15479 #endif 15480 char av_malloc (); 15481 /* The GNU C library defines this for functions which it implements 15482 to always fail with ENOSYS. Some functions are actually named 15483 something starting with __ and the normal name is an alias. */ 15484 #if defined __stub_av_malloc || defined __stub___av_malloc 15485 choke me 15486 #endif 15487 15488 int 15489 main () 15490 { 15491 return av_malloc (); 15492 ; 15493 return 0; 15494 } 15495 _ACEOF 15496 rm -f conftest.$ac_objext conftest$ac_exeext 15497 if { (ac_try="$ac_link" 15498 case "(($ac_try" in 15499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15500 *) ac_try_echo=$ac_try;; 15501 esac 15502 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15503 $as_echo "$ac_try_echo") >&5 15504 (eval "$ac_link") 2>conftest.er1 15505 ac_status=$? 15506 grep -v '^ *+' conftest.er1 >conftest.err 15507 rm -f conftest.er1 15508 cat conftest.err >&5 15509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15510 (exit $ac_status); } && { 15511 test -z "$ac_cxx_werror_flag" || 15512 test ! -s conftest.err 15513 } && test -s conftest$ac_exeext && { 15514 test "$cross_compiling" = yes || 15515 $as_test_x conftest$ac_exeext 15516 }; then 15517 ac_cv_func_av_malloc=yes 15518 else 15519 $as_echo "$as_me: failed program was:" >&5 15520 sed 's/^/| /' conftest.$ac_ext >&5 15521 15522 ac_cv_func_av_malloc=no 15523 fi 15524 15525 rm -rf conftest.dSYM 15526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15527 conftest$ac_exeext conftest.$ac_ext 15528 fi 15529 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_malloc" >&5 15530 $as_echo "$ac_cv_func_av_malloc" >&6; } 15531 if test "x$ac_cv_func_av_malloc" = x""yes; then 15532 : 15533 else 15534 { { $as_echo "$as_me:$LINENO: error: oops! no av_malloc ?!?" >&5 15535 $as_echo "$as_me: error: oops! no av_malloc ?!?" >&2;} 15536 { (exit 1); exit 1; }; } 15537 fi 15538 15539 { $as_echo "$as_me:$LINENO: checking for av_init_packet" >&5 15540 $as_echo_n "checking for av_init_packet... " >&6; } 15541 if test "${ac_cv_func_av_init_packet+set}" = set; then 15542 $as_echo_n "(cached) " >&6 15543 else 15544 cat >conftest.$ac_ext <<_ACEOF 15545 /* confdefs.h. */ 15546 _ACEOF 15547 cat confdefs.h >>conftest.$ac_ext 15548 cat >>conftest.$ac_ext <<_ACEOF 15549 /* end confdefs.h. */ 15550 /* Define av_init_packet to an innocuous variant, in case <limits.h> declares av_init_packet. 15551 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15552 #define av_init_packet innocuous_av_init_packet 15553 15554 /* System header to define __stub macros and hopefully few prototypes, 15555 which can conflict with char av_init_packet (); below. 15556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15557 <limits.h> exists even on freestanding compilers. */ 15558 15559 #ifdef __STDC__ 15560 # include <limits.h> 15561 #else 15562 # include <assert.h> 15563 #endif 15564 15565 #undef av_init_packet 15566 15567 /* Override any GCC internal prototype to avoid an error. 15568 Use char because int might match the return type of a GCC 15569 builtin and then its argument prototype would still apply. */ 15570 #ifdef __cplusplus 15571 extern "C" 15572 #endif 15573 char av_init_packet (); 15574 /* The GNU C library defines this for functions which it implements 15575 to always fail with ENOSYS. Some functions are actually named 15576 something starting with __ and the normal name is an alias. */ 15577 #if defined __stub_av_init_packet || defined __stub___av_init_packet 15578 choke me 15579 #endif 15580 15581 int 15582 main () 15583 { 15584 return av_init_packet (); 15585 ; 15586 return 0; 15587 } 15588 _ACEOF 15589 rm -f conftest.$ac_objext conftest$ac_exeext 15590 if { (ac_try="$ac_link" 15591 case "(($ac_try" in 15592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15593 *) ac_try_echo=$ac_try;; 15594 esac 15595 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15596 $as_echo "$ac_try_echo") >&5 15597 (eval "$ac_link") 2>conftest.er1 15598 ac_status=$? 15599 grep -v '^ *+' conftest.er1 >conftest.err 15600 rm -f conftest.er1 15601 cat conftest.err >&5 15602 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15603 (exit $ac_status); } && { 15604 test -z "$ac_cxx_werror_flag" || 15605 test ! -s conftest.err 15606 } && test -s conftest$ac_exeext && { 15607 test "$cross_compiling" = yes || 15608 $as_test_x conftest$ac_exeext 15609 }; then 15610 ac_cv_func_av_init_packet=yes 15611 else 15612 $as_echo "$as_me: failed program was:" >&5 15613 sed 's/^/| /' conftest.$ac_ext >&5 15614 15615 ac_cv_func_av_init_packet=no 15616 fi 15617 15618 rm -rf conftest.dSYM 15619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15620 conftest$ac_exeext conftest.$ac_ext 15621 fi 15622 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_init_packet" >&5 15623 $as_echo "$ac_cv_func_av_init_packet" >&6; } 15624 if test "x$ac_cv_func_av_init_packet" = x""yes; then 15625 : 15626 else 15627 { { $as_echo "$as_me:$LINENO: error: oops! no av_init_packet ?!?" >&5 15628 $as_echo "$as_me: error: oops! no av_init_packet ?!?" >&2;} 15629 { (exit 1); exit 1; }; } 15630 fi 15631 15632 { $as_echo "$as_me:$LINENO: checking for av_rescale_q" >&5 15633 $as_echo_n "checking for av_rescale_q... " >&6; } 15634 if test "${ac_cv_func_av_rescale_q+set}" = set; then 15635 $as_echo_n "(cached) " >&6 15636 else 15637 cat >conftest.$ac_ext <<_ACEOF 15638 /* confdefs.h. */ 15639 _ACEOF 15640 cat confdefs.h >>conftest.$ac_ext 15641 cat >>conftest.$ac_ext <<_ACEOF 15642 /* end confdefs.h. */ 15643 /* Define av_rescale_q to an innocuous variant, in case <limits.h> declares av_rescale_q. 15644 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15645 #define av_rescale_q innocuous_av_rescale_q 15646 15647 /* System header to define __stub macros and hopefully few prototypes, 15648 which can conflict with char av_rescale_q (); below. 15649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15650 <limits.h> exists even on freestanding compilers. */ 15651 15652 #ifdef __STDC__ 15653 # include <limits.h> 15654 #else 15655 # include <assert.h> 15656 #endif 15657 15658 #undef av_rescale_q 15659 15660 /* Override any GCC internal prototype to avoid an error. 15661 Use char because int might match the return type of a GCC 15662 builtin and then its argument prototype would still apply. */ 15663 #ifdef __cplusplus 15664 extern "C" 15665 #endif 15666 char av_rescale_q (); 15667 /* The GNU C library defines this for functions which it implements 15668 to always fail with ENOSYS. Some functions are actually named 15669 something starting with __ and the normal name is an alias. */ 15670 #if defined __stub_av_rescale_q || defined __stub___av_rescale_q 15671 choke me 15672 #endif 15673 15674 int 15675 main () 15676 { 15677 return av_rescale_q (); 15678 ; 15679 return 0; 15680 } 15681 _ACEOF 15682 rm -f conftest.$ac_objext conftest$ac_exeext 15683 if { (ac_try="$ac_link" 15684 case "(($ac_try" in 15685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15686 *) ac_try_echo=$ac_try;; 15687 esac 15688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15689 $as_echo "$ac_try_echo") >&5 15690 (eval "$ac_link") 2>conftest.er1 15691 ac_status=$? 15692 grep -v '^ *+' conftest.er1 >conftest.err 15693 rm -f conftest.er1 15694 cat conftest.err >&5 15695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15696 (exit $ac_status); } && { 15697 test -z "$ac_cxx_werror_flag" || 15698 test ! -s conftest.err 15699 } && test -s conftest$ac_exeext && { 15700 test "$cross_compiling" = yes || 15701 $as_test_x conftest$ac_exeext 15702 }; then 15703 ac_cv_func_av_rescale_q=yes 15704 else 15705 $as_echo "$as_me: failed program was:" >&5 15706 sed 's/^/| /' conftest.$ac_ext >&5 15707 15708 ac_cv_func_av_rescale_q=no 15709 fi 15710 15711 rm -rf conftest.dSYM 15712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15713 conftest$ac_exeext conftest.$ac_ext 15714 fi 15715 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_rescale_q" >&5 15716 $as_echo "$ac_cv_func_av_rescale_q" >&6; } 15717 if test "x$ac_cv_func_av_rescale_q" = x""yes; then 15718 : 15719 else 15720 { { $as_echo "$as_me:$LINENO: error: oops! no av_rescale_q ?!?" >&5 15721 $as_echo "$as_me: error: oops! no av_rescale_q ?!?" >&2;} 15722 { (exit 1); exit 1; }; } 15723 fi 15724 15725 { $as_echo "$as_me:$LINENO: checking for av_write_frame" >&5 15726 $as_echo_n "checking for av_write_frame... " >&6; } 15727 if test "${ac_cv_func_av_write_frame+set}" = set; then 15728 $as_echo_n "(cached) " >&6 15729 else 15730 cat >conftest.$ac_ext <<_ACEOF 15731 /* confdefs.h. */ 15732 _ACEOF 15733 cat confdefs.h >>conftest.$ac_ext 15734 cat >>conftest.$ac_ext <<_ACEOF 15735 /* end confdefs.h. */ 15736 /* Define av_write_frame to an innocuous variant, in case <limits.h> declares av_write_frame. 15737 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15738 #define av_write_frame innocuous_av_write_frame 15739 15740 /* System header to define __stub macros and hopefully few prototypes, 15741 which can conflict with char av_write_frame (); below. 15742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15743 <limits.h> exists even on freestanding compilers. */ 15744 15745 #ifdef __STDC__ 15746 # include <limits.h> 15747 #else 15748 # include <assert.h> 15749 #endif 15750 15751 #undef av_write_frame 15752 15753 /* Override any GCC internal prototype to avoid an error. 15754 Use char because int might match the return type of a GCC 15755 builtin and then its argument prototype would still apply. */ 15756 #ifdef __cplusplus 15757 extern "C" 15758 #endif 15759 char av_write_frame (); 15760 /* The GNU C library defines this for functions which it implements 15761 to always fail with ENOSYS. Some functions are actually named 15762 something starting with __ and the normal name is an alias. */ 15763 #if defined __stub_av_write_frame || defined __stub___av_write_frame 15764 choke me 15765 #endif 15766 15767 int 15768 main () 15769 { 15770 return av_write_frame (); 15771 ; 15772 return 0; 15773 } 15774 _ACEOF 15775 rm -f conftest.$ac_objext conftest$ac_exeext 15776 if { (ac_try="$ac_link" 15777 case "(($ac_try" in 15778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15779 *) ac_try_echo=$ac_try;; 15780 esac 15781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15782 $as_echo "$ac_try_echo") >&5 15783 (eval "$ac_link") 2>conftest.er1 15784 ac_status=$? 15785 grep -v '^ *+' conftest.er1 >conftest.err 15786 rm -f conftest.er1 15787 cat conftest.err >&5 15788 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15789 (exit $ac_status); } && { 15790 test -z "$ac_cxx_werror_flag" || 15791 test ! -s conftest.err 15792 } && test -s conftest$ac_exeext && { 15793 test "$cross_compiling" = yes || 15794 $as_test_x conftest$ac_exeext 15795 }; then 15796 ac_cv_func_av_write_frame=yes 15797 else 15798 $as_echo "$as_me: failed program was:" >&5 15799 sed 's/^/| /' conftest.$ac_ext >&5 15800 15801 ac_cv_func_av_write_frame=no 15802 fi 15803 15804 rm -rf conftest.dSYM 15805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15806 conftest$ac_exeext conftest.$ac_ext 15807 fi 15808 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_write_frame" >&5 15809 $as_echo "$ac_cv_func_av_write_frame" >&6; } 15810 if test "x$ac_cv_func_av_write_frame" = x""yes; then 15811 : 15812 else 15813 { { $as_echo "$as_me:$LINENO: error: oops! av_write_frame ?!?" >&5 15814 $as_echo "$as_me: error: oops! av_write_frame ?!?" >&2;} 15815 { (exit 1); exit 1; }; } 15816 fi 15817 15818 15819 for ac_func in img_convert 15820 do 15821 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15822 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 15823 $as_echo_n "checking for $ac_func... " >&6; } 15824 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15825 $as_echo_n "(cached) " >&6 15826 else 15827 cat >conftest.$ac_ext <<_ACEOF 15828 /* confdefs.h. */ 15829 _ACEOF 15830 cat confdefs.h >>conftest.$ac_ext 15831 cat >>conftest.$ac_ext <<_ACEOF 15832 /* end confdefs.h. */ 15833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 15834 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15835 #define $ac_func innocuous_$ac_func 15836 15837 /* System header to define __stub macros and hopefully few prototypes, 15838 which can conflict with char $ac_func (); below. 15839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15840 <limits.h> exists even on freestanding compilers. */ 15841 15842 #ifdef __STDC__ 15843 # include <limits.h> 15844 #else 15845 # include <assert.h> 15846 #endif 15847 15848 #undef $ac_func 15849 15850 /* Override any GCC internal prototype to avoid an error. 15851 Use char because int might match the return type of a GCC 15852 builtin and then its argument prototype would still apply. */ 15853 #ifdef __cplusplus 15854 extern "C" 15855 #endif 15856 char $ac_func (); 15857 /* The GNU C library defines this for functions which it implements 15858 to always fail with ENOSYS. Some functions are actually named 15859 something starting with __ and the normal name is an alias. */ 15860 #if defined __stub_$ac_func || defined __stub___$ac_func 15861 choke me 15862 #endif 15863 15864 int 15865 main () 15866 { 15867 return $ac_func (); 15868 ; 15869 return 0; 15870 } 15871 _ACEOF 15872 rm -f conftest.$ac_objext conftest$ac_exeext 15873 if { (ac_try="$ac_link" 15874 case "(($ac_try" in 15875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15876 *) ac_try_echo=$ac_try;; 15877 esac 15878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15879 $as_echo "$ac_try_echo") >&5 15880 (eval "$ac_link") 2>conftest.er1 15881 ac_status=$? 15882 grep -v '^ *+' conftest.er1 >conftest.err 15883 rm -f conftest.er1 15884 cat conftest.err >&5 15885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15886 (exit $ac_status); } && { 15887 test -z "$ac_cxx_werror_flag" || 15888 test ! -s conftest.err 15889 } && test -s conftest$ac_exeext && { 15890 test "$cross_compiling" = yes || 15891 $as_test_x conftest$ac_exeext 15892 }; then 15893 eval "$as_ac_var=yes" 15894 else 15895 $as_echo "$as_me: failed program was:" >&5 15896 sed 's/^/| /' conftest.$ac_ext >&5 15897 15898 eval "$as_ac_var=no" 15899 fi 15900 15901 rm -rf conftest.dSYM 15902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15903 conftest$ac_exeext conftest.$ac_ext 15904 fi 15905 ac_res=`eval 'as_val=${'$as_ac_var'} 15906 $as_echo "$as_val"'` 15907 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 15908 $as_echo "$ac_res" >&6; } 15909 as_val=`eval 'as_val=${'$as_ac_var'} 15910 $as_echo "$as_val"'` 15911 if test "x$as_val" = x""yes; then 15912 cat >>confdefs.h <<_ACEOF 15913 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 15914 _ACEOF 15915 15916 fi 15917 done 15918 15919 15920 for ac_func in sws_scale 15921 do 15922 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15923 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 15924 $as_echo_n "checking for $ac_func... " >&6; } 15925 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15926 $as_echo_n "(cached) " >&6 15927 else 15928 cat >conftest.$ac_ext <<_ACEOF 15929 /* confdefs.h. */ 15930 _ACEOF 15931 cat confdefs.h >>conftest.$ac_ext 15932 cat >>conftest.$ac_ext <<_ACEOF 15933 /* end confdefs.h. */ 15934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 15935 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15936 #define $ac_func innocuous_$ac_func 15937 15938 /* System header to define __stub macros and hopefully few prototypes, 15939 which can conflict with char $ac_func (); below. 15940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15941 <limits.h> exists even on freestanding compilers. */ 15942 15943 #ifdef __STDC__ 15944 # include <limits.h> 15945 #else 15946 # include <assert.h> 15947 #endif 15948 15949 #undef $ac_func 15950 15951 /* Override any GCC internal prototype to avoid an error. 15952 Use char because int might match the return type of a GCC 15953 builtin and then its argument prototype would still apply. */ 15954 #ifdef __cplusplus 15955 extern "C" 15956 #endif 15957 char $ac_func (); 15958 /* The GNU C library defines this for functions which it implements 15959 to always fail with ENOSYS. Some functions are actually named 15960 something starting with __ and the normal name is an alias. */ 15961 #if defined __stub_$ac_func || defined __stub___$ac_func 15962 choke me 15963 #endif 15964 15965 int 15966 main () 15967 { 15968 return $ac_func (); 15969 ; 15970 return 0; 15971 } 15972 _ACEOF 15973 rm -f conftest.$ac_objext conftest$ac_exeext 15974 if { (ac_try="$ac_link" 15975 case "(($ac_try" in 15976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15977 *) ac_try_echo=$ac_try;; 15978 esac 15979 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15980 $as_echo "$ac_try_echo") >&5 15981 (eval "$ac_link") 2>conftest.er1 15982 ac_status=$? 15983 grep -v '^ *+' conftest.er1 >conftest.err 15984 rm -f conftest.er1 15985 cat conftest.err >&5 15986 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15987 (exit $ac_status); } && { 15988 test -z "$ac_cxx_werror_flag" || 15989 test ! -s conftest.err 15990 } && test -s conftest$ac_exeext && { 15991 test "$cross_compiling" = yes || 15992 $as_test_x conftest$ac_exeext 15993 }; then 15994 eval "$as_ac_var=yes" 15995 else 15996 $as_echo "$as_me: failed program was:" >&5 15997 sed 's/^/| /' conftest.$ac_ext >&5 15998 15999 eval "$as_ac_var=no" 16000 fi 16001 16002 rm -rf conftest.dSYM 16003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16004 conftest$ac_exeext conftest.$ac_ext 16005 fi 16006 ac_res=`eval 'as_val=${'$as_ac_var'} 16007 $as_echo "$as_val"'` 16008 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16009 $as_echo "$ac_res" >&6; } 16010 as_val=`eval 'as_val=${'$as_ac_var'} 16011 $as_echo "$as_val"'` 16012 if test "x$as_val" = x""yes; then 16013 cat >>confdefs.h <<_ACEOF 16014 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 16015 _ACEOF 16016 16017 fi 16018 done 16019 16020 cat >conftest.$ac_ext <<_ACEOF 16021 /* confdefs.h. */ 16022 _ACEOF 16023 cat confdefs.h >>conftest.$ac_ext 16024 cat >>conftest.$ac_ext <<_ACEOF 16025 /* end confdefs.h. */ 16026 16027 #define __STDC_CONSTANT_MACROS 1 16028 #include <stdlib.h> 16029 #ifdef HAVE_FFMPEG_AVCODEC_H 16030 # include <ffmpeg/avcodec.h> 16031 #endif 16032 #ifdef HAVE_LIBAVCODEC_AVCODEC_H 16033 # include <libavcodec/avcodec.h> 16034 #endif 16035 int x = AVMEDIA_TYPE_VIDEO; 16036 16037 int 16038 main () 16039 { 16040 16041 ; 16042 return 0; 16043 } 16044 _ACEOF 16045 rm -f conftest.$ac_objext 16046 if { (ac_try="$ac_compile" 16047 case "(($ac_try" in 16048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16049 *) ac_try_echo=$ac_try;; 16050 esac 16051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16052 $as_echo "$ac_try_echo") >&5 16053 (eval "$ac_compile") 2>conftest.er1 16054 ac_status=$? 16055 grep -v '^ *+' conftest.er1 >conftest.err 16056 rm -f conftest.er1 16057 cat conftest.err >&5 16058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16059 (exit $ac_status); } && { 16060 test -z "$ac_cxx_werror_flag" || 16061 test ! -s conftest.err 16062 } && test -s conftest.$ac_objext; then 16063 ac_avmedia_type_video="yes" 16064 else 16065 $as_echo "$as_me: failed program was:" >&5 16066 sed 's/^/| /' conftest.$ac_ext >&5 16067 16068 ac_avmedia_type_video="no" 16069 fi 16070 16071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16072 if test "$ac_avmedia_type_video" == "yes" ; then 16073 16074 cat >>confdefs.h <<\_ACEOF 16075 #define HAVE_AVMEDIA_TYPE_VIDEO 1 16076 _ACEOF 16077 16078 fi 16079 16080 16081 { $as_echo "$as_me:$LINENO: checking for avcodec_alloc_frame in -lavcodec" >&5 16082 $as_echo_n "checking for avcodec_alloc_frame in -lavcodec... " >&6; } 16083 if test "${ac_cv_lib_avcodec_avcodec_alloc_frame+set}" = set; then 16084 $as_echo_n "(cached) " >&6 16085 else 16086 ac_check_lib_save_LIBS=$LIBS 16087 LIBS="-lavcodec $LIBS" 16088 cat >conftest.$ac_ext <<_ACEOF 16089 /* confdefs.h. */ 16090 _ACEOF 16091 cat confdefs.h >>conftest.$ac_ext 16092 cat >>conftest.$ac_ext <<_ACEOF 16093 /* end confdefs.h. */ 16094 16095 /* Override any GCC internal prototype to avoid an error. 16096 Use char because int might match the return type of a GCC 16097 builtin and then its argument prototype would still apply. */ 16098 #ifdef __cplusplus 16099 extern "C" 16100 #endif 16101 char avcodec_alloc_frame (); 16102 int 16103 main () 16104 { 16105 return avcodec_alloc_frame (); 16106 ; 16107 return 0; 16108 } 16109 _ACEOF 16110 rm -f conftest.$ac_objext conftest$ac_exeext 16111 if { (ac_try="$ac_link" 16112 case "(($ac_try" in 16113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16114 *) ac_try_echo=$ac_try;; 16115 esac 16116 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16117 $as_echo "$ac_try_echo") >&5 16118 (eval "$ac_link") 2>conftest.er1 16119 ac_status=$? 16120 grep -v '^ *+' conftest.er1 >conftest.err 16121 rm -f conftest.er1 16122 cat conftest.err >&5 16123 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16124 (exit $ac_status); } && { 16125 test -z "$ac_cxx_werror_flag" || 16126 test ! -s conftest.err 16127 } && test -s conftest$ac_exeext && { 16128 test "$cross_compiling" = yes || 16129 $as_test_x conftest$ac_exeext 16130 }; then 16131 ac_cv_lib_avcodec_avcodec_alloc_frame=yes 16132 else 16133 $as_echo "$as_me: failed program was:" >&5 16134 sed 's/^/| /' conftest.$ac_ext >&5 16135 16136 ac_cv_lib_avcodec_avcodec_alloc_frame=no 16137 fi 16138 16139 rm -rf conftest.dSYM 16140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16141 conftest$ac_exeext conftest.$ac_ext 16142 LIBS=$ac_check_lib_save_LIBS 16143 fi 16144 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_alloc_frame" >&5 16145 $as_echo "$ac_cv_lib_avcodec_avcodec_alloc_frame" >&6; } 16146 if test "x$ac_cv_lib_avcodec_avcodec_alloc_frame" = x""yes; then 16147 cat >>confdefs.h <<_ACEOF 16148 #define HAVE_LIBAVCODEC 1 16149 _ACEOF 16150 16151 LIBS="-lavcodec $LIBS" 16152 16153 fi 16154 16155 # Fallback to deprecated av_alloc_format_context if avformat_alloc_context isn't found 16156 16157 { $as_echo "$as_me:$LINENO: checking for avformat_alloc_context in -lavformat" >&5 16158 $as_echo_n "checking for avformat_alloc_context in -lavformat... " >&6; } 16159 if test "${ac_cv_lib_avformat_avformat_alloc_context+set}" = set; then 16160 $as_echo_n "(cached) " >&6 16161 else 16162 ac_check_lib_save_LIBS=$LIBS 16163 LIBS="-lavformat $LIBS" 16164 cat >conftest.$ac_ext <<_ACEOF 16165 /* confdefs.h. */ 16166 _ACEOF 16167 cat confdefs.h >>conftest.$ac_ext 16168 cat >>conftest.$ac_ext <<_ACEOF 16169 /* end confdefs.h. */ 16170 16171 /* Override any GCC internal prototype to avoid an error. 16172 Use char because int might match the return type of a GCC 16173 builtin and then its argument prototype would still apply. */ 16174 #ifdef __cplusplus 16175 extern "C" 16176 #endif 16177 char avformat_alloc_context (); 16178 int 16179 main () 16180 { 16181 return avformat_alloc_context (); 16182 ; 16183 return 0; 16184 } 16185 _ACEOF 16186 rm -f conftest.$ac_objext conftest$ac_exeext 16187 if { (ac_try="$ac_link" 16188 case "(($ac_try" in 16189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16190 *) ac_try_echo=$ac_try;; 16191 esac 16192 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16193 $as_echo "$ac_try_echo") >&5 16194 (eval "$ac_link") 2>conftest.er1 16195 ac_status=$? 16196 grep -v '^ *+' conftest.er1 >conftest.err 16197 rm -f conftest.er1 16198 cat conftest.err >&5 16199 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16200 (exit $ac_status); } && { 16201 test -z "$ac_cxx_werror_flag" || 16202 test ! -s conftest.err 16203 } && test -s conftest$ac_exeext && { 16204 test "$cross_compiling" = yes || 16205 $as_test_x conftest$ac_exeext 16206 }; then 16207 ac_cv_lib_avformat_avformat_alloc_context=yes 16208 else 16209 $as_echo "$as_me: failed program was:" >&5 16210 sed 's/^/| /' conftest.$ac_ext >&5 16211 16212 ac_cv_lib_avformat_avformat_alloc_context=no 16213 fi 16214 16215 rm -rf conftest.dSYM 16216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16217 conftest$ac_exeext conftest.$ac_ext 16218 LIBS=$ac_check_lib_save_LIBS 16219 fi 16220 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_avformat_alloc_context" >&5 16221 $as_echo "$ac_cv_lib_avformat_avformat_alloc_context" >&6; } 16222 if test "x$ac_cv_lib_avformat_avformat_alloc_context" = x""yes; then 16223 cat >>confdefs.h <<_ACEOF 16224 #define HAVE_LIBAVFORMAT 1 16225 _ACEOF 16226 16227 LIBS="-lavformat $LIBS" 16228 16229 else 16230 16231 { $as_echo "$as_me:$LINENO: checking for av_alloc_format_context in -lavformat" >&5 16232 $as_echo_n "checking for av_alloc_format_context in -lavformat... " >&6; } 16233 if test "${ac_cv_lib_avformat_av_alloc_format_context+set}" = set; then 16234 $as_echo_n "(cached) " >&6 16235 else 16236 ac_check_lib_save_LIBS=$LIBS 16237 LIBS="-lavformat $LIBS" 16238 cat >conftest.$ac_ext <<_ACEOF 16239 /* confdefs.h. */ 16240 _ACEOF 16241 cat confdefs.h >>conftest.$ac_ext 16242 cat >>conftest.$ac_ext <<_ACEOF 16243 /* end confdefs.h. */ 16244 16245 /* Override any GCC internal prototype to avoid an error. 16246 Use char because int might match the return type of a GCC 16247 builtin and then its argument prototype would still apply. */ 16248 #ifdef __cplusplus 16249 extern "C" 16250 #endif 16251 char av_alloc_format_context (); 16252 int 16253 main () 16254 { 16255 return av_alloc_format_context (); 16256 ; 16257 return 0; 16258 } 16259 _ACEOF 16260 rm -f conftest.$ac_objext conftest$ac_exeext 16261 if { (ac_try="$ac_link" 16262 case "(($ac_try" in 16263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16264 *) ac_try_echo=$ac_try;; 16265 esac 16266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16267 $as_echo "$ac_try_echo") >&5 16268 (eval "$ac_link") 2>conftest.er1 16269 ac_status=$? 16270 grep -v '^ *+' conftest.er1 >conftest.err 16271 rm -f conftest.er1 16272 cat conftest.err >&5 16273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16274 (exit $ac_status); } && { 16275 test -z "$ac_cxx_werror_flag" || 16276 test ! -s conftest.err 16277 } && test -s conftest$ac_exeext && { 16278 test "$cross_compiling" = yes || 16279 $as_test_x conftest$ac_exeext 16280 }; then 16281 ac_cv_lib_avformat_av_alloc_format_context=yes 16282 else 16283 $as_echo "$as_me: failed program was:" >&5 16284 sed 's/^/| /' conftest.$ac_ext >&5 16285 16286 ac_cv_lib_avformat_av_alloc_format_context=no 16287 fi 16288 16289 rm -rf conftest.dSYM 16290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16291 conftest$ac_exeext conftest.$ac_ext 16292 LIBS=$ac_check_lib_save_LIBS 16293 fi 16294 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_av_alloc_format_context" >&5 16295 $as_echo "$ac_cv_lib_avformat_av_alloc_format_context" >&6; } 16296 if test "x$ac_cv_lib_avformat_av_alloc_format_context" = x""yes; then 16297 cat >>confdefs.h <<_ACEOF 16298 #define HAVE_LIBAVFORMAT 1 16299 _ACEOF 16300 16301 LIBS="-lavformat $LIBS" 16302 16303 else 16304 { $as_echo "$as_me:$LINENO: WARNING: libavformat not usable" >&5 16305 $as_echo "$as_me: WARNING: libavformat not usable" >&2;} 16306 fi 16307 16308 fi 16309 16310 16311 16312 { $as_echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5 8417 fi 8418 FFMPEG=$ac_cv_path_FFMPEG 8419 if test -n "$FFMPEG"; then 8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FFMPEG" >&5 8421 $as_echo "$FFMPEG" >&6; } 8422 else 8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8424 $as_echo "no" >&6; } 8425 fi 8426 8427 8428 fi 8429 if test "${FFMPEG}x" != "x" ; then 8430 8431 $as_echo "#define HAVE_FFMPEG 1" >>confdefs.h 8432 8433 fi 8434 fi 8435 8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nVidia Cg installation" >&5 16313 8437 $as_echo_n "checking for nVidia Cg installation... " >&6; } 16314 8438 CG_DIR="" … … 16323 8447 fi 16324 8448 done 16325 { $as_echo "$as_me:$ LINENO: result: ${CG_DIR}" >&58449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CG_DIR}" >&5 16326 8450 $as_echo "${CG_DIR}" >&6; } 16327 8451 … … 16330 8454 save_CPPFLAGS=$CPPFLAGS 16331 8455 CPPFLAGS="${CG_INC_SPEC} $CPPFLAGS" 16332 16333 8456 for ac_header in Cg/cgGL.h 16334 do 16335 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 16336 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16337 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 16338 $as_echo_n "checking for $ac_header... " >&6; } 16339 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16340 $as_echo_n "(cached) " >&6 16341 fi 16342 ac_res=`eval 'as_val=${'$as_ac_Header'} 16343 $as_echo "$as_val"'` 16344 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16345 $as_echo "$ac_res" >&6; } 16346 else 16347 # Is the header compilable? 16348 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 16349 $as_echo_n "checking $ac_header usability... " >&6; } 16350 cat >conftest.$ac_ext <<_ACEOF 16351 /* confdefs.h. */ 16352 _ACEOF 16353 cat confdefs.h >>conftest.$ac_ext 16354 cat >>conftest.$ac_ext <<_ACEOF 16355 /* end confdefs.h. */ 16356 $ac_includes_default 16357 #include <$ac_header> 16358 _ACEOF 16359 rm -f conftest.$ac_objext 16360 if { (ac_try="$ac_compile" 16361 case "(($ac_try" in 16362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16363 *) ac_try_echo=$ac_try;; 16364 esac 16365 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16366 $as_echo "$ac_try_echo") >&5 16367 (eval "$ac_compile") 2>conftest.er1 16368 ac_status=$? 16369 grep -v '^ *+' conftest.er1 >conftest.err 16370 rm -f conftest.er1 16371 cat conftest.err >&5 16372 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16373 (exit $ac_status); } && { 16374 test -z "$ac_cxx_werror_flag" || 16375 test ! -s conftest.err 16376 } && test -s conftest.$ac_objext; then 16377 ac_header_compiler=yes 16378 else 16379 $as_echo "$as_me: failed program was:" >&5 16380 sed 's/^/| /' conftest.$ac_ext >&5 16381 16382 ac_header_compiler=no 16383 fi 16384 16385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16386 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 16387 $as_echo "$ac_header_compiler" >&6; } 16388 16389 # Is the header present? 16390 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 16391 $as_echo_n "checking $ac_header presence... " >&6; } 16392 cat >conftest.$ac_ext <<_ACEOF 16393 /* confdefs.h. */ 16394 _ACEOF 16395 cat confdefs.h >>conftest.$ac_ext 16396 cat >>conftest.$ac_ext <<_ACEOF 16397 /* end confdefs.h. */ 16398 #include <$ac_header> 16399 _ACEOF 16400 if { (ac_try="$ac_cpp conftest.$ac_ext" 16401 case "(($ac_try" in 16402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16403 *) ac_try_echo=$ac_try;; 16404 esac 16405 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16406 $as_echo "$ac_try_echo") >&5 16407 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 16408 ac_status=$? 16409 grep -v '^ *+' conftest.er1 >conftest.err 16410 rm -f conftest.er1 16411 cat conftest.err >&5 16412 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16413 (exit $ac_status); } >/dev/null && { 16414 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 16415 test ! -s conftest.err 16416 }; then 16417 ac_header_preproc=yes 16418 else 16419 $as_echo "$as_me: failed program was:" >&5 16420 sed 's/^/| /' conftest.$ac_ext >&5 16421 16422 ac_header_preproc=no 16423 fi 16424 16425 rm -f conftest.err conftest.$ac_ext 16426 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 16427 $as_echo "$ac_header_preproc" >&6; } 16428 16429 # So? What about this header? 16430 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 16431 yes:no: ) 16432 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 16433 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 16434 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 16435 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 16436 ac_header_preproc=yes 16437 ;; 16438 no:yes:* ) 16439 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 16440 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 16441 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 16442 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 16443 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 16444 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 16445 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 16446 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 16447 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 16448 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 16449 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 16450 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 16451 ( cat <<\_ASBOX 16452 ## ----------------------------------- ## 16453 ## Report this to rappture@nanohub.org ## 16454 ## ----------------------------------- ## 16455 _ASBOX 16456 ) | sed "s/^/$as_me: WARNING: /" >&2 16457 ;; 16458 esac 16459 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 16460 $as_echo_n "checking for $ac_header... " >&6; } 16461 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16462 $as_echo_n "(cached) " >&6 16463 else 16464 eval "$as_ac_Header=\$ac_header_preproc" 16465 fi 16466 ac_res=`eval 'as_val=${'$as_ac_Header'} 16467 $as_echo "$as_val"'` 16468 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16469 $as_echo "$ac_res" >&6; } 16470 16471 fi 16472 as_val=`eval 'as_val=${'$as_ac_Header'} 16473 $as_echo "$as_val"'` 16474 if test "x$as_val" = x""yes; then 8457 do : 8458 ac_fn_cxx_check_header_mongrel "$LINENO" "Cg/cgGL.h" "ac_cv_header_Cg_cgGL_h" "$ac_includes_default" 8459 if test "x$ac_cv_header_Cg_cgGL_h" = xyes; then : 16475 8460 cat >>confdefs.h <<_ACEOF 16476 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp`116477 _ACEOF 16478 16479 else 16480 { $as_echo "$as_me:$ LINENO: WARNING: cannot find nVidia Cg headers" >&58461 #define HAVE_CG_CGGL_H 1 8462 _ACEOF 8463 8464 else 8465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find nVidia Cg headers" >&5 16481 8466 $as_echo "$as_me: WARNING: cannot find nVidia Cg headers" >&2;} 16482 8467 fi … … 16541 8526 16542 8527 8528 16543 8529 ac_config_files="$ac_config_files Makefile nanoscale/Makefile nanoscale/renderservers.tcl nanovis/Doxyfile nanovis/Makefile nanovis/graphics/Makefile nanovis/imgLoaders/Makefile nanovis/newmat11/Makefile nanovis/util/Makefile nanovis/vrmath/Makefile pymolproxy/Makefile vtkvis/Doxyfile vtkvis/Makefile start_viz.sh start_nanoscale.sh" 16544 8530 … … 16570 8556 *${as_nl}*) 16571 8557 case $ac_var in #( 16572 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: cache variable $ac_var contains a newline" >&58558 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 16573 8559 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16574 8560 esac … … 16576 8562 _ | IFS | as_nl) ;; #( 16577 8563 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 16578 *) $as_unset $ac_var;;8564 *) { eval $ac_var=; unset $ac_var;} ;; 16579 8565 esac ;; 16580 8566 esac … … 16584 8570 case $as_nl`(ac_space=' '; set) 2>&1` in #( 16585 8571 *${as_nl}ac_space=\ *) 16586 # `set' does not quote correctly, so add quotes (double-quote16587 # substitution turns \\\\ into \\, and sed turns \\ into \ ).8572 # `set' does not quote correctly, so add quotes: double-quote 8573 # substitution turns \\\\ into \\, and sed turns \\ into \. 16588 8574 sed -n \ 16589 8575 "s/'/'\\\\''/g; … … 16607 8593 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 16608 8594 if test -w "$cache_file"; then 16609 test "x$cache_file" != "x/dev/null" &&16610 { $as_echo "$as_me:$ LINENO: updating cache $cache_file" >&58595 if test "x$cache_file" != "x/dev/null"; then 8596 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 16611 8597 $as_echo "$as_me: updating cache $cache_file" >&6;} 16612 cat confcache >$cache_file 8598 if test ! -f "$cache_file" || test -h "$cache_file"; then 8599 cat confcache >"$cache_file" 8600 else 8601 case $cache_file in #( 8602 */* | ?:*) 8603 mv -f confcache "$cache_file"$$ && 8604 mv -f "$cache_file"$$ "$cache_file" ;; #( 8605 *) 8606 mv -f confcache "$cache_file" ;; 8607 esac 8608 fi 8609 fi 16613 8610 else 16614 { $as_echo "$as_me:$ LINENO: not updating unwritable cache $cache_file" >&58611 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 16615 8612 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 16616 8613 fi … … 16626 8623 ac_libobjs= 16627 8624 ac_ltlibobjs= 8625 U= 16628 8626 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 16629 8627 # 1. Remove the extension, and $U if already installed. … … 16632 8630 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 16633 8631 # will be set to the directory where LIBOBJS objects are built. 16634 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"16635 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'8632 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 8633 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 16636 8634 done 16637 8635 LIBOBJS=$ac_libobjs … … 16642 8640 16643 8641 16644 : ${CONFIG_STATUS=./config.status}8642 : "${CONFIG_STATUS=./config.status}" 16645 8643 ac_write_fail=0 16646 8644 ac_clean_files_save=$ac_clean_files 16647 8645 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 16648 { $as_echo "$as_me:$ LINENO: creating $CONFIG_STATUS" >&58646 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 16649 8647 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 16650 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8648 as_write_fail=0 8649 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 16651 8650 #! $SHELL 16652 8651 # Generated by $as_me. … … 16658 8657 ac_cs_recheck=false 16659 8658 ac_cs_silent=false 8659 16660 8660 SHELL=\${CONFIG_SHELL-$SHELL} 16661 _ACEOF 16662 16663 cat >>$CONFIG_STATUS <<\_A CEOF || ac_write_fail=116664 ## -------------------- -##16665 ## M4sh Initialization. 16666 ## -------------------- -##8661 export SHELL 8662 _ASEOF 8663 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 8664 ## -------------------- ## 8665 ## M4sh Initialization. ## 8666 ## -------------------- ## 16667 8667 16668 8668 # Be more Bourne compatible 16669 8669 DUALCASE=1; export DUALCASE # for MKS sh 16670 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 8670 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16671 8671 emulate sh 16672 8672 NULLCMD=: … … 16676 8676 setopt NO_GLOB_SUBST 16677 8677 else 16678 case `(set -o) 2>/dev/null` in 16679 *posix*) set -o posix ;; 8678 case `(set -o) 2>/dev/null` in #( 8679 *posix*) : 8680 set -o posix ;; #( 8681 *) : 8682 ;; 16680 8683 esac 16681 16682 fi 16683 16684 16685 16686 16687 # PATH needs CR 16688 # Avoid depending upon Character Ranges. 16689 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 16690 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 16691 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 16692 as_cr_digits='0123456789' 16693 as_cr_alnum=$as_cr_Letters$as_cr_digits 8684 fi 8685 16694 8686 16695 8687 as_nl=' … … 16700 8692 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 16701 8693 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 16702 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 8694 # Prefer a ksh shell builtin over an external printf program on Solaris, 8695 # but without wasting forks for bash or zsh. 8696 if test -z "$BASH_VERSION$ZSH_VERSION" \ 8697 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 8698 as_echo='print -r --' 8699 as_echo_n='print -rn --' 8700 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 16703 8701 as_echo='printf %s\n' 16704 8702 as_echo_n='printf %s' … … 16711 8709 as_echo_n_body='eval 16712 8710 arg=$1; 16713 case $arg in 8711 case $arg in #( 16714 8712 *"$as_nl"*) 16715 8713 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 16734 8732 fi 16735 8733 16736 # Support unset when possible.16737 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then16738 as_unset=unset16739 else16740 as_unset=false16741 fi16742 16743 8734 16744 8735 # IFS … … 16750 8741 16751 8742 # Find who we are. Look in the path if we contain no directory separator. 16752 case $0 in 8743 as_myself= 8744 case $0 in #(( 16753 8745 *[\\/]* ) as_myself=$0 ;; 16754 8746 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 16757 8749 IFS=$as_save_IFS 16758 8750 test -z "$as_dir" && as_dir=. 16759 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break16760 done8751 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8752 done 16761 8753 IFS=$as_save_IFS 16762 8754 … … 16770 8762 if test ! -f "$as_myself"; then 16771 8763 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 16772 { (exit 1); exit 1; } 16773 fi 16774 16775 # Work around bugs in pre-3.0 UWIN ksh. 16776 for as_var in ENV MAIL MAILPATH 16777 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 8764 exit 1 8765 fi 8766 8767 # Unset variables that we do not need and which cause bugs (e.g. in 8768 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 8769 # suppresses any "Segmentation fault" message there. '((' could 8770 # trigger a bug in pdksh 5.2.14. 8771 for as_var in BASH_ENV ENV MAIL MAILPATH 8772 do eval test x\${$as_var+set} = xset \ 8773 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 16778 8774 done 16779 8775 PS1='$ ' … … 16787 8783 export LANGUAGE 16788 8784 16789 # Required to use basename. 8785 # CDPATH. 8786 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 8787 8788 8789 # as_fn_error STATUS ERROR [LINENO LOG_FD] 8790 # ---------------------------------------- 8791 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 8792 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 8793 # script with STATUS, using 1 if that was 0. 8794 as_fn_error () 8795 { 8796 as_status=$1; test $as_status -eq 0 && as_status=1 8797 if test "$4"; then 8798 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 8799 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 8800 fi 8801 $as_echo "$as_me: error: $2" >&2 8802 as_fn_exit $as_status 8803 } # as_fn_error 8804 8805 8806 # as_fn_set_status STATUS 8807 # ----------------------- 8808 # Set $? to STATUS, without forking. 8809 as_fn_set_status () 8810 { 8811 return $1 8812 } # as_fn_set_status 8813 8814 # as_fn_exit STATUS 8815 # ----------------- 8816 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 8817 as_fn_exit () 8818 { 8819 set +e 8820 as_fn_set_status $1 8821 exit $1 8822 } # as_fn_exit 8823 8824 # as_fn_unset VAR 8825 # --------------- 8826 # Portably unset VAR. 8827 as_fn_unset () 8828 { 8829 { eval $1=; unset $1;} 8830 } 8831 as_unset=as_fn_unset 8832 # as_fn_append VAR VALUE 8833 # ---------------------- 8834 # Append the text in VALUE to the end of the definition contained in VAR. Take 8835 # advantage of any shell optimizations that allow amortized linear growth over 8836 # repeated appends, instead of the typical quadratic growth present in naive 8837 # implementations. 8838 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 8839 eval 'as_fn_append () 8840 { 8841 eval $1+=\$2 8842 }' 8843 else 8844 as_fn_append () 8845 { 8846 eval $1=\$$1\$2 8847 } 8848 fi # as_fn_append 8849 8850 # as_fn_arith ARG... 8851 # ------------------ 8852 # Perform arithmetic evaluation on the ARGs, and store the result in the 8853 # global $as_val. Take advantage of shells that can avoid forks. The arguments 8854 # must be portable across $(()) and expr. 8855 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 8856 eval 'as_fn_arith () 8857 { 8858 as_val=$(( $* )) 8859 }' 8860 else 8861 as_fn_arith () 8862 { 8863 as_val=`expr "$@" || test $? -eq 1` 8864 } 8865 fi # as_fn_arith 8866 8867 16790 8868 if expr a : '\(a\)' >/dev/null 2>&1 && 16791 8869 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 16801 8879 fi 16802 8880 16803 16804 # Name of the executable. 8881 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8882 as_dirname=dirname 8883 else 8884 as_dirname=false 8885 fi 8886 16805 8887 as_me=`$as_basename -- "$0" || 16806 8888 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 16822 8904 s/.*/./; q'` 16823 8905 16824 # CDPATH. 16825 $as_unset CDPATH 16826 16827 16828 16829 as_lineno_1=$LINENO 16830 as_lineno_2=$LINENO 16831 test "x$as_lineno_1" != "x$as_lineno_2" && 16832 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 16833 16834 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 16835 # uniformly replaced by the line number. The first 'sed' inserts a 16836 # line-number line after each line using $LINENO; the second 'sed' 16837 # does the real work. The second script uses 'N' to pair each 16838 # line-number line with the line containing $LINENO, and appends 16839 # trailing '-' during substitution so that $LINENO is not a special 16840 # case at line end. 16841 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 16842 # scripts with optimization help from Paolo Bonzini. Blame Lee 16843 # E. McMahon (1931-1989) for sed's syntax. :-) 16844 sed -n ' 16845 p 16846 /[$]LINENO/= 16847 ' <$as_myself | 16848 sed ' 16849 s/[$]LINENO.*/&-/ 16850 t lineno 16851 b 16852 :lineno 16853 N 16854 :loop 16855 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 16856 t loop 16857 s/-\n.*// 16858 ' >$as_me.lineno && 16859 chmod +x "$as_me.lineno" || 16860 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 16861 { (exit 1); exit 1; }; } 16862 16863 # Don't try to exec as it changes $[0], causing all sort of problems 16864 # (the dirname of $[0] is not the place where we might find the 16865 # original and so on. Autoconf is especially sensitive to this). 16866 . "./$as_me.lineno" 16867 # Exit status is that of the last command. 16868 exit 16869 } 16870 16871 16872 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 16873 as_dirname=dirname 16874 else 16875 as_dirname=false 16876 fi 8906 # Avoid depending upon Character Ranges. 8907 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 8908 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 8909 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 8910 as_cr_digits='0123456789' 8911 as_cr_alnum=$as_cr_Letters$as_cr_digits 16877 8912 16878 8913 ECHO_C= ECHO_N= ECHO_T= 16879 case `echo -n x` in 8914 case `echo -n x` in #((((( 16880 8915 -n*) 16881 case `echo 'x \c'` in8916 case `echo 'xy\c'` in 16882 8917 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 16883 *) ECHO_C='\c';; 8918 xy) ECHO_C='\c';; 8919 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 8920 ECHO_T=' ';; 16884 8921 esac;; 16885 8922 *) 16886 8923 ECHO_N='-n';; 16887 8924 esac 16888 if expr a : '\(a\)' >/dev/null 2>&1 &&16889 test "X`expr 00001 : '.*\(...\)'`" = X001; then16890 as_expr=expr16891 else16892 as_expr=false16893 fi16894 8925 16895 8926 rm -f conf$$ conf$$.exe conf$$.file … … 16906 8937 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 16907 8938 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 16908 # In both cases, we have to default to `cp -p '.8939 # In both cases, we have to default to `cp -pR'. 16909 8940 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 16910 as_ln_s='cp -p '8941 as_ln_s='cp -pR' 16911 8942 elif ln conf$$.file conf$$ 2>/dev/null; then 16912 8943 as_ln_s=ln 16913 8944 else 16914 as_ln_s='cp -p '8945 as_ln_s='cp -pR' 16915 8946 fi 16916 8947 else 16917 as_ln_s='cp -p '8948 as_ln_s='cp -pR' 16918 8949 fi 16919 8950 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 16920 8951 rmdir conf$$.dir 2>/dev/null 16921 8952 8953 8954 # as_fn_mkdir_p 8955 # ------------- 8956 # Create "$as_dir" as a directory, including parents if necessary. 8957 as_fn_mkdir_p () 8958 { 8959 8960 case $as_dir in #( 8961 -*) as_dir=./$as_dir;; 8962 esac 8963 test -d "$as_dir" || eval $as_mkdir_p || { 8964 as_dirs= 8965 while :; do 8966 case $as_dir in #( 8967 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 8968 *) as_qdir=$as_dir;; 8969 esac 8970 as_dirs="'$as_qdir' $as_dirs" 8971 as_dir=`$as_dirname -- "$as_dir" || 8972 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8973 X"$as_dir" : 'X\(//\)[^/]' \| \ 8974 X"$as_dir" : 'X\(//\)$' \| \ 8975 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 8976 $as_echo X"$as_dir" | 8977 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8978 s//\1/ 8979 q 8980 } 8981 /^X\(\/\/\)[^/].*/{ 8982 s//\1/ 8983 q 8984 } 8985 /^X\(\/\/\)$/{ 8986 s//\1/ 8987 q 8988 } 8989 /^X\(\/\).*/{ 8990 s//\1/ 8991 q 8992 } 8993 s/.*/./; q'` 8994 test -d "$as_dir" && break 8995 done 8996 test -z "$as_dirs" || eval "mkdir $as_dirs" 8997 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 8998 8999 9000 } # as_fn_mkdir_p 16922 9001 if mkdir -p . 2>/dev/null; then 16923 as_mkdir_p= :9002 as_mkdir_p='mkdir -p "$as_dir"' 16924 9003 else 16925 9004 test -d ./-p && rmdir ./-p … … 16927 9006 fi 16928 9007 16929 if test -x / >/dev/null 2>&1; then 16930 as_test_x='test -x' 16931 else 16932 if ls -dL / >/dev/null 2>&1; then 16933 as_ls_L_option=L 16934 else 16935 as_ls_L_option= 16936 fi 16937 as_test_x=' 16938 eval sh -c '\'' 16939 if test -d "$1"; then 16940 test -d "$1/."; 16941 else 16942 case $1 in 16943 -*)set "./$1";; 16944 esac; 16945 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 16946 ???[sx]*):;;*)false;;esac;fi 16947 '\'' sh 16948 ' 16949 fi 16950 as_executable_p=$as_test_x 9008 9009 # as_fn_executable_p FILE 9010 # ----------------------- 9011 # Test if FILE is an executable regular file. 9012 as_fn_executable_p () 9013 { 9014 test -f "$1" && test -x "$1" 9015 } # as_fn_executable_p 9016 as_test_x='test -x' 9017 as_executable_p=as_fn_executable_p 16951 9018 16952 9019 # Sed expression to map a string onto a valid CPP name. … … 16958 9025 16959 9026 exec 6>&1 16960 16961 # Save the log message, to keep $[0] and so on meaningful, and to 9027 ## ----------------------------------- ## 9028 ## Main body of $CONFIG_STATUS script. ## 9029 ## ----------------------------------- ## 9030 _ASEOF 9031 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 9032 9033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9034 # Save the log message, to keep $0 and so on meaningful, and to 16962 9035 # report actual input values of CONFIG_FILES etc. instead of their 16963 9036 # values after options handling. 16964 9037 ac_log=" 16965 9038 This file was extended by vizservers $as_me 0.1, which was 16966 generated by GNU Autoconf 2.6 3. Invocation command line was9039 generated by GNU Autoconf 2.69. Invocation command line was 16967 9040 16968 9041 CONFIG_FILES = $CONFIG_FILES … … 16995 9068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16996 9069 ac_cs_usage="\ 16997 \`$as_me' instantiates files from templates according to the 16998 current configuration. 16999 17000 Usage: $0 [OPTION]... [FILE]... 9070 \`$as_me' instantiates files and other configuration actions 9071 from templates according to the current configuration. Unless the files 9072 and actions are specified as TAGs, all are instantiated by default. 9073 9074 Usage: $0 [OPTION]... [TAG]... 17001 9075 17002 9076 -h, --help print this help, then exit 17003 9077 -V, --version print version number and configuration settings, then exit 9078 --config print configuration, then exit 17004 9079 -q, --quiet, --silent 17005 9080 do not print progress messages … … 17017 9092 $config_headers 17018 9093 17019 Report bugs to < bug-autoconf@gnu.org>."9094 Report bugs to <rappture@nanohub.org>." 17020 9095 17021 9096 _ACEOF 17022 9097 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9098 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 17023 9099 ac_cs_version="\\ 17024 9100 vizservers config.status 0.1 17025 configured by $0, generated by GNU Autoconf 2.6 3,17026 with options \\" `$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"17027 17028 Copyright (C) 20 08Free Software Foundation, Inc.9101 configured by $0, generated by GNU Autoconf 2.69, 9102 with options \\"\$ac_cs_config\\" 9103 9104 Copyright (C) 2012 Free Software Foundation, Inc. 17029 9105 This config.status script is free software; the Free Software Foundation 17030 9106 gives unlimited permission to copy, distribute and modify it." … … 17043 9119 do 17044 9120 case $1 in 17045 --*= *)9121 --*=?*) 17046 9122 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17047 9123 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9124 ac_shift=: 9125 ;; 9126 --*=) 9127 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9128 ac_optarg= 17048 9129 ac_shift=: 17049 9130 ;; … … 17061 9142 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 17062 9143 $as_echo "$ac_cs_version"; exit ;; 9144 --config | --confi | --conf | --con | --co | --c ) 9145 $as_echo "$ac_cs_config"; exit ;; 17063 9146 --debug | --debu | --deb | --de | --d | -d ) 17064 9147 debug=: ;; … … 17067 9150 case $ac_optarg in 17068 9151 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9152 '') as_fn_error $? "missing file argument" ;; 17069 9153 esac 17070 CONFIG_FILES="$CONFIG_FILES'$ac_optarg'"9154 as_fn_append CONFIG_FILES " '$ac_optarg'" 17071 9155 ac_need_defaults=false;; 17072 9156 --header | --heade | --head | --hea ) … … 17075 9159 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17076 9160 esac 17077 CONFIG_HEADERS="$CONFIG_HEADERS'$ac_optarg'"9161 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 17078 9162 ac_need_defaults=false;; 17079 9163 --he | --h) 17080 9164 # Conflict between --help and --header 17081 { $as_echo "$as_me: error: ambiguous option: $1 17082 Try \`$0 --help' for more information." >&2 17083 { (exit 1); exit 1; }; };; 9165 as_fn_error $? "ambiguous option: \`$1' 9166 Try \`$0 --help' for more information.";; 17084 9167 --help | --hel | -h ) 17085 9168 $as_echo "$ac_cs_usage"; exit ;; … … 17089 9172 17090 9173 # This is an error. 17091 -*) { $as_echo "$as_me: error: unrecognized option: $1 17092 Try \`$0 --help' for more information." >&2 17093 { (exit 1); exit 1; }; } ;; 17094 17095 *) ac_config_targets="$ac_config_targets $1" 9174 -*) as_fn_error $? "unrecognized option: \`$1' 9175 Try \`$0 --help' for more information." ;; 9176 9177 *) as_fn_append ac_config_targets " $1" 17096 9178 ac_need_defaults=false ;; 17097 9179 … … 17110 9192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17111 9193 if \$ac_cs_recheck; then 17112 set X '$SHELL''$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion9194 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 17113 9195 shift 17114 9196 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 … … 17157 9239 "start_nanoscale.sh") CONFIG_FILES="$CONFIG_FILES start_nanoscale.sh" ;; 17158 9240 17159 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 17160 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 17161 { (exit 1); exit 1; }; };; 9241 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 17162 9242 esac 17163 9243 done … … 17181 9261 $debug || 17182 9262 { 17183 tmp= 9263 tmp= ac_tmp= 17184 9264 trap 'exit_status=$? 17185 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9265 : "${ac_tmp:=$tmp}" 9266 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 17186 9267 ' 0 17187 trap ' { (exit 1); exit 1; }' 1 2 13 159268 trap 'as_fn_exit 1' 1 2 13 15 17188 9269 } 17189 9270 # Create a (secure) tmp directory for tmp files. … … 17191 9272 { 17192 9273 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 17193 test - n "$tmp" && test -d "$tmp"9274 test -d "$tmp" 17194 9275 } || 17195 9276 { 17196 9277 tmp=./conf$$-$RANDOM 17197 9278 (umask 077 && mkdir "$tmp") 17198 } || 17199 { 17200 $as_echo "$as_me: cannot create a temporary directory in ." >&2 17201 { (exit 1); exit 1; } 17202 } 9279 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 9280 ac_tmp=$tmp 17203 9281 17204 9282 # Set up the scripts for CONFIG_FILES section. … … 17208 9286 17209 9287 17210 ac_cr=' 17211 ' 9288 ac_cr=`echo X | tr X '\015'` 9289 # On cygwin, bash can eat \r inside `` if the user requested igncr. 9290 # But we know of no other shell where ac_cr would be empty at this 9291 # point, so we can use a bashism as a fallback. 9292 if test "x$ac_cr" = x; then 9293 eval ac_cr=\$\'\\r\' 9294 fi 17212 9295 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 17213 9296 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then … … 17217 9300 fi 17218 9301 17219 echo 'BEGIN {' >"$ tmp/subs1.awk" &&9302 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 17220 9303 _ACEOF 17221 9304 … … 17226 9309 echo "_ACEOF" 17227 9310 } >conf$$subs.sh || 17228 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 17229 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 17230 { (exit 1); exit 1; }; } 17231 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 9311 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 9312 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 17232 9313 ac_delim='%!_!# ' 17233 9314 for ac_last_try in false false false false false :; do 17234 9315 . ./conf$$subs.sh || 17235 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 17236 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 17237 { (exit 1); exit 1; }; } 9316 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17238 9317 17239 9318 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` … … 17241 9320 break 17242 9321 elif $ac_last_try; then 17243 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 17244 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 17245 { (exit 1); exit 1; }; } 9322 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17246 9323 else 17247 9324 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 17251 9328 17252 9329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17253 cat >>"\$ tmp/subs1.awk" <<\\_ACAWK &&9330 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 17254 9331 _ACEOF 17255 9332 sed -n ' … … 17265 9342 :nl 17266 9343 h 17267 s/\(.\{148\}\). */\1/9344 s/\(.\{148\}\)..*/\1/ 17268 9345 t more1 17269 9346 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ … … 17279 9356 :delim 17280 9357 h 17281 s/\(.\{148\}\). */\1/9358 s/\(.\{148\}\)..*/\1/ 17282 9359 t more2 17283 9360 s/["\\]/\\&/g; s/^/"/; s/$/"/ … … 17299 9376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17300 9377 _ACAWK 17301 cat >>"\$ tmp/subs1.awk" <<_ACAWK &&9378 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 17302 9379 for (key in S) S_is_set[key] = 1 17303 9380 FS = "" … … 17331 9408 else 17332 9409 cat 17333 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 17334 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 17335 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 17336 { (exit 1); exit 1; }; } 17337 _ACEOF 17338 17339 # VPATH may cause trouble with some makes, so we remove $(srcdir), 17340 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9410 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 9411 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 9412 _ACEOF 9413 9414 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 9415 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 17341 9416 # trailing colons and then remove the whole line if VPATH becomes empty 17342 9417 # (actually we leave an empty line to preserve line numbers). 17343 9418 if test "x$srcdir" = x.; then 17344 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 17345 s/:*\$(srcdir):*/:/ 17346 s/:*\${srcdir}:*/:/ 17347 s/:*@srcdir@:*/:/ 17348 s/^\([^=]*=[ ]*\):*/\1/ 9419 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 9420 h 9421 s/// 9422 s/^/:/ 9423 s/[ ]*$/:/ 9424 s/:\$(srcdir):/:/g 9425 s/:\${srcdir}:/:/g 9426 s/:@srcdir@:/:/g 9427 s/^:*// 17349 9428 s/:*$// 9429 x 9430 s/\(=[ ]*\).*/\1/ 9431 G 9432 s/\n// 17350 9433 s/^[^=]*=[ ]*$// 17351 9434 }' … … 17359 9442 # This happens for instance with `./config.status Makefile'. 17360 9443 if test -n "$CONFIG_HEADERS"; then 17361 cat >"$ tmp/defines.awk" <<\_ACAWK ||9444 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 17362 9445 BEGIN { 17363 9446 _ACEOF … … 17371 9454 ac_delim='%!_!# ' 17372 9455 for ac_last_try in false false :; do 17373 ac_t =`sed -n "/$ac_delim/p" confdefs.h`17374 if test -z "$ac_t "; then9456 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 9457 if test -z "$ac_tt"; then 17375 9458 break 17376 9459 elif $ac_last_try; then 17377 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 17378 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 17379 { (exit 1); exit 1; }; } 9460 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 17380 9461 else 17381 9462 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 17462 9543 _ACEOF 17463 9544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17464 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 17465 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 17466 { (exit 1); exit 1; }; } 9545 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 17467 9546 fi # test -n "$CONFIG_HEADERS" 17468 9547 … … 17477 9556 case $ac_mode$ac_tag in 17478 9557 :[FHL]*:*);; 17479 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 17480 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 17481 { (exit 1); exit 1; }; };; 9558 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 17482 9559 :[FH]-) ac_tag=-:-;; 17483 9560 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 17498 9575 do 17499 9576 case $ac_f in 17500 -) ac_f="$ tmp/stdin";;9577 -) ac_f="$ac_tmp/stdin";; 17501 9578 *) # Look for the file first in the build tree, then in the source tree 17502 9579 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 17507 9584 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 17508 9585 esac || 17509 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 17510 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 17511 { (exit 1); exit 1; }; };; 9586 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 17512 9587 esac 17513 9588 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 17514 a c_file_inputs="$ac_file_inputs'$ac_f'"9589 as_fn_append ac_file_inputs " '$ac_f'" 17515 9590 done 17516 9591 … … 17523 9598 if test x"$ac_file" != x-; then 17524 9599 configure_input="$ac_file. $configure_input" 17525 { $as_echo "$as_me:$ LINENO: creating $ac_file" >&59600 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 17526 9601 $as_echo "$as_me: creating $ac_file" >&6;} 17527 9602 fi … … 17535 9610 17536 9611 case $ac_tag in 17537 *:-:* | *:-) cat >"$tmp/stdin" \ 17538 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 17539 $as_echo "$as_me: error: could not create $ac_file" >&2;} 17540 { (exit 1); exit 1; }; } ;; 9612 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 9613 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 17541 9614 esac 17542 9615 ;; … … 17566 9639 } 17567 9640 s/.*/./; q'` 17568 { as_dir="$ac_dir" 17569 case $as_dir in #( 17570 -*) as_dir=./$as_dir;; 17571 esac 17572 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 17573 as_dirs= 17574 while :; do 17575 case $as_dir in #( 17576 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 17577 *) as_qdir=$as_dir;; 17578 esac 17579 as_dirs="'$as_qdir' $as_dirs" 17580 as_dir=`$as_dirname -- "$as_dir" || 17581 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17582 X"$as_dir" : 'X\(//\)[^/]' \| \ 17583 X"$as_dir" : 'X\(//\)$' \| \ 17584 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 17585 $as_echo X"$as_dir" | 17586 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17587 s//\1/ 17588 q 17589 } 17590 /^X\(\/\/\)[^/].*/{ 17591 s//\1/ 17592 q 17593 } 17594 /^X\(\/\/\)$/{ 17595 s//\1/ 17596 q 17597 } 17598 /^X\(\/\).*/{ 17599 s//\1/ 17600 q 17601 } 17602 s/.*/./; q'` 17603 test -d "$as_dir" && break 17604 done 17605 test -z "$as_dirs" || eval "mkdir $as_dirs" 17606 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 17607 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 17608 { (exit 1); exit 1; }; }; } 9641 as_dir="$ac_dir"; as_fn_mkdir_p 17609 9642 ac_builddir=. 17610 9643 … … 17663 9696 # FIXME: This hack should be removed a few years after 2.60. 17664 9697 ac_datarootdir_hack=; ac_datarootdir_seen= 17665 17666 9698 ac_sed_dataroot=' 17667 9699 /datarootdir/ { … … 17673 9705 /@infodir@/p 17674 9706 /@localedir@/p 17675 /@mandir@/p 17676 ' 9707 /@mandir@/p' 17677 9708 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 17678 9709 *datarootdir*) ac_datarootdir_seen=yes;; 17679 9710 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 17680 { $as_echo "$as_me:$ LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&59711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 17681 9712 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 17682 9713 _ACEOF … … 17688 9719 s&@localedir@&$localedir&g 17689 9720 s&@mandir@&$mandir&g 17690 9721 s&\\\${datarootdir}&$datarootdir&g' ;; 17691 9722 esac 17692 9723 _ACEOF … … 17716 9747 $ac_datarootdir_hack 17717 9748 " 17718 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 17719 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 17720 $as_echo "$as_me: error: could not create $ac_file" >&2;} 17721 { (exit 1); exit 1; }; } 9749 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 9750 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17722 9751 17723 9752 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 17724 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 17725 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 17726 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17727 which seems to be undefined. Please make sure it is defined." >&5 9753 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 9754 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 9755 "$ac_tmp/out"`; test -z "$ac_out"; } && 9756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9757 which seems to be undefined. Please make sure it is defined" >&5 17728 9758 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17729 which seems to be undefined. Please make sure it is defined ." >&2;}17730 17731 rm -f "$ tmp/stdin"9759 which seems to be undefined. Please make sure it is defined" >&2;} 9760 9761 rm -f "$ac_tmp/stdin" 17732 9762 case $ac_file in 17733 -) cat "$ tmp/out" && rm -f "$tmp/out";;17734 *) rm -f "$ac_file" && mv "$ tmp/out" "$ac_file";;9763 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 9764 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 17735 9765 esac \ 17736 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 17737 $as_echo "$as_me: error: could not create $ac_file" >&2;} 17738 { (exit 1); exit 1; }; } 9766 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17739 9767 ;; 17740 9768 :H) … … 17745 9773 { 17746 9774 $as_echo "/* $configure_input */" \ 17747 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 17748 } >"$tmp/config.h" \ 17749 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 17750 $as_echo "$as_me: error: could not create $ac_file" >&2;} 17751 { (exit 1); exit 1; }; } 17752 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 17753 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 9775 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 9776 } >"$ac_tmp/config.h" \ 9777 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9778 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 9779 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 17754 9780 $as_echo "$as_me: $ac_file is unchanged" >&6;} 17755 9781 else 17756 9782 rm -f "$ac_file" 17757 mv "$tmp/config.h" "$ac_file" \ 17758 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 17759 $as_echo "$as_me: error: could not create $ac_file" >&2;} 17760 { (exit 1); exit 1; }; } 9783 mv "$ac_tmp/config.h" "$ac_file" \ 9784 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17761 9785 fi 17762 9786 else 17763 9787 $as_echo "/* $configure_input */" \ 17764 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 17765 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 17766 $as_echo "$as_me: error: could not create -" >&2;} 17767 { (exit 1); exit 1; }; } 9788 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 9789 || as_fn_error $? "could not create -" "$LINENO" 5 17768 9790 fi 17769 9791 ;; … … 17775 9797 17776 9798 17777 { (exit 0); exit 0; } 17778 _ACEOF 17779 chmod +x $CONFIG_STATUS 9799 as_fn_exit 0 9800 _ACEOF 17780 9801 ac_clean_files=$ac_clean_files_save 17781 9802 17782 9803 test $ac_write_fail = 0 || 17783 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 17784 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 17785 { (exit 1); exit 1; }; } 9804 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 17786 9805 17787 9806 … … 17804 9823 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 17805 9824 # would make configure fail if this is the last instruction. 17806 $ac_cs_success || { (exit 1); exit 1; }9825 $ac_cs_success || as_fn_exit 1 17807 9826 fi 17808 9827 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 17809 { $as_echo "$as_me:$ LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&59828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 17810 9829 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 17811 9830 fi -
trunk/packages/vizservers/configure.in
r3465 r3560 38 38 [with_vtk=$withval], 39 39 [with_vtk=yes]) 40 41 AC_ARG_WITH( 42 [ffmpeg], 43 [AS_HELP_STRING([--with-ffmpeg[=DIR]], 44 [location of ffmpeg @<:@default=yes@:>@])], 45 [], 46 [with_ffmpeg=yes]) 40 47 41 48 RP_LANG_PYTHON … … 206 213 207 214 save_CPPFLAGS=$CPPFLAGS 208 # Test for redhat-specific location of ffmpeg headers. 209 if test -d "/usr/include/ffmpeg" ; then 210 CPPFLAGS="$CPPFLAGS -I/usr/include/ffmpeg" 211 FF_INC_SPEC="-I/usr/include/ffmpeg" 212 fi 213 214 AC_CHECK_HEADERS([ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h],,,[ 215 #define __STDC_CONSTANT_MACROS 1 216 ]) 217 CPPFLAGS=$save_CPPFLAGS 218 219 AC_CHECK_LIB(avcodec, main,,AC_MSG_ERROR(requires libavcodec)) 220 AC_CHECK_LIB(avutil, main,,AC_MSG_ERROR(requires libavutil)) 221 AC_CHECK_LIB(avformat, main,,AC_MSG_ERROR(requires libavformat)) 222 AC_CHECK_LIB(swscale, main) 223 AC_CHECK_FUNCS(avcodec_register_all) 224 AC_CHECK_FUNCS(avcodec_init) 225 AC_CHECK_FUNCS(avformat_new_stream) 226 AC_CHECK_FUNCS(av_new_stream) 227 AC_CHECK_FUNCS(avcodec_open) 228 AC_CHECK_FUNCS(avcodec_open2) 229 AC_CHECK_FUNCS(avcodec_decode_video2) 230 AC_CHECK_FUNCS(avcodec_decode_video) 231 AC_CHECK_FUNCS(avcodec_encode_video2) 232 AC_CHECK_FUNCS(avcodec_encode_video) 233 AC_CHECK_FUNCS(avformat_open_input) 234 AC_CHECK_FUNCS(av_open_input_file) 235 AC_CHECK_FUNCS(av_guess_format) 236 AC_CHECK_FUNCS(guess_format) 237 AC_CHECK_FUNCS(av_dump_format) 238 AC_CHECK_FUNCS(dump_format) 239 AC_CHECK_FUNCS(avio_open) 240 AC_CHECK_FUNCS(url_fopen) 241 AC_CHECK_FUNCS(avio_close) 242 AC_CHECK_FUNCS(url_fclose) 243 AC_CHECK_FUNCS(avformat_alloc_context) 244 AC_CHECK_FUNCS(av_alloc_format_context) 245 AC_CHECK_FUNCS(av_set_parameters) 246 AC_CHECK_FUNCS(avformat_write_header) 247 AC_CHECK_FUNCS(av_write_header) 248 AC_CHECK_FUNC(av_write_trailer,, 249 AC_MSG_ERROR(oops! no av_write_trailer?!?)) 250 AC_CHECK_FUNC(av_freep,, AC_MSG_ERROR(oops! no av_freep ?!?)) 251 AC_CHECK_FUNC(av_free,,AC_MSG_ERROR(oops! no av_free ?!?)) 252 AC_CHECK_FUNC(av_new_stream,,AC_MSG_ERROR(oops! av_new_stream ?!?)) 253 AC_CHECK_FUNC(av_malloc,, AC_MSG_ERROR(oops! no av_malloc ?!?)) 254 AC_CHECK_FUNC(av_init_packet,,AC_MSG_ERROR(oops! no av_init_packet ?!?)) 255 AC_CHECK_FUNC(av_rescale_q,,AC_MSG_ERROR(oops! no av_rescale_q ?!?)) 256 AC_CHECK_FUNC(av_write_frame,,AC_MSG_ERROR(oops! av_write_frame ?!?)) 257 AC_CHECK_FUNCS(img_convert) 258 AC_CHECK_FUNCS(sws_scale) 259 AC_TRY_COMPILE([ 260 #define __STDC_CONSTANT_MACROS 1 261 #include <stdlib.h> 262 #ifdef HAVE_FFMPEG_AVCODEC_H 263 # include <ffmpeg/avcodec.h> 264 #endif 265 #ifdef HAVE_LIBAVCODEC_AVCODEC_H 266 # include <libavcodec/avcodec.h> 267 #endif 268 int x = AVMEDIA_TYPE_VIDEO; 269 ],, ac_avmedia_type_video="yes", ac_avmedia_type_video="no") 270 if test "$ac_avmedia_type_video" == "yes" ; then 271 AC_DEFINE(HAVE_AVMEDIA_TYPE_VIDEO,1,[Define if AVMEDIA_TYPE_VIDEO enum exists. ]) 272 fi 273 274 AC_CHECK_LIB([avcodec], [avcodec_alloc_frame]) 275 # Fallback to deprecated av_alloc_format_context if avformat_alloc_context isn't found 276 AC_CHECK_LIB([avformat], [avformat_alloc_context], [], 277 AC_CHECK_LIB([avformat], [av_alloc_format_context], [], 278 [AC_MSG_WARN([libavformat not usable])])) 279 215 216 217 #-------------------------------------------------------------------- 218 # search for ffmpeg executable 219 #-------------------------------------------------------------------- 220 if test "${with_ffmpeg}" != "no" ; then 221 if test "${with_ffmpeg}" = "yes" ; then 222 AC_PATH_PROG(FFMPEG, ffmpeg) 223 else 224 AC_PATH_PROG(FFMPEG, ffmpeg, [], [${with_ffmpeg}/bin:${with_ffmpeg}]) 225 fi 226 if test "${FFMPEG}x" != "x" ; then 227 AC_DEFINE(HAVE_FFMPEG, 1, [nanovis can use ffmpeg to create videos.]) 228 fi 229 fi 280 230 281 231 AC_MSG_CHECKING([for nVidia Cg installation]) … … 330 280 AC_SUBST(CG_INC_SPEC) 331 281 AC_SUBST(CG_LIB_SPEC) 282 AC_SUBST(FFMPEG) 332 283 AC_SUBST(FF_INC_SPEC) 333 284 AC_SUBST(LD_RPATH)
Note: See TracChangeset
for help on using the changeset viewer.