Changeset 26663
- Timestamp:
- 01/10/13 15:58:46 (8 years ago)
- Location:
- main/trunk/greenstone2/build-src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/build-src/configure
r25149 r26663 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.63. 3 # Generated by GNU Autoconf 2.68. 4 # 4 5 # 5 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 8 # Foundation, Inc. 9 # 10 # 7 11 # This configure script is free software; the Free Software Foundation 8 12 # gives unlimited permission to copy, distribute and modify it. 9 ## -------------------- -##10 ## M4sh Initialization. 11 ## -------------------- -##13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 12 16 13 17 # Be more Bourne compatible 14 18 DUALCASE=1; export DUALCASE # for MKS sh 15 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 : 16 20 emulate sh 17 21 NULLCMD=: … … 21 25 setopt NO_GLOB_SUBST 22 26 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 25 32 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 33 # Avoid depending upon Character Ranges. 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37 as_cr_digits='0123456789' 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 33 fi 34 39 35 40 36 as_nl=' … … 45 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 47 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 48 50 as_echo='printf %s\n' 49 51 as_echo_n='printf %s' … … 56 58 as_echo_n_body='eval 57 59 arg=$1; 58 case $arg in 60 case $arg in #( 59 61 *"$as_nl"*) 60 62 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 79 81 fi 80 82 81 # Support unset when possible.82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then83 as_unset=unset84 else85 as_unset=false86 fi87 88 83 89 84 # IFS … … 95 90 96 91 # Find who we are. Look in the path if we contain no directory separator. 97 case $0 in 92 as_myself= 93 case $0 in #(( 98 94 *[\\/]* ) as_myself=$0 ;; 99 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 102 98 IFS=$as_save_IFS 103 99 test -z "$as_dir" && as_dir=. 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break105 done100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 106 102 IFS=$as_save_IFS 107 103 … … 115 111 if test ! -f "$as_myself"; then 116 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 117 { (exit 1); exit 1; } 118 fi 119 120 # Work around bugs in pre-3.0 UWIN ksh. 121 for as_var in ENV MAIL MAILPATH 122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 113 exit 1 114 fi 115 116 # Unset variables that we do not need and which cause bugs (e.g. in 117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118 # suppresses any "Segmentation fault" message there. '((' could 119 # trigger a bug in pdksh 5.2.14. 120 for as_var in BASH_ENV ENV MAIL MAILPATH 121 do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123 123 done 124 124 PS1='$ ' … … 132 132 export LANGUAGE 133 133 134 # Required to use basename. 134 # CDPATH. 135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137 if test "x$CONFIG_SHELL" = x; then 138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 139 emulate sh 140 NULLCMD=: 141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 142 # is contrary to our usage. Disable this feature. 143 alias -g '\${1+\"\$@\"}'='\"\$@\"' 144 setopt NO_GLOB_SUBST 145 else 146 case \`(set -o) 2>/dev/null\` in #( 147 *posix*) : 148 set -o posix ;; #( 149 *) : 150 ;; 151 esac 152 fi 153 " 154 as_required="as_fn_return () { (exit \$1); } 155 as_fn_success () { as_fn_return 0; } 156 as_fn_failure () { as_fn_return 1; } 157 as_fn_ret_success () { return 0; } 158 as_fn_ret_failure () { return 1; } 159 160 exitcode=0 161 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 166 167 else 168 exitcode=1; echo positional parameters were not saved. 169 fi 170 test x\$exitcode = x0 || exit 1" 171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 175 test \$(( 1 + 1 )) = 2 || exit 1" 176 if (eval "$as_required") 2>/dev/null; then : 177 as_have_required=yes 178 else 179 as_have_required=no 180 fi 181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 182 183 else 184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 185 as_found=false 186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 187 do 188 IFS=$as_save_IFS 189 test -z "$as_dir" && as_dir=. 190 as_found=: 191 case $as_dir in #( 192 /*) 193 for as_base in sh bash ksh sh5; do 194 # Try only shells that exist, to save several forks. 195 as_shell=$as_dir/$as_base 196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 198 CONFIG_SHELL=$as_shell as_have_required=yes 199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 200 break 2 201 fi 202 fi 203 done;; 204 esac 205 as_found=false 206 done 207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 209 CONFIG_SHELL=$SHELL as_have_required=yes 210 fi; } 211 IFS=$as_save_IFS 212 213 214 if test "x$CONFIG_SHELL" != x; then : 215 # We cannot yet assume a decent shell, so we have to provide a 216 # neutralization value for shells without unset; and this also 217 # works around shells that cannot unset nonexistent variables. 218 # Preserve -v and -x to the replacement shell. 219 BASH_ENV=/dev/null 220 ENV=/dev/null 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 222 export CONFIG_SHELL 223 case $- in # (((( 224 *v*x* | *x*v* ) as_opts=-vx ;; 225 *v* ) as_opts=-v ;; 226 *x* ) as_opts=-x ;; 227 * ) as_opts= ;; 228 esac 229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 230 fi 231 232 if test x$as_have_required = xno; then : 233 $as_echo "$0: This script requires a shell more modern than all" 234 $as_echo "$0: the shells that I found on your system." 235 if test x${ZSH_VERSION+set} = xset ; then 236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 237 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 238 else 239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 240 $0: including any error possibly output before this 241 $0: message. Then install a modern shell, or manually run 242 $0: the script under such a shell if you do have one." 243 fi 244 exit 1 245 fi 246 fi 247 fi 248 SHELL=${CONFIG_SHELL-/bin/sh} 249 export SHELL 250 # Unset more variables known to interfere with behavior of common tools. 251 CLICOLOR_FORCE= GREP_OPTIONS= 252 unset CLICOLOR_FORCE GREP_OPTIONS 253 254 ## --------------------- ## 255 ## M4sh Shell Functions. ## 256 ## --------------------- ## 257 # as_fn_unset VAR 258 # --------------- 259 # Portably unset VAR. 260 as_fn_unset () 261 { 262 { eval $1=; unset $1;} 263 } 264 as_unset=as_fn_unset 265 266 # as_fn_set_status STATUS 267 # ----------------------- 268 # Set $? to STATUS, without forking. 269 as_fn_set_status () 270 { 271 return $1 272 } # as_fn_set_status 273 274 # as_fn_exit STATUS 275 # ----------------- 276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 277 as_fn_exit () 278 { 279 set +e 280 as_fn_set_status $1 281 exit $1 282 } # as_fn_exit 283 284 # as_fn_mkdir_p 285 # ------------- 286 # Create "$as_dir" as a directory, including parents if necessary. 287 as_fn_mkdir_p () 288 { 289 290 case $as_dir in #( 291 -*) as_dir=./$as_dir;; 292 esac 293 test -d "$as_dir" || eval $as_mkdir_p || { 294 as_dirs= 295 while :; do 296 case $as_dir in #( 297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 298 *) as_qdir=$as_dir;; 299 esac 300 as_dirs="'$as_qdir' $as_dirs" 301 as_dir=`$as_dirname -- "$as_dir" || 302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 303 X"$as_dir" : 'X\(//\)[^/]' \| \ 304 X"$as_dir" : 'X\(//\)$' \| \ 305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 306 $as_echo X"$as_dir" | 307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\/\)[^/].*/{ 312 s//\1/ 313 q 314 } 315 /^X\(\/\/\)$/{ 316 s//\1/ 317 q 318 } 319 /^X\(\/\).*/{ 320 s//\1/ 321 q 322 } 323 s/.*/./; q'` 324 test -d "$as_dir" && break 325 done 326 test -z "$as_dirs" || eval "mkdir $as_dirs" 327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 328 329 330 } # as_fn_mkdir_p 331 # as_fn_append VAR VALUE 332 # ---------------------- 333 # Append the text in VALUE to the end of the definition contained in VAR. Take 334 # advantage of any shell optimizations that allow amortized linear growth over 335 # repeated appends, instead of the typical quadratic growth present in naive 336 # implementations. 337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 338 eval 'as_fn_append () 339 { 340 eval $1+=\$2 341 }' 342 else 343 as_fn_append () 344 { 345 eval $1=\$$1\$2 346 } 347 fi # as_fn_append 348 349 # as_fn_arith ARG... 350 # ------------------ 351 # Perform arithmetic evaluation on the ARGs, and store the result in the 352 # global $as_val. Take advantage of shells that can avoid forks. The arguments 353 # must be portable across $(()) and expr. 354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 355 eval 'as_fn_arith () 356 { 357 as_val=$(( $* )) 358 }' 359 else 360 as_fn_arith () 361 { 362 as_val=`expr "$@" || test $? -eq 1` 363 } 364 fi # as_fn_arith 365 366 367 # as_fn_error STATUS ERROR [LINENO LOG_FD] 368 # ---------------------------------------- 369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 371 # script with STATUS, using 1 if that was 0. 372 as_fn_error () 373 { 374 as_status=$1; test $as_status -eq 0 && as_status=1 375 if test "$4"; then 376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 378 fi 379 $as_echo "$as_me: error: $2" >&2 380 as_fn_exit $as_status 381 } # as_fn_error 382 135 383 if expr a : '\(a\)' >/dev/null 2>&1 && 136 384 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 146 394 fi 147 395 148 149 # Name of the executable. 396 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 397 as_dirname=dirname 398 else 399 as_dirname=false 400 fi 401 150 402 as_me=`$as_basename -- "$0" || 151 403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 167 419 s/.*/./; q'` 168 420 169 # CDPATH. 170 $as_unset CDPATH 171 172 173 if test "x$CONFIG_SHELL" = x; then 174 if (eval ":") 2>/dev/null; then 175 as_have_required=yes 176 else 177 as_have_required=no 178 fi 179 180 if test $as_have_required = yes && (eval ": 181 (as_func_return () { 182 (exit \$1) 183 } 184 as_func_success () { 185 as_func_return 0 186 } 187 as_func_failure () { 188 as_func_return 1 189 } 190 as_func_ret_success () { 191 return 0 192 } 193 as_func_ret_failure () { 194 return 1 195 } 196 197 exitcode=0 198 if as_func_success; then 199 : 200 else 201 exitcode=1 202 echo as_func_success failed. 203 fi 204 205 if as_func_failure; then 206 exitcode=1 207 echo as_func_failure succeeded. 208 fi 209 210 if as_func_ret_success; then 211 : 212 else 213 exitcode=1 214 echo as_func_ret_success failed. 215 fi 216 217 if as_func_ret_failure; then 218 exitcode=1 219 echo as_func_ret_failure succeeded. 220 fi 221 222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 223 : 224 else 225 exitcode=1 226 echo positional parameters were not saved. 227 fi 228 229 test \$exitcode = 0) || { (exit 1); exit 1; } 230 231 ( 232 as_lineno_1=\$LINENO 233 as_lineno_2=\$LINENO 234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 236 ") 2> /dev/null; then 237 : 238 else 239 as_candidate_shells= 240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 242 do 243 IFS=$as_save_IFS 244 test -z "$as_dir" && as_dir=. 245 case $as_dir in 246 /*) 247 for as_base in sh bash ksh sh5; do 248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 249 done;; 250 esac 251 done 252 IFS=$as_save_IFS 253 254 255 for as_shell in $as_candidate_shells $SHELL; do 256 # Try only shells that exist, to save several forks. 257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 258 { ("$as_shell") 2> /dev/null <<\_ASEOF 259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 260 emulate sh 261 NULLCMD=: 262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 263 # is contrary to our usage. Disable this feature. 264 alias -g '${1+"$@"}'='"$@"' 265 setopt NO_GLOB_SUBST 266 else 267 case `(set -o) 2>/dev/null` in 268 *posix*) set -o posix ;; 269 esac 270 271 fi 272 273 274 : 275 _ASEOF 276 }; then 277 CONFIG_SHELL=$as_shell 278 as_have_required=yes 279 if { "$as_shell" 2> /dev/null <<\_ASEOF 280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 281 emulate sh 282 NULLCMD=: 283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 284 # is contrary to our usage. Disable this feature. 285 alias -g '${1+"$@"}'='"$@"' 286 setopt NO_GLOB_SUBST 287 else 288 case `(set -o) 2>/dev/null` in 289 *posix*) set -o posix ;; 290 esac 291 292 fi 293 294 295 : 296 (as_func_return () { 297 (exit $1) 298 } 299 as_func_success () { 300 as_func_return 0 301 } 302 as_func_failure () { 303 as_func_return 1 304 } 305 as_func_ret_success () { 306 return 0 307 } 308 as_func_ret_failure () { 309 return 1 310 } 311 312 exitcode=0 313 if as_func_success; then 314 : 315 else 316 exitcode=1 317 echo as_func_success failed. 318 fi 319 320 if as_func_failure; then 321 exitcode=1 322 echo as_func_failure succeeded. 323 fi 324 325 if as_func_ret_success; then 326 : 327 else 328 exitcode=1 329 echo as_func_ret_success failed. 330 fi 331 332 if as_func_ret_failure; then 333 exitcode=1 334 echo as_func_ret_failure succeeded. 335 fi 336 337 if ( set x; as_func_ret_success y && test x = "$1" ); then 338 : 339 else 340 exitcode=1 341 echo positional parameters were not saved. 342 fi 343 344 test $exitcode = 0) || { (exit 1); exit 1; } 345 346 ( 347 as_lineno_1=$LINENO 348 as_lineno_2=$LINENO 349 test "x$as_lineno_1" != "x$as_lineno_2" && 350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 351 352 _ASEOF 353 }; then 354 break 355 fi 356 357 fi 358 359 done 360 361 if test "x$CONFIG_SHELL" != x; then 362 for as_var in BASH_ENV ENV 363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 364 done 365 export CONFIG_SHELL 366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 367 fi 368 369 370 if test $as_have_required = no; then 371 echo This script requires a shell more modern than all the 372 echo shells that I found on your system. Please install a 373 echo modern shell, or manually run the script under such a 374 echo shell if you do have one. 375 { (exit 1); exit 1; } 376 fi 377 378 379 fi 380 381 fi 382 383 384 385 (eval "as_func_return () { 386 (exit \$1) 387 } 388 as_func_success () { 389 as_func_return 0 390 } 391 as_func_failure () { 392 as_func_return 1 393 } 394 as_func_ret_success () { 395 return 0 396 } 397 as_func_ret_failure () { 398 return 1 399 } 400 401 exitcode=0 402 if as_func_success; then 403 : 404 else 405 exitcode=1 406 echo as_func_success failed. 407 fi 408 409 if as_func_failure; then 410 exitcode=1 411 echo as_func_failure succeeded. 412 fi 413 414 if as_func_ret_success; then 415 : 416 else 417 exitcode=1 418 echo as_func_ret_success failed. 419 fi 420 421 if as_func_ret_failure; then 422 exitcode=1 423 echo as_func_ret_failure succeeded. 424 fi 425 426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 427 : 428 else 429 exitcode=1 430 echo positional parameters were not saved. 431 fi 432 433 test \$exitcode = 0") || { 434 echo No shell found that supports shell functions. 435 echo Please tell bug-autoconf@gnu.org about your system, 436 echo including any error possibly output before this message. 437 echo This can help us improve future autoconf versions. 438 echo Configuration will now proceed without shell functions. 439 } 440 441 442 443 as_lineno_1=$LINENO 444 as_lineno_2=$LINENO 445 test "x$as_lineno_1" != "x$as_lineno_2" && 446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 447 448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 449 # uniformly replaced by the line number. The first 'sed' inserts a 450 # line-number line after each line using $LINENO; the second 'sed' 451 # does the real work. The second script uses 'N' to pair each 452 # line-number line with the line containing $LINENO, and appends 453 # trailing '-' during substitution so that $LINENO is not a special 454 # case at line end. 455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 456 # scripts with optimization help from Paolo Bonzini. Blame Lee 457 # E. McMahon (1931-1989) for sed's syntax. :-) 421 # Avoid depending upon Character Ranges. 422 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 423 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 424 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 425 as_cr_digits='0123456789' 426 as_cr_alnum=$as_cr_Letters$as_cr_digits 427 428 429 as_lineno_1=$LINENO as_lineno_1a=$LINENO 430 as_lineno_2=$LINENO as_lineno_2a=$LINENO 431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 458 434 sed -n ' 459 435 p … … 472 448 ' >$as_me.lineno && 473 449 chmod +x "$as_me.lineno" || 474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 475 { (exit 1); exit 1; }; } 450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 476 451 477 452 # Don't try to exec as it changes $[0], causing all sort of problems … … 483 458 } 484 459 485 486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then487 as_dirname=dirname488 else489 as_dirname=false490 fi491 492 460 ECHO_C= ECHO_N= ECHO_T= 493 case `echo -n x` in 461 case `echo -n x` in #((((( 494 462 -n*) 495 case `echo 'x \c'` in463 case `echo 'xy\c'` in 496 464 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 497 *) ECHO_C='\c';; 465 xy) ECHO_C='\c';; 466 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 467 ECHO_T=' ';; 498 468 esac;; 499 469 *) 500 470 ECHO_N='-n';; 501 471 esac 502 if expr a : '\(a\)' >/dev/null 2>&1 &&503 test "X`expr 00001 : '.*\(...\)'`" = X001; then504 as_expr=expr505 else506 as_expr=false507 fi508 472 509 473 rm -f conf$$ conf$$.exe conf$$.file … … 535 499 536 500 if mkdir -p . 2>/dev/null; then 537 as_mkdir_p= :501 as_mkdir_p='mkdir -p "$as_dir"' 538 502 else 539 503 test -d ./-p && rmdir ./-p … … 554 518 test -d "$1/."; 555 519 else 556 case $1 in 520 case $1 in #( 557 521 -*)set "./$1";; 558 522 esac; 559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 560 524 ???[sx]*):;;*)false;;esac;fi 561 525 '\'' sh … … 571 535 572 536 573 574 exec 7<&0 </dev/null6>&1537 test -n "$DJDIR" || exec 7<&0 </dev/null 538 exec 6>&1 575 539 576 540 # Name of the host. 577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 578 542 # so uname gets run too. 579 543 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 590 554 MFLAGS= 591 555 MAKEFLAGS= 592 SHELL=${CONFIG_SHELL-/bin/sh}593 556 594 557 # Identity of this package. … … 598 561 PACKAGE_STRING= 599 562 PACKAGE_BUGREPORT= 563 PACKAGE_URL= 600 564 601 565 # Factoring default headers for most tests. … … 729 693 prefix 730 694 exec_prefix 695 PACKAGE_URL 731 696 PACKAGE_BUGREPORT 732 697 PACKAGE_STRING … … 828 793 829 794 case $ac_option in 830 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 831 *) ac_optarg=yes ;; 795 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 796 *=) ac_optarg= ;; 797 *) ac_optarg=yes ;; 832 798 esac 833 799 … … 874 840 # Reject names that are not valid shell variable names. 875 841 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 876 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 877 { (exit 1); exit 1; }; } 842 as_fn_error $? "invalid feature name: $ac_useropt" 878 843 ac_useropt_orig=$ac_useropt 879 844 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 901 866 # Reject names that are not valid shell variable names. 902 867 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 903 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 904 { (exit 1); exit 1; }; } 868 as_fn_error $? "invalid feature name: $ac_useropt" 905 869 ac_useropt_orig=$ac_useropt 906 870 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1106 1070 # Reject names that are not valid shell variable names. 1107 1071 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1108 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1109 { (exit 1); exit 1; }; } 1072 as_fn_error $? "invalid package name: $ac_useropt" 1110 1073 ac_useropt_orig=$ac_useropt 1111 1074 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1123 1086 # Reject names that are not valid shell variable names. 1124 1087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1125 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1126 { (exit 1); exit 1; }; } 1088 as_fn_error $? "invalid package name: $ac_useropt" 1127 1089 ac_useropt_orig=$ac_useropt 1128 1090 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1154 1116 x_libraries=$ac_optarg ;; 1155 1117 1156 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1157 Try \`$0 --help' for more information." >&2 1158 { (exit 1); exit 1; }; } 1118 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1119 Try \`$0 --help' for more information" 1159 1120 ;; 1160 1121 … … 1162 1123 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1163 1124 # Reject names that are not valid shell variable names. 1164 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1165 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1166 { (exit 1); exit 1; }; } 1125 case $ac_envvar in #( 1126 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1127 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1128 esac 1167 1129 eval $ac_envvar=\$ac_optarg 1168 1130 export $ac_envvar ;; … … 1173 1135 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1174 1136 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1175 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1137 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1176 1138 ;; 1177 1139 … … 1181 1143 if test -n "$ac_prev"; then 1182 1144 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1183 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1184 { (exit 1); exit 1; }; } 1145 as_fn_error $? "missing argument to $ac_option" 1185 1146 fi 1186 1147 … … 1188 1149 case $enable_option_checking in 1189 1150 no) ;; 1190 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1191 { (exit 1); exit 1; }; } ;; 1151 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1192 1152 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1193 1153 esac … … 1212 1172 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1213 1173 esac 1214 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1215 { (exit 1); exit 1; }; } 1174 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1216 1175 done 1217 1176 … … 1227 1186 if test "x$build_alias" = x; then 1228 1187 cross_compiling=maybe 1229 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1230 If a cross compiler is detected then cross compile mode will be used ." >&21188 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1189 If a cross compiler is detected then cross compile mode will be used" >&2 1231 1190 elif test "x$build_alias" != "x$host_alias"; then 1232 1191 cross_compiling=yes … … 1243 1202 ac_ls_di=`ls -di .` && 1244 1203 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1245 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1246 { (exit 1); exit 1; }; } 1204 as_fn_error $? "working directory cannot be determined" 1247 1205 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1248 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1249 { (exit 1); exit 1; }; } 1206 as_fn_error $? "pwd does not report name of working directory" 1250 1207 1251 1208 … … 1286 1243 if test ! -r "$srcdir/$ac_unique_file"; then 1287 1244 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1288 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1289 { (exit 1); exit 1; }; } 1245 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1290 1246 fi 1291 1247 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1292 1248 ac_abs_confdir=`( 1293 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1294 { (exit 1); exit 1; }; } 1249 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1295 1250 pwd)` 1296 1251 # When building in place, set srcdir=. … … 1332 1287 --help=recursive display the short help of all the included packages 1333 1288 -V, --version display version information and exit 1334 -q, --quiet, --silent do not print \`checking ...' messages1289 -q, --quiet, --silent do not print \`checking ...' messages 1335 1290 --cache-file=FILE cache test results in FILE [disabled] 1336 1291 -C, --config-cache alias for \`--cache-file=config.cache' … … 1414 1369 nonstandard directory <lib dir> 1415 1370 LIBS libraries to pass to the linker, e.g. -l<library> 1416 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1371 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1417 1372 you have headers in a nonstandard directory <include dir> 1418 1373 CXX C++ compiler command 1419 1374 CXXFLAGS C++ compiler flags 1420 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1421 the first program found out of: `bison -y', `byacc', `yacc'. 1375 YACC The `Yet Another Compiler Compiler' implementation to use. 1376 Defaults to the first program found out of: `bison -y', `byacc', 1377 `yacc'. 1422 1378 YFLAGS The list of arguments that will be passed by default to $YACC. 1423 1379 This script will default YFLAGS to the empty string to avoid a … … 1428 1384 it to find libraries and programs with nonstandard names/locations. 1429 1385 1386 Report bugs to the package provider. 1430 1387 _ACEOF 1431 1388 ac_status=$? … … 1491 1448 cat <<\_ACEOF 1492 1449 configure 1493 generated by GNU Autoconf 2.63 1494 1495 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1496 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1450 generated by GNU Autoconf 2.68 1451 1452 Copyright (C) 2010 Free Software Foundation, Inc. 1497 1453 This configure script is free software; the Free Software Foundation 1498 1454 gives unlimited permission to copy, distribute and modify it. … … 1500 1456 exit 1501 1457 fi 1458 1459 ## ------------------------ ## 1460 ## Autoconf initialization. ## 1461 ## ------------------------ ## 1462 1463 # ac_fn_c_try_compile LINENO 1464 # -------------------------- 1465 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1466 ac_fn_c_try_compile () 1467 { 1468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1469 rm -f conftest.$ac_objext 1470 if { { ac_try="$ac_compile" 1471 case "(($ac_try" in 1472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1473 *) ac_try_echo=$ac_try;; 1474 esac 1475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1476 $as_echo "$ac_try_echo"; } >&5 1477 (eval "$ac_compile") 2>conftest.err 1478 ac_status=$? 1479 if test -s conftest.err; then 1480 grep -v '^ *+' conftest.err >conftest.er1 1481 cat conftest.er1 >&5 1482 mv -f conftest.er1 conftest.err 1483 fi 1484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1485 test $ac_status = 0; } && { 1486 test -z "$ac_c_werror_flag" || 1487 test ! -s conftest.err 1488 } && test -s conftest.$ac_objext; then : 1489 ac_retval=0 1490 else 1491 $as_echo "$as_me: failed program was:" >&5 1492 sed 's/^/| /' conftest.$ac_ext >&5 1493 1494 ac_retval=1 1495 fi 1496 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1497 as_fn_set_status $ac_retval 1498 1499 } # ac_fn_c_try_compile 1500 1501 # ac_fn_cxx_try_compile LINENO 1502 # ---------------------------- 1503 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1504 ac_fn_cxx_try_compile () 1505 { 1506 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1507 rm -f conftest.$ac_objext 1508 if { { ac_try="$ac_compile" 1509 case "(($ac_try" in 1510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1511 *) ac_try_echo=$ac_try;; 1512 esac 1513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1514 $as_echo "$ac_try_echo"; } >&5 1515 (eval "$ac_compile") 2>conftest.err 1516 ac_status=$? 1517 if test -s conftest.err; then 1518 grep -v '^ *+' conftest.err >conftest.er1 1519 cat conftest.er1 >&5 1520 mv -f conftest.er1 conftest.err 1521 fi 1522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1523 test $ac_status = 0; } && { 1524 test -z "$ac_cxx_werror_flag" || 1525 test ! -s conftest.err 1526 } && test -s conftest.$ac_objext; then : 1527 ac_retval=0 1528 else 1529 $as_echo "$as_me: failed program was:" >&5 1530 sed 's/^/| /' conftest.$ac_ext >&5 1531 1532 ac_retval=1 1533 fi 1534 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1535 as_fn_set_status $ac_retval 1536 1537 } # ac_fn_cxx_try_compile 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; } > conftest.i && { 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; ${as_lineno_stack:+:} unset as_lineno 1572 as_fn_set_status $ac_retval 1573 1574 } # ac_fn_c_try_cpp 1575 1576 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1577 # ------------------------------------------------------- 1578 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1579 # the include files in INCLUDES and setting the cache variable VAR 1580 # accordingly. 1581 ac_fn_c_check_header_mongrel () 1582 { 1583 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1584 if eval \${$3+:} false; then : 1585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1586 $as_echo_n "checking for $2... " >&6; } 1587 if eval \${$3+:} false; then : 1588 $as_echo_n "(cached) " >&6 1589 fi 1590 eval ac_res=\$$3 1591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1592 $as_echo "$ac_res" >&6; } 1593 else 1594 # Is the header compilable? 1595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1596 $as_echo_n "checking $2 usability... " >&6; } 1597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1598 /* end confdefs.h. */ 1599 $4 1600 #include <$2> 1601 _ACEOF 1602 if ac_fn_c_try_compile "$LINENO"; then : 1603 ac_header_compiler=yes 1604 else 1605 ac_header_compiler=no 1606 fi 1607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1609 $as_echo "$ac_header_compiler" >&6; } 1610 1611 # Is the header present? 1612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1613 $as_echo_n "checking $2 presence... " >&6; } 1614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1615 /* end confdefs.h. */ 1616 #include <$2> 1617 _ACEOF 1618 if ac_fn_c_try_cpp "$LINENO"; then : 1619 ac_header_preproc=yes 1620 else 1621 ac_header_preproc=no 1622 fi 1623 rm -f conftest.err conftest.i conftest.$ac_ext 1624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1625 $as_echo "$ac_header_preproc" >&6; } 1626 1627 # So? What about this header? 1628 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1629 yes:no: ) 1630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1631 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1633 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1634 ;; 1635 no:yes:* ) 1636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1637 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1639 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1641 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1643 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1645 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1646 ;; 1647 esac 1648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1649 $as_echo_n "checking for $2... " >&6; } 1650 if eval \${$3+:} false; then : 1651 $as_echo_n "(cached) " >&6 1652 else 1653 eval "$3=\$ac_header_compiler" 1654 fi 1655 eval ac_res=\$$3 1656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1657 $as_echo "$ac_res" >&6; } 1658 fi 1659 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1660 1661 } # ac_fn_c_check_header_mongrel 1662 1663 # ac_fn_c_try_run LINENO 1664 # ---------------------- 1665 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1666 # that executables *can* be run. 1667 ac_fn_c_try_run () 1668 { 1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1670 if { { ac_try="$ac_link" 1671 case "(($ac_try" in 1672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1673 *) ac_try_echo=$ac_try;; 1674 esac 1675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1676 $as_echo "$ac_try_echo"; } >&5 1677 (eval "$ac_link") 2>&5 1678 ac_status=$? 1679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1680 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1681 { { case "(($ac_try" in 1682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1683 *) ac_try_echo=$ac_try;; 1684 esac 1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1686 $as_echo "$ac_try_echo"; } >&5 1687 (eval "$ac_try") 2>&5 1688 ac_status=$? 1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1690 test $ac_status = 0; }; }; then : 1691 ac_retval=0 1692 else 1693 $as_echo "$as_me: program exited with status $ac_status" >&5 1694 $as_echo "$as_me: failed program was:" >&5 1695 sed 's/^/| /' conftest.$ac_ext >&5 1696 1697 ac_retval=$ac_status 1698 fi 1699 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1700 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1701 as_fn_set_status $ac_retval 1702 1703 } # ac_fn_c_try_run 1704 1705 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1706 # ------------------------------------------------------- 1707 # Tests whether HEADER exists and can be compiled using the include files in 1708 # INCLUDES, setting the cache variable VAR accordingly. 1709 ac_fn_c_check_header_compile () 1710 { 1711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1713 $as_echo_n "checking for $2... " >&6; } 1714 if eval \${$3+:} false; then : 1715 $as_echo_n "(cached) " >&6 1716 else 1717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1718 /* end confdefs.h. */ 1719 $4 1720 #include <$2> 1721 _ACEOF 1722 if ac_fn_c_try_compile "$LINENO"; then : 1723 eval "$3=yes" 1724 else 1725 eval "$3=no" 1726 fi 1727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1728 fi 1729 eval ac_res=\$$3 1730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1731 $as_echo "$ac_res" >&6; } 1732 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1733 1734 } # ac_fn_c_check_header_compile 1735 1736 # ac_fn_c_try_link LINENO 1737 # ----------------------- 1738 # Try to link conftest.$ac_ext, and return whether this succeeded. 1739 ac_fn_c_try_link () 1740 { 1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1742 rm -f conftest.$ac_objext conftest$ac_exeext 1743 if { { ac_try="$ac_link" 1744 case "(($ac_try" in 1745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1746 *) ac_try_echo=$ac_try;; 1747 esac 1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1749 $as_echo "$ac_try_echo"; } >&5 1750 (eval "$ac_link") 2>conftest.err 1751 ac_status=$? 1752 if test -s conftest.err; then 1753 grep -v '^ *+' conftest.err >conftest.er1 1754 cat conftest.er1 >&5 1755 mv -f conftest.er1 conftest.err 1756 fi 1757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1758 test $ac_status = 0; } && { 1759 test -z "$ac_c_werror_flag" || 1760 test ! -s conftest.err 1761 } && test -s conftest$ac_exeext && { 1762 test "$cross_compiling" = yes || 1763 $as_test_x conftest$ac_exeext 1764 }; then : 1765 ac_retval=0 1766 else 1767 $as_echo "$as_me: failed program was:" >&5 1768 sed 's/^/| /' conftest.$ac_ext >&5 1769 1770 ac_retval=1 1771 fi 1772 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1773 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1774 # interfere with the next link command; also delete a directory that is 1775 # left behind by Apple's compiler. We do this before executing the actions. 1776 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1777 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1778 as_fn_set_status $ac_retval 1779 1780 } # ac_fn_c_try_link 1781 1782 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1783 # ------------------------------------------- 1784 # Tests whether TYPE exists after having included INCLUDES, setting cache 1785 # variable VAR accordingly. 1786 ac_fn_c_check_type () 1787 { 1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1790 $as_echo_n "checking for $2... " >&6; } 1791 if eval \${$3+:} false; then : 1792 $as_echo_n "(cached) " >&6 1793 else 1794 eval "$3=no" 1795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1796 /* end confdefs.h. */ 1797 $4 1798 int 1799 main () 1800 { 1801 if (sizeof ($2)) 1802 return 0; 1803 ; 1804 return 0; 1805 } 1806 _ACEOF 1807 if ac_fn_c_try_compile "$LINENO"; then : 1808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1809 /* end confdefs.h. */ 1810 $4 1811 int 1812 main () 1813 { 1814 if (sizeof (($2))) 1815 return 0; 1816 ; 1817 return 0; 1818 } 1819 _ACEOF 1820 if ac_fn_c_try_compile "$LINENO"; then : 1821 1822 else 1823 eval "$3=yes" 1824 fi 1825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1826 fi 1827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1828 fi 1829 eval ac_res=\$$3 1830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1831 $as_echo "$ac_res" >&6; } 1832 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1833 1834 } # ac_fn_c_check_type 1835 1836 # ac_fn_c_check_func LINENO FUNC VAR 1837 # ---------------------------------- 1838 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1839 ac_fn_c_check_func () 1840 { 1841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1843 $as_echo_n "checking for $2... " >&6; } 1844 if eval \${$3+:} false; then : 1845 $as_echo_n "(cached) " >&6 1846 else 1847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1848 /* end confdefs.h. */ 1849 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1850 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1851 #define $2 innocuous_$2 1852 1853 /* System header to define __stub macros and hopefully few prototypes, 1854 which can conflict with char $2 (); below. 1855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1856 <limits.h> exists even on freestanding compilers. */ 1857 1858 #ifdef __STDC__ 1859 # include <limits.h> 1860 #else 1861 # include <assert.h> 1862 #endif 1863 1864 #undef $2 1865 1866 /* Override any GCC internal prototype to avoid an error. 1867 Use char because int might match the return type of a GCC 1868 builtin and then its argument prototype would still apply. */ 1869 #ifdef __cplusplus 1870 extern "C" 1871 #endif 1872 char $2 (); 1873 /* The GNU C library defines this for functions which it implements 1874 to always fail with ENOSYS. Some functions are actually named 1875 something starting with __ and the normal name is an alias. */ 1876 #if defined __stub_$2 || defined __stub___$2 1877 choke me 1878 #endif 1879 1880 int 1881 main () 1882 { 1883 return $2 (); 1884 ; 1885 return 0; 1886 } 1887 _ACEOF 1888 if ac_fn_c_try_link "$LINENO"; then : 1889 eval "$3=yes" 1890 else 1891 eval "$3=no" 1892 fi 1893 rm -f core conftest.err conftest.$ac_objext \ 1894 conftest$ac_exeext conftest.$ac_ext 1895 fi 1896 eval ac_res=\$$3 1897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1898 $as_echo "$ac_res" >&6; } 1899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1900 1901 } # ac_fn_c_check_func 1902 1903 # ac_fn_cxx_try_run LINENO 1904 # ------------------------ 1905 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1906 # that executables *can* be run. 1907 ac_fn_cxx_try_run () 1908 { 1909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1910 if { { ac_try="$ac_link" 1911 case "(($ac_try" in 1912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1913 *) ac_try_echo=$ac_try;; 1914 esac 1915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1916 $as_echo "$ac_try_echo"; } >&5 1917 (eval "$ac_link") 2>&5 1918 ac_status=$? 1919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1920 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1921 { { case "(($ac_try" in 1922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1923 *) ac_try_echo=$ac_try;; 1924 esac 1925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1926 $as_echo "$ac_try_echo"; } >&5 1927 (eval "$ac_try") 2>&5 1928 ac_status=$? 1929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1930 test $ac_status = 0; }; }; then : 1931 ac_retval=0 1932 else 1933 $as_echo "$as_me: program exited with status $ac_status" >&5 1934 $as_echo "$as_me: failed program was:" >&5 1935 sed 's/^/| /' conftest.$ac_ext >&5 1936 1937 ac_retval=$ac_status 1938 fi 1939 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1941 as_fn_set_status $ac_retval 1942 1943 } # ac_fn_cxx_try_run 1502 1944 cat >config.log <<_ACEOF 1503 1945 This file contains any messages produced by compilers while … … 1505 1947 1506 1948 It was created by $as_me, which was 1507 generated by GNU Autoconf 2.6 3. Invocation command line was1949 generated by GNU Autoconf 2.68. Invocation command line was 1508 1950 1509 1951 $ $0 $@ … … 1541 1983 IFS=$as_save_IFS 1542 1984 test -z "$as_dir" && as_dir=. 1543 $as_echo "PATH: $as_dir"1544 done1985 $as_echo "PATH: $as_dir" 1986 done 1545 1987 IFS=$as_save_IFS 1546 1988 … … 1579 2021 esac 1580 2022 case $ac_pass in 1581 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2023 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1582 2024 2) 1583 a c_configure_args1="$ac_configure_args1'$ac_arg'"2025 as_fn_append ac_configure_args1 " '$ac_arg'" 1584 2026 if test $ac_must_keep_next = true; then 1585 2027 ac_must_keep_next=false # Got value, back to normal. … … 1597 2039 esac 1598 2040 fi 1599 a c_configure_args="$ac_configure_args'$ac_arg'"2041 as_fn_append ac_configure_args " '$ac_arg'" 1600 2042 ;; 1601 2043 esac 1602 2044 done 1603 2045 done 1604 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1605 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2046 { ac_configure_args0=; unset ac_configure_args0;} 2047 { ac_configure_args1=; unset ac_configure_args1;} 1606 2048 1607 2049 # When interrupted or exit'd, cleanup temporary files, and complete … … 1615 2057 echo 1616 2058 1617 cat <<\_ASBOX 1618 ## ---------------- ## 2059 $as_echo "## ---------------- ## 1619 2060 ## Cache variables. ## 1620 ## ---------------- ## 1621 _ASBOX 2061 ## ---------------- ##" 1622 2062 echo 1623 2063 # The following way of writing the cache mishandles newlines in values, … … 1628 2068 *${as_nl}*) 1629 2069 case $ac_var in #( 1630 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: cache variable $ac_var contains a newline" >&52070 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1631 2071 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1632 2072 esac … … 1634 2074 _ | IFS | as_nl) ;; #( 1635 2075 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1636 *) $as_unset $ac_var;;2076 *) { eval $ac_var=; unset $ac_var;} ;; 1637 2077 esac ;; 1638 2078 esac … … 1653 2093 echo 1654 2094 1655 cat <<\_ASBOX 1656 ## ----------------- ## 2095 $as_echo "## ----------------- ## 1657 2096 ## Output variables. ## 1658 ## ----------------- ## 1659 _ASBOX 2097 ## ----------------- ##" 1660 2098 echo 1661 2099 for ac_var in $ac_subst_vars … … 1670 2108 1671 2109 if test -n "$ac_subst_files"; then 1672 cat <<\_ASBOX 1673 ## ------------------- ## 2110 $as_echo "## ------------------- ## 1674 2111 ## File substitutions. ## 1675 ## ------------------- ## 1676 _ASBOX 2112 ## ------------------- ##" 1677 2113 echo 1678 2114 for ac_var in $ac_subst_files … … 1688 2124 1689 2125 if test -s confdefs.h; then 1690 cat <<\_ASBOX 1691 ## ----------- ## 2126 $as_echo "## ----------- ## 1692 2127 ## confdefs.h. ## 1693 ## ----------- ## 1694 _ASBOX 2128 ## ----------- ##" 1695 2129 echo 1696 2130 cat confdefs.h … … 1706 2140 ' 0 1707 2141 for ac_signal in 1 2 13 15; do 1708 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2142 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1709 2143 done 1710 2144 ac_signal=0 … … 1713 2147 rm -f -r conftest* confdefs.h 1714 2148 2149 $as_echo "/* confdefs.h */" > confdefs.h 2150 1715 2151 # Predefined preprocessor variables. 1716 2152 … … 1719 2155 _ACEOF 1720 2156 1721 1722 2157 cat >>confdefs.h <<_ACEOF 1723 2158 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1724 2159 _ACEOF 1725 2160 1726 1727 2161 cat >>confdefs.h <<_ACEOF 1728 2162 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1729 2163 _ACEOF 1730 2164 1731 1732 2165 cat >>confdefs.h <<_ACEOF 1733 2166 #define PACKAGE_STRING "$PACKAGE_STRING" 1734 2167 _ACEOF 1735 2168 1736 1737 2169 cat >>confdefs.h <<_ACEOF 1738 2170 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2171 _ACEOF 2172 2173 cat >>confdefs.h <<_ACEOF 2174 #define PACKAGE_URL "$PACKAGE_URL" 1739 2175 _ACEOF 1740 2176 … … 1745 2181 ac_site_file2=NONE 1746 2182 if test -n "$CONFIG_SITE"; then 1747 ac_site_file1=$CONFIG_SITE 2183 # We do not want a PATH search for config.site. 2184 case $CONFIG_SITE in #(( 2185 -*) ac_site_file1=./$CONFIG_SITE;; 2186 */*) ac_site_file1=$CONFIG_SITE;; 2187 *) ac_site_file1=./$CONFIG_SITE;; 2188 esac 1748 2189 elif test "x$prefix" != xNONE; then 1749 2190 ac_site_file1=$prefix/share/config.site … … 1756 2197 do 1757 2198 test "x$ac_site_file" = xNONE && continue 1758 if test -r "$ac_site_file"; then1759 { $as_echo "$as_me:$ LINENO: loading site script $ac_site_file" >&52199 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2200 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1760 2201 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1761 2202 sed 's/^/| /' "$ac_site_file" >&5 1762 . "$ac_site_file" 2203 . "$ac_site_file" \ 2204 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2206 as_fn_error $? "failed to load site script $ac_site_file 2207 See \`config.log' for more details" "$LINENO" 5; } 1763 2208 fi 1764 2209 done 1765 2210 1766 2211 if test -r "$cache_file"; then 1767 # Some versions of bash will fail to source /dev/null (special 1768 # files actually), so we avoid doing that.1769 if test -f "$cache_file"; then1770 { $as_echo "$as_me:$ LINENO: loading cache $cache_file" >&52212 # Some versions of bash will fail to source /dev/null (special files 2213 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2214 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2215 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1771 2216 $as_echo "$as_me: loading cache $cache_file" >&6;} 1772 2217 case $cache_file in … … 1776 2221 fi 1777 2222 else 1778 { $as_echo "$as_me:$ LINENO: creating cache $cache_file" >&52223 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1779 2224 $as_echo "$as_me: creating cache $cache_file" >&6;} 1780 2225 >$cache_file … … 1791 2236 case $ac_old_set,$ac_new_set in 1792 2237 set,) 1793 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52238 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1794 2239 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1795 2240 ac_cache_corrupted=: ;; 1796 2241 ,set) 1797 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was not set in the previous run" >&52242 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1798 2243 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1799 2244 ac_cache_corrupted=: ;; … … 1805 2250 ac_new_val_w=`echo x $ac_new_val` 1806 2251 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1807 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' has changed since the previous run:" >&52252 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1808 2253 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1809 2254 ac_cache_corrupted=: 1810 2255 else 1811 { $as_echo "$as_me:$ LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&52256 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1812 2257 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1813 2258 eval $ac_var=\$ac_old_val 1814 2259 fi 1815 { $as_echo "$as_me:$ LINENO: former value: \`$ac_old_val'" >&52260 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1816 2261 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1817 { $as_echo "$as_me:$ LINENO: current value: \`$ac_new_val'" >&52262 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1818 2263 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1819 2264 fi;; … … 1827 2272 case " $ac_configure_args " in 1828 2273 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1829 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2274 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1830 2275 esac 1831 2276 fi 1832 2277 done 1833 2278 if $ac_cache_corrupted; then 1834 { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52279 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1835 2280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1836 { $as_echo "$as_me:$ LINENO: error: changes in the environment can compromise the build" >&52281 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1837 2282 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1838 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1839 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1840 { (exit 1); exit 1; }; } 1841 fi 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 2283 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2284 fi 2285 ## -------------------- ## 2286 ## Main body of script. ## 2287 ## -------------------- ## 1858 2288 1859 2289 ac_ext=c … … 1883 2313 USE_FASTCGI=0 1884 2314 if test USE_FASTCGI = 1; then 1885 cat >>confdefs.h <<\_ACEOF 1886 #define USE_FASTCGI 1 1887 _ACEOF 2315 $as_echo "#define USE_FASTCGI 1" >>confdefs.h 1888 2316 1889 2317 … … 1891 2319 1892 2320 if test USE_LANGACTION = 1; then 1893 cat >>confdefs.h <<\_ACEOF 1894 #define USE_LANGACTION 1 1895 _ACEOF 2321 $as_echo "#define USE_LANGACTION 1" >>confdefs.h 1896 2322 1897 2323 … … 1899 2325 1900 2326 # Check whether --enable-corba was given. 1901 if test "${enable_corba+set}" = set; then 2327 if test "${enable_corba+set}" = set; then : 1902 2328 enableval=$enable_corba; USE_CORBA=$enableval 1903 2329 else … … 1907 2333 if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then 1908 2334 USE_CORBA=1 1909 cat >>confdefs.h <<\_ACEOF 1910 #define USE_CORBA /**/ 1911 _ACEOF 2335 $as_echo "#define USE_CORBA /**/" >>confdefs.h 1912 2336 1913 2337 else … … 1918 2342 1919 2343 # Check whether --with-micodir was given. 1920 if test "${with_micodir+set}" = set; then 2344 if test "${with_micodir+set}" = set; then : 1921 2345 withval=$with_micodir; MICO_DIR=$withval 1922 2346 else … … 1931 2355 1932 2356 # Check whether --enable-z3950 was given. 1933 if test "${enable_z3950+set}" = set; then 2357 if test "${enable_z3950+set}" = set; then : 1934 2358 enableval=$enable_z3950; USE_Z3950=$enableval 1935 2359 else … … 1939 2363 if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then 1940 2364 USE_Z3950=1 1941 cat >>confdefs.h <<\_ACEOF 1942 #define USE_Z3950 /**/ 1943 _ACEOF 2365 $as_echo "#define USE_Z3950 /**/" >>confdefs.h 1944 2366 1945 2367 else … … 1949 2371 1950 2372 # Check whether --enable-yaz was given. 1951 if test "${enable_yaz+set}" = set; then 2373 if test "${enable_yaz+set}" = set; then : 1952 2374 enableval=$enable_yaz; USE_YAZ=$enableval 1953 2375 else … … 1957 2379 if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then 1958 2380 USE_YAZ=1 1959 cat >>confdefs.h <<\_ACEOF 1960 #define USE_YAZ /**/ 1961 _ACEOF 2381 $as_echo "#define USE_YAZ /**/" >>confdefs.h 1962 2382 1963 2383 else … … 1967 2387 1968 2388 # Check whether --enable-java was given. 1969 if test "${enable_java+set}" = set; then 2389 if test "${enable_java+set}" = set; then : 1970 2390 enableval=$enable_java; ENABLE_JAVA=$enableval 1971 2391 else … … 1987 2407 1988 2408 # Check whether --enable-wvware was given. 1989 if test "${enable_wvware+set}" = set; then 2409 if test "${enable_wvware+set}" = set; then : 1990 2410 enableval=$enable_wvware; USE_WVWARE=$enableval 1991 2411 else … … 1995 2415 if test $USE_WVWARE = "yes" -o $USE_WVWARE = "1" ; then 1996 2416 USE_WVWARE=1 1997 cat >>confdefs.h <<\_ACEOF 1998 #define USE_WVWARE /**/ 1999 _ACEOF 2417 $as_echo "#define USE_WVWARE /**/" >>confdefs.h 2000 2418 2001 2419 else … … 2005 2423 2006 2424 # Check whether --enable-jdbm was given. 2007 if test "${enable_jdbm+set}" = set; then 2425 if test "${enable_jdbm+set}" = set; then : 2008 2426 enableval=$enable_jdbm; USE_JDBM=$enableval 2009 2427 else … … 2013 2431 if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then 2014 2432 USE_JDBM=1 2015 cat >>confdefs.h <<\_ACEOF 2016 #define USE_JDBM /**/ 2017 _ACEOF 2433 $as_echo "#define USE_JDBM /**/" >>confdefs.h 2018 2434 2019 2435 else … … 2023 2439 2024 2440 # Check whether --enable-gdbm was given. 2025 if test "${enable_gdbm+set}" = set; then 2441 if test "${enable_gdbm+set}" = set; then : 2026 2442 enableval=$enable_gdbm; USE_GDBM=$enableval 2027 2443 else … … 2031 2447 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 2032 2448 USE_GDBM=1 2033 cat >>confdefs.h <<\_ACEOF 2034 #define USE_GDBM /**/ 2035 _ACEOF 2449 $as_echo "#define USE_GDBM /**/" >>confdefs.h 2036 2450 2037 2451 else … … 2041 2455 2042 2456 # Check whether --enable-accentfold was given. 2043 if test "${enable_accentfold+set}" = set; then 2457 if test "${enable_accentfold+set}" = set; then : 2044 2458 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval 2045 2459 else … … 2049 2463 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 2050 2464 ENABLE_ACCENTFOLD=1 2051 cat >>confdefs.h <<\_ACEOF 2052 #define ENABLE_ACCENTFOLD /**/ 2053 _ACEOF 2465 $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h 2054 2466 2055 2467 else … … 2059 2471 2060 2472 # Check whether --enable-sqlite was given. 2061 if test "${enable_sqlite+set}" = set; then 2473 if test "${enable_sqlite+set}" = set; then : 2062 2474 enableval=$enable_sqlite; USE_SQLITE=$enableval 2063 2475 else … … 2067 2479 if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then 2068 2480 USE_SQLITE=1 2069 cat >>confdefs.h <<\_ACEOF 2070 #define USE_SQLITE /**/ 2071 _ACEOF 2481 $as_echo "#define USE_SQLITE /**/" >>confdefs.h 2072 2482 2073 2483 else … … 2092 2502 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2093 2503 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2094 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2095 2505 $as_echo_n "checking for $ac_word... " >&6; } 2096 if test "${ac_cv_prog_CC+set}" = set; then2506 if ${ac_cv_prog_CC+:} false; then : 2097 2507 $as_echo_n "(cached) " >&6 2098 2508 else … … 2105 2515 IFS=$as_save_IFS 2106 2516 test -z "$as_dir" && as_dir=. 2107 for ac_exec_ext in '' $ac_executable_extensions; do2517 for ac_exec_ext in '' $ac_executable_extensions; do 2108 2518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2109 2519 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2110 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2111 2521 break 2 2112 2522 fi 2113 2523 done 2114 done2524 done 2115 2525 IFS=$as_save_IFS 2116 2526 … … 2119 2529 CC=$ac_cv_prog_CC 2120 2530 if test -n "$CC"; then 2121 { $as_echo "$as_me:$ LINENO: result: $CC" >&52531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2122 2532 $as_echo "$CC" >&6; } 2123 2533 else 2124 { $as_echo "$as_me:$ LINENO: result: no" >&52534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2125 2535 $as_echo "no" >&6; } 2126 2536 fi … … 2132 2542 # Extract the first word of "gcc", so it can be a program name with args. 2133 2543 set dummy gcc; ac_word=$2 2134 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2135 2545 $as_echo_n "checking for $ac_word... " >&6; } 2136 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2546 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2137 2547 $as_echo_n "(cached) " >&6 2138 2548 else … … 2145 2555 IFS=$as_save_IFS 2146 2556 test -z "$as_dir" && as_dir=. 2147 for ac_exec_ext in '' $ac_executable_extensions; do2557 for ac_exec_ext in '' $ac_executable_extensions; do 2148 2558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2149 2559 ac_cv_prog_ac_ct_CC="gcc" 2150 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2151 2561 break 2 2152 2562 fi 2153 2563 done 2154 done2564 done 2155 2565 IFS=$as_save_IFS 2156 2566 … … 2159 2569 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2160 2570 if test -n "$ac_ct_CC"; then 2161 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&52571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2162 2572 $as_echo "$ac_ct_CC" >&6; } 2163 2573 else 2164 { $as_echo "$as_me:$ LINENO: result: no" >&52574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2165 2575 $as_echo "no" >&6; } 2166 2576 fi … … 2171 2581 case $cross_compiling:$ac_tool_warned in 2172 2582 yes:) 2173 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&52583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2174 2584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2175 2585 ac_tool_warned=yes ;; … … 2185 2595 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2186 2596 set dummy ${ac_tool_prefix}cc; ac_word=$2 2187 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2188 2598 $as_echo_n "checking for $ac_word... " >&6; } 2189 if test "${ac_cv_prog_CC+set}" = set; then2599 if ${ac_cv_prog_CC+:} false; then : 2190 2600 $as_echo_n "(cached) " >&6 2191 2601 else … … 2198 2608 IFS=$as_save_IFS 2199 2609 test -z "$as_dir" && as_dir=. 2200 for ac_exec_ext in '' $ac_executable_extensions; do2610 for ac_exec_ext in '' $ac_executable_extensions; do 2201 2611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2202 2612 ac_cv_prog_CC="${ac_tool_prefix}cc" 2203 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2204 2614 break 2 2205 2615 fi 2206 2616 done 2207 done2617 done 2208 2618 IFS=$as_save_IFS 2209 2619 … … 2212 2622 CC=$ac_cv_prog_CC 2213 2623 if test -n "$CC"; then 2214 { $as_echo "$as_me:$ LINENO: result: $CC" >&52624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2215 2625 $as_echo "$CC" >&6; } 2216 2626 else 2217 { $as_echo "$as_me:$ LINENO: result: no" >&52627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2218 2628 $as_echo "no" >&6; } 2219 2629 fi … … 2225 2635 # Extract the first word of "cc", so it can be a program name with args. 2226 2636 set dummy cc; ac_word=$2 2227 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2228 2638 $as_echo_n "checking for $ac_word... " >&6; } 2229 if test "${ac_cv_prog_CC+set}" = set; then2639 if ${ac_cv_prog_CC+:} false; then : 2230 2640 $as_echo_n "(cached) " >&6 2231 2641 else … … 2239 2649 IFS=$as_save_IFS 2240 2650 test -z "$as_dir" && as_dir=. 2241 for ac_exec_ext in '' $ac_executable_extensions; do2651 for ac_exec_ext in '' $ac_executable_extensions; do 2242 2652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2243 2653 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2246 2656 fi 2247 2657 ac_cv_prog_CC="cc" 2248 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2249 2659 break 2 2250 2660 fi 2251 2661 done 2252 done2662 done 2253 2663 IFS=$as_save_IFS 2254 2664 … … 2269 2679 CC=$ac_cv_prog_CC 2270 2680 if test -n "$CC"; then 2271 { $as_echo "$as_me:$ LINENO: result: $CC" >&52681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2272 2682 $as_echo "$CC" >&6; } 2273 2683 else 2274 { $as_echo "$as_me:$ LINENO: result: no" >&52684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2275 2685 $as_echo "no" >&6; } 2276 2686 fi … … 2284 2694 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2285 2695 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2286 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2287 2697 $as_echo_n "checking for $ac_word... " >&6; } 2288 if test "${ac_cv_prog_CC+set}" = set; then2698 if ${ac_cv_prog_CC+:} false; then : 2289 2699 $as_echo_n "(cached) " >&6 2290 2700 else … … 2297 2707 IFS=$as_save_IFS 2298 2708 test -z "$as_dir" && as_dir=. 2299 for ac_exec_ext in '' $ac_executable_extensions; do2709 for ac_exec_ext in '' $ac_executable_extensions; do 2300 2710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2301 2711 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2302 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2303 2713 break 2 2304 2714 fi 2305 2715 done 2306 done2716 done 2307 2717 IFS=$as_save_IFS 2308 2718 … … 2311 2721 CC=$ac_cv_prog_CC 2312 2722 if test -n "$CC"; then 2313 { $as_echo "$as_me:$ LINENO: result: $CC" >&52723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2314 2724 $as_echo "$CC" >&6; } 2315 2725 else 2316 { $as_echo "$as_me:$ LINENO: result: no" >&52726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2317 2727 $as_echo "no" >&6; } 2318 2728 fi … … 2328 2738 # Extract the first word of "$ac_prog", so it can be a program name with args. 2329 2739 set dummy $ac_prog; ac_word=$2 2330 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2331 2741 $as_echo_n "checking for $ac_word... " >&6; } 2332 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2742 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2333 2743 $as_echo_n "(cached) " >&6 2334 2744 else … … 2341 2751 IFS=$as_save_IFS 2342 2752 test -z "$as_dir" && as_dir=. 2343 for ac_exec_ext in '' $ac_executable_extensions; do2753 for ac_exec_ext in '' $ac_executable_extensions; do 2344 2754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2345 2755 ac_cv_prog_ac_ct_CC="$ac_prog" 2346 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2347 2757 break 2 2348 2758 fi 2349 2759 done 2350 done2760 done 2351 2761 IFS=$as_save_IFS 2352 2762 … … 2355 2765 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2356 2766 if test -n "$ac_ct_CC"; then 2357 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&52767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2358 2768 $as_echo "$ac_ct_CC" >&6; } 2359 2769 else 2360 { $as_echo "$as_me:$ LINENO: result: no" >&52770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2361 2771 $as_echo "no" >&6; } 2362 2772 fi … … 2371 2781 case $cross_compiling:$ac_tool_warned in 2372 2782 yes:) 2373 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&52783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2374 2784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2375 2785 ac_tool_warned=yes ;; … … 2382 2792 2383 2793 2384 test -z "$CC" && { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52794 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2385 2795 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2386 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2387 See \`config.log' for more details." >&5 2388 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2389 See \`config.log' for more details." >&2;} 2390 { (exit 1); exit 1; }; }; } 2796 as_fn_error $? "no acceptable C compiler found in \$PATH 2797 See \`config.log' for more details" "$LINENO" 5; } 2391 2798 2392 2799 # Provide some information about the compiler. 2393 $as_echo "$as_me:$ LINENO: checking for C compiler version" >&52800 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2394 2801 set X $ac_compile 2395 2802 ac_compiler=$2 2396 { (ac_try="$ac_compiler --version >&5" 2803 for ac_option in --version -v -V -qversion; do 2804 { { ac_try="$ac_compiler $ac_option >&5" 2397 2805 case "(($ac_try" in 2398 2806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2399 2807 *) ac_try_echo=$ac_try;; 2400 2808 esac 2401 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2402 $as_echo "$ac_try_echo" )>&52403 (eval "$ac_compiler --version >&5") 2>&52809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2810 $as_echo "$ac_try_echo"; } >&5 2811 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2404 2812 ac_status=$? 2405 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2406 (exit $ac_status); } 2407 { (ac_try="$ac_compiler -v >&5" 2408 case "(($ac_try" in 2409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2410 *) ac_try_echo=$ac_try;; 2411 esac 2412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2413 $as_echo "$ac_try_echo") >&5 2414 (eval "$ac_compiler -v >&5") 2>&5 2415 ac_status=$? 2416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2417 (exit $ac_status); } 2418 { (ac_try="$ac_compiler -V >&5" 2419 case "(($ac_try" in 2420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2421 *) ac_try_echo=$ac_try;; 2422 esac 2423 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2424 $as_echo "$ac_try_echo") >&5 2425 (eval "$ac_compiler -V >&5") 2>&5 2426 ac_status=$? 2427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2428 (exit $ac_status); } 2429 2430 cat >conftest.$ac_ext <<_ACEOF 2431 /* confdefs.h. */ 2432 _ACEOF 2433 cat confdefs.h >>conftest.$ac_ext 2434 cat >>conftest.$ac_ext <<_ACEOF 2813 if test -s conftest.err; then 2814 sed '10a\ 2815 ... rest of stderr output deleted ... 2816 10q' conftest.err >conftest.er1 2817 cat conftest.er1 >&5 2818 fi 2819 rm -f conftest.er1 conftest.err 2820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2821 test $ac_status = 0; } 2822 done 2823 2824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2435 2825 /* end confdefs.h. */ 2436 2826 … … 2448 2838 # It will help us diagnose broken compilers, and finding out an intuition 2449 2839 # of exeext. 2450 { $as_echo "$as_me:$ LINENO: checking for C compiler default output file name" >&52451 $as_echo_n "checking for C compiler default output file name... " >&6; }2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2841 $as_echo_n "checking whether the C compiler works... " >&6; } 2452 2842 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2453 2843 … … 2465 2855 rm -f $ac_rmfiles 2466 2856 2467 if { (ac_try="$ac_link_default"2857 if { { ac_try="$ac_link_default" 2468 2858 case "(($ac_try" in 2469 2859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2470 2860 *) ac_try_echo=$ac_try;; 2471 2861 esac 2472 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2473 $as_echo "$ac_try_echo" )>&52862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2863 $as_echo "$ac_try_echo"; } >&5 2474 2864 (eval "$ac_link_default") 2>&5 2475 2865 ac_status=$? 2476 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52477 (exit $ac_status); }; then2866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2867 test $ac_status = 0; }; then : 2478 2868 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2479 2869 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2492 2882 break;; 2493 2883 *.* ) 2494 2884 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2495 2885 then :; else 2496 2886 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2511 2901 ac_file='' 2512 2902 fi 2513 2514 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2903 if test -z "$ac_file"; then : 2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2905 $as_echo "no" >&6; } 2906 $as_echo "$as_me: failed program was:" >&5 2907 sed 's/^/| /' conftest.$ac_ext >&5 2908 2909 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2911 as_fn_error 77 "C compiler cannot create executables 2912 See \`config.log' for more details" "$LINENO" 5; } 2913 else 2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2915 $as_echo "yes" >&6; } 2916 fi 2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2918 $as_echo_n "checking for C compiler default output file name... " >&6; } 2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2515 2920 $as_echo "$ac_file" >&6; } 2516 if test -z "$ac_file"; then2517 $as_echo "$as_me: failed program was:" >&52518 sed 's/^/| /' conftest.$ac_ext >&52519 2520 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2522 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables2523 See \`config.log' for more details." >&52524 $as_echo "$as_me: error: C compiler cannot create executables2525 See \`config.log' for more details." >&2;}2526 { (exit 77); exit 77; }; }; }2527 fi2528 2529 2921 ac_exeext=$ac_cv_exeext 2530 2531 # Check that the compiler produces executables we can run. If not, either2532 # the compiler is broken, or we cross compile.2533 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&52534 $as_echo_n "checking whether the C compiler works... " >&6; }2535 # FIXME: These cross compiler hacks should be removed for Autoconf 3.02536 # If not cross compiling, check that we can run a simple program.2537 if test "$cross_compiling" != yes; then2538 if { ac_try='./$ac_file'2539 { (case "(($ac_try" in2540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2541 *) ac_try_echo=$ac_try;;2542 esac2543 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""2544 $as_echo "$ac_try_echo") >&52545 (eval "$ac_try") 2>&52546 ac_status=$?2547 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52548 (exit $ac_status); }; }; then2549 cross_compiling=no2550 else2551 if test "$cross_compiling" = maybe; then2552 cross_compiling=yes2553 else2554 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2556 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.2557 If you meant to cross compile, use \`--host'.2558 See \`config.log' for more details." >&52559 $as_echo "$as_me: error: cannot run C compiled programs.2560 If you meant to cross compile, use \`--host'.2561 See \`config.log' for more details." >&2;}2562 { (exit 1); exit 1; }; }; }2563 fi2564 fi2565 fi2566 { $as_echo "$as_me:$LINENO: result: yes" >&52567 $as_echo "yes" >&6; }2568 2922 2569 2923 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2570 2924 ac_clean_files=$ac_clean_files_save 2571 # Check that the compiler produces executables we can run. If not, either 2572 # the compiler is broken, or we cross compile. 2573 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2574 $as_echo_n "checking whether we are cross compiling... " >&6; } 2575 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2576 $as_echo "$cross_compiling" >&6; } 2577 2578 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2579 2926 $as_echo_n "checking for suffix of executables... " >&6; } 2580 if { (ac_try="$ac_link"2927 if { { ac_try="$ac_link" 2581 2928 case "(($ac_try" in 2582 2929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2583 2930 *) ac_try_echo=$ac_try;; 2584 2931 esac 2585 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2586 $as_echo "$ac_try_echo" )>&52932 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2933 $as_echo "$ac_try_echo"; } >&5 2587 2934 (eval "$ac_link") 2>&5 2588 2935 ac_status=$? 2589 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52590 (exit $ac_status); }; then2936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2937 test $ac_status = 0; }; then : 2591 2938 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2592 2939 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2603 2950 done 2604 2951 else 2605 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52952 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2606 2953 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2607 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2608 See \`config.log' for more details." >&5 2609 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2610 See \`config.log' for more details." >&2;} 2611 { (exit 1); exit 1; }; }; } 2612 fi 2613 2614 rm -f conftest$ac_cv_exeext 2615 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2954 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2955 See \`config.log' for more details" "$LINENO" 5; } 2956 fi 2957 rm -f conftest conftest$ac_cv_exeext 2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2616 2959 $as_echo "$ac_cv_exeext" >&6; } 2617 2960 … … 2619 2962 EXEEXT=$ac_cv_exeext 2620 2963 ac_exeext=$EXEEXT 2621 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2622 $as_echo_n "checking for suffix of object files... " >&6; } 2623 if test "${ac_cv_objext+set}" = set; then 2624 $as_echo_n "(cached) " >&6 2625 else 2626 cat >conftest.$ac_ext <<_ACEOF 2627 /* confdefs.h. */ 2628 _ACEOF 2629 cat confdefs.h >>conftest.$ac_ext 2630 cat >>conftest.$ac_ext <<_ACEOF 2964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2631 2965 /* end confdefs.h. */ 2632 2966 #include <stdio.h> 2633 2967 int 2634 2968 main () 2635 2969 { 2970 FILE *f = fopen ("conftest.out", "w"); 2971 return ferror (f) || fclose (f) != 0; 2636 2972 2637 2973 ; … … 2639 2975 } 2640 2976 _ACEOF 2641 rm -f conftest.o conftest.obj 2642 if { (ac_try="$ac_compile" 2977 ac_clean_files="$ac_clean_files conftest.out" 2978 # Check that the compiler produces executables we can run. If not, either 2979 # the compiler is broken, or we cross compile. 2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2981 $as_echo_n "checking whether we are cross compiling... " >&6; } 2982 if test "$cross_compiling" != yes; then 2983 { { ac_try="$ac_link" 2643 2984 case "(($ac_try" in 2644 2985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2645 2986 *) ac_try_echo=$ac_try;; 2646 2987 esac 2647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2648 $as_echo "$ac_try_echo") >&5 2988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2989 $as_echo "$ac_try_echo"; } >&5 2990 (eval "$ac_link") 2>&5 2991 ac_status=$? 2992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2993 test $ac_status = 0; } 2994 if { ac_try='./conftest$ac_cv_exeext' 2995 { { case "(($ac_try" in 2996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2997 *) ac_try_echo=$ac_try;; 2998 esac 2999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3000 $as_echo "$ac_try_echo"; } >&5 3001 (eval "$ac_try") 2>&5 3002 ac_status=$? 3003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3004 test $ac_status = 0; }; }; then 3005 cross_compiling=no 3006 else 3007 if test "$cross_compiling" = maybe; then 3008 cross_compiling=yes 3009 else 3010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3012 as_fn_error $? "cannot run C compiled programs. 3013 If you meant to cross compile, use \`--host'. 3014 See \`config.log' for more details" "$LINENO" 5; } 3015 fi 3016 fi 3017 fi 3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3019 $as_echo "$cross_compiling" >&6; } 3020 3021 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3022 ac_clean_files=$ac_clean_files_save 3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3024 $as_echo_n "checking for suffix of object files... " >&6; } 3025 if ${ac_cv_objext+:} false; then : 3026 $as_echo_n "(cached) " >&6 3027 else 3028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3029 /* end confdefs.h. */ 3030 3031 int 3032 main () 3033 { 3034 3035 ; 3036 return 0; 3037 } 3038 _ACEOF 3039 rm -f conftest.o conftest.obj 3040 if { { ac_try="$ac_compile" 3041 case "(($ac_try" in 3042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3043 *) ac_try_echo=$ac_try;; 3044 esac 3045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3046 $as_echo "$ac_try_echo"; } >&5 2649 3047 (eval "$ac_compile") 2>&5 2650 3048 ac_status=$? 2651 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52652 (exit $ac_status); }; then3049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3050 test $ac_status = 0; }; then : 2653 3051 for ac_file in conftest.o conftest.obj conftest.*; do 2654 3052 test -f "$ac_file" || continue; … … 2663 3061 sed 's/^/| /' conftest.$ac_ext >&5 2664 3062 2665 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53063 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2666 3064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2667 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2668 See \`config.log' for more details." >&5 2669 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2670 See \`config.log' for more details." >&2;} 2671 { (exit 1); exit 1; }; }; } 2672 fi 2673 3065 as_fn_error $? "cannot compute suffix of object files: cannot compile 3066 See \`config.log' for more details" "$LINENO" 5; } 3067 fi 2674 3068 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2675 3069 fi 2676 { $as_echo "$as_me:$ LINENO: result: $ac_cv_objext" >&53070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2677 3071 $as_echo "$ac_cv_objext" >&6; } 2678 3072 OBJEXT=$ac_cv_objext 2679 3073 ac_objext=$OBJEXT 2680 { $as_echo "$as_me:$ LINENO: checking whether we are using the GNU C compiler" >&53074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2681 3075 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2682 if test "${ac_cv_c_compiler_gnu+set}" = set; then3076 if ${ac_cv_c_compiler_gnu+:} false; then : 2683 3077 $as_echo_n "(cached) " >&6 2684 3078 else 2685 cat >conftest.$ac_ext <<_ACEOF 2686 /* confdefs.h. */ 2687 _ACEOF 2688 cat confdefs.h >>conftest.$ac_ext 2689 cat >>conftest.$ac_ext <<_ACEOF 3079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2690 3080 /* end confdefs.h. */ 2691 3081 … … 2701 3091 } 2702 3092 _ACEOF 2703 rm -f conftest.$ac_objext 2704 if { (ac_try="$ac_compile" 2705 case "(($ac_try" in 2706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2707 *) ac_try_echo=$ac_try;; 2708 esac 2709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2710 $as_echo "$ac_try_echo") >&5 2711 (eval "$ac_compile") 2>conftest.er1 2712 ac_status=$? 2713 grep -v '^ *+' conftest.er1 >conftest.err 2714 rm -f conftest.er1 2715 cat conftest.err >&5 2716 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2717 (exit $ac_status); } && { 2718 test -z "$ac_c_werror_flag" || 2719 test ! -s conftest.err 2720 } && test -s conftest.$ac_objext; then 3093 if ac_fn_c_try_compile "$LINENO"; then : 2721 3094 ac_compiler_gnu=yes 2722 3095 else 2723 $as_echo "$as_me: failed program was:" >&5 2724 sed 's/^/| /' conftest.$ac_ext >&5 2725 2726 ac_compiler_gnu=no 2727 fi 2728 3096 ac_compiler_gnu=no 3097 fi 2729 3098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2730 3099 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2731 3100 2732 3101 fi 2733 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_compiler_gnu" >&53102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2734 3103 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2735 3104 if test $ac_compiler_gnu = yes; then … … 2740 3109 ac_test_CFLAGS=${CFLAGS+set} 2741 3110 ac_save_CFLAGS=$CFLAGS 2742 { $as_echo "$as_me:$ LINENO: checking whether $CC accepts -g" >&53111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2743 3112 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2744 if test "${ac_cv_prog_cc_g+set}" = set; then3113 if ${ac_cv_prog_cc_g+:} false; then : 2745 3114 $as_echo_n "(cached) " >&6 2746 3115 else … … 2749 3118 ac_cv_prog_cc_g=no 2750 3119 CFLAGS="-g" 2751 cat >conftest.$ac_ext <<_ACEOF 2752 /* confdefs.h. */ 2753 _ACEOF 2754 cat confdefs.h >>conftest.$ac_ext 2755 cat >>conftest.$ac_ext <<_ACEOF 3120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2756 3121 /* end confdefs.h. */ 2757 3122 … … 2764 3129 } 2765 3130 _ACEOF 2766 rm -f conftest.$ac_objext 2767 if { (ac_try="$ac_compile" 2768 case "(($ac_try" in 2769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2770 *) ac_try_echo=$ac_try;; 2771 esac 2772 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2773 $as_echo "$ac_try_echo") >&5 2774 (eval "$ac_compile") 2>conftest.er1 2775 ac_status=$? 2776 grep -v '^ *+' conftest.er1 >conftest.err 2777 rm -f conftest.er1 2778 cat conftest.err >&5 2779 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2780 (exit $ac_status); } && { 2781 test -z "$ac_c_werror_flag" || 2782 test ! -s conftest.err 2783 } && test -s conftest.$ac_objext; then 3131 if ac_fn_c_try_compile "$LINENO"; then : 2784 3132 ac_cv_prog_cc_g=yes 2785 3133 else 2786 $as_echo "$as_me: failed program was:" >&5 2787 sed 's/^/| /' conftest.$ac_ext >&5 2788 2789 CFLAGS="" 2790 cat >conftest.$ac_ext <<_ACEOF 2791 /* confdefs.h. */ 2792 _ACEOF 2793 cat confdefs.h >>conftest.$ac_ext 2794 cat >>conftest.$ac_ext <<_ACEOF 3134 CFLAGS="" 3135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2795 3136 /* end confdefs.h. */ 2796 3137 … … 2803 3144 } 2804 3145 _ACEOF 2805 rm -f conftest.$ac_objext 2806 if { (ac_try="$ac_compile" 2807 case "(($ac_try" in 2808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2809 *) ac_try_echo=$ac_try;; 2810 esac 2811 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2812 $as_echo "$ac_try_echo") >&5 2813 (eval "$ac_compile") 2>conftest.er1 2814 ac_status=$? 2815 grep -v '^ *+' conftest.er1 >conftest.err 2816 rm -f conftest.er1 2817 cat conftest.err >&5 2818 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2819 (exit $ac_status); } && { 2820 test -z "$ac_c_werror_flag" || 2821 test ! -s conftest.err 2822 } && test -s conftest.$ac_objext; then 2823 : 2824 else 2825 $as_echo "$as_me: failed program was:" >&5 2826 sed 's/^/| /' conftest.$ac_ext >&5 2827 2828 ac_c_werror_flag=$ac_save_c_werror_flag 3146 if ac_fn_c_try_compile "$LINENO"; then : 3147 3148 else 3149 ac_c_werror_flag=$ac_save_c_werror_flag 2829 3150 CFLAGS="-g" 2830 cat >conftest.$ac_ext <<_ACEOF 2831 /* confdefs.h. */ 2832 _ACEOF 2833 cat confdefs.h >>conftest.$ac_ext 2834 cat >>conftest.$ac_ext <<_ACEOF 3151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2835 3152 /* end confdefs.h. */ 2836 3153 … … 2843 3160 } 2844 3161 _ACEOF 2845 rm -f conftest.$ac_objext 2846 if { (ac_try="$ac_compile" 2847 case "(($ac_try" in 2848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2849 *) ac_try_echo=$ac_try;; 2850 esac 2851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2852 $as_echo "$ac_try_echo") >&5 2853 (eval "$ac_compile") 2>conftest.er1 2854 ac_status=$? 2855 grep -v '^ *+' conftest.er1 >conftest.err 2856 rm -f conftest.er1 2857 cat conftest.err >&5 2858 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2859 (exit $ac_status); } && { 2860 test -z "$ac_c_werror_flag" || 2861 test ! -s conftest.err 2862 } && test -s conftest.$ac_objext; then 3162 if ac_fn_c_try_compile "$LINENO"; then : 2863 3163 ac_cv_prog_cc_g=yes 2864 else 2865 $as_echo "$as_me: failed program was:" >&5 2866 sed 's/^/| /' conftest.$ac_ext >&5 2867 2868 2869 fi 2870 3164 fi 2871 3165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2872 3166 fi 2873 2874 3167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2875 3168 fi 2876 2877 3169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2878 3170 ac_c_werror_flag=$ac_save_c_werror_flag 2879 3171 fi 2880 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_g" >&53172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2881 3173 $as_echo "$ac_cv_prog_cc_g" >&6; } 2882 3174 if test "$ac_test_CFLAGS" = set; then … … 2895 3187 fi 2896 3188 fi 2897 { $as_echo "$as_me:$ LINENO: checking for $CC option to accept ISO C89" >&53189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2898 3190 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2899 if test "${ac_cv_prog_cc_c89+set}" = set; then3191 if ${ac_cv_prog_cc_c89+:} false; then : 2900 3192 $as_echo_n "(cached) " >&6 2901 3193 else 2902 3194 ac_cv_prog_cc_c89=no 2903 3195 ac_save_CC=$CC 2904 cat >conftest.$ac_ext <<_ACEOF 2905 /* confdefs.h. */ 2906 _ACEOF 2907 cat confdefs.h >>conftest.$ac_ext 2908 cat >>conftest.$ac_ext <<_ACEOF 3196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2909 3197 /* end confdefs.h. */ 2910 3198 #include <stdarg.h> … … 2963 3251 do 2964 3252 CC="$ac_save_CC $ac_arg" 2965 rm -f conftest.$ac_objext 2966 if { (ac_try="$ac_compile" 2967 case "(($ac_try" in 2968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2969 *) ac_try_echo=$ac_try;; 2970 esac 2971 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2972 $as_echo "$ac_try_echo") >&5 2973 (eval "$ac_compile") 2>conftest.er1 2974 ac_status=$? 2975 grep -v '^ *+' conftest.er1 >conftest.err 2976 rm -f conftest.er1 2977 cat conftest.err >&5 2978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2979 (exit $ac_status); } && { 2980 test -z "$ac_c_werror_flag" || 2981 test ! -s conftest.err 2982 } && test -s conftest.$ac_objext; then 3253 if ac_fn_c_try_compile "$LINENO"; then : 2983 3254 ac_cv_prog_cc_c89=$ac_arg 2984 else 2985 $as_echo "$as_me: failed program was:" >&5 2986 sed 's/^/| /' conftest.$ac_ext >&5 2987 2988 2989 fi 2990 3255 fi 2991 3256 rm -f core conftest.err conftest.$ac_objext 2992 3257 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2999 3264 case "x$ac_cv_prog_cc_c89" in 3000 3265 x) 3001 { $as_echo "$as_me:$ LINENO: result: none needed" >&53266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3002 3267 $as_echo "none needed" >&6; } ;; 3003 3268 xno) 3004 { $as_echo "$as_me:$ LINENO: result: unsupported" >&53269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3005 3270 $as_echo "unsupported" >&6; } ;; 3006 3271 *) 3007 3272 CC="$CC $ac_cv_prog_cc_c89" 3008 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_c89" >&53273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3009 3274 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3010 3275 esac 3011 3276 if test "x$ac_cv_prog_cc_c89" != xno; then : 3277 3278 fi 3012 3279 3013 3280 ac_ext=c … … 3031 3298 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3032 3299 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3033 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3034 3301 $as_echo_n "checking for $ac_word... " >&6; } 3035 if test "${ac_cv_prog_CXX+set}" = set; then3302 if ${ac_cv_prog_CXX+:} false; then : 3036 3303 $as_echo_n "(cached) " >&6 3037 3304 else … … 3044 3311 IFS=$as_save_IFS 3045 3312 test -z "$as_dir" && as_dir=. 3046 for ac_exec_ext in '' $ac_executable_extensions; do3313 for ac_exec_ext in '' $ac_executable_extensions; do 3047 3314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3048 3315 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3049 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3050 3317 break 2 3051 3318 fi 3052 3319 done 3053 done3320 done 3054 3321 IFS=$as_save_IFS 3055 3322 … … 3058 3325 CXX=$ac_cv_prog_CXX 3059 3326 if test -n "$CXX"; then 3060 { $as_echo "$as_me:$ LINENO: result: $CXX" >&53327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3061 3328 $as_echo "$CXX" >&6; } 3062 3329 else 3063 { $as_echo "$as_me:$ LINENO: result: no" >&53330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3064 3331 $as_echo "no" >&6; } 3065 3332 fi … … 3075 3342 # Extract the first word of "$ac_prog", so it can be a program name with args. 3076 3343 set dummy $ac_prog; ac_word=$2 3077 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3078 3345 $as_echo_n "checking for $ac_word... " >&6; } 3079 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then3346 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3080 3347 $as_echo_n "(cached) " >&6 3081 3348 else … … 3088 3355 IFS=$as_save_IFS 3089 3356 test -z "$as_dir" && as_dir=. 3090 for ac_exec_ext in '' $ac_executable_extensions; do3357 for ac_exec_ext in '' $ac_executable_extensions; do 3091 3358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3092 3359 ac_cv_prog_ac_ct_CXX="$ac_prog" 3093 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3094 3361 break 2 3095 3362 fi 3096 3363 done 3097 done3364 done 3098 3365 IFS=$as_save_IFS 3099 3366 … … 3102 3369 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3103 3370 if test -n "$ac_ct_CXX"; then 3104 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CXX" >&53371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3105 3372 $as_echo "$ac_ct_CXX" >&6; } 3106 3373 else 3107 { $as_echo "$as_me:$ LINENO: result: no" >&53374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3108 3375 $as_echo "no" >&6; } 3109 3376 fi … … 3118 3385 case $cross_compiling:$ac_tool_warned in 3119 3386 yes:) 3120 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&53387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3121 3388 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3122 3389 ac_tool_warned=yes ;; … … 3129 3396 fi 3130 3397 # Provide some information about the compiler. 3131 $as_echo "$as_me:$ LINENO: checking for C++ compiler version" >&53398 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3132 3399 set X $ac_compile 3133 3400 ac_compiler=$2 3134 { (ac_try="$ac_compiler --version >&5" 3401 for ac_option in --version -v -V -qversion; do 3402 { { ac_try="$ac_compiler $ac_option >&5" 3135 3403 case "(($ac_try" in 3136 3404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3137 3405 *) ac_try_echo=$ac_try;; 3138 3406 esac 3139 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""3140 $as_echo "$ac_try_echo" )>&53141 (eval "$ac_compiler --version >&5") 2>&53407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3408 $as_echo "$ac_try_echo"; } >&5 3409 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3142 3410 ac_status=$? 3143 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3144 (exit $ac_status); } 3145 { (ac_try="$ac_compiler -v >&5" 3146 case "(($ac_try" in 3147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3148 *) ac_try_echo=$ac_try;; 3149 esac 3150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3151 $as_echo "$ac_try_echo") >&5 3152 (eval "$ac_compiler -v >&5") 2>&5 3153 ac_status=$? 3154 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3155 (exit $ac_status); } 3156 { (ac_try="$ac_compiler -V >&5" 3157 case "(($ac_try" in 3158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3159 *) ac_try_echo=$ac_try;; 3160 esac 3161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3162 $as_echo "$ac_try_echo") >&5 3163 (eval "$ac_compiler -V >&5") 2>&5 3164 ac_status=$? 3165 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3166 (exit $ac_status); } 3167 3168 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3411 if test -s conftest.err; then 3412 sed '10a\ 3413 ... rest of stderr output deleted ... 3414 10q' conftest.err >conftest.er1 3415 cat conftest.er1 >&5 3416 fi 3417 rm -f conftest.er1 conftest.err 3418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3419 test $ac_status = 0; } 3420 done 3421 3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3169 3423 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3170 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then3424 if ${ac_cv_cxx_compiler_gnu+:} false; then : 3171 3425 $as_echo_n "(cached) " >&6 3172 3426 else 3173 cat >conftest.$ac_ext <<_ACEOF 3174 /* confdefs.h. */ 3175 _ACEOF 3176 cat confdefs.h >>conftest.$ac_ext 3177 cat >>conftest.$ac_ext <<_ACEOF 3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3178 3428 /* end confdefs.h. */ 3179 3429 … … 3189 3439 } 3190 3440 _ACEOF 3191 rm -f conftest.$ac_objext 3192 if { (ac_try="$ac_compile" 3193 case "(($ac_try" in 3194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3195 *) ac_try_echo=$ac_try;; 3196 esac 3197 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3198 $as_echo "$ac_try_echo") >&5 3199 (eval "$ac_compile") 2>conftest.er1 3200 ac_status=$? 3201 grep -v '^ *+' conftest.er1 >conftest.err 3202 rm -f conftest.er1 3203 cat conftest.err >&5 3204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3205 (exit $ac_status); } && { 3206 test -z "$ac_cxx_werror_flag" || 3207 test ! -s conftest.err 3208 } && test -s conftest.$ac_objext; then 3441 if ac_fn_cxx_try_compile "$LINENO"; then : 3209 3442 ac_compiler_gnu=yes 3210 3443 else 3211 $as_echo "$as_me: failed program was:" >&5 3212 sed 's/^/| /' conftest.$ac_ext >&5 3213 3214 ac_compiler_gnu=no 3215 fi 3216 3444 ac_compiler_gnu=no 3445 fi 3217 3446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3218 3447 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3219 3448 3220 3449 fi 3221 { $as_echo "$as_me:$ LINENO: result: $ac_cv_cxx_compiler_gnu" >&53450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3222 3451 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3223 3452 if test $ac_compiler_gnu = yes; then … … 3228 3457 ac_test_CXXFLAGS=${CXXFLAGS+set} 3229 3458 ac_save_CXXFLAGS=$CXXFLAGS 3230 { $as_echo "$as_me:$ LINENO: checking whether $CXX accepts -g" >&53459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3231 3460 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3232 if test "${ac_cv_prog_cxx_g+set}" = set; then3461 if ${ac_cv_prog_cxx_g+:} false; then : 3233 3462 $as_echo_n "(cached) " >&6 3234 3463 else … … 3237 3466 ac_cv_prog_cxx_g=no 3238 3467 CXXFLAGS="-g" 3239 cat >conftest.$ac_ext <<_ACEOF 3240 /* confdefs.h. */ 3241 _ACEOF 3242 cat confdefs.h >>conftest.$ac_ext 3243 cat >>conftest.$ac_ext <<_ACEOF 3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3244 3469 /* end confdefs.h. */ 3245 3470 … … 3252 3477 } 3253 3478 _ACEOF 3254 rm -f conftest.$ac_objext 3255 if { (ac_try="$ac_compile" 3256 case "(($ac_try" in 3257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3258 *) ac_try_echo=$ac_try;; 3259 esac 3260 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3261 $as_echo "$ac_try_echo") >&5 3262 (eval "$ac_compile") 2>conftest.er1 3263 ac_status=$? 3264 grep -v '^ *+' conftest.er1 >conftest.err 3265 rm -f conftest.er1 3266 cat conftest.err >&5 3267 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3268 (exit $ac_status); } && { 3269 test -z "$ac_cxx_werror_flag" || 3270 test ! -s conftest.err 3271 } && test -s conftest.$ac_objext; then 3479 if ac_fn_cxx_try_compile "$LINENO"; then : 3272 3480 ac_cv_prog_cxx_g=yes 3273 3481 else 3274 $as_echo "$as_me: failed program was:" >&5 3275 sed 's/^/| /' conftest.$ac_ext >&5 3276 3277 CXXFLAGS="" 3278 cat >conftest.$ac_ext <<_ACEOF 3279 /* confdefs.h. */ 3280 _ACEOF 3281 cat confdefs.h >>conftest.$ac_ext 3282 cat >>conftest.$ac_ext <<_ACEOF 3482 CXXFLAGS="" 3483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3283 3484 /* end confdefs.h. */ 3284 3485 … … 3291 3492 } 3292 3493 _ACEOF 3293 rm -f conftest.$ac_objext 3294 if { (ac_try="$ac_compile" 3295 case "(($ac_try" in 3296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3297 *) ac_try_echo=$ac_try;; 3298 esac 3299 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3300 $as_echo "$ac_try_echo") >&5 3301 (eval "$ac_compile") 2>conftest.er1 3302 ac_status=$? 3303 grep -v '^ *+' conftest.er1 >conftest.err 3304 rm -f conftest.er1 3305 cat conftest.err >&5 3306 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3307 (exit $ac_status); } && { 3308 test -z "$ac_cxx_werror_flag" || 3309 test ! -s conftest.err 3310 } && test -s conftest.$ac_objext; then 3311 : 3312 else 3313 $as_echo "$as_me: failed program was:" >&5 3314 sed 's/^/| /' conftest.$ac_ext >&5 3315 3316 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3494 if ac_fn_cxx_try_compile "$LINENO"; then : 3495 3496 else 3497 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3317 3498 CXXFLAGS="-g" 3318 cat >conftest.$ac_ext <<_ACEOF 3319 /* confdefs.h. */ 3320 _ACEOF 3321 cat confdefs.h >>conftest.$ac_ext 3322 cat >>conftest.$ac_ext <<_ACEOF 3499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3323 3500 /* end confdefs.h. */ 3324 3501 … … 3331 3508 } 3332 3509 _ACEOF 3333 rm -f conftest.$ac_objext 3334 if { (ac_try="$ac_compile" 3335 case "(($ac_try" in 3336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3337 *) ac_try_echo=$ac_try;; 3338 esac 3339 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3340 $as_echo "$ac_try_echo") >&5 3341 (eval "$ac_compile") 2>conftest.er1 3342 ac_status=$? 3343 grep -v '^ *+' conftest.er1 >conftest.err 3344 rm -f conftest.er1 3345 cat conftest.err >&5 3346 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3347 (exit $ac_status); } && { 3348 test -z "$ac_cxx_werror_flag" || 3349 test ! -s conftest.err 3350 } && test -s conftest.$ac_objext; then 3510 if ac_fn_cxx_try_compile "$LINENO"; then : 3351 3511 ac_cv_prog_cxx_g=yes 3352 else 3353 $as_echo "$as_me: failed program was:" >&5 3354 sed 's/^/| /' conftest.$ac_ext >&5 3355 3356 3357 fi 3358 3512 fi 3359 3513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3360 3514 fi 3361 3362 3515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3363 3516 fi 3364 3365 3517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3366 3518 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3367 3519 fi 3368 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cxx_g" >&53520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3369 3521 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3370 3522 if test "$ac_test_CXXFLAGS" = set; then … … 3398 3550 # Extract the first word of "$ac_prog", so it can be a program name with args. 3399 3551 set dummy $ac_prog; ac_word=$2 3400 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3401 3553 $as_echo_n "checking for $ac_word... " >&6; } 3402 if test "${ac_cv_prog_JAVAC+set}" = set; then3554 if ${ac_cv_prog_JAVAC+:} false; then : 3403 3555 $as_echo_n "(cached) " >&6 3404 3556 else … … 3411 3563 IFS=$as_save_IFS 3412 3564 test -z "$as_dir" && as_dir=. 3413 for ac_exec_ext in '' $ac_executable_extensions; do3565 for ac_exec_ext in '' $ac_executable_extensions; do 3414 3566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3415 3567 ac_cv_prog_JAVAC="$ac_prog" 3416 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3417 3569 break 2 3418 3570 fi 3419 3571 done 3420 done3572 done 3421 3573 IFS=$as_save_IFS 3422 3574 … … 3425 3577 JAVAC=$ac_cv_prog_JAVAC 3426 3578 if test -n "$JAVAC"; then 3427 { $as_echo "$as_me:$ LINENO: result: $JAVAC" >&53579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3428 3580 $as_echo "$JAVAC" >&6; } 3429 3581 else 3430 { $as_echo "$as_me:$ LINENO: result: no" >&53582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3431 3583 $as_echo "no" >&6; } 3432 3584 fi … … 3441 3593 # Extract the first word of "$ac_prog", so it can be a program name with args. 3442 3594 set dummy $ac_prog; ac_word=$2 3443 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3444 3596 $as_echo_n "checking for $ac_word... " >&6; } 3445 if test "${ac_cv_prog_JAVAC+set}" = set; then3597 if ${ac_cv_prog_JAVAC+:} false; then : 3446 3598 $as_echo_n "(cached) " >&6 3447 3599 else … … 3454 3606 IFS=$as_save_IFS 3455 3607 test -z "$as_dir" && as_dir=. 3456 for ac_exec_ext in '' $ac_executable_extensions; do3608 for ac_exec_ext in '' $ac_executable_extensions; do 3457 3609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3458 3610 ac_cv_prog_JAVAC="$ac_prog" 3459 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3460 3612 break 2 3461 3613 fi 3462 3614 done 3463 done3615 done 3464 3616 IFS=$as_save_IFS 3465 3617 … … 3468 3620 JAVAC=$ac_cv_prog_JAVAC 3469 3621 if test -n "$JAVAC"; then 3470 { $as_echo "$as_me:$ LINENO: result: $JAVAC" >&53622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3471 3623 $as_echo "$JAVAC" >&6; } 3472 3624 else 3473 { $as_echo "$as_me:$ LINENO: result: no" >&53625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3474 3626 $as_echo "no" >&6; } 3475 3627 fi … … 3481 3633 3482 3634 fi 3483 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3484 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 3485 { (exit 1); exit 1; }; } 3635 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 3486 3636 else 3487 3637 echo "Checking for javac... $JAVAC" … … 3490 3640 3491 3641 3492 { $as_echo "$as_me:$ LINENO: checking if $JAVAC works" >&53642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5 3493 3643 $as_echo_n "checking if $JAVAC works... " >&6; } 3494 if test "${ac_cv_prog_javac_works+set}" = set; then3644 if ${ac_cv_prog_javac_works+:} false; then : 3495 3645 $as_echo_n "(cached) " >&6 3496 3646 else … … 3499 3649 CLASS_TEST=Test.class 3500 3650 cat << \EOF > $JAVA_TEST 3501 /* #line 3 501 "configure" */3651 /* #line 3651 "configure" */ 3502 3652 public class Test { 3503 3653 } 3504 3654 EOF 3505 3655 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 3506 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&53656 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 3507 3657 (eval $ac_try) 2>&5 3508 3658 ac_status=$? 3509 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&53510 (exit $ac_status); }; } >/dev/null 2>&1; then3659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3660 test $ac_status = 0; }; } >/dev/null 2>&1; then 3511 3661 ac_cv_prog_javac_works=yes 3512 3662 else 3513 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3514 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3515 { (exit 1); exit 1; }; } 3663 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3516 3664 echo "configure: failed program was:" >&5 3517 3665 cat $JAVA_TEST >&5 … … 3520 3668 3521 3669 fi 3522 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_javac_works" >&53670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5 3523 3671 $as_echo "$ac_cv_prog_javac_works" >&6; } 3524 3672 if test "x$JAVACFLAGS" = x ; then … … 3535 3683 # Extract the first word of "$ac_prog", so it can be a program name with args. 3536 3684 set dummy $ac_prog; ac_word=$2 3537 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3538 3686 $as_echo_n "checking for $ac_word... " >&6; } 3539 if test "${ac_cv_prog_JAVA+set}" = set; then3687 if ${ac_cv_prog_JAVA+:} false; then : 3540 3688 $as_echo_n "(cached) " >&6 3541 3689 else … … 3548 3696 IFS=$as_save_IFS 3549 3697 test -z "$as_dir" && as_dir=. 3550 for ac_exec_ext in '' $ac_executable_extensions; do3698 for ac_exec_ext in '' $ac_executable_extensions; do 3551 3699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3552 3700 ac_cv_prog_JAVA="$ac_prog" 3553 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3554 3702 break 2 3555 3703 fi 3556 3704 done 3557 done3705 done 3558 3706 IFS=$as_save_IFS 3559 3707 … … 3562 3710 JAVA=$ac_cv_prog_JAVA 3563 3711 if test -n "$JAVA"; then 3564 { $as_echo "$as_me:$ LINENO: result: $JAVA" >&53712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 3565 3713 $as_echo "$JAVA" >&6; } 3566 3714 else 3567 { $as_echo "$as_me:$ LINENO: result: no" >&53715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3568 3716 $as_echo "no" >&6; } 3569 3717 fi … … 3578 3726 # Extract the first word of "$ac_prog", so it can be a program name with args. 3579 3727 set dummy $ac_prog; ac_word=$2 3580 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3581 3729 $as_echo_n "checking for $ac_word... " >&6; } 3582 if test "${ac_cv_prog_JAVA+set}" = set; then3730 if ${ac_cv_prog_JAVA+:} false; then : 3583 3731 $as_echo_n "(cached) " >&6 3584 3732 else … … 3591 3739 IFS=$as_save_IFS 3592 3740 test -z "$as_dir" && as_dir=. 3593 for ac_exec_ext in '' $ac_executable_extensions; do3741 for ac_exec_ext in '' $ac_executable_extensions; do 3594 3742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3595 3743 ac_cv_prog_JAVA="$ac_prog" 3596 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3597 3745 break 2 3598 3746 fi 3599 3747 done 3600 done3748 done 3601 3749 IFS=$as_save_IFS 3602 3750 … … 3605 3753 JAVA=$ac_cv_prog_JAVA 3606 3754 if test -n "$JAVA"; then 3607 { $as_echo "$as_me:$ LINENO: result: $JAVA" >&53755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 3608 3756 $as_echo "$JAVA" >&6; } 3609 3757 else 3610 { $as_echo "$as_me:$ LINENO: result: no" >&53758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3611 3759 $as_echo "no" >&6; } 3612 3760 fi … … 3618 3766 3619 3767 fi 3620 test x$JAVA = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5 3621 $as_echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;} 3622 { (exit 1); exit 1; }; } 3768 test x$JAVA = x && as_fn_error $? "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5 3623 3769 fi 3624 3770 … … 3626 3772 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args. 3627 3773 set dummy uudecode$EXEEXT; ac_word=$2 3628 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3629 3775 $as_echo_n "checking for $ac_word... " >&6; } 3630 if test "${ac_cv_prog_uudecode+set}" = set; then3776 if ${ac_cv_prog_uudecode+:} false; then : 3631 3777 $as_echo_n "(cached) " >&6 3632 3778 else … … 3639 3785 IFS=$as_save_IFS 3640 3786 test -z "$as_dir" && as_dir=. 3641 for ac_exec_ext in '' $ac_executable_extensions; do3787 for ac_exec_ext in '' $ac_executable_extensions; do 3642 3788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3643 3789 ac_cv_prog_uudecode="yes" 3644 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3645 3791 break 2 3646 3792 fi 3647 3793 done 3648 done3794 done 3649 3795 IFS=$as_save_IFS 3650 3796 … … 3653 3799 uudecode=$ac_cv_prog_uudecode 3654 3800 if test -n "$uudecode"; then 3655 { $as_echo "$as_me:$ LINENO: result: $uudecode" >&53801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5 3656 3802 $as_echo "$uudecode" >&6; } 3657 3803 else 3658 { $as_echo "$as_me:$ LINENO: result: no" >&53804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3659 3805 $as_echo "no" >&6; } 3660 3806 fi … … 3662 3808 3663 3809 if test x$uudecode = xyes; then 3664 { $as_echo "$as_me:$ LINENO: checking if uudecode can decode base 64 file" >&53810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5 3665 3811 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; } 3666 if test "${ac_cv_prog_uudecode_base64+set}" = set; then3812 if ${ac_cv_prog_uudecode_base64+:} false; then : 3667 3813 $as_echo_n "(cached) " >&6 3668 3814 else … … 3682 3828 ac_cv_prog_uudecode_base64=yes 3683 3829 else 3684 echo "configure: 3 684: uudecode had trouble decoding base 64 file 'Test.uue'" >&53830 echo "configure: 3830: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 3685 3831 echo "configure: failed file was:" >&5 3686 3832 cat Test.uue >&5 … … 3689 3835 rm -f Test.uue 3690 3836 fi 3691 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_uudecode_base64" >&53837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5 3692 3838 $as_echo "$ac_cv_prog_uudecode_base64" >&6; } 3693 3839 fi 3694 3840 if test x$ac_cv_prog_uudecode_base64 != xyes; then 3695 3841 rm -f Test.class 3696 { $as_echo "$as_me:$ LINENO: WARNING: I have to compile Test.class from scratch" >&53842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5 3697 3843 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;} 3698 3844 if test x$ac_cv_prog_javac_works = xno; then 3699 { { $as_echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5 3700 $as_echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;} 3701 { (exit 1); exit 1; }; } 3845 as_fn_error $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5 3702 3846 fi 3703 3847 if test x$ac_cv_prog_javac_works = x; then … … 3709 3853 # Extract the first word of "$ac_prog", so it can be a program name with args. 3710 3854 set dummy $ac_prog; ac_word=$2 3711 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3712 3856 $as_echo_n "checking for $ac_word... " >&6; } 3713 if test "${ac_cv_prog_JAVAC+set}" = set; then3857 if ${ac_cv_prog_JAVAC+:} false; then : 3714 3858 $as_echo_n "(cached) " >&6 3715 3859 else … … 3722 3866 IFS=$as_save_IFS 3723 3867 test -z "$as_dir" && as_dir=. 3724 for ac_exec_ext in '' $ac_executable_extensions; do3868 for ac_exec_ext in '' $ac_executable_extensions; do 3725 3869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3726 3870 ac_cv_prog_JAVAC="$ac_prog" 3727 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3728 3872 break 2 3729 3873 fi 3730 3874 done 3731 done3875 done 3732 3876 IFS=$as_save_IFS 3733 3877 … … 3736 3880 JAVAC=$ac_cv_prog_JAVAC 3737 3881 if test -n "$JAVAC"; then 3738 { $as_echo "$as_me:$ LINENO: result: $JAVAC" >&53882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3739 3883 $as_echo "$JAVAC" >&6; } 3740 3884 else 3741 { $as_echo "$as_me:$ LINENO: result: no" >&53885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3742 3886 $as_echo "no" >&6; } 3743 3887 fi … … 3752 3896 # Extract the first word of "$ac_prog", so it can be a program name with args. 3753 3897 set dummy $ac_prog; ac_word=$2 3754 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3755 3899 $as_echo_n "checking for $ac_word... " >&6; } 3756 if test "${ac_cv_prog_JAVAC+set}" = set; then3900 if ${ac_cv_prog_JAVAC+:} false; then : 3757 3901 $as_echo_n "(cached) " >&6 3758 3902 else … … 3765 3909 IFS=$as_save_IFS 3766 3910 test -z "$as_dir" && as_dir=. 3767 for ac_exec_ext in '' $ac_executable_extensions; do3911 for ac_exec_ext in '' $ac_executable_extensions; do 3768 3912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3769 3913 ac_cv_prog_JAVAC="$ac_prog" 3770 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3771 3915 break 2 3772 3916 fi 3773 3917 done 3774 done3918 done 3775 3919 IFS=$as_save_IFS 3776 3920 … … 3779 3923 JAVAC=$ac_cv_prog_JAVAC 3780 3924 if test -n "$JAVAC"; then 3781 { $as_echo "$as_me:$ LINENO: result: $JAVAC" >&53925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3782 3926 $as_echo "$JAVAC" >&6; } 3783 3927 else 3784 { $as_echo "$as_me:$ LINENO: result: no" >&53928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3785 3929 $as_echo "no" >&6; } 3786 3930 fi … … 3792 3936 3793 3937 fi 3794 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3795 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 3796 { (exit 1); exit 1; }; } 3938 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 3797 3939 else 3798 3940 echo "Checking for javac... $JAVAC" … … 3801 3943 3802 3944 3803 { $as_echo "$as_me:$ LINENO: checking if $JAVAC works" >&53945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5 3804 3946 $as_echo_n "checking if $JAVAC works... " >&6; } 3805 if test "${ac_cv_prog_javac_works+set}" = set; then3947 if ${ac_cv_prog_javac_works+:} false; then : 3806 3948 $as_echo_n "(cached) " >&6 3807 3949 else … … 3810 3952 CLASS_TEST=Test.class 3811 3953 cat << \EOF > $JAVA_TEST 3812 /* #line 3 812"configure" */3954 /* #line 3954 "configure" */ 3813 3955 public class Test { 3814 3956 } 3815 3957 EOF 3816 3958 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 3817 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&53959 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 3818 3960 (eval $ac_try) 2>&5 3819 3961 ac_status=$? 3820 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&53821 (exit $ac_status); }; } >/dev/null 2>&1; then3962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3963 test $ac_status = 0; }; } >/dev/null 2>&1; then 3822 3964 ac_cv_prog_javac_works=yes 3823 3965 else 3824 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3825 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3826 { (exit 1); exit 1; }; } 3966 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3827 3967 echo "configure: failed program was:" >&5 3828 3968 cat $JAVA_TEST >&5 … … 3831 3971 3832 3972 fi 3833 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_javac_works" >&53973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5 3834 3974 $as_echo "$ac_cv_prog_javac_works" >&6; } 3835 3975 if test "x$JAVACFLAGS" = x ; then … … 3841 3981 fi 3842 3982 fi 3843 { $as_echo "$as_me:$ LINENO: checking if $JAVA works" >&53983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5 3844 3984 $as_echo_n "checking if $JAVA works... " >&6; } 3845 if test "${ac_cv_prog_java_works+set}" = set; then3985 if ${ac_cv_prog_java_works+:} false; then : 3846 3986 $as_echo_n "(cached) " >&6 3847 3987 else … … 3851 3991 TEST=Test 3852 3992 cat << \EOF > $JAVA_TEST 3853 /* [#]line 3 853 "configure" */3993 /* [#]line 3993 "configure" */ 3854 3994 public class Test { 3855 3995 public static void main (String args[]) { … … 3859 3999 if test x$ac_cv_prog_uudecode_base64 != xyes; then 3860 4000 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 3861 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&54001 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 3862 4002 (eval $ac_try) 2>&5 3863 4003 ac_status=$? 3864 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&53865 (exit $ac_status); }; } && test -s $CLASS_TEST; then4004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4005 test $ac_status = 0; }; } && test -s $CLASS_TEST; then 3866 4006 : 3867 4007 else 3868 4008 echo "configure: failed program was:" >&5 3869 4009 cat $JAVA_TEST >&5 3870 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3871 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3872 { (exit 1); exit 1; }; } 4010 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3873 4011 fi 3874 4012 fi 3875 4013 if { ac_try='$JAVA $JAVAFLAGS $TEST' 3876 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&54014 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 3877 4015 (eval $ac_try) 2>&5 3878 4016 ac_status=$? 3879 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&53880 (exit $ac_status); }; } >/dev/null 2>&1; then4017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4018 test $ac_status = 0; }; } >/dev/null 2>&1; then 3881 4019 ac_cv_prog_java_works=yes 3882 4020 else 3883 4021 echo "configure: failed program was:" >&5 3884 4022 cat $JAVA_TEST >&5 3885 { { $as_echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5 3886 $as_echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;} 3887 { (exit 1); exit 1; }; } 4023 as_fn_error $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3888 4024 fi 3889 4025 rm -fr $JAVA_TEST $CLASS_TEST Test.uue 3890 4026 3891 4027 fi 3892 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_java_works" >&54028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5 3893 4029 $as_echo "$ac_cv_prog_java_works" >&6; } 3894 4030 … … 3900 4036 # Extract the first word of "$ac_prog", so it can be a program name with args. 3901 4037 set dummy $ac_prog; ac_word=$2 3902 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3903 4039 $as_echo_n "checking for $ac_word... " >&6; } 3904 if test "${ac_cv_prog_AWK+set}" = set; then4040 if ${ac_cv_prog_AWK+:} false; then : 3905 4041 $as_echo_n "(cached) " >&6 3906 4042 else … … 3913 4049 IFS=$as_save_IFS 3914 4050 test -z "$as_dir" && as_dir=. 3915 for ac_exec_ext in '' $ac_executable_extensions; do4051 for ac_exec_ext in '' $ac_executable_extensions; do 3916 4052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3917 4053 ac_cv_prog_AWK="$ac_prog" 3918 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3919 4055 break 2 3920 4056 fi 3921 4057 done 3922 done4058 done 3923 4059 IFS=$as_save_IFS 3924 4060 … … 3927 4063 AWK=$ac_cv_prog_AWK 3928 4064 if test -n "$AWK"; then 3929 { $as_echo "$as_me:$ LINENO: result: $AWK" >&54065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3930 4066 $as_echo "$AWK" >&6; } 3931 4067 else 3932 { $as_echo "$as_me:$ LINENO: result: no" >&54068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3933 4069 $as_echo "no" >&6; } 3934 4070 fi … … 3942 4078 # Extract the first word of "$ac_prog", so it can be a program name with args. 3943 4079 set dummy $ac_prog; ac_word=$2 3944 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3945 4081 $as_echo_n "checking for $ac_word... " >&6; } 3946 if test "${ac_cv_prog_YACC+set}" = set; then4082 if ${ac_cv_prog_YACC+:} false; then : 3947 4083 $as_echo_n "(cached) " >&6 3948 4084 else … … 3955 4091 IFS=$as_save_IFS 3956 4092 test -z "$as_dir" && as_dir=. 3957 for ac_exec_ext in '' $ac_executable_extensions; do4093 for ac_exec_ext in '' $ac_executable_extensions; do 3958 4094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3959 4095 ac_cv_prog_YACC="$ac_prog" 3960 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3961 4097 break 2 3962 4098 fi 3963 4099 done 3964 done4100 done 3965 4101 IFS=$as_save_IFS 3966 4102 … … 3969 4105 YACC=$ac_cv_prog_YACC 3970 4106 if test -n "$YACC"; then 3971 { $as_echo "$as_me:$ LINENO: result: $YACC" >&54107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 3972 4108 $as_echo "$YACC" >&6; } 3973 4109 else 3974 { $as_echo "$as_me:$ LINENO: result: no" >&54110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3975 4111 $as_echo "no" >&6; } 3976 4112 fi … … 3998 4134 done 3999 4135 if test -z "$ac_aux_dir"; then 4000 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 4001 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 4002 { (exit 1); exit 1; }; } 4136 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 4003 4137 fi 4004 4138 … … 4014 4148 # Make sure we can run config.sub. 4015 4149 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4016 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 4017 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 4018 { (exit 1); exit 1; }; } 4019 4020 { $as_echo "$as_me:$LINENO: checking build system type" >&5 4150 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4151 4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4021 4153 $as_echo_n "checking build system type... " >&6; } 4022 if test "${ac_cv_build+set}" = set; then4154 if ${ac_cv_build+:} false; then : 4023 4155 $as_echo_n "(cached) " >&6 4024 4156 else … … 4027 4159 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4028 4160 test "x$ac_build_alias" = x && 4029 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 4030 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 4031 { (exit 1); exit 1; }; } 4161 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4032 4162 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4033 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 4034 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 4035 { (exit 1); exit 1; }; } 4036 4037 fi 4038 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 4163 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4164 4165 fi 4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4039 4167 $as_echo "$ac_cv_build" >&6; } 4040 4168 case $ac_cv_build in 4041 4169 *-*-*) ;; 4042 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 4043 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 4044 { (exit 1); exit 1; }; };; 4170 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4045 4171 esac 4046 4172 build=$ac_cv_build … … 4058 4184 4059 4185 4060 { $as_echo "$as_me:$ LINENO: checking host system type" >&54186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4061 4187 $as_echo_n "checking host system type... " >&6; } 4062 if test "${ac_cv_host+set}" = set; then4188 if ${ac_cv_host+:} false; then : 4063 4189 $as_echo_n "(cached) " >&6 4064 4190 else … … 4067 4193 else 4068 4194 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4069 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 4070 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 4071 { (exit 1); exit 1; }; } 4072 fi 4073 4074 fi 4075 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 4195 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4196 fi 4197 4198 fi 4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4076 4200 $as_echo "$ac_cv_host" >&6; } 4077 4201 case $ac_cv_host in 4078 4202 *-*-*) ;; 4079 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 4080 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 4081 { (exit 1); exit 1; }; };; 4203 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4082 4204 esac 4083 4205 host=$ac_cv_host … … 4095 4217 4096 4218 4097 { $as_echo "$as_me:$ LINENO: checking target system type" >&54219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 4098 4220 $as_echo_n "checking target system type... " >&6; } 4099 if test "${ac_cv_target+set}" = set; then4221 if ${ac_cv_target+:} false; then : 4100 4222 $as_echo_n "(cached) " >&6 4101 4223 else … … 4104 4226 else 4105 4227 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 4106 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 4107 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 4108 { (exit 1); exit 1; }; } 4109 fi 4110 4111 fi 4112 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 4228 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 4229 fi 4230 4231 fi 4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 4113 4233 $as_echo "$ac_cv_target" >&6; } 4114 4234 case $ac_cv_target in 4115 4235 *-*-*) ;; 4116 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 4117 $as_echo "$as_me: error: invalid value of canonical target" >&2;} 4118 { (exit 1); exit 1; }; };; 4236 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 4119 4237 esac 4120 4238 target=$ac_cv_target … … 4138 4256 NONENONEs,x,x, && 4139 4257 program_prefix=${target_alias}- 4258 4140 4259 # Find a good install program. We prefer a C program (faster), 4141 4260 # so one script is as good as another. But avoid the broken or … … 4152 4271 # ./install, which can be erroneously created by make from ./install.sh. 4153 4272 # Reject install programs that cannot install multiple files. 4154 { $as_echo "$as_me:$ LINENO: checking for a BSD-compatible install" >&54273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 4155 4274 $as_echo_n "checking for a BSD-compatible install... " >&6; } 4156 4275 if test -z "$INSTALL"; then 4157 if test "${ac_cv_path_install+set}" = set; then4276 if ${ac_cv_path_install+:} false; then : 4158 4277 $as_echo_n "(cached) " >&6 4159 4278 else … … 4163 4282 IFS=$as_save_IFS 4164 4283 test -z "$as_dir" && as_dir=. 4165 # Account for people who put trailing slashes in PATH elements.4166 case $as_dir/ in 4167 ./ | .// | / cC/* | \4284 # Account for people who put trailing slashes in PATH elements. 4285 case $as_dir/ in #(( 4286 ./ | .// | /[cC]/* | \ 4168 4287 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 4169 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \4288 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 4170 4289 /usr/ucb/* ) ;; 4171 4290 *) … … 4204 4323 esac 4205 4324 4206 done4325 done 4207 4326 IFS=$as_save_IFS 4208 4327 … … 4220 4339 fi 4221 4340 fi 4222 { $as_echo "$as_me:$ LINENO: result: $INSTALL" >&54341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 4223 4342 $as_echo "$INSTALL" >&6; } 4224 4343 … … 4231 4350 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 4232 4351 4233 { $as_echo "$as_me:$ LINENO: checking whether ln -s works" >&54352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4234 4353 $as_echo_n "checking whether ln -s works... " >&6; } 4235 4354 LN_S=$as_ln_s 4236 4355 if test "$LN_S" = "ln -s"; then 4237 { $as_echo "$as_me:$ LINENO: result: yes" >&54356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4238 4357 $as_echo "yes" >&6; } 4239 4358 else 4240 { $as_echo "$as_me:$ LINENO: result: no, using $LN_S" >&54359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4241 4360 $as_echo "no, using $LN_S" >&6; } 4242 4361 fi 4243 4362 4244 { $as_echo "$as_me:$ LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&54363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4245 4364 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4246 4365 set x ${MAKE-make} 4247 4366 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4248 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then4367 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 4249 4368 $as_echo_n "(cached) " >&6 4250 4369 else … … 4254 4373 @echo '@@@%%%=$(MAKE)=@@@%%%' 4255 4374 _ACEOF 4256 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.4375 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 4257 4376 case `${MAKE-make} -f conftest.make 2>/dev/null` in 4258 4377 *@@@%%%=?*=@@@%%%*) … … 4264 4383 fi 4265 4384 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 4266 { $as_echo "$as_me:$ LINENO: result: yes" >&54385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4267 4386 $as_echo "yes" >&6; } 4268 4387 SET_MAKE= 4269 4388 else 4270 { $as_echo "$as_me:$ LINENO: result: no" >&54389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4271 4390 $as_echo "no" >&6; } 4272 4391 SET_MAKE="MAKE=${MAKE-make}" … … 4276 4395 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4277 4396 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4278 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4279 4398 $as_echo_n "checking for $ac_word... " >&6; } 4280 if test "${ac_cv_prog_RANLIB+set}" = set; then4399 if ${ac_cv_prog_RANLIB+:} false; then : 4281 4400 $as_echo_n "(cached) " >&6 4282 4401 else … … 4289 4408 IFS=$as_save_IFS 4290 4409 test -z "$as_dir" && as_dir=. 4291 for ac_exec_ext in '' $ac_executable_extensions; do4410 for ac_exec_ext in '' $ac_executable_extensions; do 4292 4411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4293 4412 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4294 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4295 4414 break 2 4296 4415 fi 4297 4416 done 4298 done4417 done 4299 4418 IFS=$as_save_IFS 4300 4419 … … 4303 4422 RANLIB=$ac_cv_prog_RANLIB 4304 4423 if test -n "$RANLIB"; then 4305 { $as_echo "$as_me:$ LINENO: result: $RANLIB" >&54424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4306 4425 $as_echo "$RANLIB" >&6; } 4307 4426 else 4308 { $as_echo "$as_me:$ LINENO: result: no" >&54427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4309 4428 $as_echo "no" >&6; } 4310 4429 fi … … 4316 4435 # Extract the first word of "ranlib", so it can be a program name with args. 4317 4436 set dummy ranlib; ac_word=$2 4318 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4319 4438 $as_echo_n "checking for $ac_word... " >&6; } 4320 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then4439 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 4321 4440 $as_echo_n "(cached) " >&6 4322 4441 else … … 4329 4448 IFS=$as_save_IFS 4330 4449 test -z "$as_dir" && as_dir=. 4331 for ac_exec_ext in '' $ac_executable_extensions; do4450 for ac_exec_ext in '' $ac_executable_extensions; do 4332 4451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4333 4452 ac_cv_prog_ac_ct_RANLIB="ranlib" 4334 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4335 4454 break 2 4336 4455 fi 4337 4456 done 4338 done4457 done 4339 4458 IFS=$as_save_IFS 4340 4459 … … 4343 4462 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4344 4463 if test -n "$ac_ct_RANLIB"; then 4345 { $as_echo "$as_me:$ LINENO: result: $ac_ct_RANLIB" >&54464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4346 4465 $as_echo "$ac_ct_RANLIB" >&6; } 4347 4466 else 4348 { $as_echo "$as_me:$ LINENO: result: no" >&54467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4349 4468 $as_echo "no" >&6; } 4350 4469 fi … … 4355 4474 case $cross_compiling:$ac_tool_warned in 4356 4475 yes:) 4357 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&54476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4358 4477 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4359 4478 ac_tool_warned=yes ;; … … 4366 4485 4367 4486 4368 { $as_echo "$as_me:$ LINENO: checking to see if architecture is 64-bit" >&54487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&5 4369 4488 $as_echo_n "checking to see if architecture is 64-bit... " >&6; } 4370 4489 arch_64bit=no … … 4374 4493 4375 4494 if test "$arch_64bit" = yes; then 4376 { $as_echo "$as_me:$ LINENO: result: yes" >&54495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4377 4496 $as_echo "yes" >&6; } 4378 4497 if test -z "$ARCH_DEP_FLAGS" ; then … … 4380 4499 fi 4381 4500 else 4382 { $as_echo "$as_me:$ LINENO: result: no" >&54501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4383 4502 $as_echo "no" >&6; } 4384 4503 if test -z "$ARCH_DEP_FLAGS" ; then … … 4414 4533 #do test of MICO_VER 4415 4534 if test MICO_VER != 0; then 4416 cat >>confdefs.h <<\_ACEOF 4417 #define MICO_VER 1 4418 _ACEOF 4535 $as_echo "#define MICO_VER 1" >>confdefs.h 4419 4536 4420 4537 … … 4429 4546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4430 4547 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4431 { $as_echo "$as_me:$ LINENO: checking how to run the C preprocessor" >&54548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4432 4549 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4433 4550 # On Suns, sometimes $CPP names a directory. … … 4436 4553 fi 4437 4554 if test -z "$CPP"; then 4438 if test "${ac_cv_prog_CPP+set}" = set; then4555 if ${ac_cv_prog_CPP+:} false; then : 4439 4556 $as_echo_n "(cached) " >&6 4440 4557 else … … 4451 4568 # On the NeXT, cc -E runs the code through the compiler's parser, 4452 4569 # not just through cpp. "Syntax error" is here to catch this case. 4453 cat >conftest.$ac_ext <<_ACEOF 4454 /* confdefs.h. */ 4455 _ACEOF 4456 cat confdefs.h >>conftest.$ac_ext 4457 cat >>conftest.$ac_ext <<_ACEOF 4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4458 4571 /* end confdefs.h. */ 4459 4572 #ifdef __STDC__ … … 4464 4577 Syntax error 4465 4578 _ACEOF 4466 if { (ac_try="$ac_cpp conftest.$ac_ext" 4467 case "(($ac_try" in 4468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4469 *) ac_try_echo=$ac_try;; 4470 esac 4471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4472 $as_echo "$ac_try_echo") >&5 4473 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4474 ac_status=$? 4475 grep -v '^ *+' conftest.er1 >conftest.err 4476 rm -f conftest.er1 4477 cat conftest.err >&5 4478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4479 (exit $ac_status); } >/dev/null && { 4480 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4481 test ! -s conftest.err 4482 }; then 4483 : 4484 else 4485 $as_echo "$as_me: failed program was:" >&5 4486 sed 's/^/| /' conftest.$ac_ext >&5 4487 4579 if ac_fn_c_try_cpp "$LINENO"; then : 4580 4581 else 4488 4582 # Broken: fails on valid input. 4489 4583 continue 4490 4584 fi 4491 4492 rm -f conftest.err conftest.$ac_ext 4585 rm -f conftest.err conftest.i conftest.$ac_ext 4493 4586 4494 4587 # OK, works on sane cases. Now check whether nonexistent headers 4495 4588 # can be detected and how. 4496 cat >conftest.$ac_ext <<_ACEOF 4497 /* confdefs.h. */ 4498 _ACEOF 4499 cat confdefs.h >>conftest.$ac_ext 4500 cat >>conftest.$ac_ext <<_ACEOF 4589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4501 4590 /* end confdefs.h. */ 4502 4591 #include <ac_nonexistent.h> 4503 4592 _ACEOF 4504 if { (ac_try="$ac_cpp conftest.$ac_ext" 4505 case "(($ac_try" in 4506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4507 *) ac_try_echo=$ac_try;; 4508 esac 4509 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4510 $as_echo "$ac_try_echo") >&5 4511 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4512 ac_status=$? 4513 grep -v '^ *+' conftest.er1 >conftest.err 4514 rm -f conftest.er1 4515 cat conftest.err >&5 4516 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4517 (exit $ac_status); } >/dev/null && { 4518 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4519 test ! -s conftest.err 4520 }; then 4593 if ac_fn_c_try_cpp "$LINENO"; then : 4521 4594 # Broken: success on invalid input. 4522 4595 continue 4523 4596 else 4524 $as_echo "$as_me: failed program was:" >&54525 sed 's/^/| /' conftest.$ac_ext >&54526 4527 4597 # Passes both tests. 4528 4598 ac_preproc_ok=: 4529 4599 break 4530 4600 fi 4531 4532 rm -f conftest.err conftest.$ac_ext 4601 rm -f conftest.err conftest.i conftest.$ac_ext 4533 4602 4534 4603 done 4535 4604 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4536 rm -f conftest. err conftest.$ac_ext4537 if $ac_preproc_ok; then 4605 rm -f conftest.i conftest.err conftest.$ac_ext 4606 if $ac_preproc_ok; then : 4538 4607 break 4539 4608 fi … … 4547 4616 ac_cv_prog_CPP=$CPP 4548 4617 fi 4549 { $as_echo "$as_me:$ LINENO: result: $CPP" >&54618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4550 4619 $as_echo "$CPP" >&6; } 4551 4620 ac_preproc_ok=false … … 4558 4627 # On the NeXT, cc -E runs the code through the compiler's parser, 4559 4628 # not just through cpp. "Syntax error" is here to catch this case. 4560 cat >conftest.$ac_ext <<_ACEOF 4561 /* confdefs.h. */ 4562 _ACEOF 4563 cat confdefs.h >>conftest.$ac_ext 4564 cat >>conftest.$ac_ext <<_ACEOF 4629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4565 4630 /* end confdefs.h. */ 4566 4631 #ifdef __STDC__ … … 4571 4636 Syntax error 4572 4637 _ACEOF 4573 if { (ac_try="$ac_cpp conftest.$ac_ext" 4574 case "(($ac_try" in 4575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4576 *) ac_try_echo=$ac_try;; 4577 esac 4578 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4579 $as_echo "$ac_try_echo") >&5 4580 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4581 ac_status=$? 4582 grep -v '^ *+' conftest.er1 >conftest.err 4583 rm -f conftest.er1 4584 cat conftest.err >&5 4585 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4586 (exit $ac_status); } >/dev/null && { 4587 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4588 test ! -s conftest.err 4589 }; then 4590 : 4591 else 4592 $as_echo "$as_me: failed program was:" >&5 4593 sed 's/^/| /' conftest.$ac_ext >&5 4594 4638 if ac_fn_c_try_cpp "$LINENO"; then : 4639 4640 else 4595 4641 # Broken: fails on valid input. 4596 4642 continue 4597 4643 fi 4598 4599 rm -f conftest.err conftest.$ac_ext 4644 rm -f conftest.err conftest.i conftest.$ac_ext 4600 4645 4601 4646 # OK, works on sane cases. Now check whether nonexistent headers 4602 4647 # can be detected and how. 4603 cat >conftest.$ac_ext <<_ACEOF 4604 /* confdefs.h. */ 4605 _ACEOF 4606 cat confdefs.h >>conftest.$ac_ext 4607 cat >>conftest.$ac_ext <<_ACEOF 4648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4608 4649 /* end confdefs.h. */ 4609 4650 #include <ac_nonexistent.h> 4610 4651 _ACEOF 4611 if { (ac_try="$ac_cpp conftest.$ac_ext" 4612 case "(($ac_try" in 4613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4614 *) ac_try_echo=$ac_try;; 4615 esac 4616 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4617 $as_echo "$ac_try_echo") >&5 4618 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4619 ac_status=$? 4620 grep -v '^ *+' conftest.er1 >conftest.err 4621 rm -f conftest.er1 4622 cat conftest.err >&5 4623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4624 (exit $ac_status); } >/dev/null && { 4625 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4626 test ! -s conftest.err 4627 }; then 4652 if ac_fn_c_try_cpp "$LINENO"; then : 4628 4653 # Broken: success on invalid input. 4629 4654 continue 4630 4655 else 4631 $as_echo "$as_me: failed program was:" >&54632 sed 's/^/| /' conftest.$ac_ext >&54633 4634 4656 # Passes both tests. 4635 4657 ac_preproc_ok=: 4636 4658 break 4637 4659 fi 4638 4639 rm -f conftest.err conftest.$ac_ext 4660 rm -f conftest.err conftest.i conftest.$ac_ext 4640 4661 4641 4662 done 4642 4663 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4643 rm -f conftest. err conftest.$ac_ext4644 if $ac_preproc_ok; then 4645 : 4646 else 4647 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&54664 rm -f conftest.i conftest.err conftest.$ac_ext 4665 if $ac_preproc_ok; then : 4666 4667 else 4668 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4648 4669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4649 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4650 See \`config.log' for more details." >&5 4651 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4652 See \`config.log' for more details." >&2;} 4653 { (exit 1); exit 1; }; }; } 4670 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4671 See \`config.log' for more details" "$LINENO" 5; } 4654 4672 fi 4655 4673 … … 4661 4679 4662 4680 4663 { $as_echo "$as_me:$ LINENO: checking for grep that handles long lines and -e" >&54681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4664 4682 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4665 if test "${ac_cv_path_GREP+set}" = set; then4683 if ${ac_cv_path_GREP+:} false; then : 4666 4684 $as_echo_n "(cached) " >&6 4667 4685 else … … 4674 4692 IFS=$as_save_IFS 4675 4693 test -z "$as_dir" && as_dir=. 4676 for ac_prog in grep ggrep; do4694 for ac_prog in grep ggrep; do 4677 4695 for ac_exec_ext in '' $ac_executable_extensions; do 4678 4696 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" … … 4694 4712 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4695 4713 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4696 a c_count=`expr $ac_count + 1`4714 as_fn_arith $ac_count + 1 && ac_count=$as_val 4697 4715 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4698 4716 # Best one so far, save it but keep looking for a better one … … 4709 4727 done 4710 4728 done 4711 done4729 done 4712 4730 IFS=$as_save_IFS 4713 4731 if test -z "$ac_cv_path_GREP"; then 4714 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4715 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4716 { (exit 1); exit 1; }; } 4732 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4717 4733 fi 4718 4734 else … … 4721 4737 4722 4738 fi 4723 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_GREP" >&54739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4724 4740 $as_echo "$ac_cv_path_GREP" >&6; } 4725 4741 GREP="$ac_cv_path_GREP" 4726 4742 4727 4743 4728 { $as_echo "$as_me:$ LINENO: checking for egrep" >&54744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4729 4745 $as_echo_n "checking for egrep... " >&6; } 4730 if test "${ac_cv_path_EGREP+set}" = set; then4746 if ${ac_cv_path_EGREP+:} false; then : 4731 4747 $as_echo_n "(cached) " >&6 4732 4748 else … … 4742 4758 IFS=$as_save_IFS 4743 4759 test -z "$as_dir" && as_dir=. 4744 for ac_prog in egrep; do4760 for ac_prog in egrep; do 4745 4761 for ac_exec_ext in '' $ac_executable_extensions; do 4746 4762 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" … … 4762 4778 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4763 4779 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4764 a c_count=`expr $ac_count + 1`4780 as_fn_arith $ac_count + 1 && ac_count=$as_val 4765 4781 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4766 4782 # Best one so far, save it but keep looking for a better one … … 4777 4793 done 4778 4794 done 4779 done4795 done 4780 4796 IFS=$as_save_IFS 4781 4797 if test -z "$ac_cv_path_EGREP"; then 4782 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4783 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4784 { (exit 1); exit 1; }; } 4798 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4785 4799 fi 4786 4800 else … … 4790 4804 fi 4791 4805 fi 4792 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_EGREP" >&54806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4793 4807 $as_echo "$ac_cv_path_EGREP" >&6; } 4794 4808 EGREP="$ac_cv_path_EGREP" 4795 4809 4796 4810 4797 { $as_echo "$as_me:$ LINENO: checking for ANSI C header files" >&54811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4798 4812 $as_echo_n "checking for ANSI C header files... " >&6; } 4799 if test "${ac_cv_header_stdc+set}" = set; then4813 if ${ac_cv_header_stdc+:} false; then : 4800 4814 $as_echo_n "(cached) " >&6 4801 4815 else 4802 cat >conftest.$ac_ext <<_ACEOF 4803 /* confdefs.h. */ 4804 _ACEOF 4805 cat confdefs.h >>conftest.$ac_ext 4806 cat >>conftest.$ac_ext <<_ACEOF 4816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4807 4817 /* end confdefs.h. */ 4808 4818 #include <stdlib.h> … … 4819 4829 } 4820 4830 _ACEOF 4821 rm -f conftest.$ac_objext 4822 if { (ac_try="$ac_compile" 4823 case "(($ac_try" in 4824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4825 *) ac_try_echo=$ac_try;; 4826 esac 4827 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4828 $as_echo "$ac_try_echo") >&5 4829 (eval "$ac_compile") 2>conftest.er1 4830 ac_status=$? 4831 grep -v '^ *+' conftest.er1 >conftest.err 4832 rm -f conftest.er1 4833 cat conftest.err >&5 4834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4835 (exit $ac_status); } && { 4836 test -z "$ac_c_werror_flag" || 4837 test ! -s conftest.err 4838 } && test -s conftest.$ac_objext; then 4831 if ac_fn_c_try_compile "$LINENO"; then : 4839 4832 ac_cv_header_stdc=yes 4840 4833 else 4841 $as_echo "$as_me: failed program was:" >&5 4842 sed 's/^/| /' conftest.$ac_ext >&5 4843 4844 ac_cv_header_stdc=no 4845 fi 4846 4834 ac_cv_header_stdc=no 4835 fi 4847 4836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4848 4837 4849 4838 if test $ac_cv_header_stdc = yes; then 4850 4839 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4851 cat >conftest.$ac_ext <<_ACEOF 4852 /* confdefs.h. */ 4853 _ACEOF 4854 cat confdefs.h >>conftest.$ac_ext 4855 cat >>conftest.$ac_ext <<_ACEOF 4840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4856 4841 /* end confdefs.h. */ 4857 4842 #include <string.h> … … 4859 4844 _ACEOF 4860 4845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4861 $EGREP "memchr" >/dev/null 2>&1; then 4862 : 4846 $EGREP "memchr" >/dev/null 2>&1; then : 4847 4863 4848 else 4864 4849 ac_cv_header_stdc=no … … 4870 4855 if test $ac_cv_header_stdc = yes; then 4871 4856 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4872 cat >conftest.$ac_ext <<_ACEOF 4873 /* confdefs.h. */ 4874 _ACEOF 4875 cat confdefs.h >>conftest.$ac_ext 4876 cat >>conftest.$ac_ext <<_ACEOF 4857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4877 4858 /* end confdefs.h. */ 4878 4859 #include <stdlib.h> … … 4880 4861 _ACEOF 4881 4862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4882 $EGREP "free" >/dev/null 2>&1; then 4883 : 4863 $EGREP "free" >/dev/null 2>&1; then : 4864 4884 4865 else 4885 4866 ac_cv_header_stdc=no … … 4891 4872 if test $ac_cv_header_stdc = yes; then 4892 4873 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4893 if test "$cross_compiling" = yes; then 4874 if test "$cross_compiling" = yes; then : 4894 4875 : 4895 4876 else 4896 cat >conftest.$ac_ext <<_ACEOF 4897 /* confdefs.h. */ 4898 _ACEOF 4899 cat confdefs.h >>conftest.$ac_ext 4900 cat >>conftest.$ac_ext <<_ACEOF 4877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4901 4878 /* end confdefs.h. */ 4902 4879 #include <ctype.h> … … 4925 4902 } 4926 4903 _ACEOF 4927 rm -f conftest$ac_exeext 4928 if { (ac_try="$ac_link" 4929 case "(($ac_try" in 4930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4931 *) ac_try_echo=$ac_try;; 4932 esac 4933 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4934 $as_echo "$ac_try_echo") >&5 4935 (eval "$ac_link") 2>&5 4936 ac_status=$? 4937 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4938 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4939 { (case "(($ac_try" in 4940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4941 *) ac_try_echo=$ac_try;; 4942 esac 4943 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4944 $as_echo "$ac_try_echo") >&5 4945 (eval "$ac_try") 2>&5 4946 ac_status=$? 4947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4948 (exit $ac_status); }; }; then 4949 : 4950 else 4951 $as_echo "$as_me: program exited with status $ac_status" >&5 4952 $as_echo "$as_me: failed program was:" >&5 4953 sed 's/^/| /' conftest.$ac_ext >&5 4954 4955 ( exit $ac_status ) 4956 ac_cv_header_stdc=no 4957 fi 4958 rm -rf conftest.dSYM 4959 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4960 fi 4961 4962 4963 fi 4964 fi 4965 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4904 if ac_fn_c_try_run "$LINENO"; then : 4905 4906 else 4907 ac_cv_header_stdc=no 4908 fi 4909 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4910 conftest.$ac_objext conftest.beam conftest.$ac_ext 4911 fi 4912 4913 fi 4914 fi 4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4966 4916 $as_echo "$ac_cv_header_stdc" >&6; } 4967 4917 if test $ac_cv_header_stdc = yes; then 4968 4918 4969 cat >>confdefs.h <<\_ACEOF 4970 #define STDC_HEADERS 1 4971 _ACEOF 4919 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4972 4920 4973 4921 fi 4974 4922 4975 4923 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4924 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4986 4925 inttypes.h stdint.h unistd.h 4987 do 4988 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4989 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4990 $as_echo_n "checking for $ac_header... " >&6; } 4991 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4992 $as_echo_n "(cached) " >&6 4993 else 4994 cat >conftest.$ac_ext <<_ACEOF 4995 /* confdefs.h. */ 4996 _ACEOF 4997 cat confdefs.h >>conftest.$ac_ext 4998 cat >>conftest.$ac_ext <<_ACEOF 4999 /* end confdefs.h. */ 5000 $ac_includes_default 5001 5002 #include <$ac_header> 5003 _ACEOF 5004 rm -f conftest.$ac_objext 5005 if { (ac_try="$ac_compile" 5006 case "(($ac_try" in 5007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5008 *) ac_try_echo=$ac_try;; 5009 esac 5010 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5011 $as_echo "$ac_try_echo") >&5 5012 (eval "$ac_compile") 2>conftest.er1 5013 ac_status=$? 5014 grep -v '^ *+' conftest.er1 >conftest.err 5015 rm -f conftest.er1 5016 cat conftest.err >&5 5017 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5018 (exit $ac_status); } && { 5019 test -z "$ac_c_werror_flag" || 5020 test ! -s conftest.err 5021 } && test -s conftest.$ac_objext; then 5022 eval "$as_ac_Header=yes" 5023 else 5024 $as_echo "$as_me: failed program was:" >&5 5025 sed 's/^/| /' conftest.$ac_ext >&5 5026 5027 eval "$as_ac_Header=no" 5028 fi 5029 5030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5031 fi 5032 ac_res=`eval 'as_val=${'$as_ac_Header'} 5033 $as_echo "$as_val"'` 5034 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5035 $as_echo "$ac_res" >&6; } 5036 as_val=`eval 'as_val=${'$as_ac_Header'} 5037 $as_echo "$as_val"'` 5038 if test "x$as_val" = x""yes; then 4926 do : 4927 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4928 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4929 " 4930 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5039 4931 cat >>confdefs.h <<_ACEOF 5040 4932 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 5047 4939 5048 4940 5049 if test "${ac_cv_header_minix_config_h+set}" = set; then 5050 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5051 $as_echo_n "checking for minix/config.h... " >&6; } 5052 if test "${ac_cv_header_minix_config_h+set}" = set; then 4941 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4942 if test "x$ac_cv_header_minix_config_h" = xyes; then : 4943 MINIX=yes 4944 else 4945 MINIX= 4946 fi 4947 4948 4949 if test "$MINIX" = yes; then 4950 4951 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 4952 4953 4954 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 4955 4956 4957 $as_echo "#define _MINIX 1" >>confdefs.h 4958 4959 fi 4960 4961 4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4963 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4964 if ${ac_cv_safe_to_define___extensions__+:} false; then : 5053 4965 $as_echo_n "(cached) " >&6 5054 fi 5055 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5056 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5057 else 5058 # Is the header compilable? 5059 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 5060 $as_echo_n "checking minix/config.h usability... " >&6; } 5061 cat >conftest.$ac_ext <<_ACEOF 5062 /* confdefs.h. */ 5063 _ACEOF 5064 cat confdefs.h >>conftest.$ac_ext 5065 cat >>conftest.$ac_ext <<_ACEOF 5066 /* end confdefs.h. */ 5067 $ac_includes_default 5068 #include <minix/config.h> 5069 _ACEOF 5070 rm -f conftest.$ac_objext 5071 if { (ac_try="$ac_compile" 5072 case "(($ac_try" in 5073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5074 *) ac_try_echo=$ac_try;; 5075 esac 5076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5077 $as_echo "$ac_try_echo") >&5 5078 (eval "$ac_compile") 2>conftest.er1 5079 ac_status=$? 5080 grep -v '^ *+' conftest.er1 >conftest.err 5081 rm -f conftest.er1 5082 cat conftest.err >&5 5083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5084 (exit $ac_status); } && { 5085 test -z "$ac_c_werror_flag" || 5086 test ! -s conftest.err 5087 } && test -s conftest.$ac_objext; then 5088 ac_header_compiler=yes 5089 else 5090 $as_echo "$as_me: failed program was:" >&5 5091 sed 's/^/| /' conftest.$ac_ext >&5 5092 5093 ac_header_compiler=no 5094 fi 5095 5096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5097 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5098 $as_echo "$ac_header_compiler" >&6; } 5099 5100 # Is the header present? 5101 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 5102 $as_echo_n "checking minix/config.h presence... " >&6; } 5103 cat >conftest.$ac_ext <<_ACEOF 5104 /* confdefs.h. */ 5105 _ACEOF 5106 cat confdefs.h >>conftest.$ac_ext 5107 cat >>conftest.$ac_ext <<_ACEOF 5108 /* end confdefs.h. */ 5109 #include <minix/config.h> 5110 _ACEOF 5111 if { (ac_try="$ac_cpp conftest.$ac_ext" 5112 case "(($ac_try" in 5113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5114 *) ac_try_echo=$ac_try;; 5115 esac 5116 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5117 $as_echo "$ac_try_echo") >&5 5118 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5119 ac_status=$? 5120 grep -v '^ *+' conftest.er1 >conftest.err 5121 rm -f conftest.er1 5122 cat conftest.err >&5 5123 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5124 (exit $ac_status); } >/dev/null && { 5125 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5126 test ! -s conftest.err 5127 }; then 5128 ac_header_preproc=yes 5129 else 5130 $as_echo "$as_me: failed program was:" >&5 5131 sed 's/^/| /' conftest.$ac_ext >&5 5132 5133 ac_header_preproc=no 5134 fi 5135 5136 rm -f conftest.err conftest.$ac_ext 5137 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5138 $as_echo "$ac_header_preproc" >&6; } 5139 5140 # So? What about this header? 5141 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5142 yes:no: ) 5143 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 5144 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5145 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 5146 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 5147 ac_header_preproc=yes 5148 ;; 5149 no:yes:* ) 5150 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 5151 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 5152 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 5153 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 5154 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 5155 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 5156 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 5157 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 5158 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 5159 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 5160 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 5161 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 5162 5163 ;; 5164 esac 5165 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5166 $as_echo_n "checking for minix/config.h... " >&6; } 5167 if test "${ac_cv_header_minix_config_h+set}" = set; then 5168 $as_echo_n "(cached) " >&6 5169 else 5170 ac_cv_header_minix_config_h=$ac_header_preproc 5171 fi 5172 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5173 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5174 5175 fi 5176 if test "x$ac_cv_header_minix_config_h" = x""yes; then 5177 MINIX=yes 5178 else 5179 MINIX= 5180 fi 5181 5182 5183 if test "$MINIX" = yes; then 5184 5185 cat >>confdefs.h <<\_ACEOF 5186 #define _POSIX_SOURCE 1 5187 _ACEOF 5188 5189 5190 cat >>confdefs.h <<\_ACEOF 5191 #define _POSIX_1_SOURCE 2 5192 _ACEOF 5193 5194 5195 cat >>confdefs.h <<\_ACEOF 5196 #define _MINIX 1 5197 _ACEOF 5198 5199 fi 5200 5201 5202 5203 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 5204 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5205 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 5206 $as_echo_n "(cached) " >&6 5207 else 5208 cat >conftest.$ac_ext <<_ACEOF 5209 /* confdefs.h. */ 5210 _ACEOF 5211 cat confdefs.h >>conftest.$ac_ext 5212 cat >>conftest.$ac_ext <<_ACEOF 4966 else 4967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5213 4968 /* end confdefs.h. */ 5214 4969 … … 5223 4978 } 5224 4979 _ACEOF 5225 rm -f conftest.$ac_objext 5226 if { (ac_try="$ac_compile" 5227 case "(($ac_try" in 5228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5229 *) ac_try_echo=$ac_try;; 5230 esac 5231 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5232 $as_echo "$ac_try_echo") >&5 5233 (eval "$ac_compile") 2>conftest.er1 5234 ac_status=$? 5235 grep -v '^ *+' conftest.er1 >conftest.err 5236 rm -f conftest.er1 5237 cat conftest.err >&5 5238 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5239 (exit $ac_status); } && { 5240 test -z "$ac_c_werror_flag" || 5241 test ! -s conftest.err 5242 } && test -s conftest.$ac_objext; then 4980 if ac_fn_c_try_compile "$LINENO"; then : 5243 4981 ac_cv_safe_to_define___extensions__=yes 5244 4982 else 5245 $as_echo "$as_me: failed program was:" >&5 5246 sed 's/^/| /' conftest.$ac_ext >&5 5247 5248 ac_cv_safe_to_define___extensions__=no 5249 fi 5250 4983 ac_cv_safe_to_define___extensions__=no 4984 fi 5251 4985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5252 4986 fi 5253 { $as_echo "$as_me:$ LINENO: result: $ac_cv_safe_to_define___extensions__" >&54987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 5254 4988 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5255 4989 test $ac_cv_safe_to_define___extensions__ = yes && 5256 cat >>confdefs.h <<\_ACEOF 5257 #define __EXTENSIONS__ 1 5258 _ACEOF 5259 5260 cat >>confdefs.h <<\_ACEOF 5261 #define _ALL_SOURCE 1 5262 _ACEOF 5263 5264 cat >>confdefs.h <<\_ACEOF 5265 #define _GNU_SOURCE 1 5266 _ACEOF 5267 5268 cat >>confdefs.h <<\_ACEOF 5269 #define _POSIX_PTHREAD_SEMANTICS 1 5270 _ACEOF 5271 5272 cat >>confdefs.h <<\_ACEOF 5273 #define _TANDEM_SOURCE 1 5274 _ACEOF 5275 5276 5277 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5 4990 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 4991 4992 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 4993 4994 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 4995 4996 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 4997 4998 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 4999 5000 5001 5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 5278 5003 $as_echo_n "checking for library containing strerror... " >&6; } 5279 if test "${ac_cv_search_strerror+set}" = set; then5004 if ${ac_cv_search_strerror+:} false; then : 5280 5005 $as_echo_n "(cached) " >&6 5281 5006 else 5282 5007 ac_func_search_save_LIBS=$LIBS 5283 cat >conftest.$ac_ext <<_ACEOF 5284 /* confdefs.h. */ 5285 _ACEOF 5286 cat confdefs.h >>conftest.$ac_ext 5287 cat >>conftest.$ac_ext <<_ACEOF 5008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5288 5009 /* end confdefs.h. */ 5289 5010 … … 5310 5031 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5311 5032 fi 5312 rm -f conftest.$ac_objext conftest$ac_exeext 5313 if { (ac_try="$ac_link" 5314 case "(($ac_try" in 5315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5316 *) ac_try_echo=$ac_try;; 5317 esac 5318 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5319 $as_echo "$ac_try_echo") >&5 5320 (eval "$ac_link") 2>conftest.er1 5321 ac_status=$? 5322 grep -v '^ *+' conftest.er1 >conftest.err 5323 rm -f conftest.er1 5324 cat conftest.err >&5 5325 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5326 (exit $ac_status); } && { 5327 test -z "$ac_c_werror_flag" || 5328 test ! -s conftest.err 5329 } && test -s conftest$ac_exeext && { 5330 test "$cross_compiling" = yes || 5331 $as_test_x conftest$ac_exeext 5332 }; then 5033 if ac_fn_c_try_link "$LINENO"; then : 5333 5034 ac_cv_search_strerror=$ac_res 5334 else 5335 $as_echo "$as_me: failed program was:" >&5 5336 sed 's/^/| /' conftest.$ac_ext >&5 5337 5338 5339 fi 5340 5341 rm -rf conftest.dSYM 5342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5343 conftest$ac_exeext 5344 if test "${ac_cv_search_strerror+set}" = set; then 5035 fi 5036 rm -f core conftest.err conftest.$ac_objext \ 5037 conftest$ac_exeext 5038 if ${ac_cv_search_strerror+:} false; then : 5345 5039 break 5346 5040 fi 5347 5041 done 5348 if test "${ac_cv_search_strerror+set}" = set; then5349 : 5042 if ${ac_cv_search_strerror+:} false; then : 5043 5350 5044 else 5351 5045 ac_cv_search_strerror=no … … 5354 5048 LIBS=$ac_func_search_save_LIBS 5355 5049 fi 5356 { $as_echo "$as_me:$ LINENO: result: $ac_cv_search_strerror" >&55050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 5357 5051 $as_echo "$ac_cv_search_strerror" >&6; } 5358 5052 ac_res=$ac_cv_search_strerror 5359 if test "$ac_res" != no; then 5053 if test "$ac_res" != no; then : 5360 5054 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5361 5055 … … 5363 5057 5364 5058 5365 if test "${ac_cv_header_minix_config_h+set}" = set; then 5366 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5367 $as_echo_n "checking for minix/config.h... " >&6; } 5368 if test "${ac_cv_header_minix_config_h+set}" = set; then 5369 $as_echo_n "(cached) " >&6 5370 fi 5371 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5372 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5373 else 5374 # Is the header compilable? 5375 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 5376 $as_echo_n "checking minix/config.h usability... " >&6; } 5377 cat >conftest.$ac_ext <<_ACEOF 5378 /* confdefs.h. */ 5379 _ACEOF 5380 cat confdefs.h >>conftest.$ac_ext 5381 cat >>conftest.$ac_ext <<_ACEOF 5382 /* end confdefs.h. */ 5383 $ac_includes_default 5384 #include <minix/config.h> 5385 _ACEOF 5386 rm -f conftest.$ac_objext 5387 if { (ac_try="$ac_compile" 5388 case "(($ac_try" in 5389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5390 *) ac_try_echo=$ac_try;; 5391 esac 5392 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5393 $as_echo "$ac_try_echo") >&5 5394 (eval "$ac_compile") 2>conftest.er1 5395 ac_status=$? 5396 grep -v '^ *+' conftest.er1 >conftest.err 5397 rm -f conftest.er1 5398 cat conftest.err >&5 5399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5400 (exit $ac_status); } && { 5401 test -z "$ac_c_werror_flag" || 5402 test ! -s conftest.err 5403 } && test -s conftest.$ac_objext; then 5404 ac_header_compiler=yes 5405 else 5406 $as_echo "$as_me: failed program was:" >&5 5407 sed 's/^/| /' conftest.$ac_ext >&5 5408 5409 ac_header_compiler=no 5410 fi 5411 5412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5413 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5414 $as_echo "$ac_header_compiler" >&6; } 5415 5416 # Is the header present? 5417 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 5418 $as_echo_n "checking minix/config.h presence... " >&6; } 5419 cat >conftest.$ac_ext <<_ACEOF 5420 /* confdefs.h. */ 5421 _ACEOF 5422 cat confdefs.h >>conftest.$ac_ext 5423 cat >>conftest.$ac_ext <<_ACEOF 5424 /* end confdefs.h. */ 5425 #include <minix/config.h> 5426 _ACEOF 5427 if { (ac_try="$ac_cpp conftest.$ac_ext" 5428 case "(($ac_try" in 5429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5430 *) ac_try_echo=$ac_try;; 5431 esac 5432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5433 $as_echo "$ac_try_echo") >&5 5434 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5435 ac_status=$? 5436 grep -v '^ *+' conftest.er1 >conftest.err 5437 rm -f conftest.er1 5438 cat conftest.err >&5 5439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5440 (exit $ac_status); } >/dev/null && { 5441 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5442 test ! -s conftest.err 5443 }; then 5444 ac_header_preproc=yes 5445 else 5446 $as_echo "$as_me: failed program was:" >&5 5447 sed 's/^/| /' conftest.$ac_ext >&5 5448 5449 ac_header_preproc=no 5450 fi 5451 5452 rm -f conftest.err conftest.$ac_ext 5453 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5454 $as_echo "$ac_header_preproc" >&6; } 5455 5456 # So? What about this header? 5457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5458 yes:no: ) 5459 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 5460 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5461 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 5462 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 5463 ac_header_preproc=yes 5464 ;; 5465 no:yes:* ) 5466 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 5467 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 5468 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 5469 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 5470 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 5471 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 5472 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 5473 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 5474 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 5475 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 5476 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 5477 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 5478 5479 ;; 5480 esac 5481 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5482 $as_echo_n "checking for minix/config.h... " >&6; } 5483 if test "${ac_cv_header_minix_config_h+set}" = set; then 5484 $as_echo_n "(cached) " >&6 5485 else 5486 ac_cv_header_minix_config_h=$ac_header_preproc 5487 fi 5488 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5489 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5490 5491 fi 5492 if test "x$ac_cv_header_minix_config_h" = x""yes; then 5493 MINIX=yes 5494 else 5495 MINIX= 5496 fi 5497 5498 5499 if test "$MINIX" = yes; then 5500 5501 cat >>confdefs.h <<\_ACEOF 5502 #define _POSIX_SOURCE 1 5503 _ACEOF 5504 5505 5506 cat >>confdefs.h <<\_ACEOF 5507 #define _POSIX_1_SOURCE 2 5508 _ACEOF 5509 5510 5511 cat >>confdefs.h <<\_ACEOF 5512 #define _MINIX 1 5513 _ACEOF 5514 5515 fi 5516 5517 5518 5519 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 5520 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5521 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 5522 $as_echo_n "(cached) " >&6 5523 else 5524 cat >conftest.$ac_ext <<_ACEOF 5525 /* confdefs.h. */ 5526 _ACEOF 5527 cat confdefs.h >>conftest.$ac_ext 5528 cat >>conftest.$ac_ext <<_ACEOF 5529 /* end confdefs.h. */ 5530 5531 # define __EXTENSIONS__ 1 5532 $ac_includes_default 5533 int 5534 main () 5535 { 5536 5537 ; 5538 return 0; 5539 } 5540 _ACEOF 5541 rm -f conftest.$ac_objext 5542 if { (ac_try="$ac_compile" 5543 case "(($ac_try" in 5544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5545 *) ac_try_echo=$ac_try;; 5546 esac 5547 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5548 $as_echo "$ac_try_echo") >&5 5549 (eval "$ac_compile") 2>conftest.er1 5550 ac_status=$? 5551 grep -v '^ *+' conftest.er1 >conftest.err 5552 rm -f conftest.er1 5553 cat conftest.err >&5 5554 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5555 (exit $ac_status); } && { 5556 test -z "$ac_c_werror_flag" || 5557 test ! -s conftest.err 5558 } && test -s conftest.$ac_objext; then 5559 ac_cv_safe_to_define___extensions__=yes 5560 else 5561 $as_echo "$as_me: failed program was:" >&5 5562 sed 's/^/| /' conftest.$ac_ext >&5 5563 5564 ac_cv_safe_to_define___extensions__=no 5565 fi 5566 5567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5568 fi 5569 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 5570 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5571 test $ac_cv_safe_to_define___extensions__ = yes && 5572 cat >>confdefs.h <<\_ACEOF 5573 #define __EXTENSIONS__ 1 5574 _ACEOF 5575 5576 cat >>confdefs.h <<\_ACEOF 5577 #define _ALL_SOURCE 1 5578 _ACEOF 5579 5580 cat >>confdefs.h <<\_ACEOF 5581 #define _GNU_SOURCE 1 5582 _ACEOF 5583 5584 cat >>confdefs.h <<\_ACEOF 5585 #define _POSIX_PTHREAD_SEMANTICS 1 5586 _ACEOF 5587 5588 cat >>confdefs.h <<\_ACEOF 5589 #define _TANDEM_SOURCE 1 5590 _ACEOF 5591 5592 5593 { $as_echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5 5594 5060 $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; } 5595 if test "${ac_cv_prog_cc_stdc+set}" = set; then5061 if ${ac_cv_prog_cc_stdc+:} false; then : 5596 5062 $as_echo_n "(cached) " >&6 5597 5063 else … … 5607 5073 do 5608 5074 CFLAGS="$ac_save_CFLAGS $ac_arg" 5609 cat >conftest.$ac_ext <<_ACEOF 5610 /* confdefs.h. */ 5611 _ACEOF 5612 cat confdefs.h >>conftest.$ac_ext 5613 cat >>conftest.$ac_ext <<_ACEOF 5075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5614 5076 /* end confdefs.h. */ 5615 5077 #if !defined(__STDC__) || __STDC__ != 1 … … 5627 5089 } 5628 5090 _ACEOF 5629 rm -f conftest.$ac_objext 5630 if { (ac_try="$ac_compile" 5631 case "(($ac_try" in 5632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5633 *) ac_try_echo=$ac_try;; 5634 esac 5635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5636 $as_echo "$ac_try_echo") >&5 5637 (eval "$ac_compile") 2>conftest.er1 5638 ac_status=$? 5639 grep -v '^ *+' conftest.er1 >conftest.err 5640 rm -f conftest.er1 5641 cat conftest.err >&5 5642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5643 (exit $ac_status); } && { 5644 test -z "$ac_c_werror_flag" || 5645 test ! -s conftest.err 5646 } && test -s conftest.$ac_objext; then 5091 if ac_fn_c_try_compile "$LINENO"; then : 5647 5092 ac_cv_prog_cc_stdc="$ac_arg"; break 5648 else 5649 $as_echo "$as_me: failed program was:" >&5 5650 sed 's/^/| /' conftest.$ac_ext >&5 5651 5652 5653 fi 5654 5093 fi 5655 5094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5656 5095 done … … 5659 5098 fi 5660 5099 5661 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_stdc" >&55100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5 5662 5101 $as_echo "$ac_cv_prog_cc_stdc" >&6; } 5663 5102 case "x$ac_cv_prog_cc_stdc" in … … 5667 5106 5668 5107 5669 { $as_echo "$as_me:$ LINENO: checking for function prototypes" >&55108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5 5670 5109 $as_echo_n "checking for function prototypes... " >&6; } 5671 5110 if test "$ac_cv_prog_cc_stdc" != no; then 5672 { $as_echo "$as_me:$ LINENO: result: yes" >&55111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5673 5112 $as_echo "yes" >&6; } 5674 cat >>confdefs.h <<\_ACEOF 5675 #define PROTOTYPES 1 5676 _ACEOF 5113 $as_echo "#define PROTOTYPES 1" >>confdefs.h 5677 5114 5678 5115 U= ANSI2KNR= 5679 5116 else 5680 { $as_echo "$as_me:$ LINENO: result: no" >&55117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5681 5118 $as_echo "no" >&6; } 5682 5119 U=_ ANSI2KNR=ansi2knr 5683 5120 fi 5684 5121 5685 { $as_echo "$as_me:$ LINENO: checking for an ANSI C-conforming const" >&55122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 5686 5123 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 5687 if test "${ac_cv_c_const+set}" = set; then5124 if ${ac_cv_c_const+:} false; then : 5688 5125 $as_echo_n "(cached) " >&6 5689 5126 else 5690 cat >conftest.$ac_ext <<_ACEOF 5691 /* confdefs.h. */ 5692 _ACEOF 5693 cat confdefs.h >>conftest.$ac_ext 5694 cat >>conftest.$ac_ext <<_ACEOF 5127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5695 5128 /* end confdefs.h. */ 5696 5129 … … 5752 5185 } 5753 5186 _ACEOF 5754 rm -f conftest.$ac_objext 5755 if { (ac_try="$ac_compile" 5756 case "(($ac_try" in 5757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5758 *) ac_try_echo=$ac_try;; 5759 esac 5760 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5761 $as_echo "$ac_try_echo") >&5 5762 (eval "$ac_compile") 2>conftest.er1 5763 ac_status=$? 5764 grep -v '^ *+' conftest.er1 >conftest.err 5765 rm -f conftest.er1 5766 cat conftest.err >&5 5767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5768 (exit $ac_status); } && { 5769 test -z "$ac_c_werror_flag" || 5770 test ! -s conftest.err 5771 } && test -s conftest.$ac_objext; then 5187 if ac_fn_c_try_compile "$LINENO"; then : 5772 5188 ac_cv_c_const=yes 5773 5189 else 5774 $as_echo "$as_me: failed program was:" >&5 5775 sed 's/^/| /' conftest.$ac_ext >&5 5776 5777 ac_cv_c_const=no 5778 fi 5779 5190 ac_cv_c_const=no 5191 fi 5780 5192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5781 5193 fi 5782 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_const" >&55194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 5783 5195 $as_echo "$ac_cv_c_const" >&6; } 5784 5196 if test $ac_cv_c_const = no; then 5785 5197 5786 cat >>confdefs.h <<\_ACEOF 5787 #define const /**/ 5788 _ACEOF 5789 5790 fi 5791 5792 { $as_echo "$as_me:$LINENO: checking for off_t" >&5 5793 $as_echo_n "checking for off_t... " >&6; } 5794 if test "${ac_cv_type_off_t+set}" = set; then 5795 $as_echo_n "(cached) " >&6 5796 else 5797 ac_cv_type_off_t=no 5798 cat >conftest.$ac_ext <<_ACEOF 5799 /* confdefs.h. */ 5800 _ACEOF 5801 cat confdefs.h >>conftest.$ac_ext 5802 cat >>conftest.$ac_ext <<_ACEOF 5803 /* end confdefs.h. */ 5804 $ac_includes_default 5805 int 5806 main () 5807 { 5808 if (sizeof (off_t)) 5809 return 0; 5810 ; 5811 return 0; 5812 } 5813 _ACEOF 5814 rm -f conftest.$ac_objext 5815 if { (ac_try="$ac_compile" 5816 case "(($ac_try" in 5817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5818 *) ac_try_echo=$ac_try;; 5819 esac 5820 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5821 $as_echo "$ac_try_echo") >&5 5822 (eval "$ac_compile") 2>conftest.er1 5823 ac_status=$? 5824 grep -v '^ *+' conftest.er1 >conftest.err 5825 rm -f conftest.er1 5826 cat conftest.err >&5 5827 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5828 (exit $ac_status); } && { 5829 test -z "$ac_c_werror_flag" || 5830 test ! -s conftest.err 5831 } && test -s conftest.$ac_objext; then 5832 cat >conftest.$ac_ext <<_ACEOF 5833 /* confdefs.h. */ 5834 _ACEOF 5835 cat confdefs.h >>conftest.$ac_ext 5836 cat >>conftest.$ac_ext <<_ACEOF 5837 /* end confdefs.h. */ 5838 $ac_includes_default 5839 int 5840 main () 5841 { 5842 if (sizeof ((off_t))) 5843 return 0; 5844 ; 5845 return 0; 5846 } 5847 _ACEOF 5848 rm -f conftest.$ac_objext 5849 if { (ac_try="$ac_compile" 5850 case "(($ac_try" in 5851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5852 *) ac_try_echo=$ac_try;; 5853 esac 5854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5855 $as_echo "$ac_try_echo") >&5 5856 (eval "$ac_compile") 2>conftest.er1 5857 ac_status=$? 5858 grep -v '^ *+' conftest.er1 >conftest.err 5859 rm -f conftest.er1 5860 cat conftest.err >&5 5861 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5862 (exit $ac_status); } && { 5863 test -z "$ac_c_werror_flag" || 5864 test ! -s conftest.err 5865 } && test -s conftest.$ac_objext; then 5866 : 5867 else 5868 $as_echo "$as_me: failed program was:" >&5 5869 sed 's/^/| /' conftest.$ac_ext >&5 5870 5871 ac_cv_type_off_t=yes 5872 fi 5873 5874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5875 else 5876 $as_echo "$as_me: failed program was:" >&5 5877 sed 's/^/| /' conftest.$ac_ext >&5 5878 5879 5880 fi 5881 5882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5883 fi 5884 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 5885 $as_echo "$ac_cv_type_off_t" >&6; } 5886 if test "x$ac_cv_type_off_t" = x""yes; then 5887 : 5198 $as_echo "#define const /**/" >>confdefs.h 5199 5200 fi 5201 5202 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 5203 if test "x$ac_cv_type_off_t" = xyes; then : 5204 5888 5205 else 5889 5206 … … 5894 5211 fi 5895 5212 5896 { $as_echo "$as_me:$LINENO: checking for size_t" >&5 5897 $as_echo_n "checking for size_t... " >&6; } 5898 if test "${ac_cv_type_size_t+set}" = set; then 5899 $as_echo_n "(cached) " >&6 5900 else 5901 ac_cv_type_size_t=no 5902 cat >conftest.$ac_ext <<_ACEOF 5903 /* confdefs.h. */ 5904 _ACEOF 5905 cat confdefs.h >>conftest.$ac_ext 5906 cat >>conftest.$ac_ext <<_ACEOF 5907 /* end confdefs.h. */ 5908 $ac_includes_default 5909 int 5910 main () 5911 { 5912 if (sizeof (size_t)) 5913 return 0; 5914 ; 5915 return 0; 5916 } 5917 _ACEOF 5918 rm -f conftest.$ac_objext 5919 if { (ac_try="$ac_compile" 5920 case "(($ac_try" in 5921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5922 *) ac_try_echo=$ac_try;; 5923 esac 5924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5925 $as_echo "$ac_try_echo") >&5 5926 (eval "$ac_compile") 2>conftest.er1 5927 ac_status=$? 5928 grep -v '^ *+' conftest.er1 >conftest.err 5929 rm -f conftest.er1 5930 cat conftest.err >&5 5931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5932 (exit $ac_status); } && { 5933 test -z "$ac_c_werror_flag" || 5934 test ! -s conftest.err 5935 } && test -s conftest.$ac_objext; then 5936 cat >conftest.$ac_ext <<_ACEOF 5937 /* confdefs.h. */ 5938 _ACEOF 5939 cat confdefs.h >>conftest.$ac_ext 5940 cat >>conftest.$ac_ext <<_ACEOF 5941 /* end confdefs.h. */ 5942 $ac_includes_default 5943 int 5944 main () 5945 { 5946 if (sizeof ((size_t))) 5947 return 0; 5948 ; 5949 return 0; 5950 } 5951 _ACEOF 5952 rm -f conftest.$ac_objext 5953 if { (ac_try="$ac_compile" 5954 case "(($ac_try" in 5955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5956 *) ac_try_echo=$ac_try;; 5957 esac 5958 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5959 $as_echo "$ac_try_echo") >&5 5960 (eval "$ac_compile") 2>conftest.er1 5961 ac_status=$? 5962 grep -v '^ *+' conftest.er1 >conftest.err 5963 rm -f conftest.er1 5964 cat conftest.err >&5 5965 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5966 (exit $ac_status); } && { 5967 test -z "$ac_c_werror_flag" || 5968 test ! -s conftest.err 5969 } && test -s conftest.$ac_objext; then 5970 : 5971 else 5972 $as_echo "$as_me: failed program was:" >&5 5973 sed 's/^/| /' conftest.$ac_ext >&5 5974 5975 ac_cv_type_size_t=yes 5976 fi 5977 5978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5979 else 5980 $as_echo "$as_me: failed program was:" >&5 5981 sed 's/^/| /' conftest.$ac_ext >&5 5982 5983 5984 fi 5985 5986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5987 fi 5988 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 5989 $as_echo "$ac_cv_type_size_t" >&6; } 5990 if test "x$ac_cv_type_size_t" = x""yes; then 5991 : 5213 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 5214 if test "x$ac_cv_type_size_t" = xyes; then : 5215 5992 5216 else 5993 5217 … … 5998 5222 fi 5999 5223 6000 { $as_echo "$as_me:$ LINENO: checking whether time.h and sys/time.h may both be included" >&55224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 6001 5225 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 6002 if test "${ac_cv_header_time+set}" = set; then5226 if ${ac_cv_header_time+:} false; then : 6003 5227 $as_echo_n "(cached) " >&6 6004 5228 else 6005 cat >conftest.$ac_ext <<_ACEOF 6006 /* confdefs.h. */ 6007 _ACEOF 6008 cat confdefs.h >>conftest.$ac_ext 6009 cat >>conftest.$ac_ext <<_ACEOF 5229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6010 5230 /* end confdefs.h. */ 6011 5231 #include <sys/types.h> … … 6022 5242 } 6023 5243 _ACEOF 6024 rm -f conftest.$ac_objext 6025 if { (ac_try="$ac_compile" 6026 case "(($ac_try" in 6027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6028 *) ac_try_echo=$ac_try;; 6029 esac 6030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6031 $as_echo "$ac_try_echo") >&5 6032 (eval "$ac_compile") 2>conftest.er1 6033 ac_status=$? 6034 grep -v '^ *+' conftest.er1 >conftest.err 6035 rm -f conftest.er1 6036 cat conftest.err >&5 6037 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6038 (exit $ac_status); } && { 6039 test -z "$ac_c_werror_flag" || 6040 test ! -s conftest.err 6041 } && test -s conftest.$ac_objext; then 5244 if ac_fn_c_try_compile "$LINENO"; then : 6042 5245 ac_cv_header_time=yes 6043 5246 else 6044 $as_echo "$as_me: failed program was:" >&5 6045 sed 's/^/| /' conftest.$ac_ext >&5 6046 6047 ac_cv_header_time=no 6048 fi 6049 5247 ac_cv_header_time=no 5248 fi 6050 5249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6051 5250 fi 6052 { $as_echo "$as_me:$ LINENO: result: $ac_cv_header_time" >&55251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 6053 5252 $as_echo "$ac_cv_header_time" >&6; } 6054 5253 if test $ac_cv_header_time = yes; then 6055 5254 6056 cat >>confdefs.h <<\_ACEOF 6057 #define TIME_WITH_SYS_TIME 1 6058 _ACEOF 6059 6060 fi 6061 6062 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 5255 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 5256 5257 fi 5258 5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 6063 5260 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 6064 if test "${ac_cv_struct_tm+set}" = set; then5261 if ${ac_cv_struct_tm+:} false; then : 6065 5262 $as_echo_n "(cached) " >&6 6066 5263 else 6067 cat >conftest.$ac_ext <<_ACEOF 6068 /* confdefs.h. */ 6069 _ACEOF 6070 cat confdefs.h >>conftest.$ac_ext 6071 cat >>conftest.$ac_ext <<_ACEOF 5264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6072 5265 /* end confdefs.h. */ 6073 5266 #include <sys/types.h> … … 6084 5277 } 6085 5278 _ACEOF 6086 rm -f conftest.$ac_objext 6087 if { (ac_try="$ac_compile" 6088 case "(($ac_try" in 6089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6090 *) ac_try_echo=$ac_try;; 6091 esac 6092 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6093 $as_echo "$ac_try_echo") >&5 6094 (eval "$ac_compile") 2>conftest.er1 6095 ac_status=$? 6096 grep -v '^ *+' conftest.er1 >conftest.err 6097 rm -f conftest.er1 6098 cat conftest.err >&5 6099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6100 (exit $ac_status); } && { 6101 test -z "$ac_c_werror_flag" || 6102 test ! -s conftest.err 6103 } && test -s conftest.$ac_objext; then 5279 if ac_fn_c_try_compile "$LINENO"; then : 6104 5280 ac_cv_struct_tm=time.h 6105 5281 else 6106 $as_echo "$as_me: failed program was:" >&5 6107 sed 's/^/| /' conftest.$ac_ext >&5 6108 6109 ac_cv_struct_tm=sys/time.h 6110 fi 6111 5282 ac_cv_struct_tm=sys/time.h 5283 fi 6112 5284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6113 5285 fi 6114 { $as_echo "$as_me:$ LINENO: result: $ac_cv_struct_tm" >&55286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 6115 5287 $as_echo "$ac_cv_struct_tm" >&6; } 6116 5288 if test $ac_cv_struct_tm = sys/time.h; then 6117 5289 6118 cat >>confdefs.h <<\_ACEOF 6119 #define TM_IN_SYS_TIME 1 6120 _ACEOF 5290 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 6121 5291 6122 5292 fi … … 6124 5294 6125 5295 if test "$ac_cv_prog_cc_stdc" = '-Xc'; then 6126 cat >conftest.$ac_ext <<_ACEOF 6127 /* confdefs.h. */ 6128 _ACEOF 6129 cat confdefs.h >>conftest.$ac_ext 6130 cat >>conftest.$ac_ext <<_ACEOF 5296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6131 5297 /* end confdefs.h. */ 6132 5298 #include <stdio.h> … … 6140 5306 } 6141 5307 _ACEOF 6142 rm -f conftest.$ac_objext 6143 if { (ac_try="$ac_compile" 6144 case "(($ac_try" in 6145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6146 *) ac_try_echo=$ac_try;; 6147 esac 6148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6149 $as_echo "$ac_try_echo") >&5 6150 (eval "$ac_compile") 2>conftest.er1 6151 ac_status=$? 6152 grep -v '^ *+' conftest.er1 >conftest.err 6153 rm -f conftest.er1 6154 cat conftest.err >&5 6155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6156 (exit $ac_status); } && { 6157 test -z "$ac_c_werror_flag" || 6158 test ! -s conftest.err 6159 } && test -s conftest.$ac_objext; then 6160 : 6161 else 6162 $as_echo "$as_me: failed program was:" >&5 6163 sed 's/^/| /' conftest.$ac_ext >&5 6164 6165 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 6166 fi 6167 5308 if ac_fn_c_try_compile "$LINENO"; then : 5309 5310 else 5311 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5312 fi 6168 5313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6169 5314 fi 6170 5315 6171 5316 6172 6173 { $as_echo "$as_me:$LINENO: checking for main in -lg" >&5 5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lg" >&5 6174 5318 $as_echo_n "checking for main in -lg... " >&6; } 6175 if test "${ac_cv_lib_g_main+set}" = set; then5319 if ${ac_cv_lib_g_main+:} false; then : 6176 5320 $as_echo_n "(cached) " >&6 6177 5321 else 6178 5322 ac_check_lib_save_LIBS=$LIBS 6179 5323 LIBS="-lg $LIBS" 6180 cat >conftest.$ac_ext <<_ACEOF 6181 /* confdefs.h. */ 6182 _ACEOF 6183 cat confdefs.h >>conftest.$ac_ext 6184 cat >>conftest.$ac_ext <<_ACEOF 5324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6185 5325 /* end confdefs.h. */ 6186 5326 … … 6194 5334 } 6195 5335 _ACEOF 6196 rm -f conftest.$ac_objext conftest$ac_exeext 6197 if { (ac_try="$ac_link" 6198 case "(($ac_try" in 6199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6200 *) ac_try_echo=$ac_try;; 6201 esac 6202 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6203 $as_echo "$ac_try_echo") >&5 6204 (eval "$ac_link") 2>conftest.er1 6205 ac_status=$? 6206 grep -v '^ *+' conftest.er1 >conftest.err 6207 rm -f conftest.er1 6208 cat conftest.err >&5 6209 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6210 (exit $ac_status); } && { 6211 test -z "$ac_c_werror_flag" || 6212 test ! -s conftest.err 6213 } && test -s conftest$ac_exeext && { 6214 test "$cross_compiling" = yes || 6215 $as_test_x conftest$ac_exeext 6216 }; then 5336 if ac_fn_c_try_link "$LINENO"; then : 6217 5337 ac_cv_lib_g_main=yes 6218 5338 else 6219 $as_echo "$as_me: failed program was:" >&5 6220 sed 's/^/| /' conftest.$ac_ext >&5 6221 6222 ac_cv_lib_g_main=no 6223 fi 6224 6225 rm -rf conftest.dSYM 6226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6227 conftest$ac_exeext conftest.$ac_ext 5339 ac_cv_lib_g_main=no 5340 fi 5341 rm -f core conftest.err conftest.$ac_objext \ 5342 conftest$ac_exeext conftest.$ac_ext 6228 5343 LIBS=$ac_check_lib_save_LIBS 6229 5344 fi 6230 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_g_main" >&55345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_g_main" >&5 6231 5346 $as_echo "$ac_cv_lib_g_main" >&6; } 6232 if test "x$ac_cv_lib_g_main" = x ""yes; then5347 if test "x$ac_cv_lib_g_main" = xyes; then : 6233 5348 cat >>confdefs.h <<_ACEOF 6234 5349 #define HAVE_LIBG 1 … … 6240 5355 ac_cv_lib_g=ac_cv_lib_g_main 6241 5356 6242 6243 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5 5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 6244 5358 $as_echo_n "checking for main in -lm... " >&6; } 6245 if test "${ac_cv_lib_m_main+set}" = set; then5359 if ${ac_cv_lib_m_main+:} false; then : 6246 5360 $as_echo_n "(cached) " >&6 6247 5361 else 6248 5362 ac_check_lib_save_LIBS=$LIBS 6249 5363 LIBS="-lm $LIBS" 6250 cat >conftest.$ac_ext <<_ACEOF 6251 /* confdefs.h. */ 6252 _ACEOF 6253 cat confdefs.h >>conftest.$ac_ext 6254 cat >>conftest.$ac_ext <<_ACEOF 5364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6255 5365 /* end confdefs.h. */ 6256 5366 … … 6264 5374 } 6265 5375 _ACEOF 6266 rm -f conftest.$ac_objext conftest$ac_exeext 6267 if { (ac_try="$ac_link" 6268 case "(($ac_try" in 6269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6270 *) ac_try_echo=$ac_try;; 6271 esac 6272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6273 $as_echo "$ac_try_echo") >&5 6274 (eval "$ac_link") 2>conftest.er1 6275 ac_status=$? 6276 grep -v '^ *+' conftest.er1 >conftest.err 6277 rm -f conftest.er1 6278 cat conftest.err >&5 6279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6280 (exit $ac_status); } && { 6281 test -z "$ac_c_werror_flag" || 6282 test ! -s conftest.err 6283 } && test -s conftest$ac_exeext && { 6284 test "$cross_compiling" = yes || 6285 $as_test_x conftest$ac_exeext 6286 }; then 5376 if ac_fn_c_try_link "$LINENO"; then : 6287 5377 ac_cv_lib_m_main=yes 6288 5378 else 6289 $as_echo "$as_me: failed program was:" >&5 6290 sed 's/^/| /' conftest.$ac_ext >&5 6291 6292 ac_cv_lib_m_main=no 6293 fi 6294 6295 rm -rf conftest.dSYM 6296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6297 conftest$ac_exeext conftest.$ac_ext 5379 ac_cv_lib_m_main=no 5380 fi 5381 rm -f core conftest.err conftest.$ac_objext \ 5382 conftest$ac_exeext conftest.$ac_ext 6298 5383 LIBS=$ac_check_lib_save_LIBS 6299 5384 fi 6300 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_m_main" >&55385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5 6301 5386 $as_echo "$ac_cv_lib_m_main" >&6; } 6302 if test "x$ac_cv_lib_m_main" = x ""yes; then5387 if test "x$ac_cv_lib_m_main" = xyes; then : 6303 5388 cat >>confdefs.h <<_ACEOF 6304 5389 #define HAVE_LIBM 1 … … 6310 5395 ac_cv_lib_m=ac_cv_lib_m_main 6311 5396 6312 6313 { $as_echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5 6314 5398 $as_echo_n "checking for main in -lcrypt... " >&6; } 6315 if test "${ac_cv_lib_crypt_main+set}" = set; then5399 if ${ac_cv_lib_crypt_main+:} false; then : 6316 5400 $as_echo_n "(cached) " >&6 6317 5401 else 6318 5402 ac_check_lib_save_LIBS=$LIBS 6319 5403 LIBS="-lcrypt $LIBS" 6320 cat >conftest.$ac_ext <<_ACEOF 6321 /* confdefs.h. */ 6322 _ACEOF 6323 cat confdefs.h >>conftest.$ac_ext 6324 cat >>conftest.$ac_ext <<_ACEOF 5404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6325 5405 /* end confdefs.h. */ 6326 5406 … … 6334 5414 } 6335 5415 _ACEOF 6336 rm -f conftest.$ac_objext conftest$ac_exeext 6337 if { (ac_try="$ac_link" 6338 case "(($ac_try" in 6339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6340 *) ac_try_echo=$ac_try;; 6341 esac 6342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6343 $as_echo "$ac_try_echo") >&5 6344 (eval "$ac_link") 2>conftest.er1 6345 ac_status=$? 6346 grep -v '^ *+' conftest.er1 >conftest.err 6347 rm -f conftest.er1 6348 cat conftest.err >&5 6349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6350 (exit $ac_status); } && { 6351 test -z "$ac_c_werror_flag" || 6352 test ! -s conftest.err 6353 } && test -s conftest$ac_exeext && { 6354 test "$cross_compiling" = yes || 6355 $as_test_x conftest$ac_exeext 6356 }; then 5416 if ac_fn_c_try_link "$LINENO"; then : 6357 5417 ac_cv_lib_crypt_main=yes 6358 5418 else 6359 $as_echo "$as_me: failed program was:" >&5 6360 sed 's/^/| /' conftest.$ac_ext >&5 6361 6362 ac_cv_lib_crypt_main=no 6363 fi 6364 6365 rm -rf conftest.dSYM 6366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6367 conftest$ac_exeext conftest.$ac_ext 5419 ac_cv_lib_crypt_main=no 5420 fi 5421 rm -f core conftest.err conftest.$ac_objext \ 5422 conftest$ac_exeext conftest.$ac_ext 6368 5423 LIBS=$ac_check_lib_save_LIBS 6369 5424 fi 6370 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_crypt_main" >&55425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&5 6371 5426 $as_echo "$ac_cv_lib_crypt_main" >&6; } 6372 if test "x$ac_cv_lib_crypt_main" = x ""yes; then5427 if test "x$ac_cv_lib_crypt_main" = xyes; then : 6373 5428 cat >>confdefs.h <<_ACEOF 6374 5429 #define HAVE_LIBCRYPT 1 … … 6381 5436 6382 5437 if test $ENABLE_ACCENTFOLD = 1; then 6383 6384 { $as_echo "$as_me:$LINENO: checking for main in -liconv" >&5 5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -liconv" >&5 6385 5439 $as_echo_n "checking for main in -liconv... " >&6; } 6386 if test "${ac_cv_lib_iconv_main+set}" = set; then5440 if ${ac_cv_lib_iconv_main+:} false; then : 6387 5441 $as_echo_n "(cached) " >&6 6388 5442 else 6389 5443 ac_check_lib_save_LIBS=$LIBS 6390 5444 LIBS="-liconv $LIBS" 6391 cat >conftest.$ac_ext <<_ACEOF 6392 /* confdefs.h. */ 6393 _ACEOF 6394 cat confdefs.h >>conftest.$ac_ext 6395 cat >>conftest.$ac_ext <<_ACEOF 5445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6396 5446 /* end confdefs.h. */ 6397 5447 … … 6405 5455 } 6406 5456 _ACEOF 6407 rm -f conftest.$ac_objext conftest$ac_exeext 6408 if { (ac_try="$ac_link" 6409 case "(($ac_try" in 6410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6411 *) ac_try_echo=$ac_try;; 6412 esac 6413 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6414 $as_echo "$ac_try_echo") >&5 6415 (eval "$ac_link") 2>conftest.er1 6416 ac_status=$? 6417 grep -v '^ *+' conftest.er1 >conftest.err 6418 rm -f conftest.er1 6419 cat conftest.err >&5 6420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6421 (exit $ac_status); } && { 6422 test -z "$ac_c_werror_flag" || 6423 test ! -s conftest.err 6424 } && test -s conftest$ac_exeext && { 6425 test "$cross_compiling" = yes || 6426 $as_test_x conftest$ac_exeext 6427 }; then 5457 if ac_fn_c_try_link "$LINENO"; then : 6428 5458 ac_cv_lib_iconv_main=yes 6429 5459 else 6430 $as_echo "$as_me: failed program was:" >&5 6431 sed 's/^/| /' conftest.$ac_ext >&5 6432 6433 ac_cv_lib_iconv_main=no 6434 fi 6435 6436 rm -rf conftest.dSYM 6437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6438 conftest$ac_exeext conftest.$ac_ext 5460 ac_cv_lib_iconv_main=no 5461 fi 5462 rm -f core conftest.err conftest.$ac_objext \ 5463 conftest$ac_exeext conftest.$ac_ext 6439 5464 LIBS=$ac_check_lib_save_LIBS 6440 5465 fi 6441 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_iconv_main" >&55466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_main" >&5 6442 5467 $as_echo "$ac_cv_lib_iconv_main" >&6; } 6443 if test "x$ac_cv_lib_iconv_main" = x ""yes; then5468 if test "x$ac_cv_lib_iconv_main" = xyes; then : 6444 5469 cat >>confdefs.h <<_ACEOF 6445 5470 #define HAVE_LIBICONV 1 … … 6452 5477 6453 5478 fi 6454 6455 6456 6457 6458 6459 5479 6460 5480 ac_header_dirent=no 6461 5481 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 6462 5482 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 6463 { $as_echo "$as_me:$ LINENO: checking for $ac_hdr that defines DIR" >&55483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 6464 5484 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 6465 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then5485 if eval \${$as_ac_Header+:} false; then : 6466 5486 $as_echo_n "(cached) " >&6 6467 5487 else 6468 cat >conftest.$ac_ext <<_ACEOF 6469 /* confdefs.h. */ 6470 _ACEOF 6471 cat confdefs.h >>conftest.$ac_ext 6472 cat >>conftest.$ac_ext <<_ACEOF 5488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6473 5489 /* end confdefs.h. */ 6474 5490 #include <sys/types.h> … … 6484 5500 } 6485 5501 _ACEOF 6486 rm -f conftest.$ac_objext 6487 if { (ac_try="$ac_compile" 6488 case "(($ac_try" in 6489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6490 *) ac_try_echo=$ac_try;; 6491 esac 6492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6493 $as_echo "$ac_try_echo") >&5 6494 (eval "$ac_compile") 2>conftest.er1 6495 ac_status=$? 6496 grep -v '^ *+' conftest.er1 >conftest.err 6497 rm -f conftest.er1 6498 cat conftest.err >&5 6499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6500 (exit $ac_status); } && { 6501 test -z "$ac_c_werror_flag" || 6502 test ! -s conftest.err 6503 } && test -s conftest.$ac_objext; then 5502 if ac_fn_c_try_compile "$LINENO"; then : 6504 5503 eval "$as_ac_Header=yes" 6505 5504 else 6506 $as_echo "$as_me: failed program was:" >&5 6507 sed 's/^/| /' conftest.$ac_ext >&5 6508 6509 eval "$as_ac_Header=no" 6510 fi 6511 5505 eval "$as_ac_Header=no" 5506 fi 6512 5507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6513 5508 fi 6514 ac_res=`eval 'as_val=${'$as_ac_Header'} 6515 $as_echo "$as_val"'` 6516 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5509 eval ac_res=\$$as_ac_Header 5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6517 5511 $as_echo "$ac_res" >&6; } 6518 as_val=`eval 'as_val=${'$as_ac_Header'} 6519 $as_echo "$as_val"'` 6520 if test "x$as_val" = x""yes; then 5512 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6521 5513 cat >>confdefs.h <<_ACEOF 6522 5514 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 … … 6529 5521 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 6530 5522 if test $ac_header_dirent = dirent.h; then 6531 { $as_echo "$as_me:$ LINENO: checking for library containing opendir" >&55523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 6532 5524 $as_echo_n "checking for library containing opendir... " >&6; } 6533 if test "${ac_cv_search_opendir+set}" = set; then5525 if ${ac_cv_search_opendir+:} false; then : 6534 5526 $as_echo_n "(cached) " >&6 6535 5527 else 6536 5528 ac_func_search_save_LIBS=$LIBS 6537 cat >conftest.$ac_ext <<_ACEOF 6538 /* confdefs.h. */ 6539 _ACEOF 6540 cat confdefs.h >>conftest.$ac_ext 6541 cat >>conftest.$ac_ext <<_ACEOF 5529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6542 5530 /* end confdefs.h. */ 6543 5531 … … 6564 5552 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6565 5553 fi 6566 rm -f conftest.$ac_objext conftest$ac_exeext 6567 if { (ac_try="$ac_link" 6568 case "(($ac_try" in 6569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6570 *) ac_try_echo=$ac_try;; 6571 esac 6572 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6573 $as_echo "$ac_try_echo") >&5 6574 (eval "$ac_link") 2>conftest.er1 6575 ac_status=$? 6576 grep -v '^ *+' conftest.er1 >conftest.err 6577 rm -f conftest.er1 6578 cat conftest.err >&5 6579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6580 (exit $ac_status); } && { 6581 test -z "$ac_c_werror_flag" || 6582 test ! -s conftest.err 6583 } && test -s conftest$ac_exeext && { 6584 test "$cross_compiling" = yes || 6585 $as_test_x conftest$ac_exeext 6586 }; then 5554 if ac_fn_c_try_link "$LINENO"; then : 6587 5555 ac_cv_search_opendir=$ac_res 6588 else 6589 $as_echo "$as_me: failed program was:" >&5 6590 sed 's/^/| /' conftest.$ac_ext >&5 6591 6592 6593 fi 6594 6595 rm -rf conftest.dSYM 6596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6597 conftest$ac_exeext 6598 if test "${ac_cv_search_opendir+set}" = set; then 5556 fi 5557 rm -f core conftest.err conftest.$ac_objext \ 5558 conftest$ac_exeext 5559 if ${ac_cv_search_opendir+:} false; then : 6599 5560 break 6600 5561 fi 6601 5562 done 6602 if test "${ac_cv_search_opendir+set}" = set; then6603 : 5563 if ${ac_cv_search_opendir+:} false; then : 5564 6604 5565 else 6605 5566 ac_cv_search_opendir=no … … 6608 5569 LIBS=$ac_func_search_save_LIBS 6609 5570 fi 6610 { $as_echo "$as_me:$ LINENO: result: $ac_cv_search_opendir" >&55571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 6611 5572 $as_echo "$ac_cv_search_opendir" >&6; } 6612 5573 ac_res=$ac_cv_search_opendir 6613 if test "$ac_res" != no; then 5574 if test "$ac_res" != no; then : 6614 5575 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6615 5576 … … 6617 5578 6618 5579 else 6619 { $as_echo "$as_me:$ LINENO: checking for library containing opendir" >&55580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 6620 5581 $as_echo_n "checking for library containing opendir... " >&6; } 6621 if test "${ac_cv_search_opendir+set}" = set; then5582 if ${ac_cv_search_opendir+:} false; then : 6622 5583 $as_echo_n "(cached) " >&6 6623 5584 else 6624 5585 ac_func_search_save_LIBS=$LIBS 6625 cat >conftest.$ac_ext <<_ACEOF 6626 /* confdefs.h. */ 6627 _ACEOF 6628 cat confdefs.h >>conftest.$ac_ext 6629 cat >>conftest.$ac_ext <<_ACEOF 5586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6630 5587 /* end confdefs.h. */ 6631 5588 … … 6652 5609 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6653 5610 fi 6654 rm -f conftest.$ac_objext conftest$ac_exeext 6655 if { (ac_try="$ac_link" 6656 case "(($ac_try" in 6657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6658 *) ac_try_echo=$ac_try;; 6659 esac 6660 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6661 $as_echo "$ac_try_echo") >&5 6662 (eval "$ac_link") 2>conftest.er1 6663 ac_status=$? 6664 grep -v '^ *+' conftest.er1 >conftest.err 6665 rm -f conftest.er1 6666 cat conftest.err >&5 6667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6668 (exit $ac_status); } && { 6669 test -z "$ac_c_werror_flag" || 6670 test ! -s conftest.err 6671 } && test -s conftest$ac_exeext && { 6672 test "$cross_compiling" = yes || 6673 $as_test_x conftest$ac_exeext 6674 }; then 5611 if ac_fn_c_try_link "$LINENO"; then : 6675 5612 ac_cv_search_opendir=$ac_res 6676 else 6677 $as_echo "$as_me: failed program was:" >&5 6678 sed 's/^/| /' conftest.$ac_ext >&5 6679 6680 6681 fi 6682 6683 rm -rf conftest.dSYM 6684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6685 conftest$ac_exeext 6686 if test "${ac_cv_search_opendir+set}" = set; then 5613 fi 5614 rm -f core conftest.err conftest.$ac_objext \ 5615 conftest$ac_exeext 5616 if ${ac_cv_search_opendir+:} false; then : 6687 5617 break 6688 5618 fi 6689 5619 done 6690 if test "${ac_cv_search_opendir+set}" = set; then6691 : 5620 if ${ac_cv_search_opendir+:} false; then : 5621 6692 5622 else 6693 5623 ac_cv_search_opendir=no … … 6696 5626 LIBS=$ac_func_search_save_LIBS 6697 5627 fi 6698 { $as_echo "$as_me:$ LINENO: result: $ac_cv_search_opendir" >&55628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 6699 5629 $as_echo "$ac_cv_search_opendir" >&6; } 6700 5630 ac_res=$ac_cv_search_opendir 6701 if test "$ac_res" != no; then 5631 if test "$ac_res" != no; then : 6702 5632 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6703 5633 … … 6706 5636 fi 6707 5637 6708 { $as_echo "$as_me:$ LINENO: checking for ANSI C header files" >&55638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6709 5639 $as_echo_n "checking for ANSI C header files... " >&6; } 6710 if test "${ac_cv_header_stdc+set}" = set; then5640 if ${ac_cv_header_stdc+:} false; then : 6711 5641 $as_echo_n "(cached) " >&6 6712 5642 else 6713 cat >conftest.$ac_ext <<_ACEOF 6714 /* confdefs.h. */ 6715 _ACEOF 6716 cat confdefs.h >>conftest.$ac_ext 6717 cat >>conftest.$ac_ext <<_ACEOF 5643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6718 5644 /* end confdefs.h. */ 6719 5645 #include <stdlib.h> … … 6730 5656 } 6731 5657 _ACEOF 6732 rm -f conftest.$ac_objext 6733 if { (ac_try="$ac_compile" 6734 case "(($ac_try" in 6735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6736 *) ac_try_echo=$ac_try;; 6737 esac 6738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6739 $as_echo "$ac_try_echo") >&5 6740 (eval "$ac_compile") 2>conftest.er1 6741 ac_status=$? 6742 grep -v '^ *+' conftest.er1 >conftest.err 6743 rm -f conftest.er1 6744 cat conftest.err >&5 6745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6746 (exit $ac_status); } && { 6747 test -z "$ac_c_werror_flag" || 6748 test ! -s conftest.err 6749 } && test -s conftest.$ac_objext; then 5658 if ac_fn_c_try_compile "$LINENO"; then : 6750 5659 ac_cv_header_stdc=yes 6751 5660 else 6752 $as_echo "$as_me: failed program was:" >&5 6753 sed 's/^/| /' conftest.$ac_ext >&5 6754 6755 ac_cv_header_stdc=no 6756 fi 6757 5661 ac_cv_header_stdc=no 5662 fi 6758 5663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6759 5664 6760 5665 if test $ac_cv_header_stdc = yes; then 6761 5666 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6762 cat >conftest.$ac_ext <<_ACEOF 6763 /* confdefs.h. */ 6764 _ACEOF 6765 cat confdefs.h >>conftest.$ac_ext 6766 cat >>conftest.$ac_ext <<_ACEOF 5667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6767 5668 /* end confdefs.h. */ 6768 5669 #include <string.h> … … 6770 5671 _ACEOF 6771 5672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6772 $EGREP "memchr" >/dev/null 2>&1; then 6773 : 5673 $EGREP "memchr" >/dev/null 2>&1; then : 5674 6774 5675 else 6775 5676 ac_cv_header_stdc=no … … 6781 5682 if test $ac_cv_header_stdc = yes; then 6782 5683 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6783 cat >conftest.$ac_ext <<_ACEOF 6784 /* confdefs.h. */ 6785 _ACEOF 6786 cat confdefs.h >>conftest.$ac_ext 6787 cat >>conftest.$ac_ext <<_ACEOF 5684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6788 5685 /* end confdefs.h. */ 6789 5686 #include <stdlib.h> … … 6791 5688 _ACEOF 6792 5689 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6793 $EGREP "free" >/dev/null 2>&1; then 6794 : 5690 $EGREP "free" >/dev/null 2>&1; then : 5691 6795 5692 else 6796 5693 ac_cv_header_stdc=no … … 6802 5699 if test $ac_cv_header_stdc = yes; then 6803 5700 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6804 if test "$cross_compiling" = yes; then 5701 if test "$cross_compiling" = yes; then : 6805 5702 : 6806 5703 else 6807 cat >conftest.$ac_ext <<_ACEOF 6808 /* confdefs.h. */ 6809 _ACEOF 6810 cat confdefs.h >>conftest.$ac_ext 6811 cat >>conftest.$ac_ext <<_ACEOF 5704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6812 5705 /* end confdefs.h. */ 6813 5706 #include <ctype.h> … … 6836 5729 } 6837 5730 _ACEOF 6838 rm -f conftest$ac_exeext 6839 if { (ac_try="$ac_link" 6840 case "(($ac_try" in 6841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6842 *) ac_try_echo=$ac_try;; 6843 esac 6844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6845 $as_echo "$ac_try_echo") >&5 6846 (eval "$ac_link") 2>&5 6847 ac_status=$? 6848 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6849 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6850 { (case "(($ac_try" in 6851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6852 *) ac_try_echo=$ac_try;; 6853 esac 6854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6855 $as_echo "$ac_try_echo") >&5 6856 (eval "$ac_try") 2>&5 6857 ac_status=$? 6858 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6859 (exit $ac_status); }; }; then 6860 : 6861 else 6862 $as_echo "$as_me: program exited with status $ac_status" >&5 6863 $as_echo "$as_me: failed program was:" >&5 6864 sed 's/^/| /' conftest.$ac_ext >&5 6865 6866 ( exit $ac_status ) 6867 ac_cv_header_stdc=no 6868 fi 6869 rm -rf conftest.dSYM 6870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6871 fi 6872 6873 6874 fi 6875 fi 6876 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5731 if ac_fn_c_try_run "$LINENO"; then : 5732 5733 else 5734 ac_cv_header_stdc=no 5735 fi 5736 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5737 conftest.$ac_objext conftest.beam conftest.$ac_ext 5738 fi 5739 5740 fi 5741 fi 5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 6877 5743 $as_echo "$ac_cv_header_stdc" >&6; } 6878 5744 if test $ac_cv_header_stdc = yes; then 6879 5745 6880 cat >>confdefs.h <<\_ACEOF 6881 #define STDC_HEADERS 1 6882 _ACEOF 6883 6884 fi 6885 6886 6887 6888 6889 6890 6891 6892 6893 5746 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 5747 5748 fi 6894 5749 6895 5750 for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h sys/stat.h 6896 do 6897 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6898 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6899 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6900 $as_echo_n "checking for $ac_header... " >&6; } 6901 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6902 $as_echo_n "(cached) " >&6 6903 fi 6904 ac_res=`eval 'as_val=${'$as_ac_Header'} 6905 $as_echo "$as_val"'` 6906 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6907 $as_echo "$ac_res" >&6; } 6908 else 6909 # Is the header compilable? 6910 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6911 $as_echo_n "checking $ac_header usability... " >&6; } 6912 cat >conftest.$ac_ext <<_ACEOF 6913 /* confdefs.h. */ 6914 _ACEOF 6915 cat confdefs.h >>conftest.$ac_ext 6916 cat >>conftest.$ac_ext <<_ACEOF 6917 /* end confdefs.h. */ 6918 $ac_includes_default 6919 #include <$ac_header> 6920 _ACEOF 6921 rm -f conftest.$ac_objext 6922 if { (ac_try="$ac_compile" 6923 case "(($ac_try" in 6924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6925 *) ac_try_echo=$ac_try;; 6926 esac 6927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6928 $as_echo "$ac_try_echo") >&5 6929 (eval "$ac_compile") 2>conftest.er1 6930 ac_status=$? 6931 grep -v '^ *+' conftest.er1 >conftest.err 6932 rm -f conftest.er1 6933 cat conftest.err >&5 6934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6935 (exit $ac_status); } && { 6936 test -z "$ac_c_werror_flag" || 6937 test ! -s conftest.err 6938 } && test -s conftest.$ac_objext; then 6939 ac_header_compiler=yes 6940 else 6941 $as_echo "$as_me: failed program was:" >&5 6942 sed 's/^/| /' conftest.$ac_ext >&5 6943 6944 ac_header_compiler=no 6945 fi 6946 6947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6948 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6949 $as_echo "$ac_header_compiler" >&6; } 6950 6951 # Is the header present? 6952 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6953 $as_echo_n "checking $ac_header presence... " >&6; } 6954 cat >conftest.$ac_ext <<_ACEOF 6955 /* confdefs.h. */ 6956 _ACEOF 6957 cat confdefs.h >>conftest.$ac_ext 6958 cat >>conftest.$ac_ext <<_ACEOF 6959 /* end confdefs.h. */ 6960 #include <$ac_header> 6961 _ACEOF 6962 if { (ac_try="$ac_cpp conftest.$ac_ext" 6963 case "(($ac_try" in 6964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6965 *) ac_try_echo=$ac_try;; 6966 esac 6967 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6968 $as_echo "$ac_try_echo") >&5 6969 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6970 ac_status=$? 6971 grep -v '^ *+' conftest.er1 >conftest.err 6972 rm -f conftest.er1 6973 cat conftest.err >&5 6974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6975 (exit $ac_status); } >/dev/null && { 6976 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6977 test ! -s conftest.err 6978 }; then 6979 ac_header_preproc=yes 6980 else 6981 $as_echo "$as_me: failed program was:" >&5 6982 sed 's/^/| /' conftest.$ac_ext >&5 6983 6984 ac_header_preproc=no 6985 fi 6986 6987 rm -f conftest.err conftest.$ac_ext 6988 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5