Changeset 1388:79f30b560be6
- Timestamp:
- 10/22/09 20:19:56 (2 years ago)
- Branch:
- default
- Location:
- src
- Files:
-
- 21 edited
-
configure (modified) (331 diffs)
-
configure.in (modified) (1 diff)
-
include/libdodo/xexec.h (modified) (1 diff)
-
src/cgiBasicExchange.cc (modified) (1 diff)
-
src/cgiFastServer.cc (modified) (2 diffs)
-
src/dataBaseMysql.cc (modified) (1 diff)
-
src/dataBasePostgresql.cc (modified) (1 diff)
-
src/dataBaseSqlite.cc (modified) (1 diff)
-
src/dataFormatXmlProcessor.cc (modified) (1 diff)
-
src/dataMemoryShared.cc (modified) (1 diff)
-
src/dataTplProcessor.cc (modified) (10 diffs)
-
src/graphicsImage.cc (modified) (2 diffs)
-
src/ioEventManager.cc (modified) (1 diff)
-
src/ioNetworkClient.cc (modified) (1 diff)
-
src/ioNetworkHttpClient.cc (modified) (1 diff)
-
src/ioNetworkServer.cc (modified) (1 diff)
-
src/ioNetworkSslExchange.cc (modified) (1 diff)
-
src/ioStdio.cc (modified) (1 diff)
-
src/rpcServer.cc (modified) (1 diff)
-
src/toolsRegexp.cc (modified) (1 diff)
-
src/xexec.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/configure
r1386 r1388 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 3for libdodo 0.0.0.3 # Generated by GNU Autoconf 2.64 for libdodo 0.0.0. 4 4 # 5 5 # Report bugs to <issues.libdodo.org>. 6 6 # 7 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software 9 # Foundation, Inc. 10 # 9 11 # This configure script is free software; the Free Software Foundation 10 12 # gives unlimited permission to copy, distribute and modify it. 11 ## -------------------- -##12 ## M4sh Initialization. ##13 ## -------------------- -##13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 14 16 15 17 # Be more Bourne compatible 16 18 DUALCASE=1; export DUALCASE # for MKS sh 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 20 emulate sh 19 21 NULLCMD=: … … 23 25 setopt NO_GLOB_SUBST 24 26 else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 27 32 esac 28 29 fi 30 31 32 33 34 # PATH needs CR 35 # Avoid depending upon Character Ranges. 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39 as_cr_digits='0123456789' 40 as_cr_alnum=$as_cr_Letters$as_cr_digits 33 fi 34 41 35 42 36 as_nl=' … … 47 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 48 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 50 as_echo='printf %s\n' 51 51 as_echo_n='printf %s' … … 58 58 as_echo_n_body='eval 59 59 arg=$1; 60 case $arg in 60 case $arg in #( 61 61 *"$as_nl"*) 62 62 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 81 81 fi 82 82 83 # Support unset when possible.84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then85 as_unset=unset86 else87 as_unset=false88 fi89 90 83 91 84 # IFS … … 97 90 98 91 # Find who we are. Look in the path if we contain no directory separator. 99 case $0 in 92 case $0 in #(( 100 93 *[\\/]* ) as_myself=$0 ;; 101 94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 104 97 IFS=$as_save_IFS 105 98 test -z "$as_dir" && as_dir=. 106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break107 done99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 100 done 108 101 IFS=$as_save_IFS 109 102 … … 117 110 if test ! -f "$as_myself"; then 118 111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 119 { (exit 1); exit 1; } 120 fi 121 122 # Work around bugs in pre-3.0 UWIN ksh. 123 for as_var in ENV MAIL MAILPATH 124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 112 exit 1 113 fi 114 115 # Unset variables that we do not need and which cause bugs (e.g. in 116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 117 # suppresses any "Segmentation fault" message there. '((' could 118 # trigger a bug in pdksh 5.2.14. 119 for as_var in BASH_ENV ENV MAIL MAILPATH 120 do eval test x\${$as_var+set} = xset \ 121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125 122 done 126 123 PS1='$ ' … … 134 131 export LANGUAGE 135 132 136 # Required to use basename. 133 # CDPATH. 134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 135 136 if test "x$CONFIG_SHELL" = x; then 137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 138 emulate sh 139 NULLCMD=: 140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 141 # is contrary to our usage. Disable this feature. 142 alias -g '\${1+\"\$@\"}'='\"\$@\"' 143 setopt NO_GLOB_SUBST 144 else 145 case \`(set -o) 2>/dev/null\` in #( 146 *posix*) : 147 set -o posix ;; #( 148 *) : 149 ;; 150 esac 151 fi 152 " 153 as_required="as_fn_return () { (exit \$1); } 154 as_fn_success () { as_fn_return 0; } 155 as_fn_failure () { as_fn_return 1; } 156 as_fn_ret_success () { return 0; } 157 as_fn_ret_failure () { return 1; } 158 159 exitcode=0 160 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 165 166 else 167 exitcode=1; echo positional parameters were not saved. 168 fi 169 test x\$exitcode = x0 || exit 1" 170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 174 test \$(( 1 + 1 )) = 2 || exit 1" 175 if (eval "$as_required") 2>/dev/null; then : 176 as_have_required=yes 177 else 178 as_have_required=no 179 fi 180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 181 182 else 183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 184 as_found=false 185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 186 do 187 IFS=$as_save_IFS 188 test -z "$as_dir" && as_dir=. 189 as_found=: 190 case $as_dir in #( 191 /*) 192 for as_base in sh bash ksh sh5; do 193 # Try only shells that exist, to save several forks. 194 as_shell=$as_dir/$as_base 195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 CONFIG_SHELL=$as_shell as_have_required=yes 198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 break 2 200 fi 201 fi 202 done;; 203 esac 204 as_found=false 205 done 206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 208 CONFIG_SHELL=$SHELL as_have_required=yes 209 fi; } 210 IFS=$as_save_IFS 211 212 213 if test "x$CONFIG_SHELL" != x; then : 214 # We cannot yet assume a decent shell, so we have to provide a 215 # neutralization value for shells without unset; and this also 216 # works around shells that cannot unset nonexistent variables. 217 BASH_ENV=/dev/null 218 ENV=/dev/null 219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 220 export CONFIG_SHELL 221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 222 fi 223 224 if test x$as_have_required = xno; then : 225 $as_echo "$0: This script requires a shell more modern than all" 226 $as_echo "$0: the shells that I found on your system." 227 if test x${ZSH_VERSION+set} = xset ; then 228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 229 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 230 else 231 $as_echo "$0: Please tell bug-autoconf@gnu.org and issues.libdodo.org 232 $0: about your system, including any error possibly output 233 $0: before this message. Then install a modern shell, or 234 $0: manually run the script under such a shell if you do 235 $0: have one." 236 fi 237 exit 1 238 fi 239 fi 240 fi 241 SHELL=${CONFIG_SHELL-/bin/sh} 242 export SHELL 243 # Unset more variables known to interfere with behavior of common tools. 244 CLICOLOR_FORCE= GREP_OPTIONS= 245 unset CLICOLOR_FORCE GREP_OPTIONS 246 247 ## --------------------- ## 248 ## M4sh Shell Functions. ## 249 ## --------------------- ## 250 # as_fn_unset VAR 251 # --------------- 252 # Portably unset VAR. 253 as_fn_unset () 254 { 255 { eval $1=; unset $1;} 256 } 257 as_unset=as_fn_unset 258 259 # as_fn_set_status STATUS 260 # ----------------------- 261 # Set $? to STATUS, without forking. 262 as_fn_set_status () 263 { 264 return $1 265 } # as_fn_set_status 266 267 # as_fn_exit STATUS 268 # ----------------- 269 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 270 as_fn_exit () 271 { 272 set +e 273 as_fn_set_status $1 274 exit $1 275 } # as_fn_exit 276 277 # as_fn_mkdir_p 278 # ------------- 279 # Create "$as_dir" as a directory, including parents if necessary. 280 as_fn_mkdir_p () 281 { 282 283 case $as_dir in #( 284 -*) as_dir=./$as_dir;; 285 esac 286 test -d "$as_dir" || eval $as_mkdir_p || { 287 as_dirs= 288 while :; do 289 case $as_dir in #( 290 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 291 *) as_qdir=$as_dir;; 292 esac 293 as_dirs="'$as_qdir' $as_dirs" 294 as_dir=`$as_dirname -- "$as_dir" || 295 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 296 X"$as_dir" : 'X\(//\)[^/]' \| \ 297 X"$as_dir" : 'X\(//\)$' \| \ 298 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 299 $as_echo X"$as_dir" | 300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 301 s//\1/ 302 q 303 } 304 /^X\(\/\/\)[^/].*/{ 305 s//\1/ 306 q 307 } 308 /^X\(\/\/\)$/{ 309 s//\1/ 310 q 311 } 312 /^X\(\/\).*/{ 313 s//\1/ 314 q 315 } 316 s/.*/./; q'` 317 test -d "$as_dir" && break 318 done 319 test -z "$as_dirs" || eval "mkdir $as_dirs" 320 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 321 322 323 } # as_fn_mkdir_p 324 # as_fn_append VAR VALUE 325 # ---------------------- 326 # Append the text in VALUE to the end of the definition contained in VAR. Take 327 # advantage of any shell optimizations that allow amortized linear growth over 328 # repeated appends, instead of the typical quadratic growth present in naive 329 # implementations. 330 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 331 eval 'as_fn_append () 332 { 333 eval $1+=\$2 334 }' 335 else 336 as_fn_append () 337 { 338 eval $1=\$$1\$2 339 } 340 fi # as_fn_append 341 342 # as_fn_arith ARG... 343 # ------------------ 344 # Perform arithmetic evaluation on the ARGs, and store the result in the 345 # global $as_val. Take advantage of shells that can avoid forks. The arguments 346 # must be portable across $(()) and expr. 347 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 348 eval 'as_fn_arith () 349 { 350 as_val=$(( $* )) 351 }' 352 else 353 as_fn_arith () 354 { 355 as_val=`expr "$@" || test $? -eq 1` 356 } 357 fi # as_fn_arith 358 359 360 # as_fn_error ERROR [LINENO LOG_FD] 361 # --------------------------------- 362 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 363 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 364 # script with status $?, using 1 if that was 0. 365 as_fn_error () 366 { 367 as_status=$?; test $as_status -eq 0 && as_status=1 368 if test "$3"; then 369 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 370 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 371 fi 372 $as_echo "$as_me: error: $1" >&2 373 as_fn_exit $as_status 374 } # as_fn_error 375 137 376 if expr a : '\(a\)' >/dev/null 2>&1 && 138 377 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 148 387 fi 149 388 150 151 # Name of the executable. 389 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 390 as_dirname=dirname 391 else 392 as_dirname=false 393 fi 394 152 395 as_me=`$as_basename -- "$0" || 153 396 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 169 412 s/.*/./; q'` 170 413 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. :-) 414 # Avoid depending upon Character Ranges. 415 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 416 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 417 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 418 as_cr_digits='0123456789' 419 as_cr_alnum=$as_cr_Letters$as_cr_digits 420 421 422 as_lineno_1=$LINENO as_lineno_1a=$LINENO 423 as_lineno_2=$LINENO as_lineno_2a=$LINENO 424 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 425 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 426 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 460 427 sed -n ' 461 428 p … … 474 441 ' >$as_me.lineno && 475 442 chmod +x "$as_me.lineno" || 476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 477 { (exit 1); exit 1; }; } 443 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 478 444 479 445 # Don't try to exec as it changes $[0], causing all sort of problems … … 485 451 } 486 452 487 488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then489 as_dirname=dirname490 else491 as_dirname=false492 fi493 494 453 ECHO_C= ECHO_N= ECHO_T= 495 case `echo -n x` in 454 case `echo -n x` in #((((( 496 455 -n*) 497 case `echo 'x \c'` in456 case `echo 'xy\c'` in 498 457 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 499 *) ECHO_C='\c';; 458 xy) ECHO_C='\c';; 459 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 460 ECHO_T=' ';; 500 461 esac;; 501 462 *) 502 463 ECHO_N='-n';; 503 464 esac 504 if expr a : '\(a\)' >/dev/null 2>&1 &&505 test "X`expr 00001 : '.*\(...\)'`" = X001; then506 as_expr=expr507 else508 as_expr=false509 fi510 465 511 466 rm -f conf$$ conf$$.exe conf$$.file … … 537 492 538 493 if mkdir -p . 2>/dev/null; then 539 as_mkdir_p= :494 as_mkdir_p='mkdir -p "$as_dir"' 540 495 else 541 496 test -d ./-p && rmdir ./-p … … 556 511 test -d "$1/."; 557 512 else 558 case $1 in 513 case $1 in #( 559 514 -*)set "./$1";; 560 515 esac; 561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 516 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 562 517 ???[sx]*):;;*)false;;esac;fi 563 518 '\'' sh … … 571 526 # Sed expression to map a string onto a valid variable name. 572 527 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 573 574 528 575 529 … … 592 546 MFLAGS= 593 547 MAKEFLAGS= 594 SHELL=${CONFIG_SHELL-/bin/sh}595 548 596 549 # Identity of this package. … … 600 553 PACKAGE_STRING='libdodo 0.0.0' 601 554 PACKAGE_BUGREPORT='issues.libdodo.org' 555 PACKAGE_URL='' 602 556 603 557 ac_default_prefix=/usr … … 695 649 prefix 696 650 exec_prefix 651 PACKAGE_URL 697 652 PACKAGE_BUGREPORT 698 653 PACKAGE_STRING … … 853 808 # Reject names that are not valid shell variable names. 854 809 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 855 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 856 { (exit 1); exit 1; }; } 810 as_fn_error "invalid feature name: $ac_useropt" 857 811 ac_useropt_orig=$ac_useropt 858 812 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 880 834 # Reject names that are not valid shell variable names. 881 835 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 882 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 883 { (exit 1); exit 1; }; } 836 as_fn_error "invalid feature name: $ac_useropt" 884 837 ac_useropt_orig=$ac_useropt 885 838 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1085 1038 # Reject names that are not valid shell variable names. 1086 1039 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1087 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1088 { (exit 1); exit 1; }; } 1040 as_fn_error "invalid package name: $ac_useropt" 1089 1041 ac_useropt_orig=$ac_useropt 1090 1042 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1102 1054 # Reject names that are not valid shell variable names. 1103 1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1104 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1105 { (exit 1); exit 1; }; } 1056 as_fn_error "invalid package name: $ac_useropt" 1106 1057 ac_useropt_orig=$ac_useropt 1107 1058 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1133 1084 x_libraries=$ac_optarg ;; 1134 1085 1135 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1136 Try \`$0 --help' for more information." >&2 1137 { (exit 1); exit 1; }; } 1086 -*) as_fn_error "unrecognized option: \`$ac_option' 1087 Try \`$0 --help' for more information." 1138 1088 ;; 1139 1089 … … 1141 1091 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1142 1092 # Reject names that are not valid shell variable names. 1143 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1144 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1145 { (exit 1); exit 1; }; } 1093 case $ac_envvar in #( 1094 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1095 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1096 esac 1146 1097 eval $ac_envvar=\$ac_optarg 1147 1098 export $ac_envvar ;; … … 1160 1111 if test -n "$ac_prev"; then 1161 1112 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1162 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1163 { (exit 1); exit 1; }; } 1113 as_fn_error "missing argument to $ac_option" 1164 1114 fi 1165 1115 … … 1167 1117 case $enable_option_checking in 1168 1118 no) ;; 1169 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1170 { (exit 1); exit 1; }; } ;; 1119 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1171 1120 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1172 1121 esac … … 1191 1140 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1192 1141 esac 1193 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1194 { (exit 1); exit 1; }; } 1142 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1195 1143 done 1196 1144 … … 1222 1170 ac_ls_di=`ls -di .` && 1223 1171 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1224 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1225 { (exit 1); exit 1; }; } 1172 as_fn_error "working directory cannot be determined" 1226 1173 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1227 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1228 { (exit 1); exit 1; }; } 1174 as_fn_error "pwd does not report name of working directory" 1229 1175 1230 1176 … … 1265 1211 if test ! -r "$srcdir/$ac_unique_file"; then 1266 1212 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1267 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1268 { (exit 1); exit 1; }; } 1213 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1269 1214 fi 1270 1215 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1271 1216 ac_abs_confdir=`( 1272 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1273 { (exit 1); exit 1; }; } 1217 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1274 1218 pwd)` 1275 1219 # When building in place, set srcdir=. … … 1488 1432 cat <<\_ACEOF 1489 1433 libdodo configure 0.0.0 1490 generated by GNU Autoconf 2.63 1491 1492 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1493 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1434 generated by GNU Autoconf 2.64 1435 1436 Copyright (C) 2009 Free Software Foundation, Inc. 1494 1437 This configure script is free software; the Free Software Foundation 1495 1438 gives unlimited permission to copy, distribute and modify it. … … 1497 1440 exit 1498 1441 fi 1442 1443 ## ------------------------ ## 1444 ## Autoconf initialization. ## 1445 ## ------------------------ ## 1446 1447 # ac_fn_c_try_compile LINENO 1448 # -------------------------- 1449 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1450 ac_fn_c_try_compile () 1451 { 1452 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1453 rm -f conftest.$ac_objext 1454 if { { ac_try="$ac_compile" 1455 case "(($ac_try" in 1456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1457 *) ac_try_echo=$ac_try;; 1458 esac 1459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1460 $as_echo "$ac_try_echo"; } >&5 1461 (eval "$ac_compile") 2>conftest.err 1462 ac_status=$? 1463 if test -s conftest.err; then 1464 grep -v '^ *+' conftest.err >conftest.er1 1465 cat conftest.er1 >&5 1466 mv -f conftest.er1 conftest.err 1467 fi 1468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1469 test $ac_status = 0; } && { 1470 test -z "$ac_c_werror_flag" || 1471 test ! -s conftest.err 1472 } && test -s conftest.$ac_objext; then : 1473 ac_retval=0 1474 else 1475 $as_echo "$as_me: failed program was:" >&5 1476 sed 's/^/| /' conftest.$ac_ext >&5 1477 1478 ac_retval=1 1479 fi 1480 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1481 return $ac_retval 1482 1483 } # ac_fn_c_try_compile 1484 1485 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1486 # ------------------------------------------- 1487 # Tests whether TYPE exists after having included INCLUDES, setting cache 1488 # variable VAR accordingly. 1489 ac_fn_c_check_type () 1490 { 1491 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1493 $as_echo_n "checking for $2... " >&6; } 1494 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1495 $as_echo_n "(cached) " >&6 1496 else 1497 eval "$3=no" 1498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1499 /* end confdefs.h. */ 1500 $4 1501 int 1502 main () 1503 { 1504 if (sizeof ($2)) 1505 return 0; 1506 ; 1507 return 0; 1508 } 1509 _ACEOF 1510 if ac_fn_c_try_compile "$LINENO"; then : 1511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1512 /* end confdefs.h. */ 1513 $4 1514 int 1515 main () 1516 { 1517 if (sizeof (($2))) 1518 return 0; 1519 ; 1520 return 0; 1521 } 1522 _ACEOF 1523 if ac_fn_c_try_compile "$LINENO"; then : 1524 1525 else 1526 eval "$3=yes" 1527 fi 1528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1529 fi 1530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1531 fi 1532 eval ac_res=\$$3 1533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1534 $as_echo "$ac_res" >&6; } 1535 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1536 1537 } # ac_fn_c_check_type 1538 1539 # ac_fn_c_try_cpp LINENO 1540 # ---------------------- 1541 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1542 ac_fn_c_try_cpp () 1543 { 1544 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1545 if { { ac_try="$ac_cpp conftest.$ac_ext" 1546 case "(($ac_try" in 1547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1548 *) ac_try_echo=$ac_try;; 1549 esac 1550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1551 $as_echo "$ac_try_echo"; } >&5 1552 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1553 ac_status=$? 1554 if test -s conftest.err; then 1555 grep -v '^ *+' conftest.err >conftest.er1 1556 cat conftest.er1 >&5 1557 mv -f conftest.er1 conftest.err 1558 fi 1559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1560 test $ac_status = 0; } >/dev/null && { 1561 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1562 test ! -s conftest.err 1563 }; then : 1564 ac_retval=0 1565 else 1566 $as_echo "$as_me: failed program was:" >&5 1567 sed 's/^/| /' conftest.$ac_ext >&5 1568 1569 ac_retval=1 1570 fi 1571 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1572 return $ac_retval 1573 1574 } # ac_fn_c_try_cpp 1575 1576 # ac_fn_c_try_run LINENO 1577 # ---------------------- 1578 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1579 # that executables *can* be run. 1580 ac_fn_c_try_run () 1581 { 1582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1583 if { { ac_try="$ac_link" 1584 case "(($ac_try" in 1585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1586 *) ac_try_echo=$ac_try;; 1587 esac 1588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1589 $as_echo "$ac_try_echo"; } >&5 1590 (eval "$ac_link") 2>&5 1591 ac_status=$? 1592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1593 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1594 { { case "(($ac_try" in 1595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1596 *) ac_try_echo=$ac_try;; 1597 esac 1598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1599 $as_echo "$ac_try_echo"; } >&5 1600 (eval "$ac_try") 2>&5 1601 ac_status=$? 1602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1603 test $ac_status = 0; }; }; then : 1604 ac_retval=0 1605 else 1606 $as_echo "$as_me: program exited with status $ac_status" >&5 1607 $as_echo "$as_me: failed program was:" >&5 1608 sed 's/^/| /' conftest.$ac_ext >&5 1609 1610 ac_retval=$ac_status 1611 fi 1612 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1613 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1614 return $ac_retval 1615 1616 } # ac_fn_c_try_run 1617 1618 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1619 # ------------------------------------------------------- 1620 # Tests whether HEADER exists and can be compiled using the include files in 1621 # INCLUDES, setting the cache variable VAR accordingly. 1622 ac_fn_c_check_header_compile () 1623 { 1624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1626 $as_echo_n "checking for $2... " >&6; } 1627 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1628 $as_echo_n "(cached) " >&6 1629 else 1630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1631 /* end confdefs.h. */ 1632 $4 1633 #include <$2> 1634 _ACEOF 1635 if ac_fn_c_try_compile "$LINENO"; then : 1636 eval "$3=yes" 1637 else 1638 eval "$3=no" 1639 fi 1640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1641 fi 1642 eval ac_res=\$$3 1643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1644 $as_echo "$ac_res" >&6; } 1645 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1646 1647 } # ac_fn_c_check_header_compile 1648 1649 # ac_fn_cxx_try_compile LINENO 1650 # ---------------------------- 1651 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1652 ac_fn_cxx_try_compile () 1653 { 1654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1655 rm -f conftest.$ac_objext 1656 if { { ac_try="$ac_compile" 1657 case "(($ac_try" in 1658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1659 *) ac_try_echo=$ac_try;; 1660 esac 1661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1662 $as_echo "$ac_try_echo"; } >&5 1663 (eval "$ac_compile") 2>conftest.err 1664 ac_status=$? 1665 if test -s conftest.err; then 1666 grep -v '^ *+' conftest.err >conftest.er1 1667 cat conftest.er1 >&5 1668 mv -f conftest.er1 conftest.err 1669 fi 1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1671 test $ac_status = 0; } && { 1672 test -z "$ac_cxx_werror_flag" || 1673 test ! -s conftest.err 1674 } && test -s conftest.$ac_objext; then : 1675 ac_retval=0 1676 else 1677 $as_echo "$as_me: failed program was:" >&5 1678 sed 's/^/| /' conftest.$ac_ext >&5 1679 1680 ac_retval=1 1681 fi 1682 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1683 return $ac_retval 1684 1685 } # ac_fn_cxx_try_compile 1686 1687 # ac_fn_c_try_link LINENO 1688 # ----------------------- 1689 # Try to link conftest.$ac_ext, and return whether this succeeded. 1690 ac_fn_c_try_link () 1691 { 1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1693 rm -f conftest.$ac_objext conftest$ac_exeext 1694 if { { ac_try="$ac_link" 1695 case "(($ac_try" in 1696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1697 *) ac_try_echo=$ac_try;; 1698 esac 1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1700 $as_echo "$ac_try_echo"; } >&5 1701 (eval "$ac_link") 2>conftest.err 1702 ac_status=$? 1703 if test -s conftest.err; then 1704 grep -v '^ *+' conftest.err >conftest.er1 1705 cat conftest.er1 >&5 1706 mv -f conftest.er1 conftest.err 1707 fi 1708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1709 test $ac_status = 0; } && { 1710 test -z "$ac_c_werror_flag" || 1711 test ! -s conftest.err 1712 } && test -s conftest$ac_exeext && { 1713 test "$cross_compiling" = yes || 1714 $as_test_x conftest$ac_exeext 1715 }; then : 1716 ac_retval=0 1717 else 1718 $as_echo "$as_me: failed program was:" >&5 1719 sed 's/^/| /' conftest.$ac_ext >&5 1720 1721 ac_retval=1 1722 fi 1723 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1724 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1725 # interfere with the next link command; also delete a directory that is 1726 # left behind by Apple's compiler. We do this before executing the actions. 1727 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1728 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1729 return $ac_retval 1730 1731 } # ac_fn_c_try_link 1732 1733 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1734 # ------------------------------------------------------- 1735 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1736 # the include files in INCLUDES and setting the cache variable VAR 1737 # accordingly. 1738 ac_fn_c_check_header_mongrel () 1739 { 1740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1741 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1743 $as_echo_n "checking for $2... " >&6; } 1744 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1745 $as_echo_n "(cached) " >&6 1746 fi 1747 eval ac_res=\$$3 1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1749 $as_echo "$ac_res" >&6; } 1750 else 1751 # Is the header compilable? 1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1753 $as_echo_n "checking $2 usability... " >&6; } 1754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1755 /* end confdefs.h. */ 1756 $4 1757 #include <$2> 1758 _ACEOF 1759 if ac_fn_c_try_compile "$LINENO"; then : 1760 ac_header_compiler=yes 1761 else 1762 ac_header_compiler=no 1763 fi 1764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1766 $as_echo "$ac_header_compiler" >&6; } 1767 1768 # Is the header present? 1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1770 $as_echo_n "checking $2 presence... " >&6; } 1771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1772 /* end confdefs.h. */ 1773 #include <$2> 1774 _ACEOF 1775 if ac_fn_c_try_cpp "$LINENO"; then : 1776 ac_header_preproc=yes 1777 else 1778 ac_header_preproc=no 1779 fi 1780 rm -f conftest.err conftest.$ac_ext 1781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1782 $as_echo "$ac_header_preproc" >&6; } 1783 1784 # So? What about this header? 1785 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1786 yes:no: ) 1787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1788 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1790 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1791 ;; 1792 no:yes:* ) 1793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1794 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1796 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1798 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1800 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1802 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1803 ( cat <<\_ASBOX 1804 ## --------------------------------- ## 1805 ## Report this to issues.libdodo.org ## 1806 ## --------------------------------- ## 1807 _ASBOX 1808 ) | sed "s/^/$as_me: WARNING: /" >&2 1809 ;; 1810 esac 1811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1812 $as_echo_n "checking for $2... " >&6; } 1813 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1814 $as_echo_n "(cached) " >&6 1815 else 1816 eval "$3=\$ac_header_compiler" 1817 fi 1818 eval ac_res=\$$3 1819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1820 $as_echo "$ac_res" >&6; } 1821 fi 1822 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1823 1824 } # ac_fn_c_check_header_mongrel 1499 1825 cat >config.log <<_ACEOF 1500 1826 This file contains any messages produced by compilers while … … 1502 1828 1503 1829 It was created by libdodo $as_me 0.0.0, which was 1504 generated by GNU Autoconf 2.6 3. Invocation command line was1830 generated by GNU Autoconf 2.64. Invocation command line was 1505 1831 1506 1832 $ $0 $@ … … 1538 1864 IFS=$as_save_IFS 1539 1865 test -z "$as_dir" && as_dir=. 1540 $as_echo "PATH: $as_dir"1541 done1866 $as_echo "PATH: $as_dir" 1867 done 1542 1868 IFS=$as_save_IFS 1543 1869 … … 1576 1902 esac 1577 1903 case $ac_pass in 1578 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;1904 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1579 1905 2) 1580 a c_configure_args1="$ac_configure_args1'$ac_arg'"1906 as_fn_append ac_configure_args1 " '$ac_arg'" 1581 1907 if test $ac_must_keep_next = true; then 1582 1908 ac_must_keep_next=false # Got value, back to normal. … … 1594 1920 esac 1595 1921 fi 1596 a c_configure_args="$ac_configure_args'$ac_arg'"1922 as_fn_append ac_configure_args " '$ac_arg'" 1597 1923 ;; 1598 1924 esac 1599 1925 done 1600 1926 done 1601 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1602 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}1927 { ac_configure_args0=; unset ac_configure_args0;} 1928 { ac_configure_args1=; unset ac_configure_args1;} 1603 1929 1604 1930 # When interrupted or exit'd, cleanup temporary files, and complete … … 1625 1951 *${as_nl}*) 1626 1952 case $ac_var in #( 1627 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: cache variable $ac_var contains a newline" >&51953 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1628 1954 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1629 1955 esac … … 1631 1957 _ | IFS | as_nl) ;; #( 1632 1958 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1633 *) $as_unset $ac_var;;1959 *) { eval $ac_var=; unset $ac_var;} ;; 1634 1960 esac ;; 1635 1961 esac … … 1703 2029 ' 0 1704 2030 for ac_signal in 1 2 13 15; do 1705 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2031 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1706 2032 done 1707 2033 ac_signal=0 … … 1710 2036 rm -f -r conftest* confdefs.h 1711 2037 2038 $as_echo "/* confdefs.h */" > confdefs.h 2039 1712 2040 # Predefined preprocessor variables. 1713 2041 … … 1716 2044 _ACEOF 1717 2045 1718 1719 2046 cat >>confdefs.h <<_ACEOF 1720 2047 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1721 2048 _ACEOF 1722 2049 1723 1724 2050 cat >>confdefs.h <<_ACEOF 1725 2051 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1726 2052 _ACEOF 1727 2053 1728 1729 2054 cat >>confdefs.h <<_ACEOF 1730 2055 #define PACKAGE_STRING "$PACKAGE_STRING" 1731 2056 _ACEOF 1732 2057 1733 1734 2058 cat >>confdefs.h <<_ACEOF 1735 2059 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2060 _ACEOF 2061 2062 cat >>confdefs.h <<_ACEOF 2063 #define PACKAGE_URL "$PACKAGE_URL" 1736 2064 _ACEOF 1737 2065 … … 1754 2082 test "x$ac_site_file" = xNONE && continue 1755 2083 if test -r "$ac_site_file"; then 1756 { $as_echo "$as_me:$ LINENO: loading site script $ac_site_file" >&52084 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1757 2085 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1758 2086 sed 's/^/| /' "$ac_site_file" >&5 … … 1765 2093 # files actually), so we avoid doing that. 1766 2094 if test -f "$cache_file"; then 1767 { $as_echo "$as_me:$ LINENO: loading cache $cache_file" >&52095 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1768 2096 $as_echo "$as_me: loading cache $cache_file" >&6;} 1769 2097 case $cache_file in … … 1773 2101 fi 1774 2102 else 1775 { $as_echo "$as_me:$ LINENO: creating cache $cache_file" >&52103 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1776 2104 $as_echo "$as_me: creating cache $cache_file" >&6;} 1777 2105 >$cache_file … … 1788 2116 case $ac_old_set,$ac_new_set in 1789 2117 set,) 1790 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52118 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1791 2119 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1792 2120 ac_cache_corrupted=: ;; 1793 2121 ,set) 1794 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was not set in the previous run" >&52122 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1795 2123 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1796 2124 ac_cache_corrupted=: ;; … … 1802 2130 ac_new_val_w=`echo x $ac_new_val` 1803 2131 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1804 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' has changed since the previous run:" >&52132 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1805 2133 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1806 2134 ac_cache_corrupted=: 1807 2135 else 1808 { $as_echo "$as_me:$ LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&52136 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1809 2137 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1810 2138 eval $ac_var=\$ac_old_val 1811 2139 fi 1812 { $as_echo "$as_me:$ LINENO: former value: \`$ac_old_val'" >&52140 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1813 2141 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1814 { $as_echo "$as_me:$ LINENO: current value: \`$ac_new_val'" >&52142 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1815 2143 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1816 2144 fi;; … … 1824 2152 case " $ac_configure_args " in 1825 2153 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1826 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2154 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1827 2155 esac 1828 2156 fi 1829 2157 done 1830 2158 if $ac_cache_corrupted; then 1831 { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52159 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1832 2160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1833 { $as_echo "$as_me:$ LINENO: error: changes in the environment can compromise the build" >&52161 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1834 2162 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1835 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1836 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1837 { (exit 1); exit 1; }; } 1838 fi 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 2163 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2164 fi 2165 ## -------------------- ## 2166 ## Main body of script. ## 2167 ## -------------------- ## 1863 2168 1864 2169 ac_ext=c … … 1903 2208 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1904 2209 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1905 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1906 2211 $as_echo_n "checking for $ac_word... " >&6; } 1907 if test "${ac_cv_prog_CC+set}" = set; then 2212 if test "${ac_cv_prog_CC+set}" = set; then : 1908 2213 $as_echo_n "(cached) " >&6 1909 2214 else … … 1916 2221 IFS=$as_save_IFS 1917 2222 test -z "$as_dir" && as_dir=. 1918 for ac_exec_ext in '' $ac_executable_extensions; do2223 for ac_exec_ext in '' $ac_executable_extensions; do 1919 2224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1920 2225 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1921 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1922 2227 break 2 1923 2228 fi 1924 2229 done 1925 done2230 done 1926 2231 IFS=$as_save_IFS 1927 2232 … … 1930 2235 CC=$ac_cv_prog_CC 1931 2236 if test -n "$CC"; then 1932 { $as_echo "$as_me:$ LINENO: result: $CC" >&52237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 1933 2238 $as_echo "$CC" >&6; } 1934 2239 else 1935 { $as_echo "$as_me:$ LINENO: result: no" >&52240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1936 2241 $as_echo "no" >&6; } 1937 2242 fi … … 1943 2248 # Extract the first word of "gcc", so it can be a program name with args. 1944 2249 set dummy gcc; ac_word=$2 1945 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1946 2251 $as_echo_n "checking for $ac_word... " >&6; } 1947 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2252 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 1948 2253 $as_echo_n "(cached) " >&6 1949 2254 else … … 1956 2261 IFS=$as_save_IFS 1957 2262 test -z "$as_dir" && as_dir=. 1958 for ac_exec_ext in '' $ac_executable_extensions; do2263 for ac_exec_ext in '' $ac_executable_extensions; do 1959 2264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1960 2265 ac_cv_prog_ac_ct_CC="gcc" 1961 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1962 2267 break 2 1963 2268 fi 1964 2269 done 1965 done2270 done 1966 2271 IFS=$as_save_IFS 1967 2272 … … 1970 2275 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1971 2276 if test -n "$ac_ct_CC"; then 1972 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&52277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 1973 2278 $as_echo "$ac_ct_CC" >&6; } 1974 2279 else 1975 { $as_echo "$as_me:$ LINENO: result: no" >&52280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1976 2281 $as_echo "no" >&6; } 1977 2282 fi … … 1982 2287 case $cross_compiling:$ac_tool_warned in 1983 2288 yes:) 1984 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&52289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1985 2290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1986 2291 ac_tool_warned=yes ;; … … 1996 2301 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1997 2302 set dummy ${ac_tool_prefix}cc; ac_word=$2 1998 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1999 2304 $as_echo_n "checking for $ac_word... " >&6; } 2000 if test "${ac_cv_prog_CC+set}" = set; then 2305 if test "${ac_cv_prog_CC+set}" = set; then : 2001 2306 $as_echo_n "(cached) " >&6 2002 2307 else … … 2009 2314 IFS=$as_save_IFS 2010 2315 test -z "$as_dir" && as_dir=. 2011 for ac_exec_ext in '' $ac_executable_extensions; do2316 for ac_exec_ext in '' $ac_executable_extensions; do 2012 2317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2013 2318 ac_cv_prog_CC="${ac_tool_prefix}cc" 2014 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2015 2320 break 2 2016 2321 fi 2017 2322 done 2018 done2323 done 2019 2324 IFS=$as_save_IFS 2020 2325 … … 2023 2328 CC=$ac_cv_prog_CC 2024 2329 if test -n "$CC"; then 2025 { $as_echo "$as_me:$ LINENO: result: $CC" >&52330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2026 2331 $as_echo "$CC" >&6; } 2027 2332 else 2028 { $as_echo "$as_me:$ LINENO: result: no" >&52333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2029 2334 $as_echo "no" >&6; } 2030 2335 fi … … 2036 2341 # Extract the first word of "cc", so it can be a program name with args. 2037 2342 set dummy cc; ac_word=$2 2038 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2039 2344 $as_echo_n "checking for $ac_word... " >&6; } 2040 if test "${ac_cv_prog_CC+set}" = set; then 2345 if test "${ac_cv_prog_CC+set}" = set; then : 2041 2346 $as_echo_n "(cached) " >&6 2042 2347 else … … 2050 2355 IFS=$as_save_IFS 2051 2356 test -z "$as_dir" && as_dir=. 2052 for ac_exec_ext in '' $ac_executable_extensions; do2357 for ac_exec_ext in '' $ac_executable_extensions; do 2053 2358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2054 2359 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2057 2362 fi 2058 2363 ac_cv_prog_CC="cc" 2059 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2060 2365 break 2 2061 2366 fi 2062 2367 done 2063 done2368 done 2064 2369 IFS=$as_save_IFS 2065 2370 … … 2080 2385 CC=$ac_cv_prog_CC 2081 2386 if test -n "$CC"; then 2082 { $as_echo "$as_me:$ LINENO: result: $CC" >&52387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2083 2388 $as_echo "$CC" >&6; } 2084 2389 else 2085 { $as_echo "$as_me:$ LINENO: result: no" >&52390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2086 2391 $as_echo "no" >&6; } 2087 2392 fi … … 2095 2400 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2096 2401 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2097 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2098 2403 $as_echo_n "checking for $ac_word... " >&6; } 2099 if test "${ac_cv_prog_CC+set}" = set; then 2404 if test "${ac_cv_prog_CC+set}" = set; then : 2100 2405 $as_echo_n "(cached) " >&6 2101 2406 else … … 2108 2413 IFS=$as_save_IFS 2109 2414 test -z "$as_dir" && as_dir=. 2110 for ac_exec_ext in '' $ac_executable_extensions; do2415 for ac_exec_ext in '' $ac_executable_extensions; do 2111 2416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2112 2417 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2113 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2114 2419 break 2 2115 2420 fi 2116 2421 done 2117 done2422 done 2118 2423 IFS=$as_save_IFS 2119 2424 … … 2122 2427 CC=$ac_cv_prog_CC 2123 2428 if test -n "$CC"; then 2124 { $as_echo "$as_me:$ LINENO: result: $CC" >&52429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2125 2430 $as_echo "$CC" >&6; } 2126 2431 else 2127 { $as_echo "$as_me:$ LINENO: result: no" >&52432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2128 2433 $as_echo "no" >&6; } 2129 2434 fi … … 2139 2444 # Extract the first word of "$ac_prog", so it can be a program name with args. 2140 2445 set dummy $ac_prog; ac_word=$2 2141 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2142 2447 $as_echo_n "checking for $ac_word... " >&6; } 2143 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2448 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2144 2449 $as_echo_n "(cached) " >&6 2145 2450 else … … 2152 2457 IFS=$as_save_IFS 2153 2458 test -z "$as_dir" && as_dir=. 2154 for ac_exec_ext in '' $ac_executable_extensions; do2459 for ac_exec_ext in '' $ac_executable_extensions; do 2155 2460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2156 2461 ac_cv_prog_ac_ct_CC="$ac_prog" 2157 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2158 2463 break 2 2159 2464 fi 2160 2465 done 2161 done2466 done 2162 2467 IFS=$as_save_IFS 2163 2468 … … 2166 2471 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2167 2472 if test -n "$ac_ct_CC"; then 2168 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&52473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2169 2474 $as_echo "$ac_ct_CC" >&6; } 2170 2475 else 2171 { $as_echo "$as_me:$ LINENO: result: no" >&52476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2172 2477 $as_echo "no" >&6; } 2173 2478 fi … … 2182 2487 case $cross_compiling:$ac_tool_warned in 2183 2488 yes:) 2184 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&52489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2185 2490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2186 2491 ac_tool_warned=yes ;; … … 2193 2498 2194 2499 2195 test -z "$CC" && { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52500 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2196 2501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2197 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2198 See \`config.log' for more details." >&5 2199 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2200 See \`config.log' for more details." >&2;} 2201 { (exit 1); exit 1; }; }; } 2502 as_fn_error "no acceptable C compiler found in \$PATH 2503 See \`config.log' for more details." "$LINENO" 5; } 2202 2504 2203 2505 # Provide some information about the compiler. 2204 $as_echo "$as_me:$ LINENO: checking for C compiler version" >&52506 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2205 2507 set X $ac_compile 2206 2508 ac_compiler=$2 2207 { (ac_try="$ac_compiler --version >&5" 2509 for ac_option in --version -v -V -qversion; do 2510 { { ac_try="$ac_compiler $ac_option >&5" 2208 2511 case "(($ac_try" in 2209 2512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2210 2513 *) ac_try_echo=$ac_try;; 2211 2514 esac 2212 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2213 $as_echo "$ac_try_echo" )>&52214 (eval "$ac_compiler --version >&5") 2>&52515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2516 $as_echo "$ac_try_echo"; } >&5 2517 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2215 2518 ac_status=$? 2216 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2217 (exit $ac_status); } 2218 { (ac_try="$ac_compiler -v >&5" 2219 case "(($ac_try" in 2220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2221 *) ac_try_echo=$ac_try;; 2222 esac 2223 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2224 $as_echo "$ac_try_echo") >&5 2225 (eval "$ac_compiler -v >&5") 2>&5 2226 ac_status=$? 2227 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2228 (exit $ac_status); } 2229 { (ac_try="$ac_compiler -V >&5" 2230 case "(($ac_try" in 2231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2232 *) ac_try_echo=$ac_try;; 2233 esac 2234 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2235 $as_echo "$ac_try_echo") >&5 2236 (eval "$ac_compiler -V >&5") 2>&5 2237 ac_status=$? 2238 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2239 (exit $ac_status); } 2240 2241 cat >conftest.$ac_ext <<_ACEOF 2242 /* confdefs.h. */ 2243 _ACEOF 2244 cat confdefs.h >>conftest.$ac_ext 2245 cat >>conftest.$ac_ext <<_ACEOF 2519 if test -s conftest.err; then 2520 sed '10a\ 2521 ... rest of stderr output deleted ... 2522 10q' conftest.err >conftest.er1 2523 cat conftest.er1 >&5 2524 rm -f conftest.er1 conftest.err 2525 fi 2526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2527 test $ac_status = 0; } 2528 done 2529 2530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2246 2531 /* end confdefs.h. */ 2247 2532 #include <stdio.h> 2248 2533 int 2249 2534 main () 2250 2535 { 2536 FILE *f = fopen ("conftest.out", "w"); 2537 return ferror (f) || fclose (f) != 0; 2251 2538 2252 2539 ; … … 2255 2542 _ACEOF 2256 2543 ac_clean_files_save=$ac_clean_files 2257 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out "2544 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" 2258 2545 # Try to create an executable without -o first, disregard a.out. 2259 2546 # It will help us diagnose broken compilers, and finding out an intuition 2260 2547 # of exeext. 2261 { $as_echo "$as_me:$ LINENO: checking for C compiler default output file name" >&52548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2262 2549 $as_echo_n "checking for C compiler default output file name... " >&6; } 2263 2550 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` … … 2276 2563 rm -f $ac_rmfiles 2277 2564 2278 if { (ac_try="$ac_link_default"2565 if { { ac_try="$ac_link_default" 2279 2566 case "(($ac_try" in 2280 2567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2281 2568 *) ac_try_echo=$ac_try;; 2282 2569 esac 2283 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2284 $as_echo "$ac_try_echo" )>&52570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2571 $as_echo "$ac_try_echo"; } >&5 2285 2572 (eval "$ac_link_default") 2>&5 2286 2573 ac_status=$? 2287 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52288 (exit $ac_status); }; then2574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2575 test $ac_status = 0; }; then : 2289 2576 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2290 2577 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2303 2590 break;; 2304 2591 *.* ) 2305 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;2592 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2306 2593 then :; else 2307 2594 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2322 2609 ac_file='' 2323 2610 fi 2324 2325 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2326 2612 $as_echo "$ac_file" >&6; } 2327 if test -z "$ac_file"; then 2613 if test -z "$ac_file"; then : 2328 2614 $as_echo "$as_me: failed program was:" >&5 2329 2615 sed 's/^/| /' conftest.$ac_ext >&5 2330 2616 2331 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52617 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2332 2618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2333 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2334 See \`config.log' for more details." >&5 2335 $as_echo "$as_me: error: C compiler cannot create executables 2336 See \`config.log' for more details." >&2;} 2337 { (exit 77); exit 77; }; }; } 2338 fi 2339 2619 { as_fn_set_status 77 2620 as_fn_error "C compiler cannot create executables 2621 See \`config.log' for more details." "$LINENO" 5; }; } 2622 fi 2340 2623 ac_exeext=$ac_cv_exeext 2341 2624 2342 2625 # Check that the compiler produces executables we can run. If not, either 2343 2626 # the compiler is broken, or we cross compile. 2344 { $as_echo "$as_me:$ LINENO: checking whether the C compiler works" >&52627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2345 2628 $as_echo_n "checking whether the C compiler works... " >&6; } 2346 # FIXME: These cross compiler hacks should be removed for Autoconf 3.02347 2629 # If not cross compiling, check that we can run a simple program. 2348 2630 if test "$cross_compiling" != yes; then 2349 2631 if { ac_try='./$ac_file' 2350 { (case "(($ac_try" in2632 { { case "(($ac_try" in 2351 2633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2352 2634 *) ac_try_echo=$ac_try;; 2353 2635 esac 2354 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2355 $as_echo "$ac_try_echo" )>&52636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2637 $as_echo "$ac_try_echo"; } >&5 2356 2638 (eval "$ac_try") 2>&5 2357 2639 ac_status=$? 2358 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52359 (exit $ac_status); }; }; then2640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2641 test $ac_status = 0; }; }; then 2360 2642 cross_compiling=no 2361 2643 else … … 2363 2645 cross_compiling=yes 2364 2646 else 2365 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52647 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2366 2648 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2367 { { $as_echo "$as_me:$LINENO: error:cannot run C compiled programs.2649 as_fn_error "cannot run C compiled programs. 2368 2650 If you meant to cross compile, use \`--host'. 2369 See \`config.log' for more details." >&5 2370 $as_echo "$as_me: error: cannot run C compiled programs. 2371 If you meant to cross compile, use \`--host'. 2372 See \`config.log' for more details." >&2;} 2373 { (exit 1); exit 1; }; }; } 2651 See \`config.log' for more details." "$LINENO" 5; } 2374 2652 fi 2375 2653 fi 2376 2654 fi 2377 { $as_echo "$as_me:$ LINENO: result: yes" >&52655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2378 2656 $as_echo "yes" >&6; } 2379 2657 2380 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2658 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out 2381 2659 ac_clean_files=$ac_clean_files_save 2382 2660 # Check that the compiler produces executables we can run. If not, either 2383 2661 # the compiler is broken, or we cross compile. 2384 { $as_echo "$as_me:$ LINENO: checking whether we are cross compiling" >&52662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2385 2663 $as_echo_n "checking whether we are cross compiling... " >&6; } 2386 { $as_echo "$as_me:$ LINENO: result: $cross_compiling" >&52664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2387 2665 $as_echo "$cross_compiling" >&6; } 2388 2666 2389 { $as_echo "$as_me:$ LINENO: checking for suffix of executables" >&52667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2390 2668 $as_echo_n "checking for suffix of executables... " >&6; } 2391 if { (ac_try="$ac_link"2669 if { { ac_try="$ac_link" 2392 2670 case "(($ac_try" in 2393 2671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2394 2672 *) ac_try_echo=$ac_try;; 2395 2673 esac 2396 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2397 $as_echo "$ac_try_echo" )>&52674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2675 $as_echo "$ac_try_echo"; } >&5 2398 2676 (eval "$ac_link") 2>&5 2399 2677 ac_status=$? 2400 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52401 (exit $ac_status); }; then2678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2679 test $ac_status = 0; }; then : 2402 2680 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2403 2681 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2414 2692 done 2415 2693 else 2416 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52694 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2417 2695 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2418 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2419 See \`config.log' for more details." >&5 2420 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2421 See \`config.log' for more details." >&2;} 2422 { (exit 1); exit 1; }; }; } 2423 fi 2424 2696 as_fn_error "cannot compute suffix of executables: cannot compile and link 2697 See \`config.log' for more details." "$LINENO" 5; } 2698 fi 2425 2699 rm -f conftest$ac_cv_exeext 2426 { $as_echo "$as_me:$ LINENO: result: $ac_cv_exeext" >&52700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2427 2701 $as_echo "$ac_cv_exeext" >&6; } 2428 2702 … … 2430 2704 EXEEXT=$ac_cv_exeext 2431 2705 ac_exeext=$EXEEXT 2432 { $as_echo "$as_me:$ LINENO: checking for suffix of object files" >&52706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2433 2707 $as_echo_n "checking for suffix of object files... " >&6; } 2434 if test "${ac_cv_objext+set}" = set; then 2708 if test "${ac_cv_objext+set}" = set; then : 2435 2709 $as_echo_n "(cached) " >&6 2436 2710 else 2437 cat >conftest.$ac_ext <<_ACEOF 2438 /* confdefs.h. */ 2439 _ACEOF 2440 cat confdefs.h >>conftest.$ac_ext 2441 cat >>conftest.$ac_ext <<_ACEOF 2711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2442 2712 /* end confdefs.h. */ 2443 2713 … … 2451 2721 _ACEOF 2452 2722 rm -f conftest.o conftest.obj 2453 if { (ac_try="$ac_compile"2723 if { { ac_try="$ac_compile" 2454 2724 case "(($ac_try" in 2455 2725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2456 2726 *) ac_try_echo=$ac_try;; 2457 2727 esac 2458 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2459 $as_echo "$ac_try_echo" )>&52728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2729 $as_echo "$ac_try_echo"; } >&5 2460 2730 (eval "$ac_compile") 2>&5 2461 2731 ac_status=$? 2462 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52463 (exit $ac_status); }; then2732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2733 test $ac_status = 0; }; then : 2464 2734 for ac_file in conftest.o conftest.obj conftest.*; do 2465 2735 test -f "$ac_file" || continue; … … 2474 2744 sed 's/^/| /' conftest.$ac_ext >&5 2475 2745 2476 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52746 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2477 2747 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2478 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2479 See \`config.log' for more details." >&5 2480 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2481 See \`config.log' for more details." >&2;} 2482 { (exit 1); exit 1; }; }; } 2483 fi 2484 2748 as_fn_error "cannot compute suffix of object files: cannot compile 2749 See \`config.log' for more details." "$LINENO" 5; } 2750 fi 2485 2751 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2486 2752 fi 2487 { $as_echo "$as_me:$ LINENO: result: $ac_cv_objext" >&52753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2488 2754 $as_echo "$ac_cv_objext" >&6; } 2489 2755 OBJEXT=$ac_cv_objext 2490 2756 ac_objext=$OBJEXT 2491 { $as_echo "$as_me:$ LINENO: checking whether we are using the GNU C compiler" >&52757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2492 2758 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2493 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2759 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2494 2760 $as_echo_n "(cached) " >&6 2495 2761 else 2496 cat >conftest.$ac_ext <<_ACEOF 2497 /* confdefs.h. */ 2498 _ACEOF 2499 cat confdefs.h >>conftest.$ac_ext 2500 cat >>conftest.$ac_ext <<_ACEOF 2762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2501 2763 /* end confdefs.h. */ 2502 2764 … … 2512 2774 } 2513 2775 _ACEOF 2514 rm -f conftest.$ac_objext 2515 if { (ac_try="$ac_compile" 2516 case "(($ac_try" in 2517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2518 *) ac_try_echo=$ac_try;; 2519 esac 2520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2521 $as_echo "$ac_try_echo") >&5 2522 (eval "$ac_compile") 2>conftest.er1 2523 ac_status=$? 2524 grep -v '^ *+' conftest.er1 >conftest.err 2525 rm -f conftest.er1 2526 cat conftest.err >&5 2527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2528 (exit $ac_status); } && { 2529 test -z "$ac_c_werror_flag" || 2530 test ! -s conftest.err 2531 } && test -s conftest.$ac_objext; then 2776 if ac_fn_c_try_compile "$LINENO"; then : 2532 2777 ac_compiler_gnu=yes 2533 2778 else 2534 $as_echo "$as_me: failed program was:" >&5 2535 sed 's/^/| /' conftest.$ac_ext >&5 2536 2537 ac_compiler_gnu=no 2538 fi 2539 2779 ac_compiler_gnu=no 2780 fi 2540 2781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2541 2782 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2542 2783 2543 2784 fi 2544 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_compiler_gnu" >&52785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2545 2786 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2546 2787 if test $ac_compiler_gnu = yes; then … … 2551 2792 ac_test_CFLAGS=${CFLAGS+set} 2552 2793 ac_save_CFLAGS=$CFLAGS 2553 { $as_echo "$as_me:$ LINENO: checking whether $CC accepts -g" >&52794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2554 2795 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2555 if test "${ac_cv_prog_cc_g+set}" = set; then 2796 if test "${ac_cv_prog_cc_g+set}" = set; then : 2556 2797 $as_echo_n "(cached) " >&6 2557 2798 else … … 2560 2801 ac_cv_prog_cc_g=no 2561 2802 CFLAGS="-g" 2562 cat >conftest.$ac_ext <<_ACEOF 2563 /* confdefs.h. */ 2564 _ACEOF 2565 cat confdefs.h >>conftest.$ac_ext 2566 cat >>conftest.$ac_ext <<_ACEOF 2803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2567 2804 /* end confdefs.h. */ 2568 2805 … … 2575 2812 } 2576 2813 _ACEOF 2577 rm -f conftest.$ac_objext 2578 if { (ac_try="$ac_compile" 2579 case "(($ac_try" in 2580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2581 *) ac_try_echo=$ac_try;; 2582 esac 2583 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2584 $as_echo "$ac_try_echo") >&5 2585 (eval "$ac_compile") 2>conftest.er1 2586 ac_status=$? 2587 grep -v '^ *+' conftest.er1 >conftest.err 2588 rm -f conftest.er1 2589 cat conftest.err >&5 2590 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2591 (exit $ac_status); } && { 2592 test -z "$ac_c_werror_flag" || 2593 test ! -s conftest.err 2594 } && test -s conftest.$ac_objext; then 2814 if ac_fn_c_try_compile "$LINENO"; then : 2595 2815 ac_cv_prog_cc_g=yes 2596 2816 else 2597 $as_echo "$as_me: failed program was:" >&5 2598 sed 's/^/| /' conftest.$ac_ext >&5 2599 2600 CFLAGS="" 2601 cat >conftest.$ac_ext <<_ACEOF 2602 /* confdefs.h. */ 2603 _ACEOF 2604 cat confdefs.h >>conftest.$ac_ext 2605 cat >>conftest.$ac_ext <<_ACEOF 2817 CFLAGS="" 2818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2606 2819 /* end confdefs.h. */ 2607 2820 … … 2614 2827 } 2615 2828 _ACEOF 2616 rm -f conftest.$ac_objext 2617 if { (ac_try="$ac_compile" 2618 case "(($ac_try" in 2619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2620 *) ac_try_echo=$ac_try;; 2621 esac 2622 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2623 $as_echo "$ac_try_echo") >&5 2624 (eval "$ac_compile") 2>conftest.er1 2625 ac_status=$? 2626 grep -v '^ *+' conftest.er1 >conftest.err 2627 rm -f conftest.er1 2628 cat conftest.err >&5 2629 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2630 (exit $ac_status); } && { 2631 test -z "$ac_c_werror_flag" || 2632 test ! -s conftest.err 2633 } && test -s conftest.$ac_objext; then 2634 : 2635 else 2636 $as_echo "$as_me: failed program was:" >&5 2637 sed 's/^/| /' conftest.$ac_ext >&5 2638 2639 ac_c_werror_flag=$ac_save_c_werror_flag 2829 if ac_fn_c_try_compile "$LINENO"; then : 2830 2831 else 2832 ac_c_werror_flag=$ac_save_c_werror_flag 2640 2833 CFLAGS="-g" 2641 cat >conftest.$ac_ext <<_ACEOF 2642 /* confdefs.h. */ 2643 _ACEOF 2644 cat confdefs.h >>conftest.$ac_ext 2645 cat >>conftest.$ac_ext <<_ACEOF 2834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2646 2835 /* end confdefs.h. */ 2647 2836 … … 2654 2843 } 2655 2844 _ACEOF 2656 rm -f conftest.$ac_objext 2657 if { (ac_try="$ac_compile" 2658 case "(($ac_try" in 2659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2660 *) ac_try_echo=$ac_try;; 2661 esac 2662 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2663 $as_echo "$ac_try_echo") >&5 2664 (eval "$ac_compile") 2>conftest.er1 2665 ac_status=$? 2666 grep -v '^ *+' conftest.er1 >conftest.err 2667 rm -f conftest.er1 2668 cat conftest.err >&5 2669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2670 (exit $ac_status); } && { 2671 test -z "$ac_c_werror_flag" || 2672 test ! -s conftest.err 2673 } && test -s conftest.$ac_objext; then 2845 if ac_fn_c_try_compile "$LINENO"; then : 2674 2846 ac_cv_prog_cc_g=yes 2675 else 2676 $as_echo "$as_me: failed program was:" >&5 2677 sed 's/^/| /' conftest.$ac_ext >&5 2678 2679 2680 fi 2681 2847 fi 2682 2848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2683 2849 fi 2684 2685 2850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2686 2851 fi 2687 2688 2852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2689 2853 ac_c_werror_flag=$ac_save_c_werror_flag 2690 2854 fi 2691 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_g" >&52855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2692 2856 $as_echo "$ac_cv_prog_cc_g" >&6; } 2693 2857 if test "$ac_test_CFLAGS" = set; then … … 2706 2870 fi 2707 2871 fi 2708 { $as_echo "$as_me:$ LINENO: checking for $CC option to accept ISO C89" >&52872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2709 2873 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2710 if test "${ac_cv_prog_cc_c89+set}" = set; then 2874 if test "${ac_cv_prog_cc_c89+set}" = set; then : 2711 2875 $as_echo_n "(cached) " >&6 2712 2876 else 2713 2877 ac_cv_prog_cc_c89=no 2714 2878 ac_save_CC=$CC 2715 cat >conftest.$ac_ext <<_ACEOF 2716 /* confdefs.h. */ 2717 _ACEOF 2718 cat confdefs.h >>conftest.$ac_ext 2719 cat >>conftest.$ac_ext <<_ACEOF 2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2720 2880 /* end confdefs.h. */ 2721 2881 #include <stdarg.h> … … 2774 2934 do 2775 2935 CC="$ac_save_CC $ac_arg" 2776 rm -f conftest.$ac_objext 2777 if { (ac_try="$ac_compile" 2778 case "(($ac_try" in 2779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2780 *) ac_try_echo=$ac_try;; 2781 esac 2782 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2783 $as_echo "$ac_try_echo") >&5 2784 (eval "$ac_compile") 2>conftest.er1 2785 ac_status=$? 2786 grep -v '^ *+' conftest.er1 >conftest.err 2787 rm -f conftest.er1 2788 cat conftest.err >&5 2789 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2790 (exit $ac_status); } && { 2791 test -z "$ac_c_werror_flag" || 2792 test ! -s conftest.err 2793 } && test -s conftest.$ac_objext; then 2936 if ac_fn_c_try_compile "$LINENO"; then : 2794 2937 ac_cv_prog_cc_c89=$ac_arg 2795 else 2796 $as_echo "$as_me: failed program was:" >&5 2797 sed 's/^/| /' conftest.$ac_ext >&5 2798 2799 2800 fi 2801 2938 fi 2802 2939 rm -f core conftest.err conftest.$ac_objext 2803 2940 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2810 2947 case "x$ac_cv_prog_cc_c89" in 2811 2948 x) 2812 { $as_echo "$as_me:$ LINENO: result: none needed" >&52949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 2813 2950 $as_echo "none needed" >&6; } ;; 2814 2951 xno) 2815 { $as_echo "$as_me:$ LINENO: result: unsupported" >&52952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 2816 2953 $as_echo "unsupported" >&6; } ;; 2817 2954 *) 2818 2955 CC="$CC $ac_cv_prog_cc_c89" 2819 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_c89" >&52956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 2820 2957 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2821 2958 esac 2822 2959 if test "x$ac_cv_prog_cc_c89" != xno; then : 2960 2961 fi 2823 2962 2824 2963 ac_ext=c … … 2829 2968 2830 2969 2831 { $as_echo "$as_me:$ LINENO: checking for an ANSI C-conforming const" >&52970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 2832 2971 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 2833 if test "${ac_cv_c_const+set}" = set; then 2972 if test "${ac_cv_c_const+set}" = set; then : 2834 2973 $as_echo_n "(cached) " >&6 2835 2974 else 2836 cat >conftest.$ac_ext <<_ACEOF 2837 /* confdefs.h. */ 2838 _ACEOF 2839 cat confdefs.h >>conftest.$ac_ext 2840 cat >>conftest.$ac_ext <<_ACEOF 2975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2841 2976 /* end confdefs.h. */ 2842 2977 … … 2898 3033 } 2899 3034 _ACEOF 2900 rm -f conftest.$ac_objext 2901 if { (ac_try="$ac_compile" 2902 case "(($ac_try" in 2903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2904 *) ac_try_echo=$ac_try;; 2905 esac 2906 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2907 $as_echo "$ac_try_echo") >&5 2908 (eval "$ac_compile") 2>conftest.er1 2909 ac_status=$? 2910 grep -v '^ *+' conftest.er1 >conftest.err 2911 rm -f conftest.er1 2912 cat conftest.err >&5 2913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2914 (exit $ac_status); } && { 2915 test -z "$ac_c_werror_flag" || 2916 test ! -s conftest.err 2917 } && test -s conftest.$ac_objext; then 3035 if ac_fn_c_try_compile "$LINENO"; then : 2918 3036 ac_cv_c_const=yes 2919 3037 else 2920 $as_echo "$as_me: failed program was:" >&5 2921 sed 's/^/| /' conftest.$ac_ext >&5 2922 2923 ac_cv_c_const=no 2924 fi 2925 3038 ac_cv_c_const=no 3039 fi 2926 3040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2927 3041 fi 2928 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_const" >&53042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 2929 3043 $as_echo "$ac_cv_c_const" >&6; } 2930 3044 if test $ac_cv_c_const = no; then 2931 3045 2932 cat >>confdefs.h <<\_ACEOF 2933 #define const /**/ 2934 _ACEOF 2935 2936 fi 2937 2938 { $as_echo "$as_me:$LINENO: checking for inline" >&5 3046 $as_echo "#define const /**/" >>confdefs.h 3047 3048 fi 3049 3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 2939 3051 $as_echo_n "checking for inline... " >&6; } 2940 if test "${ac_cv_c_inline+set}" = set; then 3052 if test "${ac_cv_c_inline+set}" = set; then : 2941 3053 $as_echo_n "(cached) " >&6 2942 3054 else 2943 3055 ac_cv_c_inline=no 2944 3056 for ac_kw in inline __inline__ __inline; do 2945 cat >conftest.$ac_ext <<_ACEOF 2946 /* confdefs.h. */ 2947 _ACEOF 2948 cat confdefs.h >>conftest.$ac_ext 2949 cat >>conftest.$ac_ext <<_ACEOF 3057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2950 3058 /* end confdefs.h. */ 2951 3059 #ifndef __cplusplus … … 2956 3064 2957 3065 _ACEOF 2958 rm -f conftest.$ac_objext 2959 if { (ac_try="$ac_compile" 2960 case "(($ac_try" in 2961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2962 *) ac_try_echo=$ac_try;; 2963 esac 2964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2965 $as_echo "$ac_try_echo") >&5 2966 (eval "$ac_compile") 2>conftest.er1 2967 ac_status=$? 2968 grep -v '^ *+' conftest.er1 >conftest.err 2969 rm -f conftest.er1 2970 cat conftest.err >&5 2971 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2972 (exit $ac_status); } && { 2973 test -z "$ac_c_werror_flag" || 2974 test ! -s conftest.err 2975 } && test -s conftest.$ac_objext; then 3066 if ac_fn_c_try_compile "$LINENO"; then : 2976 3067 ac_cv_c_inline=$ac_kw 2977 else 2978 $as_echo "$as_me: failed program was:" >&5 2979 sed 's/^/| /' conftest.$ac_ext >&5 2980 2981 2982 fi 2983 3068 fi 2984 3069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2985 3070 test "$ac_cv_c_inline" != no && break … … 2987 3072 2988 3073 fi 2989 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_inline" >&53074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 2990 3075 $as_echo "$ac_cv_c_inline" >&6; } 2991 2992 3076 2993 3077 case $ac_cv_c_inline in … … 3011 3095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3012 3096 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3013 { $as_echo "$as_me:$ LINENO: checking how to run the C preprocessor" >&53097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3014 3098 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3015 3099 # On Suns, sometimes $CPP names a directory. … … 3018 3102 fi 3019 3103 if test -z "$CPP"; then 3020 if test "${ac_cv_prog_CPP+set}" = set; then 3104 if test "${ac_cv_prog_CPP+set}" = set; then : 3021 3105 $as_echo_n "(cached) " >&6 3022 3106 else … … 3033 3117 # On the NeXT, cc -E runs the code through the compiler's parser, 3034 3118 # not just through cpp. "Syntax error" is here to catch this case. 3035 cat >conftest.$ac_ext <<_ACEOF 3036 /* confdefs.h. */ 3037 _ACEOF 3038 cat confdefs.h >>conftest.$ac_ext 3039 cat >>conftest.$ac_ext <<_ACEOF 3119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3040 3120 /* end confdefs.h. */ 3041 3121 #ifdef __STDC__ … … 3046 3126 Syntax error 3047 3127 _ACEOF 3048 if { (ac_try="$ac_cpp conftest.$ac_ext" 3049 case "(($ac_try" in 3050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3051 *) ac_try_echo=$ac_try;; 3052 esac 3053 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3054 $as_echo "$ac_try_echo") >&5 3055 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3056 ac_status=$? 3057 grep -v '^ *+' conftest.er1 >conftest.err 3058 rm -f conftest.er1 3059 cat conftest.err >&5 3060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3061 (exit $ac_status); } >/dev/null && { 3062 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3063 test ! -s conftest.err 3064 }; then 3065 : 3066 else 3067 $as_echo "$as_me: failed program was:" >&5 3068 sed 's/^/| /' conftest.$ac_ext >&5 3069 3128 if ac_fn_c_try_cpp "$LINENO"; then : 3129 3130 else 3070 3131 # Broken: fails on valid input. 3071 3132 continue 3072 3133 fi 3073 3074 3134 rm -f conftest.err conftest.$ac_ext 3075 3135 3076 3136 # OK, works on sane cases. Now check whether nonexistent headers 3077 3137 # can be detected and how. 3078 cat >conftest.$ac_ext <<_ACEOF 3079 /* confdefs.h. */ 3080 _ACEOF 3081 cat confdefs.h >>conftest.$ac_ext 3082 cat >>conftest.$ac_ext <<_ACEOF 3138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3083 3139 /* end confdefs.h. */ 3084 3140 #include <ac_nonexistent.h> 3085 3141 _ACEOF 3086 if { (ac_try="$ac_cpp conftest.$ac_ext" 3087 case "(($ac_try" in 3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3089 *) ac_try_echo=$ac_try;; 3090 esac 3091 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3092 $as_echo "$ac_try_echo") >&5 3093 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3094 ac_status=$? 3095 grep -v '^ *+' conftest.er1 >conftest.err 3096 rm -f conftest.er1 3097 cat conftest.err >&5 3098 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3099 (exit $ac_status); } >/dev/null && { 3100 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3101 test ! -s conftest.err 3102 }; then 3142 if ac_fn_c_try_cpp "$LINENO"; then : 3103 3143 # Broken: success on invalid input. 3104 3144 continue 3105 3145 else 3106 $as_echo "$as_me: failed program was:" >&53107 sed 's/^/| /' conftest.$ac_ext >&53108 3109 3146 # Passes both tests. 3110 3147 ac_preproc_ok=: 3111 3148 break 3112 3149 fi 3113 3114 3150 rm -f conftest.err conftest.$ac_ext 3115 3151 … … 3117 3153 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3118 3154 rm -f conftest.err conftest.$ac_ext 3119 if $ac_preproc_ok; then 3155 if $ac_preproc_ok; then : 3120 3156 break 3121 3157 fi … … 3129 3165 ac_cv_prog_CPP=$CPP 3130 3166 fi 3131 { $as_echo "$as_me:$ LINENO: result: $CPP" >&53167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3132 3168 $as_echo "$CPP" >&6; } 3133 3169 ac_preproc_ok=false … … 3140 3176 # On the NeXT, cc -E runs the code through the compiler's parser, 3141 3177 # not just through cpp. "Syntax error" is here to catch this case. 3142 cat >conftest.$ac_ext <<_ACEOF 3143 /* confdefs.h. */ 3144 _ACEOF 3145 cat confdefs.h >>conftest.$ac_ext 3146 cat >>conftest.$ac_ext <<_ACEOF 3178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3147 3179 /* end confdefs.h. */ 3148 3180 #ifdef __STDC__ … … 3153 3185 Syntax error 3154 3186 _ACEOF 3155 if { (ac_try="$ac_cpp conftest.$ac_ext" 3156 case "(($ac_try" in 3157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3158 *) ac_try_echo=$ac_try;; 3159 esac 3160 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3161 $as_echo "$ac_try_echo") >&5 3162 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3163 ac_status=$? 3164 grep -v '^ *+' conftest.er1 >conftest.err 3165 rm -f conftest.er1 3166 cat conftest.err >&5 3167 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3168 (exit $ac_status); } >/dev/null && { 3169 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3170 test ! -s conftest.err 3171 }; then 3172 : 3173 else 3174 $as_echo "$as_me: failed program was:" >&5 3175 sed 's/^/| /' conftest.$ac_ext >&5 3176 3187 if ac_fn_c_try_cpp "$LINENO"; then : 3188 3189 else 3177 3190 # Broken: fails on valid input. 3178 3191 continue 3179 3192 fi 3180 3181 3193 rm -f conftest.err conftest.$ac_ext 3182 3194 3183 3195 # OK, works on sane cases. Now check whether nonexistent headers 3184 3196 # can be detected and how. 3185 cat >conftest.$ac_ext <<_ACEOF 3186 /* confdefs.h. */ 3187 _ACEOF 3188 cat confdefs.h >>conftest.$ac_ext 3189 cat >>conftest.$ac_ext <<_ACEOF 3197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3190 3198 /* end confdefs.h. */ 3191 3199 #include <ac_nonexistent.h> 3192 3200 _ACEOF 3193 if { (ac_try="$ac_cpp conftest.$ac_ext" 3194 case "(($ac_try" in 3195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3196 *) ac_try_echo=$ac_try;; 3197 esac 3198 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3199 $as_echo "$ac_try_echo") >&5 3200 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3201 ac_status=$? 3202 grep -v '^ *+' conftest.er1 >conftest.err 3203 rm -f conftest.er1 3204 cat conftest.err >&5 3205 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3206 (exit $ac_status); } >/dev/null && { 3207 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3208 test ! -s conftest.err 3209 }; then 3201 if ac_fn_c_try_cpp "$LINENO"; then : 3210 3202 # Broken: success on invalid input. 3211 3203 continue 3212 3204 else 3213 $as_echo "$as_me: failed program was:" >&53214 sed 's/^/| /' conftest.$ac_ext >&53215 3216 3205 # Passes both tests. 3217 3206 ac_preproc_ok=: 3218 3207 break 3219 3208 fi 3220 3221 3209 rm -f conftest.err conftest.$ac_ext 3222 3210 … … 3224 3212 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3225 3213 rm -f conftest.err conftest.$ac_ext 3226 if $ac_preproc_ok; then 3227 : 3228 else 3229 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53214 if $ac_preproc_ok; then : 3215 3216 else 3217 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3230 3218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3231 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3232 See \`config.log' for more details." >&5 3233 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3234 See \`config.log' for more details." >&2;} 3235 { (exit 1); exit 1; }; }; } 3219 as_fn_error "C preprocessor \"$CPP\" fails sanity check 3220 See \`config.log' for more details." "$LINENO" 5; } 3236 3221 fi 3237 3222 … … 3243 3228 3244 3229 3245 { $as_echo "$as_me:$ LINENO: checking for grep that handles long lines and -e" >&53230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3246 3231 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3247 if test "${ac_cv_path_GREP+set}" = set; then 3232 if test "${ac_cv_path_GREP+set}" = set; then : 3248 3233 $as_echo_n "(cached) " >&6 3249 3234 else … … 3256 3241 IFS=$as_save_IFS 3257 3242 test -z "$as_dir" && as_dir=. 3258 for ac_prog in grep ggrep; do3243 for ac_prog in grep ggrep; do 3259 3244 for ac_exec_ext in '' $ac_executable_extensions; do 3260 3245 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" … … 3276 3261 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3277 3262 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3278 a c_count=`expr $ac_count + 1`3263 as_fn_arith $ac_count + 1 && ac_count=$as_val 3279 3264 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3280 3265 # Best one so far, save it but keep looking for a better one … … 3291 3276 done 3292 3277 done 3293 done3278 done 3294 3279 IFS=$as_save_IFS 3295 3280 if test -z "$ac_cv_path_GREP"; then 3296 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3297 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3298 { (exit 1); exit 1; }; } 3281 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3299 3282 fi 3300 3283 else … … 3303 3286 3304 3287 fi 3305 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_GREP" >&53288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3306 3289 $as_echo "$ac_cv_path_GREP" >&6; } 3307 3290 GREP="$ac_cv_path_GREP" 3308 3291 3309 3292 3310 { $as_echo "$as_me:$ LINENO: checking for egrep" >&53293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3311 3294 $as_echo_n "checking for egrep... " >&6; } 3312 if test "${ac_cv_path_EGREP+set}" = set; then 3295 if test "${ac_cv_path_EGREP+set}" = set; then : 3313 3296 $as_echo_n "(cached) " >&6 3314 3297 else … … 3324 3307 IFS=$as_save_IFS 3325 3308 test -z "$as_dir" && as_dir=. 3326 for ac_prog in egrep; do3309 for ac_prog in egrep; do 3327 3310 for ac_exec_ext in '' $ac_executable_extensions; do 3328 3311 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" … … 3344 3327 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3345 3328 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3346 a c_count=`expr $ac_count + 1`3329 as_fn_arith $ac_count + 1 && ac_count=$as_val 3347 3330 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3348 3331 # Best one so far, save it but keep looking for a better one … … 3359 3342 done 3360 3343 done 3361 done3344 done 3362 3345 IFS=$as_save_IFS 3363 3346 if test -z "$ac_cv_path_EGREP"; then 3364 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3365 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3366 { (exit 1); exit 1; }; } 3347 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3367 3348 fi 3368 3349 else … … 3372 3353 fi 3373 3354 fi 3374 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_EGREP" >&53355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3375 3356 $as_echo "$ac_cv_path_EGREP" >&6; } 3376 3357 EGREP="$ac_cv_path_EGREP" 3377 3358 3378 3359 3379 { $as_echo "$as_me:$ LINENO: checking for ANSI C header files" >&53360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3380 3361 $as_echo_n "checking for ANSI C header files... " >&6; } 3381 if test "${ac_cv_header_stdc+set}" = set; then 3362 if test "${ac_cv_header_stdc+set}" = set; then : 3382 3363 $as_echo_n "(cached) " >&6 3383 3364 else 3384 cat >conftest.$ac_ext <<_ACEOF 3385 /* confdefs.h. */ 3386 _ACEOF 3387 cat confdefs.h >>conftest.$ac_ext 3388 cat >>conftest.$ac_ext <<_ACEOF 3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3389 3366 /* end confdefs.h. */ 3390 3367 #include <stdlib.h> … … 3401 3378 } 3402 3379 _ACEOF 3403 rm -f conftest.$ac_objext 3404 if { (ac_try="$ac_compile" 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_compile") 2>conftest.er1 3412 ac_status=$? 3413 grep -v '^ *+' conftest.er1 >conftest.err 3414 rm -f conftest.er1 3415 cat conftest.err >&5 3416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3417 (exit $ac_status); } && { 3418 test -z "$ac_c_werror_flag" || 3419 test ! -s conftest.err 3420 } && test -s conftest.$ac_objext; then 3380 if ac_fn_c_try_compile "$LINENO"; then : 3421 3381 ac_cv_header_stdc=yes 3422 3382 else 3423 $as_echo "$as_me: failed program was:" >&5 3424 sed 's/^/| /' conftest.$ac_ext >&5 3425 3426 ac_cv_header_stdc=no 3427 fi 3428 3383 ac_cv_header_stdc=no 3384 fi 3429 3385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3430 3386 3431 3387 if test $ac_cv_header_stdc = yes; then 3432 3388 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3433 cat >conftest.$ac_ext <<_ACEOF 3434 /* confdefs.h. */ 3435 _ACEOF 3436 cat confdefs.h >>conftest.$ac_ext 3437 cat >>conftest.$ac_ext <<_ACEOF 3389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3438 3390 /* end confdefs.h. */ 3439 3391 #include <string.h> … … 3441 3393 _ACEOF 3442 3394 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3443 $EGREP "memchr" >/dev/null 2>&1; then 3444 : 3395 $EGREP "memchr" >/dev/null 2>&1; then : 3396 3445 3397 else 3446 3398 ac_cv_header_stdc=no … … 3452 3404 if test $ac_cv_header_stdc = yes; then 3453 3405 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3454 cat >conftest.$ac_ext <<_ACEOF 3455 /* confdefs.h. */ 3456 _ACEOF 3457 cat confdefs.h >>conftest.$ac_ext 3458 cat >>conftest.$ac_ext <<_ACEOF 3406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3459 3407 /* end confdefs.h. */ 3460 3408 #include <stdlib.h> … … 3462 3410 _ACEOF 3463 3411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3464 $EGREP "free" >/dev/null 2>&1; then 3465 : 3412 $EGREP "free" >/dev/null 2>&1; then : 3413 3466 3414 else 3467 3415 ac_cv_header_stdc=no … … 3473 3421 if test $ac_cv_header_stdc = yes; then 3474 3422 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3475 if test "$cross_compiling" = yes; then 3423 if test "$cross_compiling" = yes; then : 3476 3424 : 3477 3425 else 3478 cat >conftest.$ac_ext <<_ACEOF 3479 /* confdefs.h. */ 3480 _ACEOF 3481 cat confdefs.h >>conftest.$ac_ext 3482 cat >>conftest.$ac_ext <<_ACEOF 3426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3483 3427 /* end confdefs.h. */ 3484 3428 #include <ctype.h> … … 3507 3451 } 3508 3452 _ACEOF 3509 rm -f conftest$ac_exeext 3510 if { (ac_try="$ac_link" 3511 case "(($ac_try" in 3512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3513 *) ac_try_echo=$ac_try;; 3514 esac 3515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3516 $as_echo "$ac_try_echo") >&5 3517 (eval "$ac_link") 2>&5 3518 ac_status=$? 3519 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3520 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3521 { (case "(($ac_try" in 3522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3523 *) ac_try_echo=$ac_try;; 3524 esac 3525 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3526 $as_echo "$ac_try_echo") >&5 3527 (eval "$ac_try") 2>&5 3528 ac_status=$? 3529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3530 (exit $ac_status); }; }; then 3531 : 3532 else 3533 $as_echo "$as_me: program exited with status $ac_status" >&5 3534 $as_echo "$as_me: failed program was:" >&5 3535 sed 's/^/| /' conftest.$ac_ext >&5 3536 3537 ( exit $ac_status ) 3538 ac_cv_header_stdc=no 3539 fi 3540 rm -rf conftest.dSYM 3541 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3542 fi 3543 3544 3545 fi 3546 fi 3547 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3453 if ac_fn_c_try_run "$LINENO"; then : 3454 3455 else 3456 ac_cv_header_stdc=no 3457 fi 3458 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3459
