Changeset 25169 for main/trunk
- Timestamp:
- 2012-03-02T10:36:20+13:00 (12 years ago)
- Location:
- main/trunk/greenstone2/common-src/indexers/mg
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/common-src/indexers/mg/configure
r25148 r25169 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 [email protected] 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 [email protected] 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 ac_unique_file="src/text/mgquery.c" … … 670 634 CXXFLAGS 671 635 CXX 636 ARCH_DEP_FLAGS 672 637 ENABLE_JAVA 673 638 VERSION … … 715 680 prefix 716 681 exec_prefix 682 PACKAGE_URL 717 683 PACKAGE_BUGREPORT 718 684 PACKAGE_STRING … … 805 771 806 772 case $ac_option in 807 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 808 *) ac_optarg=yes ;; 773 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 774 *=) ac_optarg= ;; 775 *) ac_optarg=yes ;; 809 776 esac 810 777 … … 851 818 # Reject names that are not valid shell variable names. 852 819 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 853 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 854 { (exit 1); exit 1; }; } 820 as_fn_error $? "invalid feature name: $ac_useropt" 855 821 ac_useropt_orig=$ac_useropt 856 822 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 878 844 # Reject names that are not valid shell variable names. 879 845 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 880 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 881 { (exit 1); exit 1; }; } 846 as_fn_error $? "invalid feature name: $ac_useropt" 882 847 ac_useropt_orig=$ac_useropt 883 848 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1083 1048 # Reject names that are not valid shell variable names. 1084 1049 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1085 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1086 { (exit 1); exit 1; }; } 1050 as_fn_error $? "invalid package name: $ac_useropt" 1087 1051 ac_useropt_orig=$ac_useropt 1088 1052 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1100 1064 # Reject names that are not valid shell variable names. 1101 1065 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1102 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1103 { (exit 1); exit 1; }; } 1066 as_fn_error $? "invalid package name: $ac_useropt" 1104 1067 ac_useropt_orig=$ac_useropt 1105 1068 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1131 1094 x_libraries=$ac_optarg ;; 1132 1095 1133 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1134 Try \`$0 --help' for more information." >&2 1135 { (exit 1); exit 1; }; } 1096 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1097 Try \`$0 --help' for more information" 1136 1098 ;; 1137 1099 … … 1139 1101 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1140 1102 # Reject names that are not valid shell variable names. 1141 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1142 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1143 { (exit 1); exit 1; }; } 1103 case $ac_envvar in #( 1104 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1105 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1106 esac 1144 1107 eval $ac_envvar=\$ac_optarg 1145 1108 export $ac_envvar ;; … … 1150 1113 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1151 1114 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1152 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1115 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1153 1116 ;; 1154 1117 … … 1158 1121 if test -n "$ac_prev"; then 1159 1122 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1160 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1161 { (exit 1); exit 1; }; } 1123 as_fn_error $? "missing argument to $ac_option" 1162 1124 fi 1163 1125 … … 1165 1127 case $enable_option_checking in 1166 1128 no) ;; 1167 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1168 { (exit 1); exit 1; }; } ;; 1129 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1169 1130 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1170 1131 esac … … 1189 1150 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1190 1151 esac 1191 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1192 { (exit 1); exit 1; }; } 1152 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1193 1153 done 1194 1154 … … 1204 1164 if test "x$build_alias" = x; then 1205 1165 cross_compiling=maybe 1206 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1207 If a cross compiler is detected then cross compile mode will be used ." >&21166 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1167 If a cross compiler is detected then cross compile mode will be used" >&2 1208 1168 elif test "x$build_alias" != "x$host_alias"; then 1209 1169 cross_compiling=yes … … 1220 1180 ac_ls_di=`ls -di .` && 1221 1181 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1222 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1223 { (exit 1); exit 1; }; } 1182 as_fn_error $? "working directory cannot be determined" 1224 1183 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1225 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1226 { (exit 1); exit 1; }; } 1184 as_fn_error $? "pwd does not report name of working directory" 1227 1185 1228 1186 … … 1263 1221 if test ! -r "$srcdir/$ac_unique_file"; then 1264 1222 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1265 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1266 { (exit 1); exit 1; }; } 1223 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1267 1224 fi 1268 1225 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1269 1226 ac_abs_confdir=`( 1270 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1271 { (exit 1); exit 1; }; } 1227 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1272 1228 pwd)` 1273 1229 # When building in place, set srcdir=. … … 1309 1265 --help=recursive display the short help of all the included packages 1310 1266 -V, --version display version information and exit 1311 -q, --quiet, --silent do not print \`checking ...' messages1267 -q, --quiet, --silent do not print \`checking ...' messages 1312 1268 --cache-file=FILE cache test results in FILE [disabled] 1313 1269 -C, --config-cache alias for \`--cache-file=config.cache' … … 1387 1343 nonstandard directory <lib dir> 1388 1344 LIBS libraries to pass to the linker, e.g. -l<library> 1389 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1345 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1390 1346 you have headers in a nonstandard directory <include dir> 1391 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1392 the first program found out of: `bison -y', `byacc', `yacc'. 1347 YACC The `Yet Another Compiler Compiler' implementation to use. 1348 Defaults to the first program found out of: `bison -y', `byacc', 1349 `yacc'. 1393 1350 YFLAGS The list of arguments that will be passed by default to $YACC. 1394 1351 This script will default YFLAGS to the empty string to avoid a … … 1401 1358 it to find libraries and programs with nonstandard names/locations. 1402 1359 1360 Report bugs to the package provider. 1403 1361 _ACEOF 1404 1362 ac_status=$? … … 1464 1422 cat <<\_ACEOF 1465 1423 configure 1466 generated by GNU Autoconf 2.63 1467 1468 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1469 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1424 generated by GNU Autoconf 2.68 1425 1426 Copyright (C) 2010 Free Software Foundation, Inc. 1470 1427 This configure script is free software; the Free Software Foundation 1471 1428 gives unlimited permission to copy, distribute and modify it. … … 1473 1430 exit 1474 1431 fi 1432 1433 ## ------------------------ ## 1434 ## Autoconf initialization. ## 1435 ## ------------------------ ## 1436 1437 # ac_fn_cxx_try_compile LINENO 1438 # ---------------------------- 1439 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1440 ac_fn_cxx_try_compile () 1441 { 1442 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1443 rm -f conftest.$ac_objext 1444 if { { ac_try="$ac_compile" 1445 case "(($ac_try" in 1446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1447 *) ac_try_echo=$ac_try;; 1448 esac 1449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1450 $as_echo "$ac_try_echo"; } >&5 1451 (eval "$ac_compile") 2>conftest.err 1452 ac_status=$? 1453 if test -s conftest.err; then 1454 grep -v '^ *+' conftest.err >conftest.er1 1455 cat conftest.er1 >&5 1456 mv -f conftest.er1 conftest.err 1457 fi 1458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1459 test $ac_status = 0; } && { 1460 test -z "$ac_cxx_werror_flag" || 1461 test ! -s conftest.err 1462 } && test -s conftest.$ac_objext; then : 1463 ac_retval=0 1464 else 1465 $as_echo "$as_me: failed program was:" >&5 1466 sed 's/^/| /' conftest.$ac_ext >&5 1467 1468 ac_retval=1 1469 fi 1470 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1471 as_fn_set_status $ac_retval 1472 1473 } # ac_fn_cxx_try_compile 1474 1475 # ac_fn_c_try_compile LINENO 1476 # -------------------------- 1477 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1478 ac_fn_c_try_compile () 1479 { 1480 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1481 rm -f conftest.$ac_objext 1482 if { { ac_try="$ac_compile" 1483 case "(($ac_try" in 1484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1485 *) ac_try_echo=$ac_try;; 1486 esac 1487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1488 $as_echo "$ac_try_echo"; } >&5 1489 (eval "$ac_compile") 2>conftest.err 1490 ac_status=$? 1491 if test -s conftest.err; then 1492 grep -v '^ *+' conftest.err >conftest.er1 1493 cat conftest.er1 >&5 1494 mv -f conftest.er1 conftest.err 1495 fi 1496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1497 test $ac_status = 0; } && { 1498 test -z "$ac_c_werror_flag" || 1499 test ! -s conftest.err 1500 } && test -s conftest.$ac_objext; then : 1501 ac_retval=0 1502 else 1503 $as_echo "$as_me: failed program was:" >&5 1504 sed 's/^/| /' conftest.$ac_ext >&5 1505 1506 ac_retval=1 1507 fi 1508 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1509 as_fn_set_status $ac_retval 1510 1511 } # ac_fn_c_try_compile 1512 1513 # ac_fn_c_try_cpp LINENO 1514 # ---------------------- 1515 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1516 ac_fn_c_try_cpp () 1517 { 1518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1519 if { { ac_try="$ac_cpp conftest.$ac_ext" 1520 case "(($ac_try" in 1521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1522 *) ac_try_echo=$ac_try;; 1523 esac 1524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1525 $as_echo "$ac_try_echo"; } >&5 1526 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1527 ac_status=$? 1528 if test -s conftest.err; then 1529 grep -v '^ *+' conftest.err >conftest.er1 1530 cat conftest.er1 >&5 1531 mv -f conftest.er1 conftest.err 1532 fi 1533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1534 test $ac_status = 0; } > conftest.i && { 1535 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1536 test ! -s conftest.err 1537 }; then : 1538 ac_retval=0 1539 else 1540 $as_echo "$as_me: failed program was:" >&5 1541 sed 's/^/| /' conftest.$ac_ext >&5 1542 1543 ac_retval=1 1544 fi 1545 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1546 as_fn_set_status $ac_retval 1547 1548 } # ac_fn_c_try_cpp 1549 1550 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1551 # ------------------------------------------------------- 1552 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1553 # the include files in INCLUDES and setting the cache variable VAR 1554 # accordingly. 1555 ac_fn_c_check_header_mongrel () 1556 { 1557 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1558 if eval \${$3+:} false; then : 1559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1560 $as_echo_n "checking for $2... " >&6; } 1561 if eval \${$3+:} false; then : 1562 $as_echo_n "(cached) " >&6 1563 fi 1564 eval ac_res=\$$3 1565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1566 $as_echo "$ac_res" >&6; } 1567 else 1568 # Is the header compilable? 1569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1570 $as_echo_n "checking $2 usability... " >&6; } 1571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1572 /* end confdefs.h. */ 1573 $4 1574 #include <$2> 1575 _ACEOF 1576 if ac_fn_c_try_compile "$LINENO"; then : 1577 ac_header_compiler=yes 1578 else 1579 ac_header_compiler=no 1580 fi 1581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1583 $as_echo "$ac_header_compiler" >&6; } 1584 1585 # Is the header present? 1586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1587 $as_echo_n "checking $2 presence... " >&6; } 1588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1589 /* end confdefs.h. */ 1590 #include <$2> 1591 _ACEOF 1592 if ac_fn_c_try_cpp "$LINENO"; then : 1593 ac_header_preproc=yes 1594 else 1595 ac_header_preproc=no 1596 fi 1597 rm -f conftest.err conftest.i conftest.$ac_ext 1598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1599 $as_echo "$ac_header_preproc" >&6; } 1600 1601 # So? What about this header? 1602 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1603 yes:no: ) 1604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1605 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1607 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1608 ;; 1609 no:yes:* ) 1610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1611 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1613 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1615 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1617 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1619 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1620 ;; 1621 esac 1622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1623 $as_echo_n "checking for $2... " >&6; } 1624 if eval \${$3+:} false; then : 1625 $as_echo_n "(cached) " >&6 1626 else 1627 eval "$3=\$ac_header_compiler" 1628 fi 1629 eval ac_res=\$$3 1630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1631 $as_echo "$ac_res" >&6; } 1632 fi 1633 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1634 1635 } # ac_fn_c_check_header_mongrel 1636 1637 # ac_fn_c_try_run LINENO 1638 # ---------------------- 1639 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1640 # that executables *can* be run. 1641 ac_fn_c_try_run () 1642 { 1643 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1644 if { { ac_try="$ac_link" 1645 case "(($ac_try" in 1646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1647 *) ac_try_echo=$ac_try;; 1648 esac 1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1650 $as_echo "$ac_try_echo"; } >&5 1651 (eval "$ac_link") 2>&5 1652 ac_status=$? 1653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1654 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1655 { { case "(($ac_try" in 1656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1657 *) ac_try_echo=$ac_try;; 1658 esac 1659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1660 $as_echo "$ac_try_echo"; } >&5 1661 (eval "$ac_try") 2>&5 1662 ac_status=$? 1663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1664 test $ac_status = 0; }; }; then : 1665 ac_retval=0 1666 else 1667 $as_echo "$as_me: program exited with status $ac_status" >&5 1668 $as_echo "$as_me: failed program was:" >&5 1669 sed 's/^/| /' conftest.$ac_ext >&5 1670 1671 ac_retval=$ac_status 1672 fi 1673 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1674 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1675 as_fn_set_status $ac_retval 1676 1677 } # ac_fn_c_try_run 1678 1679 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1680 # ------------------------------------------------------- 1681 # Tests whether HEADER exists and can be compiled using the include files in 1682 # INCLUDES, setting the cache variable VAR accordingly. 1683 ac_fn_c_check_header_compile () 1684 { 1685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1687 $as_echo_n "checking for $2... " >&6; } 1688 if eval \${$3+:} false; then : 1689 $as_echo_n "(cached) " >&6 1690 else 1691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1692 /* end confdefs.h. */ 1693 $4 1694 #include <$2> 1695 _ACEOF 1696 if ac_fn_c_try_compile "$LINENO"; then : 1697 eval "$3=yes" 1698 else 1699 eval "$3=no" 1700 fi 1701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1702 fi 1703 eval ac_res=\$$3 1704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1705 $as_echo "$ac_res" >&6; } 1706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1707 1708 } # ac_fn_c_check_header_compile 1709 1710 # ac_fn_c_try_link LINENO 1711 # ----------------------- 1712 # Try to link conftest.$ac_ext, and return whether this succeeded. 1713 ac_fn_c_try_link () 1714 { 1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1716 rm -f conftest.$ac_objext conftest$ac_exeext 1717 if { { ac_try="$ac_link" 1718 case "(($ac_try" in 1719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1720 *) ac_try_echo=$ac_try;; 1721 esac 1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1723 $as_echo "$ac_try_echo"; } >&5 1724 (eval "$ac_link") 2>conftest.err 1725 ac_status=$? 1726 if test -s conftest.err; then 1727 grep -v '^ *+' conftest.err >conftest.er1 1728 cat conftest.er1 >&5 1729 mv -f conftest.er1 conftest.err 1730 fi 1731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1732 test $ac_status = 0; } && { 1733 test -z "$ac_c_werror_flag" || 1734 test ! -s conftest.err 1735 } && test -s conftest$ac_exeext && { 1736 test "$cross_compiling" = yes || 1737 $as_test_x conftest$ac_exeext 1738 }; then : 1739 ac_retval=0 1740 else 1741 $as_echo "$as_me: failed program was:" >&5 1742 sed 's/^/| /' conftest.$ac_ext >&5 1743 1744 ac_retval=1 1745 fi 1746 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1747 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1748 # interfere with the next link command; also delete a directory that is 1749 # left behind by Apple's compiler. We do this before executing the actions. 1750 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1752 as_fn_set_status $ac_retval 1753 1754 } # ac_fn_c_try_link 1755 1756 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1757 # ------------------------------------------- 1758 # Tests whether TYPE exists after having included INCLUDES, setting cache 1759 # variable VAR accordingly. 1760 ac_fn_c_check_type () 1761 { 1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1764 $as_echo_n "checking for $2... " >&6; } 1765 if eval \${$3+:} false; then : 1766 $as_echo_n "(cached) " >&6 1767 else 1768 eval "$3=no" 1769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1770 /* end confdefs.h. */ 1771 $4 1772 int 1773 main () 1774 { 1775 if (sizeof ($2)) 1776 return 0; 1777 ; 1778 return 0; 1779 } 1780 _ACEOF 1781 if ac_fn_c_try_compile "$LINENO"; then : 1782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1783 /* end confdefs.h. */ 1784 $4 1785 int 1786 main () 1787 { 1788 if (sizeof (($2))) 1789 return 0; 1790 ; 1791 return 0; 1792 } 1793 _ACEOF 1794 if ac_fn_c_try_compile "$LINENO"; then : 1795 1796 else 1797 eval "$3=yes" 1798 fi 1799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1800 fi 1801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1802 fi 1803 eval ac_res=\$$3 1804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1805 $as_echo "$ac_res" >&6; } 1806 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1807 1808 } # ac_fn_c_check_type 1809 1810 # ac_fn_c_check_func LINENO FUNC VAR 1811 # ---------------------------------- 1812 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1813 ac_fn_c_check_func () 1814 { 1815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1817 $as_echo_n "checking for $2... " >&6; } 1818 if eval \${$3+:} false; then : 1819 $as_echo_n "(cached) " >&6 1820 else 1821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1822 /* end confdefs.h. */ 1823 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1824 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1825 #define $2 innocuous_$2 1826 1827 /* System header to define __stub macros and hopefully few prototypes, 1828 which can conflict with char $2 (); below. 1829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1830 <limits.h> exists even on freestanding compilers. */ 1831 1832 #ifdef __STDC__ 1833 # include <limits.h> 1834 #else 1835 # include <assert.h> 1836 #endif 1837 1838 #undef $2 1839 1840 /* Override any GCC internal prototype to avoid an error. 1841 Use char because int might match the return type of a GCC 1842 builtin and then its argument prototype would still apply. */ 1843 #ifdef __cplusplus 1844 extern "C" 1845 #endif 1846 char $2 (); 1847 /* The GNU C library defines this for functions which it implements 1848 to always fail with ENOSYS. Some functions are actually named 1849 something starting with __ and the normal name is an alias. */ 1850 #if defined __stub_$2 || defined __stub___$2 1851 choke me 1852 #endif 1853 1854 int 1855 main () 1856 { 1857 return $2 (); 1858 ; 1859 return 0; 1860 } 1861 _ACEOF 1862 if ac_fn_c_try_link "$LINENO"; then : 1863 eval "$3=yes" 1864 else 1865 eval "$3=no" 1866 fi 1867 rm -f core conftest.err conftest.$ac_objext \ 1868 conftest$ac_exeext conftest.$ac_ext 1869 fi 1870 eval ac_res=\$$3 1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1872 $as_echo "$ac_res" >&6; } 1873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1874 1875 } # ac_fn_c_check_func 1475 1876 cat >config.log <<_ACEOF 1476 1877 This file contains any messages produced by compilers while … … 1478 1879 1479 1880 It was created by $as_me, which was 1480 generated by GNU Autoconf 2.6 3. Invocation command line was1881 generated by GNU Autoconf 2.68. Invocation command line was 1481 1882 1482 1883 $ $0 $@ … … 1514 1915 IFS=$as_save_IFS 1515 1916 test -z "$as_dir" && as_dir=. 1516 $as_echo "PATH: $as_dir"1517 done1917 $as_echo "PATH: $as_dir" 1918 done 1518 1919 IFS=$as_save_IFS 1519 1920 … … 1552 1953 esac 1553 1954 case $ac_pass in 1554 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;1955 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1555 1956 2) 1556 a c_configure_args1="$ac_configure_args1'$ac_arg'"1957 as_fn_append ac_configure_args1 " '$ac_arg'" 1557 1958 if test $ac_must_keep_next = true; then 1558 1959 ac_must_keep_next=false # Got value, back to normal. … … 1570 1971 esac 1571 1972 fi 1572 a c_configure_args="$ac_configure_args'$ac_arg'"1973 as_fn_append ac_configure_args " '$ac_arg'" 1573 1974 ;; 1574 1975 esac 1575 1976 done 1576 1977 done 1577 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1578 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}1978 { ac_configure_args0=; unset ac_configure_args0;} 1979 { ac_configure_args1=; unset ac_configure_args1;} 1579 1980 1580 1981 # When interrupted or exit'd, cleanup temporary files, and complete … … 1588 1989 echo 1589 1990 1590 cat <<\_ASBOX 1591 ## ---------------- ## 1991 $as_echo "## ---------------- ## 1592 1992 ## Cache variables. ## 1593 ## ---------------- ## 1594 _ASBOX 1993 ## ---------------- ##" 1595 1994 echo 1596 1995 # The following way of writing the cache mishandles newlines in values, … … 1601 2000 *${as_nl}*) 1602 2001 case $ac_var in #( 1603 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: cache variable $ac_var contains a newline" >&52002 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1604 2003 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1605 2004 esac … … 1607 2006 _ | IFS | as_nl) ;; #( 1608 2007 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1609 *) $as_unset $ac_var;;2008 *) { eval $ac_var=; unset $ac_var;} ;; 1610 2009 esac ;; 1611 2010 esac … … 1626 2025 echo 1627 2026 1628 cat <<\_ASBOX 1629 ## ----------------- ## 2027 $as_echo "## ----------------- ## 1630 2028 ## Output variables. ## 1631 ## ----------------- ## 1632 _ASBOX 2029 ## ----------------- ##" 1633 2030 echo 1634 2031 for ac_var in $ac_subst_vars … … 1643 2040 1644 2041 if test -n "$ac_subst_files"; then 1645 cat <<\_ASBOX 1646 ## ------------------- ## 2042 $as_echo "## ------------------- ## 1647 2043 ## File substitutions. ## 1648 ## ------------------- ## 1649 _ASBOX 2044 ## ------------------- ##" 1650 2045 echo 1651 2046 for ac_var in $ac_subst_files … … 1661 2056 1662 2057 if test -s confdefs.h; then 1663 cat <<\_ASBOX 1664 ## ----------- ## 2058 $as_echo "## ----------- ## 1665 2059 ## confdefs.h. ## 1666 ## ----------- ## 1667 _ASBOX 2060 ## ----------- ##" 1668 2061 echo 1669 2062 cat confdefs.h … … 1679 2072 ' 0 1680 2073 for ac_signal in 1 2 13 15; do 1681 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2074 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1682 2075 done 1683 2076 ac_signal=0 … … 1686 2079 rm -f -r conftest* confdefs.h 1687 2080 2081 $as_echo "/* confdefs.h */" > confdefs.h 2082 1688 2083 # Predefined preprocessor variables. 1689 2084 … … 1692 2087 _ACEOF 1693 2088 1694 1695 2089 cat >>confdefs.h <<_ACEOF 1696 2090 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1697 2091 _ACEOF 1698 2092 1699 1700 2093 cat >>confdefs.h <<_ACEOF 1701 2094 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1702 2095 _ACEOF 1703 2096 1704 1705 2097 cat >>confdefs.h <<_ACEOF 1706 2098 #define PACKAGE_STRING "$PACKAGE_STRING" 1707 2099 _ACEOF 1708 2100 1709 1710 2101 cat >>confdefs.h <<_ACEOF 1711 2102 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2103 _ACEOF 2104 2105 cat >>confdefs.h <<_ACEOF 2106 #define PACKAGE_URL "$PACKAGE_URL" 1712 2107 _ACEOF 1713 2108 … … 1718 2113 ac_site_file2=NONE 1719 2114 if test -n "$CONFIG_SITE"; then 1720 ac_site_file1=$CONFIG_SITE 2115 # We do not want a PATH search for config.site. 2116 case $CONFIG_SITE in #(( 2117 -*) ac_site_file1=./$CONFIG_SITE;; 2118 */*) ac_site_file1=$CONFIG_SITE;; 2119 *) ac_site_file1=./$CONFIG_SITE;; 2120 esac 1721 2121 elif test "x$prefix" != xNONE; then 1722 2122 ac_site_file1=$prefix/share/config.site … … 1729 2129 do 1730 2130 test "x$ac_site_file" = xNONE && continue 1731 if test -r "$ac_site_file"; then1732 { $as_echo "$as_me:$ LINENO: loading site script $ac_site_file" >&52131 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2132 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1733 2133 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1734 2134 sed 's/^/| /' "$ac_site_file" >&5 1735 . "$ac_site_file" 2135 . "$ac_site_file" \ 2136 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2138 as_fn_error $? "failed to load site script $ac_site_file 2139 See \`config.log' for more details" "$LINENO" 5; } 1736 2140 fi 1737 2141 done 1738 2142 1739 2143 if test -r "$cache_file"; then 1740 # Some versions of bash will fail to source /dev/null (special 1741 # files actually), so we avoid doing that.1742 if test -f "$cache_file"; then1743 { $as_echo "$as_me:$ LINENO: loading cache $cache_file" >&52144 # Some versions of bash will fail to source /dev/null (special files 2145 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2146 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2147 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1744 2148 $as_echo "$as_me: loading cache $cache_file" >&6;} 1745 2149 case $cache_file in … … 1749 2153 fi 1750 2154 else 1751 { $as_echo "$as_me:$ LINENO: creating cache $cache_file" >&52155 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1752 2156 $as_echo "$as_me: creating cache $cache_file" >&6;} 1753 2157 >$cache_file … … 1764 2168 case $ac_old_set,$ac_new_set in 1765 2169 set,) 1766 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52170 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1767 2171 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1768 2172 ac_cache_corrupted=: ;; 1769 2173 ,set) 1770 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was not set in the previous run" >&52174 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1771 2175 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1772 2176 ac_cache_corrupted=: ;; … … 1778 2182 ac_new_val_w=`echo x $ac_new_val` 1779 2183 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1780 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' has changed since the previous run:" >&52184 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1781 2185 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1782 2186 ac_cache_corrupted=: 1783 2187 else 1784 { $as_echo "$as_me:$ LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&52188 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1785 2189 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1786 2190 eval $ac_var=\$ac_old_val 1787 2191 fi 1788 { $as_echo "$as_me:$ LINENO: former value: \`$ac_old_val'" >&52192 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1789 2193 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1790 { $as_echo "$as_me:$ LINENO: current value: \`$ac_new_val'" >&52194 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1791 2195 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1792 2196 fi;; … … 1800 2204 case " $ac_configure_args " in 1801 2205 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1802 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2206 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1803 2207 esac 1804 2208 fi 1805 2209 done 1806 2210 if $ac_cache_corrupted; then 1807 { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52211 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1808 2212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1809 { $as_echo "$as_me:$ LINENO: error: changes in the environment can compromise the build" >&52213 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1810 2214 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1811 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1812 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1813 { (exit 1); exit 1; }; } 1814 fi 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 2215 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2216 fi 2217 ## -------------------- ## 2218 ## Main body of script. ## 2219 ## -------------------- ## 1831 2220 1832 2221 ac_ext=c … … 1857 2246 done 1858 2247 if test -z "$ac_aux_dir"; then 1859 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1860 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1861 { (exit 1); exit 1; }; } 2248 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 1862 2249 fi 1863 2250 … … 1873 2260 # Make sure we can run config.sub. 1874 2261 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1875 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1876 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1877 { (exit 1); exit 1; }; } 1878 1879 { $as_echo "$as_me:$LINENO: checking build system type" >&5 2262 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2263 2264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 1880 2265 $as_echo_n "checking build system type... " >&6; } 1881 if test "${ac_cv_build+set}" = set; then2266 if ${ac_cv_build+:} false; then : 1882 2267 $as_echo_n "(cached) " >&6 1883 2268 else … … 1886 2271 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1887 2272 test "x$ac_build_alias" = x && 1888 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1889 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1890 { (exit 1); exit 1; }; } 2273 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 1891 2274 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1892 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1893 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1894 { (exit 1); exit 1; }; } 1895 1896 fi 1897 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2275 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2276 2277 fi 2278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 1898 2279 $as_echo "$ac_cv_build" >&6; } 1899 2280 case $ac_cv_build in 1900 2281 *-*-*) ;; 1901 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1902 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 1903 { (exit 1); exit 1; }; };; 2282 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 1904 2283 esac 1905 2284 build=$ac_cv_build … … 1917 2296 1918 2297 1919 { $as_echo "$as_me:$ LINENO: checking host system type" >&52298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 1920 2299 $as_echo_n "checking host system type... " >&6; } 1921 if test "${ac_cv_host+set}" = set; then2300 if ${ac_cv_host+:} false; then : 1922 2301 $as_echo_n "(cached) " >&6 1923 2302 else … … 1926 2305 else 1927 2306 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1928 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1929 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1930 { (exit 1); exit 1; }; } 1931 fi 1932 1933 fi 1934 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2307 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2308 fi 2309 2310 fi 2311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 1935 2312 $as_echo "$ac_cv_host" >&6; } 1936 2313 case $ac_cv_host in 1937 2314 *-*-*) ;; 1938 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1939 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 1940 { (exit 1); exit 1; }; };; 2315 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 1941 2316 esac 1942 2317 host=$ac_cv_host … … 1954 2329 1955 2330 1956 { $as_echo "$as_me:$ LINENO: checking target system type" >&52331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 1957 2332 $as_echo_n "checking target system type... " >&6; } 1958 if test "${ac_cv_target+set}" = set; then2333 if ${ac_cv_target+:} false; then : 1959 2334 $as_echo_n "(cached) " >&6 1960 2335 else … … 1963 2338 else 1964 2339 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 1965 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1966 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1967 { (exit 1); exit 1; }; } 1968 fi 1969 1970 fi 1971 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 2340 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2341 fi 2342 2343 fi 2344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 1972 2345 $as_echo "$ac_cv_target" >&6; } 1973 2346 case $ac_cv_target in 1974 2347 *-*-*) ;; 1975 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1976 $as_echo "$as_me: error: invalid value of canonical target" >&2;} 1977 { (exit 1); exit 1; }; };; 2348 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 1978 2349 esac 1979 2350 target=$ac_cv_target … … 1997 2368 NONENONEs,x,x, && 1998 2369 program_prefix=${target_alias}- 2370 1999 2371 test "$program_prefix" != NONE && 2000 2372 program_transform_name="s&^&$program_prefix&;$program_transform_name" … … 2023 2395 2024 2396 # Check whether --enable-java was given. 2025 if test "${enable_java+set}" = set; then 2397 if test "${enable_java+set}" = set; then : 2026 2398 enableval=$enable_java; ENABLE_JAVA=$enableval 2027 2399 else … … 2040 2412 ENABLE_JAVA=0 2041 2413 fi 2414 2415 2416 if test -z "$ARCH_DEP_FLAGS" ; then 2417 ARCH_DEP_FLAGS= 2418 fi 2419 2042 2420 2043 2421 … … 2057 2435 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2058 2436 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2059 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2060 2438 $as_echo_n "checking for $ac_word... " >&6; } 2061 if test "${ac_cv_prog_CXX+set}" = set; then2439 if ${ac_cv_prog_CXX+:} false; then : 2062 2440 $as_echo_n "(cached) " >&6 2063 2441 else … … 2070 2448 IFS=$as_save_IFS 2071 2449 test -z "$as_dir" && as_dir=. 2072 for ac_exec_ext in '' $ac_executable_extensions; do2450 for ac_exec_ext in '' $ac_executable_extensions; do 2073 2451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2074 2452 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2075 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2076 2454 break 2 2077 2455 fi 2078 2456 done 2079 done2457 done 2080 2458 IFS=$as_save_IFS 2081 2459 … … 2084 2462 CXX=$ac_cv_prog_CXX 2085 2463 if test -n "$CXX"; then 2086 { $as_echo "$as_me:$ LINENO: result: $CXX" >&52464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 2087 2465 $as_echo "$CXX" >&6; } 2088 2466 else 2089 { $as_echo "$as_me:$ LINENO: result: no" >&52467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2090 2468 $as_echo "no" >&6; } 2091 2469 fi … … 2101 2479 # Extract the first word of "$ac_prog", so it can be a program name with args. 2102 2480 set dummy $ac_prog; ac_word=$2 2103 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2104 2482 $as_echo_n "checking for $ac_word... " >&6; } 2105 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then2483 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 2106 2484 $as_echo_n "(cached) " >&6 2107 2485 else … … 2114 2492 IFS=$as_save_IFS 2115 2493 test -z "$as_dir" && as_dir=. 2116 for ac_exec_ext in '' $ac_executable_extensions; do2494 for ac_exec_ext in '' $ac_executable_extensions; do 2117 2495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2118 2496 ac_cv_prog_ac_ct_CXX="$ac_prog" 2119 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2120 2498 break 2 2121 2499 fi 2122 2500 done 2123 done2501 done 2124 2502 IFS=$as_save_IFS 2125 2503 … … 2128 2506 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2129 2507 if test -n "$ac_ct_CXX"; then 2130 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CXX" >&52508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 2131 2509 $as_echo "$ac_ct_CXX" >&6; } 2132 2510 else 2133 { $as_echo "$as_me:$ LINENO: result: no" >&52511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2134 2512 $as_echo "no" >&6; } 2135 2513 fi … … 2144 2522 case $cross_compiling:$ac_tool_warned in 2145 2523 yes:) 2146 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&52524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2147 2525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2148 2526 ac_tool_warned=yes ;; … … 2155 2533 fi 2156 2534 # Provide some information about the compiler. 2157 $as_echo "$as_me:$ LINENO: checking for C++ compiler version" >&52535 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 2158 2536 set X $ac_compile 2159 2537 ac_compiler=$2 2160 { (ac_try="$ac_compiler --version >&5" 2538 for ac_option in --version -v -V -qversion; do 2539 { { ac_try="$ac_compiler $ac_option >&5" 2161 2540 case "(($ac_try" in 2162 2541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2163 2542 *) ac_try_echo=$ac_try;; 2164 2543 esac 2165 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2166 $as_echo "$ac_try_echo" )>&52167 (eval "$ac_compiler --version >&5") 2>&52544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2545 $as_echo "$ac_try_echo"; } >&5 2546 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2168 2547 ac_status=$? 2169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2170 (exit $ac_status); } 2171 { (ac_try="$ac_compiler -v >&5" 2172 case "(($ac_try" in 2173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2174 *) ac_try_echo=$ac_try;; 2175 esac 2176 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2177 $as_echo "$ac_try_echo") >&5 2178 (eval "$ac_compiler -v >&5") 2>&5 2179 ac_status=$? 2180 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2181 (exit $ac_status); } 2182 { (ac_try="$ac_compiler -V >&5" 2183 case "(($ac_try" in 2184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2185 *) ac_try_echo=$ac_try;; 2186 esac 2187 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2188 $as_echo "$ac_try_echo") >&5 2189 (eval "$ac_compiler -V >&5") 2>&5 2190 ac_status=$? 2191 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2192 (exit $ac_status); } 2193 2194 cat >conftest.$ac_ext <<_ACEOF 2195 /* confdefs.h. */ 2196 _ACEOF 2197 cat confdefs.h >>conftest.$ac_ext 2198 cat >>conftest.$ac_ext <<_ACEOF 2548 if test -s conftest.err; then 2549 sed '10a\ 2550 ... rest of stderr output deleted ... 2551 10q' conftest.err >conftest.er1 2552 cat conftest.er1 >&5 2553 fi 2554 rm -f conftest.er1 conftest.err 2555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2556 test $ac_status = 0; } 2557 done 2558 2559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2199 2560 /* end confdefs.h. */ 2200 2561 … … 2212 2573 # It will help us diagnose broken compilers, and finding out an intuition 2213 2574 # of exeext. 2214 { $as_echo "$as_me:$ LINENO: checking for C++ compiler default output file name" >&52215 $as_echo_n "checking for C++ compiler default output file name... " >&6; }2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 2576 $as_echo_n "checking whether the C++ compiler works... " >&6; } 2216 2577 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2217 2578 … … 2229 2590 rm -f $ac_rmfiles 2230 2591 2231 if { (ac_try="$ac_link_default"2592 if { { ac_try="$ac_link_default" 2232 2593 case "(($ac_try" in 2233 2594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2234 2595 *) ac_try_echo=$ac_try;; 2235 2596 esac 2236 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2237 $as_echo "$ac_try_echo" )>&52597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2598 $as_echo "$ac_try_echo"; } >&5 2238 2599 (eval "$ac_link_default") 2>&5 2239 2600 ac_status=$? 2240 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52241 (exit $ac_status); }; then2601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2602 test $ac_status = 0; }; then : 2242 2603 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2243 2604 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2256 2617 break;; 2257 2618 *.* ) 2258 2619 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2259 2620 then :; else 2260 2621 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2275 2636 ac_file='' 2276 2637 fi 2277 2278 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2638 if test -z "$ac_file"; then : 2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2640 $as_echo "no" >&6; } 2641 $as_echo "$as_me: failed program was:" >&5 2642 sed 's/^/| /' conftest.$ac_ext >&5 2643 2644 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2645 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2646 as_fn_error 77 "C++ compiler cannot create executables 2647 See \`config.log' for more details" "$LINENO" 5; } 2648 else 2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2650 $as_echo "yes" >&6; } 2651 fi 2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 2653 $as_echo_n "checking for C++ compiler default output file name... " >&6; } 2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2279 2655 $as_echo "$ac_file" >&6; } 2280 if test -z "$ac_file"; then2281 $as_echo "$as_me: failed program was:" >&52282 sed 's/^/| /' conftest.$ac_ext >&52283 2284 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2286 { { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables2287 See \`config.log' for more details." >&52288 $as_echo "$as_me: error: C++ compiler cannot create executables2289 See \`config.log' for more details." >&2;}2290 { (exit 77); exit 77; }; }; }2291 fi2292 2293 2656 ac_exeext=$ac_cv_exeext 2294 2295 # Check that the compiler produces executables we can run. If not, either2296 # the compiler is broken, or we cross compile.2297 { $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&52298 $as_echo_n "checking whether the C++ compiler works... " >&6; }2299 # FIXME: These cross compiler hacks should be removed for Autoconf 3.02300 # If not cross compiling, check that we can run a simple program.2301 if test "$cross_compiling" != yes; then2302 if { ac_try='./$ac_file'2303 { (case "(($ac_try" in2304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2305 *) ac_try_echo=$ac_try;;2306 esac2307 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""2308 $as_echo "$ac_try_echo") >&52309 (eval "$ac_try") 2>&52310 ac_status=$?2311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&52312 (exit $ac_status); }; }; then2313 cross_compiling=no2314 else2315 if test "$cross_compiling" = maybe; then2316 cross_compiling=yes2317 else2318 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2320 { { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.2321 If you meant to cross compile, use \`--host'.2322 See \`config.log' for more details." >&52323 $as_echo "$as_me: error: cannot run C++ compiled programs.2324 If you meant to cross compile, use \`--host'.2325 See \`config.log' for more details." >&2;}2326 { (exit 1); exit 1; }; }; }2327 fi2328 fi2329 fi2330 { $as_echo "$as_me:$LINENO: result: yes" >&52331 $as_echo "yes" >&6; }2332 2657 2333 2658 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2334 2659 ac_clean_files=$ac_clean_files_save 2335 # Check that the compiler produces executables we can run. If not, either 2336 # the compiler is broken, or we cross compile. 2337 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2338 $as_echo_n "checking whether we are cross compiling... " >&6; } 2339 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2340 $as_echo "$cross_compiling" >&6; } 2341 2342 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2343 2661 $as_echo_n "checking for suffix of executables... " >&6; } 2344 if { (ac_try="$ac_link"2662 if { { ac_try="$ac_link" 2345 2663 case "(($ac_try" in 2346 2664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2347 2665 *) ac_try_echo=$ac_try;; 2348 2666 esac 2349 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2350 $as_echo "$ac_try_echo" )>&52667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2668 $as_echo "$ac_try_echo"; } >&5 2351 2669 (eval "$ac_link") 2>&5 2352 2670 ac_status=$? 2353 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52354 (exit $ac_status); }; then2671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2672 test $ac_status = 0; }; then : 2355 2673 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2356 2674 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2367 2685 done 2368 2686 else 2369 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2370 2688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2371 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2372 See \`config.log' for more details." >&5 2373 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2374 See \`config.log' for more details." >&2;} 2375 { (exit 1); exit 1; }; }; } 2376 fi 2377 2378 rm -f conftest$ac_cv_exeext 2379 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2689 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2690 See \`config.log' for more details" "$LINENO" 5; } 2691 fi 2692 rm -f conftest conftest$ac_cv_exeext 2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2380 2694 $as_echo "$ac_cv_exeext" >&6; } 2381 2695 … … 2383 2697 EXEEXT=$ac_cv_exeext 2384 2698 ac_exeext=$EXEEXT 2385 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2386 $as_echo_n "checking for suffix of object files... " >&6; } 2387 if test "${ac_cv_objext+set}" = set; then 2388 $as_echo_n "(cached) " >&6 2389 else 2390 cat >conftest.$ac_ext <<_ACEOF 2391 /* confdefs.h. */ 2392 _ACEOF 2393 cat confdefs.h >>conftest.$ac_ext 2394 cat >>conftest.$ac_ext <<_ACEOF 2699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2395 2700 /* end confdefs.h. */ 2396 2701 #include <stdio.h> 2397 2702 int 2398 2703 main () 2399 2704 { 2705 FILE *f = fopen ("conftest.out", "w"); 2706 return ferror (f) || fclose (f) != 0; 2400 2707 2401 2708 ; … … 2403 2710 } 2404 2711 _ACEOF 2405 rm -f conftest.o conftest.obj 2406 if { (ac_try="$ac_compile" 2712 ac_clean_files="$ac_clean_files conftest.out" 2713 # Check that the compiler produces executables we can run. If not, either 2714 # the compiler is broken, or we cross compile. 2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2716 $as_echo_n "checking whether we are cross compiling... " >&6; } 2717 if test "$cross_compiling" != yes; then 2718 { { ac_try="$ac_link" 2407 2719 case "(($ac_try" in 2408 2720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2409 2721 *) ac_try_echo=$ac_try;; 2410 2722 esac 2411 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2412 $as_echo "$ac_try_echo") >&5 2723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2724 $as_echo "$ac_try_echo"; } >&5 2725 (eval "$ac_link") 2>&5 2726 ac_status=$? 2727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2728 test $ac_status = 0; } 2729 if { ac_try='./conftest$ac_cv_exeext' 2730 { { case "(($ac_try" in 2731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2732 *) ac_try_echo=$ac_try;; 2733 esac 2734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2735 $as_echo "$ac_try_echo"; } >&5 2736 (eval "$ac_try") 2>&5 2737 ac_status=$? 2738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2739 test $ac_status = 0; }; }; then 2740 cross_compiling=no 2741 else 2742 if test "$cross_compiling" = maybe; then 2743 cross_compiling=yes 2744 else 2745 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2746 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2747 as_fn_error $? "cannot run C++ compiled programs. 2748 If you meant to cross compile, use \`--host'. 2749 See \`config.log' for more details" "$LINENO" 5; } 2750 fi 2751 fi 2752 fi 2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2754 $as_echo "$cross_compiling" >&6; } 2755 2756 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2757 ac_clean_files=$ac_clean_files_save 2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2759 $as_echo_n "checking for suffix of object files... " >&6; } 2760 if ${ac_cv_objext+:} false; then : 2761 $as_echo_n "(cached) " >&6 2762 else 2763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2764 /* end confdefs.h. */ 2765 2766 int 2767 main () 2768 { 2769 2770 ; 2771 return 0; 2772 } 2773 _ACEOF 2774 rm -f conftest.o conftest.obj 2775 if { { ac_try="$ac_compile" 2776 case "(($ac_try" in 2777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2778 *) ac_try_echo=$ac_try;; 2779 esac 2780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2781 $as_echo "$ac_try_echo"; } >&5 2413 2782 (eval "$ac_compile") 2>&5 2414 2783 ac_status=$? 2415 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52416 (exit $ac_status); }; then2784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2785 test $ac_status = 0; }; then : 2417 2786 for ac_file in conftest.o conftest.obj conftest.*; do 2418 2787 test -f "$ac_file" || continue; … … 2427 2796 sed 's/^/| /' conftest.$ac_ext >&5 2428 2797 2429 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&52798 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2430 2799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2431 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2432 See \`config.log' for more details." >&5 2433 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2434 See \`config.log' for more details." >&2;} 2435 { (exit 1); exit 1; }; }; } 2436 fi 2437 2800 as_fn_error $? "cannot compute suffix of object files: cannot compile 2801 See \`config.log' for more details" "$LINENO" 5; } 2802 fi 2438 2803 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2439 2804 fi 2440 { $as_echo "$as_me:$ LINENO: result: $ac_cv_objext" >&52805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2441 2806 $as_echo "$ac_cv_objext" >&6; } 2442 2807 OBJEXT=$ac_cv_objext 2443 2808 ac_objext=$OBJEXT 2444 { $as_echo "$as_me:$ LINENO: checking whether we are using the GNU C++ compiler" >&52809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 2445 2810 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 2446 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then2811 if ${ac_cv_cxx_compiler_gnu+:} false; then : 2447 2812 $as_echo_n "(cached) " >&6 2448 2813 else 2449 cat >conftest.$ac_ext <<_ACEOF 2450 /* confdefs.h. */ 2451 _ACEOF 2452 cat confdefs.h >>conftest.$ac_ext 2453 cat >>conftest.$ac_ext <<_ACEOF 2814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2454 2815 /* end confdefs.h. */ 2455 2816 … … 2465 2826 } 2466 2827 _ACEOF 2467 rm -f conftest.$ac_objext 2468 if { (ac_try="$ac_compile" 2469 case "(($ac_try" in 2470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2471 *) ac_try_echo=$ac_try;; 2472 esac 2473 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2474 $as_echo "$ac_try_echo") >&5 2475 (eval "$ac_compile") 2>conftest.er1 2476 ac_status=$? 2477 grep -v '^ *+' conftest.er1 >conftest.err 2478 rm -f conftest.er1 2479 cat conftest.err >&5 2480 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2481 (exit $ac_status); } && { 2482 test -z "$ac_cxx_werror_flag" || 2483 test ! -s conftest.err 2484 } && test -s conftest.$ac_objext; then 2828 if ac_fn_cxx_try_compile "$LINENO"; then : 2485 2829 ac_compiler_gnu=yes 2486 2830 else 2487 $as_echo "$as_me: failed program was:" >&5 2488 sed 's/^/| /' conftest.$ac_ext >&5 2489 2490 ac_compiler_gnu=no 2491 fi 2492 2831 ac_compiler_gnu=no 2832 fi 2493 2833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2494 2834 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2495 2835 2496 2836 fi 2497 { $as_echo "$as_me:$ LINENO: result: $ac_cv_cxx_compiler_gnu" >&52837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 2498 2838 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 2499 2839 if test $ac_compiler_gnu = yes; then … … 2504 2844 ac_test_CXXFLAGS=${CXXFLAGS+set} 2505 2845 ac_save_CXXFLAGS=$CXXFLAGS 2506 { $as_echo "$as_me:$ LINENO: checking whether $CXX accepts -g" >&52846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 2507 2847 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 2508 if test "${ac_cv_prog_cxx_g+set}" = set; then2848 if ${ac_cv_prog_cxx_g+:} false; then : 2509 2849 $as_echo_n "(cached) " >&6 2510 2850 else … … 2513 2853 ac_cv_prog_cxx_g=no 2514 2854 CXXFLAGS="-g" 2515 cat >conftest.$ac_ext <<_ACEOF 2516 /* confdefs.h. */ 2517 _ACEOF 2518 cat confdefs.h >>conftest.$ac_ext 2519 cat >>conftest.$ac_ext <<_ACEOF 2855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2520 2856 /* end confdefs.h. */ 2521 2857 … … 2528 2864 } 2529 2865 _ACEOF 2530 rm -f conftest.$ac_objext 2531 if { (ac_try="$ac_compile" 2532 case "(($ac_try" in 2533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2534 *) ac_try_echo=$ac_try;; 2535 esac 2536 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2537 $as_echo "$ac_try_echo") >&5 2538 (eval "$ac_compile") 2>conftest.er1 2539 ac_status=$? 2540 grep -v '^ *+' conftest.er1 >conftest.err 2541 rm -f conftest.er1 2542 cat conftest.err >&5 2543 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2544 (exit $ac_status); } && { 2545 test -z "$ac_cxx_werror_flag" || 2546 test ! -s conftest.err 2547 } && test -s conftest.$ac_objext; then 2866 if ac_fn_cxx_try_compile "$LINENO"; then : 2548 2867 ac_cv_prog_cxx_g=yes 2549 2868 else 2550 $as_echo "$as_me: failed program was:" >&5 2551 sed 's/^/| /' conftest.$ac_ext >&5 2552 2553 CXXFLAGS="" 2554 cat >conftest.$ac_ext <<_ACEOF 2555 /* confdefs.h. */ 2556 _ACEOF 2557 cat confdefs.h >>conftest.$ac_ext 2558 cat >>conftest.$ac_ext <<_ACEOF 2869 CXXFLAGS="" 2870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2559 2871 /* end confdefs.h. */ 2560 2872 … … 2567 2879 } 2568 2880 _ACEOF 2569 rm -f conftest.$ac_objext 2570 if { (ac_try="$ac_compile" 2571 case "(($ac_try" in 2572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2573 *) ac_try_echo=$ac_try;; 2574 esac 2575 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2576 $as_echo "$ac_try_echo") >&5 2577 (eval "$ac_compile") 2>conftest.er1 2578 ac_status=$? 2579 grep -v '^ *+' conftest.er1 >conftest.err 2580 rm -f conftest.er1 2581 cat conftest.err >&5 2582 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2583 (exit $ac_status); } && { 2584 test -z "$ac_cxx_werror_flag" || 2585 test ! -s conftest.err 2586 } && test -s conftest.$ac_objext; then 2587 : 2588 else 2589 $as_echo "$as_me: failed program was:" >&5 2590 sed 's/^/| /' conftest.$ac_ext >&5 2591 2592 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2881 if ac_fn_cxx_try_compile "$LINENO"; then : 2882 2883 else 2884 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2593 2885 CXXFLAGS="-g" 2594 cat >conftest.$ac_ext <<_ACEOF 2595 /* confdefs.h. */ 2596 _ACEOF 2597 cat confdefs.h >>conftest.$ac_ext 2598 cat >>conftest.$ac_ext <<_ACEOF 2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2599 2887 /* end confdefs.h. */ 2600 2888 … … 2607 2895 } 2608 2896 _ACEOF 2609 rm -f conftest.$ac_objext 2610 if { (ac_try="$ac_compile" 2611 case "(($ac_try" in 2612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2613 *) ac_try_echo=$ac_try;; 2614 esac 2615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2616 $as_echo "$ac_try_echo") >&5 2617 (eval "$ac_compile") 2>conftest.er1 2618 ac_status=$? 2619 grep -v '^ *+' conftest.er1 >conftest.err 2620 rm -f conftest.er1 2621 cat conftest.err >&5 2622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2623 (exit $ac_status); } && { 2624 test -z "$ac_cxx_werror_flag" || 2625 test ! -s conftest.err 2626 } && test -s conftest.$ac_objext; then 2897 if ac_fn_cxx_try_compile "$LINENO"; then : 2627 2898 ac_cv_prog_cxx_g=yes 2628 else 2629 $as_echo "$as_me: failed program was:" >&5 2630 sed 's/^/| /' conftest.$ac_ext >&5 2631 2632 2633 fi 2634 2899 fi 2635 2900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2636 2901 fi 2637 2638 2902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2639 2903 fi 2640 2641 2904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2642 2905 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2643 2906 fi 2644 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cxx_g" >&52907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 2645 2908 $as_echo "$ac_cv_prog_cxx_g" >&6; } 2646 2909 if test "$ac_test_CXXFLAGS" = set; then … … 2669 2932 # Extract the first word of "$ac_prog", so it can be a program name with args. 2670 2933 set dummy $ac_prog; ac_word=$2 2671 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2672 2935 $as_echo_n "checking for $ac_word... " >&6; } 2673 if test "${ac_cv_prog_AWK+set}" = set; then2936 if ${ac_cv_prog_AWK+:} false; then : 2674 2937 $as_echo_n "(cached) " >&6 2675 2938 else … … 2682 2945 IFS=$as_save_IFS 2683 2946 test -z "$as_dir" && as_dir=. 2684 for ac_exec_ext in '' $ac_executable_extensions; do2947 for ac_exec_ext in '' $ac_executable_extensions; do 2685 2948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2686 2949 ac_cv_prog_AWK="$ac_prog" 2687 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2688 2951 break 2 2689 2952 fi 2690 2953 done 2691 done2954 done 2692 2955 IFS=$as_save_IFS 2693 2956 … … 2696 2959 AWK=$ac_cv_prog_AWK 2697 2960 if test -n "$AWK"; then 2698 { $as_echo "$as_me:$ LINENO: result: $AWK" >&52961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2699 2962 $as_echo "$AWK" >&6; } 2700 2963 else 2701 { $as_echo "$as_me:$ LINENO: result: no" >&52964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2702 2965 $as_echo "no" >&6; } 2703 2966 fi … … 2711 2974 # Extract the first word of "$ac_prog", so it can be a program name with args. 2712 2975 set dummy $ac_prog; ac_word=$2 2713 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2714 2977 $as_echo_n "checking for $ac_word... " >&6; } 2715 if test "${ac_cv_prog_YACC+set}" = set; then2978 if ${ac_cv_prog_YACC+:} false; then : 2716 2979 $as_echo_n "(cached) " >&6 2717 2980 else … … 2724 2987 IFS=$as_save_IFS 2725 2988 test -z "$as_dir" && as_dir=. 2726 for ac_exec_ext in '' $ac_executable_extensions; do2989 for ac_exec_ext in '' $ac_executable_extensions; do 2727 2990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2728 2991 ac_cv_prog_YACC="$ac_prog" 2729 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2730 2993 break 2 2731 2994 fi 2732 2995 done 2733 done2996 done 2734 2997 IFS=$as_save_IFS 2735 2998 … … 2738 3001 YACC=$ac_cv_prog_YACC 2739 3002 if test -n "$YACC"; then 2740 { $as_echo "$as_me:$ LINENO: result: $YACC" >&53003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 2741 3004 $as_echo "$YACC" >&6; } 2742 3005 else 2743 { $as_echo "$as_me:$ LINENO: result: no" >&53006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2744 3007 $as_echo "no" >&6; } 2745 3008 fi … … 2758 3021 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2759 3022 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2760 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2761 3024 $as_echo_n "checking for $ac_word... " >&6; } 2762 if test "${ac_cv_prog_CC+set}" = set; then3025 if ${ac_cv_prog_CC+:} false; then : 2763 3026 $as_echo_n "(cached) " >&6 2764 3027 else … … 2771 3034 IFS=$as_save_IFS 2772 3035 test -z "$as_dir" && as_dir=. 2773 for ac_exec_ext in '' $ac_executable_extensions; do3036 for ac_exec_ext in '' $ac_executable_extensions; do 2774 3037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2775 3038 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2776 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2777 3040 break 2 2778 3041 fi 2779 3042 done 2780 done3043 done 2781 3044 IFS=$as_save_IFS 2782 3045 … … 2785 3048 CC=$ac_cv_prog_CC 2786 3049 if test -n "$CC"; then 2787 { $as_echo "$as_me:$ LINENO: result: $CC" >&53050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2788 3051 $as_echo "$CC" >&6; } 2789 3052 else 2790 { $as_echo "$as_me:$ LINENO: result: no" >&53053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2791 3054 $as_echo "no" >&6; } 2792 3055 fi … … 2798 3061 # Extract the first word of "gcc", so it can be a program name with args. 2799 3062 set dummy gcc; ac_word=$2 2800 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2801 3064 $as_echo_n "checking for $ac_word... " >&6; } 2802 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then3065 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2803 3066 $as_echo_n "(cached) " >&6 2804 3067 else … … 2811 3074 IFS=$as_save_IFS 2812 3075 test -z "$as_dir" && as_dir=. 2813 for ac_exec_ext in '' $ac_executable_extensions; do3076 for ac_exec_ext in '' $ac_executable_extensions; do 2814 3077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2815 3078 ac_cv_prog_ac_ct_CC="gcc" 2816 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2817 3080 break 2 2818 3081 fi 2819 3082 done 2820 done3083 done 2821 3084 IFS=$as_save_IFS 2822 3085 … … 2825 3088 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2826 3089 if test -n "$ac_ct_CC"; then 2827 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&53090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2828 3091 $as_echo "$ac_ct_CC" >&6; } 2829 3092 else 2830 { $as_echo "$as_me:$ LINENO: result: no" >&53093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2831 3094 $as_echo "no" >&6; } 2832 3095 fi … … 2837 3100 case $cross_compiling:$ac_tool_warned in 2838 3101 yes:) 2839 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&53102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2840 3103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2841 3104 ac_tool_warned=yes ;; … … 2851 3114 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2852 3115 set dummy ${ac_tool_prefix}cc; ac_word=$2 2853 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2854 3117 $as_echo_n "checking for $ac_word... " >&6; } 2855 if test "${ac_cv_prog_CC+set}" = set; then3118 if ${ac_cv_prog_CC+:} false; then : 2856 3119 $as_echo_n "(cached) " >&6 2857 3120 else … … 2864 3127 IFS=$as_save_IFS 2865 3128 test -z "$as_dir" && as_dir=. 2866 for ac_exec_ext in '' $ac_executable_extensions; do3129 for ac_exec_ext in '' $ac_executable_extensions; do 2867 3130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2868 3131 ac_cv_prog_CC="${ac_tool_prefix}cc" 2869 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2870 3133 break 2 2871 3134 fi 2872 3135 done 2873 done3136 done 2874 3137 IFS=$as_save_IFS 2875 3138 … … 2878 3141 CC=$ac_cv_prog_CC 2879 3142 if test -n "$CC"; then 2880 { $as_echo "$as_me:$ LINENO: result: $CC" >&53143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2881 3144 $as_echo "$CC" >&6; } 2882 3145 else 2883 { $as_echo "$as_me:$ LINENO: result: no" >&53146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2884 3147 $as_echo "no" >&6; } 2885 3148 fi … … 2891 3154 # Extract the first word of "cc", so it can be a program name with args. 2892 3155 set dummy cc; ac_word=$2 2893 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2894 3157 $as_echo_n "checking for $ac_word... " >&6; } 2895 if test "${ac_cv_prog_CC+set}" = set; then3158 if ${ac_cv_prog_CC+:} false; then : 2896 3159 $as_echo_n "(cached) " >&6 2897 3160 else … … 2905 3168 IFS=$as_save_IFS 2906 3169 test -z "$as_dir" && as_dir=. 2907 for ac_exec_ext in '' $ac_executable_extensions; do3170 for ac_exec_ext in '' $ac_executable_extensions; do 2908 3171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2909 3172 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2912 3175 fi 2913 3176 ac_cv_prog_CC="cc" 2914 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2915 3178 break 2 2916 3179 fi 2917 3180 done 2918 done3181 done 2919 3182 IFS=$as_save_IFS 2920 3183 … … 2935 3198 CC=$ac_cv_prog_CC 2936 3199 if test -n "$CC"; then 2937 { $as_echo "$as_me:$ LINENO: result: $CC" >&53200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2938 3201 $as_echo "$CC" >&6; } 2939 3202 else 2940 { $as_echo "$as_me:$ LINENO: result: no" >&53203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2941 3204 $as_echo "no" >&6; } 2942 3205 fi … … 2950 3213 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2951 3214 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2952 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2953 3216 $as_echo_n "checking for $ac_word... " >&6; } 2954 if test "${ac_cv_prog_CC+set}" = set; then3217 if ${ac_cv_prog_CC+:} false; then : 2955 3218 $as_echo_n "(cached) " >&6 2956 3219 else … … 2963 3226 IFS=$as_save_IFS 2964 3227 test -z "$as_dir" && as_dir=. 2965 for ac_exec_ext in '' $ac_executable_extensions; do3228 for ac_exec_ext in '' $ac_executable_extensions; do 2966 3229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2967 3230 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2968 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2969 3232 break 2 2970 3233 fi 2971 3234 done 2972 done3235 done 2973 3236 IFS=$as_save_IFS 2974 3237 … … 2977 3240 CC=$ac_cv_prog_CC 2978 3241 if test -n "$CC"; then 2979 { $as_echo "$as_me:$ LINENO: result: $CC" >&53242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2980 3243 $as_echo "$CC" >&6; } 2981 3244 else 2982 { $as_echo "$as_me:$ LINENO: result: no" >&53245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2983 3246 $as_echo "no" >&6; } 2984 3247 fi … … 2994 3257 # Extract the first word of "$ac_prog", so it can be a program name with args. 2995 3258 set dummy $ac_prog; ac_word=$2 2996 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2997 3260 $as_echo_n "checking for $ac_word... " >&6; } 2998 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then3261 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2999 3262 $as_echo_n "(cached) " >&6 3000 3263 else … … 3007 3270 IFS=$as_save_IFS 3008 3271 test -z "$as_dir" && as_dir=. 3009 for ac_exec_ext in '' $ac_executable_extensions; do3272 for ac_exec_ext in '' $ac_executable_extensions; do 3010 3273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3011 3274 ac_cv_prog_ac_ct_CC="$ac_prog" 3012 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3013 3276 break 2 3014 3277 fi 3015 3278 done 3016 done3279 done 3017 3280 IFS=$as_save_IFS 3018 3281 … … 3021 3284 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3022 3285 if test -n "$ac_ct_CC"; then 3023 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&53286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3024 3287 $as_echo "$ac_ct_CC" >&6; } 3025 3288 else 3026 { $as_echo "$as_me:$ LINENO: result: no" >&53289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3027 3290 $as_echo "no" >&6; } 3028 3291 fi … … 3037 3300 case $cross_compiling:$ac_tool_warned in 3038 3301 yes:) 3039 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&53302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3040 3303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3041 3304 ac_tool_warned=yes ;; … … 3048 3311 3049 3312 3050 test -z "$CC" && { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&53313 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3051 3314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3052 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 3053 See \`config.log' for more details." >&5 3054 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 3055 See \`config.log' for more details." >&2;} 3056 { (exit 1); exit 1; }; }; } 3315 as_fn_error $? "no acceptable C compiler found in \$PATH 3316 See \`config.log' for more details" "$LINENO" 5; } 3057 3317 3058 3318 # Provide some information about the compiler. 3059 $as_echo "$as_me:$ LINENO: checking for C compiler version" >&53319 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3060 3320 set X $ac_compile 3061 3321 ac_compiler=$2 3062 { (ac_try="$ac_compiler --version >&5" 3322 for ac_option in --version -v -V -qversion; do 3323 { { ac_try="$ac_compiler $ac_option >&5" 3063 3324 case "(($ac_try" in 3064 3325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3065 3326 *) ac_try_echo=$ac_try;; 3066 3327 esac 3067 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""3068 $as_echo "$ac_try_echo" )>&53069 (eval "$ac_compiler --version >&5") 2>&53328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3329 $as_echo "$ac_try_echo"; } >&5 3330 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3070 3331 ac_status=$? 3071 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3072 (exit $ac_status); } 3073 { (ac_try="$ac_compiler -v >&5" 3074 case "(($ac_try" in 3075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3076 *) ac_try_echo=$ac_try;; 3077 esac 3078 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3079 $as_echo "$ac_try_echo") >&5 3080 (eval "$ac_compiler -v >&5") 2>&5 3081 ac_status=$? 3082 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3083 (exit $ac_status); } 3084 { (ac_try="$ac_compiler -V >&5" 3085 case "(($ac_try" in 3086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3087 *) ac_try_echo=$ac_try;; 3088 esac 3089 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3090 $as_echo "$ac_try_echo") >&5 3091 (eval "$ac_compiler -V >&5") 2>&5 3092 ac_status=$? 3093 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3094 (exit $ac_status); } 3095 3096 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3332 if test -s conftest.err; then 3333 sed '10a\ 3334 ... rest of stderr output deleted ... 3335 10q' conftest.err >conftest.er1 3336 cat conftest.er1 >&5 3337 fi 3338 rm -f conftest.er1 conftest.err 3339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3340 test $ac_status = 0; } 3341 done 3342 3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3097 3344 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3098 if test "${ac_cv_c_compiler_gnu+set}" = set; then3345 if ${ac_cv_c_compiler_gnu+:} false; then : 3099 3346 $as_echo_n "(cached) " >&6 3100 3347 else 3101 cat >conftest.$ac_ext <<_ACEOF 3102 /* confdefs.h. */ 3103 _ACEOF 3104 cat confdefs.h >>conftest.$ac_ext 3105 cat >>conftest.$ac_ext <<_ACEOF 3348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3106 3349 /* end confdefs.h. */ 3107 3350 … … 3117 3360 } 3118 3361 _ACEOF 3119 rm -f conftest.$ac_objext 3120 if { (ac_try="$ac_compile" 3121 case "(($ac_try" in 3122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3123 *) ac_try_echo=$ac_try;; 3124 esac 3125 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3126 $as_echo "$ac_try_echo") >&5 3127 (eval "$ac_compile") 2>conftest.er1 3128 ac_status=$? 3129 grep -v '^ *+' conftest.er1 >conftest.err 3130 rm -f conftest.er1 3131 cat conftest.err >&5 3132 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3133 (exit $ac_status); } && { 3134 test -z "$ac_c_werror_flag" || 3135 test ! -s conftest.err 3136 } && test -s conftest.$ac_objext; then 3362 if ac_fn_c_try_compile "$LINENO"; then : 3137 3363 ac_compiler_gnu=yes 3138 3364 else 3139 $as_echo "$as_me: failed program was:" >&5 3140 sed 's/^/| /' conftest.$ac_ext >&5 3141 3142 ac_compiler_gnu=no 3143 fi 3144 3365 ac_compiler_gnu=no 3366 fi 3145 3367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3146 3368 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3147 3369 3148 3370 fi 3149 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_compiler_gnu" >&53371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3150 3372 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3151 3373 if test $ac_compiler_gnu = yes; then … … 3156 3378 ac_test_CFLAGS=${CFLAGS+set} 3157 3379 ac_save_CFLAGS=$CFLAGS 3158 { $as_echo "$as_me:$ LINENO: checking whether $CC accepts -g" >&53380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3159 3381 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3160 if test "${ac_cv_prog_cc_g+set}" = set; then3382 if ${ac_cv_prog_cc_g+:} false; then : 3161 3383 $as_echo_n "(cached) " >&6 3162 3384 else … … 3165 3387 ac_cv_prog_cc_g=no 3166 3388 CFLAGS="-g" 3167 cat >conftest.$ac_ext <<_ACEOF 3168 /* confdefs.h. */ 3169 _ACEOF 3170 cat confdefs.h >>conftest.$ac_ext 3171 cat >>conftest.$ac_ext <<_ACEOF 3389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3172 3390 /* end confdefs.h. */ 3173 3391 … … 3180 3398 } 3181 3399 _ACEOF 3182 rm -f conftest.$ac_objext 3183 if { (ac_try="$ac_compile" 3184 case "(($ac_try" in 3185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3186 *) ac_try_echo=$ac_try;; 3187 esac 3188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3189 $as_echo "$ac_try_echo") >&5 3190 (eval "$ac_compile") 2>conftest.er1 3191 ac_status=$? 3192 grep -v '^ *+' conftest.er1 >conftest.err 3193 rm -f conftest.er1 3194 cat conftest.err >&5 3195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3196 (exit $ac_status); } && { 3197 test -z "$ac_c_werror_flag" || 3198 test ! -s conftest.err 3199 } && test -s conftest.$ac_objext; then 3400 if ac_fn_c_try_compile "$LINENO"; then : 3200 3401 ac_cv_prog_cc_g=yes 3201 3402 else 3202 $as_echo "$as_me: failed program was:" >&5 3203 sed 's/^/| /' conftest.$ac_ext >&5 3204 3205 CFLAGS="" 3206 cat >conftest.$ac_ext <<_ACEOF 3207 /* confdefs.h. */ 3208 _ACEOF 3209 cat confdefs.h >>conftest.$ac_ext 3210 cat >>conftest.$ac_ext <<_ACEOF 3403 CFLAGS="" 3404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3211 3405 /* end confdefs.h. */ 3212 3406 … … 3219 3413 } 3220 3414 _ACEOF 3221 rm -f conftest.$ac_objext 3222 if { (ac_try="$ac_compile" 3223 case "(($ac_try" in 3224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3225 *) ac_try_echo=$ac_try;; 3226 esac 3227 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3228 $as_echo "$ac_try_echo") >&5 3229 (eval "$ac_compile") 2>conftest.er1 3230 ac_status=$? 3231 grep -v '^ *+' conftest.er1 >conftest.err 3232 rm -f conftest.er1 3233 cat conftest.err >&5 3234 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3235 (exit $ac_status); } && { 3236 test -z "$ac_c_werror_flag" || 3237 test ! -s conftest.err 3238 } && test -s conftest.$ac_objext; then 3239 : 3240 else 3241 $as_echo "$as_me: failed program was:" >&5 3242 sed 's/^/| /' conftest.$ac_ext >&5 3243 3244 ac_c_werror_flag=$ac_save_c_werror_flag 3415 if ac_fn_c_try_compile "$LINENO"; then : 3416 3417 else 3418 ac_c_werror_flag=$ac_save_c_werror_flag 3245 3419 CFLAGS="-g" 3246 cat >conftest.$ac_ext <<_ACEOF 3247 /* confdefs.h. */ 3248 _ACEOF 3249 cat confdefs.h >>conftest.$ac_ext 3250 cat >>conftest.$ac_ext <<_ACEOF 3420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3251 3421 /* end confdefs.h. */ 3252 3422 … … 3259 3429 } 3260 3430 _ACEOF 3261 rm -f conftest.$ac_objext 3262 if { (ac_try="$ac_compile" 3263 case "(($ac_try" in 3264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3265 *) ac_try_echo=$ac_try;; 3266 esac 3267 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3268 $as_echo "$ac_try_echo") >&5 3269 (eval "$ac_compile") 2>conftest.er1 3270 ac_status=$? 3271 grep -v '^ *+' conftest.er1 >conftest.err 3272 rm -f conftest.er1 3273 cat conftest.err >&5 3274 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3275 (exit $ac_status); } && { 3276 test -z "$ac_c_werror_flag" || 3277 test ! -s conftest.err 3278 } && test -s conftest.$ac_objext; then 3431 if ac_fn_c_try_compile "$LINENO"; then : 3279 3432 ac_cv_prog_cc_g=yes 3280 else 3281 $as_echo "$as_me: failed program was:" >&5 3282 sed 's/^/| /' conftest.$ac_ext >&5 3283 3284 3285 fi 3286 3433 fi 3287 3434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3288 3435 fi 3289 3290 3436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3291 3437 fi 3292 3293 3438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3294 3439 ac_c_werror_flag=$ac_save_c_werror_flag 3295 3440 fi 3296 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_g" >&53441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3297 3442 $as_echo "$ac_cv_prog_cc_g" >&6; } 3298 3443 if test "$ac_test_CFLAGS" = set; then … … 3311 3456 fi 3312 3457 fi 3313 { $as_echo "$as_me:$ LINENO: checking for $CC option to accept ISO C89" >&53458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3314 3459 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3315 if test "${ac_cv_prog_cc_c89+set}" = set; then3460 if ${ac_cv_prog_cc_c89+:} false; then : 3316 3461 $as_echo_n "(cached) " >&6 3317 3462 else 3318 3463 ac_cv_prog_cc_c89=no 3319 3464 ac_save_CC=$CC 3320 cat >conftest.$ac_ext <<_ACEOF 3321 /* confdefs.h. */ 3322 _ACEOF 3323 cat confdefs.h >>conftest.$ac_ext 3324 cat >>conftest.$ac_ext <<_ACEOF 3465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3325 3466 /* end confdefs.h. */ 3326 3467 #include <stdarg.h> … … 3379 3520 do 3380 3521 CC="$ac_save_CC $ac_arg" 3381 rm -f conftest.$ac_objext 3382 if { (ac_try="$ac_compile" 3383 case "(($ac_try" in 3384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3385 *) ac_try_echo=$ac_try;; 3386 esac 3387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3388 $as_echo "$ac_try_echo") >&5 3389 (eval "$ac_compile") 2>conftest.er1 3390 ac_status=$? 3391 grep -v '^ *+' conftest.er1 >conftest.err 3392 rm -f conftest.er1 3393 cat conftest.err >&5 3394 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3395 (exit $ac_status); } && { 3396 test -z "$ac_c_werror_flag" || 3397 test ! -s conftest.err 3398 } && test -s conftest.$ac_objext; then 3522 if ac_fn_c_try_compile "$LINENO"; then : 3399 3523 ac_cv_prog_cc_c89=$ac_arg 3400 else 3401 $as_echo "$as_me: failed program was:" >&5 3402 sed 's/^/| /' conftest.$ac_ext >&5 3403 3404 3405 fi 3406 3524 fi 3407 3525 rm -f core conftest.err conftest.$ac_objext 3408 3526 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3415 3533 case "x$ac_cv_prog_cc_c89" in 3416 3534 x) 3417 { $as_echo "$as_me:$ LINENO: result: none needed" >&53535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3418 3536 $as_echo "none needed" >&6; } ;; 3419 3537 xno) 3420 { $as_echo "$as_me:$ LINENO: result: unsupported" >&53538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3421 3539 $as_echo "unsupported" >&6; } ;; 3422 3540 *) 3423 3541 CC="$CC $ac_cv_prog_cc_c89" 3424 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_c89" >&53542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3425 3543 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3426 3544 esac 3427 3545 if test "x$ac_cv_prog_cc_c89" != xno; then : 3546 3547 fi 3428 3548 3429 3549 ac_ext=c … … 3447 3567 # ./install, which can be erroneously created by make from ./install.sh. 3448 3568 # Reject install programs that cannot install multiple files. 3449 { $as_echo "$as_me:$ LINENO: checking for a BSD-compatible install" >&53569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3450 3570 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3451 3571 if test -z "$INSTALL"; then 3452 if test "${ac_cv_path_install+set}" = set; then3572 if ${ac_cv_path_install+:} false; then : 3453 3573 $as_echo_n "(cached) " >&6 3454 3574 else … … 3458 3578 IFS=$as_save_IFS 3459 3579 test -z "$as_dir" && as_dir=. 3460 # Account for people who put trailing slashes in PATH elements.3461 case $as_dir/ in 3462 ./ | .// | / cC/* | \3580 # Account for people who put trailing slashes in PATH elements. 3581 case $as_dir/ in #(( 3582 ./ | .// | /[cC]/* | \ 3463 3583 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3464 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \3584 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3465 3585 /usr/ucb/* ) ;; 3466 3586 *) … … 3499 3619 esac 3500 3620 3501 done3621 done 3502 3622 IFS=$as_save_IFS 3503 3623 … … 3515 3635 fi 3516 3636 fi 3517 { $as_echo "$as_me:$ LINENO: result: $INSTALL" >&53637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3518 3638 $as_echo "$INSTALL" >&6; } 3519 3639 … … 3526 3646 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3527 3647 3528 { $as_echo "$as_me:$ LINENO: checking whether ln -s works" >&53648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 3529 3649 $as_echo_n "checking whether ln -s works... " >&6; } 3530 3650 LN_S=$as_ln_s 3531 3651 if test "$LN_S" = "ln -s"; then 3532 { $as_echo "$as_me:$ LINENO: result: yes" >&53652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3533 3653 $as_echo "yes" >&6; } 3534 3654 else 3535 { $as_echo "$as_me:$ LINENO: result: no, using $LN_S" >&53655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 3536 3656 $as_echo "no, using $LN_S" >&6; } 3537 3657 fi 3538 3658 3539 { $as_echo "$as_me:$ LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&53659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3540 3660 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3541 3661 set x ${MAKE-make} 3542 3662 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3543 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then3663 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3544 3664 $as_echo_n "(cached) " >&6 3545 3665 else … … 3549 3669 @echo '@@@%%%=$(MAKE)=@@@%%%' 3550 3670 _ACEOF 3551 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.3671 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3552 3672 case `${MAKE-make} -f conftest.make 2>/dev/null` in 3553 3673 *@@@%%%=?*=@@@%%%*) … … 3559 3679 fi 3560 3680 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3561 { $as_echo "$as_me:$ LINENO: result: yes" >&53681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3562 3682 $as_echo "yes" >&6; } 3563 3683 SET_MAKE= 3564 3684 else 3565 { $as_echo "$as_me:$ LINENO: result: no" >&53685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3566 3686 $as_echo "no" >&6; } 3567 3687 SET_MAKE="MAKE=${MAKE-make}" … … 3571 3691 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3572 3692 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3573 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3574 3694 $as_echo_n "checking for $ac_word... " >&6; } 3575 if test "${ac_cv_prog_RANLIB+set}" = set; then3695 if ${ac_cv_prog_RANLIB+:} false; then : 3576 3696 $as_echo_n "(cached) " >&6 3577 3697 else … … 3584 3704 IFS=$as_save_IFS 3585 3705 test -z "$as_dir" && as_dir=. 3586 for ac_exec_ext in '' $ac_executable_extensions; do3706 for ac_exec_ext in '' $ac_executable_extensions; do 3587 3707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3588 3708 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3589 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3590 3710 break 2 3591 3711 fi 3592 3712 done 3593 done3713 done 3594 3714 IFS=$as_save_IFS 3595 3715 … … 3598 3718 RANLIB=$ac_cv_prog_RANLIB 3599 3719 if test -n "$RANLIB"; then 3600 { $as_echo "$as_me:$ LINENO: result: $RANLIB" >&53720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 3601 3721 $as_echo "$RANLIB" >&6; } 3602 3722 else 3603 { $as_echo "$as_me:$ LINENO: result: no" >&53723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3604 3724 $as_echo "no" >&6; } 3605 3725 fi … … 3611 3731 # Extract the first word of "ranlib", so it can be a program name with args. 3612 3732 set dummy ranlib; ac_word=$2 3613 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3614 3734 $as_echo_n "checking for $ac_word... " >&6; } 3615 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then3735 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 3616 3736 $as_echo_n "(cached) " >&6 3617 3737 else … … 3624 3744 IFS=$as_save_IFS 3625 3745 test -z "$as_dir" && as_dir=. 3626 for ac_exec_ext in '' $ac_executable_extensions; do3746 for ac_exec_ext in '' $ac_executable_extensions; do 3627 3747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3628 3748 ac_cv_prog_ac_ct_RANLIB="ranlib" 3629 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3630 3750 break 2 3631 3751 fi 3632 3752 done 3633 done3753 done 3634 3754 IFS=$as_save_IFS 3635 3755 … … 3638 3758 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3639 3759 if test -n "$ac_ct_RANLIB"; then 3640 { $as_echo "$as_me:$ LINENO: result: $ac_ct_RANLIB" >&53760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 3641 3761 $as_echo "$ac_ct_RANLIB" >&6; } 3642 3762 else 3643 { $as_echo "$as_me:$ LINENO: result: no" >&53763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3644 3764 $as_echo "no" >&6; } 3645 3765 fi … … 3650 3770 case $cross_compiling:$ac_tool_warned in 3651 3771 yes:) 3652 { $as_echo "$as_me:$ LINENO: WARNING: using cross tools not prefixed with host triplet" >&53772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3653 3773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3654 3774 ac_tool_warned=yes ;; … … 3669 3789 # Extract the first word of "$ac_prog", so it can be a program name with args. 3670 3790 set dummy $ac_prog; ac_word=$2 3671 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3672 3792 $as_echo_n "checking for $ac_word... " >&6; } 3673 if test "${ac_cv_prog_JAVA+set}" = set; then3793 if ${ac_cv_prog_JAVA+:} false; then : 3674 3794 $as_echo_n "(cached) " >&6 3675 3795 else … … 3682 3802 IFS=$as_save_IFS 3683 3803 test -z "$as_dir" && as_dir=. 3684 for ac_exec_ext in '' $ac_executable_extensions; do3804 for ac_exec_ext in '' $ac_executable_extensions; do 3685 3805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3686 3806 ac_cv_prog_JAVA="$ac_prog" 3687 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3688 3808 break 2 3689 3809 fi 3690 3810 done 3691 done3811 done 3692 3812 IFS=$as_save_IFS 3693 3813 … … 3696 3816 JAVA=$ac_cv_prog_JAVA 3697 3817 if test -n "$JAVA"; then 3698 { $as_echo "$as_me:$ LINENO: result: $JAVA" >&53818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 3699 3819 $as_echo "$JAVA" >&6; } 3700 3820 else 3701 { $as_echo "$as_me:$ LINENO: result: no" >&53821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3702 3822 $as_echo "no" >&6; } 3703 3823 fi … … 3712 3832 # Extract the first word of "$ac_prog", so it can be a program name with args. 3713 3833 set dummy $ac_prog; ac_word=$2 3714 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3715 3835 $as_echo_n "checking for $ac_word... " >&6; } 3716 if test "${ac_cv_prog_JAVA+set}" = set; then3836 if ${ac_cv_prog_JAVA+:} false; then : 3717 3837 $as_echo_n "(cached) " >&6 3718 3838 else … … 3725 3845 IFS=$as_save_IFS 3726 3846 test -z "$as_dir" && as_dir=. 3727 for ac_exec_ext in '' $ac_executable_extensions; do3847 for ac_exec_ext in '' $ac_executable_extensions; do 3728 3848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3729 3849 ac_cv_prog_JAVA="$ac_prog" 3730 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3731 3851 break 2 3732 3852 fi 3733 3853 done 3734 done3854 done 3735 3855 IFS=$as_save_IFS 3736 3856 … … 3739 3859 JAVA=$ac_cv_prog_JAVA 3740 3860 if test -n "$JAVA"; then 3741 { $as_echo "$as_me:$ LINENO: result: $JAVA" >&53861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 3742 3862 $as_echo "$JAVA" >&6; } 3743 3863 else 3744 { $as_echo "$as_me:$ LINENO: result: no" >&53864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3745 3865 $as_echo "no" >&6; } 3746 3866 fi … … 3752 3872 3753 3873 fi 3754 test x$JAVA = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5 3755 $as_echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;} 3756 { (exit 1); exit 1; }; } 3874 test x$JAVA = x && as_fn_error $? "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5 3757 3875 fi 3758 3876 … … 3760 3878 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args. 3761 3879 set dummy uudecode$EXEEXT; ac_word=$2 3762 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3763 3881 $as_echo_n "checking for $ac_word... " >&6; } 3764 if test "${ac_cv_prog_uudecode+set}" = set; then3882 if ${ac_cv_prog_uudecode+:} false; then : 3765 3883 $as_echo_n "(cached) " >&6 3766 3884 else … … 3773 3891 IFS=$as_save_IFS 3774 3892 test -z "$as_dir" && as_dir=. 3775 for ac_exec_ext in '' $ac_executable_extensions; do3893 for ac_exec_ext in '' $ac_executable_extensions; do 3776 3894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3777 3895 ac_cv_prog_uudecode="yes" 3778 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3779 3897 break 2 3780 3898 fi 3781 3899 done 3782 done3900 done 3783 3901 IFS=$as_save_IFS 3784 3902 … … 3787 3905 uudecode=$ac_cv_prog_uudecode 3788 3906 if test -n "$uudecode"; then 3789 { $as_echo "$as_me:$ LINENO: result: $uudecode" >&53907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5 3790 3908 $as_echo "$uudecode" >&6; } 3791 3909 else 3792 { $as_echo "$as_me:$ LINENO: result: no" >&53910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3793 3911 $as_echo "no" >&6; } 3794 3912 fi … … 3796 3914 3797 3915 if test x$uudecode = xyes; then 3798 { $as_echo "$as_me:$ LINENO: checking if uudecode can decode base 64 file" >&53916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5 3799 3917 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; } 3800 if test "${ac_cv_prog_uudecode_base64+set}" = set; then3918 if ${ac_cv_prog_uudecode_base64+:} false; then : 3801 3919 $as_echo_n "(cached) " >&6 3802 3920 else … … 3816 3934 ac_cv_prog_uudecode_base64=yes 3817 3935 else 3818 echo "configure: 3 818: uudecode had trouble decoding base 64 file 'Test.uue'" >&53936 echo "configure: 3936: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 3819 3937 echo "configure: failed file was:" >&5 3820 3938 cat Test.uue >&5 … … 3823 3941 rm -f Test.uue 3824 3942 fi 3825 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_uudecode_base64" >&53943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5 3826 3944 $as_echo "$ac_cv_prog_uudecode_base64" >&6; } 3827 3945 fi 3828 3946 if test x$ac_cv_prog_uudecode_base64 != xyes; then 3829 3947 rm -f Test.class 3830 { $as_echo "$as_me:$ LINENO: WARNING: I have to compile Test.class from scratch" >&53948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5 3831 3949 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;} 3832 3950 if test x$ac_cv_prog_javac_works = xno; then 3833 { { $as_echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5 3834 $as_echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;} 3835 { (exit 1); exit 1; }; } 3951 as_fn_error $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5 3836 3952 fi 3837 3953 if test x$ac_cv_prog_javac_works = x; then … … 3843 3959 # Extract the first word of "$ac_prog", so it can be a program name with args. 3844 3960 set dummy $ac_prog; ac_word=$2 3845 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3846 3962 $as_echo_n "checking for $ac_word... " >&6; } 3847 if test "${ac_cv_prog_JAVAC+set}" = set; then3963 if ${ac_cv_prog_JAVAC+:} false; then : 3848 3964 $as_echo_n "(cached) " >&6 3849 3965 else … … 3856 3972 IFS=$as_save_IFS 3857 3973 test -z "$as_dir" && as_dir=. 3858 for ac_exec_ext in '' $ac_executable_extensions; do3974 for ac_exec_ext in '' $ac_executable_extensions; do 3859 3975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3860 3976 ac_cv_prog_JAVAC="$ac_prog" 3861 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3862 3978 break 2 3863 3979 fi 3864 3980 done 3865 done3981 done 3866 3982 IFS=$as_save_IFS 3867 3983 … … 3870 3986 JAVAC=$ac_cv_prog_JAVAC 3871 3987 if test -n "$JAVAC"; then 3872 { $as_echo "$as_me:$ LINENO: result: $JAVAC" >&53988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3873 3989 $as_echo "$JAVAC" >&6; } 3874 3990 else 3875 { $as_echo "$as_me:$ LINENO: result: no" >&53991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3876 3992 $as_echo "no" >&6; } 3877 3993 fi … … 3886 4002 # Extract the first word of "$ac_prog", so it can be a program name with args. 3887 4003 set dummy $ac_prog; ac_word=$2 3888 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3889 4005 $as_echo_n "checking for $ac_word... " >&6; } 3890 if test "${ac_cv_prog_JAVAC+set}" = set; then4006 if ${ac_cv_prog_JAVAC+:} false; then : 3891 4007 $as_echo_n "(cached) " >&6 3892 4008 else … … 3899 4015 IFS=$as_save_IFS 3900 4016 test -z "$as_dir" && as_dir=. 3901 for ac_exec_ext in '' $ac_executable_extensions; do4017 for ac_exec_ext in '' $ac_executable_extensions; do 3902 4018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3903 4019 ac_cv_prog_JAVAC="$ac_prog" 3904 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3905 4021 break 2 3906 4022 fi 3907 4023 done 3908 done4024 done 3909 4025 IFS=$as_save_IFS 3910 4026 … … 3913 4029 JAVAC=$ac_cv_prog_JAVAC 3914 4030 if test -n "$JAVAC"; then 3915 { $as_echo "$as_me:$ LINENO: result: $JAVAC" >&54031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3916 4032 $as_echo "$JAVAC" >&6; } 3917 4033 else 3918 { $as_echo "$as_me:$ LINENO: result: no" >&54034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3919 4035 $as_echo "no" >&6; } 3920 4036 fi … … 3926 4042 3927 4043 fi 3928 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3929 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 3930 { (exit 1); exit 1; }; } 4044 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 3931 4045 else 3932 4046 echo "Checking for javac... $JAVAC" … … 3934 4048 3935 4049 3936 { $as_echo "$as_me:$ LINENO: checking if $JAVAC works" >&54050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5 3937 4051 $as_echo_n "checking if $JAVAC works... " >&6; } 3938 if test "${ac_cv_prog_javac_works+set}" = set; then4052 if ${ac_cv_prog_javac_works+:} false; then : 3939 4053 $as_echo_n "(cached) " >&6 3940 4054 else … … 3943 4057 CLASS_TEST=Test.class 3944 4058 cat << \EOF > $JAVA_TEST 3945 /* #line 3945"configure" */4059 /* #line 4059 "configure" */ 3946 4060 public class Test { 3947 4061 } 3948 4062 EOF 3949 4063 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 3950 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&54064 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 3951 4065 (eval $ac_try) 2>&5 3952 4066 ac_status=$? 3953 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&53954 (exit $ac_status); }; } >/dev/null 2>&1; then4067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4068 test $ac_status = 0; }; } >/dev/null 2>&1; then 3955 4069 ac_cv_prog_javac_works=yes 3956 4070 else 3957 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3958 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3959 { (exit 1); exit 1; }; } 4071 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3960 4072 echo "configure: failed program was:" >&5 3961 4073 cat $JAVA_TEST >&5 … … 3964 4076 3965 4077 fi 3966 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_javac_works" >&54078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5 3967 4079 $as_echo "$ac_cv_prog_javac_works" >&6; } 3968 4080 if test "x$JAVACFLAGS" = x ; then … … 3974 4086 fi 3975 4087 fi 3976 { $as_echo "$as_me:$ LINENO: checking if $JAVA works" >&54088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5 3977 4089 $as_echo_n "checking if $JAVA works... " >&6; } 3978 if test "${ac_cv_prog_java_works+set}" = set; then4090 if ${ac_cv_prog_java_works+:} false; then : 3979 4091 $as_echo_n "(cached) " >&6 3980 4092 else … … 3984 4096 TEST=Test 3985 4097 cat << \EOF > $JAVA_TEST 3986 /* [#]line 3986"configure" */4098 /* [#]line 4098 "configure" */ 3987 4099 public class Test { 3988 4100 public static void main (String args[]) { … … 3992 4104 if test x$ac_cv_prog_uudecode_base64 != xyes; then 3993 4105 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 3994 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&54106 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 3995 4107 (eval $ac_try) 2>&5 3996 4108 ac_status=$? 3997 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&53998 (exit $ac_status); }; } && test -s $CLASS_TEST; then4109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4110 test $ac_status = 0; }; } && test -s $CLASS_TEST; then 3999 4111 : 4000 4112 else 4001 4113 echo "configure: failed program was:" >&5 4002 4114 cat $JAVA_TEST >&5 4003 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 4004 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 4005 { (exit 1); exit 1; }; } 4115 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 4006 4116 fi 4007 4117 fi 4008 4118 if { ac_try='$JAVA $JAVAFLAGS $TEST' 4009 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&54119 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 4010 4120 (eval $ac_try) 2>&5 4011 4121 ac_status=$? 4012 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&54013 (exit $ac_status); }; } >/dev/null 2>&1; then4122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4123 test $ac_status = 0; }; } >/dev/null 2>&1; then 4014 4124 ac_cv_prog_java_works=yes 4015 4125 else 4016 4126 echo "configure: failed program was:" >&5 4017 4127 cat $JAVA_TEST >&5 4018 { { $as_echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5 4019 $as_echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;} 4020 { (exit 1); exit 1; }; } 4128 as_fn_error $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 4021 4129 fi 4022 4130 rm -fr $JAVA_TEST $CLASS_TEST Test.uue 4023 4131 4024 4132 fi 4025 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_java_works" >&54133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5 4026 4134 $as_echo "$ac_cv_prog_java_works" >&6; } 4027 4135 … … 4035 4143 # Extract the first word of "$ac_prog", so it can be a program name with args. 4036 4144 set dummy $ac_prog; ac_word=$2 4037 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4038 4146 $as_echo_n "checking for $ac_word... " >&6; } 4039 if test "${ac_cv_prog_JAVAC+set}" = set; then4147 if ${ac_cv_prog_JAVAC+:} false; then : 4040 4148 $as_echo_n "(cached) " >&6 4041 4149 else … … 4048 4156 IFS=$as_save_IFS 4049 4157 test -z "$as_dir" && as_dir=. 4050 for ac_exec_ext in '' $ac_executable_extensions; do4158 for ac_exec_ext in '' $ac_executable_extensions; do 4051 4159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4052 4160 ac_cv_prog_JAVAC="$ac_prog" 4053 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4054 4162 break 2 4055 4163 fi 4056 4164 done 4057 done4165 done 4058 4166 IFS=$as_save_IFS 4059 4167 … … 4062 4170 JAVAC=$ac_cv_prog_JAVAC 4063 4171 if test -n "$JAVAC"; then 4064 { $as_echo "$as_me:$ LINENO: result: $JAVAC" >&54172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 4065 4173 $as_echo "$JAVAC" >&6; } 4066 4174 else 4067 { $as_echo "$as_me:$ LINENO: result: no" >&54175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4068 4176 $as_echo "no" >&6; } 4069 4177 fi … … 4078 4186 # Extract the first word of "$ac_prog", so it can be a program name with args. 4079 4187 set dummy $ac_prog; ac_word=$2 4080 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&54188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4081 4189 $as_echo_n "checking for $ac_word... " >&6; } 4082 if test "${ac_cv_prog_JAVAC+set}" = set; then4190 if ${ac_cv_prog_JAVAC+:} false; then : 4083 4191 $as_echo_n "(cached) " >&6 4084 4192 else … … 4091 4199 IFS=$as_save_IFS 4092 4200 test -z "$as_dir" && as_dir=. 4093 for ac_exec_ext in '' $ac_executable_extensions; do4201 for ac_exec_ext in '' $ac_executable_extensions; do 4094 4202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4095 4203 ac_cv_prog_JAVAC="$ac_prog" 4096 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4097 4205 break 2 4098 4206 fi 4099 4207 done 4100 done4208 done 4101 4209 IFS=$as_save_IFS 4102 4210 … … 4105 4213 JAVAC=$ac_cv_prog_JAVAC 4106 4214 if test -n "$JAVAC"; then 4107 { $as_echo "$as_me:$ LINENO: result: $JAVAC" >&54215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 4108 4216 $as_echo "$JAVAC" >&6; } 4109 4217 else 4110 { $as_echo "$as_me:$ LINENO: result: no" >&54218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4111 4219 $as_echo "no" >&6; } 4112 4220 fi … … 4118 4226 4119 4227 fi 4120 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 4121 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 4122 { (exit 1); exit 1; }; } 4228 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 4123 4229 else 4124 4230 echo "Checking for javac... $JAVAC" … … 4126 4232 4127 4233 4128 { $as_echo "$as_me:$ LINENO: checking if $JAVAC works" >&54234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5 4129 4235 $as_echo_n "checking if $JAVAC works... " >&6; } 4130 if test "${ac_cv_prog_javac_works+set}" = set; then4236 if ${ac_cv_prog_javac_works+:} false; then : 4131 4237 $as_echo_n "(cached) " >&6 4132 4238 else … … 4135 4241 CLASS_TEST=Test.class 4136 4242 cat << \EOF > $JAVA_TEST 4137 /* #line 4 137"configure" */4243 /* #line 4243 "configure" */ 4138 4244 public class Test { 4139 4245 } 4140 4246 EOF 4141 4247 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 4142 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&54248 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 4143 4249 (eval $ac_try) 2>&5 4144 4250 ac_status=$? 4145 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&54146 (exit $ac_status); }; } >/dev/null 2>&1; then4251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4252 test $ac_status = 0; }; } >/dev/null 2>&1; then 4147 4253 ac_cv_prog_javac_works=yes 4148 4254 else 4149 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 4150 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 4151 { (exit 1); exit 1; }; } 4255 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 4152 4256 echo "configure: failed program was:" >&5 4153 4257 cat $JAVA_TEST >&5 … … 4156 4260 4157 4261 fi 4158 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_javac_works" >&54262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5 4159 4263 $as_echo "$ac_cv_prog_javac_works" >&6; } 4160 4264 if test "x$JAVACFLAGS" = x ; then … … 4172 4276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4173 4277 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4174 { $as_echo "$as_me:$ LINENO: checking how to run the C preprocessor" >&54278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4175 4279 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4176 4280 # On Suns, sometimes $CPP names a directory. … … 4179 4283 fi 4180 4284 if test -z "$CPP"; then 4181 if test "${ac_cv_prog_CPP+set}" = set; then4285 if ${ac_cv_prog_CPP+:} false; then : 4182 4286 $as_echo_n "(cached) " >&6 4183 4287 else … … 4194 4298 # On the NeXT, cc -E runs the code through the compiler's parser, 4195 4299 # not just through cpp. "Syntax error" is here to catch this case. 4196 cat >conftest.$ac_ext <<_ACEOF 4197 /* confdefs.h. */ 4198 _ACEOF 4199 cat confdefs.h >>conftest.$ac_ext 4200 cat >>conftest.$ac_ext <<_ACEOF 4300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4201 4301 /* end confdefs.h. */ 4202 4302 #ifdef __STDC__ … … 4207 4307 Syntax error 4208 4308 _ACEOF 4209 if { (ac_try="$ac_cpp conftest.$ac_ext" 4210 case "(($ac_try" in 4211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4212 *) ac_try_echo=$ac_try;; 4213 esac 4214 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4215 $as_echo "$ac_try_echo") >&5 4216 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4217 ac_status=$? 4218 grep -v '^ *+' conftest.er1 >conftest.err 4219 rm -f conftest.er1 4220 cat conftest.err >&5 4221 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4222 (exit $ac_status); } >/dev/null && { 4223 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4224 test ! -s conftest.err 4225 }; then 4226 : 4227 else 4228 $as_echo "$as_me: failed program was:" >&5 4229 sed 's/^/| /' conftest.$ac_ext >&5 4230 4309 if ac_fn_c_try_cpp "$LINENO"; then : 4310 4311 else 4231 4312 # Broken: fails on valid input. 4232 4313 continue 4233 4314 fi 4234 4235 rm -f conftest.err conftest.$ac_ext 4315 rm -f conftest.err conftest.i conftest.$ac_ext 4236 4316 4237 4317 # OK, works on sane cases. Now check whether nonexistent headers 4238 4318 # can be detected and how. 4239 cat >conftest.$ac_ext <<_ACEOF 4240 /* confdefs.h. */ 4241 _ACEOF 4242 cat confdefs.h >>conftest.$ac_ext 4243 cat >>conftest.$ac_ext <<_ACEOF 4319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4244 4320 /* end confdefs.h. */ 4245 4321 #include <ac_nonexistent.h> 4246 4322 _ACEOF 4247 if { (ac_try="$ac_cpp conftest.$ac_ext" 4248 case "(($ac_try" in 4249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4250 *) ac_try_echo=$ac_try;; 4251 esac 4252 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4253 $as_echo "$ac_try_echo") >&5 4254 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4255 ac_status=$? 4256 grep -v '^ *+' conftest.er1 >conftest.err 4257 rm -f conftest.er1 4258 cat conftest.err >&5 4259 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4260 (exit $ac_status); } >/dev/null && { 4261 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4262 test ! -s conftest.err 4263 }; then 4323 if ac_fn_c_try_cpp "$LINENO"; then : 4264 4324 # Broken: success on invalid input. 4265 4325 continue 4266 4326 else 4267 $as_echo "$as_me: failed program was:" >&54268 sed 's/^/| /' conftest.$ac_ext >&54269 4270 4327 # Passes both tests. 4271 4328 ac_preproc_ok=: 4272 4329 break 4273 4330 fi 4274 4275 rm -f conftest.err conftest.$ac_ext 4331 rm -f conftest.err conftest.i conftest.$ac_ext 4276 4332 4277 4333 done 4278 4334 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4279 rm -f conftest. err conftest.$ac_ext4280 if $ac_preproc_ok; then 4335 rm -f conftest.i conftest.err conftest.$ac_ext 4336 if $ac_preproc_ok; then : 4281 4337 break 4282 4338 fi … … 4290 4346 ac_cv_prog_CPP=$CPP 4291 4347 fi 4292 { $as_echo "$as_me:$ LINENO: result: $CPP" >&54348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4293 4349 $as_echo "$CPP" >&6; } 4294 4350 ac_preproc_ok=false … … 4301 4357 # On the NeXT, cc -E runs the code through the compiler's parser, 4302 4358 # not just through cpp. "Syntax error" is here to catch this case. 4303 cat >conftest.$ac_ext <<_ACEOF 4304 /* confdefs.h. */ 4305 _ACEOF 4306 cat confdefs.h >>conftest.$ac_ext 4307 cat >>conftest.$ac_ext <<_ACEOF 4359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4308 4360 /* end confdefs.h. */ 4309 4361 #ifdef __STDC__ … … 4314 4366 Syntax error 4315 4367 _ACEOF 4316 if { (ac_try="$ac_cpp conftest.$ac_ext" 4317 case "(($ac_try" in 4318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4319 *) ac_try_echo=$ac_try;; 4320 esac 4321 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4322 $as_echo "$ac_try_echo") >&5 4323 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4324 ac_status=$? 4325 grep -v '^ *+' conftest.er1 >conftest.err 4326 rm -f conftest.er1 4327 cat conftest.err >&5 4328 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4329 (exit $ac_status); } >/dev/null && { 4330 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4331 test ! -s conftest.err 4332 }; then 4333 : 4334 else 4335 $as_echo "$as_me: failed program was:" >&5 4336 sed 's/^/| /' conftest.$ac_ext >&5 4337 4368 if ac_fn_c_try_cpp "$LINENO"; then : 4369 4370 else 4338 4371 # Broken: fails on valid input. 4339 4372 continue 4340 4373 fi 4341 4342 rm -f conftest.err conftest.$ac_ext 4374 rm -f conftest.err conftest.i conftest.$ac_ext 4343 4375 4344 4376 # OK, works on sane cases. Now check whether nonexistent headers 4345 4377 # can be detected and how. 4346 cat >conftest.$ac_ext <<_ACEOF 4347 /* confdefs.h. */ 4348 _ACEOF 4349 cat confdefs.h >>conftest.$ac_ext 4350 cat >>conftest.$ac_ext <<_ACEOF 4378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4351 4379 /* end confdefs.h. */ 4352 4380 #include <ac_nonexistent.h> 4353 4381 _ACEOF 4354 if { (ac_try="$ac_cpp conftest.$ac_ext" 4355 case "(($ac_try" in 4356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4357 *) ac_try_echo=$ac_try;; 4358 esac 4359 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4360 $as_echo "$ac_try_echo") >&5 4361 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4362 ac_status=$? 4363 grep -v '^ *+' conftest.er1 >conftest.err 4364 rm -f conftest.er1 4365 cat conftest.err >&5 4366 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4367 (exit $ac_status); } >/dev/null && { 4368 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4369 test ! -s conftest.err 4370 }; then 4382 if ac_fn_c_try_cpp "$LINENO"; then : 4371 4383 # Broken: success on invalid input. 4372 4384 continue 4373 4385 else 4374 $as_echo "$as_me: failed program was:" >&54375 sed 's/^/| /' conftest.$ac_ext >&54376 4377 4386 # Passes both tests. 4378 4387 ac_preproc_ok=: 4379 4388 break 4380 4389 fi 4381 4382 rm -f conftest.err conftest.$ac_ext 4390 rm -f conftest.err conftest.i conftest.$ac_ext 4383 4391 4384 4392 done 4385 4393 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4386 rm -f conftest. err conftest.$ac_ext4387 if $ac_preproc_ok; then 4388 : 4389 else 4390 { { $as_echo "$as_me:$ LINENO: error: in \`$ac_pwd':" >&54394 rm -f conftest.i conftest.err conftest.$ac_ext 4395 if $ac_preproc_ok; then : 4396 4397 else 4398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4391 4399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4392 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4393 See \`config.log' for more details." >&5 4394 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4395 See \`config.log' for more details." >&2;} 4396 { (exit 1); exit 1; }; }; } 4400 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4401 See \`config.log' for more details" "$LINENO" 5; } 4397 4402 fi 4398 4403 … … 4404 4409 4405 4410 4406 { $as_echo "$as_me:$ LINENO: checking for grep that handles long lines and -e" >&54411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4407 4412 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4408 if test "${ac_cv_path_GREP+set}" = set; then4413 if ${ac_cv_path_GREP+:} false; then : 4409 4414 $as_echo_n "(cached) " >&6 4410 4415 else … … 4417 4422 IFS=$as_save_IFS 4418 4423 test -z "$as_dir" && as_dir=. 4419 for ac_prog in grep ggrep; do4424 for ac_prog in grep ggrep; do 4420 4425 for ac_exec_ext in '' $ac_executable_extensions; do 4421 4426 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" … … 4437 4442 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4438 4443 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4439 a c_count=`expr $ac_count + 1`4444 as_fn_arith $ac_count + 1 && ac_count=$as_val 4440 4445 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4441 4446 # Best one so far, save it but keep looking for a better one … … 4452 4457 done 4453 4458 done 4454 done4459 done 4455 4460 IFS=$as_save_IFS 4456 4461 if test -z "$ac_cv_path_GREP"; then 4457 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4458 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4459 { (exit 1); exit 1; }; } 4462 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4460 4463 fi 4461 4464 else … … 4464 4467 4465 4468 fi 4466 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_GREP" >&54469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4467 4470 $as_echo "$ac_cv_path_GREP" >&6; } 4468 4471 GREP="$ac_cv_path_GREP" 4469 4472 4470 4473 4471 { $as_echo "$as_me:$ LINENO: checking for egrep" >&54474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4472 4475 $as_echo_n "checking for egrep... " >&6; } 4473 if test "${ac_cv_path_EGREP+set}" = set; then4476 if ${ac_cv_path_EGREP+:} false; then : 4474 4477 $as_echo_n "(cached) " >&6 4475 4478 else … … 4485 4488 IFS=$as_save_IFS 4486 4489 test -z "$as_dir" && as_dir=. 4487 for ac_prog in egrep; do4490 for ac_prog in egrep; do 4488 4491 for ac_exec_ext in '' $ac_executable_extensions; do 4489 4492 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" … … 4505 4508 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4506 4509 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4507 a c_count=`expr $ac_count + 1`4510 as_fn_arith $ac_count + 1 && ac_count=$as_val 4508 4511 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4509 4512 # Best one so far, save it but keep looking for a better one … … 4520 4523 done 4521 4524 done 4522 done4525 done 4523 4526 IFS=$as_save_IFS 4524 4527 if test -z "$ac_cv_path_EGREP"; then 4525 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4526 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4527 { (exit 1); exit 1; }; } 4528 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4528 4529 fi 4529 4530 else … … 4533 4534 fi 4534 4535 fi 4535 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_EGREP" >&54536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4536 4537 $as_echo "$ac_cv_path_EGREP" >&6; } 4537 4538 EGREP="$ac_cv_path_EGREP" 4538 4539 4539 4540 4540 { $as_echo "$as_me:$ LINENO: checking for ANSI C header files" >&54541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4541 4542 $as_echo_n "checking for ANSI C header files... " >&6; } 4542 if test "${ac_cv_header_stdc+set}" = set; then4543 if ${ac_cv_header_stdc+:} false; then : 4543 4544 $as_echo_n "(cached) " >&6 4544 4545 else 4545 cat >conftest.$ac_ext <<_ACEOF 4546 /* confdefs.h. */ 4547 _ACEOF 4548 cat confdefs.h >>conftest.$ac_ext 4549 cat >>conftest.$ac_ext <<_ACEOF 4546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4550 4547 /* end confdefs.h. */ 4551 4548 #include <stdlib.h> … … 4562 4559 } 4563 4560 _ACEOF 4564 rm -f conftest.$ac_objext 4565 if { (ac_try="$ac_compile" 4566 case "(($ac_try" in 4567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4568 *) ac_try_echo=$ac_try;; 4569 esac 4570 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4571 $as_echo "$ac_try_echo") >&5 4572 (eval "$ac_compile") 2>conftest.er1 4573 ac_status=$? 4574 grep -v '^ *+' conftest.er1 >conftest.err 4575 rm -f conftest.er1 4576 cat conftest.err >&5 4577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4578 (exit $ac_status); } && { 4579 test -z "$ac_c_werror_flag" || 4580 test ! -s conftest.err 4581 } && test -s conftest.$ac_objext; then 4561 if ac_fn_c_try_compile "$LINENO"; then : 4582 4562 ac_cv_header_stdc=yes 4583 4563 else 4584 $as_echo "$as_me: failed program was:" >&5 4585 sed 's/^/| /' conftest.$ac_ext >&5 4586 4587 ac_cv_header_stdc=no 4588 fi 4589 4564 ac_cv_header_stdc=no 4565 fi 4590 4566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4591 4567 4592 4568 if test $ac_cv_header_stdc = yes; then 4593 4569 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4594 cat >conftest.$ac_ext <<_ACEOF 4595 /* confdefs.h. */ 4596 _ACEOF 4597 cat confdefs.h >>conftest.$ac_ext 4598 cat >>conftest.$ac_ext <<_ACEOF 4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4599 4571 /* end confdefs.h. */ 4600 4572 #include <string.h> … … 4602 4574 _ACEOF 4603 4575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4604 $EGREP "memchr" >/dev/null 2>&1; then 4605 : 4576 $EGREP "memchr" >/dev/null 2>&1; then : 4577 4606 4578 else 4607 4579 ac_cv_header_stdc=no … … 4613 4585 if test $ac_cv_header_stdc = yes; then 4614 4586 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4615 cat >conftest.$ac_ext <<_ACEOF 4616 /* confdefs.h. */ 4617 _ACEOF 4618 cat confdefs.h >>conftest.$ac_ext 4619 cat >>conftest.$ac_ext <<_ACEOF 4587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4620 4588 /* end confdefs.h. */ 4621 4589 #include <stdlib.h> … … 4623 4591 _ACEOF 4624 4592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4625 $EGREP "free" >/dev/null 2>&1; then 4626 : 4593 $EGREP "free" >/dev/null 2>&1; then : 4594 4627 4595 else 4628 4596 ac_cv_header_stdc=no … … 4634 4602 if test $ac_cv_header_stdc = yes; then 4635 4603 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4636 if test "$cross_compiling" = yes; then 4604 if test "$cross_compiling" = yes; then : 4637 4605 : 4638 4606 else 4639 cat >conftest.$ac_ext <<_ACEOF 4640 /* confdefs.h. */ 4641 _ACEOF 4642 cat confdefs.h >>conftest.$ac_ext 4643 cat >>conftest.$ac_ext <<_ACEOF 4607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4644 4608 /* end confdefs.h. */ 4645 4609 #include <ctype.h> … … 4668 4632 } 4669 4633 _ACEOF 4670 rm -f conftest$ac_exeext 4671 if { (ac_try="$ac_link" 4672 case "(($ac_try" in 4673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4674 *) ac_try_echo=$ac_try;; 4675 esac 4676 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4677 $as_echo "$ac_try_echo") >&5 4678 (eval "$ac_link") 2>&5 4679 ac_status=$? 4680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4681 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4682 { (case "(($ac_try" in 4683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4684 *) ac_try_echo=$ac_try;; 4685 esac 4686 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4687 $as_echo "$ac_try_echo") >&5 4688 (eval "$ac_try") 2>&5 4689 ac_status=$? 4690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4691 (exit $ac_status); }; }; then 4692 : 4693 else 4694 $as_echo "$as_me: program exited with status $ac_status" >&5 4695 $as_echo "$as_me: failed program was:" >&5 4696 sed 's/^/| /' conftest.$ac_ext >&5 4697 4698 ( exit $ac_status ) 4699 ac_cv_header_stdc=no 4700 fi 4701 rm -rf conftest.dSYM 4702 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4703 fi 4704 4705 4706 fi 4707 fi 4708 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4634 if ac_fn_c_try_run "$LINENO"; then : 4635 4636 else 4637 ac_cv_header_stdc=no 4638 fi 4639 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4640 conftest.$ac_objext conftest.beam conftest.$ac_ext 4641 fi 4642 4643 fi 4644 fi 4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4709 4646 $as_echo "$ac_cv_header_stdc" >&6; } 4710 4647 if test $ac_cv_header_stdc = yes; then 4711 4648 4712 cat >>confdefs.h <<\_ACEOF 4713 #define STDC_HEADERS 1 4714 _ACEOF 4649 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4715 4650 4716 4651 fi 4717 4652 4718 4653 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4654 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4729 4655 inttypes.h stdint.h unistd.h 4730 do 4731 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4732 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4733 $as_echo_n "checking for $ac_header... " >&6; } 4734 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4735 $as_echo_n "(cached) " >&6 4736 else 4737 cat >conftest.$ac_ext <<_ACEOF 4738 /* confdefs.h. */ 4739 _ACEOF 4740 cat confdefs.h >>conftest.$ac_ext 4741 cat >>conftest.$ac_ext <<_ACEOF 4742 /* end confdefs.h. */ 4743 $ac_includes_default 4744 4745 #include <$ac_header> 4746 _ACEOF 4747 rm -f conftest.$ac_objext 4748 if { (ac_try="$ac_compile" 4749 case "(($ac_try" in 4750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4751 *) ac_try_echo=$ac_try;; 4752 esac 4753 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4754 $as_echo "$ac_try_echo") >&5 4755 (eval "$ac_compile") 2>conftest.er1 4756 ac_status=$? 4757 grep -v '^ *+' conftest.er1 >conftest.err 4758 rm -f conftest.er1 4759 cat conftest.err >&5 4760 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4761 (exit $ac_status); } && { 4762 test -z "$ac_c_werror_flag" || 4763 test ! -s conftest.err 4764 } && test -s conftest.$ac_objext; then 4765 eval "$as_ac_Header=yes" 4766 else 4767 $as_echo "$as_me: failed program was:" >&5 4768 sed 's/^/| /' conftest.$ac_ext >&5 4769 4770 eval "$as_ac_Header=no" 4771 fi 4772 4773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4774 fi 4775 ac_res=`eval 'as_val=${'$as_ac_Header'} 4776 $as_echo "$as_val"'` 4777 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4778 $as_echo "$ac_res" >&6; } 4779 as_val=`eval 'as_val=${'$as_ac_Header'} 4780 $as_echo "$as_val"'` 4781 if test "x$as_val" = x""yes; then 4656 do : 4657 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4658 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4659 " 4660 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4782 4661 cat >>confdefs.h <<_ACEOF 4783 4662 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 4790 4669 4791 4670 4792 if test "${ac_cv_header_minix_config_h+set}" = set; then 4793 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 4794 $as_echo_n "checking for minix/config.h... " >&6; } 4795 if test "${ac_cv_header_minix_config_h+set}" = set; then 4671 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4672 if test "x$ac_cv_header_minix_config_h" = xyes; then : 4673 MINIX=yes 4674 else 4675 MINIX= 4676 fi 4677 4678 4679 if test "$MINIX" = yes; then 4680 4681 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 4682 4683 4684 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 4685 4686 4687 $as_echo "#define _MINIX 1" >>confdefs.h 4688 4689 fi 4690 4691 4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4693 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4694 if ${ac_cv_safe_to_define___extensions__+:} false; then : 4796 4695 $as_echo_n "(cached) " >&6 4797 fi 4798 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4799 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4800 else 4801 # Is the header compilable? 4802 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 4803 $as_echo_n "checking minix/config.h usability... " >&6; } 4804 cat >conftest.$ac_ext <<_ACEOF 4805 /* confdefs.h. */ 4806 _ACEOF 4807 cat confdefs.h >>conftest.$ac_ext 4808 cat >>conftest.$ac_ext <<_ACEOF 4809 /* end confdefs.h. */ 4810 $ac_includes_default 4811 #include <minix/config.h> 4812 _ACEOF 4813 rm -f conftest.$ac_objext 4814 if { (ac_try="$ac_compile" 4815 case "(($ac_try" in 4816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4817 *) ac_try_echo=$ac_try;; 4818 esac 4819 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4820 $as_echo "$ac_try_echo") >&5 4821 (eval "$ac_compile") 2>conftest.er1 4822 ac_status=$? 4823 grep -v '^ *+' conftest.er1 >conftest.err 4824 rm -f conftest.er1 4825 cat conftest.err >&5 4826 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4827 (exit $ac_status); } && { 4828 test -z "$ac_c_werror_flag" || 4829 test ! -s conftest.err 4830 } && test -s conftest.$ac_objext; then 4831 ac_header_compiler=yes 4832 else 4833 $as_echo "$as_me: failed program was:" >&5 4834 sed 's/^/| /' conftest.$ac_ext >&5 4835 4836 ac_header_compiler=no 4837 fi 4838 4839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4840 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4841 $as_echo "$ac_header_compiler" >&6; } 4842 4843 # Is the header present? 4844 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 4845 $as_echo_n "checking minix/config.h presence... " >&6; } 4846 cat >conftest.$ac_ext <<_ACEOF 4847 /* confdefs.h. */ 4848 _ACEOF 4849 cat confdefs.h >>conftest.$ac_ext 4850 cat >>conftest.$ac_ext <<_ACEOF 4851 /* end confdefs.h. */ 4852 #include <minix/config.h> 4853 _ACEOF 4854 if { (ac_try="$ac_cpp conftest.$ac_ext" 4855 case "(($ac_try" in 4856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4857 *) ac_try_echo=$ac_try;; 4858 esac 4859 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4860 $as_echo "$ac_try_echo") >&5 4861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4862 ac_status=$? 4863 grep -v '^ *+' conftest.er1 >conftest.err 4864 rm -f conftest.er1 4865 cat conftest.err >&5 4866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4867 (exit $ac_status); } >/dev/null && { 4868 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4869 test ! -s conftest.err 4870 }; then 4871 ac_header_preproc=yes 4872 else 4873 $as_echo "$as_me: failed program was:" >&5 4874 sed 's/^/| /' conftest.$ac_ext >&5 4875 4876 ac_header_preproc=no 4877 fi 4878 4879 rm -f conftest.err conftest.$ac_ext 4880 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4881 $as_echo "$ac_header_preproc" >&6; } 4882 4883 # So? What about this header? 4884 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4885 yes:no: ) 4886 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 4887 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4888 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 4889 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 4890 ac_header_preproc=yes 4891 ;; 4892 no:yes:* ) 4893 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 4894 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 4895 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 4896 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 4897 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 4898 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 4899 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 4900 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 4901 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 4902 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 4903 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4904 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4905 4906 ;; 4907 esac 4908 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 4909 $as_echo_n "checking for minix/config.h... " >&6; } 4910 if test "${ac_cv_header_minix_config_h+set}" = set; then 4911 $as_echo_n "(cached) " >&6 4912 else 4913 ac_cv_header_minix_config_h=$ac_header_preproc 4914 fi 4915 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4916 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4917 4918 fi 4919 if test "x$ac_cv_header_minix_config_h" = x""yes; then 4920 MINIX=yes 4921 else 4922 MINIX= 4923 fi 4924 4925 4926 if test "$MINIX" = yes; then 4927 4928 cat >>confdefs.h <<\_ACEOF 4929 #define _POSIX_SOURCE 1 4930 _ACEOF 4931 4932 4933 cat >>confdefs.h <<\_ACEOF 4934 #define _POSIX_1_SOURCE 2 4935 _ACEOF 4936 4937 4938 cat >>confdefs.h <<\_ACEOF 4939 #define _MINIX 1 4940 _ACEOF 4941 4942 fi 4943 4944 4945 4946 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 4947 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4948 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 4949 $as_echo_n "(cached) " >&6 4950 else 4951 cat >conftest.$ac_ext <<_ACEOF 4952 /* confdefs.h. */ 4953 _ACEOF 4954 cat confdefs.h >>conftest.$ac_ext 4955 cat >>conftest.$ac_ext <<_ACEOF 4696 else 4697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4956 4698 /* end confdefs.h. */ 4957 4699 … … 4966 4708 } 4967 4709 _ACEOF 4968 rm -f conftest.$ac_objext 4969 if { (ac_try="$ac_compile" 4970 case "(($ac_try" in 4971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4972 *) ac_try_echo=$ac_try;; 4973 esac 4974 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4975 $as_echo "$ac_try_echo") >&5 4976 (eval "$ac_compile") 2>conftest.er1 4977 ac_status=$? 4978 grep -v '^ *+' conftest.er1 >conftest.err 4979 rm -f conftest.er1 4980 cat conftest.err >&5 4981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4982 (exit $ac_status); } && { 4983 test -z "$ac_c_werror_flag" || 4984 test ! -s conftest.err 4985 } && test -s conftest.$ac_objext; then 4710 if ac_fn_c_try_compile "$LINENO"; then : 4986 4711 ac_cv_safe_to_define___extensions__=yes 4987 4712 else 4988 $as_echo "$as_me: failed program was:" >&5 4989 sed 's/^/| /' conftest.$ac_ext >&5 4990 4991 ac_cv_safe_to_define___extensions__=no 4992 fi 4993 4713 ac_cv_safe_to_define___extensions__=no 4714 fi 4994 4715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4995 4716 fi 4996 { $as_echo "$as_me:$ LINENO: result: $ac_cv_safe_to_define___extensions__" >&54717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 4997 4718 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 4998 4719 test $ac_cv_safe_to_define___extensions__ = yes && 4999 cat >>confdefs.h <<\_ACEOF 5000 #define __EXTENSIONS__ 1 5001 _ACEOF 5002 5003 cat >>confdefs.h <<\_ACEOF 5004 #define _ALL_SOURCE 1 5005 _ACEOF 5006 5007 cat >>confdefs.h <<\_ACEOF 5008 #define _GNU_SOURCE 1 5009 _ACEOF 5010 5011 cat >>confdefs.h <<\_ACEOF 5012 #define _POSIX_PTHREAD_SEMANTICS 1 5013 _ACEOF 5014 5015 cat >>confdefs.h <<\_ACEOF 5016 #define _TANDEM_SOURCE 1 5017 _ACEOF 5018 5019 5020 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5 4720 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 4721 4722 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 4723 4724 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 4725 4726 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 4727 4728 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 4729 4730 4731 4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 5021 4733 $as_echo_n "checking for library containing strerror... " >&6; } 5022 if test "${ac_cv_search_strerror+set}" = set; then4734 if ${ac_cv_search_strerror+:} false; then : 5023 4735 $as_echo_n "(cached) " >&6 5024 4736 else 5025 4737 ac_func_search_save_LIBS=$LIBS 5026 cat >conftest.$ac_ext <<_ACEOF 5027 /* confdefs.h. */ 5028 _ACEOF 5029 cat confdefs.h >>conftest.$ac_ext 5030 cat >>conftest.$ac_ext <<_ACEOF 4738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5031 4739 /* end confdefs.h. */ 5032 4740 … … 5053 4761 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5054 4762 fi 5055 rm -f conftest.$ac_objext conftest$ac_exeext 5056 if { (ac_try="$ac_link" 5057 case "(($ac_try" in 5058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5059 *) ac_try_echo=$ac_try;; 5060 esac 5061 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5062 $as_echo "$ac_try_echo") >&5 5063 (eval "$ac_link") 2>conftest.er1 5064 ac_status=$? 5065 grep -v '^ *+' conftest.er1 >conftest.err 5066 rm -f conftest.er1 5067 cat conftest.err >&5 5068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5069 (exit $ac_status); } && { 5070 test -z "$ac_c_werror_flag" || 5071 test ! -s conftest.err 5072 } && test -s conftest$ac_exeext && { 5073 test "$cross_compiling" = yes || 5074 $as_test_x conftest$ac_exeext 5075 }; then 4763 if ac_fn_c_try_link "$LINENO"; then : 5076 4764 ac_cv_search_strerror=$ac_res 5077 else 5078 $as_echo "$as_me: failed program was:" >&5 5079 sed 's/^/| /' conftest.$ac_ext >&5 5080 5081 5082 fi 5083 5084 rm -rf conftest.dSYM 5085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5086 conftest$ac_exeext 5087 if test "${ac_cv_search_strerror+set}" = set; then 4765 fi 4766 rm -f core conftest.err conftest.$ac_objext \ 4767 conftest$ac_exeext 4768 if ${ac_cv_search_strerror+:} false; then : 5088 4769 break 5089 4770 fi 5090 4771 done 5091 if test "${ac_cv_search_strerror+set}" = set; then5092 : 4772 if ${ac_cv_search_strerror+:} false; then : 4773 5093 4774 else 5094 4775 ac_cv_search_strerror=no … … 5097 4778 LIBS=$ac_func_search_save_LIBS 5098 4779 fi 5099 { $as_echo "$as_me:$ LINENO: result: $ac_cv_search_strerror" >&54780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 5100 4781 $as_echo "$ac_cv_search_strerror" >&6; } 5101 4782 ac_res=$ac_cv_search_strerror 5102 if test "$ac_res" != no; then 4783 if test "$ac_res" != no; then : 5103 4784 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5104 4785 … … 5106 4787 5107 4788 5108 if test "${ac_cv_header_minix_config_h+set}" = set; then 5109 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5110 $as_echo_n "checking for minix/config.h... " >&6; } 5111 if test "${ac_cv_header_minix_config_h+set}" = set; then 5112 $as_echo_n "(cached) " >&6 5113 fi 5114 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5115 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5116 else 5117 # Is the header compilable? 5118 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 5119 $as_echo_n "checking minix/config.h usability... " >&6; } 5120 cat >conftest.$ac_ext <<_ACEOF 5121 /* confdefs.h. */ 5122 _ACEOF 5123 cat confdefs.h >>conftest.$ac_ext 5124 cat >>conftest.$ac_ext <<_ACEOF 5125 /* end confdefs.h. */ 5126 $ac_includes_default 5127 #include <minix/config.h> 5128 _ACEOF 5129 rm -f conftest.$ac_objext 5130 if { (ac_try="$ac_compile" 5131 case "(($ac_try" in 5132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5133 *) ac_try_echo=$ac_try;; 5134 esac 5135 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5136 $as_echo "$ac_try_echo") >&5 5137 (eval "$ac_compile") 2>conftest.er1 5138 ac_status=$? 5139 grep -v '^ *+' conftest.er1 >conftest.err 5140 rm -f conftest.er1 5141 cat conftest.err >&5 5142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5143 (exit $ac_status); } && { 5144 test -z "$ac_c_werror_flag" || 5145 test ! -s conftest.err 5146 } && test -s conftest.$ac_objext; then 5147 ac_header_compiler=yes 5148 else 5149 $as_echo "$as_me: failed program was:" >&5 5150 sed 's/^/| /' conftest.$ac_ext >&5 5151 5152 ac_header_compiler=no 5153 fi 5154 5155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5156 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5157 $as_echo "$ac_header_compiler" >&6; } 5158 5159 # Is the header present? 5160 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 5161 $as_echo_n "checking minix/config.h presence... " >&6; } 5162 cat >conftest.$ac_ext <<_ACEOF 5163 /* confdefs.h. */ 5164 _ACEOF 5165 cat confdefs.h >>conftest.$ac_ext 5166 cat >>conftest.$ac_ext <<_ACEOF 5167 /* end confdefs.h. */ 5168 #include <minix/config.h> 5169 _ACEOF 5170 if { (ac_try="$ac_cpp conftest.$ac_ext" 5171 case "(($ac_try" in 5172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5173 *) ac_try_echo=$ac_try;; 5174 esac 5175 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5176 $as_echo "$ac_try_echo") >&5 5177 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5178 ac_status=$? 5179 grep -v '^ *+' conftest.er1 >conftest.err 5180 rm -f conftest.er1 5181 cat conftest.err >&5 5182 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5183 (exit $ac_status); } >/dev/null && { 5184 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5185 test ! -s conftest.err 5186 }; then 5187 ac_header_preproc=yes 5188 else 5189 $as_echo "$as_me: failed program was:" >&5 5190 sed 's/^/| /' conftest.$ac_ext >&5 5191 5192 ac_header_preproc=no 5193 fi 5194 5195 rm -f conftest.err conftest.$ac_ext 5196 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5197 $as_echo "$ac_header_preproc" >&6; } 5198 5199 # So? What about this header? 5200 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5201 yes:no: ) 5202 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 5203 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5204 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 5205 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 5206 ac_header_preproc=yes 5207 ;; 5208 no:yes:* ) 5209 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 5210 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 5211 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 5212 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 5213 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 5214 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 5215 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 5216 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 5217 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 5218 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 5219 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 5220 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 5221 5222 ;; 5223 esac 5224 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5225 $as_echo_n "checking for minix/config.h... " >&6; } 5226 if test "${ac_cv_header_minix_config_h+set}" = set; then 5227 $as_echo_n "(cached) " >&6 5228 else 5229 ac_cv_header_minix_config_h=$ac_header_preproc 5230 fi 5231 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5232 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5233 5234 fi 5235 if test "x$ac_cv_header_minix_config_h" = x""yes; then 5236 MINIX=yes 5237 else 5238 MINIX= 5239 fi 5240 5241 5242 if test "$MINIX" = yes; then 5243 5244 cat >>confdefs.h <<\_ACEOF 5245 #define _POSIX_SOURCE 1 5246 _ACEOF 5247 5248 5249 cat >>confdefs.h <<\_ACEOF 5250 #define _POSIX_1_SOURCE 2 5251 _ACEOF 5252 5253 5254 cat >>confdefs.h <<\_ACEOF 5255 #define _MINIX 1 5256 _ACEOF 5257 5258 fi 5259 5260 5261 5262 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 5263 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5264 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 5265 $as_echo_n "(cached) " >&6 5266 else 5267 cat >conftest.$ac_ext <<_ACEOF 5268 /* confdefs.h. */ 5269 _ACEOF 5270 cat confdefs.h >>conftest.$ac_ext 5271 cat >>conftest.$ac_ext <<_ACEOF 5272 /* end confdefs.h. */ 5273 5274 # define __EXTENSIONS__ 1 5275 $ac_includes_default 5276 int 5277 main () 5278 { 5279 5280 ; 5281 return 0; 5282 } 5283 _ACEOF 5284 rm -f conftest.$ac_objext 5285 if { (ac_try="$ac_compile" 5286 case "(($ac_try" in 5287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5288 *) ac_try_echo=$ac_try;; 5289 esac 5290 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5291 $as_echo "$ac_try_echo") >&5 5292 (eval "$ac_compile") 2>conftest.er1 5293 ac_status=$? 5294 grep -v '^ *+' conftest.er1 >conftest.err 5295 rm -f conftest.er1 5296 cat conftest.err >&5 5297 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5298 (exit $ac_status); } && { 5299 test -z "$ac_c_werror_flag" || 5300 test ! -s conftest.err 5301 } && test -s conftest.$ac_objext; then 5302 ac_cv_safe_to_define___extensions__=yes 5303 else 5304 $as_echo "$as_me: failed program was:" >&5 5305 sed 's/^/| /' conftest.$ac_ext >&5 5306 5307 ac_cv_safe_to_define___extensions__=no 5308 fi 5309 5310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5311 fi 5312 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 5313 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5314 test $ac_cv_safe_to_define___extensions__ = yes && 5315 cat >>confdefs.h <<\_ACEOF 5316 #define __EXTENSIONS__ 1 5317 _ACEOF 5318 5319 cat >>confdefs.h <<\_ACEOF 5320 #define _ALL_SOURCE 1 5321 _ACEOF 5322 5323 cat >>confdefs.h <<\_ACEOF 5324 #define _GNU_SOURCE 1 5325 _ACEOF 5326 5327 cat >>confdefs.h <<\_ACEOF 5328 #define _POSIX_PTHREAD_SEMANTICS 1 5329 _ACEOF 5330 5331 cat >>confdefs.h <<\_ACEOF 5332 #define _TANDEM_SOURCE 1 5333 _ACEOF 5334 5335 5336 { $as_echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5 5337 4790 $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; } 5338 if test "${ac_cv_prog_cc_stdc+set}" = set; then4791 if ${ac_cv_prog_cc_stdc+:} false; then : 5339 4792 $as_echo_n "(cached) " >&6 5340 4793 else … … 5350 4803 do 5351 4804 CFLAGS="$ac_save_CFLAGS $ac_arg" 5352 cat >conftest.$ac_ext <<_ACEOF 5353 /* confdefs.h. */ 5354 _ACEOF 5355 cat confdefs.h >>conftest.$ac_ext 5356 cat >>conftest.$ac_ext <<_ACEOF 4805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5357 4806 /* end confdefs.h. */ 5358 4807 #if !defined(__STDC__) || __STDC__ != 1 … … 5370 4819 } 5371 4820 _ACEOF 5372 rm -f conftest.$ac_objext 5373 if { (ac_try="$ac_compile" 5374 case "(($ac_try" in 5375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5376 *) ac_try_echo=$ac_try;; 5377 esac 5378 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5379 $as_echo "$ac_try_echo") >&5 5380 (eval "$ac_compile") 2>conftest.er1 5381 ac_status=$? 5382 grep -v '^ *+' conftest.er1 >conftest.err 5383 rm -f conftest.er1 5384 cat conftest.err >&5 5385 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5386 (exit $ac_status); } && { 5387 test -z "$ac_c_werror_flag" || 5388 test ! -s conftest.err 5389 } && test -s conftest.$ac_objext; then 4821 if ac_fn_c_try_compile "$LINENO"; then : 5390 4822 ac_cv_prog_cc_stdc="$ac_arg"; break 5391 else 5392 $as_echo "$as_me: failed program was:" >&5 5393 sed 's/^/| /' conftest.$ac_ext >&5 5394 5395 5396 fi 5397 4823 fi 5398 4824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5399 4825 done … … 5402 4828 fi 5403 4829 5404 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_stdc" >&54830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5 5405 4831 $as_echo "$ac_cv_prog_cc_stdc" >&6; } 5406 4832 case "x$ac_cv_prog_cc_stdc" in … … 5410 4836 5411 4837 5412 { $as_echo "$as_me:$ LINENO: checking for function prototypes" >&54838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5 5413 4839 $as_echo_n "checking for function prototypes... " >&6; } 5414 4840 if test "$ac_cv_prog_cc_stdc" != no; then 5415 { $as_echo "$as_me:$ LINENO: result: yes" >&54841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5416 4842 $as_echo "yes" >&6; } 5417 cat >>confdefs.h <<\_ACEOF 5418 #define PROTOTYPES 1 5419 _ACEOF 4843 $as_echo "#define PROTOTYPES 1" >>confdefs.h 5420 4844 5421 4845 U= ANSI2KNR= 5422 4846 else 5423 { $as_echo "$as_me:$ LINENO: result: no" >&54847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5424 4848 $as_echo "no" >&6; } 5425 4849 U=_ ANSI2KNR=ansi2knr 5426 4850 fi 5427 4851 5428 { $as_echo "$as_me:$ LINENO: checking for an ANSI C-conforming const" >&54852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 5429 4853 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 5430 if test "${ac_cv_c_const+set}" = set; then4854 if ${ac_cv_c_const+:} false; then : 5431 4855 $as_echo_n "(cached) " >&6 5432 4856 else 5433 cat >conftest.$ac_ext <<_ACEOF 5434 /* confdefs.h. */ 5435 _ACEOF 5436 cat confdefs.h >>conftest.$ac_ext 5437 cat >>conftest.$ac_ext <<_ACEOF 4857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5438 4858 /* end confdefs.h. */ 5439 4859 … … 5495 4915 } 5496 4916 _ACEOF 5497 rm -f conftest.$ac_objext 5498 if { (ac_try="$ac_compile" 5499 case "(($ac_try" in 5500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5501 *) ac_try_echo=$ac_try;; 5502 esac 5503 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5504 $as_echo "$ac_try_echo") >&5 5505 (eval "$ac_compile") 2>conftest.er1 5506 ac_status=$? 5507 grep -v '^ *+' conftest.er1 >conftest.err 5508 rm -f conftest.er1 5509 cat conftest.err >&5 5510 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5511 (exit $ac_status); } && { 5512 test -z "$ac_c_werror_flag" || 5513 test ! -s conftest.err 5514 } && test -s conftest.$ac_objext; then 4917 if ac_fn_c_try_compile "$LINENO"; then : 5515 4918 ac_cv_c_const=yes 5516 4919 else 5517 $as_echo "$as_me: failed program was:" >&5 5518 sed 's/^/| /' conftest.$ac_ext >&5 5519 5520 ac_cv_c_const=no 5521 fi 5522 4920 ac_cv_c_const=no 4921 fi 5523 4922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5524 4923 fi 5525 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_const" >&54924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 5526 4925 $as_echo "$ac_cv_c_const" >&6; } 5527 4926 if test $ac_cv_c_const = no; then 5528 4927 5529 cat >>confdefs.h <<\_ACEOF 5530 #define const /**/ 5531 _ACEOF 5532 5533 fi 5534 5535 { $as_echo "$as_me:$LINENO: checking for off_t" >&5 5536 $as_echo_n "checking for off_t... " >&6; } 5537 if test "${ac_cv_type_off_t+set}" = set; then 5538 $as_echo_n "(cached) " >&6 5539 else 5540 ac_cv_type_off_t=no 5541 cat >conftest.$ac_ext <<_ACEOF 5542 /* confdefs.h. */ 5543 _ACEOF 5544 cat confdefs.h >>conftest.$ac_ext 5545 cat >>conftest.$ac_ext <<_ACEOF 5546 /* end confdefs.h. */ 5547 $ac_includes_default 5548 int 5549 main () 5550 { 5551 if (sizeof (off_t)) 5552 return 0; 5553 ; 5554 return 0; 5555 } 5556 _ACEOF 5557 rm -f conftest.$ac_objext 5558 if { (ac_try="$ac_compile" 5559 case "(($ac_try" in 5560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5561 *) ac_try_echo=$ac_try;; 5562 esac 5563 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5564 $as_echo "$ac_try_echo") >&5 5565 (eval "$ac_compile") 2>conftest.er1 5566 ac_status=$? 5567 grep -v '^ *+' conftest.er1 >conftest.err 5568 rm -f conftest.er1 5569 cat conftest.err >&5 5570 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5571 (exit $ac_status); } && { 5572 test -z "$ac_c_werror_flag" || 5573 test ! -s conftest.err 5574 } && test -s conftest.$ac_objext; then 5575 cat >conftest.$ac_ext <<_ACEOF 5576 /* confdefs.h. */ 5577 _ACEOF 5578 cat confdefs.h >>conftest.$ac_ext 5579 cat >>conftest.$ac_ext <<_ACEOF 5580 /* end confdefs.h. */ 5581 $ac_includes_default 5582 int 5583 main () 5584 { 5585 if (sizeof ((off_t))) 5586 return 0; 5587 ; 5588 return 0; 5589 } 5590 _ACEOF 5591 rm -f conftest.$ac_objext 5592 if { (ac_try="$ac_compile" 5593 case "(($ac_try" in 5594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5595 *) ac_try_echo=$ac_try;; 5596 esac 5597 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5598 $as_echo "$ac_try_echo") >&5 5599 (eval "$ac_compile") 2>conftest.er1 5600 ac_status=$? 5601 grep -v '^ *+' conftest.er1 >conftest.err 5602 rm -f conftest.er1 5603 cat conftest.err >&5 5604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5605 (exit $ac_status); } && { 5606 test -z "$ac_c_werror_flag" || 5607 test ! -s conftest.err 5608 } && test -s conftest.$ac_objext; then 5609 : 5610 else 5611 $as_echo "$as_me: failed program was:" >&5 5612 sed 's/^/| /' conftest.$ac_ext >&5 5613 5614 ac_cv_type_off_t=yes 5615 fi 5616 5617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5618 else 5619 $as_echo "$as_me: failed program was:" >&5 5620 sed 's/^/| /' conftest.$ac_ext >&5 5621 5622 5623 fi 5624 5625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5626 fi 5627 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 5628 $as_echo "$ac_cv_type_off_t" >&6; } 5629 if test "x$ac_cv_type_off_t" = x""yes; then 5630 : 4928 $as_echo "#define const /**/" >>confdefs.h 4929 4930 fi 4931 4932 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 4933 if test "x$ac_cv_type_off_t" = xyes; then : 4934 5631 4935 else 5632 4936 … … 5637 4941 fi 5638 4942 5639 { $as_echo "$as_me:$LINENO: checking for size_t" >&5 5640 $as_echo_n "checking for size_t... " >&6; } 5641 if test "${ac_cv_type_size_t+set}" = set; then 5642 $as_echo_n "(cached) " >&6 5643 else 5644 ac_cv_type_size_t=no 5645 cat >conftest.$ac_ext <<_ACEOF 5646 /* confdefs.h. */ 5647 _ACEOF 5648 cat confdefs.h >>conftest.$ac_ext 5649 cat >>conftest.$ac_ext <<_ACEOF 5650 /* end confdefs.h. */ 5651 $ac_includes_default 5652 int 5653 main () 5654 { 5655 if (sizeof (size_t)) 5656 return 0; 5657 ; 5658 return 0; 5659 } 5660 _ACEOF 5661 rm -f conftest.$ac_objext 5662 if { (ac_try="$ac_compile" 5663 case "(($ac_try" in 5664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5665 *) ac_try_echo=$ac_try;; 5666 esac 5667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5668 $as_echo "$ac_try_echo") >&5 5669 (eval "$ac_compile") 2>conftest.er1 5670 ac_status=$? 5671 grep -v '^ *+' conftest.er1 >conftest.err 5672 rm -f conftest.er1 5673 cat conftest.err >&5 5674 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5675 (exit $ac_status); } && { 5676 test -z "$ac_c_werror_flag" || 5677 test ! -s conftest.err 5678 } && test -s conftest.$ac_objext; then 5679 cat >conftest.$ac_ext <<_ACEOF 5680 /* confdefs.h. */ 5681 _ACEOF 5682 cat confdefs.h >>conftest.$ac_ext 5683 cat >>conftest.$ac_ext <<_ACEOF 5684 /* end confdefs.h. */ 5685 $ac_includes_default 5686 int 5687 main () 5688 { 5689 if (sizeof ((size_t))) 5690 return 0; 5691 ; 5692 return 0; 5693 } 5694 _ACEOF 5695 rm -f conftest.$ac_objext 5696 if { (ac_try="$ac_compile" 5697 case "(($ac_try" in 5698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5699 *) ac_try_echo=$ac_try;; 5700 esac 5701 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5702 $as_echo "$ac_try_echo") >&5 5703 (eval "$ac_compile") 2>conftest.er1 5704 ac_status=$? 5705 grep -v '^ *+' conftest.er1 >conftest.err 5706 rm -f conftest.er1 5707 cat conftest.err >&5 5708 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5709 (exit $ac_status); } && { 5710 test -z "$ac_c_werror_flag" || 5711 test ! -s conftest.err 5712 } && test -s conftest.$ac_objext; then 5713 : 5714 else 5715 $as_echo "$as_me: failed program was:" >&5 5716 sed 's/^/| /' conftest.$ac_ext >&5 5717 5718 ac_cv_type_size_t=yes 5719 fi 5720 5721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5722 else 5723 $as_echo "$as_me: failed program was:" >&5 5724 sed 's/^/| /' conftest.$ac_ext >&5 5725 5726 5727 fi 5728 5729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5730 fi 5731 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 5732 $as_echo "$ac_cv_type_size_t" >&6; } 5733 if test "x$ac_cv_type_size_t" = x""yes; then 5734 : 4943 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 4944 if test "x$ac_cv_type_size_t" = xyes; then : 4945 5735 4946 else 5736 4947 … … 5741 4952 fi 5742 4953 5743 { $as_echo "$as_me:$ LINENO: checking whether time.h and sys/time.h may both be included" >&54954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 5744 4955 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 5745 if test "${ac_cv_header_time+set}" = set; then4956 if ${ac_cv_header_time+:} false; then : 5746 4957 $as_echo_n "(cached) " >&6 5747 4958 else 5748 cat >conftest.$ac_ext <<_ACEOF 5749 /* confdefs.h. */ 5750 _ACEOF 5751 cat confdefs.h >>conftest.$ac_ext 5752 cat >>conftest.$ac_ext <<_ACEOF 4959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5753 4960 /* end confdefs.h. */ 5754 4961 #include <sys/types.h> … … 5765 4972 } 5766 4973 _ACEOF 5767 rm -f conftest.$ac_objext 5768 if { (ac_try="$ac_compile" 5769 case "(($ac_try" in 5770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5771 *) ac_try_echo=$ac_try;; 5772 esac 5773 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5774 $as_echo "$ac_try_echo") >&5 5775 (eval "$ac_compile") 2>conftest.er1 5776 ac_status=$? 5777 grep -v '^ *+' conftest.er1 >conftest.err 5778 rm -f conftest.er1 5779 cat conftest.err >&5 5780 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5781 (exit $ac_status); } && { 5782 test -z "$ac_c_werror_flag" || 5783 test ! -s conftest.err 5784 } && test -s conftest.$ac_objext; then 4974 if ac_fn_c_try_compile "$LINENO"; then : 5785 4975 ac_cv_header_time=yes 5786 4976 else 5787 $as_echo "$as_me: failed program was:" >&5 5788 sed 's/^/| /' conftest.$ac_ext >&5 5789 5790 ac_cv_header_time=no 5791 fi 5792 4977 ac_cv_header_time=no 4978 fi 5793 4979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5794 4980 fi 5795 { $as_echo "$as_me:$ LINENO: result: $ac_cv_header_time" >&54981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 5796 4982 $as_echo "$ac_cv_header_time" >&6; } 5797 4983 if test $ac_cv_header_time = yes; then 5798 4984 5799 cat >>confdefs.h <<\_ACEOF 5800 #define TIME_WITH_SYS_TIME 1 5801 _ACEOF 5802 5803 fi 5804 5805 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 4985 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 4986 4987 fi 4988 4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 5806 4990 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 5807 if test "${ac_cv_struct_tm+set}" = set; then4991 if ${ac_cv_struct_tm+:} false; then : 5808 4992 $as_echo_n "(cached) " >&6 5809 4993 else 5810 cat >conftest.$ac_ext <<_ACEOF 5811 /* confdefs.h. */ 5812 _ACEOF 5813 cat confdefs.h >>conftest.$ac_ext 5814 cat >>conftest.$ac_ext <<_ACEOF 4994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5815 4995 /* end confdefs.h. */ 5816 4996 #include <sys/types.h> … … 5827 5007 } 5828 5008 _ACEOF 5829 rm -f conftest.$ac_objext 5830 if { (ac_try="$ac_compile" 5831 case "(($ac_try" in 5832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5833 *) ac_try_echo=$ac_try;; 5834 esac 5835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5836 $as_echo "$ac_try_echo") >&5 5837 (eval "$ac_compile") 2>conftest.er1 5838 ac_status=$? 5839 grep -v '^ *+' conftest.er1 >conftest.err 5840 rm -f conftest.er1 5841 cat conftest.err >&5 5842 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5843 (exit $ac_status); } && { 5844 test -z "$ac_c_werror_flag" || 5845 test ! -s conftest.err 5846 } && test -s conftest.$ac_objext; then 5009 if ac_fn_c_try_compile "$LINENO"; then : 5847 5010 ac_cv_struct_tm=time.h 5848 5011 else 5849 $as_echo "$as_me: failed program was:" >&5 5850 sed 's/^/| /' conftest.$ac_ext >&5 5851 5852 ac_cv_struct_tm=sys/time.h 5853 fi 5854 5012 ac_cv_struct_tm=sys/time.h 5013 fi 5855 5014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5856 5015 fi 5857 { $as_echo "$as_me:$ LINENO: result: $ac_cv_struct_tm" >&55016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 5858 5017 $as_echo "$ac_cv_struct_tm" >&6; } 5859 5018 if test $ac_cv_struct_tm = sys/time.h; then 5860 5019 5861 cat >>confdefs.h <<\_ACEOF 5862 #define TM_IN_SYS_TIME 1 5863 _ACEOF 5020 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 5864 5021 5865 5022 fi … … 5867 5024 5868 5025 if test "$ac_cv_prog_cc_stdc" = '-Xc'; then 5869 cat >conftest.$ac_ext <<_ACEOF 5870 /* confdefs.h. */ 5871 _ACEOF 5872 cat confdefs.h >>conftest.$ac_ext 5873 cat >>conftest.$ac_ext <<_ACEOF 5026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5874 5027 /* end confdefs.h. */ 5875 5028 #include <stdio.h> … … 5883 5036 } 5884 5037 _ACEOF 5885 rm -f conftest.$ac_objext 5886 if { (ac_try="$ac_compile" 5887 case "(($ac_try" in 5888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5889 *) ac_try_echo=$ac_try;; 5890 esac 5891 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5892 $as_echo "$ac_try_echo") >&5 5893 (eval "$ac_compile") 2>conftest.er1 5894 ac_status=$? 5895 grep -v '^ *+' conftest.er1 >conftest.err 5896 rm -f conftest.er1 5897 cat conftest.err >&5 5898 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5899 (exit $ac_status); } && { 5900 test -z "$ac_c_werror_flag" || 5901 test ! -s conftest.err 5902 } && test -s conftest.$ac_objext; then 5903 : 5904 else 5905 $as_echo "$as_me: failed program was:" >&5 5906 sed 's/^/| /' conftest.$ac_ext >&5 5907 5908 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5909 fi 5910 5038 if ac_fn_c_try_compile "$LINENO"; then : 5039 5040 else 5041 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5042 fi 5911 5043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5912 5044 fi 5913 5045 5914 5046 5915 5916 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5 5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 5917 5048 $as_echo_n "checking for main in -lm... " >&6; } 5918 if test "${ac_cv_lib_m_main+set}" = set; then5049 if ${ac_cv_lib_m_main+:} false; then : 5919 5050 $as_echo_n "(cached) " >&6 5920 5051 else 5921 5052 ac_check_lib_save_LIBS=$LIBS 5922 5053 LIBS="-lm $LIBS" 5923 cat >conftest.$ac_ext <<_ACEOF 5924 /* confdefs.h. */ 5925 _ACEOF 5926 cat confdefs.h >>conftest.$ac_ext 5927 cat >>conftest.$ac_ext <<_ACEOF 5054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5928 5055 /* end confdefs.h. */ 5929 5056 … … 5937 5064 } 5938 5065 _ACEOF 5939 rm -f conftest.$ac_objext conftest$ac_exeext 5940 if { (ac_try="$ac_link" 5941 case "(($ac_try" in 5942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5943 *) ac_try_echo=$ac_try;; 5944 esac 5945 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5946 $as_echo "$ac_try_echo") >&5 5947 (eval "$ac_link") 2>conftest.er1 5948 ac_status=$? 5949 grep -v '^ *+' conftest.er1 >conftest.err 5950 rm -f conftest.er1 5951 cat conftest.err >&5 5952 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5953 (exit $ac_status); } && { 5954 test -z "$ac_c_werror_flag" || 5955 test ! -s conftest.err 5956 } && test -s conftest$ac_exeext && { 5957 test "$cross_compiling" = yes || 5958 $as_test_x conftest$ac_exeext 5959 }; then 5066 if ac_fn_c_try_link "$LINENO"; then : 5960 5067 ac_cv_lib_m_main=yes 5961 5068 else 5962 $as_echo "$as_me: failed program was:" >&5 5963 sed 's/^/| /' conftest.$ac_ext >&5 5964 5965 ac_cv_lib_m_main=no 5966 fi 5967 5968 rm -rf conftest.dSYM 5969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5970 conftest$ac_exeext conftest.$ac_ext 5069 ac_cv_lib_m_main=no 5070 fi 5071 rm -f core conftest.err conftest.$ac_objext \ 5072 conftest$ac_exeext conftest.$ac_ext 5971 5073 LIBS=$ac_check_lib_save_LIBS 5972 5074 fi 5973 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_m_main" >&55075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5 5974 5076 $as_echo "$ac_cv_lib_m_main" >&6; } 5975 if test "x$ac_cv_lib_m_main" = x ""yes; then5077 if test "x$ac_cv_lib_m_main" = xyes; then : 5976 5078 cat >>confdefs.h <<_ACEOF 5977 5079 #define HAVE_LIBM 1 … … 5981 5083 5982 5084 fi 5983 5984 5985 5986 5987 5988 5085 5989 5086 … … 5991 5088 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 5992 5089 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 5993 { $as_echo "$as_me:$ LINENO: checking for $ac_hdr that defines DIR" >&55090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 5994 5091 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 5995 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then5092 if eval \${$as_ac_Header+:} false; then : 5996 5093 $as_echo_n "(cached) " >&6 5997 5094 else 5998 cat >conftest.$ac_ext <<_ACEOF 5999 /* confdefs.h. */ 6000 _ACEOF 6001 cat confdefs.h >>conftest.$ac_ext 6002 cat >>conftest.$ac_ext <<_ACEOF 5095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6003 5096 /* end confdefs.h. */ 6004 5097 #include <sys/types.h> … … 6014 5107 } 6015 5108 _ACEOF 6016 rm -f conftest.$ac_objext 6017 if { (ac_try="$ac_compile" 6018 case "(($ac_try" in 6019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6020 *) ac_try_echo=$ac_try;; 6021 esac 6022 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6023 $as_echo "$ac_try_echo") >&5 6024 (eval "$ac_compile") 2>conftest.er1 6025 ac_status=$? 6026 grep -v '^ *+' conftest.er1 >conftest.err 6027 rm -f conftest.er1 6028 cat conftest.err >&5 6029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6030 (exit $ac_status); } && { 6031 test -z "$ac_c_werror_flag" || 6032 test ! -s conftest.err 6033 } && test -s conftest.$ac_objext; then 5109 if ac_fn_c_try_compile "$LINENO"; then : 6034 5110 eval "$as_ac_Header=yes" 6035 5111 else 6036 $as_echo "$as_me: failed program was:" >&5 6037 sed 's/^/| /' conftest.$ac_ext >&5 6038 6039 eval "$as_ac_Header=no" 6040 fi 6041 5112 eval "$as_ac_Header=no" 5113 fi 6042 5114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6043 5115 fi 6044 ac_res=`eval 'as_val=${'$as_ac_Header'} 6045 $as_echo "$as_val"'` 6046 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5116 eval ac_res=\$$as_ac_Header 5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6047 5118 $as_echo "$ac_res" >&6; } 6048 as_val=`eval 'as_val=${'$as_ac_Header'} 6049 $as_echo "$as_val"'` 6050 if test "x$as_val" = x""yes; then 5119 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6051 5120 cat >>confdefs.h <<_ACEOF 6052 5121 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 … … 6059 5128 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 6060 5129 if test $ac_header_dirent = dirent.h; then 6061 { $as_echo "$as_me:$ LINENO: checking for library containing opendir" >&55130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 6062 5131 $as_echo_n "checking for library containing opendir... " >&6; } 6063 if test "${ac_cv_search_opendir+set}" = set; then5132 if ${ac_cv_search_opendir+:} false; then : 6064 5133 $as_echo_n "(cached) " >&6 6065 5134 else 6066 5135 ac_func_search_save_LIBS=$LIBS 6067 cat >conftest.$ac_ext <<_ACEOF 6068 /* confdefs.h. */ 6069 _ACEOF 6070 cat confdefs.h >>conftest.$ac_ext 6071 cat >>conftest.$ac_ext <<_ACEOF 5136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6072 5137 /* end confdefs.h. */ 6073 5138 … … 6094 5159 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6095 5160 fi 6096 rm -f conftest.$ac_objext conftest$ac_exeext 6097 if { (ac_try="$ac_link" 6098 case "(($ac_try" in 6099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6100 *) ac_try_echo=$ac_try;; 6101 esac 6102 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6103 $as_echo "$ac_try_echo") >&5 6104 (eval "$ac_link") 2>conftest.er1 6105 ac_status=$? 6106 grep -v '^ *+' conftest.er1 >conftest.err 6107 rm -f conftest.er1 6108 cat conftest.err >&5 6109 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6110 (exit $ac_status); } && { 6111 test -z "$ac_c_werror_flag" || 6112 test ! -s conftest.err 6113 } && test -s conftest$ac_exeext && { 6114 test "$cross_compiling" = yes || 6115 $as_test_x conftest$ac_exeext 6116 }; then 5161 if ac_fn_c_try_link "$LINENO"; then : 6117 5162 ac_cv_search_opendir=$ac_res 6118 else 6119 $as_echo "$as_me: failed program was:" >&5 6120 sed 's/^/| /' conftest.$ac_ext >&5 6121 6122 6123 fi 6124 6125 rm -rf conftest.dSYM 6126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6127 conftest$ac_exeext 6128 if test "${ac_cv_search_opendir+set}" = set; then 5163 fi 5164 rm -f core conftest.err conftest.$ac_objext \ 5165 conftest$ac_exeext 5166 if ${ac_cv_search_opendir+:} false; then : 6129 5167 break 6130 5168 fi 6131 5169 done 6132 if test "${ac_cv_search_opendir+set}" = set; then6133 : 5170 if ${ac_cv_search_opendir+:} false; then : 5171 6134 5172 else 6135 5173 ac_cv_search_opendir=no … … 6138 5176 LIBS=$ac_func_search_save_LIBS 6139 5177 fi 6140 { $as_echo "$as_me:$ LINENO: result: $ac_cv_search_opendir" >&55178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 6141 5179 $as_echo "$ac_cv_search_opendir" >&6; } 6142 5180 ac_res=$ac_cv_search_opendir 6143 if test "$ac_res" != no; then 5181 if test "$ac_res" != no; then : 6144 5182 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6145 5183 … … 6147 5185 6148 5186 else 6149 { $as_echo "$as_me:$ LINENO: checking for library containing opendir" >&55187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 6150 5188 $as_echo_n "checking for library containing opendir... " >&6; } 6151 if test "${ac_cv_search_opendir+set}" = set; then5189 if ${ac_cv_search_opendir+:} false; then : 6152 5190 $as_echo_n "(cached) " >&6 6153 5191 else 6154 5192 ac_func_search_save_LIBS=$LIBS 6155 cat >conftest.$ac_ext <<_ACEOF 6156 /* confdefs.h. */ 6157 _ACEOF 6158 cat confdefs.h >>conftest.$ac_ext 6159 cat >>conftest.$ac_ext <<_ACEOF 5193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6160 5194 /* end confdefs.h. */ 6161 5195 … … 6182 5216 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6183 5217 fi 6184 rm -f conftest.$ac_objext conftest$ac_exeext 6185 if { (ac_try="$ac_link" 6186 case "(($ac_try" in 6187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6188 *) ac_try_echo=$ac_try;; 6189 esac 6190 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6191 $as_echo "$ac_try_echo") >&5 6192 (eval "$ac_link") 2>conftest.er1 6193 ac_status=$? 6194 grep -v '^ *+' conftest.er1 >conftest.err 6195 rm -f conftest.er1 6196 cat conftest.err >&5 6197 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6198 (exit $ac_status); } && { 6199 test -z "$ac_c_werror_flag" || 6200 test ! -s conftest.err 6201 } && test -s conftest$ac_exeext && { 6202 test "$cross_compiling" = yes || 6203 $as_test_x conftest$ac_exeext 6204 }; then 5218 if ac_fn_c_try_link "$LINENO"; then : 6205 5219 ac_cv_search_opendir=$ac_res 6206 else 6207 $as_echo "$as_me: failed program was:" >&5 6208 sed 's/^/| /' conftest.$ac_ext >&5 6209 6210 6211 fi 6212 6213 rm -rf conftest.dSYM 6214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6215 conftest$ac_exeext 6216 if test "${ac_cv_search_opendir+set}" = set; then 5220 fi 5221 rm -f core conftest.err conftest.$ac_objext \ 5222 conftest$ac_exeext 5223 if ${ac_cv_search_opendir+:} false; then : 6217 5224 break 6218 5225 fi 6219 5226 done 6220 if test "${ac_cv_search_opendir+set}" = set; then6221 : 5227 if ${ac_cv_search_opendir+:} false; then : 5228 6222 5229 else 6223 5230 ac_cv_search_opendir=no … … 6226 5233 LIBS=$ac_func_search_save_LIBS 6227 5234 fi 6228 { $as_echo "$as_me:$ LINENO: result: $ac_cv_search_opendir" >&55235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 6229 5236 $as_echo "$ac_cv_search_opendir" >&6; } 6230 5237 ac_res=$ac_cv_search_opendir 6231 if test "$ac_res" != no; then 5238 if test "$ac_res" != no; then : 6232 5239 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6233 5240 … … 6236 5243 fi 6237 5244 6238 { $as_echo "$as_me:$ LINENO: checking for ANSI C header files" >&55245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6239 5246 $as_echo_n "checking for ANSI C header files... " >&6; } 6240 if test "${ac_cv_header_stdc+set}" = set; then5247 if ${ac_cv_header_stdc+:} false; then : 6241 5248 $as_echo_n "(cached) " >&6 6242 5249 else 6243 cat >conftest.$ac_ext <<_ACEOF 6244 /* confdefs.h. */ 6245 _ACEOF 6246 cat confdefs.h >>conftest.$ac_ext 6247 cat >>conftest.$ac_ext <<_ACEOF 5250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6248 5251 /* end confdefs.h. */ 6249 5252 #include <stdlib.h> … … 6260 5263 } 6261 5264 _ACEOF 6262 rm -f conftest.$ac_objext 6263 if { (ac_try="$ac_compile" 6264 case "(($ac_try" in 6265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6266 *) ac_try_echo=$ac_try;; 6267 esac 6268 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6269 $as_echo "$ac_try_echo") >&5 6270 (eval "$ac_compile") 2>conftest.er1 6271 ac_status=$? 6272 grep -v '^ *+' conftest.er1 >conftest.err 6273 rm -f conftest.er1 6274 cat conftest.err >&5 6275 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6276 (exit $ac_status); } && { 6277 test -z "$ac_c_werror_flag" || 6278 test ! -s conftest.err 6279 } && test -s conftest.$ac_objext; then 5265 if ac_fn_c_try_compile "$LINENO"; then : 6280 5266 ac_cv_header_stdc=yes 6281 5267 else 6282 $as_echo "$as_me: failed program was:" >&5 6283 sed 's/^/| /' conftest.$ac_ext >&5 6284 6285 ac_cv_header_stdc=no 6286 fi 6287 5268 ac_cv_header_stdc=no 5269 fi 6288 5270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6289 5271 6290 5272 if test $ac_cv_header_stdc = yes; then 6291 5273 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6292 cat >conftest.$ac_ext <<_ACEOF 6293 /* confdefs.h. */ 6294 _ACEOF 6295 cat confdefs.h >>conftest.$ac_ext 6296 cat >>conftest.$ac_ext <<_ACEOF 5274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6297 5275 /* end confdefs.h. */ 6298 5276 #include <string.h> … … 6300 5278 _ACEOF 6301 5279 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6302 $EGREP "memchr" >/dev/null 2>&1; then 6303 : 5280 $EGREP "memchr" >/dev/null 2>&1; then : 5281 6304 5282 else 6305 5283 ac_cv_header_stdc=no … … 6311 5289 if test $ac_cv_header_stdc = yes; then 6312 5290 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6313 cat >conftest.$ac_ext <<_ACEOF 6314 /* confdefs.h. */ 6315 _ACEOF 6316 cat confdefs.h >>conftest.$ac_ext 6317 cat >>conftest.$ac_ext <<_ACEOF 5291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6318 5292 /* end confdefs.h. */ 6319 5293 #include <stdlib.h> … … 6321 5295 _ACEOF 6322 5296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6323 $EGREP "free" >/dev/null 2>&1; then 6324 : 5297 $EGREP "free" >/dev/null 2>&1; then : 5298 6325 5299 else 6326 5300 ac_cv_header_stdc=no … … 6332 5306 if test $ac_cv_header_stdc = yes; then 6333 5307 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6334 if test "$cross_compiling" = yes; then 5308 if test "$cross_compiling" = yes; then : 6335 5309 : 6336 5310 else 6337 cat >conftest.$ac_ext <<_ACEOF 6338 /* confdefs.h. */ 6339 _ACEOF 6340 cat confdefs.h >>conftest.$ac_ext 6341 cat >>conftest.$ac_ext <<_ACEOF 5311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6342 5312 /* end confdefs.h. */ 6343 5313 #include <ctype.h> … … 6366 5336 } 6367 5337 _ACEOF 6368 rm -f conftest$ac_exeext 6369 if { (ac_try="$ac_link" 6370 case "(($ac_try" in 6371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6372 *) ac_try_echo=$ac_try;; 6373 esac 6374 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6375 $as_echo "$ac_try_echo") >&5 6376 (eval "$ac_link") 2>&5 6377 ac_status=$? 6378 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6379 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6380 { (case "(($ac_try" in 6381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6382 *) ac_try_echo=$ac_try;; 6383 esac 6384 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6385 $as_echo "$ac_try_echo") >&5 6386 (eval "$ac_try") 2>&5 6387 ac_status=$? 6388 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6389 (exit $ac_status); }; }; then 6390 : 6391 else 6392 $as_echo "$as_me: program exited with status $ac_status" >&5 6393 $as_echo "$as_me: failed program was:" >&5 6394 sed 's/^/| /' conftest.$ac_ext >&5 6395 6396 ( exit $ac_status ) 6397 ac_cv_header_stdc=no 6398 fi 6399 rm -rf conftest.dSYM 6400 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6401 fi 6402 6403 6404 fi 6405 fi 6406 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5338 if ac_fn_c_try_run "$LINENO"; then : 5339 5340 else 5341 ac_cv_header_stdc=no 5342 fi 5343 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5344 conftest.$ac_objext conftest.beam conftest.$ac_ext 5345 fi 5346 5347 fi 5348 fi 5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 6407 5350 $as_echo "$ac_cv_header_stdc" >&6; } 6408 5351 if test $ac_cv_header_stdc = yes; then 6409 5352 6410 cat >>confdefs.h <<\_ACEOF 6411 #define STDC_HEADERS 1 6412 _ACEOF 6413 6414 fi 6415 6416 6417 6418 6419 6420 6421 5353 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 5354 5355 fi 6422 5356 6423 5357 for ac_header in fcntl.h limits.h sys/time.h unistd.h string.h memory.h sys/procfs.h 6424 do 6425 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6426 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6427 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6428 $as_echo_n "checking for $ac_header... " >&6; } 6429 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6430 $as_echo_n "(cached) " >&6 6431 fi 6432 ac_res=`eval 'as_val=${'$as_ac_Header'} 6433 $as_echo "$as_val"'` 6434 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6435 $as_echo "$ac_res" >&6; } 6436 else 6437 # Is the header compilable? 6438 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6439 $as_echo_n "checking $ac_header usability... " >&6; } 6440 cat >conftest.$ac_ext <<_ACEOF 6441 /* confdefs.h. */ 6442 _ACEOF 6443 cat confdefs.h >>conftest.$ac_ext 6444 cat >>conftest.$ac_ext <<_ACEOF 6445 /* end confdefs.h. */ 6446 $ac_includes_default 6447 #include <$ac_header> 6448 _ACEOF 6449 rm -f conftest.$ac_objext 6450 if { (ac_try="$ac_compile" 6451 case "(($ac_try" in 6452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6453 *) ac_try_echo=$ac_try;; 6454 esac 6455 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6456 $as_echo "$ac_try_echo") >&5 6457 (eval "$ac_compile") 2>conftest.er1 6458 ac_status=$? 6459 grep -v '^ *+' conftest.er1 >conftest.err 6460 rm -f conftest.er1 6461 cat conftest.err >&5 6462 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6463 (exit $ac_status); } && { 6464 test -z "$ac_c_werror_flag" || 6465 test ! -s conftest.err 6466 } && test -s conftest.$ac_objext; then 6467 ac_header_compiler=yes 6468 else 6469 $as_echo "$as_me: failed program was:" >&5 6470 sed 's/^/| /' conftest.$ac_ext >&5 6471 6472 ac_header_compiler=no 6473 fi 6474 6475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6476 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6477 $as_echo "$ac_header_compiler" >&6; } 6478 6479 # Is the header present? 6480 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6481 $as_echo_n "checking $ac_header presence... " >&6; } 6482 cat >conftest.$ac_ext <<_ACEOF 6483 /* confdefs.h. */ 6484 _ACEOF 6485 cat confdefs.h >>conftest.$ac_ext 6486 cat >>conftest.$ac_ext <<_ACEOF 6487 /* end confdefs.h. */ 6488 #include <$ac_header> 6489 _ACEOF 6490 if { (ac_try="$ac_cpp conftest.$ac_ext" 6491 case "(($ac_try" in 6492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6493 *) ac_try_echo=$ac_try;; 6494 esac 6495 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6496 $as_echo "$ac_try_echo") >&5 6497 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6498 ac_status=$? 6499 grep -v '^ *+' conftest.er1 >conftest.err 6500 rm -f conftest.er1 6501 cat conftest.err >&5 6502 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6503 (exit $ac_status); } >/dev/null && { 6504 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6505 test ! -s conftest.err 6506 }; then 6507 ac_header_preproc=yes 6508 else 6509 $as_echo "$as_me: failed program was:" >&5 6510 sed 's/^/| /' conftest.$ac_ext >&5 6511 6512 ac_header_preproc=no 6513 fi 6514 6515 rm -f conftest.err conftest.$ac_ext 6516 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6517 $as_echo "$ac_header_preproc" >&6; } 6518 6519 # So? What about this header? 6520 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6521 yes:no: ) 6522 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6523 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6524 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6525 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6526 ac_header_preproc=yes 6527 ;; 6528 no:yes:* ) 6529 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6530 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6531 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6532 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6533 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6534 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6535 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6536 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6537 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6538 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6539 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6540 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6541 6542 ;; 6543 esac 6544 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6545 $as_echo_n "checking for $ac_header... " >&6; } 6546 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6547 $as_echo_n "(cached) " >&6 6548 else 6549 eval "$as_ac_Header=\$ac_header_preproc" 6550 fi 6551 ac_res=`eval 'as_val=${'$as_ac_Header'} 6552 $as_echo "$as_val"'` 6553 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6554 $as_echo "$ac_res" >&6; } 6555 6556 fi 6557 as_val=`eval 'as_val=${'$as_ac_Header'} 6558 $as_echo "$as_val"'` 6559 if test "x$as_val" = x""yes; then 5358 do : 5359 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5360 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5361 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6560 5362 cat >>confdefs.h <<_ACEOF 6561 5363 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 6566 5368 done 6567 5369 6568 cat >conftest.$ac_ext <<_ACEOF 6569 /* confdefs.h. */ 6570 _ACEOF 6571 cat confdefs.h >>conftest.$ac_ext 6572 cat >>conftest.$ac_ext <<_ACEOF 5370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6573 5371 /* end confdefs.h. */ 6574 5372 #include <stdio.h> … … 6576 5374 _ACEOF 6577 5375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6578 $EGREP "fread" >/dev/null 2>&1; then 6579 cat >>confdefs.h <<\_ACEOF 6580 #define HAVE_FREAD_DECL 1 6581 _ACEOF 5376 $EGREP "fread" >/dev/null 2>&1; then : 5377 $as_echo "#define HAVE_FREAD_DECL 1" >>confdefs.h 6582 5378 6583 5379 fi 6584 5380 rm -f conftest* 6585 5381 6586 cat >conftest.$ac_ext <<_ACEOF 6587 /* confdefs.h. */ 6588 _ACEOF 6589 cat confdefs.h >>conftest.$ac_ext 6590 cat >>conftest.$ac_ext <<_ACEOF 5382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6591 5383 /* end confdefs.h. */ 6592 5384 #include <stdio.h> … … 6594 5386 _ACEOF 6595 5387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6596 $EGREP "fgetc" >/dev/null 2>&1; then 6597 cat >>confdefs.h <<\_ACEOF 6598 #define HAVE_FGETC_DECL 1 6599 _ACEOF 5388 $EGREP "fgetc" >/dev/null 2>&1; then : 5389 $as_echo "#define HAVE_FGETC_DECL 1" >>confdefs.h 6600 5390 6601 5391 fi 6602 5392 rm -f conftest* 6603 5393 6604 cat >conftest.$ac_ext <<_ACEOF 6605 /* confdefs.h. */ 6606 _ACEOF 6607 cat confdefs.h >>conftest.$ac_ext 6608 cat >>conftest.$ac_ext <<_ACEOF 5394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6609 5395 /* end confdefs.h. */ 6610 5396 #include <sys/procfs.h> … … 6612 5398 _ACEOF 6613 5399 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6614 $EGREP "pr_brksize" >/dev/null 2>&1; then 6615 cat >>confdefs.h <<\_ACEOF 6616 #define HAVE_PR_BRKSIZE 1 6617 _ACEOF 5400 $EGREP "pr_brksize" >/dev/null 2>&1; then : 5401 $as_echo "#define HAVE_PR_BRKSIZE 1" >>confdefs.h 6618 5402 6619 5403 fi … … 6623 5407 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 6624 5408 # for constant arguments. Useless! 6625 { $as_echo "$as_me:$ LINENO: checking for working alloca.h" >&55409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 6626 5410 $as_echo_n "checking for working alloca.h... " >&6; } 6627 if test "${ac_cv_working_alloca_h+set}" = set; then5411 if ${ac_cv_working_alloca_h+:} false; then : 6628 5412 $as_echo_n "(cached) " >&6 6629 5413 else 6630 cat >conftest.$ac_ext <<_ACEOF 6631 /* confdefs.h. */ 6632 _ACEOF 6633 cat confdefs.h >>conftest.$ac_ext 6634 cat >>conftest.$ac_ext <<_ACEOF 5414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6635 5415 /* end confdefs.h. */ 6636 5416 #include <alloca.h> … … 6644 5424 } 6645 5425 _ACEOF 6646 rm -f conftest.$ac_objext conftest$ac_exeext 6647 if { (ac_try="$ac_link" 6648 case "(($ac_try" in 6649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6650 *) ac_try_echo=$ac_try;; 6651 esac 6652 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6653 $as_echo "$ac_try_echo") >&5 6654 (eval "$ac_link") 2>conftest.er1 6655 ac_status=$? 6656 grep -v '^ *+' conftest.er1 >conftest.err 6657 rm -f conftest.er1 6658 cat conftest.err >&5 6659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6660 (exit $ac_status); } && { 6661 test -z "$ac_c_werror_flag" || 6662 test ! -s conftest.err 6663 } && test -s conftest$ac_exeext && { 6664 test "$cross_compiling" = yes || 6665 $as_test_x conftest$ac_exeext 6666 }; then 5426 if ac_fn_c_try_link "$LINENO"; then : 6667 5427 ac_cv_working_alloca_h=yes 6668 5428 else 6669 $as_echo "$as_me: failed program was:" >&5 6670 sed 's/^/| /' conftest.$ac_ext >&5 6671 6672 ac_cv_working_alloca_h=no 6673 fi 6674 6675 rm -rf conftest.dSYM 6676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6677 conftest$ac_exeext conftest.$ac_ext 6678 fi 6679 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 5429 ac_cv_working_alloca_h=no 5430 fi 5431 rm -f core conftest.err conftest.$ac_objext \ 5432 conftest$ac_exeext conftest.$ac_ext 5433 fi 5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 6680 5435 $as_echo "$ac_cv_working_alloca_h" >&6; } 6681 5436 if test $ac_cv_working_alloca_h = yes; then 6682 5437 6683 cat >>confdefs.h <<\_ACEOF 6684 #define HAVE_ALLOCA_H 1 6685 _ACEOF 6686 6687 fi 6688 6689 { $as_echo "$as_me:$LINENO: checking for alloca" >&5 5438 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h 5439 5440 fi 5441 5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 6690 5443 $as_echo_n "checking for alloca... " >&6; } 6691 if test "${ac_cv_func_alloca_works+set}" = set; then5444 if ${ac_cv_func_alloca_works+:} false; then : 6692 5445 $as_echo_n "(cached) " >&6 6693 5446 else 6694 cat >conftest.$ac_ext <<_ACEOF 6695 /* confdefs.h. */ 6696 _ACEOF 6697 cat confdefs.h >>conftest.$ac_ext 6698 cat >>conftest.$ac_ext <<_ACEOF 5447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6699 5448 /* end confdefs.h. */ 6700 5449 #ifdef __GNUC__ … … 6712 5461 # else 6713 5462 # ifndef alloca /* predefined by HP cc +Olibcalls */ 6714 char *alloca ();5463 void *alloca (size_t); 6715 5464 # endif 6716 5465 # endif … … 6728 5477 } 6729 5478 _ACEOF 6730 rm -f conftest.$ac_objext conftest$ac_exeext 6731 if { (ac_try="$ac_link" 6732 case "(($ac_try" in 6733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6734 *) ac_try_echo=$ac_try;; 6735 esac 6736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6737 $as_echo "$ac_try_echo") >&5 6738 (eval "$ac_link") 2>conftest.er1 6739 ac_status=$? 6740 grep -v '^ *+' conftest.er1 >conftest.err 6741 rm -f conftest.er1 6742 cat conftest.err >&5 6743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6744 (exit $ac_status); } && { 6745 test -z "$ac_c_werror_flag" || 6746 test ! -s conftest.err 6747 } && test -s conftest$ac_exeext && { 6748 test "$cross_compiling" = yes || 6749 $as_test_x conftest$ac_exeext 6750 }; then 5479 if ac_fn_c_try_link "$LINENO"; then : 6751 5480 ac_cv_func_alloca_works=yes 6752 5481 else 6753 $as_echo "$as_me: failed program was:" >&5 6754 sed 's/^/| /' conftest.$ac_ext >&5 6755 6756 ac_cv_func_alloca_works=no 6757 fi 6758 6759 rm -rf conftest.dSYM 6760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6761 conftest$ac_exeext conftest.$ac_ext 6762 fi 6763 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 5482 ac_cv_func_alloca_works=no 5483 fi 5484 rm -f core conftest.err conftest.$ac_objext \ 5485 conftest$ac_exeext conftest.$ac_ext 5486 fi 5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 6764 5488 $as_echo "$ac_cv_func_alloca_works" >&6; } 6765 5489 6766 5490 if test $ac_cv_func_alloca_works = yes; then 6767 5491 6768 cat >>confdefs.h <<\_ACEOF 6769 #define HAVE_ALLOCA 1 6770 _ACEOF 5492 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h 6771 5493 6772 5494 else … … 6778 5500 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 6779 5501 6780 cat >>confdefs.h <<\_ACEOF 6781 #define C_ALLOCA 1 6782 _ACEOF 6783 6784 6785 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 5502 $as_echo "#define C_ALLOCA 1" >>confdefs.h 5503 5504 5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 6786 5506 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 6787 if test "${ac_cv_os_cray+set}" = set; then5507 if ${ac_cv_os_cray+:} false; then : 6788 5508 $as_echo_n "(cached) " >&6 6789 5509 else 6790 cat >conftest.$ac_ext <<_ACEOF 6791 /* confdefs.h. */ 6792 _ACEOF 6793 cat confdefs.h >>conftest.$ac_ext 6794 cat >>conftest.$ac_ext <<_ACEOF 5510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6795 5511 /* end confdefs.h. */ 6796 5512 #if defined CRAY && ! defined CRAY2 … … 6802 5518 _ACEOF 6803 5519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6804 $EGREP "webecray" >/dev/null 2>&1; then 5520 $EGREP "webecray" >/dev/null 2>&1; then : 6805 5521 ac_cv_os_cray=yes 6806 5522 else … … 6810 5526 6811 5527 fi 6812 { $as_echo "$as_me:$ LINENO: result: $ac_cv_os_cray" >&55528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 6813 5529 $as_echo "$ac_cv_os_cray" >&6; } 6814 5530 if test $ac_cv_os_cray = yes; then 6815 5531 for ac_func in _getb67 GETB67 getb67; do 6816 5532 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6817 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 6818 $as_echo_n "checking for $ac_func... " >&6; } 6819 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 6820 $as_echo_n "(cached) " >&6 6821 else 6822 cat >conftest.$ac_ext <<_ACEOF 6823 /* confdefs.h. */ 6824 _ACEOF 6825 cat confdefs.h >>conftest.$ac_ext 6826 cat >>conftest.$ac_ext <<_ACEOF 6827 /* end confdefs.h. */ 6828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 6829 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6830 #define $ac_func innocuous_$ac_func 6831 6832 /* System header to define __stub macros and hopefully few prototypes, 6833 which can conflict with char $ac_func (); below. 6834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6835 <limits.h> exists even on freestanding compilers. */ 6836 6837 #ifdef __STDC__ 6838 # include <limits.h> 6839 #else 6840 # include <assert.h> 6841 #endif 6842 6843 #undef $ac_func 6844 6845 /* Override any GCC internal prototype to avoid an error. 6846 Use char because int might match the return type of a GCC 6847 builtin and then its argument prototype would still apply. */ 6848 #ifdef __cplusplus 6849 extern "C" 6850 #endif 6851 char $ac_func (); 6852 /* The GNU C library defines this for functions which it implements 6853 to always fail with ENOSYS. Some functions are actually named 6854 something starting with __ and the normal name is an alias. */ 6855 #if defined __stub_$ac_func || defined __stub___$ac_func 6856 choke me 6857 #endif 6858 6859 int 6860 main () 6861 { 6862 return $ac_func (); 6863 ; 6864 return 0; 6865 } 6866 _ACEOF 6867 rm -f conftest.$ac_objext conftest$ac_exeext 6868 if { (ac_try="$ac_link" 6869 case "(($ac_try" in 6870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6871 *) ac_try_echo=$ac_try;; 6872 esac 6873 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6874 $as_echo "$ac_try_echo") >&5 6875 (eval "$ac_link") 2>conftest.er1 6876 ac_status=$? 6877 grep -v '^ *+' conftest.er1 >conftest.err 6878 rm -f conftest.er1 6879 cat conftest.err >&5 6880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6881 (exit $ac_status); } && { 6882 test -z "$ac_c_werror_flag" || 6883 test ! -s conftest.err 6884 } && test -s conftest$ac_exeext && { 6885 test "$cross_compiling" = yes || 6886 $as_test_x conftest$ac_exeext 6887 }; then 6888 eval "$as_ac_var=yes" 6889 else 6890 $as_echo "$as_me: failed program was:" >&5 6891 sed 's/^/| /' conftest.$ac_ext >&5 6892 6893 eval "$as_ac_var=no" 6894 fi 6895 6896 rm -rf conftest.dSYM 6897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6898 conftest$ac_exeext conftest.$ac_ext 6899 fi 6900 ac_res=`eval 'as_val=${'$as_ac_var'} 6901 $as_echo "$as_val"'` 6902 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6903 $as_echo "$ac_res" >&6; } 6904 as_val=`eval 'as_val=${'$as_ac_var'} 6905 $as_echo "$as_val"'` 6906 if test "x$as_val" = x""yes; then 5533 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5534 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 6907 5535 6908 5536 cat >>confdefs.h <<_ACEOF … … 6916 5544 fi 6917 5545 6918 { $as_echo "$as_me:$ LINENO: checking stack direction for C alloca" >&55546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 6919 5547 $as_echo_n "checking stack direction for C alloca... " >&6; } 6920 if test "${ac_cv_c_stack_direction+set}" = set; then5548 if ${ac_cv_c_stack_direction+:} false; then : 6921 5549 $as_echo_n "(cached) " >&6 6922 5550 else 6923 if test "$cross_compiling" = yes; then 5551 if test "$cross_compiling" = yes; then : 6924 5552 ac_cv_c_stack_direction=0 6925 5553 else 6926 cat >conftest.$ac_ext <<_ACEOF 6927 /* confdefs.h. */ 6928 _ACEOF 6929 cat confdefs.h >>conftest.$ac_ext 6930 cat >>conftest.$ac_ext <<_ACEOF 5554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6931 5555 /* end confdefs.h. */ 6932 5556 $ac_includes_default … … 6951 5575 } 6952 5576 _ACEOF 6953 rm -f conftest$ac_exeext 6954 if { (ac_try="$ac_link" 6955 case "(($ac_try" in 6956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6957 *) ac_try_echo=$ac_try;; 6958 esac 6959 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6960 $as_echo "$ac_try_echo") >&5 6961 (eval "$ac_link") 2>&5 6962 ac_status=$? 6963 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6964 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6965 { (case "(($ac_try" in 6966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6967 *) ac_try_echo=$ac_try;; 6968 esac 6969 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6970 $as_echo "$ac_try_echo") >&5 6971 (eval "$ac_try") 2>&5 6972 ac_status=$? 6973 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6974 (exit $ac_status); }; }; then 5577 if ac_fn_c_try_run "$LINENO"; then : 6975 5578 ac_cv_c_stack_direction=1 6976 5579 else 6977 $as_echo "$as_me: program exited with status $ac_status" >&5 6978 $as_echo "$as_me: failed program was:" >&5 6979 sed 's/^/| /' conftest.$ac_ext >&5 6980 6981 ( exit $ac_status ) 6982 ac_cv_c_stack_direction=-1 6983 fi 6984 rm -rf conftest.dSYM 6985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6986 fi 6987 6988 6989 fi 6990 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 5580 ac_cv_c_stack_direction=-1 5581 fi 5582 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5583 conftest.$ac_objext conftest.beam conftest.$ac_ext 5584 fi 5585 5586 fi 5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 6991 5588 $as_echo "$ac_cv_c_stack_direction" >&6; } 6992 6993 5589 cat >>confdefs.h <<_ACEOF 6994 5590 #define STACK_DIRECTION $ac_cv_c_stack_direction … … 6999 5595 7000 5596 if test $ac_cv_c_compiler_gnu = yes; then 7001 { $as_echo "$as_me:$ LINENO: checking whether $CC needs -traditional" >&55597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 7002 5598 $as_echo_n "checking whether $CC needs -traditional... " >&6; } 7003 if test "${ac_cv_prog_gcc_traditional+set}" = set; then5599 if ${ac_cv_prog_gcc_traditional+:} false; then : 7004 5600 $as_echo_n "(cached) " >&6 7005 5601 else 7006 5602 ac_pattern="Autoconf.*'x'" 7007 cat >conftest.$ac_ext <<_ACEOF 7008 /* confdefs.h. */ 7009 _ACEOF 7010 cat confdefs.h >>conftest.$ac_ext 7011 cat >>conftest.$ac_ext <<_ACEOF 5603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7012 5604 /* end confdefs.h. */ 7013 5605 #include <sgtty.h> … … 7015 5607 _ACEOF 7016 5608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7017 $EGREP "$ac_pattern" >/dev/null 2>&1; then 5609 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 7018 5610 ac_cv_prog_gcc_traditional=yes 7019 5611 else … … 7024 5616 7025 5617 if test $ac_cv_prog_gcc_traditional = no; then 7026 cat >conftest.$ac_ext <<_ACEOF 7027 /* confdefs.h. */ 7028 _ACEOF 7029 cat confdefs.h >>conftest.$ac_ext 7030 cat >>conftest.$ac_ext <<_ACEOF 5618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7031 5619 /* end confdefs.h. */ 7032 5620 #include <termio.h> … … 7034 5622 _ACEOF 7035 5623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7036 $EGREP "$ac_pattern" >/dev/null 2>&1; then 5624 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 7037 5625 ac_cv_prog_gcc_traditional=yes 7038 5626 fi … … 7041 5629 fi 7042 5630 fi 7043 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_gcc_traditional" >&55631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 7044 5632 $as_echo "$ac_cv_prog_gcc_traditional" >&6; } 7045 5633 if test $ac_cv_prog_gcc_traditional = yes; then … … 7048 5636 fi 7049 5637 7050 { $as_echo "$as_me:$ LINENO: checking return type of signal handlers" >&55638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 7051 5639 $as_echo_n "checking return type of signal handlers... " >&6; } 7052 if test "${ac_cv_type_signal+set}" = set; then5640 if ${ac_cv_type_signal+:} false; then : 7053 5641 $as_echo_n "(cached) " >&6 7054 5642 else 7055 cat >conftest.$ac_ext <<_ACEOF 7056 /* confdefs.h. */ 7057 _ACEOF 7058 cat confdefs.h >>conftest.$ac_ext 7059 cat >>conftest.$ac_ext <<_ACEOF 5643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7060 5644 /* end confdefs.h. */ 7061 5645 #include <sys/types.h> … … 7070 5654 } 7071 5655 _ACEOF 7072 rm -f conftest.$ac_objext 7073 if { (ac_try="$ac_compile" 7074 case "(($ac_try" in 7075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7076 *) ac_try_echo=$ac_try;; 7077 esac 7078 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7079 $as_echo "$ac_try_echo") >&5 7080 (eval "$ac_compile") 2>conftest.er1 7081 ac_status=$? 7082 grep -v '^ *+' conftest.er1 >conftest.err 7083 rm -f conftest.er1 7084 cat conftest.err >&5 7085 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7086 (exit $ac_status); } && { 7087 test -z "$ac_c_werror_flag" || 7088 test ! -s conftest.err 7089 } && test -s conftest.$ac_objext; then 5656 if ac_fn_c_try_compile "$LINENO"; then : 7090 5657 ac_cv_type_signal=int 7091 5658 else 7092 $as_echo "$as_me: failed program was:" >&5 7093 sed 's/^/| /' conftest.$ac_ext >&5 7094 7095 ac_cv_type_signal=void 7096 fi 7097 5659 ac_cv_type_signal=void 5660 fi 7098 5661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7099 5662 fi 7100 { $as_echo "$as_me:$ LINENO: result: $ac_cv_type_signal" >&55663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 7101 5664 $as_echo "$ac_cv_type_signal" >&6; } 7102 5665 … … 7106 5669 7107 5670 7108 7109 5671 for ac_func in vprintf 7110 do 7111 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7112 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7113 $as_echo_n "checking for $ac_func... " >&6; } 7114 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7115 $as_echo_n "(cached) " >&6 7116 else 7117 cat >conftest.$ac_ext <<_ACEOF 7118 /* confdefs.h. */ 7119 _ACEOF 7120 cat confdefs.h >>conftest.$ac_ext 7121 cat >>conftest.$ac_ext <<_ACEOF 7122 /* end confdefs.h. */ 7123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7124 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7125 #define $ac_func innocuous_$ac_func 7126 7127 /* System header to define __stub macros and hopefully few prototypes, 7128 which can conflict with char $ac_func (); below. 7129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7130 <limits.h> exists even on freestanding compilers. */ 7131 7132 #ifdef __STDC__ 7133 # include <limits.h> 7134 #else 7135 # include <assert.h> 7136 #endif 7137 7138 #undef $ac_func 7139 7140 /* Override any GCC internal prototype to avoid an error. 7141 Use char because int might match the return type of a GCC 7142 builtin and then its argument prototype would still apply. */ 7143 #ifdef __cplusplus 7144 extern "C" 7145 #endif 7146 char $ac_func (); 7147 /* The GNU C library defines this for functions which it implements 7148 to always fail with ENOSYS. Some functions are actually named 7149 something starting with __ and the normal name is an alias. */ 7150 #if defined __stub_$ac_func || defined __stub___$ac_func 7151 choke me 7152 #endif 7153 7154 int 7155 main () 7156 { 7157 return $ac_func (); 7158 ; 7159 return 0; 7160 } 7161 _ACEOF 7162 rm -f conftest.$ac_objext conftest$ac_exeext 7163 if { (ac_try="$ac_link" 7164 case "(($ac_try" in 7165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7166 *) ac_try_echo=$ac_try;; 7167 esac 7168 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7169 $as_echo "$ac_try_echo") >&5 7170 (eval "$ac_link") 2>conftest.er1 7171 ac_status=$? 7172 grep -v '^ *+' conftest.er1 >conftest.err 7173 rm -f conftest.er1 7174 cat conftest.err >&5 7175 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7176 (exit $ac_status); } && { 7177 test -z "$ac_c_werror_flag" || 7178 test ! -s conftest.err 7179 } && test -s conftest$ac_exeext && { 7180 test "$cross_compiling" = yes || 7181 $as_test_x conftest$ac_exeext 7182 }; then 7183 eval "$as_ac_var=yes" 7184 else 7185 $as_echo "$as_me: failed program was:" >&5 7186 sed 's/^/| /' conftest.$ac_ext >&5 7187 7188 eval "$as_ac_var=no" 7189 fi 7190 7191 rm -rf conftest.dSYM 7192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7193 conftest$ac_exeext conftest.$ac_ext 7194 fi 7195 ac_res=`eval 'as_val=${'$as_ac_var'} 7196 $as_echo "$as_val"'` 7197 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7198 $as_echo "$ac_res" >&6; } 7199 as_val=`eval 'as_val=${'$as_ac_var'} 7200 $as_echo "$as_val"'` 7201 if test "x$as_val" = x""yes; then 5672 do : 5673 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" 5674 if test "x$ac_cv_func_vprintf" = xyes; then : 5675 cat >>confdefs.h <<_ACEOF 5676 #define HAVE_VPRINTF 1 5677 _ACEOF 5678 5679 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" 5680 if test "x$ac_cv_func__doprnt" = xyes; then : 5681 5682 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h 5683 5684 fi 5685 5686 fi 5687 done 5688 5689 5690 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize 5691 do : 5692 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5693 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5694 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 7202 5695 cat >>confdefs.h <<_ACEOF 7203 5696 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7204 5697 _ACEOF 7205 5698 7206 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&57207 $as_echo_n "checking for _doprnt... " >&6; }7208 if test "${ac_cv_func__doprnt+set}" = set; then7209 $as_echo_n "(cached) " >&67210 else7211 cat >conftest.$ac_ext <<_ACEOF7212 /* confdefs.h. */7213 _ACEOF7214 cat confdefs.h >>conftest.$ac_ext7215 cat >>conftest.$ac_ext <<_ACEOF7216 /* end confdefs.h. */7217 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.7218 For example, HP-UX 11i <limits.h> declares gettimeofday. */7219 #define _doprnt innocuous__doprnt7220 7221 /* System header to define __stub macros and hopefully few prototypes,7222 which can conflict with char _doprnt (); below.7223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since7224 <limits.h> exists even on freestanding compilers. */7225 7226 #ifdef __STDC__7227 # include <limits.h>7228 #else7229 # include <assert.h>7230 #endif7231 7232 #undef _doprnt7233 7234 /* Override any GCC internal prototype to avoid an error.7235 Use char because int might match the return type of a GCC7236 builtin and then its argument prototype would still apply. */7237 #ifdef __cplusplus7238 extern "C"7239 #endif7240 char _doprnt ();7241 /* The GNU C library defines this for functions which it implements7242 to always fail with ENOSYS. Some functions are actually named7243 something starting with __ and the normal name is an alias. */7244 #if defined __stub__doprnt || defined __stub____doprnt7245 choke me7246 #endif7247 7248 int7249 main ()7250 {7251 return _doprnt ();7252 ;7253 return 0;7254 }7255 _ACEOF7256 rm -f conftest.$ac_objext conftest$ac_exeext7257 if { (ac_try="$ac_link"7258 case "(($ac_try" in7259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;7260 *) ac_try_echo=$ac_try;;7261 esac7262 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""7263 $as_echo "$ac_try_echo") >&57264 (eval "$ac_link") 2>conftest.er17265 ac_status=$?7266 grep -v '^ *+' conftest.er1 >conftest.err7267 rm -f conftest.er17268 cat conftest.err >&57269 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&57270 (exit $ac_status); } && {7271 test -z "$ac_c_werror_flag" ||7272 test ! -s conftest.err7273 } && test -s conftest$ac_exeext && {7274 test "$cross_compiling" = yes ||7275 $as_test_x conftest$ac_exeext7276 }; then7277 ac_cv_func__doprnt=yes7278 else7279 $as_echo "$as_me: failed program was:" >&57280 sed 's/^/| /' conftest.$ac_ext >&57281 7282 ac_cv_func__doprnt=no7283 fi7284 7285 rm -rf conftest.dSYM7286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \7287 conftest$ac_exeext conftest.$ac_ext7288 fi7289 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&57290 $as_echo "$ac_cv_func__doprnt" >&6; }7291 if test "x$ac_cv_func__doprnt" = x""yes; then7292 7293 cat >>confdefs.h <<\_ACEOF7294 #define HAVE_DOPRNT 17295 _ACEOF7296 7297 fi7298 7299 5699 fi 7300 5700 done 7301 5701 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize 7313 do 7314 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7315 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7316 $as_echo_n "checking for $ac_func... " >&6; } 7317 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7318 $as_echo_n "(cached) " >&6 7319 else 7320 cat >conftest.$ac_ext <<_ACEOF 7321 /* confdefs.h. */ 7322 _ACEOF 7323 cat confdefs.h >>conftest.$ac_ext 7324 cat >>conftest.$ac_ext <<_ACEOF 7325 /* end confdefs.h. */ 7326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7327 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7328 #define $ac_func innocuous_$ac_func 7329 7330 /* System header to define __stub macros and hopefully few prototypes, 7331 which can conflict with char $ac_func (); below. 7332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7333 <limits.h> exists even on freestanding compilers. */ 7334 7335 #ifdef __STDC__ 7336 # include <limits.h> 7337 #else 7338 # include <assert.h> 7339 #endif 7340 7341 #undef $ac_func 7342 7343 /* Override any GCC internal prototype to avoid an error. 7344 Use char because int might match the return type of a GCC 7345 builtin and then its argument prototype would still apply. */ 7346 #ifdef __cplusplus 7347 extern "C" 7348 #endif 7349 char $ac_func (); 7350 /* The GNU C library defines this for functions which it implements 7351 to always fail with ENOSYS. Some functions are actually named 7352 something starting with __ and the normal name is an alias. */ 7353 #if defined __stub_$ac_func || defined __stub___$ac_func 7354 choke me 7355 #endif 7356 7357 int 7358 main () 7359 { 7360 return $ac_func (); 7361 ; 7362 return 0; 7363 } 7364 _ACEOF 7365 rm -f conftest.$ac_objext conftest$ac_exeext 7366 if { (ac_try="$ac_link" 7367 case "(($ac_try" in 7368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7369 *) ac_try_echo=$ac_try;; 7370 esac 7371 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7372 $as_echo "$ac_try_echo") >&5 7373 (eval "$ac_link") 2>conftest.er1 7374 ac_status=$? 7375 grep -v '^ *+' conftest.er1 >conftest.err 7376 rm -f conftest.er1 7377 cat conftest.err >&5 7378 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7379 (exit $ac_status); } && { 7380 test -z "$ac_c_werror_flag" || 7381 test ! -s conftest.err 7382 } && test -s conftest$ac_exeext && { 7383 test "$cross_compiling" = yes || 7384 $as_test_x conftest$ac_exeext 7385 }; then 7386 eval "$as_ac_var=yes" 7387 else 7388 $as_echo "$as_me: failed program was:" >&5 7389 sed 's/^/| /' conftest.$ac_ext >&5 7390 7391 eval "$as_ac_var=no" 7392 fi 7393 7394 rm -rf conftest.dSYM 7395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7396 conftest$ac_exeext conftest.$ac_ext 7397 fi 7398 ac_res=`eval 'as_val=${'$as_ac_var'} 7399 $as_echo "$as_val"'` 7400 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7401 $as_echo "$ac_res" >&6; } 7402 as_val=`eval 'as_val=${'$as_ac_var'} 7403 $as_echo "$as_val"'` 7404 if test "x$as_val" = x""yes; then 7405 cat >>confdefs.h <<_ACEOF 7406 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7407 _ACEOF 7408 7409 fi 7410 done 7411 7412 7413 7414 7415 for ac_func in ftruncate strstr strcasecmp 7416 do 7417 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7418 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7419 $as_echo_n "checking for $ac_func... " >&6; } 7420 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7421 $as_echo_n "(cached) " >&6 7422 else 7423 cat >conftest.$ac_ext <<_ACEOF 7424 /* confdefs.h. */ 7425 _ACEOF 7426 cat confdefs.h >>conftest.$ac_ext 7427 cat >>conftest.$ac_ext <<_ACEOF 7428 /* end confdefs.h. */ 7429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7430 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7431 #define $ac_func innocuous_$ac_func 7432 7433 /* System header to define __stub macros and hopefully few prototypes, 7434 which can conflict with char $ac_func (); below. 7435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7436 <limits.h> exists even on freestanding compilers. */ 7437 7438 #ifdef __STDC__ 7439 # include <limits.h> 7440 #else 7441 # include <assert.h> 7442 #endif 7443 7444 #undef $ac_func 7445 7446 /* Override any GCC internal prototype to avoid an error. 7447 Use char because int might match the return type of a GCC 7448 builtin and then its argument prototype would still apply. */ 7449 #ifdef __cplusplus 7450 extern "C" 7451 #endif 7452 char $ac_func (); 7453 /* The GNU C library defines this for functions which it implements 7454 to always fail with ENOSYS. Some functions are actually named 7455 something starting with __ and the normal name is an alias. */ 7456 #if defined __stub_$ac_func || defined __stub___$ac_func 7457 choke me 7458 #endif 7459 7460 int 7461 main () 7462 { 7463 return $ac_func (); 7464 ; 7465 return 0; 7466 } 7467 _ACEOF 7468 rm -f conftest.$ac_objext conftest$ac_exeext 7469 if { (ac_try="$ac_link" 7470 case "(($ac_try" in 7471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7472 *) ac_try_echo=$ac_try;; 7473 esac 7474 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7475 $as_echo "$ac_try_echo") >&5 7476 (eval "$ac_link") 2>conftest.er1 7477 ac_status=$? 7478 grep -v '^ *+' conftest.er1 >conftest.err 7479 rm -f conftest.er1 7480 cat conftest.err >&5 7481 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7482 (exit $ac_status); } && { 7483 test -z "$ac_c_werror_flag" || 7484 test ! -s conftest.err 7485 } && test -s conftest$ac_exeext && { 7486 test "$cross_compiling" = yes || 7487 $as_test_x conftest$ac_exeext 7488 }; then 7489 eval "$as_ac_var=yes" 7490 else 7491 $as_echo "$as_me: failed program was:" >&5 7492 sed 's/^/| /' conftest.$ac_ext >&5 7493 7494 eval "$as_ac_var=no" 7495 fi 7496 7497 rm -rf conftest.dSYM 7498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7499 conftest$ac_exeext conftest.$ac_ext 7500 fi 7501 ac_res=`eval 'as_val=${'$as_ac_var'} 7502 $as_echo "$as_val"'` 7503 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7504 $as_echo "$ac_res" >&6; } 7505 as_val=`eval 'as_val=${'$as_ac_var'} 7506 $as_echo "$as_val"'` 7507 if test "x$as_val" = x""yes; then 7508 cat >>confdefs.h <<_ACEOF 7509 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7510 _ACEOF 5702 ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate" 5703 if test "x$ac_cv_func_ftruncate" = xyes; then : 5704 $as_echo "#define HAVE_FTRUNCATE 1" >>confdefs.h 7511 5705 7512 5706 else 7513 5707 case " $LIBOBJS " in 7514 *" $ac_func.$ac_objext "* ) ;;7515 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"5708 *" ftruncate.$ac_objext "* ) ;; 5709 *) LIBOBJS="$LIBOBJS ftruncate.$ac_objext" 7516 5710 ;; 7517 5711 esac 7518 5712 7519 5713 fi 7520 done 5714 5715 ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr" 5716 if test "x$ac_cv_func_strstr" = xyes; then : 5717 $as_echo "#define HAVE_STRSTR 1" >>confdefs.h 5718 5719 else 5720 case " $LIBOBJS " in 5721 *" strstr.$ac_objext "* ) ;; 5722 *) LIBOBJS="$LIBOBJS strstr.$ac_objext" 5723 ;; 5724 esac 5725 5726 fi 5727 5728 ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp" 5729 if test "x$ac_cv_func_strcasecmp" = xyes; then : 5730 $as_echo "#define HAVE_STRCASECMP 1" >>confdefs.h 5731 5732 else 5733 case " $LIBOBJS " in 5734 *" strcasecmp.$ac_objext "* ) ;; 5735 *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext" 5736 ;; 5737 esac 5738 5739 fi 7521 5740 7522 5741 … … 7525 5744 # *** Custom checking (based on GNU tar configure.in) *** 7526 5745 # --------------------------------------------------------------------------- 7527 { $as_echo "$as_me:$ LINENO: checking for HP-UX needing gmalloc" >&55746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP-UX needing gmalloc" >&5 7528 5747 $as_echo_n "checking for HP-UX needing gmalloc... " >&6; } 7529 5748 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 7530 { $as_echo "$as_me:$ LINENO: result: yes" >&55749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7531 5750 $as_echo "yes" >&6; } 7532 5751 case " $LIBOBJS " in … … 7536 5755 esac 7537 5756 7538 cat >>confdefs.h <<\_ACEOF 5757 $as_echo "#define HAVE_VALLOC 1" >>confdefs.h 5758 5759 else 5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5761 $as_echo "no" >&6; } 5762 for ac_func in valloc 5763 do : 5764 ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc" 5765 if test "x$ac_cv_func_valloc" = xyes; then : 5766 cat >>confdefs.h <<_ACEOF 7539 5767 #define HAVE_VALLOC 1 7540 _ACEOF7541 7542 else7543 { $as_echo "$as_me:$LINENO: result: no" >&57544 $as_echo "no" >&6; }7545 7546 for ac_func in valloc7547 do7548 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`7549 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&57550 $as_echo_n "checking for $ac_func... " >&6; }7551 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then7552 $as_echo_n "(cached) " >&67553 else7554 cat >conftest.$ac_ext <<_ACEOF7555 /* confdefs.h. */7556 _ACEOF7557 cat confdefs.h >>conftest.$ac_ext7558 cat >>conftest.$ac_ext <<_ACEOF7559 /* end confdefs.h. */7560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.7561 For example, HP-UX 11i <limits.h> declares gettimeofday. */7562 #define $ac_func innocuous_$ac_func7563 7564 /* System header to define __stub macros and hopefully few prototypes,7565 which can conflict with char $ac_func (); below.7566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since7567 <limits.h> exists even on freestanding compilers. */7568 7569 #ifdef __STDC__7570 # include <limits.h>7571 #else7572 # include <assert.h>7573 #endif7574 7575 #undef $ac_func7576 7577 /* Override any GCC internal prototype to avoid an error.7578 Use char because int might match the return type of a GCC7579 builtin and then its argument prototype would still apply. */7580 #ifdef __cplusplus7581 extern "C"7582 #endif7583 char $ac_func ();7584 /* The GNU C library defines this for functions which it implements7585 to always fail with ENOSYS. Some functions are actually named7586 something starting with __ and the normal name is an alias. */7587 #if defined __stub_$ac_func || defined __stub___$ac_func7588 choke me7589 #endif7590 7591 int7592 main ()7593 {7594 return $ac_func ();7595 ;7596 return 0;7597 }7598 _ACEOF7599 rm -f conftest.$ac_objext conftest$ac_exeext7600 if { (ac_try="$ac_link"7601 case "(($ac_try" in7602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;7603 *) ac_try_echo=$ac_try;;7604 esac7605 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""7606 $as_echo "$ac_try_echo") >&57607 (eval "$ac_link") 2>conftest.er17608 ac_status=$?7609 grep -v '^ *+' conftest.er1 >conftest.err7610 rm -f conftest.er17611 cat conftest.err >&57612 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&57613 (exit $ac_status); } && {7614 test -z "$ac_c_werror_flag" ||7615 test ! -s conftest.err7616 } && test -s conftest$ac_exeext && {7617 test "$cross_compiling" = yes ||7618 $as_test_x conftest$ac_exeext7619 }; then7620 eval "$as_ac_var=yes"7621 else7622 $as_echo "$as_me: failed program was:" >&57623 sed 's/^/| /' conftest.$ac_ext >&57624 7625 eval "$as_ac_var=no"7626 fi7627 7628 rm -rf conftest.dSYM7629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \7630 conftest$ac_exeext conftest.$ac_ext7631 fi7632 ac_res=`eval 'as_val=${'$as_ac_var'}7633 $as_echo "$as_val"'`7634 { $as_echo "$as_me:$LINENO: result: $ac_res" >&57635 $as_echo "$ac_res" >&6; }7636 as_val=`eval 'as_val=${'$as_ac_var'}7637 $as_echo "$as_val"'`7638 if test "x$as_val" = x""yes; then7639 cat >>confdefs.h <<_ACEOF7640 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 17641 5768 _ACEOF 7642 5769 … … 7649 5776 # a non-standard Path 7650 5777 # is there a better way to do this?? 7651 { $as_echo "$as_me:$ LINENO: checking for OS to set JNI options" >&55778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OS to set JNI options" >&5 7652 5779 $as_echo_n "checking for OS to set JNI options... " >&6; } 7653 5780 # set defaults … … 7657 5784 7658 5785 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 7659 { $as_echo "$as_me:$ LINENO: result: Darwin" >&55786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Darwin" >&5 7660 5787 $as_echo "Darwin" >&6; } 7661 5788 JNIINC="-I/System/Library/Frameworks/JavaVM.framework/Headers/ " … … 7664 5791 fi 7665 5792 if test "`(uname -s) 2> /dev/null`" = 'SunOS'; then 7666 { $as_echo "$as_me:$ LINENO: result: Solaris" >&55793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Solaris" >&5 7667 5794 $as_echo "Solaris" >&6; } 7668 5795 JNIINC="-I\$(JAVA_HOME)/include/solaris " 7669 5796 fi 7670 5797 if test "`(uname -s) 2> /dev/null`" = 'Linux'; then 7671 { $as_echo "$as_me:$ LINENO: result: Linux" >&55798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux" >&5 7672 5799 $as_echo "Linux" >&6; } 7673 5800 JNIINC="-I\$(JAVA_HOME)/include/linux -I\$(JAVA_HOME)/include " … … 7678 5805 7679 5806 7680 { $as_echo "$as_me:$ LINENO: checking if malloc debugging is wanted" >&55807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5 7681 5808 $as_echo_n "checking if malloc debugging is wanted... " >&6; } 7682 5809 7683 5810 # Check whether --with-dmalloc was given. 7684 if test "${with_dmalloc+set}" = set; then 5811 if test "${with_dmalloc+set}" = set; then : 7685 5812 withval=$with_dmalloc; if test "$withval" = yes; then 7686 { $as_echo "$as_me:$ LINENO: result: yes" >&55813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7687 5814 $as_echo "yes" >&6; } 7688 cat >>confdefs.h <<\_ACEOF 7689 #define WITH_DMALLOC 1 7690 _ACEOF 5815 $as_echo "#define WITH_DMALLOC 1" >>confdefs.h 7691 5816 7692 5817 LIBS="$LIBS -ldmalloc" 7693 5818 LDFLAGS="$LDFLAGS -g" 7694 5819 else 7695 { $as_echo "$as_me:$ LINENO: result: no" >&55820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7696 5821 $as_echo "no" >&6; } 7697 5822 fi 7698 5823 else 7699 { $as_echo "$as_me:$ LINENO: result: no" >&55824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7700 5825 $as_echo "no" >&6; } 7701 5826 fi 7702 5827 7703 5828 7704 { $as_echo "$as_me:$ LINENO: checking which of rx or regex is wanted" >&55829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which of rx or regex is wanted" >&5 7705 5830 $as_echo_n "checking which of rx or regex is wanted... " >&6; } 7706 5831 7707 5832 # Check whether --with-regex was given. 7708 if test "${with_regex+set}" = set; then 5833 if test "${with_regex+set}" = set; then : 7709 5834 withval=$with_regex; if test "$withval" = yes; then 7710 5835 ac_with_regex=1 7711 { $as_echo "$as_me:$ LINENO: result: regex" >&55836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: regex" >&5 7712 5837 $as_echo "regex" >&6; } 7713 cat >>confdefs.h <<\_ACEOF 7714 #define WITH_REGEX 1 7715 _ACEOF 5838 $as_echo "#define WITH_REGEX 1" >>confdefs.h 7716 5839 7717 5840 case " $LIBOBJS " in … … 7725 5848 7726 5849 if test -z "$ac_with_regex"; then 7727 { $as_echo "$as_me:$ LINENO: result: rx" >&55850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: rx" >&5 7728 5851 $as_echo "rx" >&6; } 7729 { $as_echo "$as_me:$LINENO: checking for re_rx_search" >&5 7730 $as_echo_n "checking for re_rx_search... " >&6; } 7731 if test "${ac_cv_func_re_rx_search+set}" = set; then 7732 $as_echo_n "(cached) " >&6 7733 else 7734 cat >conftest.$ac_ext <<_ACEOF 7735 /* confdefs.h. */ 7736 _ACEOF 7737 cat confdefs.h >>conftest.$ac_ext 7738 cat >>conftest.$ac_ext <<_ACEOF 7739 /* end confdefs.h. */ 7740 /* Define re_rx_search to an innocuous variant, in case <limits.h> declares re_rx_search. 7741 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7742 #define re_rx_search innocuous_re_rx_search 7743 7744 /* System header to define __stub macros and hopefully few prototypes, 7745 which can conflict with char re_rx_search (); below. 7746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7747 <limits.h> exists even on freestanding compilers. */ 7748 7749 #ifdef __STDC__ 7750 # include <limits.h> 7751 #else 7752 # include <assert.h> 7753 #endif 7754 7755 #undef re_rx_search 7756 7757 /* Override any GCC internal prototype to avoid an error. 7758 Use char because int might match the return type of a GCC 7759 builtin and then its argument prototype would still apply. */ 7760 #ifdef __cplusplus 7761 extern "C" 7762 #endif 7763 char re_rx_search (); 7764 /* The GNU C library defines this for functions which it implements 7765 to always fail with ENOSYS. Some functions are actually named 7766 something starting with __ and the normal name is an alias. */ 7767 #if defined __stub_re_rx_search || defined __stub___re_rx_search 7768 choke me 7769 #endif 7770 7771 int 7772 main () 7773 { 7774 return re_rx_search (); 7775 ; 7776 return 0; 7777 } 7778 _ACEOF 7779 rm -f conftest.$ac_objext conftest$ac_exeext 7780 if { (ac_try="$ac_link" 7781 case "(($ac_try" in 7782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7783 *) ac_try_echo=$ac_try;; 7784 esac 7785 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7786 $as_echo "$ac_try_echo") >&5 7787 (eval "$ac_link") 2>conftest.er1 7788 ac_status=$? 7789 grep -v '^ *+' conftest.er1 >conftest.err 7790 rm -f conftest.er1 7791 cat conftest.err >&5 7792 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7793 (exit $ac_status); } && { 7794 test -z "$ac_c_werror_flag" || 7795 test ! -s conftest.err 7796 } && test -s conftest$ac_exeext && { 7797 test "$cross_compiling" = yes || 7798 $as_test_x conftest$ac_exeext 7799 }; then 7800 ac_cv_func_re_rx_search=yes 7801 else 7802 $as_echo "$as_me: failed program was:" >&5 7803 sed 's/^/| /' conftest.$ac_ext >&5 7804 7805 ac_cv_func_re_rx_search=no 7806 fi 7807 7808 rm -rf conftest.dSYM 7809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7810 conftest$ac_exeext conftest.$ac_ext 7811 fi 7812 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 7813 $as_echo "$ac_cv_func_re_rx_search" >&6; } 7814 if test "x$ac_cv_func_re_rx_search" = x""yes; then 7815 : 5852 ac_fn_c_check_func "$LINENO" "re_rx_search" "ac_cv_func_re_rx_search" 5853 if test "x$ac_cv_func_re_rx_search" = xyes; then : 5854 7816 5855 else 7817 5856 case " $LIBOBJS " in … … 7827 5866 7828 5867 # text for endianness 7829 7830 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 7831 5869 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 7832 if test "${ac_cv_c_bigendian+set}" = set; then5870 if ${ac_cv_c_bigendian+:} false; then : 7833 5871 $as_echo_n "(cached) " >&6 7834 5872 else 7835 5873 ac_cv_c_bigendian=unknown 7836 5874 # See if we're dealing with a universal compiler. 7837 cat >conftest.$ac_ext <<_ACEOF 7838 /* confdefs.h. */ 7839 _ACEOF 7840 cat confdefs.h >>conftest.$ac_ext 7841 cat >>conftest.$ac_ext <<_ACEOF 5875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7842 5876 /* end confdefs.h. */ 7843 5877 #ifndef __APPLE_CC__ … … 7847 5881 7848 5882 _ACEOF 7849 rm -f conftest.$ac_objext 7850 if { (ac_try="$ac_compile" 7851 case "(($ac_try" in 7852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7853 *) ac_try_echo=$ac_try;; 7854 esac 7855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7856 $as_echo "$ac_try_echo") >&5 7857 (eval "$ac_compile") 2>conftest.er1 7858 ac_status=$? 7859 grep -v '^ *+' conftest.er1 >conftest.err 7860 rm -f conftest.er1 7861 cat conftest.err >&5 7862 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7863 (exit $ac_status); } && { 7864 test -z "$ac_c_werror_flag" || 7865 test ! -s conftest.err 7866 } && test -s conftest.$ac_objext; then 5883 if ac_fn_c_try_compile "$LINENO"; then : 7867 5884 7868 5885 # Check for potential -arch flags. It is not universal unless 7869 # there are some -arch flags. Note that *ppc* also matches 7870 # ppc64. This check is also rather less than ideal. 7871 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 7872 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 7873 esac 7874 else 7875 $as_echo "$as_me: failed program was:" >&5 7876 sed 's/^/| /' conftest.$ac_ext >&5 7877 7878 7879 fi 7880 5886 # there are at least two -arch flags with different values. 5887 ac_arch= 5888 ac_prev= 5889 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 5890 if test -n "$ac_prev"; then 5891 case $ac_word in 5892 i?86 | x86_64 | ppc | ppc64) 5893 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 5894 ac_arch=$ac_word 5895 else 5896 ac_cv_c_bigendian=universal 5897 break 5898 fi 5899 ;; 5900 esac 5901 ac_prev= 5902 elif test "x$ac_word" = "x-arch"; then 5903 ac_prev=arch 5904 fi 5905 done 5906 fi 7881 5907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7882 5908 if test $ac_cv_c_bigendian = unknown; then 7883 5909 # See if sys/param.h defines the BYTE_ORDER macro. 7884 cat >conftest.$ac_ext <<_ACEOF 7885 /* confdefs.h. */ 7886 _ACEOF 7887 cat confdefs.h >>conftest.$ac_ext 7888 cat >>conftest.$ac_ext <<_ACEOF 5910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7889 5911 /* end confdefs.h. */ 7890 5912 #include <sys/types.h> … … 7904 5926 } 7905 5927 _ACEOF 7906 rm -f conftest.$ac_objext 7907 if { (ac_try="$ac_compile" 7908 case "(($ac_try" in 7909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7910 *) ac_try_echo=$ac_try;; 7911 esac 7912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7913 $as_echo "$ac_try_echo") >&5 7914 (eval "$ac_compile") 2>conftest.er1 7915 ac_status=$? 7916 grep -v '^ *+' conftest.er1 >conftest.err 7917 rm -f conftest.er1 7918 cat conftest.err >&5 7919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7920 (exit $ac_status); } && { 7921 test -z "$ac_c_werror_flag" || 7922 test ! -s conftest.err 7923 } && test -s conftest.$ac_objext; then 5928 if ac_fn_c_try_compile "$LINENO"; then : 7924 5929 # It does; now see whether it defined to BIG_ENDIAN or not. 7925 cat >conftest.$ac_ext <<_ACEOF 7926 /* confdefs.h. */ 7927 _ACEOF 7928 cat confdefs.h >>conftest.$ac_ext 7929 cat >>conftest.$ac_ext <<_ACEOF 5930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7930 5931 /* end confdefs.h. */ 7931 5932 #include <sys/types.h> … … 7943 5944 } 7944 5945 _ACEOF 7945 rm -f conftest.$ac_objext 7946 if { (ac_try="$ac_compile" 7947 case "(($ac_try" in 7948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7949 *) ac_try_echo=$ac_try;; 7950 esac 7951 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7952 $as_echo "$ac_try_echo") >&5 7953 (eval "$ac_compile") 2>conftest.er1 7954 ac_status=$? 7955 grep -v '^ *+' conftest.er1 >conftest.err 7956 rm -f conftest.er1 7957 cat conftest.err >&5 7958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7959 (exit $ac_status); } && { 7960 test -z "$ac_c_werror_flag" || 7961 test ! -s conftest.err 7962 } && test -s conftest.$ac_objext; then 5946 if ac_fn_c_try_compile "$LINENO"; then : 7963 5947 ac_cv_c_bigendian=yes 7964 5948 else 7965 $as_echo "$as_me: failed program was:" >&5 7966 sed 's/^/| /' conftest.$ac_ext >&5 7967 7968 ac_cv_c_bigendian=no 7969 fi 7970 5949 ac_cv_c_bigendian=no 5950 fi 7971 5951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7972 else 7973 $as_echo "$as_me: failed program was:" >&5 7974 sed 's/^/| /' conftest.$ac_ext >&5 7975 7976 7977 fi 7978 5952 fi 7979 5953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7980 5954 fi 7981 5955 if test $ac_cv_c_bigendian = unknown; then 7982 5956 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 7983 cat >conftest.$ac_ext <<_ACEOF 7984 /* confdefs.h. */ 7985 _ACEOF 7986 cat confdefs.h >>conftest.$ac_ext 7987 cat >>conftest.$ac_ext <<_ACEOF 5957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7988 5958 /* end confdefs.h. */ 7989 5959 #include <limits.h> … … 8000 5970 } 8001 5971 _ACEOF 8002 rm -f conftest.$ac_objext 8003 if { (ac_try="$ac_compile" 8004 case "(($ac_try" in 8005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8006 *) ac_try_echo=$ac_try;; 8007 esac 8008 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8009 $as_echo "$ac_try_echo") >&5 8010 (eval "$ac_compile") 2>conftest.er1 8011 ac_status=$? 8012 grep -v '^ *+' conftest.er1 >conftest.err 8013 rm -f conftest.er1 8014 cat conftest.err >&5 8015 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8016 (exit $ac_status); } && { 8017 test -z "$ac_c_werror_flag" || 8018 test ! -s conftest.err 8019 } && test -s conftest.$ac_objext; then 5972 if ac_fn_c_try_compile "$LINENO"; then : 8020 5973 # It does; now see whether it defined to _BIG_ENDIAN or not. 8021 cat >conftest.$ac_ext <<_ACEOF 8022 /* confdefs.h. */ 8023 _ACEOF 8024 cat confdefs.h >>conftest.$ac_ext 8025 cat >>conftest.$ac_ext <<_ACEOF 5974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8026 5975 /* end confdefs.h. */ 8027 5976 #include <limits.h> … … 8038 5987 } 8039 5988 _ACEOF 8040 rm -f conftest.$ac_objext 8041 if { (ac_try="$ac_compile" 8042 case "(($ac_try" in 8043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8044 *) ac_try_echo=$ac_try;; 8045 esac 8046 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8047 $as_echo "$ac_try_echo") >&5 8048 (eval "$ac_compile") 2>conftest.er1 8049 ac_status=$? 8050 grep -v '^ *+' conftest.er1 >conftest.err 8051 rm -f conftest.er1 8052 cat conftest.err >&5 8053 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8054 (exit $ac_status); } && { 8055 test -z "$ac_c_werror_flag" || 8056 test ! -s conftest.err 8057 } && test -s conftest.$ac_objext; then 5989 if ac_fn_c_try_compile "$LINENO"; then : 8058 5990 ac_cv_c_bigendian=yes 8059 5991 else 8060 $as_echo "$as_me: failed program was:" >&5 8061 sed 's/^/| /' conftest.$ac_ext >&5 8062 8063 ac_cv_c_bigendian=no 8064 fi 8065 5992 ac_cv_c_bigendian=no 5993 fi 8066 5994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8067 else 8068 $as_echo "$as_me: failed program was:" >&5 8069 sed 's/^/| /' conftest.$ac_ext >&5 8070 8071 8072 fi 8073 5995 fi 8074 5996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8075 5997 fi 8076 5998 if test $ac_cv_c_bigendian = unknown; then 8077 5999 # Compile a test program. 8078 if test "$cross_compiling" = yes; then 6000 if test "$cross_compiling" = yes; then : 8079 6001 # Try to guess by grepping values from an object file. 8080 cat >conftest.$ac_ext <<_ACEOF 8081 /* confdefs.h. */ 8082 _ACEOF 8083 cat confdefs.h >>conftest.$ac_ext 8084 cat >>conftest.$ac_ext <<_ACEOF 6002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8085 6003 /* end confdefs.h. */ 8086 6004 short int ascii_mm[] = … … 8108 6026 } 8109 6027 _ACEOF 8110 rm -f conftest.$ac_objext 8111 if { (ac_try="$ac_compile" 8112 case "(($ac_try" in 8113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8114 *) ac_try_echo=$ac_try;; 8115 esac 8116 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8117 $as_echo "$ac_try_echo") >&5 8118 (eval "$ac_compile") 2>conftest.er1 8119 ac_status=$? 8120 grep -v '^ *+' conftest.er1 >conftest.err 8121 rm -f conftest.er1 8122 cat conftest.err >&5 8123 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8124 (exit $ac_status); } && { 8125 test -z "$ac_c_werror_flag" || 8126 test ! -s conftest.err 8127 } && test -s conftest.$ac_objext; then 6028 if ac_fn_c_try_compile "$LINENO"; then : 8128 6029 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 8129 6030 ac_cv_c_bigendian=yes … … 8137 6038 fi 8138 6039 fi 8139 else 8140 $as_echo "$as_me: failed program was:" >&5 8141 sed 's/^/| /' conftest.$ac_ext >&5 8142 8143 8144 fi 8145 6040 fi 8146 6041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8147 6042 else 8148 cat >conftest.$ac_ext <<_ACEOF 8149 /* confdefs.h. */ 8150 _ACEOF 8151 cat confdefs.h >>conftest.$ac_ext 8152 cat >>conftest.$ac_ext <<_ACEOF 6043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8153 6044 /* end confdefs.h. */ 8154 6045 $ac_includes_default … … 8170 6061 } 8171 6062 _ACEOF 8172 rm -f conftest$ac_exeext 8173 if { (ac_try="$ac_link" 8174 case "(($ac_try" in 8175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8176 *) ac_try_echo=$ac_try;; 8177 esac 8178 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8179 $as_echo "$ac_try_echo") >&5 8180 (eval "$ac_link") 2>&5 8181 ac_status=$? 8182 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8183 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8184 { (case "(($ac_try" in 8185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8186 *) ac_try_echo=$ac_try;; 8187 esac 8188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8189 $as_echo "$ac_try_echo") >&5 8190 (eval "$ac_try") 2>&5 8191 ac_status=$? 8192 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8193 (exit $ac_status); }; }; then 6063 if ac_fn_c_try_run "$LINENO"; then : 8194 6064 ac_cv_c_bigendian=no 8195 6065 else 8196 $as_echo "$as_me: program exited with status $ac_status" >&5 8197 $as_echo "$as_me: failed program was:" >&5 8198 sed 's/^/| /' conftest.$ac_ext >&5 8199 8200 ( exit $ac_status ) 8201 ac_cv_c_bigendian=yes 8202 fi 8203 rm -rf conftest.dSYM 8204 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8205 fi 8206 6066 ac_cv_c_bigendian=yes 6067 fi 6068 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6069 conftest.$ac_objext conftest.beam conftest.$ac_ext 6070 fi 8207 6071 8208 6072 fi 8209 6073 fi 8210 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_bigendian" >&56074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 8211 6075 $as_echo "$ac_cv_c_bigendian" >&6; } 8212 6076 case $ac_cv_c_bigendian in #( 8213 6077 yes) 8214 cat >>confdefs.h <<\_ACEOF 8215 #define WORDS_BIGENDIAN 1 8216 _ACEOF 6078 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 8217 6079 ;; #( 8218 6080 no) … … 8220 6082 universal) 8221 6083 8222 cat >>confdefs.h <<\_ACEOF 8223 #define AC_APPLE_UNIVERSAL_BUILD 1 8224 _ACEOF 6084 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 8225 6085 8226 6086 ;; #( 8227 6087 *) 8228 { { $as_echo "$as_me:$LINENO: error: unknown endianness 8229 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 8230 $as_echo "$as_me: error: unknown endianness 8231 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 8232 { (exit 1); exit 1; }; } ;; 6088 as_fn_error $? "unknown endianness 6089 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 8233 6090 esac 8234 6091 … … 8284 6141 *${as_nl}*) 8285 6142 case $ac_var in #( 8286 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: cache variable $ac_var contains a newline" >&56143 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 8287 6144 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 8288 6145 esac … … 8290 6147 _ | IFS | as_nl) ;; #( 8291 6148 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 8292 *) $as_unset $ac_var;;6149 *) { eval $ac_var=; unset $ac_var;} ;; 8293 6150 esac ;; 8294 6151 esac … … 8298 6155 case $as_nl`(ac_space=' '; set) 2>&1` in #( 8299 6156 *${as_nl}ac_space=\ *) 8300 # `set' does not quote correctly, so add quotes (double-quote8301 # substitution turns \\\\ into \\, and sed turns \\ into \ ).6157 # `set' does not quote correctly, so add quotes: double-quote 6158 # substitution turns \\\\ into \\, and sed turns \\ into \. 8302 6159 sed -n \ 8303 6160 "s/'/'\\\\''/g; … … 8321 6178 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8322 6179 if test -w "$cache_file"; then 8323 test "x$cache_file" != "x/dev/null" &&8324 { $as_echo "$as_me:$ LINENO: updating cache $cache_file" >&56180 if test "x$cache_file" != "x/dev/null"; then 6181 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 8325 6182 $as_echo "$as_me: updating cache $cache_file" >&6;} 8326 cat confcache >$cache_file 6183 if test ! -f "$cache_file" || test -h "$cache_file"; then 6184 cat confcache >"$cache_file" 6185 else 6186 case $cache_file in #( 6187 */* | ?:*) 6188 mv -f confcache "$cache_file"$$ && 6189 mv -f "$cache_file"$$ "$cache_file" ;; #( 6190 *) 6191 mv -f confcache "$cache_file" ;; 6192 esac 6193 fi 6194 fi 8327 6195 else 8328 { $as_echo "$as_me:$ LINENO: not updating unwritable cache $cache_file" >&56196 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 8329 6197 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8330 6198 fi … … 8340 6208 ac_libobjs= 8341 6209 ac_ltlibobjs= 6210 U= 8342 6211 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 8343 6212 # 1. Remove the extension, and $U if already installed. … … 8346 6215 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 8347 6216 # will be set to the directory where LIBOBJS objects are built. 8348 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"8349 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'6217 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6218 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 8350 6219 done 8351 6220 LIBOBJS=$ac_libobjs … … 8356 6225 8357 6226 8358 : ${CONFIG_STATUS=./config.status}6227 : "${CONFIG_STATUS=./config.status}" 8359 6228 ac_write_fail=0 8360 6229 ac_clean_files_save=$ac_clean_files 8361 6230 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8362 { $as_echo "$as_me:$ LINENO: creating $CONFIG_STATUS" >&56231 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 8363 6232 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 8364 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6233 as_write_fail=0 6234 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 8365 6235 #! $SHELL 8366 6236 # Generated by $as_me. … … 8372 6242 ac_cs_recheck=false 8373 6243 ac_cs_silent=false 6244 8374 6245 SHELL=\${CONFIG_SHELL-$SHELL} 8375 _ACEOF 8376 8377 cat >>$CONFIG_STATUS <<\_A CEOF || ac_write_fail=18378 ## -------------------- -##8379 ## M4sh Initialization. 8380 ## -------------------- -##6246 export SHELL 6247 _ASEOF 6248 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 6249 ## -------------------- ## 6250 ## M4sh Initialization. ## 6251 ## -------------------- ## 8381 6252 8382 6253 # Be more Bourne compatible 8383 6254 DUALCASE=1; export DUALCASE # for MKS sh 8384 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 6255 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 8385 6256 emulate sh 8386 6257 NULLCMD=: … … 8390 6261 setopt NO_GLOB_SUBST 8391 6262 else 8392 case `(set -o) 2>/dev/null` in 8393 *posix*) set -o posix ;; 6263 case `(set -o) 2>/dev/null` in #( 6264 *posix*) : 6265 set -o posix ;; #( 6266 *) : 6267 ;; 8394 6268 esac 8395 8396 fi 8397 8398 8399 8400 8401 # PATH needs CR 8402 # Avoid depending upon Character Ranges. 8403 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 8404 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 8405 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 8406 as_cr_digits='0123456789' 8407 as_cr_alnum=$as_cr_Letters$as_cr_digits 6269 fi 6270 8408 6271 8409 6272 as_nl=' … … 8414 6277 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 8415 6278 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 8416 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6279 # Prefer a ksh shell builtin over an external printf program on Solaris, 6280 # but without wasting forks for bash or zsh. 6281 if test -z "$BASH_VERSION$ZSH_VERSION" \ 6282 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6283 as_echo='print -r --' 6284 as_echo_n='print -rn --' 6285 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 8417 6286 as_echo='printf %s\n' 8418 6287 as_echo_n='printf %s' … … 8425 6294 as_echo_n_body='eval 8426 6295 arg=$1; 8427 case $arg in 6296 case $arg in #( 8428 6297 *"$as_nl"*) 8429 6298 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 8448 6317 fi 8449 6318 8450 # Support unset when possible.8451 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then8452 as_unset=unset8453 else8454 as_unset=false8455 fi8456 8457 6319 8458 6320 # IFS … … 8464 6326 8465 6327 # Find who we are. Look in the path if we contain no directory separator. 8466 case $0 in 6328 as_myself= 6329 case $0 in #(( 8467 6330 *[\\/]* ) as_myself=$0 ;; 8468 6331 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 8471 6334 IFS=$as_save_IFS 8472 6335 test -z "$as_dir" && as_dir=. 8473 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break8474 done6336 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6337 done 8475 6338 IFS=$as_save_IFS 8476 6339 … … 8484 6347 if test ! -f "$as_myself"; then 8485 6348 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 8486 { (exit 1); exit 1; } 8487 fi 8488 8489 # Work around bugs in pre-3.0 UWIN ksh. 8490 for as_var in ENV MAIL MAILPATH 8491 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 6349 exit 1 6350 fi 6351 6352 # Unset variables that we do not need and which cause bugs (e.g. in 6353 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6354 # suppresses any "Segmentation fault" message there. '((' could 6355 # trigger a bug in pdksh 5.2.14. 6356 for as_var in BASH_ENV ENV MAIL MAILPATH 6357 do eval test x\${$as_var+set} = xset \ 6358 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 8492 6359 done 8493 6360 PS1='$ ' … … 8501 6368 export LANGUAGE 8502 6369 8503 # Required to use basename. 6370 # CDPATH. 6371 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6372 6373 6374 # as_fn_error STATUS ERROR [LINENO LOG_FD] 6375 # ---------------------------------------- 6376 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6377 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 6378 # script with STATUS, using 1 if that was 0. 6379 as_fn_error () 6380 { 6381 as_status=$1; test $as_status -eq 0 && as_status=1 6382 if test "$4"; then 6383 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6384 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 6385 fi 6386 $as_echo "$as_me: error: $2" >&2 6387 as_fn_exit $as_status 6388 } # as_fn_error 6389 6390 6391 # as_fn_set_status STATUS 6392 # ----------------------- 6393 # Set $? to STATUS, without forking. 6394 as_fn_set_status () 6395 { 6396 return $1 6397 } # as_fn_set_status 6398 6399 # as_fn_exit STATUS 6400 # ----------------- 6401 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6402 as_fn_exit () 6403 { 6404 set +e 6405 as_fn_set_status $1 6406 exit $1 6407 } # as_fn_exit 6408 6409 # as_fn_unset VAR 6410 # --------------- 6411 # Portably unset VAR. 6412 as_fn_unset () 6413 { 6414 { eval $1=; unset $1;} 6415 } 6416 as_unset=as_fn_unset 6417 # as_fn_append VAR VALUE 6418 # ---------------------- 6419 # Append the text in VALUE to the end of the definition contained in VAR. Take 6420 # advantage of any shell optimizations that allow amortized linear growth over 6421 # repeated appends, instead of the typical quadratic growth present in naive 6422 # implementations. 6423 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6424 eval 'as_fn_append () 6425 { 6426 eval $1+=\$2 6427 }' 6428 else 6429 as_fn_append () 6430 { 6431 eval $1=\$$1\$2 6432 } 6433 fi # as_fn_append 6434 6435 # as_fn_arith ARG... 6436 # ------------------ 6437 # Perform arithmetic evaluation on the ARGs, and store the result in the 6438 # global $as_val. Take advantage of shells that can avoid forks. The arguments 6439 # must be portable across $(()) and expr. 6440 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 6441 eval 'as_fn_arith () 6442 { 6443 as_val=$(( $* )) 6444 }' 6445 else 6446 as_fn_arith () 6447 { 6448 as_val=`expr "$@" || test $? -eq 1` 6449 } 6450 fi # as_fn_arith 6451 6452 8504 6453 if expr a : '\(a\)' >/dev/null 2>&1 && 8505 6454 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 8515 6464 fi 8516 6465 8517 8518 # Name of the executable. 6466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6467 as_dirname=dirname 6468 else 6469 as_dirname=false 6470 fi 6471 8519 6472 as_me=`$as_basename -- "$0" || 8520 6473 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 8536 6489 s/.*/./; q'` 8537 6490 8538 # CDPATH. 8539 $as_unset CDPATH 8540 8541 8542 8543 as_lineno_1=$LINENO 8544 as_lineno_2=$LINENO 8545 test "x$as_lineno_1" != "x$as_lineno_2" && 8546 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 8547 8548 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 8549 # uniformly replaced by the line number. The first 'sed' inserts a 8550 # line-number line after each line using $LINENO; the second 'sed' 8551 # does the real work. The second script uses 'N' to pair each 8552 # line-number line with the line containing $LINENO, and appends 8553 # trailing '-' during substitution so that $LINENO is not a special 8554 # case at line end. 8555 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 8556 # scripts with optimization help from Paolo Bonzini. Blame Lee 8557 # E. McMahon (1931-1989) for sed's syntax. :-) 8558 sed -n ' 8559 p 8560 /[$]LINENO/= 8561 ' <$as_myself | 8562 sed ' 8563 s/[$]LINENO.*/&-/ 8564 t lineno 8565 b 8566 :lineno 8567 N 8568 :loop 8569 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 8570 t loop 8571 s/-\n.*// 8572 ' >$as_me.lineno && 8573 chmod +x "$as_me.lineno" || 8574 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 8575 { (exit 1); exit 1; }; } 8576 8577 # Don't try to exec as it changes $[0], causing all sort of problems 8578 # (the dirname of $[0] is not the place where we might find the 8579 # original and so on. Autoconf is especially sensitive to this). 8580 . "./$as_me.lineno" 8581 # Exit status is that of the last command. 8582 exit 8583 } 8584 8585 8586 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8587 as_dirname=dirname 8588 else 8589 as_dirname=false 8590 fi 6491 # Avoid depending upon Character Ranges. 6492 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 6493 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 6494 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 6495 as_cr_digits='0123456789' 6496 as_cr_alnum=$as_cr_Letters$as_cr_digits 8591 6497 8592 6498 ECHO_C= ECHO_N= ECHO_T= 8593 case `echo -n x` in 6499 case `echo -n x` in #((((( 8594 6500 -n*) 8595 case `echo 'x \c'` in6501 case `echo 'xy\c'` in 8596 6502 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 8597 *) ECHO_C='\c';; 6503 xy) ECHO_C='\c';; 6504 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 6505 ECHO_T=' ';; 8598 6506 esac;; 8599 6507 *) 8600 6508 ECHO_N='-n';; 8601 6509 esac 8602 if expr a : '\(a\)' >/dev/null 2>&1 &&8603 test "X`expr 00001 : '.*\(...\)'`" = X001; then8604 as_expr=expr8605 else8606 as_expr=false8607 fi8608 6510 8609 6511 rm -f conf$$ conf$$.exe conf$$.file … … 8634 6536 rmdir conf$$.dir 2>/dev/null 8635 6537 6538 6539 # as_fn_mkdir_p 6540 # ------------- 6541 # Create "$as_dir" as a directory, including parents if necessary. 6542 as_fn_mkdir_p () 6543 { 6544 6545 case $as_dir in #( 6546 -*) as_dir=./$as_dir;; 6547 esac 6548 test -d "$as_dir" || eval $as_mkdir_p || { 6549 as_dirs= 6550 while :; do 6551 case $as_dir in #( 6552 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 6553 *) as_qdir=$as_dir;; 6554 esac 6555 as_dirs="'$as_qdir' $as_dirs" 6556 as_dir=`$as_dirname -- "$as_dir" || 6557 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6558 X"$as_dir" : 'X\(//\)[^/]' \| \ 6559 X"$as_dir" : 'X\(//\)$' \| \ 6560 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 6561 $as_echo X"$as_dir" | 6562 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6563 s//\1/ 6564 q 6565 } 6566 /^X\(\/\/\)[^/].*/{ 6567 s//\1/ 6568 q 6569 } 6570 /^X\(\/\/\)$/{ 6571 s//\1/ 6572 q 6573 } 6574 /^X\(\/\).*/{ 6575 s//\1/ 6576 q 6577 } 6578 s/.*/./; q'` 6579 test -d "$as_dir" && break 6580 done 6581 test -z "$as_dirs" || eval "mkdir $as_dirs" 6582 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 6583 6584 6585 } # as_fn_mkdir_p 8636 6586 if mkdir -p . 2>/dev/null; then 8637 as_mkdir_p= :6587 as_mkdir_p='mkdir -p "$as_dir"' 8638 6588 else 8639 6589 test -d ./-p && rmdir ./-p … … 8654 6604 test -d "$1/."; 8655 6605 else 8656 case $1 in 6606 case $1 in #( 8657 6607 -*)set "./$1";; 8658 6608 esac; 8659 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 6609 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 8660 6610 ???[sx]*):;;*)false;;esac;fi 8661 6611 '\'' sh … … 8672 6622 8673 6623 exec 6>&1 8674 8675 # Save the log message, to keep $[0] and so on meaningful, and to 6624 ## ----------------------------------- ## 6625 ## Main body of $CONFIG_STATUS script. ## 6626 ## ----------------------------------- ## 6627 _ASEOF 6628 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 6629 6630 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6631 # Save the log message, to keep $0 and so on meaningful, and to 8676 6632 # report actual input values of CONFIG_FILES etc. instead of their 8677 6633 # values after options handling. 8678 6634 ac_log=" 8679 6635 This file was extended by $as_me, which was 8680 generated by GNU Autoconf 2.6 3. Invocation command line was6636 generated by GNU Autoconf 2.68. Invocation command line was 8681 6637 8682 6638 CONFIG_FILES = $CONFIG_FILES … … 8710 6666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8711 6667 ac_cs_usage="\ 8712 \`$as_me' instantiates files from templates according to the 8713 current configuration. 8714 8715 Usage: $0 [OPTION]... [FILE]... 6668 \`$as_me' instantiates files and other configuration actions 6669 from templates according to the current configuration. Unless the files 6670 and actions are specified as TAGs, all are instantiated by default. 6671 6672 Usage: $0 [OPTION]... [TAG]... 8716 6673 8717 6674 -h, --help print this help, then exit 8718 6675 -V, --version print version number and configuration settings, then exit 6676 --config print configuration, then exit 8719 6677 -q, --quiet, --silent 8720 6678 do not print progress messages … … 8735 6693 $config_commands 8736 6694 8737 Report bugs to <[email protected]>."6695 Report bugs to the package provider." 8738 6696 8739 6697 _ACEOF 8740 6698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6699 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 8741 6700 ac_cs_version="\\ 8742 6701 config.status 8743 configured by $0, generated by GNU Autoconf 2.6 3,8744 with options \\" `$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"8745 8746 Copyright (C) 20 08Free Software Foundation, Inc.6702 configured by $0, generated by GNU Autoconf 2.68, 6703 with options \\"\$ac_cs_config\\" 6704 6705 Copyright (C) 2010 Free Software Foundation, Inc. 8747 6706 This config.status script is free software; the Free Software Foundation 8748 6707 gives unlimited permission to copy, distribute and modify it." … … 8761 6720 do 8762 6721 case $1 in 8763 --*= *)6722 --*=?*) 8764 6723 ac_option=`expr "X$1" : 'X\([^=]*\)='` 8765 6724 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 6725 ac_shift=: 6726 ;; 6727 --*=) 6728 ac_option=`expr "X$1" : 'X\([^=]*\)='` 6729 ac_optarg= 8766 6730 ac_shift=: 8767 6731 ;; … … 8779 6743 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 8780 6744 $as_echo "$ac_cs_version"; exit ;; 6745 --config | --confi | --conf | --con | --co | --c ) 6746 $as_echo "$ac_cs_config"; exit ;; 8781 6747 --debug | --debu | --deb | --de | --d | -d ) 8782 6748 debug=: ;; … … 8785 6751 case $ac_optarg in 8786 6752 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 6753 '') as_fn_error $? "missing file argument" ;; 8787 6754 esac 8788 CONFIG_FILES="$CONFIG_FILES'$ac_optarg'"6755 as_fn_append CONFIG_FILES " '$ac_optarg'" 8789 6756 ac_need_defaults=false;; 8790 6757 --header | --heade | --head | --hea ) … … 8793 6760 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 8794 6761 esac 8795 CONFIG_HEADERS="$CONFIG_HEADERS'$ac_optarg'"6762 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 8796 6763 ac_need_defaults=false;; 8797 6764 --he | --h) 8798 6765 # Conflict between --help and --header 8799 { $as_echo "$as_me: error: ambiguous option: $1 8800 Try \`$0 --help' for more information." >&2 8801 { (exit 1); exit 1; }; };; 6766 as_fn_error $? "ambiguous option: \`$1' 6767 Try \`$0 --help' for more information.";; 8802 6768 --help | --hel | -h ) 8803 6769 $as_echo "$ac_cs_usage"; exit ;; … … 8807 6773 8808 6774 # This is an error. 8809 -*) { $as_echo "$as_me: error: unrecognized option: $1 8810 Try \`$0 --help' for more information." >&2 8811 { (exit 1); exit 1; }; } ;; 8812 8813 *) ac_config_targets="$ac_config_targets $1" 6775 -*) as_fn_error $? "unrecognized option: \`$1' 6776 Try \`$0 --help' for more information." ;; 6777 6778 *) as_fn_append ac_config_targets " $1" 8814 6779 ac_need_defaults=false ;; 8815 6780 … … 8865 6830 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 8866 6831 8867 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 8868 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 8869 { (exit 1); exit 1; }; };; 6832 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 8870 6833 esac 8871 6834 done … … 8890 6853 $debug || 8891 6854 { 8892 tmp= 6855 tmp= ac_tmp= 8893 6856 trap 'exit_status=$? 8894 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 6857 : "${ac_tmp:=$tmp}" 6858 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 8895 6859 ' 0 8896 trap ' { (exit 1); exit 1; }' 1 2 13 156860 trap 'as_fn_exit 1' 1 2 13 15 8897 6861 } 8898 6862 # Create a (secure) tmp directory for tmp files. … … 8900 6864 { 8901 6865 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8902 test - n "$tmp" && test -d "$tmp"6866 test -d "$tmp" 8903 6867 } || 8904 6868 { 8905 6869 tmp=./conf$$-$RANDOM 8906 6870 (umask 077 && mkdir "$tmp") 8907 } || 8908 { 8909 $as_echo "$as_me: cannot create a temporary directory in ." >&2 8910 { (exit 1); exit 1; } 8911 } 6871 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 6872 ac_tmp=$tmp 8912 6873 8913 6874 # Set up the scripts for CONFIG_FILES section. … … 8917 6878 8918 6879 8919 ac_cr=' 8920 ' 6880 ac_cr=`echo X | tr X '\015'` 6881 # On cygwin, bash can eat \r inside `` if the user requested igncr. 6882 # But we know of no other shell where ac_cr would be empty at this 6883 # point, so we can use a bashism as a fallback. 6884 if test "x$ac_cr" = x; then 6885 eval ac_cr=\$\'\\r\' 6886 fi 8921 6887 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 8922 6888 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then … … 8926 6892 fi 8927 6893 8928 echo 'BEGIN {' >"$ tmp/subs1.awk" &&6894 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 8929 6895 _ACEOF 8930 6896 … … 8935 6901 echo "_ACEOF" 8936 6902 } >conf$$subs.sh || 8937 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 8938 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 8939 { (exit 1); exit 1; }; } 8940 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 6903 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 6904 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 8941 6905 ac_delim='%!_!# ' 8942 6906 for ac_last_try in false false false false false :; do 8943 6907 . ./conf$$subs.sh || 8944 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 8945 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 8946 { (exit 1); exit 1; }; } 6908 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 8947 6909 8948 6910 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` … … 8950 6912 break 8951 6913 elif $ac_last_try; then 8952 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 8953 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 8954 { (exit 1); exit 1; }; } 6914 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 8955 6915 else 8956 6916 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 8960 6920 8961 6921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8962 cat >>"\$ tmp/subs1.awk" <<\\_ACAWK &&6922 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 8963 6923 _ACEOF 8964 6924 sed -n ' … … 8974 6934 :nl 8975 6935 h 8976 s/\(.\{148\}\). */\1/6936 s/\(.\{148\}\)..*/\1/ 8977 6937 t more1 8978 6938 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ … … 8988 6948 :delim 8989 6949 h 8990 s/\(.\{148\}\). */\1/6950 s/\(.\{148\}\)..*/\1/ 8991 6951 t more2 8992 6952 s/["\\]/\\&/g; s/^/"/; s/$/"/ … … 9008 6968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9009 6969 _ACAWK 9010 cat >>"\$ tmp/subs1.awk" <<_ACAWK &&6970 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 9011 6971 for (key in S) S_is_set[key] = 1 9012 6972 FS = "" … … 9040 7000 else 9041 7001 cat 9042 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 9043 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 9044 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 9045 { (exit 1); exit 1; }; } 9046 _ACEOF 9047 9048 # VPATH may cause trouble with some makes, so we remove $(srcdir), 9049 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 7002 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 7003 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 7004 _ACEOF 7005 7006 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 7007 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 9050 7008 # trailing colons and then remove the whole line if VPATH becomes empty 9051 7009 # (actually we leave an empty line to preserve line numbers). 9052 7010 if test "x$srcdir" = x.; then 9053 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 9054 s/:*\$(srcdir):*/:/ 9055 s/:*\${srcdir}:*/:/ 9056 s/:*@srcdir@:*/:/ 9057 s/^\([^=]*=[ ]*\):*/\1/ 7011 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 7012 h 7013 s/// 7014 s/^/:/ 7015 s/[ ]*$/:/ 7016 s/:\$(srcdir):/:/g 7017 s/:\${srcdir}:/:/g 7018 s/:@srcdir@:/:/g 7019 s/^:*// 9058 7020 s/:*$// 7021 x 7022 s/\(=[ ]*\).*/\1/ 7023 G 7024 s/\n// 9059 7025 s/^[^=]*=[ ]*$// 9060 7026 }' … … 9068 7034 # This happens for instance with `./config.status Makefile'. 9069 7035 if test -n "$CONFIG_HEADERS"; then 9070 cat >"$ tmp/defines.awk" <<\_ACAWK ||7036 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 9071 7037 BEGIN { 9072 7038 _ACEOF … … 9080 7046 ac_delim='%!_!# ' 9081 7047 for ac_last_try in false false :; do 9082 ac_t =`sed -n "/$ac_delim/p" confdefs.h`9083 if test -z "$ac_t "; then7048 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 7049 if test -z "$ac_tt"; then 9084 7050 break 9085 7051 elif $ac_last_try; then 9086 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 9087 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 9088 { (exit 1); exit 1; }; } 7052 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 9089 7053 else 9090 7054 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 9171 7135 _ACEOF 9172 7136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9173 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 9174 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 9175 { (exit 1); exit 1; }; } 7137 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 9176 7138 fi # test -n "$CONFIG_HEADERS" 9177 7139 … … 9186 7148 case $ac_mode$ac_tag in 9187 7149 :[FHL]*:*);; 9188 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 9189 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 9190 { (exit 1); exit 1; }; };; 7150 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 9191 7151 :[FH]-) ac_tag=-:-;; 9192 7152 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 9207 7167 do 9208 7168 case $ac_f in 9209 -) ac_f="$ tmp/stdin";;7169 -) ac_f="$ac_tmp/stdin";; 9210 7170 *) # Look for the file first in the build tree, then in the source tree 9211 7171 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 9216 7176 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9217 7177 esac || 9218 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 9219 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 9220 { (exit 1); exit 1; }; };; 7178 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 9221 7179 esac 9222 7180 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9223 a c_file_inputs="$ac_file_inputs'$ac_f'"7181 as_fn_append ac_file_inputs " '$ac_f'" 9224 7182 done 9225 7183 … … 9232 7190 if test x"$ac_file" != x-; then 9233 7191 configure_input="$ac_file. $configure_input" 9234 { $as_echo "$as_me:$ LINENO: creating $ac_file" >&57192 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 9235 7193 $as_echo "$as_me: creating $ac_file" >&6;} 9236 7194 fi … … 9244 7202 9245 7203 case $ac_tag in 9246 *:-:* | *:-) cat >"$tmp/stdin" \ 9247 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9248 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9249 { (exit 1); exit 1; }; } ;; 7204 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 7205 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 9250 7206 esac 9251 7207 ;; … … 9275 7231 } 9276 7232 s/.*/./; q'` 9277 { as_dir="$ac_dir" 9278 case $as_dir in #( 9279 -*) as_dir=./$as_dir;; 9280 esac 9281 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 9282 as_dirs= 9283 while :; do 9284 case $as_dir in #( 9285 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 9286 *) as_qdir=$as_dir;; 9287 esac 9288 as_dirs="'$as_qdir' $as_dirs" 9289 as_dir=`$as_dirname -- "$as_dir" || 9290 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9291 X"$as_dir" : 'X\(//\)[^/]' \| \ 9292 X"$as_dir" : 'X\(//\)$' \| \ 9293 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 9294 $as_echo X"$as_dir" | 9295 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9296 s//\1/ 9297 q 9298 } 9299 /^X\(\/\/\)[^/].*/{ 9300 s//\1/ 9301 q 9302 } 9303 /^X\(\/\/\)$/{ 9304 s//\1/ 9305 q 9306 } 9307 /^X\(\/\).*/{ 9308 s//\1/ 9309 q 9310 } 9311 s/.*/./; q'` 9312 test -d "$as_dir" && break 9313 done 9314 test -z "$as_dirs" || eval "mkdir $as_dirs" 9315 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 9316 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 9317 { (exit 1); exit 1; }; }; } 7233 as_dir="$ac_dir"; as_fn_mkdir_p 9318 7234 ac_builddir=. 9319 7235 … … 9367 7283 # FIXME: This hack should be removed a few years after 2.60. 9368 7284 ac_datarootdir_hack=; ac_datarootdir_seen= 9369 9370 7285 ac_sed_dataroot=' 9371 7286 /datarootdir/ { … … 9377 7292 /@infodir@/p 9378 7293 /@localedir@/p 9379 /@mandir@/p 9380 ' 7294 /@mandir@/p' 9381 7295 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 9382 7296 *datarootdir*) ac_datarootdir_seen=yes;; 9383 7297 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 9384 { $as_echo "$as_me:$ LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&57298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 9385 7299 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 9386 7300 _ACEOF … … 9392 7306 s&@localedir@&$localedir&g 9393 7307 s&@mandir@&$mandir&g 9394 7308 s&\\\${datarootdir}&$datarootdir&g' ;; 9395 7309 esac 9396 7310 _ACEOF … … 9419 7333 $ac_datarootdir_hack 9420 7334 " 9421 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 9422 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9423 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9424 { (exit 1); exit 1; }; } 7335 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 7336 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9425 7337 9426 7338 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9427 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 9428 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 9429 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9430 which seems to be undefined. Please make sure it is defined." >&5 7339 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 7340 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 7341 "$ac_tmp/out"`; test -z "$ac_out"; } && 7342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7343 which seems to be undefined. Please make sure it is defined" >&5 9431 7344 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9432 which seems to be undefined. Please make sure it is defined ." >&2;}9433 9434 rm -f "$ tmp/stdin"7345 which seems to be undefined. Please make sure it is defined" >&2;} 7346 7347 rm -f "$ac_tmp/stdin" 9435 7348 case $ac_file in 9436 -) cat "$ tmp/out" && rm -f "$tmp/out";;9437 *) rm -f "$ac_file" && mv "$ tmp/out" "$ac_file";;7349 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 7350 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 9438 7351 esac \ 9439 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9440 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9441 { (exit 1); exit 1; }; } 7352 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9442 7353 ;; 9443 7354 :H) … … 9448 7359 { 9449 7360 $as_echo "/* $configure_input */" \ 9450 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 9451 } >"$tmp/config.h" \ 9452 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9453 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9454 { (exit 1); exit 1; }; } 9455 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 9456 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 7361 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 7362 } >"$ac_tmp/config.h" \ 7363 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7364 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 7365 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 9457 7366 $as_echo "$as_me: $ac_file is unchanged" >&6;} 9458 7367 else 9459 7368 rm -f "$ac_file" 9460 mv "$tmp/config.h" "$ac_file" \ 9461 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9462 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9463 { (exit 1); exit 1; }; } 7369 mv "$ac_tmp/config.h" "$ac_file" \ 7370 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9464 7371 fi 9465 7372 else 9466 7373 $as_echo "/* $configure_input */" \ 9467 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 9468 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 9469 $as_echo "$as_me: error: could not create -" >&2;} 9470 { (exit 1); exit 1; }; } 7374 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 7375 || as_fn_error $? "could not create -" "$LINENO" 5 9471 7376 fi 9472 7377 ;; 9473 7378 9474 :C) { $as_echo "$as_me:$ LINENO: executing $ac_file commands" >&57379 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 9475 7380 $as_echo "$as_me: executing $ac_file commands" >&6;} 9476 7381 ;; … … 9485 7390 9486 7391 9487 { (exit 0); exit 0; } 9488 _ACEOF 9489 chmod +x $CONFIG_STATUS 7392 as_fn_exit 0 7393 _ACEOF 9490 7394 ac_clean_files=$ac_clean_files_save 9491 7395 9492 7396 test $ac_write_fail = 0 || 9493 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 9494 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 9495 { (exit 1); exit 1; }; } 7397 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 9496 7398 9497 7399 … … 9514 7416 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 9515 7417 # would make configure fail if this is the last instruction. 9516 $ac_cs_success || { (exit 1); exit 1; }7418 $ac_cs_success || as_fn_exit 1 9517 7419 fi 9518 7420 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 9519 { $as_echo "$as_me:$ LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&57421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 9520 7422 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 9521 7423 fi -
main/trunk/greenstone2/common-src/indexers/mg/configure.in
r25147 r25169 39 39 dnl x86_64) arch_64bit=yes ;; 40 40 dnl esac 41 if test -z "$ARCH_DEP_FLAGS" ; then 42 ARCH_DEP_FLAGS= 43 fi 44 AC_SUBST(ARCH_DEP_FLAGS) 45 46 41 47 42 48 dnl Checks for programs.
Note:
See TracChangeset
for help on using the changeset viewer.