Changeset 2829
- Timestamp:
- Mar 8, 2012, 11:54:08 PM (13 years ago)
- Location:
- trunk/packages/vizservers
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/configure
r2727 r2829 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 8for vizservers 0.1.3 # Generated by GNU Autoconf 2.63 for vizservers 0.1. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 7 #8 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10 # Foundation, Inc. 11 # 12 # 8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 13 9 # This configure script is free software; the Free Software Foundation 14 10 # gives unlimited permission to copy, distribute and modify it. 15 ## -------------------- ##16 ## M4sh Initialization. ##17 ## -------------------- ##11 ## --------------------- ## 12 ## M4sh Initialization. ## 13 ## --------------------- ## 18 14 19 15 # Be more Bourne compatible 20 16 DUALCASE=1; export DUALCASE # for MKS sh 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 22 18 emulate sh 23 19 NULLCMD=: … … 27 23 setopt NO_GLOB_SUBST 28 24 else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34 esac 35 fi 36 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27 esac 28 29 fi 30 31 32 33 34 # PATH needs CR 35 # Avoid depending upon Character Ranges. 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39 as_cr_digits='0123456789' 40 as_cr_alnum=$as_cr_Letters$as_cr_digits 37 41 38 42 as_nl=' … … 43 47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44 48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45 # Prefer a ksh shell builtin over an external printf program on Solaris, 46 # but without wasting forks for bash or zsh. 47 if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 50 as_echo='printf %s\n' 53 51 as_echo_n='printf %s' … … 60 58 as_echo_n_body='eval 61 59 arg=$1; 62 case $arg in #(60 case $arg in 63 61 *"$as_nl"*) 64 62 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 83 81 fi 84 82 83 # Support unset when possible. 84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 85 as_unset=unset 86 else 87 as_unset=false 88 fi 89 85 90 86 91 # IFS … … 92 97 93 98 # Find who we are. Look in the path if we contain no directory separator. 94 as_myself= 95 case $0 in #(( 99 case $0 in 96 100 *[\\/]* ) as_myself=$0 ;; 97 101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 100 104 IFS=$as_save_IFS 101 105 test -z "$as_dir" && as_dir=. 102 103 106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 107 done 104 108 IFS=$as_save_IFS 105 109 … … 113 117 if test ! -f "$as_myself"; then 114 118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116 fi 117 118 # Unset variables that we do not need and which cause bugs (e.g. in 119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120 # suppresses any "Segmentation fault" message there. '((' could 121 # trigger a bug in pdksh 5.2.14. 122 for as_var in BASH_ENV ENV MAIL MAILPATH 123 do eval test x\${$as_var+set} = xset \ 124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 119 { (exit 1); exit 1; } 120 fi 121 122 # Work around bugs in pre-3.0 UWIN ksh. 123 for as_var in ENV MAIL MAILPATH 124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 125 125 done 126 126 PS1='$ ' … … 134 134 export LANGUAGE 135 135 136 # CDPATH. 137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138 139 if test "x$CONFIG_SHELL" = x; then 140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141 emulate sh 142 NULLCMD=: 143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 144 # is contrary to our usage. Disable this feature. 145 alias -g '\${1+\"\$@\"}'='\"\$@\"' 146 setopt NO_GLOB_SUBST 147 else 148 case \`(set -o) 2>/dev/null\` in #( 149 *posix*) : 150 set -o posix ;; #( 151 *) : 152 ;; 153 esac 154 fi 155 " 156 as_required="as_fn_return () { (exit \$1); } 157 as_fn_success () { as_fn_return 0; } 158 as_fn_failure () { as_fn_return 1; } 159 as_fn_ret_success () { return 0; } 160 as_fn_ret_failure () { return 1; } 161 162 exitcode=0 163 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168 169 else 170 exitcode=1; echo positional parameters were not saved. 171 fi 172 test x\$exitcode = x0 || exit 1" 173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 177 test \$(( 1 + 1 )) = 2 || exit 1" 178 if (eval "$as_required") 2>/dev/null; then : 179 as_have_required=yes 180 else 181 as_have_required=no 182 fi 183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 184 185 else 186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 187 as_found=false 188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 189 do 190 IFS=$as_save_IFS 191 test -z "$as_dir" && as_dir=. 192 as_found=: 193 case $as_dir in #( 194 /*) 195 for as_base in sh bash ksh sh5; do 196 # Try only shells that exist, to save several forks. 197 as_shell=$as_dir/$as_base 198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 200 CONFIG_SHELL=$as_shell as_have_required=yes 201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 202 break 2 203 fi 204 fi 205 done;; 206 esac 207 as_found=false 208 done 209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 211 CONFIG_SHELL=$SHELL as_have_required=yes 212 fi; } 213 IFS=$as_save_IFS 214 215 216 if test "x$CONFIG_SHELL" != x; then : 217 # We cannot yet assume a decent shell, so we have to provide a 218 # neutralization value for shells without unset; and this also 219 # works around shells that cannot unset nonexistent variables. 220 # Preserve -v and -x to the replacement shell. 221 BASH_ENV=/dev/null 222 ENV=/dev/null 223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 224 export CONFIG_SHELL 225 case $- in # (((( 226 *v*x* | *x*v* ) as_opts=-vx ;; 227 *v* ) as_opts=-v ;; 228 *x* ) as_opts=-x ;; 229 * ) as_opts= ;; 230 esac 231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 232 fi 233 234 if test x$as_have_required = xno; then : 235 $as_echo "$0: This script requires a shell more modern than all" 236 $as_echo "$0: the shells that I found on your system." 237 if test x${ZSH_VERSION+set} = xset ; then 238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 240 else 241 $as_echo "$0: Please tell bug-autoconf@gnu.org and 242 $0: rappture@nanohub.org about your system, including any 243 $0: error possibly output before this message. Then install 244 $0: a modern shell, or manually run the script under such a 245 $0: shell if you do have one." 246 fi 247 exit 1 248 fi 249 fi 250 fi 251 SHELL=${CONFIG_SHELL-/bin/sh} 252 export SHELL 253 # Unset more variables known to interfere with behavior of common tools. 254 CLICOLOR_FORCE= GREP_OPTIONS= 255 unset CLICOLOR_FORCE GREP_OPTIONS 256 257 ## --------------------- ## 258 ## M4sh Shell Functions. ## 259 ## --------------------- ## 260 # as_fn_unset VAR 261 # --------------- 262 # Portably unset VAR. 263 as_fn_unset () 264 { 265 { eval $1=; unset $1;} 266 } 267 as_unset=as_fn_unset 268 269 # as_fn_set_status STATUS 270 # ----------------------- 271 # Set $? to STATUS, without forking. 272 as_fn_set_status () 273 { 274 return $1 275 } # as_fn_set_status 276 277 # as_fn_exit STATUS 278 # ----------------- 279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 280 as_fn_exit () 281 { 282 set +e 283 as_fn_set_status $1 284 exit $1 285 } # as_fn_exit 286 287 # as_fn_mkdir_p 288 # ------------- 289 # Create "$as_dir" as a directory, including parents if necessary. 290 as_fn_mkdir_p () 291 { 292 293 case $as_dir in #( 294 -*) as_dir=./$as_dir;; 295 esac 296 test -d "$as_dir" || eval $as_mkdir_p || { 297 as_dirs= 298 while :; do 299 case $as_dir in #( 300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 301 *) as_qdir=$as_dir;; 302 esac 303 as_dirs="'$as_qdir' $as_dirs" 304 as_dir=`$as_dirname -- "$as_dir" || 305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 306 X"$as_dir" : 'X\(//\)[^/]' \| \ 307 X"$as_dir" : 'X\(//\)$' \| \ 308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 309 $as_echo X"$as_dir" | 310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\/\)[^/].*/{ 315 s//\1/ 316 q 317 } 318 /^X\(\/\/\)$/{ 319 s//\1/ 320 q 321 } 322 /^X\(\/\).*/{ 323 s//\1/ 324 q 325 } 326 s/.*/./; q'` 327 test -d "$as_dir" && break 328 done 329 test -z "$as_dirs" || eval "mkdir $as_dirs" 330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 331 332 333 } # as_fn_mkdir_p 334 # as_fn_append VAR VALUE 335 # ---------------------- 336 # Append the text in VALUE to the end of the definition contained in VAR. Take 337 # advantage of any shell optimizations that allow amortized linear growth over 338 # repeated appends, instead of the typical quadratic growth present in naive 339 # implementations. 340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 341 eval 'as_fn_append () 342 { 343 eval $1+=\$2 344 }' 345 else 346 as_fn_append () 347 { 348 eval $1=\$$1\$2 349 } 350 fi # as_fn_append 351 352 # as_fn_arith ARG... 353 # ------------------ 354 # Perform arithmetic evaluation on the ARGs, and store the result in the 355 # global $as_val. Take advantage of shells that can avoid forks. The arguments 356 # must be portable across $(()) and expr. 357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 358 eval 'as_fn_arith () 359 { 360 as_val=$(( $* )) 361 }' 362 else 363 as_fn_arith () 364 { 365 as_val=`expr "$@" || test $? -eq 1` 366 } 367 fi # as_fn_arith 368 369 370 # as_fn_error STATUS ERROR [LINENO LOG_FD] 371 # ---------------------------------------- 372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 374 # script with STATUS, using 1 if that was 0. 375 as_fn_error () 376 { 377 as_status=$1; test $as_status -eq 0 && as_status=1 378 if test "$4"; then 379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 381 fi 382 $as_echo "$as_me: error: $2" >&2 383 as_fn_exit $as_status 384 } # as_fn_error 385 136 # Required to use basename. 386 137 if expr a : '\(a\)' >/dev/null 2>&1 && 387 138 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 397 148 fi 398 149 399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 400 as_dirname=dirname 401 else 402 as_dirname=false 403 fi 404 150 151 # Name of the executable. 405 152 as_me=`$as_basename -- "$0" || 406 153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 422 169 s/.*/./; q'` 423 170 424 # Avoid depending upon Character Ranges. 425 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 428 as_cr_digits='0123456789' 429 as_cr_alnum=$as_cr_Letters$as_cr_digits 430 431 432 as_lineno_1=$LINENO as_lineno_1a=$LINENO 433 as_lineno_2=$LINENO as_lineno_2a=$LINENO 434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 171 # CDPATH. 172 $as_unset CDPATH 173 174 175 if test "x$CONFIG_SHELL" = x; then 176 if (eval ":") 2>/dev/null; then 177 as_have_required=yes 178 else 179 as_have_required=no 180 fi 181 182 if test $as_have_required = yes && (eval ": 183 (as_func_return () { 184 (exit \$1) 185 } 186 as_func_success () { 187 as_func_return 0 188 } 189 as_func_failure () { 190 as_func_return 1 191 } 192 as_func_ret_success () { 193 return 0 194 } 195 as_func_ret_failure () { 196 return 1 197 } 198 199 exitcode=0 200 if as_func_success; then 201 : 202 else 203 exitcode=1 204 echo as_func_success failed. 205 fi 206 207 if as_func_failure; then 208 exitcode=1 209 echo as_func_failure succeeded. 210 fi 211 212 if as_func_ret_success; then 213 : 214 else 215 exitcode=1 216 echo as_func_ret_success failed. 217 fi 218 219 if as_func_ret_failure; then 220 exitcode=1 221 echo as_func_ret_failure succeeded. 222 fi 223 224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 225 : 226 else 227 exitcode=1 228 echo positional parameters were not saved. 229 fi 230 231 test \$exitcode = 0) || { (exit 1); exit 1; } 232 233 ( 234 as_lineno_1=\$LINENO 235 as_lineno_2=\$LINENO 236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 238 ") 2> /dev/null; then 239 : 240 else 241 as_candidate_shells= 242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 244 do 245 IFS=$as_save_IFS 246 test -z "$as_dir" && as_dir=. 247 case $as_dir in 248 /*) 249 for as_base in sh bash ksh sh5; do 250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 251 done;; 252 esac 253 done 254 IFS=$as_save_IFS 255 256 257 for as_shell in $as_candidate_shells $SHELL; do 258 # Try only shells that exist, to save several forks. 259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 260 { ("$as_shell") 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 _ASEOF 278 }; then 279 CONFIG_SHELL=$as_shell 280 as_have_required=yes 281 if { "$as_shell" 2> /dev/null <<\_ASEOF 282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 283 emulate sh 284 NULLCMD=: 285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 286 # is contrary to our usage. Disable this feature. 287 alias -g '${1+"$@"}'='"$@"' 288 setopt NO_GLOB_SUBST 289 else 290 case `(set -o) 2>/dev/null` in 291 *posix*) set -o posix ;; 292 esac 293 294 fi 295 296 297 : 298 (as_func_return () { 299 (exit $1) 300 } 301 as_func_success () { 302 as_func_return 0 303 } 304 as_func_failure () { 305 as_func_return 1 306 } 307 as_func_ret_success () { 308 return 0 309 } 310 as_func_ret_failure () { 311 return 1 312 } 313 314 exitcode=0 315 if as_func_success; then 316 : 317 else 318 exitcode=1 319 echo as_func_success failed. 320 fi 321 322 if as_func_failure; then 323 exitcode=1 324 echo as_func_failure succeeded. 325 fi 326 327 if as_func_ret_success; then 328 : 329 else 330 exitcode=1 331 echo as_func_ret_success failed. 332 fi 333 334 if as_func_ret_failure; then 335 exitcode=1 336 echo as_func_ret_failure succeeded. 337 fi 338 339 if ( set x; as_func_ret_success y && test x = "$1" ); then 340 : 341 else 342 exitcode=1 343 echo positional parameters were not saved. 344 fi 345 346 test $exitcode = 0) || { (exit 1); exit 1; } 347 348 ( 349 as_lineno_1=$LINENO 350 as_lineno_2=$LINENO 351 test "x$as_lineno_1" != "x$as_lineno_2" && 352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 353 354 _ASEOF 355 }; then 356 break 357 fi 358 359 fi 360 361 done 362 363 if test "x$CONFIG_SHELL" != x; then 364 for as_var in BASH_ENV ENV 365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 366 done 367 export CONFIG_SHELL 368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 369 fi 370 371 372 if test $as_have_required = no; then 373 echo This script requires a shell more modern than all the 374 echo shells that I found on your system. Please install a 375 echo modern shell, or manually run the script under such a 376 echo shell if you do have one. 377 { (exit 1); exit 1; } 378 fi 379 380 381 fi 382 383 fi 384 385 386 387 (eval "as_func_return () { 388 (exit \$1) 389 } 390 as_func_success () { 391 as_func_return 0 392 } 393 as_func_failure () { 394 as_func_return 1 395 } 396 as_func_ret_success () { 397 return 0 398 } 399 as_func_ret_failure () { 400 return 1 401 } 402 403 exitcode=0 404 if as_func_success; then 405 : 406 else 407 exitcode=1 408 echo as_func_success failed. 409 fi 410 411 if as_func_failure; then 412 exitcode=1 413 echo as_func_failure succeeded. 414 fi 415 416 if as_func_ret_success; then 417 : 418 else 419 exitcode=1 420 echo as_func_ret_success failed. 421 fi 422 423 if as_func_ret_failure; then 424 exitcode=1 425 echo as_func_ret_failure succeeded. 426 fi 427 428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 429 : 430 else 431 exitcode=1 432 echo positional parameters were not saved. 433 fi 434 435 test \$exitcode = 0") || { 436 echo No shell found that supports shell functions. 437 echo Please tell bug-autoconf@gnu.org about your system, 438 echo including any error possibly output before this message. 439 echo This can help us improve future autoconf versions. 440 echo Configuration will now proceed without shell functions. 441 } 442 443 444 445 as_lineno_1=$LINENO 446 as_lineno_2=$LINENO 447 test "x$as_lineno_1" != "x$as_lineno_2" && 448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 449 450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 451 # uniformly replaced by the line number. The first 'sed' inserts a 452 # line-number line after each line using $LINENO; the second 'sed' 453 # does the real work. The second script uses 'N' to pair each 454 # line-number line with the line containing $LINENO, and appends 455 # trailing '-' during substitution so that $LINENO is not a special 456 # case at line end. 457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 458 # scripts with optimization help from Paolo Bonzini. Blame Lee 459 # E. McMahon (1931-1989) for sed's syntax. :-) 437 460 sed -n ' 438 461 p … … 451 474 ' >$as_me.lineno && 452 475 chmod +x "$as_me.lineno" || 453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 477 { (exit 1); exit 1; }; } 454 478 455 479 # Don't try to exec as it changes $[0], causing all sort of problems … … 461 485 } 462 486 487 488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 489 as_dirname=dirname 490 else 491 as_dirname=false 492 fi 493 463 494 ECHO_C= ECHO_N= ECHO_T= 464 case `echo -n x` in #(((((495 case `echo -n x` in 465 496 -n*) 466 case `echo 'x y\c'` in497 case `echo 'x\c'` in 467 498 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 468 xy) ECHO_C='\c';; 469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 470 ECHO_T=' ';; 499 *) ECHO_C='\c';; 471 500 esac;; 472 501 *) 473 502 ECHO_N='-n';; 474 503 esac 504 if expr a : '\(a\)' >/dev/null 2>&1 && 505 test "X`expr 00001 : '.*\(...\)'`" = X001; then 506 as_expr=expr 507 else 508 as_expr=false 509 fi 475 510 476 511 rm -f conf$$ conf$$.exe conf$$.file … … 502 537 503 538 if mkdir -p . 2>/dev/null; then 504 as_mkdir_p= 'mkdir -p "$as_dir"'539 as_mkdir_p=: 505 540 else 506 541 test -d ./-p && rmdir ./-p … … 521 556 test -d "$1/."; 522 557 else 523 case $1 in #(558 case $1 in 524 559 -*)set "./$1";; 525 560 esac; 526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 527 562 ???[sx]*):;;*)false;;esac;fi 528 563 '\'' sh … … 538 573 539 574 540 test -n "$DJDIR" || exec 7<&0 </dev/null 541 exec 6>&1575 576 exec 7<&0 </dev/null 6>&1 542 577 543 578 # Name of the host. 544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 545 580 # so uname gets run too. 546 581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 557 592 MFLAGS= 558 593 MAKEFLAGS= 594 SHELL=${CONFIG_SHELL-/bin/sh} 559 595 560 596 # Identity of this package. … … 564 600 PACKAGE_STRING='vizservers 0.1' 565 601 PACKAGE_BUGREPORT='rappture@nanohub.org' 566 PACKAGE_URL=''567 602 568 603 # Factoring default headers for most tests. … … 624 659 DX_LIB_SPEC 625 660 DX_INC_SPEC 626 CG_LIB_DIR 627 CG_INC_DIR 628 CG_DIR 661 CG_LIB_SPEC 662 CG_INC_SPEC 629 663 CXXCPP 630 664 ac_ct_CXX … … 702 736 prefix 703 737 exec_prefix 704 PACKAGE_URL705 738 PACKAGE_BUGREPORT 706 739 PACKAGE_STRING … … 801 834 802 835 case $ac_option in 803 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 804 *=) ac_optarg= ;; 805 *) ac_optarg=yes ;; 836 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 837 *) ac_optarg=yes ;; 806 838 esac 807 839 … … 848 880 # Reject names that are not valid shell variable names. 849 881 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 850 as_fn_error $? "invalid feature name: $ac_useropt" 882 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 883 { (exit 1); exit 1; }; } 851 884 ac_useropt_orig=$ac_useropt 852 885 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 874 907 # Reject names that are not valid shell variable names. 875 908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 876 as_fn_error $? "invalid feature name: $ac_useropt" 909 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 910 { (exit 1); exit 1; }; } 877 911 ac_useropt_orig=$ac_useropt 878 912 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1078 1112 # Reject names that are not valid shell variable names. 1079 1113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1080 as_fn_error $? "invalid package name: $ac_useropt" 1114 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1115 { (exit 1); exit 1; }; } 1081 1116 ac_useropt_orig=$ac_useropt 1082 1117 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1094 1129 # Reject names that are not valid shell variable names. 1095 1130 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1096 as_fn_error $? "invalid package name: $ac_useropt" 1131 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1132 { (exit 1); exit 1; }; } 1097 1133 ac_useropt_orig=$ac_useropt 1098 1134 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1124 1160 x_libraries=$ac_optarg ;; 1125 1161 1126 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1127 Try \`$0 --help' for more information" 1162 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1163 Try \`$0 --help' for more information." >&2 1164 { (exit 1); exit 1; }; } 1128 1165 ;; 1129 1166 … … 1131 1168 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1132 1169 # Reject names that are not valid shell variable names. 1133 case $ac_envvar in #( 1134 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1135 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1136 esac 1170 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1171 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1172 { (exit 1); exit 1; }; } 1137 1173 eval $ac_envvar=\$ac_optarg 1138 1174 export $ac_envvar ;; … … 1143 1179 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1144 1180 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1145 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"1181 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1146 1182 ;; 1147 1183 … … 1151 1187 if test -n "$ac_prev"; then 1152 1188 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1153 as_fn_error $? "missing argument to $ac_option" 1189 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1190 { (exit 1); exit 1; }; } 1154 1191 fi 1155 1192 … … 1157 1194 case $enable_option_checking in 1158 1195 no) ;; 1159 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1196 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1197 { (exit 1); exit 1; }; } ;; 1160 1198 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1161 1199 esac … … 1180 1218 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1181 1219 esac 1182 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1220 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1221 { (exit 1); exit 1; }; } 1183 1222 done 1184 1223 … … 1194 1233 if test "x$build_alias" = x; then 1195 1234 cross_compiling=maybe 1196 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.1197 If a cross compiler is detected then cross compile mode will be used " >&21235 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1236 If a cross compiler is detected then cross compile mode will be used." >&2 1198 1237 elif test "x$build_alias" != "x$host_alias"; then 1199 1238 cross_compiling=yes … … 1210 1249 ac_ls_di=`ls -di .` && 1211 1250 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1212 as_fn_error $? "working directory cannot be determined" 1251 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1252 { (exit 1); exit 1; }; } 1213 1253 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1214 as_fn_error $? "pwd does not report name of working directory" 1254 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1255 { (exit 1); exit 1; }; } 1215 1256 1216 1257 … … 1251 1292 if test ! -r "$srcdir/$ac_unique_file"; then 1252 1293 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1253 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1294 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1295 { (exit 1); exit 1; }; } 1254 1296 fi 1255 1297 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1256 1298 ac_abs_confdir=`( 1257 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1299 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1300 { (exit 1); exit 1; }; } 1258 1301 pwd)` 1259 1302 # When building in place, set srcdir=. … … 1295 1338 --help=recursive display the short help of all the included packages 1296 1339 -V, --version display version information and exit 1297 -q, --quiet, --silent do not print \`checking 1340 -q, --quiet, --silent do not print \`checking...' messages 1298 1341 --cache-file=FILE cache test results in FILE [disabled] 1299 1342 -C, --config-cache alias for \`--cache-file=config.cache' … … 1378 1421 nonstandard directory <lib dir> 1379 1422 LIBS libraries to pass to the linker, e.g. -l<library> 1380 CPPFLAGS (Objective) C/C++preprocessor flags, e.g. -I<include dir> if1423 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1381 1424 you have headers in a nonstandard directory <include dir> 1382 1425 CPP C preprocessor … … 1453 1496 cat <<\_ACEOF 1454 1497 vizservers configure 0.1 1455 generated by GNU Autoconf 2.68 1456 1457 Copyright (C) 2010 Free Software Foundation, Inc. 1498 generated by GNU Autoconf 2.63 1499 1500 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1501 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1458 1502 This configure script is free software; the Free Software Foundation 1459 1503 gives unlimited permission to copy, distribute and modify it. … … 1461 1505 exit 1462 1506 fi 1463 1464 ## ------------------------ ##1465 ## Autoconf initialization. ##1466 ## ------------------------ ##1467 1468 # ac_fn_c_try_compile LINENO1469 # --------------------------1470 # Try to compile conftest.$ac_ext, and return whether this succeeded.1471 ac_fn_c_try_compile ()1472 {1473 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1474 rm -f conftest.$ac_objext1475 if { { ac_try="$ac_compile"1476 case "(($ac_try" in1477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1478 *) ac_try_echo=$ac_try;;1479 esac1480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1481 $as_echo "$ac_try_echo"; } >&51482 (eval "$ac_compile") 2>conftest.err1483 ac_status=$?1484 if test -s conftest.err; then1485 grep -v '^ *+' conftest.err >conftest.er11486 cat conftest.er1 >&51487 mv -f conftest.er1 conftest.err1488 fi1489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51490 test $ac_status = 0; } && {1491 test -z "$ac_c_werror_flag" ||1492 test ! -s conftest.err1493 } && test -s conftest.$ac_objext; then :1494 ac_retval=01495 else1496 $as_echo "$as_me: failed program was:" >&51497 sed 's/^/| /' conftest.$ac_ext >&51498 1499 ac_retval=11500 fi1501 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1502 as_fn_set_status $ac_retval1503 1504 } # ac_fn_c_try_compile1505 1506 # ac_fn_c_try_cpp LINENO1507 # ----------------------1508 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1509 ac_fn_c_try_cpp ()1510 {1511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1512 if { { ac_try="$ac_cpp conftest.$ac_ext"1513 case "(($ac_try" in1514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1515 *) ac_try_echo=$ac_try;;1516 esac1517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1518 $as_echo "$ac_try_echo"; } >&51519 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1520 ac_status=$?1521 if test -s conftest.err; then1522 grep -v '^ *+' conftest.err >conftest.er11523 cat conftest.er1 >&51524 mv -f conftest.er1 conftest.err1525 fi1526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51527 test $ac_status = 0; } > conftest.i && {1528 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1529 test ! -s conftest.err1530 }; then :1531 ac_retval=01532 else1533 $as_echo "$as_me: failed program was:" >&51534 sed 's/^/| /' conftest.$ac_ext >&51535 1536 ac_retval=11537 fi1538 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1539 as_fn_set_status $ac_retval1540 1541 } # ac_fn_c_try_cpp1542 1543 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES1544 # -------------------------------------------------------1545 # Tests whether HEADER exists, giving a warning if it cannot be compiled using1546 # the include files in INCLUDES and setting the cache variable VAR1547 # accordingly.1548 ac_fn_c_check_header_mongrel ()1549 {1550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1551 if eval \${$3+:} false; then :1552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51553 $as_echo_n "checking for $2... " >&6; }1554 if eval \${$3+:} false; then :1555 $as_echo_n "(cached) " >&61556 fi1557 eval ac_res=\$$31558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51559 $as_echo "$ac_res" >&6; }1560 else1561 # Is the header compilable?1562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&51563 $as_echo_n "checking $2 usability... " >&6; }1564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1565 /* end confdefs.h. */1566 $41567 #include <$2>1568 _ACEOF1569 if ac_fn_c_try_compile "$LINENO"; then :1570 ac_header_compiler=yes1571 else1572 ac_header_compiler=no1573 fi1574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&51576 $as_echo "$ac_header_compiler" >&6; }1577 1578 # Is the header present?1579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&51580 $as_echo_n "checking $2 presence... " >&6; }1581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1582 /* end confdefs.h. */1583 #include <$2>1584 _ACEOF1585 if ac_fn_c_try_cpp "$LINENO"; then :1586 ac_header_preproc=yes1587 else1588 ac_header_preproc=no1589 fi1590 rm -f conftest.err conftest.i conftest.$ac_ext1591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&51592 $as_echo "$ac_header_preproc" >&6; }1593 1594 # So? What about this header?1595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((1596 yes:no: )1597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&51598 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}1599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51600 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1601 ;;1602 no:yes:* )1603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&51604 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}1605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&51606 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}1607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&51608 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}1609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&51610 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}1611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51612 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1613 ( $as_echo "## ----------------------------------- ##1614 ## Report this to rappture@nanohub.org ##1615 ## ----------------------------------- ##"1616 ) | sed "s/^/$as_me: WARNING: /" >&21617 ;;1618 esac1619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51620 $as_echo_n "checking for $2... " >&6; }1621 if eval \${$3+:} false; then :1622 $as_echo_n "(cached) " >&61623 else1624 eval "$3=\$ac_header_compiler"1625 fi1626 eval ac_res=\$$31627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51628 $as_echo "$ac_res" >&6; }1629 fi1630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1631 1632 } # ac_fn_c_check_header_mongrel1633 1634 # ac_fn_c_try_run LINENO1635 # ----------------------1636 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1637 # that executables *can* be run.1638 ac_fn_c_try_run ()1639 {1640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1641 if { { ac_try="$ac_link"1642 case "(($ac_try" in1643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1644 *) ac_try_echo=$ac_try;;1645 esac1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1647 $as_echo "$ac_try_echo"; } >&51648 (eval "$ac_link") 2>&51649 ac_status=$?1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51651 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1652 { { case "(($ac_try" in1653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1654 *) ac_try_echo=$ac_try;;1655 esac1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1657 $as_echo "$ac_try_echo"; } >&51658 (eval "$ac_try") 2>&51659 ac_status=$?1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51661 test $ac_status = 0; }; }; then :1662 ac_retval=01663 else1664 $as_echo "$as_me: program exited with status $ac_status" >&51665 $as_echo "$as_me: failed program was:" >&51666 sed 's/^/| /' conftest.$ac_ext >&51667 1668 ac_retval=$ac_status1669 fi1670 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1672 as_fn_set_status $ac_retval1673 1674 } # ac_fn_c_try_run1675 1676 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES1677 # -------------------------------------------------------1678 # Tests whether HEADER exists and can be compiled using the include files in1679 # INCLUDES, setting the cache variable VAR accordingly.1680 ac_fn_c_check_header_compile ()1681 {1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51684 $as_echo_n "checking for $2... " >&6; }1685 if eval \${$3+:} false; then :1686 $as_echo_n "(cached) " >&61687 else1688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1689 /* end confdefs.h. */1690 $41691 #include <$2>1692 _ACEOF1693 if ac_fn_c_try_compile "$LINENO"; then :1694 eval "$3=yes"1695 else1696 eval "$3=no"1697 fi1698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1699 fi1700 eval ac_res=\$$31701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51702 $as_echo "$ac_res" >&6; }1703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1704 1705 } # ac_fn_c_check_header_compile1706 1707 # ac_fn_c_try_link LINENO1708 # -----------------------1709 # Try to link conftest.$ac_ext, and return whether this succeeded.1710 ac_fn_c_try_link ()1711 {1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1713 rm -f conftest.$ac_objext conftest$ac_exeext1714 if { { ac_try="$ac_link"1715 case "(($ac_try" in1716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1717 *) ac_try_echo=$ac_try;;1718 esac1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1720 $as_echo "$ac_try_echo"; } >&51721 (eval "$ac_link") 2>conftest.err1722 ac_status=$?1723 if test -s conftest.err; then1724 grep -v '^ *+' conftest.err >conftest.er11725 cat conftest.er1 >&51726 mv -f conftest.er1 conftest.err1727 fi1728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51729 test $ac_status = 0; } && {1730 test -z "$ac_c_werror_flag" ||1731 test ! -s conftest.err1732 } && test -s conftest$ac_exeext && {1733 test "$cross_compiling" = yes ||1734 $as_test_x conftest$ac_exeext1735 }; then :1736 ac_retval=01737 else1738 $as_echo "$as_me: failed program was:" >&51739 sed 's/^/| /' conftest.$ac_ext >&51740 1741 ac_retval=11742 fi1743 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1744 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1745 # interfere with the next link command; also delete a directory that is1746 # left behind by Apple's compiler. We do this before executing the actions.1747 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1749 as_fn_set_status $ac_retval1750 1751 } # ac_fn_c_try_link1752 1753 # ac_fn_cxx_try_compile LINENO1754 # ----------------------------1755 # Try to compile conftest.$ac_ext, and return whether this succeeded.1756 ac_fn_cxx_try_compile ()1757 {1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1759 rm -f conftest.$ac_objext1760 if { { ac_try="$ac_compile"1761 case "(($ac_try" in1762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1763 *) ac_try_echo=$ac_try;;1764 esac1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1766 $as_echo "$ac_try_echo"; } >&51767 (eval "$ac_compile") 2>conftest.err1768 ac_status=$?1769 if test -s conftest.err; then1770 grep -v '^ *+' conftest.err >conftest.er11771 cat conftest.er1 >&51772 mv -f conftest.er1 conftest.err1773 fi1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51775 test $ac_status = 0; } && {1776 test -z "$ac_cxx_werror_flag" ||1777 test ! -s conftest.err1778 } && test -s conftest.$ac_objext; then :1779 ac_retval=01780 else1781 $as_echo "$as_me: failed program was:" >&51782 sed 's/^/| /' conftest.$ac_ext >&51783 1784 ac_retval=11785 fi1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1787 as_fn_set_status $ac_retval1788 1789 } # ac_fn_cxx_try_compile1790 1791 # ac_fn_cxx_try_cpp LINENO1792 # ------------------------1793 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1794 ac_fn_cxx_try_cpp ()1795 {1796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1797 if { { ac_try="$ac_cpp conftest.$ac_ext"1798 case "(($ac_try" in1799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1800 *) ac_try_echo=$ac_try;;1801 esac1802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1803 $as_echo "$ac_try_echo"; } >&51804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1805 ac_status=$?1806 if test -s conftest.err; then1807 grep -v '^ *+' conftest.err >conftest.er11808 cat conftest.er1 >&51809 mv -f conftest.er1 conftest.err1810 fi1811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51812 test $ac_status = 0; } > conftest.i && {1813 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||1814 test ! -s conftest.err1815 }; then :1816 ac_retval=01817 else1818 $as_echo "$as_me: failed program was:" >&51819 sed 's/^/| /' conftest.$ac_ext >&51820 1821 ac_retval=11822 fi1823 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1824 as_fn_set_status $ac_retval1825 1826 } # ac_fn_cxx_try_cpp1827 1828 # ac_fn_cxx_try_run LINENO1829 # ------------------------1830 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1831 # that executables *can* be run.1832 ac_fn_cxx_try_run ()1833 {1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1835 if { { ac_try="$ac_link"1836 case "(($ac_try" in1837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1838 *) ac_try_echo=$ac_try;;1839 esac1840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1841 $as_echo "$ac_try_echo"; } >&51842 (eval "$ac_link") 2>&51843 ac_status=$?1844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51845 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1846 { { case "(($ac_try" in1847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1848 *) ac_try_echo=$ac_try;;1849 esac1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1851 $as_echo "$ac_try_echo"; } >&51852 (eval "$ac_try") 2>&51853 ac_status=$?1854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51855 test $ac_status = 0; }; }; then :1856 ac_retval=01857 else1858 $as_echo "$as_me: program exited with status $ac_status" >&51859 $as_echo "$as_me: failed program was:" >&51860 sed 's/^/| /' conftest.$ac_ext >&51861 1862 ac_retval=$ac_status1863 fi1864 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1866 as_fn_set_status $ac_retval1867 1868 } # ac_fn_cxx_try_run1869 1870 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES1871 # ----------------------------------------------1872 # Tries to find the compile-time value of EXPR in a program that includes1873 # INCLUDES, setting VAR accordingly. Returns whether the value could be1874 # computed1875 ac_fn_cxx_compute_int ()1876 {1877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1878 if test "$cross_compiling" = yes; then1879 # Depending upon the size, compute the lo and hi bounds.1880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1881 /* end confdefs.h. */1882 $41883 int1884 main ()1885 {1886 static int test_array [1 - 2 * !(($2) >= 0)];1887 test_array [0] = 01888 1889 ;1890 return 0;1891 }1892 _ACEOF1893 if ac_fn_cxx_try_compile "$LINENO"; then :1894 ac_lo=0 ac_mid=01895 while :; do1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1897 /* end confdefs.h. */1898 $41899 int1900 main ()1901 {1902 static int test_array [1 - 2 * !(($2) <= $ac_mid)];1903 test_array [0] = 01904 1905 ;1906 return 0;1907 }1908 _ACEOF1909 if ac_fn_cxx_try_compile "$LINENO"; then :1910 ac_hi=$ac_mid; break1911 else1912 as_fn_arith $ac_mid + 1 && ac_lo=$as_val1913 if test $ac_lo -le $ac_mid; then1914 ac_lo= ac_hi=1915 break1916 fi1917 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val1918 fi1919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1920 done1921 else1922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1923 /* end confdefs.h. */1924 $41925 int1926 main ()1927 {1928 static int test_array [1 - 2 * !(($2) < 0)];1929 test_array [0] = 01930 1931 ;1932 return 0;1933 }1934 _ACEOF1935 if ac_fn_cxx_try_compile "$LINENO"; then :1936 ac_hi=-1 ac_mid=-11937 while :; do1938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1939 /* end confdefs.h. */1940 $41941 int1942 main ()1943 {1944 static int test_array [1 - 2 * !(($2) >= $ac_mid)];1945 test_array [0] = 01946 1947 ;1948 return 0;1949 }1950 _ACEOF1951 if ac_fn_cxx_try_compile "$LINENO"; then :1952 ac_lo=$ac_mid; break1953 else1954 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val1955 if test $ac_mid -le $ac_hi; then1956 ac_lo= ac_hi=1957 break1958 fi1959 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val1960 fi1961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1962 done1963 else1964 ac_lo= ac_hi=1965 fi1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1967 fi1968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1969 # Binary search between lo and hi bounds.1970 while test "x$ac_lo" != "x$ac_hi"; do1971 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val1972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1973 /* end confdefs.h. */1974 $41975 int1976 main ()1977 {1978 static int test_array [1 - 2 * !(($2) <= $ac_mid)];1979 test_array [0] = 01980 1981 ;1982 return 0;1983 }1984 _ACEOF1985 if ac_fn_cxx_try_compile "$LINENO"; then :1986 ac_hi=$ac_mid1987 else1988 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val1989 fi1990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1991 done1992 case $ac_lo in #((1993 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;1994 '') ac_retval=1 ;;1995 esac1996 else1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1998 /* end confdefs.h. */1999 $42000 static long int longval () { return $2; }2001 static unsigned long int ulongval () { return $2; }2002 #include <stdio.h>2003 #include <stdlib.h>2004 int2005 main ()2006 {2007 2008 FILE *f = fopen ("conftest.val", "w");2009 if (! f)2010 return 1;2011 if (($2) < 0)2012 {2013 long int i = longval ();2014 if (i != ($2))2015 return 1;2016 fprintf (f, "%ld", i);2017 }2018 else2019 {2020 unsigned long int i = ulongval ();2021 if (i != ($2))2022 return 1;2023 fprintf (f, "%lu", i);2024 }2025 /* Do not output a trailing newline, as this causes \r\n confusion2026 on some platforms. */2027 return ferror (f) || fclose (f) != 0;2028 2029 ;2030 return 0;2031 }2032 _ACEOF2033 if ac_fn_cxx_try_run "$LINENO"; then :2034 echo >>conftest.val; read $3 <conftest.val; ac_retval=02035 else2036 ac_retval=12037 fi2038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \2039 conftest.$ac_objext conftest.beam conftest.$ac_ext2040 rm -f conftest.val2041 2042 fi2043 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2044 as_fn_set_status $ac_retval2045 2046 } # ac_fn_cxx_compute_int2047 2048 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES2049 # ---------------------------------------------------------2050 # Tests whether HEADER exists, giving a warning if it cannot be compiled using2051 # the include files in INCLUDES and setting the cache variable VAR2052 # accordingly.2053 ac_fn_cxx_check_header_mongrel ()2054 {2055 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2056 if eval \${$3+:} false; then :2057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52058 $as_echo_n "checking for $2... " >&6; }2059 if eval \${$3+:} false; then :2060 $as_echo_n "(cached) " >&62061 fi2062 eval ac_res=\$$32063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52064 $as_echo "$ac_res" >&6; }2065 else2066 # Is the header compilable?2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&52068 $as_echo_n "checking $2 usability... " >&6; }2069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2070 /* end confdefs.h. */2071 $42072 #include <$2>2073 _ACEOF2074 if ac_fn_cxx_try_compile "$LINENO"; then :2075 ac_header_compiler=yes2076 else2077 ac_header_compiler=no2078 fi2079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&52081 $as_echo "$ac_header_compiler" >&6; }2082 2083 # Is the header present?2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&52085 $as_echo_n "checking $2 presence... " >&6; }2086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2087 /* end confdefs.h. */2088 #include <$2>2089 _ACEOF2090 if ac_fn_cxx_try_cpp "$LINENO"; then :2091 ac_header_preproc=yes2092 else2093 ac_header_preproc=no2094 fi2095 rm -f conftest.err conftest.i conftest.$ac_ext2096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&52097 $as_echo "$ac_header_preproc" >&6; }2098 2099 # So? What about this header?2100 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((2101 yes:no: )2102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&52103 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}2104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&52105 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}2106 ;;2107 no:yes:* )2108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&52109 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}2110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&52111 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}2112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&52113 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}2114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&52115 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}2116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&52117 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}2118 ( $as_echo "## ----------------------------------- ##2119 ## Report this to rappture@nanohub.org ##2120 ## ----------------------------------- ##"2121 ) | sed "s/^/$as_me: WARNING: /" >&22122 ;;2123 esac2124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52125 $as_echo_n "checking for $2... " >&6; }2126 if eval \${$3+:} false; then :2127 $as_echo_n "(cached) " >&62128 else2129 eval "$3=\$ac_header_compiler"2130 fi2131 eval ac_res=\$$32132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52133 $as_echo "$ac_res" >&6; }2134 fi2135 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2136 2137 } # ac_fn_cxx_check_header_mongrel2138 2139 # ac_fn_cxx_try_link LINENO2140 # -------------------------2141 # Try to link conftest.$ac_ext, and return whether this succeeded.2142 ac_fn_cxx_try_link ()2143 {2144 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2145 rm -f conftest.$ac_objext conftest$ac_exeext2146 if { { ac_try="$ac_link"2147 case "(($ac_try" in2148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2149 *) ac_try_echo=$ac_try;;2150 esac2151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2152 $as_echo "$ac_try_echo"; } >&52153 (eval "$ac_link") 2>conftest.err2154 ac_status=$?2155 if test -s conftest.err; then2156 grep -v '^ *+' conftest.err >conftest.er12157 cat conftest.er1 >&52158 mv -f conftest.er1 conftest.err2159 fi2160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52161 test $ac_status = 0; } && {2162 test -z "$ac_cxx_werror_flag" ||2163 test ! -s conftest.err2164 } && test -s conftest$ac_exeext && {2165 test "$cross_compiling" = yes ||2166 $as_test_x conftest$ac_exeext2167 }; then :2168 ac_retval=02169 else2170 $as_echo "$as_me: failed program was:" >&52171 sed 's/^/| /' conftest.$ac_ext >&52172 2173 ac_retval=12174 fi2175 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information2176 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would2177 # interfere with the next link command; also delete a directory that is2178 # left behind by Apple's compiler. We do this before executing the actions.2179 rm -rf conftest.dSYM conftest_ipa8_conftest.oo2180 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2181 as_fn_set_status $ac_retval2182 2183 } # ac_fn_cxx_try_link2184 2185 # ac_fn_cxx_check_func LINENO FUNC VAR2186 # ------------------------------------2187 # Tests whether FUNC exists, setting the cache variable VAR accordingly2188 ac_fn_cxx_check_func ()2189 {2190 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52192 $as_echo_n "checking for $2... " >&6; }2193 if eval \${$3+:} false; then :2194 $as_echo_n "(cached) " >&62195 else2196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2197 /* end confdefs.h. */2198 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.2199 For example, HP-UX 11i <limits.h> declares gettimeofday. */2200 #define $2 innocuous_$22201 2202 /* System header to define __stub macros and hopefully few prototypes,2203 which can conflict with char $2 (); below.2204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since2205 <limits.h> exists even on freestanding compilers. */2206 2207 #ifdef __STDC__2208 # include <limits.h>2209 #else2210 # include <assert.h>2211 #endif2212 2213 #undef $22214 2215 /* Override any GCC internal prototype to avoid an error.2216 Use char because int might match the return type of a GCC2217 builtin and then its argument prototype would still apply. */2218 #ifdef __cplusplus2219 extern "C"2220 #endif2221 char $2 ();2222 /* The GNU C library defines this for functions which it implements2223 to always fail with ENOSYS. Some functions are actually named2224 something starting with __ and the normal name is an alias. */2225 #if defined __stub_$2 || defined __stub___$22226 choke me2227 #endif2228 2229 int2230 main ()2231 {2232 return $2 ();2233 ;2234 return 0;2235 }2236 _ACEOF2237 if ac_fn_cxx_try_link "$LINENO"; then :2238 eval "$3=yes"2239 else2240 eval "$3=no"2241 fi2242 rm -f core conftest.err conftest.$ac_objext \2243 conftest$ac_exeext conftest.$ac_ext2244 fi2245 eval ac_res=\$$32246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52247 $as_echo "$ac_res" >&6; }2248 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2249 2250 } # ac_fn_cxx_check_func2251 2252 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES2253 # ---------------------------------------------------------2254 # Tests whether HEADER exists and can be compiled using the include files in2255 # INCLUDES, setting the cache variable VAR accordingly.2256 ac_fn_cxx_check_header_compile ()2257 {2258 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52260 $as_echo_n "checking for $2... " >&6; }2261 if eval \${$3+:} false; then :2262 $as_echo_n "(cached) " >&62263 else2264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2265 /* end confdefs.h. */2266 $42267 #include <$2>2268 _ACEOF2269 if ac_fn_cxx_try_compile "$LINENO"; then :2270 eval "$3=yes"2271 else2272 eval "$3=no"2273 fi2274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2275 fi2276 eval ac_res=\$$32277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52278 $as_echo "$ac_res" >&6; }2279 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2280 2281 } # ac_fn_cxx_check_header_compile2282 1507 cat >config.log <<_ACEOF 2283 1508 This file contains any messages produced by compilers while … … 2285 1510 2286 1511 It was created by vizservers $as_me 0.1, which was 2287 generated by GNU Autoconf 2.6 8. Invocation command line was1512 generated by GNU Autoconf 2.63. Invocation command line was 2288 1513 2289 1514 $ $0 $@ … … 2321 1546 IFS=$as_save_IFS 2322 1547 test -z "$as_dir" && as_dir=. 2323 2324 1548 $as_echo "PATH: $as_dir" 1549 done 2325 1550 IFS=$as_save_IFS 2326 1551 … … 2359 1584 esac 2360 1585 case $ac_pass in 2361 1) a s_fn_append ac_configure_args0 "'$ac_arg'" ;;1586 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2362 1587 2) 2363 a s_fn_append ac_configure_args1 "'$ac_arg'"1588 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 2364 1589 if test $ac_must_keep_next = true; then 2365 1590 ac_must_keep_next=false # Got value, back to normal. … … 2377 1602 esac 2378 1603 fi 2379 a s_fn_append ac_configure_args "'$ac_arg'"1604 ac_configure_args="$ac_configure_args '$ac_arg'" 2380 1605 ;; 2381 1606 esac 2382 1607 done 2383 1608 done 2384 { ac_configure_args0=; unset ac_configure_args0;}2385 { ac_configure_args1=; unset ac_configure_args1;}1609 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1610 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 2386 1611 2387 1612 # When interrupted or exit'd, cleanup temporary files, and complete … … 2395 1620 echo 2396 1621 2397 $as_echo "## ---------------- ## 1622 cat <<\_ASBOX 1623 ## ---------------- ## 2398 1624 ## Cache variables. ## 2399 ## ---------------- ##" 1625 ## ---------------- ## 1626 _ASBOX 2400 1627 echo 2401 1628 # The following way of writing the cache mishandles newlines in values, … … 2406 1633 *${as_nl}*) 2407 1634 case $ac_var in #( 2408 *_cv_*) { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&51635 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 2409 1636 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2410 1637 esac … … 2412 1639 _ | IFS | as_nl) ;; #( 2413 1640 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2414 *) { eval $ac_var=; unset $ac_var;};;1641 *) $as_unset $ac_var ;; 2415 1642 esac ;; 2416 1643 esac … … 2431 1658 echo 2432 1659 2433 $as_echo "## ----------------- ## 1660 cat <<\_ASBOX 1661 ## ----------------- ## 2434 1662 ## Output variables. ## 2435 ## ----------------- ##" 1663 ## ----------------- ## 1664 _ASBOX 2436 1665 echo 2437 1666 for ac_var in $ac_subst_vars … … 2446 1675 2447 1676 if test -n "$ac_subst_files"; then 2448 $as_echo "## ------------------- ## 1677 cat <<\_ASBOX 1678 ## ------------------- ## 2449 1679 ## File substitutions. ## 2450 ## ------------------- ##" 1680 ## ------------------- ## 1681 _ASBOX 2451 1682 echo 2452 1683 for ac_var in $ac_subst_files … … 2462 1693 2463 1694 if test -s confdefs.h; then 2464 $as_echo "## ----------- ## 1695 cat <<\_ASBOX 1696 ## ----------- ## 2465 1697 ## confdefs.h. ## 2466 ## ----------- ##" 1698 ## ----------- ## 1699 _ASBOX 2467 1700 echo 2468 1701 cat confdefs.h … … 2478 1711 ' 0 2479 1712 for ac_signal in 1 2 13 15; do 2480 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal1713 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2481 1714 done 2482 1715 ac_signal=0 … … 2485 1718 rm -f -r conftest* confdefs.h 2486 1719 2487 $as_echo "/* confdefs.h */" > confdefs.h2488 2489 1720 # Predefined preprocessor variables. 2490 1721 … … 2493 1724 _ACEOF 2494 1725 1726 2495 1727 cat >>confdefs.h <<_ACEOF 2496 1728 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2497 1729 _ACEOF 2498 1730 1731 2499 1732 cat >>confdefs.h <<_ACEOF 2500 1733 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2501 1734 _ACEOF 2502 1735 1736 2503 1737 cat >>confdefs.h <<_ACEOF 2504 1738 #define PACKAGE_STRING "$PACKAGE_STRING" 2505 1739 _ACEOF 2506 1740 1741 2507 1742 cat >>confdefs.h <<_ACEOF 2508 1743 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2509 _ACEOF2510 2511 cat >>confdefs.h <<_ACEOF2512 #define PACKAGE_URL "$PACKAGE_URL"2513 1744 _ACEOF 2514 1745 … … 2519 1750 ac_site_file2=NONE 2520 1751 if test -n "$CONFIG_SITE"; then 2521 # We do not want a PATH search for config.site. 2522 case $CONFIG_SITE in #(( 2523 -*) ac_site_file1=./$CONFIG_SITE;; 2524 */*) ac_site_file1=$CONFIG_SITE;; 2525 *) ac_site_file1=./$CONFIG_SITE;; 2526 esac 1752 ac_site_file1=$CONFIG_SITE 2527 1753 elif test "x$prefix" != xNONE; then 2528 1754 ac_site_file1=$prefix/share/config.site … … 2535 1761 do 2536 1762 test "x$ac_site_file" = xNONE && continue 2537 if test /dev/null != "$ac_site_file" && test-r "$ac_site_file"; then2538 { $as_echo "$as_me:$ {as_lineno-$LINENO}: loading site script $ac_site_file" >&51763 if test -r "$ac_site_file"; then 1764 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 2539 1765 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2540 1766 sed 's/^/| /' "$ac_site_file" >&5 2541 . "$ac_site_file" \ 2542 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2544 as_fn_error $? "failed to load site script $ac_site_file 2545 See \`config.log' for more details" "$LINENO" 5; } 1767 . "$ac_site_file" 2546 1768 fi 2547 1769 done 2548 1770 2549 1771 if test -r "$cache_file"; then 2550 # Some versions of bash will fail to source /dev/null (special files2551 # actually), so we avoid doing that. DJGPP emulates it as a regular file.2552 if test /dev/null != "$cache_file" && test-f "$cache_file"; then2553 { $as_echo "$as_me:$ {as_lineno-$LINENO}: loading cache $cache_file" >&51772 # Some versions of bash will fail to source /dev/null (special 1773 # files actually), so we avoid doing that. 1774 if test -f "$cache_file"; then 1775 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 2554 1776 $as_echo "$as_me: loading cache $cache_file" >&6;} 2555 1777 case $cache_file in … … 2559 1781 fi 2560 1782 else 2561 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating cache $cache_file" >&51783 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 2562 1784 $as_echo "$as_me: creating cache $cache_file" >&6;} 2563 1785 >$cache_file … … 2574 1796 case $ac_old_set,$ac_new_set in 2575 1797 set,) 2576 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51798 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2577 1799 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2578 1800 ac_cache_corrupted=: ;; 2579 1801 ,set) 2580 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&51802 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 2581 1803 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2582 1804 ac_cache_corrupted=: ;; … … 2588 1810 ac_new_val_w=`echo x $ac_new_val` 2589 1811 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2590 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&51812 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2591 1813 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2592 1814 ac_cache_corrupted=: 2593 1815 else 2594 { $as_echo "$as_me:$ {as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&51816 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2595 1817 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2596 1818 eval $ac_var=\$ac_old_val 2597 1819 fi 2598 { $as_echo "$as_me:$ {as_lineno-$LINENO}: former value: \`$ac_old_val'" >&51820 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 2599 1821 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2600 { $as_echo "$as_me:$ {as_lineno-$LINENO}: current value: \`$ac_new_val'" >&51822 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 2601 1823 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2602 1824 fi;; … … 2610 1832 case " $ac_configure_args " in 2611 1833 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2612 *) a s_fn_append ac_configure_args "'$ac_arg'" ;;1834 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2613 1835 esac 2614 1836 fi 2615 1837 done 2616 1838 if $ac_cache_corrupted; then 2617 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&51839 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2618 1840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2619 { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&51841 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2620 1842 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2621 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2622 fi 2623 ## -------------------- ## 2624 ## Main body of script. ## 2625 ## -------------------- ## 1843 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1844 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1845 { (exit 1); exit 1; }; } 1846 fi 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 2626 1871 2627 1872 ac_ext=c … … 2649 1894 done 2650 1895 if test -z "$ac_aux_dir"; then 2651 as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 1896 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5 1897 $as_echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;} 1898 { (exit 1); exit 1; }; } 2652 1899 fi 2653 1900 … … 2666 1913 2667 1914 # Check whether --with-tcllib was given. 2668 if test "${with_tcllib+set}" = set; then :1915 if test "${with_tcllib+set}" = set; then 2669 1916 withval=$with_tcllib; with_tcllib=$withval 2670 1917 else … … 2675 1922 2676 1923 # Check whether --with-rappture was given. 2677 if test "${with_rappture+set}" = set; then :1924 if test "${with_rappture+set}" = set; then 2678 1925 withval=$with_rappture; with_rappture=$withval 2679 1926 else … … 2684 1931 2685 1932 # Check whether --with-vtk-includes was given. 2686 if test "${with_vtk_includes+set}" = set; then :1933 if test "${with_vtk_includes+set}" = set; then 2687 1934 withval=$with_vtk_includes; with_vtk_includes=$withval 2688 1935 else … … 2693 1940 2694 1941 # Check whether --with-vtk-libs was given. 2695 if test "${with_vtk_libs+set}" = set; then :1942 if test "${with_vtk_libs+set}" = set; then 2696 1943 withval=$with_vtk_libs; with_vtk_libs=$withval 2697 1944 else … … 2702 1949 2703 1950 # Check whether --with-vtk was given. 2704 if test "${with_vtk+set}" = set; then :1951 if test "${with_vtk+set}" = set; then 2705 1952 withval=$with_vtk; with_vtk=$withval 2706 1953 else … … 2717 1964 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2718 1965 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2719 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&51966 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2720 1967 $as_echo_n "checking for $ac_word... " >&6; } 2721 if ${ac_cv_prog_CC+:} false; then :1968 if test "${ac_cv_prog_CC+set}" = set; then 2722 1969 $as_echo_n "(cached) " >&6 2723 1970 else … … 2730 1977 IFS=$as_save_IFS 2731 1978 test -z "$as_dir" && as_dir=. 2732 1979 for ac_exec_ext in '' $ac_executable_extensions; do 2733 1980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2734 1981 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2735 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51982 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2736 1983 break 2 2737 1984 fi 2738 1985 done 2739 1986 done 2740 1987 IFS=$as_save_IFS 2741 1988 … … 2744 1991 CC=$ac_cv_prog_CC 2745 1992 if test -n "$CC"; then 2746 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&51993 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2747 1994 $as_echo "$CC" >&6; } 2748 1995 else 2749 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&51996 { $as_echo "$as_me:$LINENO: result: no" >&5 2750 1997 $as_echo "no" >&6; } 2751 1998 fi … … 2757 2004 # Extract the first word of "gcc", so it can be a program name with args. 2758 2005 set dummy gcc; ac_word=$2 2759 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52006 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2760 2007 $as_echo_n "checking for $ac_word... " >&6; } 2761 if ${ac_cv_prog_ac_ct_CC+:} false; then :2008 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2762 2009 $as_echo_n "(cached) " >&6 2763 2010 else … … 2770 2017 IFS=$as_save_IFS 2771 2018 test -z "$as_dir" && as_dir=. 2772 2019 for ac_exec_ext in '' $ac_executable_extensions; do 2773 2020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2774 2021 ac_cv_prog_ac_ct_CC="gcc" 2775 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52022 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2776 2023 break 2 2777 2024 fi 2778 2025 done 2779 2026 done 2780 2027 IFS=$as_save_IFS 2781 2028 … … 2784 2031 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2785 2032 if test -n "$ac_ct_CC"; then 2786 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&52033 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2787 2034 $as_echo "$ac_ct_CC" >&6; } 2788 2035 else 2789 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52036 { $as_echo "$as_me:$LINENO: result: no" >&5 2790 2037 $as_echo "no" >&6; } 2791 2038 fi … … 2796 2043 case $cross_compiling:$ac_tool_warned in 2797 2044 yes:) 2798 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52045 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2799 2046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2800 2047 ac_tool_warned=yes ;; … … 2810 2057 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2811 2058 set dummy ${ac_tool_prefix}cc; ac_word=$2 2812 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52059 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2813 2060 $as_echo_n "checking for $ac_word... " >&6; } 2814 if ${ac_cv_prog_CC+:} false; then :2061 if test "${ac_cv_prog_CC+set}" = set; then 2815 2062 $as_echo_n "(cached) " >&6 2816 2063 else … … 2823 2070 IFS=$as_save_IFS 2824 2071 test -z "$as_dir" && as_dir=. 2825 2072 for ac_exec_ext in '' $ac_executable_extensions; do 2826 2073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2827 2074 ac_cv_prog_CC="${ac_tool_prefix}cc" 2828 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52075 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2829 2076 break 2 2830 2077 fi 2831 2078 done 2832 2079 done 2833 2080 IFS=$as_save_IFS 2834 2081 … … 2837 2084 CC=$ac_cv_prog_CC 2838 2085 if test -n "$CC"; then 2839 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52086 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2840 2087 $as_echo "$CC" >&6; } 2841 2088 else 2842 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52089 { $as_echo "$as_me:$LINENO: result: no" >&5 2843 2090 $as_echo "no" >&6; } 2844 2091 fi … … 2850 2097 # Extract the first word of "cc", so it can be a program name with args. 2851 2098 set dummy cc; ac_word=$2 2852 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52099 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2853 2100 $as_echo_n "checking for $ac_word... " >&6; } 2854 if ${ac_cv_prog_CC+:} false; then :2101 if test "${ac_cv_prog_CC+set}" = set; then 2855 2102 $as_echo_n "(cached) " >&6 2856 2103 else … … 2864 2111 IFS=$as_save_IFS 2865 2112 test -z "$as_dir" && as_dir=. 2866 2113 for ac_exec_ext in '' $ac_executable_extensions; do 2867 2114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2868 2115 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2871 2118 fi 2872 2119 ac_cv_prog_CC="cc" 2873 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52120 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2874 2121 break 2 2875 2122 fi 2876 2123 done 2877 2124 done 2878 2125 IFS=$as_save_IFS 2879 2126 … … 2894 2141 CC=$ac_cv_prog_CC 2895 2142 if test -n "$CC"; then 2896 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52143 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2897 2144 $as_echo "$CC" >&6; } 2898 2145 else 2899 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52146 { $as_echo "$as_me:$LINENO: result: no" >&5 2900 2147 $as_echo "no" >&6; } 2901 2148 fi … … 2909 2156 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2910 2157 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2911 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52158 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2912 2159 $as_echo_n "checking for $ac_word... " >&6; } 2913 if ${ac_cv_prog_CC+:} false; then :2160 if test "${ac_cv_prog_CC+set}" = set; then 2914 2161 $as_echo_n "(cached) " >&6 2915 2162 else … … 2922 2169 IFS=$as_save_IFS 2923 2170 test -z "$as_dir" && as_dir=. 2924 2171 for ac_exec_ext in '' $ac_executable_extensions; do 2925 2172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2926 2173 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2927 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52174 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2928 2175 break 2 2929 2176 fi 2930 2177 done 2931 2178 done 2932 2179 IFS=$as_save_IFS 2933 2180 … … 2936 2183 CC=$ac_cv_prog_CC 2937 2184 if test -n "$CC"; then 2938 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&52185 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2939 2186 $as_echo "$CC" >&6; } 2940 2187 else 2941 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52188 { $as_echo "$as_me:$LINENO: result: no" >&5 2942 2189 $as_echo "no" >&6; } 2943 2190 fi … … 2953 2200 # Extract the first word of "$ac_prog", so it can be a program name with args. 2954 2201 set dummy $ac_prog; ac_word=$2 2955 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&52202 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2956 2203 $as_echo_n "checking for $ac_word... " >&6; } 2957 if ${ac_cv_prog_ac_ct_CC+:} false; then :2204 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2958 2205 $as_echo_n "(cached) " >&6 2959 2206 else … … 2966 2213 IFS=$as_save_IFS 2967 2214 test -z "$as_dir" && as_dir=. 2968 2215 for ac_exec_ext in '' $ac_executable_extensions; do 2969 2216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2970 2217 ac_cv_prog_ac_ct_CC="$ac_prog" 2971 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52218 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2972 2219 break 2 2973 2220 fi 2974 2221 done 2975 2222 done 2976 2223 IFS=$as_save_IFS 2977 2224 … … 2980 2227 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2981 2228 if test -n "$ac_ct_CC"; then 2982 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&52229 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2983 2230 $as_echo "$ac_ct_CC" >&6; } 2984 2231 else 2985 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&52232 { $as_echo "$as_me:$LINENO: result: no" >&5 2986 2233 $as_echo "no" >&6; } 2987 2234 fi … … 2996 2243 case $cross_compiling:$ac_tool_warned in 2997 2244 yes:) 2998 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52245 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2999 2246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3000 2247 ac_tool_warned=yes ;; … … 3007 2254 3008 2255 3009 test -z "$CC" && { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52256 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3010 2257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3011 as_fn_error $? "no acceptable C compiler found in \$PATH 3012 See \`config.log' for more details" "$LINENO" 5; } 2258 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2259 See \`config.log' for more details." >&5 2260 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2261 See \`config.log' for more details." >&2;} 2262 { (exit 1); exit 1; }; }; } 3013 2263 3014 2264 # Provide some information about the compiler. 3015 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C compiler version" >&52265 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 3016 2266 set X $ac_compile 3017 2267 ac_compiler=$2 3018 for ac_option in --version -v -V -qversion; do 3019 { { ac_try="$ac_compiler $ac_option >&5" 2268 { (ac_try="$ac_compiler --version >&5" 3020 2269 case "(($ac_try" in 3021 2270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3022 2271 *) ac_try_echo=$ac_try;; 3023 2272 esac 3024 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3025 $as_echo "$ac_try_echo" ; }>&53026 (eval "$ac_compiler $ac_option >&5") 2>conftest.err2273 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2274 $as_echo "$ac_try_echo") >&5 2275 (eval "$ac_compiler --version >&5") 2>&5 3027 2276 ac_status=$? 3028 if test -s conftest.err; then 3029 sed '10a\ 3030 ... rest of stderr output deleted ... 3031 10q' conftest.err >conftest.er1 3032 cat conftest.er1 >&5 3033 fi 3034 rm -f conftest.er1 conftest.err 3035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3036 test $ac_status = 0; } 3037 done 3038 3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2278 (exit $ac_status); } 2279 { (ac_try="$ac_compiler -v >&5" 2280 case "(($ac_try" in 2281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2282 *) ac_try_echo=$ac_try;; 2283 esac 2284 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2285 $as_echo "$ac_try_echo") >&5 2286 (eval "$ac_compiler -v >&5") 2>&5 2287 ac_status=$? 2288 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2289 (exit $ac_status); } 2290 { (ac_try="$ac_compiler -V >&5" 2291 case "(($ac_try" in 2292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2293 *) ac_try_echo=$ac_try;; 2294 esac 2295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2296 $as_echo "$ac_try_echo") >&5 2297 (eval "$ac_compiler -V >&5") 2>&5 2298 ac_status=$? 2299 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2300 (exit $ac_status); } 2301 2302 cat >conftest.$ac_ext <<_ACEOF 2303 /* confdefs.h. */ 2304 _ACEOF 2305 cat confdefs.h >>conftest.$ac_ext 2306 cat >>conftest.$ac_ext <<_ACEOF 3040 2307 /* end confdefs.h. */ 3041 2308 … … 3053 2320 # It will help us diagnose broken compilers, and finding out an intuition 3054 2321 # of exeext. 3055 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether the C compiler works" >&53056 $as_echo_n "checking whether the C compiler works... " >&6; }2322 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2323 $as_echo_n "checking for C compiler default output file name... " >&6; } 3057 2324 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3058 2325 … … 3070 2337 rm -f $ac_rmfiles 3071 2338 3072 if { {ac_try="$ac_link_default"2339 if { (ac_try="$ac_link_default" 3073 2340 case "(($ac_try" in 3074 2341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3075 2342 *) ac_try_echo=$ac_try;; 3076 2343 esac 3077 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3078 $as_echo "$ac_try_echo" ; }>&52344 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2345 $as_echo "$ac_try_echo") >&5 3079 2346 (eval "$ac_link_default") 2>&5 3080 2347 ac_status=$? 3081 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53082 test $ac_status = 0; }; then :2348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2349 (exit $ac_status); }; then 3083 2350 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3084 2351 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 3097 2364 break;; 3098 2365 *.* ) 3099 2366 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3100 2367 then :; else 3101 2368 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 3116 2383 ac_file='' 3117 2384 fi 3118 if test -z "$ac_file"; then : 3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3120 $as_echo "no" >&6; } 3121 $as_echo "$as_me: failed program was:" >&5 2385 2386 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2387 $as_echo "$ac_file" >&6; } 2388 if test -z "$ac_file"; then 2389 $as_echo "$as_me: failed program was:" >&5 3122 2390 sed 's/^/| /' conftest.$ac_ext >&5 3123 2391 3124 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52392 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3125 2393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3126 as_fn_error 77 "C compiler cannot create executables 3127 See \`config.log' for more details" "$LINENO" 5; } 3128 else 3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2394 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2395 See \`config.log' for more details." >&5 2396 $as_echo "$as_me: error: C compiler cannot create executables 2397 See \`config.log' for more details." >&2;} 2398 { (exit 77); exit 77; }; }; } 2399 fi 2400 2401 ac_exeext=$ac_cv_exeext 2402 2403 # Check that the compiler produces executables we can run. If not, either 2404 # the compiler is broken, or we cross compile. 2405 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2406 $as_echo_n "checking whether the C compiler works... " >&6; } 2407 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2408 # If not cross compiling, check that we can run a simple program. 2409 if test "$cross_compiling" != yes; then 2410 if { ac_try='./$ac_file' 2411 { (case "(($ac_try" in 2412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2413 *) ac_try_echo=$ac_try;; 2414 esac 2415 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2416 $as_echo "$ac_try_echo") >&5 2417 (eval "$ac_try") 2>&5 2418 ac_status=$? 2419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2420 (exit $ac_status); }; }; then 2421 cross_compiling=no 2422 else 2423 if test "$cross_compiling" = maybe; then 2424 cross_compiling=yes 2425 else 2426 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2428 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2429 If you meant to cross compile, use \`--host'. 2430 See \`config.log' for more details." >&5 2431 $as_echo "$as_me: error: cannot run C compiled programs. 2432 If you meant to cross compile, use \`--host'. 2433 See \`config.log' for more details." >&2;} 2434 { (exit 1); exit 1; }; }; } 2435 fi 2436 fi 2437 fi 2438 { $as_echo "$as_me:$LINENO: result: yes" >&5 3130 2439 $as_echo "yes" >&6; } 3131 fi3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&53133 $as_echo_n "checking for C compiler default output file name... " >&6; }3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&53135 $as_echo "$ac_file" >&6; }3136 ac_exeext=$ac_cv_exeext3137 2440 3138 2441 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3139 2442 ac_clean_files=$ac_clean_files_save 3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2443 # Check that the compiler produces executables we can run. If not, either 2444 # the compiler is broken, or we cross compile. 2445 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2446 $as_echo_n "checking whether we are cross compiling... " >&6; } 2447 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2448 $as_echo "$cross_compiling" >&6; } 2449 2450 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3141 2451 $as_echo_n "checking for suffix of executables... " >&6; } 3142 if { {ac_try="$ac_link"2452 if { (ac_try="$ac_link" 3143 2453 case "(($ac_try" in 3144 2454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3145 2455 *) ac_try_echo=$ac_try;; 3146 2456 esac 3147 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""3148 $as_echo "$ac_try_echo" ; }>&52457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2458 $as_echo "$ac_try_echo") >&5 3149 2459 (eval "$ac_link") 2>&5 3150 2460 ac_status=$? 3151 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53152 test $ac_status = 0; }; then :2461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2462 (exit $ac_status); }; then 3153 2463 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3154 2464 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 3165 2475 done 3166 2476 else 3167 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52477 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3168 2478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3169 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3170 See \`config.log' for more details" "$LINENO" 5; } 3171 fi 3172 rm -f conftest conftest$ac_cv_exeext 3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2479 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2480 See \`config.log' for more details." >&5 2481 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2482 See \`config.log' for more details." >&2;} 2483 { (exit 1); exit 1; }; }; } 2484 fi 2485 2486 rm -f conftest$ac_cv_exeext 2487 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3174 2488 $as_echo "$ac_cv_exeext" >&6; } 3175 2489 … … 3177 2491 EXEEXT=$ac_cv_exeext 3178 2492 ac_exeext=$EXEEXT 3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2493 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2494 $as_echo_n "checking for suffix of object files... " >&6; } 2495 if test "${ac_cv_objext+set}" = set; then 2496 $as_echo_n "(cached) " >&6 2497 else 2498 cat >conftest.$ac_ext <<_ACEOF 2499 /* confdefs.h. */ 2500 _ACEOF 2501 cat confdefs.h >>conftest.$ac_ext 2502 cat >>conftest.$ac_ext <<_ACEOF 3180 2503 /* end confdefs.h. */ 3181 #include <stdio.h> 2504 3182 2505 int 3183 2506 main () 3184 2507 { 3185 FILE *f = fopen ("conftest.out", "w");3186 return ferror (f) || fclose (f) != 0;3187 2508 3188 2509 ; … … 3190 2511 } 3191 2512 _ACEOF 3192 ac_clean_files="$ac_clean_files conftest.out" 3193 # Check that the compiler produces executables we can run. If not, either 3194 # the compiler is broken, or we cross compile. 3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3196 $as_echo_n "checking whether we are cross compiling... " >&6; } 3197 if test "$cross_compiling" != yes; then 3198 { { ac_try="$ac_link" 2513 rm -f conftest.o conftest.obj 2514 if { (ac_try="$ac_compile" 3199 2515 case "(($ac_try" in 3200 2516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3201 2517 *) ac_try_echo=$ac_try;; 3202 2518 esac 3203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3204 $as_echo "$ac_try_echo"; } >&5 3205 (eval "$ac_link") 2>&5 3206 ac_status=$? 3207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3208 test $ac_status = 0; } 3209 if { ac_try='./conftest$ac_cv_exeext' 3210 { { case "(($ac_try" in 3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3212 *) ac_try_echo=$ac_try;; 3213 esac 3214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3215 $as_echo "$ac_try_echo"; } >&5 3216 (eval "$ac_try") 2>&5 3217 ac_status=$? 3218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3219 test $ac_status = 0; }; }; then 3220 cross_compiling=no 3221 else 3222 if test "$cross_compiling" = maybe; then 3223 cross_compiling=yes 3224 else 3225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3227 as_fn_error $? "cannot run C compiled programs. 3228 If you meant to cross compile, use \`--host'. 3229 See \`config.log' for more details" "$LINENO" 5; } 3230 fi 3231 fi 3232 fi 3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3234 $as_echo "$cross_compiling" >&6; } 3235 3236 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3237 ac_clean_files=$ac_clean_files_save 3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3239 $as_echo_n "checking for suffix of object files... " >&6; } 3240 if ${ac_cv_objext+:} false; then : 3241 $as_echo_n "(cached) " >&6 3242 else 3243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3244 /* end confdefs.h. */ 3245 3246 int 3247 main () 3248 { 3249 3250 ; 3251 return 0; 3252 } 3253 _ACEOF 3254 rm -f conftest.o conftest.obj 3255 if { { ac_try="$ac_compile" 3256 case "(($ac_try" in 3257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3258 *) ac_try_echo=$ac_try;; 3259 esac 3260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3261 $as_echo "$ac_try_echo"; } >&5 2519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2520 $as_echo "$ac_try_echo") >&5 3262 2521 (eval "$ac_compile") 2>&5 3263 2522 ac_status=$? 3264 $as_echo "$as_me:$ {as_lineno-$LINENO}: \$? = $ac_status" >&53265 test $ac_status = 0; }; then :2523 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2524 (exit $ac_status); }; then 3266 2525 for ac_file in conftest.o conftest.obj conftest.*; do 3267 2526 test -f "$ac_file" || continue; … … 3276 2535 sed 's/^/| /' conftest.$ac_ext >&5 3277 2536 3278 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52537 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3279 2538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3280 as_fn_error $? "cannot compute suffix of object files: cannot compile 3281 See \`config.log' for more details" "$LINENO" 5; } 3282 fi 2539 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2540 See \`config.log' for more details." >&5 2541 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2542 See \`config.log' for more details." >&2;} 2543 { (exit 1); exit 1; }; }; } 2544 fi 2545 3283 2546 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3284 2547 fi 3285 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_objext" >&52548 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3286 2549 $as_echo "$ac_cv_objext" >&6; } 3287 2550 OBJEXT=$ac_cv_objext 3288 2551 ac_objext=$OBJEXT 3289 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&52552 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3290 2553 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3291 if ${ac_cv_c_compiler_gnu+:} false; then :2554 if test "${ac_cv_c_compiler_gnu+set}" = set; then 3292 2555 $as_echo_n "(cached) " >&6 3293 2556 else 3294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2557 cat >conftest.$ac_ext <<_ACEOF 2558 /* confdefs.h. */ 2559 _ACEOF 2560 cat confdefs.h >>conftest.$ac_ext 2561 cat >>conftest.$ac_ext <<_ACEOF 3295 2562 /* end confdefs.h. */ 3296 2563 … … 3306 2573 } 3307 2574 _ACEOF 3308 if ac_fn_c_try_compile "$LINENO"; then : 2575 rm -f conftest.$ac_objext 2576 if { (ac_try="$ac_compile" 2577 case "(($ac_try" in 2578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2579 *) ac_try_echo=$ac_try;; 2580 esac 2581 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2582 $as_echo "$ac_try_echo") >&5 2583 (eval "$ac_compile") 2>conftest.er1 2584 ac_status=$? 2585 grep -v '^ *+' conftest.er1 >conftest.err 2586 rm -f conftest.er1 2587 cat conftest.err >&5 2588 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2589 (exit $ac_status); } && { 2590 test -z "$ac_c_werror_flag" || 2591 test ! -s conftest.err 2592 } && test -s conftest.$ac_objext; then 3309 2593 ac_compiler_gnu=yes 3310 2594 else 3311 ac_compiler_gnu=no 3312 fi 2595 $as_echo "$as_me: failed program was:" >&5 2596 sed 's/^/| /' conftest.$ac_ext >&5 2597 2598 ac_compiler_gnu=no 2599 fi 2600 3313 2601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3314 2602 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3315 2603 3316 2604 fi 3317 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&52605 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3318 2606 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3319 2607 if test $ac_compiler_gnu = yes; then … … 3324 2612 ac_test_CFLAGS=${CFLAGS+set} 3325 2613 ac_save_CFLAGS=$CFLAGS 3326 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CC accepts -g" >&52614 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3327 2615 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3328 if ${ac_cv_prog_cc_g+:} false; then :2616 if test "${ac_cv_prog_cc_g+set}" = set; then 3329 2617 $as_echo_n "(cached) " >&6 3330 2618 else … … 3333 2621 ac_cv_prog_cc_g=no 3334 2622 CFLAGS="-g" 3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2623 cat >conftest.$ac_ext <<_ACEOF 2624 /* confdefs.h. */ 2625 _ACEOF 2626 cat confdefs.h >>conftest.$ac_ext 2627 cat >>conftest.$ac_ext <<_ACEOF 3336 2628 /* end confdefs.h. */ 3337 2629 … … 3344 2636 } 3345 2637 _ACEOF 3346 if ac_fn_c_try_compile "$LINENO"; then : 2638 rm -f conftest.$ac_objext 2639 if { (ac_try="$ac_compile" 2640 case "(($ac_try" in 2641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2642 *) ac_try_echo=$ac_try;; 2643 esac 2644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2645 $as_echo "$ac_try_echo") >&5 2646 (eval "$ac_compile") 2>conftest.er1 2647 ac_status=$? 2648 grep -v '^ *+' conftest.er1 >conftest.err 2649 rm -f conftest.er1 2650 cat conftest.err >&5 2651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2652 (exit $ac_status); } && { 2653 test -z "$ac_c_werror_flag" || 2654 test ! -s conftest.err 2655 } && test -s conftest.$ac_objext; then 3347 2656 ac_cv_prog_cc_g=yes 3348 2657 else 3349 CFLAGS="" 3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2658 $as_echo "$as_me: failed program was:" >&5 2659 sed 's/^/| /' conftest.$ac_ext >&5 2660 2661 CFLAGS="" 2662 cat >conftest.$ac_ext <<_ACEOF 2663 /* confdefs.h. */ 2664 _ACEOF 2665 cat confdefs.h >>conftest.$ac_ext 2666 cat >>conftest.$ac_ext <<_ACEOF 3351 2667 /* end confdefs.h. */ 3352 2668 … … 3359 2675 } 3360 2676 _ACEOF 3361 if ac_fn_c_try_compile "$LINENO"; then : 3362 3363 else 3364 ac_c_werror_flag=$ac_save_c_werror_flag 2677 rm -f conftest.$ac_objext 2678 if { (ac_try="$ac_compile" 2679 case "(($ac_try" in 2680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2681 *) ac_try_echo=$ac_try;; 2682 esac 2683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2684 $as_echo "$ac_try_echo") >&5 2685 (eval "$ac_compile") 2>conftest.er1 2686 ac_status=$? 2687 grep -v '^ *+' conftest.er1 >conftest.err 2688 rm -f conftest.er1 2689 cat conftest.err >&5 2690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2691 (exit $ac_status); } && { 2692 test -z "$ac_c_werror_flag" || 2693 test ! -s conftest.err 2694 } && test -s conftest.$ac_objext; then 2695 : 2696 else 2697 $as_echo "$as_me: failed program was:" >&5 2698 sed 's/^/| /' conftest.$ac_ext >&5 2699 2700 ac_c_werror_flag=$ac_save_c_werror_flag 3365 2701 CFLAGS="-g" 3366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2702 cat >conftest.$ac_ext <<_ACEOF 2703 /* confdefs.h. */ 2704 _ACEOF 2705 cat confdefs.h >>conftest.$ac_ext 2706 cat >>conftest.$ac_ext <<_ACEOF 3367 2707 /* end confdefs.h. */ 3368 2708 … … 3375 2715 } 3376 2716 _ACEOF 3377 if ac_fn_c_try_compile "$LINENO"; then : 2717 rm -f conftest.$ac_objext 2718 if { (ac_try="$ac_compile" 2719 case "(($ac_try" in 2720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2721 *) ac_try_echo=$ac_try;; 2722 esac 2723 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2724 $as_echo "$ac_try_echo") >&5 2725 (eval "$ac_compile") 2>conftest.er1 2726 ac_status=$? 2727 grep -v '^ *+' conftest.er1 >conftest.err 2728 rm -f conftest.er1 2729 cat conftest.err >&5 2730 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2731 (exit $ac_status); } && { 2732 test -z "$ac_c_werror_flag" || 2733 test ! -s conftest.err 2734 } && test -s conftest.$ac_objext; then 3378 2735 ac_cv_prog_cc_g=yes 3379 fi 2736 else 2737 $as_echo "$as_me: failed program was:" >&5 2738 sed 's/^/| /' conftest.$ac_ext >&5 2739 2740 2741 fi 2742 3380 2743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3381 2744 fi 2745 3382 2746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3383 2747 fi 2748 3384 2749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3385 2750 ac_c_werror_flag=$ac_save_c_werror_flag 3386 2751 fi 3387 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&52752 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3388 2753 $as_echo "$ac_cv_prog_cc_g" >&6; } 3389 2754 if test "$ac_test_CFLAGS" = set; then … … 3402 2767 fi 3403 2768 fi 3404 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&52769 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3405 2770 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3406 if ${ac_cv_prog_cc_c89+:} false; then :2771 if test "${ac_cv_prog_cc_c89+set}" = set; then 3407 2772 $as_echo_n "(cached) " >&6 3408 2773 else 3409 2774 ac_cv_prog_cc_c89=no 3410 2775 ac_save_CC=$CC 3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2776 cat >conftest.$ac_ext <<_ACEOF 2777 /* confdefs.h. */ 2778 _ACEOF 2779 cat confdefs.h >>conftest.$ac_ext 2780 cat >>conftest.$ac_ext <<_ACEOF 3412 2781 /* end confdefs.h. */ 3413 2782 #include <stdarg.h> … … 3466 2835 do 3467 2836 CC="$ac_save_CC $ac_arg" 3468 if ac_fn_c_try_compile "$LINENO"; then : 2837 rm -f conftest.$ac_objext 2838 if { (ac_try="$ac_compile" 2839 case "(($ac_try" in 2840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2841 *) ac_try_echo=$ac_try;; 2842 esac 2843 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2844 $as_echo "$ac_try_echo") >&5 2845 (eval "$ac_compile") 2>conftest.er1 2846 ac_status=$? 2847 grep -v '^ *+' conftest.er1 >conftest.err 2848 rm -f conftest.er1 2849 cat conftest.err >&5 2850 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2851 (exit $ac_status); } && { 2852 test -z "$ac_c_werror_flag" || 2853 test ! -s conftest.err 2854 } && test -s conftest.$ac_objext; then 3469 2855 ac_cv_prog_cc_c89=$ac_arg 3470 fi 2856 else 2857 $as_echo "$as_me: failed program was:" >&5 2858 sed 's/^/| /' conftest.$ac_ext >&5 2859 2860 2861 fi 2862 3471 2863 rm -f core conftest.err conftest.$ac_objext 3472 2864 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3479 2871 case "x$ac_cv_prog_cc_c89" in 3480 2872 x) 3481 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: none needed" >&52873 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3482 2874 $as_echo "none needed" >&6; } ;; 3483 2875 xno) 3484 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: unsupported" >&52876 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3485 2877 $as_echo "unsupported" >&6; } ;; 3486 2878 *) 3487 2879 CC="$CC $ac_cv_prog_cc_c89" 3488 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&52880 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3489 2881 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3490 2882 esac 3491 if test "x$ac_cv_prog_cc_c89" != xno; then : 3492 3493 fi 2883 3494 2884 3495 2885 ac_ext=c … … 3505 2895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3506 2896 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3507 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to run the C preprocessor" >&52897 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3508 2898 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3509 2899 # On Suns, sometimes $CPP names a directory. … … 3512 2902 fi 3513 2903 if test -z "$CPP"; then 3514 if ${ac_cv_prog_CPP+:} false; then :2904 if test "${ac_cv_prog_CPP+set}" = set; then 3515 2905 $as_echo_n "(cached) " >&6 3516 2906 else … … 3527 2917 # On the NeXT, cc -E runs the code through the compiler's parser, 3528 2918 # not just through cpp. "Syntax error" is here to catch this case. 3529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2919 cat >conftest.$ac_ext <<_ACEOF 2920 /* confdefs.h. */ 2921 _ACEOF 2922 cat confdefs.h >>conftest.$ac_ext 2923 cat >>conftest.$ac_ext <<_ACEOF 3530 2924 /* end confdefs.h. */ 3531 2925 #ifdef __STDC__ … … 3536 2930 Syntax error 3537 2931 _ACEOF 3538 if ac_fn_c_try_cpp "$LINENO"; then : 3539 3540 else 2932 if { (ac_try="$ac_cpp conftest.$ac_ext" 2933 case "(($ac_try" in 2934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2935 *) ac_try_echo=$ac_try;; 2936 esac 2937 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2938 $as_echo "$ac_try_echo") >&5 2939 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2940 ac_status=$? 2941 grep -v '^ *+' conftest.er1 >conftest.err 2942 rm -f conftest.er1 2943 cat conftest.err >&5 2944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2945 (exit $ac_status); } >/dev/null && { 2946 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2947 test ! -s conftest.err 2948 }; then 2949 : 2950 else 2951 $as_echo "$as_me: failed program was:" >&5 2952 sed 's/^/| /' conftest.$ac_ext >&5 2953 3541 2954 # Broken: fails on valid input. 3542 2955 continue 3543 2956 fi 3544 rm -f conftest.err conftest.i conftest.$ac_ext 2957 2958 rm -f conftest.err conftest.$ac_ext 3545 2959 3546 2960 # OK, works on sane cases. Now check whether nonexistent headers 3547 2961 # can be detected and how. 3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2962 cat >conftest.$ac_ext <<_ACEOF 2963 /* confdefs.h. */ 2964 _ACEOF 2965 cat confdefs.h >>conftest.$ac_ext 2966 cat >>conftest.$ac_ext <<_ACEOF 3549 2967 /* end confdefs.h. */ 3550 2968 #include <ac_nonexistent.h> 3551 2969 _ACEOF 3552 if ac_fn_c_try_cpp "$LINENO"; then : 2970 if { (ac_try="$ac_cpp conftest.$ac_ext" 2971 case "(($ac_try" in 2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2973 *) ac_try_echo=$ac_try;; 2974 esac 2975 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2976 $as_echo "$ac_try_echo") >&5 2977 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2978 ac_status=$? 2979 grep -v '^ *+' conftest.er1 >conftest.err 2980 rm -f conftest.er1 2981 cat conftest.err >&5 2982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2983 (exit $ac_status); } >/dev/null && { 2984 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2985 test ! -s conftest.err 2986 }; then 3553 2987 # Broken: success on invalid input. 3554 2988 continue 3555 2989 else 2990 $as_echo "$as_me: failed program was:" >&5 2991 sed 's/^/| /' conftest.$ac_ext >&5 2992 3556 2993 # Passes both tests. 3557 2994 ac_preproc_ok=: 3558 2995 break 3559 2996 fi 3560 rm -f conftest.err conftest.i conftest.$ac_ext 2997 2998 rm -f conftest.err conftest.$ac_ext 3561 2999 3562 3000 done 3563 3001 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3564 rm -f conftest. i conftest.err conftest.$ac_ext3565 if $ac_preproc_ok; then :3002 rm -f conftest.err conftest.$ac_ext 3003 if $ac_preproc_ok; then 3566 3004 break 3567 3005 fi … … 3575 3013 ac_cv_prog_CPP=$CPP 3576 3014 fi 3577 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CPP" >&53015 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 3578 3016 $as_echo "$CPP" >&6; } 3579 3017 ac_preproc_ok=false … … 3586 3024 # On the NeXT, cc -E runs the code through the compiler's parser, 3587 3025 # not just through cpp. "Syntax error" is here to catch this case. 3588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3026 cat >conftest.$ac_ext <<_ACEOF 3027 /* confdefs.h. */ 3028 _ACEOF 3029 cat confdefs.h >>conftest.$ac_ext 3030 cat >>conftest.$ac_ext <<_ACEOF 3589 3031 /* end confdefs.h. */ 3590 3032 #ifdef __STDC__ … … 3595 3037 Syntax error 3596 3038 _ACEOF 3597 if ac_fn_c_try_cpp "$LINENO"; then : 3598 3599 else 3039 if { (ac_try="$ac_cpp conftest.$ac_ext" 3040 case "(($ac_try" in 3041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3042 *) ac_try_echo=$ac_try;; 3043 esac 3044 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3045 $as_echo "$ac_try_echo") >&5 3046 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3047 ac_status=$? 3048 grep -v '^ *+' conftest.er1 >conftest.err 3049 rm -f conftest.er1 3050 cat conftest.err >&5 3051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3052 (exit $ac_status); } >/dev/null && { 3053 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3054 test ! -s conftest.err 3055 }; then 3056 : 3057 else 3058 $as_echo "$as_me: failed program was:" >&5 3059 sed 's/^/| /' conftest.$ac_ext >&5 3060 3600 3061 # Broken: fails on valid input. 3601 3062 continue 3602 3063 fi 3603 rm -f conftest.err conftest.i conftest.$ac_ext 3064 3065 rm -f conftest.err conftest.$ac_ext 3604 3066 3605 3067 # OK, works on sane cases. Now check whether nonexistent headers 3606 3068 # can be detected and how. 3607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3069 cat >conftest.$ac_ext <<_ACEOF 3070 /* confdefs.h. */ 3071 _ACEOF 3072 cat confdefs.h >>conftest.$ac_ext 3073 cat >>conftest.$ac_ext <<_ACEOF 3608 3074 /* end confdefs.h. */ 3609 3075 #include <ac_nonexistent.h> 3610 3076 _ACEOF 3611 if ac_fn_c_try_cpp "$LINENO"; then : 3077 if { (ac_try="$ac_cpp conftest.$ac_ext" 3078 case "(($ac_try" in 3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3080 *) ac_try_echo=$ac_try;; 3081 esac 3082 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3083 $as_echo "$ac_try_echo") >&5 3084 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3085 ac_status=$? 3086 grep -v '^ *+' conftest.er1 >conftest.err 3087 rm -f conftest.er1 3088 cat conftest.err >&5 3089 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3090 (exit $ac_status); } >/dev/null && { 3091 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3092 test ! -s conftest.err 3093 }; then 3612 3094 # Broken: success on invalid input. 3613 3095 continue 3614 3096 else 3097 $as_echo "$as_me: failed program was:" >&5 3098 sed 's/^/| /' conftest.$ac_ext >&5 3099 3615 3100 # Passes both tests. 3616 3101 ac_preproc_ok=: 3617 3102 break 3618 3103 fi 3619 rm -f conftest.err conftest.i conftest.$ac_ext 3104 3105 rm -f conftest.err conftest.$ac_ext 3620 3106 3621 3107 done 3622 3108 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3623 rm -f conftest. i conftest.err conftest.$ac_ext3624 if $ac_preproc_ok; then :3625 3626 else 3627 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53109 rm -f conftest.err conftest.$ac_ext 3110 if $ac_preproc_ok; then 3111 : 3112 else 3113 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3628 3114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3629 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3630 See \`config.log' for more details" "$LINENO" 5; } 3115 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3116 See \`config.log' for more details." >&5 3117 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3118 See \`config.log' for more details." >&2;} 3119 { (exit 1); exit 1; }; }; } 3631 3120 fi 3632 3121 … … 3638 3127 3639 3128 3640 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&53129 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3641 3130 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3642 if ${ac_cv_path_GREP+:} false; then :3131 if test "${ac_cv_path_GREP+set}" = set; then 3643 3132 $as_echo_n "(cached) " >&6 3644 3133 else … … 3651 3140 IFS=$as_save_IFS 3652 3141 test -z "$as_dir" && as_dir=. 3653 3142 for ac_prog in grep ggrep; do 3654 3143 for ac_exec_ext in '' $ac_executable_extensions; do 3655 3144 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" … … 3671 3160 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3672 3161 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3673 a s_fn_arith $ac_count + 1 && ac_count=$as_val3162 ac_count=`expr $ac_count + 1` 3674 3163 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3675 3164 # Best one so far, save it but keep looking for a better one … … 3686 3175 done 3687 3176 done 3688 3177 done 3689 3178 IFS=$as_save_IFS 3690 3179 if test -z "$ac_cv_path_GREP"; then 3691 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3180 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3181 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3182 { (exit 1); exit 1; }; } 3692 3183 fi 3693 3184 else … … 3696 3187 3697 3188 fi 3698 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&53189 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3699 3190 $as_echo "$ac_cv_path_GREP" >&6; } 3700 3191 GREP="$ac_cv_path_GREP" 3701 3192 3702 3193 3703 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for egrep" >&53194 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 3704 3195 $as_echo_n "checking for egrep... " >&6; } 3705 if ${ac_cv_path_EGREP+:} false; then :3196 if test "${ac_cv_path_EGREP+set}" = set; then 3706 3197 $as_echo_n "(cached) " >&6 3707 3198 else … … 3717 3208 IFS=$as_save_IFS 3718 3209 test -z "$as_dir" && as_dir=. 3719 3210 for ac_prog in egrep; do 3720 3211 for ac_exec_ext in '' $ac_executable_extensions; do 3721 3212 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" … … 3737 3228 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3738 3229 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3739 a s_fn_arith $ac_count + 1 && ac_count=$as_val3230 ac_count=`expr $ac_count + 1` 3740 3231 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3741 3232 # Best one so far, save it but keep looking for a better one … … 3752 3243 done 3753 3244 done 3754 3245 done 3755 3246 IFS=$as_save_IFS 3756 3247 if test -z "$ac_cv_path_EGREP"; then 3757 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3248 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3249 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3250 { (exit 1); exit 1; }; } 3758 3251 fi 3759 3252 else … … 3763 3256 fi 3764 3257 fi 3765 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&53258 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3766 3259 $as_echo "$ac_cv_path_EGREP" >&6; } 3767 3260 EGREP="$ac_cv_path_EGREP" 3768 3261 3769 3262 3770 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ANSI C header files" >&53263 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3771 3264 $as_echo_n "checking for ANSI C header files... " >&6; } 3772 if ${ac_cv_header_stdc+:} false; then :3265 if test "${ac_cv_header_stdc+set}" = set; then 3773 3266 $as_echo_n "(cached) " >&6 3774 3267 else 3775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3268 cat >conftest.$ac_ext <<_ACEOF 3269 /* confdefs.h. */ 3270 _ACEOF 3271 cat confdefs.h >>conftest.$ac_ext 3272 cat >>conftest.$ac_ext <<_ACEOF 3776 3273 /* end confdefs.h. */ 3777 3274 #include <stdlib.h> … … 3788 3285 } 3789 3286 _ACEOF 3790 if ac_fn_c_try_compile "$LINENO"; then : 3287 rm -f conftest.$ac_objext 3288 if { (ac_try="$ac_compile" 3289 case "(($ac_try" in 3290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3291 *) ac_try_echo=$ac_try;; 3292 esac 3293 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3294 $as_echo "$ac_try_echo") >&5 3295 (eval "$ac_compile") 2>conftest.er1 3296 ac_status=$? 3297 grep -v '^ *+' conftest.er1 >conftest.err 3298 rm -f conftest.er1 3299 cat conftest.err >&5 3300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3301 (exit $ac_status); } && { 3302 test -z "$ac_c_werror_flag" || 3303 test ! -s conftest.err 3304 } && test -s conftest.$ac_objext; then 3791 3305 ac_cv_header_stdc=yes 3792 3306 else 3793 ac_cv_header_stdc=no 3794 fi 3307 $as_echo "$as_me: failed program was:" >&5 3308 sed 's/^/| /' conftest.$ac_ext >&5 3309 3310 ac_cv_header_stdc=no 3311 fi 3312 3795 3313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3796 3314 3797 3315 if test $ac_cv_header_stdc = yes; then 3798 3316 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3317 cat >conftest.$ac_ext <<_ACEOF 3318 /* confdefs.h. */ 3319 _ACEOF 3320 cat confdefs.h >>conftest.$ac_ext 3321 cat >>conftest.$ac_ext <<_ACEOF 3800 3322 /* end confdefs.h. */ 3801 3323 #include <string.h> … … 3803 3325 _ACEOF 3804 3326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3805 $EGREP "memchr" >/dev/null 2>&1; then :3806 3327 $EGREP "memchr" >/dev/null 2>&1; then 3328 : 3807 3329 else 3808 3330 ac_cv_header_stdc=no … … 3814 3336 if test $ac_cv_header_stdc = yes; then 3815 3337 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3338 cat >conftest.$ac_ext <<_ACEOF 3339 /* confdefs.h. */ 3340 _ACEOF 3341 cat confdefs.h >>conftest.$ac_ext 3342 cat >>conftest.$ac_ext <<_ACEOF 3817 3343 /* end confdefs.h. */ 3818 3344 #include <stdlib.h> … … 3820 3346 _ACEOF 3821 3347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3822 $EGREP "free" >/dev/null 2>&1; then :3823 3348 $EGREP "free" >/dev/null 2>&1; then 3349 : 3824 3350 else 3825 3351 ac_cv_header_stdc=no … … 3831 3357 if test $ac_cv_header_stdc = yes; then 3832 3358 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3833 if test "$cross_compiling" = yes; then :3359 if test "$cross_compiling" = yes; then 3834 3360 : 3835 3361 else 3836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3362 cat >conftest.$ac_ext <<_ACEOF 3363 /* confdefs.h. */ 3364 _ACEOF 3365 cat confdefs.h >>conftest.$ac_ext 3366 cat >>conftest.$ac_ext <<_ACEOF 3837 3367 /* end confdefs.h. */ 3838 3368 #include <ctype.h> … … 3861 3391 } 3862 3392 _ACEOF 3863 if ac_fn_c_try_run "$LINENO"; then : 3864 3865 else 3866 ac_cv_header_stdc=no 3867 fi 3868 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3869 conftest.$ac_objext conftest.beam conftest.$ac_ext 3870 fi 3871 3872 fi 3873 fi 3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3393 rm -f conftest$ac_exeext 3394 if { (ac_try="$ac_link" 3395 case "(($ac_try" in 3396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3397 *) ac_try_echo=$ac_try;; 3398 esac 3399 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3400 $as_echo "$ac_try_echo") >&5 3401 (eval "$ac_link") 2>&5 3402 ac_status=$? 3403 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3404 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3405 { (case "(($ac_try" in 3406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3407 *) ac_try_echo=$ac_try;; 3408 esac 3409 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3410 $as_echo "$ac_try_echo") >&5 3411 (eval "$ac_try") 2>&5 3412 ac_status=$? 3413 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3414 (exit $ac_status); }; }; then 3415 : 3416 else 3417 $as_echo "$as_me: program exited with status $ac_status" >&5 3418 $as_echo "$as_me: failed program was:" >&5 3419 sed 's/^/| /' conftest.$ac_ext >&5 3420 3421 ( exit $ac_status ) 3422 ac_cv_header_stdc=no 3423 fi 3424 rm -rf conftest.dSYM 3425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3426 fi 3427 3428 3429 fi 3430 fi 3431 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3875 3432 $as_echo "$ac_cv_header_stdc" >&6; } 3876 3433 if test $ac_cv_header_stdc = yes; then 3877 3434 3878 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 3435 cat >>confdefs.h <<\_ACEOF 3436 #define STDC_HEADERS 1 3437 _ACEOF 3879 3438 3880 3439 fi 3881 3440 3882 3441 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3442 3443 3444 3445 3446 3447 3448 3449 3450 3883 3451 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3884 3452 inttypes.h stdint.h unistd.h 3885 do : 3886 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3887 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3888 " 3889 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3453 do 3454 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3455 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3456 $as_echo_n "checking for $ac_header... " >&6; } 3457 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3458 $as_echo_n "(cached) " >&6 3459 else 3460 cat >conftest.$ac_ext <<_ACEOF 3461 /* confdefs.h. */ 3462 _ACEOF 3463 cat confdefs.h >>conftest.$ac_ext 3464 cat >>conftest.$ac_ext <<_ACEOF 3465 /* end confdefs.h. */ 3466 $ac_includes_default 3467 3468 #include <$ac_header> 3469 _ACEOF 3470 rm -f conftest.$ac_objext 3471 if { (ac_try="$ac_compile" 3472 case "(($ac_try" in 3473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3474 *) ac_try_echo=$ac_try;; 3475 esac 3476 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3477 $as_echo "$ac_try_echo") >&5 3478 (eval "$ac_compile") 2>conftest.er1 3479 ac_status=$? 3480 grep -v '^ *+' conftest.er1 >conftest.err 3481 rm -f conftest.er1 3482 cat conftest.err >&5 3483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3484 (exit $ac_status); } && { 3485 test -z "$ac_c_werror_flag" || 3486 test ! -s conftest.err 3487 } && test -s conftest.$ac_objext; then 3488 eval "$as_ac_Header=yes" 3489 else 3490 $as_echo "$as_me: failed program was:" >&5 3491 sed 's/^/| /' conftest.$ac_ext >&5 3492 3493 eval "$as_ac_Header=no" 3494 fi 3495 3496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3497 fi 3498 ac_res=`eval 'as_val=${'$as_ac_Header'} 3499 $as_echo "$as_val"'` 3500 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3501 $as_echo "$ac_res" >&6; } 3502 as_val=`eval 'as_val=${'$as_ac_Header'} 3503 $as_echo "$as_val"'` 3504 if test "x$as_val" = x""yes; then 3890 3505 cat >>confdefs.h <<_ACEOF 3891 3506 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 3912 3527 3913 3528 # Check whether --with-python was given. 3914 if test "${with_python+set}" = set; then :3529 if test "${with_python+set}" = set; then 3915 3530 withval=$with_python; 3916 3531 else … … 3923 3538 # Extract the first word of "python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args. 3924 3539 set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 3925 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53540 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3926 3541 $as_echo_n "checking for $ac_word... " >&6; } 3927 if ${ac_cv_path_PYTHON+:} false; then :3542 if test "${ac_cv_path_PYTHON+set}" = set; then 3928 3543 $as_echo_n "(cached) " >&6 3929 3544 else … … 3938 3553 IFS=$as_save_IFS 3939 3554 test -z "$as_dir" && as_dir=. 3940 3555 for ac_exec_ext in '' $ac_executable_extensions; do 3941 3556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3942 3557 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 3943 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53558 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3944 3559 break 2 3945 3560 fi 3946 3561 done 3947 3562 done 3948 3563 IFS=$as_save_IFS 3949 3564 … … 3953 3568 PYTHON=$ac_cv_path_PYTHON 3954 3569 if test -n "$PYTHON"; then 3955 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON" >&53570 { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5 3956 3571 $as_echo "$PYTHON" >&6; } 3957 3572 else 3958 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53573 { $as_echo "$as_me:$LINENO: result: no" >&5 3959 3574 $as_echo "no" >&6; } 3960 3575 fi … … 3964 3579 # Extract the first word of "python", so it can be a program name with args. 3965 3580 set dummy python; ac_word=$2 3966 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53581 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3967 3582 $as_echo_n "checking for $ac_word... " >&6; } 3968 if ${ac_cv_path_PYTHON+:} false; then :3583 if test "${ac_cv_path_PYTHON+set}" = set; then 3969 3584 $as_echo_n "(cached) " >&6 3970 3585 else … … 3980 3595 IFS=$as_save_IFS 3981 3596 test -z "$as_dir" && as_dir=. 3982 3597 for ac_exec_ext in '' $ac_executable_extensions; do 3983 3598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3984 3599 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 3985 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53600 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3986 3601 break 2 3987 3602 fi 3988 3603 done 3989 3604 done 3990 3605 IFS=$as_save_IFS 3991 3606 … … 3995 3610 PYTHON=$ac_cv_path_PYTHON 3996 3611 if test -n "$PYTHON"; then 3997 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON" >&53612 { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5 3998 3613 $as_echo "$PYTHON" >&6; } 3999 3614 else 4000 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53615 { $as_echo "$as_me:$LINENO: result: no" >&5 4001 3616 $as_echo "no" >&6; } 4002 3617 fi … … 4004 3619 4005 3620 fi 4006 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for Python version" >&53621 { $as_echo "$as_me:$LINENO: checking for Python version" >&5 4007 3622 $as_echo_n "checking for Python version... " >&6; } 4008 3623 if test "x${PYTHON}" != "x"; then 4009 3624 PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"` 4010 3625 fi 4011 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON_VERSION" >&53626 { $as_echo "$as_me:$LINENO: result: $PYTHON_VERSION" >&5 4012 3627 $as_echo "$PYTHON_VERSION" >&6; } 4013 3628 fi … … 4015 3630 if test "x${PYTHON_VERSION}" != "x"; then 4016 3631 PYTHON_INCLUDES=$incdir 4017 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for Python distutils" >&53632 { $as_echo "$as_me:$LINENO: checking for Python distutils" >&5 4018 3633 $as_echo_n "checking for Python distutils... " >&6; } 4019 3634 PYTHON_DISTUTILS="" … … 4023 3638 PYTHON_DISTUTILS="yes" 4024 3639 fi 4025 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&53640 { $as_echo "$as_me:$LINENO: result: $PYTHON_DISTUTILS" >&5 4026 3641 $as_echo "$PYTHON_DISTUTILS" >&6; } 4027 3642 if test "${PYTHON_DISTUTILS}" = "yes" ; then … … 4030 3645 # Check for Python include path 4031 3646 # 4032 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking path to Python headers" >&53647 { $as_echo "$as_me:$LINENO: checking path to Python headers" >&5 4033 3648 $as_echo_n "checking path to Python headers... " >&6; } 4034 3649 PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \ 4035 3650 print distutils.sysconfig.get_python_inc();"` 4036 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&53651 { $as_echo "$as_me:$LINENO: result: $PYTHON_INCDIR" >&5 4037 3652 $as_echo "$PYTHON_INCDIR" >&6; } 4038 3653 # … … 4047 3662 save_CPPFLAGS=$CPPFLAGS 4048 3663 CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}" 4049 for ac_header in Python.h 4050 do : 4051 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 4052 if test "x$ac_cv_header_Python_h" = xyes; then : 3664 3665 for ac_header in Python.h 3666 do 3667 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3668 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3669 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3670 $as_echo_n "checking for $ac_header... " >&6; } 3671 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3672 $as_echo_n "(cached) " >&6 3673 fi 3674 ac_res=`eval 'as_val=${'$as_ac_Header'} 3675 $as_echo "$as_val"'` 3676 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3677 $as_echo "$ac_res" >&6; } 3678 else 3679 # Is the header compilable? 3680 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 3681 $as_echo_n "checking $ac_header usability... " >&6; } 3682 cat >conftest.$ac_ext <<_ACEOF 3683 /* confdefs.h. */ 3684 _ACEOF 3685 cat confdefs.h >>conftest.$ac_ext 3686 cat >>conftest.$ac_ext <<_ACEOF 3687 /* end confdefs.h. */ 3688 $ac_includes_default 3689 #include <$ac_header> 3690 _ACEOF 3691 rm -f conftest.$ac_objext 3692 if { (ac_try="$ac_compile" 3693 case "(($ac_try" in 3694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3695 *) ac_try_echo=$ac_try;; 3696 esac 3697 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3698 $as_echo "$ac_try_echo") >&5 3699 (eval "$ac_compile") 2>conftest.er1 3700 ac_status=$? 3701 grep -v '^ *+' conftest.er1 >conftest.err 3702 rm -f conftest.er1 3703 cat conftest.err >&5 3704 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3705 (exit $ac_status); } && { 3706 test -z "$ac_c_werror_flag" || 3707 test ! -s conftest.err 3708 } && test -s conftest.$ac_objext; then 3709 ac_header_compiler=yes 3710 else 3711 $as_echo "$as_me: failed program was:" >&5 3712 sed 's/^/| /' conftest.$ac_ext >&5 3713 3714 ac_header_compiler=no 3715 fi 3716 3717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3718 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3719 $as_echo "$ac_header_compiler" >&6; } 3720 3721 # Is the header present? 3722 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 3723 $as_echo_n "checking $ac_header presence... " >&6; } 3724 cat >conftest.$ac_ext <<_ACEOF 3725 /* confdefs.h. */ 3726 _ACEOF 3727 cat confdefs.h >>conftest.$ac_ext 3728 cat >>conftest.$ac_ext <<_ACEOF 3729 /* end confdefs.h. */ 3730 #include <$ac_header> 3731 _ACEOF 3732 if { (ac_try="$ac_cpp conftest.$ac_ext" 3733 case "(($ac_try" in 3734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3735 *) ac_try_echo=$ac_try;; 3736 esac 3737 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3738 $as_echo "$ac_try_echo") >&5 3739 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3740 ac_status=$? 3741 grep -v '^ *+' conftest.er1 >conftest.err 3742 rm -f conftest.er1 3743 cat conftest.err >&5 3744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3745 (exit $ac_status); } >/dev/null && { 3746 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3747 test ! -s conftest.err 3748 }; then 3749 ac_header_preproc=yes 3750 else 3751 $as_echo "$as_me: failed program was:" >&5 3752 sed 's/^/| /' conftest.$ac_ext >&5 3753 3754 ac_header_preproc=no 3755 fi 3756 3757 rm -f conftest.err conftest.$ac_ext 3758 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3759 $as_echo "$ac_header_preproc" >&6; } 3760 3761 # So? What about this header? 3762 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3763 yes:no: ) 3764 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3765 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3766 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3767 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3768 ac_header_preproc=yes 3769 ;; 3770 no:yes:* ) 3771 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3772 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3773 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3774 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3775 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3776 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3777 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3778 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3779 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3780 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3781 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3782 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3783 ( cat <<\_ASBOX 3784 ## ----------------------------------- ## 3785 ## Report this to rappture@nanohub.org ## 3786 ## ----------------------------------- ## 3787 _ASBOX 3788 ) | sed "s/^/$as_me: WARNING: /" >&2 3789 ;; 3790 esac 3791 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3792 $as_echo_n "checking for $ac_header... " >&6; } 3793 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3794 $as_echo_n "(cached) " >&6 3795 else 3796 eval "$as_ac_Header=\$ac_header_preproc" 3797 fi 3798 ac_res=`eval 'as_val=${'$as_ac_Header'} 3799 $as_echo "$as_val"'` 3800 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3801 $as_echo "$ac_res" >&6; } 3802 3803 fi 3804 as_val=`eval 'as_val=${'$as_ac_Header'} 3805 $as_echo "$as_val"'` 3806 if test "x$as_val" = x""yes; then 4053 3807 cat >>confdefs.h <<_ACEOF 4054 #define HAVE_PYTHON_H13808 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4055 3809 _ACEOF 4056 3810 found=yes … … 4096 3850 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4097 3851 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4098 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53852 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4099 3853 $as_echo_n "checking for $ac_word... " >&6; } 4100 if ${ac_cv_prog_RANLIB+:} false; then :3854 if test "${ac_cv_prog_RANLIB+set}" = set; then 4101 3855 $as_echo_n "(cached) " >&6 4102 3856 else … … 4109 3863 IFS=$as_save_IFS 4110 3864 test -z "$as_dir" && as_dir=. 4111 3865 for ac_exec_ext in '' $ac_executable_extensions; do 4112 3866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4113 3867 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4114 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53868 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4115 3869 break 2 4116 3870 fi 4117 3871 done 4118 3872 done 4119 3873 IFS=$as_save_IFS 4120 3874 … … 4123 3877 RANLIB=$ac_cv_prog_RANLIB 4124 3878 if test -n "$RANLIB"; then 4125 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $RANLIB" >&53879 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 4126 3880 $as_echo "$RANLIB" >&6; } 4127 3881 else 4128 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53882 { $as_echo "$as_me:$LINENO: result: no" >&5 4129 3883 $as_echo "no" >&6; } 4130 3884 fi … … 4136 3890 # Extract the first word of "ranlib", so it can be a program name with args. 4137 3891 set dummy ranlib; ac_word=$2 4138 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&53892 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4139 3893 $as_echo_n "checking for $ac_word... " >&6; } 4140 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :3894 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 4141 3895 $as_echo_n "(cached) " >&6 4142 3896 else … … 4149 3903 IFS=$as_save_IFS 4150 3904 test -z "$as_dir" && as_dir=. 4151 3905 for ac_exec_ext in '' $ac_executable_extensions; do 4152 3906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4153 3907 ac_cv_prog_ac_ct_RANLIB="ranlib" 4154 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53908 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4155 3909 break 2 4156 3910 fi 4157 3911 done 4158 3912 done 4159 3913 IFS=$as_save_IFS 4160 3914 … … 4163 3917 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4164 3918 if test -n "$ac_ct_RANLIB"; then 4165 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&53919 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 4166 3920 $as_echo "$ac_ct_RANLIB" >&6; } 4167 3921 else 4168 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&53922 { $as_echo "$as_me:$LINENO: result: no" >&5 4169 3923 $as_echo "no" >&6; } 4170 3924 fi … … 4175 3929 case $cross_compiling:$ac_tool_warned in 4176 3930 yes:) 4177 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&53931 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4178 3932 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4179 3933 ac_tool_warned=yes ;; … … 4189 3943 # Step 0.a: Enable 64 bit support? 4190 3944 4191 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if 64bit support is requested" >&53945 { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5 4192 3946 $as_echo_n "checking if 64bit support is requested... " >&6; } 4193 3947 # Check whether --enable-64bit was given. 4194 if test "${enable_64bit+set}" = set; then :3948 if test "${enable_64bit+set}" = set; then 4195 3949 enableval=$enable_64bit; do64bit=$enableval 4196 3950 else … … 4198 3952 fi 4199 3953 4200 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $do64bit" >&53954 { $as_echo "$as_me:$LINENO: result: $do64bit" >&5 4201 3955 $as_echo "$do64bit" >&6; } 4202 3956 4203 3957 # Step 0.b: Enable Solaris 64 bit VIS support? 4204 3958 4205 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&53959 { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5 4206 3960 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 4207 3961 # Check whether --enable-64bit-vis was given. 4208 if test "${enable_64bit_vis+set}" = set; then :3962 if test "${enable_64bit_vis+set}" = set; then 4209 3963 enableval=$enable_64bit_vis; do64bitVIS=$enableval 4210 3964 else … … 4212 3966 fi 4213 3967 4214 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $do64bitVIS" >&53968 { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5 4215 3969 $as_echo "$do64bitVIS" >&6; } 4216 3970 … … 4224 3978 4225 3979 4226 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking system version" >&53980 { $as_echo "$as_me:$LINENO: checking system version" >&5 4227 3981 $as_echo_n "checking system version... " >&6; } 4228 if ${tcl_cv_sys_version+:} false; then :3982 if test "${tcl_cv_sys_version+set}" = set; then 4229 3983 $as_echo_n "(cached) " >&6 4230 3984 else … … 4235 3989 tcl_cv_sys_version=`uname -s`-`uname -r` 4236 3990 if test "$?" -ne 0 ; then 4237 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: can't find uname command" >&53991 { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5 4238 3992 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 4239 3993 tcl_cv_sys_version=unknown … … 4252 4006 4253 4007 fi 4254 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&54008 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5 4255 4009 $as_echo "$tcl_cv_sys_version" >&6; } 4256 4010 system=$tcl_cv_sys_version … … 4260 4014 # Linux can use either -ldl or -ldld for dynamic loading. 4261 4015 4262 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for dlopen in -ldl" >&54016 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 4263 4017 $as_echo_n "checking for dlopen in -ldl... " >&6; } 4264 if ${ac_cv_lib_dl_dlopen+:} false; then :4018 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 4265 4019 $as_echo_n "(cached) " >&6 4266 4020 else 4267 4021 ac_check_lib_save_LIBS=$LIBS 4268 4022 LIBS="-ldl $LIBS" 4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4023 cat >conftest.$ac_ext <<_ACEOF 4024 /* confdefs.h. */ 4025 _ACEOF 4026 cat confdefs.h >>conftest.$ac_ext 4027 cat >>conftest.$ac_ext <<_ACEOF 4270 4028 /* end confdefs.h. */ 4271 4029 … … 4285 4043 } 4286 4044 _ACEOF 4287 if ac_fn_c_try_link "$LINENO"; then : 4045 rm -f conftest.$ac_objext conftest$ac_exeext 4046 if { (ac_try="$ac_link" 4047 case "(($ac_try" in 4048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4049 *) ac_try_echo=$ac_try;; 4050 esac 4051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4052 $as_echo "$ac_try_echo") >&5 4053 (eval "$ac_link") 2>conftest.er1 4054 ac_status=$? 4055 grep -v '^ *+' conftest.er1 >conftest.err 4056 rm -f conftest.er1 4057 cat conftest.err >&5 4058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4059 (exit $ac_status); } && { 4060 test -z "$ac_c_werror_flag" || 4061 test ! -s conftest.err 4062 } && test -s conftest$ac_exeext && { 4063 test "$cross_compiling" = yes || 4064 $as_test_x conftest$ac_exeext 4065 }; then 4288 4066 ac_cv_lib_dl_dlopen=yes 4289 4067 else 4290 ac_cv_lib_dl_dlopen=no 4291 fi 4292 rm -f core conftest.err conftest.$ac_objext \ 4293 conftest$ac_exeext conftest.$ac_ext 4068 $as_echo "$as_me: failed program was:" >&5 4069 sed 's/^/| /' conftest.$ac_ext >&5 4070 4071 ac_cv_lib_dl_dlopen=no 4072 fi 4073 4074 rm -rf conftest.dSYM 4075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4076 conftest$ac_exeext conftest.$ac_ext 4294 4077 LIBS=$ac_check_lib_save_LIBS 4295 4078 fi 4296 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&54079 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 4297 4080 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 4298 if test "x$ac_cv_lib_dl_dlopen" = x yes; then :4081 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 4299 4082 have_dl=yes 4300 4083 else … … 4328 4111 # Extract the first word of "ar", so it can be a program name with args. 4329 4112 set dummy ar; ac_word=$2 4330 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&54113 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4331 4114 $as_echo_n "checking for $ac_word... " >&6; } 4332 if ${ac_cv_prog_AR+:} false; then :4115 if test "${ac_cv_prog_AR+set}" = set; then 4333 4116 $as_echo_n "(cached) " >&6 4334 4117 else … … 4341 4124 IFS=$as_save_IFS 4342 4125 test -z "$as_dir" && as_dir=. 4343 4126 for ac_exec_ext in '' $ac_executable_extensions; do 4344 4127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4345 4128 ac_cv_prog_AR="ar" 4346 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&54129 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4347 4130 break 2 4348 4131 fi 4349 4132 done 4350 4133 done 4351 4134 IFS=$as_save_IFS 4352 4135 … … 4355 4138 AR=$ac_cv_prog_AR 4356 4139 if test -n "$AR"; then 4357 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $AR" >&54140 { $as_echo "$as_me:$LINENO: result: $AR" >&5 4358 4141 $as_echo "$AR" >&6; } 4359 4142 else 4360 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&54143 { $as_echo "$as_me:$LINENO: result: no" >&5 4361 4144 $as_echo "no" >&6; } 4362 4145 fi … … 4364 4147 4365 4148 if test "${AR}" = "" ; then 4366 as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5 4149 { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5 4150 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;} 4151 { (exit 1); exit 1; }; } 4367 4152 fi 4368 4153 STLIB_LD='${AR} cr' … … 4382 4167 ;; 4383 4168 esac 4384 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&54169 { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5 4385 4170 $as_echo "Using $CC for compiling with threads" >&6; } 4386 4171 fi … … 4398 4183 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 4399 4184 if test "$GCC" = "yes" ; then 4400 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&54185 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 4401 4186 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 4402 4187 else … … 4453 4238 # known GMT value. 4454 4239 4455 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&54240 { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5 4456 4241 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 4457 if ${ac_cv_lib_bsd_gettimeofday+:} false; then :4242 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then 4458 4243 $as_echo_n "(cached) " >&6 4459 4244 else 4460 4245 ac_check_lib_save_LIBS=$LIBS 4461 4246 LIBS="-lbsd $LIBS" 4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4247 cat >conftest.$ac_ext <<_ACEOF 4248 /* confdefs.h. */ 4249 _ACEOF 4250 cat confdefs.h >>conftest.$ac_ext 4251 cat >>conftest.$ac_ext <<_ACEOF 4463 4252 /* end confdefs.h. */ 4464 4253 … … 4478 4267 } 4479 4268 _ACEOF 4480 if ac_fn_c_try_link "$LINENO"; then : 4269 rm -f conftest.$ac_objext conftest$ac_exeext 4270 if { (ac_try="$ac_link" 4271 case "(($ac_try" in 4272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4273 *) ac_try_echo=$ac_try;; 4274 esac 4275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4276 $as_echo "$ac_try_echo") >&5 4277 (eval "$ac_link") 2>conftest.er1 4278 ac_status=$? 4279 grep -v '^ *+' conftest.er1 >conftest.err 4280 rm -f conftest.er1 4281 cat conftest.err >&5 4282 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4283 (exit $ac_status); } && { 4284 test -z "$ac_c_werror_flag" || 4285 test ! -s conftest.err 4286 } && test -s conftest$ac_exeext && { 4287 test "$cross_compiling" = yes || 4288 $as_test_x conftest$ac_exeext 4289 }; then 4481 4290 ac_cv_lib_bsd_gettimeofday=yes 4482 4291 else 4483 ac_cv_lib_bsd_gettimeofday=no 4484 fi 4485 rm -f core conftest.err conftest.$ac_objext \ 4486 conftest$ac_exeext conftest.$ac_ext 4292 $as_echo "$as_me: failed program was:" >&5 4293 sed 's/^/| /' conftest.$ac_ext >&5 4294 4295 ac_cv_lib_bsd_gettimeofday=no 4296 fi 4297 4298 rm -rf conftest.dSYM 4299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4300 conftest$ac_exeext conftest.$ac_ext 4487 4301 LIBS=$ac_check_lib_save_LIBS 4488 4302 fi 4489 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&54303 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5 4490 4304 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 4491 if test "x$ac_cv_lib_bsd_gettimeofday" = x yes; then :4305 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then 4492 4306 libbsd=yes 4493 4307 else … … 4497 4311 if test $libbsd = yes; then 4498 4312 MATH_LIBS="$MATH_LIBS -lbsd" 4499 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 4313 cat >>confdefs.h <<\_ACEOF 4314 #define USE_DELTA_FOR_TZ 1 4315 _ACEOF 4500 4316 4501 4317 fi … … 4514 4330 # is always linked to, for compatibility. 4515 4331 #----------------------------------------------------------- 4516 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&54332 { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5 4517 4333 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 4518 if ${ac_cv_lib_bind_inet_ntoa+:} false; then :4334 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then 4519 4335 $as_echo_n "(cached) " >&6 4520 4336 else 4521 4337 ac_check_lib_save_LIBS=$LIBS 4522 4338 LIBS="-lbind $LIBS" 4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4339 cat >conftest.$ac_ext <<_ACEOF 4340 /* confdefs.h. */ 4341 _ACEOF 4342 cat confdefs.h >>conftest.$ac_ext 4343 cat >>conftest.$ac_ext <<_ACEOF 4524 4344 /* end confdefs.h. */ 4525 4345 … … 4539 4359 } 4540 4360 _ACEOF 4541 if ac_fn_c_try_link "$LINENO"; then : 4361 rm -f conftest.$ac_objext conftest$ac_exeext 4362 if { (ac_try="$ac_link" 4363 case "(($ac_try" in 4364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4365 *) ac_try_echo=$ac_try;; 4366 esac 4367 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4368 $as_echo "$ac_try_echo") >&5 4369 (eval "$ac_link") 2>conftest.er1 4370 ac_status=$? 4371 grep -v '^ *+' conftest.er1 >conftest.err 4372 rm -f conftest.er1 4373 cat conftest.err >&5 4374 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4375 (exit $ac_status); } && { 4376 test -z "$ac_c_werror_flag" || 4377 test ! -s conftest.err 4378 } && test -s conftest$ac_exeext && { 4379 test "$cross_compiling" = yes || 4380 $as_test_x conftest$ac_exeext 4381 }; then 4542 4382 ac_cv_lib_bind_inet_ntoa=yes 4543 4383 else 4544 ac_cv_lib_bind_inet_ntoa=no 4545 fi 4546 rm -f core conftest.err conftest.$ac_objext \ 4547 conftest$ac_exeext conftest.$ac_ext 4384 $as_echo "$as_me: failed program was:" >&5 4385 sed 's/^/| /' conftest.$ac_ext >&5 4386 4387 ac_cv_lib_bind_inet_ntoa=no 4388 fi 4389 4390 rm -rf conftest.dSYM 4391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4392 conftest$ac_exeext conftest.$ac_ext 4548 4393 LIBS=$ac_check_lib_save_LIBS 4549 4394 fi 4550 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&54395 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5 4551 4396 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 4552 if test "x$ac_cv_lib_bind_inet_ntoa" = x yes; then :4397 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then 4553 4398 LIBS="$LIBS -lbind -lsocket" 4554 4399 fi … … 4588 4433 HP-UX-*.11.*) 4589 4434 # Use updated header definitions where possible 4590 $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h 4435 cat >>confdefs.h <<\_ACEOF 4436 #define _XOPEN_SOURCE 1 4437 _ACEOF 4591 4438 # Use the XOPEN network library 4592 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 4439 cat >>confdefs.h <<\_ACEOF 4440 #define _XOPEN_SOURCE_EXTENDED 1 4441 _ACEOF 4593 4442 # Use the XOPEN network library 4594 4443 LIBS="$LIBS -lxnet" # Use the XOPEN network library … … 4599 4448 SHLIB_SUFFIX=".sl" 4600 4449 fi 4601 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for shl_load in -ldld" >&54450 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 4602 4451 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4603 if ${ac_cv_lib_dld_shl_load+:} false; then :4452 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 4604 4453 $as_echo_n "(cached) " >&6 4605 4454 else 4606 4455 ac_check_lib_save_LIBS=$LIBS 4607 4456 LIBS="-ldld $LIBS" 4608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4457 cat >conftest.$ac_ext <<_ACEOF 4458 /* confdefs.h. */ 4459 _ACEOF 4460 cat confdefs.h >>conftest.$ac_ext 4461 cat >>conftest.$ac_ext <<_ACEOF 4609 4462 /* end confdefs.h. */ 4610 4463 … … 4624 4477 } 4625 4478 _ACEOF 4626 if ac_fn_c_try_link "$LINENO"; then : 4479 rm -f conftest.$ac_objext conftest$ac_exeext 4480 if { (ac_try="$ac_link" 4481 case "(($ac_try" in 4482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4483 *) ac_try_echo=$ac_try;; 4484 esac 4485 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4486 $as_echo "$ac_try_echo") >&5 4487 (eval "$ac_link") 2>conftest.er1 4488 ac_status=$? 4489 grep -v '^ *+' conftest.er1 >conftest.err 4490 rm -f conftest.er1 4491 cat conftest.err >&5 4492 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4493 (exit $ac_status); } && { 4494 test -z "$ac_c_werror_flag" || 4495 test ! -s conftest.err 4496 } && test -s conftest$ac_exeext && { 4497 test "$cross_compiling" = yes || 4498 $as_test_x conftest$ac_exeext 4499 }; then 4627 4500 ac_cv_lib_dld_shl_load=yes 4628 4501 else 4629 ac_cv_lib_dld_shl_load=no 4630 fi 4631 rm -f core conftest.err conftest.$ac_objext \ 4632 conftest$ac_exeext conftest.$ac_ext 4502 $as_echo "$as_me: failed program was:" >&5 4503 sed 's/^/| /' conftest.$ac_ext >&5 4504 4505 ac_cv_lib_dld_shl_load=no 4506 fi 4507 4508 rm -rf conftest.dSYM 4509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4510 conftest$ac_exeext conftest.$ac_ext 4633 4511 LIBS=$ac_check_lib_save_LIBS 4634 4512 fi 4635 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&54513 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 4636 4514 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4637 if test "x$ac_cv_lib_dld_shl_load" = x yes; then :4515 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 4638 4516 tcl_ok=yes 4639 4517 else … … 4675 4553 ;; 4676 4554 *) 4677 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&54555 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 4678 4556 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 4679 4557 ;; … … 4688 4566 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 4689 4567 SHLIB_SUFFIX=".sl" 4690 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for shl_load in -ldld" >&54568 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 4691 4569 $as_echo_n "checking for shl_load in -ldld... " >&6; } 4692 if ${ac_cv_lib_dld_shl_load+:} false; then :4570 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 4693 4571 $as_echo_n "(cached) " >&6 4694 4572 else 4695 4573 ac_check_lib_save_LIBS=$LIBS 4696 4574 LIBS="-ldld $LIBS" 4697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4575 cat >conftest.$ac_ext <<_ACEOF 4576 /* confdefs.h. */ 4577 _ACEOF 4578 cat confdefs.h >>conftest.$ac_ext 4579 cat >>conftest.$ac_ext <<_ACEOF 4698 4580 /* end confdefs.h. */ 4699 4581 … … 4713 4595 } 4714 4596 _ACEOF 4715 if ac_fn_c_try_link "$LINENO"; then : 4597 rm -f conftest.$ac_objext conftest$ac_exeext 4598 if { (ac_try="$ac_link" 4599 case "(($ac_try" in 4600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4601 *) ac_try_echo=$ac_try;; 4602 esac 4603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4604 $as_echo "$ac_try_echo") >&5 4605 (eval "$ac_link") 2>conftest.er1 4606 ac_status=$? 4607 grep -v '^ *+' conftest.er1 >conftest.err 4608 rm -f conftest.er1 4609 cat conftest.err >&5 4610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4611 (exit $ac_status); } && { 4612 test -z "$ac_c_werror_flag" || 4613 test ! -s conftest.err 4614 } && test -s conftest$ac_exeext && { 4615 test "$cross_compiling" = yes || 4616 $as_test_x conftest$ac_exeext 4617 }; then 4716 4618 ac_cv_lib_dld_shl_load=yes 4717 4619 else 4718 ac_cv_lib_dld_shl_load=no 4719 fi 4720 rm -f core conftest.err conftest.$ac_objext \ 4721 conftest$ac_exeext conftest.$ac_ext 4620 $as_echo "$as_me: failed program was:" >&5 4621 sed 's/^/| /' conftest.$ac_ext >&5 4622 4623 ac_cv_lib_dld_shl_load=no 4624 fi 4625 4626 rm -rf conftest.dSYM 4627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4628 conftest$ac_exeext conftest.$ac_ext 4722 4629 LIBS=$ac_check_lib_save_LIBS 4723 4630 fi 4724 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&54631 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 4725 4632 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 4726 if test "x$ac_cv_lib_dld_shl_load" = x yes; then :4633 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 4727 4634 tcl_ok=yes 4728 4635 else … … 4803 4710 if test "$do64bit" = "yes" ; then 4804 4711 if test "$GCC" = "yes" ; then 4805 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&54712 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5 4806 4713 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 4807 4714 else … … 4832 4739 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 4833 4740 else 4834 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4835 if test "x$ac_cv_header_dld_h" = xyes; then : 4741 if test "${ac_cv_header_dld_h+set}" = set; then 4742 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4743 $as_echo_n "checking for dld.h... " >&6; } 4744 if test "${ac_cv_header_dld_h+set}" = set; then 4745 $as_echo_n "(cached) " >&6 4746 fi 4747 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4748 $as_echo "$ac_cv_header_dld_h" >&6; } 4749 else 4750 # Is the header compilable? 4751 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 4752 $as_echo_n "checking dld.h usability... " >&6; } 4753 cat >conftest.$ac_ext <<_ACEOF 4754 /* confdefs.h. */ 4755 _ACEOF 4756 cat confdefs.h >>conftest.$ac_ext 4757 cat >>conftest.$ac_ext <<_ACEOF 4758 /* end confdefs.h. */ 4759 $ac_includes_default 4760 #include <dld.h> 4761 _ACEOF 4762 rm -f conftest.$ac_objext 4763 if { (ac_try="$ac_compile" 4764 case "(($ac_try" in 4765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4766 *) ac_try_echo=$ac_try;; 4767 esac 4768 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4769 $as_echo "$ac_try_echo") >&5 4770 (eval "$ac_compile") 2>conftest.er1 4771 ac_status=$? 4772 grep -v '^ *+' conftest.er1 >conftest.err 4773 rm -f conftest.er1 4774 cat conftest.err >&5 4775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4776 (exit $ac_status); } && { 4777 test -z "$ac_c_werror_flag" || 4778 test ! -s conftest.err 4779 } && test -s conftest.$ac_objext; then 4780 ac_header_compiler=yes 4781 else 4782 $as_echo "$as_me: failed program was:" >&5 4783 sed 's/^/| /' conftest.$ac_ext >&5 4784 4785 ac_header_compiler=no 4786 fi 4787 4788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4789 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4790 $as_echo "$ac_header_compiler" >&6; } 4791 4792 # Is the header present? 4793 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 4794 $as_echo_n "checking dld.h presence... " >&6; } 4795 cat >conftest.$ac_ext <<_ACEOF 4796 /* confdefs.h. */ 4797 _ACEOF 4798 cat confdefs.h >>conftest.$ac_ext 4799 cat >>conftest.$ac_ext <<_ACEOF 4800 /* end confdefs.h. */ 4801 #include <dld.h> 4802 _ACEOF 4803 if { (ac_try="$ac_cpp conftest.$ac_ext" 4804 case "(($ac_try" in 4805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4806 *) ac_try_echo=$ac_try;; 4807 esac 4808 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4809 $as_echo "$ac_try_echo") >&5 4810 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4811 ac_status=$? 4812 grep -v '^ *+' conftest.er1 >conftest.err 4813 rm -f conftest.er1 4814 cat conftest.err >&5 4815 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4816 (exit $ac_status); } >/dev/null && { 4817 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4818 test ! -s conftest.err 4819 }; then 4820 ac_header_preproc=yes 4821 else 4822 $as_echo "$as_me: failed program was:" >&5 4823 sed 's/^/| /' conftest.$ac_ext >&5 4824 4825 ac_header_preproc=no 4826 fi 4827 4828 rm -f conftest.err conftest.$ac_ext 4829 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4830 $as_echo "$ac_header_preproc" >&6; } 4831 4832 # So? What about this header? 4833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4834 yes:no: ) 4835 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 4836 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4837 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 4838 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 4839 ac_header_preproc=yes 4840 ;; 4841 no:yes:* ) 4842 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 4843 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 4844 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 4845 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 4846 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 4847 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 4848 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 4849 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 4850 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 4851 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 4852 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 4853 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 4854 ( cat <<\_ASBOX 4855 ## ----------------------------------- ## 4856 ## Report this to rappture@nanohub.org ## 4857 ## ----------------------------------- ## 4858 _ASBOX 4859 ) | sed "s/^/$as_me: WARNING: /" >&2 4860 ;; 4861 esac 4862 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4863 $as_echo_n "checking for dld.h... " >&6; } 4864 if test "${ac_cv_header_dld_h+set}" = set; then 4865 $as_echo_n "(cached) " >&6 4866 else 4867 ac_cv_header_dld_h=$ac_header_preproc 4868 fi 4869 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4870 $as_echo "$ac_cv_header_dld_h" >&6; } 4871 4872 fi 4873 if test "x$ac_cv_header_dld_h" = x""yes; then 4836 4874 4837 4875 SHLIB_LD="ld -shared" … … 4848 4886 fi 4849 4887 if test $do64bit = yes; then 4850 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&54888 { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5 4851 4889 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; } 4852 if ${tcl_cv_cc_m64+:} false; then :4890 if test "${tcl_cv_cc_m64+set}" = set; then 4853 4891 $as_echo_n "(cached) " >&6 4854 4892 else … … 4856 4894 hold_cflags=$CFLAGS 4857 4895 CFLAGS="$CFLAGS -m64" 4858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4896 cat >conftest.$ac_ext <<_ACEOF 4897 /* confdefs.h. */ 4898 _ACEOF 4899 cat confdefs.h >>conftest.$ac_ext 4900 cat >>conftest.$ac_ext <<_ACEOF 4859 4901 /* end confdefs.h. */ 4860 4902 … … 4867 4909 } 4868 4910 _ACEOF 4869 if ac_fn_c_try_link "$LINENO"; then : 4911 rm -f conftest.$ac_objext conftest$ac_exeext 4912 if { (ac_try="$ac_link" 4913 case "(($ac_try" in 4914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4915 *) ac_try_echo=$ac_try;; 4916 esac 4917 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4918 $as_echo "$ac_try_echo") >&5 4919 (eval "$ac_link") 2>conftest.er1 4920 ac_status=$? 4921 grep -v '^ *+' conftest.er1 >conftest.err 4922 rm -f conftest.er1 4923 cat conftest.err >&5 4924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4925 (exit $ac_status); } && { 4926 test -z "$ac_c_werror_flag" || 4927 test ! -s conftest.err 4928 } && test -s conftest$ac_exeext && { 4929 test "$cross_compiling" = yes || 4930 $as_test_x conftest$ac_exeext 4931 }; then 4870 4932 tcl_cv_cc_m64=yes 4871 4933 else 4872 tcl_cv_cc_m64=no 4873 fi 4874 rm -f core conftest.err conftest.$ac_objext \ 4875 conftest$ac_exeext conftest.$ac_ext 4934 $as_echo "$as_me: failed program was:" >&5 4935 sed 's/^/| /' conftest.$ac_ext >&5 4936 4937 tcl_cv_cc_m64=no 4938 fi 4939 4940 rm -rf conftest.dSYM 4941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4942 conftest$ac_exeext conftest.$ac_ext 4876 4943 CFLAGS=$hold_cflags 4877 4944 fi 4878 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&54945 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5 4879 4946 $as_echo "$tcl_cv_cc_m64" >&6; } 4880 4947 if test $tcl_cv_cc_m64 = yes; then … … 4896 4963 4897 4964 # XIM peeking works under XFree86. 4898 $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h 4965 cat >>confdefs.h <<\_ACEOF 4966 #define PEEK_XCLOSEIM 1 4967 _ACEOF 4899 4968 4900 4969 … … 4913 4982 LD_SEARCH_FLAGS="" 4914 4983 else 4915 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default" 4916 if test "x$ac_cv_header_dld_h" = xyes; then : 4984 if test "${ac_cv_header_dld_h+set}" = set; then 4985 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 4986 $as_echo_n "checking for dld.h... " >&6; } 4987 if test "${ac_cv_header_dld_h+set}" = set; then 4988 $as_echo_n "(cached) " >&6 4989 fi 4990 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 4991 $as_echo "$ac_cv_header_dld_h" >&6; } 4992 else 4993 # Is the header compilable? 4994 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5 4995 $as_echo_n "checking dld.h usability... " >&6; } 4996 cat >conftest.$ac_ext <<_ACEOF 4997 /* confdefs.h. */ 4998 _ACEOF 4999 cat confdefs.h >>conftest.$ac_ext 5000 cat >>conftest.$ac_ext <<_ACEOF 5001 /* end confdefs.h. */ 5002 $ac_includes_default 5003 #include <dld.h> 5004 _ACEOF 5005 rm -f conftest.$ac_objext 5006 if { (ac_try="$ac_compile" 5007 case "(($ac_try" in 5008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5009 *) ac_try_echo=$ac_try;; 5010 esac 5011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5012 $as_echo "$ac_try_echo") >&5 5013 (eval "$ac_compile") 2>conftest.er1 5014 ac_status=$? 5015 grep -v '^ *+' conftest.er1 >conftest.err 5016 rm -f conftest.er1 5017 cat conftest.err >&5 5018 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5019 (exit $ac_status); } && { 5020 test -z "$ac_c_werror_flag" || 5021 test ! -s conftest.err 5022 } && test -s conftest.$ac_objext; then 5023 ac_header_compiler=yes 5024 else 5025 $as_echo "$as_me: failed program was:" >&5 5026 sed 's/^/| /' conftest.$ac_ext >&5 5027 5028 ac_header_compiler=no 5029 fi 5030 5031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5032 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5033 $as_echo "$ac_header_compiler" >&6; } 5034 5035 # Is the header present? 5036 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5 5037 $as_echo_n "checking dld.h presence... " >&6; } 5038 cat >conftest.$ac_ext <<_ACEOF 5039 /* confdefs.h. */ 5040 _ACEOF 5041 cat confdefs.h >>conftest.$ac_ext 5042 cat >>conftest.$ac_ext <<_ACEOF 5043 /* end confdefs.h. */ 5044 #include <dld.h> 5045 _ACEOF 5046 if { (ac_try="$ac_cpp conftest.$ac_ext" 5047 case "(($ac_try" in 5048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5049 *) ac_try_echo=$ac_try;; 5050 esac 5051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5052 $as_echo "$ac_try_echo") >&5 5053 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5054 ac_status=$? 5055 grep -v '^ *+' conftest.er1 >conftest.err 5056 rm -f conftest.er1 5057 cat conftest.err >&5 5058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5059 (exit $ac_status); } >/dev/null && { 5060 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5061 test ! -s conftest.err 5062 }; then 5063 ac_header_preproc=yes 5064 else 5065 $as_echo "$as_me: failed program was:" >&5 5066 sed 's/^/| /' conftest.$ac_ext >&5 5067 5068 ac_header_preproc=no 5069 fi 5070 5071 rm -f conftest.err conftest.$ac_ext 5072 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5073 $as_echo "$ac_header_preproc" >&6; } 5074 5075 # So? What about this header? 5076 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5077 yes:no: ) 5078 { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5 5079 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5080 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5 5081 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;} 5082 ac_header_preproc=yes 5083 ;; 5084 no:yes:* ) 5085 { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5 5086 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;} 5087 { $as_echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5 5088 $as_echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;} 5089 { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5 5090 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;} 5091 { $as_echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5 5092 $as_echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;} 5093 { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5 5094 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;} 5095 { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5 5096 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;} 5097 ( cat <<\_ASBOX 5098 ## ----------------------------------- ## 5099 ## Report this to rappture@nanohub.org ## 5100 ## ----------------------------------- ## 5101 _ASBOX 5102 ) | sed "s/^/$as_me: WARNING: /" >&2 5103 ;; 5104 esac 5105 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5 5106 $as_echo_n "checking for dld.h... " >&6; } 5107 if test "${ac_cv_header_dld_h+set}" = set; then 5108 $as_echo_n "(cached) " >&6 5109 else 5110 ac_cv_header_dld_h=$ac_header_preproc 5111 fi 5112 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5 5113 $as_echo "$ac_cv_header_dld_h" >&6; } 5114 5115 fi 5116 if test "x$ac_cv_header_dld_h" = x""yes; then 4917 5117 4918 5118 SHLIB_LD="ld -shared" … … 4964 5164 NetBSD-*|FreeBSD-[1-2].*) 4965 5165 # Not available on all versions: check for include file. 4966 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 4967 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 5166 if test "${ac_cv_header_dlfcn_h+set}" = set; then 5167 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 5168 $as_echo_n "checking for dlfcn.h... " >&6; } 5169 if test "${ac_cv_header_dlfcn_h+set}" = set; then 5170 $as_echo_n "(cached) " >&6 5171 fi 5172 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 5173 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 5174 else 5175 # Is the header compilable? 5176 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 5177 $as_echo_n "checking dlfcn.h usability... " >&6; } 5178 cat >conftest.$ac_ext <<_ACEOF 5179 /* confdefs.h. */ 5180 _ACEOF 5181 cat confdefs.h >>conftest.$ac_ext 5182 cat >>conftest.$ac_ext <<_ACEOF 5183 /* end confdefs.h. */ 5184 $ac_includes_default 5185 #include <dlfcn.h> 5186 _ACEOF 5187 rm -f conftest.$ac_objext 5188 if { (ac_try="$ac_compile" 5189 case "(($ac_try" in 5190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5191 *) ac_try_echo=$ac_try;; 5192 esac 5193 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5194 $as_echo "$ac_try_echo") >&5 5195 (eval "$ac_compile") 2>conftest.er1 5196 ac_status=$? 5197 grep -v '^ *+' conftest.er1 >conftest.err 5198 rm -f conftest.er1 5199 cat conftest.err >&5 5200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5201 (exit $ac_status); } && { 5202 test -z "$ac_c_werror_flag" || 5203 test ! -s conftest.err 5204 } && test -s conftest.$ac_objext; then 5205 ac_header_compiler=yes 5206 else 5207 $as_echo "$as_me: failed program was:" >&5 5208 sed 's/^/| /' conftest.$ac_ext >&5 5209 5210 ac_header_compiler=no 5211 fi 5212 5213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5214 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5215 $as_echo "$ac_header_compiler" >&6; } 5216 5217 # Is the header present? 5218 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 5219 $as_echo_n "checking dlfcn.h presence... " >&6; } 5220 cat >conftest.$ac_ext <<_ACEOF 5221 /* confdefs.h. */ 5222 _ACEOF 5223 cat confdefs.h >>conftest.$ac_ext 5224 cat >>conftest.$ac_ext <<_ACEOF 5225 /* end confdefs.h. */ 5226 #include <dlfcn.h> 5227 _ACEOF 5228 if { (ac_try="$ac_cpp conftest.$ac_ext" 5229 case "(($ac_try" in 5230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5231 *) ac_try_echo=$ac_try;; 5232 esac 5233 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5234 $as_echo "$ac_try_echo") >&5 5235 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5236 ac_status=$? 5237 grep -v '^ *+' conftest.er1 >conftest.err 5238 rm -f conftest.er1 5239 cat conftest.err >&5 5240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5241 (exit $ac_status); } >/dev/null && { 5242 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5243 test ! -s conftest.err 5244 }; then 5245 ac_header_preproc=yes 5246 else 5247 $as_echo "$as_me: failed program was:" >&5 5248 sed 's/^/| /' conftest.$ac_ext >&5 5249 5250 ac_header_preproc=no 5251 fi 5252 5253 rm -f conftest.err conftest.$ac_ext 5254 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5255 $as_echo "$ac_header_preproc" >&6; } 5256 5257 # So? What about this header? 5258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5259 yes:no: ) 5260 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 5261 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5262 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 5263 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 5264 ac_header_preproc=yes 5265 ;; 5266 no:yes:* ) 5267 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 5268 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 5269 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 5270 $as_echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 5271 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 5272 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 5273 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 5274 $as_echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 5275 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 5276 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 5277 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 5278 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 5279 ( cat <<\_ASBOX 5280 ## ----------------------------------- ## 5281 ## Report this to rappture@nanohub.org ## 5282 ## ----------------------------------- ## 5283 _ASBOX 5284 ) | sed "s/^/$as_me: WARNING: /" >&2 5285 ;; 5286 esac 5287 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 5288 $as_echo_n "checking for dlfcn.h... " >&6; } 5289 if test "${ac_cv_header_dlfcn_h+set}" = set; then 5290 $as_echo_n "(cached) " >&6 5291 else 5292 ac_cv_header_dlfcn_h=$ac_header_preproc 5293 fi 5294 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 5295 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 5296 5297 fi 5298 if test "x$ac_cv_header_dlfcn_h" = x""yes; then 4968 5299 4969 5300 # NetBSD/SPARC needs -fPIC, -fpic will not do. … … 4976 5307 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 4977 5308 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 4978 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ELF" >&55309 { $as_echo "$as_me:$LINENO: checking for ELF" >&5 4979 5310 $as_echo_n "checking for ELF... " >&6; } 4980 if ${tcl_cv_ld_elf+:} false; then :5311 if test "${tcl_cv_ld_elf+set}" = set; then 4981 5312 $as_echo_n "(cached) " >&6 4982 5313 else 4983 5314 4984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5315 cat >conftest.$ac_ext <<_ACEOF 5316 /* confdefs.h. */ 5317 _ACEOF 5318 cat confdefs.h >>conftest.$ac_ext 5319 cat >>conftest.$ac_ext <<_ACEOF 4985 5320 /* end confdefs.h. */ 4986 5321 … … 4991 5326 _ACEOF 4992 5327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4993 $EGREP "yes" >/dev/null 2>&1; then :5328 $EGREP "yes" >/dev/null 2>&1; then 4994 5329 tcl_cv_ld_elf=yes 4995 5330 else … … 4999 5334 5000 5335 fi 5001 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&55336 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 5002 5337 $as_echo "$tcl_cv_ld_elf" >&6; } 5003 5338 if test $tcl_cv_ld_elf = yes; then … … 5058 5393 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 5059 5394 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' 5060 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ELF" >&55395 { $as_echo "$as_me:$LINENO: checking for ELF" >&5 5061 5396 $as_echo_n "checking for ELF... " >&6; } 5062 if ${tcl_cv_ld_elf+:} false; then :5397 if test "${tcl_cv_ld_elf+set}" = set; then 5063 5398 $as_echo_n "(cached) " >&6 5064 5399 else 5065 5400 5066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5401 cat >conftest.$ac_ext <<_ACEOF 5402 /* confdefs.h. */ 5403 _ACEOF 5404 cat confdefs.h >>conftest.$ac_ext 5405 cat >>conftest.$ac_ext <<_ACEOF 5067 5406 /* end confdefs.h. */ 5068 5407 … … 5073 5412 _ACEOF 5074 5413 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5075 $EGREP "yes" >/dev/null 2>&1; then :5414 $EGREP "yes" >/dev/null 2>&1; then 5076 5415 tcl_cv_ld_elf=yes 5077 5416 else … … 5081 5420 5082 5421 fi 5083 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&55422 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 5084 5423 $as_echo "$tcl_cv_ld_elf" >&6; } 5085 5424 if test $tcl_cv_ld_elf = yes; then … … 5136 5475 case `arch` in 5137 5476 ppc) 5138 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&55477 { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5 5139 5478 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } 5140 if ${tcl_cv_cc_arch_ppc64+:} false; then :5479 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then 5141 5480 $as_echo_n "(cached) " >&6 5142 5481 else … … 5144 5483 hold_cflags=$CFLAGS 5145 5484 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" 5146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5485 cat >conftest.$ac_ext <<_ACEOF 5486 /* confdefs.h. */ 5487 _ACEOF 5488 cat confdefs.h >>conftest.$ac_ext 5489 cat >>conftest.$ac_ext <<_ACEOF 5147 5490 /* end confdefs.h. */ 5148 5491 … … 5155 5498 } 5156 5499 _ACEOF 5157 if ac_fn_c_try_link "$LINENO"; then : 5500 rm -f conftest.$ac_objext conftest$ac_exeext 5501 if { (ac_try="$ac_link" 5502 case "(($ac_try" in 5503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5504 *) ac_try_echo=$ac_try;; 5505 esac 5506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5507 $as_echo "$ac_try_echo") >&5 5508 (eval "$ac_link") 2>conftest.er1 5509 ac_status=$? 5510 grep -v '^ *+' conftest.er1 >conftest.err 5511 rm -f conftest.er1 5512 cat conftest.err >&5 5513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5514 (exit $ac_status); } && { 5515 test -z "$ac_c_werror_flag" || 5516 test ! -s conftest.err 5517 } && test -s conftest$ac_exeext && { 5518 test "$cross_compiling" = yes || 5519 $as_test_x conftest$ac_exeext 5520 }; then 5158 5521 tcl_cv_cc_arch_ppc64=yes 5159 5522 else 5160 tcl_cv_cc_arch_ppc64=no 5161 fi 5162 rm -f core conftest.err conftest.$ac_objext \ 5163 conftest$ac_exeext conftest.$ac_ext 5523 $as_echo "$as_me: failed program was:" >&5 5524 sed 's/^/| /' conftest.$ac_ext >&5 5525 5526 tcl_cv_cc_arch_ppc64=no 5527 fi 5528 5529 rm -rf conftest.dSYM 5530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5531 conftest$ac_exeext conftest.$ac_ext 5164 5532 CFLAGS=$hold_cflags 5165 5533 fi 5166 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&55534 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5 5167 5535 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; } 5168 5536 if test $tcl_cv_cc_arch_ppc64 = yes; then … … 5171 5539 fi;; 5172 5540 i386) 5173 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&55541 { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5 5174 5542 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } 5175 if ${tcl_cv_cc_arch_x86_64+:} false; then :5543 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then 5176 5544 $as_echo_n "(cached) " >&6 5177 5545 else … … 5179 5547 hold_cflags=$CFLAGS 5180 5548 CFLAGS="$CFLAGS -arch x86_64" 5181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5549 cat >conftest.$ac_ext <<_ACEOF 5550 /* confdefs.h. */ 5551 _ACEOF 5552 cat confdefs.h >>conftest.$ac_ext 5553 cat >>conftest.$ac_ext <<_ACEOF 5182 5554 /* end confdefs.h. */ 5183 5555 … … 5190 5562 } 5191 5563 _ACEOF 5192 if ac_fn_c_try_link "$LINENO"; then : 5564 rm -f conftest.$ac_objext conftest$ac_exeext 5565 if { (ac_try="$ac_link" 5566 case "(($ac_try" in 5567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5568 *) ac_try_echo=$ac_try;; 5569 esac 5570 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5571 $as_echo "$ac_try_echo") >&5 5572 (eval "$ac_link") 2>conftest.er1 5573 ac_status=$? 5574 grep -v '^ *+' conftest.er1 >conftest.err 5575 rm -f conftest.er1 5576 cat conftest.err >&5 5577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5578 (exit $ac_status); } && { 5579 test -z "$ac_c_werror_flag" || 5580 test ! -s conftest.err 5581 } && test -s conftest$ac_exeext && { 5582 test "$cross_compiling" = yes || 5583 $as_test_x conftest$ac_exeext 5584 }; then 5193 5585 tcl_cv_cc_arch_x86_64=yes 5194 5586 else 5195 tcl_cv_cc_arch_x86_64=no 5196 fi 5197 rm -f core conftest.err conftest.$ac_objext \ 5198 conftest$ac_exeext conftest.$ac_ext 5587 $as_echo "$as_me: failed program was:" >&5 5588 sed 's/^/| /' conftest.$ac_ext >&5 5589 5590 tcl_cv_cc_arch_x86_64=no 5591 fi 5592 5593 rm -rf conftest.dSYM 5594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5595 conftest$ac_exeext conftest.$ac_ext 5199 5596 CFLAGS=$hold_cflags 5200 5597 fi 5201 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&55598 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5 5202 5599 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; } 5203 5600 if test $tcl_cv_cc_arch_x86_64 = yes; then … … 5206 5603 fi;; 5207 5604 *) 5208 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&55605 { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 5209 5606 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; 5210 5607 esac … … 5216 5613 fi 5217 5614 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}' 5218 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&55615 { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5 5219 5616 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 5220 if ${tcl_cv_ld_single_module+:} false; then :5617 if test "${tcl_cv_ld_single_module+set}" = set; then 5221 5618 $as_echo_n "(cached) " >&6 5222 5619 else … … 5224 5621 hold_ldflags=$LDFLAGS 5225 5622 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 5226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5623 cat >conftest.$ac_ext <<_ACEOF 5624 /* confdefs.h. */ 5625 _ACEOF 5626 cat confdefs.h >>conftest.$ac_ext 5627 cat >>conftest.$ac_ext <<_ACEOF 5227 5628 /* end confdefs.h. */ 5228 5629 … … 5235 5636 } 5236 5637 _ACEOF 5237 if ac_fn_c_try_link "$LINENO"; then : 5638 rm -f conftest.$ac_objext conftest$ac_exeext 5639 if { (ac_try="$ac_link" 5640 case "(($ac_try" in 5641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5642 *) ac_try_echo=$ac_try;; 5643 esac 5644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5645 $as_echo "$ac_try_echo") >&5 5646 (eval "$ac_link") 2>conftest.er1 5647 ac_status=$? 5648 grep -v '^ *+' conftest.er1 >conftest.err 5649 rm -f conftest.er1 5650 cat conftest.err >&5 5651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5652 (exit $ac_status); } && { 5653 test -z "$ac_c_werror_flag" || 5654 test ! -s conftest.err 5655 } && test -s conftest$ac_exeext && { 5656 test "$cross_compiling" = yes || 5657 $as_test_x conftest$ac_exeext 5658 }; then 5238 5659 tcl_cv_ld_single_module=yes 5239 5660 else 5240 tcl_cv_ld_single_module=no 5241 fi 5242 rm -f core conftest.err conftest.$ac_objext \ 5243 conftest$ac_exeext conftest.$ac_ext 5661 $as_echo "$as_me: failed program was:" >&5 5662 sed 's/^/| /' conftest.$ac_ext >&5 5663 5664 tcl_cv_ld_single_module=no 5665 fi 5666 5667 rm -rf conftest.dSYM 5668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5669 conftest$ac_exeext conftest.$ac_ext 5244 5670 LDFLAGS=$hold_ldflags 5245 5671 fi 5246 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&55672 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5 5247 5673 $as_echo "$tcl_cv_ld_single_module" >&6; } 5248 5674 if test $tcl_cv_ld_single_module = yes; then … … 5258 5684 LDFLAGS="$LDFLAGS -prebind" 5259 5685 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 5260 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&55686 { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5 5261 5687 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 5262 if ${tcl_cv_ld_search_paths_first+:} false; then :5688 if test "${tcl_cv_ld_search_paths_first+set}" = set; then 5263 5689 $as_echo_n "(cached) " >&6 5264 5690 else … … 5266 5692 hold_ldflags=$LDFLAGS 5267 5693 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 5268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5694 cat >conftest.$ac_ext <<_ACEOF 5695 /* confdefs.h. */ 5696 _ACEOF 5697 cat confdefs.h >>conftest.$ac_ext 5698 cat >>conftest.$ac_ext <<_ACEOF 5269 5699 /* end confdefs.h. */ 5270 5700 … … 5277 5707 } 5278 5708 _ACEOF 5279 if ac_fn_c_try_link "$LINENO"; then : 5709 rm -f conftest.$ac_objext conftest$ac_exeext 5710 if { (ac_try="$ac_link" 5711 case "(($ac_try" in 5712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5713 *) ac_try_echo=$ac_try;; 5714 esac 5715 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5716 $as_echo "$ac_try_echo") >&5 5717 (eval "$ac_link") 2>conftest.er1 5718 ac_status=$? 5719 grep -v '^ *+' conftest.er1 >conftest.err 5720 rm -f conftest.er1 5721 cat conftest.err >&5 5722 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5723 (exit $ac_status); } && { 5724 test -z "$ac_c_werror_flag" || 5725 test ! -s conftest.err 5726 } && test -s conftest$ac_exeext && { 5727 test "$cross_compiling" = yes || 5728 $as_test_x conftest$ac_exeext 5729 }; then 5280 5730 tcl_cv_ld_search_paths_first=yes 5281 5731 else 5282 tcl_cv_ld_search_paths_first=no 5283 fi 5284 rm -f core conftest.err conftest.$ac_objext \ 5285 conftest$ac_exeext conftest.$ac_ext 5732 $as_echo "$as_me: failed program was:" >&5 5733 sed 's/^/| /' conftest.$ac_ext >&5 5734 5735 tcl_cv_ld_search_paths_first=no 5736 fi 5737 5738 rm -rf conftest.dSYM 5739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5740 conftest$ac_exeext conftest.$ac_ext 5286 5741 LDFLAGS=$hold_ldflags 5287 5742 fi 5288 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&55743 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5 5289 5744 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 5290 5745 if test $tcl_cv_ld_search_paths_first = yes; then … … 5296 5751 PLAT_OBJS=\$\(MAC\_OSX_OBJS\) 5297 5752 PLAT_SRCS=\$\(MAC\_OSX_SRCS\) 5298 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether to use CoreFoundation" >&55753 { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5 5299 5754 $as_echo_n "checking whether to use CoreFoundation... " >&6; } 5300 5755 # Check whether --enable-corefoundation was given. 5301 if test "${enable_corefoundation+set}" = set; then :5756 if test "${enable_corefoundation+set}" = set; then 5302 5757 enableval=$enable_corefoundation; tcl_corefoundation=$enableval 5303 5758 else … … 5305 5760 fi 5306 5761 5307 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_corefoundation" >&55762 { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5 5308 5763 $as_echo "$tcl_corefoundation" >&6; } 5309 5764 if test $tcl_corefoundation = yes; then 5310 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for CoreFoundation.framework" >&55765 { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5 5311 5766 $as_echo_n "checking for CoreFoundation.framework... " >&6; } 5312 if ${tcl_cv_lib_corefoundation+:} false; then :5767 if test "${tcl_cv_lib_corefoundation+set}" = set; then 5313 5768 $as_echo_n "(cached) " >&6 5314 5769 else … … 5322 5777 done; fi 5323 5778 LIBS="$LIBS -framework CoreFoundation" 5324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5779 cat >conftest.$ac_ext <<_ACEOF 5780 /* confdefs.h. */ 5781 _ACEOF 5782 cat confdefs.h >>conftest.$ac_ext 5783 cat >>conftest.$ac_ext <<_ACEOF 5325 5784 /* end confdefs.h. */ 5326 5785 #include <CoreFoundation/CoreFoundation.h> … … 5333 5792 } 5334 5793 _ACEOF 5335 if ac_fn_c_try_link "$LINENO"; then : 5794 rm -f conftest.$ac_objext conftest$ac_exeext 5795 if { (ac_try="$ac_link" 5796 case "(($ac_try" in 5797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5798 *) ac_try_echo=$ac_try;; 5799 esac 5800 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5801 $as_echo "$ac_try_echo") >&5 5802 (eval "$ac_link") 2>conftest.er1 5803 ac_status=$? 5804 grep -v '^ *+' conftest.er1 >conftest.err 5805 rm -f conftest.er1 5806 cat conftest.err >&5 5807 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5808 (exit $ac_status); } && { 5809 test -z "$ac_c_werror_flag" || 5810 test ! -s conftest.err 5811 } && test -s conftest$ac_exeext && { 5812 test "$cross_compiling" = yes || 5813 $as_test_x conftest$ac_exeext 5814 }; then 5336 5815 tcl_cv_lib_corefoundation=yes 5337 5816 else 5338 tcl_cv_lib_corefoundation=no 5339 fi 5340 rm -f core conftest.err conftest.$ac_objext \ 5341 conftest$ac_exeext conftest.$ac_ext 5817 $as_echo "$as_me: failed program was:" >&5 5818 sed 's/^/| /' conftest.$ac_ext >&5 5819 5820 tcl_cv_lib_corefoundation=no 5821 fi 5822 5823 rm -rf conftest.dSYM 5824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5825 conftest$ac_exeext conftest.$ac_ext 5342 5826 if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do 5343 5827 eval $v'="$hold_'$v'"' 5344 5828 done; fi; LIBS=$hold_libs 5345 5829 fi 5346 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&55830 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5 5347 5831 $as_echo "$tcl_cv_lib_corefoundation" >&6; } 5348 5832 if test $tcl_cv_lib_corefoundation = yes; then 5349 5833 LIBS="$LIBS -framework CoreFoundation" 5350 $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h 5834 cat >>confdefs.h <<\_ACEOF 5835 #define HAVE_COREFOUNDATION 1 5836 _ACEOF 5351 5837 5352 5838 else … … 5354 5840 fi 5355 5841 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then 5356 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&55842 { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5 5357 5843 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; } 5358 if ${tcl_cv_lib_corefoundation_64+:} false; then :5844 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then 5359 5845 $as_echo_n "(cached) " >&6 5360 5846 else … … 5363 5849 eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' 5364 5850 done 5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5851 cat >conftest.$ac_ext <<_ACEOF 5852 /* confdefs.h. */ 5853 _ACEOF 5854 cat confdefs.h >>conftest.$ac_ext 5855 cat >>conftest.$ac_ext <<_ACEOF 5366 5856 /* end confdefs.h. */ 5367 5857 #include <CoreFoundation/CoreFoundation.h> … … 5374 5864 } 5375 5865 _ACEOF 5376 if ac_fn_c_try_link "$LINENO"; then : 5866 rm -f conftest.$ac_objext conftest$ac_exeext 5867 if { (ac_try="$ac_link" 5868 case "(($ac_try" in 5869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5870 *) ac_try_echo=$ac_try;; 5871 esac 5872 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5873 $as_echo "$ac_try_echo") >&5 5874 (eval "$ac_link") 2>conftest.er1 5875 ac_status=$? 5876 grep -v '^ *+' conftest.er1 >conftest.err 5877 rm -f conftest.er1 5878 cat conftest.err >&5 5879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5880 (exit $ac_status); } && { 5881 test -z "$ac_c_werror_flag" || 5882 test ! -s conftest.err 5883 } && test -s conftest$ac_exeext && { 5884 test "$cross_compiling" = yes || 5885 $as_test_x conftest$ac_exeext 5886 }; then 5377 5887 tcl_cv_lib_corefoundation_64=yes 5378 5888 else 5379 tcl_cv_lib_corefoundation_64=no 5380 fi 5381 rm -f core conftest.err conftest.$ac_objext \ 5382 conftest$ac_exeext conftest.$ac_ext 5889 $as_echo "$as_me: failed program was:" >&5 5890 sed 's/^/| /' conftest.$ac_ext >&5 5891 5892 tcl_cv_lib_corefoundation_64=no 5893 fi 5894 5895 rm -rf conftest.dSYM 5896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5897 conftest$ac_exeext conftest.$ac_ext 5383 5898 for v in CFLAGS CPPFLAGS LDFLAGS; do 5384 5899 eval $v'="$hold_'$v'"' 5385 5900 done 5386 5901 fi 5387 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&55902 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5 5388 5903 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; } 5389 5904 if test $tcl_cv_lib_corefoundation_64 = no; then 5390 $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h 5905 cat >>confdefs.h <<\_ACEOF 5906 #define NO_COREFOUNDATION_64 1 5907 _ACEOF 5391 5908 5392 5909 fi 5393 5910 fi 5394 5911 fi 5395 $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h 5912 cat >>confdefs.h <<\_ACEOF 5913 #define MAC_OSX_TCL 1 5914 _ACEOF 5396 5915 5397 5916 ;; … … 5408 5927 OS/390-*) 5409 5928 CFLAGS_OPTIMIZE="" # Optimizer is buggy 5410 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 5929 cat >>confdefs.h <<\_ACEOF 5930 #define _OE_SOCKETS 1 5931 _ACEOF 5411 5932 # needed in sys/socket.h 5412 5933 ;; … … 5549 6070 # won't define thread-safe library routines. 5550 6071 5551 $as_echo "#define _REENTRANT 1" >>confdefs.h 5552 5553 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 6072 cat >>confdefs.h <<\_ACEOF 6073 #define _REENTRANT 1 6074 _ACEOF 6075 6076 cat >>confdefs.h <<\_ACEOF 6077 #define _POSIX_PTHREAD_SEMANTICS 1 6078 _ACEOF 5554 6079 5555 6080 … … 5577 6102 # won't define thread-safe library routines. 5578 6103 5579 $as_echo "#define _REENTRANT 1" >>confdefs.h 5580 5581 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 6104 cat >>confdefs.h <<\_ACEOF 6105 #define _REENTRANT 1 6106 _ACEOF 6107 6108 cat >>confdefs.h <<\_ACEOF 6109 #define _POSIX_PTHREAD_SEMANTICS 1 6110 _ACEOF 5582 6111 5583 6112 … … 5590 6119 if test "$GCC" = "yes" ; then 5591 6120 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 5592 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&56121 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 5593 6122 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 5594 6123 else … … 5612 6141 elif test "$arch" = "amd64 i386" ; then 5613 6142 if test "$GCC" = "yes" ; then 5614 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&56143 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 5615 6144 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 5616 6145 else … … 5620 6149 fi 5621 6150 else 5622 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&56151 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5 5623 6152 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 5624 6153 fi … … 5679 6208 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 5680 6209 # that don't grok the -Bexport option. Test that it does. 5681 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&56210 { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5 5682 6211 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 5683 if ${tcl_cv_ld_Bexport+:} false; then :6212 if test "${tcl_cv_ld_Bexport+set}" = set; then 5684 6213 $as_echo_n "(cached) " >&6 5685 6214 else … … 5687 6216 hold_ldflags=$LDFLAGS 5688 6217 LDFLAGS="$LDFLAGS -Wl,-Bexport" 5689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6218 cat >conftest.$ac_ext <<_ACEOF 6219 /* confdefs.h. */ 6220 _ACEOF 6221 cat confdefs.h >>conftest.$ac_ext 6222 cat >>conftest.$ac_ext <<_ACEOF 5690 6223 /* end confdefs.h. */ 5691 6224 … … 5698 6231 } 5699 6232 _ACEOF 5700 if ac_fn_c_try_link "$LINENO"; then : 6233 rm -f conftest.$ac_objext conftest$ac_exeext 6234 if { (ac_try="$ac_link" 6235 case "(($ac_try" in 6236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6237 *) ac_try_echo=$ac_try;; 6238 esac 6239 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6240 $as_echo "$ac_try_echo") >&5 6241 (eval "$ac_link") 2>conftest.er1 6242 ac_status=$? 6243 grep -v '^ *+' conftest.er1 >conftest.err 6244 rm -f conftest.er1 6245 cat conftest.err >&5 6246 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6247 (exit $ac_status); } && { 6248 test -z "$ac_c_werror_flag" || 6249 test ! -s conftest.err 6250 } && test -s conftest$ac_exeext && { 6251 test "$cross_compiling" = yes || 6252 $as_test_x conftest$ac_exeext 6253 }; then 5701 6254 tcl_cv_ld_Bexport=yes 5702 6255 else 5703 tcl_cv_ld_Bexport=no 5704 fi 5705 rm -f core conftest.err conftest.$ac_objext \ 5706 conftest$ac_exeext conftest.$ac_ext 6256 $as_echo "$as_me: failed program was:" >&5 6257 sed 's/^/| /' conftest.$ac_ext >&5 6258 6259 tcl_cv_ld_Bexport=no 6260 fi 6261 6262 rm -rf conftest.dSYM 6263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6264 conftest$ac_exeext conftest.$ac_ext 5707 6265 LDFLAGS=$hold_ldflags 5708 6266 fi 5709 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&56267 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5 5710 6268 $as_echo "$tcl_cv_ld_Bexport" >&6; } 5711 6269 if test $tcl_cv_ld_Bexport = yes; then … … 5718 6276 5719 6277 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 5720 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&56278 { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 5721 6279 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 5722 6280 fi … … 5745 6303 5746 6304 if test "x$DL_OBJS" = "xtclLoadAout.o" ; then 5747 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking sys/exec.h" >&56305 { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5 5748 6306 $as_echo_n "checking sys/exec.h... " >&6; } 5749 if ${tcl_cv_sysexec_h+:} false; then :6307 if test "${tcl_cv_sysexec_h+set}" = set; then 5750 6308 $as_echo_n "(cached) " >&6 5751 6309 else 5752 6310 5753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6311 cat >conftest.$ac_ext <<_ACEOF 6312 /* confdefs.h. */ 6313 _ACEOF 6314 cat confdefs.h >>conftest.$ac_ext 6315 cat >>conftest.$ac_ext <<_ACEOF 5754 6316 /* end confdefs.h. */ 5755 6317 #include <sys/exec.h> … … 5773 6335 } 5774 6336 _ACEOF 5775 if ac_fn_c_try_compile "$LINENO"; then : 6337 rm -f conftest.$ac_objext 6338 if { (ac_try="$ac_compile" 6339 case "(($ac_try" in 6340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6341 *) ac_try_echo=$ac_try;; 6342 esac 6343 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6344 $as_echo "$ac_try_echo") >&5 6345 (eval "$ac_compile") 2>conftest.er1 6346 ac_status=$? 6347 grep -v '^ *+' conftest.er1 >conftest.err 6348 rm -f conftest.er1 6349 cat conftest.err >&5 6350 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6351 (exit $ac_status); } && { 6352 test -z "$ac_c_werror_flag" || 6353 test ! -s conftest.err 6354 } && test -s conftest.$ac_objext; then 5776 6355 tcl_cv_sysexec_h=usable 5777 6356 else 5778 tcl_cv_sysexec_h=unusable 5779 fi 6357 $as_echo "$as_me: failed program was:" >&5 6358 sed 's/^/| /' conftest.$ac_ext >&5 6359 6360 tcl_cv_sysexec_h=unusable 6361 fi 6362 5780 6363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5781 6364 fi 5782 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&56365 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5 5783 6366 $as_echo "$tcl_cv_sysexec_h" >&6; } 5784 6367 if test $tcl_cv_sysexec_h = usable; then 5785 $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h 6368 cat >>confdefs.h <<\_ACEOF 6369 #define USE_SYS_EXEC_H 1 6370 _ACEOF 5786 6371 5787 6372 else 5788 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking a.out.h" >&56373 { $as_echo "$as_me:$LINENO: checking a.out.h" >&5 5789 6374 $as_echo_n "checking a.out.h... " >&6; } 5790 if ${tcl_cv_aout_h+:} false; then :6375 if test "${tcl_cv_aout_h+set}" = set; then 5791 6376 $as_echo_n "(cached) " >&6 5792 6377 else 5793 6378 5794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6379 cat >conftest.$ac_ext <<_ACEOF 6380 /* confdefs.h. */ 6381 _ACEOF 6382 cat confdefs.h >>conftest.$ac_ext 6383 cat >>conftest.$ac_ext <<_ACEOF 5795 6384 /* end confdefs.h. */ 5796 6385 #include <a.out.h> … … 5814 6403 } 5815 6404 _ACEOF 5816 if ac_fn_c_try_compile "$LINENO"; then : 6405 rm -f conftest.$ac_objext 6406 if { (ac_try="$ac_compile" 6407 case "(($ac_try" in 6408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6409 *) ac_try_echo=$ac_try;; 6410 esac 6411 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6412 $as_echo "$ac_try_echo") >&5 6413 (eval "$ac_compile") 2>conftest.er1 6414 ac_status=$? 6415 grep -v '^ *+' conftest.er1 >conftest.err 6416 rm -f conftest.er1 6417 cat conftest.err >&5 6418 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6419 (exit $ac_status); } && { 6420 test -z "$ac_c_werror_flag" || 6421 test ! -s conftest.err 6422 } && test -s conftest.$ac_objext; then 5817 6423 tcl_cv_aout_h=usable 5818 6424 else 5819 tcl_cv_aout_h=unusable 5820 fi 6425 $as_echo "$as_me: failed program was:" >&5 6426 sed 's/^/| /' conftest.$ac_ext >&5 6427 6428 tcl_cv_aout_h=unusable 6429 fi 6430 5821 6431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5822 6432 fi 5823 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&56433 { $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5 5824 6434 $as_echo "$tcl_cv_aout_h" >&6; } 5825 6435 if test $tcl_cv_aout_h = usable; then 5826 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h 6436 cat >>confdefs.h <<\_ACEOF 6437 #define USE_A_OUT_H 1 6438 _ACEOF 5827 6439 5828 6440 else 5829 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking sys/exec_aout.h" >&56441 { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5 5830 6442 $as_echo_n "checking sys/exec_aout.h... " >&6; } 5831 if ${tcl_cv_sysexecaout_h+:} false; then :6443 if test "${tcl_cv_sysexecaout_h+set}" = set; then 5832 6444 $as_echo_n "(cached) " >&6 5833 6445 else 5834 6446 5835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6447 cat >conftest.$ac_ext <<_ACEOF 6448 /* confdefs.h. */ 6449 _ACEOF 6450 cat confdefs.h >>conftest.$ac_ext 6451 cat >>conftest.$ac_ext <<_ACEOF 5836 6452 /* end confdefs.h. */ 5837 6453 #include <sys/exec_aout.h> … … 5855 6471 } 5856 6472 _ACEOF 5857 if ac_fn_c_try_compile "$LINENO"; then : 6473 rm -f conftest.$ac_objext 6474 if { (ac_try="$ac_compile" 6475 case "(($ac_try" in 6476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6477 *) ac_try_echo=$ac_try;; 6478 esac 6479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6480 $as_echo "$ac_try_echo") >&5 6481 (eval "$ac_compile") 2>conftest.er1 6482 ac_status=$? 6483 grep -v '^ *+' conftest.er1 >conftest.err 6484 rm -f conftest.er1 6485 cat conftest.err >&5 6486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6487 (exit $ac_status); } && { 6488 test -z "$ac_c_werror_flag" || 6489 test ! -s conftest.err 6490 } && test -s conftest.$ac_objext; then 5858 6491 tcl_cv_sysexecaout_h=usable 5859 6492 else 5860 tcl_cv_sysexecaout_h=unusable 5861 fi 6493 $as_echo "$as_me: failed program was:" >&5 6494 sed 's/^/| /' conftest.$ac_ext >&5 6495 6496 tcl_cv_sysexecaout_h=unusable 6497 fi 6498 5862 6499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5863 6500 fi 5864 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&56501 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5 5865 6502 $as_echo "$tcl_cv_sysexecaout_h" >&6; } 5866 6503 if test $tcl_cv_sysexecaout_h = usable; then 5867 $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h 6504 cat >>confdefs.h <<\_ACEOF 6505 #define USE_SYS_EXEC_AOUT_H 1 6506 _ACEOF 5868 6507 5869 6508 else … … 5877 6516 5878 6517 # Check whether --enable-load was given. 5879 if test "${enable_load+set}" = set; then :6518 if test "${enable_load+set}" = set; then 5880 6519 enableval=$enable_load; tcl_ok=$enableval 5881 6520 else … … 6000 6639 6001 6640 6002 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for X" >&56641 { $as_echo "$as_me:$LINENO: checking for X" >&5 6003 6642 $as_echo_n "checking for X... " >&6; } 6004 6643 6005 6644 6006 6645 # Check whether --with-x was given. 6007 if test "${with_x+set}" = set; then :6646 if test "${with_x+set}" = set; then 6008 6647 withval=$with_x; 6009 6648 fi … … 6015 6654 else 6016 6655 case $x_includes,$x_libraries in #( 6017 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 6018 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 6656 *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5 6657 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;} 6658 { (exit 1); exit 1; }; };; #( 6659 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then 6019 6660 $as_echo_n "(cached) " >&6 6020 6661 else … … 6033 6674 _ACEOF 6034 6675 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 6035 # GNU make sometimes prints "make[1]: Entering 6676 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 6036 6677 for ac_var in incroot usrlibdir libdir; do 6037 6678 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" … … 6064 6705 ac_x_header_dirs=' 6065 6706 /usr/X11/include 6066 /usr/X11R7/include6067 6707 /usr/X11R6/include 6068 6708 /usr/X11R5/include … … 6070 6710 6071 6711 /usr/include/X11 6072 /usr/include/X11R76073 6712 /usr/include/X11R6 6074 6713 /usr/include/X11R5 … … 6076 6715 6077 6716 /usr/local/X11/include 6078 /usr/local/X11R7/include6079 6717 /usr/local/X11R6/include 6080 6718 /usr/local/X11R5/include … … 6082 6720 6083 6721 /usr/local/include/X11 6084 /usr/local/include/X11R76085 6722 /usr/local/include/X11R6 6086 6723 /usr/local/include/X11R5 … … 6104 6741 # Guess where to find include files, by looking for Xlib.h. 6105 6742 # First, try using that file with no special directory specified. 6106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6743 cat >conftest.$ac_ext <<_ACEOF 6744 /* confdefs.h. */ 6745 _ACEOF 6746 cat confdefs.h >>conftest.$ac_ext 6747 cat >>conftest.$ac_ext <<_ACEOF 6107 6748 /* end confdefs.h. */ 6108 6749 #include <X11/Xlib.h> 6109 6750 _ACEOF 6110 if ac_fn_c_try_cpp "$LINENO"; then : 6751 if { (ac_try="$ac_cpp conftest.$ac_ext" 6752 case "(($ac_try" in 6753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6754 *) ac_try_echo=$ac_try;; 6755 esac 6756 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6757 $as_echo "$ac_try_echo") >&5 6758 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6759 ac_status=$? 6760 grep -v '^ *+' conftest.er1 >conftest.err 6761 rm -f conftest.er1 6762 cat conftest.err >&5 6763 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6764 (exit $ac_status); } >/dev/null && { 6765 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6766 test ! -s conftest.err 6767 }; then 6111 6768 # We can compile using X headers with no special include directory. 6112 6769 ac_x_includes= 6113 6770 else 6771 $as_echo "$as_me: failed program was:" >&5 6772 sed 's/^/| /' conftest.$ac_ext >&5 6773 6114 6774 for ac_dir in $ac_x_header_dirs; do 6115 6775 if test -r "$ac_dir/X11/Xlib.h"; then … … 6119 6779 done 6120 6780 fi 6121 rm -f conftest.err conftest.i conftest.$ac_ext 6781 6782 rm -f conftest.err conftest.$ac_ext 6122 6783 fi # $ac_x_includes = no 6123 6784 … … 6128 6789 ac_save_LIBS=$LIBS 6129 6790 LIBS="-lX11 $LIBS" 6130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6791 cat >conftest.$ac_ext <<_ACEOF 6792 /* confdefs.h. */ 6793 _ACEOF 6794 cat confdefs.h >>conftest.$ac_ext 6795 cat >>conftest.$ac_ext <<_ACEOF 6131 6796 /* end confdefs.h. */ 6132 6797 #include <X11/Xlib.h> … … 6139 6804 } 6140 6805 _ACEOF 6141 if ac_fn_c_try_link "$LINENO"; then : 6806 rm -f conftest.$ac_objext conftest$ac_exeext 6807 if { (ac_try="$ac_link" 6808 case "(($ac_try" in 6809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6810 *) ac_try_echo=$ac_try;; 6811 esac 6812 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6813 $as_echo "$ac_try_echo") >&5 6814 (eval "$ac_link") 2>conftest.er1 6815 ac_status=$? 6816 grep -v '^ *+' conftest.er1 >conftest.err 6817 rm -f conftest.er1 6818 cat conftest.err >&5 6819 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6820 (exit $ac_status); } && { 6821 test -z "$ac_c_werror_flag" || 6822 test ! -s conftest.err 6823 } && test -s conftest$ac_exeext && { 6824 test "$cross_compiling" = yes || 6825 $as_test_x conftest$ac_exeext 6826 }; then 6142 6827 LIBS=$ac_save_LIBS 6143 6828 # We can link X programs with no special library path. 6144 6829 ac_x_libraries= 6145 6830 else 6146 LIBS=$ac_save_LIBS 6831 $as_echo "$as_me: failed program was:" >&5 6832 sed 's/^/| /' conftest.$ac_ext >&5 6833 6834 LIBS=$ac_save_LIBS 6147 6835 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 6148 6836 do … … 6156 6844 done 6157 6845 fi 6158 rm -f core conftest.err conftest.$ac_objext \ 6159 conftest$ac_exeext conftest.$ac_ext 6846 6847 rm -rf conftest.dSYM 6848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6849 conftest$ac_exeext conftest.$ac_ext 6160 6850 fi # $ac_x_libraries = no 6161 6851 … … 6178 6868 6179 6869 if test "$have_x" != yes; then 6180 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $have_x" >&56870 { $as_echo "$as_me:$LINENO: result: $have_x" >&5 6181 6871 $as_echo "$have_x" >&6; } 6182 6872 no_x=yes … … 6189 6879 ac_x_includes='$x_includes'\ 6190 6880 ac_x_libraries='$x_libraries'" 6191 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&56881 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 6192 6882 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } 6193 6883 fi … … 6208 6898 # ./install, which can be erroneously created by make from ./install.sh. 6209 6899 # Reject install programs that cannot install multiple files. 6210 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for a BSD-compatible install" >&56900 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 6211 6901 $as_echo_n "checking for a BSD-compatible install... " >&6; } 6212 6902 if test -z "$INSTALL"; then 6213 if ${ac_cv_path_install+:} false; then :6903 if test "${ac_cv_path_install+set}" = set; then 6214 6904 $as_echo_n "(cached) " >&6 6215 6905 else … … 6219 6909 IFS=$as_save_IFS 6220 6910 test -z "$as_dir" && as_dir=. 6221 6222 case $as_dir/ in #((6223 ./ | .// | / [cC]/* | \6911 # Account for people who put trailing slashes in PATH elements. 6912 case $as_dir/ in 6913 ./ | .// | /cC/* | \ 6224 6914 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 6225 ?: [\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \6915 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 6226 6916 /usr/ucb/* ) ;; 6227 6917 *) … … 6260 6950 esac 6261 6951 6262 6952 done 6263 6953 IFS=$as_save_IFS 6264 6954 … … 6276 6966 fi 6277 6967 fi 6278 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $INSTALL" >&56968 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 6279 6969 $as_echo "$INSTALL" >&6; } 6280 6970 … … 6290 6980 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6291 6981 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6292 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&56982 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6293 6983 $as_echo_n "checking for $ac_word... " >&6; } 6294 if ${ac_cv_prog_RANLIB+:} false; then :6984 if test "${ac_cv_prog_RANLIB+set}" = set; then 6295 6985 $as_echo_n "(cached) " >&6 6296 6986 else … … 6303 6993 IFS=$as_save_IFS 6304 6994 test -z "$as_dir" && as_dir=. 6305 6995 for ac_exec_ext in '' $ac_executable_extensions; do 6306 6996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6307 6997 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6308 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56998 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6309 6999 break 2 6310 7000 fi 6311 7001 done 6312 7002 done 6313 7003 IFS=$as_save_IFS 6314 7004 … … 6317 7007 RANLIB=$ac_cv_prog_RANLIB 6318 7008 if test -n "$RANLIB"; then 6319 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $RANLIB" >&57009 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 6320 7010 $as_echo "$RANLIB" >&6; } 6321 7011 else 6322 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57012 { $as_echo "$as_me:$LINENO: result: no" >&5 6323 7013 $as_echo "no" >&6; } 6324 7014 fi … … 6330 7020 # Extract the first word of "ranlib", so it can be a program name with args. 6331 7021 set dummy ranlib; ac_word=$2 6332 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57022 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6333 7023 $as_echo_n "checking for $ac_word... " >&6; } 6334 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :7024 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 6335 7025 $as_echo_n "(cached) " >&6 6336 7026 else … … 6343 7033 IFS=$as_save_IFS 6344 7034 test -z "$as_dir" && as_dir=. 6345 7035 for ac_exec_ext in '' $ac_executable_extensions; do 6346 7036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6347 7037 ac_cv_prog_ac_ct_RANLIB="ranlib" 6348 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57038 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6349 7039 break 2 6350 7040 fi 6351 7041 done 6352 7042 done 6353 7043 IFS=$as_save_IFS 6354 7044 … … 6357 7047 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6358 7048 if test -n "$ac_ct_RANLIB"; then 6359 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&57049 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 6360 7050 $as_echo "$ac_ct_RANLIB" >&6; } 6361 7051 else 6362 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57052 { $as_echo "$as_me:$LINENO: result: no" >&5 6363 7053 $as_echo "no" >&6; } 6364 7054 fi … … 6369 7059 case $cross_compiling:$ac_tool_warned in 6370 7060 yes:) 6371 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57061 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6372 7062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6373 7063 ac_tool_warned=yes ;; … … 6379 7069 fi 6380 7070 6381 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether ln -s works" >&57071 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 6382 7072 $as_echo_n "checking whether ln -s works... " >&6; } 6383 7073 LN_S=$as_ln_s 6384 7074 if test "$LN_S" = "ln -s"; then 6385 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: yes" >&57075 { $as_echo "$as_me:$LINENO: result: yes" >&5 6386 7076 $as_echo "yes" >&6; } 6387 7077 else 6388 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no, using $LN_S" >&57078 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 6389 7079 $as_echo "no, using $LN_S" >&6; } 6390 7080 fi 6391 7081 6392 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&57082 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 6393 7083 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 6394 7084 if test -z "$MKDIR_P"; then 6395 if ${ac_cv_path_mkdir+:} false; then :7085 if test "${ac_cv_path_mkdir+set}" = set; then 6396 7086 $as_echo_n "(cached) " >&6 6397 7087 else … … 6401 7091 IFS=$as_save_IFS 6402 7092 test -z "$as_dir" && as_dir=. 6403 7093 for ac_prog in mkdir gmkdir; do 6404 7094 for ac_exec_ext in '' $ac_executable_extensions; do 6405 7095 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue … … 6413 7103 done 6414 7104 done 6415 7105 done 6416 7106 IFS=$as_save_IFS 6417 7107 6418 7108 fi 6419 7109 6420 test -d ./--version && rmdir ./--version6421 7110 if test "${ac_cv_path_mkdir+set}" = set; then 6422 7111 MKDIR_P="$ac_cv_path_mkdir -p" … … 6426 7115 # break other packages using the cache if that directory is 6427 7116 # removed, or if the value is a relative name. 7117 test -d ./--version && rmdir ./--version 6428 7118 MKDIR_P="$ac_install_sh -d" 6429 7119 fi 6430 7120 fi 6431 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $MKDIR_P" >&57121 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 6432 7122 $as_echo "$MKDIR_P" >&6; } 6433 7123 … … 6441 7131 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 6442 7132 set dummy ${ac_tool_prefix}gcc; ac_word=$2 6443 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57133 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6444 7134 $as_echo_n "checking for $ac_word... " >&6; } 6445 if ${ac_cv_prog_CC+:} false; then :7135 if test "${ac_cv_prog_CC+set}" = set; then 6446 7136 $as_echo_n "(cached) " >&6 6447 7137 else … … 6454 7144 IFS=$as_save_IFS 6455 7145 test -z "$as_dir" && as_dir=. 6456 7146 for ac_exec_ext in '' $ac_executable_extensions; do 6457 7147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6458 7148 ac_cv_prog_CC="${ac_tool_prefix}gcc" 6459 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57149 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6460 7150 break 2 6461 7151 fi 6462 7152 done 6463 7153 done 6464 7154 IFS=$as_save_IFS 6465 7155 … … 6468 7158 CC=$ac_cv_prog_CC 6469 7159 if test -n "$CC"; then 6470 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&57160 { $as_echo "$as_me:$LINENO: result: $CC" >&5 6471 7161 $as_echo "$CC" >&6; } 6472 7162 else 6473 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57163 { $as_echo "$as_me:$LINENO: result: no" >&5 6474 7164 $as_echo "no" >&6; } 6475 7165 fi … … 6481 7171 # Extract the first word of "gcc", so it can be a program name with args. 6482 7172 set dummy gcc; ac_word=$2 6483 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57173 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6484 7174 $as_echo_n "checking for $ac_word... " >&6; } 6485 if ${ac_cv_prog_ac_ct_CC+:} false; then :7175 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 6486 7176 $as_echo_n "(cached) " >&6 6487 7177 else … … 6494 7184 IFS=$as_save_IFS 6495 7185 test -z "$as_dir" && as_dir=. 6496 7186 for ac_exec_ext in '' $ac_executable_extensions; do 6497 7187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6498 7188 ac_cv_prog_ac_ct_CC="gcc" 6499 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57189 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6500 7190 break 2 6501 7191 fi 6502 7192 done 6503 7193 done 6504 7194 IFS=$as_save_IFS 6505 7195 … … 6508 7198 ac_ct_CC=$ac_cv_prog_ac_ct_CC 6509 7199 if test -n "$ac_ct_CC"; then 6510 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&57200 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 6511 7201 $as_echo "$ac_ct_CC" >&6; } 6512 7202 else 6513 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57203 { $as_echo "$as_me:$LINENO: result: no" >&5 6514 7204 $as_echo "no" >&6; } 6515 7205 fi … … 6520 7210 case $cross_compiling:$ac_tool_warned in 6521 7211 yes:) 6522 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57212 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6523 7213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6524 7214 ac_tool_warned=yes ;; … … 6534 7224 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 6535 7225 set dummy ${ac_tool_prefix}cc; ac_word=$2 6536 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57226 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6537 7227 $as_echo_n "checking for $ac_word... " >&6; } 6538 if ${ac_cv_prog_CC+:} false; then :7228 if test "${ac_cv_prog_CC+set}" = set; then 6539 7229 $as_echo_n "(cached) " >&6 6540 7230 else … … 6547 7237 IFS=$as_save_IFS 6548 7238 test -z "$as_dir" && as_dir=. 6549 7239 for ac_exec_ext in '' $ac_executable_extensions; do 6550 7240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6551 7241 ac_cv_prog_CC="${ac_tool_prefix}cc" 6552 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57242 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6553 7243 break 2 6554 7244 fi 6555 7245 done 6556 7246 done 6557 7247 IFS=$as_save_IFS 6558 7248 … … 6561 7251 CC=$ac_cv_prog_CC 6562 7252 if test -n "$CC"; then 6563 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&57253 { $as_echo "$as_me:$LINENO: result: $CC" >&5 6564 7254 $as_echo "$CC" >&6; } 6565 7255 else 6566 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57256 { $as_echo "$as_me:$LINENO: result: no" >&5 6567 7257 $as_echo "no" >&6; } 6568 7258 fi … … 6574 7264 # Extract the first word of "cc", so it can be a program name with args. 6575 7265 set dummy cc; ac_word=$2 6576 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57266 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6577 7267 $as_echo_n "checking for $ac_word... " >&6; } 6578 if ${ac_cv_prog_CC+:} false; then :7268 if test "${ac_cv_prog_CC+set}" = set; then 6579 7269 $as_echo_n "(cached) " >&6 6580 7270 else … … 6588 7278 IFS=$as_save_IFS 6589 7279 test -z "$as_dir" && as_dir=. 6590 7280 for ac_exec_ext in '' $ac_executable_extensions; do 6591 7281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6592 7282 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 6595 7285 fi 6596 7286 ac_cv_prog_CC="cc" 6597 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57287 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6598 7288 break 2 6599 7289 fi 6600 7290 done 6601 7291 done 6602 7292 IFS=$as_save_IFS 6603 7293 … … 6618 7308 CC=$ac_cv_prog_CC 6619 7309 if test -n "$CC"; then 6620 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&57310 { $as_echo "$as_me:$LINENO: result: $CC" >&5 6621 7311 $as_echo "$CC" >&6; } 6622 7312 else 6623 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57313 { $as_echo "$as_me:$LINENO: result: no" >&5 6624 7314 $as_echo "no" >&6; } 6625 7315 fi … … 6633 7323 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6634 7324 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6635 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57325 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6636 7326 $as_echo_n "checking for $ac_word... " >&6; } 6637 if ${ac_cv_prog_CC+:} false; then :7327 if test "${ac_cv_prog_CC+set}" = set; then 6638 7328 $as_echo_n "(cached) " >&6 6639 7329 else … … 6646 7336 IFS=$as_save_IFS 6647 7337 test -z "$as_dir" && as_dir=. 6648 7338 for ac_exec_ext in '' $ac_executable_extensions; do 6649 7339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6650 7340 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 6651 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57341 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6652 7342 break 2 6653 7343 fi 6654 7344 done 6655 7345 done 6656 7346 IFS=$as_save_IFS 6657 7347 … … 6660 7350 CC=$ac_cv_prog_CC 6661 7351 if test -n "$CC"; then 6662 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CC" >&57352 { $as_echo "$as_me:$LINENO: result: $CC" >&5 6663 7353 $as_echo "$CC" >&6; } 6664 7354 else 6665 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57355 { $as_echo "$as_me:$LINENO: result: no" >&5 6666 7356 $as_echo "no" >&6; } 6667 7357 fi … … 6677 7367 # Extract the first word of "$ac_prog", so it can be a program name with args. 6678 7368 set dummy $ac_prog; ac_word=$2 6679 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&57369 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6680 7370 $as_echo_n "checking for $ac_word... " >&6; } 6681 if ${ac_cv_prog_ac_ct_CC+:} false; then :7371 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 6682 7372 $as_echo_n "(cached) " >&6 6683 7373 else … … 6690 7380 IFS=$as_save_IFS 6691 7381 test -z "$as_dir" && as_dir=. 6692 7382 for ac_exec_ext in '' $ac_executable_extensions; do 6693 7383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6694 7384 ac_cv_prog_ac_ct_CC="$ac_prog" 6695 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57385 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6696 7386 break 2 6697 7387 fi 6698 7388 done 6699 7389 done 6700 7390 IFS=$as_save_IFS 6701 7391 … … 6704 7394 ac_ct_CC=$ac_cv_prog_ac_ct_CC 6705 7395 if test -n "$ac_ct_CC"; then 6706 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CC" >&57396 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 6707 7397 $as_echo "$ac_ct_CC" >&6; } 6708 7398 else 6709 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&57399 { $as_echo "$as_me:$LINENO: result: no" >&5 6710 7400 $as_echo "no" >&6; } 6711 7401 fi … … 6720 7410 case $cross_compiling:$ac_tool_warned in 6721 7411 yes:) 6722 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57412 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6723 7413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6724 7414 ac_tool_warned=yes ;; … … 6731 7421 6732 7422 6733 test -z "$CC" && { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&57423 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 6734 7424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6735 as_fn_error $? "no acceptable C compiler found in \$PATH 6736 See \`config.log' for more details" "$LINENO" 5; } 7425 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 7426 See \`config.log' for more details." >&5 7427 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 7428 See \`config.log' for more details." >&2;} 7429 { (exit 1); exit 1; }; }; } 6737 7430 6738 7431 # Provide some information about the compiler. 6739 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C compiler version" >&57432 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 6740 7433 set X $ac_compile 6741 7434 ac_compiler=$2 6742 for ac_option in --version -v -V -qversion; do 6743 { { ac_try="$ac_compiler $ac_option >&5" 7435 { (ac_try="$ac_compiler --version >&5" 6744 7436 case "(($ac_try" in 6745 7437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6746 7438 *) ac_try_echo=$ac_try;; 6747 7439 esac 6748 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""6749 $as_echo "$ac_try_echo" ; }>&56750 (eval "$ac_compiler $ac_option >&5") 2>conftest.err7440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7441 $as_echo "$ac_try_echo") >&5 7442 (eval "$ac_compiler --version >&5") 2>&5 6751 7443 ac_status=$? 6752 if test -s conftest.err; then 6753 sed '10a\ 6754 ... rest of stderr output deleted ... 6755 10q' conftest.err >conftest.er1 6756 cat conftest.er1 >&5 6757 fi 6758 rm -f conftest.er1 conftest.err 6759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6760 test $ac_status = 0; } 6761 done 6762 6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 7444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7445 (exit $ac_status); } 7446 { (ac_try="$ac_compiler -v >&5" 7447 case "(($ac_try" in 7448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7449 *) ac_try_echo=$ac_try;; 7450 esac 7451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7452 $as_echo "$ac_try_echo") >&5 7453 (eval "$ac_compiler -v >&5") 2>&5 7454 ac_status=$? 7455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7456 (exit $ac_status); } 7457 { (ac_try="$ac_compiler -V >&5" 7458 case "(($ac_try" in 7459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7460 *) ac_try_echo=$ac_try;; 7461 esac 7462 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7463 $as_echo "$ac_try_echo") >&5 7464 (eval "$ac_compiler -V >&5") 2>&5 7465 ac_status=$? 7466 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7467 (exit $ac_status); } 7468 7469 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 6764 7470 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 6765 if ${ac_cv_c_compiler_gnu+:} false; then :7471 if test "${ac_cv_c_compiler_gnu+set}" = set; then 6766 7472 $as_echo_n "(cached) " >&6 6767 7473 else 6768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7474 cat >conftest.$ac_ext <<_ACEOF 7475 /* confdefs.h. */ 7476 _ACEOF 7477 cat confdefs.h >>conftest.$ac_ext 7478 cat >>conftest.$ac_ext <<_ACEOF 6769 7479 /* end confdefs.h. */ 6770 7480 … … 6780 7490 } 6781 7491 _ACEOF 6782 if ac_fn_c_try_compile "$LINENO"; then : 7492 rm -f conftest.$ac_objext 7493 if { (ac_try="$ac_compile" 7494 case "(($ac_try" in 7495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7496 *) ac_try_echo=$ac_try;; 7497 esac 7498 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7499 $as_echo "$ac_try_echo") >&5 7500 (eval "$ac_compile") 2>conftest.er1 7501 ac_status=$? 7502 grep -v '^ *+' conftest.er1 >conftest.err 7503 rm -f conftest.er1 7504 cat conftest.err >&5 7505 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7506 (exit $ac_status); } && { 7507 test -z "$ac_c_werror_flag" || 7508 test ! -s conftest.err 7509 } && test -s conftest.$ac_objext; then 6783 7510 ac_compiler_gnu=yes 6784 7511 else 6785 ac_compiler_gnu=no 6786 fi 7512 $as_echo "$as_me: failed program was:" >&5 7513 sed 's/^/| /' conftest.$ac_ext >&5 7514 7515 ac_compiler_gnu=no 7516 fi 7517 6787 7518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6788 7519 ac_cv_c_compiler_gnu=$ac_compiler_gnu 6789 7520 6790 7521 fi 6791 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&57522 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 6792 7523 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 6793 7524 if test $ac_compiler_gnu = yes; then … … 6798 7529 ac_test_CFLAGS=${CFLAGS+set} 6799 7530 ac_save_CFLAGS=$CFLAGS 6800 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CC accepts -g" >&57531 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 6801 7532 $as_echo_n "checking whether $CC accepts -g... " >&6; } 6802 if ${ac_cv_prog_cc_g+:} false; then :7533 if test "${ac_cv_prog_cc_g+set}" = set; then 6803 7534 $as_echo_n "(cached) " >&6 6804 7535 else … … 6807 7538 ac_cv_prog_cc_g=no 6808 7539 CFLAGS="-g" 6809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7540 cat >conftest.$ac_ext <<_ACEOF 7541 /* confdefs.h. */ 7542 _ACEOF 7543 cat confdefs.h >>conftest.$ac_ext 7544 cat >>conftest.$ac_ext <<_ACEOF 6810 7545 /* end confdefs.h. */ 6811 7546 … … 6818 7553 } 6819 7554 _ACEOF 6820 if ac_fn_c_try_compile "$LINENO"; then : 7555 rm -f conftest.$ac_objext 7556 if { (ac_try="$ac_compile" 7557 case "(($ac_try" in 7558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7559 *) ac_try_echo=$ac_try;; 7560 esac 7561 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7562 $as_echo "$ac_try_echo") >&5 7563 (eval "$ac_compile") 2>conftest.er1 7564 ac_status=$? 7565 grep -v '^ *+' conftest.er1 >conftest.err 7566 rm -f conftest.er1 7567 cat conftest.err >&5 7568 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7569 (exit $ac_status); } && { 7570 test -z "$ac_c_werror_flag" || 7571 test ! -s conftest.err 7572 } && test -s conftest.$ac_objext; then 6821 7573 ac_cv_prog_cc_g=yes 6822 7574 else 6823 CFLAGS="" 6824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7575 $as_echo "$as_me: failed program was:" >&5 7576 sed 's/^/| /' conftest.$ac_ext >&5 7577 7578 CFLAGS="" 7579 cat >conftest.$ac_ext <<_ACEOF 7580 /* confdefs.h. */ 7581 _ACEOF 7582 cat confdefs.h >>conftest.$ac_ext 7583 cat >>conftest.$ac_ext <<_ACEOF 6825 7584 /* end confdefs.h. */ 6826 7585 … … 6833 7592 } 6834 7593 _ACEOF 6835 if ac_fn_c_try_compile "$LINENO"; then : 6836 6837 else 6838 ac_c_werror_flag=$ac_save_c_werror_flag 7594 rm -f conftest.$ac_objext 7595 if { (ac_try="$ac_compile" 7596 case "(($ac_try" in 7597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7598 *) ac_try_echo=$ac_try;; 7599 esac 7600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7601 $as_echo "$ac_try_echo") >&5 7602 (eval "$ac_compile") 2>conftest.er1 7603 ac_status=$? 7604 grep -v '^ *+' conftest.er1 >conftest.err 7605 rm -f conftest.er1 7606 cat conftest.err >&5 7607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7608 (exit $ac_status); } && { 7609 test -z "$ac_c_werror_flag" || 7610 test ! -s conftest.err 7611 } && test -s conftest.$ac_objext; then 7612 : 7613 else 7614 $as_echo "$as_me: failed program was:" >&5 7615 sed 's/^/| /' conftest.$ac_ext >&5 7616 7617 ac_c_werror_flag=$ac_save_c_werror_flag 6839 7618 CFLAGS="-g" 6840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7619 cat >conftest.$ac_ext <<_ACEOF 7620 /* confdefs.h. */ 7621 _ACEOF 7622 cat confdefs.h >>conftest.$ac_ext 7623 cat >>conftest.$ac_ext <<_ACEOF 6841 7624 /* end confdefs.h. */ 6842 7625 … … 6849 7632 } 6850 7633 _ACEOF 6851 if ac_fn_c_try_compile "$LINENO"; then : 7634 rm -f conftest.$ac_objext 7635 if { (ac_try="$ac_compile" 7636 case "(($ac_try" in 7637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7638 *) ac_try_echo=$ac_try;; 7639 esac 7640 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7641 $as_echo "$ac_try_echo") >&5 7642 (eval "$ac_compile") 2>conftest.er1 7643 ac_status=$? 7644 grep -v '^ *+' conftest.er1 >conftest.err 7645 rm -f conftest.er1 7646 cat conftest.err >&5 7647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7648 (exit $ac_status); } && { 7649 test -z "$ac_c_werror_flag" || 7650 test ! -s conftest.err 7651 } && test -s conftest.$ac_objext; then 6852 7652 ac_cv_prog_cc_g=yes 6853 fi 7653 else 7654 $as_echo "$as_me: failed program was:" >&5 7655 sed 's/^/| /' conftest.$ac_ext >&5 7656 7657 7658 fi 7659 6854 7660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6855 7661 fi 7662 6856 7663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6857 7664 fi 7665 6858 7666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6859 7667 ac_c_werror_flag=$ac_save_c_werror_flag 6860 7668 fi 6861 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&57669 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 6862 7670 $as_echo "$ac_cv_prog_cc_g" >&6; } 6863 7671 if test "$ac_test_CFLAGS" = set; then … … 6876 7684 fi 6877 7685 fi 6878 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&57686 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 6879 7687 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 6880 if ${ac_cv_prog_cc_c89+:} false; then :7688 if test "${ac_cv_prog_cc_c89+set}" = set; then 6881 7689 $as_echo_n "(cached) " >&6 6882 7690 else 6883 7691 ac_cv_prog_cc_c89=no 6884 7692 ac_save_CC=$CC 6885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7693 cat >conftest.$ac_ext <<_ACEOF 7694 /* confdefs.h. */ 7695 _ACEOF 7696 cat confdefs.h >>conftest.$ac_ext 7697 cat >>conftest.$ac_ext <<_ACEOF 6886 7698 /* end confdefs.h. */ 6887 7699 #include <stdarg.h> … … 6940 7752 do 6941 7753 CC="$ac_save_CC $ac_arg" 6942 if ac_fn_c_try_compile "$LINENO"; then : 7754 rm -f conftest.$ac_objext 7755 if { (ac_try="$ac_compile" 7756 case "(($ac_try" in 7757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7758 *) ac_try_echo=$ac_try;; 7759 esac 7760 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7761 $as_echo "$ac_try_echo") >&5 7762 (eval "$ac_compile") 2>conftest.er1 7763 ac_status=$? 7764 grep -v '^ *+' conftest.er1 >conftest.err 7765 rm -f conftest.er1 7766 cat conftest.err >&5 7767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7768 (exit $ac_status); } && { 7769 test -z "$ac_c_werror_flag" || 7770 test ! -s conftest.err 7771 } && test -s conftest.$ac_objext; then 6943 7772 ac_cv_prog_cc_c89=$ac_arg 6944 fi 7773 else 7774 $as_echo "$as_me: failed program was:" >&5 7775 sed 's/^/| /' conftest.$ac_ext >&5 7776 7777 7778 fi 7779 6945 7780 rm -f core conftest.err conftest.$ac_objext 6946 7781 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 6953 7788 case "x$ac_cv_prog_cc_c89" in 6954 7789 x) 6955 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: none needed" >&57790 { $as_echo "$as_me:$LINENO: result: none needed" >&5 6956 7791 $as_echo "none needed" >&6; } ;; 6957 7792 xno) 6958 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: unsupported" >&57793 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 6959 7794 $as_echo "unsupported" >&6; } ;; 6960 7795 *) 6961 7796 CC="$CC $ac_cv_prog_cc_c89" 6962 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&57797 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 6963 7798 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 6964 7799 esac 6965 if test "x$ac_cv_prog_cc_c89" != xno; then : 6966 6967 fi 7800 6968 7801 6969 7802 ac_ext=c … … 6978 7811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6979 7812 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6980 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to run the C preprocessor" >&57813 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 6981 7814 $as_echo_n "checking how to run the C preprocessor... " >&6; } 6982 7815 # On Suns, sometimes $CPP names a directory. … … 6985 7818 fi 6986 7819 if test -z "$CPP"; then 6987 if ${ac_cv_prog_CPP+:} false; then :7820 if test "${ac_cv_prog_CPP+set}" = set; then 6988 7821 $as_echo_n "(cached) " >&6 6989 7822 else … … 7000 7833 # On the NeXT, cc -E runs the code through the compiler's parser, 7001 7834 # not just through cpp. "Syntax error" is here to catch this case. 7002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7835 cat >conftest.$ac_ext <<_ACEOF 7836 /* confdefs.h. */ 7837 _ACEOF 7838 cat confdefs.h >>conftest.$ac_ext 7839 cat >>conftest.$ac_ext <<_ACEOF 7003 7840 /* end confdefs.h. */ 7004 7841 #ifdef __STDC__ … … 7009 7846 Syntax error 7010 7847 _ACEOF 7011 if ac_fn_c_try_cpp "$LINENO"; then : 7012 7013 else 7848 if { (ac_try="$ac_cpp conftest.$ac_ext" 7849 case "(($ac_try" in 7850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7851 *) ac_try_echo=$ac_try;; 7852 esac 7853 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7854 $as_echo "$ac_try_echo") >&5 7855 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7856 ac_status=$? 7857 grep -v '^ *+' conftest.er1 >conftest.err 7858 rm -f conftest.er1 7859 cat conftest.err >&5 7860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7861 (exit $ac_status); } >/dev/null && { 7862 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7863 test ! -s conftest.err 7864 }; then 7865 : 7866 else 7867 $as_echo "$as_me: failed program was:" >&5 7868 sed 's/^/| /' conftest.$ac_ext >&5 7869 7014 7870 # Broken: fails on valid input. 7015 7871 continue 7016 7872 fi 7017 rm -f conftest.err conftest.i conftest.$ac_ext 7873 7874 rm -f conftest.err conftest.$ac_ext 7018 7875 7019 7876 # OK, works on sane cases. Now check whether nonexistent headers 7020 7877 # can be detected and how. 7021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7878 cat >conftest.$ac_ext <<_ACEOF 7879 /* confdefs.h. */ 7880 _ACEOF 7881 cat confdefs.h >>conftest.$ac_ext 7882 cat >>conftest.$ac_ext <<_ACEOF 7022 7883 /* end confdefs.h. */ 7023 7884 #include <ac_nonexistent.h> 7024 7885 _ACEOF 7025 if ac_fn_c_try_cpp "$LINENO"; then : 7886 if { (ac_try="$ac_cpp conftest.$ac_ext" 7887 case "(($ac_try" in 7888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7889 *) ac_try_echo=$ac_try;; 7890 esac 7891 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7892 $as_echo "$ac_try_echo") >&5 7893 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7894 ac_status=$? 7895 grep -v '^ *+' conftest.er1 >conftest.err 7896 rm -f conftest.er1 7897 cat conftest.err >&5 7898 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7899 (exit $ac_status); } >/dev/null && { 7900 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7901 test ! -s conftest.err 7902 }; then 7026 7903 # Broken: success on invalid input. 7027 7904 continue 7028 7905 else 7906 $as_echo "$as_me: failed program was:" >&5 7907 sed 's/^/| /' conftest.$ac_ext >&5 7908 7029 7909 # Passes both tests. 7030 7910 ac_preproc_ok=: 7031 7911 break 7032 7912 fi 7033 rm -f conftest.err conftest.i conftest.$ac_ext 7913 7914 rm -f conftest.err conftest.$ac_ext 7034 7915 7035 7916 done 7036 7917 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7037 rm -f conftest. i conftest.err conftest.$ac_ext7038 if $ac_preproc_ok; then :7918 rm -f conftest.err conftest.$ac_ext 7919 if $ac_preproc_ok; then 7039 7920 break 7040 7921 fi … … 7048 7929 ac_cv_prog_CPP=$CPP 7049 7930 fi 7050 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CPP" >&57931 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 7051 7932 $as_echo "$CPP" >&6; } 7052 7933 ac_preproc_ok=false … … 7059 7940 # On the NeXT, cc -E runs the code through the compiler's parser, 7060 7941 # not just through cpp. "Syntax error" is here to catch this case. 7061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7942 cat >conftest.$ac_ext <<_ACEOF 7943 /* confdefs.h. */ 7944 _ACEOF 7945 cat confdefs.h >>conftest.$ac_ext 7946 cat >>conftest.$ac_ext <<_ACEOF 7062 7947 /* end confdefs.h. */ 7063 7948 #ifdef __STDC__ … … 7068 7953 Syntax error 7069 7954 _ACEOF 7070 if ac_fn_c_try_cpp "$LINENO"; then : 7071 7072 else 7955 if { (ac_try="$ac_cpp conftest.$ac_ext" 7956 case "(($ac_try" in 7957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7958 *) ac_try_echo=$ac_try;; 7959 esac 7960 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7961 $as_echo "$ac_try_echo") >&5 7962 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7963 ac_status=$? 7964 grep -v '^ *+' conftest.er1 >conftest.err 7965 rm -f conftest.er1 7966 cat conftest.err >&5 7967 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7968 (exit $ac_status); } >/dev/null && { 7969 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7970 test ! -s conftest.err 7971 }; then 7972 : 7973 else 7974 $as_echo "$as_me: failed program was:" >&5 7975 sed 's/^/| /' conftest.$ac_ext >&5 7976 7073 7977 # Broken: fails on valid input. 7074 7978 continue 7075 7979 fi 7076 rm -f conftest.err conftest.i conftest.$ac_ext 7980 7981 rm -f conftest.err conftest.$ac_ext 7077 7982 7078 7983 # OK, works on sane cases. Now check whether nonexistent headers 7079 7984 # can be detected and how. 7080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7985 cat >conftest.$ac_ext <<_ACEOF 7986 /* confdefs.h. */ 7987 _ACEOF 7988 cat confdefs.h >>conftest.$ac_ext 7989 cat >>conftest.$ac_ext <<_ACEOF 7081 7990 /* end confdefs.h. */ 7082 7991 #include <ac_nonexistent.h> 7083 7992 _ACEOF 7084 if ac_fn_c_try_cpp "$LINENO"; then : 7993 if { (ac_try="$ac_cpp conftest.$ac_ext" 7994 case "(($ac_try" in 7995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7996 *) ac_try_echo=$ac_try;; 7997 esac 7998 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7999 $as_echo "$ac_try_echo") >&5 8000 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8001 ac_status=$? 8002 grep -v '^ *+' conftest.er1 >conftest.err 8003 rm -f conftest.er1 8004 cat conftest.err >&5 8005 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8006 (exit $ac_status); } >/dev/null && { 8007 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8008 test ! -s conftest.err 8009 }; then 7085 8010 # Broken: success on invalid input. 7086 8011 continue 7087 8012 else 8013 $as_echo "$as_me: failed program was:" >&5 8014 sed 's/^/| /' conftest.$ac_ext >&5 8015 7088 8016 # Passes both tests. 7089 8017 ac_preproc_ok=: 7090 8018 break 7091 8019 fi 7092 rm -f conftest.err conftest.i conftest.$ac_ext 8020 8021 rm -f conftest.err conftest.$ac_ext 7093 8022 7094 8023 done 7095 8024 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7096 rm -f conftest. i conftest.err conftest.$ac_ext7097 if $ac_preproc_ok; then :7098 7099 else 7100 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&58025 rm -f conftest.err conftest.$ac_ext 8026 if $ac_preproc_ok; then 8027 : 8028 else 8029 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7101 8030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7102 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7103 See \`config.log' for more details" "$LINENO" 5; } 8031 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 8032 See \`config.log' for more details." >&5 8033 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 8034 See \`config.log' for more details." >&2;} 8035 { (exit 1); exit 1; }; }; } 7104 8036 fi 7105 8037 … … 7124 8056 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7125 8057 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7126 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&58058 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7127 8059 $as_echo_n "checking for $ac_word... " >&6; } 7128 if ${ac_cv_prog_CXX+:} false; then :8060 if test "${ac_cv_prog_CXX+set}" = set; then 7129 8061 $as_echo_n "(cached) " >&6 7130 8062 else … … 7137 8069 IFS=$as_save_IFS 7138 8070 test -z "$as_dir" && as_dir=. 7139 8071 for ac_exec_ext in '' $ac_executable_extensions; do 7140 8072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7141 8073 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 7142 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58074 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7143 8075 break 2 7144 8076 fi 7145 8077 done 7146 8078 done 7147 8079 IFS=$as_save_IFS 7148 8080 … … 7151 8083 CXX=$ac_cv_prog_CXX 7152 8084 if test -n "$CXX"; then 7153 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CXX" >&58085 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 7154 8086 $as_echo "$CXX" >&6; } 7155 8087 else 7156 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58088 { $as_echo "$as_me:$LINENO: result: no" >&5 7157 8089 $as_echo "no" >&6; } 7158 8090 fi … … 7168 8100 # Extract the first word of "$ac_prog", so it can be a program name with args. 7169 8101 set dummy $ac_prog; ac_word=$2 7170 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&58102 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7171 8103 $as_echo_n "checking for $ac_word... " >&6; } 7172 if ${ac_cv_prog_ac_ct_CXX+:} false; then :8104 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 7173 8105 $as_echo_n "(cached) " >&6 7174 8106 else … … 7181 8113 IFS=$as_save_IFS 7182 8114 test -z "$as_dir" && as_dir=. 7183 8115 for ac_exec_ext in '' $ac_executable_extensions; do 7184 8116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7185 8117 ac_cv_prog_ac_ct_CXX="$ac_prog" 7186 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58118 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7187 8119 break 2 7188 8120 fi 7189 8121 done 7190 8122 done 7191 8123 IFS=$as_save_IFS 7192 8124 … … 7195 8127 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 7196 8128 if test -n "$ac_ct_CXX"; then 7197 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CXX" >&58129 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 7198 8130 $as_echo "$ac_ct_CXX" >&6; } 7199 8131 else 7200 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58132 { $as_echo "$as_me:$LINENO: result: no" >&5 7201 8133 $as_echo "no" >&6; } 7202 8134 fi … … 7211 8143 case $cross_compiling:$ac_tool_warned in 7212 8144 yes:) 7213 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&58145 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7214 8146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7215 8147 ac_tool_warned=yes ;; … … 7222 8154 fi 7223 8155 # Provide some information about the compiler. 7224 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C++ compiler version" >&58156 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 7225 8157 set X $ac_compile 7226 8158 ac_compiler=$2 7227 for ac_option in --version -v -V -qversion; do 7228 { { ac_try="$ac_compiler $ac_option >&5" 8159 { (ac_try="$ac_compiler --version >&5" 7229 8160 case "(($ac_try" in 7230 8161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7231 8162 *) ac_try_echo=$ac_try;; 7232 8163 esac 7233 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""7234 $as_echo "$ac_try_echo" ; }>&57235 (eval "$ac_compiler $ac_option >&5") 2>conftest.err8164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8165 $as_echo "$ac_try_echo") >&5 8166 (eval "$ac_compiler --version >&5") 2>&5 7236 8167 ac_status=$? 7237 if test -s conftest.err; then 7238 sed '10a\ 7239 ... rest of stderr output deleted ... 7240 10q' conftest.err >conftest.er1 7241 cat conftest.er1 >&5 7242 fi 7243 rm -f conftest.er1 conftest.err 7244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7245 test $ac_status = 0; } 7246 done 7247 7248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 8168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8169 (exit $ac_status); } 8170 { (ac_try="$ac_compiler -v >&5" 8171 case "(($ac_try" in 8172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8173 *) ac_try_echo=$ac_try;; 8174 esac 8175 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8176 $as_echo "$ac_try_echo") >&5 8177 (eval "$ac_compiler -v >&5") 2>&5 8178 ac_status=$? 8179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8180 (exit $ac_status); } 8181 { (ac_try="$ac_compiler -V >&5" 8182 case "(($ac_try" in 8183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8184 *) ac_try_echo=$ac_try;; 8185 esac 8186 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8187 $as_echo "$ac_try_echo") >&5 8188 (eval "$ac_compiler -V >&5") 2>&5 8189 ac_status=$? 8190 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8191 (exit $ac_status); } 8192 8193 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 7249 8194 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 7250 if ${ac_cv_cxx_compiler_gnu+:} false; then :8195 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 7251 8196 $as_echo_n "(cached) " >&6 7252 8197 else 7253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8198 cat >conftest.$ac_ext <<_ACEOF 8199 /* confdefs.h. */ 8200 _ACEOF 8201 cat confdefs.h >>conftest.$ac_ext 8202 cat >>conftest.$ac_ext <<_ACEOF 7254 8203 /* end confdefs.h. */ 7255 8204 … … 7265 8214 } 7266 8215 _ACEOF 7267 if ac_fn_cxx_try_compile "$LINENO"; then : 8216 rm -f conftest.$ac_objext 8217 if { (ac_try="$ac_compile" 8218 case "(($ac_try" in 8219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8220 *) ac_try_echo=$ac_try;; 8221 esac 8222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8223 $as_echo "$ac_try_echo") >&5 8224 (eval "$ac_compile") 2>conftest.er1 8225 ac_status=$? 8226 grep -v '^ *+' conftest.er1 >conftest.err 8227 rm -f conftest.er1 8228 cat conftest.err >&5 8229 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8230 (exit $ac_status); } && { 8231 test -z "$ac_cxx_werror_flag" || 8232 test ! -s conftest.err 8233 } && test -s conftest.$ac_objext; then 7268 8234 ac_compiler_gnu=yes 7269 8235 else 7270 ac_compiler_gnu=no 7271 fi 8236 $as_echo "$as_me: failed program was:" >&5 8237 sed 's/^/| /' conftest.$ac_ext >&5 8238 8239 ac_compiler_gnu=no 8240 fi 8241 7272 8242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7273 8243 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 7274 8244 7275 8245 fi 7276 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&58246 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 7277 8247 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 7278 8248 if test $ac_compiler_gnu = yes; then … … 7283 8253 ac_test_CXXFLAGS=${CXXFLAGS+set} 7284 8254 ac_save_CXXFLAGS=$CXXFLAGS 7285 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CXX accepts -g" >&58255 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 7286 8256 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 7287 if ${ac_cv_prog_cxx_g+:} false; then :8257 if test "${ac_cv_prog_cxx_g+set}" = set; then 7288 8258 $as_echo_n "(cached) " >&6 7289 8259 else … … 7292 8262 ac_cv_prog_cxx_g=no 7293 8263 CXXFLAGS="-g" 7294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8264 cat >conftest.$ac_ext <<_ACEOF 8265 /* confdefs.h. */ 8266 _ACEOF 8267 cat confdefs.h >>conftest.$ac_ext 8268 cat >>conftest.$ac_ext <<_ACEOF 7295 8269 /* end confdefs.h. */ 7296 8270 … … 7303 8277 } 7304 8278 _ACEOF 7305 if ac_fn_cxx_try_compile "$LINENO"; then : 8279 rm -f conftest.$ac_objext 8280 if { (ac_try="$ac_compile" 8281 case "(($ac_try" in 8282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8283 *) ac_try_echo=$ac_try;; 8284 esac 8285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8286 $as_echo "$ac_try_echo") >&5 8287 (eval "$ac_compile") 2>conftest.er1 8288 ac_status=$? 8289 grep -v '^ *+' conftest.er1 >conftest.err 8290 rm -f conftest.er1 8291 cat conftest.err >&5 8292 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8293 (exit $ac_status); } && { 8294 test -z "$ac_cxx_werror_flag" || 8295 test ! -s conftest.err 8296 } && test -s conftest.$ac_objext; then 7306 8297 ac_cv_prog_cxx_g=yes 7307 8298 else 7308 CXXFLAGS="" 7309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8299 $as_echo "$as_me: failed program was:" >&5 8300 sed 's/^/| /' conftest.$ac_ext >&5 8301 8302 CXXFLAGS="" 8303 cat >conftest.$ac_ext <<_ACEOF 8304 /* confdefs.h. */ 8305 _ACEOF 8306 cat confdefs.h >>conftest.$ac_ext 8307 cat >>conftest.$ac_ext <<_ACEOF 7310 8308 /* end confdefs.h. */ 7311 8309 … … 7318 8316 } 7319 8317 _ACEOF 7320 if ac_fn_cxx_try_compile "$LINENO"; then : 7321 7322 else 7323 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8318 rm -f conftest.$ac_objext 8319 if { (ac_try="$ac_compile" 8320 case "(($ac_try" in 8321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8322 *) ac_try_echo=$ac_try;; 8323 esac 8324 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8325 $as_echo "$ac_try_echo") >&5 8326 (eval "$ac_compile") 2>conftest.er1 8327 ac_status=$? 8328 grep -v '^ *+' conftest.er1 >conftest.err 8329 rm -f conftest.er1 8330 cat conftest.err >&5 8331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8332 (exit $ac_status); } && { 8333 test -z "$ac_cxx_werror_flag" || 8334 test ! -s conftest.err 8335 } && test -s conftest.$ac_objext; then 8336 : 8337 else 8338 $as_echo "$as_me: failed program was:" >&5 8339 sed 's/^/| /' conftest.$ac_ext >&5 8340 8341 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7324 8342 CXXFLAGS="-g" 7325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8343 cat >conftest.$ac_ext <<_ACEOF 8344 /* confdefs.h. */ 8345 _ACEOF 8346 cat confdefs.h >>conftest.$ac_ext 8347 cat >>conftest.$ac_ext <<_ACEOF 7326 8348 /* end confdefs.h. */ 7327 8349 … … 7334 8356 } 7335 8357 _ACEOF 7336 if ac_fn_cxx_try_compile "$LINENO"; then : 8358 rm -f conftest.$ac_objext 8359 if { (ac_try="$ac_compile" 8360 case "(($ac_try" in 8361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8362 *) ac_try_echo=$ac_try;; 8363 esac 8364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8365 $as_echo "$ac_try_echo") >&5 8366 (eval "$ac_compile") 2>conftest.er1 8367 ac_status=$? 8368 grep -v '^ *+' conftest.er1 >conftest.err 8369 rm -f conftest.er1 8370 cat conftest.err >&5 8371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8372 (exit $ac_status); } && { 8373 test -z "$ac_cxx_werror_flag" || 8374 test ! -s conftest.err 8375 } && test -s conftest.$ac_objext; then 7337 8376 ac_cv_prog_cxx_g=yes 7338 fi 8377 else 8378 $as_echo "$as_me: failed program was:" >&5 8379 sed 's/^/| /' conftest.$ac_ext >&5 8380 8381 8382 fi 8383 7339 8384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7340 8385 fi 8386 7341 8387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7342 8388 fi 8389 7343 8390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7344 8391 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7345 8392 fi 7346 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&58393 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 7347 8394 $as_echo "$ac_cv_prog_cxx_g" >&6; } 7348 8395 if test "$ac_test_CXXFLAGS" = set; then … … 7372 8419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7373 8420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 7374 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&58421 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 7375 8422 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 7376 8423 if test -z "$CXXCPP"; then 7377 if ${ac_cv_prog_CXXCPP+:} false; then :8424 if test "${ac_cv_prog_CXXCPP+set}" = set; then 7378 8425 $as_echo_n "(cached) " >&6 7379 8426 else … … 7390 8437 # On the NeXT, cc -E runs the code through the compiler's parser, 7391 8438 # not just through cpp. "Syntax error" is here to catch this case. 7392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8439 cat >conftest.$ac_ext <<_ACEOF 8440 /* confdefs.h. */ 8441 _ACEOF 8442 cat confdefs.h >>conftest.$ac_ext 8443 cat >>conftest.$ac_ext <<_ACEOF 7393 8444 /* end confdefs.h. */ 7394 8445 #ifdef __STDC__ … … 7399 8450 Syntax error 7400 8451 _ACEOF 7401 if ac_fn_cxx_try_cpp "$LINENO"; then : 7402 7403 else 8452 if { (ac_try="$ac_cpp conftest.$ac_ext" 8453 case "(($ac_try" in 8454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8455 *) ac_try_echo=$ac_try;; 8456 esac 8457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8458 $as_echo "$ac_try_echo") >&5 8459 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8460 ac_status=$? 8461 grep -v '^ *+' conftest.er1 >conftest.err 8462 rm -f conftest.er1 8463 cat conftest.err >&5 8464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8465 (exit $ac_status); } >/dev/null && { 8466 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8467 test ! -s conftest.err 8468 }; then 8469 : 8470 else 8471 $as_echo "$as_me: failed program was:" >&5 8472 sed 's/^/| /' conftest.$ac_ext >&5 8473 7404 8474 # Broken: fails on valid input. 7405 8475 continue 7406 8476 fi 7407 rm -f conftest.err conftest.i conftest.$ac_ext 8477 8478 rm -f conftest.err conftest.$ac_ext 7408 8479 7409 8480 # OK, works on sane cases. Now check whether nonexistent headers 7410 8481 # can be detected and how. 7411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8482 cat >conftest.$ac_ext <<_ACEOF 8483 /* confdefs.h. */ 8484 _ACEOF 8485 cat confdefs.h >>conftest.$ac_ext 8486 cat >>conftest.$ac_ext <<_ACEOF 7412 8487 /* end confdefs.h. */ 7413 8488 #include <ac_nonexistent.h> 7414 8489 _ACEOF 7415 if ac_fn_cxx_try_cpp "$LINENO"; then : 8490 if { (ac_try="$ac_cpp conftest.$ac_ext" 8491 case "(($ac_try" in 8492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8493 *) ac_try_echo=$ac_try;; 8494 esac 8495 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8496 $as_echo "$ac_try_echo") >&5 8497 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8498 ac_status=$? 8499 grep -v '^ *+' conftest.er1 >conftest.err 8500 rm -f conftest.er1 8501 cat conftest.err >&5 8502 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8503 (exit $ac_status); } >/dev/null && { 8504 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8505 test ! -s conftest.err 8506 }; then 7416 8507 # Broken: success on invalid input. 7417 8508 continue 7418 8509 else 8510 $as_echo "$as_me: failed program was:" >&5 8511 sed 's/^/| /' conftest.$ac_ext >&5 8512 7419 8513 # Passes both tests. 7420 8514 ac_preproc_ok=: 7421 8515 break 7422 8516 fi 7423 rm -f conftest.err conftest.i conftest.$ac_ext 8517 8518 rm -f conftest.err conftest.$ac_ext 7424 8519 7425 8520 done 7426 8521 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7427 rm -f conftest. i conftest.err conftest.$ac_ext7428 if $ac_preproc_ok; then :8522 rm -f conftest.err conftest.$ac_ext 8523 if $ac_preproc_ok; then 7429 8524 break 7430 8525 fi … … 7438 8533 ac_cv_prog_CXXCPP=$CXXCPP 7439 8534 fi 7440 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CXXCPP" >&58535 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5 7441 8536 $as_echo "$CXXCPP" >&6; } 7442 8537 ac_preproc_ok=false … … 7449 8544 # On the NeXT, cc -E runs the code through the compiler's parser, 7450 8545 # not just through cpp. "Syntax error" is here to catch this case. 7451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8546 cat >conftest.$ac_ext <<_ACEOF 8547 /* confdefs.h. */ 8548 _ACEOF 8549 cat confdefs.h >>conftest.$ac_ext 8550 cat >>conftest.$ac_ext <<_ACEOF 7452 8551 /* end confdefs.h. */ 7453 8552 #ifdef __STDC__ … … 7458 8557 Syntax error 7459 8558 _ACEOF 7460 if ac_fn_cxx_try_cpp "$LINENO"; then : 7461 7462 else 8559 if { (ac_try="$ac_cpp conftest.$ac_ext" 8560 case "(($ac_try" in 8561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8562 *) ac_try_echo=$ac_try;; 8563 esac 8564 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8565 $as_echo "$ac_try_echo") >&5 8566 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8567 ac_status=$? 8568 grep -v '^ *+' conftest.er1 >conftest.err 8569 rm -f conftest.er1 8570 cat conftest.err >&5 8571 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8572 (exit $ac_status); } >/dev/null && { 8573 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8574 test ! -s conftest.err 8575 }; then 8576 : 8577 else 8578 $as_echo "$as_me: failed program was:" >&5 8579 sed 's/^/| /' conftest.$ac_ext >&5 8580 7463 8581 # Broken: fails on valid input. 7464 8582 continue 7465 8583 fi 7466 rm -f conftest.err conftest.i conftest.$ac_ext 8584 8585 rm -f conftest.err conftest.$ac_ext 7467 8586 7468 8587 # OK, works on sane cases. Now check whether nonexistent headers 7469 8588 # can be detected and how. 7470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8589 cat >conftest.$ac_ext <<_ACEOF 8590 /* confdefs.h. */ 8591 _ACEOF 8592 cat confdefs.h >>conftest.$ac_ext 8593 cat >>conftest.$ac_ext <<_ACEOF 7471 8594 /* end confdefs.h. */ 7472 8595 #include <ac_nonexistent.h> 7473 8596 _ACEOF 7474 if ac_fn_cxx_try_cpp "$LINENO"; then : 8597 if { (ac_try="$ac_cpp conftest.$ac_ext" 8598 case "(($ac_try" in 8599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8600 *) ac_try_echo=$ac_try;; 8601 esac 8602 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8603 $as_echo "$ac_try_echo") >&5 8604 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8605 ac_status=$? 8606 grep -v '^ *+' conftest.er1 >conftest.err 8607 rm -f conftest.er1 8608 cat conftest.err >&5 8609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8610 (exit $ac_status); } >/dev/null && { 8611 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8612 test ! -s conftest.err 8613 }; then 7475 8614 # Broken: success on invalid input. 7476 8615 continue 7477 8616 else 8617 $as_echo "$as_me: failed program was:" >&5 8618 sed 's/^/| /' conftest.$ac_ext >&5 8619 7478 8620 # Passes both tests. 7479 8621 ac_preproc_ok=: 7480 8622 break 7481 8623 fi 7482 rm -f conftest.err conftest.i conftest.$ac_ext 8624 8625 rm -f conftest.err conftest.$ac_ext 7483 8626 7484 8627 done 7485 8628 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7486 rm -f conftest. i conftest.err conftest.$ac_ext7487 if $ac_preproc_ok; then :7488 7489 else 7490 { { $as_echo "$as_me:$ {as_lineno-$LINENO}: error: in \`$ac_pwd':" >&58629 rm -f conftest.err conftest.$ac_ext 8630 if $ac_preproc_ok; then 8631 : 8632 else 8633 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7491 8634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7492 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 7493 See \`config.log' for more details" "$LINENO" 5; } 8635 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 8636 See \`config.log' for more details." >&5 8637 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 8638 See \`config.log' for more details." >&2;} 8639 { (exit 1); exit 1; }; }; } 7494 8640 fi 7495 8641 … … 7514 8660 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7515 8661 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7516 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&58662 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7517 8663 $as_echo_n "checking for $ac_word... " >&6; } 7518 if ${ac_cv_prog_CXX+:} false; then :8664 if test "${ac_cv_prog_CXX+set}" = set; then 7519 8665 $as_echo_n "(cached) " >&6 7520 8666 else … … 7527 8673 IFS=$as_save_IFS 7528 8674 test -z "$as_dir" && as_dir=. 7529 8675 for ac_exec_ext in '' $ac_executable_extensions; do 7530 8676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7531 8677 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 7532 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58678 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7533 8679 break 2 7534 8680 fi 7535 8681 done 7536 8682 done 7537 8683 IFS=$as_save_IFS 7538 8684 … … 7541 8687 CXX=$ac_cv_prog_CXX 7542 8688 if test -n "$CXX"; then 7543 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $CXX" >&58689 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 7544 8690 $as_echo "$CXX" >&6; } 7545 8691 else 7546 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58692 { $as_echo "$as_me:$LINENO: result: no" >&5 7547 8693 $as_echo "no" >&6; } 7548 8694 fi … … 7558 8704 # Extract the first word of "$ac_prog", so it can be a program name with args. 7559 8705 set dummy $ac_prog; ac_word=$2 7560 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for $ac_word" >&58706 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7561 8707 $as_echo_n "checking for $ac_word... " >&6; } 7562 if ${ac_cv_prog_ac_ct_CXX+:} false; then :8708 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 7563 8709 $as_echo_n "(cached) " >&6 7564 8710 else … … 7571 8717 IFS=$as_save_IFS 7572 8718 test -z "$as_dir" && as_dir=. 7573 8719 for ac_exec_ext in '' $ac_executable_extensions; do 7574 8720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7575 8721 ac_cv_prog_ac_ct_CXX="$ac_prog" 7576 $as_echo "$as_me:$ {as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58722 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7577 8723 break 2 7578 8724 fi 7579 8725 done 7580 8726 done 7581 8727 IFS=$as_save_IFS 7582 8728 … … 7585 8731 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 7586 8732 if test -n "$ac_ct_CXX"; then 7587 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_ct_CXX" >&58733 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 7588 8734 $as_echo "$ac_ct_CXX" >&6; } 7589 8735 else 7590 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: no" >&58736 { $as_echo "$as_me:$LINENO: result: no" >&5 7591 8737 $as_echo "no" >&6; } 7592 8738 fi … … 7601 8747 case $cross_compiling:$ac_tool_warned in 7602 8748 yes:) 7603 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&58749 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7604 8750 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7605 8751 ac_tool_warned=yes ;; … … 7612 8758 fi 7613 8759 # Provide some information about the compiler. 7614 $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for C++ compiler version" >&58760 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 7615 8761 set X $ac_compile 7616 8762 ac_compiler=$2 7617 for ac_option in --version -v -V -qversion; do 7618 { { ac_try="$ac_compiler $ac_option >&5" 8763 { (ac_try="$ac_compiler --version >&5" 7619 8764 case "(($ac_try" in 7620 8765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7621 8766 *) ac_try_echo=$ac_try;; 7622 8767 esac 7623 eval ac_try_echo="\"\$as_me:$ {as_lineno-$LINENO}: $ac_try_echo\""7624 $as_echo "$ac_try_echo" ; }>&57625 (eval "$ac_compiler $ac_option >&5") 2>conftest.err8768 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8769 $as_echo "$ac_try_echo") >&5 8770 (eval "$ac_compiler --version >&5") 2>&5 7626 8771 ac_status=$? 7627 if test -s conftest.err; then 7628 sed '10a\ 7629 ... rest of stderr output deleted ... 7630 10q' conftest.err >conftest.er1 7631 cat conftest.er1 >&5 7632 fi 7633 rm -f conftest.er1 conftest.err 7634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7635 test $ac_status = 0; } 7636 done 7637 7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 8772 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8773 (exit $ac_status); } 8774 { (ac_try="$ac_compiler -v >&5" 8775 case "(($ac_try" in 8776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8777 *) ac_try_echo=$ac_try;; 8778 esac 8779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8780 $as_echo "$ac_try_echo") >&5 8781 (eval "$ac_compiler -v >&5") 2>&5 8782 ac_status=$? 8783 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8784 (exit $ac_status); } 8785 { (ac_try="$ac_compiler -V >&5" 8786 case "(($ac_try" in 8787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8788 *) ac_try_echo=$ac_try;; 8789 esac 8790 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8791 $as_echo "$ac_try_echo") >&5 8792 (eval "$ac_compiler -V >&5") 2>&5 8793 ac_status=$? 8794 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8795 (exit $ac_status); } 8796 8797 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 7639 8798 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 7640 if ${ac_cv_cxx_compiler_gnu+:} false; then :8799 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 7641 8800 $as_echo_n "(cached) " >&6 7642 8801 else 7643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8802 cat >conftest.$ac_ext <<_ACEOF 8803 /* confdefs.h. */ 8804 _ACEOF 8805 cat confdefs.h >>conftest.$ac_ext 8806 cat >>conftest.$ac_ext <<_ACEOF 7644 8807 /* end confdefs.h. */ 7645 8808 … … 7655 8818 } 7656 8819 _ACEOF 7657 if ac_fn_cxx_try_compile "$LINENO"; then : 8820 rm -f conftest.$ac_objext 8821 if { (ac_try="$ac_compile" 8822 case "(($ac_try" in 8823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8824 *) ac_try_echo=$ac_try;; 8825 esac 8826 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8827 $as_echo "$ac_try_echo") >&5 8828 (eval "$ac_compile") 2>conftest.er1 8829 ac_status=$? 8830 grep -v '^ *+' conftest.er1 >conftest.err 8831 rm -f conftest.er1 8832 cat conftest.err >&5 8833 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8834 (exit $ac_status); } && { 8835 test -z "$ac_cxx_werror_flag" || 8836 test ! -s conftest.err 8837 } && test -s conftest.$ac_objext; then 7658 8838 ac_compiler_gnu=yes 7659 8839 else 7660 ac_compiler_gnu=no 7661 fi 8840 $as_echo "$as_me: failed program was:" >&5 8841 sed 's/^/| /' conftest.$ac_ext >&5 8842 8843 ac_compiler_gnu=no 8844 fi 8845 7662 8846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7663 8847 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 7664 8848 7665 8849 fi 7666 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&58850 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 7667 8851 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 7668 8852 if test $ac_compiler_gnu = yes; then … … 7673 8857 ac_test_CXXFLAGS=${CXXFLAGS+set} 7674 8858 ac_save_CXXFLAGS=$CXXFLAGS 7675 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking whether $CXX accepts -g" >&58859 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 7676 8860 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 7677 if ${ac_cv_prog_cxx_g+:} false; then :8861 if test "${ac_cv_prog_cxx_g+set}" = set; then 7678 8862 $as_echo_n "(cached) " >&6 7679 8863 else … … 7682 8866 ac_cv_prog_cxx_g=no 7683 8867 CXXFLAGS="-g" 7684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8868 cat >conftest.$ac_ext <<_ACEOF 8869 /* confdefs.h. */ 8870 _ACEOF 8871 cat confdefs.h >>conftest.$ac_ext 8872 cat >>conftest.$ac_ext <<_ACEOF 7685 8873 /* end confdefs.h. */ 7686 8874 … … 7693 8881 } 7694 8882 _ACEOF 7695 if ac_fn_cxx_try_compile "$LINENO"; then : 8883 rm -f conftest.$ac_objext 8884 if { (ac_try="$ac_compile" 8885 case "(($ac_try" in 8886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8887 *) ac_try_echo=$ac_try;; 8888 esac 8889 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8890 $as_echo "$ac_try_echo") >&5 8891 (eval "$ac_compile") 2>conftest.er1 8892 ac_status=$? 8893 grep -v '^ *+' conftest.er1 >conftest.err 8894 rm -f conftest.er1 8895 cat conftest.err >&5 8896 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8897 (exit $ac_status); } && { 8898 test -z "$ac_cxx_werror_flag" || 8899 test ! -s conftest.err 8900 } && test -s conftest.$ac_objext; then 7696 8901 ac_cv_prog_cxx_g=yes 7697 8902 else 7698 CXXFLAGS="" 7699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8903 $as_echo "$as_me: failed program was:" >&5 8904 sed 's/^/| /' conftest.$ac_ext >&5 8905 8906 CXXFLAGS="" 8907 cat >conftest.$ac_ext <<_ACEOF 8908 /* confdefs.h. */ 8909 _ACEOF 8910 cat confdefs.h >>conftest.$ac_ext 8911 cat >>conftest.$ac_ext <<_ACEOF 7700 8912 /* end confdefs.h. */ 7701 8913 … … 7708 8920 } 7709 8921 _ACEOF 7710 if ac_fn_cxx_try_compile "$LINENO"; then : 7711 7712 else 7713 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8922 rm -f conftest.$ac_objext 8923 if { (ac_try="$ac_compile" 8924 case "(($ac_try" in 8925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8926 *) ac_try_echo=$ac_try;; 8927 esac 8928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8929 $as_echo "$ac_try_echo") >&5 8930 (eval "$ac_compile") 2>conftest.er1 8931 ac_status=$? 8932 grep -v '^ *+' conftest.er1 >conftest.err 8933 rm -f conftest.er1 8934 cat conftest.err >&5 8935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8936 (exit $ac_status); } && { 8937 test -z "$ac_cxx_werror_flag" || 8938 test ! -s conftest.err 8939 } && test -s conftest.$ac_objext; then 8940 : 8941 else 8942 $as_echo "$as_me: failed program was:" >&5 8943 sed 's/^/| /' conftest.$ac_ext >&5 8944 8945 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7714 8946 CXXFLAGS="-g" 7715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8947 cat >conftest.$ac_ext <<_ACEOF 8948 /* confdefs.h. */ 8949 _ACEOF 8950 cat confdefs.h >>conftest.$ac_ext 8951 cat >>conftest.$ac_ext <<_ACEOF 7716 8952 /* end confdefs.h. */ 7717 8953 … … 7724 8960 } 7725 8961 _ACEOF 7726 if ac_fn_cxx_try_compile "$LINENO"; then : 8962 rm -f conftest.$ac_objext 8963 if { (ac_try="$ac_compile" 8964 case "(($ac_try" in 8965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8966 *) ac_try_echo=$ac_try;; 8967 esac 8968 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8969 $as_echo "$ac_try_echo") >&5 8970 (eval "$ac_compile") 2>conftest.er1 8971 ac_status=$? 8972 grep -v '^ *+' conftest.er1 >conftest.err 8973 rm -f conftest.er1 8974 cat conftest.err >&5 8975 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8976 (exit $ac_status); } && { 8977 test -z "$ac_cxx_werror_flag" || 8978 test ! -s conftest.err 8979 } && test -s conftest.$ac_objext; then 7727 8980 ac_cv_prog_cxx_g=yes 7728 fi 8981 else 8982 $as_echo "$as_me: failed program was:" >&5 8983 sed 's/^/| /' conftest.$ac_ext >&5 8984 8985 8986 fi 8987 7729 8988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7730 8989 fi 8990 7731 8991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7732 8992 fi 8993 7733 8994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7734 8995 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7735 8996 fi 7736 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&58997 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 7737 8998 $as_echo "$ac_cv_prog_cxx_g" >&6; } 7738 8999 if test "$ac_test_CXXFLAGS" = set; then … … 7765 9026 7766 9027 7767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 9028 9029 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7768 9030 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 7769 if ${ac_cv_c_bigendian+:} false; then :9031 if test "${ac_cv_c_bigendian+set}" = set; then 7770 9032 $as_echo_n "(cached) " >&6 7771 9033 else 7772 9034 ac_cv_c_bigendian=unknown 7773 9035 # See if we're dealing with a universal compiler. 7774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9036 cat >conftest.$ac_ext <<_ACEOF 9037 /* confdefs.h. */ 9038 _ACEOF 9039 cat confdefs.h >>conftest.$ac_ext 9040 cat >>conftest.$ac_ext <<_ACEOF 7775 9041 /* end confdefs.h. */ 7776 9042 #ifndef __APPLE_CC__ … … 7780 9046 7781 9047 _ACEOF 7782 if ac_fn_cxx_try_compile "$LINENO"; then : 9048 rm -f conftest.$ac_objext 9049 if { (ac_try="$ac_compile" 9050 case "(($ac_try" in 9051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9052 *) ac_try_echo=$ac_try;; 9053 esac 9054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9055 $as_echo "$ac_try_echo") >&5 9056 (eval "$ac_compile") 2>conftest.er1 9057 ac_status=$? 9058 grep -v '^ *+' conftest.er1 >conftest.err 9059 rm -f conftest.er1 9060 cat conftest.err >&5 9061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9062 (exit $ac_status); } && { 9063 test -z "$ac_cxx_werror_flag" || 9064 test ! -s conftest.err 9065 } && test -s conftest.$ac_objext; then 7783 9066 7784 9067 # Check for potential -arch flags. It is not universal unless 7785 # there are at least two -arch flags with different values. 7786 ac_arch= 7787 ac_prev= 7788 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 7789 if test -n "$ac_prev"; then 7790 case $ac_word in 7791 i?86 | x86_64 | ppc | ppc64) 7792 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 7793 ac_arch=$ac_word 7794 else 7795 ac_cv_c_bigendian=universal 7796 break 7797 fi 7798 ;; 7799 esac 7800 ac_prev= 7801 elif test "x$ac_word" = "x-arch"; then 7802 ac_prev=arch 7803 fi 7804 done 7805 fi 9068 # there are some -arch flags. Note that *ppc* also matches 9069 # ppc64. This check is also rather less than ideal. 9070 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 9071 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 9072 esac 9073 else 9074 $as_echo "$as_me: failed program was:" >&5 9075 sed 's/^/| /' conftest.$ac_ext >&5 9076 9077 9078 fi 9079 7806 9080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7807 9081 if test $ac_cv_c_bigendian = unknown; then 7808 9082 # See if sys/param.h defines the BYTE_ORDER macro. 7809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9083 cat >conftest.$ac_ext <<_ACEOF 9084 /* confdefs.h. */ 9085 _ACEOF 9086 cat confdefs.h >>conftest.$ac_ext 9087 cat >>conftest.$ac_ext <<_ACEOF 7810 9088 /* end confdefs.h. */ 7811 9089 #include <sys/types.h> … … 7825 9103 } 7826 9104 _ACEOF 7827 if ac_fn_cxx_try_compile "$LINENO"; then : 9105 rm -f conftest.$ac_objext 9106 if { (ac_try="$ac_compile" 9107 case "(($ac_try" in 9108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9109 *) ac_try_echo=$ac_try;; 9110 esac 9111 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9112 $as_echo "$ac_try_echo") >&5 9113 (eval "$ac_compile") 2>conftest.er1 9114 ac_status=$? 9115 grep -v '^ *+' conftest.er1 >conftest.err 9116 rm -f conftest.er1 9117 cat conftest.err >&5 9118 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9119 (exit $ac_status); } && { 9120 test -z "$ac_cxx_werror_flag" || 9121 test ! -s conftest.err 9122 } && test -s conftest.$ac_objext; then 7828 9123 # It does; now see whether it defined to BIG_ENDIAN or not. 7829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9124 cat >conftest.$ac_ext <<_ACEOF 9125 /* confdefs.h. */ 9126 _ACEOF 9127 cat confdefs.h >>conftest.$ac_ext 9128 cat >>conftest.$ac_ext <<_ACEOF 7830 9129 /* end confdefs.h. */ 7831 9130 #include <sys/types.h> … … 7843 9142 } 7844 9143 _ACEOF 7845 if ac_fn_cxx_try_compile "$LINENO"; then : 9144 rm -f conftest.$ac_objext 9145 if { (ac_try="$ac_compile" 9146 case "(($ac_try" in 9147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9148 *) ac_try_echo=$ac_try;; 9149 esac 9150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9151 $as_echo "$ac_try_echo") >&5 9152 (eval "$ac_compile") 2>conftest.er1 9153 ac_status=$? 9154 grep -v '^ *+' conftest.er1 >conftest.err 9155 rm -f conftest.er1 9156 cat conftest.err >&5 9157 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9158 (exit $ac_status); } && { 9159 test -z "$ac_cxx_werror_flag" || 9160 test ! -s conftest.err 9161 } && test -s conftest.$ac_objext; then 7846 9162 ac_cv_c_bigendian=yes 7847 9163 else 7848 ac_cv_c_bigendian=no 7849 fi 9164 $as_echo "$as_me: failed program was:" >&5 9165 sed 's/^/| /' conftest.$ac_ext >&5 9166 9167 ac_cv_c_bigendian=no 9168 fi 9169 7850 9170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7851 fi 9171 else 9172 $as_echo "$as_me: failed program was:" >&5 9173 sed 's/^/| /' conftest.$ac_ext >&5 9174 9175 9176 fi 9177 7852 9178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7853 9179 fi 7854 9180 if test $ac_cv_c_bigendian = unknown; then 7855 9181 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 7856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9182 cat >conftest.$ac_ext <<_ACEOF 9183 /* confdefs.h. */ 9184 _ACEOF 9185 cat confdefs.h >>conftest.$ac_ext 9186 cat >>conftest.$ac_ext <<_ACEOF 7857 9187 /* end confdefs.h. */ 7858 9188 #include <limits.h> … … 7869 9199 } 7870 9200 _ACEOF 7871 if ac_fn_cxx_try_compile "$LINENO"; then : 9201 rm -f conftest.$ac_objext 9202 if { (ac_try="$ac_compile" 9203 case "(($ac_try" in 9204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9205 *) ac_try_echo=$ac_try;; 9206 esac 9207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9208 $as_echo "$ac_try_echo") >&5 9209 (eval "$ac_compile") 2>conftest.er1 9210 ac_status=$? 9211 grep -v '^ *+' conftest.er1 >conftest.err 9212 rm -f conftest.er1 9213 cat conftest.err >&5 9214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9215 (exit $ac_status); } && { 9216 test -z "$ac_cxx_werror_flag" || 9217 test ! -s conftest.err 9218 } && test -s conftest.$ac_objext; then 7872 9219 # It does; now see whether it defined to _BIG_ENDIAN or not. 7873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9220 cat >conftest.$ac_ext <<_ACEOF 9221 /* confdefs.h. */ 9222 _ACEOF 9223 cat confdefs.h >>conftest.$ac_ext 9224 cat >>conftest.$ac_ext <<_ACEOF 7874 9225 /* end confdefs.h. */ 7875 9226 #include <limits.h> … … 7886 9237 } 7887 9238 _ACEOF 7888 if ac_fn_cxx_try_compile "$LINENO"; then : 9239 rm -f conftest.$ac_objext 9240 if { (ac_try="$ac_compile" 9241 case "(($ac_try" in 9242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9243 *) ac_try_echo=$ac_try;; 9244 esac 9245 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9246 $as_echo "$ac_try_echo") >&5 9247 (eval "$ac_compile") 2>conftest.er1 9248 ac_status=$? 9249 grep -v '^ *+' conftest.er1 >conftest.err 9250 rm -f conftest.er1 9251 cat conftest.err >&5 9252 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9253 (exit $ac_status); } && { 9254 test -z "$ac_cxx_werror_flag" || 9255 test ! -s conftest.err 9256 } && test -s conftest.$ac_objext; then 7889 9257 ac_cv_c_bigendian=yes 7890 9258 else 7891 ac_cv_c_bigendian=no 7892 fi 9259 $as_echo "$as_me: failed program was:" >&5 9260 sed 's/^/| /' conftest.$ac_ext >&5 9261 9262 ac_cv_c_bigendian=no 9263 fi 9264 7893 9265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7894 fi 9266 else 9267 $as_echo "$as_me: failed program was:" >&5 9268 sed 's/^/| /' conftest.$ac_ext >&5 9269 9270 9271 fi 9272 7895 9273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7896 9274 fi 7897 9275 if test $ac_cv_c_bigendian = unknown; then 7898 9276 # Compile a test program. 7899 if test "$cross_compiling" = yes; then :9277 if test "$cross_compiling" = yes; then 7900 9278 # Try to guess by grepping values from an object file. 7901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9279 cat >conftest.$ac_ext <<_ACEOF 9280 /* confdefs.h. */ 9281 _ACEOF 9282 cat confdefs.h >>conftest.$ac_ext 9283 cat >>conftest.$ac_ext <<_ACEOF 7902 9284 /* end confdefs.h. */ 7903 9285 short int ascii_mm[] = … … 7925 9307 } 7926 9308 _ACEOF 7927 if ac_fn_cxx_try_compile "$LINENO"; then : 9309 rm -f conftest.$ac_objext 9310 if { (ac_try="$ac_compile" 9311 case "(($ac_try" in 9312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9313 *) ac_try_echo=$ac_try;; 9314 esac 9315 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9316 $as_echo "$ac_try_echo") >&5 9317 (eval "$ac_compile") 2>conftest.er1 9318 ac_status=$? 9319 grep -v '^ *+' conftest.er1 >conftest.err 9320 rm -f conftest.er1 9321 cat conftest.err >&5 9322 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9323 (exit $ac_status); } && { 9324 test -z "$ac_cxx_werror_flag" || 9325 test ! -s conftest.err 9326 } && test -s conftest.$ac_objext; then 7928 9327 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 7929 9328 ac_cv_c_bigendian=yes … … 7937 9336 fi 7938 9337 fi 7939 fi 9338 else 9339 $as_echo "$as_me: failed program was:" >&5 9340 sed 's/^/| /' conftest.$ac_ext >&5 9341 9342 9343 fi 9344 7940 9345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7941 9346 else 7942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9347 cat >conftest.$ac_ext <<_ACEOF 9348 /* confdefs.h. */ 9349 _ACEOF 9350 cat confdefs.h >>conftest.$ac_ext 9351 cat >>conftest.$ac_ext <<_ACEOF 7943 9352 /* end confdefs.h. */ 7944 9353 $ac_includes_default … … 7960 9369 } 7961 9370 _ACEOF 7962 if ac_fn_cxx_try_run "$LINENO"; then : 9371 rm -f conftest$ac_exeext 9372 if { (ac_try="$ac_link" 9373 case "(($ac_try" in 9374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9375 *) ac_try_echo=$ac_try;; 9376 esac 9377 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9378 $as_echo "$ac_try_echo") >&5 9379 (eval "$ac_link") 2>&5 9380 ac_status=$? 9381 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9382 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9383 { (case "(($ac_try" in 9384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9385 *) ac_try_echo=$ac_try;; 9386 esac 9387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9388 $as_echo "$ac_try_echo") >&5 9389 (eval "$ac_try") 2>&5 9390 ac_status=$? 9391 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9392 (exit $ac_status); }; }; then 7963 9393 ac_cv_c_bigendian=no 7964 9394 else 7965 ac_cv_c_bigendian=yes 7966 fi 7967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7968 conftest.$ac_objext conftest.beam conftest.$ac_ext 7969 fi 9395 $as_echo "$as_me: program exited with status $ac_status" >&5 9396 $as_echo "$as_me: failed program was:" >&5 9397 sed 's/^/| /' conftest.$ac_ext >&5 9398 9399 ( exit $ac_status ) 9400 ac_cv_c_bigendian=yes 9401 fi 9402 rm -rf conftest.dSYM 9403 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9404 fi 9405 7970 9406 7971 9407 fi 7972 9408 fi 7973 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&59409 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7974 9410 $as_echo "$ac_cv_c_bigendian" >&6; } 7975 9411 case $ac_cv_c_bigendian in #( 7976 9412 yes) 7977 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 9413 cat >>confdefs.h <<\_ACEOF 9414 #define WORDS_BIGENDIAN 1 9415 _ACEOF 7978 9416 ;; #( 7979 9417 no) … … 7981 9419 universal) 7982 9420 7983 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 9421 cat >>confdefs.h <<\_ACEOF 9422 #define AC_APPLE_UNIVERSAL_BUILD 1 9423 _ACEOF 7984 9424 7985 9425 ;; #( 7986 9426 *) 7987 as_fn_error $? "unknown endianness 7988 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 9427 { { $as_echo "$as_me:$LINENO: error: unknown endianness 9428 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 9429 $as_echo "$as_me: error: unknown endianness 9430 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 9431 { (exit 1); exit 1; }; } ;; 7989 9432 esac 7990 9433 … … 7993 9436 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7994 9437 # This bug is HP SR number 8606223364. 7995 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of int" >&59438 { $as_echo "$as_me:$LINENO: checking size of int" >&5 7996 9439 $as_echo_n "checking size of int... " >&6; } 7997 if ${ac_cv_sizeof_int+:} false; then :9440 if test "${ac_cv_sizeof_int+set}" = set; then 7998 9441 $as_echo_n "(cached) " >&6 7999 9442 else 8000 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 8001 8002 else 8003 if test "$ac_cv_type_int" = yes; then 8004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9443 if test "$cross_compiling" = yes; then 9444 # Depending upon the size, compute the lo and hi bounds. 9445 cat >conftest.$ac_ext <<_ACEOF 9446 /* confdefs.h. */ 9447 _ACEOF 9448 cat confdefs.h >>conftest.$ac_ext 9449 cat >>conftest.$ac_ext <<_ACEOF 9450 /* end confdefs.h. */ 9451 $ac_includes_default 9452 int 9453 main () 9454 { 9455 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)]; 9456 test_array [0] = 0 9457 9458 ; 9459 return 0; 9460 } 9461 _ACEOF 9462 rm -f conftest.$ac_objext 9463 if { (ac_try="$ac_compile" 9464 case "(($ac_try" in 9465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9466 *) ac_try_echo=$ac_try;; 9467 esac 9468 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9469 $as_echo "$ac_try_echo") >&5 9470 (eval "$ac_compile") 2>conftest.er1 9471 ac_status=$? 9472 grep -v '^ *+' conftest.er1 >conftest.err 9473 rm -f conftest.er1 9474 cat conftest.err >&5 9475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9476 (exit $ac_status); } && { 9477 test -z "$ac_cxx_werror_flag" || 9478 test ! -s conftest.err 9479 } && test -s conftest.$ac_objext; then 9480 ac_lo=0 ac_mid=0 9481 while :; do 9482 cat >conftest.$ac_ext <<_ACEOF 9483 /* confdefs.h. */ 9484 _ACEOF 9485 cat confdefs.h >>conftest.$ac_ext 9486 cat >>conftest.$ac_ext <<_ACEOF 9487 /* end confdefs.h. */ 9488 $ac_includes_default 9489 int 9490 main () 9491 { 9492 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; 9493 test_array [0] = 0 9494 9495 ; 9496 return 0; 9497 } 9498 _ACEOF 9499 rm -f conftest.$ac_objext 9500 if { (ac_try="$ac_compile" 9501 case "(($ac_try" in 9502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9503 *) ac_try_echo=$ac_try;; 9504 esac 9505 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9506 $as_echo "$ac_try_echo") >&5 9507 (eval "$ac_compile") 2>conftest.er1 9508 ac_status=$? 9509 grep -v '^ *+' conftest.er1 >conftest.err 9510 rm -f conftest.er1 9511 cat conftest.err >&5 9512 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9513 (exit $ac_status); } && { 9514 test -z "$ac_cxx_werror_flag" || 9515 test ! -s conftest.err 9516 } && test -s conftest.$ac_objext; then 9517 ac_hi=$ac_mid; break 9518 else 9519 $as_echo "$as_me: failed program was:" >&5 9520 sed 's/^/| /' conftest.$ac_ext >&5 9521 9522 ac_lo=`expr $ac_mid + 1` 9523 if test $ac_lo -le $ac_mid; then 9524 ac_lo= ac_hi= 9525 break 9526 fi 9527 ac_mid=`expr 2 '*' $ac_mid + 1` 9528 fi 9529 9530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9531 done 9532 else 9533 $as_echo "$as_me: failed program was:" >&5 9534 sed 's/^/| /' conftest.$ac_ext >&5 9535 9536 cat >conftest.$ac_ext <<_ACEOF 9537 /* confdefs.h. */ 9538 _ACEOF 9539 cat confdefs.h >>conftest.$ac_ext 9540 cat >>conftest.$ac_ext <<_ACEOF 9541 /* end confdefs.h. */ 9542 $ac_includes_default 9543 int 9544 main () 9545 { 9546 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)]; 9547 test_array [0] = 0 9548 9549 ; 9550 return 0; 9551 } 9552 _ACEOF 9553 rm -f conftest.$ac_objext 9554 if { (ac_try="$ac_compile" 9555 case "(($ac_try" in 9556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9557 *) ac_try_echo=$ac_try;; 9558 esac 9559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9560 $as_echo "$ac_try_echo") >&5 9561 (eval "$ac_compile") 2>conftest.er1 9562 ac_status=$? 9563 grep -v '^ *+' conftest.er1 >conftest.err 9564 rm -f conftest.er1 9565 cat conftest.err >&5 9566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9567 (exit $ac_status); } && { 9568 test -z "$ac_cxx_werror_flag" || 9569 test ! -s conftest.err 9570 } && test -s conftest.$ac_objext; then 9571 ac_hi=-1 ac_mid=-1 9572 while :; do 9573 cat >conftest.$ac_ext <<_ACEOF 9574 /* confdefs.h. */ 9575 _ACEOF 9576 cat confdefs.h >>conftest.$ac_ext 9577 cat >>conftest.$ac_ext <<_ACEOF 9578 /* end confdefs.h. */ 9579 $ac_includes_default 9580 int 9581 main () 9582 { 9583 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)]; 9584 test_array [0] = 0 9585 9586 ; 9587 return 0; 9588 } 9589 _ACEOF 9590 rm -f conftest.$ac_objext 9591 if { (ac_try="$ac_compile" 9592 case "(($ac_try" in 9593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9594 *) ac_try_echo=$ac_try;; 9595 esac 9596 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9597 $as_echo "$ac_try_echo") >&5 9598 (eval "$ac_compile") 2>conftest.er1 9599 ac_status=$? 9600 grep -v '^ *+' conftest.er1 >conftest.err 9601 rm -f conftest.er1 9602 cat conftest.err >&5 9603 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9604 (exit $ac_status); } && { 9605 test -z "$ac_cxx_werror_flag" || 9606 test ! -s conftest.err 9607 } && test -s conftest.$ac_objext; then 9608 ac_lo=$ac_mid; break 9609 else 9610 $as_echo "$as_me: failed program was:" >&5 9611 sed 's/^/| /' conftest.$ac_ext >&5 9612 9613 ac_hi=`expr '(' $ac_mid ')' - 1` 9614 if test $ac_mid -le $ac_hi; then 9615 ac_lo= ac_hi= 9616 break 9617 fi 9618 ac_mid=`expr 2 '*' $ac_mid` 9619 fi 9620 9621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9622 done 9623 else 9624 $as_echo "$as_me: failed program was:" >&5 9625 sed 's/^/| /' conftest.$ac_ext >&5 9626 9627 ac_lo= ac_hi= 9628 fi 9629 9630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9631 fi 9632 9633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9634 # Binary search between lo and hi bounds. 9635 while test "x$ac_lo" != "x$ac_hi"; do 9636 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 9637 cat >conftest.$ac_ext <<_ACEOF 9638 /* confdefs.h. */ 9639 _ACEOF 9640 cat confdefs.h >>conftest.$ac_ext 9641 cat >>conftest.$ac_ext <<_ACEOF 9642 /* end confdefs.h. */ 9643 $ac_includes_default 9644 int 9645 main () 9646 { 9647 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; 9648 test_array [0] = 0 9649 9650 ; 9651 return 0; 9652 } 9653 _ACEOF 9654 rm -f conftest.$ac_objext 9655 if { (ac_try="$ac_compile" 9656 case "(($ac_try" in 9657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9658 *) ac_try_echo=$ac_try;; 9659 esac 9660 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9661 $as_echo "$ac_try_echo") >&5 9662 (eval "$ac_compile") 2>conftest.er1 9663 ac_status=$? 9664 grep -v '^ *+' conftest.er1 >conftest.err 9665 rm -f conftest.er1 9666 cat conftest.err >&5 9667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9668 (exit $ac_status); } && { 9669 test -z "$ac_cxx_werror_flag" || 9670 test ! -s conftest.err 9671 } && test -s conftest.$ac_objext; then 9672 ac_hi=$ac_mid 9673 else 9674 $as_echo "$as_me: failed program was:" >&5 9675 sed 's/^/| /' conftest.$ac_ext >&5 9676 9677 ac_lo=`expr '(' $ac_mid ')' + 1` 9678 fi 9679 9680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9681 done 9682 case $ac_lo in 9683 ?*) ac_cv_sizeof_int=$ac_lo;; 9684 '') if test "$ac_cv_type_int" = yes; then 9685 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8005 9686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8006 as_fn_error 77 "cannot compute sizeof (int) 8007 See \`config.log' for more details" "$LINENO" 5; } 9687 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 9688 See \`config.log' for more details." >&5 9689 $as_echo "$as_me: error: cannot compute sizeof (int) 9690 See \`config.log' for more details." >&2;} 9691 { (exit 77); exit 77; }; }; } 9692 else 9693 ac_cv_sizeof_int=0 9694 fi ;; 9695 esac 9696 else 9697 cat >conftest.$ac_ext <<_ACEOF 9698 /* confdefs.h. */ 9699 _ACEOF 9700 cat confdefs.h >>conftest.$ac_ext 9701 cat >>conftest.$ac_ext <<_ACEOF 9702 /* end confdefs.h. */ 9703 $ac_includes_default 9704 static long int longval () { return (long int) (sizeof (int)); } 9705 static unsigned long int ulongval () { return (long int) (sizeof (int)); } 9706 #include <stdio.h> 9707 #include <stdlib.h> 9708 int 9709 main () 9710 { 9711 9712 FILE *f = fopen ("conftest.val", "w"); 9713 if (! f) 9714 return 1; 9715 if (((long int) (sizeof (int))) < 0) 9716 { 9717 long int i = longval (); 9718 if (i != ((long int) (sizeof (int)))) 9719 return 1; 9720 fprintf (f, "%ld", i); 9721 } 9722 else 9723 { 9724 unsigned long int i = ulongval (); 9725 if (i != ((long int) (sizeof (int)))) 9726 return 1; 9727 fprintf (f, "%lu", i); 9728 } 9729 /* Do not output a trailing newline, as this causes \r\n confusion 9730 on some platforms. */ 9731 return ferror (f) || fclose (f) != 0; 9732 9733 ; 9734 return 0; 9735 } 9736 _ACEOF 9737 rm -f conftest$ac_exeext 9738 if { (ac_try="$ac_link" 9739 case "(($ac_try" in 9740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9741 *) ac_try_echo=$ac_try;; 9742 esac 9743 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9744 $as_echo "$ac_try_echo") >&5 9745 (eval "$ac_link") 2>&5 9746 ac_status=$? 9747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9749 { (case "(($ac_try" in 9750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9751 *) ac_try_echo=$ac_try;; 9752 esac 9753 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9754 $as_echo "$ac_try_echo") >&5 9755 (eval "$ac_try") 2>&5 9756 ac_status=$? 9757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9758 (exit $ac_status); }; }; then 9759 ac_cv_sizeof_int=`cat conftest.val` 9760 else 9761 $as_echo "$as_me: program exited with status $ac_status" >&5 9762 $as_echo "$as_me: failed program was:" >&5 9763 sed 's/^/| /' conftest.$ac_ext >&5 9764 9765 ( exit $ac_status ) 9766 if test "$ac_cv_type_int" = yes; then 9767 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 9768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9769 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) 9770 See \`config.log' for more details." >&5 9771 $as_echo "$as_me: error: cannot compute sizeof (int) 9772 See \`config.log' for more details." >&2;} 9773 { (exit 77); exit 77; }; }; } 8008 9774 else 8009 9775 ac_cv_sizeof_int=0 8010 9776 fi 8011 9777 fi 8012 8013 fi 8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 9778 rm -rf conftest.dSYM 9779 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9780 fi 9781 rm -f conftest.val 9782 fi 9783 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 8015 9784 $as_echo "$ac_cv_sizeof_int" >&6; } 8016 9785 … … 8026 9795 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8027 9796 # This bug is HP SR number 8606223364. 8028 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of long" >&59797 { $as_echo "$as_me:$LINENO: checking size of long" >&5 8029 9798 $as_echo_n "checking size of long... " >&6; } 8030 if ${ac_cv_sizeof_long+:} false; then :9799 if test "${ac_cv_sizeof_long+set}" = set; then 8031 9800 $as_echo_n "(cached) " >&6 8032 9801 else 8033 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 8034 8035 else 8036 if test "$ac_cv_type_long" = yes; then 8037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9802 if test "$cross_compiling" = yes; then 9803 # Depending upon the size, compute the lo and hi bounds. 9804 cat >conftest.$ac_ext <<_ACEOF 9805 /* confdefs.h. */ 9806 _ACEOF 9807 cat confdefs.h >>conftest.$ac_ext 9808 cat >>conftest.$ac_ext <<_ACEOF 9809 /* end confdefs.h. */ 9810 $ac_includes_default 9811 int 9812 main () 9813 { 9814 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)]; 9815 test_array [0] = 0 9816 9817 ; 9818 return 0; 9819 } 9820 _ACEOF 9821 rm -f conftest.$ac_objext 9822 if { (ac_try="$ac_compile" 9823 case "(($ac_try" in 9824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9825 *) ac_try_echo=$ac_try;; 9826 esac 9827 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9828 $as_echo "$ac_try_echo") >&5 9829 (eval "$ac_compile") 2>conftest.er1 9830 ac_status=$? 9831 grep -v '^ *+' conftest.er1 >conftest.err 9832 rm -f conftest.er1 9833 cat conftest.err >&5 9834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9835 (exit $ac_status); } && { 9836 test -z "$ac_cxx_werror_flag" || 9837 test ! -s conftest.err 9838 } && test -s conftest.$ac_objext; then 9839 ac_lo=0 ac_mid=0 9840 while :; do 9841 cat >conftest.$ac_ext <<_ACEOF 9842 /* confdefs.h. */ 9843 _ACEOF 9844 cat confdefs.h >>conftest.$ac_ext 9845 cat >>conftest.$ac_ext <<_ACEOF 9846 /* end confdefs.h. */ 9847 $ac_includes_default 9848 int 9849 main () 9850 { 9851 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; 9852 test_array [0] = 0 9853 9854 ; 9855 return 0; 9856 } 9857 _ACEOF 9858 rm -f conftest.$ac_objext 9859 if { (ac_try="$ac_compile" 9860 case "(($ac_try" in 9861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9862 *) ac_try_echo=$ac_try;; 9863 esac 9864 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9865 $as_echo "$ac_try_echo") >&5 9866 (eval "$ac_compile") 2>conftest.er1 9867 ac_status=$? 9868 grep -v '^ *+' conftest.er1 >conftest.err 9869 rm -f conftest.er1 9870 cat conftest.err >&5 9871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9872 (exit $ac_status); } && { 9873 test -z "$ac_cxx_werror_flag" || 9874 test ! -s conftest.err 9875 } && test -s conftest.$ac_objext; then 9876 ac_hi=$ac_mid; break 9877 else 9878 $as_echo "$as_me: failed program was:" >&5 9879 sed 's/^/| /' conftest.$ac_ext >&5 9880 9881 ac_lo=`expr $ac_mid + 1` 9882 if test $ac_lo -le $ac_mid; then 9883 ac_lo= ac_hi= 9884 break 9885 fi 9886 ac_mid=`expr 2 '*' $ac_mid + 1` 9887 fi 9888 9889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9890 done 9891 else 9892 $as_echo "$as_me: failed program was:" >&5 9893 sed 's/^/| /' conftest.$ac_ext >&5 9894 9895 cat >conftest.$ac_ext <<_ACEOF 9896 /* confdefs.h. */ 9897 _ACEOF 9898 cat confdefs.h >>conftest.$ac_ext 9899 cat >>conftest.$ac_ext <<_ACEOF 9900 /* end confdefs.h. */ 9901 $ac_includes_default 9902 int 9903 main () 9904 { 9905 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)]; 9906 test_array [0] = 0 9907 9908 ; 9909 return 0; 9910 } 9911 _ACEOF 9912 rm -f conftest.$ac_objext 9913 if { (ac_try="$ac_compile" 9914 case "(($ac_try" in 9915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9916 *) ac_try_echo=$ac_try;; 9917 esac 9918 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9919 $as_echo "$ac_try_echo") >&5 9920 (eval "$ac_compile") 2>conftest.er1 9921 ac_status=$? 9922 grep -v '^ *+' conftest.er1 >conftest.err 9923 rm -f conftest.er1 9924 cat conftest.err >&5 9925 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9926 (exit $ac_status); } && { 9927 test -z "$ac_cxx_werror_flag" || 9928 test ! -s conftest.err 9929 } && test -s conftest.$ac_objext; then 9930 ac_hi=-1 ac_mid=-1 9931 while :; do 9932 cat >conftest.$ac_ext <<_ACEOF 9933 /* confdefs.h. */ 9934 _ACEOF 9935 cat confdefs.h >>conftest.$ac_ext 9936 cat >>conftest.$ac_ext <<_ACEOF 9937 /* end confdefs.h. */ 9938 $ac_includes_default 9939 int 9940 main () 9941 { 9942 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)]; 9943 test_array [0] = 0 9944 9945 ; 9946 return 0; 9947 } 9948 _ACEOF 9949 rm -f conftest.$ac_objext 9950 if { (ac_try="$ac_compile" 9951 case "(($ac_try" in 9952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9953 *) ac_try_echo=$ac_try;; 9954 esac 9955 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9956 $as_echo "$ac_try_echo") >&5 9957 (eval "$ac_compile") 2>conftest.er1 9958 ac_status=$? 9959 grep -v '^ *+' conftest.er1 >conftest.err 9960 rm -f conftest.er1 9961 cat conftest.err >&5 9962 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9963 (exit $ac_status); } && { 9964 test -z "$ac_cxx_werror_flag" || 9965 test ! -s conftest.err 9966 } && test -s conftest.$ac_objext; then 9967 ac_lo=$ac_mid; break 9968 else 9969 $as_echo "$as_me: failed program was:" >&5 9970 sed 's/^/| /' conftest.$ac_ext >&5 9971 9972 ac_hi=`expr '(' $ac_mid ')' - 1` 9973 if test $ac_mid -le $ac_hi; then 9974 ac_lo= ac_hi= 9975 break 9976 fi 9977 ac_mid=`expr 2 '*' $ac_mid` 9978 fi 9979 9980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9981 done 9982 else 9983 $as_echo "$as_me: failed program was:" >&5 9984 sed 's/^/| /' conftest.$ac_ext >&5 9985 9986 ac_lo= ac_hi= 9987 fi 9988 9989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9990 fi 9991 9992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9993 # Binary search between lo and hi bounds. 9994 while test "x$ac_lo" != "x$ac_hi"; do 9995 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 9996 cat >conftest.$ac_ext <<_ACEOF 9997 /* confdefs.h. */ 9998 _ACEOF 9999 cat confdefs.h >>conftest.$ac_ext 10000 cat >>conftest.$ac_ext <<_ACEOF 10001 /* end confdefs.h. */ 10002 $ac_includes_default 10003 int 10004 main () 10005 { 10006 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; 10007 test_array [0] = 0 10008 10009 ; 10010 return 0; 10011 } 10012 _ACEOF 10013 rm -f conftest.$ac_objext 10014 if { (ac_try="$ac_compile" 10015 case "(($ac_try" in 10016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10017 *) ac_try_echo=$ac_try;; 10018 esac 10019 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10020 $as_echo "$ac_try_echo") >&5 10021 (eval "$ac_compile") 2>conftest.er1 10022 ac_status=$? 10023 grep -v '^ *+' conftest.er1 >conftest.err 10024 rm -f conftest.er1 10025 cat conftest.err >&5 10026 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10027 (exit $ac_status); } && { 10028 test -z "$ac_cxx_werror_flag" || 10029 test ! -s conftest.err 10030 } && test -s conftest.$ac_objext; then 10031 ac_hi=$ac_mid 10032 else 10033 $as_echo "$as_me: failed program was:" >&5 10034 sed 's/^/| /' conftest.$ac_ext >&5 10035 10036 ac_lo=`expr '(' $ac_mid ')' + 1` 10037 fi 10038 10039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10040 done 10041 case $ac_lo in 10042 ?*) ac_cv_sizeof_long=$ac_lo;; 10043 '') if test "$ac_cv_type_long" = yes; then 10044 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8038 10045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8039 as_fn_error 77 "cannot compute sizeof (long) 8040 See \`config.log' for more details" "$LINENO" 5; } 10046 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 10047 See \`config.log' for more details." >&5 10048 $as_echo "$as_me: error: cannot compute sizeof (long) 10049 See \`config.log' for more details." >&2;} 10050 { (exit 77); exit 77; }; }; } 10051 else 10052 ac_cv_sizeof_long=0 10053 fi ;; 10054 esac 10055 else 10056 cat >conftest.$ac_ext <<_ACEOF 10057 /* confdefs.h. */ 10058 _ACEOF 10059 cat confdefs.h >>conftest.$ac_ext 10060 cat >>conftest.$ac_ext <<_ACEOF 10061 /* end confdefs.h. */ 10062 $ac_includes_default 10063 static long int longval () { return (long int) (sizeof (long)); } 10064 static unsigned long int ulongval () { return (long int) (sizeof (long)); } 10065 #include <stdio.h> 10066 #include <stdlib.h> 10067 int 10068 main () 10069 { 10070 10071 FILE *f = fopen ("conftest.val", "w"); 10072 if (! f) 10073 return 1; 10074 if (((long int) (sizeof (long))) < 0) 10075 { 10076 long int i = longval (); 10077 if (i != ((long int) (sizeof (long)))) 10078 return 1; 10079 fprintf (f, "%ld", i); 10080 } 10081 else 10082 { 10083 unsigned long int i = ulongval (); 10084 if (i != ((long int) (sizeof (long)))) 10085 return 1; 10086 fprintf (f, "%lu", i); 10087 } 10088 /* Do not output a trailing newline, as this causes \r\n confusion 10089 on some platforms. */ 10090 return ferror (f) || fclose (f) != 0; 10091 10092 ; 10093 return 0; 10094 } 10095 _ACEOF 10096 rm -f conftest$ac_exeext 10097 if { (ac_try="$ac_link" 10098 case "(($ac_try" in 10099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10100 *) ac_try_echo=$ac_try;; 10101 esac 10102 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10103 $as_echo "$ac_try_echo") >&5 10104 (eval "$ac_link") 2>&5 10105 ac_status=$? 10106 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10107 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10108 { (case "(($ac_try" in 10109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10110 *) ac_try_echo=$ac_try;; 10111 esac 10112 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10113 $as_echo "$ac_try_echo") >&5 10114 (eval "$ac_try") 2>&5 10115 ac_status=$? 10116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10117 (exit $ac_status); }; }; then 10118 ac_cv_sizeof_long=`cat conftest.val` 10119 else 10120 $as_echo "$as_me: program exited with status $ac_status" >&5 10121 $as_echo "$as_me: failed program was:" >&5 10122 sed 's/^/| /' conftest.$ac_ext >&5 10123 10124 ( exit $ac_status ) 10125 if test "$ac_cv_type_long" = yes; then 10126 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10128 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) 10129 See \`config.log' for more details." >&5 10130 $as_echo "$as_me: error: cannot compute sizeof (long) 10131 See \`config.log' for more details." >&2;} 10132 { (exit 77); exit 77; }; }; } 8041 10133 else 8042 10134 ac_cv_sizeof_long=0 8043 10135 fi 8044 10136 fi 8045 8046 fi 8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 10137 rm -rf conftest.dSYM 10138 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10139 fi 10140 rm -f conftest.val 10141 fi 10142 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 8048 10143 $as_echo "$ac_cv_sizeof_long" >&6; } 8049 10144 … … 8059 10154 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8060 10155 # This bug is HP SR number 8606223364. 8061 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of long long" >&510156 { $as_echo "$as_me:$LINENO: checking size of long long" >&5 8062 10157 $as_echo_n "checking size of long long... " >&6; } 8063 if ${ac_cv_sizeof_long_long+:} false; then :10158 if test "${ac_cv_sizeof_long_long+set}" = set; then 8064 10159 $as_echo_n "(cached) " >&6 8065 10160 else 8066 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 8067 8068 else 8069 if test "$ac_cv_type_long_long" = yes; then 8070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10161 if test "$cross_compiling" = yes; then 10162 # Depending upon the size, compute the lo and hi bounds. 10163 cat >conftest.$ac_ext <<_ACEOF 10164 /* confdefs.h. */ 10165 _ACEOF 10166 cat confdefs.h >>conftest.$ac_ext 10167 cat >>conftest.$ac_ext <<_ACEOF 10168 /* end confdefs.h. */ 10169 $ac_includes_default 10170 int 10171 main () 10172 { 10173 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)]; 10174 test_array [0] = 0 10175 10176 ; 10177 return 0; 10178 } 10179 _ACEOF 10180 rm -f conftest.$ac_objext 10181 if { (ac_try="$ac_compile" 10182 case "(($ac_try" in 10183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10184 *) ac_try_echo=$ac_try;; 10185 esac 10186 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10187 $as_echo "$ac_try_echo") >&5 10188 (eval "$ac_compile") 2>conftest.er1 10189 ac_status=$? 10190 grep -v '^ *+' conftest.er1 >conftest.err 10191 rm -f conftest.er1 10192 cat conftest.err >&5 10193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10194 (exit $ac_status); } && { 10195 test -z "$ac_cxx_werror_flag" || 10196 test ! -s conftest.err 10197 } && test -s conftest.$ac_objext; then 10198 ac_lo=0 ac_mid=0 10199 while :; do 10200 cat >conftest.$ac_ext <<_ACEOF 10201 /* confdefs.h. */ 10202 _ACEOF 10203 cat confdefs.h >>conftest.$ac_ext 10204 cat >>conftest.$ac_ext <<_ACEOF 10205 /* end confdefs.h. */ 10206 $ac_includes_default 10207 int 10208 main () 10209 { 10210 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; 10211 test_array [0] = 0 10212 10213 ; 10214 return 0; 10215 } 10216 _ACEOF 10217 rm -f conftest.$ac_objext 10218 if { (ac_try="$ac_compile" 10219 case "(($ac_try" in 10220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10221 *) ac_try_echo=$ac_try;; 10222 esac 10223 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10224 $as_echo "$ac_try_echo") >&5 10225 (eval "$ac_compile") 2>conftest.er1 10226 ac_status=$? 10227 grep -v '^ *+' conftest.er1 >conftest.err 10228 rm -f conftest.er1 10229 cat conftest.err >&5 10230 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10231 (exit $ac_status); } && { 10232 test -z "$ac_cxx_werror_flag" || 10233 test ! -s conftest.err 10234 } && test -s conftest.$ac_objext; then 10235 ac_hi=$ac_mid; break 10236 else 10237 $as_echo "$as_me: failed program was:" >&5 10238 sed 's/^/| /' conftest.$ac_ext >&5 10239 10240 ac_lo=`expr $ac_mid + 1` 10241 if test $ac_lo -le $ac_mid; then 10242 ac_lo= ac_hi= 10243 break 10244 fi 10245 ac_mid=`expr 2 '*' $ac_mid + 1` 10246 fi 10247 10248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10249 done 10250 else 10251 $as_echo "$as_me: failed program was:" >&5 10252 sed 's/^/| /' conftest.$ac_ext >&5 10253 10254 cat >conftest.$ac_ext <<_ACEOF 10255 /* confdefs.h. */ 10256 _ACEOF 10257 cat confdefs.h >>conftest.$ac_ext 10258 cat >>conftest.$ac_ext <<_ACEOF 10259 /* end confdefs.h. */ 10260 $ac_includes_default 10261 int 10262 main () 10263 { 10264 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)]; 10265 test_array [0] = 0 10266 10267 ; 10268 return 0; 10269 } 10270 _ACEOF 10271 rm -f conftest.$ac_objext 10272 if { (ac_try="$ac_compile" 10273 case "(($ac_try" in 10274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10275 *) ac_try_echo=$ac_try;; 10276 esac 10277 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10278 $as_echo "$ac_try_echo") >&5 10279 (eval "$ac_compile") 2>conftest.er1 10280 ac_status=$? 10281 grep -v '^ *+' conftest.er1 >conftest.err 10282 rm -f conftest.er1 10283 cat conftest.err >&5 10284 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10285 (exit $ac_status); } && { 10286 test -z "$ac_cxx_werror_flag" || 10287 test ! -s conftest.err 10288 } && test -s conftest.$ac_objext; then 10289 ac_hi=-1 ac_mid=-1 10290 while :; do 10291 cat >conftest.$ac_ext <<_ACEOF 10292 /* confdefs.h. */ 10293 _ACEOF 10294 cat confdefs.h >>conftest.$ac_ext 10295 cat >>conftest.$ac_ext <<_ACEOF 10296 /* end confdefs.h. */ 10297 $ac_includes_default 10298 int 10299 main () 10300 { 10301 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)]; 10302 test_array [0] = 0 10303 10304 ; 10305 return 0; 10306 } 10307 _ACEOF 10308 rm -f conftest.$ac_objext 10309 if { (ac_try="$ac_compile" 10310 case "(($ac_try" in 10311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10312 *) ac_try_echo=$ac_try;; 10313 esac 10314 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10315 $as_echo "$ac_try_echo") >&5 10316 (eval "$ac_compile") 2>conftest.er1 10317 ac_status=$? 10318 grep -v '^ *+' conftest.er1 >conftest.err 10319 rm -f conftest.er1 10320 cat conftest.err >&5 10321 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10322 (exit $ac_status); } && { 10323 test -z "$ac_cxx_werror_flag" || 10324 test ! -s conftest.err 10325 } && test -s conftest.$ac_objext; then 10326 ac_lo=$ac_mid; break 10327 else 10328 $as_echo "$as_me: failed program was:" >&5 10329 sed 's/^/| /' conftest.$ac_ext >&5 10330 10331 ac_hi=`expr '(' $ac_mid ')' - 1` 10332 if test $ac_mid -le $ac_hi; then 10333 ac_lo= ac_hi= 10334 break 10335 fi 10336 ac_mid=`expr 2 '*' $ac_mid` 10337 fi 10338 10339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10340 done 10341 else 10342 $as_echo "$as_me: failed program was:" >&5 10343 sed 's/^/| /' conftest.$ac_ext >&5 10344 10345 ac_lo= ac_hi= 10346 fi 10347 10348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10349 fi 10350 10351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10352 # Binary search between lo and hi bounds. 10353 while test "x$ac_lo" != "x$ac_hi"; do 10354 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10355 cat >conftest.$ac_ext <<_ACEOF 10356 /* confdefs.h. */ 10357 _ACEOF 10358 cat confdefs.h >>conftest.$ac_ext 10359 cat >>conftest.$ac_ext <<_ACEOF 10360 /* end confdefs.h. */ 10361 $ac_includes_default 10362 int 10363 main () 10364 { 10365 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; 10366 test_array [0] = 0 10367 10368 ; 10369 return 0; 10370 } 10371 _ACEOF 10372 rm -f conftest.$ac_objext 10373 if { (ac_try="$ac_compile" 10374 case "(($ac_try" in 10375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10376 *) ac_try_echo=$ac_try;; 10377 esac 10378 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10379 $as_echo "$ac_try_echo") >&5 10380 (eval "$ac_compile") 2>conftest.er1 10381 ac_status=$? 10382 grep -v '^ *+' conftest.er1 >conftest.err 10383 rm -f conftest.er1 10384 cat conftest.err >&5 10385 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10386 (exit $ac_status); } && { 10387 test -z "$ac_cxx_werror_flag" || 10388 test ! -s conftest.err 10389 } && test -s conftest.$ac_objext; then 10390 ac_hi=$ac_mid 10391 else 10392 $as_echo "$as_me: failed program was:" >&5 10393 sed 's/^/| /' conftest.$ac_ext >&5 10394 10395 ac_lo=`expr '(' $ac_mid ')' + 1` 10396 fi 10397 10398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10399 done 10400 case $ac_lo in 10401 ?*) ac_cv_sizeof_long_long=$ac_lo;; 10402 '') if test "$ac_cv_type_long_long" = yes; then 10403 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8071 10404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8072 as_fn_error 77 "cannot compute sizeof (long long) 8073 See \`config.log' for more details" "$LINENO" 5; } 10405 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 10406 See \`config.log' for more details." >&5 10407 $as_echo "$as_me: error: cannot compute sizeof (long long) 10408 See \`config.log' for more details." >&2;} 10409 { (exit 77); exit 77; }; }; } 10410 else 10411 ac_cv_sizeof_long_long=0 10412 fi ;; 10413 esac 10414 else 10415 cat >conftest.$ac_ext <<_ACEOF 10416 /* confdefs.h. */ 10417 _ACEOF 10418 cat confdefs.h >>conftest.$ac_ext 10419 cat >>conftest.$ac_ext <<_ACEOF 10420 /* end confdefs.h. */ 10421 $ac_includes_default 10422 static long int longval () { return (long int) (sizeof (long long)); } 10423 static unsigned long int ulongval () { return (long int) (sizeof (long long)); } 10424 #include <stdio.h> 10425 #include <stdlib.h> 10426 int 10427 main () 10428 { 10429 10430 FILE *f = fopen ("conftest.val", "w"); 10431 if (! f) 10432 return 1; 10433 if (((long int) (sizeof (long long))) < 0) 10434 { 10435 long int i = longval (); 10436 if (i != ((long int) (sizeof (long long)))) 10437 return 1; 10438 fprintf (f, "%ld", i); 10439 } 10440 else 10441 { 10442 unsigned long int i = ulongval (); 10443 if (i != ((long int) (sizeof (long long)))) 10444 return 1; 10445 fprintf (f, "%lu", i); 10446 } 10447 /* Do not output a trailing newline, as this causes \r\n confusion 10448 on some platforms. */ 10449 return ferror (f) || fclose (f) != 0; 10450 10451 ; 10452 return 0; 10453 } 10454 _ACEOF 10455 rm -f conftest$ac_exeext 10456 if { (ac_try="$ac_link" 10457 case "(($ac_try" in 10458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10459 *) ac_try_echo=$ac_try;; 10460 esac 10461 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10462 $as_echo "$ac_try_echo") >&5 10463 (eval "$ac_link") 2>&5 10464 ac_status=$? 10465 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10466 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10467 { (case "(($ac_try" in 10468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10469 *) ac_try_echo=$ac_try;; 10470 esac 10471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10472 $as_echo "$ac_try_echo") >&5 10473 (eval "$ac_try") 2>&5 10474 ac_status=$? 10475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10476 (exit $ac_status); }; }; then 10477 ac_cv_sizeof_long_long=`cat conftest.val` 10478 else 10479 $as_echo "$as_me: program exited with status $ac_status" >&5 10480 $as_echo "$as_me: failed program was:" >&5 10481 sed 's/^/| /' conftest.$ac_ext >&5 10482 10483 ( exit $ac_status ) 10484 if test "$ac_cv_type_long_long" = yes; then 10485 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10487 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 10488 See \`config.log' for more details." >&5 10489 $as_echo "$as_me: error: cannot compute sizeof (long long) 10490 See \`config.log' for more details." >&2;} 10491 { (exit 77); exit 77; }; }; } 8074 10492 else 8075 10493 ac_cv_sizeof_long_long=0 8076 10494 fi 8077 10495 fi 8078 8079 fi 8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 10496 rm -rf conftest.dSYM 10497 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10498 fi 10499 rm -f conftest.val 10500 fi 10501 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 8081 10502 $as_echo "$ac_cv_sizeof_long_long" >&6; } 8082 10503 … … 8092 10513 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8093 10514 # This bug is HP SR number 8606223364. 8094 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of void *" >&510515 { $as_echo "$as_me:$LINENO: checking size of void *" >&5 8095 10516 $as_echo_n "checking size of void *... " >&6; } 8096 if ${ac_cv_sizeof_void_p+:} false; then :10517 if test "${ac_cv_sizeof_void_p+set}" = set; then 8097 10518 $as_echo_n "(cached) " >&6 8098 10519 else 8099 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 8100 8101 else 8102 if test "$ac_cv_type_void_p" = yes; then 8103 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10520 if test "$cross_compiling" = yes; then 10521 # Depending upon the size, compute the lo and hi bounds. 10522 cat >conftest.$ac_ext <<_ACEOF 10523 /* confdefs.h. */ 10524 _ACEOF 10525 cat confdefs.h >>conftest.$ac_ext 10526 cat >>conftest.$ac_ext <<_ACEOF 10527 /* end confdefs.h. */ 10528 $ac_includes_default 10529 int 10530 main () 10531 { 10532 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)]; 10533 test_array [0] = 0 10534 10535 ; 10536 return 0; 10537 } 10538 _ACEOF 10539 rm -f conftest.$ac_objext 10540 if { (ac_try="$ac_compile" 10541 case "(($ac_try" in 10542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10543 *) ac_try_echo=$ac_try;; 10544 esac 10545 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10546 $as_echo "$ac_try_echo") >&5 10547 (eval "$ac_compile") 2>conftest.er1 10548 ac_status=$? 10549 grep -v '^ *+' conftest.er1 >conftest.err 10550 rm -f conftest.er1 10551 cat conftest.err >&5 10552 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10553 (exit $ac_status); } && { 10554 test -z "$ac_cxx_werror_flag" || 10555 test ! -s conftest.err 10556 } && test -s conftest.$ac_objext; then 10557 ac_lo=0 ac_mid=0 10558 while :; do 10559 cat >conftest.$ac_ext <<_ACEOF 10560 /* confdefs.h. */ 10561 _ACEOF 10562 cat confdefs.h >>conftest.$ac_ext 10563 cat >>conftest.$ac_ext <<_ACEOF 10564 /* end confdefs.h. */ 10565 $ac_includes_default 10566 int 10567 main () 10568 { 10569 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; 10570 test_array [0] = 0 10571 10572 ; 10573 return 0; 10574 } 10575 _ACEOF 10576 rm -f conftest.$ac_objext 10577 if { (ac_try="$ac_compile" 10578 case "(($ac_try" in 10579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10580 *) ac_try_echo=$ac_try;; 10581 esac 10582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10583 $as_echo "$ac_try_echo") >&5 10584 (eval "$ac_compile") 2>conftest.er1 10585 ac_status=$? 10586 grep -v '^ *+' conftest.er1 >conftest.err 10587 rm -f conftest.er1 10588 cat conftest.err >&5 10589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10590 (exit $ac_status); } && { 10591 test -z "$ac_cxx_werror_flag" || 10592 test ! -s conftest.err 10593 } && test -s conftest.$ac_objext; then 10594 ac_hi=$ac_mid; break 10595 else 10596 $as_echo "$as_me: failed program was:" >&5 10597 sed 's/^/| /' conftest.$ac_ext >&5 10598 10599 ac_lo=`expr $ac_mid + 1` 10600 if test $ac_lo -le $ac_mid; then 10601 ac_lo= ac_hi= 10602 break 10603 fi 10604 ac_mid=`expr 2 '*' $ac_mid + 1` 10605 fi 10606 10607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10608 done 10609 else 10610 $as_echo "$as_me: failed program was:" >&5 10611 sed 's/^/| /' conftest.$ac_ext >&5 10612 10613 cat >conftest.$ac_ext <<_ACEOF 10614 /* confdefs.h. */ 10615 _ACEOF 10616 cat confdefs.h >>conftest.$ac_ext 10617 cat >>conftest.$ac_ext <<_ACEOF 10618 /* end confdefs.h. */ 10619 $ac_includes_default 10620 int 10621 main () 10622 { 10623 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)]; 10624 test_array [0] = 0 10625 10626 ; 10627 return 0; 10628 } 10629 _ACEOF 10630 rm -f conftest.$ac_objext 10631 if { (ac_try="$ac_compile" 10632 case "(($ac_try" in 10633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10634 *) ac_try_echo=$ac_try;; 10635 esac 10636 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10637 $as_echo "$ac_try_echo") >&5 10638 (eval "$ac_compile") 2>conftest.er1 10639 ac_status=$? 10640 grep -v '^ *+' conftest.er1 >conftest.err 10641 rm -f conftest.er1 10642 cat conftest.err >&5 10643 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10644 (exit $ac_status); } && { 10645 test -z "$ac_cxx_werror_flag" || 10646 test ! -s conftest.err 10647 } && test -s conftest.$ac_objext; then 10648 ac_hi=-1 ac_mid=-1 10649 while :; do 10650 cat >conftest.$ac_ext <<_ACEOF 10651 /* confdefs.h. */ 10652 _ACEOF 10653 cat confdefs.h >>conftest.$ac_ext 10654 cat >>conftest.$ac_ext <<_ACEOF 10655 /* end confdefs.h. */ 10656 $ac_includes_default 10657 int 10658 main () 10659 { 10660 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)]; 10661 test_array [0] = 0 10662 10663 ; 10664 return 0; 10665 } 10666 _ACEOF 10667 rm -f conftest.$ac_objext 10668 if { (ac_try="$ac_compile" 10669 case "(($ac_try" in 10670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10671 *) ac_try_echo=$ac_try;; 10672 esac 10673 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10674 $as_echo "$ac_try_echo") >&5 10675 (eval "$ac_compile") 2>conftest.er1 10676 ac_status=$? 10677 grep -v '^ *+' conftest.er1 >conftest.err 10678 rm -f conftest.er1 10679 cat conftest.err >&5 10680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10681 (exit $ac_status); } && { 10682 test -z "$ac_cxx_werror_flag" || 10683 test ! -s conftest.err 10684 } && test -s conftest.$ac_objext; then 10685 ac_lo=$ac_mid; break 10686 else 10687 $as_echo "$as_me: failed program was:" >&5 10688 sed 's/^/| /' conftest.$ac_ext >&5 10689 10690 ac_hi=`expr '(' $ac_mid ')' - 1` 10691 if test $ac_mid -le $ac_hi; then 10692 ac_lo= ac_hi= 10693 break 10694 fi 10695 ac_mid=`expr 2 '*' $ac_mid` 10696 fi 10697 10698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10699 done 10700 else 10701 $as_echo "$as_me: failed program was:" >&5 10702 sed 's/^/| /' conftest.$ac_ext >&5 10703 10704 ac_lo= ac_hi= 10705 fi 10706 10707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10708 fi 10709 10710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10711 # Binary search between lo and hi bounds. 10712 while test "x$ac_lo" != "x$ac_hi"; do 10713 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10714 cat >conftest.$ac_ext <<_ACEOF 10715 /* confdefs.h. */ 10716 _ACEOF 10717 cat confdefs.h >>conftest.$ac_ext 10718 cat >>conftest.$ac_ext <<_ACEOF 10719 /* end confdefs.h. */ 10720 $ac_includes_default 10721 int 10722 main () 10723 { 10724 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; 10725 test_array [0] = 0 10726 10727 ; 10728 return 0; 10729 } 10730 _ACEOF 10731 rm -f conftest.$ac_objext 10732 if { (ac_try="$ac_compile" 10733 case "(($ac_try" in 10734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10735 *) ac_try_echo=$ac_try;; 10736 esac 10737 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10738 $as_echo "$ac_try_echo") >&5 10739 (eval "$ac_compile") 2>conftest.er1 10740 ac_status=$? 10741 grep -v '^ *+' conftest.er1 >conftest.err 10742 rm -f conftest.er1 10743 cat conftest.err >&5 10744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10745 (exit $ac_status); } && { 10746 test -z "$ac_cxx_werror_flag" || 10747 test ! -s conftest.err 10748 } && test -s conftest.$ac_objext; then 10749 ac_hi=$ac_mid 10750 else 10751 $as_echo "$as_me: failed program was:" >&5 10752 sed 's/^/| /' conftest.$ac_ext >&5 10753 10754 ac_lo=`expr '(' $ac_mid ')' + 1` 10755 fi 10756 10757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10758 done 10759 case $ac_lo in 10760 ?*) ac_cv_sizeof_void_p=$ac_lo;; 10761 '') if test "$ac_cv_type_void_p" = yes; then 10762 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8104 10763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8105 as_fn_error 77 "cannot compute sizeof (void *) 8106 See \`config.log' for more details" "$LINENO" 5; } 10764 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 10765 See \`config.log' for more details." >&5 10766 $as_echo "$as_me: error: cannot compute sizeof (void *) 10767 See \`config.log' for more details." >&2;} 10768 { (exit 77); exit 77; }; }; } 10769 else 10770 ac_cv_sizeof_void_p=0 10771 fi ;; 10772 esac 10773 else 10774 cat >conftest.$ac_ext <<_ACEOF 10775 /* confdefs.h. */ 10776 _ACEOF 10777 cat confdefs.h >>conftest.$ac_ext 10778 cat >>conftest.$ac_ext <<_ACEOF 10779 /* end confdefs.h. */ 10780 $ac_includes_default 10781 static long int longval () { return (long int) (sizeof (void *)); } 10782 static unsigned long int ulongval () { return (long int) (sizeof (void *)); } 10783 #include <stdio.h> 10784 #include <stdlib.h> 10785 int 10786 main () 10787 { 10788 10789 FILE *f = fopen ("conftest.val", "w"); 10790 if (! f) 10791 return 1; 10792 if (((long int) (sizeof (void *))) < 0) 10793 { 10794 long int i = longval (); 10795 if (i != ((long int) (sizeof (void *)))) 10796 return 1; 10797 fprintf (f, "%ld", i); 10798 } 10799 else 10800 { 10801 unsigned long int i = ulongval (); 10802 if (i != ((long int) (sizeof (void *)))) 10803 return 1; 10804 fprintf (f, "%lu", i); 10805 } 10806 /* Do not output a trailing newline, as this causes \r\n confusion 10807 on some platforms. */ 10808 return ferror (f) || fclose (f) != 0; 10809 10810 ; 10811 return 0; 10812 } 10813 _ACEOF 10814 rm -f conftest$ac_exeext 10815 if { (ac_try="$ac_link" 10816 case "(($ac_try" in 10817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10818 *) ac_try_echo=$ac_try;; 10819 esac 10820 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10821 $as_echo "$ac_try_echo") >&5 10822 (eval "$ac_link") 2>&5 10823 ac_status=$? 10824 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10825 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10826 { (case "(($ac_try" in 10827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10828 *) ac_try_echo=$ac_try;; 10829 esac 10830 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10831 $as_echo "$ac_try_echo") >&5 10832 (eval "$ac_try") 2>&5 10833 ac_status=$? 10834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10835 (exit $ac_status); }; }; then 10836 ac_cv_sizeof_void_p=`cat conftest.val` 10837 else 10838 $as_echo "$as_me: program exited with status $ac_status" >&5 10839 $as_echo "$as_me: failed program was:" >&5 10840 sed 's/^/| /' conftest.$ac_ext >&5 10841 10842 ( exit $ac_status ) 10843 if test "$ac_cv_type_void_p" = yes; then 10844 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 10845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10846 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 10847 See \`config.log' for more details." >&5 10848 $as_echo "$as_me: error: cannot compute sizeof (void *) 10849 See \`config.log' for more details." >&2;} 10850 { (exit 77); exit 77; }; }; } 8107 10851 else 8108 10852 ac_cv_sizeof_void_p=0 8109 10853 fi 8110 10854 fi 8111 8112 fi 8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 10855 rm -rf conftest.dSYM 10856 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10857 fi 10858 rm -f conftest.val 10859 fi 10860 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 8114 10861 $as_echo "$ac_cv_sizeof_void_p" >&6; } 8115 10862 … … 8125 10872 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8126 10873 # This bug is HP SR number 8606223364. 8127 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking size of float" >&510874 { $as_echo "$as_me:$LINENO: checking size of float" >&5 8128 10875 $as_echo_n "checking size of float... " >&6; } 8129 if ${ac_cv_sizeof_float+:} false; then :10876 if test "${ac_cv_sizeof_float+set}" = set; then 8130 10877 $as_echo_n "(cached) " >&6 8131 10878 else 8132 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then : 8133 8134 else 8135 if test "$ac_cv_type_float" = yes; then 8136 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10879 if test "$cross_compiling" = yes; then 10880 # Depending upon the size, compute the lo and hi bounds. 10881 cat >conftest.$ac_ext <<_ACEOF 10882 /* confdefs.h. */ 10883 _ACEOF 10884 cat confdefs.h >>conftest.$ac_ext 10885 cat >>conftest.$ac_ext <<_ACEOF 10886 /* end confdefs.h. */ 10887 $ac_includes_default 10888 int 10889 main () 10890 { 10891 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= 0)]; 10892 test_array [0] = 0 10893 10894 ; 10895 return 0; 10896 } 10897 _ACEOF 10898 rm -f conftest.$ac_objext 10899 if { (ac_try="$ac_compile" 10900 case "(($ac_try" in 10901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10902 *) ac_try_echo=$ac_try;; 10903 esac 10904 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10905 $as_echo "$ac_try_echo") >&5 10906 (eval "$ac_compile") 2>conftest.er1 10907 ac_status=$? 10908 grep -v '^ *+' conftest.er1 >conftest.err 10909 rm -f conftest.er1 10910 cat conftest.err >&5 10911 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10912 (exit $ac_status); } && { 10913 test -z "$ac_cxx_werror_flag" || 10914 test ! -s conftest.err 10915 } && test -s conftest.$ac_objext; then 10916 ac_lo=0 ac_mid=0 10917 while :; do 10918 cat >conftest.$ac_ext <<_ACEOF 10919 /* confdefs.h. */ 10920 _ACEOF 10921 cat confdefs.h >>conftest.$ac_ext 10922 cat >>conftest.$ac_ext <<_ACEOF 10923 /* end confdefs.h. */ 10924 $ac_includes_default 10925 int 10926 main () 10927 { 10928 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)]; 10929 test_array [0] = 0 10930 10931 ; 10932 return 0; 10933 } 10934 _ACEOF 10935 rm -f conftest.$ac_objext 10936 if { (ac_try="$ac_compile" 10937 case "(($ac_try" in 10938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10939 *) ac_try_echo=$ac_try;; 10940 esac 10941 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10942 $as_echo "$ac_try_echo") >&5 10943 (eval "$ac_compile") 2>conftest.er1 10944 ac_status=$? 10945 grep -v '^ *+' conftest.er1 >conftest.err 10946 rm -f conftest.er1 10947 cat conftest.err >&5 10948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10949 (exit $ac_status); } && { 10950 test -z "$ac_cxx_werror_flag" || 10951 test ! -s conftest.err 10952 } && test -s conftest.$ac_objext; then 10953 ac_hi=$ac_mid; break 10954 else 10955 $as_echo "$as_me: failed program was:" >&5 10956 sed 's/^/| /' conftest.$ac_ext >&5 10957 10958 ac_lo=`expr $ac_mid + 1` 10959 if test $ac_lo -le $ac_mid; then 10960 ac_lo= ac_hi= 10961 break 10962 fi 10963 ac_mid=`expr 2 '*' $ac_mid + 1` 10964 fi 10965 10966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10967 done 10968 else 10969 $as_echo "$as_me: failed program was:" >&5 10970 sed 's/^/| /' conftest.$ac_ext >&5 10971 10972 cat >conftest.$ac_ext <<_ACEOF 10973 /* confdefs.h. */ 10974 _ACEOF 10975 cat confdefs.h >>conftest.$ac_ext 10976 cat >>conftest.$ac_ext <<_ACEOF 10977 /* end confdefs.h. */ 10978 $ac_includes_default 10979 int 10980 main () 10981 { 10982 static int test_array [1 - 2 * !(((long int) (sizeof (float))) < 0)]; 10983 test_array [0] = 0 10984 10985 ; 10986 return 0; 10987 } 10988 _ACEOF 10989 rm -f conftest.$ac_objext 10990 if { (ac_try="$ac_compile" 10991 case "(($ac_try" in 10992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10993 *) ac_try_echo=$ac_try;; 10994 esac 10995 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10996 $as_echo "$ac_try_echo") >&5 10997 (eval "$ac_compile") 2>conftest.er1 10998 ac_status=$? 10999 grep -v '^ *+' conftest.er1 >conftest.err 11000 rm -f conftest.er1 11001 cat conftest.err >&5 11002 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11003 (exit $ac_status); } && { 11004 test -z "$ac_cxx_werror_flag" || 11005 test ! -s conftest.err 11006 } && test -s conftest.$ac_objext; then 11007 ac_hi=-1 ac_mid=-1 11008 while :; do 11009 cat >conftest.$ac_ext <<_ACEOF 11010 /* confdefs.h. */ 11011 _ACEOF 11012 cat confdefs.h >>conftest.$ac_ext 11013 cat >>conftest.$ac_ext <<_ACEOF 11014 /* end confdefs.h. */ 11015 $ac_includes_default 11016 int 11017 main () 11018 { 11019 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= $ac_mid)]; 11020 test_array [0] = 0 11021 11022 ; 11023 return 0; 11024 } 11025 _ACEOF 11026 rm -f conftest.$ac_objext 11027 if { (ac_try="$ac_compile" 11028 case "(($ac_try" in 11029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11030 *) ac_try_echo=$ac_try;; 11031 esac 11032 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11033 $as_echo "$ac_try_echo") >&5 11034 (eval "$ac_compile") 2>conftest.er1 11035 ac_status=$? 11036 grep -v '^ *+' conftest.er1 >conftest.err 11037 rm -f conftest.er1 11038 cat conftest.err >&5 11039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11040 (exit $ac_status); } && { 11041 test -z "$ac_cxx_werror_flag" || 11042 test ! -s conftest.err 11043 } && test -s conftest.$ac_objext; then 11044 ac_lo=$ac_mid; break 11045 else 11046 $as_echo "$as_me: failed program was:" >&5 11047 sed 's/^/| /' conftest.$ac_ext >&5 11048 11049 ac_hi=`expr '(' $ac_mid ')' - 1` 11050 if test $ac_mid -le $ac_hi; then 11051 ac_lo= ac_hi= 11052 break 11053 fi 11054 ac_mid=`expr 2 '*' $ac_mid` 11055 fi 11056 11057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11058 done 11059 else 11060 $as_echo "$as_me: failed program was:" >&5 11061 sed 's/^/| /' conftest.$ac_ext >&5 11062 11063 ac_lo= ac_hi= 11064 fi 11065 11066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11067 fi 11068 11069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11070 # Binary search between lo and hi bounds. 11071 while test "x$ac_lo" != "x$ac_hi"; do 11072 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 11073 cat >conftest.$ac_ext <<_ACEOF 11074 /* confdefs.h. */ 11075 _ACEOF 11076 cat confdefs.h >>conftest.$ac_ext 11077 cat >>conftest.$ac_ext <<_ACEOF 11078 /* end confdefs.h. */ 11079 $ac_includes_default 11080 int 11081 main () 11082 { 11083 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)]; 11084 test_array [0] = 0 11085 11086 ; 11087 return 0; 11088 } 11089 _ACEOF 11090 rm -f conftest.$ac_objext 11091 if { (ac_try="$ac_compile" 11092 case "(($ac_try" in 11093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11094 *) ac_try_echo=$ac_try;; 11095 esac 11096 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11097 $as_echo "$ac_try_echo") >&5 11098 (eval "$ac_compile") 2>conftest.er1 11099 ac_status=$? 11100 grep -v '^ *+' conftest.er1 >conftest.err 11101 rm -f conftest.er1 11102 cat conftest.err >&5 11103 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11104 (exit $ac_status); } && { 11105 test -z "$ac_cxx_werror_flag" || 11106 test ! -s conftest.err 11107 } && test -s conftest.$ac_objext; then 11108 ac_hi=$ac_mid 11109 else 11110 $as_echo "$as_me: failed program was:" >&5 11111 sed 's/^/| /' conftest.$ac_ext >&5 11112 11113 ac_lo=`expr '(' $ac_mid ')' + 1` 11114 fi 11115 11116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11117 done 11118 case $ac_lo in 11119 ?*) ac_cv_sizeof_float=$ac_lo;; 11120 '') if test "$ac_cv_type_float" = yes; then 11121 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 8137 11122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8138 as_fn_error 77 "cannot compute sizeof (float) 8139 See \`config.log' for more details" "$LINENO" 5; } 11123 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float) 11124 See \`config.log' for more details." >&5 11125 $as_echo "$as_me: error: cannot compute sizeof (float) 11126 See \`config.log' for more details." >&2;} 11127 { (exit 77); exit 77; }; }; } 11128 else 11129 ac_cv_sizeof_float=0 11130 fi ;; 11131 esac 11132 else 11133 cat >conftest.$ac_ext <<_ACEOF 11134 /* confdefs.h. */ 11135 _ACEOF 11136 cat confdefs.h >>conftest.$ac_ext 11137 cat >>conftest.$ac_ext <<_ACEOF 11138 /* end confdefs.h. */ 11139 $ac_includes_default 11140 static long int longval () { return (long int) (sizeof (float)); } 11141 static unsigned long int ulongval () { return (long int) (sizeof (float)); } 11142 #include <stdio.h> 11143 #include <stdlib.h> 11144 int 11145 main () 11146 { 11147 11148 FILE *f = fopen ("conftest.val", "w"); 11149 if (! f) 11150 return 1; 11151 if (((long int) (sizeof (float))) < 0) 11152 { 11153 long int i = longval (); 11154 if (i != ((long int) (sizeof (float)))) 11155 return 1; 11156 fprintf (f, "%ld", i); 11157 } 11158 else 11159 { 11160 unsigned long int i = ulongval (); 11161 if (i != ((long int) (sizeof (float)))) 11162 return 1; 11163 fprintf (f, "%lu", i); 11164 } 11165 /* Do not output a trailing newline, as this causes \r\n confusion 11166 on some platforms. */ 11167 return ferror (f) || fclose (f) != 0; 11168 11169 ; 11170 return 0; 11171 } 11172 _ACEOF 11173 rm -f conftest$ac_exeext 11174 if { (ac_try="$ac_link" 11175 case "(($ac_try" in 11176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11177 *) ac_try_echo=$ac_try;; 11178 esac 11179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11180 $as_echo "$ac_try_echo") >&5 11181 (eval "$ac_link") 2>&5 11182 ac_status=$? 11183 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11184 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11185 { (case "(($ac_try" in 11186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11187 *) ac_try_echo=$ac_try;; 11188 esac 11189 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11190 $as_echo "$ac_try_echo") >&5 11191 (eval "$ac_try") 2>&5 11192 ac_status=$? 11193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11194 (exit $ac_status); }; }; then 11195 ac_cv_sizeof_float=`cat conftest.val` 11196 else 11197 $as_echo "$as_me: program exited with status $ac_status" >&5 11198 $as_echo "$as_me: failed program was:" >&5 11199 sed 's/^/| /' conftest.$ac_ext >&5 11200 11201 ( exit $ac_status ) 11202 if test "$ac_cv_type_float" = yes; then 11203 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 11204 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11205 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float) 11206 See \`config.log' for more details." >&5 11207 $as_echo "$as_me: error: cannot compute sizeof (float) 11208 See \`config.log' for more details." >&2;} 11209 { (exit 77); exit 77; }; }; } 8140 11210 else 8141 11211 ac_cv_sizeof_float=0 8142 11212 fi 8143 11213 fi 8144 8145 fi 8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5 11214 rm -rf conftest.dSYM 11215 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11216 fi 11217 rm -f conftest.val 11218 fi 11219 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5 8147 11220 $as_echo "$ac_cv_sizeof_float" >&6; } 8148 11221 … … 8202 11275 8203 11276 RP_DIR="" 8204 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for rappture" >&511277 { $as_echo "$as_me:$LINENO: checking for rappture" >&5 8205 11278 $as_echo_n "checking for rappture... " >&6; } 8206 11279 if test "$with_rappture" == "yes" ; then … … 8211 11284 RP_INC_SPEC="-I$dir/include -I$dir/include/rappture2" 8212 11285 RP_LIB_DIR="$dir/lib" 8213 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $dir" >&511286 { $as_echo "$as_me:$LINENO: result: $dir" >&5 8214 11287 $as_echo "$dir" >&6; } 8215 11288 break … … 8218 11291 else 8219 11292 if test ! -d "$with_rappture" ; then 8220 as_fn_error $? "--with-rappture: no such directory $with_rappture" "$LINENO" 5 11293 { { $as_echo "$as_me:$LINENO: error: --with-rappture: no such directory $with_rappture" >&5 11294 $as_echo "$as_me: error: --with-rappture: no such directory $with_rappture" >&2;} 11295 { (exit 1); exit 1; }; } 8221 11296 fi 8222 11297 RP_DIR=$with_rappture … … 8225 11300 fi 8226 11301 if test "x${RP_DIR}" = "x" ; then 8227 as_fn_error $? "cannot find rappture.h and librappture2.a, try using --with-rappture" "$LINENO" 5 8228 else 8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_rappture" >&5 11302 { { $as_echo "$as_me:$LINENO: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&5 11303 $as_echo "$as_me: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&2;} 11304 { (exit 1); exit 1; }; } 11305 else 11306 { $as_echo "$as_me:$LINENO: result: $with_rappture" >&5 8230 11307 $as_echo "$with_rappture" >&6; } 8231 11308 fi … … 8262 11339 CPPFLAGS=$VTK_INC_SPEC 8263 11340 11341 8264 11342 for ac_header in vtkSmartPointer.h 8265 do : 8266 ac_fn_cxx_check_header_mongrel "$LINENO" "vtkSmartPointer.h" "ac_cv_header_vtkSmartPointer_h" "$ac_includes_default" 8267 if test "x$ac_cv_header_vtkSmartPointer_h" = xyes; then : 8268 cat >>confdefs.h <<_ACEOF 8269 #define HAVE_VTKSMARTPOINTER_H 1 8270 _ACEOF 8271 8272 else 8273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find vtkSmartPointer.h" >&5 8274 $as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;} 8275 fi 8276 8277 done 8278 8279 CPPFLAGS=$save_CPPFLAGS 8280 8281 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glui.h" "ac_cv_header_GL_glui_h" "$ac_includes_default" 8282 if test "x$ac_cv_header_GL_glui_h" = xyes; then : 8283 8284 fi 8285 8286 8287 ac_fn_cxx_check_header_mongrel "$LINENO" "glui.h" "ac_cv_header_glui_h" "$ac_includes_default" 8288 if test "x$ac_cv_header_glui_h" = xyes; then : 8289 8290 fi 8291 8292 8293 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glut.h" "ac_cv_header_GL_glut_h" "$ac_includes_default" 8294 if test "x$ac_cv_header_GL_glut_h" = xyes; then : 8295 8296 fi 8297 8298 8299 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" "$ac_includes_default" 8300 if test "x$ac_cv_header_GL_glew_h" = xyes; then : 8301 8302 fi 8303 8304 8305 8306 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h 8307 do : 8308 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8309 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8310 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11343 do 11344 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11345 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11346 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11347 $as_echo_n "checking for $ac_header... " >&6; } 11348 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11349 $as_echo_n "(cached) " >&6 11350 fi 11351 ac_res=`eval 'as_val=${'$as_ac_Header'} 11352 $as_echo "$as_val"'` 11353 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11354 $as_echo "$ac_res" >&6; } 11355 else 11356 # Is the header compilable? 11357 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 11358 $as_echo_n "checking $ac_header usability... " >&6; } 11359 cat >conftest.$ac_ext <<_ACEOF 11360 /* confdefs.h. */ 11361 _ACEOF 11362 cat confdefs.h >>conftest.$ac_ext 11363 cat >>conftest.$ac_ext <<_ACEOF 11364 /* end confdefs.h. */ 11365 $ac_includes_default 11366 #include <$ac_header> 11367 _ACEOF 11368 rm -f conftest.$ac_objext 11369 if { (ac_try="$ac_compile" 11370 case "(($ac_try" in 11371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11372 *) ac_try_echo=$ac_try;; 11373 esac 11374 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11375 $as_echo "$ac_try_echo") >&5 11376 (eval "$ac_compile") 2>conftest.er1 11377 ac_status=$? 11378 grep -v '^ *+' conftest.er1 >conftest.err 11379 rm -f conftest.er1 11380 cat conftest.err >&5 11381 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11382 (exit $ac_status); } && { 11383 test -z "$ac_cxx_werror_flag" || 11384 test ! -s conftest.err 11385 } && test -s conftest.$ac_objext; then 11386 ac_header_compiler=yes 11387 else 11388 $as_echo "$as_me: failed program was:" >&5 11389 sed 's/^/| /' conftest.$ac_ext >&5 11390 11391 ac_header_compiler=no 11392 fi 11393 11394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11395 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11396 $as_echo "$ac_header_compiler" >&6; } 11397 11398 # Is the header present? 11399 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 11400 $as_echo_n "checking $ac_header presence... " >&6; } 11401 cat >conftest.$ac_ext <<_ACEOF 11402 /* confdefs.h. */ 11403 _ACEOF 11404 cat confdefs.h >>conftest.$ac_ext 11405 cat >>conftest.$ac_ext <<_ACEOF 11406 /* end confdefs.h. */ 11407 #include <$ac_header> 11408 _ACEOF 11409 if { (ac_try="$ac_cpp conftest.$ac_ext" 11410 case "(($ac_try" in 11411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11412 *) ac_try_echo=$ac_try;; 11413 esac 11414 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11415 $as_echo "$ac_try_echo") >&5 11416 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11417 ac_status=$? 11418 grep -v '^ *+' conftest.er1 >conftest.err 11419 rm -f conftest.er1 11420 cat conftest.err >&5 11421 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11422 (exit $ac_status); } >/dev/null && { 11423 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11424 test ! -s conftest.err 11425 }; then 11426 ac_header_preproc=yes 11427 else 11428 $as_echo "$as_me: failed program was:" >&5 11429 sed 's/^/| /' conftest.$ac_ext >&5 11430 11431 ac_header_preproc=no 11432 fi 11433 11434 rm -f conftest.err conftest.$ac_ext 11435 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11436 $as_echo "$ac_header_preproc" >&6; } 11437 11438 # So? What about this header? 11439 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11440 yes:no: ) 11441 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 11442 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 11443 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 11444 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 11445 ac_header_preproc=yes 11446 ;; 11447 no:yes:* ) 11448 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 11449 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 11450 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 11451 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 11452 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 11453 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 11454 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 11455 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 11456 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 11457 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 11458 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 11459 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 11460 ( cat <<\_ASBOX 11461 ## ----------------------------------- ## 11462 ## Report this to rappture@nanohub.org ## 11463 ## ----------------------------------- ## 11464 _ASBOX 11465 ) | sed "s/^/$as_me: WARNING: /" >&2 11466 ;; 11467 esac 11468 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11469 $as_echo_n "checking for $ac_header... " >&6; } 11470 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11471 $as_echo_n "(cached) " >&6 11472 else 11473 eval "$as_ac_Header=\$ac_header_preproc" 11474 fi 11475 ac_res=`eval 'as_val=${'$as_ac_Header'} 11476 $as_echo "$as_val"'` 11477 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11478 $as_echo "$ac_res" >&6; } 11479 11480 fi 11481 as_val=`eval 'as_val=${'$as_ac_Header'} 11482 $as_echo "$as_val"'` 11483 if test "x$as_val" = x""yes; then 8311 11484 cat >>confdefs.h <<_ACEOF 8312 11485 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8313 11486 _ACEOF 8314 11487 11488 else 11489 { $as_echo "$as_me:$LINENO: WARNING: cannot find vtkSmartPointer.h" >&5 11490 $as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;} 8315 11491 fi 8316 11492 8317 11493 done 8318 11494 8319 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h 8320 do : 8321 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8322 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8323 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11495 CPPFLAGS=$save_CPPFLAGS 11496 11497 if test "${ac_cv_header_GL_glui_h+set}" = set; then 11498 { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5 11499 $as_echo_n "checking for GL/glui.h... " >&6; } 11500 if test "${ac_cv_header_GL_glui_h+set}" = set; then 11501 $as_echo_n "(cached) " >&6 11502 fi 11503 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5 11504 $as_echo "$ac_cv_header_GL_glui_h" >&6; } 11505 else 11506 # Is the header compilable? 11507 { $as_echo "$as_me:$LINENO: checking GL/glui.h usability" >&5 11508 $as_echo_n "checking GL/glui.h usability... " >&6; } 11509 cat >conftest.$ac_ext <<_ACEOF 11510 /* confdefs.h. */ 11511 _ACEOF 11512 cat confdefs.h >>conftest.$ac_ext 11513 cat >>conftest.$ac_ext <<_ACEOF 11514 /* end confdefs.h. */ 11515 $ac_includes_default 11516 #include <GL/glui.h> 11517 _ACEOF 11518 rm -f conftest.$ac_objext 11519 if { (ac_try="$ac_compile" 11520 case "(($ac_try" in 11521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11522 *) ac_try_echo=$ac_try;; 11523 esac 11524 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11525 $as_echo "$ac_try_echo") >&5 11526 (eval "$ac_compile") 2>conftest.er1 11527 ac_status=$? 11528 grep -v '^ *+' conftest.er1 >conftest.err 11529 rm -f conftest.er1 11530 cat conftest.err >&5 11531 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11532 (exit $ac_status); } && { 11533 test -z "$ac_cxx_werror_flag" || 11534 test ! -s conftest.err 11535 } && test -s conftest.$ac_objext; then 11536 ac_header_compiler=yes 11537 else 11538 $as_echo "$as_me: failed program was:" >&5 11539 sed 's/^/| /' conftest.$ac_ext >&5 11540 11541 ac_header_compiler=no 11542 fi 11543 11544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11545 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11546 $as_echo "$ac_header_compiler" >&6; } 11547 11548 # Is the header present? 11549 { $as_echo "$as_me:$LINENO: checking GL/glui.h presence" >&5 11550 $as_echo_n "checking GL/glui.h presence... " >&6; } 11551 cat >conftest.$ac_ext <<_ACEOF 11552 /* confdefs.h. */ 11553 _ACEOF 11554 cat confdefs.h >>conftest.$ac_ext 11555 cat >>conftest.$ac_ext <<_ACEOF 11556 /* end confdefs.h. */ 11557 #include <GL/glui.h> 11558 _ACEOF 11559 if { (ac_try="$ac_cpp conftest.$ac_ext" 11560 case "(($ac_try" in 11561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11562 *) ac_try_echo=$ac_try;; 11563 esac 11564 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11565 $as_echo "$ac_try_echo") >&5 11566 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11567 ac_status=$? 11568 grep -v '^ *+' conftest.er1 >conftest.err 11569 rm -f conftest.er1 11570 cat conftest.err >&5 11571 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11572 (exit $ac_status); } >/dev/null && { 11573 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11574 test ! -s conftest.err 11575 }; then 11576 ac_header_preproc=yes 11577 else 11578 $as_echo "$as_me: failed program was:" >&5 11579 sed 's/^/| /' conftest.$ac_ext >&5 11580 11581 ac_header_preproc=no 11582 fi 11583 11584 rm -f conftest.err conftest.$ac_ext 11585 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11586 $as_echo "$ac_header_preproc" >&6; } 11587 11588 # So? What about this header? 11589 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11590 yes:no: ) 11591 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&5 11592 $as_echo "$as_me: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11593 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the compiler's result" >&5 11594 $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the compiler's result" >&2;} 11595 ac_header_preproc=yes 11596 ;; 11597 no:yes:* ) 11598 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: present but cannot be compiled" >&5 11599 $as_echo "$as_me: WARNING: GL/glui.h: present but cannot be compiled" >&2;} 11600 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: check for missing prerequisite headers?" >&5 11601 $as_echo "$as_me: WARNING: GL/glui.h: check for missing prerequisite headers?" >&2;} 11602 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: see the Autoconf documentation" >&5 11603 $as_echo "$as_me: WARNING: GL/glui.h: see the Autoconf documentation" >&2;} 11604 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: section \"Present But Cannot Be Compiled\"" >&5 11605 $as_echo "$as_me: WARNING: GL/glui.h: section \"Present But Cannot Be Compiled\"" >&2;} 11606 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&5 11607 $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&2;} 11608 { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&5 11609 $as_echo "$as_me: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&2;} 11610 ( cat <<\_ASBOX 11611 ## ----------------------------------- ## 11612 ## Report this to rappture@nanohub.org ## 11613 ## ----------------------------------- ## 11614 _ASBOX 11615 ) | sed "s/^/$as_me: WARNING: /" >&2 11616 ;; 11617 esac 11618 { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5 11619 $as_echo_n "checking for GL/glui.h... " >&6; } 11620 if test "${ac_cv_header_GL_glui_h+set}" = set; then 11621 $as_echo_n "(cached) " >&6 11622 else 11623 ac_cv_header_GL_glui_h=$ac_header_preproc 11624 fi 11625 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5 11626 $as_echo "$ac_cv_header_GL_glui_h" >&6; } 11627 11628 fi 11629 11630 11631 if test "${ac_cv_header_glui_h+set}" = set; then 11632 { $as_echo "$as_me:$LINENO: checking for glui.h" >&5 11633 $as_echo_n "checking for glui.h... " >&6; } 11634 if test "${ac_cv_header_glui_h+set}" = set; then 11635 $as_echo_n "(cached) " >&6 11636 fi 11637 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5 11638 $as_echo "$ac_cv_header_glui_h" >&6; } 11639 else 11640 # Is the header compilable? 11641 { $as_echo "$as_me:$LINENO: checking glui.h usability" >&5 11642 $as_echo_n "checking glui.h usability... " >&6; } 11643 cat >conftest.$ac_ext <<_ACEOF 11644 /* confdefs.h. */ 11645 _ACEOF 11646 cat confdefs.h >>conftest.$ac_ext 11647 cat >>conftest.$ac_ext <<_ACEOF 11648 /* end confdefs.h. */ 11649 $ac_includes_default 11650 #include <glui.h> 11651 _ACEOF 11652 rm -f conftest.$ac_objext 11653 if { (ac_try="$ac_compile" 11654 case "(($ac_try" in 11655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11656 *) ac_try_echo=$ac_try;; 11657 esac 11658 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11659 $as_echo "$ac_try_echo") >&5 11660 (eval "$ac_compile") 2>conftest.er1 11661 ac_status=$? 11662 grep -v '^ *+' conftest.er1 >conftest.err 11663 rm -f conftest.er1 11664 cat conftest.err >&5 11665 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11666 (exit $ac_status); } && { 11667 test -z "$ac_cxx_werror_flag" || 11668 test ! -s conftest.err 11669 } && test -s conftest.$ac_objext; then 11670 ac_header_compiler=yes 11671 else 11672 $as_echo "$as_me: failed program was:" >&5 11673 sed 's/^/| /' conftest.$ac_ext >&5 11674 11675 ac_header_compiler=no 11676 fi 11677 11678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11679 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11680 $as_echo "$ac_header_compiler" >&6; } 11681 11682 # Is the header present? 11683 { $as_echo "$as_me:$LINENO: checking glui.h presence" >&5 11684 $as_echo_n "checking glui.h presence... " >&6; } 11685 cat >conftest.$ac_ext <<_ACEOF 11686 /* confdefs.h. */ 11687 _ACEOF 11688 cat confdefs.h >>conftest.$ac_ext 11689 cat >>conftest.$ac_ext <<_ACEOF 11690 /* end confdefs.h. */ 11691 #include <glui.h> 11692 _ACEOF 11693 if { (ac_try="$ac_cpp conftest.$ac_ext" 11694 case "(($ac_try" in 11695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11696 *) ac_try_echo=$ac_try;; 11697 esac 11698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11699 $as_echo "$ac_try_echo") >&5 11700 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11701 ac_status=$? 11702 grep -v '^ *+' conftest.er1 >conftest.err 11703 rm -f conftest.er1 11704 cat conftest.err >&5 11705 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11706 (exit $ac_status); } >/dev/null && { 11707 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11708 test ! -s conftest.err 11709 }; then 11710 ac_header_preproc=yes 11711 else 11712 $as_echo "$as_me: failed program was:" >&5 11713 sed 's/^/| /' conftest.$ac_ext >&5 11714 11715 ac_header_preproc=no 11716 fi 11717 11718 rm -f conftest.err conftest.$ac_ext 11719 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11720 $as_echo "$ac_header_preproc" >&6; } 11721 11722 # So? What about this header? 11723 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11724 yes:no: ) 11725 { $as_echo "$as_me:$LINENO: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&5 11726 $as_echo "$as_me: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11727 { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the compiler's result" >&5 11728 $as_echo "$as_me: WARNING: glui.h: proceeding with the compiler's result" >&2;} 11729 ac_header_preproc=yes 11730 ;; 11731 no:yes:* ) 11732 { $as_echo "$as_me:$LINENO: WARNING: glui.h: present but cannot be compiled" >&5 11733 $as_echo "$as_me: WARNING: glui.h: present but cannot be compiled" >&2;} 11734 { $as_echo "$as_me:$LINENO: WARNING: glui.h: check for missing prerequisite headers?" >&5 11735 $as_echo "$as_me: WARNING: glui.h: check for missing prerequisite headers?" >&2;} 11736 { $as_echo "$as_me:$LINENO: WARNING: glui.h: see the Autoconf documentation" >&5 11737 $as_echo "$as_me: WARNING: glui.h: see the Autoconf documentation" >&2;} 11738 { $as_echo "$as_me:$LINENO: WARNING: glui.h: section \"Present But Cannot Be Compiled\"" >&5 11739 $as_echo "$as_me: WARNING: glui.h: section \"Present But Cannot Be Compiled\"" >&2;} 11740 { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the preprocessor's result" >&5 11741 $as_echo "$as_me: WARNING: glui.h: proceeding with the preprocessor's result" >&2;} 11742 { $as_echo "$as_me:$LINENO: WARNING: glui.h: in the future, the compiler will take precedence" >&5 11743 $as_echo "$as_me: WARNING: glui.h: in the future, the compiler will take precedence" >&2;} 11744 ( cat <<\_ASBOX 11745 ## ----------------------------------- ## 11746 ## Report this to rappture@nanohub.org ## 11747 ## ----------------------------------- ## 11748 _ASBOX 11749 ) | sed "s/^/$as_me: WARNING: /" >&2 11750 ;; 11751 esac 11752 { $as_echo "$as_me:$LINENO: checking for glui.h" >&5 11753 $as_echo_n "checking for glui.h... " >&6; } 11754 if test "${ac_cv_header_glui_h+set}" = set; then 11755 $as_echo_n "(cached) " >&6 11756 else 11757 ac_cv_header_glui_h=$ac_header_preproc 11758 fi 11759 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5 11760 $as_echo "$ac_cv_header_glui_h" >&6; } 11761 11762 fi 11763 11764 11765 if test "${ac_cv_header_GL_glut_h+set}" = set; then 11766 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 11767 $as_echo_n "checking for GL/glut.h... " >&6; } 11768 if test "${ac_cv_header_GL_glut_h+set}" = set; then 11769 $as_echo_n "(cached) " >&6 11770 fi 11771 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 11772 $as_echo "$ac_cv_header_GL_glut_h" >&6; } 11773 else 11774 # Is the header compilable? 11775 { $as_echo "$as_me:$LINENO: checking GL/glut.h usability" >&5 11776 $as_echo_n "checking GL/glut.h usability... " >&6; } 11777 cat >conftest.$ac_ext <<_ACEOF 11778 /* confdefs.h. */ 11779 _ACEOF 11780 cat confdefs.h >>conftest.$ac_ext 11781 cat >>conftest.$ac_ext <<_ACEOF 11782 /* end confdefs.h. */ 11783 $ac_includes_default 11784 #include <GL/glut.h> 11785 _ACEOF 11786 rm -f conftest.$ac_objext 11787 if { (ac_try="$ac_compile" 11788 case "(($ac_try" in 11789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11790 *) ac_try_echo=$ac_try;; 11791 esac 11792 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11793 $as_echo "$ac_try_echo") >&5 11794 (eval "$ac_compile") 2>conftest.er1 11795 ac_status=$? 11796 grep -v '^ *+' conftest.er1 >conftest.err 11797 rm -f conftest.er1 11798 cat conftest.err >&5 11799 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11800 (exit $ac_status); } && { 11801 test -z "$ac_cxx_werror_flag" || 11802 test ! -s conftest.err 11803 } && test -s conftest.$ac_objext; then 11804 ac_header_compiler=yes 11805 else 11806 $as_echo "$as_me: failed program was:" >&5 11807 sed 's/^/| /' conftest.$ac_ext >&5 11808 11809 ac_header_compiler=no 11810 fi 11811 11812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11813 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11814 $as_echo "$ac_header_compiler" >&6; } 11815 11816 # Is the header present? 11817 { $as_echo "$as_me:$LINENO: checking GL/glut.h presence" >&5 11818 $as_echo_n "checking GL/glut.h presence... " >&6; } 11819 cat >conftest.$ac_ext <<_ACEOF 11820 /* confdefs.h. */ 11821 _ACEOF 11822 cat confdefs.h >>conftest.$ac_ext 11823 cat >>conftest.$ac_ext <<_ACEOF 11824 /* end confdefs.h. */ 11825 #include <GL/glut.h> 11826 _ACEOF 11827 if { (ac_try="$ac_cpp conftest.$ac_ext" 11828 case "(($ac_try" in 11829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11830 *) ac_try_echo=$ac_try;; 11831 esac 11832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11833 $as_echo "$ac_try_echo") >&5 11834 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11835 ac_status=$? 11836 grep -v '^ *+' conftest.er1 >conftest.err 11837 rm -f conftest.er1 11838 cat conftest.err >&5 11839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11840 (exit $ac_status); } >/dev/null && { 11841 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11842 test ! -s conftest.err 11843 }; then 11844 ac_header_preproc=yes 11845 else 11846 $as_echo "$as_me: failed program was:" >&5 11847 sed 's/^/| /' conftest.$ac_ext >&5 11848 11849 ac_header_preproc=no 11850 fi 11851 11852 rm -f conftest.err conftest.$ac_ext 11853 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11854 $as_echo "$ac_header_preproc" >&6; } 11855 11856 # So? What about this header? 11857 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11858 yes:no: ) 11859 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5 11860 $as_echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11861 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5 11862 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;} 11863 ac_header_preproc=yes 11864 ;; 11865 no:yes:* ) 11866 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5 11867 $as_echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;} 11868 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: check for missing prerequisite headers?" >&5 11869 $as_echo "$as_me: WARNING: GL/glut.h: check for missing prerequisite headers?" >&2;} 11870 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5 11871 $as_echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;} 11872 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&5 11873 $as_echo "$as_me: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&2;} 11874 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5 11875 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;} 11876 { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5 11877 $as_echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;} 11878 ( cat <<\_ASBOX 11879 ## ----------------------------------- ## 11880 ## Report this to rappture@nanohub.org ## 11881 ## ----------------------------------- ## 11882 _ASBOX 11883 ) | sed "s/^/$as_me: WARNING: /" >&2 11884 ;; 11885 esac 11886 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 11887 $as_echo_n "checking for GL/glut.h... " >&6; } 11888 if test "${ac_cv_header_GL_glut_h+set}" = set; then 11889 $as_echo_n "(cached) " >&6 11890 else 11891 ac_cv_header_GL_glut_h=$ac_header_preproc 11892 fi 11893 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 11894 $as_echo "$ac_cv_header_GL_glut_h" >&6; } 11895 11896 fi 11897 11898 11899 if test "${ac_cv_header_GL_glew_h+set}" = set; then 11900 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5 11901 $as_echo_n "checking for GL/glew.h... " >&6; } 11902 if test "${ac_cv_header_GL_glew_h+set}" = set; then 11903 $as_echo_n "(cached) " >&6 11904 fi 11905 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5 11906 $as_echo "$ac_cv_header_GL_glew_h" >&6; } 11907 else 11908 # Is the header compilable? 11909 { $as_echo "$as_me:$LINENO: checking GL/glew.h usability" >&5 11910 $as_echo_n "checking GL/glew.h usability... " >&6; } 11911 cat >conftest.$ac_ext <<_ACEOF 11912 /* confdefs.h. */ 11913 _ACEOF 11914 cat confdefs.h >>conftest.$ac_ext 11915 cat >>conftest.$ac_ext <<_ACEOF 11916 /* end confdefs.h. */ 11917 $ac_includes_default 11918 #include <GL/glew.h> 11919 _ACEOF 11920 rm -f conftest.$ac_objext 11921 if { (ac_try="$ac_compile" 11922 case "(($ac_try" in 11923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11924 *) ac_try_echo=$ac_try;; 11925 esac 11926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11927 $as_echo "$ac_try_echo") >&5 11928 (eval "$ac_compile") 2>conftest.er1 11929 ac_status=$? 11930 grep -v '^ *+' conftest.er1 >conftest.err 11931 rm -f conftest.er1 11932 cat conftest.err >&5 11933 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11934 (exit $ac_status); } && { 11935 test -z "$ac_cxx_werror_flag" || 11936 test ! -s conftest.err 11937 } && test -s conftest.$ac_objext; then 11938 ac_header_compiler=yes 11939 else 11940 $as_echo "$as_me: failed program was:" >&5 11941 sed 's/^/| /' conftest.$ac_ext >&5 11942 11943 ac_header_compiler=no 11944 fi 11945 11946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11947 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11948 $as_echo "$ac_header_compiler" >&6; } 11949 11950 # Is the header present? 11951 { $as_echo "$as_me:$LINENO: checking GL/glew.h presence" >&5 11952 $as_echo_n "checking GL/glew.h presence... " >&6; } 11953 cat >conftest.$ac_ext <<_ACEOF 11954 /* confdefs.h. */ 11955 _ACEOF 11956 cat confdefs.h >>conftest.$ac_ext 11957 cat >>conftest.$ac_ext <<_ACEOF 11958 /* end confdefs.h. */ 11959 #include <GL/glew.h> 11960 _ACEOF 11961 if { (ac_try="$ac_cpp conftest.$ac_ext" 11962 case "(($ac_try" in 11963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11964 *) ac_try_echo=$ac_try;; 11965 esac 11966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11967 $as_echo "$ac_try_echo") >&5 11968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11969 ac_status=$? 11970 grep -v '^ *+' conftest.er1 >conftest.err 11971 rm -f conftest.er1 11972 cat conftest.err >&5 11973 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11974 (exit $ac_status); } >/dev/null && { 11975 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 11976 test ! -s conftest.err 11977 }; then 11978 ac_header_preproc=yes 11979 else 11980 $as_echo "$as_me: failed program was:" >&5 11981 sed 's/^/| /' conftest.$ac_ext >&5 11982 11983 ac_header_preproc=no 11984 fi 11985 11986 rm -f conftest.err conftest.$ac_ext 11987 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11988 $as_echo "$ac_header_preproc" >&6; } 11989 11990 # So? What about this header? 11991 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 11992 yes:no: ) 11993 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&5 11994 $as_echo "$as_me: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11995 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the compiler's result" >&5 11996 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;} 11997 ac_header_preproc=yes 11998 ;; 11999 no:yes:* ) 12000 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&5 12001 $as_echo "$as_me: WARNING: GL/glew.h: present but cannot be compiled" >&2;} 12002 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: check for missing prerequisite headers?" >&5 12003 $as_echo "$as_me: WARNING: GL/glew.h: check for missing prerequisite headers?" >&2;} 12004 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: see the Autoconf documentation" >&5 12005 $as_echo "$as_me: WARNING: GL/glew.h: see the Autoconf documentation" >&2;} 12006 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&5 12007 $as_echo "$as_me: WARNING: GL/glew.h: section \"Present But Cannot Be Compiled\"" >&2;} 12008 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&5 12009 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&2;} 12010 { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&5 12011 $as_echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;} 12012 ( cat <<\_ASBOX 12013 ## ----------------------------------- ## 12014 ## Report this to rappture@nanohub.org ## 12015 ## ----------------------------------- ## 12016 _ASBOX 12017 ) | sed "s/^/$as_me: WARNING: /" >&2 12018 ;; 12019 esac 12020 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5 12021 $as_echo_n "checking for GL/glew.h... " >&6; } 12022 if test "${ac_cv_header_GL_glew_h+set}" = set; then 12023 $as_echo_n "(cached) " >&6 12024 else 12025 ac_cv_header_GL_glew_h=$ac_header_preproc 12026 fi 12027 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5 12028 $as_echo "$ac_cv_header_GL_glew_h" >&6; } 12029 12030 fi 12031 12032 12033 12034 12035 12036 12037 12038 12039 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h 12040 do 12041 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12042 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12043 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12044 $as_echo_n "checking for $ac_header... " >&6; } 12045 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12046 $as_echo_n "(cached) " >&6 12047 fi 12048 ac_res=`eval 'as_val=${'$as_ac_Header'} 12049 $as_echo "$as_val"'` 12050 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12051 $as_echo "$ac_res" >&6; } 12052 else 12053 # Is the header compilable? 12054 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 12055 $as_echo_n "checking $ac_header usability... " >&6; } 12056 cat >conftest.$ac_ext <<_ACEOF 12057 /* confdefs.h. */ 12058 _ACEOF 12059 cat confdefs.h >>conftest.$ac_ext 12060 cat >>conftest.$ac_ext <<_ACEOF 12061 /* end confdefs.h. */ 12062 $ac_includes_default 12063 #include <$ac_header> 12064 _ACEOF 12065 rm -f conftest.$ac_objext 12066 if { (ac_try="$ac_compile" 12067 case "(($ac_try" in 12068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12069 *) ac_try_echo=$ac_try;; 12070 esac 12071 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12072 $as_echo "$ac_try_echo") >&5 12073 (eval "$ac_compile") 2>conftest.er1 12074 ac_status=$? 12075 grep -v '^ *+' conftest.er1 >conftest.err 12076 rm -f conftest.er1 12077 cat conftest.err >&5 12078 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12079 (exit $ac_status); } && { 12080 test -z "$ac_cxx_werror_flag" || 12081 test ! -s conftest.err 12082 } && test -s conftest.$ac_objext; then 12083 ac_header_compiler=yes 12084 else 12085 $as_echo "$as_me: failed program was:" >&5 12086 sed 's/^/| /' conftest.$ac_ext >&5 12087 12088 ac_header_compiler=no 12089 fi 12090 12091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12092 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12093 $as_echo "$ac_header_compiler" >&6; } 12094 12095 # Is the header present? 12096 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 12097 $as_echo_n "checking $ac_header presence... " >&6; } 12098 cat >conftest.$ac_ext <<_ACEOF 12099 /* confdefs.h. */ 12100 _ACEOF 12101 cat confdefs.h >>conftest.$ac_ext 12102 cat >>conftest.$ac_ext <<_ACEOF 12103 /* end confdefs.h. */ 12104 #include <$ac_header> 12105 _ACEOF 12106 if { (ac_try="$ac_cpp conftest.$ac_ext" 12107 case "(($ac_try" in 12108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12109 *) ac_try_echo=$ac_try;; 12110 esac 12111 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12112 $as_echo "$ac_try_echo") >&5 12113 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12114 ac_status=$? 12115 grep -v '^ *+' conftest.er1 >conftest.err 12116 rm -f conftest.er1 12117 cat conftest.err >&5 12118 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12119 (exit $ac_status); } >/dev/null && { 12120 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 12121 test ! -s conftest.err 12122 }; then 12123 ac_header_preproc=yes 12124 else 12125 $as_echo "$as_me: failed program was:" >&5 12126 sed 's/^/| /' conftest.$ac_ext >&5 12127 12128 ac_header_preproc=no 12129 fi 12130 12131 rm -f conftest.err conftest.$ac_ext 12132 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12133 $as_echo "$ac_header_preproc" >&6; } 12134 12135 # So? What about this header? 12136 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 12137 yes:no: ) 12138 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 12139 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 12140 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 12141 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 12142 ac_header_preproc=yes 12143 ;; 12144 no:yes:* ) 12145 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 12146 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 12147 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 12148 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 12149 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 12150 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 12151 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 12152 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 12153 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 12154 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 12155 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 12156 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 12157 ( cat <<\_ASBOX 12158 ## ----------------------------------- ## 12159 ## Report this to rappture@nanohub.org ## 12160 ## ----------------------------------- ## 12161 _ASBOX 12162 ) | sed "s/^/$as_me: WARNING: /" >&2 12163 ;; 12164 esac 12165 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12166 $as_echo_n "checking for $ac_header... " >&6; } 12167 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12168 $as_echo_n "(cached) " >&6 12169 else 12170 eval "$as_ac_Header=\$ac_header_preproc" 12171 fi 12172 ac_res=`eval 'as_val=${'$as_ac_Header'} 12173 $as_echo "$as_val"'` 12174 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12175 $as_echo "$ac_res" >&6; } 12176 12177 fi 12178 as_val=`eval 'as_val=${'$as_ac_Header'} 12179 $as_echo "$as_val"'` 12180 if test "x$as_val" = x""yes; then 8324 12181 cat >>confdefs.h <<_ACEOF 8325 12182 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 8331 12188 8332 12189 12190 12191 12192 12193 12194 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h 12195 do 12196 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12197 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12198 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12199 $as_echo_n "checking for $ac_header... " >&6; } 12200 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12201 $as_echo_n "(cached) " >&6 12202 fi 12203 ac_res=`eval 'as_val=${'$as_ac_Header'} 12204 $as_echo "$as_val"'` 12205 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12206 $as_echo "$ac_res" >&6; } 12207 else 12208 # Is the header compilable? 12209 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 12210 $as_echo_n "checking $ac_header usability... " >&6; } 12211 cat >conftest.$ac_ext <<_ACEOF 12212 /* confdefs.h. */ 12213 _ACEOF 12214 cat confdefs.h >>conftest.$ac_ext 12215 cat >>conftest.$ac_ext <<_ACEOF 12216 /* end confdefs.h. */ 12217 $ac_includes_default 12218 #include <$ac_header> 12219 _ACEOF 12220 rm -f conftest.$ac_objext 12221 if { (ac_try="$ac_compile" 12222 case "(($ac_try" in 12223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12224 *) ac_try_echo=$ac_try;; 12225 esac 12226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12227 $as_echo "$ac_try_echo") >&5 12228 (eval "$ac_compile") 2>conftest.er1 12229 ac_status=$? 12230 grep -v '^ *+' conftest.er1 >conftest.err 12231 rm -f conftest.er1 12232 cat conftest.err >&5 12233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12234 (exit $ac_status); } && { 12235 test -z "$ac_cxx_werror_flag" || 12236 test ! -s conftest.err 12237 } && test -s conftest.$ac_objext; then 12238 ac_header_compiler=yes 12239 else 12240 $as_echo "$as_me: failed program was:" >&5 12241 sed 's/^/| /' conftest.$ac_ext >&5 12242 12243 ac_header_compiler=no 12244 fi 12245 12246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12247 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12248 $as_echo "$ac_header_compiler" >&6; } 12249 12250 # Is the header present? 12251 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 12252 $as_echo_n "checking $ac_header presence... " >&6; } 12253 cat >conftest.$ac_ext <<_ACEOF 12254 /* confdefs.h. */ 12255 _ACEOF 12256 cat confdefs.h >>conftest.$ac_ext 12257 cat >>conftest.$ac_ext <<_ACEOF 12258 /* end confdefs.h. */ 12259 #include <$ac_header> 12260 _ACEOF 12261 if { (ac_try="$ac_cpp conftest.$ac_ext" 12262 case "(($ac_try" in 12263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12264 *) ac_try_echo=$ac_try;; 12265 esac 12266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12267 $as_echo "$ac_try_echo") >&5 12268 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12269 ac_status=$? 12270 grep -v '^ *+' conftest.er1 >conftest.err 12271 rm -f conftest.er1 12272 cat conftest.err >&5 12273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12274 (exit $ac_status); } >/dev/null && { 12275 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 12276 test ! -s conftest.err 12277 }; then 12278 ac_header_preproc=yes 12279 else 12280 $as_echo "$as_me: failed program was:" >&5 12281 sed 's/^/| /' conftest.$ac_ext >&5 12282 12283 ac_header_preproc=no 12284 fi 12285 12286 rm -f conftest.err conftest.$ac_ext 12287 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12288 $as_echo "$ac_header_preproc" >&6; } 12289 12290 # So? What about this header? 12291 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 12292 yes:no: ) 12293 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 12294 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 12295 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 12296 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 12297 ac_header_preproc=yes 12298 ;; 12299 no:yes:* ) 12300 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 12301 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 12302 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 12303 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 12304 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 12305 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 12306 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 12307 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 12308 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 12309 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 12310 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 12311 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 12312 ( cat <<\_ASBOX 12313 ## ----------------------------------- ## 12314 ## Report this to rappture@nanohub.org ## 12315 ## ----------------------------------- ## 12316 _ASBOX 12317 ) | sed "s/^/$as_me: WARNING: /" >&2 12318 ;; 12319 esac 12320 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12321 $as_echo_n "checking for $ac_header... " >&6; } 12322 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12323 $as_echo_n "(cached) " >&6 12324 else 12325 eval "$as_ac_Header=\$ac_header_preproc" 12326 fi 12327 ac_res=`eval 'as_val=${'$as_ac_Header'} 12328 $as_echo "$as_val"'` 12329 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12330 $as_echo "$ac_res" >&6; } 12331 12332 fi 12333 as_val=`eval 'as_val=${'$as_ac_Header'} 12334 $as_echo "$as_val"'` 12335 if test "x$as_val" = x""yes; then 12336 cat >>confdefs.h <<_ACEOF 12337 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12338 _ACEOF 12339 12340 fi 12341 12342 done 12343 12344 12345 8333 12346 for ac_func in accept4 8334 do : 8335 ac_fn_cxx_check_func "$LINENO" "accept4" "ac_cv_func_accept4" 8336 if test "x$ac_cv_func_accept4" = xyes; then : 12347 do 12348 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12349 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12350 $as_echo_n "checking for $ac_func... " >&6; } 12351 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12352 $as_echo_n "(cached) " >&6 12353 else 12354 cat >conftest.$ac_ext <<_ACEOF 12355 /* confdefs.h. */ 12356 _ACEOF 12357 cat confdefs.h >>conftest.$ac_ext 12358 cat >>conftest.$ac_ext <<_ACEOF 12359 /* end confdefs.h. */ 12360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12361 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12362 #define $ac_func innocuous_$ac_func 12363 12364 /* System header to define __stub macros and hopefully few prototypes, 12365 which can conflict with char $ac_func (); below. 12366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12367 <limits.h> exists even on freestanding compilers. */ 12368 12369 #ifdef __STDC__ 12370 # include <limits.h> 12371 #else 12372 # include <assert.h> 12373 #endif 12374 12375 #undef $ac_func 12376 12377 /* Override any GCC internal prototype to avoid an error. 12378 Use char because int might match the return type of a GCC 12379 builtin and then its argument prototype would still apply. */ 12380 #ifdef __cplusplus 12381 extern "C" 12382 #endif 12383 char $ac_func (); 12384 /* The GNU C library defines this for functions which it implements 12385 to always fail with ENOSYS. Some functions are actually named 12386 something starting with __ and the normal name is an alias. */ 12387 #if defined __stub_$ac_func || defined __stub___$ac_func 12388 choke me 12389 #endif 12390 12391 int 12392 main () 12393 { 12394 return $ac_func (); 12395 ; 12396 return 0; 12397 } 12398 _ACEOF 12399 rm -f conftest.$ac_objext conftest$ac_exeext 12400 if { (ac_try="$ac_link" 12401 case "(($ac_try" in 12402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12403 *) ac_try_echo=$ac_try;; 12404 esac 12405 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12406 $as_echo "$ac_try_echo") >&5 12407 (eval "$ac_link") 2>conftest.er1 12408 ac_status=$? 12409 grep -v '^ *+' conftest.er1 >conftest.err 12410 rm -f conftest.er1 12411 cat conftest.err >&5 12412 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12413 (exit $ac_status); } && { 12414 test -z "$ac_cxx_werror_flag" || 12415 test ! -s conftest.err 12416 } && test -s conftest$ac_exeext && { 12417 test "$cross_compiling" = yes || 12418 $as_test_x conftest$ac_exeext 12419 }; then 12420 eval "$as_ac_var=yes" 12421 else 12422 $as_echo "$as_me: failed program was:" >&5 12423 sed 's/^/| /' conftest.$ac_ext >&5 12424 12425 eval "$as_ac_var=no" 12426 fi 12427 12428 rm -rf conftest.dSYM 12429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12430 conftest$ac_exeext conftest.$ac_ext 12431 fi 12432 ac_res=`eval 'as_val=${'$as_ac_var'} 12433 $as_echo "$as_val"'` 12434 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12435 $as_echo "$ac_res" >&6; } 12436 as_val=`eval 'as_val=${'$as_ac_var'} 12437 $as_echo "$as_val"'` 12438 if test "x$as_val" = x""yes; then 8337 12439 cat >>confdefs.h <<_ACEOF 8338 #define HAVE_ACCEPT4112440 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8339 12441 _ACEOF 8340 12442 … … 8343 12445 8344 12446 8345 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for OpenDX headers" >&512447 { $as_echo "$as_me:$LINENO: checking for OpenDX headers" >&5 8346 12448 $as_echo_n "checking for OpenDX headers... " >&6; } 8347 12449 DX_INC_DIR="" … … 8357 12459 done 8358 12460 if test "x${DX_INC_DIR}" = "x" ; then 8359 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cannot find OpenDX include files" >&512461 { $as_echo "$as_me:$LINENO: WARNING: cannot find OpenDX include files" >&5 8360 12462 $as_echo "$as_me: WARNING: cannot find OpenDX include files" >&2;} 8361 12463 DX_INC_SPEC="" … … 8366 12468 fi 8367 12469 8368 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: ${DX_INC_DIR}" >&512470 { $as_echo "$as_me:$LINENO: result: ${DX_INC_DIR}" >&5 8369 12471 $as_echo "${DX_INC_DIR}" >&6; } 8370 12472 save_CPPFLAGS=${CPPFLAGS} 8371 12473 CPPFLAGS="$DX_INC_SPEC $CPPFLAGS" 12474 8372 12475 for ac_header in dx/dx.h 8373 do : 8374 ac_fn_cxx_check_header_mongrel "$LINENO" "dx/dx.h" "ac_cv_header_dx_dx_h" "$ac_includes_default" 8375 if test "x$ac_cv_header_dx_dx_h" = xyes; then : 12476 do 12477 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12478 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12479 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12480 $as_echo_n "checking for $ac_header... " >&6; } 12481 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12482 $as_echo_n "(cached) " >&6 12483 fi 12484 ac_res=`eval 'as_val=${'$as_ac_Header'} 12485 $as_echo "$as_val"'` 12486 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12487 $as_echo "$ac_res" >&6; } 12488 else 12489 # Is the header compilable? 12490 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 12491 $as_echo_n "checking $ac_header usability... " >&6; } 12492 cat >conftest.$ac_ext <<_ACEOF 12493 /* confdefs.h. */ 12494 _ACEOF 12495 cat confdefs.h >>conftest.$ac_ext 12496 cat >>conftest.$ac_ext <<_ACEOF 12497 /* end confdefs.h. */ 12498 $ac_includes_default 12499 #include <$ac_header> 12500 _ACEOF 12501 rm -f conftest.$ac_objext 12502 if { (ac_try="$ac_compile" 12503 case "(($ac_try" in 12504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12505 *) ac_try_echo=$ac_try;; 12506 esac 12507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12508 $as_echo "$ac_try_echo") >&5 12509 (eval "$ac_compile") 2>conftest.er1 12510 ac_status=$? 12511 grep -v '^ *+' conftest.er1 >conftest.err 12512 rm -f conftest.er1 12513 cat conftest.err >&5 12514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12515 (exit $ac_status); } && { 12516 test -z "$ac_cxx_werror_flag" || 12517 test ! -s conftest.err 12518 } && test -s conftest.$ac_objext; then 12519 ac_header_compiler=yes 12520 else 12521 $as_echo "$as_me: failed program was:" >&5 12522 sed 's/^/| /' conftest.$ac_ext >&5 12523 12524 ac_header_compiler=no 12525 fi 12526 12527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12528 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12529 $as_echo "$ac_header_compiler" >&6; } 12530 12531 # Is the header present? 12532 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 12533 $as_echo_n "checking $ac_header presence... " >&6; } 12534 cat >conftest.$ac_ext <<_ACEOF 12535 /* confdefs.h. */ 12536 _ACEOF 12537 cat confdefs.h >>conftest.$ac_ext 12538 cat >>conftest.$ac_ext <<_ACEOF 12539 /* end confdefs.h. */ 12540 #include <$ac_header> 12541 _ACEOF 12542 if { (ac_try="$ac_cpp conftest.$ac_ext" 12543 case "(($ac_try" in 12544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12545 *) ac_try_echo=$ac_try;; 12546 esac 12547 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12548 $as_echo "$ac_try_echo") >&5 12549 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12550 ac_status=$? 12551 grep -v '^ *+' conftest.er1 >conftest.err 12552 rm -f conftest.er1 12553 cat conftest.err >&5 12554 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12555 (exit $ac_status); } >/dev/null && { 12556 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 12557 test ! -s conftest.err 12558 }; then 12559 ac_header_preproc=yes 12560 else 12561 $as_echo "$as_me: failed program was:" >&5 12562 sed 's/^/| /' conftest.$ac_ext >&5 12563 12564 ac_header_preproc=no 12565 fi 12566 12567 rm -f conftest.err conftest.$ac_ext 12568 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12569 $as_echo "$ac_header_preproc" >&6; } 12570 12571 # So? What about this header? 12572 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 12573 yes:no: ) 12574 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 12575 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 12576 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 12577 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 12578 ac_header_preproc=yes 12579 ;; 12580 no:yes:* ) 12581 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 12582 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 12583 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 12584 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 12585 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 12586 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 12587 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 12588 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 12589 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 12590 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 12591 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 12592 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 12593 ( cat <<\_ASBOX 12594 ## ----------------------------------- ## 12595 ## Report this to rappture@nanohub.org ## 12596 ## ----------------------------------- ## 12597 _ASBOX 12598 ) | sed "s/^/$as_me: WARNING: /" >&2 12599 ;; 12600 esac 12601 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12602 $as_echo_n "checking for $ac_header... " >&6; } 12603 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12604 $as_echo_n "(cached) " >&6 12605 else 12606 eval "$as_ac_Header=\$ac_header_preproc" 12607 fi 12608 ac_res=`eval 'as_val=${'$as_ac_Header'} 12609 $as_echo "$as_val"'` 12610 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12611 $as_echo "$ac_res" >&6; } 12612 12613 fi 12614 as_val=`eval 'as_val=${'$as_ac_Header'} 12615 $as_echo "$as_val"'` 12616 if test "x$as_val" = x""yes; then 8376 12617 cat >>confdefs.h <<_ACEOF 8377 #define HAVE_DX_DX_H112618 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8378 12619 _ACEOF 8379 12620 … … 8396 12637 LDFLAGS="-L$dir $LDFLAGS" 8397 12638 unset ac_cv_lib_DXcallm_DXGetComponentValue 8398 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for DXGetComponentValue in -lDXcallm" >&512639 { $as_echo "$as_me:$LINENO: checking for DXGetComponentValue in -lDXcallm" >&5 8399 12640 $as_echo_n "checking for DXGetComponentValue in -lDXcallm... " >&6; } 8400 if ${ac_cv_lib_DXcallm_DXGetComponentValue+:} false; then :12641 if test "${ac_cv_lib_DXcallm_DXGetComponentValue+set}" = set; then 8401 12642 $as_echo_n "(cached) " >&6 8402 12643 else 8403 12644 ac_check_lib_save_LIBS=$LIBS 8404 12645 LIBS="-lDXcallm -lX11 $LIBS" 8405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12646 cat >conftest.$ac_ext <<_ACEOF 12647 /* confdefs.h. */ 12648 _ACEOF 12649 cat confdefs.h >>conftest.$ac_ext 12650 cat >>conftest.$ac_ext <<_ACEOF 8406 12651 /* end confdefs.h. */ 8407 12652 … … 8421 12666 } 8422 12667 _ACEOF 8423 if ac_fn_cxx_try_link "$LINENO"; then : 12668 rm -f conftest.$ac_objext conftest$ac_exeext 12669 if { (ac_try="$ac_link" 12670 case "(($ac_try" in 12671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12672 *) ac_try_echo=$ac_try;; 12673 esac 12674 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12675 $as_echo "$ac_try_echo") >&5 12676 (eval "$ac_link") 2>conftest.er1 12677 ac_status=$? 12678 grep -v '^ *+' conftest.er1 >conftest.err 12679 rm -f conftest.er1 12680 cat conftest.err >&5 12681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12682 (exit $ac_status); } && { 12683 test -z "$ac_cxx_werror_flag" || 12684 test ! -s conftest.err 12685 } && test -s conftest$ac_exeext && { 12686 test "$cross_compiling" = yes || 12687 $as_test_x conftest$ac_exeext 12688 }; then 8424 12689 ac_cv_lib_DXcallm_DXGetComponentValue=yes 8425 12690 else 8426 ac_cv_lib_DXcallm_DXGetComponentValue=no 8427 fi 8428 rm -f core conftest.err conftest.$ac_objext \ 8429 conftest$ac_exeext conftest.$ac_ext 12691 $as_echo "$as_me: failed program was:" >&5 12692 sed 's/^/| /' conftest.$ac_ext >&5 12693 12694 ac_cv_lib_DXcallm_DXGetComponentValue=no 12695 fi 12696 12697 rm -rf conftest.dSYM 12698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12699 conftest$ac_exeext conftest.$ac_ext 8430 12700 LIBS=$ac_check_lib_save_LIBS 8431 12701 fi 8432 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_DXcallm_DXGetComponentValue" >&512702 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_DXcallm_DXGetComponentValue" >&5 8433 12703 $as_echo "$ac_cv_lib_DXcallm_DXGetComponentValue" >&6; } 8434 if test "x$ac_cv_lib_DXcallm_DXGetComponentValue" = x yes; then :12704 if test "x$ac_cv_lib_DXcallm_DXGetComponentValue" = x""yes; then 8435 12705 found=yes 8436 12706 else … … 8445 12715 done 8446 12716 if test "x${DX_LIB_DIR}" = "x" ; then 8447 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cannot find OpenDX libraries" >&512717 { $as_echo "$as_me:$LINENO: WARNING: cannot find OpenDX libraries" >&5 8448 12718 $as_echo "$as_me: WARNING: cannot find OpenDX libraries" >&2;} 8449 12719 fi 8450 12720 8451 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for libDXcallm library" >&512721 { $as_echo "$as_me:$LINENO: checking for libDXcallm library" >&5 8452 12722 $as_echo_n "checking for libDXcallm library... " >&6; } 8453 12723 if test "x${DX_LIB_DIR}" = "x" -o "${DX_LIB_DIR}" = "/usr/lib" -o "${DX_LIB_DIR}" = "/usr/lib64"; then … … 8456 12726 DX_LIB_SPEC="-L${DX_LIB_DIR} -lDXcallm" 8457 12727 fi 8458 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $DX_LIB_SPEC" >&512728 { $as_echo "$as_me:$LINENO: result: $DX_LIB_SPEC" >&5 8459 12729 $as_echo "$DX_LIB_SPEC" >&6; } 8460 12730 12731 12732 8461 12733 for ac_header in opencv/cv.h opencv/highgui.h 8462 do : 8463 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8464 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8465 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 12734 do 12735 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12736 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12737 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12738 $as_echo_n "checking for $ac_header... " >&6; } 12739 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12740 $as_echo_n "(cached) " >&6 12741 fi 12742 ac_res=`eval 'as_val=${'$as_ac_Header'} 12743 $as_echo "$as_val"'` 12744 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12745 $as_echo "$ac_res" >&6; } 12746 else 12747 # Is the header compilable? 12748 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 12749 $as_echo_n "checking $ac_header usability... " >&6; } 12750 cat >conftest.$ac_ext <<_ACEOF 12751 /* confdefs.h. */ 12752 _ACEOF 12753 cat confdefs.h >>conftest.$ac_ext 12754 cat >>conftest.$ac_ext <<_ACEOF 12755 /* end confdefs.h. */ 12756 $ac_includes_default 12757 #include <$ac_header> 12758 _ACEOF 12759 rm -f conftest.$ac_objext 12760 if { (ac_try="$ac_compile" 12761 case "(($ac_try" in 12762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12763 *) ac_try_echo=$ac_try;; 12764 esac 12765 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12766 $as_echo "$ac_try_echo") >&5 12767 (eval "$ac_compile") 2>conftest.er1 12768 ac_status=$? 12769 grep -v '^ *+' conftest.er1 >conftest.err 12770 rm -f conftest.er1 12771 cat conftest.err >&5 12772 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12773 (exit $ac_status); } && { 12774 test -z "$ac_cxx_werror_flag" || 12775 test ! -s conftest.err 12776 } && test -s conftest.$ac_objext; then 12777 ac_header_compiler=yes 12778 else 12779 $as_echo "$as_me: failed program was:" >&5 12780 sed 's/^/| /' conftest.$ac_ext >&5 12781 12782 ac_header_compiler=no 12783 fi 12784 12785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12786 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12787 $as_echo "$ac_header_compiler" >&6; } 12788 12789 # Is the header present? 12790 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 12791 $as_echo_n "checking $ac_header presence... " >&6; } 12792 cat >conftest.$ac_ext <<_ACEOF 12793 /* confdefs.h. */ 12794 _ACEOF 12795 cat confdefs.h >>conftest.$ac_ext 12796 cat >>conftest.$ac_ext <<_ACEOF 12797 /* end confdefs.h. */ 12798 #include <$ac_header> 12799 _ACEOF 12800 if { (ac_try="$ac_cpp conftest.$ac_ext" 12801 case "(($ac_try" in 12802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12803 *) ac_try_echo=$ac_try;; 12804 esac 12805 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12806 $as_echo "$ac_try_echo") >&5 12807 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12808 ac_status=$? 12809 grep -v '^ *+' conftest.er1 >conftest.err 12810 rm -f conftest.er1 12811 cat conftest.err >&5 12812 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12813 (exit $ac_status); } >/dev/null && { 12814 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 12815 test ! -s conftest.err 12816 }; then 12817 ac_header_preproc=yes 12818 else 12819 $as_echo "$as_me: failed program was:" >&5 12820 sed 's/^/| /' conftest.$ac_ext >&5 12821 12822 ac_header_preproc=no 12823 fi 12824 12825 rm -f conftest.err conftest.$ac_ext 12826 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12827 $as_echo "$ac_header_preproc" >&6; } 12828 12829 # So? What about this header? 12830 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 12831 yes:no: ) 12832 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 12833 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 12834 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 12835 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 12836 ac_header_preproc=yes 12837 ;; 12838 no:yes:* ) 12839 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 12840 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 12841 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 12842 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 12843 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 12844 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 12845 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 12846 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 12847 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 12848 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 12849 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 12850 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 12851 ( cat <<\_ASBOX 12852 ## ----------------------------------- ## 12853 ## Report this to rappture@nanohub.org ## 12854 ## ----------------------------------- ## 12855 _ASBOX 12856 ) | sed "s/^/$as_me: WARNING: /" >&2 12857 ;; 12858 esac 12859 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12860 $as_echo_n "checking for $ac_header... " >&6; } 12861 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12862 $as_echo_n "(cached) " >&6 12863 else 12864 eval "$as_ac_Header=\$ac_header_preproc" 12865 fi 12866 ac_res=`eval 'as_val=${'$as_ac_Header'} 12867 $as_echo "$as_val"'` 12868 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12869 $as_echo "$ac_res" >&6; } 12870 12871 fi 12872 as_val=`eval 'as_val=${'$as_ac_Header'} 12873 $as_echo "$as_val"'` 12874 if test "x$as_val" = x""yes; then 8466 12875 cat >>confdefs.h <<_ACEOF 8467 12876 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 8472 12881 done 8473 12882 8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cvLoadImage in -lhighgui" >&5 12883 12884 { $as_echo "$as_me:$LINENO: checking for cvLoadImage in -lhighgui" >&5 8475 12885 $as_echo_n "checking for cvLoadImage in -lhighgui... " >&6; } 8476 if ${ac_cv_lib_highgui_cvLoadImage+:} false; then :12886 if test "${ac_cv_lib_highgui_cvLoadImage+set}" = set; then 8477 12887 $as_echo_n "(cached) " >&6 8478 12888 else 8479 12889 ac_check_lib_save_LIBS=$LIBS 8480 12890 LIBS="-lhighgui $LIBS" 8481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12891 cat >conftest.$ac_ext <<_ACEOF 12892 /* confdefs.h. */ 12893 _ACEOF 12894 cat confdefs.h >>conftest.$ac_ext 12895 cat >>conftest.$ac_ext <<_ACEOF 8482 12896 /* end confdefs.h. */ 8483 12897 … … 8497 12911 } 8498 12912 _ACEOF 8499 if ac_fn_cxx_try_link "$LINENO"; then : 12913 rm -f conftest.$ac_objext conftest$ac_exeext 12914 if { (ac_try="$ac_link" 12915 case "(($ac_try" in 12916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12917 *) ac_try_echo=$ac_try;; 12918 esac 12919 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12920 $as_echo "$ac_try_echo") >&5 12921 (eval "$ac_link") 2>conftest.er1 12922 ac_status=$? 12923 grep -v '^ *+' conftest.er1 >conftest.err 12924 rm -f conftest.er1 12925 cat conftest.err >&5 12926 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12927 (exit $ac_status); } && { 12928 test -z "$ac_cxx_werror_flag" || 12929 test ! -s conftest.err 12930 } && test -s conftest$ac_exeext && { 12931 test "$cross_compiling" = yes || 12932 $as_test_x conftest$ac_exeext 12933 }; then 8500 12934 ac_cv_lib_highgui_cvLoadImage=yes 8501 12935 else 8502 ac_cv_lib_highgui_cvLoadImage=no 8503 fi 8504 rm -f core conftest.err conftest.$ac_objext \ 8505 conftest$ac_exeext conftest.$ac_ext 12936 $as_echo "$as_me: failed program was:" >&5 12937 sed 's/^/| /' conftest.$ac_ext >&5 12938 12939 ac_cv_lib_highgui_cvLoadImage=no 12940 fi 12941 12942 rm -rf conftest.dSYM 12943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12944 conftest$ac_exeext conftest.$ac_ext 8506 12945 LIBS=$ac_check_lib_save_LIBS 8507 12946 fi 8508 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_highgui_cvLoadImage" >&512947 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_highgui_cvLoadImage" >&5 8509 12948 $as_echo "$ac_cv_lib_highgui_cvLoadImage" >&6; } 8510 if test "x$ac_cv_lib_highgui_cvLoadImage" = x yes; then :12949 if test "x$ac_cv_lib_highgui_cvLoadImage" = x""yes; then 8511 12950 cat >>confdefs.h <<_ACEOF 8512 12951 #define HAVE_LIBHIGHGUI 1 … … 8525 12964 fi 8526 12965 12966 12967 12968 12969 12970 12971 8527 12972 for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h 8528 do : 8529 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8530 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" " 12973 do 12974 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12975 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12976 $as_echo_n "checking for $ac_header... " >&6; } 12977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12978 $as_echo_n "(cached) " >&6 12979 else 12980 cat >conftest.$ac_ext <<_ACEOF 12981 /* confdefs.h. */ 12982 _ACEOF 12983 cat confdefs.h >>conftest.$ac_ext 12984 cat >>conftest.$ac_ext <<_ACEOF 12985 /* end confdefs.h. */ 12986 8531 12987 #define __STDC_CONSTANT_MACROS 1 8532 12988 8533 " 8534 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 12989 12990 #include <$ac_header> 12991 _ACEOF 12992 rm -f conftest.$ac_objext 12993 if { (ac_try="$ac_compile" 12994 case "(($ac_try" in 12995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12996 *) ac_try_echo=$ac_try;; 12997 esac 12998 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12999 $as_echo "$ac_try_echo") >&5 13000 (eval "$ac_compile") 2>conftest.er1 13001 ac_status=$? 13002 grep -v '^ *+' conftest.er1 >conftest.err 13003 rm -f conftest.er1 13004 cat conftest.err >&5 13005 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13006 (exit $ac_status); } && { 13007 test -z "$ac_cxx_werror_flag" || 13008 test ! -s conftest.err 13009 } && test -s conftest.$ac_objext; then 13010 eval "$as_ac_Header=yes" 13011 else 13012 $as_echo "$as_me: failed program was:" >&5 13013 sed 's/^/| /' conftest.$ac_ext >&5 13014 13015 eval "$as_ac_Header=no" 13016 fi 13017 13018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13019 fi 13020 ac_res=`eval 'as_val=${'$as_ac_Header'} 13021 $as_echo "$as_val"'` 13022 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13023 $as_echo "$ac_res" >&6; } 13024 as_val=`eval 'as_val=${'$as_ac_Header'} 13025 $as_echo "$as_val"'` 13026 if test "x$as_val" = x""yes; then 8535 13027 cat >>confdefs.h <<_ACEOF 8536 13028 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 8543 13035 CPPFLAGS=$save_CPPFLAGS 8544 13036 8545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavcodec" >&5 13037 13038 { $as_echo "$as_me:$LINENO: checking for main in -lavcodec" >&5 8546 13039 $as_echo_n "checking for main in -lavcodec... " >&6; } 8547 if ${ac_cv_lib_avcodec_main+:} false; then :13040 if test "${ac_cv_lib_avcodec_main+set}" = set; then 8548 13041 $as_echo_n "(cached) " >&6 8549 13042 else 8550 13043 ac_check_lib_save_LIBS=$LIBS 8551 13044 LIBS="-lavcodec $LIBS" 8552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13045 cat >conftest.$ac_ext <<_ACEOF 13046 /* confdefs.h. */ 13047 _ACEOF 13048 cat confdefs.h >>conftest.$ac_ext 13049 cat >>conftest.$ac_ext <<_ACEOF 8553 13050 /* end confdefs.h. */ 8554 13051 … … 8562 13059 } 8563 13060 _ACEOF 8564 if ac_fn_cxx_try_link "$LINENO"; then : 13061 rm -f conftest.$ac_objext conftest$ac_exeext 13062 if { (ac_try="$ac_link" 13063 case "(($ac_try" in 13064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13065 *) ac_try_echo=$ac_try;; 13066 esac 13067 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13068 $as_echo "$ac_try_echo") >&5 13069 (eval "$ac_link") 2>conftest.er1 13070 ac_status=$? 13071 grep -v '^ *+' conftest.er1 >conftest.err 13072 rm -f conftest.er1 13073 cat conftest.err >&5 13074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13075 (exit $ac_status); } && { 13076 test -z "$ac_cxx_werror_flag" || 13077 test ! -s conftest.err 13078 } && test -s conftest$ac_exeext && { 13079 test "$cross_compiling" = yes || 13080 $as_test_x conftest$ac_exeext 13081 }; then 8565 13082 ac_cv_lib_avcodec_main=yes 8566 13083 else 8567 ac_cv_lib_avcodec_main=no 8568 fi 8569 rm -f core conftest.err conftest.$ac_objext \ 8570 conftest$ac_exeext conftest.$ac_ext 13084 $as_echo "$as_me: failed program was:" >&5 13085 sed 's/^/| /' conftest.$ac_ext >&5 13086 13087 ac_cv_lib_avcodec_main=no 13088 fi 13089 13090 rm -rf conftest.dSYM 13091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13092 conftest$ac_exeext conftest.$ac_ext 8571 13093 LIBS=$ac_check_lib_save_LIBS 8572 13094 fi 8573 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_main" >&513095 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_main" >&5 8574 13096 $as_echo "$ac_cv_lib_avcodec_main" >&6; } 8575 if test "x$ac_cv_lib_avcodec_main" = x yes; then :13097 if test "x$ac_cv_lib_avcodec_main" = x""yes; then 8576 13098 cat >>confdefs.h <<_ACEOF 8577 13099 #define HAVE_LIBAVCODEC 1 … … 8581 13103 8582 13104 else 8583 as_fn_error $? "requires libavcodec" "$LINENO" 5 8584 fi 8585 8586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavutil" >&5 13105 { { $as_echo "$as_me:$LINENO: error: requires libavcodec" >&5 13106 $as_echo "$as_me: error: requires libavcodec" >&2;} 13107 { (exit 1); exit 1; }; } 13108 fi 13109 13110 13111 { $as_echo "$as_me:$LINENO: checking for main in -lavutil" >&5 8587 13112 $as_echo_n "checking for main in -lavutil... " >&6; } 8588 if ${ac_cv_lib_avutil_main+:} false; then :13113 if test "${ac_cv_lib_avutil_main+set}" = set; then 8589 13114 $as_echo_n "(cached) " >&6 8590 13115 else 8591 13116 ac_check_lib_save_LIBS=$LIBS 8592 13117 LIBS="-lavutil $LIBS" 8593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13118 cat >conftest.$ac_ext <<_ACEOF 13119 /* confdefs.h. */ 13120 _ACEOF 13121 cat confdefs.h >>conftest.$ac_ext 13122 cat >>conftest.$ac_ext <<_ACEOF 8594 13123 /* end confdefs.h. */ 8595 13124 … … 8603 13132 } 8604 13133 _ACEOF 8605 if ac_fn_cxx_try_link "$LINENO"; then : 13134 rm -f conftest.$ac_objext conftest$ac_exeext 13135 if { (ac_try="$ac_link" 13136 case "(($ac_try" in 13137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13138 *) ac_try_echo=$ac_try;; 13139 esac 13140 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13141 $as_echo "$ac_try_echo") >&5 13142 (eval "$ac_link") 2>conftest.er1 13143 ac_status=$? 13144 grep -v '^ *+' conftest.er1 >conftest.err 13145 rm -f conftest.er1 13146 cat conftest.err >&5 13147 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13148 (exit $ac_status); } && { 13149 test -z "$ac_cxx_werror_flag" || 13150 test ! -s conftest.err 13151 } && test -s conftest$ac_exeext && { 13152 test "$cross_compiling" = yes || 13153 $as_test_x conftest$ac_exeext 13154 }; then 8606 13155 ac_cv_lib_avutil_main=yes 8607 13156 else 8608 ac_cv_lib_avutil_main=no 8609 fi 8610 rm -f core conftest.err conftest.$ac_objext \ 8611 conftest$ac_exeext conftest.$ac_ext 13157 $as_echo "$as_me: failed program was:" >&5 13158 sed 's/^/| /' conftest.$ac_ext >&5 13159 13160 ac_cv_lib_avutil_main=no 13161 fi 13162 13163 rm -rf conftest.dSYM 13164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13165 conftest$ac_exeext conftest.$ac_ext 8612 13166 LIBS=$ac_check_lib_save_LIBS 8613 13167 fi 8614 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avutil_main" >&513168 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_main" >&5 8615 13169 $as_echo "$ac_cv_lib_avutil_main" >&6; } 8616 if test "x$ac_cv_lib_avutil_main" = x yes; then :13170 if test "x$ac_cv_lib_avutil_main" = x""yes; then 8617 13171 cat >>confdefs.h <<_ACEOF 8618 13172 #define HAVE_LIBAVUTIL 1 … … 8622 13176 8623 13177 else 8624 as_fn_error $? "requires libavutil" "$LINENO" 5 8625 fi 8626 8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavformat" >&5 13178 { { $as_echo "$as_me:$LINENO: error: requires libavutil" >&5 13179 $as_echo "$as_me: error: requires libavutil" >&2;} 13180 { (exit 1); exit 1; }; } 13181 fi 13182 13183 13184 { $as_echo "$as_me:$LINENO: checking for main in -lavformat" >&5 8628 13185 $as_echo_n "checking for main in -lavformat... " >&6; } 8629 if ${ac_cv_lib_avformat_main+:} false; then :13186 if test "${ac_cv_lib_avformat_main+set}" = set; then 8630 13187 $as_echo_n "(cached) " >&6 8631 13188 else 8632 13189 ac_check_lib_save_LIBS=$LIBS 8633 13190 LIBS="-lavformat $LIBS" 8634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13191 cat >conftest.$ac_ext <<_ACEOF 13192 /* confdefs.h. */ 13193 _ACEOF 13194 cat confdefs.h >>conftest.$ac_ext 13195 cat >>conftest.$ac_ext <<_ACEOF 8635 13196 /* end confdefs.h. */ 8636 13197 … … 8644 13205 } 8645 13206 _ACEOF 8646 if ac_fn_cxx_try_link "$LINENO"; then : 13207 rm -f conftest.$ac_objext conftest$ac_exeext 13208 if { (ac_try="$ac_link" 13209 case "(($ac_try" in 13210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13211 *) ac_try_echo=$ac_try;; 13212 esac 13213 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13214 $as_echo "$ac_try_echo") >&5 13215 (eval "$ac_link") 2>conftest.er1 13216 ac_status=$? 13217 grep -v '^ *+' conftest.er1 >conftest.err 13218 rm -f conftest.er1 13219 cat conftest.err >&5 13220 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13221 (exit $ac_status); } && { 13222 test -z "$ac_cxx_werror_flag" || 13223 test ! -s conftest.err 13224 } && test -s conftest$ac_exeext && { 13225 test "$cross_compiling" = yes || 13226 $as_test_x conftest$ac_exeext 13227 }; then 8647 13228 ac_cv_lib_avformat_main=yes 8648 13229 else 8649 ac_cv_lib_avformat_main=no 8650 fi 8651 rm -f core conftest.err conftest.$ac_objext \ 8652 conftest$ac_exeext conftest.$ac_ext 13230 $as_echo "$as_me: failed program was:" >&5 13231 sed 's/^/| /' conftest.$ac_ext >&5 13232 13233 ac_cv_lib_avformat_main=no 13234 fi 13235 13236 rm -rf conftest.dSYM 13237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13238 conftest$ac_exeext conftest.$ac_ext 8653 13239 LIBS=$ac_check_lib_save_LIBS 8654 13240 fi 8655 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avformat_main" >&513241 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_main" >&5 8656 13242 $as_echo "$ac_cv_lib_avformat_main" >&6; } 8657 if test "x$ac_cv_lib_avformat_main" = x yes; then :13243 if test "x$ac_cv_lib_avformat_main" = x""yes; then 8658 13244 cat >>confdefs.h <<_ACEOF 8659 13245 #define HAVE_LIBAVFORMAT 1 … … 8663 13249 8664 13250 else 8665 as_fn_error $? "requires libavformat" "$LINENO" 5 8666 fi 8667 8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lswscale" >&5 13251 { { $as_echo "$as_me:$LINENO: error: requires libavformat" >&5 13252 $as_echo "$as_me: error: requires libavformat" >&2;} 13253 { (exit 1); exit 1; }; } 13254 fi 13255 13256 13257 { $as_echo "$as_me:$LINENO: checking for main in -lswscale" >&5 8669 13258 $as_echo_n "checking for main in -lswscale... " >&6; } 8670 if ${ac_cv_lib_swscale_main+:} false; then :13259 if test "${ac_cv_lib_swscale_main+set}" = set; then 8671 13260 $as_echo_n "(cached) " >&6 8672 13261 else 8673 13262 ac_check_lib_save_LIBS=$LIBS 8674 13263 LIBS="-lswscale $LIBS" 8675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13264 cat >conftest.$ac_ext <<_ACEOF 13265 /* confdefs.h. */ 13266 _ACEOF 13267 cat confdefs.h >>conftest.$ac_ext 13268 cat >>conftest.$ac_ext <<_ACEOF 8676 13269 /* end confdefs.h. */ 8677 13270 … … 8685 13278 } 8686 13279 _ACEOF 8687 if ac_fn_cxx_try_link "$LINENO"; then : 13280 rm -f conftest.$ac_objext conftest$ac_exeext 13281 if { (ac_try="$ac_link" 13282 case "(($ac_try" in 13283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13284 *) ac_try_echo=$ac_try;; 13285 esac 13286 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13287 $as_echo "$ac_try_echo") >&5 13288 (eval "$ac_link") 2>conftest.er1 13289 ac_status=$? 13290 grep -v '^ *+' conftest.er1 >conftest.err 13291 rm -f conftest.er1 13292 cat conftest.err >&5 13293 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13294 (exit $ac_status); } && { 13295 test -z "$ac_cxx_werror_flag" || 13296 test ! -s conftest.err 13297 } && test -s conftest$ac_exeext && { 13298 test "$cross_compiling" = yes || 13299 $as_test_x conftest$ac_exeext 13300 }; then 8688 13301 ac_cv_lib_swscale_main=yes 8689 13302 else 8690 ac_cv_lib_swscale_main=no 8691 fi 8692 rm -f core conftest.err conftest.$ac_objext \ 8693 conftest$ac_exeext conftest.$ac_ext 13303 $as_echo "$as_me: failed program was:" >&5 13304 sed 's/^/| /' conftest.$ac_ext >&5 13305 13306 ac_cv_lib_swscale_main=no 13307 fi 13308 13309 rm -rf conftest.dSYM 13310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13311 conftest$ac_exeext conftest.$ac_ext 8694 13312 LIBS=$ac_check_lib_save_LIBS 8695 13313 fi 8696 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_swscale_main" >&513314 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_swscale_main" >&5 8697 13315 $as_echo "$ac_cv_lib_swscale_main" >&6; } 8698 if test "x$ac_cv_lib_swscale_main" = x yes; then :13316 if test "x$ac_cv_lib_swscale_main" = x""yes; then 8699 13317 cat >>confdefs.h <<_ACEOF 8700 13318 #define HAVE_LIBSWSCALE 1 … … 8705 13323 fi 8706 13324 13325 8707 13326 for ac_func in avcodec_decode_video2 8708 do : 8709 ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video2" "ac_cv_func_avcodec_decode_video2" 8710 if test "x$ac_cv_func_avcodec_decode_video2" = xyes; then : 13327 do 13328 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13329 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13330 $as_echo_n "checking for $ac_func... " >&6; } 13331 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13332 $as_echo_n "(cached) " >&6 13333 else 13334 cat >conftest.$ac_ext <<_ACEOF 13335 /* confdefs.h. */ 13336 _ACEOF 13337 cat confdefs.h >>conftest.$ac_ext 13338 cat >>conftest.$ac_ext <<_ACEOF 13339 /* end confdefs.h. */ 13340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13341 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13342 #define $ac_func innocuous_$ac_func 13343 13344 /* System header to define __stub macros and hopefully few prototypes, 13345 which can conflict with char $ac_func (); below. 13346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13347 <limits.h> exists even on freestanding compilers. */ 13348 13349 #ifdef __STDC__ 13350 # include <limits.h> 13351 #else 13352 # include <assert.h> 13353 #endif 13354 13355 #undef $ac_func 13356 13357 /* Override any GCC internal prototype to avoid an error. 13358 Use char because int might match the return type of a GCC 13359 builtin and then its argument prototype would still apply. */ 13360 #ifdef __cplusplus 13361 extern "C" 13362 #endif 13363 char $ac_func (); 13364 /* The GNU C library defines this for functions which it implements 13365 to always fail with ENOSYS. Some functions are actually named 13366 something starting with __ and the normal name is an alias. */ 13367 #if defined __stub_$ac_func || defined __stub___$ac_func 13368 choke me 13369 #endif 13370 13371 int 13372 main () 13373 { 13374 return $ac_func (); 13375 ; 13376 return 0; 13377 } 13378 _ACEOF 13379 rm -f conftest.$ac_objext conftest$ac_exeext 13380 if { (ac_try="$ac_link" 13381 case "(($ac_try" in 13382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13383 *) ac_try_echo=$ac_try;; 13384 esac 13385 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13386 $as_echo "$ac_try_echo") >&5 13387 (eval "$ac_link") 2>conftest.er1 13388 ac_status=$? 13389 grep -v '^ *+' conftest.er1 >conftest.err 13390 rm -f conftest.er1 13391 cat conftest.err >&5 13392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13393 (exit $ac_status); } && { 13394 test -z "$ac_cxx_werror_flag" || 13395 test ! -s conftest.err 13396 } && test -s conftest$ac_exeext && { 13397 test "$cross_compiling" = yes || 13398 $as_test_x conftest$ac_exeext 13399 }; then 13400 eval "$as_ac_var=yes" 13401 else 13402 $as_echo "$as_me: failed program was:" >&5 13403 sed 's/^/| /' conftest.$ac_ext >&5 13404 13405 eval "$as_ac_var=no" 13406 fi 13407 13408 rm -rf conftest.dSYM 13409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13410 conftest$ac_exeext conftest.$ac_ext 13411 fi 13412 ac_res=`eval 'as_val=${'$as_ac_var'} 13413 $as_echo "$as_val"'` 13414 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13415 $as_echo "$ac_res" >&6; } 13416 as_val=`eval 'as_val=${'$as_ac_var'} 13417 $as_echo "$as_val"'` 13418 if test "x$as_val" = x""yes; then 8711 13419 cat >>confdefs.h <<_ACEOF 8712 #define HAVE_AVCODEC_DECODE_VIDEO2113420 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8713 13421 _ACEOF 8714 13422 … … 8716 13424 done 8717 13425 13426 8718 13427 for ac_func in avcodec_decode_video 8719 do : 8720 ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video" "ac_cv_func_avcodec_decode_video" 8721 if test "x$ac_cv_func_avcodec_decode_video" = xyes; then : 13428 do 13429 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13430 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13431 $as_echo_n "checking for $ac_func... " >&6; } 13432 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13433 $as_echo_n "(cached) " >&6 13434 else 13435 cat >conftest.$ac_ext <<_ACEOF 13436 /* confdefs.h. */ 13437 _ACEOF 13438 cat confdefs.h >>conftest.$ac_ext 13439 cat >>conftest.$ac_ext <<_ACEOF 13440 /* end confdefs.h. */ 13441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13442 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13443 #define $ac_func innocuous_$ac_func 13444 13445 /* System header to define __stub macros and hopefully few prototypes, 13446 which can conflict with char $ac_func (); below. 13447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13448 <limits.h> exists even on freestanding compilers. */ 13449 13450 #ifdef __STDC__ 13451 # include <limits.h> 13452 #else 13453 # include <assert.h> 13454 #endif 13455 13456 #undef $ac_func 13457 13458 /* Override any GCC internal prototype to avoid an error. 13459 Use char because int might match the return type of a GCC 13460 builtin and then its argument prototype would still apply. */ 13461 #ifdef __cplusplus 13462 extern "C" 13463 #endif 13464 char $ac_func (); 13465 /* The GNU C library defines this for functions which it implements 13466 to always fail with ENOSYS. Some functions are actually named 13467 something starting with __ and the normal name is an alias. */ 13468 #if defined __stub_$ac_func || defined __stub___$ac_func 13469 choke me 13470 #endif 13471 13472 int 13473 main () 13474 { 13475 return $ac_func (); 13476 ; 13477 return 0; 13478 } 13479 _ACEOF 13480 rm -f conftest.$ac_objext conftest$ac_exeext 13481 if { (ac_try="$ac_link" 13482 case "(($ac_try" in 13483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13484 *) ac_try_echo=$ac_try;; 13485 esac 13486 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13487 $as_echo "$ac_try_echo") >&5 13488 (eval "$ac_link") 2>conftest.er1 13489 ac_status=$? 13490 grep -v '^ *+' conftest.er1 >conftest.err 13491 rm -f conftest.er1 13492 cat conftest.err >&5 13493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13494 (exit $ac_status); } && { 13495 test -z "$ac_cxx_werror_flag" || 13496 test ! -s conftest.err 13497 } && test -s conftest$ac_exeext && { 13498 test "$cross_compiling" = yes || 13499 $as_test_x conftest$ac_exeext 13500 }; then 13501 eval "$as_ac_var=yes" 13502 else 13503 $as_echo "$as_me: failed program was:" >&5 13504 sed 's/^/| /' conftest.$ac_ext >&5 13505 13506 eval "$as_ac_var=no" 13507 fi 13508 13509 rm -rf conftest.dSYM 13510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13511 conftest$ac_exeext conftest.$ac_ext 13512 fi 13513 ac_res=`eval 'as_val=${'$as_ac_var'} 13514 $as_echo "$as_val"'` 13515 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13516 $as_echo "$ac_res" >&6; } 13517 as_val=`eval 'as_val=${'$as_ac_var'} 13518 $as_echo "$as_val"'` 13519 if test "x$as_val" = x""yes; then 8722 13520 cat >>confdefs.h <<_ACEOF 8723 #define HAVE_AVCODEC_DECODE_VIDEO113521 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8724 13522 _ACEOF 8725 13523 … … 8727 13525 done 8728 13526 13527 8729 13528 for ac_func in avformat_open_input 8730 do : 8731 ac_fn_cxx_check_func "$LINENO" "avformat_open_input" "ac_cv_func_avformat_open_input" 8732 if test "x$ac_cv_func_avformat_open_input" = xyes; then : 13529 do 13530 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13531 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13532 $as_echo_n "checking for $ac_func... " >&6; } 13533 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13534 $as_echo_n "(cached) " >&6 13535 else 13536 cat >conftest.$ac_ext <<_ACEOF 13537 /* confdefs.h. */ 13538 _ACEOF 13539 cat confdefs.h >>conftest.$ac_ext 13540 cat >>conftest.$ac_ext <<_ACEOF 13541 /* end confdefs.h. */ 13542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13543 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13544 #define $ac_func innocuous_$ac_func 13545 13546 /* System header to define __stub macros and hopefully few prototypes, 13547 which can conflict with char $ac_func (); below. 13548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13549 <limits.h> exists even on freestanding compilers. */ 13550 13551 #ifdef __STDC__ 13552 # include <limits.h> 13553 #else 13554 # include <assert.h> 13555 #endif 13556 13557 #undef $ac_func 13558 13559 /* Override any GCC internal prototype to avoid an error. 13560 Use char because int might match the return type of a GCC 13561 builtin and then its argument prototype would still apply. */ 13562 #ifdef __cplusplus 13563 extern "C" 13564 #endif 13565 char $ac_func (); 13566 /* The GNU C library defines this for functions which it implements 13567 to always fail with ENOSYS. Some functions are actually named 13568 something starting with __ and the normal name is an alias. */ 13569 #if defined __stub_$ac_func || defined __stub___$ac_func 13570 choke me 13571 #endif 13572 13573 int 13574 main () 13575 { 13576 return $ac_func (); 13577 ; 13578 return 0; 13579 } 13580 _ACEOF 13581 rm -f conftest.$ac_objext conftest$ac_exeext 13582 if { (ac_try="$ac_link" 13583 case "(($ac_try" in 13584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13585 *) ac_try_echo=$ac_try;; 13586 esac 13587 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13588 $as_echo "$ac_try_echo") >&5 13589 (eval "$ac_link") 2>conftest.er1 13590 ac_status=$? 13591 grep -v '^ *+' conftest.er1 >conftest.err 13592 rm -f conftest.er1 13593 cat conftest.err >&5 13594 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13595 (exit $ac_status); } && { 13596 test -z "$ac_cxx_werror_flag" || 13597 test ! -s conftest.err 13598 } && test -s conftest$ac_exeext && { 13599 test "$cross_compiling" = yes || 13600 $as_test_x conftest$ac_exeext 13601 }; then 13602 eval "$as_ac_var=yes" 13603 else 13604 $as_echo "$as_me: failed program was:" >&5 13605 sed 's/^/| /' conftest.$ac_ext >&5 13606 13607 eval "$as_ac_var=no" 13608 fi 13609 13610 rm -rf conftest.dSYM 13611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13612 conftest$ac_exeext conftest.$ac_ext 13613 fi 13614 ac_res=`eval 'as_val=${'$as_ac_var'} 13615 $as_echo "$as_val"'` 13616 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13617 $as_echo "$ac_res" >&6; } 13618 as_val=`eval 'as_val=${'$as_ac_var'} 13619 $as_echo "$as_val"'` 13620 if test "x$as_val" = x""yes; then 8733 13621 cat >>confdefs.h <<_ACEOF 8734 #define HAVE_AVFORMAT_OPEN_INPUT113622 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8735 13623 _ACEOF 8736 13624 … … 8738 13626 done 8739 13627 13628 8740 13629 for ac_func in av_open_input_file 8741 do : 8742 ac_fn_cxx_check_func "$LINENO" "av_open_input_file" "ac_cv_func_av_open_input_file" 8743 if test "x$ac_cv_func_av_open_input_file" = xyes; then : 13630 do 13631 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13632 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13633 $as_echo_n "checking for $ac_func... " >&6; } 13634 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13635 $as_echo_n "(cached) " >&6 13636 else 13637 cat >conftest.$ac_ext <<_ACEOF 13638 /* confdefs.h. */ 13639 _ACEOF 13640 cat confdefs.h >>conftest.$ac_ext 13641 cat >>conftest.$ac_ext <<_ACEOF 13642 /* end confdefs.h. */ 13643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13644 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13645 #define $ac_func innocuous_$ac_func 13646 13647 /* System header to define __stub macros and hopefully few prototypes, 13648 which can conflict with char $ac_func (); below. 13649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13650 <limits.h> exists even on freestanding compilers. */ 13651 13652 #ifdef __STDC__ 13653 # include <limits.h> 13654 #else 13655 # include <assert.h> 13656 #endif 13657 13658 #undef $ac_func 13659 13660 /* Override any GCC internal prototype to avoid an error. 13661 Use char because int might match the return type of a GCC 13662 builtin and then its argument prototype would still apply. */ 13663 #ifdef __cplusplus 13664 extern "C" 13665 #endif 13666 char $ac_func (); 13667 /* The GNU C library defines this for functions which it implements 13668 to always fail with ENOSYS. Some functions are actually named 13669 something starting with __ and the normal name is an alias. */ 13670 #if defined __stub_$ac_func || defined __stub___$ac_func 13671 choke me 13672 #endif 13673 13674 int 13675 main () 13676 { 13677 return $ac_func (); 13678 ; 13679 return 0; 13680 } 13681 _ACEOF 13682 rm -f conftest.$ac_objext conftest$ac_exeext 13683 if { (ac_try="$ac_link" 13684 case "(($ac_try" in 13685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13686 *) ac_try_echo=$ac_try;; 13687 esac 13688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13689 $as_echo "$ac_try_echo") >&5 13690 (eval "$ac_link") 2>conftest.er1 13691 ac_status=$? 13692 grep -v '^ *+' conftest.er1 >conftest.err 13693 rm -f conftest.er1 13694 cat conftest.err >&5 13695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13696 (exit $ac_status); } && { 13697 test -z "$ac_cxx_werror_flag" || 13698 test ! -s conftest.err 13699 } && test -s conftest$ac_exeext && { 13700 test "$cross_compiling" = yes || 13701 $as_test_x conftest$ac_exeext 13702 }; then 13703 eval "$as_ac_var=yes" 13704 else 13705 $as_echo "$as_me: failed program was:" >&5 13706 sed 's/^/| /' conftest.$ac_ext >&5 13707 13708 eval "$as_ac_var=no" 13709 fi 13710 13711 rm -rf conftest.dSYM 13712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13713 conftest$ac_exeext conftest.$ac_ext 13714 fi 13715 ac_res=`eval 'as_val=${'$as_ac_var'} 13716 $as_echo "$as_val"'` 13717 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13718 $as_echo "$ac_res" >&6; } 13719 as_val=`eval 'as_val=${'$as_ac_var'} 13720 $as_echo "$as_val"'` 13721 if test "x$as_val" = x""yes; then 8744 13722 cat >>confdefs.h <<_ACEOF 8745 #define HAVE_AV_OPEN_INPUT_FILE113723 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8746 13724 _ACEOF 8747 13725 … … 8749 13727 done 8750 13728 13729 8751 13730 for ac_func in av_guess_format 8752 do : 8753 ac_fn_cxx_check_func "$LINENO" "av_guess_format" "ac_cv_func_av_guess_format" 8754 if test "x$ac_cv_func_av_guess_format" = xyes; then : 13731 do 13732 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13733 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13734 $as_echo_n "checking for $ac_func... " >&6; } 13735 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13736 $as_echo_n "(cached) " >&6 13737 else 13738 cat >conftest.$ac_ext <<_ACEOF 13739 /* confdefs.h. */ 13740 _ACEOF 13741 cat confdefs.h >>conftest.$ac_ext 13742 cat >>conftest.$ac_ext <<_ACEOF 13743 /* end confdefs.h. */ 13744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13745 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13746 #define $ac_func innocuous_$ac_func 13747 13748 /* System header to define __stub macros and hopefully few prototypes, 13749 which can conflict with char $ac_func (); below. 13750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13751 <limits.h> exists even on freestanding compilers. */ 13752 13753 #ifdef __STDC__ 13754 # include <limits.h> 13755 #else 13756 # include <assert.h> 13757 #endif 13758 13759 #undef $ac_func 13760 13761 /* Override any GCC internal prototype to avoid an error. 13762 Use char because int might match the return type of a GCC 13763 builtin and then its argument prototype would still apply. */ 13764 #ifdef __cplusplus 13765 extern "C" 13766 #endif 13767 char $ac_func (); 13768 /* The GNU C library defines this for functions which it implements 13769 to always fail with ENOSYS. Some functions are actually named 13770 something starting with __ and the normal name is an alias. */ 13771 #if defined __stub_$ac_func || defined __stub___$ac_func 13772 choke me 13773 #endif 13774 13775 int 13776 main () 13777 { 13778 return $ac_func (); 13779 ; 13780 return 0; 13781 } 13782 _ACEOF 13783 rm -f conftest.$ac_objext conftest$ac_exeext 13784 if { (ac_try="$ac_link" 13785 case "(($ac_try" in 13786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13787 *) ac_try_echo=$ac_try;; 13788 esac 13789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13790 $as_echo "$ac_try_echo") >&5 13791 (eval "$ac_link") 2>conftest.er1 13792 ac_status=$? 13793 grep -v '^ *+' conftest.er1 >conftest.err 13794 rm -f conftest.er1 13795 cat conftest.err >&5 13796 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13797 (exit $ac_status); } && { 13798 test -z "$ac_cxx_werror_flag" || 13799 test ! -s conftest.err 13800 } && test -s conftest$ac_exeext && { 13801 test "$cross_compiling" = yes || 13802 $as_test_x conftest$ac_exeext 13803 }; then 13804 eval "$as_ac_var=yes" 13805 else 13806 $as_echo "$as_me: failed program was:" >&5 13807 sed 's/^/| /' conftest.$ac_ext >&5 13808 13809 eval "$as_ac_var=no" 13810 fi 13811 13812 rm -rf conftest.dSYM 13813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13814 conftest$ac_exeext conftest.$ac_ext 13815 fi 13816 ac_res=`eval 'as_val=${'$as_ac_var'} 13817 $as_echo "$as_val"'` 13818 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13819 $as_echo "$ac_res" >&6; } 13820 as_val=`eval 'as_val=${'$as_ac_var'} 13821 $as_echo "$as_val"'` 13822 if test "x$as_val" = x""yes; then 8755 13823 cat >>confdefs.h <<_ACEOF 8756 #define HAVE_AV_GUESS_FORMAT113824 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8757 13825 _ACEOF 8758 13826 … … 8760 13828 done 8761 13829 13830 8762 13831 for ac_func in guess_format 8763 do : 8764 ac_fn_cxx_check_func "$LINENO" "guess_format" "ac_cv_func_guess_format" 8765 if test "x$ac_cv_func_guess_format" = xyes; then : 13832 do 13833 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13834 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13835 $as_echo_n "checking for $ac_func... " >&6; } 13836 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13837 $as_echo_n "(cached) " >&6 13838 else 13839 cat >conftest.$ac_ext <<_ACEOF 13840 /* confdefs.h. */ 13841 _ACEOF 13842 cat confdefs.h >>conftest.$ac_ext 13843 cat >>conftest.$ac_ext <<_ACEOF 13844 /* end confdefs.h. */ 13845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13846 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13847 #define $ac_func innocuous_$ac_func 13848 13849 /* System header to define __stub macros and hopefully few prototypes, 13850 which can conflict with char $ac_func (); below. 13851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13852 <limits.h> exists even on freestanding compilers. */ 13853 13854 #ifdef __STDC__ 13855 # include <limits.h> 13856 #else 13857 # include <assert.h> 13858 #endif 13859 13860 #undef $ac_func 13861 13862 /* Override any GCC internal prototype to avoid an error. 13863 Use char because int might match the return type of a GCC 13864 builtin and then its argument prototype would still apply. */ 13865 #ifdef __cplusplus 13866 extern "C" 13867 #endif 13868 char $ac_func (); 13869 /* The GNU C library defines this for functions which it implements 13870 to always fail with ENOSYS. Some functions are actually named 13871 something starting with __ and the normal name is an alias. */ 13872 #if defined __stub_$ac_func || defined __stub___$ac_func 13873 choke me 13874 #endif 13875 13876 int 13877 main () 13878 { 13879 return $ac_func (); 13880 ; 13881 return 0; 13882 } 13883 _ACEOF 13884 rm -f conftest.$ac_objext conftest$ac_exeext 13885 if { (ac_try="$ac_link" 13886 case "(($ac_try" in 13887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13888 *) ac_try_echo=$ac_try;; 13889 esac 13890 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13891 $as_echo "$ac_try_echo") >&5 13892 (eval "$ac_link") 2>conftest.er1 13893 ac_status=$? 13894 grep -v '^ *+' conftest.er1 >conftest.err 13895 rm -f conftest.er1 13896 cat conftest.err >&5 13897 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13898 (exit $ac_status); } && { 13899 test -z "$ac_cxx_werror_flag" || 13900 test ! -s conftest.err 13901 } && test -s conftest$ac_exeext && { 13902 test "$cross_compiling" = yes || 13903 $as_test_x conftest$ac_exeext 13904 }; then 13905 eval "$as_ac_var=yes" 13906 else 13907 $as_echo "$as_me: failed program was:" >&5 13908 sed 's/^/| /' conftest.$ac_ext >&5 13909 13910 eval "$as_ac_var=no" 13911 fi 13912 13913 rm -rf conftest.dSYM 13914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13915 conftest$ac_exeext conftest.$ac_ext 13916 fi 13917 ac_res=`eval 'as_val=${'$as_ac_var'} 13918 $as_echo "$as_val"'` 13919 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13920 $as_echo "$ac_res" >&6; } 13921 as_val=`eval 'as_val=${'$as_ac_var'} 13922 $as_echo "$as_val"'` 13923 if test "x$as_val" = x""yes; then 8766 13924 cat >>confdefs.h <<_ACEOF 8767 #define HAVE_GUESS_FORMAT113925 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8768 13926 _ACEOF 8769 13927 … … 8771 13929 done 8772 13930 13931 8773 13932 for ac_func in av_dump_format 8774 do : 8775 ac_fn_cxx_check_func "$LINENO" "av_dump_format" "ac_cv_func_av_dump_format" 8776 if test "x$ac_cv_func_av_dump_format" = xyes; then : 13933 do 13934 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13935 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13936 $as_echo_n "checking for $ac_func... " >&6; } 13937 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13938 $as_echo_n "(cached) " >&6 13939 else 13940 cat >conftest.$ac_ext <<_ACEOF 13941 /* confdefs.h. */ 13942 _ACEOF 13943 cat confdefs.h >>conftest.$ac_ext 13944 cat >>conftest.$ac_ext <<_ACEOF 13945 /* end confdefs.h. */ 13946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13947 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13948 #define $ac_func innocuous_$ac_func 13949 13950 /* System header to define __stub macros and hopefully few prototypes, 13951 which can conflict with char $ac_func (); below. 13952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13953 <limits.h> exists even on freestanding compilers. */ 13954 13955 #ifdef __STDC__ 13956 # include <limits.h> 13957 #else 13958 # include <assert.h> 13959 #endif 13960 13961 #undef $ac_func 13962 13963 /* Override any GCC internal prototype to avoid an error. 13964 Use char because int might match the return type of a GCC 13965 builtin and then its argument prototype would still apply. */ 13966 #ifdef __cplusplus 13967 extern "C" 13968 #endif 13969 char $ac_func (); 13970 /* The GNU C library defines this for functions which it implements 13971 to always fail with ENOSYS. Some functions are actually named 13972 something starting with __ and the normal name is an alias. */ 13973 #if defined __stub_$ac_func || defined __stub___$ac_func 13974 choke me 13975 #endif 13976 13977 int 13978 main () 13979 { 13980 return $ac_func (); 13981 ; 13982 return 0; 13983 } 13984 _ACEOF 13985 rm -f conftest.$ac_objext conftest$ac_exeext 13986 if { (ac_try="$ac_link" 13987 case "(($ac_try" in 13988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13989 *) ac_try_echo=$ac_try;; 13990 esac 13991 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13992 $as_echo "$ac_try_echo") >&5 13993 (eval "$ac_link") 2>conftest.er1 13994 ac_status=$? 13995 grep -v '^ *+' conftest.er1 >conftest.err 13996 rm -f conftest.er1 13997 cat conftest.err >&5 13998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13999 (exit $ac_status); } && { 14000 test -z "$ac_cxx_werror_flag" || 14001 test ! -s conftest.err 14002 } && test -s conftest$ac_exeext && { 14003 test "$cross_compiling" = yes || 14004 $as_test_x conftest$ac_exeext 14005 }; then 14006 eval "$as_ac_var=yes" 14007 else 14008 $as_echo "$as_me: failed program was:" >&5 14009 sed 's/^/| /' conftest.$ac_ext >&5 14010 14011 eval "$as_ac_var=no" 14012 fi 14013 14014 rm -rf conftest.dSYM 14015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14016 conftest$ac_exeext conftest.$ac_ext 14017 fi 14018 ac_res=`eval 'as_val=${'$as_ac_var'} 14019 $as_echo "$as_val"'` 14020 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14021 $as_echo "$ac_res" >&6; } 14022 as_val=`eval 'as_val=${'$as_ac_var'} 14023 $as_echo "$as_val"'` 14024 if test "x$as_val" = x""yes; then 8777 14025 cat >>confdefs.h <<_ACEOF 8778 #define HAVE_AV_DUMP_FORMAT114026 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8779 14027 _ACEOF 8780 14028 … … 8782 14030 done 8783 14031 14032 8784 14033 for ac_func in dump_format 8785 do : 8786 ac_fn_cxx_check_func "$LINENO" "dump_format" "ac_cv_func_dump_format" 8787 if test "x$ac_cv_func_dump_format" = xyes; then : 14034 do 14035 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14036 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14037 $as_echo_n "checking for $ac_func... " >&6; } 14038 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14039 $as_echo_n "(cached) " >&6 14040 else 14041 cat >conftest.$ac_ext <<_ACEOF 14042 /* confdefs.h. */ 14043 _ACEOF 14044 cat confdefs.h >>conftest.$ac_ext 14045 cat >>conftest.$ac_ext <<_ACEOF 14046 /* end confdefs.h. */ 14047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14048 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14049 #define $ac_func innocuous_$ac_func 14050 14051 /* System header to define __stub macros and hopefully few prototypes, 14052 which can conflict with char $ac_func (); below. 14053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14054 <limits.h> exists even on freestanding compilers. */ 14055 14056 #ifdef __STDC__ 14057 # include <limits.h> 14058 #else 14059 # include <assert.h> 14060 #endif 14061 14062 #undef $ac_func 14063 14064 /* Override any GCC internal prototype to avoid an error. 14065 Use char because int might match the return type of a GCC 14066 builtin and then its argument prototype would still apply. */ 14067 #ifdef __cplusplus 14068 extern "C" 14069 #endif 14070 char $ac_func (); 14071 /* The GNU C library defines this for functions which it implements 14072 to always fail with ENOSYS. Some functions are actually named 14073 something starting with __ and the normal name is an alias. */ 14074 #if defined __stub_$ac_func || defined __stub___$ac_func 14075 choke me 14076 #endif 14077 14078 int 14079 main () 14080 { 14081 return $ac_func (); 14082 ; 14083 return 0; 14084 } 14085 _ACEOF 14086 rm -f conftest.$ac_objext conftest$ac_exeext 14087 if { (ac_try="$ac_link" 14088 case "(($ac_try" in 14089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14090 *) ac_try_echo=$ac_try;; 14091 esac 14092 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14093 $as_echo "$ac_try_echo") >&5 14094 (eval "$ac_link") 2>conftest.er1 14095 ac_status=$? 14096 grep -v '^ *+' conftest.er1 >conftest.err 14097 rm -f conftest.er1 14098 cat conftest.err >&5 14099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14100 (exit $ac_status); } && { 14101 test -z "$ac_cxx_werror_flag" || 14102 test ! -s conftest.err 14103 } && test -s conftest$ac_exeext && { 14104 test "$cross_compiling" = yes || 14105 $as_test_x conftest$ac_exeext 14106 }; then 14107 eval "$as_ac_var=yes" 14108 else 14109 $as_echo "$as_me: failed program was:" >&5 14110 sed 's/^/| /' conftest.$ac_ext >&5 14111 14112 eval "$as_ac_var=no" 14113 fi 14114 14115 rm -rf conftest.dSYM 14116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14117 conftest$ac_exeext conftest.$ac_ext 14118 fi 14119 ac_res=`eval 'as_val=${'$as_ac_var'} 14120 $as_echo "$as_val"'` 14121 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14122 $as_echo "$ac_res" >&6; } 14123 as_val=`eval 'as_val=${'$as_ac_var'} 14124 $as_echo "$as_val"'` 14125 if test "x$as_val" = x""yes; then 8788 14126 cat >>confdefs.h <<_ACEOF 8789 #define HAVE_DUMP_FORMAT114127 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8790 14128 _ACEOF 8791 14129 … … 8793 14131 done 8794 14132 14133 8795 14134 for ac_func in avio_open 8796 do : 8797 ac_fn_cxx_check_func "$LINENO" "avio_open" "ac_cv_func_avio_open" 8798 if test "x$ac_cv_func_avio_open" = xyes; then : 14135 do 14136 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14137 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14138 $as_echo_n "checking for $ac_func... " >&6; } 14139 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14140 $as_echo_n "(cached) " >&6 14141 else 14142 cat >conftest.$ac_ext <<_ACEOF 14143 /* confdefs.h. */ 14144 _ACEOF 14145 cat confdefs.h >>conftest.$ac_ext 14146 cat >>conftest.$ac_ext <<_ACEOF 14147 /* end confdefs.h. */ 14148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14149 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14150 #define $ac_func innocuous_$ac_func 14151 14152 /* System header to define __stub macros and hopefully few prototypes, 14153 which can conflict with char $ac_func (); below. 14154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14155 <limits.h> exists even on freestanding compilers. */ 14156 14157 #ifdef __STDC__ 14158 # include <limits.h> 14159 #else 14160 # include <assert.h> 14161 #endif 14162 14163 #undef $ac_func 14164 14165 /* Override any GCC internal prototype to avoid an error. 14166 Use char because int might match the return type of a GCC 14167 builtin and then its argument prototype would still apply. */ 14168 #ifdef __cplusplus 14169 extern "C" 14170 #endif 14171 char $ac_func (); 14172 /* The GNU C library defines this for functions which it implements 14173 to always fail with ENOSYS. Some functions are actually named 14174 something starting with __ and the normal name is an alias. */ 14175 #if defined __stub_$ac_func || defined __stub___$ac_func 14176 choke me 14177 #endif 14178 14179 int 14180 main () 14181 { 14182 return $ac_func (); 14183 ; 14184 return 0; 14185 } 14186 _ACEOF 14187 rm -f conftest.$ac_objext conftest$ac_exeext 14188 if { (ac_try="$ac_link" 14189 case "(($ac_try" in 14190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14191 *) ac_try_echo=$ac_try;; 14192 esac 14193 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14194 $as_echo "$ac_try_echo") >&5 14195 (eval "$ac_link") 2>conftest.er1 14196 ac_status=$? 14197 grep -v '^ *+' conftest.er1 >conftest.err 14198 rm -f conftest.er1 14199 cat conftest.err >&5 14200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14201 (exit $ac_status); } && { 14202 test -z "$ac_cxx_werror_flag" || 14203 test ! -s conftest.err 14204 } && test -s conftest$ac_exeext && { 14205 test "$cross_compiling" = yes || 14206 $as_test_x conftest$ac_exeext 14207 }; then 14208 eval "$as_ac_var=yes" 14209 else 14210 $as_echo "$as_me: failed program was:" >&5 14211 sed 's/^/| /' conftest.$ac_ext >&5 14212 14213 eval "$as_ac_var=no" 14214 fi 14215 14216 rm -rf conftest.dSYM 14217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14218 conftest$ac_exeext conftest.$ac_ext 14219 fi 14220 ac_res=`eval 'as_val=${'$as_ac_var'} 14221 $as_echo "$as_val"'` 14222 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14223 $as_echo "$ac_res" >&6; } 14224 as_val=`eval 'as_val=${'$as_ac_var'} 14225 $as_echo "$as_val"'` 14226 if test "x$as_val" = x""yes; then 8799 14227 cat >>confdefs.h <<_ACEOF 8800 #define HAVE_AVIO_OPEN114228 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8801 14229 _ACEOF 8802 14230 … … 8804 14232 done 8805 14233 14234 8806 14235 for ac_func in url_fopen 8807 do : 8808 ac_fn_cxx_check_func "$LINENO" "url_fopen" "ac_cv_func_url_fopen" 8809 if test "x$ac_cv_func_url_fopen" = xyes; then : 14236 do 14237 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14238 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14239 $as_echo_n "checking for $ac_func... " >&6; } 14240 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14241 $as_echo_n "(cached) " >&6 14242 else 14243 cat >conftest.$ac_ext <<_ACEOF 14244 /* confdefs.h. */ 14245 _ACEOF 14246 cat confdefs.h >>conftest.$ac_ext 14247 cat >>conftest.$ac_ext <<_ACEOF 14248 /* end confdefs.h. */ 14249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14250 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14251 #define $ac_func innocuous_$ac_func 14252 14253 /* System header to define __stub macros and hopefully few prototypes, 14254 which can conflict with char $ac_func (); below. 14255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14256 <limits.h> exists even on freestanding compilers. */ 14257 14258 #ifdef __STDC__ 14259 # include <limits.h> 14260 #else 14261 # include <assert.h> 14262 #endif 14263 14264 #undef $ac_func 14265 14266 /* Override any GCC internal prototype to avoid an error. 14267 Use char because int might match the return type of a GCC 14268 builtin and then its argument prototype would still apply. */ 14269 #ifdef __cplusplus 14270 extern "C" 14271 #endif 14272 char $ac_func (); 14273 /* The GNU C library defines this for functions which it implements 14274 to always fail with ENOSYS. Some functions are actually named 14275 something starting with __ and the normal name is an alias. */ 14276 #if defined __stub_$ac_func || defined __stub___$ac_func 14277 choke me 14278 #endif 14279 14280 int 14281 main () 14282 { 14283 return $ac_func (); 14284 ; 14285 return 0; 14286 } 14287 _ACEOF 14288 rm -f conftest.$ac_objext conftest$ac_exeext 14289 if { (ac_try="$ac_link" 14290 case "(($ac_try" in 14291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14292 *) ac_try_echo=$ac_try;; 14293 esac 14294 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14295 $as_echo "$ac_try_echo") >&5 14296 (eval "$ac_link") 2>conftest.er1 14297 ac_status=$? 14298 grep -v '^ *+' conftest.er1 >conftest.err 14299 rm -f conftest.er1 14300 cat conftest.err >&5 14301 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14302 (exit $ac_status); } && { 14303 test -z "$ac_cxx_werror_flag" || 14304 test ! -s conftest.err 14305 } && test -s conftest$ac_exeext && { 14306 test "$cross_compiling" = yes || 14307 $as_test_x conftest$ac_exeext 14308 }; then 14309 eval "$as_ac_var=yes" 14310 else 14311 $as_echo "$as_me: failed program was:" >&5 14312 sed 's/^/| /' conftest.$ac_ext >&5 14313 14314 eval "$as_ac_var=no" 14315 fi 14316 14317 rm -rf conftest.dSYM 14318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14319 conftest$ac_exeext conftest.$ac_ext 14320 fi 14321 ac_res=`eval 'as_val=${'$as_ac_var'} 14322 $as_echo "$as_val"'` 14323 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14324 $as_echo "$ac_res" >&6; } 14325 as_val=`eval 'as_val=${'$as_ac_var'} 14326 $as_echo "$as_val"'` 14327 if test "x$as_val" = x""yes; then 8810 14328 cat >>confdefs.h <<_ACEOF 8811 #define HAVE_URL_FOPEN114329 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8812 14330 _ACEOF 8813 14331 … … 8815 14333 done 8816 14334 14335 8817 14336 for ac_func in avio_close 8818 do : 8819 ac_fn_cxx_check_func "$LINENO" "avio_close" "ac_cv_func_avio_close" 8820 if test "x$ac_cv_func_avio_close" = xyes; then : 14337 do 14338 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14339 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14340 $as_echo_n "checking for $ac_func... " >&6; } 14341 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14342 $as_echo_n "(cached) " >&6 14343 else 14344 cat >conftest.$ac_ext <<_ACEOF 14345 /* confdefs.h. */ 14346 _ACEOF 14347 cat confdefs.h >>conftest.$ac_ext 14348 cat >>conftest.$ac_ext <<_ACEOF 14349 /* end confdefs.h. */ 14350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14351 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14352 #define $ac_func innocuous_$ac_func 14353 14354 /* System header to define __stub macros and hopefully few prototypes, 14355 which can conflict with char $ac_func (); below. 14356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14357 <limits.h> exists even on freestanding compilers. */ 14358 14359 #ifdef __STDC__ 14360 # include <limits.h> 14361 #else 14362 # include <assert.h> 14363 #endif 14364 14365 #undef $ac_func 14366 14367 /* Override any GCC internal prototype to avoid an error. 14368 Use char because int might match the return type of a GCC 14369 builtin and then its argument prototype would still apply. */ 14370 #ifdef __cplusplus 14371 extern "C" 14372 #endif 14373 char $ac_func (); 14374 /* The GNU C library defines this for functions which it implements 14375 to always fail with ENOSYS. Some functions are actually named 14376 something starting with __ and the normal name is an alias. */ 14377 #if defined __stub_$ac_func || defined __stub___$ac_func 14378 choke me 14379 #endif 14380 14381 int 14382 main () 14383 { 14384 return $ac_func (); 14385 ; 14386 return 0; 14387 } 14388 _ACEOF 14389 rm -f conftest.$ac_objext conftest$ac_exeext 14390 if { (ac_try="$ac_link" 14391 case "(($ac_try" in 14392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14393 *) ac_try_echo=$ac_try;; 14394 esac 14395 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14396 $as_echo "$ac_try_echo") >&5 14397 (eval "$ac_link") 2>conftest.er1 14398 ac_status=$? 14399 grep -v '^ *+' conftest.er1 >conftest.err 14400 rm -f conftest.er1 14401 cat conftest.err >&5 14402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14403 (exit $ac_status); } && { 14404 test -z "$ac_cxx_werror_flag" || 14405 test ! -s conftest.err 14406 } && test -s conftest$ac_exeext && { 14407 test "$cross_compiling" = yes || 14408 $as_test_x conftest$ac_exeext 14409 }; then 14410 eval "$as_ac_var=yes" 14411 else 14412 $as_echo "$as_me: failed program was:" >&5 14413 sed 's/^/| /' conftest.$ac_ext >&5 14414 14415 eval "$as_ac_var=no" 14416 fi 14417 14418 rm -rf conftest.dSYM 14419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14420 conftest$ac_exeext conftest.$ac_ext 14421 fi 14422 ac_res=`eval 'as_val=${'$as_ac_var'} 14423 $as_echo "$as_val"'` 14424 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14425 $as_echo "$ac_res" >&6; } 14426 as_val=`eval 'as_val=${'$as_ac_var'} 14427 $as_echo "$as_val"'` 14428 if test "x$as_val" = x""yes; then 8821 14429 cat >>confdefs.h <<_ACEOF 8822 #define HAVE_AVIO_CLOSE114430 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8823 14431 _ACEOF 8824 14432 … … 8826 14434 done 8827 14435 14436 8828 14437 for ac_func in url_fclose 8829 do : 8830 ac_fn_cxx_check_func "$LINENO" "url_fclose" "ac_cv_func_url_fclose" 8831 if test "x$ac_cv_func_url_fclose" = xyes; then : 14438 do 14439 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14440 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14441 $as_echo_n "checking for $ac_func... " >&6; } 14442 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14443 $as_echo_n "(cached) " >&6 14444 else 14445 cat >conftest.$ac_ext <<_ACEOF 14446 /* confdefs.h. */ 14447 _ACEOF 14448 cat confdefs.h >>conftest.$ac_ext 14449 cat >>conftest.$ac_ext <<_ACEOF 14450 /* end confdefs.h. */ 14451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14452 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14453 #define $ac_func innocuous_$ac_func 14454 14455 /* System header to define __stub macros and hopefully few prototypes, 14456 which can conflict with char $ac_func (); below. 14457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14458 <limits.h> exists even on freestanding compilers. */ 14459 14460 #ifdef __STDC__ 14461 # include <limits.h> 14462 #else 14463 # include <assert.h> 14464 #endif 14465 14466 #undef $ac_func 14467 14468 /* Override any GCC internal prototype to avoid an error. 14469 Use char because int might match the return type of a GCC 14470 builtin and then its argument prototype would still apply. */ 14471 #ifdef __cplusplus 14472 extern "C" 14473 #endif 14474 char $ac_func (); 14475 /* The GNU C library defines this for functions which it implements 14476 to always fail with ENOSYS. Some functions are actually named 14477 something starting with __ and the normal name is an alias. */ 14478 #if defined __stub_$ac_func || defined __stub___$ac_func 14479 choke me 14480 #endif 14481 14482 int 14483 main () 14484 { 14485 return $ac_func (); 14486 ; 14487 return 0; 14488 } 14489 _ACEOF 14490 rm -f conftest.$ac_objext conftest$ac_exeext 14491 if { (ac_try="$ac_link" 14492 case "(($ac_try" in 14493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14494 *) ac_try_echo=$ac_try;; 14495 esac 14496 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14497 $as_echo "$ac_try_echo") >&5 14498 (eval "$ac_link") 2>conftest.er1 14499 ac_status=$? 14500 grep -v '^ *+' conftest.er1 >conftest.err 14501 rm -f conftest.er1 14502 cat conftest.err >&5 14503 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14504 (exit $ac_status); } && { 14505 test -z "$ac_cxx_werror_flag" || 14506 test ! -s conftest.err 14507 } && test -s conftest$ac_exeext && { 14508 test "$cross_compiling" = yes || 14509 $as_test_x conftest$ac_exeext 14510 }; then 14511 eval "$as_ac_var=yes" 14512 else 14513 $as_echo "$as_me: failed program was:" >&5 14514 sed 's/^/| /' conftest.$ac_ext >&5 14515 14516 eval "$as_ac_var=no" 14517 fi 14518 14519 rm -rf conftest.dSYM 14520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14521 conftest$ac_exeext conftest.$ac_ext 14522 fi 14523 ac_res=`eval 'as_val=${'$as_ac_var'} 14524 $as_echo "$as_val"'` 14525 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14526 $as_echo "$ac_res" >&6; } 14527 as_val=`eval 'as_val=${'$as_ac_var'} 14528 $as_echo "$as_val"'` 14529 if test "x$as_val" = x""yes; then 8832 14530 cat >>confdefs.h <<_ACEOF 8833 #define HAVE_URL_FCLOSE114531 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8834 14532 _ACEOF 8835 14533 … … 8837 14535 done 8838 14536 14537 8839 14538 for ac_func in avformat_alloc_context 8840 do : 8841 ac_fn_cxx_check_func "$LINENO" "avformat_alloc_context" "ac_cv_func_avformat_alloc_context" 8842 if test "x$ac_cv_func_avformat_alloc_context" = xyes; then : 14539 do 14540 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14541 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14542 $as_echo_n "checking for $ac_func... " >&6; } 14543 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14544 $as_echo_n "(cached) " >&6 14545 else 14546 cat >conftest.$ac_ext <<_ACEOF 14547 /* confdefs.h. */ 14548 _ACEOF 14549 cat confdefs.h >>conftest.$ac_ext 14550 cat >>conftest.$ac_ext <<_ACEOF 14551 /* end confdefs.h. */ 14552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14553 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14554 #define $ac_func innocuous_$ac_func 14555 14556 /* System header to define __stub macros and hopefully few prototypes, 14557 which can conflict with char $ac_func (); below. 14558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14559 <limits.h> exists even on freestanding compilers. */ 14560 14561 #ifdef __STDC__ 14562 # include <limits.h> 14563 #else 14564 # include <assert.h> 14565 #endif 14566 14567 #undef $ac_func 14568 14569 /* Override any GCC internal prototype to avoid an error. 14570 Use char because int might match the return type of a GCC 14571 builtin and then its argument prototype would still apply. */ 14572 #ifdef __cplusplus 14573 extern "C" 14574 #endif 14575 char $ac_func (); 14576 /* The GNU C library defines this for functions which it implements 14577 to always fail with ENOSYS. Some functions are actually named 14578 something starting with __ and the normal name is an alias. */ 14579 #if defined __stub_$ac_func || defined __stub___$ac_func 14580 choke me 14581 #endif 14582 14583 int 14584 main () 14585 { 14586 return $ac_func (); 14587 ; 14588 return 0; 14589 } 14590 _ACEOF 14591 rm -f conftest.$ac_objext conftest$ac_exeext 14592 if { (ac_try="$ac_link" 14593 case "(($ac_try" in 14594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14595 *) ac_try_echo=$ac_try;; 14596 esac 14597 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14598 $as_echo "$ac_try_echo") >&5 14599 (eval "$ac_link") 2>conftest.er1 14600 ac_status=$? 14601 grep -v '^ *+' conftest.er1 >conftest.err 14602 rm -f conftest.er1 14603 cat conftest.err >&5 14604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14605 (exit $ac_status); } && { 14606 test -z "$ac_cxx_werror_flag" || 14607 test ! -s conftest.err 14608 } && test -s conftest$ac_exeext && { 14609 test "$cross_compiling" = yes || 14610 $as_test_x conftest$ac_exeext 14611 }; then 14612 eval "$as_ac_var=yes" 14613 else 14614 $as_echo "$as_me: failed program was:" >&5 14615 sed 's/^/| /' conftest.$ac_ext >&5 14616 14617 eval "$as_ac_var=no" 14618 fi 14619 14620 rm -rf conftest.dSYM 14621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14622 conftest$ac_exeext conftest.$ac_ext 14623 fi 14624 ac_res=`eval 'as_val=${'$as_ac_var'} 14625 $as_echo "$as_val"'` 14626 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14627 $as_echo "$ac_res" >&6; } 14628 as_val=`eval 'as_val=${'$as_ac_var'} 14629 $as_echo "$as_val"'` 14630 if test "x$as_val" = x""yes; then 8843 14631 cat >>confdefs.h <<_ACEOF 8844 #define HAVE_AVFORMAT_ALLOC_CONTEXT114632 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8845 14633 _ACEOF 8846 14634 … … 8848 14636 done 8849 14637 14638 8850 14639 for ac_func in av_alloc_format_context 8851 do : 8852 ac_fn_cxx_check_func "$LINENO" "av_alloc_format_context" "ac_cv_func_av_alloc_format_context" 8853 if test "x$ac_cv_func_av_alloc_format_context" = xyes; then : 14640 do 14641 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14642 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14643 $as_echo_n "checking for $ac_func... " >&6; } 14644 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14645 $as_echo_n "(cached) " >&6 14646 else 14647 cat >conftest.$ac_ext <<_ACEOF 14648 /* confdefs.h. */ 14649 _ACEOF 14650 cat confdefs.h >>conftest.$ac_ext 14651 cat >>conftest.$ac_ext <<_ACEOF 14652 /* end confdefs.h. */ 14653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14654 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14655 #define $ac_func innocuous_$ac_func 14656 14657 /* System header to define __stub macros and hopefully few prototypes, 14658 which can conflict with char $ac_func (); below. 14659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14660 <limits.h> exists even on freestanding compilers. */ 14661 14662 #ifdef __STDC__ 14663 # include <limits.h> 14664 #else 14665 # include <assert.h> 14666 #endif 14667 14668 #undef $ac_func 14669 14670 /* Override any GCC internal prototype to avoid an error. 14671 Use char because int might match the return type of a GCC 14672 builtin and then its argument prototype would still apply. */ 14673 #ifdef __cplusplus 14674 extern "C" 14675 #endif 14676 char $ac_func (); 14677 /* The GNU C library defines this for functions which it implements 14678 to always fail with ENOSYS. Some functions are actually named 14679 something starting with __ and the normal name is an alias. */ 14680 #if defined __stub_$ac_func || defined __stub___$ac_func 14681 choke me 14682 #endif 14683 14684 int 14685 main () 14686 { 14687 return $ac_func (); 14688 ; 14689 return 0; 14690 } 14691 _ACEOF 14692 rm -f conftest.$ac_objext conftest$ac_exeext 14693 if { (ac_try="$ac_link" 14694 case "(($ac_try" in 14695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14696 *) ac_try_echo=$ac_try;; 14697 esac 14698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14699 $as_echo "$ac_try_echo") >&5 14700 (eval "$ac_link") 2>conftest.er1 14701 ac_status=$? 14702 grep -v '^ *+' conftest.er1 >conftest.err 14703 rm -f conftest.er1 14704 cat conftest.err >&5 14705 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14706 (exit $ac_status); } && { 14707 test -z "$ac_cxx_werror_flag" || 14708 test ! -s conftest.err 14709 } && test -s conftest$ac_exeext && { 14710 test "$cross_compiling" = yes || 14711 $as_test_x conftest$ac_exeext 14712 }; then 14713 eval "$as_ac_var=yes" 14714 else 14715 $as_echo "$as_me: failed program was:" >&5 14716 sed 's/^/| /' conftest.$ac_ext >&5 14717 14718 eval "$as_ac_var=no" 14719 fi 14720 14721 rm -rf conftest.dSYM 14722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14723 conftest$ac_exeext conftest.$ac_ext 14724 fi 14725 ac_res=`eval 'as_val=${'$as_ac_var'} 14726 $as_echo "$as_val"'` 14727 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14728 $as_echo "$ac_res" >&6; } 14729 as_val=`eval 'as_val=${'$as_ac_var'} 14730 $as_echo "$as_val"'` 14731 if test "x$as_val" = x""yes; then 8854 14732 cat >>confdefs.h <<_ACEOF 8855 #define HAVE_AV_ALLOC_FORMAT_CONTEXT114733 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8856 14734 _ACEOF 8857 14735 … … 8859 14737 done 8860 14738 14739 8861 14740 for ac_func in av_set_parameters 8862 do : 8863 ac_fn_cxx_check_func "$LINENO" "av_set_parameters" "ac_cv_func_av_set_parameters" 8864 if test "x$ac_cv_func_av_set_parameters" = xyes; then : 14741 do 14742 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14743 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14744 $as_echo_n "checking for $ac_func... " >&6; } 14745 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14746 $as_echo_n "(cached) " >&6 14747 else 14748 cat >conftest.$ac_ext <<_ACEOF 14749 /* confdefs.h. */ 14750 _ACEOF 14751 cat confdefs.h >>conftest.$ac_ext 14752 cat >>conftest.$ac_ext <<_ACEOF 14753 /* end confdefs.h. */ 14754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14755 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14756 #define $ac_func innocuous_$ac_func 14757 14758 /* System header to define __stub macros and hopefully few prototypes, 14759 which can conflict with char $ac_func (); below. 14760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14761 <limits.h> exists even on freestanding compilers. */ 14762 14763 #ifdef __STDC__ 14764 # include <limits.h> 14765 #else 14766 # include <assert.h> 14767 #endif 14768 14769 #undef $ac_func 14770 14771 /* Override any GCC internal prototype to avoid an error. 14772 Use char because int might match the return type of a GCC 14773 builtin and then its argument prototype would still apply. */ 14774 #ifdef __cplusplus 14775 extern "C" 14776 #endif 14777 char $ac_func (); 14778 /* The GNU C library defines this for functions which it implements 14779 to always fail with ENOSYS. Some functions are actually named 14780 something starting with __ and the normal name is an alias. */ 14781 #if defined __stub_$ac_func || defined __stub___$ac_func 14782 choke me 14783 #endif 14784 14785 int 14786 main () 14787 { 14788 return $ac_func (); 14789 ; 14790 return 0; 14791 } 14792 _ACEOF 14793 rm -f conftest.$ac_objext conftest$ac_exeext 14794 if { (ac_try="$ac_link" 14795 case "(($ac_try" in 14796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14797 *) ac_try_echo=$ac_try;; 14798 esac 14799 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14800 $as_echo "$ac_try_echo") >&5 14801 (eval "$ac_link") 2>conftest.er1 14802 ac_status=$? 14803 grep -v '^ *+' conftest.er1 >conftest.err 14804 rm -f conftest.er1 14805 cat conftest.err >&5 14806 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14807 (exit $ac_status); } && { 14808 test -z "$ac_cxx_werror_flag" || 14809 test ! -s conftest.err 14810 } && test -s conftest$ac_exeext && { 14811 test "$cross_compiling" = yes || 14812 $as_test_x conftest$ac_exeext 14813 }; then 14814 eval "$as_ac_var=yes" 14815 else 14816 $as_echo "$as_me: failed program was:" >&5 14817 sed 's/^/| /' conftest.$ac_ext >&5 14818 14819 eval "$as_ac_var=no" 14820 fi 14821 14822 rm -rf conftest.dSYM 14823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14824 conftest$ac_exeext conftest.$ac_ext 14825 fi 14826 ac_res=`eval 'as_val=${'$as_ac_var'} 14827 $as_echo "$as_val"'` 14828 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14829 $as_echo "$ac_res" >&6; } 14830 as_val=`eval 'as_val=${'$as_ac_var'} 14831 $as_echo "$as_val"'` 14832 if test "x$as_val" = x""yes; then 8865 14833 cat >>confdefs.h <<_ACEOF 8866 #define HAVE_AV_SET_PARAMETERS114834 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8867 14835 _ACEOF 8868 14836 … … 8870 14838 done 8871 14839 14840 8872 14841 for ac_func in avformat_write_header 8873 do : 8874 ac_fn_cxx_check_func "$LINENO" "avformat_write_header" "ac_cv_func_avformat_write_header" 8875 if test "x$ac_cv_func_avformat_write_header" = xyes; then : 14842 do 14843 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14844 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14845 $as_echo_n "checking for $ac_func... " >&6; } 14846 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14847 $as_echo_n "(cached) " >&6 14848 else 14849 cat >conftest.$ac_ext <<_ACEOF 14850 /* confdefs.h. */ 14851 _ACEOF 14852 cat confdefs.h >>conftest.$ac_ext 14853 cat >>conftest.$ac_ext <<_ACEOF 14854 /* end confdefs.h. */ 14855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14856 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14857 #define $ac_func innocuous_$ac_func 14858 14859 /* System header to define __stub macros and hopefully few prototypes, 14860 which can conflict with char $ac_func (); below. 14861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14862 <limits.h> exists even on freestanding compilers. */ 14863 14864 #ifdef __STDC__ 14865 # include <limits.h> 14866 #else 14867 # include <assert.h> 14868 #endif 14869 14870 #undef $ac_func 14871 14872 /* Override any GCC internal prototype to avoid an error. 14873 Use char because int might match the return type of a GCC 14874 builtin and then its argument prototype would still apply. */ 14875 #ifdef __cplusplus 14876 extern "C" 14877 #endif 14878 char $ac_func (); 14879 /* The GNU C library defines this for functions which it implements 14880 to always fail with ENOSYS. Some functions are actually named 14881 something starting with __ and the normal name is an alias. */ 14882 #if defined __stub_$ac_func || defined __stub___$ac_func 14883 choke me 14884 #endif 14885 14886 int 14887 main () 14888 { 14889 return $ac_func (); 14890 ; 14891 return 0; 14892 } 14893 _ACEOF 14894 rm -f conftest.$ac_objext conftest$ac_exeext 14895 if { (ac_try="$ac_link" 14896 case "(($ac_try" in 14897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14898 *) ac_try_echo=$ac_try;; 14899 esac 14900 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14901 $as_echo "$ac_try_echo") >&5 14902 (eval "$ac_link") 2>conftest.er1 14903 ac_status=$? 14904 grep -v '^ *+' conftest.er1 >conftest.err 14905 rm -f conftest.er1 14906 cat conftest.err >&5 14907 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14908 (exit $ac_status); } && { 14909 test -z "$ac_cxx_werror_flag" || 14910 test ! -s conftest.err 14911 } && test -s conftest$ac_exeext && { 14912 test "$cross_compiling" = yes || 14913 $as_test_x conftest$ac_exeext 14914 }; then 14915 eval "$as_ac_var=yes" 14916 else 14917 $as_echo "$as_me: failed program was:" >&5 14918 sed 's/^/| /' conftest.$ac_ext >&5 14919 14920 eval "$as_ac_var=no" 14921 fi 14922 14923 rm -rf conftest.dSYM 14924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14925 conftest$ac_exeext conftest.$ac_ext 14926 fi 14927 ac_res=`eval 'as_val=${'$as_ac_var'} 14928 $as_echo "$as_val"'` 14929 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14930 $as_echo "$ac_res" >&6; } 14931 as_val=`eval 'as_val=${'$as_ac_var'} 14932 $as_echo "$as_val"'` 14933 if test "x$as_val" = x""yes; then 8876 14934 cat >>confdefs.h <<_ACEOF 8877 #define HAVE_AVFORMAT_WRITE_HEADER114935 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8878 14936 _ACEOF 8879 14937 … … 8881 14939 done 8882 14940 14941 8883 14942 for ac_func in av_write_header 8884 do : 8885 ac_fn_cxx_check_func "$LINENO" "av_write_header" "ac_cv_func_av_write_header" 8886 if test "x$ac_cv_func_av_write_header" = xyes; then : 14943 do 14944 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14945 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14946 $as_echo_n "checking for $ac_func... " >&6; } 14947 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14948 $as_echo_n "(cached) " >&6 14949 else 14950 cat >conftest.$ac_ext <<_ACEOF 14951 /* confdefs.h. */ 14952 _ACEOF 14953 cat confdefs.h >>conftest.$ac_ext 14954 cat >>conftest.$ac_ext <<_ACEOF 14955 /* end confdefs.h. */ 14956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14957 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14958 #define $ac_func innocuous_$ac_func 14959 14960 /* System header to define __stub macros and hopefully few prototypes, 14961 which can conflict with char $ac_func (); below. 14962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14963 <limits.h> exists even on freestanding compilers. */ 14964 14965 #ifdef __STDC__ 14966 # include <limits.h> 14967 #else 14968 # include <assert.h> 14969 #endif 14970 14971 #undef $ac_func 14972 14973 /* Override any GCC internal prototype to avoid an error. 14974 Use char because int might match the return type of a GCC 14975 builtin and then its argument prototype would still apply. */ 14976 #ifdef __cplusplus 14977 extern "C" 14978 #endif 14979 char $ac_func (); 14980 /* The GNU C library defines this for functions which it implements 14981 to always fail with ENOSYS. Some functions are actually named 14982 something starting with __ and the normal name is an alias. */ 14983 #if defined __stub_$ac_func || defined __stub___$ac_func 14984 choke me 14985 #endif 14986 14987 int 14988 main () 14989 { 14990 return $ac_func (); 14991 ; 14992 return 0; 14993 } 14994 _ACEOF 14995 rm -f conftest.$ac_objext conftest$ac_exeext 14996 if { (ac_try="$ac_link" 14997 case "(($ac_try" in 14998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14999 *) ac_try_echo=$ac_try;; 15000 esac 15001 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15002 $as_echo "$ac_try_echo") >&5 15003 (eval "$ac_link") 2>conftest.er1 15004 ac_status=$? 15005 grep -v '^ *+' conftest.er1 >conftest.err 15006 rm -f conftest.er1 15007 cat conftest.err >&5 15008 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15009 (exit $ac_status); } && { 15010 test -z "$ac_cxx_werror_flag" || 15011 test ! -s conftest.err 15012 } && test -s conftest$ac_exeext && { 15013 test "$cross_compiling" = yes || 15014 $as_test_x conftest$ac_exeext 15015 }; then 15016 eval "$as_ac_var=yes" 15017 else 15018 $as_echo "$as_me: failed program was:" >&5 15019 sed 's/^/| /' conftest.$ac_ext >&5 15020 15021 eval "$as_ac_var=no" 15022 fi 15023 15024 rm -rf conftest.dSYM 15025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15026 conftest$ac_exeext conftest.$ac_ext 15027 fi 15028 ac_res=`eval 'as_val=${'$as_ac_var'} 15029 $as_echo "$as_val"'` 15030 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 15031 $as_echo "$ac_res" >&6; } 15032 as_val=`eval 'as_val=${'$as_ac_var'} 15033 $as_echo "$as_val"'` 15034 if test "x$as_val" = x""yes; then 8887 15035 cat >>confdefs.h <<_ACEOF 8888 #define HAVE_AV_WRITE_HEADER115036 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8889 15037 _ACEOF 8890 15038 … … 8892 15040 done 8893 15041 8894 ac_fn_cxx_check_func "$LINENO" "av_write_trailer" "ac_cv_func_av_write_trailer" 8895 if test "x$ac_cv_func_av_write_trailer" = xyes; then : 8896 8897 else 8898 as_fn_error $? "oops! no av_write_trailer?!?" "$LINENO" 5 8899 fi 8900 8901 ac_fn_cxx_check_func "$LINENO" "av_freep" "ac_cv_func_av_freep" 8902 if test "x$ac_cv_func_av_freep" = xyes; then : 8903 8904 else 8905 as_fn_error $? "oops! no av_freep ?!?" "$LINENO" 5 8906 fi 8907 8908 ac_fn_cxx_check_func "$LINENO" "av_free" "ac_cv_func_av_free" 8909 if test "x$ac_cv_func_av_free" = xyes; then : 8910 8911 else 8912 as_fn_error $? "oops! no av_free ?!?" "$LINENO" 5 8913 fi 8914 8915 ac_fn_cxx_check_func "$LINENO" "av_new_stream" "ac_cv_func_av_new_stream" 8916 if test "x$ac_cv_func_av_new_stream" = xyes; then : 8917 8918 else 8919 as_fn_error $? "oops! av_new_stream ?!?" "$LINENO" 5 8920 fi 8921 8922 ac_fn_cxx_check_func "$LINENO" "av_malloc" "ac_cv_func_av_malloc" 8923 if test "x$ac_cv_func_av_malloc" = xyes; then : 8924 8925 else 8926 as_fn_error $? "oops! no av_malloc ?!?" "$LINENO" 5 8927 fi 8928 8929 ac_fn_cxx_check_func "$LINENO" "av_init_packet" "ac_cv_func_av_init_packet" 8930 if test "x$ac_cv_func_av_init_packet" = xyes; then : 8931 8932 else 8933 as_fn_error $? "oops! no av_init_packet ?!?" "$LINENO" 5 8934 fi 8935 8936 ac_fn_cxx_check_func "$LINENO" "av_rescale_q" "ac_cv_func_av_rescale_q" 8937 if test "x$ac_cv_func_av_rescale_q" = xyes; then : 8938 8939 else 8940 as_fn_error $? "oops! no av_rescale_q ?!?" "$LINENO" 5 8941 fi 8942 8943 ac_fn_cxx_check_func "$LINENO" "av_write_frame" "ac_cv_func_av_write_frame" 8944 if test "x$ac_cv_func_av_write_frame" = xyes; then : 8945 8946 else 8947 as_fn_error $? "oops! av_write_frame ?!?" "$LINENO" 5 8948 fi 8949 8950 ac_fn_cxx_check_func "$LINENO" "avformat_alloc_context" "ac_cv_func_avformat_alloc_context" 8951 if test "x$ac_cv_func_avformat_alloc_context" = xyes; then : 8952 8953 else 8954 as_fn_error $? "oops! avformat_alloc_context ?!?" "$LINENO" 5 8955 fi 15042 { $as_echo "$as_me:$LINENO: checking for av_write_trailer" >&5 15043 $as_echo_n "checking for av_write_trailer... " >&6; } 15044 if test "${ac_cv_func_av_write_trailer+set}" = set; then 15045 $as_echo_n "(cached) " >&6 15046 else 15047 cat >conftest.$ac_ext <<_ACEOF 15048 /* confdefs.h. */ 15049 _ACEOF 15050 cat confdefs.h >>conftest.$ac_ext 15051 cat >>conftest.$ac_ext <<_ACEOF 15052 /* end confdefs.h. */ 15053 /* Define av_write_trailer to an innocuous variant, in case <limits.h> declares av_write_trailer. 15054 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15055 #define av_write_trailer innocuous_av_write_trailer 15056 15057 /* System header to define __stub macros and hopefully few prototypes, 15058 which can conflict with char av_write_trailer (); below. 15059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15060 <limits.h> exists even on freestanding compilers. */ 15061 15062 #ifdef __STDC__ 15063 # include <limits.h> 15064 #else 15065 # include <assert.h> 15066 #endif 15067 15068 #undef av_write_trailer 15069 15070 /* Override any GCC internal prototype to avoid an error. 15071 Use char because int might match the return type of a GCC 15072 builtin and then its argument prototype would still apply. */ 15073 #ifdef __cplusplus 15074 extern "C" 15075 #endif 15076 char av_write_trailer (); 15077 /* The GNU C library defines this for functions which it implements 15078 to always fail with ENOSYS. Some functions are actually named 15079 something starting with __ and the normal name is an alias. */ 15080 #if defined __stub_av_write_trailer || defined __stub___av_write_trailer 15081 choke me 15082 #endif 15083 15084 int 15085 main () 15086 { 15087 return av_write_trailer (); 15088 ; 15089 return 0; 15090 } 15091 _ACEOF 15092 rm -f conftest.$ac_objext conftest$ac_exeext 15093 if { (ac_try="$ac_link" 15094 case "(($ac_try" in 15095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15096 *) ac_try_echo=$ac_try;; 15097 esac 15098 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15099 $as_echo "$ac_try_echo") >&5 15100 (eval "$ac_link") 2>conftest.er1 15101 ac_status=$? 15102 grep -v '^ *+' conftest.er1 >conftest.err 15103 rm -f conftest.er1 15104 cat conftest.err >&5 15105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15106 (exit $ac_status); } && { 15107 test -z "$ac_cxx_werror_flag" || 15108 test ! -s conftest.err 15109 } && test -s conftest$ac_exeext && { 15110 test "$cross_compiling" = yes || 15111 $as_test_x conftest$ac_exeext 15112 }; then 15113 ac_cv_func_av_write_trailer=yes 15114 else 15115 $as_echo "$as_me: failed program was:" >&5 15116 sed 's/^/| /' conftest.$ac_ext >&5 15117 15118 ac_cv_func_av_write_trailer=no 15119 fi 15120 15121 rm -rf conftest.dSYM 15122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15123 conftest$ac_exeext conftest.$ac_ext 15124 fi 15125 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_write_trailer" >&5 15126 $as_echo "$ac_cv_func_av_write_trailer" >&6; } 15127 if test "x$ac_cv_func_av_write_trailer" = x""yes; then 15128 : 15129 else 15130 { { $as_echo "$as_me:$LINENO: error: oops! no av_write_trailer?!?" >&5 15131 $as_echo "$as_me: error: oops! no av_write_trailer?!?" >&2;} 15132 { (exit 1); exit 1; }; } 15133 fi 15134 15135 { $as_echo "$as_me:$LINENO: checking for av_freep" >&5 15136 $as_echo_n "checking for av_freep... " >&6; } 15137 if test "${ac_cv_func_av_freep+set}" = set; then 15138 $as_echo_n "(cached) " >&6 15139 else 15140 cat >conftest.$ac_ext <<_ACEOF 15141 /* confdefs.h. */ 15142 _ACEOF 15143 cat confdefs.h >>conftest.$ac_ext 15144 cat >>conftest.$ac_ext <<_ACEOF 15145 /* end confdefs.h. */ 15146 /* Define av_freep to an innocuous variant, in case <limits.h> declares av_freep. 15147 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15148 #define av_freep innocuous_av_freep 15149 15150 /* System header to define __stub macros and hopefully few prototypes, 15151 which can conflict with char av_freep (); below. 15152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15153 <limits.h> exists even on freestanding compilers. */ 15154 15155 #ifdef __STDC__ 15156 # include <limits.h> 15157 #else 15158 # include <assert.h> 15159 #endif 15160 15161 #undef av_freep 15162 15163 /* Override any GCC internal prototype to avoid an error. 15164 Use char because int might match the return type of a GCC 15165 builtin and then its argument prototype would still apply. */ 15166 #ifdef __cplusplus 15167 extern "C" 15168 #endif 15169 char av_freep (); 15170 /* The GNU C library defines this for functions which it implements 15171 to always fail with ENOSYS. Some functions are actually named 15172 something starting with __ and the normal name is an alias. */ 15173 #if defined __stub_av_freep || defined __stub___av_freep 15174 choke me 15175 #endif 15176 15177 int 15178 main () 15179 { 15180 return av_freep (); 15181 ; 15182 return 0; 15183 } 15184 _ACEOF 15185 rm -f conftest.$ac_objext conftest$ac_exeext 15186 if { (ac_try="$ac_link" 15187 case "(($ac_try" in 15188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15189 *) ac_try_echo=$ac_try;; 15190 esac 15191 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15192 $as_echo "$ac_try_echo") >&5 15193 (eval "$ac_link") 2>conftest.er1 15194 ac_status=$? 15195 grep -v '^ *+' conftest.er1 >conftest.err 15196 rm -f conftest.er1 15197 cat conftest.err >&5 15198 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15199 (exit $ac_status); } && { 15200 test -z "$ac_cxx_werror_flag" || 15201 test ! -s conftest.err 15202 } && test -s conftest$ac_exeext && { 15203 test "$cross_compiling" = yes || 15204 $as_test_x conftest$ac_exeext 15205 }; then 15206 ac_cv_func_av_freep=yes 15207 else 15208 $as_echo "$as_me: failed program was:" >&5 15209 sed 's/^/| /' conftest.$ac_ext >&5 15210 15211 ac_cv_func_av_freep=no 15212 fi 15213 15214 rm -rf conftest.dSYM 15215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15216 conftest$ac_exeext conftest.$ac_ext 15217 fi 15218 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_freep" >&5 15219 $as_echo "$ac_cv_func_av_freep" >&6; } 15220 if test "x$ac_cv_func_av_freep" = x""yes; then 15221 : 15222 else 15223 { { $as_echo "$as_me:$LINENO: error: oops! no av_freep ?!?" >&5 15224 $as_echo "$as_me: error: oops! no av_freep ?!?" >&2;} 15225 { (exit 1); exit 1; }; } 15226 fi 15227 15228 { $as_echo "$as_me:$LINENO: checking for av_free" >&5 15229 $as_echo_n "checking for av_free... " >&6; } 15230 if test "${ac_cv_func_av_free+set}" = set; then 15231 $as_echo_n "(cached) " >&6 15232 else 15233 cat >conftest.$ac_ext <<_ACEOF 15234 /* confdefs.h. */ 15235 _ACEOF 15236 cat confdefs.h >>conftest.$ac_ext 15237 cat >>conftest.$ac_ext <<_ACEOF 15238 /* end confdefs.h. */ 15239 /* Define av_free to an innocuous variant, in case <limits.h> declares av_free. 15240 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15241 #define av_free innocuous_av_free 15242 15243 /* System header to define __stub macros and hopefully few prototypes, 15244 which can conflict with char av_free (); below. 15245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15246 <limits.h> exists even on freestanding compilers. */ 15247 15248 #ifdef __STDC__ 15249 # include <limits.h> 15250 #else 15251 # include <assert.h> 15252 #endif 15253 15254 #undef av_free 15255 15256 /* Override any GCC internal prototype to avoid an error. 15257 Use char because int might match the return type of a GCC 15258 builtin and then its argument prototype would still apply. */ 15259 #ifdef __cplusplus 15260 extern "C" 15261 #endif 15262 char av_free (); 15263 /* The GNU C library defines this for functions which it implements 15264 to always fail with ENOSYS. Some functions are actually named 15265 something starting with __ and the normal name is an alias. */ 15266 #if defined __stub_av_free || defined __stub___av_free 15267 choke me 15268 #endif 15269 15270 int 15271 main () 15272 { 15273 return av_free (); 15274 ; 15275 return 0; 15276 } 15277 _ACEOF 15278 rm -f conftest.$ac_objext conftest$ac_exeext 15279 if { (ac_try="$ac_link" 15280 case "(($ac_try" in 15281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15282 *) ac_try_echo=$ac_try;; 15283 esac 15284 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15285 $as_echo "$ac_try_echo") >&5 15286 (eval "$ac_link") 2>conftest.er1 15287 ac_status=$? 15288 grep -v '^ *+' conftest.er1 >conftest.err 15289 rm -f conftest.er1 15290 cat conftest.err >&5 15291 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15292 (exit $ac_status); } && { 15293 test -z "$ac_cxx_werror_flag" || 15294 test ! -s conftest.err 15295 } && test -s conftest$ac_exeext && { 15296 test "$cross_compiling" = yes || 15297 $as_test_x conftest$ac_exeext 15298 }; then 15299 ac_cv_func_av_free=yes 15300 else 15301 $as_echo "$as_me: failed program was:" >&5 15302 sed 's/^/| /' conftest.$ac_ext >&5 15303 15304 ac_cv_func_av_free=no 15305 fi 15306 15307 rm -rf conftest.dSYM 15308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15309 conftest$ac_exeext conftest.$ac_ext 15310 fi 15311 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_free" >&5 15312 $as_echo "$ac_cv_func_av_free" >&6; } 15313 if test "x$ac_cv_func_av_free" = x""yes; then 15314 : 15315 else 15316 { { $as_echo "$as_me:$LINENO: error: oops! no av_free ?!?" >&5 15317 $as_echo "$as_me: error: oops! no av_free ?!?" >&2;} 15318 { (exit 1); exit 1; }; } 15319 fi 15320 15321 { $as_echo "$as_me:$LINENO: checking for av_new_stream" >&5 15322 $as_echo_n "checking for av_new_stream... " >&6; } 15323 if test "${ac_cv_func_av_new_stream+set}" = set; then 15324 $as_echo_n "(cached) " >&6 15325 else 15326 cat >conftest.$ac_ext <<_ACEOF 15327 /* confdefs.h. */ 15328 _ACEOF 15329 cat confdefs.h >>conftest.$ac_ext 15330 cat >>conftest.$ac_ext <<_ACEOF 15331 /* end confdefs.h. */ 15332 /* Define av_new_stream to an innocuous variant, in case <limits.h> declares av_new_stream. 15333 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15334 #define av_new_stream innocuous_av_new_stream 15335 15336 /* System header to define __stub macros and hopefully few prototypes, 15337 which can conflict with char av_new_stream (); below. 15338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15339 <limits.h> exists even on freestanding compilers. */ 15340 15341 #ifdef __STDC__ 15342 # include <limits.h> 15343 #else 15344 # include <assert.h> 15345 #endif 15346 15347 #undef av_new_stream 15348 15349 /* Override any GCC internal prototype to avoid an error. 15350 Use char because int might match the return type of a GCC 15351 builtin and then its argument prototype would still apply. */ 15352 #ifdef __cplusplus 15353 extern "C" 15354 #endif 15355 char av_new_stream (); 15356 /* The GNU C library defines this for functions which it implements 15357 to always fail with ENOSYS. Some functions are actually named 15358 something starting with __ and the normal name is an alias. */ 15359 #if defined __stub_av_new_stream || defined __stub___av_new_stream 15360 choke me 15361 #endif 15362 15363 int 15364 main () 15365 { 15366 return av_new_stream (); 15367 ; 15368 return 0; 15369 } 15370 _ACEOF 15371 rm -f conftest.$ac_objext conftest$ac_exeext 15372 if { (ac_try="$ac_link" 15373 case "(($ac_try" in 15374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15375 *) ac_try_echo=$ac_try;; 15376 esac 15377 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15378 $as_echo "$ac_try_echo") >&5 15379 (eval "$ac_link") 2>conftest.er1 15380 ac_status=$? 15381 grep -v '^ *+' conftest.er1 >conftest.err 15382 rm -f conftest.er1 15383 cat conftest.err >&5 15384 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15385 (exit $ac_status); } && { 15386 test -z "$ac_cxx_werror_flag" || 15387 test ! -s conftest.err 15388 } && test -s conftest$ac_exeext && { 15389 test "$cross_compiling" = yes || 15390 $as_test_x conftest$ac_exeext 15391 }; then 15392 ac_cv_func_av_new_stream=yes 15393 else 15394 $as_echo "$as_me: failed program was:" >&5 15395 sed 's/^/| /' conftest.$ac_ext >&5 15396 15397 ac_cv_func_av_new_stream=no 15398 fi 15399 15400 rm -rf conftest.dSYM 15401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15402 conftest$ac_exeext conftest.$ac_ext 15403 fi 15404 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_new_stream" >&5 15405 $as_echo "$ac_cv_func_av_new_stream" >&6; } 15406 if test "x$ac_cv_func_av_new_stream" = x""yes; then 15407 : 15408 else 15409 { { $as_echo "$as_me:$LINENO: error: oops! av_new_stream ?!?" >&5 15410 $as_echo "$as_me: error: oops! av_new_stream ?!?" >&2;} 15411 { (exit 1); exit 1; }; } 15412 fi 15413 15414 { $as_echo "$as_me:$LINENO: checking for av_malloc" >&5 15415 $as_echo_n "checking for av_malloc... " >&6; } 15416 if test "${ac_cv_func_av_malloc+set}" = set; then 15417 $as_echo_n "(cached) " >&6 15418 else 15419 cat >conftest.$ac_ext <<_ACEOF 15420 /* confdefs.h. */ 15421 _ACEOF 15422 cat confdefs.h >>conftest.$ac_ext 15423 cat >>conftest.$ac_ext <<_ACEOF 15424 /* end confdefs.h. */ 15425 /* Define av_malloc to an innocuous variant, in case <limits.h> declares av_malloc. 15426 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15427 #define av_malloc innocuous_av_malloc 15428 15429 /* System header to define __stub macros and hopefully few prototypes, 15430 which can conflict with char av_malloc (); below. 15431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15432 <limits.h> exists even on freestanding compilers. */ 15433 15434 #ifdef __STDC__ 15435 # include <limits.h> 15436 #else 15437 # include <assert.h> 15438 #endif 15439 15440 #undef av_malloc 15441 15442 /* Override any GCC internal prototype to avoid an error. 15443 Use char because int might match the return type of a GCC 15444 builtin and then its argument prototype would still apply. */ 15445 #ifdef __cplusplus 15446 extern "C" 15447 #endif 15448 char av_malloc (); 15449 /* The GNU C library defines this for functions which it implements 15450 to always fail with ENOSYS. Some functions are actually named 15451 something starting with __ and the normal name is an alias. */ 15452 #if defined __stub_av_malloc || defined __stub___av_malloc 15453 choke me 15454 #endif 15455 15456 int 15457 main () 15458 { 15459 return av_malloc (); 15460 ; 15461 return 0; 15462 } 15463 _ACEOF 15464 rm -f conftest.$ac_objext conftest$ac_exeext 15465 if { (ac_try="$ac_link" 15466 case "(($ac_try" in 15467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15468 *) ac_try_echo=$ac_try;; 15469 esac 15470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15471 $as_echo "$ac_try_echo") >&5 15472 (eval "$ac_link") 2>conftest.er1 15473 ac_status=$? 15474 grep -v '^ *+' conftest.er1 >conftest.err 15475 rm -f conftest.er1 15476 cat conftest.err >&5 15477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15478 (exit $ac_status); } && { 15479 test -z "$ac_cxx_werror_flag" || 15480 test ! -s conftest.err 15481 } && test -s conftest$ac_exeext && { 15482 test "$cross_compiling" = yes || 15483 $as_test_x conftest$ac_exeext 15484 }; then 15485 ac_cv_func_av_malloc=yes 15486 else 15487 $as_echo "$as_me: failed program was:" >&5 15488 sed 's/^/| /' conftest.$ac_ext >&5 15489 15490 ac_cv_func_av_malloc=no 15491 fi 15492 15493 rm -rf conftest.dSYM 15494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15495 conftest$ac_exeext conftest.$ac_ext 15496 fi 15497 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_malloc" >&5 15498 $as_echo "$ac_cv_func_av_malloc" >&6; } 15499 if test "x$ac_cv_func_av_malloc" = x""yes; then 15500 : 15501 else 15502 { { $as_echo "$as_me:$LINENO: error: oops! no av_malloc ?!?" >&5 15503 $as_echo "$as_me: error: oops! no av_malloc ?!?" >&2;} 15504 { (exit 1); exit 1; }; } 15505 fi 15506 15507 { $as_echo "$as_me:$LINENO: checking for av_init_packet" >&5 15508 $as_echo_n "checking for av_init_packet... " >&6; } 15509 if test "${ac_cv_func_av_init_packet+set}" = set; then 15510 $as_echo_n "(cached) " >&6 15511 else 15512 cat >conftest.$ac_ext <<_ACEOF 15513 /* confdefs.h. */ 15514 _ACEOF 15515 cat confdefs.h >>conftest.$ac_ext 15516 cat >>conftest.$ac_ext <<_ACEOF 15517 /* end confdefs.h. */ 15518 /* Define av_init_packet to an innocuous variant, in case <limits.h> declares av_init_packet. 15519 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15520 #define av_init_packet innocuous_av_init_packet 15521 15522 /* System header to define __stub macros and hopefully few prototypes, 15523 which can conflict with char av_init_packet (); below. 15524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15525 <limits.h> exists even on freestanding compilers. */ 15526 15527 #ifdef __STDC__ 15528 # include <limits.h> 15529 #else 15530 # include <assert.h> 15531 #endif 15532 15533 #undef av_init_packet 15534 15535 /* Override any GCC internal prototype to avoid an error. 15536 Use char because int might match the return type of a GCC 15537 builtin and then its argument prototype would still apply. */ 15538 #ifdef __cplusplus 15539 extern "C" 15540 #endif 15541 char av_init_packet (); 15542 /* The GNU C library defines this for functions which it implements 15543 to always fail with ENOSYS. Some functions are actually named 15544 something starting with __ and the normal name is an alias. */ 15545 #if defined __stub_av_init_packet || defined __stub___av_init_packet 15546 choke me 15547 #endif 15548 15549 int 15550 main () 15551 { 15552 return av_init_packet (); 15553 ; 15554 return 0; 15555 } 15556 _ACEOF 15557 rm -f conftest.$ac_objext conftest$ac_exeext 15558 if { (ac_try="$ac_link" 15559 case "(($ac_try" in 15560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15561 *) ac_try_echo=$ac_try;; 15562 esac 15563 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15564 $as_echo "$ac_try_echo") >&5 15565 (eval "$ac_link") 2>conftest.er1 15566 ac_status=$? 15567 grep -v '^ *+' conftest.er1 >conftest.err 15568 rm -f conftest.er1 15569 cat conftest.err >&5 15570 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15571 (exit $ac_status); } && { 15572 test -z "$ac_cxx_werror_flag" || 15573 test ! -s conftest.err 15574 } && test -s conftest$ac_exeext && { 15575 test "$cross_compiling" = yes || 15576 $as_test_x conftest$ac_exeext 15577 }; then 15578 ac_cv_func_av_init_packet=yes 15579 else 15580 $as_echo "$as_me: failed program was:" >&5 15581 sed 's/^/| /' conftest.$ac_ext >&5 15582 15583 ac_cv_func_av_init_packet=no 15584 fi 15585 15586 rm -rf conftest.dSYM 15587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15588 conftest$ac_exeext conftest.$ac_ext 15589 fi 15590 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_init_packet" >&5 15591 $as_echo "$ac_cv_func_av_init_packet" >&6; } 15592 if test "x$ac_cv_func_av_init_packet" = x""yes; then 15593 : 15594 else 15595 { { $as_echo "$as_me:$LINENO: error: oops! no av_init_packet ?!?" >&5 15596 $as_echo "$as_me: error: oops! no av_init_packet ?!?" >&2;} 15597 { (exit 1); exit 1; }; } 15598 fi 15599 15600 { $as_echo "$as_me:$LINENO: checking for av_rescale_q" >&5 15601 $as_echo_n "checking for av_rescale_q... " >&6; } 15602 if test "${ac_cv_func_av_rescale_q+set}" = set; then 15603 $as_echo_n "(cached) " >&6 15604 else 15605 cat >conftest.$ac_ext <<_ACEOF 15606 /* confdefs.h. */ 15607 _ACEOF 15608 cat confdefs.h >>conftest.$ac_ext 15609 cat >>conftest.$ac_ext <<_ACEOF 15610 /* end confdefs.h. */ 15611 /* Define av_rescale_q to an innocuous variant, in case <limits.h> declares av_rescale_q. 15612 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15613 #define av_rescale_q innocuous_av_rescale_q 15614 15615 /* System header to define __stub macros and hopefully few prototypes, 15616 which can conflict with char av_rescale_q (); below. 15617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15618 <limits.h> exists even on freestanding compilers. */ 15619 15620 #ifdef __STDC__ 15621 # include <limits.h> 15622 #else 15623 # include <assert.h> 15624 #endif 15625 15626 #undef av_rescale_q 15627 15628 /* Override any GCC internal prototype to avoid an error. 15629 Use char because int might match the return type of a GCC 15630 builtin and then its argument prototype would still apply. */ 15631 #ifdef __cplusplus 15632 extern "C" 15633 #endif 15634 char av_rescale_q (); 15635 /* The GNU C library defines this for functions which it implements 15636 to always fail with ENOSYS. Some functions are actually named 15637 something starting with __ and the normal name is an alias. */ 15638 #if defined __stub_av_rescale_q || defined __stub___av_rescale_q 15639 choke me 15640 #endif 15641 15642 int 15643 main () 15644 { 15645 return av_rescale_q (); 15646 ; 15647 return 0; 15648 } 15649 _ACEOF 15650 rm -f conftest.$ac_objext conftest$ac_exeext 15651 if { (ac_try="$ac_link" 15652 case "(($ac_try" in 15653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15654 *) ac_try_echo=$ac_try;; 15655 esac 15656 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15657 $as_echo "$ac_try_echo") >&5 15658 (eval "$ac_link") 2>conftest.er1 15659 ac_status=$? 15660 grep -v '^ *+' conftest.er1 >conftest.err 15661 rm -f conftest.er1 15662 cat conftest.err >&5 15663 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15664 (exit $ac_status); } && { 15665 test -z "$ac_cxx_werror_flag" || 15666 test ! -s conftest.err 15667 } && test -s conftest$ac_exeext && { 15668 test "$cross_compiling" = yes || 15669 $as_test_x conftest$ac_exeext 15670 }; then 15671 ac_cv_func_av_rescale_q=yes 15672 else 15673 $as_echo "$as_me: failed program was:" >&5 15674 sed 's/^/| /' conftest.$ac_ext >&5 15675 15676 ac_cv_func_av_rescale_q=no 15677 fi 15678 15679 rm -rf conftest.dSYM 15680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15681 conftest$ac_exeext conftest.$ac_ext 15682 fi 15683 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_rescale_q" >&5 15684 $as_echo "$ac_cv_func_av_rescale_q" >&6; } 15685 if test "x$ac_cv_func_av_rescale_q" = x""yes; then 15686 : 15687 else 15688 { { $as_echo "$as_me:$LINENO: error: oops! no av_rescale_q ?!?" >&5 15689 $as_echo "$as_me: error: oops! no av_rescale_q ?!?" >&2;} 15690 { (exit 1); exit 1; }; } 15691 fi 15692 15693 { $as_echo "$as_me:$LINENO: checking for av_write_frame" >&5 15694 $as_echo_n "checking for av_write_frame... " >&6; } 15695 if test "${ac_cv_func_av_write_frame+set}" = set; then 15696 $as_echo_n "(cached) " >&6 15697 else 15698 cat >conftest.$ac_ext <<_ACEOF 15699 /* confdefs.h. */ 15700 _ACEOF 15701 cat confdefs.h >>conftest.$ac_ext 15702 cat >>conftest.$ac_ext <<_ACEOF 15703 /* end confdefs.h. */ 15704 /* Define av_write_frame to an innocuous variant, in case <limits.h> declares av_write_frame. 15705 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15706 #define av_write_frame innocuous_av_write_frame 15707 15708 /* System header to define __stub macros and hopefully few prototypes, 15709 which can conflict with char av_write_frame (); below. 15710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15711 <limits.h> exists even on freestanding compilers. */ 15712 15713 #ifdef __STDC__ 15714 # include <limits.h> 15715 #else 15716 # include <assert.h> 15717 #endif 15718 15719 #undef av_write_frame 15720 15721 /* Override any GCC internal prototype to avoid an error. 15722 Use char because int might match the return type of a GCC 15723 builtin and then its argument prototype would still apply. */ 15724 #ifdef __cplusplus 15725 extern "C" 15726 #endif 15727 char av_write_frame (); 15728 /* The GNU C library defines this for functions which it implements 15729 to always fail with ENOSYS. Some functions are actually named 15730 something starting with __ and the normal name is an alias. */ 15731 #if defined __stub_av_write_frame || defined __stub___av_write_frame 15732 choke me 15733 #endif 15734 15735 int 15736 main () 15737 { 15738 return av_write_frame (); 15739 ; 15740 return 0; 15741 } 15742 _ACEOF 15743 rm -f conftest.$ac_objext conftest$ac_exeext 15744 if { (ac_try="$ac_link" 15745 case "(($ac_try" in 15746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15747 *) ac_try_echo=$ac_try;; 15748 esac 15749 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15750 $as_echo "$ac_try_echo") >&5 15751 (eval "$ac_link") 2>conftest.er1 15752 ac_status=$? 15753 grep -v '^ *+' conftest.er1 >conftest.err 15754 rm -f conftest.er1 15755 cat conftest.err >&5 15756 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15757 (exit $ac_status); } && { 15758 test -z "$ac_cxx_werror_flag" || 15759 test ! -s conftest.err 15760 } && test -s conftest$ac_exeext && { 15761 test "$cross_compiling" = yes || 15762 $as_test_x conftest$ac_exeext 15763 }; then 15764 ac_cv_func_av_write_frame=yes 15765 else 15766 $as_echo "$as_me: failed program was:" >&5 15767 sed 's/^/| /' conftest.$ac_ext >&5 15768 15769 ac_cv_func_av_write_frame=no 15770 fi 15771 15772 rm -rf conftest.dSYM 15773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15774 conftest$ac_exeext conftest.$ac_ext 15775 fi 15776 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_write_frame" >&5 15777 $as_echo "$ac_cv_func_av_write_frame" >&6; } 15778 if test "x$ac_cv_func_av_write_frame" = x""yes; then 15779 : 15780 else 15781 { { $as_echo "$as_me:$LINENO: error: oops! av_write_frame ?!?" >&5 15782 $as_echo "$as_me: error: oops! av_write_frame ?!?" >&2;} 15783 { (exit 1); exit 1; }; } 15784 fi 15785 8956 15786 8957 15787 for ac_func in img_convert 8958 do : 8959 ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert" 8960 if test "x$ac_cv_func_img_convert" = xyes; then : 15788 do 15789 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15790 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 15791 $as_echo_n "checking for $ac_func... " >&6; } 15792 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15793 $as_echo_n "(cached) " >&6 15794 else 15795 cat >conftest.$ac_ext <<_ACEOF 15796 /* confdefs.h. */ 15797 _ACEOF 15798 cat confdefs.h >>conftest.$ac_ext 15799 cat >>conftest.$ac_ext <<_ACEOF 15800 /* end confdefs.h. */ 15801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 15802 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15803 #define $ac_func innocuous_$ac_func 15804 15805 /* System header to define __stub macros and hopefully few prototypes, 15806 which can conflict with char $ac_func (); below. 15807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15808 <limits.h> exists even on freestanding compilers. */ 15809 15810 #ifdef __STDC__ 15811 # include <limits.h> 15812 #else 15813 # include <assert.h> 15814 #endif 15815 15816 #undef $ac_func 15817 15818 /* Override any GCC internal prototype to avoid an error. 15819 Use char because int might match the return type of a GCC 15820 builtin and then its argument prototype would still apply. */ 15821 #ifdef __cplusplus 15822 extern "C" 15823 #endif 15824 char $ac_func (); 15825 /* The GNU C library defines this for functions which it implements 15826 to always fail with ENOSYS. Some functions are actually named 15827 something starting with __ and the normal name is an alias. */ 15828 #if defined __stub_$ac_func || defined __stub___$ac_func 15829 choke me 15830 #endif 15831 15832 int 15833 main () 15834 { 15835 return $ac_func (); 15836 ; 15837 return 0; 15838 } 15839 _ACEOF 15840 rm -f conftest.$ac_objext conftest$ac_exeext 15841 if { (ac_try="$ac_link" 15842 case "(($ac_try" in 15843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15844 *) ac_try_echo=$ac_try;; 15845 esac 15846 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15847 $as_echo "$ac_try_echo") >&5 15848 (eval "$ac_link") 2>conftest.er1 15849 ac_status=$? 15850 grep -v '^ *+' conftest.er1 >conftest.err 15851 rm -f conftest.er1 15852 cat conftest.err >&5 15853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15854 (exit $ac_status); } && { 15855 test -z "$ac_cxx_werror_flag" || 15856 test ! -s conftest.err 15857 } && test -s conftest$ac_exeext && { 15858 test "$cross_compiling" = yes || 15859 $as_test_x conftest$ac_exeext 15860 }; then 15861 eval "$as_ac_var=yes" 15862 else 15863 $as_echo "$as_me: failed program was:" >&5 15864 sed 's/^/| /' conftest.$ac_ext >&5 15865 15866 eval "$as_ac_var=no" 15867 fi 15868 15869 rm -rf conftest.dSYM 15870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15871 conftest$ac_exeext conftest.$ac_ext 15872 fi 15873 ac_res=`eval 'as_val=${'$as_ac_var'} 15874 $as_echo "$as_val"'` 15875 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 15876 $as_echo "$ac_res" >&6; } 15877 as_val=`eval 'as_val=${'$as_ac_var'} 15878 $as_echo "$as_val"'` 15879 if test "x$as_val" = x""yes; then 8961 15880 cat >>confdefs.h <<_ACEOF 8962 #define HAVE_IMG_CONVERT115881 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8963 15882 _ACEOF 8964 15883 … … 8966 15885 done 8967 15886 15887 8968 15888 for ac_func in sws_scale 8969 do : 8970 ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale" 8971 if test "x$ac_cv_func_sws_scale" = xyes; then : 15889 do 15890 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15891 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 15892 $as_echo_n "checking for $ac_func... " >&6; } 15893 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15894 $as_echo_n "(cached) " >&6 15895 else 15896 cat >conftest.$ac_ext <<_ACEOF 15897 /* confdefs.h. */ 15898 _ACEOF 15899 cat confdefs.h >>conftest.$ac_ext 15900 cat >>conftest.$ac_ext <<_ACEOF 15901 /* end confdefs.h. */ 15902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 15903 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15904 #define $ac_func innocuous_$ac_func 15905 15906 /* System header to define __stub macros and hopefully few prototypes, 15907 which can conflict with char $ac_func (); below. 15908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15909 <limits.h> exists even on freestanding compilers. */ 15910 15911 #ifdef __STDC__ 15912 # include <limits.h> 15913 #else 15914 # include <assert.h> 15915 #endif 15916 15917 #undef $ac_func 15918 15919 /* Override any GCC internal prototype to avoid an error. 15920 Use char because int might match the return type of a GCC 15921 builtin and then its argument prototype would still apply. */ 15922 #ifdef __cplusplus 15923 extern "C" 15924 #endif 15925 char $ac_func (); 15926 /* The GNU C library defines this for functions which it implements 15927 to always fail with ENOSYS. Some functions are actually named 15928 something starting with __ and the normal name is an alias. */ 15929 #if defined __stub_$ac_func || defined __stub___$ac_func 15930 choke me 15931 #endif 15932 15933 int 15934 main () 15935 { 15936 return $ac_func (); 15937 ; 15938 return 0; 15939 } 15940 _ACEOF 15941 rm -f conftest.$ac_objext conftest$ac_exeext 15942 if { (ac_try="$ac_link" 15943 case "(($ac_try" in 15944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15945 *) ac_try_echo=$ac_try;; 15946 esac 15947 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15948 $as_echo "$ac_try_echo") >&5 15949 (eval "$ac_link") 2>conftest.er1 15950 ac_status=$? 15951 grep -v '^ *+' conftest.er1 >conftest.err 15952 rm -f conftest.er1 15953 cat conftest.err >&5 15954 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15955 (exit $ac_status); } && { 15956 test -z "$ac_cxx_werror_flag" || 15957 test ! -s conftest.err 15958 } && test -s conftest$ac_exeext && { 15959 test "$cross_compiling" = yes || 15960 $as_test_x conftest$ac_exeext 15961 }; then 15962 eval "$as_ac_var=yes" 15963 else 15964 $as_echo "$as_me: failed program was:" >&5 15965 sed 's/^/| /' conftest.$ac_ext >&5 15966 15967 eval "$as_ac_var=no" 15968 fi 15969 15970 rm -rf conftest.dSYM 15971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15972 conftest$ac_exeext conftest.$ac_ext 15973 fi 15974 ac_res=`eval 'as_val=${'$as_ac_var'} 15975 $as_echo "$as_val"'` 15976 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 15977 $as_echo "$ac_res" >&6; } 15978 as_val=`eval 'as_val=${'$as_ac_var'} 15979 $as_echo "$as_val"'` 15980 if test "x$as_val" = x""yes; then 8972 15981 cat >>confdefs.h <<_ACEOF 8973 #define HAVE_SWS_SCALE115982 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8974 15983 _ACEOF 8975 15984 … … 8977 15986 done 8978 15987 8979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15988 cat >conftest.$ac_ext <<_ACEOF 15989 /* confdefs.h. */ 15990 _ACEOF 15991 cat confdefs.h >>conftest.$ac_ext 15992 cat >>conftest.$ac_ext <<_ACEOF 8980 15993 /* end confdefs.h. */ 8981 15994 … … 8998 16011 } 8999 16012 _ACEOF 9000 if ac_fn_cxx_try_compile "$LINENO"; then : 16013 rm -f conftest.$ac_objext 16014 if { (ac_try="$ac_compile" 16015 case "(($ac_try" in 16016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16017 *) ac_try_echo=$ac_try;; 16018 esac 16019 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16020 $as_echo "$ac_try_echo") >&5 16021 (eval "$ac_compile") 2>conftest.er1 16022 ac_status=$? 16023 grep -v '^ *+' conftest.er1 >conftest.err 16024 rm -f conftest.er1 16025 cat conftest.err >&5 16026 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16027 (exit $ac_status); } && { 16028 test -z "$ac_cxx_werror_flag" || 16029 test ! -s conftest.err 16030 } && test -s conftest.$ac_objext; then 9001 16031 ac_avmedia_type_video="yes" 9002 16032 else 9003 ac_avmedia_type_video="no" 9004 fi 16033 $as_echo "$as_me: failed program was:" >&5 16034 sed 's/^/| /' conftest.$ac_ext >&5 16035 16036 ac_avmedia_type_video="no" 16037 fi 16038 9005 16039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9006 16040 if test "$ac_avmedia_type_video" == "yes" ; then 9007 16041 9008 $as_echo "#define HAVE_AVMEDIA_TYPE_VIDEO 1" >>confdefs.h 9009 9010 fi 9011 9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_alloc_frame in -lavcodec" >&5 16042 cat >>confdefs.h <<\_ACEOF 16043 #define HAVE_AVMEDIA_TYPE_VIDEO 1 16044 _ACEOF 16045 16046 fi 16047 16048 16049 { $as_echo "$as_me:$LINENO: checking for avcodec_alloc_frame in -lavcodec" >&5 9013 16050 $as_echo_n "checking for avcodec_alloc_frame in -lavcodec... " >&6; } 9014 if ${ac_cv_lib_avcodec_avcodec_alloc_frame+:} false; then :16051 if test "${ac_cv_lib_avcodec_avcodec_alloc_frame+set}" = set; then 9015 16052 $as_echo_n "(cached) " >&6 9016 16053 else 9017 16054 ac_check_lib_save_LIBS=$LIBS 9018 16055 LIBS="-lavcodec $LIBS" 9019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16056 cat >conftest.$ac_ext <<_ACEOF 16057 /* confdefs.h. */ 16058 _ACEOF 16059 cat confdefs.h >>conftest.$ac_ext 16060 cat >>conftest.$ac_ext <<_ACEOF 9020 16061 /* end confdefs.h. */ 9021 16062 … … 9035 16076 } 9036 16077 _ACEOF 9037 if ac_fn_cxx_try_link "$LINENO"; then : 16078 rm -f conftest.$ac_objext conftest$ac_exeext 16079 if { (ac_try="$ac_link" 16080 case "(($ac_try" in 16081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16082 *) ac_try_echo=$ac_try;; 16083 esac 16084 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16085 $as_echo "$ac_try_echo") >&5 16086 (eval "$ac_link") 2>conftest.er1 16087 ac_status=$? 16088 grep -v '^ *+' conftest.er1 >conftest.err 16089 rm -f conftest.er1 16090 cat conftest.err >&5 16091 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16092 (exit $ac_status); } && { 16093 test -z "$ac_cxx_werror_flag" || 16094 test ! -s conftest.err 16095 } && test -s conftest$ac_exeext && { 16096 test "$cross_compiling" = yes || 16097 $as_test_x conftest$ac_exeext 16098 }; then 9038 16099 ac_cv_lib_avcodec_avcodec_alloc_frame=yes 9039 16100 else 9040 ac_cv_lib_avcodec_avcodec_alloc_frame=no 9041 fi 9042 rm -f core conftest.err conftest.$ac_objext \ 9043 conftest$ac_exeext conftest.$ac_ext 16101 $as_echo "$as_me: failed program was:" >&5 16102 sed 's/^/| /' conftest.$ac_ext >&5 16103 16104 ac_cv_lib_avcodec_avcodec_alloc_frame=no 16105 fi 16106 16107 rm -rf conftest.dSYM 16108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16109 conftest$ac_exeext conftest.$ac_ext 9044 16110 LIBS=$ac_check_lib_save_LIBS 9045 16111 fi 9046 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_alloc_frame" >&516112 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_alloc_frame" >&5 9047 16113 $as_echo "$ac_cv_lib_avcodec_avcodec_alloc_frame" >&6; } 9048 if test "x$ac_cv_lib_avcodec_avcodec_alloc_frame" = x yes; then :16114 if test "x$ac_cv_lib_avcodec_avcodec_alloc_frame" = x""yes; then 9049 16115 cat >>confdefs.h <<_ACEOF 9050 16116 #define HAVE_LIBAVCODEC 1 … … 9056 16122 9057 16123 # Fallback to deprecated av_alloc_format_context if avformat_alloc_context isn't found 9058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avformat_alloc_context in -lavformat" >&5 16124 16125 { $as_echo "$as_me:$LINENO: checking for avformat_alloc_context in -lavformat" >&5 9059 16126 $as_echo_n "checking for avformat_alloc_context in -lavformat... " >&6; } 9060 if ${ac_cv_lib_avformat_avformat_alloc_context+:} false; then :16127 if test "${ac_cv_lib_avformat_avformat_alloc_context+set}" = set; then 9061 16128 $as_echo_n "(cached) " >&6 9062 16129 else 9063 16130 ac_check_lib_save_LIBS=$LIBS 9064 16131 LIBS="-lavformat $LIBS" 9065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16132 cat >conftest.$ac_ext <<_ACEOF 16133 /* confdefs.h. */ 16134 _ACEOF 16135 cat confdefs.h >>conftest.$ac_ext 16136 cat >>conftest.$ac_ext <<_ACEOF 9066 16137 /* end confdefs.h. */ 9067 16138 … … 9081 16152 } 9082 16153 _ACEOF 9083 if ac_fn_cxx_try_link "$LINENO"; then : 16154 rm -f conftest.$ac_objext conftest$ac_exeext 16155 if { (ac_try="$ac_link" 16156 case "(($ac_try" in 16157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16158 *) ac_try_echo=$ac_try;; 16159 esac 16160 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16161 $as_echo "$ac_try_echo") >&5 16162 (eval "$ac_link") 2>conftest.er1 16163 ac_status=$? 16164 grep -v '^ *+' conftest.er1 >conftest.err 16165 rm -f conftest.er1 16166 cat conftest.err >&5 16167 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16168 (exit $ac_status); } && { 16169 test -z "$ac_cxx_werror_flag" || 16170 test ! -s conftest.err 16171 } && test -s conftest$ac_exeext && { 16172 test "$cross_compiling" = yes || 16173 $as_test_x conftest$ac_exeext 16174 }; then 9084 16175 ac_cv_lib_avformat_avformat_alloc_context=yes 9085 16176 else 9086 ac_cv_lib_avformat_avformat_alloc_context=no 9087 fi 9088 rm -f core conftest.err conftest.$ac_objext \ 9089 conftest$ac_exeext conftest.$ac_ext 16177 $as_echo "$as_me: failed program was:" >&5 16178 sed 's/^/| /' conftest.$ac_ext >&5 16179 16180 ac_cv_lib_avformat_avformat_alloc_context=no 16181 fi 16182 16183 rm -rf conftest.dSYM 16184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16185 conftest$ac_exeext conftest.$ac_ext 9090 16186 LIBS=$ac_check_lib_save_LIBS 9091 16187 fi 9092 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avformat_avformat_alloc_context" >&516188 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_avformat_alloc_context" >&5 9093 16189 $as_echo "$ac_cv_lib_avformat_avformat_alloc_context" >&6; } 9094 if test "x$ac_cv_lib_avformat_avformat_alloc_context" = x yes; then :16190 if test "x$ac_cv_lib_avformat_avformat_alloc_context" = x""yes; then 9095 16191 cat >>confdefs.h <<_ACEOF 9096 16192 #define HAVE_LIBAVFORMAT 1 … … 9100 16196 9101 16197 else 9102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_alloc_format_context in -lavformat" >&5 16198 16199 { $as_echo "$as_me:$LINENO: checking for av_alloc_format_context in -lavformat" >&5 9103 16200 $as_echo_n "checking for av_alloc_format_context in -lavformat... " >&6; } 9104 if ${ac_cv_lib_avformat_av_alloc_format_context+:} false; then :16201 if test "${ac_cv_lib_avformat_av_alloc_format_context+set}" = set; then 9105 16202 $as_echo_n "(cached) " >&6 9106 16203 else 9107 16204 ac_check_lib_save_LIBS=$LIBS 9108 16205 LIBS="-lavformat $LIBS" 9109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16206 cat >conftest.$ac_ext <<_ACEOF 16207 /* confdefs.h. */ 16208 _ACEOF 16209 cat confdefs.h >>conftest.$ac_ext 16210 cat >>conftest.$ac_ext <<_ACEOF 9110 16211 /* end confdefs.h. */ 9111 16212 … … 9125 16226 } 9126 16227 _ACEOF 9127 if ac_fn_cxx_try_link "$LINENO"; then : 16228 rm -f conftest.$ac_objext conftest$ac_exeext 16229 if { (ac_try="$ac_link" 16230 case "(($ac_try" in 16231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16232 *) ac_try_echo=$ac_try;; 16233 esac 16234 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16235 $as_echo "$ac_try_echo") >&5 16236 (eval "$ac_link") 2>conftest.er1 16237 ac_status=$? 16238 grep -v '^ *+' conftest.er1 >conftest.err 16239 rm -f conftest.er1 16240 cat conftest.err >&5 16241 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16242 (exit $ac_status); } && { 16243 test -z "$ac_cxx_werror_flag" || 16244 test ! -s conftest.err 16245 } && test -s conftest$ac_exeext && { 16246 test "$cross_compiling" = yes || 16247 $as_test_x conftest$ac_exeext 16248 }; then 9128 16249 ac_cv_lib_avformat_av_alloc_format_context=yes 9129 16250 else 9130 ac_cv_lib_avformat_av_alloc_format_context=no 9131 fi 9132 rm -f core conftest.err conftest.$ac_objext \ 9133 conftest$ac_exeext conftest.$ac_ext 16251 $as_echo "$as_me: failed program was:" >&5 16252 sed 's/^/| /' conftest.$ac_ext >&5 16253 16254 ac_cv_lib_avformat_av_alloc_format_context=no 16255 fi 16256 16257 rm -rf conftest.dSYM 16258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16259 conftest$ac_exeext conftest.$ac_ext 9134 16260 LIBS=$ac_check_lib_save_LIBS 9135 16261 fi 9136 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: $ac_cv_lib_avformat_av_alloc_format_context" >&516262 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_av_alloc_format_context" >&5 9137 16263 $as_echo "$ac_cv_lib_avformat_av_alloc_format_context" >&6; } 9138 if test "x$ac_cv_lib_avformat_av_alloc_format_context" = x yes; then :16264 if test "x$ac_cv_lib_avformat_av_alloc_format_context" = x""yes; then 9139 16265 cat >>confdefs.h <<_ACEOF 9140 16266 #define HAVE_LIBAVFORMAT 1 … … 9144 16270 9145 16271 else 9146 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: libavformat not usable" >&516272 { $as_echo "$as_me:$LINENO: WARNING: libavformat not usable" >&5 9147 16273 $as_echo "$as_me: WARNING: libavformat not usable" >&2;} 9148 16274 fi … … 9152 16278 9153 16279 9154 { $as_echo "$as_me:$ {as_lineno-$LINENO}: checking for nVidia Cg installation" >&516280 { $as_echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5 9155 16281 $as_echo_n "checking for nVidia Cg installation... " >&6; } 9156 16282 CG_DIR="" … … 9165 16291 fi 9166 16292 done 9167 { $as_echo "$as_me:$ {as_lineno-$LINENO}: result: ${CG_DIR}" >&516293 { $as_echo "$as_me:$LINENO: result: ${CG_DIR}" >&5 9168 16294 $as_echo "${CG_DIR}" >&6; } 9169 16295 9170 CG_INC_ DIR="$dir/include"9171 CG_LIB_DIR="$ dir/lib"16296 CG_INC_SPEC="-I${CG_DIR}/include" 16297 CG_LIB_DIR="${CG_DIR}/lib" 9172 16298 9173 16299 save_CPPFLAGS=$CPPFLAGS 9174 CPPFLAGS="-I${CG_INC_DIR} $CPPFLAGS" 16300 CPPFLAGS="${CG_INC_SPEC} $CPPFLAGS" 16301 9175 16302 for ac_header in Cg/cgGL.h 9176 do : 9177 ac_fn_cxx_check_header_mongrel "$LINENO" "Cg/cgGL.h" "ac_cv_header_Cg_cgGL_h" "$ac_includes_default" 9178 if test "x$ac_cv_header_Cg_cgGL_h" = xyes; then : 16303 do 16304 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 16305 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16306 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 16307 $as_echo_n "checking for $ac_header... " >&6; } 16308 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16309 $as_echo_n "(cached) " >&6 16310 fi 16311 ac_res=`eval 'as_val=${'$as_ac_Header'} 16312 $as_echo "$as_val"'` 16313 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16314 $as_echo "$ac_res" >&6; } 16315 else 16316 # Is the header compilable? 16317 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 16318 $as_echo_n "checking $ac_header usability... " >&6; } 16319 cat >conftest.$ac_ext <<_ACEOF 16320 /* confdefs.h. */ 16321 _ACEOF 16322 cat confdefs.h >>conftest.$ac_ext 16323 cat >>conftest.$ac_ext <<_ACEOF 16324 /* end confdefs.h. */ 16325 $ac_includes_default 16326 #include <$ac_header> 16327 _ACEOF 16328 rm -f conftest.$ac_objext 16329 if { (ac_try="$ac_compile" 16330 case "(($ac_try" in 16331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16332 *) ac_try_echo=$ac_try;; 16333 esac 16334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16335 $as_echo "$ac_try_echo") >&5 16336 (eval "$ac_compile") 2>conftest.er1 16337 ac_status=$? 16338 grep -v '^ *+' conftest.er1 >conftest.err 16339 rm -f conftest.er1 16340 cat conftest.err >&5 16341 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16342 (exit $ac_status); } && { 16343 test -z "$ac_cxx_werror_flag" || 16344 test ! -s conftest.err 16345 } && test -s conftest.$ac_objext; then 16346 ac_header_compiler=yes 16347 else 16348 $as_echo "$as_me: failed program was:" >&5 16349 sed 's/^/| /' conftest.$ac_ext >&5 16350 16351 ac_header_compiler=no 16352 fi 16353 16354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16355 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 16356 $as_echo "$ac_header_compiler" >&6; } 16357 16358 # Is the header present? 16359 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 16360 $as_echo_n "checking $ac_header presence... " >&6; } 16361 cat >conftest.$ac_ext <<_ACEOF 16362 /* confdefs.h. */ 16363 _ACEOF 16364 cat confdefs.h >>conftest.$ac_ext 16365 cat >>conftest.$ac_ext <<_ACEOF 16366 /* end confdefs.h. */ 16367 #include <$ac_header> 16368 _ACEOF 16369 if { (ac_try="$ac_cpp conftest.$ac_ext" 16370 case "(($ac_try" in 16371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16372 *) ac_try_echo=$ac_try;; 16373 esac 16374 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16375 $as_echo "$ac_try_echo") >&5 16376 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 16377 ac_status=$? 16378 grep -v '^ *+' conftest.er1 >conftest.err 16379 rm -f conftest.er1 16380 cat conftest.err >&5 16381 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16382 (exit $ac_status); } >/dev/null && { 16383 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 16384 test ! -s conftest.err 16385 }; then 16386 ac_header_preproc=yes 16387 else 16388 $as_echo "$as_me: failed program was:" >&5 16389 sed 's/^/| /' conftest.$ac_ext >&5 16390 16391 ac_header_preproc=no 16392 fi 16393 16394 rm -f conftest.err conftest.$ac_ext 16395 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 16396 $as_echo "$ac_header_preproc" >&6; } 16397 16398 # So? What about this header? 16399 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 16400 yes:no: ) 16401 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 16402 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 16403 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 16404 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 16405 ac_header_preproc=yes 16406 ;; 16407 no:yes:* ) 16408 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 16409 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 16410 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 16411 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 16412 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 16413 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 16414 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 16415 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 16416 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 16417 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 16418 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 16419 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 16420 ( cat <<\_ASBOX 16421 ## ----------------------------------- ## 16422 ## Report this to rappture@nanohub.org ## 16423 ## ----------------------------------- ## 16424 _ASBOX 16425 ) | sed "s/^/$as_me: WARNING: /" >&2 16426 ;; 16427 esac 16428 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 16429 $as_echo_n "checking for $ac_header... " >&6; } 16430 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16431 $as_echo_n "(cached) " >&6 16432 else 16433 eval "$as_ac_Header=\$ac_header_preproc" 16434 fi 16435 ac_res=`eval 'as_val=${'$as_ac_Header'} 16436 $as_echo "$as_val"'` 16437 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16438 $as_echo "$ac_res" >&6; } 16439 16440 fi 16441 as_val=`eval 'as_val=${'$as_ac_Header'} 16442 $as_echo "$as_val"'` 16443 if test "x$as_val" = x""yes; then 9179 16444 cat >>confdefs.h <<_ACEOF 9180 #define HAVE_CG_CGGL_H19181 _ACEOF 9182 9183 else 9184 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cannot find nVidia Cg headers" >&516445 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 16446 _ACEOF 16447 16448 else 16449 { $as_echo "$as_me:$LINENO: WARNING: cannot find nVidia Cg headers" >&5 9185 16450 $as_echo "$as_me: WARNING: cannot find nVidia Cg headers" >&2;} 9186 16451 fi … … 9191 16456 9192 16457 if test "${CG_DIR}" = "/usr" ; then 9193 CG_DIR="" 9194 else 16458 CG_INC_SPEC="" 16459 CG_LIB_SPEC="-lCg -lCgGL" 16460 else 16461 CG_LIB_SPEC="-L${CG_LIB_DIR} -lCg -lCgGL" 9195 16462 LD_RPATH="$loader_run_path:${CG_LIB_DIR}" 9196 16463 fi 9197 16464 9198 16465 SUBDIRS="nanoscale nanovis pymolproxy vtkvis" 9199 9200 16466 9201 16467 … … 9258 16524 *${as_nl}*) 9259 16525 case $ac_var in #( 9260 *_cv_*) { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&516526 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 9261 16527 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 9262 16528 esac … … 9264 16530 _ | IFS | as_nl) ;; #( 9265 16531 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9266 *) { eval $ac_var=; unset $ac_var;};;16532 *) $as_unset $ac_var ;; 9267 16533 esac ;; 9268 16534 esac … … 9272 16538 case $as_nl`(ac_space=' '; set) 2>&1` in #( 9273 16539 *${as_nl}ac_space=\ *) 9274 # `set' does not quote correctly, so add quotes :double-quote9275 # substitution turns \\\\ into \\, and sed turns \\ into \ .16540 # `set' does not quote correctly, so add quotes (double-quote 16541 # substitution turns \\\\ into \\, and sed turns \\ into \). 9276 16542 sed -n \ 9277 16543 "s/'/'\\\\''/g; … … 9295 16561 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 9296 16562 if test -w "$cache_file"; then 9297 if test "x$cache_file" != "x/dev/null"; then9298 { $as_echo "$as_me:$ {as_lineno-$LINENO}: updating cache $cache_file" >&516563 test "x$cache_file" != "x/dev/null" && 16564 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 9299 16565 $as_echo "$as_me: updating cache $cache_file" >&6;} 9300 if test ! -f "$cache_file" || test -h "$cache_file"; then 9301 cat confcache >"$cache_file" 9302 else 9303 case $cache_file in #( 9304 */* | ?:*) 9305 mv -f confcache "$cache_file"$$ && 9306 mv -f "$cache_file"$$ "$cache_file" ;; #( 9307 *) 9308 mv -f confcache "$cache_file" ;; 9309 esac 9310 fi 9311 fi 16566 cat confcache >$cache_file 9312 16567 else 9313 { $as_echo "$as_me:$ {as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&516568 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 9314 16569 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 9315 16570 fi … … 9325 16580 ac_libobjs= 9326 16581 ac_ltlibobjs= 9327 U=9328 16582 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 9329 16583 # 1. Remove the extension, and $U if already installed. … … 9332 16586 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 9333 16587 # will be set to the directory where LIBOBJS objects are built. 9334 a s_fn_append ac_libobjs "\${LIBOBJDIR}$ac_i\$U.$ac_objext"9335 a s_fn_append ac_ltlibobjs "\${LIBOBJDIR}$ac_i"'$U.lo'16588 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 16589 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 9336 16590 done 9337 16591 LIBOBJS=$ac_libobjs … … 9342 16596 9343 16597 9344 : "${CONFIG_STATUS=./config.status}"16598 : ${CONFIG_STATUS=./config.status} 9345 16599 ac_write_fail=0 9346 16600 ac_clean_files_save=$ac_clean_files 9347 16601 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 9348 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating $CONFIG_STATUS" >&516602 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 9349 16603 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9350 as_write_fail=0 9351 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 16604 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9352 16605 #! $SHELL 9353 16606 # Generated by $as_me. … … 9359 16612 ac_cs_recheck=false 9360 16613 ac_cs_silent=false 9361 9362 16614 SHELL=\${CONFIG_SHELL-$SHELL} 9363 export SHELL 9364 _ASEOF 9365 cat >>$CONFIG_STATUS <<\_A SEOF || as_write_fail=19366 ## -------------------- ##9367 ## M4sh Initialization. ##9368 ## -------------------- ##16615 _ACEOF 16616 16617 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16618 ## --------------------- ## 16619 ## M4sh Initialization. ## 16620 ## --------------------- ## 9369 16621 9370 16622 # Be more Bourne compatible 9371 16623 DUALCASE=1; export DUALCASE # for MKS sh 9372 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :16624 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 9373 16625 emulate sh 9374 16626 NULLCMD=: … … 9378 16630 setopt NO_GLOB_SUBST 9379 16631 else 9380 case `(set -o) 2>/dev/null` in #( 9381 *posix*) : 9382 set -o posix ;; #( 9383 *) : 9384 ;; 9385 esac 9386 fi 9387 16632 case `(set -o) 2>/dev/null` in 16633 *posix*) set -o posix ;; 16634 esac 16635 16636 fi 16637 16638 16639 16640 16641 # PATH needs CR 16642 # Avoid depending upon Character Ranges. 16643 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 16644 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 16645 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 16646 as_cr_digits='0123456789' 16647 as_cr_alnum=$as_cr_Letters$as_cr_digits 9388 16648 9389 16649 as_nl=' … … 9394 16654 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9395 16655 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9396 # Prefer a ksh shell builtin over an external printf program on Solaris, 9397 # but without wasting forks for bash or zsh. 9398 if test -z "$BASH_VERSION$ZSH_VERSION" \ 9399 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 9400 as_echo='print -r --' 9401 as_echo_n='print -rn --' 9402 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 16656 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9403 16657 as_echo='printf %s\n' 9404 16658 as_echo_n='printf %s' … … 9411 16665 as_echo_n_body='eval 9412 16666 arg=$1; 9413 case $arg in #(16667 case $arg in 9414 16668 *"$as_nl"*) 9415 16669 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 9434 16688 fi 9435 16689 16690 # Support unset when possible. 16691 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 16692 as_unset=unset 16693 else 16694 as_unset=false 16695 fi 16696 9436 16697 9437 16698 # IFS … … 9443 16704 9444 16705 # Find who we are. Look in the path if we contain no directory separator. 9445 as_myself= 9446 case $0 in #(( 16706 case $0 in 9447 16707 *[\\/]* ) as_myself=$0 ;; 9448 16708 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 9451 16711 IFS=$as_save_IFS 9452 16712 test -z "$as_dir" && as_dir=. 9453 9454 16713 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 16714 done 9455 16715 IFS=$as_save_IFS 9456 16716 … … 9464 16724 if test ! -f "$as_myself"; then 9465 16725 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9466 exit 1 9467 fi 9468 9469 # Unset variables that we do not need and which cause bugs (e.g. in 9470 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 9471 # suppresses any "Segmentation fault" message there. '((' could 9472 # trigger a bug in pdksh 5.2.14. 9473 for as_var in BASH_ENV ENV MAIL MAILPATH 9474 do eval test x\${$as_var+set} = xset \ 9475 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 16726 { (exit 1); exit 1; } 16727 fi 16728 16729 # Work around bugs in pre-3.0 UWIN ksh. 16730 for as_var in ENV MAIL MAILPATH 16731 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9476 16732 done 9477 16733 PS1='$ ' … … 9485 16741 export LANGUAGE 9486 16742 9487 # CDPATH. 9488 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 9489 9490 9491 # as_fn_error STATUS ERROR [LINENO LOG_FD] 9492 # ---------------------------------------- 9493 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 9494 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 9495 # script with STATUS, using 1 if that was 0. 9496 as_fn_error () 9497 { 9498 as_status=$1; test $as_status -eq 0 && as_status=1 9499 if test "$4"; then 9500 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 9501 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 9502 fi 9503 $as_echo "$as_me: error: $2" >&2 9504 as_fn_exit $as_status 9505 } # as_fn_error 9506 9507 9508 # as_fn_set_status STATUS 9509 # ----------------------- 9510 # Set $? to STATUS, without forking. 9511 as_fn_set_status () 9512 { 9513 return $1 9514 } # as_fn_set_status 9515 9516 # as_fn_exit STATUS 9517 # ----------------- 9518 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 9519 as_fn_exit () 9520 { 9521 set +e 9522 as_fn_set_status $1 9523 exit $1 9524 } # as_fn_exit 9525 9526 # as_fn_unset VAR 9527 # --------------- 9528 # Portably unset VAR. 9529 as_fn_unset () 9530 { 9531 { eval $1=; unset $1;} 9532 } 9533 as_unset=as_fn_unset 9534 # as_fn_append VAR VALUE 9535 # ---------------------- 9536 # Append the text in VALUE to the end of the definition contained in VAR. Take 9537 # advantage of any shell optimizations that allow amortized linear growth over 9538 # repeated appends, instead of the typical quadratic growth present in naive 9539 # implementations. 9540 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 9541 eval 'as_fn_append () 9542 { 9543 eval $1+=\$2 9544 }' 9545 else 9546 as_fn_append () 9547 { 9548 eval $1=\$$1\$2 9549 } 9550 fi # as_fn_append 9551 9552 # as_fn_arith ARG... 9553 # ------------------ 9554 # Perform arithmetic evaluation on the ARGs, and store the result in the 9555 # global $as_val. Take advantage of shells that can avoid forks. The arguments 9556 # must be portable across $(()) and expr. 9557 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 9558 eval 'as_fn_arith () 9559 { 9560 as_val=$(( $* )) 9561 }' 9562 else 9563 as_fn_arith () 9564 { 9565 as_val=`expr "$@" || test $? -eq 1` 9566 } 9567 fi # as_fn_arith 9568 9569 16743 # Required to use basename. 9570 16744 if expr a : '\(a\)' >/dev/null 2>&1 && 9571 16745 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 9581 16755 fi 9582 16756 9583 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9584 as_dirname=dirname 9585 else 9586 as_dirname=false 9587 fi 9588 16757 16758 # Name of the executable. 9589 16759 as_me=`$as_basename -- "$0" || 9590 16760 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 9606 16776 s/.*/./; q'` 9607 16777 9608 # Avoid depending upon Character Ranges. 9609 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 9610 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 9611 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 9612 as_cr_digits='0123456789' 9613 as_cr_alnum=$as_cr_Letters$as_cr_digits 16778 # CDPATH. 16779 $as_unset CDPATH 16780 16781 16782 16783 as_lineno_1=$LINENO 16784 as_lineno_2=$LINENO 16785 test "x$as_lineno_1" != "x$as_lineno_2" && 16786 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 16787 16788 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 16789 # uniformly replaced by the line number. The first 'sed' inserts a 16790 # line-number line after each line using $LINENO; the second 'sed' 16791 # does the real work. The second script uses 'N' to pair each 16792 # line-number line with the line containing $LINENO, and appends 16793 # trailing '-' during substitution so that $LINENO is not a special 16794 # case at line end. 16795 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 16796 # scripts with optimization help from Paolo Bonzini. Blame Lee 16797 # E. McMahon (1931-1989) for sed's syntax. :-) 16798 sed -n ' 16799 p 16800 /[$]LINENO/= 16801 ' <$as_myself | 16802 sed ' 16803 s/[$]LINENO.*/&-/ 16804 t lineno 16805 b 16806 :lineno 16807 N 16808 :loop 16809 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 16810 t loop 16811 s/-\n.*// 16812 ' >$as_me.lineno && 16813 chmod +x "$as_me.lineno" || 16814 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 16815 { (exit 1); exit 1; }; } 16816 16817 # Don't try to exec as it changes $[0], causing all sort of problems 16818 # (the dirname of $[0] is not the place where we might find the 16819 # original and so on. Autoconf is especially sensitive to this). 16820 . "./$as_me.lineno" 16821 # Exit status is that of the last command. 16822 exit 16823 } 16824 16825 16826 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 16827 as_dirname=dirname 16828 else 16829 as_dirname=false 16830 fi 9614 16831 9615 16832 ECHO_C= ECHO_N= ECHO_T= 9616 case `echo -n x` in #(((((16833 case `echo -n x` in 9617 16834 -n*) 9618 case `echo 'x y\c'` in16835 case `echo 'x\c'` in 9619 16836 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 9620 xy) ECHO_C='\c';; 9621 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 9622 ECHO_T=' ';; 16837 *) ECHO_C='\c';; 9623 16838 esac;; 9624 16839 *) 9625 16840 ECHO_N='-n';; 9626 16841 esac 16842 if expr a : '\(a\)' >/dev/null 2>&1 && 16843 test "X`expr 00001 : '.*\(...\)'`" = X001; then 16844 as_expr=expr 16845 else 16846 as_expr=false 16847 fi 9627 16848 9628 16849 rm -f conf$$ conf$$.exe conf$$.file … … 9653 16874 rmdir conf$$.dir 2>/dev/null 9654 16875 9655 9656 # as_fn_mkdir_p9657 # -------------9658 # Create "$as_dir" as a directory, including parents if necessary.9659 as_fn_mkdir_p ()9660 {9661 9662 case $as_dir in #(9663 -*) as_dir=./$as_dir;;9664 esac9665 test -d "$as_dir" || eval $as_mkdir_p || {9666 as_dirs=9667 while :; do9668 case $as_dir in #(9669 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(9670 *) as_qdir=$as_dir;;9671 esac9672 as_dirs="'$as_qdir' $as_dirs"9673 as_dir=`$as_dirname -- "$as_dir" ||9674 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \9675 X"$as_dir" : 'X\(//\)[^/]' \| \9676 X"$as_dir" : 'X\(//\)$' \| \9677 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||9678 $as_echo X"$as_dir" |9679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{9680 s//\1/9681 q9682 }9683 /^X\(\/\/\)[^/].*/{9684 s//\1/9685 q9686 }9687 /^X\(\/\/\)$/{9688 s//\1/9689 q9690 }9691 /^X\(\/\).*/{9692 s//\1/9693 q9694 }9695 s/.*/./; q'`9696 test -d "$as_dir" && break9697 done9698 test -z "$as_dirs" || eval "mkdir $as_dirs"9699 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"9700 9701 9702 } # as_fn_mkdir_p9703 16876 if mkdir -p . 2>/dev/null; then 9704 as_mkdir_p= 'mkdir -p "$as_dir"'16877 as_mkdir_p=: 9705 16878 else 9706 16879 test -d ./-p && rmdir ./-p … … 9721 16894 test -d "$1/."; 9722 16895 else 9723 case $1 in #(16896 case $1 in 9724 16897 -*)set "./$1";; 9725 16898 esac; 9726 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((16899 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 9727 16900 ???[sx]*):;;*)false;;esac;fi 9728 16901 '\'' sh … … 9739 16912 9740 16913 exec 6>&1 9741 ## ----------------------------------- ## 9742 ## Main body of $CONFIG_STATUS script. ## 9743 ## ----------------------------------- ## 9744 _ASEOF 9745 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 9746 9747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9748 # Save the log message, to keep $0 and so on meaningful, and to 16914 16915 # Save the log message, to keep $[0] and so on meaningful, and to 9749 16916 # report actual input values of CONFIG_FILES etc. instead of their 9750 16917 # values after options handling. 9751 16918 ac_log=" 9752 16919 This file was extended by vizservers $as_me 0.1, which was 9753 generated by GNU Autoconf 2.6 8. Invocation command line was16920 generated by GNU Autoconf 2.63. Invocation command line was 9754 16921 9755 16922 CONFIG_FILES = $CONFIG_FILES … … 9782 16949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9783 16950 ac_cs_usage="\ 9784 \`$as_me' instantiates files and other configuration actions 9785 from templates according to the current configuration. Unless the files 9786 and actions are specified as TAGs, all are instantiated by default. 9787 9788 Usage: $0 [OPTION]... [TAG]... 16951 \`$as_me' instantiates files from templates according to the 16952 current configuration. 16953 16954 Usage: $0 [OPTION]... [FILE]... 9789 16955 9790 16956 -h, --help print this help, then exit 9791 16957 -V, --version print version number and configuration settings, then exit 9792 --config print configuration, then exit9793 16958 -q, --quiet, --silent 9794 16959 do not print progress messages … … 9806 16971 $config_headers 9807 16972 9808 Report bugs to < rappture@nanohub.org>."16973 Report bugs to <bug-autoconf@gnu.org>." 9809 16974 9810 16975 _ACEOF 9811 16976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9812 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"9813 16977 ac_cs_version="\\ 9814 16978 vizservers config.status 0.1 9815 configured by $0, generated by GNU Autoconf 2.6 8,9816 with options \\" \$ac_cs_config\\"9817 9818 Copyright (C) 20 10Free Software Foundation, Inc.16979 configured by $0, generated by GNU Autoconf 2.63, 16980 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 16981 16982 Copyright (C) 2008 Free Software Foundation, Inc. 9819 16983 This config.status script is free software; the Free Software Foundation 9820 16984 gives unlimited permission to copy, distribute and modify it." … … 9833 16997 do 9834 16998 case $1 in 9835 --*= ?*)16999 --*=*) 9836 17000 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9837 17001 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9838 ac_shift=:9839 ;;9840 --*=)9841 ac_option=`expr "X$1" : 'X\([^=]*\)='`9842 ac_optarg=9843 17002 ac_shift=: 9844 17003 ;; … … 9856 17015 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9857 17016 $as_echo "$ac_cs_version"; exit ;; 9858 --config | --confi | --conf | --con | --co | --c )9859 $as_echo "$ac_cs_config"; exit ;;9860 17017 --debug | --debu | --deb | --de | --d | -d ) 9861 17018 debug=: ;; … … 9864 17021 case $ac_optarg in 9865 17022 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9866 '') as_fn_error $? "missing file argument" ;;9867 17023 esac 9868 as_fn_append CONFIG_FILES "'$ac_optarg'"17024 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 9869 17025 ac_need_defaults=false;; 9870 17026 --header | --heade | --head | --hea ) … … 9873 17029 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9874 17030 esac 9875 as_fn_append CONFIG_HEADERS "'$ac_optarg'"17031 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 9876 17032 ac_need_defaults=false;; 9877 17033 --he | --h) 9878 17034 # Conflict between --help and --header 9879 as_fn_error $? "ambiguous option: \`$1' 9880 Try \`$0 --help' for more information.";; 17035 { $as_echo "$as_me: error: ambiguous option: $1 17036 Try \`$0 --help' for more information." >&2 17037 { (exit 1); exit 1; }; };; 9881 17038 --help | --hel | -h ) 9882 17039 $as_echo "$ac_cs_usage"; exit ;; … … 9886 17043 9887 17044 # This is an error. 9888 -*) as_fn_error $? "unrecognized option: \`$1' 9889 Try \`$0 --help' for more information." ;; 9890 9891 *) as_fn_append ac_config_targets " $1" 17045 -*) { $as_echo "$as_me: error: unrecognized option: $1 17046 Try \`$0 --help' for more information." >&2 17047 { (exit 1); exit 1; }; } ;; 17048 17049 *) ac_config_targets="$ac_config_targets $1" 9892 17050 ac_need_defaults=false ;; 9893 17051 … … 9954 17112 "start_nanoscale.sh") CONFIG_FILES="$CONFIG_FILES start_nanoscale.sh" ;; 9955 17113 9956 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 17114 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 17115 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 17116 { (exit 1); exit 1; }; };; 9957 17117 esac 9958 17118 done … … 9976 17136 $debug || 9977 17137 { 9978 tmp= ac_tmp=17138 tmp= 9979 17139 trap 'exit_status=$? 9980 : "${ac_tmp:=$tmp}" 9981 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 17140 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9982 17141 ' 0 9983 trap ' as_fn_exit 1' 1 2 13 1517142 trap '{ (exit 1); exit 1; }' 1 2 13 15 9984 17143 } 9985 17144 # Create a (secure) tmp directory for tmp files. … … 9987 17146 { 9988 17147 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 9989 test - d "$tmp"17148 test -n "$tmp" && test -d "$tmp" 9990 17149 } || 9991 17150 { 9992 17151 tmp=./conf$$-$RANDOM 9993 17152 (umask 077 && mkdir "$tmp") 9994 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 9995 ac_tmp=$tmp 17153 } || 17154 { 17155 $as_echo "$as_me: cannot create a temporary directory in ." >&2 17156 { (exit 1); exit 1; } 17157 } 9996 17158 9997 17159 # Set up the scripts for CONFIG_FILES section. … … 10001 17163 10002 17164 10003 ac_cr=`echo X | tr X '\015'` 10004 # On cygwin, bash can eat \r inside `` if the user requested igncr. 10005 # But we know of no other shell where ac_cr would be empty at this 10006 # point, so we can use a bashism as a fallback. 10007 if test "x$ac_cr" = x; then 10008 eval ac_cr=\$\'\\r\' 10009 fi 17165 ac_cr=' 17166 ' 10010 17167 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 10011 17168 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then … … 10015 17172 fi 10016 17173 10017 echo 'BEGIN {' >"$ ac_tmp/subs1.awk" &&17174 echo 'BEGIN {' >"$tmp/subs1.awk" && 10018 17175 _ACEOF 10019 17176 … … 10024 17181 echo "_ACEOF" 10025 17182 } >conf$$subs.sh || 10026 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10027 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 17183 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 17184 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 17185 { (exit 1); exit 1; }; } 17186 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 10028 17187 ac_delim='%!_!# ' 10029 17188 for ac_last_try in false false false false false :; do 10030 17189 . ./conf$$subs.sh || 10031 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17190 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 17191 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 17192 { (exit 1); exit 1; }; } 10032 17193 10033 17194 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` … … 10035 17196 break 10036 17197 elif $ac_last_try; then 10037 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17198 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 17199 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 17200 { (exit 1); exit 1; }; } 10038 17201 else 10039 17202 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 10043 17206 10044 17207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10045 cat >>"\$ ac_tmp/subs1.awk" <<\\_ACAWK &&17208 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 10046 17209 _ACEOF 10047 17210 sed -n ' … … 10057 17220 :nl 10058 17221 h 10059 s/\(.\{148\}\). .*/\1/17222 s/\(.\{148\}\).*/\1/ 10060 17223 t more1 10061 17224 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ … … 10071 17234 :delim 10072 17235 h 10073 s/\(.\{148\}\). .*/\1/17236 s/\(.\{148\}\).*/\1/ 10074 17237 t more2 10075 17238 s/["\\]/\\&/g; s/^/"/; s/$/"/ … … 10091 17254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10092 17255 _ACAWK 10093 cat >>"\$ ac_tmp/subs1.awk" <<_ACAWK &&17256 cat >>"\$tmp/subs1.awk" <<_ACAWK && 10094 17257 for (key in S) S_is_set[key] = 1 10095 17258 FS = "" … … 10123 17286 else 10124 17287 cat 10125 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 10126 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 10127 _ACEOF 10128 10129 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 10130 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 17288 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 17289 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 17290 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 17291 { (exit 1); exit 1; }; } 17292 _ACEOF 17293 17294 # VPATH may cause trouble with some makes, so we remove $(srcdir), 17295 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 10131 17296 # trailing colons and then remove the whole line if VPATH becomes empty 10132 17297 # (actually we leave an empty line to preserve line numbers). 10133 17298 if test "x$srcdir" = x.; then 10134 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 10135 h 10136 s/// 10137 s/^/:/ 10138 s/[ ]*$/:/ 10139 s/:\$(srcdir):/:/g 10140 s/:\${srcdir}:/:/g 10141 s/:@srcdir@:/:/g 10142 s/^:*// 17299 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 17300 s/:*\$(srcdir):*/:/ 17301 s/:*\${srcdir}:*/:/ 17302 s/:*@srcdir@:*/:/ 17303 s/^\([^=]*=[ ]*\):*/\1/ 10143 17304 s/:*$// 10144 x10145 s/\(=[ ]*\).*/\1/10146 G10147 s/\n//10148 17305 s/^[^=]*=[ ]*$// 10149 17306 }' … … 10157 17314 # This happens for instance with `./config.status Makefile'. 10158 17315 if test -n "$CONFIG_HEADERS"; then 10159 cat >"$ ac_tmp/defines.awk" <<\_ACAWK ||17316 cat >"$tmp/defines.awk" <<\_ACAWK || 10160 17317 BEGIN { 10161 17318 _ACEOF … … 10169 17326 ac_delim='%!_!# ' 10170 17327 for ac_last_try in false false :; do 10171 ac_t t=`sed -n "/$ac_delim/p" confdefs.h`10172 if test -z "$ac_t t"; then17328 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 17329 if test -z "$ac_t"; then 10173 17330 break 10174 17331 elif $ac_last_try; then 10175 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 17332 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 17333 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 17334 { (exit 1); exit 1; }; } 10176 17335 else 10177 17336 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 10258 17417 _ACEOF 10259 17418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10260 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 17419 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 17420 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 17421 { (exit 1); exit 1; }; } 10261 17422 fi # test -n "$CONFIG_HEADERS" 10262 17423 … … 10271 17432 case $ac_mode$ac_tag in 10272 17433 :[FHL]*:*);; 10273 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 17434 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 17435 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 17436 { (exit 1); exit 1; }; };; 10274 17437 :[FH]-) ac_tag=-:-;; 10275 17438 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 10290 17453 do 10291 17454 case $ac_f in 10292 -) ac_f="$ ac_tmp/stdin";;17455 -) ac_f="$tmp/stdin";; 10293 17456 *) # Look for the file first in the build tree, then in the source tree 10294 17457 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 10299 17462 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 10300 17463 esac || 10301 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 17464 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 17465 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 17466 { (exit 1); exit 1; }; };; 10302 17467 esac 10303 17468 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 10304 a s_fn_append ac_file_inputs "'$ac_f'"17469 ac_file_inputs="$ac_file_inputs '$ac_f'" 10305 17470 done 10306 17471 … … 10313 17478 if test x"$ac_file" != x-; then 10314 17479 configure_input="$ac_file. $configure_input" 10315 { $as_echo "$as_me:$ {as_lineno-$LINENO}: creating $ac_file" >&517480 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 10316 17481 $as_echo "$as_me: creating $ac_file" >&6;} 10317 17482 fi … … 10325 17490 10326 17491 case $ac_tag in 10327 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 10328 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 17492 *:-:* | *:-) cat >"$tmp/stdin" \ 17493 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 17494 $as_echo "$as_me: error: could not create $ac_file" >&2;} 17495 { (exit 1); exit 1; }; } ;; 10329 17496 esac 10330 17497 ;; … … 10354 17521 } 10355 17522 s/.*/./; q'` 10356 as_dir="$ac_dir"; as_fn_mkdir_p 17523 { as_dir="$ac_dir" 17524 case $as_dir in #( 17525 -*) as_dir=./$as_dir;; 17526 esac 17527 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 17528 as_dirs= 17529 while :; do 17530 case $as_dir in #( 17531 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 17532 *) as_qdir=$as_dir;; 17533 esac 17534 as_dirs="'$as_qdir' $as_dirs" 17535 as_dir=`$as_dirname -- "$as_dir" || 17536 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17537 X"$as_dir" : 'X\(//\)[^/]' \| \ 17538 X"$as_dir" : 'X\(//\)$' \| \ 17539 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 17540 $as_echo X"$as_dir" | 17541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17542 s//\1/ 17543 q 17544 } 17545 /^X\(\/\/\)[^/].*/{ 17546 s//\1/ 17547 q 17548 } 17549 /^X\(\/\/\)$/{ 17550 s//\1/ 17551 q 17552 } 17553 /^X\(\/\).*/{ 17554 s//\1/ 17555 q 17556 } 17557 s/.*/./; q'` 17558 test -d "$as_dir" && break 17559 done 17560 test -z "$as_dirs" || eval "mkdir $as_dirs" 17561 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 17562 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 17563 { (exit 1); exit 1; }; }; } 10357 17564 ac_builddir=. 10358 17565 … … 10411 17618 # FIXME: This hack should be removed a few years after 2.60. 10412 17619 ac_datarootdir_hack=; ac_datarootdir_seen= 17620 10413 17621 ac_sed_dataroot=' 10414 17622 /datarootdir/ { … … 10420 17628 /@infodir@/p 10421 17629 /@localedir@/p 10422 /@mandir@/p' 17630 /@mandir@/p 17631 ' 10423 17632 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 10424 17633 *datarootdir*) ac_datarootdir_seen=yes;; 10425 17634 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 10426 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&517635 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10427 17636 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10428 17637 _ACEOF … … 10434 17643 s&@localedir@&$localedir&g 10435 17644 s&@mandir@&$mandir&g 10436 s&\\\${datarootdir}&$datarootdir&g' ;;17645 s&\\\${datarootdir}&$datarootdir&g' ;; 10437 17646 esac 10438 17647 _ACEOF … … 10462 17671 $ac_datarootdir_hack 10463 17672 " 10464 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 10465 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17673 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 17674 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 17675 $as_echo "$as_me: error: could not create $ac_file" >&2;} 17676 { (exit 1); exit 1; }; } 10466 17677 10467 17678 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 10468 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 10469 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 10470 "$ac_tmp/out"`; test -z "$ac_out"; } && 10471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10472 which seems to be undefined. Please make sure it is defined" >&5 17679 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 17680 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 17681 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17682 which seems to be undefined. Please make sure it is defined." >&5 10473 17683 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10474 which seems to be undefined. Please make sure it is defined " >&2;}10475 10476 rm -f "$ ac_tmp/stdin"17684 which seems to be undefined. Please make sure it is defined." >&2;} 17685 17686 rm -f "$tmp/stdin" 10477 17687 case $ac_file in 10478 -) cat "$ ac_tmp/out" && rm -f "$ac_tmp/out";;10479 *) rm -f "$ac_file" && mv "$ ac_tmp/out" "$ac_file";;17688 -) cat "$tmp/out" && rm -f "$tmp/out";; 17689 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 10480 17690 esac \ 10481 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17691 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 17692 $as_echo "$as_me: error: could not create $ac_file" >&2;} 17693 { (exit 1); exit 1; }; } 10482 17694 ;; 10483 17695 :H) … … 10488 17700 { 10489 17701 $as_echo "/* $configure_input */" \ 10490 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 10491 } >"$ac_tmp/config.h" \ 10492 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10493 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 10494 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 17702 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 17703 } >"$tmp/config.h" \ 17704 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 17705 $as_echo "$as_me: error: could not create $ac_file" >&2;} 17706 { (exit 1); exit 1; }; } 17707 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 17708 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 10495 17709 $as_echo "$as_me: $ac_file is unchanged" >&6;} 10496 17710 else 10497 17711 rm -f "$ac_file" 10498 mv "$ac_tmp/config.h" "$ac_file" \ 10499 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17712 mv "$tmp/config.h" "$ac_file" \ 17713 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 17714 $as_echo "$as_me: error: could not create $ac_file" >&2;} 17715 { (exit 1); exit 1; }; } 10500 17716 fi 10501 17717 else 10502 17718 $as_echo "/* $configure_input */" \ 10503 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 10504 || as_fn_error $? "could not create -" "$LINENO" 5 17719 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 17720 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 17721 $as_echo "$as_me: error: could not create -" >&2;} 17722 { (exit 1); exit 1; }; } 10505 17723 fi 10506 17724 ;; … … 10512 17730 10513 17731 10514 as_fn_exit 0 10515 _ACEOF 17732 { (exit 0); exit 0; } 17733 _ACEOF 17734 chmod +x $CONFIG_STATUS 10516 17735 ac_clean_files=$ac_clean_files_save 10517 17736 10518 17737 test $ac_write_fail = 0 || 10519 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 17738 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 17739 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 17740 { (exit 1); exit 1; }; } 10520 17741 10521 17742 … … 10538 17759 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 10539 17760 # would make configure fail if this is the last instruction. 10540 $ac_cs_success || as_fn_exit 117761 $ac_cs_success || { (exit 1); exit 1; } 10541 17762 fi 10542 17763 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 10543 { $as_echo "$as_me:$ {as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&517764 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 10544 17765 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 10545 17766 fi -
trunk/packages/vizservers/configure.in
r2764 r2829 347 347 AC_MSG_RESULT([${CG_DIR}]) 348 348 349 CG_INC_ DIR="$dir/include"350 CG_LIB_DIR="$ dir/lib"349 CG_INC_SPEC="-I${CG_DIR}/include" 350 CG_LIB_DIR="${CG_DIR}/lib" 351 351 352 352 save_CPPFLAGS=$CPPFLAGS 353 CPPFLAGS=" -I${CG_INC_DIR} $CPPFLAGS"353 CPPFLAGS="${CG_INC_SPEC} $CPPFLAGS" 354 354 AC_CHECK_HEADERS([Cg/cgGL.h], [], AC_MSG_WARN([cannot find nVidia Cg headers])) 355 355 CPPFLAGS=$save_CPPFLAGS 356 356 357 357 if test "${CG_DIR}" = "/usr" ; then 358 CG_DIR="" 358 CG_INC_SPEC="" 359 CG_LIB_SPEC="-lCg -lCgGL" 359 360 else 361 CG_LIB_SPEC="-L${CG_LIB_DIR} -lCg -lCgGL" 360 362 LD_RPATH="$loader_run_path:${CG_LIB_DIR}" 361 363 fi … … 365 367 AC_SUBST(CFLAGS_DEBUG) 366 368 AC_SUBST(CFLAGS_OPTIMIZE) 367 AC_SUBST(CG_DIR) 368 AC_SUBST(CG_INC_DIR) 369 AC_SUBST(CG_LIB_DIR) 369 AC_SUBST(CG_INC_SPEC) 370 AC_SUBST(CG_LIB_SPEC) 370 371 AC_SUBST(DX_INC_SPEC) 371 372 AC_SUBST(DX_LIB_SPEC) -
trunk/packages/vizservers/nanovis/Makefile.in
r2822 r2829 25 25 AUXSRC = config.h define.h global.h 26 26 27 CG_DIR = @CG_DIR@ 28 CG_INC_SPEC = -I$(CG_DIR)/include 29 CG_LIB_SPEC = -L$(CG_DIR)/lib -lCg -lCgGL 27 CG_INC_SPEC = @CG_INC_SPEC@ 28 CG_LIB_SPEC = @CG_LIB_SPEC@ 30 29 FF_LIB_SPEC = @LIBS@ 31 30 FF_INC_SPEC = @FF_INC_SPEC@ … … 101 100 CXX = @CXX@ 102 101 CFLAGS = @CFLAGS@ 103 EXTRA_CFLAGS = -Wall -Wextra102 EXTRA_CFLAGS = -Wall 104 103 DEFINES = 105 104 CXX_SWITCHES = $(CFLAGS) $(EXTRA_CFLAGS) $(DEFINES) $(INCLUDES)
Note: See TracChangeset
for help on using the changeset viewer.