Changeset 25149 for main/trunk/greenstone2/common-src/configure
- Timestamp:
- 2012-02-28T14:18:52+13:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/common-src/configure
r24901 r25149 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59.3 # Generated by GNU Autoconf 2.63. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 6 7 # This configure script is free software; the Free Software Foundation 7 8 # gives unlimited permission to copy, distribute and modify it. … … 10 11 ## --------------------- ## 11 12 12 # Be Bourne compatible 13 # Be more Bourne compatible 14 DUALCASE=1; export DUALCASE # for MKS sh 13 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 16 emulate sh 15 17 NULLCMD=: 16 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17 19 # is contrary to our usage. Disable this feature. 18 20 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 21 setopt NO_GLOB_SUBST 22 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 79 33 # Avoid depending upon Character Ranges. 80 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 84 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 39 40 as_nl=' 41 ' 42 export as_nl 43 # Printing a long string crashes Solaris 7 /usr/bin/printf. 44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46 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 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50 else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70 fi 71 86 72 # The user is always right. 87 73 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79 fi 80 81 # Support unset when possible. 82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 83 as_unset=unset 84 else 85 as_unset=false 86 fi 87 88 89 # IFS 90 # We need space, tab and new line, in precisely that order. Quoting is 91 # there to prevent editors from complaining about space-tab. 92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 93 # splitting by setting IFS to empty value.) 94 IFS=" "" $as_nl" 95 96 # Find who we are. Look in the path if we contain no directory separator. 97 case $0 in 98 *[\\/]* ) as_myself=$0 ;; 99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 100 for as_dir in $PATH 111 101 do … … 114 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 105 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 106 IFS=$as_save_IFS 107 108 ;; 109 esac 110 # We did not find ourselves, most probably we were run as `sh COMMAND' 111 # in which case we are not to be found in the path. 112 if test "x$as_myself" = x; then 113 as_myself=$0 114 fi 115 if test ! -f "$as_myself"; then 116 $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 123 done 124 PS1='$ ' 125 PS2='> ' 126 PS4='+ ' 127 128 # NLS nuisances. 129 LC_ALL=C 130 export LC_ALL 131 LANGUAGE=C 132 export LANGUAGE 133 134 # Required to use basename. 135 if expr a : '\(a\)' >/dev/null 2>&1 && 136 test "X`expr 00001 : '.*\(...\)'`" = X001; then 137 as_expr=expr 138 else 139 as_expr=false 140 fi 141 142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 143 as_basename=basename 144 else 145 as_basename=false 146 fi 147 148 149 # Name of the executable. 150 as_me=`$as_basename -- "$0" || 151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 152 X"$0" : 'X\(//\)$' \| \ 153 X"$0" : 'X\(/\)' \| . 2>/dev/null || 154 $as_echo X/"$0" | 155 sed '/^.*\/\([^/][^/]*\)\/*$/{ 156 s//\1/ 157 q 158 } 159 /^X\/\(\/\/\)$/{ 160 s//\1/ 161 q 162 } 163 /^X\/\(\/\).*/{ 164 s//\1/ 165 q 166 } 167 s/.*/./; q'` 168 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= 130 240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 133 243 IFS=$as_save_IFS 134 244 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 245 case $as_dir in 137 246 /*) 138 if ("$as_dir/$as_base" -c ' 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 ( 139 347 as_lineno_1=$LINENO 140 348 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`142 349 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 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" || { 155 447 156 448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 449 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 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. 162 455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 456 # scripts with optimization help from Paolo Bonzini. Blame Lee 457 # E. McMahon (1931-1989) for sed's syntax. :-) 458 sed -n ' 459 p 460 /[$]LINENO/= 461 ' <$as_myself | 165 462 sed ' 463 s/[$]LINENO.*/&-/ 464 t lineno 465 b 466 :lineno 166 467 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 468 :loop 469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 170 470 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 471 s/-\n.*// 173 472 ' >$as_me.lineno && 174 chmod +x $as_me.lineno||175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2473 chmod +x "$as_me.lineno" || 474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 475 { (exit 1); exit 1; }; } 177 476 178 477 # Don't try to exec as it changes $[0], causing all sort of problems 179 478 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensi ble to this).181 . ./$as_me.lineno479 # original and so on. Autoconf is especially sensitive to this). 480 . "./$as_me.lineno" 182 481 # Exit status is that of the last command. 183 482 exit … … 185 484 186 485 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192 esac 193 194 if expr a : '\(a\)' >/dev/null 2>&1; then 486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 487 as_dirname=dirname 488 else 489 as_dirname=false 490 fi 491 492 ECHO_C= ECHO_N= ECHO_T= 493 case `echo -n x` in 494 -n*) 495 case `echo 'x\c'` in 496 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 497 *) ECHO_C='\c';; 498 esac;; 499 *) 500 ECHO_N='-n';; 501 esac 502 if expr a : '\(a\)' >/dev/null 2>&1 && 503 test "X`expr 00001 : '.*\(...\)'`" = X001; then 195 504 as_expr=expr 196 505 else … … 199 508 200 509 rm -f conf$$ conf$$.exe conf$$.file 201 echo >conf$$.file 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 510 if test -d conf$$.dir; then 511 rm -f conf$$.dir/conf$$.file 512 else 513 rm -f conf$$.dir 514 mkdir conf$$.dir 2>/dev/null 515 fi 516 if (echo >conf$$.file) 2>/dev/null; then 517 if ln -s conf$$.file conf$$ 2>/dev/null; then 518 as_ln_s='ln -s' 519 # ... but there are two gotchas: 520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 522 # In both cases, we have to default to `cp -p'. 523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 524 as_ln_s='cp -p' 525 elif ln conf$$.file conf$$ 2>/dev/null; then 526 as_ln_s=ln 527 else 207 528 as_ln_s='cp -p' 208 else209 as_ln_s='ln -s'210 529 fi 211 elif ln conf$$.file conf$$ 2>/dev/null; then212 as_ln_s=ln213 530 else 214 531 as_ln_s='cp -p' 215 532 fi 216 rm -f conf$$ conf$$.exe conf$$.file 533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 534 rmdir conf$$.dir 2>/dev/null 217 535 218 536 if mkdir -p . 2>/dev/null; then … … 223 541 fi 224 542 225 as_executable_p="test -f" 543 if test -x / >/dev/null 2>&1; then 544 as_test_x='test -x' 545 else 546 if ls -dL / >/dev/null 2>&1; then 547 as_ls_L_option=L 548 else 549 as_ls_L_option= 550 fi 551 as_test_x=' 552 eval sh -c '\'' 553 if test -d "$1"; then 554 test -d "$1/."; 555 else 556 case $1 in 557 -*)set "./$1";; 558 esac; 559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 560 ???[sx]*):;;*)false;;esac;fi 561 '\'' sh 562 ' 563 fi 564 as_executable_p=$as_test_x 226 565 227 566 # Sed expression to map a string onto a valid CPP name. … … 232 571 233 572 234 # IFS 235 # We need space, tab and new line, in precisely that order. 236 as_nl=' 237 ' 238 IFS=" $as_nl" 239 240 # CDPATH. 241 $as_unset CDPATH 242 573 574 exec 7<&0 </dev/null 6>&1 243 575 244 576 # Name of the host. … … 247 579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 580 249 exec 6>&1250 251 581 # 252 582 # Initializations. 253 583 # 254 584 ac_default_prefix=/usr/local 585 ac_clean_files= 255 586 ac_config_libobj_dir=. 587 LIBOBJS= 256 588 cross_compiling=no 257 589 subdirs= … … 259 591 MAKEFLAGS= 260 592 SHELL=${CONFIG_SHELL-/bin/sh} 261 262 # Maximum number of lines to put in a shell here document.263 # This variable seems obsolete. It should probably be removed, and264 # only ac_max_sed_lines should be used.265 : ${ac_max_here_lines=38}266 593 267 594 # Identity of this package. … … 276 603 ac_includes_default="\ 277 604 #include <stdio.h> 278 #if HAVE_SYS_TYPES_H605 #ifdef HAVE_SYS_TYPES_H 279 606 # include <sys/types.h> 280 607 #endif 281 #if HAVE_SYS_STAT_H608 #ifdef HAVE_SYS_STAT_H 282 609 # include <sys/stat.h> 283 610 #endif 284 #if STDC_HEADERS611 #ifdef STDC_HEADERS 285 612 # include <stdlib.h> 286 613 # include <stddef.h> 287 614 #else 288 # if HAVE_STDLIB_H615 # ifdef HAVE_STDLIB_H 289 616 # include <stdlib.h> 290 617 # endif 291 618 #endif 292 #if HAVE_STRING_H293 # if ! STDC_HEADERS &&HAVE_MEMORY_H619 #ifdef HAVE_STRING_H 620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 294 621 # include <memory.h> 295 622 # endif 296 623 # include <string.h> 297 624 #endif 298 #if HAVE_STRINGS_H625 #ifdef HAVE_STRINGS_H 299 626 # include <strings.h> 300 627 #endif 301 #if HAVE_INTTYPES_H628 #ifdef HAVE_INTTYPES_H 302 629 # include <inttypes.h> 303 #else304 # if HAVE_STDINT_H305 # include <stdint.h>306 # endif307 630 #endif 308 #if HAVE_UNISTD_H 631 #ifdef HAVE_STDINT_H 632 # include <stdint.h> 633 #endif 634 #ifdef HAVE_UNISTD_H 309 635 # include <unistd.h> 310 636 #endif" 311 637 312 ac_subdirs_all="$ac_subdirs_all packages" 313 ac_subdirs_all="$ac_subdirs_all indexers" 314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_JAVA USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX JAVA uudecode JAVAC JAVACFLAGS AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos gsdlarch MODULEDIRS subdirs LTLIBOBJS' 638 enable_option_checking=no 639 ac_subst_vars='LTLIBOBJS 640 subdirs 641 MODULEDIRS 642 gsdlarch 643 gsdlos 644 STATIC 645 LIBOBJS 646 ALLOCA 647 ANSI2KNR 648 U 649 EGREP 650 GREP 651 CPP 652 MICO_VER 653 ARCH_DEP_FLAGS 654 RANLIB 655 SET_MAKE 656 LN_S 657 INSTALL_DATA 658 INSTALL_SCRIPT 659 INSTALL_PROGRAM 660 target_os 661 target_vendor 662 target_cpu 663 target 664 host_os 665 host_vendor 666 host_cpu 667 host 668 build_os 669 build_vendor 670 build_cpu 671 build 672 YFLAGS 673 YACC 674 AWK 675 JAVACFLAGS 676 JAVAC 677 uudecode 678 JAVA 679 ac_ct_CXX 680 CXXFLAGS 681 CXX 682 OBJEXT 683 EXEEXT 684 ac_ct_CC 685 CPPFLAGS 686 CC 687 CFLAGS 688 LDFLAGS 689 ENABLE_LUCENE 690 ENABLE_MGPP 691 ENABLE_MG 692 ENABLE_JNI 693 USE_SQLITE 694 ENABLE_ACCENTFOLD 695 USE_GDBM 696 USE_JDBM 697 ENABLE_JAVA 698 USE_YAZ 699 USE_Z3950 700 MICO_DIR 701 USE_CORBA 702 USE_LANGACTION 703 USE_FASTCGI 704 VERSION 705 PACKAGE 706 target_alias 707 host_alias 708 build_alias 709 LIBS 710 ECHO_T 711 ECHO_N 712 ECHO_C 713 DEFS 714 mandir 715 localedir 716 libdir 717 psdir 718 pdfdir 719 dvidir 720 htmldir 721 infodir 722 docdir 723 oldincludedir 724 includedir 725 localstatedir 726 sharedstatedir 727 sysconfdir 728 datadir 729 datarootdir 730 libexecdir 731 sbindir 732 bindir 733 program_transform_name 734 prefix 735 exec_prefix 736 PACKAGE_BUGREPORT 737 PACKAGE_STRING 738 PACKAGE_VERSION 739 PACKAGE_TARNAME 740 PACKAGE_NAME 741 PATH_SEPARATOR 742 SHELL' 315 743 ac_subst_files='' 744 ac_user_opts=' 745 enable_option_checking 746 enable_corba 747 with_micodir 748 enable_z3950 749 enable_yaz 750 enable_java 751 enable_jdbm 752 enable_gdbm 753 enable_accentfold 754 enable_sqlite 755 enable_jni 756 enable_mg 757 enable_mgpp 758 enable_lucene 759 with_dmalloc 760 with_regex 761 ' 762 ac_precious_vars='build_alias 763 host_alias 764 target_alias 765 CC 766 CFLAGS 767 LDFLAGS 768 LIBS 769 CPPFLAGS 770 CXX 771 CXXFLAGS 772 CCC 773 YACC 774 YFLAGS 775 CPP' 776 ac_subdirs_all='packages 777 indexers' 316 778 317 779 # Initialize some variables set by options. 318 780 ac_init_help= 319 781 ac_init_version=false 782 ac_unrecognized_opts= 783 ac_unrecognized_sep= 320 784 # The variables have the same names as the options, with 321 785 # dashes changed to underlines. … … 340 804 # by default will actually change. 341 805 # Use braces instead of parens because sh, perl, etc. also accept them. 806 # (The list follows the same order as the GNU Coding Standards.) 342 807 bindir='${exec_prefix}/bin' 343 808 sbindir='${exec_prefix}/sbin' 344 809 libexecdir='${exec_prefix}/libexec' 345 datadir='${prefix}/share' 810 datarootdir='${prefix}/share' 811 datadir='${datarootdir}' 346 812 sysconfdir='${prefix}/etc' 347 813 sharedstatedir='${prefix}/com' 348 814 localstatedir='${prefix}/var' 349 libdir='${exec_prefix}/lib'350 815 includedir='${prefix}/include' 351 816 oldincludedir='/usr/include' 352 infodir='${prefix}/info' 353 mandir='${prefix}/man' 817 docdir='${datarootdir}/doc/${PACKAGE}' 818 infodir='${datarootdir}/info' 819 htmldir='${docdir}' 820 dvidir='${docdir}' 821 pdfdir='${docdir}' 822 psdir='${docdir}' 823 libdir='${exec_prefix}/lib' 824 localedir='${datarootdir}/locale' 825 mandir='${datarootdir}/man' 354 826 355 827 ac_prev= 828 ac_dashdash= 356 829 for ac_option 357 830 do 358 831 # If the previous option needs an argument, assign it. 359 832 if test -n "$ac_prev"; then 360 eval "$ac_prev=\$ac_option"833 eval $ac_prev=\$ac_option 361 834 ac_prev= 362 835 continue 363 836 fi 364 837 365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 838 case $ac_option in 839 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 840 *) ac_optarg=yes ;; 841 esac 366 842 367 843 # Accept the important Cygnus configure options, so we can diagnose typos. 368 844 369 case $ac_option in 845 case $ac_dashdash$ac_option in 846 --) 847 ac_dashdash=yes ;; 370 848 371 849 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 389 867 cache_file=config.cache ;; 390 868 391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)869 -datadir | --datadir | --datadi | --datad) 392 870 ac_prev=datadir ;; 393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 394 | --da=*) 871 -datadir=* | --datadir=* | --datadi=* | --datad=*) 395 872 datadir=$ac_optarg ;; 396 873 874 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 875 | --dataroo | --dataro | --datar) 876 ac_prev=datarootdir ;; 877 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 878 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 879 datarootdir=$ac_optarg ;; 880 397 881 -disable-* | --disable-*) 398 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`882 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 399 883 # Reject names that are not valid shell variable names. 400 expr "x$ac_ feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2884 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 885 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 402 886 { (exit 1); exit 1; }; } 403 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 404 eval "enable_$ac_feature=no" ;; 887 ac_useropt_orig=$ac_useropt 888 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 889 case $ac_user_opts in 890 *" 891 "enable_$ac_useropt" 892 "*) ;; 893 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 894 ac_unrecognized_sep=', ';; 895 esac 896 eval enable_$ac_useropt=no ;; 897 898 -docdir | --docdir | --docdi | --doc | --do) 899 ac_prev=docdir ;; 900 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 901 docdir=$ac_optarg ;; 902 903 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 904 ac_prev=dvidir ;; 905 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 906 dvidir=$ac_optarg ;; 405 907 406 908 -enable-* | --enable-*) 407 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`909 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 408 910 # Reject names that are not valid shell variable names. 409 expr "x$ac_ feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 912 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 411 913 { (exit 1); exit 1; }; } 412 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 413 case $ac_option in 414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 415 *) ac_optarg=yes ;; 914 ac_useropt_orig=$ac_useropt 915 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 916 case $ac_user_opts in 917 *" 918 "enable_$ac_useropt" 919 "*) ;; 920 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 921 ac_unrecognized_sep=', ';; 416 922 esac 417 eval "enable_$ac_feature='$ac_optarg'";;923 eval enable_$ac_useropt=\$ac_optarg ;; 418 924 419 925 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 442 948 host_alias=$ac_optarg ;; 443 949 950 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 951 ac_prev=htmldir ;; 952 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 953 | --ht=*) 954 htmldir=$ac_optarg ;; 955 444 956 -includedir | --includedir | --includedi | --included | --include \ 445 957 | --includ | --inclu | --incl | --inc) … … 466 978 libexecdir=$ac_optarg ;; 467 979 980 -localedir | --localedir | --localedi | --localed | --locale) 981 ac_prev=localedir ;; 982 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 983 localedir=$ac_optarg ;; 984 468 985 -localstatedir | --localstatedir | --localstatedi | --localstated \ 469 | --localstate | --localstat | --localsta | --localst \ 470 | --locals | --local | --loca | --loc | --lo) 986 | --localstate | --localstat | --localsta | --localst | --locals) 471 987 ac_prev=localstatedir ;; 472 988 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 989 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 475 990 localstatedir=$ac_optarg ;; 476 991 … … 537 1052 program_transform_name=$ac_optarg ;; 538 1053 1054 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1055 ac_prev=pdfdir ;; 1056 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1057 pdfdir=$ac_optarg ;; 1058 1059 -psdir | --psdir | --psdi | --psd | --ps) 1060 ac_prev=psdir ;; 1061 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1062 psdir=$ac_optarg ;; 1063 539 1064 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 540 1065 | -silent | --silent | --silen | --sile | --sil) … … 587 1112 588 1113 -with-* | --with-*) 589 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1114 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 590 1115 # Reject names that are not valid shell variable names. 591 expr "x$ac_ package" : ".*[^-_$as_cr_alnum]" >/dev/null &&592 { echo "$as_me: error: invalid package name: $ac_package" >&21116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1117 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 593 1118 { (exit 1); exit 1; }; } 594 ac_package=`echo $ac_package| sed 's/-/_/g'` 595 case $ac_option in 596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 597 *) ac_optarg=yes ;; 1119 ac_useropt_orig=$ac_useropt 1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1121 case $ac_user_opts in 1122 *" 1123 "with_$ac_useropt" 1124 "*) ;; 1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1126 ac_unrecognized_sep=', ';; 598 1127 esac 599 eval "with_$ac_package='$ac_optarg'";;1128 eval with_$ac_useropt=\$ac_optarg ;; 600 1129 601 1130 -without-* | --without-*) 602 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1131 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 603 1132 # Reject names that are not valid shell variable names. 604 expr "x$ac_ package" : ".*[^-_$as_cr_alnum]" >/dev/null &&605 { echo "$as_me: error: invalid package name: $ac_package" >&21133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1134 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 606 1135 { (exit 1); exit 1; }; } 607 ac_package=`echo $ac_package | sed 's/-/_/g'` 608 eval "with_$ac_package=no" ;; 1136 ac_useropt_orig=$ac_useropt 1137 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1138 case $ac_user_opts in 1139 *" 1140 "with_$ac_useropt" 1141 "*) ;; 1142 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1143 ac_unrecognized_sep=', ';; 1144 esac 1145 eval with_$ac_useropt=no ;; 609 1146 610 1147 --x) … … 626 1163 x_libraries=$ac_optarg ;; 627 1164 628 -*) { echo "$as_me: error: unrecognized option: $ac_option1165 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 629 1166 Try \`$0 --help' for more information." >&2 630 1167 { (exit 1); exit 1; }; } … … 635 1172 # Reject names that are not valid shell variable names. 636 1173 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&21174 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 638 1175 { (exit 1); exit 1; }; } 639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 640 eval "$ac_envvar='$ac_optarg'" 1176 eval $ac_envvar=\$ac_optarg 641 1177 export $ac_envvar ;; 642 1178 643 1179 *) 644 1180 # FIXME: should be removed in autoconf 3.0. 645 echo "$as_me: WARNING: you should use --build, --host, --target" >&21181 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 646 1182 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 647 echo "$as_me: WARNING: invalid host type: $ac_option" >&21183 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 648 1184 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 649 1185 ;; … … 654 1190 if test -n "$ac_prev"; then 655 1191 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 656 { echo "$as_me: error: missing argument to $ac_option" >&21192 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 657 1193 { (exit 1); exit 1; }; } 658 1194 fi 659 1195 660 # Be sure to have absolute paths. 661 for ac_var in exec_prefix prefix 1196 if test -n "$ac_unrecognized_opts"; then 1197 case $enable_option_checking in 1198 no) ;; 1199 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1200 { (exit 1); exit 1; }; } ;; 1201 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1202 esac 1203 fi 1204 1205 # Check all directory arguments for consistency. 1206 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1207 datadir sysconfdir sharedstatedir localstatedir includedir \ 1208 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1209 libdir localedir mandir 662 1210 do 663 eval ac_val=$`echo $ac_var` 1211 eval ac_val=\$$ac_var 1212 # Remove trailing slashes. 664 1213 case $ac_val in 665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2667 { (exit 1); exit 1; }; };;1214 */ ) 1215 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1216 eval $ac_var=\$ac_val;; 668 1217 esac 669 done 670 671 # Be sure to have absolute paths. 672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 673 localstatedir libdir includedir oldincludedir infodir mandir 674 do 675 eval ac_val=$`echo $ac_var` 1218 # Be sure to have absolute directory names. 676 1219 case $ac_val in 677 [\\/$]* | ?:[\\/]* ) ;; 678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 679 { (exit 1); exit 1; }; };; 1220 [\\/$]* | ?:[\\/]* ) continue;; 1221 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 680 1222 esac 1223 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1224 { (exit 1); exit 1; }; } 681 1225 done 682 1226 … … 692 1236 if test "x$build_alias" = x; then 693 1237 cross_compiling=maybe 694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1238 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 695 1239 If a cross compiler is detected then cross compile mode will be used." >&2 696 1240 elif test "x$build_alias" != "x$host_alias"; then … … 705 1249 706 1250 1251 ac_pwd=`pwd` && test -n "$ac_pwd" && 1252 ac_ls_di=`ls -di .` && 1253 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1254 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1255 { (exit 1); exit 1; }; } 1256 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1257 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1258 { (exit 1); exit 1; }; } 1259 1260 707 1261 # Find the source files, if location was not specified. 708 1262 if test -z "$srcdir"; then 709 1263 ac_srcdir_defaulted=yes 710 # Try the directory containing this script, then its parent. 711 ac_confdir=`(dirname "$0") 2>/dev/null || 712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 713 X"$0" : 'X\(//\)[^/]' \| \ 714 X"$0" : 'X\(//\)$' \| \ 715 X"$0" : 'X\(/\)' \| \ 716 . : '\(.\)' 2>/dev/null || 717 echo X"$0" | 718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 719 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 720 /^X\(\/\/\)$/{ s//\1/; q; } 721 /^X\(\/\).*/{ s//\1/; q; } 722 s/.*/./; q'` 1264 # Try the directory containing this script, then the parent directory. 1265 ac_confdir=`$as_dirname -- "$as_myself" || 1266 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1267 X"$as_myself" : 'X\(//\)[^/]' \| \ 1268 X"$as_myself" : 'X\(//\)$' \| \ 1269 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1270 $as_echo X"$as_myself" | 1271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1272 s//\1/ 1273 q 1274 } 1275 /^X\(\/\/\)[^/].*/{ 1276 s//\1/ 1277 q 1278 } 1279 /^X\(\/\/\)$/{ 1280 s//\1/ 1281 q 1282 } 1283 /^X\(\/\).*/{ 1284 s//\1/ 1285 q 1286 } 1287 s/.*/./; q'` 723 1288 srcdir=$ac_confdir 724 if test ! -r $srcdir/$ac_unique_file; then1289 if test ! -r "$srcdir/$ac_unique_file"; then 725 1290 srcdir=.. 726 1291 fi … … 728 1293 ac_srcdir_defaulted=no 729 1294 fi 730 if test ! -r $srcdir/$ac_unique_file; then731 if test "$ac_srcdir_defaulted" = yes; then732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&21295 if test ! -r "$srcdir/$ac_unique_file"; then 1296 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1297 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 733 1298 { (exit 1); exit 1; }; } 734 else 735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1299 fi 1300 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1301 ac_abs_confdir=`( 1302 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 736 1303 { (exit 1); exit 1; }; } 737 fi 738 fi 739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 741 { (exit 1); exit 1; }; } 742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 743 ac_env_build_alias_set=${build_alias+set} 744 ac_env_build_alias_value=$build_alias 745 ac_cv_env_build_alias_set=${build_alias+set} 746 ac_cv_env_build_alias_value=$build_alias 747 ac_env_host_alias_set=${host_alias+set} 748 ac_env_host_alias_value=$host_alias 749 ac_cv_env_host_alias_set=${host_alias+set} 750 ac_cv_env_host_alias_value=$host_alias 751 ac_env_target_alias_set=${target_alias+set} 752 ac_env_target_alias_value=$target_alias 753 ac_cv_env_target_alias_set=${target_alias+set} 754 ac_cv_env_target_alias_value=$target_alias 755 ac_env_CC_set=${CC+set} 756 ac_env_CC_value=$CC 757 ac_cv_env_CC_set=${CC+set} 758 ac_cv_env_CC_value=$CC 759 ac_env_CFLAGS_set=${CFLAGS+set} 760 ac_env_CFLAGS_value=$CFLAGS 761 ac_cv_env_CFLAGS_set=${CFLAGS+set} 762 ac_cv_env_CFLAGS_value=$CFLAGS 763 ac_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_env_LDFLAGS_value=$LDFLAGS 765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 766 ac_cv_env_LDFLAGS_value=$LDFLAGS 767 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_env_CPPFLAGS_value=$CPPFLAGS 769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 771 ac_env_CXX_set=${CXX+set} 772 ac_env_CXX_value=$CXX 773 ac_cv_env_CXX_set=${CXX+set} 774 ac_cv_env_CXX_value=$CXX 775 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 776 ac_env_CXXFLAGS_value=$CXXFLAGS 777 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 778 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 779 ac_env_CPP_set=${CPP+set} 780 ac_env_CPP_value=$CPP 781 ac_cv_env_CPP_set=${CPP+set} 782 ac_cv_env_CPP_value=$CPP 1304 pwd)` 1305 # When building in place, set srcdir=. 1306 if test "$ac_abs_confdir" = "$ac_pwd"; then 1307 srcdir=. 1308 fi 1309 # Remove unnecessary trailing slashes from srcdir. 1310 # Double slashes in file names in object file debugging info 1311 # mess up M-x gdb in Emacs. 1312 case $srcdir in 1313 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1314 esac 1315 for ac_var in $ac_precious_vars; do 1316 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1317 eval ac_env_${ac_var}_value=\$${ac_var} 1318 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1319 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1320 done 783 1321 784 1322 # … … 809 1347 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 810 1348 811 _ACEOF812 813 cat <<_ACEOF814 1349 Installation directories: 815 1350 --prefix=PREFIX install architecture-independent files in PREFIX 816 1351 [$ac_default_prefix] 817 1352 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 818 1353 [PREFIX] 819 1354 820 1355 By default, \`make install' will install all the files in … … 826 1361 827 1362 Fine tuning of the installation directories: 828 --bindir=DIR user executables [EPREFIX/bin] 829 --sbindir=DIR system admin executables [EPREFIX/sbin] 830 --libexecdir=DIR program executables [EPREFIX/libexec] 831 --datadir=DIR read-only architecture-independent data [PREFIX/share] 832 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 833 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 834 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 835 --libdir=DIR object code libraries [EPREFIX/lib] 836 --includedir=DIR C header files [PREFIX/include] 837 --oldincludedir=DIR C header files for non-gcc [/usr/include] 838 --infodir=DIR info documentation [PREFIX/info] 839 --mandir=DIR man documentation [PREFIX/man] 1363 --bindir=DIR user executables [EPREFIX/bin] 1364 --sbindir=DIR system admin executables [EPREFIX/sbin] 1365 --libexecdir=DIR program executables [EPREFIX/libexec] 1366 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1367 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1368 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1369 --libdir=DIR object code libraries [EPREFIX/lib] 1370 --includedir=DIR C header files [PREFIX/include] 1371 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1372 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1373 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1374 --infodir=DIR info documentation [DATAROOTDIR/info] 1375 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1376 --mandir=DIR man documentation [DATAROOTDIR/man] 1377 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1378 --htmldir=DIR html documentation [DOCDIR] 1379 --dvidir=DIR dvi documentation [DOCDIR] 1380 --pdfdir=DIR pdf documentation [DOCDIR] 1381 --psdir=DIR ps documentation [DOCDIR] 840 1382 _ACEOF 841 1383 … … 854 1396 855 1397 Optional Features: 1398 --disable-option-checking ignore unrecognized --enable/--with options 856 1399 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 857 1400 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 882 1425 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 883 1426 nonstandard directory <lib dir> 884 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 885 headers in a nonstandard directory <include dir> 1427 LIBS libraries to pass to the linker, e.g. -l<library> 1428 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1429 you have headers in a nonstandard directory <include dir> 886 1430 CXX C++ compiler command 887 1431 CXXFLAGS C++ compiler flags 1432 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1433 the first program found out of: `bison -y', `byacc', `yacc'. 1434 YFLAGS The list of arguments that will be passed by default to $YACC. 1435 This script will default YFLAGS to the empty string to avoid a 1436 default value of `-d' given by some make applications. 888 1437 CPP C preprocessor 889 1438 … … 892 1441 893 1442 _ACEOF 1443 ac_status=$? 894 1444 fi 895 1445 896 1446 if test "$ac_init_help" = "recursive"; then 897 1447 # If there are subdirs, report their specific --help. 898 ac_popdir=`pwd`899 1448 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 900 test -d $ac_dir || continue 1449 test -d "$ac_dir" || 1450 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1451 continue 901 1452 ac_builddir=. 902 1453 903 if test "$ac_dir" != .; then 904 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 905 # A "../" for each directory in $ac_dir_suffix. 906 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 907 else 908 ac_dir_suffix= ac_top_builddir= 909 fi 1454 case "$ac_dir" in 1455 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1456 *) 1457 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1458 # A ".." for each directory in $ac_dir_suffix. 1459 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1460 case $ac_top_builddir_sub in 1461 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1462 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1463 esac ;; 1464 esac 1465 ac_abs_top_builddir=$ac_pwd 1466 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1467 # for backward compatibility: 1468 ac_top_builddir=$ac_top_build_prefix 910 1469 911 1470 case $srcdir in 912 .) # No --srcdir option.We are building in place.1471 .) # We are building in place. 913 1472 ac_srcdir=. 914 if test -z "$ac_top_builddir"; then 915 ac_top_srcdir=. 1473 ac_top_srcdir=$ac_top_builddir_sub 1474 ac_abs_top_srcdir=$ac_pwd ;; 1475 [\\/]* | ?:[\\/]* ) # Absolute name. 1476 ac_srcdir=$srcdir$ac_dir_suffix; 1477 ac_top_srcdir=$srcdir 1478 ac_abs_top_srcdir=$srcdir ;; 1479 *) # Relative name. 1480 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1481 ac_top_srcdir=$ac_top_build_prefix$srcdir 1482 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1483 esac 1484 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1485 1486 cd "$ac_dir" || { ac_status=$?; continue; } 1487 # Check for guested configure. 1488 if test -f "$ac_srcdir/configure.gnu"; then 1489 echo && 1490 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1491 elif test -f "$ac_srcdir/configure"; then 1492 echo && 1493 $SHELL "$ac_srcdir/configure" --help=recursive 916 1494 else 917 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 918 fi ;; 919 [\\/]* | ?:[\\/]* ) # Absolute path. 920 ac_srcdir=$srcdir$ac_dir_suffix; 921 ac_top_srcdir=$srcdir ;; 922 *) # Relative path. 923 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 924 ac_top_srcdir=$ac_top_builddir$srcdir ;; 925 esac 926 927 # Do not use `cd foo && pwd` to compute absolute paths, because 928 # the directories may not exist. 929 case `pwd` in 930 .) ac_abs_builddir="$ac_dir";; 931 *) 932 case "$ac_dir" in 933 .) ac_abs_builddir=`pwd`;; 934 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 935 *) ac_abs_builddir=`pwd`/"$ac_dir";; 936 esac;; 937 esac 938 case $ac_abs_builddir in 939 .) ac_abs_top_builddir=${ac_top_builddir}.;; 940 *) 941 case ${ac_top_builddir}. in 942 .) ac_abs_top_builddir=$ac_abs_builddir;; 943 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 944 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 945 esac;; 946 esac 947 case $ac_abs_builddir in 948 .) ac_abs_srcdir=$ac_srcdir;; 949 *) 950 case $ac_srcdir in 951 .) ac_abs_srcdir=$ac_abs_builddir;; 952 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 953 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 954 esac;; 955 esac 956 case $ac_abs_builddir in 957 .) ac_abs_top_srcdir=$ac_top_srcdir;; 958 *) 959 case $ac_top_srcdir in 960 .) ac_abs_top_srcdir=$ac_abs_builddir;; 961 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 962 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 963 esac;; 964 esac 965 966 cd $ac_dir 967 # Check for guested configure; otherwise get Cygnus style configure. 968 if test -f $ac_srcdir/configure.gnu; then 969 echo 970 $SHELL $ac_srcdir/configure.gnu --help=recursive 971 elif test -f $ac_srcdir/configure; then 972 echo 973 $SHELL $ac_srcdir/configure --help=recursive 974 elif test -f $ac_srcdir/configure.ac || 975 test -f $ac_srcdir/configure.in; then 976 echo 977 $ac_configure --help 978 else 979 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 980 fi 981 cd $ac_popdir 1495 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1496 fi || ac_status=$? 1497 cd "$ac_pwd" || { ac_status=$?; break; } 982 1498 done 983 1499 fi 984 1500 985 test -n "$ac_init_help" && exit 01501 test -n "$ac_init_help" && exit $ac_status 986 1502 if $ac_init_version; then 987 1503 cat <<\_ACEOF 988 989 Copyright (C) 2003 Free Software Foundation, Inc. 1504 configure 1505 generated by GNU Autoconf 2.63 1506 1507 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1508 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 990 1509 This configure script is free software; the Free Software Foundation 991 1510 gives unlimited permission to copy, distribute and modify it. 992 1511 _ACEOF 993 exit 0 994 fi 995 exec 5>config.log 996 cat >&5 <<_ACEOF 1512 exit 1513 fi 1514 cat >config.log <<_ACEOF 997 1515 This file contains any messages produced by compilers while 998 1516 running configure, to aid debugging if configure makes a mistake. 999 1517 1000 1518 It was created by $as_me, which was 1001 generated by GNU Autoconf 2. 59. Invocation command line was1519 generated by GNU Autoconf 2.63. Invocation command line was 1002 1520 1003 1521 $ $0 $@ 1004 1522 1005 1523 _ACEOF 1524 exec 5>>config.log 1006 1525 { 1007 1526 cat <<_ASUNAME … … 1022 1541 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1023 1542 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1024 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1543 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1025 1544 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1026 1545 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1034 1553 IFS=$as_save_IFS 1035 1554 test -z "$as_dir" && as_dir=. 1036 echo "PATH: $as_dir"1555 $as_echo "PATH: $as_dir" 1037 1556 done 1557 IFS=$as_save_IFS 1038 1558 1039 1559 } >&5 … … 1057 1577 ac_configure_args0= 1058 1578 ac_configure_args1= 1059 ac_sep=1060 1579 ac_must_keep_next=false 1061 1580 for ac_pass in 1 2 … … 1068 1587 | -silent | --silent | --silen | --sile | --sil) 1069 1588 continue ;; 1070 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1071 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1589 *\'*) 1590 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1072 1591 esac 1073 1592 case $ac_pass in … … 1090 1609 esac 1091 1610 fi 1092 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1093 # Get rid of the leading space. 1094 ac_sep=" " 1611 ac_configure_args="$ac_configure_args '$ac_arg'" 1095 1612 ;; 1096 1613 esac … … 1103 1620 # config.log. We remove comments because anyway the quotes in there 1104 1621 # would cause problems or look ugly. 1105 # WARNING: Be sure not to use single quotes in there, as some shells,1106 # such as our DU 5.0 friend, will then `close' the trap.1622 # WARNING: Use '\'' to represent an apostrophe within the trap. 1623 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1107 1624 trap 'exit_status=$? 1108 1625 # Save into config.log some information that might help in debugging. … … 1117 1634 echo 1118 1635 # The following way of writing the cache mishandles newlines in values, 1119 { 1636 ( 1637 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1638 eval ac_val=\$$ac_var 1639 case $ac_val in #( 1640 *${as_nl}*) 1641 case $ac_var in #( 1642 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1643 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1644 esac 1645 case $ac_var in #( 1646 _ | IFS | as_nl) ;; #( 1647 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1648 *) $as_unset $ac_var ;; 1649 esac ;; 1650 esac 1651 done 1120 1652 (set) 2>&1 | 1121 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1122 * ac_space=\ *)1653 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1654 *${as_nl}ac_space=\ *) 1123 1655 sed -n \ 1124 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1125 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1656 "s/'\''/'\''\\\\'\'''\''/g; 1657 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1658 ;; #( 1659 *) 1660 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1126 1661 ;; 1127 *) 1128 sed -n \ 1129 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1130 ;; 1131 esac; 1132 } 1662 esac | 1663 sort 1664 ) 1133 1665 echo 1134 1666 … … 1141 1673 for ac_var in $ac_subst_vars 1142 1674 do 1143 eval ac_val=$`echo $ac_var` 1144 echo "$ac_var='"'"'$ac_val'"'"'" 1675 eval ac_val=\$$ac_var 1676 case $ac_val in 1677 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1678 esac 1679 $as_echo "$ac_var='\''$ac_val'\''" 1145 1680 done | sort 1146 1681 echo … … 1148 1683 if test -n "$ac_subst_files"; then 1149 1684 cat <<\_ASBOX 1150 ## ------------- ##1151 ## Output files. ##1152 ## ------------- ##1685 ## ------------------- ## 1686 ## File substitutions. ## 1687 ## ------------------- ## 1153 1688 _ASBOX 1154 1689 echo 1155 1690 for ac_var in $ac_subst_files 1156 1691 do 1157 eval ac_val=$`echo $ac_var` 1158 echo "$ac_var='"'"'$ac_val'"'"'" 1692 eval ac_val=\$$ac_var 1693 case $ac_val in 1694 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1695 esac 1696 $as_echo "$ac_var='\''$ac_val'\''" 1159 1697 done | sort 1160 1698 echo … … 1168 1706 _ASBOX 1169 1707 echo 1170 sed "/^$/d" confdefs.h | sort1708 cat confdefs.h 1171 1709 echo 1172 1710 fi 1173 1711 test "$ac_signal" != 0 && 1174 echo "$as_me: caught signal $ac_signal"1175 echo "$as_me: exit $exit_status"1712 $as_echo "$as_me: caught signal $ac_signal" 1713 $as_echo "$as_me: exit $exit_status" 1176 1714 } >&5 1177 rm -f core *.core &&1178 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1715 rm -f core *.core core.conftest.* && 1716 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1179 1717 exit $exit_status 1180 1718 ' 0 1181 1719 for ac_signal in 1 2 13 15; do 1182 1720 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1185 1723 1186 1724 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1187 rm -rf conftest* confdefs.h 1188 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1189 echo >confdefs.h 1725 rm -f -r conftest* confdefs.h 1190 1726 1191 1727 # Predefined preprocessor variables. … … 1217 1753 1218 1754 # Let the site file select an alternate cache file if it wants to. 1219 # Prefer explicitly selected file to automatically selected ones. 1220 if test -z "$CONFIG_SITE"; then 1221 if test "x$prefix" != xNONE; then 1222 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1223 else 1224 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1225 fi 1226 fi 1227 for ac_site_file in $CONFIG_SITE; do 1755 # Prefer an explicitly selected file to automatically selected ones. 1756 ac_site_file1=NONE 1757 ac_site_file2=NONE 1758 if test -n "$CONFIG_SITE"; then 1759 ac_site_file1=$CONFIG_SITE 1760 elif test "x$prefix" != xNONE; then 1761 ac_site_file1=$prefix/share/config.site 1762 ac_site_file2=$prefix/etc/config.site 1763 else 1764 ac_site_file1=$ac_default_prefix/share/config.site 1765 ac_site_file2=$ac_default_prefix/etc/config.site 1766 fi 1767 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1768 do 1769 test "x$ac_site_file" = xNONE && continue 1228 1770 if test -r "$ac_site_file"; then 1229 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&51230 echo "$as_me: loading site script $ac_site_file" >&6;}1771 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1772 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1231 1773 sed 's/^/| /' "$ac_site_file" >&5 1232 1774 . "$ac_site_file" … … 1238 1780 # files actually), so we avoid doing that. 1239 1781 if test -f "$cache_file"; then 1240 { echo "$as_me:$LINENO: loading cache $cache_file" >&51241 echo "$as_me: loading cache $cache_file" >&6;}1782 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1783 $as_echo "$as_me: loading cache $cache_file" >&6;} 1242 1784 case $cache_file in 1243 [\\/]* | ?:[\\/]* ) . $cache_file;;1244 *) . ./$cache_file;;1785 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1786 *) . "./$cache_file";; 1245 1787 esac 1246 1788 fi 1247 1789 else 1248 { echo "$as_me:$LINENO: creating cache $cache_file" >&51249 echo "$as_me: creating cache $cache_file" >&6;}1790 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1791 $as_echo "$as_me: creating cache $cache_file" >&6;} 1250 1792 >$cache_file 1251 1793 fi … … 1254 1796 # value. 1255 1797 ac_cache_corrupted=false 1256 for ac_var in `(set) 2>&1 | 1257 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1798 for ac_var in $ac_precious_vars; do 1258 1799 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1259 1800 eval ac_new_set=\$ac_env_${ac_var}_set 1260 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1261 eval ac_new_val= "\$ac_env_${ac_var}_value"1801 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1802 eval ac_new_val=\$ac_env_${ac_var}_value 1262 1803 case $ac_old_set,$ac_new_set in 1263 1804 set,) 1264 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51265 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1805 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1806 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1266 1807 ac_cache_corrupted=: ;; 1267 1808 ,set) 1268 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51269 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1809 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1810 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1270 1811 ac_cache_corrupted=: ;; 1271 1812 ,);; 1272 1813 *) 1273 1814 if test "x$ac_old_val" != "x$ac_new_val"; then 1274 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1275 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1276 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1277 echo "$as_me: former value: $ac_old_val" >&2;} 1278 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1279 echo "$as_me: current value: $ac_new_val" >&2;} 1280 ac_cache_corrupted=: 1815 # differences in whitespace do not lead to failure. 1816 ac_old_val_w=`echo x $ac_old_val` 1817 ac_new_val_w=`echo x $ac_new_val` 1818 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1819 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1820 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1821 ac_cache_corrupted=: 1822 else 1823 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1824 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1825 eval $ac_var=\$ac_old_val 1826 fi 1827 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1828 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1829 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1830 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1281 1831 fi;; 1282 1832 esac … … 1284 1834 if test "$ac_new_set" = set; then 1285 1835 case $ac_new_val in 1286 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1287 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1836 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1288 1837 *) ac_arg=$ac_var=$ac_new_val ;; 1289 1838 esac … … 1295 1844 done 1296 1845 if $ac_cache_corrupted; then 1297 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1298 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1299 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1300 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1846 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 1847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1848 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1849 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1850 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1851 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1301 1852 { (exit 1); exit 1; }; } 1302 1853 fi 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1303 1870 1304 1871 ac_ext=c … … 1309 1876 1310 1877 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 ac_config_headers="$ac_config_headers config.h" 1878 ac_config_headers="$ac_config_headers config.h" 1329 1879 1330 1880 … … 1362 1912 fi 1363 1913 1364 # Check whether --enable-corba or --disable-corbawas given.1914 # Check whether --enable-corba was given. 1365 1915 if test "${enable_corba+set}" = set; then 1366 enableval="$enable_corba" 1367 USE_CORBA=$enableval 1916 enableval=$enable_corba; USE_CORBA=$enableval 1368 1917 else 1369 1918 USE_CORBA=no 1370 fi; 1919 fi 1920 1371 1921 if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then 1372 1922 USE_CORBA=1 1373 1923 cat >>confdefs.h <<\_ACEOF 1374 #define USE_CORBA 1924 #define USE_CORBA /**/ 1375 1925 _ACEOF 1376 1926 … … 1381 1931 1382 1932 1383 # Check whether --with-micodir or --without-micodirwas given.1933 # Check whether --with-micodir was given. 1384 1934 if test "${with_micodir+set}" = set; then 1385 withval="$with_micodir" 1386 MICO_DIR=$withval 1935 withval=$with_micodir; MICO_DIR=$withval 1387 1936 else 1388 1937 MICO_DIR="default" 1389 fi; 1938 fi 1939 1390 1940 cat >>confdefs.h <<_ACEOF 1391 1941 #define MICO_DIR "$MICO_DIR" … … 1394 1944 1395 1945 1396 # Check whether --enable-z3950 or --disable-z3950was given.1946 # Check whether --enable-z3950 was given. 1397 1947 if test "${enable_z3950+set}" = set; then 1398 enableval="$enable_z3950" 1399 USE_Z3950=$enableval 1948 enableval=$enable_z3950; USE_Z3950=$enableval 1400 1949 else 1401 1950 USE_Z3950=no 1402 fi; 1951 fi 1952 1403 1953 if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then 1404 1954 USE_Z3950=1 1405 1955 cat >>confdefs.h <<\_ACEOF 1406 #define USE_Z3950 1956 #define USE_Z3950 /**/ 1407 1957 _ACEOF 1408 1958 … … 1412 1962 1413 1963 1414 # Check whether --enable-yaz or --disable-yazwas given.1964 # Check whether --enable-yaz was given. 1415 1965 if test "${enable_yaz+set}" = set; then 1416 enableval="$enable_yaz" 1417 USE_YAZ=$enableval 1966 enableval=$enable_yaz; USE_YAZ=$enableval 1418 1967 else 1419 1968 USE_YAZ=yes 1420 fi; 1969 fi 1970 1421 1971 if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then 1422 1972 USE_YAZ=1 1423 1973 cat >>confdefs.h <<\_ACEOF 1424 #define USE_YAZ 1974 #define USE_YAZ /**/ 1425 1975 _ACEOF 1426 1976 … … 1430 1980 1431 1981 1432 # Check whether --enable-java or --disable-javawas given.1982 # Check whether --enable-java was given. 1433 1983 if test "${enable_java+set}" = set; then 1434 enableval="$enable_java" 1435 ENABLE_JAVA=$enableval 1984 enableval=$enable_java; ENABLE_JAVA=$enableval 1436 1985 else 1437 1986 ENABLE_JAVA=yes 1438 fi; 1987 fi 1988 1439 1989 if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then 1440 1990 ENABLE_JAVA=1 … … 1450 2000 1451 2001 1452 # Check whether --enable-jdbm or --disable-jdbmwas given.2002 # Check whether --enable-jdbm was given. 1453 2003 if test "${enable_jdbm+set}" = set; then 1454 enableval="$enable_jdbm" 1455 USE_JDBM=$enableval 2004 enableval=$enable_jdbm; USE_JDBM=$enableval 1456 2005 else 1457 2006 USE_JDBM=yes 1458 fi; 2007 fi 2008 1459 2009 if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then 1460 2010 USE_JDBM=1 1461 2011 cat >>confdefs.h <<\_ACEOF 1462 #define USE_JDBM 2012 #define USE_JDBM /**/ 1463 2013 _ACEOF 1464 2014 … … 1468 2018 1469 2019 1470 # Check whether --enable-gdbm or --disable-gdbmwas given.2020 # Check whether --enable-gdbm was given. 1471 2021 if test "${enable_gdbm+set}" = set; then 1472 enableval="$enable_gdbm" 1473 USE_GDBM=$enableval 2022 enableval=$enable_gdbm; USE_GDBM=$enableval 1474 2023 else 1475 2024 USE_GDBM=yes 1476 fi; 2025 fi 2026 1477 2027 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 1478 2028 USE_GDBM=1 1479 2029 cat >>confdefs.h <<\_ACEOF 1480 #define USE_GDBM 2030 #define USE_GDBM /**/ 1481 2031 _ACEOF 1482 2032 … … 1486 2036 1487 2037 1488 # Check whether --enable-accentfold or --disable-accentfoldwas given.2038 # Check whether --enable-accentfold was given. 1489 2039 if test "${enable_accentfold+set}" = set; then 1490 enableval="$enable_accentfold" 1491 ENABLE_ACCENTFOLD=$enableval 2040 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval 1492 2041 else 1493 2042 ENABLE_ACCENTFOLD=yes 1494 fi; 2043 fi 2044 1495 2045 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 1496 2046 ENABLE_ACCENTFOLD=1 1497 2047 cat >>confdefs.h <<\_ACEOF 1498 #define ENABLE_ACCENTFOLD 2048 #define ENABLE_ACCENTFOLD /**/ 1499 2049 _ACEOF 1500 2050 … … 1505 2055 1506 2056 1507 # Check whether --enable-sqlite or --disable-sqlitewas given.2057 # Check whether --enable-sqlite was given. 1508 2058 if test "${enable_sqlite+set}" = set; then 1509 enableval="$enable_sqlite" 1510 USE_SQLITE=$enableval 2059 enableval=$enable_sqlite; USE_SQLITE=$enableval 1511 2060 else 1512 2061 USE_SQLITE=yes 1513 fi; 2062 fi 2063 1514 2064 if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then 1515 2065 USE_SQLITE=1 1516 2066 cat >>confdefs.h <<\_ACEOF 1517 #define USE_SQLITE 2067 #define USE_SQLITE /**/ 1518 2068 _ACEOF 1519 2069 … … 1523 2073 1524 2074 1525 # Check whether --enable-jni or --disable-jniwas given.2075 # Check whether --enable-jni was given. 1526 2076 if test "${enable_jni+set}" = set; then 1527 enableval="$enable_jni" 1528 ENABLE_JNI=$enableval 2077 enableval=$enable_jni; ENABLE_JNI=$enableval 1529 2078 else 1530 2079 ENABLE_JNI=no 1531 fi; 2080 fi 2081 1532 2082 if test $ENABLE_JAVA = "1" -a \( $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" \) ; then 1533 2083 ENABLE_JNI=1 1534 2084 cat >>confdefs.h <<\_ACEOF 1535 #define ENABLE_JNI 2085 #define ENABLE_JNI /**/ 1536 2086 _ACEOF 1537 2087 … … 1541 2091 1542 2092 1543 # Check whether --enable-mg or --disable-mgwas given.2093 # Check whether --enable-mg was given. 1544 2094 if test "${enable_mg+set}" = set; then 1545 enableval="$enable_mg" 1546 ENABLE_MG=$enableval 2095 enableval=$enable_mg; ENABLE_MG=$enableval 1547 2096 else 1548 2097 ENABLE_MG=yes 1549 fi; 2098 fi 2099 1550 2100 if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then 1551 2101 ENABLE_MG=1 1552 2102 cat >>confdefs.h <<\_ACEOF 1553 #define ENABLE_MG 2103 #define ENABLE_MG /**/ 1554 2104 _ACEOF 1555 2105 … … 1559 2109 1560 2110 1561 # Check whether --enable-mgpp or --disable-mgppwas given.2111 # Check whether --enable-mgpp was given. 1562 2112 if test "${enable_mgpp+set}" = set; then 1563 enableval="$enable_mgpp" 1564 ENABLE_MGPP=$enableval 2113 enableval=$enable_mgpp; ENABLE_MGPP=$enableval 1565 2114 else 1566 2115 ENABLE_MGPP=yes 1567 fi; 2116 fi 2117 1568 2118 if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then 1569 2119 ENABLE_MGPP=1 1570 2120 cat >>confdefs.h <<\_ACEOF 1571 #define ENABLE_MGPP 2121 #define ENABLE_MGPP /**/ 1572 2122 _ACEOF 1573 2123 … … 1577 2127 1578 2128 1579 # Check whether --enable-lucene or --disable-lucenewas given.2129 # Check whether --enable-lucene was given. 1580 2130 if test "${enable_lucene+set}" = set; then 1581 enableval="$enable_lucene" 1582 ENABLE_LUCENE=$enableval 2131 enableval=$enable_lucene; ENABLE_LUCENE=$enableval 1583 2132 else 1584 2133 ENABLE_LUCENE=yes 1585 fi; 2134 fi 2135 1586 2136 if test $ENABLE_JAVA = "1" -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then 1587 2137 ENABLE_LUCENE=1 1588 2138 cat >>confdefs.h <<\_ACEOF 1589 #define ENABLE_LUCENE 2139 #define ENABLE_LUCENE /**/ 1590 2140 _ACEOF 1591 2141 … … 1612 2162 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1613 2163 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1614 echo "$as_me:$LINENO: checking for $ac_word" >&51615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2164 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2165 $as_echo_n "checking for $ac_word... " >&6; } 1616 2166 if test "${ac_cv_prog_CC+set}" = set; then 1617 echo $ECHO_N "(cached) $ECHO_C" >&62167 $as_echo_n "(cached) " >&6 1618 2168 else 1619 2169 if test -n "$CC"; then … … 1626 2176 test -z "$as_dir" && as_dir=. 1627 2177 for ac_exec_ext in '' $ac_executable_extensions; do 1628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1629 2179 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52180 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1631 2181 break 2 1632 2182 fi 1633 2183 done 1634 2184 done 2185 IFS=$as_save_IFS 1635 2186 1636 2187 fi … … 1638 2189 CC=$ac_cv_prog_CC 1639 2190 if test -n "$CC"; then 1640 echo "$as_me:$LINENO: result: $CC" >&5 1641 echo "${ECHO_T}$CC" >&6 1642 else 1643 echo "$as_me:$LINENO: result: no" >&5 1644 echo "${ECHO_T}no" >&6 1645 fi 2191 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2192 $as_echo "$CC" >&6; } 2193 else 2194 { $as_echo "$as_me:$LINENO: result: no" >&5 2195 $as_echo "no" >&6; } 2196 fi 2197 1646 2198 1647 2199 fi … … 1650 2202 # Extract the first word of "gcc", so it can be a program name with args. 1651 2203 set dummy gcc; ac_word=$2 1652 echo "$as_me:$LINENO: checking for $ac_word" >&51653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2204 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2205 $as_echo_n "checking for $ac_word... " >&6; } 1654 2206 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1655 echo $ECHO_N "(cached) $ECHO_C" >&62207 $as_echo_n "(cached) " >&6 1656 2208 else 1657 2209 if test -n "$ac_ct_CC"; then … … 1664 2216 test -z "$as_dir" && as_dir=. 1665 2217 for ac_exec_ext in '' $ac_executable_extensions; do 1666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1667 2219 ac_cv_prog_ac_ct_CC="gcc" 1668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52220 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1669 2221 break 2 1670 2222 fi 1671 2223 done 1672 2224 done 2225 IFS=$as_save_IFS 1673 2226 1674 2227 fi … … 1676 2229 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1677 2230 if test -n "$ac_ct_CC"; then 1678 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1679 echo "${ECHO_T}$ac_ct_CC" >&6 1680 else 1681 echo "$as_me:$LINENO: result: no" >&5 1682 echo "${ECHO_T}no" >&6 1683 fi 1684 1685 CC=$ac_ct_CC 2231 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2232 $as_echo "$ac_ct_CC" >&6; } 2233 else 2234 { $as_echo "$as_me:$LINENO: result: no" >&5 2235 $as_echo "no" >&6; } 2236 fi 2237 2238 if test "x$ac_ct_CC" = x; then 2239 CC="" 2240 else 2241 case $cross_compiling:$ac_tool_warned in 2242 yes:) 2243 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2245 ac_tool_warned=yes ;; 2246 esac 2247 CC=$ac_ct_CC 2248 fi 1686 2249 else 1687 2250 CC="$ac_cv_prog_CC" … … 1689 2252 1690 2253 if test -z "$CC"; then 1691 if test -n "$ac_tool_prefix"; then1692 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2254 if test -n "$ac_tool_prefix"; then 2255 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1693 2256 set dummy ${ac_tool_prefix}cc; ac_word=$2 1694 echo "$as_me:$LINENO: checking for $ac_word" >&51695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2257 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2258 $as_echo_n "checking for $ac_word... " >&6; } 1696 2259 if test "${ac_cv_prog_CC+set}" = set; then 1697 echo $ECHO_N "(cached) $ECHO_C" >&62260 $as_echo_n "(cached) " >&6 1698 2261 else 1699 2262 if test -n "$CC"; then … … 1706 2269 test -z "$as_dir" && as_dir=. 1707 2270 for ac_exec_ext in '' $ac_executable_extensions; do 1708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1709 2272 ac_cv_prog_CC="${ac_tool_prefix}cc" 1710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52273 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1711 2274 break 2 1712 2275 fi 1713 2276 done 1714 2277 done 2278 IFS=$as_save_IFS 1715 2279 1716 2280 fi … … 1718 2282 CC=$ac_cv_prog_CC 1719 2283 if test -n "$CC"; then 1720 echo "$as_me:$LINENO: result: $CC" >&5 1721 echo "${ECHO_T}$CC" >&6 1722 else 1723 echo "$as_me:$LINENO: result: no" >&5 1724 echo "${ECHO_T}no" >&6 1725 fi 1726 1727 fi 1728 if test -z "$ac_cv_prog_CC"; then 1729 ac_ct_CC=$CC 1730 # Extract the first word of "cc", so it can be a program name with args. 1731 set dummy cc; ac_word=$2 1732 echo "$as_me:$LINENO: checking for $ac_word" >&5 1733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1734 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1735 echo $ECHO_N "(cached) $ECHO_C" >&6 1736 else 1737 if test -n "$ac_ct_CC"; then 1738 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1739 else 1740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1741 for as_dir in $PATH 1742 do 1743 IFS=$as_save_IFS 1744 test -z "$as_dir" && as_dir=. 1745 for ac_exec_ext in '' $ac_executable_extensions; do 1746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1747 ac_cv_prog_ac_ct_CC="cc" 1748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1749 break 2 2284 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2285 $as_echo "$CC" >&6; } 2286 else 2287 { $as_echo "$as_me:$LINENO: result: no" >&5 2288 $as_echo "no" >&6; } 2289 fi 2290 2291 1750 2292 fi 1751 done1752 done1753 1754 fi1755 fi1756 ac_ct_CC=$ac_cv_prog_ac_ct_CC1757 if test -n "$ac_ct_CC"; then1758 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51759 echo "${ECHO_T}$ac_ct_CC" >&61760 else1761 echo "$as_me:$LINENO: result: no" >&51762 echo "${ECHO_T}no" >&61763 fi1764 1765 CC=$ac_ct_CC1766 else1767 CC="$ac_cv_prog_CC"1768 fi1769 1770 2293 fi 1771 2294 if test -z "$CC"; then 1772 2295 # Extract the first word of "cc", so it can be a program name with args. 1773 2296 set dummy cc; ac_word=$2 1774 echo "$as_me:$LINENO: checking for $ac_word" >&51775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2297 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2298 $as_echo_n "checking for $ac_word... " >&6; } 1776 2299 if test "${ac_cv_prog_CC+set}" = set; then 1777 echo $ECHO_N "(cached) $ECHO_C" >&62300 $as_echo_n "(cached) " >&6 1778 2301 else 1779 2302 if test -n "$CC"; then … … 1787 2310 test -z "$as_dir" && as_dir=. 1788 2311 for ac_exec_ext in '' $ac_executable_extensions; do 1789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1790 2313 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1791 2314 ac_prog_rejected=yes … … 1793 2316 fi 1794 2317 ac_cv_prog_CC="cc" 1795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52318 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1796 2319 break 2 1797 2320 fi 1798 2321 done 1799 2322 done 2323 IFS=$as_save_IFS 1800 2324 1801 2325 if test $ac_prog_rejected = yes; then … … 1815 2339 CC=$ac_cv_prog_CC 1816 2340 if test -n "$CC"; then 1817 echo "$as_me:$LINENO: result: $CC" >&5 1818 echo "${ECHO_T}$CC" >&6 1819 else 1820 echo "$as_me:$LINENO: result: no" >&5 1821 echo "${ECHO_T}no" >&6 1822 fi 2341 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2342 $as_echo "$CC" >&6; } 2343 else 2344 { $as_echo "$as_me:$LINENO: result: no" >&5 2345 $as_echo "no" >&6; } 2346 fi 2347 1823 2348 1824 2349 fi 1825 2350 if test -z "$CC"; then 1826 2351 if test -n "$ac_tool_prefix"; then 1827 for ac_prog in cl 2352 for ac_prog in cl.exe 1828 2353 do 1829 2354 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1830 2355 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1831 echo "$as_me:$LINENO: checking for $ac_word" >&51832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2356 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2357 $as_echo_n "checking for $ac_word... " >&6; } 1833 2358 if test "${ac_cv_prog_CC+set}" = set; then 1834 echo $ECHO_N "(cached) $ECHO_C" >&62359 $as_echo_n "(cached) " >&6 1835 2360 else 1836 2361 if test -n "$CC"; then … … 1843 2368 test -z "$as_dir" && as_dir=. 1844 2369 for ac_exec_ext in '' $ac_executable_extensions; do 1845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1846 2371 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52372 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1848 2373 break 2 1849 2374 fi 1850 2375 done 1851 2376 done 2377 IFS=$as_save_IFS 1852 2378 1853 2379 fi … … 1855 2381 CC=$ac_cv_prog_CC 1856 2382 if test -n "$CC"; then 1857 echo "$as_me:$LINENO: result: $CC" >&5 1858 echo "${ECHO_T}$CC" >&6 1859 else 1860 echo "$as_me:$LINENO: result: no" >&5 1861 echo "${ECHO_T}no" >&6 1862 fi 2383 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2384 $as_echo "$CC" >&6; } 2385 else 2386 { $as_echo "$as_me:$LINENO: result: no" >&5 2387 $as_echo "no" >&6; } 2388 fi 2389 1863 2390 1864 2391 test -n "$CC" && break … … 1867 2394 if test -z "$CC"; then 1868 2395 ac_ct_CC=$CC 1869 for ac_prog in cl 2396 for ac_prog in cl.exe 1870 2397 do 1871 2398 # Extract the first word of "$ac_prog", so it can be a program name with args. 1872 2399 set dummy $ac_prog; ac_word=$2 1873 echo "$as_me:$LINENO: checking for $ac_word" >&51874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2400 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2401 $as_echo_n "checking for $ac_word... " >&6; } 1875 2402 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1876 echo $ECHO_N "(cached) $ECHO_C" >&62403 $as_echo_n "(cached) " >&6 1877 2404 else 1878 2405 if test -n "$ac_ct_CC"; then … … 1885 2412 test -z "$as_dir" && as_dir=. 1886 2413 for ac_exec_ext in '' $ac_executable_extensions; do 1887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1888 2415 ac_cv_prog_ac_ct_CC="$ac_prog" 1889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52416 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1890 2417 break 2 1891 2418 fi 1892 2419 done 1893 2420 done 2421 IFS=$as_save_IFS 1894 2422 1895 2423 fi … … 1897 2425 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1898 2426 if test -n "$ac_ct_CC"; then 1899 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1900 echo "${ECHO_T}$ac_ct_CC" >&6 1901 else 1902 echo "$as_me:$LINENO: result: no" >&5 1903 echo "${ECHO_T}no" >&6 1904 fi 2427 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2428 $as_echo "$ac_ct_CC" >&6; } 2429 else 2430 { $as_echo "$as_me:$LINENO: result: no" >&5 2431 $as_echo "no" >&6; } 2432 fi 2433 1905 2434 1906 2435 test -n "$ac_ct_CC" && break 1907 2436 done 1908 2437 1909 CC=$ac_ct_CC 1910 fi 1911 1912 fi 1913 1914 1915 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2438 if test "x$ac_ct_CC" = x; then 2439 CC="" 2440 else 2441 case $cross_compiling:$ac_tool_warned in 2442 yes:) 2443 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2445 ac_tool_warned=yes ;; 2446 esac 2447 CC=$ac_ct_CC 2448 fi 2449 fi 2450 2451 fi 2452 2453 2454 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2456 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1916 2457 See \`config.log' for more details." >&5 1917 echo "$as_me: error: no acceptable C compiler found in \$PATH2458 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 1918 2459 See \`config.log' for more details." >&2;} 1919 { (exit 1); exit 1; }; } 2460 { (exit 1); exit 1; }; }; } 1920 2461 1921 2462 # Provide some information about the compiler. 1922 echo "$as_me:$LINENO:" \ 1923 "checking for C compiler version" >&5 1924 ac_compiler=`set X $ac_compile; echo $2` 1925 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1926 (eval $ac_compiler --version </dev/null >&5) 2>&5 2463 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2464 set X $ac_compile 2465 ac_compiler=$2 2466 { (ac_try="$ac_compiler --version >&5" 2467 case "(($ac_try" in 2468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2469 *) ac_try_echo=$ac_try;; 2470 esac 2471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2472 $as_echo "$ac_try_echo") >&5 2473 (eval "$ac_compiler --version >&5") 2>&5 1927 2474 ac_status=$? 1928 echo "$as_me:$LINENO: \$? = $ac_status" >&52475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1929 2476 (exit $ac_status); } 1930 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1931 (eval $ac_compiler -v </dev/null >&5) 2>&5 2477 { (ac_try="$ac_compiler -v >&5" 2478 case "(($ac_try" in 2479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2480 *) ac_try_echo=$ac_try;; 2481 esac 2482 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2483 $as_echo "$ac_try_echo") >&5 2484 (eval "$ac_compiler -v >&5") 2>&5 1932 2485 ac_status=$? 1933 echo "$as_me:$LINENO: \$? = $ac_status" >&52486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1934 2487 (exit $ac_status); } 1935 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1936 (eval $ac_compiler -V </dev/null >&5) 2>&5 2488 { (ac_try="$ac_compiler -V >&5" 2489 case "(($ac_try" in 2490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2491 *) ac_try_echo=$ac_try;; 2492 esac 2493 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2494 $as_echo "$ac_try_echo") >&5 2495 (eval "$ac_compiler -V >&5") 2>&5 1937 2496 ac_status=$? 1938 echo "$as_me:$LINENO: \$? = $ac_status" >&52497 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1939 2498 (exit $ac_status); } 1940 2499 … … 1955 2514 _ACEOF 1956 2515 ac_clean_files_save=$ac_clean_files 1957 ac_clean_files="$ac_clean_files a.out a. exe b.out"2516 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 1958 2517 # Try to create an executable without -o first, disregard a.out. 1959 2518 # It will help us diagnose broken compilers, and finding out an intuition 1960 2519 # of exeext. 1961 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1962 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1963 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1964 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1965 (eval $ac_link_default) 2>&5 2520 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2521 $as_echo_n "checking for C compiler default output file name... " >&6; } 2522 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2523 2524 # The possible output files: 2525 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2526 2527 ac_rmfiles= 2528 for ac_file in $ac_files 2529 do 2530 case $ac_file in 2531 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2532 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2533 esac 2534 done 2535 rm -f $ac_rmfiles 2536 2537 if { (ac_try="$ac_link_default" 2538 case "(($ac_try" in 2539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2540 *) ac_try_echo=$ac_try;; 2541 esac 2542 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2543 $as_echo "$ac_try_echo") >&5 2544 (eval "$ac_link_default") 2>&5 1966 2545 ac_status=$? 1967 echo "$as_me:$LINENO: \$? = $ac_status" >&52546 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1968 2547 (exit $ac_status); }; then 1969 # Find the output, starting from the most likely. This scheme is 1970 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1971 # resort. 1972 1973 # Be careful to initialize this variable, since it used to be cached. 1974 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1975 ac_cv_exeext= 1976 # b.out is created by i960 compilers. 1977 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2548 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2549 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2550 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2551 # so that the user can short-circuit this test for compilers unknown to 2552 # Autoconf. 2553 for ac_file in $ac_files '' 1978 2554 do 1979 2555 test -f "$ac_file" || continue 1980 2556 case $ac_file in 1981 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1982 ;; 1983 conftest.$ac_ext ) 1984 # This is the source file. 2557 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 1985 2558 ;; 1986 2559 [ab].out ) … … 1989 2562 break;; 1990 2563 *.* ) 1991 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1992 # FIXME: I believe we export ac_cv_exeext for Libtool, 1993 # but it would be cool to find out if it's true. Does anybody 1994 # maintain Libtool? --akim. 1995 export ac_cv_exeext 2564 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2565 then :; else 2566 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2567 fi 2568 # We set ac_cv_exeext here because the later test for it is not 2569 # safe: cross compilers may not add the suffix if given an `-o' 2570 # argument, so we may need to know it at that point already. 2571 # Even if this section looks crufty: it has the advantage of 2572 # actually working. 1996 2573 break;; 1997 2574 * ) … … 1999 2576 esac 2000 2577 done 2001 else 2002 echo "$as_me: failed program was:" >&5 2578 test "$ac_cv_exeext" = no && ac_cv_exeext= 2579 2580 else 2581 ac_file='' 2582 fi 2583 2584 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2585 $as_echo "$ac_file" >&6; } 2586 if test -z "$ac_file"; then 2587 $as_echo "$as_me: failed program was:" >&5 2003 2588 sed 's/^/| /' conftest.$ac_ext >&5 2004 2589 2005 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2590 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2592 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2006 2593 See \`config.log' for more details." >&5 2007 echo "$as_me: error: C compiler cannot create executables2594 $as_echo "$as_me: error: C compiler cannot create executables 2008 2595 See \`config.log' for more details." >&2;} 2009 { (exit 77); exit 77; }; } 2596 { (exit 77); exit 77; }; }; } 2010 2597 fi 2011 2598 2012 2599 ac_exeext=$ac_cv_exeext 2013 echo "$as_me:$LINENO: result: $ac_file" >&5 2014 echo "${ECHO_T}$ac_file" >&6 2015 2016 # Check the compiler produces executables we can run. If not, either 2600 2601 # Check that the compiler produces executables we can run. If not, either 2017 2602 # the compiler is broken, or we cross compile. 2018 echo "$as_me:$LINENO: checking whether the C compiler works" >&52019 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2603 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2604 $as_echo_n "checking whether the C compiler works... " >&6; } 2020 2605 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2021 2606 # If not cross compiling, check that we can run a simple program. 2022 2607 if test "$cross_compiling" != yes; then 2023 2608 if { ac_try='./$ac_file' 2024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2025 (eval $ac_try) 2>&5 2609 { (case "(($ac_try" in 2610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2611 *) ac_try_echo=$ac_try;; 2612 esac 2613 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2614 $as_echo "$ac_try_echo") >&5 2615 (eval "$ac_try") 2>&5 2026 2616 ac_status=$? 2027 echo "$as_me:$LINENO: \$? = $ac_status" >&52617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2028 2618 (exit $ac_status); }; }; then 2029 2619 cross_compiling=no … … 2032 2622 cross_compiling=yes 2033 2623 else 2034 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2624 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2626 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2035 2627 If you meant to cross compile, use \`--host'. 2036 2628 See \`config.log' for more details." >&5 2037 echo "$as_me: error: cannot run C compiled programs.2629 $as_echo "$as_me: error: cannot run C compiled programs. 2038 2630 If you meant to cross compile, use \`--host'. 2039 2631 See \`config.log' for more details." >&2;} 2040 { (exit 1); exit 1; }; } 2632 { (exit 1); exit 1; }; }; } 2041 2633 fi 2042 2634 fi 2043 2635 fi 2044 echo "$as_me:$LINENO: result: yes" >&52045 echo "${ECHO_T}yes" >&6 2046 2047 rm -f a.outa.exe conftest$ac_cv_exeext b.out2636 { $as_echo "$as_me:$LINENO: result: yes" >&5 2637 $as_echo "yes" >&6; } 2638 2639 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2048 2640 ac_clean_files=$ac_clean_files_save 2049 # Check th e compiler produces executables we can run. If not, either2641 # Check that the compiler produces executables we can run. If not, either 2050 2642 # the compiler is broken, or we cross compile. 2051 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2052 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2053 echo "$as_me:$LINENO: result: $cross_compiling" >&5 2054 echo "${ECHO_T}$cross_compiling" >&6 2055 2056 echo "$as_me:$LINENO: checking for suffix of executables" >&5 2057 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2059 (eval $ac_link) 2>&5 2643 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2644 $as_echo_n "checking whether we are cross compiling... " >&6; } 2645 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2646 $as_echo "$cross_compiling" >&6; } 2647 2648 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2649 $as_echo_n "checking for suffix of executables... " >&6; } 2650 if { (ac_try="$ac_link" 2651 case "(($ac_try" in 2652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2653 *) ac_try_echo=$ac_try;; 2654 esac 2655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2656 $as_echo "$ac_try_echo") >&5 2657 (eval "$ac_link") 2>&5 2060 2658 ac_status=$? 2061 echo "$as_me:$LINENO: \$? = $ac_status" >&52659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2062 2660 (exit $ac_status); }; then 2063 2661 # If both `conftest.exe' and `conftest' are `present' (well, observable) … … 2068 2666 test -f "$ac_file" || continue 2069 2667 case $ac_file in 2070 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2668 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2071 2669 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2072 export ac_cv_exeext2073 2670 break;; 2074 2671 * ) break;; … … 2076 2673 done 2077 2674 else 2078 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2675 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2677 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2079 2678 See \`config.log' for more details." >&5 2080 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link2679 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2081 2680 See \`config.log' for more details." >&2;} 2082 { (exit 1); exit 1; }; } 2681 { (exit 1); exit 1; }; }; } 2083 2682 fi 2084 2683 2085 2684 rm -f conftest$ac_cv_exeext 2086 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52087 echo "${ECHO_T}$ac_cv_exeext" >&6 2685 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2686 $as_echo "$ac_cv_exeext" >&6; } 2088 2687 2089 2688 rm -f conftest.$ac_ext 2090 2689 EXEEXT=$ac_cv_exeext 2091 2690 ac_exeext=$EXEEXT 2092 echo "$as_me:$LINENO: checking for suffix of object files" >&52093 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2691 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2692 $as_echo_n "checking for suffix of object files... " >&6; } 2094 2693 if test "${ac_cv_objext+set}" = set; then 2095 echo $ECHO_N "(cached) $ECHO_C" >&62694 $as_echo_n "(cached) " >&6 2096 2695 else 2097 2696 cat >conftest.$ac_ext <<_ACEOF … … 2111 2710 _ACEOF 2112 2711 rm -f conftest.o conftest.obj 2113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2114 (eval $ac_compile) 2>&5 2712 if { (ac_try="$ac_compile" 2713 case "(($ac_try" in 2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2715 *) ac_try_echo=$ac_try;; 2716 esac 2717 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2718 $as_echo "$ac_try_echo") >&5 2719 (eval "$ac_compile") 2>&5 2115 2720 ac_status=$? 2116 echo "$as_me:$LINENO: \$? = $ac_status" >&52721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2117 2722 (exit $ac_status); }; then 2118 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2723 for ac_file in conftest.o conftest.obj conftest.*; do 2724 test -f "$ac_file" || continue; 2119 2725 case $ac_file in 2120 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2726 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2121 2727 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2122 2728 break;; … … 2124 2730 done 2125 2731 else 2126 echo "$as_me: failed program was:" >&52732 $as_echo "$as_me: failed program was:" >&5 2127 2733 sed 's/^/| /' conftest.$ac_ext >&5 2128 2734 2129 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2735 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2736 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2737 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2130 2738 See \`config.log' for more details." >&5 2131 echo "$as_me: error: cannot compute suffix of object files: cannot compile2739 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2132 2740 See \`config.log' for more details." >&2;} 2133 { (exit 1); exit 1; }; } 2741 { (exit 1); exit 1; }; }; } 2134 2742 fi 2135 2743 2136 2744 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2137 2745 fi 2138 echo "$as_me:$LINENO: result: $ac_cv_objext" >&52139 echo "${ECHO_T}$ac_cv_objext" >&6 2746 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2747 $as_echo "$ac_cv_objext" >&6; } 2140 2748 OBJEXT=$ac_cv_objext 2141 2749 ac_objext=$OBJEXT 2142 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52143 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2750 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2751 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2144 2752 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2145 echo $ECHO_N "(cached) $ECHO_C" >&62753 $as_echo_n "(cached) " >&6 2146 2754 else 2147 2755 cat >conftest.$ac_ext <<_ACEOF … … 2164 2772 _ACEOF 2165 2773 rm -f conftest.$ac_objext 2166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2167 (eval $ac_compile) 2>conftest.er1 2774 if { (ac_try="$ac_compile" 2775 case "(($ac_try" in 2776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2777 *) ac_try_echo=$ac_try;; 2778 esac 2779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2780 $as_echo "$ac_try_echo") >&5 2781 (eval "$ac_compile") 2>conftest.er1 2168 2782 ac_status=$? 2169 2783 grep -v '^ *+' conftest.er1 >conftest.err 2170 2784 rm -f conftest.er1 2171 2785 cat conftest.err >&5 2172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2173 (exit $ac_status); } && 2174 { ac_try='test -z "$ac_c_werror_flag" 2175 || test ! -s conftest.err' 2176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2177 (eval $ac_try) 2>&5 2178 ac_status=$? 2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2180 (exit $ac_status); }; } && 2181 { ac_try='test -s conftest.$ac_objext' 2182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2183 (eval $ac_try) 2>&5 2184 ac_status=$? 2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2186 (exit $ac_status); }; }; then 2786 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2787 (exit $ac_status); } && { 2788 test -z "$ac_c_werror_flag" || 2789 test ! -s conftest.err 2790 } && test -s conftest.$ac_objext; then 2187 2791 ac_compiler_gnu=yes 2188 2792 else 2189 echo "$as_me: failed program was:" >&52793 $as_echo "$as_me: failed program was:" >&5 2190 2794 sed 's/^/| /' conftest.$ac_ext >&5 2191 2795 2192 ac_compiler_gnu=no 2193 fi 2194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2796 ac_compiler_gnu=no 2797 fi 2798 2799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2195 2800 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2196 2801 2197 2802 fi 2198 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2199 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2200 GCC=`test $ac_compiler_gnu = yes && echo yes` 2803 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2804 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2805 if test $ac_compiler_gnu = yes; then 2806 GCC=yes 2807 else 2808 GCC= 2809 fi 2201 2810 ac_test_CFLAGS=${CFLAGS+set} 2202 2811 ac_save_CFLAGS=$CFLAGS 2203 CFLAGS="-g" 2204 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2205 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2812 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2813 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2206 2814 if test "${ac_cv_prog_cc_g+set}" = set; then 2207 echo $ECHO_N "(cached) $ECHO_C" >&6 2208 else 2209 cat >conftest.$ac_ext <<_ACEOF 2815 $as_echo_n "(cached) " >&6 2816 else 2817 ac_save_c_werror_flag=$ac_c_werror_flag 2818 ac_c_werror_flag=yes 2819 ac_cv_prog_cc_g=no 2820 CFLAGS="-g" 2821 cat >conftest.$ac_ext <<_ACEOF 2210 2822 /* confdefs.h. */ 2211 2823 _ACEOF … … 2223 2835 _ACEOF 2224 2836 rm -f conftest.$ac_objext 2225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2226 (eval $ac_compile) 2>conftest.er1 2837 if { (ac_try="$ac_compile" 2838 case "(($ac_try" in 2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2840 *) ac_try_echo=$ac_try;; 2841 esac 2842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2843 $as_echo "$ac_try_echo") >&5 2844 (eval "$ac_compile") 2>conftest.er1 2227 2845 ac_status=$? 2228 2846 grep -v '^ *+' conftest.er1 >conftest.err 2229 2847 rm -f conftest.er1 2230 2848 cat conftest.err >&5 2231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2232 (exit $ac_status); } && 2233 { ac_try='test -z "$ac_c_werror_flag" 2234 || test ! -s conftest.err' 2235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2236 (eval $ac_try) 2>&5 2849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2850 (exit $ac_status); } && { 2851 test -z "$ac_c_werror_flag" || 2852 test ! -s conftest.err 2853 } && test -s conftest.$ac_objext; then 2854 ac_cv_prog_cc_g=yes 2855 else 2856 $as_echo "$as_me: failed program was:" >&5 2857 sed 's/^/| /' conftest.$ac_ext >&5 2858 2859 CFLAGS="" 2860 cat >conftest.$ac_ext <<_ACEOF 2861 /* confdefs.h. */ 2862 _ACEOF 2863 cat confdefs.h >>conftest.$ac_ext 2864 cat >>conftest.$ac_ext <<_ACEOF 2865 /* end confdefs.h. */ 2866 2867 int 2868 main () 2869 { 2870 2871 ; 2872 return 0; 2873 } 2874 _ACEOF 2875 rm -f conftest.$ac_objext 2876 if { (ac_try="$ac_compile" 2877 case "(($ac_try" in 2878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2879 *) ac_try_echo=$ac_try;; 2880 esac 2881 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2882 $as_echo "$ac_try_echo") >&5 2883 (eval "$ac_compile") 2>conftest.er1 2237 2884 ac_status=$? 2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2239 (exit $ac_status); }; } && 2240 { ac_try='test -s conftest.$ac_objext' 2241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2242 (eval $ac_try) 2>&5 2885 grep -v '^ *+' conftest.er1 >conftest.err 2886 rm -f conftest.er1 2887 cat conftest.err >&5 2888 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2889 (exit $ac_status); } && { 2890 test -z "$ac_c_werror_flag" || 2891 test ! -s conftest.err 2892 } && test -s conftest.$ac_objext; then 2893 : 2894 else 2895 $as_echo "$as_me: failed program was:" >&5 2896 sed 's/^/| /' conftest.$ac_ext >&5 2897 2898 ac_c_werror_flag=$ac_save_c_werror_flag 2899 CFLAGS="-g" 2900 cat >conftest.$ac_ext <<_ACEOF 2901 /* confdefs.h. */ 2902 _ACEOF 2903 cat confdefs.h >>conftest.$ac_ext 2904 cat >>conftest.$ac_ext <<_ACEOF 2905 /* end confdefs.h. */ 2906 2907 int 2908 main () 2909 { 2910 2911 ; 2912 return 0; 2913 } 2914 _ACEOF 2915 rm -f conftest.$ac_objext 2916 if { (ac_try="$ac_compile" 2917 case "(($ac_try" in 2918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2919 *) ac_try_echo=$ac_try;; 2920 esac 2921 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2922 $as_echo "$ac_try_echo") >&5 2923 (eval "$ac_compile") 2>conftest.er1 2243 2924 ac_status=$? 2244 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2245 (exit $ac_status); }; }; then 2925 grep -v '^ *+' conftest.er1 >conftest.err 2926 rm -f conftest.er1 2927 cat conftest.err >&5 2928 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2929 (exit $ac_status); } && { 2930 test -z "$ac_c_werror_flag" || 2931 test ! -s conftest.err 2932 } && test -s conftest.$ac_objext; then 2246 2933 ac_cv_prog_cc_g=yes 2247 2934 else 2248 echo "$as_me: failed program was:" >&52935 $as_echo "$as_me: failed program was:" >&5 2249 2936 sed 's/^/| /' conftest.$ac_ext >&5 2250 2937 2251 ac_cv_prog_cc_g=no 2252 fi 2253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2254 fi 2255 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2256 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2938 2939 fi 2940 2941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2942 fi 2943 2944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2945 fi 2946 2947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2948 ac_c_werror_flag=$ac_save_c_werror_flag 2949 fi 2950 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2951 $as_echo "$ac_cv_prog_cc_g" >&6; } 2257 2952 if test "$ac_test_CFLAGS" = set; then 2258 2953 CFLAGS=$ac_save_CFLAGS … … 2270 2965 fi 2271 2966 fi 2272 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52273 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2274 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2275 echo $ECHO_N "(cached) $ECHO_C" >&62276 else 2277 ac_cv_prog_cc_ stdc=no2967 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2968 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2969 if test "${ac_cv_prog_cc_c89+set}" = set; then 2970 $as_echo_n "(cached) " >&6 2971 else 2972 ac_cv_prog_cc_c89=no 2278 2973 ac_save_CC=$CC 2279 2974 cat >conftest.$ac_ext <<_ACEOF … … 2309 3004 function prototypes and stuff, but not '\xHH' hex character constants. 2310 3005 These don't provoke an error unfortunately, instead are silently treated 2311 as 'x'. The following induces an error, until -std 1is added to get3006 as 'x'. The following induces an error, until -std is added to get 2312 3007 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2313 3008 array size at least. It's necessary to write '\x00'==0 to get something 2314 that's true only with -std 1. */3009 that's true only with -std. */ 2315 3010 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3011 3012 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3013 inside strings and character constants. */ 3014 #define FOO(x) 'x' 3015 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2316 3016 2317 3017 int test (int i, double x); … … 2329 3029 } 2330 3030 _ACEOF 2331 # Don't try gcc -ansi; that turns off useful extensions and 2332 # breaks some systems' header files. 2333 # AIX -qlanglvl=ansi 2334 # Ultrix and OSF/1 -std1 2335 # HP-UX 10.20 and later -Ae 2336 # HP-UX older versions -Aa -D_HPUX_SOURCE 2337 # SVR4 -Xc -D__EXTENSIONS__ 2338 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3031 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3032 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2339 3033 do 2340 3034 CC="$ac_save_CC $ac_arg" 2341 3035 rm -f conftest.$ac_objext 2342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2343 (eval $ac_compile) 2>conftest.er1 3036 if { (ac_try="$ac_compile" 3037 case "(($ac_try" in 3038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3039 *) ac_try_echo=$ac_try;; 3040 esac 3041 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3042 $as_echo "$ac_try_echo") >&5 3043 (eval "$ac_compile") 2>conftest.er1 2344 3044 ac_status=$? 2345 3045 grep -v '^ *+' conftest.er1 >conftest.err 2346 3046 rm -f conftest.er1 2347 3047 cat conftest.err >&5 2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2349 (exit $ac_status); } && 2350 { ac_try='test -z "$ac_c_werror_flag" 2351 || test ! -s conftest.err' 2352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2353 (eval $ac_try) 2>&5 2354 ac_status=$? 2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2356 (exit $ac_status); }; } && 2357 { ac_try='test -s conftest.$ac_objext' 2358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2359 (eval $ac_try) 2>&5 2360 ac_status=$? 2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2362 (exit $ac_status); }; }; then 2363 ac_cv_prog_cc_stdc=$ac_arg 2364 break 2365 else 2366 echo "$as_me: failed program was:" >&5 3048 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3049 (exit $ac_status); } && { 3050 test -z "$ac_c_werror_flag" || 3051 test ! -s conftest.err 3052 } && test -s conftest.$ac_objext; then 3053 ac_cv_prog_cc_c89=$ac_arg 3054 else 3055 $as_echo "$as_me: failed program was:" >&5 2367 3056 sed 's/^/| /' conftest.$ac_ext >&5 2368 3057 2369 fi 2370 rm -f conftest.err conftest.$ac_objext 3058 3059 fi 3060 3061 rm -f core conftest.err conftest.$ac_objext 3062 test "x$ac_cv_prog_cc_c89" != "xno" && break 2371 3063 done 2372 rm -f conftest.$ac_ext conftest.$ac_objext3064 rm -f conftest.$ac_ext 2373 3065 CC=$ac_save_CC 2374 3066 2375 3067 fi 2376 2377 case "x$ac_cv_prog_cc_stdc" in 2378 x|xno) 2379 echo "$as_me:$LINENO: result: none needed" >&5 2380 echo "${ECHO_T}none needed" >&6 ;; 3068 # AC_CACHE_VAL 3069 case "x$ac_cv_prog_cc_c89" in 3070 x) 3071 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3072 $as_echo "none needed" >&6; } ;; 3073 xno) 3074 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3075 $as_echo "unsupported" >&6; } ;; 2381 3076 *) 2382 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2383 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2384 CC="$CC $ac_cv_prog_cc_stdc" ;; 2385 esac 2386 2387 # Some people use a C++ compiler to compile C. Since we use `exit', 2388 # in C++ we need to declare it. In case someone uses the same compiler 2389 # for both compiling C and C++ we need to have the C++ compiler decide 2390 # the declaration of exit, since it's the most demanding environment. 2391 cat >conftest.$ac_ext <<_ACEOF 2392 #ifndef __cplusplus 2393 choke me 2394 #endif 2395 _ACEOF 2396 rm -f conftest.$ac_objext 2397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2398 (eval $ac_compile) 2>conftest.er1 2399 ac_status=$? 2400 grep -v '^ *+' conftest.er1 >conftest.err 2401 rm -f conftest.er1 2402 cat conftest.err >&5 2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2404 (exit $ac_status); } && 2405 { ac_try='test -z "$ac_c_werror_flag" 2406 || test ! -s conftest.err' 2407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2408 (eval $ac_try) 2>&5 2409 ac_status=$? 2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2411 (exit $ac_status); }; } && 2412 { ac_try='test -s conftest.$ac_objext' 2413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2414 (eval $ac_try) 2>&5 2415 ac_status=$? 2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2417 (exit $ac_status); }; }; then 2418 for ac_declaration in \ 2419 '' \ 2420 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2421 'extern "C" void std::exit (int); using std::exit;' \ 2422 'extern "C" void exit (int) throw ();' \ 2423 'extern "C" void exit (int);' \ 2424 'void exit (int);' 2425 do 2426 cat >conftest.$ac_ext <<_ACEOF 2427 /* confdefs.h. */ 2428 _ACEOF 2429 cat confdefs.h >>conftest.$ac_ext 2430 cat >>conftest.$ac_ext <<_ACEOF 2431 /* end confdefs.h. */ 2432 $ac_declaration 2433 #include <stdlib.h> 2434 int 2435 main () 2436 { 2437 exit (42); 2438 ; 2439 return 0; 2440 } 2441 _ACEOF 2442 rm -f conftest.$ac_objext 2443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2444 (eval $ac_compile) 2>conftest.er1 2445 ac_status=$? 2446 grep -v '^ *+' conftest.er1 >conftest.err 2447 rm -f conftest.er1 2448 cat conftest.err >&5 2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2450 (exit $ac_status); } && 2451 { ac_try='test -z "$ac_c_werror_flag" 2452 || test ! -s conftest.err' 2453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2454 (eval $ac_try) 2>&5 2455 ac_status=$? 2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2457 (exit $ac_status); }; } && 2458 { ac_try='test -s conftest.$ac_objext' 2459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2460 (eval $ac_try) 2>&5 2461 ac_status=$? 2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2463 (exit $ac_status); }; }; then 2464 : 2465 else 2466 echo "$as_me: failed program was:" >&5 2467 sed 's/^/| /' conftest.$ac_ext >&5 2468 2469 continue 2470 fi 2471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2472 cat >conftest.$ac_ext <<_ACEOF 2473 /* confdefs.h. */ 2474 _ACEOF 2475 cat confdefs.h >>conftest.$ac_ext 2476 cat >>conftest.$ac_ext <<_ACEOF 2477 /* end confdefs.h. */ 2478 $ac_declaration 2479 int 2480 main () 2481 { 2482 exit (42); 2483 ; 2484 return 0; 2485 } 2486 _ACEOF 2487 rm -f conftest.$ac_objext 2488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2489 (eval $ac_compile) 2>conftest.er1 2490 ac_status=$? 2491 grep -v '^ *+' conftest.er1 >conftest.err 2492 rm -f conftest.er1 2493 cat conftest.err >&5 2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2495 (exit $ac_status); } && 2496 { ac_try='test -z "$ac_c_werror_flag" 2497 || test ! -s conftest.err' 2498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2499 (eval $ac_try) 2>&5 2500 ac_status=$? 2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2502 (exit $ac_status); }; } && 2503 { ac_try='test -s conftest.$ac_objext' 2504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2505 (eval $ac_try) 2>&5 2506 ac_status=$? 2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2508 (exit $ac_status); }; }; then 2509 break 2510 else 2511 echo "$as_me: failed program was:" >&5 2512 sed 's/^/| /' conftest.$ac_ext >&5 2513 2514 fi 2515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2516 done 2517 rm -f conftest* 2518 if test -n "$ac_declaration"; then 2519 echo '#ifdef __cplusplus' >>confdefs.h 2520 echo $ac_declaration >>confdefs.h 2521 echo '#endif' >>confdefs.h 2522 fi 2523 2524 else 2525 echo "$as_me: failed program was:" >&5 2526 sed 's/^/| /' conftest.$ac_ext >&5 2527 2528 fi 2529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3077 CC="$CC $ac_cv_prog_cc_c89" 3078 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3079 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3080 esac 3081 3082 2530 3083 ac_ext=c 2531 3084 ac_cpp='$CPP $CPPFLAGS' … … 2534 3087 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2535 3088 2536 ac_ext=c c3089 ac_ext=cpp 2537 3090 ac_cpp='$CXXCPP $CPPFLAGS' 2538 3091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2539 3092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2540 3093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2541 if test -n "$ac_tool_prefix"; then 2542 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 3094 if test -z "$CXX"; then 3095 if test -n "$CCC"; then 3096 CXX=$CCC 3097 else 3098 if test -n "$ac_tool_prefix"; then 3099 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2543 3100 do 2544 3101 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2545 3102 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2546 echo "$as_me:$LINENO: checking for $ac_word" >&52547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3103 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3104 $as_echo_n "checking for $ac_word... " >&6; } 2548 3105 if test "${ac_cv_prog_CXX+set}" = set; then 2549 echo $ECHO_N "(cached) $ECHO_C" >&63106 $as_echo_n "(cached) " >&6 2550 3107 else 2551 3108 if test -n "$CXX"; then … … 2558 3115 test -z "$as_dir" && as_dir=. 2559 3116 for ac_exec_ext in '' $ac_executable_extensions; do 2560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2561 3118 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53119 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2563 3120 break 2 2564 3121 fi 2565 3122 done 2566 3123 done 3124 IFS=$as_save_IFS 2567 3125 2568 3126 fi … … 2570 3128 CXX=$ac_cv_prog_CXX 2571 3129 if test -n "$CXX"; then 2572 echo "$as_me:$LINENO: result: $CXX" >&5 2573 echo "${ECHO_T}$CXX" >&6 2574 else 2575 echo "$as_me:$LINENO: result: no" >&5 2576 echo "${ECHO_T}no" >&6 2577 fi 3130 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 3131 $as_echo "$CXX" >&6; } 3132 else 3133 { $as_echo "$as_me:$LINENO: result: no" >&5 3134 $as_echo "no" >&6; } 3135 fi 3136 2578 3137 2579 3138 test -n "$CXX" && break … … 2582 3141 if test -z "$CXX"; then 2583 3142 ac_ct_CXX=$CXX 2584 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ clFCC KCC RCC xlC_r xlC3143 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2585 3144 do 2586 3145 # Extract the first word of "$ac_prog", so it can be a program name with args. 2587 3146 set dummy $ac_prog; ac_word=$2 2588 echo "$as_me:$LINENO: checking for $ac_word" >&52589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3147 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3148 $as_echo_n "checking for $ac_word... " >&6; } 2590 3149 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2591 echo $ECHO_N "(cached) $ECHO_C" >&63150 $as_echo_n "(cached) " >&6 2592 3151 else 2593 3152 if test -n "$ac_ct_CXX"; then … … 2600 3159 test -z "$as_dir" && as_dir=. 2601 3160 for ac_exec_ext in '' $ac_executable_extensions; do 2602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2603 3162 ac_cv_prog_ac_ct_CXX="$ac_prog" 2604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53163 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2605 3164 break 2 2606 3165 fi 2607 3166 done 2608 3167 done 3168 IFS=$as_save_IFS 2609 3169 2610 3170 fi … … 2612 3172 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2613 3173 if test -n "$ac_ct_CXX"; then 2614 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2615 echo "${ECHO_T}$ac_ct_CXX" >&6 2616 else 2617 echo "$as_me:$LINENO: result: no" >&5 2618 echo "${ECHO_T}no" >&6 2619 fi 3174 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 3175 $as_echo "$ac_ct_CXX" >&6; } 3176 else 3177 { $as_echo "$as_me:$LINENO: result: no" >&5 3178 $as_echo "no" >&6; } 3179 fi 3180 2620 3181 2621 3182 test -n "$ac_ct_CXX" && break 2622 3183 done 2623 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2624 2625 CXX=$ac_ct_CXX 2626 fi 2627 2628 3184 3185 if test "x$ac_ct_CXX" = x; then 3186 CXX="g++" 3187 else 3188 case $cross_compiling:$ac_tool_warned in 3189 yes:) 3190 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3192 ac_tool_warned=yes ;; 3193 esac 3194 CXX=$ac_ct_CXX 3195 fi 3196 fi 3197 3198 fi 3199 fi 2629 3200 # Provide some information about the compiler. 2630 echo "$as_me:$LINENO:" \ 2631 "checking for C++ compiler version" >&5 2632 ac_compiler=`set X $ac_compile; echo $2` 2633 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2634 (eval $ac_compiler --version </dev/null >&5) 2>&5 3201 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3202 set X $ac_compile 3203 ac_compiler=$2 3204 { (ac_try="$ac_compiler --version >&5" 3205 case "(($ac_try" in 3206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3207 *) ac_try_echo=$ac_try;; 3208 esac 3209 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3210 $as_echo "$ac_try_echo") >&5 3211 (eval "$ac_compiler --version >&5") 2>&5 2635 3212 ac_status=$? 2636 echo "$as_me:$LINENO: \$? = $ac_status" >&53213 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2637 3214 (exit $ac_status); } 2638 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2639 (eval $ac_compiler -v </dev/null >&5) 2>&5 3215 { (ac_try="$ac_compiler -v >&5" 3216 case "(($ac_try" in 3217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3218 *) ac_try_echo=$ac_try;; 3219 esac 3220 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3221 $as_echo "$ac_try_echo") >&5 3222 (eval "$ac_compiler -v >&5") 2>&5 2640 3223 ac_status=$? 2641 echo "$as_me:$LINENO: \$? = $ac_status" >&53224 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2642 3225 (exit $ac_status); } 2643 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2644 (eval $ac_compiler -V </dev/null >&5) 2>&5 3226 { (ac_try="$ac_compiler -V >&5" 3227 case "(($ac_try" in 3228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3229 *) ac_try_echo=$ac_try;; 3230 esac 3231 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3232 $as_echo "$ac_try_echo") >&5 3233 (eval "$ac_compiler -V >&5") 2>&5 2645 3234 ac_status=$? 2646 echo "$as_me:$LINENO: \$? = $ac_status" >&53235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2647 3236 (exit $ac_status); } 2648 3237 2649 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&52650 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 3238 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3239 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 2651 3240 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2652 echo $ECHO_N "(cached) $ECHO_C" >&63241 $as_echo_n "(cached) " >&6 2653 3242 else 2654 3243 cat >conftest.$ac_ext <<_ACEOF … … 2671 3260 _ACEOF 2672 3261 rm -f conftest.$ac_objext 2673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2674 (eval $ac_compile) 2>conftest.er1 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 2675 3270 ac_status=$? 2676 3271 grep -v '^ *+' conftest.er1 >conftest.err 2677 3272 rm -f conftest.er1 2678 3273 cat conftest.err >&5 2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2680 (exit $ac_status); } && 2681 { ac_try='test -z "$ac_cxx_werror_flag" 2682 || test ! -s conftest.err' 2683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2684 (eval $ac_try) 2>&5 2685 ac_status=$? 2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2687 (exit $ac_status); }; } && 2688 { ac_try='test -s conftest.$ac_objext' 2689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2690 (eval $ac_try) 2>&5 2691 ac_status=$? 2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2693 (exit $ac_status); }; }; then 3274 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3275 (exit $ac_status); } && { 3276 test -z "$ac_cxx_werror_flag" || 3277 test ! -s conftest.err 3278 } && test -s conftest.$ac_objext; then 2694 3279 ac_compiler_gnu=yes 2695 3280 else 2696 echo "$as_me: failed program was:" >&53281 $as_echo "$as_me: failed program was:" >&5 2697 3282 sed 's/^/| /' conftest.$ac_ext >&5 2698 3283 2699 ac_compiler_gnu=no 2700 fi 2701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3284 ac_compiler_gnu=no 3285 fi 3286 3287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2702 3288 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2703 3289 2704 3290 fi 2705 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2706 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2707 GXX=`test $ac_compiler_gnu = yes && echo yes` 3291 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3292 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3293 if test $ac_compiler_gnu = yes; then 3294 GXX=yes 3295 else 3296 GXX= 3297 fi 2708 3298 ac_test_CXXFLAGS=${CXXFLAGS+set} 2709 3299 ac_save_CXXFLAGS=$CXXFLAGS 2710 CXXFLAGS="-g" 2711 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2712 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 3300 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3301 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 2713 3302 if test "${ac_cv_prog_cxx_g+set}" = set; then 2714 echo $ECHO_N "(cached) $ECHO_C" >&6 2715 else 2716 cat >conftest.$ac_ext <<_ACEOF 3303 $as_echo_n "(cached) " >&6 3304 else 3305 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3306 ac_cxx_werror_flag=yes 3307 ac_cv_prog_cxx_g=no 3308 CXXFLAGS="-g" 3309 cat >conftest.$ac_ext <<_ACEOF 2717 3310 /* confdefs.h. */ 2718 3311 _ACEOF … … 2730 3323 _ACEOF 2731 3324 rm -f conftest.$ac_objext 2732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2733 (eval $ac_compile) 2>conftest.er1 3325 if { (ac_try="$ac_compile" 3326 case "(($ac_try" in 3327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3328 *) ac_try_echo=$ac_try;; 3329 esac 3330 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3331 $as_echo "$ac_try_echo") >&5 3332 (eval "$ac_compile") 2>conftest.er1 2734 3333 ac_status=$? 2735 3334 grep -v '^ *+' conftest.er1 >conftest.err 2736 3335 rm -f conftest.er1 2737 3336 cat conftest.err >&5 2738 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2739 (exit $ac_status); } && 2740 { ac_try='test -z "$ac_cxx_werror_flag" 2741 || test ! -s conftest.err' 2742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2743 (eval $ac_try) 2>&5 3337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3338 (exit $ac_status); } && { 3339 test -z "$ac_cxx_werror_flag" || 3340 test ! -s conftest.err 3341 } && test -s conftest.$ac_objext; then 3342 ac_cv_prog_cxx_g=yes 3343 else 3344 $as_echo "$as_me: failed program was:" >&5 3345 sed 's/^/| /' conftest.$ac_ext >&5 3346 3347 CXXFLAGS="" 3348 cat >conftest.$ac_ext <<_ACEOF 3349 /* confdefs.h. */ 3350 _ACEOF 3351 cat confdefs.h >>conftest.$ac_ext 3352 cat >>conftest.$ac_ext <<_ACEOF 3353 /* end confdefs.h. */ 3354 3355 int 3356 main () 3357 { 3358 3359 ; 3360 return 0; 3361 } 3362 _ACEOF 3363 rm -f conftest.$ac_objext 3364 if { (ac_try="$ac_compile" 3365 case "(($ac_try" in 3366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3367 *) ac_try_echo=$ac_try;; 3368 esac 3369 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3370 $as_echo "$ac_try_echo") >&5 3371 (eval "$ac_compile") 2>conftest.er1 2744 3372 ac_status=$? 2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2746 (exit $ac_status); }; } && 2747 { ac_try='test -s conftest.$ac_objext' 2748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2749 (eval $ac_try) 2>&5 3373 grep -v '^ *+' conftest.er1 >conftest.err 3374 rm -f conftest.er1 3375 cat conftest.err >&5 3376 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3377 (exit $ac_status); } && { 3378 test -z "$ac_cxx_werror_flag" || 3379 test ! -s conftest.err 3380 } && test -s conftest.$ac_objext; then 3381 : 3382 else 3383 $as_echo "$as_me: failed program was:" >&5 3384 sed 's/^/| /' conftest.$ac_ext >&5 3385 3386 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3387 CXXFLAGS="-g" 3388 cat >conftest.$ac_ext <<_ACEOF 3389 /* confdefs.h. */ 3390 _ACEOF 3391 cat confdefs.h >>conftest.$ac_ext 3392 cat >>conftest.$ac_ext <<_ACEOF 3393 /* end confdefs.h. */ 3394 3395 int 3396 main () 3397 { 3398 3399 ; 3400 return 0; 3401 } 3402 _ACEOF 3403 rm -f conftest.$ac_objext 3404 if { (ac_try="$ac_compile" 3405 case "(($ac_try" in 3406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3407 *) ac_try_echo=$ac_try;; 3408 esac 3409 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3410 $as_echo "$ac_try_echo") >&5 3411 (eval "$ac_compile") 2>conftest.er1 2750 3412 ac_status=$? 2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2752 (exit $ac_status); }; }; then 3413 grep -v '^ *+' conftest.er1 >conftest.err 3414 rm -f conftest.er1 3415 cat conftest.err >&5 3416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3417 (exit $ac_status); } && { 3418 test -z "$ac_cxx_werror_flag" || 3419 test ! -s conftest.err 3420 } && test -s conftest.$ac_objext; then 2753 3421 ac_cv_prog_cxx_g=yes 2754 3422 else 2755 echo "$as_me: failed program was:" >&53423 $as_echo "$as_me: failed program was:" >&5 2756 3424 sed 's/^/| /' conftest.$ac_ext >&5 2757 3425 2758 ac_cv_prog_cxx_g=no 2759 fi 2760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2761 fi 2762 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2763 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3426 3427 fi 3428 3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3430 fi 3431 3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3433 fi 3434 3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3436 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3437 fi 3438 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3439 $as_echo "$ac_cv_prog_cxx_g" >&6; } 2764 3440 if test "$ac_test_CXXFLAGS" = set; then 2765 3441 CXXFLAGS=$ac_save_CXXFLAGS … … 2777 3453 fi 2778 3454 fi 2779 for ac_declaration in \2780 '' \2781 'extern "C" void std::exit (int) throw (); using std::exit;' \2782 'extern "C" void std::exit (int); using std::exit;' \2783 'extern "C" void exit (int) throw ();' \2784 'extern "C" void exit (int);' \2785 'void exit (int);'2786 do2787 cat >conftest.$ac_ext <<_ACEOF2788 /* confdefs.h. */2789 _ACEOF2790 cat confdefs.h >>conftest.$ac_ext2791 cat >>conftest.$ac_ext <<_ACEOF2792 /* end confdefs.h. */2793 $ac_declaration2794 #include <stdlib.h>2795 int2796 main ()2797 {2798 exit (42);2799 ;2800 return 0;2801 }2802 _ACEOF2803 rm -f conftest.$ac_objext2804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52805 (eval $ac_compile) 2>conftest.er12806 ac_status=$?2807 grep -v '^ *+' conftest.er1 >conftest.err2808 rm -f conftest.er12809 cat conftest.err >&52810 echo "$as_me:$LINENO: \$? = $ac_status" >&52811 (exit $ac_status); } &&2812 { ac_try='test -z "$ac_cxx_werror_flag"2813 || test ! -s conftest.err'2814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52815 (eval $ac_try) 2>&52816 ac_status=$?2817 echo "$as_me:$LINENO: \$? = $ac_status" >&52818 (exit $ac_status); }; } &&2819 { ac_try='test -s conftest.$ac_objext'2820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52821 (eval $ac_try) 2>&52822 ac_status=$?2823 echo "$as_me:$LINENO: \$? = $ac_status" >&52824 (exit $ac_status); }; }; then2825 :2826 else2827 echo "$as_me: failed program was:" >&52828 sed 's/^/| /' conftest.$ac_ext >&52829 2830 continue2831 fi2832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2833 cat >conftest.$ac_ext <<_ACEOF2834 /* confdefs.h. */2835 _ACEOF2836 cat confdefs.h >>conftest.$ac_ext2837 cat >>conftest.$ac_ext <<_ACEOF2838 /* end confdefs.h. */2839 $ac_declaration2840 int2841 main ()2842 {2843 exit (42);2844 ;2845 return 0;2846 }2847 _ACEOF2848 rm -f conftest.$ac_objext2849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52850 (eval $ac_compile) 2>conftest.er12851 ac_status=$?2852 grep -v '^ *+' conftest.er1 >conftest.err2853 rm -f conftest.er12854 cat conftest.err >&52855 echo "$as_me:$LINENO: \$? = $ac_status" >&52856 (exit $ac_status); } &&2857 { ac_try='test -z "$ac_cxx_werror_flag"2858 || test ! -s conftest.err'2859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52860 (eval $ac_try) 2>&52861 ac_status=$?2862 echo "$as_me:$LINENO: \$? = $ac_status" >&52863 (exit $ac_status); }; } &&2864 { ac_try='test -s conftest.$ac_objext'2865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52866 (eval $ac_try) 2>&52867 ac_status=$?2868 echo "$as_me:$LINENO: \$? = $ac_status" >&52869 (exit $ac_status); }; }; then2870 break2871 else2872 echo "$as_me: failed program was:" >&52873 sed 's/^/| /' conftest.$ac_ext >&52874 2875 fi2876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2877 done2878 rm -f conftest*2879 if test -n "$ac_declaration"; then2880 echo '#ifdef __cplusplus' >>confdefs.h2881 echo $ac_declaration >>confdefs.h2882 echo '#endif' >>confdefs.h2883 fi2884 2885 3455 ac_ext=c 2886 3456 ac_cpp='$CPP $CPPFLAGS' … … 2898 3468 # Extract the first word of "$ac_prog", so it can be a program name with args. 2899 3469 set dummy $ac_prog; ac_word=$2 2900 echo "$as_me:$LINENO: checking for $ac_word" >&52901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3470 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3471 $as_echo_n "checking for $ac_word... " >&6; } 2902 3472 if test "${ac_cv_prog_JAVA+set}" = set; then 2903 echo $ECHO_N "(cached) $ECHO_C" >&63473 $as_echo_n "(cached) " >&6 2904 3474 else 2905 3475 if test -n "$JAVA"; then … … 2912 3482 test -z "$as_dir" && as_dir=. 2913 3483 for ac_exec_ext in '' $ac_executable_extensions; do 2914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2915 3485 ac_cv_prog_JAVA="$ac_prog" 2916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53486 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2917 3487 break 2 2918 3488 fi 2919 3489 done 2920 3490 done 3491 IFS=$as_save_IFS 2921 3492 2922 3493 fi … … 2924 3495 JAVA=$ac_cv_prog_JAVA 2925 3496 if test -n "$JAVA"; then 2926 echo "$as_me:$LINENO: result: $JAVA" >&5 2927 echo "${ECHO_T}$JAVA" >&6 2928 else 2929 echo "$as_me:$LINENO: result: no" >&5 2930 echo "${ECHO_T}no" >&6 2931 fi 3497 { $as_echo "$as_me:$LINENO: result: $JAVA" >&5 3498 $as_echo "$JAVA" >&6; } 3499 else 3500 { $as_echo "$as_me:$LINENO: result: no" >&5 3501 $as_echo "no" >&6; } 3502 fi 3503 2932 3504 2933 3505 test -n "$JAVA" && break … … 2939 3511 # Extract the first word of "$ac_prog", so it can be a program name with args. 2940 3512 set dummy $ac_prog; ac_word=$2 2941 echo "$as_me:$LINENO: checking for $ac_word" >&52942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3513 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3514 $as_echo_n "checking for $ac_word... " >&6; } 2943 3515 if test "${ac_cv_prog_JAVA+set}" = set; then 2944 echo $ECHO_N "(cached) $ECHO_C" >&63516 $as_echo_n "(cached) " >&6 2945 3517 else 2946 3518 if test -n "$JAVA"; then … … 2953 3525 test -z "$as_dir" && as_dir=. 2954 3526 for ac_exec_ext in '' $ac_executable_extensions; do 2955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2956 3528 ac_cv_prog_JAVA="$ac_prog" 2957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53529 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2958 3530 break 2 2959 3531 fi 2960 3532 done 2961 3533 done 3534 IFS=$as_save_IFS 2962 3535 2963 3536 fi … … 2965 3538 JAVA=$ac_cv_prog_JAVA 2966 3539 if test -n "$JAVA"; then 2967 echo "$as_me:$LINENO: result: $JAVA" >&5 2968 echo "${ECHO_T}$JAVA" >&6 2969 else 2970 echo "$as_me:$LINENO: result: no" >&5 2971 echo "${ECHO_T}no" >&6 2972 fi 3540 { $as_echo "$as_me:$LINENO: result: $JAVA" >&5 3541 $as_echo "$JAVA" >&6; } 3542 else 3543 { $as_echo "$as_me:$LINENO: result: no" >&5 3544 $as_echo "no" >&6; } 3545 fi 3546 2973 3547 2974 3548 test -n "$JAVA" && break … … 2977 3551 2978 3552 fi 2979 test x$JAVA = x && { { echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&52980 echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;}3553 test x$JAVA = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5 3554 $as_echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;} 2981 3555 { (exit 1); exit 1; }; } 2982 3556 fi … … 2985 3559 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args. 2986 3560 set dummy uudecode$EXEEXT; ac_word=$2 2987 echo "$as_me:$LINENO: checking for $ac_word" >&52988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3561 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3562 $as_echo_n "checking for $ac_word... " >&6; } 2989 3563 if test "${ac_cv_prog_uudecode+set}" = set; then 2990 echo $ECHO_N "(cached) $ECHO_C" >&63564 $as_echo_n "(cached) " >&6 2991 3565 else 2992 3566 if test -n "$uudecode"; then … … 2999 3573 test -z "$as_dir" && as_dir=. 3000 3574 for ac_exec_ext in '' $ac_executable_extensions; do 3001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3002 3576 ac_cv_prog_uudecode="yes" 3003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53577 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3004 3578 break 2 3005 3579 fi 3006 3580 done 3007 3581 done 3582 IFS=$as_save_IFS 3008 3583 3009 3584 fi … … 3011 3586 uudecode=$ac_cv_prog_uudecode 3012 3587 if test -n "$uudecode"; then 3013 echo "$as_me:$LINENO: result: $uudecode" >&5 3014 echo "${ECHO_T}$uudecode" >&6 3015 else 3016 echo "$as_me:$LINENO: result: no" >&5 3017 echo "${ECHO_T}no" >&6 3018 fi 3588 { $as_echo "$as_me:$LINENO: result: $uudecode" >&5 3589 $as_echo "$uudecode" >&6; } 3590 else 3591 { $as_echo "$as_me:$LINENO: result: no" >&5 3592 $as_echo "no" >&6; } 3593 fi 3594 3019 3595 3020 3596 if test x$uudecode = xyes; then 3021 echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&53022 echo $ECHO_N "checking if uudecode can decode base 64 file... $ECHO_C" >&6 3597 { $as_echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5 3598 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; } 3023 3599 if test "${ac_cv_prog_uudecode_base64+set}" = set; then 3024 echo $ECHO_N "(cached) $ECHO_C" >&63600 $as_echo_n "(cached) " >&6 3025 3601 else 3026 3602 … … 3039 3615 ac_cv_prog_uudecode_base64=yes 3040 3616 else 3041 echo "configure: 3 041: uudecode had trouble decoding base 64 file 'Test.uue'" >&53617 echo "configure: 3617: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 3042 3618 echo "configure: failed file was:" >&5 3043 3619 cat Test.uue >&5 … … 3046 3622 rm -f Test.uue 3047 3623 fi 3048 echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&53049 echo "${ECHO_T}$ac_cv_prog_uudecode_base64" >&6 3624 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5 3625 $as_echo "$ac_cv_prog_uudecode_base64" >&6; } 3050 3626 fi 3051 3627 if test x$ac_cv_prog_uudecode_base64 != xyes; then 3052 3628 rm -f Test.class 3053 { echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&53054 echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}3629 { $as_echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5 3630 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;} 3055 3631 if test x$ac_cv_prog_javac_works = xno; then 3056 { { echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&53057 echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;}3632 { { $as_echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5 3633 $as_echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;} 3058 3634 { (exit 1); exit 1; }; } 3059 3635 fi … … 3066 3642 # Extract the first word of "$ac_prog", so it can be a program name with args. 3067 3643 set dummy $ac_prog; ac_word=$2 3068 echo "$as_me:$LINENO: checking for $ac_word" >&53069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3644 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3645 $as_echo_n "checking for $ac_word... " >&6; } 3070 3646 if test "${ac_cv_prog_JAVAC+set}" = set; then 3071 echo $ECHO_N "(cached) $ECHO_C" >&63647 $as_echo_n "(cached) " >&6 3072 3648 else 3073 3649 if test -n "$JAVAC"; then … … 3080 3656 test -z "$as_dir" && as_dir=. 3081 3657 for ac_exec_ext in '' $ac_executable_extensions; do 3082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3083 3659 ac_cv_prog_JAVAC="$ac_prog" 3084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53660 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3085 3661 break 2 3086 3662 fi 3087 3663 done 3088 3664 done 3665 IFS=$as_save_IFS 3089 3666 3090 3667 fi … … 3092 3669 JAVAC=$ac_cv_prog_JAVAC 3093 3670 if test -n "$JAVAC"; then 3094 echo "$as_me:$LINENO: result: $JAVAC" >&5 3095 echo "${ECHO_T}$JAVAC" >&6 3096 else 3097 echo "$as_me:$LINENO: result: no" >&5 3098 echo "${ECHO_T}no" >&6 3099 fi 3671 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3672 $as_echo "$JAVAC" >&6; } 3673 else 3674 { $as_echo "$as_me:$LINENO: result: no" >&5 3675 $as_echo "no" >&6; } 3676 fi 3677 3100 3678 3101 3679 test -n "$JAVAC" && break … … 3107 3685 # Extract the first word of "$ac_prog", so it can be a program name with args. 3108 3686 set dummy $ac_prog; ac_word=$2 3109 echo "$as_me:$LINENO: checking for $ac_word" >&53110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3687 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3688 $as_echo_n "checking for $ac_word... " >&6; } 3111 3689 if test "${ac_cv_prog_JAVAC+set}" = set; then 3112 echo $ECHO_N "(cached) $ECHO_C" >&63690 $as_echo_n "(cached) " >&6 3113 3691 else 3114 3692 if test -n "$JAVAC"; then … … 3121 3699 test -z "$as_dir" && as_dir=. 3122 3700 for ac_exec_ext in '' $ac_executable_extensions; do 3123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3124 3702 ac_cv_prog_JAVAC="$ac_prog" 3125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53703 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3126 3704 break 2 3127 3705 fi 3128 3706 done 3129 3707 done 3708 IFS=$as_save_IFS 3130 3709 3131 3710 fi … … 3133 3712 JAVAC=$ac_cv_prog_JAVAC 3134 3713 if test -n "$JAVAC"; then 3135 echo "$as_me:$LINENO: result: $JAVAC" >&5 3136 echo "${ECHO_T}$JAVAC" >&6 3137 else 3138 echo "$as_me:$LINENO: result: no" >&5 3139 echo "${ECHO_T}no" >&6 3140 fi 3714 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3715 $as_echo "$JAVAC" >&6; } 3716 else 3717 { $as_echo "$as_me:$LINENO: result: no" >&5 3718 $as_echo "no" >&6; } 3719 fi 3720 3141 3721 3142 3722 test -n "$JAVAC" && break … … 3145 3725 3146 3726 fi 3147 test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&53148 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}3727 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3728 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 3149 3729 { (exit 1); exit 1; }; } 3150 3730 else … … 3153 3733 3154 3734 3155 echo "$as_me:$LINENO: checking if $JAVAC works" >&53156 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6 3735 { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5 3736 $as_echo_n "checking if $JAVAC works... " >&6; } 3157 3737 if test "${ac_cv_prog_javac_works+set}" = set; then 3158 echo $ECHO_N "(cached) $ECHO_C" >&63738 $as_echo_n "(cached) " >&6 3159 3739 else 3160 3740 … … 3162 3742 CLASS_TEST=Test.class 3163 3743 cat << \EOF > $JAVA_TEST 3164 /* #line 3 164 "configure" */3744 /* #line 3744 "configure" */ 3165 3745 public class Test { 3166 3746 } … … 3170 3750 (eval $ac_try) 2>&5 3171 3751 ac_status=$? 3172 echo "$as_me:$LINENO: \$? = $ac_status" >&53752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3173 3753 (exit $ac_status); }; } >/dev/null 2>&1; then 3174 3754 ac_cv_prog_javac_works=yes 3175 3755 else 3176 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&53177 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}3756 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3757 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3178 3758 { (exit 1); exit 1; }; } 3179 3759 echo "configure: failed program was:" >&5 … … 3183 3763 3184 3764 fi 3185 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&53186 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6 3765 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 3766 $as_echo "$ac_cv_prog_javac_works" >&6; } 3187 3767 if test "x$JAVACFLAGS" = x ; then 3188 3768 JAVACFLAGS="-source 1.4 -target 1.4" … … 3193 3773 fi 3194 3774 fi 3195 echo "$as_me:$LINENO: checking if $JAVA works" >&53196 echo $ECHO_N "checking if $JAVA works... $ECHO_C" >&6 3775 { $as_echo "$as_me:$LINENO: checking if $JAVA works" >&5 3776 $as_echo_n "checking if $JAVA works... " >&6; } 3197 3777 if test "${ac_cv_prog_java_works+set}" = set; then 3198 echo $ECHO_N "(cached) $ECHO_C" >&63778 $as_echo_n "(cached) " >&6 3199 3779 else 3200 3780 … … 3203 3783 TEST=Test 3204 3784 cat << \EOF > $JAVA_TEST 3205 /* [#]line 3 205 "configure" */3785 /* [#]line 3785 "configure" */ 3206 3786 public class Test { 3207 3787 public static void main (String args[]) { … … 3214 3794 (eval $ac_try) 2>&5 3215 3795 ac_status=$? 3216 echo "$as_me:$LINENO: \$? = $ac_status" >&53796 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3217 3797 (exit $ac_status); }; } && test -s $CLASS_TEST; then 3218 3798 : … … 3220 3800 echo "configure: failed program was:" >&5 3221 3801 cat $JAVA_TEST >&5 3222 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&53223 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}3802 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3803 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3224 3804 { (exit 1); exit 1; }; } 3225 3805 fi … … 3229 3809 (eval $ac_try) 2>&5 3230 3810 ac_status=$? 3231 echo "$as_me:$LINENO: \$? = $ac_status" >&53811 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3232 3812 (exit $ac_status); }; } >/dev/null 2>&1; then 3233 3813 ac_cv_prog_java_works=yes … … 3235 3815 echo "configure: failed program was:" >&5 3236 3816 cat $JAVA_TEST >&5 3237 { { echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&53238 echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;}3817 { { $as_echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5 3818 $as_echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;} 3239 3819 { (exit 1); exit 1; }; } 3240 3820 fi … … 3242 3822 3243 3823 fi 3244 echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&53245 echo "${ECHO_T}$ac_cv_prog_java_works" >&6 3824 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5 3825 $as_echo "$ac_cv_prog_java_works" >&6; } 3246 3826 3247 3827 … … 3254 3834 # Extract the first word of "$ac_prog", so it can be a program name with args. 3255 3835 set dummy $ac_prog; ac_word=$2 3256 echo "$as_me:$LINENO: checking for $ac_word" >&53257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3836 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3837 $as_echo_n "checking for $ac_word... " >&6; } 3258 3838 if test "${ac_cv_prog_JAVAC+set}" = set; then 3259 echo $ECHO_N "(cached) $ECHO_C" >&63839 $as_echo_n "(cached) " >&6 3260 3840 else 3261 3841 if test -n "$JAVAC"; then … … 3268 3848 test -z "$as_dir" && as_dir=. 3269 3849 for ac_exec_ext in '' $ac_executable_extensions; do 3270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3271 3851 ac_cv_prog_JAVAC="$ac_prog" 3272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53852 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3273 3853 break 2 3274 3854 fi 3275 3855 done 3276 3856 done 3857 IFS=$as_save_IFS 3277 3858 3278 3859 fi … … 3280 3861 JAVAC=$ac_cv_prog_JAVAC 3281 3862 if test -n "$JAVAC"; then 3282 echo "$as_me:$LINENO: result: $JAVAC" >&5 3283 echo "${ECHO_T}$JAVAC" >&6 3284 else 3285 echo "$as_me:$LINENO: result: no" >&5 3286 echo "${ECHO_T}no" >&6 3287 fi 3863 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3864 $as_echo "$JAVAC" >&6; } 3865 else 3866 { $as_echo "$as_me:$LINENO: result: no" >&5 3867 $as_echo "no" >&6; } 3868 fi 3869 3288 3870 3289 3871 test -n "$JAVAC" && break … … 3295 3877 # Extract the first word of "$ac_prog", so it can be a program name with args. 3296 3878 set dummy $ac_prog; ac_word=$2 3297 echo "$as_me:$LINENO: checking for $ac_word" >&53298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3879 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3880 $as_echo_n "checking for $ac_word... " >&6; } 3299 3881 if test "${ac_cv_prog_JAVAC+set}" = set; then 3300 echo $ECHO_N "(cached) $ECHO_C" >&63882 $as_echo_n "(cached) " >&6 3301 3883 else 3302 3884 if test -n "$JAVAC"; then … … 3309 3891 test -z "$as_dir" && as_dir=. 3310 3892 for ac_exec_ext in '' $ac_executable_extensions; do 3311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3312 3894 ac_cv_prog_JAVAC="$ac_prog" 3313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53895 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3314 3896 break 2 3315 3897 fi 3316 3898 done 3317 3899 done 3900 IFS=$as_save_IFS 3318 3901 3319 3902 fi … … 3321 3904 JAVAC=$ac_cv_prog_JAVAC 3322 3905 if test -n "$JAVAC"; then 3323 echo "$as_me:$LINENO: result: $JAVAC" >&5 3324 echo "${ECHO_T}$JAVAC" >&6 3325 else 3326 echo "$as_me:$LINENO: result: no" >&5 3327 echo "${ECHO_T}no" >&6 3328 fi 3906 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3907 $as_echo "$JAVAC" >&6; } 3908 else 3909 { $as_echo "$as_me:$LINENO: result: no" >&5 3910 $as_echo "no" >&6; } 3911 fi 3912 3329 3913 3330 3914 test -n "$JAVAC" && break … … 3333 3917 3334 3918 fi 3335 test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&53336 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}3919 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3920 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 3337 3921 { (exit 1); exit 1; }; } 3338 3922 else … … 3341 3925 3342 3926 3343 echo "$as_me:$LINENO: checking if $JAVAC works" >&53344 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6 3927 { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5 3928 $as_echo_n "checking if $JAVAC works... " >&6; } 3345 3929 if test "${ac_cv_prog_javac_works+set}" = set; then 3346 echo $ECHO_N "(cached) $ECHO_C" >&63930 $as_echo_n "(cached) " >&6 3347 3931 else 3348 3932 … … 3350 3934 CLASS_TEST=Test.class 3351 3935 cat << \EOF > $JAVA_TEST 3352 /* #line 3 352"configure" */3936 /* #line 3936 "configure" */ 3353 3937 public class Test { 3354 3938 } … … 3358 3942 (eval $ac_try) 2>&5 3359 3943 ac_status=$? 3360 echo "$as_me:$LINENO: \$? = $ac_status" >&53944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3361 3945 (exit $ac_status); }; } >/dev/null 2>&1; then 3362 3946 ac_cv_prog_javac_works=yes 3363 3947 else 3364 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&53365 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}3948 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3949 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3366 3950 { (exit 1); exit 1; }; } 3367 3951 echo "configure: failed program was:" >&5 … … 3371 3955 3372 3956 fi 3373 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&53374 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6 3957 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 3958 $as_echo "$ac_cv_prog_javac_works" >&6; } 3375 3959 if test "x$JAVACFLAGS" = x ; then 3376 3960 JAVACFLAGS="-source 1.4 -target 1.4" … … 3384 3968 # Extract the first word of "$ac_prog", so it can be a program name with args. 3385 3969 set dummy $ac_prog; ac_word=$2 3386 echo "$as_me:$LINENO: checking for $ac_word" >&53387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3970 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3971 $as_echo_n "checking for $ac_word... " >&6; } 3388 3972 if test "${ac_cv_prog_AWK+set}" = set; then 3389 echo $ECHO_N "(cached) $ECHO_C" >&63973 $as_echo_n "(cached) " >&6 3390 3974 else 3391 3975 if test -n "$AWK"; then … … 3398 3982 test -z "$as_dir" && as_dir=. 3399 3983 for ac_exec_ext in '' $ac_executable_extensions; do 3400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3401 3985 ac_cv_prog_AWK="$ac_prog" 3402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53986 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3403 3987 break 2 3404 3988 fi 3405 3989 done 3406 3990 done 3991 IFS=$as_save_IFS 3407 3992 3408 3993 fi … … 3410 3995 AWK=$ac_cv_prog_AWK 3411 3996 if test -n "$AWK"; then 3412 echo "$as_me:$LINENO: result: $AWK" >&5 3413 echo "${ECHO_T}$AWK" >&6 3414 else 3415 echo "$as_me:$LINENO: result: no" >&5 3416 echo "${ECHO_T}no" >&6 3417 fi 3997 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 3998 $as_echo "$AWK" >&6; } 3999 else 4000 { $as_echo "$as_me:$LINENO: result: no" >&5 4001 $as_echo "no" >&6; } 4002 fi 4003 3418 4004 3419 4005 test -n "$AWK" && break … … 3424 4010 # Extract the first word of "$ac_prog", so it can be a program name with args. 3425 4011 set dummy $ac_prog; ac_word=$2 3426 echo "$as_me:$LINENO: checking for $ac_word" >&53427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4012 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4013 $as_echo_n "checking for $ac_word... " >&6; } 3428 4014 if test "${ac_cv_prog_YACC+set}" = set; then 3429 echo $ECHO_N "(cached) $ECHO_C" >&64015 $as_echo_n "(cached) " >&6 3430 4016 else 3431 4017 if test -n "$YACC"; then … … 3438 4024 test -z "$as_dir" && as_dir=. 3439 4025 for ac_exec_ext in '' $ac_executable_extensions; do 3440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3441 4027 ac_cv_prog_YACC="$ac_prog" 3442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54028 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3443 4029 break 2 3444 4030 fi 3445 4031 done 3446 4032 done 4033 IFS=$as_save_IFS 3447 4034 3448 4035 fi … … 3450 4037 YACC=$ac_cv_prog_YACC 3451 4038 if test -n "$YACC"; then 3452 echo "$as_me:$LINENO: result: $YACC" >&5 3453 echo "${ECHO_T}$YACC" >&6 3454 else 3455 echo "$as_me:$LINENO: result: no" >&5 3456 echo "${ECHO_T}no" >&6 3457 fi 4039 { $as_echo "$as_me:$LINENO: result: $YACC" >&5 4040 $as_echo "$YACC" >&6; } 4041 else 4042 { $as_echo "$as_me:$LINENO: result: no" >&5 4043 $as_echo "no" >&6; } 4044 fi 4045 3458 4046 3459 4047 test -n "$YACC" && break … … 3462 4050 3463 4051 ac_aux_dir= 3464 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do3465 if test -f $ac_dir/install-sh; then4052 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 4053 if test -f "$ac_dir/install-sh"; then 3466 4054 ac_aux_dir=$ac_dir 3467 4055 ac_install_sh="$ac_aux_dir/install-sh -c" 3468 4056 break 3469 elif test -f $ac_dir/install.sh; then4057 elif test -f "$ac_dir/install.sh"; then 3470 4058 ac_aux_dir=$ac_dir 3471 4059 ac_install_sh="$ac_aux_dir/install.sh -c" 3472 4060 break 3473 elif test -f $ac_dir/shtool; then4061 elif test -f "$ac_dir/shtool"; then 3474 4062 ac_aux_dir=$ac_dir 3475 4063 ac_install_sh="$ac_aux_dir/shtool install -c" … … 3478 4066 done 3479 4067 if test -z "$ac_aux_dir"; then 3480 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&53481 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}4068 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 4069 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 3482 4070 { (exit 1); exit 1; }; } 3483 4071 fi 3484 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 3485 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 3486 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 4072 4073 # These three variables are undocumented and unsupported, 4074 # and are intended to be withdrawn in a future Autoconf release. 4075 # They can cause serious problems if a builder's source tree is in a directory 4076 # whose full name contains unusual characters. 4077 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 4078 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 4079 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 4080 3487 4081 3488 4082 # Make sure we can run config.sub. 3489 $ ac_config_subsun4 >/dev/null 2>&1 ||3490 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&53491 echo "$as_me: error: cannot run $ac_config_sub" >&2;}4083 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4084 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 4085 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 3492 4086 { (exit 1); exit 1; }; } 3493 4087 3494 echo "$as_me:$LINENO: checking build system type" >&53495 echo $ECHO_N "checking build system type... $ECHO_C" >&6 4088 { $as_echo "$as_me:$LINENO: checking build system type" >&5 4089 $as_echo_n "checking build system type... " >&6; } 3496 4090 if test "${ac_cv_build+set}" = set; then 3497 echo $ECHO_N "(cached) $ECHO_C" >&63498 else 3499 ac_ cv_build_alias=$build_alias3500 test -z "$ac_cv_build_alias"&&3501 ac_ cv_build_alias=`$ac_config_guess`3502 test -z "$ac_cv_build_alias"&&3503 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&53504 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}4091 $as_echo_n "(cached) " >&6 4092 else 4093 ac_build_alias=$build_alias 4094 test "x$ac_build_alias" = x && 4095 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4096 test "x$ac_build_alias" = x && 4097 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 4098 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3505 4099 { (exit 1); exit 1; }; } 3506 ac_cv_build=`$ ac_config_sub $ac_cv_build_alias` ||3507 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&53508 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}4100 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4101 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 4102 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 3509 4103 { (exit 1); exit 1; }; } 3510 4104 3511 4105 fi 3512 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3513 echo "${ECHO_T}$ac_cv_build" >&6 4106 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 4107 $as_echo "$ac_cv_build" >&6; } 4108 case $ac_cv_build in 4109 *-*-*) ;; 4110 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 4111 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 4112 { (exit 1); exit 1; }; };; 4113 esac 3514 4114 build=$ac_cv_build 3515 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3516 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3517 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3518 3519 3520 echo "$as_me:$LINENO: checking host system type" >&5 3521 echo $ECHO_N "checking host system type... $ECHO_C" >&6 4115 ac_save_IFS=$IFS; IFS='-' 4116 set x $ac_cv_build 4117 shift 4118 build_cpu=$1 4119 build_vendor=$2 4120 shift; shift 4121 # Remember, the first character of IFS is used to create $*, 4122 # except with old shells: 4123 build_os=$* 4124 IFS=$ac_save_IFS 4125 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4126 4127 4128 { $as_echo "$as_me:$LINENO: checking host system type" >&5 4129 $as_echo_n "checking host system type... " >&6; } 3522 4130 if test "${ac_cv_host+set}" = set; then 3523 echo $ECHO_N "(cached) $ECHO_C" >&63524 else 3525 ac_cv_host_alias=$host_alias3526 test -z "$ac_cv_host_alias" && 3527 ac_cv_host_alias=$ac_cv_build_alias 3528 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||3529 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&53530 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}4131 $as_echo_n "(cached) " >&6 4132 else 4133 if test "x$host_alias" = x; then 4134 ac_cv_host=$ac_cv_build 4135 else 4136 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4137 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 4138 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 3531 4139 { (exit 1); exit 1; }; } 3532 3533 fi 3534 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3535 echo "${ECHO_T}$ac_cv_host" >&6 4140 fi 4141 4142 fi 4143 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 4144 $as_echo "$ac_cv_host" >&6; } 4145 case $ac_cv_host in 4146 *-*-*) ;; 4147 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 4148 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 4149 { (exit 1); exit 1; }; };; 4150 esac 3536 4151 host=$ac_cv_host 3537 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3538 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3539 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3540 3541 3542 echo "$as_me:$LINENO: checking target system type" >&5 3543 echo $ECHO_N "checking target system type... $ECHO_C" >&6 4152 ac_save_IFS=$IFS; IFS='-' 4153 set x $ac_cv_host 4154 shift 4155 host_cpu=$1 4156 host_vendor=$2 4157 shift; shift 4158 # Remember, the first character of IFS is used to create $*, 4159 # except with old shells: 4160 host_os=$* 4161 IFS=$ac_save_IFS 4162 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4163 4164 4165 { $as_echo "$as_me:$LINENO: checking target system type" >&5 4166 $as_echo_n "checking target system type... " >&6; } 3544 4167 if test "${ac_cv_target+set}" = set; then 3545 echo $ECHO_N "(cached) $ECHO_C" >&63546 else 3547 ac_cv_target_alias=$target_alias3548 test "x$ac_cv_target_alias" = "x" && 3549 ac_cv_target_alias=$ac_cv_host_alias 3550 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||3551 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&53552 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}4168 $as_echo_n "(cached) " >&6 4169 else 4170 if test "x$target_alias" = x; then 4171 ac_cv_target=$ac_cv_host 4172 else 4173 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 4174 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 4175 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 3553 4176 { (exit 1); exit 1; }; } 3554 3555 fi 3556 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 3557 echo "${ECHO_T}$ac_cv_target" >&6 4177 fi 4178 4179 fi 4180 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 4181 $as_echo "$ac_cv_target" >&6; } 4182 case $ac_cv_target in 4183 *-*-*) ;; 4184 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 4185 $as_echo "$as_me: error: invalid value of canonical target" >&2;} 4186 { (exit 1); exit 1; }; };; 4187 esac 3558 4188 target=$ac_cv_target 3559 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3560 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3561 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 4189 ac_save_IFS=$IFS; IFS='-' 4190 set x $ac_cv_target 4191 shift 4192 target_cpu=$1 4193 target_vendor=$2 4194 shift; shift 4195 # Remember, the first character of IFS is used to create $*, 4196 # except with old shells: 4197 target_os=$* 4198 IFS=$ac_save_IFS 4199 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 3562 4200 3563 4201 … … 3581 4219 # OS/2's system install, which has a completely different semantic 3582 4220 # ./install, which can be erroneously created by make from ./install.sh. 3583 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3584 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 4221 # Reject install programs that cannot install multiple files. 4222 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 4223 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3585 4224 if test -z "$INSTALL"; then 3586 4225 if test "${ac_cv_path_install+set}" = set; then 3587 echo $ECHO_N "(cached) $ECHO_C" >&64226 $as_echo_n "(cached) " >&6 3588 4227 else 3589 4228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 3604 4243 for ac_prog in ginstall scoinst install; do 3605 4244 for ac_exec_ext in '' $ac_executable_extensions; do 3606 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then4245 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3607 4246 if test $ac_prog = install && 3608 4247 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 3614 4253 : 3615 4254 else 3616 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3617 break 3 4255 rm -rf conftest.one conftest.two conftest.dir 4256 echo one > conftest.one 4257 echo two > conftest.two 4258 mkdir conftest.dir 4259 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 4260 test -s conftest.one && test -s conftest.two && 4261 test -s conftest.dir/conftest.one && 4262 test -s conftest.dir/conftest.two 4263 then 4264 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 4265 break 3 4266 fi 3618 4267 fi 3619 4268 fi … … 3622 4271 ;; 3623 4272 esac 4273 3624 4274 done 3625 4275 IFS=$as_save_IFS 4276 4277 rm -rf conftest.one conftest.two conftest.dir 3626 4278 3627 4279 fi … … 3629 4281 INSTALL=$ac_cv_path_install 3630 4282 else 3631 # As a last resort, use the slow shell script. We don't cache a3632 # pathfor INSTALL within a source directory, because that will4283 # As a last resort, use the slow shell script. Don't cache a 4284 # value for INSTALL within a source directory, because that will 3633 4285 # break other packages using the cache if that directory is 3634 # removed, or if the path is relative.4286 # removed, or if the value is a relative name. 3635 4287 INSTALL=$ac_install_sh 3636 4288 fi 3637 4289 fi 3638 echo "$as_me:$LINENO: result: $INSTALL" >&53639 echo "${ECHO_T}$INSTALL" >&6 4290 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 4291 $as_echo "$INSTALL" >&6; } 3640 4292 3641 4293 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 3647 4299 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3648 4300 3649 echo "$as_me:$LINENO: checking whether ln -s works" >&53650 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 4301 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 4302 $as_echo_n "checking whether ln -s works... " >&6; } 3651 4303 LN_S=$as_ln_s 3652 4304 if test "$LN_S" = "ln -s"; then 3653 echo "$as_me:$LINENO: result: yes" >&5 3654 echo "${ECHO_T}yes" >&6 3655 else 3656 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3657 echo "${ECHO_T}no, using $LN_S" >&6 3658 fi 3659 3660 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3661 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3662 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 3663 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 3664 echo $ECHO_N "(cached) $ECHO_C" >&6 4305 { $as_echo "$as_me:$LINENO: result: yes" >&5 4306 $as_echo "yes" >&6; } 4307 else 4308 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4309 $as_echo "no, using $LN_S" >&6; } 4310 fi 4311 4312 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4313 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4314 set x ${MAKE-make} 4315 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4316 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 4317 $as_echo_n "(cached) " >&6 3665 4318 else 3666 4319 cat >conftest.make <<\_ACEOF 4320 SHELL = /bin/sh 3667 4321 all: 3668 @echo ' ac_maketemp="$(MAKE)"'4322 @echo '@@@%%%=$(MAKE)=@@@%%%' 3669 4323 _ACEOF 3670 4324 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3671 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3672 if test -n "$ac_maketemp"; then 3673 eval ac_cv_prog_make_${ac_make}_set=yes3674 else 3675 eval ac_cv_prog_make_${ac_make}_set=no3676 fi 4325 case `${MAKE-make} -f conftest.make 2>/dev/null` in 4326 *@@@%%%=?*=@@@%%%*) 4327 eval ac_cv_prog_make_${ac_make}_set=yes;; 4328 *) 4329 eval ac_cv_prog_make_${ac_make}_set=no;; 4330 esac 3677 4331 rm -f conftest.make 3678 4332 fi 3679 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then3680 echo "$as_me:$LINENO: result: yes" >&53681 echo "${ECHO_T}yes" >&6 4333 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 4334 { $as_echo "$as_me:$LINENO: result: yes" >&5 4335 $as_echo "yes" >&6; } 3682 4336 SET_MAKE= 3683 4337 else 3684 echo "$as_me:$LINENO: result: no" >&53685 echo "${ECHO_T}no" >&6 4338 { $as_echo "$as_me:$LINENO: result: no" >&5 4339 $as_echo "no" >&6; } 3686 4340 SET_MAKE="MAKE=${MAKE-make}" 3687 4341 fi … … 3690 4344 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3691 4345 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3692 echo "$as_me:$LINENO: checking for $ac_word" >&53693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4346 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4347 $as_echo_n "checking for $ac_word... " >&6; } 3694 4348 if test "${ac_cv_prog_RANLIB+set}" = set; then 3695 echo $ECHO_N "(cached) $ECHO_C" >&64349 $as_echo_n "(cached) " >&6 3696 4350 else 3697 4351 if test -n "$RANLIB"; then … … 3704 4358 test -z "$as_dir" && as_dir=. 3705 4359 for ac_exec_ext in '' $ac_executable_extensions; do 3706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3707 4361 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54362 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3709 4363 break 2 3710 4364 fi 3711 4365 done 3712 4366 done 4367 IFS=$as_save_IFS 3713 4368 3714 4369 fi … … 3716 4371 RANLIB=$ac_cv_prog_RANLIB 3717 4372 if test -n "$RANLIB"; then 3718 echo "$as_me:$LINENO: result: $RANLIB" >&5 3719 echo "${ECHO_T}$RANLIB" >&6 3720 else 3721 echo "$as_me:$LINENO: result: no" >&5 3722 echo "${ECHO_T}no" >&6 3723 fi 4373 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 4374 $as_echo "$RANLIB" >&6; } 4375 else 4376 { $as_echo "$as_me:$LINENO: result: no" >&5 4377 $as_echo "no" >&6; } 4378 fi 4379 3724 4380 3725 4381 fi … … 3728 4384 # Extract the first word of "ranlib", so it can be a program name with args. 3729 4385 set dummy ranlib; ac_word=$2 3730 echo "$as_me:$LINENO: checking for $ac_word" >&53731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4386 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4387 $as_echo_n "checking for $ac_word... " >&6; } 3732 4388 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3733 echo $ECHO_N "(cached) $ECHO_C" >&64389 $as_echo_n "(cached) " >&6 3734 4390 else 3735 4391 if test -n "$ac_ct_RANLIB"; then … … 3742 4398 test -z "$as_dir" && as_dir=. 3743 4399 for ac_exec_ext in '' $ac_executable_extensions; do 3744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3745 4401 ac_cv_prog_ac_ct_RANLIB="ranlib" 3746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54402 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3747 4403 break 2 3748 4404 fi 3749 4405 done 3750 4406 done 3751 3752 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 4407 IFS=$as_save_IFS 4408 3753 4409 fi 3754 4410 fi 3755 4411 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3756 4412 if test -n "$ac_ct_RANLIB"; then 3757 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3758 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3759 else 3760 echo "$as_me:$LINENO: result: no" >&5 3761 echo "${ECHO_T}no" >&6 3762 fi 3763 3764 RANLIB=$ac_ct_RANLIB 4413 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 4414 $as_echo "$ac_ct_RANLIB" >&6; } 4415 else 4416 { $as_echo "$as_me:$LINENO: result: no" >&5 4417 $as_echo "no" >&6; } 4418 fi 4419 4420 if test "x$ac_ct_RANLIB" = x; then 4421 RANLIB=":" 4422 else 4423 case $cross_compiling:$ac_tool_warned in 4424 yes:) 4425 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4427 ac_tool_warned=yes ;; 4428 esac 4429 RANLIB=$ac_ct_RANLIB 4430 fi 3765 4431 else 3766 4432 RANLIB="$ac_cv_prog_RANLIB" … … 3768 4434 3769 4435 3770 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&53771 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 4436 { $as_echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 4437 $as_echo_n "checking to see if architecture is 64-bit... " >&6; } 3772 4438 arch_64bit=no 3773 4439 case "$host_cpu" in … … 3776 4442 3777 4443 if test "$arch_64bit" = yes; then 3778 echo "$as_me:$LINENO: result: yes" >&53779 echo "${ECHO_T}yes" >&6 3780 if test -z "$ COMPAT32BITFLAGS" ; then3781 COMPAT32BITFLAGS="-m32"4444 { $as_echo "$as_me:$LINENO: result: yes" >&5 4445 $as_echo "yes" >&6; } 4446 if test -z "$ARCH_DEP_FLAGS" ; then 4447 ARCH_DEP_FLAGS="-fPIC" 3782 4448 gsdlarch='64' 3783 4449 fi 3784 4450 else 3785 echo "$as_me:$LINENO: result: no" >&53786 echo "${ECHO_T}no" >&6 3787 if test -z "$ COMPAT32BITFLAGS" ; then3788 COMPAT32BITFLAGS=4451 { $as_echo "$as_me:$LINENO: result: no" >&5 4452 $as_echo "no" >&6; } 4453 if test -z "$ARCH_DEP_FLAGS" ; then 4454 ARCH_DEP_FLAGS= 3789 4455 gsdlarch='32' 3790 4456 fi 3791 4457 fi 3792 4458 3793 # Only need compat32bitflag if using MG or MGPP 3794 if test "$ENABLE_MG" = "0" ; then 3795 COMPAT32BITFLAGS= 3796 else 3797 if test "$ENABLE_MGPP" = "0" ; then 3798 COMPAT32BITFLAGS= 3799 fi 3800 fi 3801 3802 export COMPAT32BITFLAGS 4459 export ARCH_DEP_FLAGS 3803 4460 3804 4461 … … 3842 4499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3843 4500 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3844 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53845 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 4501 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4502 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3846 4503 # On Suns, sometimes $CPP names a directory. 3847 4504 if test -n "$CPP" && test -d "$CPP"; then … … 3850 4507 if test -z "$CPP"; then 3851 4508 if test "${ac_cv_prog_CPP+set}" = set; then 3852 echo $ECHO_N "(cached) $ECHO_C" >&64509 $as_echo_n "(cached) " >&6 3853 4510 else 3854 4511 # Double quotes because CPP needs to be expanded … … 3877 4534 Syntax error 3878 4535 _ACEOF 3879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3880 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4536 if { (ac_try="$ac_cpp conftest.$ac_ext" 4537 case "(($ac_try" in 4538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4539 *) ac_try_echo=$ac_try;; 4540 esac 4541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4542 $as_echo "$ac_try_echo") >&5 4543 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3881 4544 ac_status=$? 3882 4545 grep -v '^ *+' conftest.er1 >conftest.err 3883 4546 rm -f conftest.er1 3884 4547 cat conftest.err >&5 3885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3886 (exit $ac_status); } >/dev/null; then 3887 if test -s conftest.err; then 3888 ac_cpp_err=$ac_c_preproc_warn_flag 3889 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3890 else 3891 ac_cpp_err= 3892 fi 3893 else 3894 ac_cpp_err=yes 3895 fi 3896 if test -z "$ac_cpp_err"; then 4548 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4549 (exit $ac_status); } >/dev/null && { 4550 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4551 test ! -s conftest.err 4552 }; then 3897 4553 : 3898 4554 else 3899 echo "$as_me: failed program was:" >&54555 $as_echo "$as_me: failed program was:" >&5 3900 4556 sed 's/^/| /' conftest.$ac_ext >&5 3901 4557 … … 3903 4559 continue 3904 4560 fi 4561 3905 4562 rm -f conftest.err conftest.$ac_ext 3906 4563 3907 # OK, works on sane cases. Now check whether non -existent headers4564 # OK, works on sane cases. Now check whether nonexistent headers 3908 4565 # can be detected and how. 3909 4566 cat >conftest.$ac_ext <<_ACEOF … … 3915 4572 #include <ac_nonexistent.h> 3916 4573 _ACEOF 3917 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3918 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4574 if { (ac_try="$ac_cpp conftest.$ac_ext" 4575 case "(($ac_try" in 4576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4577 *) ac_try_echo=$ac_try;; 4578 esac 4579 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4580 $as_echo "$ac_try_echo") >&5 4581 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3919 4582 ac_status=$? 3920 4583 grep -v '^ *+' conftest.er1 >conftest.err 3921 4584 rm -f conftest.er1 3922 4585 cat conftest.err >&5 3923 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3924 (exit $ac_status); } >/dev/null; then 3925 if test -s conftest.err; then 3926 ac_cpp_err=$ac_c_preproc_warn_flag 3927 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3928 else 3929 ac_cpp_err= 3930 fi 3931 else 3932 ac_cpp_err=yes 3933 fi 3934 if test -z "$ac_cpp_err"; then 4586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4587 (exit $ac_status); } >/dev/null && { 4588 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4589 test ! -s conftest.err 4590 }; then 3935 4591 # Broken: success on invalid input. 3936 4592 continue 3937 4593 else 3938 echo "$as_me: failed program was:" >&54594 $as_echo "$as_me: failed program was:" >&5 3939 4595 sed 's/^/| /' conftest.$ac_ext >&5 3940 4596 … … 3943 4599 break 3944 4600 fi 4601 3945 4602 rm -f conftest.err conftest.$ac_ext 3946 4603 … … 3960 4617 ac_cv_prog_CPP=$CPP 3961 4618 fi 3962 echo "$as_me:$LINENO: result: $CPP" >&53963 echo "${ECHO_T}$CPP" >&6 4619 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 4620 $as_echo "$CPP" >&6; } 3964 4621 ac_preproc_ok=false 3965 4622 for ac_c_preproc_warn_flag in '' yes … … 3984 4641 Syntax error 3985 4642 _ACEOF 3986 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3987 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4643 if { (ac_try="$ac_cpp conftest.$ac_ext" 4644 case "(($ac_try" in 4645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4646 *) ac_try_echo=$ac_try;; 4647 esac 4648 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4649 $as_echo "$ac_try_echo") >&5 4650 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3988 4651 ac_status=$? 3989 4652 grep -v '^ *+' conftest.er1 >conftest.err 3990 4653 rm -f conftest.er1 3991 4654 cat conftest.err >&5 3992 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3993 (exit $ac_status); } >/dev/null; then 3994 if test -s conftest.err; then 3995 ac_cpp_err=$ac_c_preproc_warn_flag 3996 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3997 else 3998 ac_cpp_err= 3999 fi 4000 else 4001 ac_cpp_err=yes 4002 fi 4003 if test -z "$ac_cpp_err"; then 4655 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4656 (exit $ac_status); } >/dev/null && { 4657 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4658 test ! -s conftest.err 4659 }; then 4004 4660 : 4005 4661 else 4006 echo "$as_me: failed program was:" >&54662 $as_echo "$as_me: failed program was:" >&5 4007 4663 sed 's/^/| /' conftest.$ac_ext >&5 4008 4664 … … 4010 4666 continue 4011 4667 fi 4668 4012 4669 rm -f conftest.err conftest.$ac_ext 4013 4670 4014 # OK, works on sane cases. Now check whether non -existent headers4671 # OK, works on sane cases. Now check whether nonexistent headers 4015 4672 # can be detected and how. 4016 4673 cat >conftest.$ac_ext <<_ACEOF … … 4022 4679 #include <ac_nonexistent.h> 4023 4680 _ACEOF 4024 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4025 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4681 if { (ac_try="$ac_cpp conftest.$ac_ext" 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_cpp conftest.$ac_ext") 2>conftest.er1 4026 4689 ac_status=$? 4027 4690 grep -v '^ *+' conftest.er1 >conftest.err 4028 4691 rm -f conftest.er1 4029 4692 cat conftest.err >&5 4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4031 (exit $ac_status); } >/dev/null; then 4032 if test -s conftest.err; then 4033 ac_cpp_err=$ac_c_preproc_warn_flag 4034 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4035 else 4036 ac_cpp_err= 4037 fi 4038 else 4039 ac_cpp_err=yes 4040 fi 4041 if test -z "$ac_cpp_err"; then 4693 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4694 (exit $ac_status); } >/dev/null && { 4695 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4696 test ! -s conftest.err 4697 }; then 4042 4698 # Broken: success on invalid input. 4043 4699 continue 4044 4700 else 4045 echo "$as_me: failed program was:" >&54701 $as_echo "$as_me: failed program was:" >&5 4046 4702 sed 's/^/| /' conftest.$ac_ext >&5 4047 4703 … … 4050 4706 break 4051 4707 fi 4708 4052 4709 rm -f conftest.err conftest.$ac_ext 4053 4710 … … 4058 4715 : 4059 4716 else 4060 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4717 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 4718 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4719 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4061 4720 See \`config.log' for more details." >&5 4062 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check4721 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4063 4722 See \`config.log' for more details." >&2;} 4064 { (exit 1); exit 1; }; } 4723 { (exit 1); exit 1; }; }; } 4065 4724 fi 4066 4725 … … 4072 4731 4073 4732 4074 echo "$as_me:$LINENO: checking for egrep" >&5 4075 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 4076 if test "${ac_cv_prog_egrep+set}" = set; then 4077 echo $ECHO_N "(cached) $ECHO_C" >&6 4078 else 4079 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 4080 then ac_cv_prog_egrep='grep -E' 4081 else ac_cv_prog_egrep='egrep' 4733 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4734 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4735 if test "${ac_cv_path_GREP+set}" = set; then 4736 $as_echo_n "(cached) " >&6 4737 else 4738 if test -z "$GREP"; then 4739 ac_path_GREP_found=false 4740 # Loop through the user's path and test for each of PROGNAME-LIST 4741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4742 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4743 do 4744 IFS=$as_save_IFS 4745 test -z "$as_dir" && as_dir=. 4746 for ac_prog in grep ggrep; do 4747 for ac_exec_ext in '' $ac_executable_extensions; do 4748 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4749 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4750 # Check for GNU ac_path_GREP and select it if it is found. 4751 # Check for GNU $ac_path_GREP 4752 case `"$ac_path_GREP" --version 2>&1` in 4753 *GNU*) 4754 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4755 *) 4756 ac_count=0 4757 $as_echo_n 0123456789 >"conftest.in" 4758 while : 4759 do 4760 cat "conftest.in" "conftest.in" >"conftest.tmp" 4761 mv "conftest.tmp" "conftest.in" 4762 cp "conftest.in" "conftest.nl" 4763 $as_echo 'GREP' >> "conftest.nl" 4764 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4765 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4766 ac_count=`expr $ac_count + 1` 4767 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4768 # Best one so far, save it but keep looking for a better one 4769 ac_cv_path_GREP="$ac_path_GREP" 4770 ac_path_GREP_max=$ac_count 4082 4771 fi 4083 fi 4084 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 4085 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 4086 EGREP=$ac_cv_prog_egrep 4087 4088 4089 4090 echo "$as_me:$LINENO: checking for AIX" >&5 4091 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 4092 cat >conftest.$ac_ext <<_ACEOF 4093 /* confdefs.h. */ 4094 _ACEOF 4095 cat confdefs.h >>conftest.$ac_ext 4096 cat >>conftest.$ac_ext <<_ACEOF 4097 /* end confdefs.h. */ 4098 #ifdef _AIX 4099 yes 4100 #endif 4101 4102 _ACEOF 4103 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4104 $EGREP "yes" >/dev/null 2>&1; then 4105 echo "$as_me:$LINENO: result: yes" >&5 4106 echo "${ECHO_T}yes" >&6 4107 cat >>confdefs.h <<\_ACEOF 4108 #define _ALL_SOURCE 1 4109 _ACEOF 4110 4111 else 4112 echo "$as_me:$LINENO: result: no" >&5 4113 echo "${ECHO_T}no" >&6 4114 fi 4115 rm -f conftest* 4116 4117 4118 echo "$as_me:$LINENO: checking for library containing strerror" >&5 4119 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 4120 if test "${ac_cv_search_strerror+set}" = set; then 4121 echo $ECHO_N "(cached) $ECHO_C" >&6 4122 else 4123 ac_func_search_save_LIBS=$LIBS 4124 ac_cv_search_strerror=no 4125 cat >conftest.$ac_ext <<_ACEOF 4126 /* confdefs.h. */ 4127 _ACEOF 4128 cat confdefs.h >>conftest.$ac_ext 4129 cat >>conftest.$ac_ext <<_ACEOF 4130 /* end confdefs.h. */ 4131 4132 /* Override any gcc2 internal prototype to avoid an error. */ 4133 #ifdef __cplusplus 4134 extern "C" 4135 #endif 4136 /* We use char because int might match the return type of a gcc2 4137 builtin and then its argument prototype would still apply. */ 4138 char strerror (); 4139 int 4140 main () 4141 { 4142 strerror (); 4143 ; 4144 return 0; 4145 } 4146 _ACEOF 4147 rm -f conftest.$ac_objext conftest$ac_exeext 4148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4149 (eval $ac_link) 2>conftest.er1 4150 ac_status=$? 4151 grep -v '^ *+' conftest.er1 >conftest.err 4152 rm -f conftest.er1 4153 cat conftest.err >&5 4154 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4155 (exit $ac_status); } && 4156 { ac_try='test -z "$ac_c_werror_flag" 4157 || test ! -s conftest.err' 4158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4159 (eval $ac_try) 2>&5 4160 ac_status=$? 4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4162 (exit $ac_status); }; } && 4163 { ac_try='test -s conftest$ac_exeext' 4164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4165 (eval $ac_try) 2>&5 4166 ac_status=$? 4167 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4168 (exit $ac_status); }; }; then 4169 ac_cv_search_strerror="none required" 4170 else 4171 echo "$as_me: failed program was:" >&5 4172 sed 's/^/| /' conftest.$ac_ext >&5 4173 4174 fi 4175 rm -f conftest.err conftest.$ac_objext \ 4176 conftest$ac_exeext conftest.$ac_ext 4177 if test "$ac_cv_search_strerror" = no; then 4178 for ac_lib in cposix; do 4179 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4180 cat >conftest.$ac_ext <<_ACEOF 4181 /* confdefs.h. */ 4182 _ACEOF 4183 cat confdefs.h >>conftest.$ac_ext 4184 cat >>conftest.$ac_ext <<_ACEOF 4185 /* end confdefs.h. */ 4186 4187 /* Override any gcc2 internal prototype to avoid an error. */ 4188 #ifdef __cplusplus 4189 extern "C" 4190 #endif 4191 /* We use char because int might match the return type of a gcc2 4192 builtin and then its argument prototype would still apply. */ 4193 char strerror (); 4194 int 4195 main () 4196 { 4197 strerror (); 4198 ; 4199 return 0; 4200 } 4201 _ACEOF 4202 rm -f conftest.$ac_objext conftest$ac_exeext 4203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4204 (eval $ac_link) 2>conftest.er1 4205 ac_status=$? 4206 grep -v '^ *+' conftest.er1 >conftest.err 4207 rm -f conftest.er1 4208 cat conftest.err >&5 4209 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4210 (exit $ac_status); } && 4211 { ac_try='test -z "$ac_c_werror_flag" 4212 || test ! -s conftest.err' 4213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4214 (eval $ac_try) 2>&5 4215 ac_status=$? 4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4217 (exit $ac_status); }; } && 4218 { ac_try='test -s conftest$ac_exeext' 4219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4220 (eval $ac_try) 2>&5 4221 ac_status=$? 4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4223 (exit $ac_status); }; }; then 4224 ac_cv_search_strerror="-l$ac_lib" 4225 break 4226 else 4227 echo "$as_me: failed program was:" >&5 4228 sed 's/^/| /' conftest.$ac_ext >&5 4229 4230 fi 4231 rm -f conftest.err conftest.$ac_objext \ 4232 conftest$ac_exeext conftest.$ac_ext 4772 # 10*(2^10) chars as input seems more than enough 4773 test $ac_count -gt 10 && break 4233 4774 done 4234 fi 4235 LIBS=$ac_func_search_save_LIBS 4236 fi 4237 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 4238 echo "${ECHO_T}$ac_cv_search_strerror" >&6 4239 if test "$ac_cv_search_strerror" != no; then 4240 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 4241 4242 fi 4243 4244 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4245 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4775 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4776 esac 4777 4778 $ac_path_GREP_found && break 3 4779 done 4780 done 4781 done 4782 IFS=$as_save_IFS 4783 if test -z "$ac_cv_path_GREP"; then 4784 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4785 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4786 { (exit 1); exit 1; }; } 4787 fi 4788 else 4789 ac_cv_path_GREP=$GREP 4790 fi 4791 4792 fi 4793 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4794 $as_echo "$ac_cv_path_GREP" >&6; } 4795 GREP="$ac_cv_path_GREP" 4796 4797 4798 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 4799 $as_echo_n "checking for egrep... " >&6; } 4800 if test "${ac_cv_path_EGREP+set}" = set; then 4801 $as_echo_n "(cached) " >&6 4802 else 4803 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4804 then ac_cv_path_EGREP="$GREP -E" 4805 else 4806 if test -z "$EGREP"; then 4807 ac_path_EGREP_found=false 4808 # Loop through the user's path and test for each of PROGNAME-LIST 4809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4810 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4811 do 4812 IFS=$as_save_IFS 4813 test -z "$as_dir" && as_dir=. 4814 for ac_prog in egrep; do 4815 for ac_exec_ext in '' $ac_executable_extensions; do 4816 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4817 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4818 # Check for GNU ac_path_EGREP and select it if it is found. 4819 # Check for GNU $ac_path_EGREP 4820 case `"$ac_path_EGREP" --version 2>&1` in 4821 *GNU*) 4822 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4823 *) 4824 ac_count=0 4825 $as_echo_n 0123456789 >"conftest.in" 4826 while : 4827 do 4828 cat "conftest.in" "conftest.in" >"conftest.tmp" 4829 mv "conftest.tmp" "conftest.in" 4830 cp "conftest.in" "conftest.nl" 4831 $as_echo 'EGREP' >> "conftest.nl" 4832 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4833 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4834 ac_count=`expr $ac_count + 1` 4835 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4836 # Best one so far, save it but keep looking for a better one 4837 ac_cv_path_EGREP="$ac_path_EGREP" 4838 ac_path_EGREP_max=$ac_count 4839 fi 4840 # 10*(2^10) chars as input seems more than enough 4841 test $ac_count -gt 10 && break 4842 done 4843 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4844 esac 4845 4846 $ac_path_EGREP_found && break 3 4847 done 4848 done 4849 done 4850 IFS=$as_save_IFS 4851 if test -z "$ac_cv_path_EGREP"; then 4852 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4853 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4854 { (exit 1); exit 1; }; } 4855 fi 4856 else 4857 ac_cv_path_EGREP=$EGREP 4858 fi 4859 4860 fi 4861 fi 4862 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4863 $as_echo "$ac_cv_path_EGREP" >&6; } 4864 EGREP="$ac_cv_path_EGREP" 4865 4866 4867 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4868 $as_echo_n "checking for ANSI C header files... " >&6; } 4246 4869 if test "${ac_cv_header_stdc+set}" = set; then 4247 echo $ECHO_N "(cached) $ECHO_C" >&64870 $as_echo_n "(cached) " >&6 4248 4871 else 4249 4872 cat >conftest.$ac_ext <<_ACEOF … … 4267 4890 _ACEOF 4268 4891 rm -f conftest.$ac_objext 4269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4270 (eval $ac_compile) 2>conftest.er1 4892 if { (ac_try="$ac_compile" 4893 case "(($ac_try" in 4894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4895 *) ac_try_echo=$ac_try;; 4896 esac 4897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4898 $as_echo "$ac_try_echo") >&5 4899 (eval "$ac_compile") 2>conftest.er1 4271 4900 ac_status=$? 4272 4901 grep -v '^ *+' conftest.er1 >conftest.err 4273 4902 rm -f conftest.er1 4274 4903 cat conftest.err >&5 4275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4276 (exit $ac_status); } && 4277 { ac_try='test -z "$ac_c_werror_flag" 4278 || test ! -s conftest.err' 4279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4280 (eval $ac_try) 2>&5 4281 ac_status=$? 4282 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4283 (exit $ac_status); }; } && 4284 { ac_try='test -s conftest.$ac_objext' 4285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4286 (eval $ac_try) 2>&5 4287 ac_status=$? 4288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4289 (exit $ac_status); }; }; then 4904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4905 (exit $ac_status); } && { 4906 test -z "$ac_c_werror_flag" || 4907 test ! -s conftest.err 4908 } && test -s conftest.$ac_objext; then 4290 4909 ac_cv_header_stdc=yes 4291 4910 else 4292 echo "$as_me: failed program was:" >&54911 $as_echo "$as_me: failed program was:" >&5 4293 4912 sed 's/^/| /' conftest.$ac_ext >&5 4294 4913 4295 ac_cv_header_stdc=no 4296 fi 4297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4914 ac_cv_header_stdc=no 4915 fi 4916 4917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4298 4918 4299 4919 if test $ac_cv_header_stdc = yes; then … … 4351 4971 /* end confdefs.h. */ 4352 4972 #include <ctype.h> 4973 #include <stdlib.h> 4353 4974 #if ((' ' & 0x0FF) == 0x020) 4354 4975 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 4370 4991 if (XOR (islower (i), ISLOWER (i)) 4371 4992 || toupper (i) != TOUPPER (i)) 4372 exit(2);4373 exit (0);4993 return 2; 4994 return 0; 4374 4995 } 4375 4996 _ACEOF 4376 4997 rm -f conftest$ac_exeext 4377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4378 (eval $ac_link) 2>&5 4998 if { (ac_try="$ac_link" 4999 case "(($ac_try" in 5000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5001 *) ac_try_echo=$ac_try;; 5002 esac 5003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5004 $as_echo "$ac_try_echo") >&5 5005 (eval "$ac_link") 2>&5 4379 5006 ac_status=$? 4380 echo "$as_me:$LINENO: \$? = $ac_status" >&55007 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4381 5008 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4383 (eval $ac_try) 2>&5 5009 { (case "(($ac_try" in 5010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5011 *) ac_try_echo=$ac_try;; 5012 esac 5013 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5014 $as_echo "$ac_try_echo") >&5 5015 (eval "$ac_try") 2>&5 4384 5016 ac_status=$? 4385 echo "$as_me:$LINENO: \$? = $ac_status" >&55017 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4386 5018 (exit $ac_status); }; }; then 4387 5019 : 4388 5020 else 4389 echo "$as_me: program exited with status $ac_status" >&54390 echo "$as_me: failed program was:" >&55021 $as_echo "$as_me: program exited with status $ac_status" >&5 5022 $as_echo "$as_me: failed program was:" >&5 4391 5023 sed 's/^/| /' conftest.$ac_ext >&5 4392 5024 … … 4394 5026 ac_cv_header_stdc=no 4395 5027 fi 4396 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4397 fi 4398 fi 4399 fi 4400 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4401 echo "${ECHO_T}$ac_cv_header_stdc" >&6 5028 rm -rf conftest.dSYM 5029 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5030 fi 5031 5032 5033 fi 5034 fi 5035 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5036 $as_echo "$ac_cv_header_stdc" >&6; } 4402 5037 if test $ac_cv_header_stdc = yes; then 4403 5038 … … 4421 5056 inttypes.h stdint.h unistd.h 4422 5057 do 4423 as_ac_Header=` echo "ac_cv_header_$ac_header" | $as_tr_sh`4424 echo "$as_me:$LINENO: checking for $ac_header" >&54425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4426 if eval "test \"\${$as_ac_Header+set}\" = set"; then4427 echo $ECHO_N "(cached) $ECHO_C" >&65058 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5059 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5060 $as_echo_n "checking for $ac_header... " >&6; } 5061 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5062 $as_echo_n "(cached) " >&6 4428 5063 else 4429 5064 cat >conftest.$ac_ext <<_ACEOF … … 4438 5073 _ACEOF 4439 5074 rm -f conftest.$ac_objext 4440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4441 (eval $ac_compile) 2>conftest.er1 5075 if { (ac_try="$ac_compile" 5076 case "(($ac_try" in 5077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5078 *) ac_try_echo=$ac_try;; 5079 esac 5080 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5081 $as_echo "$ac_try_echo") >&5 5082 (eval "$ac_compile") 2>conftest.er1 4442 5083 ac_status=$? 4443 5084 grep -v '^ *+' conftest.er1 >conftest.err 4444 5085 rm -f conftest.er1 4445 5086 cat conftest.err >&5 4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4447 (exit $ac_status); } && 4448 { ac_try='test -z "$ac_c_werror_flag" 4449 || test ! -s conftest.err' 4450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4451 (eval $ac_try) 2>&5 4452 ac_status=$? 4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4454 (exit $ac_status); }; } && 4455 { ac_try='test -s conftest.$ac_objext' 4456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4457 (eval $ac_try) 2>&5 4458 ac_status=$? 4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4460 (exit $ac_status); }; }; then 5087 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5088 (exit $ac_status); } && { 5089 test -z "$ac_c_werror_flag" || 5090 test ! -s conftest.err 5091 } && test -s conftest.$ac_objext; then 4461 5092 eval "$as_ac_Header=yes" 4462 5093 else 4463 echo "$as_me: failed program was:" >&55094 $as_echo "$as_me: failed program was:" >&5 4464 5095 sed 's/^/| /' conftest.$ac_ext >&5 4465 5096 4466 eval "$as_ac_Header=no" 4467 fi 4468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4469 fi 4470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4472 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5097 eval "$as_ac_Header=no" 5098 fi 5099 5100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5101 fi 5102 ac_res=`eval 'as_val=${'$as_ac_Header'} 5103 $as_echo "$as_val"'` 5104 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5105 $as_echo "$ac_res" >&6; } 5106 as_val=`eval 'as_val=${'$as_ac_Header'} 5107 $as_echo "$as_val"'` 5108 if test "x$as_val" = x""yes; then 4473 5109 cat >>confdefs.h <<_ACEOF 4474 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 15110 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4475 5111 _ACEOF 4476 5112 … … 4480 5116 4481 5117 5118 5119 if test "${ac_cv_header_minix_config_h+set}" = set; then 5120 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5121 $as_echo_n "checking for minix/config.h... " >&6; } 4482 5122 if test "${ac_cv_header_minix_config_h+set}" = set; then 4483 echo "$as_me:$LINENO: checking for minix/config.h" >&5 4484 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4485 if test "${ac_cv_header_minix_config_h+set}" = set; then 4486 echo $ECHO_N "(cached) $ECHO_C" >&6 4487 fi 4488 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4489 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 5123 $as_echo_n "(cached) " >&6 5124 fi 5125 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5126 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4490 5127 else 4491 5128 # Is the header compilable? 4492 echo "$as_me:$LINENO: checking minix/config.h usability" >&54493 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 5129 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 5130 $as_echo_n "checking minix/config.h usability... " >&6; } 4494 5131 cat >conftest.$ac_ext <<_ACEOF 4495 5132 /* confdefs.h. */ … … 4502 5139 _ACEOF 4503 5140 rm -f conftest.$ac_objext 4504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4505 (eval $ac_compile) 2>conftest.er1 5141 if { (ac_try="$ac_compile" 5142 case "(($ac_try" in 5143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5144 *) ac_try_echo=$ac_try;; 5145 esac 5146 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5147 $as_echo "$ac_try_echo") >&5 5148 (eval "$ac_compile") 2>conftest.er1 4506 5149 ac_status=$? 4507 5150 grep -v '^ *+' conftest.er1 >conftest.err 4508 5151 rm -f conftest.er1 4509 5152 cat conftest.err >&5 4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4511 (exit $ac_status); } && 4512 { ac_try='test -z "$ac_c_werror_flag" 4513 || test ! -s conftest.err' 4514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4515 (eval $ac_try) 2>&5 4516 ac_status=$? 4517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4518 (exit $ac_status); }; } && 4519 { ac_try='test -s conftest.$ac_objext' 4520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4521 (eval $ac_try) 2>&5 4522 ac_status=$? 4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4524 (exit $ac_status); }; }; then 5153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5154 (exit $ac_status); } && { 5155 test -z "$ac_c_werror_flag" || 5156 test ! -s conftest.err 5157 } && test -s conftest.$ac_objext; then 4525 5158 ac_header_compiler=yes 4526 5159 else 4527 echo "$as_me: failed program was:" >&55160 $as_echo "$as_me: failed program was:" >&5 4528 5161 sed 's/^/| /' conftest.$ac_ext >&5 4529 5162 4530 ac_header_compiler=no 4531 fi 4532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4533 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4534 echo "${ECHO_T}$ac_header_compiler" >&6 5163 ac_header_compiler=no 5164 fi 5165 5166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5167 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5168 $as_echo "$ac_header_compiler" >&6; } 4535 5169 4536 5170 # Is the header present? 4537 echo "$as_me:$LINENO: checking minix/config.h presence" >&54538 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 5171 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 5172 $as_echo_n "checking minix/config.h presence... " >&6; } 4539 5173 cat >conftest.$ac_ext <<_ACEOF 4540 5174 /* confdefs.h. */ … … 4545 5179 #include <minix/config.h> 4546 5180 _ACEOF 4547 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4548 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5181 if { (ac_try="$ac_cpp conftest.$ac_ext" 5182 case "(($ac_try" in 5183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5184 *) ac_try_echo=$ac_try;; 5185 esac 5186 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5187 $as_echo "$ac_try_echo") >&5 5188 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4549 5189 ac_status=$? 4550 5190 grep -v '^ *+' conftest.er1 >conftest.err 4551 5191 rm -f conftest.er1 4552 5192 cat conftest.err >&5 4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4554 (exit $ac_status); } >/dev/null; then 4555 if test -s conftest.err; then 4556 ac_cpp_err=$ac_c_preproc_warn_flag 4557 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4558 else 4559 ac_cpp_err= 4560 fi 4561 else 4562 ac_cpp_err=yes 4563 fi 4564 if test -z "$ac_cpp_err"; then 5193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5194 (exit $ac_status); } >/dev/null && { 5195 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5196 test ! -s conftest.err 5197 }; then 4565 5198 ac_header_preproc=yes 4566 5199 else 4567 echo "$as_me: failed program was:" >&55200 $as_echo "$as_me: failed program was:" >&5 4568 5201 sed 's/^/| /' conftest.$ac_ext >&5 4569 5202 4570 5203 ac_header_preproc=no 4571 5204 fi 5205 4572 5206 rm -f conftest.err conftest.$ac_ext 4573 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54574 echo "${ECHO_T}$ac_header_preproc" >&6 5207 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5208 $as_echo "$ac_header_preproc" >&6; } 4575 5209 4576 5210 # So? What about this header? 4577 5211 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4578 5212 yes:no: ) 4579 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&54580 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}4581 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&54582 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}5213 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 5214 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5215 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 5216 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 4583 5217 ac_header_preproc=yes 4584 5218 ;; 4585 5219 no:yes:* ) 4586 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 4587 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 4588 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 4589 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 4590 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 4591 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 4592 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 4593 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 4594 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 4595 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 4596 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4597 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4598 ( 4599 cat <<\_ASBOX 4600 ## ------------------------------------------ ## 4601 ## Report this to the AC_PACKAGE_NAME lists. ## 4602 ## ------------------------------------------ ## 4603 _ASBOX 4604 ) | 4605 sed "s/^/$as_me: WARNING: /" >&2 5220 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 5221 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 5222 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 5223 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 5224 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 5225 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 5226 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 5227 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 5228 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 5229 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 5230 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 5231 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 5232 4606 5233 ;; 4607 5234 esac 4608 echo "$as_me:$LINENO: checking for minix/config.h" >&54609 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 5235 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5236 $as_echo_n "checking for minix/config.h... " >&6; } 4610 5237 if test "${ac_cv_header_minix_config_h+set}" = set; then 4611 echo $ECHO_N "(cached) $ECHO_C" >&65238 $as_echo_n "(cached) " >&6 4612 5239 else 4613 5240 ac_cv_header_minix_config_h=$ac_header_preproc 4614 5241 fi 4615 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&54616 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4617 4618 fi 4619 if test $ac_cv_header_minix_config_h =yes; then5242 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5243 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5244 5245 fi 5246 if test "x$ac_cv_header_minix_config_h" = x""yes; then 4620 5247 MINIX=yes 4621 5248 else … … 4624 5251 4625 5252 4626 if test "$MINIX" = yes; then5253 if test "$MINIX" = yes; then 4627 5254 4628 5255 cat >>confdefs.h <<\_ACEOF … … 4640 5267 _ACEOF 4641 5268 4642 fi 4643 4644 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 4645 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 5269 fi 5270 5271 5272 5273 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 5274 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5275 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 5276 $as_echo_n "(cached) " >&6 5277 else 5278 cat >conftest.$ac_ext <<_ACEOF 5279 /* confdefs.h. */ 5280 _ACEOF 5281 cat confdefs.h >>conftest.$ac_ext 5282 cat >>conftest.$ac_ext <<_ACEOF 5283 /* end confdefs.h. */ 5284 5285 # define __EXTENSIONS__ 1 5286 $ac_includes_default 5287 int 5288 main () 5289 { 5290 5291 ; 5292 return 0; 5293 } 5294 _ACEOF 5295 rm -f conftest.$ac_objext 5296 if { (ac_try="$ac_compile" 5297 case "(($ac_try" in 5298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5299 *) ac_try_echo=$ac_try;; 5300 esac 5301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5302 $as_echo "$ac_try_echo") >&5 5303 (eval "$ac_compile") 2>conftest.er1 5304 ac_status=$? 5305 grep -v '^ *+' conftest.er1 >conftest.err 5306 rm -f conftest.er1 5307 cat conftest.err >&5 5308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5309 (exit $ac_status); } && { 5310 test -z "$ac_c_werror_flag" || 5311 test ! -s conftest.err 5312 } && test -s conftest.$ac_objext; then 5313 ac_cv_safe_to_define___extensions__=yes 5314 else 5315 $as_echo "$as_me: failed program was:" >&5 5316 sed 's/^/| /' conftest.$ac_ext >&5 5317 5318 ac_cv_safe_to_define___extensions__=no 5319 fi 5320 5321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5322 fi 5323 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 5324 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5325 test $ac_cv_safe_to_define___extensions__ = yes && 5326 cat >>confdefs.h <<\_ACEOF 5327 #define __EXTENSIONS__ 1 5328 _ACEOF 5329 5330 cat >>confdefs.h <<\_ACEOF 5331 #define _ALL_SOURCE 1 5332 _ACEOF 5333 5334 cat >>confdefs.h <<\_ACEOF 5335 #define _GNU_SOURCE 1 5336 _ACEOF 5337 5338 cat >>confdefs.h <<\_ACEOF 5339 #define _POSIX_PTHREAD_SEMANTICS 1 5340 _ACEOF 5341 5342 cat >>confdefs.h <<\_ACEOF 5343 #define _TANDEM_SOURCE 1 5344 _ACEOF 5345 5346 5347 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5 5348 $as_echo_n "checking for library containing strerror... " >&6; } 5349 if test "${ac_cv_search_strerror+set}" = set; then 5350 $as_echo_n "(cached) " >&6 5351 else 5352 ac_func_search_save_LIBS=$LIBS 5353 cat >conftest.$ac_ext <<_ACEOF 5354 /* confdefs.h. */ 5355 _ACEOF 5356 cat confdefs.h >>conftest.$ac_ext 5357 cat >>conftest.$ac_ext <<_ACEOF 5358 /* end confdefs.h. */ 5359 5360 /* Override any GCC internal prototype to avoid an error. 5361 Use char because int might match the return type of a GCC 5362 builtin and then its argument prototype would still apply. */ 5363 #ifdef __cplusplus 5364 extern "C" 5365 #endif 5366 char strerror (); 5367 int 5368 main () 5369 { 5370 return strerror (); 5371 ; 5372 return 0; 5373 } 5374 _ACEOF 5375 for ac_lib in '' cposix; do 5376 if test -z "$ac_lib"; then 5377 ac_res="none required" 5378 else 5379 ac_res=-l$ac_lib 5380 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5381 fi 5382 rm -f conftest.$ac_objext conftest$ac_exeext 5383 if { (ac_try="$ac_link" 5384 case "(($ac_try" in 5385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5386 *) ac_try_echo=$ac_try;; 5387 esac 5388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5389 $as_echo "$ac_try_echo") >&5 5390 (eval "$ac_link") 2>conftest.er1 5391 ac_status=$? 5392 grep -v '^ *+' conftest.er1 >conftest.err 5393 rm -f conftest.er1 5394 cat conftest.err >&5 5395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5396 (exit $ac_status); } && { 5397 test -z "$ac_c_werror_flag" || 5398 test ! -s conftest.err 5399 } && test -s conftest$ac_exeext && { 5400 test "$cross_compiling" = yes || 5401 $as_test_x conftest$ac_exeext 5402 }; then 5403 ac_cv_search_strerror=$ac_res 5404 else 5405 $as_echo "$as_me: failed program was:" >&5 5406 sed 's/^/| /' conftest.$ac_ext >&5 5407 5408 5409 fi 5410 5411 rm -rf conftest.dSYM 5412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5413 conftest$ac_exeext 5414 if test "${ac_cv_search_strerror+set}" = set; then 5415 break 5416 fi 5417 done 5418 if test "${ac_cv_search_strerror+set}" = set; then 5419 : 5420 else 5421 ac_cv_search_strerror=no 5422 fi 5423 rm conftest.$ac_ext 5424 LIBS=$ac_func_search_save_LIBS 5425 fi 5426 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 5427 $as_echo "$ac_cv_search_strerror" >&6; } 5428 ac_res=$ac_cv_search_strerror 5429 if test "$ac_res" != no; then 5430 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5431 5432 fi 5433 5434 5435 if test "${ac_cv_header_minix_config_h+set}" = set; then 5436 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5437 $as_echo_n "checking for minix/config.h... " >&6; } 5438 if test "${ac_cv_header_minix_config_h+set}" = set; then 5439 $as_echo_n "(cached) " >&6 5440 fi 5441 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5442 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5443 else 5444 # Is the header compilable? 5445 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 5446 $as_echo_n "checking minix/config.h usability... " >&6; } 5447 cat >conftest.$ac_ext <<_ACEOF 5448 /* confdefs.h. */ 5449 _ACEOF 5450 cat confdefs.h >>conftest.$ac_ext 5451 cat >>conftest.$ac_ext <<_ACEOF 5452 /* end confdefs.h. */ 5453 $ac_includes_default 5454 #include <minix/config.h> 5455 _ACEOF 5456 rm -f conftest.$ac_objext 5457 if { (ac_try="$ac_compile" 5458 case "(($ac_try" in 5459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5460 *) ac_try_echo=$ac_try;; 5461 esac 5462 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5463 $as_echo "$ac_try_echo") >&5 5464 (eval "$ac_compile") 2>conftest.er1 5465 ac_status=$? 5466 grep -v '^ *+' conftest.er1 >conftest.err 5467 rm -f conftest.er1 5468 cat conftest.err >&5 5469 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5470 (exit $ac_status); } && { 5471 test -z "$ac_c_werror_flag" || 5472 test ! -s conftest.err 5473 } && test -s conftest.$ac_objext; then 5474 ac_header_compiler=yes 5475 else 5476 $as_echo "$as_me: failed program was:" >&5 5477 sed 's/^/| /' conftest.$ac_ext >&5 5478 5479 ac_header_compiler=no 5480 fi 5481 5482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5483 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5484 $as_echo "$ac_header_compiler" >&6; } 5485 5486 # Is the header present? 5487 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 5488 $as_echo_n "checking minix/config.h presence... " >&6; } 5489 cat >conftest.$ac_ext <<_ACEOF 5490 /* confdefs.h. */ 5491 _ACEOF 5492 cat confdefs.h >>conftest.$ac_ext 5493 cat >>conftest.$ac_ext <<_ACEOF 5494 /* end confdefs.h. */ 5495 #include <minix/config.h> 5496 _ACEOF 5497 if { (ac_try="$ac_cpp conftest.$ac_ext" 5498 case "(($ac_try" in 5499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5500 *) ac_try_echo=$ac_try;; 5501 esac 5502 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5503 $as_echo "$ac_try_echo") >&5 5504 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5505 ac_status=$? 5506 grep -v '^ *+' conftest.er1 >conftest.err 5507 rm -f conftest.er1 5508 cat conftest.err >&5 5509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5510 (exit $ac_status); } >/dev/null && { 5511 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5512 test ! -s conftest.err 5513 }; then 5514 ac_header_preproc=yes 5515 else 5516 $as_echo "$as_me: failed program was:" >&5 5517 sed 's/^/| /' conftest.$ac_ext >&5 5518 5519 ac_header_preproc=no 5520 fi 5521 5522 rm -f conftest.err conftest.$ac_ext 5523 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5524 $as_echo "$ac_header_preproc" >&6; } 5525 5526 # So? What about this header? 5527 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5528 yes:no: ) 5529 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 5530 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5531 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 5532 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 5533 ac_header_preproc=yes 5534 ;; 5535 no:yes:* ) 5536 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 5537 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 5538 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 5539 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 5540 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 5541 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 5542 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 5543 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 5544 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 5545 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 5546 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 5547 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 5548 5549 ;; 5550 esac 5551 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5552 $as_echo_n "checking for minix/config.h... " >&6; } 5553 if test "${ac_cv_header_minix_config_h+set}" = set; then 5554 $as_echo_n "(cached) " >&6 5555 else 5556 ac_cv_header_minix_config_h=$ac_header_preproc 5557 fi 5558 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5559 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5560 5561 fi 5562 if test "x$ac_cv_header_minix_config_h" = x""yes; then 5563 MINIX=yes 5564 else 5565 MINIX= 5566 fi 5567 5568 5569 if test "$MINIX" = yes; then 5570 5571 cat >>confdefs.h <<\_ACEOF 5572 #define _POSIX_SOURCE 1 5573 _ACEOF 5574 5575 5576 cat >>confdefs.h <<\_ACEOF 5577 #define _POSIX_1_SOURCE 2 5578 _ACEOF 5579 5580 5581 cat >>confdefs.h <<\_ACEOF 5582 #define _MINIX 1 5583 _ACEOF 5584 5585 fi 5586 5587 5588 5589 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 5590 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5591 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 5592 $as_echo_n "(cached) " >&6 5593 else 5594 cat >conftest.$ac_ext <<_ACEOF 5595 /* confdefs.h. */ 5596 _ACEOF 5597 cat confdefs.h >>conftest.$ac_ext 5598 cat >>conftest.$ac_ext <<_ACEOF 5599 /* end confdefs.h. */ 5600 5601 # define __EXTENSIONS__ 1 5602 $ac_includes_default 5603 int 5604 main () 5605 { 5606 5607 ; 5608 return 0; 5609 } 5610 _ACEOF 5611 rm -f conftest.$ac_objext 5612 if { (ac_try="$ac_compile" 5613 case "(($ac_try" in 5614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5615 *) ac_try_echo=$ac_try;; 5616 esac 5617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5618 $as_echo "$ac_try_echo") >&5 5619 (eval "$ac_compile") 2>conftest.er1 5620 ac_status=$? 5621 grep -v '^ *+' conftest.er1 >conftest.err 5622 rm -f conftest.er1 5623 cat conftest.err >&5 5624 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5625 (exit $ac_status); } && { 5626 test -z "$ac_c_werror_flag" || 5627 test ! -s conftest.err 5628 } && test -s conftest.$ac_objext; then 5629 ac_cv_safe_to_define___extensions__=yes 5630 else 5631 $as_echo "$as_me: failed program was:" >&5 5632 sed 's/^/| /' conftest.$ac_ext >&5 5633 5634 ac_cv_safe_to_define___extensions__=no 5635 fi 5636 5637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5638 fi 5639 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 5640 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5641 test $ac_cv_safe_to_define___extensions__ = yes && 5642 cat >>confdefs.h <<\_ACEOF 5643 #define __EXTENSIONS__ 1 5644 _ACEOF 5645 5646 cat >>confdefs.h <<\_ACEOF 5647 #define _ALL_SOURCE 1 5648 _ACEOF 5649 5650 cat >>confdefs.h <<\_ACEOF 5651 #define _GNU_SOURCE 1 5652 _ACEOF 5653 5654 cat >>confdefs.h <<\_ACEOF 5655 #define _POSIX_PTHREAD_SEMANTICS 1 5656 _ACEOF 5657 5658 cat >>confdefs.h <<\_ACEOF 5659 #define _TANDEM_SOURCE 1 5660 _ACEOF 5661 5662 5663 { $as_echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 5664 $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; } 4646 5665 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4647 echo $ECHO_N "(cached) $ECHO_C" >&65666 $as_echo_n "(cached) " >&6 4648 5667 else 4649 5668 ac_cv_prog_cc_stdc=no … … 4679 5698 _ACEOF 4680 5699 rm -f conftest.$ac_objext 4681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4682 (eval $ac_compile) 2>conftest.er1 5700 if { (ac_try="$ac_compile" 5701 case "(($ac_try" in 5702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5703 *) ac_try_echo=$ac_try;; 5704 esac 5705 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5706 $as_echo "$ac_try_echo") >&5 5707 (eval "$ac_compile") 2>conftest.er1 4683 5708 ac_status=$? 4684 5709 grep -v '^ *+' conftest.er1 >conftest.err 4685 5710 rm -f conftest.er1 4686 5711 cat conftest.err >&5 4687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4688 (exit $ac_status); } && 4689 { ac_try='test -z "$ac_c_werror_flag" 4690 || test ! -s conftest.err' 4691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4692 (eval $ac_try) 2>&5 4693 ac_status=$? 4694 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4695 (exit $ac_status); }; } && 4696 { ac_try='test -s conftest.$ac_objext' 4697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4698 (eval $ac_try) 2>&5 4699 ac_status=$? 4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4701 (exit $ac_status); }; }; then 5712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5713 (exit $ac_status); } && { 5714 test -z "$ac_c_werror_flag" || 5715 test ! -s conftest.err 5716 } && test -s conftest.$ac_objext; then 4702 5717 ac_cv_prog_cc_stdc="$ac_arg"; break 4703 5718 else 4704 echo "$as_me: failed program was:" >&55719 $as_echo "$as_me: failed program was:" >&5 4705 5720 sed 's/^/| /' conftest.$ac_ext >&5 4706 5721 4707 fi 4708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5722 5723 fi 5724 5725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4709 5726 done 4710 5727 CFLAGS="$ac_save_CFLAGS" … … 4712 5729 fi 4713 5730 4714 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&54715 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 5731 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 5732 $as_echo "$ac_cv_prog_cc_stdc" >&6; } 4716 5733 case "x$ac_cv_prog_cc_stdc" in 4717 5734 x|xno) ;; … … 4720 5737 4721 5738 4722 echo "$as_me:$LINENO: checking for function prototypes" >&54723 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 5739 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5 5740 $as_echo_n "checking for function prototypes... " >&6; } 4724 5741 if test "$ac_cv_prog_cc_stdc" != no; then 4725 echo "$as_me:$LINENO: result: yes" >&54726 echo "${ECHO_T}yes" >&6 5742 { $as_echo "$as_me:$LINENO: result: yes" >&5 5743 $as_echo "yes" >&6; } 4727 5744 cat >>confdefs.h <<\_ACEOF 4728 5745 #define PROTOTYPES 1 … … 4731 5748 U= ANSI2KNR= 4732 5749 else 4733 echo "$as_me:$LINENO: result: no" >&54734 echo "${ECHO_T}no" >&6 5750 { $as_echo "$as_me:$LINENO: result: no" >&5 5751 $as_echo "no" >&6; } 4735 5752 U=_ ANSI2KNR=ansi2knr 4736 5753 fi 4737 5754 4738 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&54739 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 5755 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 5756 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 4740 5757 if test "${ac_cv_c_const+set}" = set; then 4741 echo $ECHO_N "(cached) $ECHO_C" >&65758 $as_echo_n "(cached) " >&6 4742 5759 else 4743 5760 cat >conftest.$ac_ext <<_ACEOF … … 4755 5772 /* Ultrix mips cc rejects this. */ 4756 5773 typedef int charset[2]; 4757 const charset x;5774 const charset cs; 4758 5775 /* SunOS 4.1.1 cc rejects this. */ 4759 char const *const * ccp;4760 char **p ;5776 char const *const *pcpcc; 5777 char **ppc; 4761 5778 /* NEC SVR4.0.2 mips cc rejects this. */ 4762 5779 struct point {int x, y;}; … … 4767 5784 expression */ 4768 5785 const char *g = "string"; 4769 ccp= &g + (g ? g-g : 0);5786 pcpcc = &g + (g ? g-g : 0); 4770 5787 /* HPUX 7.0 cc rejects these. */ 4771 ++ ccp;4772 p = (char**) ccp;4773 ccp = (char const *const *) p;5788 ++pcpcc; 5789 ppc = (char**) pcpcc; 5790 pcpcc = (char const *const *) ppc; 4774 5791 { /* SCO 3.2v4 cc rejects this. */ 4775 5792 char *t; … … 4777 5794 4778 5795 *t++ = 0; 5796 if (s) return 0; 4779 5797 } 4780 5798 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 4795 5813 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4796 5814 const int foo = 10; 5815 if (!foo) return 0; 4797 5816 } 5817 return !cs[0] && !zero.x; 4798 5818 #endif 4799 5819 … … 4803 5823 _ACEOF 4804 5824 rm -f conftest.$ac_objext 4805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4806 (eval $ac_compile) 2>conftest.er1 5825 if { (ac_try="$ac_compile" 5826 case "(($ac_try" in 5827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5828 *) ac_try_echo=$ac_try;; 5829 esac 5830 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5831 $as_echo "$ac_try_echo") >&5 5832 (eval "$ac_compile") 2>conftest.er1 4807 5833 ac_status=$? 4808 5834 grep -v '^ *+' conftest.er1 >conftest.err 4809 5835 rm -f conftest.er1 4810 5836 cat conftest.err >&5 4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4812 (exit $ac_status); } && 4813 { ac_try='test -z "$ac_c_werror_flag" 4814 || test ! -s conftest.err' 4815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4816 (eval $ac_try) 2>&5 4817 ac_status=$? 4818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4819 (exit $ac_status); }; } && 4820 { ac_try='test -s conftest.$ac_objext' 4821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4822 (eval $ac_try) 2>&5 4823 ac_status=$? 4824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4825 (exit $ac_status); }; }; then 5837 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5838 (exit $ac_status); } && { 5839 test -z "$ac_c_werror_flag" || 5840 test ! -s conftest.err 5841 } && test -s conftest.$ac_objext; then 4826 5842 ac_cv_c_const=yes 4827 5843 else 4828 echo "$as_me: failed program was:" >&55844 $as_echo "$as_me: failed program was:" >&5 4829 5845 sed 's/^/| /' conftest.$ac_ext >&5 4830 5846 4831 ac_cv_c_const=no 4832 fi 4833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4834 fi 4835 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4836 echo "${ECHO_T}$ac_cv_c_const" >&6 5847 ac_cv_c_const=no 5848 fi 5849 5850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5851 fi 5852 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 5853 $as_echo "$ac_cv_c_const" >&6; } 4837 5854 if test $ac_cv_c_const = no; then 4838 5855 4839 5856 cat >>confdefs.h <<\_ACEOF 4840 #define const 4841 _ACEOF 4842 4843 fi 4844 4845 echo "$as_me:$LINENO: checking for off_t" >&54846 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 5857 #define const /**/ 5858 _ACEOF 5859 5860 fi 5861 5862 { $as_echo "$as_me:$LINENO: checking for off_t" >&5 5863 $as_echo_n "checking for off_t... " >&6; } 4847 5864 if test "${ac_cv_type_off_t+set}" = set; then 4848 echo $ECHO_N "(cached) $ECHO_C" >&6 4849 else 4850 cat >conftest.$ac_ext <<_ACEOF 5865 $as_echo_n "(cached) " >&6 5866 else 5867 ac_cv_type_off_t=no 5868 cat >conftest.$ac_ext <<_ACEOF 4851 5869 /* confdefs.h. */ 4852 5870 _ACEOF … … 4858 5876 main () 4859 5877 { 4860 if ((off_t *) 0)4861 return 0;4862 5878 if (sizeof (off_t)) 4863 return 0;5879 return 0; 4864 5880 ; 4865 5881 return 0; … … 4867 5883 _ACEOF 4868 5884 rm -f conftest.$ac_objext 4869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4870 (eval $ac_compile) 2>conftest.er1 5885 if { (ac_try="$ac_compile" 5886 case "(($ac_try" in 5887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5888 *) ac_try_echo=$ac_try;; 5889 esac 5890 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5891 $as_echo "$ac_try_echo") >&5 5892 (eval "$ac_compile") 2>conftest.er1 4871 5893 ac_status=$? 4872 5894 grep -v '^ *+' conftest.er1 >conftest.err 4873 5895 rm -f conftest.er1 4874 5896 cat conftest.err >&5 4875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4876 (exit $ac_status); } && 4877 { ac_try='test -z "$ac_c_werror_flag" 4878 || test ! -s conftest.err' 4879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4880 (eval $ac_try) 2>&5 4881 ac_status=$? 4882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4883 (exit $ac_status); }; } && 4884 { ac_try='test -s conftest.$ac_objext' 4885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4886 (eval $ac_try) 2>&5 4887 ac_status=$? 4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4889 (exit $ac_status); }; }; then 4890 ac_cv_type_off_t=yes 4891 else 4892 echo "$as_me: failed program was:" >&5 4893 sed 's/^/| /' conftest.$ac_ext >&5 4894 4895 ac_cv_type_off_t=no 4896 fi 4897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4898 fi 4899 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4900 echo "${ECHO_T}$ac_cv_type_off_t" >&6 4901 if test $ac_cv_type_off_t = yes; then 4902 : 4903 else 4904 4905 cat >>confdefs.h <<_ACEOF 4906 #define off_t long 4907 _ACEOF 4908 4909 fi 4910 4911 echo "$as_me:$LINENO: checking for size_t" >&5 4912 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 4913 if test "${ac_cv_type_size_t+set}" = set; then 4914 echo $ECHO_N "(cached) $ECHO_C" >&6 4915 else 5897 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5898 (exit $ac_status); } && { 5899 test -z "$ac_c_werror_flag" || 5900 test ! -s conftest.err 5901 } && test -s conftest.$ac_objext; then 4916 5902 cat >conftest.$ac_ext <<_ACEOF 4917 5903 /* confdefs.h. */ … … 4924 5910 main () 4925 5911 { 4926 if ((size_t *) 0) 4927 return 0; 4928 if (sizeof (size_t)) 4929 return 0; 5912 if (sizeof ((off_t))) 5913 return 0; 4930 5914 ; 4931 5915 return 0; … … 4933 5917 _ACEOF 4934 5918 rm -f conftest.$ac_objext 4935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4936 (eval $ac_compile) 2>conftest.er1 5919 if { (ac_try="$ac_compile" 5920 case "(($ac_try" in 5921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5922 *) ac_try_echo=$ac_try;; 5923 esac 5924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5925 $as_echo "$ac_try_echo") >&5 5926 (eval "$ac_compile") 2>conftest.er1 4937 5927 ac_status=$? 4938 5928 grep -v '^ *+' conftest.er1 >conftest.err 4939 5929 rm -f conftest.er1 4940 5930 cat conftest.err >&5 4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4942 (exit $ac_status); } && 4943 { ac_try='test -z "$ac_c_werror_flag" 4944 || test ! -s conftest.err' 4945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4946 (eval $ac_try) 2>&5 5931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5932 (exit $ac_status); } && { 5933 test -z "$ac_c_werror_flag" || 5934 test ! -s conftest.err 5935 } && test -s conftest.$ac_objext; then 5936 : 5937 else 5938 $as_echo "$as_me: failed program was:" >&5 5939 sed 's/^/| /' conftest.$ac_ext >&5 5940 5941 ac_cv_type_off_t=yes 5942 fi 5943 5944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5945 else 5946 $as_echo "$as_me: failed program was:" >&5 5947 sed 's/^/| /' conftest.$ac_ext >&5 5948 5949 5950 fi 5951 5952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5953 fi 5954 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 5955 $as_echo "$ac_cv_type_off_t" >&6; } 5956 if test "x$ac_cv_type_off_t" = x""yes; then 5957 : 5958 else 5959 5960 cat >>confdefs.h <<_ACEOF 5961 #define off_t long int 5962 _ACEOF 5963 5964 fi 5965 5966 { $as_echo "$as_me:$LINENO: checking for size_t" >&5 5967 $as_echo_n "checking for size_t... " >&6; } 5968 if test "${ac_cv_type_size_t+set}" = set; then 5969 $as_echo_n "(cached) " >&6 5970 else 5971 ac_cv_type_size_t=no 5972 cat >conftest.$ac_ext <<_ACEOF 5973 /* confdefs.h. */ 5974 _ACEOF 5975 cat confdefs.h >>conftest.$ac_ext 5976 cat >>conftest.$ac_ext <<_ACEOF 5977 /* end confdefs.h. */ 5978 $ac_includes_default 5979 int 5980 main () 5981 { 5982 if (sizeof (size_t)) 5983 return 0; 5984 ; 5985 return 0; 5986 } 5987 _ACEOF 5988 rm -f conftest.$ac_objext 5989 if { (ac_try="$ac_compile" 5990 case "(($ac_try" in 5991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5992 *) ac_try_echo=$ac_try;; 5993 esac 5994 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5995 $as_echo "$ac_try_echo") >&5 5996 (eval "$ac_compile") 2>conftest.er1 4947 5997 ac_status=$? 4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4949 (exit $ac_status); }; } && 4950 { ac_try='test -s conftest.$ac_objext' 4951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4952 (eval $ac_try) 2>&5 5998 grep -v '^ *+' conftest.er1 >conftest.err 5999 rm -f conftest.er1 6000 cat conftest.err >&5 6001 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6002 (exit $ac_status); } && { 6003 test -z "$ac_c_werror_flag" || 6004 test ! -s conftest.err 6005 } && test -s conftest.$ac_objext; then 6006 cat >conftest.$ac_ext <<_ACEOF 6007 /* confdefs.h. */ 6008 _ACEOF 6009 cat confdefs.h >>conftest.$ac_ext 6010 cat >>conftest.$ac_ext <<_ACEOF 6011 /* end confdefs.h. */ 6012 $ac_includes_default 6013 int 6014 main () 6015 { 6016 if (sizeof ((size_t))) 6017 return 0; 6018 ; 6019 return 0; 6020 } 6021 _ACEOF 6022 rm -f conftest.$ac_objext 6023 if { (ac_try="$ac_compile" 6024 case "(($ac_try" in 6025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6026 *) ac_try_echo=$ac_try;; 6027 esac 6028 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6029 $as_echo "$ac_try_echo") >&5 6030 (eval "$ac_compile") 2>conftest.er1 4953 6031 ac_status=$? 4954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4955 (exit $ac_status); }; }; then 4956 ac_cv_type_size_t=yes 4957 else 4958 echo "$as_me: failed program was:" >&5 6032 grep -v '^ *+' conftest.er1 >conftest.err 6033 rm -f conftest.er1 6034 cat conftest.err >&5 6035 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6036 (exit $ac_status); } && { 6037 test -z "$ac_c_werror_flag" || 6038 test ! -s conftest.err 6039 } && test -s conftest.$ac_objext; then 6040 : 6041 else 6042 $as_echo "$as_me: failed program was:" >&5 4959 6043 sed 's/^/| /' conftest.$ac_ext >&5 4960 6044 4961 ac_cv_type_size_t=no 4962 fi 4963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4964 fi 4965 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4966 echo "${ECHO_T}$ac_cv_type_size_t" >&6 4967 if test $ac_cv_type_size_t = yes; then 6045 ac_cv_type_size_t=yes 6046 fi 6047 6048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6049 else 6050 $as_echo "$as_me: failed program was:" >&5 6051 sed 's/^/| /' conftest.$ac_ext >&5 6052 6053 6054 fi 6055 6056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6057 fi 6058 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 6059 $as_echo "$ac_cv_type_size_t" >&6; } 6060 if test "x$ac_cv_type_size_t" = x""yes; then 4968 6061 : 4969 6062 else 4970 6063 4971 6064 cat >>confdefs.h <<_ACEOF 4972 #define size_t unsigned 4973 _ACEOF 4974 4975 fi 4976 4977 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&54978 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 6065 #define size_t unsigned int 6066 _ACEOF 6067 6068 fi 6069 6070 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 6071 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 4979 6072 if test "${ac_cv_header_time+set}" = set; then 4980 echo $ECHO_N "(cached) $ECHO_C" >&66073 $as_echo_n "(cached) " >&6 4981 6074 else 4982 6075 cat >conftest.$ac_ext <<_ACEOF … … 5000 6093 _ACEOF 5001 6094 rm -f conftest.$ac_objext 5002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5003 (eval $ac_compile) 2>conftest.er1 6095 if { (ac_try="$ac_compile" 6096 case "(($ac_try" in 6097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6098 *) ac_try_echo=$ac_try;; 6099 esac 6100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6101 $as_echo "$ac_try_echo") >&5 6102 (eval "$ac_compile") 2>conftest.er1 5004 6103 ac_status=$? 5005 6104 grep -v '^ *+' conftest.er1 >conftest.err 5006 6105 rm -f conftest.er1 5007 6106 cat conftest.err >&5 5008 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5009 (exit $ac_status); } && 5010 { ac_try='test -z "$ac_c_werror_flag" 5011 || test ! -s conftest.err' 5012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5013 (eval $ac_try) 2>&5 5014 ac_status=$? 5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5016 (exit $ac_status); }; } && 5017 { ac_try='test -s conftest.$ac_objext' 5018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5019 (eval $ac_try) 2>&5 5020 ac_status=$? 5021 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5022 (exit $ac_status); }; }; then 6107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6108 (exit $ac_status); } && { 6109 test -z "$ac_c_werror_flag" || 6110 test ! -s conftest.err 6111 } && test -s conftest.$ac_objext; then 5023 6112 ac_cv_header_time=yes 5024 6113 else 5025 echo "$as_me: failed program was:" >&56114 $as_echo "$as_me: failed program was:" >&5 5026 6115 sed 's/^/| /' conftest.$ac_ext >&5 5027 6116 5028 ac_cv_header_time=no 5029 fi 5030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5031 fi 5032 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 5033 echo "${ECHO_T}$ac_cv_header_time" >&6 6117 ac_cv_header_time=no 6118 fi 6119 6120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6121 fi 6122 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 6123 $as_echo "$ac_cv_header_time" >&6; } 5034 6124 if test $ac_cv_header_time = yes; then 5035 6125 … … 5040 6130 fi 5041 6131 5042 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&55043 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 6132 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 6133 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 5044 6134 if test "${ac_cv_struct_tm+set}" = set; then 5045 echo $ECHO_N "(cached) $ECHO_C" >&66135 $as_echo_n "(cached) " >&6 5046 6136 else 5047 6137 cat >conftest.$ac_ext <<_ACEOF … … 5057 6147 main () 5058 6148 { 5059 struct tm *tp; tp->tm_sec; 6149 struct tm tm; 6150 int *p = &tm.tm_sec; 6151 return !p; 5060 6152 ; 5061 6153 return 0; … … 5063 6155 _ACEOF 5064 6156 rm -f conftest.$ac_objext 5065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5066 (eval $ac_compile) 2>conftest.er1 6157 if { (ac_try="$ac_compile" 6158 case "(($ac_try" in 6159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6160 *) ac_try_echo=$ac_try;; 6161 esac 6162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6163 $as_echo "$ac_try_echo") >&5 6164 (eval "$ac_compile") 2>conftest.er1 5067 6165 ac_status=$? 5068 6166 grep -v '^ *+' conftest.er1 >conftest.err 5069 6167 rm -f conftest.er1 5070 6168 cat conftest.err >&5 5071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5072 (exit $ac_status); } && 5073 { ac_try='test -z "$ac_c_werror_flag" 5074 || test ! -s conftest.err' 5075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5076 (eval $ac_try) 2>&5 5077 ac_status=$? 5078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5079 (exit $ac_status); }; } && 5080 { ac_try='test -s conftest.$ac_objext' 5081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5082 (eval $ac_try) 2>&5 5083 ac_status=$? 5084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5085 (exit $ac_status); }; }; then 6169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6170 (exit $ac_status); } && { 6171 test -z "$ac_c_werror_flag" || 6172 test ! -s conftest.err 6173 } && test -s conftest.$ac_objext; then 5086 6174 ac_cv_struct_tm=time.h 5087 6175 else 5088 echo "$as_me: failed program was:" >&56176 $as_echo "$as_me: failed program was:" >&5 5089 6177 sed 's/^/| /' conftest.$ac_ext >&5 5090 6178 5091 ac_cv_struct_tm=sys/time.h 5092 fi 5093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5094 fi 5095 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 5096 echo "${ECHO_T}$ac_cv_struct_tm" >&6 6179 ac_cv_struct_tm=sys/time.h 6180 fi 6181 6182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6183 fi 6184 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 6185 $as_echo "$ac_cv_struct_tm" >&6; } 5097 6186 if test $ac_cv_struct_tm = sys/time.h; then 5098 6187 … … 5122 6211 _ACEOF 5123 6212 rm -f conftest.$ac_objext 5124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5125 (eval $ac_compile) 2>conftest.er1 6213 if { (ac_try="$ac_compile" 6214 case "(($ac_try" in 6215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6216 *) ac_try_echo=$ac_try;; 6217 esac 6218 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6219 $as_echo "$ac_try_echo") >&5 6220 (eval "$ac_compile") 2>conftest.er1 5126 6221 ac_status=$? 5127 6222 grep -v '^ *+' conftest.er1 >conftest.err 5128 6223 rm -f conftest.er1 5129 6224 cat conftest.err >&5 5130 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5131 (exit $ac_status); } && 5132 { ac_try='test -z "$ac_c_werror_flag" 5133 || test ! -s conftest.err' 5134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5135 (eval $ac_try) 2>&5 5136 ac_status=$? 5137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5138 (exit $ac_status); }; } && 5139 { ac_try='test -s conftest.$ac_objext' 5140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5141 (eval $ac_try) 2>&5 5142 ac_status=$? 5143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5144 (exit $ac_status); }; }; then 6225 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6226 (exit $ac_status); } && { 6227 test -z "$ac_c_werror_flag" || 6228 test ! -s conftest.err 6229 } && test -s conftest.$ac_objext; then 5145 6230 : 5146 6231 else 5147 echo "$as_me: failed program was:" >&56232 $as_echo "$as_me: failed program was:" >&5 5148 6233 sed 's/^/| /' conftest.$ac_ext >&5 5149 6234 5150 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5151 fi 5152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5153 fi 5154 5155 5156 5157 echo "$as_me:$LINENO: checking for main in -lg" >&5 5158 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6 6235 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 6236 fi 6237 6238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6239 fi 6240 6241 6242 6243 { $as_echo "$as_me:$LINENO: checking for main in -lg" >&5 6244 $as_echo_n "checking for main in -lg... " >&6; } 5159 6245 if test "${ac_cv_lib_g_main+set}" = set; then 5160 echo $ECHO_N "(cached) $ECHO_C" >&66246 $as_echo_n "(cached) " >&6 5161 6247 else 5162 6248 ac_check_lib_save_LIBS=$LIBS … … 5173 6259 main () 5174 6260 { 5175 main ();6261 return main (); 5176 6262 ; 5177 6263 return 0; … … 5179 6265 _ACEOF 5180 6266 rm -f conftest.$ac_objext conftest$ac_exeext 5181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5182 (eval $ac_link) 2>conftest.er1 6267 if { (ac_try="$ac_link" 6268 case "(($ac_try" in 6269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6270 *) ac_try_echo=$ac_try;; 6271 esac 6272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6273 $as_echo "$ac_try_echo") >&5 6274 (eval "$ac_link") 2>conftest.er1 5183 6275 ac_status=$? 5184 6276 grep -v '^ *+' conftest.er1 >conftest.err 5185 6277 rm -f conftest.er1 5186 6278 cat conftest.err >&5 5187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5188 (exit $ac_status); } && 5189 { ac_try='test -z "$ac_c_werror_flag" 5190 || test ! -s conftest.err' 5191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5192 (eval $ac_try) 2>&5 5193 ac_status=$? 5194 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5195 (exit $ac_status); }; } && 5196 { ac_try='test -s conftest$ac_exeext' 5197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5198 (eval $ac_try) 2>&5 5199 ac_status=$? 5200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5201 (exit $ac_status); }; }; then 6279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6280 (exit $ac_status); } && { 6281 test -z "$ac_c_werror_flag" || 6282 test ! -s conftest.err 6283 } && test -s conftest$ac_exeext && { 6284 test "$cross_compiling" = yes || 6285 $as_test_x conftest$ac_exeext 6286 }; then 5202 6287 ac_cv_lib_g_main=yes 5203 6288 else 5204 echo "$as_me: failed program was:" >&56289 $as_echo "$as_me: failed program was:" >&5 5205 6290 sed 's/^/| /' conftest.$ac_ext >&5 5206 6291 5207 ac_cv_lib_g_main=no 5208 fi 5209 rm -f conftest.err conftest.$ac_objext \ 6292 ac_cv_lib_g_main=no 6293 fi 6294 6295 rm -rf conftest.dSYM 6296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5210 6297 conftest$ac_exeext conftest.$ac_ext 5211 6298 LIBS=$ac_check_lib_save_LIBS 5212 6299 fi 5213 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&55214 echo "${ECHO_T}$ac_cv_lib_g_main" >&6 5215 if test $ac_cv_lib_g_main =yes; then6300 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5 6301 $as_echo "$ac_cv_lib_g_main" >&6; } 6302 if test "x$ac_cv_lib_g_main" = x""yes; then 5216 6303 cat >>confdefs.h <<_ACEOF 5217 6304 #define HAVE_LIBG 1 … … 5224 6311 5225 6312 5226 echo "$as_me:$LINENO: checking for main in -lm" >&55227 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 6313 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5 6314 $as_echo_n "checking for main in -lm... " >&6; } 5228 6315 if test "${ac_cv_lib_m_main+set}" = set; then 5229 echo $ECHO_N "(cached) $ECHO_C" >&66316 $as_echo_n "(cached) " >&6 5230 6317 else 5231 6318 ac_check_lib_save_LIBS=$LIBS … … 5242 6329 main () 5243 6330 { 5244 main ();6331 return main (); 5245 6332 ; 5246 6333 return 0; … … 5248 6335 _ACEOF 5249 6336 rm -f conftest.$ac_objext conftest$ac_exeext 5250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5251 (eval $ac_link) 2>conftest.er1 6337 if { (ac_try="$ac_link" 6338 case "(($ac_try" in 6339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6340 *) ac_try_echo=$ac_try;; 6341 esac 6342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6343 $as_echo "$ac_try_echo") >&5 6344 (eval "$ac_link") 2>conftest.er1 5252 6345 ac_status=$? 5253 6346 grep -v '^ *+' conftest.er1 >conftest.err 5254 6347 rm -f conftest.er1 5255 6348 cat conftest.err >&5 5256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5257 (exit $ac_status); } && 5258 { ac_try='test -z "$ac_c_werror_flag" 5259 || test ! -s conftest.err' 5260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5261 (eval $ac_try) 2>&5 5262 ac_status=$? 5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5264 (exit $ac_status); }; } && 5265 { ac_try='test -s conftest$ac_exeext' 5266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5267 (eval $ac_try) 2>&5 5268 ac_status=$? 5269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5270 (exit $ac_status); }; }; then 6349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6350 (exit $ac_status); } && { 6351 test -z "$ac_c_werror_flag" || 6352 test ! -s conftest.err 6353 } && test -s conftest$ac_exeext && { 6354 test "$cross_compiling" = yes || 6355 $as_test_x conftest$ac_exeext 6356 }; then 5271 6357 ac_cv_lib_m_main=yes 5272 6358 else 5273 echo "$as_me: failed program was:" >&56359 $as_echo "$as_me: failed program was:" >&5 5274 6360 sed 's/^/| /' conftest.$ac_ext >&5 5275 6361 5276 ac_cv_lib_m_main=no 5277 fi 5278 rm -f conftest.err conftest.$ac_objext \ 6362 ac_cv_lib_m_main=no 6363 fi 6364 6365 rm -rf conftest.dSYM 6366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5279 6367 conftest$ac_exeext conftest.$ac_ext 5280 6368 LIBS=$ac_check_lib_save_LIBS 5281 6369 fi 5282 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&55283 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 5284 if test $ac_cv_lib_m_main =yes; then6370 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 6371 $as_echo "$ac_cv_lib_m_main" >&6; } 6372 if test "x$ac_cv_lib_m_main" = x""yes; then 5285 6373 cat >>confdefs.h <<_ACEOF 5286 6374 #define HAVE_LIBM 1 … … 5293 6381 5294 6382 5295 echo "$as_me:$LINENO: checking for main in -lcrypt" >&55296 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 6383 { $as_echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 6384 $as_echo_n "checking for main in -lcrypt... " >&6; } 5297 6385 if test "${ac_cv_lib_crypt_main+set}" = set; then 5298 echo $ECHO_N "(cached) $ECHO_C" >&66386 $as_echo_n "(cached) " >&6 5299 6387 else 5300 6388 ac_check_lib_save_LIBS=$LIBS … … 5311 6399 main () 5312 6400 { 5313 main ();6401 return main (); 5314 6402 ; 5315 6403 return 0; … … 5317 6405 _ACEOF 5318 6406 rm -f conftest.$ac_objext conftest$ac_exeext 5319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5320 (eval $ac_link) 2>conftest.er1 6407 if { (ac_try="$ac_link" 6408 case "(($ac_try" in 6409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6410 *) ac_try_echo=$ac_try;; 6411 esac 6412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6413 $as_echo "$ac_try_echo") >&5 6414 (eval "$ac_link") 2>conftest.er1 5321 6415 ac_status=$? 5322 6416 grep -v '^ *+' conftest.er1 >conftest.err 5323 6417 rm -f conftest.er1 5324 6418 cat conftest.err >&5 5325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5326 (exit $ac_status); } && 5327 { ac_try='test -z "$ac_c_werror_flag" 5328 || test ! -s conftest.err' 5329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5330 (eval $ac_try) 2>&5 5331 ac_status=$? 5332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5333 (exit $ac_status); }; } && 5334 { ac_try='test -s conftest$ac_exeext' 5335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5336 (eval $ac_try) 2>&5 5337 ac_status=$? 5338 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5339 (exit $ac_status); }; }; then 6419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6420 (exit $ac_status); } && { 6421 test -z "$ac_c_werror_flag" || 6422 test ! -s conftest.err 6423 } && test -s conftest$ac_exeext && { 6424 test "$cross_compiling" = yes || 6425 $as_test_x conftest$ac_exeext 6426 }; then 5340 6427 ac_cv_lib_crypt_main=yes 5341 6428 else 5342 echo "$as_me: failed program was:" >&56429 $as_echo "$as_me: failed program was:" >&5 5343 6430 sed 's/^/| /' conftest.$ac_ext >&5 5344 6431 5345 ac_cv_lib_crypt_main=no 5346 fi 5347 rm -f conftest.err conftest.$ac_objext \ 6432 ac_cv_lib_crypt_main=no 6433 fi 6434 6435 rm -rf conftest.dSYM 6436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5348 6437 conftest$ac_exeext conftest.$ac_ext 5349 6438 LIBS=$ac_check_lib_save_LIBS 5350 6439 fi 5351 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&55352 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 5353 if test $ac_cv_lib_crypt_main =yes; then6440 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5 6441 $as_echo "$ac_cv_lib_crypt_main" >&6; } 6442 if test "x$ac_cv_lib_crypt_main" = x""yes; then 5354 6443 cat >>confdefs.h <<_ACEOF 5355 6444 #define HAVE_LIBCRYPT 1 … … 5372 6461 ac_header_dirent=no 5373 6462 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 5374 as_ac_Header=` echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`5375 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&55376 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 5377 if eval "test \"\${$as_ac_Header+set}\" = set"; then5378 echo $ECHO_N "(cached) $ECHO_C" >&66463 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 6464 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 6465 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 6466 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6467 $as_echo_n "(cached) " >&6 5379 6468 else 5380 6469 cat >conftest.$ac_ext <<_ACEOF … … 5397 6486 _ACEOF 5398 6487 rm -f conftest.$ac_objext 5399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5400 (eval $ac_compile) 2>conftest.er1 6488 if { (ac_try="$ac_compile" 6489 case "(($ac_try" in 6490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6491 *) ac_try_echo=$ac_try;; 6492 esac 6493 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6494 $as_echo "$ac_try_echo") >&5 6495 (eval "$ac_compile") 2>conftest.er1 5401 6496 ac_status=$? 5402 6497 grep -v '^ *+' conftest.er1 >conftest.err 5403 6498 rm -f conftest.er1 5404 6499 cat conftest.err >&5 5405 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5406 (exit $ac_status); } && 5407 { ac_try='test -z "$ac_c_werror_flag" 5408 || test ! -s conftest.err' 5409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5410 (eval $ac_try) 2>&5 5411 ac_status=$? 5412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5413 (exit $ac_status); }; } && 5414 { ac_try='test -s conftest.$ac_objext' 5415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5416 (eval $ac_try) 2>&5 5417 ac_status=$? 5418 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5419 (exit $ac_status); }; }; then 6500 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6501 (exit $ac_status); } && { 6502 test -z "$ac_c_werror_flag" || 6503 test ! -s conftest.err 6504 } && test -s conftest.$ac_objext; then 5420 6505 eval "$as_ac_Header=yes" 5421 6506 else 5422 echo "$as_me: failed program was:" >&56507 $as_echo "$as_me: failed program was:" >&5 5423 6508 sed 's/^/| /' conftest.$ac_ext >&5 5424 6509 5425 eval "$as_ac_Header=no" 5426 fi 5427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5428 fi 5429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5431 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6510 eval "$as_ac_Header=no" 6511 fi 6512 6513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6514 fi 6515 ac_res=`eval 'as_val=${'$as_ac_Header'} 6516 $as_echo "$as_val"'` 6517 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6518 $as_echo "$ac_res" >&6; } 6519 as_val=`eval 'as_val=${'$as_ac_Header'} 6520 $as_echo "$as_val"'` 6521 if test "x$as_val" = x""yes; then 5432 6522 cat >>confdefs.h <<_ACEOF 5433 #define ` echo "HAVE_$ac_hdr" | $as_tr_cpp` 16523 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 5434 6524 _ACEOF 5435 6525 … … 5440 6530 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 5441 6531 if test $ac_header_dirent = dirent.h; then 5442 echo "$as_me:$LINENO: checking for library containing opendir" >&55443 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 6532 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 6533 $as_echo_n "checking for library containing opendir... " >&6; } 5444 6534 if test "${ac_cv_search_opendir+set}" = set; then 5445 echo $ECHO_N "(cached) $ECHO_C" >&66535 $as_echo_n "(cached) " >&6 5446 6536 else 5447 6537 ac_func_search_save_LIBS=$LIBS 5448 ac_cv_search_opendir=no5449 6538 cat >conftest.$ac_ext <<_ACEOF 5450 6539 /* confdefs.h. */ … … 5454 6543 /* end confdefs.h. */ 5455 6544 5456 /* Override any gcc2 internal prototype to avoid an error. */ 6545 /* Override any GCC internal prototype to avoid an error. 6546 Use char because int might match the return type of a GCC 6547 builtin and then its argument prototype would still apply. */ 5457 6548 #ifdef __cplusplus 5458 6549 extern "C" 5459 6550 #endif 5460 /* We use char because int might match the return type of a gcc25461 builtin and then its argument prototype would still apply. */5462 6551 char opendir (); 5463 6552 int 5464 6553 main () 5465 6554 { 5466 opendir ();6555 return opendir (); 5467 6556 ; 5468 6557 return 0; 5469 6558 } 5470 6559 _ACEOF 5471 rm -f conftest.$ac_objext conftest$ac_exeext 5472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5473 (eval $ac_link) 2>conftest.er1 6560 for ac_lib in '' dir; do 6561 if test -z "$ac_lib"; then 6562 ac_res="none required" 6563 else 6564 ac_res=-l$ac_lib 6565 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6566 fi 6567 rm -f conftest.$ac_objext conftest$ac_exeext 6568 if { (ac_try="$ac_link" 6569 case "(($ac_try" in 6570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6571 *) ac_try_echo=$ac_try;; 6572 esac 6573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6574 $as_echo "$ac_try_echo") >&5 6575 (eval "$ac_link") 2>conftest.er1 5474 6576 ac_status=$? 5475 6577 grep -v '^ *+' conftest.er1 >conftest.err 5476 6578 rm -f conftest.er1 5477 6579 cat conftest.err >&5 5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5479 (exit $ac_status); } && 5480 { ac_try='test -z "$ac_c_werror_flag" 5481 || test ! -s conftest.err' 5482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5483 (eval $ac_try) 2>&5 5484 ac_status=$? 5485 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5486 (exit $ac_status); }; } && 5487 { ac_try='test -s conftest$ac_exeext' 5488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5489 (eval $ac_try) 2>&5 5490 ac_status=$? 5491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5492 (exit $ac_status); }; }; then 5493 ac_cv_search_opendir="none required" 5494 else 5495 echo "$as_me: failed program was:" >&5 6580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6581 (exit $ac_status); } && { 6582 test -z "$ac_c_werror_flag" || 6583 test ! -s conftest.err 6584 } && test -s conftest$ac_exeext && { 6585 test "$cross_compiling" = yes || 6586 $as_test_x conftest$ac_exeext 6587 }; then 6588 ac_cv_search_opendir=$ac_res 6589 else 6590 $as_echo "$as_me: failed program was:" >&5 5496 6591 sed 's/^/| /' conftest.$ac_ext >&5 5497 6592 5498 fi 5499 rm -f conftest.err conftest.$ac_objext \ 5500 conftest$ac_exeext conftest.$ac_ext 5501 if test "$ac_cv_search_opendir" = no; then 5502 for ac_lib in dir; do 5503 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5504 cat >conftest.$ac_ext <<_ACEOF 6593 6594 fi 6595 6596 rm -rf conftest.dSYM 6597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6598 conftest$ac_exeext 6599 if test "${ac_cv_search_opendir+set}" = set; then 6600 break 6601 fi 6602 done 6603 if test "${ac_cv_search_opendir+set}" = set; then 6604 : 6605 else 6606 ac_cv_search_opendir=no 6607 fi 6608 rm conftest.$ac_ext 6609 LIBS=$ac_func_search_save_LIBS 6610 fi 6611 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 6612 $as_echo "$ac_cv_search_opendir" >&6; } 6613 ac_res=$ac_cv_search_opendir 6614 if test "$ac_res" != no; then 6615 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6616 6617 fi 6618 6619 else 6620 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 6621 $as_echo_n "checking for library containing opendir... " >&6; } 6622 if test "${ac_cv_search_opendir+set}" = set; then 6623 $as_echo_n "(cached) " >&6 6624 else 6625 ac_func_search_save_LIBS=$LIBS 6626 cat >conftest.$ac_ext <<_ACEOF 5505 6627 /* confdefs.h. */ 5506 6628 _ACEOF … … 5509 6631 /* end confdefs.h. */ 5510 6632 5511 /* Override any gcc2 internal prototype to avoid an error. */ 6633 /* Override any GCC internal prototype to avoid an error. 6634 Use char because int might match the return type of a GCC 6635 builtin and then its argument prototype would still apply. */ 5512 6636 #ifdef __cplusplus 5513 6637 extern "C" 5514 6638 #endif 5515 /* We use char because int might match the return type of a gcc25516 builtin and then its argument prototype would still apply. */5517 6639 char opendir (); 5518 6640 int 5519 6641 main () 5520 6642 { 5521 opendir ();6643 return opendir (); 5522 6644 ; 5523 6645 return 0; 5524 6646 } 5525 6647 _ACEOF 5526 rm -f conftest.$ac_objext conftest$ac_exeext 5527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5528 (eval $ac_link) 2>conftest.er1 6648 for ac_lib in '' x; do 6649 if test -z "$ac_lib"; then 6650 ac_res="none required" 6651 else 6652 ac_res=-l$ac_lib 6653 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6654 fi 6655 rm -f conftest.$ac_objext conftest$ac_exeext 6656 if { (ac_try="$ac_link" 6657 case "(($ac_try" in 6658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6659 *) ac_try_echo=$ac_try;; 6660 esac 6661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6662 $as_echo "$ac_try_echo") >&5 6663 (eval "$ac_link") 2>conftest.er1 5529 6664 ac_status=$? 5530 6665 grep -v '^ *+' conftest.er1 >conftest.err 5531 6666 rm -f conftest.er1 5532 6667 cat conftest.err >&5 5533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5534 (exit $ac_status); } && 5535 { ac_try='test -z "$ac_c_werror_flag" 5536 || test ! -s conftest.err' 5537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5538 (eval $ac_try) 2>&5 5539 ac_status=$? 5540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5541 (exit $ac_status); }; } && 5542 { ac_try='test -s conftest$ac_exeext' 5543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5544 (eval $ac_try) 2>&5 5545 ac_status=$? 5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5547 (exit $ac_status); }; }; then 5548 ac_cv_search_opendir="-l$ac_lib" 5549 break 5550 else 5551 echo "$as_me: failed program was:" >&5 6668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6669 (exit $ac_status); } && { 6670 test -z "$ac_c_werror_flag" || 6671 test ! -s conftest.err 6672 } && test -s conftest$ac_exeext && { 6673 test "$cross_compiling" = yes || 6674 $as_test_x conftest$ac_exeext 6675 }; then 6676 ac_cv_search_opendir=$ac_res 6677 else 6678 $as_echo "$as_me: failed program was:" >&5 5552 6679 sed 's/^/| /' conftest.$ac_ext >&5 5553 6680 5554 fi 5555 rm -f conftest.err conftest.$ac_objext \ 5556 conftest$ac_exeext conftest.$ac_ext 5557 done 5558 fi 6681 6682 fi 6683 6684 rm -rf conftest.dSYM 6685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6686 conftest$ac_exeext 6687 if test "${ac_cv_search_opendir+set}" = set; then 6688 break 6689 fi 6690 done 6691 if test "${ac_cv_search_opendir+set}" = set; then 6692 : 6693 else 6694 ac_cv_search_opendir=no 6695 fi 6696 rm conftest.$ac_ext 5559 6697 LIBS=$ac_func_search_save_LIBS 5560 6698 fi 5561 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5562 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5563 if test "$ac_cv_search_opendir" != no; then 5564 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5565 5566 fi 5567 5568 else 5569 echo "$as_me:$LINENO: checking for library containing opendir" >&5 5570 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5571 if test "${ac_cv_search_opendir+set}" = set; then 5572 echo $ECHO_N "(cached) $ECHO_C" >&6 5573 else 5574 ac_func_search_save_LIBS=$LIBS 5575 ac_cv_search_opendir=no 5576 cat >conftest.$ac_ext <<_ACEOF 5577 /* confdefs.h. */ 5578 _ACEOF 5579 cat confdefs.h >>conftest.$ac_ext 5580 cat >>conftest.$ac_ext <<_ACEOF 5581 /* end confdefs.h. */ 5582 5583 /* Override any gcc2 internal prototype to avoid an error. */ 5584 #ifdef __cplusplus 5585 extern "C" 5586 #endif 5587 /* We use char because int might match the return type of a gcc2 5588 builtin and then its argument prototype would still apply. */ 5589 char opendir (); 5590 int 5591 main () 5592 { 5593 opendir (); 5594 ; 5595 return 0; 5596 } 5597 _ACEOF 5598 rm -f conftest.$ac_objext conftest$ac_exeext 5599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5600 (eval $ac_link) 2>conftest.er1 5601 ac_status=$? 5602 grep -v '^ *+' conftest.er1 >conftest.err 5603 rm -f conftest.er1 5604 cat conftest.err >&5 5605 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5606 (exit $ac_status); } && 5607 { ac_try='test -z "$ac_c_werror_flag" 5608 || test ! -s conftest.err' 5609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5610 (eval $ac_try) 2>&5 5611 ac_status=$? 5612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5613 (exit $ac_status); }; } && 5614 { ac_try='test -s conftest$ac_exeext' 5615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5616 (eval $ac_try) 2>&5 5617 ac_status=$? 5618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5619 (exit $ac_status); }; }; then 5620 ac_cv_search_opendir="none required" 5621 else 5622 echo "$as_me: failed program was:" >&5 5623 sed 's/^/| /' conftest.$ac_ext >&5 5624 5625 fi 5626 rm -f conftest.err conftest.$ac_objext \ 5627 conftest$ac_exeext conftest.$ac_ext 5628 if test "$ac_cv_search_opendir" = no; then 5629 for ac_lib in x; do 5630 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5631 cat >conftest.$ac_ext <<_ACEOF 5632 /* confdefs.h. */ 5633 _ACEOF 5634 cat confdefs.h >>conftest.$ac_ext 5635 cat >>conftest.$ac_ext <<_ACEOF 5636 /* end confdefs.h. */ 5637 5638 /* Override any gcc2 internal prototype to avoid an error. */ 5639 #ifdef __cplusplus 5640 extern "C" 5641 #endif 5642 /* We use char because int might match the return type of a gcc2 5643 builtin and then its argument prototype would still apply. */ 5644 char opendir (); 5645 int 5646 main () 5647 { 5648 opendir (); 5649 ; 5650 return 0; 5651 } 5652 _ACEOF 5653 rm -f conftest.$ac_objext conftest$ac_exeext 5654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5655 (eval $ac_link) 2>conftest.er1 5656 ac_status=$? 5657 grep -v '^ *+' conftest.er1 >conftest.err 5658 rm -f conftest.er1 5659 cat conftest.err >&5 5660 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5661 (exit $ac_status); } && 5662 { ac_try='test -z "$ac_c_werror_flag" 5663 || test ! -s conftest.err' 5664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5665 (eval $ac_try) 2>&5 5666 ac_status=$? 5667 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5668 (exit $ac_status); }; } && 5669 { ac_try='test -s conftest$ac_exeext' 5670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5671 (eval $ac_try) 2>&5 5672 ac_status=$? 5673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5674 (exit $ac_status); }; }; then 5675 ac_cv_search_opendir="-l$ac_lib" 5676 break 5677 else 5678 echo "$as_me: failed program was:" >&5 5679 sed 's/^/| /' conftest.$ac_ext >&5 5680 5681 fi 5682 rm -f conftest.err conftest.$ac_objext \ 5683 conftest$ac_exeext conftest.$ac_ext 5684 done 5685 fi 5686 LIBS=$ac_func_search_save_LIBS 5687 fi 5688 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5689 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5690 if test "$ac_cv_search_opendir" != no; then 5691 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5692 5693 fi 5694 5695 fi 5696 5697 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5698 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6699 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 6700 $as_echo "$ac_cv_search_opendir" >&6; } 6701 ac_res=$ac_cv_search_opendir 6702 if test "$ac_res" != no; then 6703 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6704 6705 fi 6706 6707 fi 6708 6709 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6710 $as_echo_n "checking for ANSI C header files... " >&6; } 5699 6711 if test "${ac_cv_header_stdc+set}" = set; then 5700 echo $ECHO_N "(cached) $ECHO_C" >&66712 $as_echo_n "(cached) " >&6 5701 6713 else 5702 6714 cat >conftest.$ac_ext <<_ACEOF … … 5720 6732 _ACEOF 5721 6733 rm -f conftest.$ac_objext 5722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5723 (eval $ac_compile) 2>conftest.er1 6734 if { (ac_try="$ac_compile" 6735 case "(($ac_try" in 6736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6737 *) ac_try_echo=$ac_try;; 6738 esac 6739 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6740 $as_echo "$ac_try_echo") >&5 6741 (eval "$ac_compile") 2>conftest.er1 5724 6742 ac_status=$? 5725 6743 grep -v '^ *+' conftest.er1 >conftest.err 5726 6744 rm -f conftest.er1 5727 6745 cat conftest.err >&5 5728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5729 (exit $ac_status); } && 5730 { ac_try='test -z "$ac_c_werror_flag" 5731 || test ! -s conftest.err' 5732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5733 (eval $ac_try) 2>&5 5734 ac_status=$? 5735 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5736 (exit $ac_status); }; } && 5737 { ac_try='test -s conftest.$ac_objext' 5738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5739 (eval $ac_try) 2>&5 5740 ac_status=$? 5741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5742 (exit $ac_status); }; }; then 6746 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6747 (exit $ac_status); } && { 6748 test -z "$ac_c_werror_flag" || 6749 test ! -s conftest.err 6750 } && test -s conftest.$ac_objext; then 5743 6751 ac_cv_header_stdc=yes 5744 6752 else 5745 echo "$as_me: failed program was:" >&56753 $as_echo "$as_me: failed program was:" >&5 5746 6754 sed 's/^/| /' conftest.$ac_ext >&5 5747 6755 5748 ac_cv_header_stdc=no 5749 fi 5750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6756 ac_cv_header_stdc=no 6757 fi 6758 6759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5751 6760 5752 6761 if test $ac_cv_header_stdc = yes; then … … 5804 6813 /* end confdefs.h. */ 5805 6814 #include <ctype.h> 6815 #include <stdlib.h> 5806 6816 #if ((' ' & 0x0FF) == 0x020) 5807 6817 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 5823 6833 if (XOR (islower (i), ISLOWER (i)) 5824 6834 || toupper (i) != TOUPPER (i)) 5825 exit(2);5826 exit (0);6835 return 2; 6836 return 0; 5827 6837 } 5828 6838 _ACEOF 5829 6839 rm -f conftest$ac_exeext 5830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5831 (eval $ac_link) 2>&5 6840 if { (ac_try="$ac_link" 6841 case "(($ac_try" in 6842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6843 *) ac_try_echo=$ac_try;; 6844 esac 6845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6846 $as_echo "$ac_try_echo") >&5 6847 (eval "$ac_link") 2>&5 5832 6848 ac_status=$? 5833 echo "$as_me:$LINENO: \$? = $ac_status" >&56849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5834 6850 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5836 (eval $ac_try) 2>&5 6851 { (case "(($ac_try" in 6852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6853 *) ac_try_echo=$ac_try;; 6854 esac 6855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6856 $as_echo "$ac_try_echo") >&5 6857 (eval "$ac_try") 2>&5 5837 6858 ac_status=$? 5838 echo "$as_me:$LINENO: \$? = $ac_status" >&56859 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5839 6860 (exit $ac_status); }; }; then 5840 6861 : 5841 6862 else 5842 echo "$as_me: program exited with status $ac_status" >&55843 echo "$as_me: failed program was:" >&56863 $as_echo "$as_me: program exited with status $ac_status" >&5 6864 $as_echo "$as_me: failed program was:" >&5 5844 6865 sed 's/^/| /' conftest.$ac_ext >&5 5845 6866 … … 5847 6868 ac_cv_header_stdc=no 5848 6869 fi 5849 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5850 fi 5851 fi 5852 fi 5853 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5854 echo "${ECHO_T}$ac_cv_header_stdc" >&6 6870 rm -rf conftest.dSYM 6871 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6872 fi 6873 6874 6875 fi 6876 fi 6877 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6878 $as_echo "$ac_cv_header_stdc" >&6; } 5855 6879 if test $ac_cv_header_stdc = yes; then 5856 6880 … … 5872 6896 for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h sys/stat.h 5873 6897 do 5874 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5875 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5876 echo "$as_me:$LINENO: checking for $ac_header" >&5 5877 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5878 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5879 echo $ECHO_N "(cached) $ECHO_C" >&6 5880 fi 5881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6898 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6899 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6900 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6901 $as_echo_n "checking for $ac_header... " >&6; } 6902 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6903 $as_echo_n "(cached) " >&6 6904 fi 6905 ac_res=`eval 'as_val=${'$as_ac_Header'} 6906 $as_echo "$as_val"'` 6907 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6908 $as_echo "$ac_res" >&6; } 5883 6909 else 5884 6910 # Is the header compilable? 5885 echo "$as_me:$LINENO: checking $ac_header usability" >&55886 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6911 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6912 $as_echo_n "checking $ac_header usability... " >&6; } 5887 6913 cat >conftest.$ac_ext <<_ACEOF 5888 6914 /* confdefs.h. */ … … 5895 6921 _ACEOF 5896 6922 rm -f conftest.$ac_objext 5897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5898 (eval $ac_compile) 2>conftest.er1 6923 if { (ac_try="$ac_compile" 6924 case "(($ac_try" in 6925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6926 *) ac_try_echo=$ac_try;; 6927 esac 6928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6929 $as_echo "$ac_try_echo") >&5 6930 (eval "$ac_compile") 2>conftest.er1 5899 6931 ac_status=$? 5900 6932 grep -v '^ *+' conftest.er1 >conftest.err 5901 6933 rm -f conftest.er1 5902 6934 cat conftest.err >&5 5903 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5904 (exit $ac_status); } && 5905 { ac_try='test -z "$ac_c_werror_flag" 5906 || test ! -s conftest.err' 5907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5908 (eval $ac_try) 2>&5 5909 ac_status=$? 5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5911 (exit $ac_status); }; } && 5912 { ac_try='test -s conftest.$ac_objext' 5913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5914 (eval $ac_try) 2>&5 5915 ac_status=$? 5916 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5917 (exit $ac_status); }; }; then 6935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6936 (exit $ac_status); } && { 6937 test -z "$ac_c_werror_flag" || 6938 test ! -s conftest.err 6939 } && test -s conftest.$ac_objext; then 5918 6940 ac_header_compiler=yes 5919 6941 else 5920 echo "$as_me: failed program was:" >&56942 $as_echo "$as_me: failed program was:" >&5 5921 6943 sed 's/^/| /' conftest.$ac_ext >&5 5922 6944 5923 ac_header_compiler=no 5924 fi 5925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5926 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5927 echo "${ECHO_T}$ac_header_compiler" >&6 6945 ac_header_compiler=no 6946 fi 6947 6948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6949 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6950 $as_echo "$ac_header_compiler" >&6; } 5928 6951 5929 6952 # Is the header present? 5930 echo "$as_me:$LINENO: checking $ac_header presence" >&55931 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6953 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6954 $as_echo_n "checking $ac_header presence... " >&6; } 5932 6955 cat >conftest.$ac_ext <<_ACEOF 5933 6956 /* confdefs.h. */ … … 5938 6961 #include <$ac_header> 5939 6962 _ACEOF 5940 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5941 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6963 if { (ac_try="$ac_cpp conftest.$ac_ext" 6964 case "(($ac_try" in 6965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6966 *) ac_try_echo=$ac_try;; 6967 esac 6968 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6969 $as_echo "$ac_try_echo") >&5 6970 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5942 6971 ac_status=$? 5943 6972 grep -v '^ *+' conftest.er1 >conftest.err 5944 6973 rm -f conftest.er1 5945 6974 cat conftest.err >&5 5946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5947 (exit $ac_status); } >/dev/null; then 5948 if test -s conftest.err; then 5949 ac_cpp_err=$ac_c_preproc_warn_flag 5950 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5951 else 5952 ac_cpp_err= 5953 fi 5954 else 5955 ac_cpp_err=yes 5956 fi 5957 if test -z "$ac_cpp_err"; then 6975 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6976 (exit $ac_status); } >/dev/null && { 6977 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6978 test ! -s conftest.err 6979 }; then 5958 6980 ac_header_preproc=yes 5959 6981 else 5960 echo "$as_me: failed program was:" >&56982 $as_echo "$as_me: failed program was:" >&5 5961 6983 sed 's/^/| /' conftest.$ac_ext >&5 5962 6984 5963 6985 ac_header_preproc=no 5964 6986 fi 6987 5965 6988 rm -f conftest.err conftest.$ac_ext 5966 echo "$as_me:$LINENO: result: $ac_header_preproc" >&55967 echo "${ECHO_T}$ac_header_preproc" >&6 6989 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6990 $as_echo "$ac_header_preproc" >&6; } 5968 6991 5969 6992 # So? What about this header? 5970 6993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5971 6994 yes:no: ) 5972 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&55973 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}5974 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&55975 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}6995 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6996 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6997 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6998 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5976 6999 ac_header_preproc=yes 5977 7000 ;; 5978 7001 no:yes:* ) 5979 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5980 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5981 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5982 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5983 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5984 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5985 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5986 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5987 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5988 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5989 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5990 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5991 ( 5992 cat <<\_ASBOX 5993 ## ------------------------------------------ ## 5994 ## Report this to the AC_PACKAGE_NAME lists. ## 5995 ## ------------------------------------------ ## 5996 _ASBOX 5997 ) | 5998 sed "s/^/$as_me: WARNING: /" >&2 7002 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7003 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7004 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7005 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7006 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7007 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7008 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7009 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7010 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7011 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7012 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7013 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7014 5999 7015 ;; 6000 7016 esac 6001 echo "$as_me:$LINENO: checking for $ac_header" >&56002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6003 if eval "test \"\${$as_ac_Header+set}\" = set"; then6004 echo $ECHO_N "(cached) $ECHO_C" >&67017 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7018 $as_echo_n "checking for $ac_header... " >&6; } 7019 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7020 $as_echo_n "(cached) " >&6 6005 7021 else 6006 7022 eval "$as_ac_Header=\$ac_header_preproc" 6007 7023 fi 6008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6009 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6010 6011 fi 6012 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7024 ac_res=`eval 'as_val=${'$as_ac_Header'} 7025 $as_echo "$as_val"'` 7026 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7027 $as_echo "$ac_res" >&6; } 7028 7029 fi 7030 as_val=`eval 'as_val=${'$as_ac_Header'} 7031 $as_echo "$as_val"'` 7032 if test "x$as_val" = x""yes; then 6013 7033 cat >>confdefs.h <<_ACEOF 6014 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 17034 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6015 7035 _ACEOF 6016 7036 … … 6076 7096 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 6077 7097 # for constant arguments. Useless! 6078 echo "$as_me:$LINENO: checking for working alloca.h" >&56079 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 7098 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 7099 $as_echo_n "checking for working alloca.h... " >&6; } 6080 7100 if test "${ac_cv_working_alloca_h+set}" = set; then 6081 echo $ECHO_N "(cached) $ECHO_C" >&67101 $as_echo_n "(cached) " >&6 6082 7102 else 6083 7103 cat >conftest.$ac_ext <<_ACEOF … … 6092 7112 { 6093 7113 char *p = (char *) alloca (2 * sizeof (int)); 7114 if (p) return 0; 6094 7115 ; 6095 7116 return 0; … … 6097 7118 _ACEOF 6098 7119 rm -f conftest.$ac_objext conftest$ac_exeext 6099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6100 (eval $ac_link) 2>conftest.er1 7120 if { (ac_try="$ac_link" 7121 case "(($ac_try" in 7122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7123 *) ac_try_echo=$ac_try;; 7124 esac 7125 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7126 $as_echo "$ac_try_echo") >&5 7127 (eval "$ac_link") 2>conftest.er1 6101 7128 ac_status=$? 6102 7129 grep -v '^ *+' conftest.er1 >conftest.err 6103 7130 rm -f conftest.er1 6104 7131 cat conftest.err >&5 6105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6106 (exit $ac_status); } && 6107 { ac_try='test -z "$ac_c_werror_flag" 6108 || test ! -s conftest.err' 6109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6110 (eval $ac_try) 2>&5 6111 ac_status=$? 6112 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6113 (exit $ac_status); }; } && 6114 { ac_try='test -s conftest$ac_exeext' 6115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6116 (eval $ac_try) 2>&5 6117 ac_status=$? 6118 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6119 (exit $ac_status); }; }; then 7132 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7133 (exit $ac_status); } && { 7134 test -z "$ac_c_werror_flag" || 7135 test ! -s conftest.err 7136 } && test -s conftest$ac_exeext && { 7137 test "$cross_compiling" = yes || 7138 $as_test_x conftest$ac_exeext 7139 }; then 6120 7140 ac_cv_working_alloca_h=yes 6121 7141 else 6122 echo "$as_me: failed program was:" >&57142 $as_echo "$as_me: failed program was:" >&5 6123 7143 sed 's/^/| /' conftest.$ac_ext >&5 6124 7144 6125 ac_cv_working_alloca_h=no 6126 fi 6127 rm -f conftest.err conftest.$ac_objext \ 7145 ac_cv_working_alloca_h=no 7146 fi 7147 7148 rm -rf conftest.dSYM 7149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6128 7150 conftest$ac_exeext conftest.$ac_ext 6129 7151 fi 6130 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&56131 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 7152 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 7153 $as_echo "$ac_cv_working_alloca_h" >&6; } 6132 7154 if test $ac_cv_working_alloca_h = yes; then 6133 7155 … … 6138 7160 fi 6139 7161 6140 echo "$as_me:$LINENO: checking for alloca" >&56141 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 7162 { $as_echo "$as_me:$LINENO: checking for alloca" >&5 7163 $as_echo_n "checking for alloca... " >&6; } 6142 7164 if test "${ac_cv_func_alloca_works+set}" = set; then 6143 echo $ECHO_N "(cached) $ECHO_C" >&67165 $as_echo_n "(cached) " >&6 6144 7166 else 6145 7167 cat >conftest.$ac_ext <<_ACEOF … … 6156 7178 # define alloca _alloca 6157 7179 # else 6158 # if HAVE_ALLOCA_H7180 # ifdef HAVE_ALLOCA_H 6159 7181 # include <alloca.h> 6160 7182 # else … … 6174 7196 { 6175 7197 char *p = (char *) alloca (1); 7198 if (p) return 0; 6176 7199 ; 6177 7200 return 0; … … 6179 7202 _ACEOF 6180 7203 rm -f conftest.$ac_objext conftest$ac_exeext 6181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6182 (eval $ac_link) 2>conftest.er1 7204 if { (ac_try="$ac_link" 7205 case "(($ac_try" in 7206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7207 *) ac_try_echo=$ac_try;; 7208 esac 7209 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7210 $as_echo "$ac_try_echo") >&5 7211 (eval "$ac_link") 2>conftest.er1 6183 7212 ac_status=$? 6184 7213 grep -v '^ *+' conftest.er1 >conftest.err 6185 7214 rm -f conftest.er1 6186 7215 cat conftest.err >&5 6187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6188 (exit $ac_status); } && 6189 { ac_try='test -z "$ac_c_werror_flag" 6190 || test ! -s conftest.err' 6191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6192 (eval $ac_try) 2>&5 6193 ac_status=$? 6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6195 (exit $ac_status); }; } && 6196 { ac_try='test -s conftest$ac_exeext' 6197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6198 (eval $ac_try) 2>&5 6199 ac_status=$? 6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6201 (exit $ac_status); }; }; then 7216 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7217 (exit $ac_status); } && { 7218 test -z "$ac_c_werror_flag" || 7219 test ! -s conftest.err 7220 } && test -s conftest$ac_exeext && { 7221 test "$cross_compiling" = yes || 7222 $as_test_x conftest$ac_exeext 7223 }; then 6202 7224 ac_cv_func_alloca_works=yes 6203 7225 else 6204 echo "$as_me: failed program was:" >&57226 $as_echo "$as_me: failed program was:" >&5 6205 7227 sed 's/^/| /' conftest.$ac_ext >&5 6206 7228 6207 ac_cv_func_alloca_works=no 6208 fi 6209 rm -f conftest.err conftest.$ac_objext \ 7229 ac_cv_func_alloca_works=no 7230 fi 7231 7232 rm -rf conftest.dSYM 7233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6210 7234 conftest$ac_exeext conftest.$ac_ext 6211 7235 fi 6212 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&56213 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 7236 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 7237 $as_echo "$ac_cv_func_alloca_works" >&6; } 6214 7238 6215 7239 if test $ac_cv_func_alloca_works = yes; then … … 6225 7249 # use ar to extract alloca.o from them instead of compiling alloca.c. 6226 7250 6227 ALLOCA= alloca.$ac_objext7251 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 6228 7252 6229 7253 cat >>confdefs.h <<\_ACEOF … … 6232 7256 6233 7257 6234 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&56235 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 7258 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 7259 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 6236 7260 if test "${ac_cv_os_cray+set}" = set; then 6237 echo $ECHO_N "(cached) $ECHO_C" >&67261 $as_echo_n "(cached) " >&6 6238 7262 else 6239 7263 cat >conftest.$ac_ext <<_ACEOF … … 6243 7267 cat >>conftest.$ac_ext <<_ACEOF 6244 7268 /* end confdefs.h. */ 6245 #if defined (CRAY) && ! defined(CRAY2)7269 #if defined CRAY && ! defined CRAY2 6246 7270 webecray 6247 7271 #else … … 6259 7283 6260 7284 fi 6261 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&56262 echo "${ECHO_T}$ac_cv_os_cray" >&6 7285 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 7286 $as_echo "$ac_cv_os_cray" >&6; } 6263 7287 if test $ac_cv_os_cray = yes; then 6264 7288 for ac_func in _getb67 GETB67 getb67; do 6265 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6266 echo "$as_me:$LINENO: checking for $ac_func" >&56267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6268 if eval "test \"\${$as_ac_var+set}\" = set"; then6269 echo $ECHO_N "(cached) $ECHO_C" >&67289 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7290 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7291 $as_echo_n "checking for $ac_func... " >&6; } 7292 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7293 $as_echo_n "(cached) " >&6 6270 7294 else 6271 7295 cat >conftest.$ac_ext <<_ACEOF … … 6292 7316 #undef $ac_func 6293 7317 6294 /* Override any gcc2 internal prototype to avoid an error. */ 7318 /* Override any GCC internal prototype to avoid an error. 7319 Use char because int might match the return type of a GCC 7320 builtin and then its argument prototype would still apply. */ 6295 7321 #ifdef __cplusplus 6296 7322 extern "C" 6297 {6298 7323 #endif 6299 /* We use char because int might match the return type of a gcc26300 builtin and then its argument prototype would still apply. */6301 7324 char $ac_func (); 6302 7325 /* The GNU C library defines this for functions which it implements 6303 7326 to always fail with ENOSYS. Some functions are actually named 6304 7327 something starting with __ and the normal name is an alias. */ 6305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7328 #if defined __stub_$ac_func || defined __stub___$ac_func 6306 7329 choke me 6307 #else6308 char (*f) () = $ac_func;6309 #endif6310 #ifdef __cplusplus6311 }6312 7330 #endif 6313 7331 … … 6315 7333 main () 6316 7334 { 6317 return f != $ac_func;7335 return $ac_func (); 6318 7336 ; 6319 7337 return 0; … … 6321 7339 _ACEOF 6322 7340 rm -f conftest.$ac_objext conftest$ac_exeext 6323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6324 (eval $ac_link) 2>conftest.er1 7341 if { (ac_try="$ac_link" 7342 case "(($ac_try" in 7343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7344 *) ac_try_echo=$ac_try;; 7345 esac 7346 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7347 $as_echo "$ac_try_echo") >&5 7348 (eval "$ac_link") 2>conftest.er1 6325 7349 ac_status=$? 6326 7350 grep -v '^ *+' conftest.er1 >conftest.err 6327 7351 rm -f conftest.er1 6328 7352 cat conftest.err >&5 6329 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6330 (exit $ac_status); } && 6331 { ac_try='test -z "$ac_c_werror_flag" 6332 || test ! -s conftest.err' 6333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6334 (eval $ac_try) 2>&5 6335 ac_status=$? 6336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6337 (exit $ac_status); }; } && 6338 { ac_try='test -s conftest$ac_exeext' 6339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6340 (eval $ac_try) 2>&5 6341 ac_status=$? 6342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6343 (exit $ac_status); }; }; then 7353 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7354 (exit $ac_status); } && { 7355 test -z "$ac_c_werror_flag" || 7356 test ! -s conftest.err 7357 } && test -s conftest$ac_exeext && { 7358 test "$cross_compiling" = yes || 7359 $as_test_x conftest$ac_exeext 7360 }; then 6344 7361 eval "$as_ac_var=yes" 6345 7362 else 6346 echo "$as_me: failed program was:" >&57363 $as_echo "$as_me: failed program was:" >&5 6347 7364 sed 's/^/| /' conftest.$ac_ext >&5 6348 7365 6349 eval "$as_ac_var=no" 6350 fi 6351 rm -f conftest.err conftest.$ac_objext \ 7366 eval "$as_ac_var=no" 7367 fi 7368 7369 rm -rf conftest.dSYM 7370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6352 7371 conftest$ac_exeext conftest.$ac_ext 6353 7372 fi 6354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6356 if test `eval echo '${'$as_ac_var'}'` = yes; then 7373 ac_res=`eval 'as_val=${'$as_ac_var'} 7374 $as_echo "$as_val"'` 7375 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7376 $as_echo "$ac_res" >&6; } 7377 as_val=`eval 'as_val=${'$as_ac_var'} 7378 $as_echo "$as_val"'` 7379 if test "x$as_val" = x""yes; then 6357 7380 6358 7381 cat >>confdefs.h <<_ACEOF … … 6366 7389 fi 6367 7390 6368 echo "$as_me:$LINENO: checking stack direction for C alloca" >&56369 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 7391 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 7392 $as_echo_n "checking stack direction for C alloca... " >&6; } 6370 7393 if test "${ac_cv_c_stack_direction+set}" = set; then 6371 echo $ECHO_N "(cached) $ECHO_C" >&67394 $as_echo_n "(cached) " >&6 6372 7395 else 6373 7396 if test "$cross_compiling" = yes; then … … 6380 7403 cat >>conftest.$ac_ext <<_ACEOF 6381 7404 /* end confdefs.h. */ 7405 $ac_includes_default 6382 7406 int 6383 7407 find_stack_direction () … … 6397 7421 main () 6398 7422 { 6399 exit (find_stack_direction () < 0);7423 return find_stack_direction () < 0; 6400 7424 } 6401 7425 _ACEOF 6402 7426 rm -f conftest$ac_exeext 6403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6404 (eval $ac_link) 2>&5 7427 if { (ac_try="$ac_link" 7428 case "(($ac_try" in 7429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7430 *) ac_try_echo=$ac_try;; 7431 esac 7432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7433 $as_echo "$ac_try_echo") >&5 7434 (eval "$ac_link") 2>&5 6405 7435 ac_status=$? 6406 echo "$as_me:$LINENO: \$? = $ac_status" >&57436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6407 7437 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6409 (eval $ac_try) 2>&5 7438 { (case "(($ac_try" in 7439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7440 *) ac_try_echo=$ac_try;; 7441 esac 7442 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7443 $as_echo "$ac_try_echo") >&5 7444 (eval "$ac_try") 2>&5 6410 7445 ac_status=$? 6411 echo "$as_me:$LINENO: \$? = $ac_status" >&57446 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6412 7447 (exit $ac_status); }; }; then 6413 7448 ac_cv_c_stack_direction=1 6414 7449 else 6415 echo "$as_me: program exited with status $ac_status" >&56416 echo "$as_me: failed program was:" >&57450 $as_echo "$as_me: program exited with status $ac_status" >&5 7451 $as_echo "$as_me: failed program was:" >&5 6417 7452 sed 's/^/| /' conftest.$ac_ext >&5 6418 7453 … … 6420 7455 ac_cv_c_stack_direction=-1 6421 7456 fi 6422 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6423 fi 6424 fi 6425 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 6426 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 7457 rm -rf conftest.dSYM 7458 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7459 fi 7460 7461 7462 fi 7463 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 7464 $as_echo "$ac_cv_c_stack_direction" >&6; } 6427 7465 6428 7466 cat >>confdefs.h <<_ACEOF … … 6434 7472 6435 7473 if test $ac_cv_c_compiler_gnu = yes; then 6436 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&56437 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 7474 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 7475 $as_echo_n "checking whether $CC needs -traditional... " >&6; } 6438 7476 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 6439 echo $ECHO_N "(cached) $ECHO_C" >&67477 $as_echo_n "(cached) " >&6 6440 7478 else 6441 7479 ac_pattern="Autoconf.*'x'" … … 6476 7514 fi 6477 7515 fi 6478 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&56479 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 7516 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 7517 $as_echo "$ac_cv_prog_gcc_traditional" >&6; } 6480 7518 if test $ac_cv_prog_gcc_traditional = yes; then 6481 7519 CC="$CC -traditional" … … 6483 7521 fi 6484 7522 6485 echo "$as_me:$LINENO: checking return type of signal handlers" >&56486 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 7523 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 7524 $as_echo_n "checking return type of signal handlers... " >&6; } 6487 7525 if test "${ac_cv_type_signal+set}" = set; then 6488 echo $ECHO_N "(cached) $ECHO_C" >&67526 $as_echo_n "(cached) " >&6 6489 7527 else 6490 7528 cat >conftest.$ac_ext <<_ACEOF … … 6496 7534 #include <sys/types.h> 6497 7535 #include <signal.h> 6498 #ifdef signal6499 # undef signal6500 #endif6501 #ifdef __cplusplus6502 extern "C" void (*signal (int, void (*)(int)))(int);6503 #else6504 void (*signal ()) ();6505 #endif6506 7536 6507 7537 int 6508 7538 main () 6509 7539 { 6510 int i;7540 return *(signal (0, 0)) (0) == 1; 6511 7541 ; 6512 7542 return 0; … … 6514 7544 _ACEOF 6515 7545 rm -f conftest.$ac_objext 6516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6517 (eval $ac_compile) 2>conftest.er1 7546 if { (ac_try="$ac_compile" 7547 case "(($ac_try" in 7548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7549 *) ac_try_echo=$ac_try;; 7550 esac 7551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7552 $as_echo "$ac_try_echo") >&5 7553 (eval "$ac_compile") 2>conftest.er1 6518 7554 ac_status=$? 6519 7555 grep -v '^ *+' conftest.er1 >conftest.err 6520 7556 rm -f conftest.er1 6521 7557 cat conftest.err >&5 6522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6523 (exit $ac_status); } && 6524 { ac_try='test -z "$ac_c_werror_flag" 6525 || test ! -s conftest.err' 6526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6527 (eval $ac_try) 2>&5 6528 ac_status=$? 6529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6530 (exit $ac_status); }; } && 6531 { ac_try='test -s conftest.$ac_objext' 6532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6533 (eval $ac_try) 2>&5 6534 ac_status=$? 6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6536 (exit $ac_status); }; }; then 6537 ac_cv_type_signal=void 6538 else 6539 echo "$as_me: failed program was:" >&5 7558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7559 (exit $ac_status); } && { 7560 test -z "$ac_c_werror_flag" || 7561 test ! -s conftest.err 7562 } && test -s conftest.$ac_objext; then 7563 ac_cv_type_signal=int 7564 else 7565 $as_echo "$as_me: failed program was:" >&5 6540 7566 sed 's/^/| /' conftest.$ac_ext >&5 6541 7567 6542 ac_cv_type_signal=int 6543 fi 6544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6545 fi 6546 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 6547 echo "${ECHO_T}$ac_cv_type_signal" >&6 7568 ac_cv_type_signal=void 7569 fi 7570 7571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7572 fi 7573 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 7574 $as_echo "$ac_cv_type_signal" >&6; } 6548 7575 6549 7576 cat >>confdefs.h <<_ACEOF … … 6555 7582 for ac_func in vprintf 6556 7583 do 6557 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6558 echo "$as_me:$LINENO: checking for $ac_func" >&56559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6560 if eval "test \"\${$as_ac_var+set}\" = set"; then6561 echo $ECHO_N "(cached) $ECHO_C" >&67584 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7585 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7586 $as_echo_n "checking for $ac_func... " >&6; } 7587 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7588 $as_echo_n "(cached) " >&6 6562 7589 else 6563 7590 cat >conftest.$ac_ext <<_ACEOF … … 6584 7611 #undef $ac_func 6585 7612 6586 /* Override any gcc2 internal prototype to avoid an error. */ 7613 /* Override any GCC internal prototype to avoid an error. 7614 Use char because int might match the return type of a GCC 7615 builtin and then its argument prototype would still apply. */ 6587 7616 #ifdef __cplusplus 6588 7617 extern "C" 6589 {6590 7618 #endif 6591 /* We use char because int might match the return type of a gcc26592 builtin and then its argument prototype would still apply. */6593 7619 char $ac_func (); 6594 7620 /* The GNU C library defines this for functions which it implements 6595 7621 to always fail with ENOSYS. Some functions are actually named 6596 7622 something starting with __ and the normal name is an alias. */ 6597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7623 #if defined __stub_$ac_func || defined __stub___$ac_func 6598 7624 choke me 6599 #else6600 char (*f) () = $ac_func;6601 #endif6602 #ifdef __cplusplus6603 }6604 7625 #endif 6605 7626 … … 6607 7628 main () 6608 7629 { 6609 return f != $ac_func;7630 return $ac_func (); 6610 7631 ; 6611 7632 return 0; … … 6613 7634 _ACEOF 6614 7635 rm -f conftest.$ac_objext conftest$ac_exeext 6615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6616 (eval $ac_link) 2>conftest.er1 7636 if { (ac_try="$ac_link" 7637 case "(($ac_try" in 7638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7639 *) ac_try_echo=$ac_try;; 7640 esac 7641 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7642 $as_echo "$ac_try_echo") >&5 7643 (eval "$ac_link") 2>conftest.er1 6617 7644 ac_status=$? 6618 7645 grep -v '^ *+' conftest.er1 >conftest.err 6619 7646 rm -f conftest.er1 6620 7647 cat conftest.err >&5 6621 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6622 (exit $ac_status); } && 6623 { ac_try='test -z "$ac_c_werror_flag" 6624 || test ! -s conftest.err' 6625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6626 (eval $ac_try) 2>&5 6627 ac_status=$? 6628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6629 (exit $ac_status); }; } && 6630 { ac_try='test -s conftest$ac_exeext' 6631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6632 (eval $ac_try) 2>&5 6633 ac_status=$? 6634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6635 (exit $ac_status); }; }; then 7648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7649 (exit $ac_status); } && { 7650 test -z "$ac_c_werror_flag" || 7651 test ! -s conftest.err 7652 } && test -s conftest$ac_exeext && { 7653 test "$cross_compiling" = yes || 7654 $as_test_x conftest$ac_exeext 7655 }; then 6636 7656 eval "$as_ac_var=yes" 6637 7657 else 6638 echo "$as_me: failed program was:" >&57658 $as_echo "$as_me: failed program was:" >&5 6639 7659 sed 's/^/| /' conftest.$ac_ext >&5 6640 7660 6641 eval "$as_ac_var=no" 6642 fi 6643 rm -f conftest.err conftest.$ac_objext \ 7661 eval "$as_ac_var=no" 7662 fi 7663 7664 rm -rf conftest.dSYM 7665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6644 7666 conftest$ac_exeext conftest.$ac_ext 6645 7667 fi 6646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6648 if test `eval echo '${'$as_ac_var'}'` = yes; then 7668 ac_res=`eval 'as_val=${'$as_ac_var'} 7669 $as_echo "$as_val"'` 7670 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7671 $as_echo "$ac_res" >&6; } 7672 as_val=`eval 'as_val=${'$as_ac_var'} 7673 $as_echo "$as_val"'` 7674 if test "x$as_val" = x""yes; then 6649 7675 cat >>confdefs.h <<_ACEOF 6650 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 16651 _ACEOF 6652 6653 echo "$as_me:$LINENO: checking for _doprnt" >&56654 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 7676 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7677 _ACEOF 7678 7679 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5 7680 $as_echo_n "checking for _doprnt... " >&6; } 6655 7681 if test "${ac_cv_func__doprnt+set}" = set; then 6656 echo $ECHO_N "(cached) $ECHO_C" >&67682 $as_echo_n "(cached) " >&6 6657 7683 else 6658 7684 cat >conftest.$ac_ext <<_ACEOF … … 6679 7705 #undef _doprnt 6680 7706 6681 /* Override any gcc2 internal prototype to avoid an error. */ 7707 /* Override any GCC internal prototype to avoid an error. 7708 Use char because int might match the return type of a GCC 7709 builtin and then its argument prototype would still apply. */ 6682 7710 #ifdef __cplusplus 6683 7711 extern "C" 6684 {6685 7712 #endif 6686 /* We use char because int might match the return type of a gcc26687 builtin and then its argument prototype would still apply. */6688 7713 char _doprnt (); 6689 7714 /* The GNU C library defines this for functions which it implements 6690 7715 to always fail with ENOSYS. Some functions are actually named 6691 7716 something starting with __ and the normal name is an alias. */ 6692 #if defined (__stub__doprnt) || defined (__stub____doprnt)7717 #if defined __stub__doprnt || defined __stub____doprnt 6693 7718 choke me 6694 #else6695 char (*f) () = _doprnt;6696 #endif6697 #ifdef __cplusplus6698 }6699 7719 #endif 6700 7720 … … 6702 7722 main () 6703 7723 { 6704 return f != _doprnt;7724 return _doprnt (); 6705 7725 ; 6706 7726 return 0; … … 6708 7728 _ACEOF 6709 7729 rm -f conftest.$ac_objext conftest$ac_exeext 6710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6711 (eval $ac_link) 2>conftest.er1 7730 if { (ac_try="$ac_link" 7731 case "(($ac_try" in 7732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7733 *) ac_try_echo=$ac_try;; 7734 esac 7735 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7736 $as_echo "$ac_try_echo") >&5 7737 (eval "$ac_link") 2>conftest.er1 6712 7738 ac_status=$? 6713 7739 grep -v '^ *+' conftest.er1 >conftest.err 6714 7740 rm -f conftest.er1 6715 7741 cat conftest.err >&5 6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6717 (exit $ac_status); } && 6718 { ac_try='test -z "$ac_c_werror_flag" 6719 || test ! -s conftest.err' 6720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6721 (eval $ac_try) 2>&5 6722 ac_status=$? 6723 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6724 (exit $ac_status); }; } && 6725 { ac_try='test -s conftest$ac_exeext' 6726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6727 (eval $ac_try) 2>&5 6728 ac_status=$? 6729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6730 (exit $ac_status); }; }; then 7742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7743 (exit $ac_status); } && { 7744 test -z "$ac_c_werror_flag" || 7745 test ! -s conftest.err 7746 } && test -s conftest$ac_exeext && { 7747 test "$cross_compiling" = yes || 7748 $as_test_x conftest$ac_exeext 7749 }; then 6731 7750 ac_cv_func__doprnt=yes 6732 7751 else 6733 echo "$as_me: failed program was:" >&57752 $as_echo "$as_me: failed program was:" >&5 6734 7753 sed 's/^/| /' conftest.$ac_ext >&5 6735 7754 6736 ac_cv_func__doprnt=no 6737 fi 6738 rm -f conftest.err conftest.$ac_objext \ 7755 ac_cv_func__doprnt=no 7756 fi 7757 7758 rm -rf conftest.dSYM 7759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6739 7760 conftest$ac_exeext conftest.$ac_ext 6740 7761 fi 6741 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&56742 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 6743 if test $ac_cv_func__doprnt =yes; then7762 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 7763 $as_echo "$ac_cv_func__doprnt" >&6; } 7764 if test "x$ac_cv_func__doprnt" = x""yes; then 6744 7765 6745 7766 cat >>confdefs.h <<\_ACEOF … … 6765 7786 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror 6766 7787 do 6767 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6768 echo "$as_me:$LINENO: checking for $ac_func" >&56769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6770 if eval "test \"\${$as_ac_var+set}\" = set"; then6771 echo $ECHO_N "(cached) $ECHO_C" >&67788 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7789 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7790 $as_echo_n "checking for $ac_func... " >&6; } 7791 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7792 $as_echo_n "(cached) " >&6 6772 7793 else 6773 7794 cat >conftest.$ac_ext <<_ACEOF … … 6794 7815 #undef $ac_func 6795 7816 6796 /* Override any gcc2 internal prototype to avoid an error. */ 7817 /* Override any GCC internal prototype to avoid an error. 7818 Use char because int might match the return type of a GCC 7819 builtin and then its argument prototype would still apply. */ 6797 7820 #ifdef __cplusplus 6798 7821 extern "C" 6799 {6800 7822 #endif 6801 /* We use char because int might match the return type of a gcc26802 builtin and then its argument prototype would still apply. */6803 7823 char $ac_func (); 6804 7824 /* The GNU C library defines this for functions which it implements 6805 7825 to always fail with ENOSYS. Some functions are actually named 6806 7826 something starting with __ and the normal name is an alias. */ 6807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7827 #if defined __stub_$ac_func || defined __stub___$ac_func 6808 7828 choke me 6809 #else6810 char (*f) () = $ac_func;6811 #endif6812 #ifdef __cplusplus6813 }6814 7829 #endif 6815 7830 … … 6817 7832 main () 6818 7833 { 6819 return f != $ac_func;7834 return $ac_func (); 6820 7835 ; 6821 7836 return 0; … … 6823 7838 _ACEOF 6824 7839 rm -f conftest.$ac_objext conftest$ac_exeext 6825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6826 (eval $ac_link) 2>conftest.er1 7840 if { (ac_try="$ac_link" 7841 case "(($ac_try" in 7842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7843 *) ac_try_echo=$ac_try;; 7844 esac 7845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7846 $as_echo "$ac_try_echo") >&5 7847 (eval "$ac_link") 2>conftest.er1 6827 7848 ac_status=$? 6828 7849 grep -v '^ *+' conftest.er1 >conftest.err 6829 7850 rm -f conftest.er1 6830 7851 cat conftest.err >&5 6831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6832 (exit $ac_status); } && 6833 { ac_try='test -z "$ac_c_werror_flag" 6834 || test ! -s conftest.err' 6835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6836 (eval $ac_try) 2>&5 6837 ac_status=$? 6838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6839 (exit $ac_status); }; } && 6840 { ac_try='test -s conftest$ac_exeext' 6841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6842 (eval $ac_try) 2>&5 6843 ac_status=$? 6844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6845 (exit $ac_status); }; }; then 7852 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7853 (exit $ac_status); } && { 7854 test -z "$ac_c_werror_flag" || 7855 test ! -s conftest.err 7856 } && test -s conftest$ac_exeext && { 7857 test "$cross_compiling" = yes || 7858 $as_test_x conftest$ac_exeext 7859 }; then 6846 7860 eval "$as_ac_var=yes" 6847 7861 else 6848 echo "$as_me: failed program was:" >&57862 $as_echo "$as_me: failed program was:" >&5 6849 7863 sed 's/^/| /' conftest.$ac_ext >&5 6850 7864 6851 eval "$as_ac_var=no" 6852 fi 6853 rm -f conftest.err conftest.$ac_objext \ 7865 eval "$as_ac_var=no" 7866 fi 7867 7868 rm -rf conftest.dSYM 7869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6854 7870 conftest$ac_exeext conftest.$ac_ext 6855 7871 fi 6856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6858 if test `eval echo '${'$as_ac_var'}'` = yes; then 7872 ac_res=`eval 'as_val=${'$as_ac_var'} 7873 $as_echo "$as_val"'` 7874 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7875 $as_echo "$ac_res" >&6; } 7876 as_val=`eval 'as_val=${'$as_ac_var'} 7877 $as_echo "$as_val"'` 7878 if test "x$as_val" = x""yes; then 6859 7879 cat >>confdefs.h <<_ACEOF 6860 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 17880 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6861 7881 _ACEOF 6862 7882 … … 6869 7889 for ac_func in ftruncate strstr strcasecmp 6870 7890 do 6871 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6872 echo "$as_me:$LINENO: checking for $ac_func" >&56873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6874 if eval "test \"\${$as_ac_var+set}\" = set"; then6875 echo $ECHO_N "(cached) $ECHO_C" >&67891 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7892 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7893 $as_echo_n "checking for $ac_func... " >&6; } 7894 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7895 $as_echo_n "(cached) " >&6 6876 7896 else 6877 7897 cat >conftest.$ac_ext <<_ACEOF … … 6898 7918 #undef $ac_func 6899 7919 6900 /* Override any gcc2 internal prototype to avoid an error. */ 7920 /* Override any GCC internal prototype to avoid an error. 7921 Use char because int might match the return type of a GCC 7922 builtin and then its argument prototype would still apply. */ 6901 7923 #ifdef __cplusplus 6902 7924 extern "C" 6903 {6904 7925 #endif 6905 /* We use char because int might match the return type of a gcc26906 builtin and then its argument prototype would still apply. */6907 7926 char $ac_func (); 6908 7927 /* The GNU C library defines this for functions which it implements 6909 7928 to always fail with ENOSYS. Some functions are actually named 6910 7929 something starting with __ and the normal name is an alias. */ 6911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7930 #if defined __stub_$ac_func || defined __stub___$ac_func 6912 7931 choke me 6913 #else6914 char (*f) () = $ac_func;6915 #endif6916 #ifdef __cplusplus6917 }6918 7932 #endif 6919 7933 … … 6921 7935 main () 6922 7936 { 6923 return f != $ac_func;7937 return $ac_func (); 6924 7938 ; 6925 7939 return 0; … … 6927 7941 _ACEOF 6928 7942 rm -f conftest.$ac_objext conftest$ac_exeext 6929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6930 (eval $ac_link) 2>conftest.er1 7943 if { (ac_try="$ac_link" 7944 case "(($ac_try" in 7945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7946 *) ac_try_echo=$ac_try;; 7947 esac 7948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7949 $as_echo "$ac_try_echo") >&5 7950 (eval "$ac_link") 2>conftest.er1 6931 7951 ac_status=$? 6932 7952 grep -v '^ *+' conftest.er1 >conftest.err 6933 7953 rm -f conftest.er1 6934 7954 cat conftest.err >&5 6935 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6936 (exit $ac_status); } && 6937 { ac_try='test -z "$ac_c_werror_flag" 6938 || test ! -s conftest.err' 6939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6940 (eval $ac_try) 2>&5 6941 ac_status=$? 6942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6943 (exit $ac_status); }; } && 6944 { ac_try='test -s conftest$ac_exeext' 6945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6946 (eval $ac_try) 2>&5 6947 ac_status=$? 6948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6949 (exit $ac_status); }; }; then 7955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7956 (exit $ac_status); } && { 7957 test -z "$ac_c_werror_flag" || 7958 test ! -s conftest.err 7959 } && test -s conftest$ac_exeext && { 7960 test "$cross_compiling" = yes || 7961 $as_test_x conftest$ac_exeext 7962 }; then 6950 7963 eval "$as_ac_var=yes" 6951 7964 else 6952 echo "$as_me: failed program was:" >&57965 $as_echo "$as_me: failed program was:" >&5 6953 7966 sed 's/^/| /' conftest.$ac_ext >&5 6954 7967 6955 eval "$as_ac_var=no" 6956 fi 6957 rm -f conftest.err conftest.$ac_objext \ 7968 eval "$as_ac_var=no" 7969 fi 7970 7971 rm -rf conftest.dSYM 7972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6958 7973 conftest$ac_exeext conftest.$ac_ext 6959 7974 fi 6960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6962 if test `eval echo '${'$as_ac_var'}'` = yes; then 7975 ac_res=`eval 'as_val=${'$as_ac_var'} 7976 $as_echo "$as_val"'` 7977 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7978 $as_echo "$ac_res" >&6; } 7979 as_val=`eval 'as_val=${'$as_ac_var'} 7980 $as_echo "$as_val"'` 7981 if test "x$as_val" = x""yes; then 6963 7982 cat >>confdefs.h <<_ACEOF 6964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6965 _ACEOF 6966 6967 else 6968 case $LIBOBJS in 6969 "$ac_func.$ac_objext" | \ 6970 *" $ac_func.$ac_objext" | \ 6971 "$ac_func.$ac_objext "* | \ 7983 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7984 _ACEOF 7985 7986 else 7987 case " $LIBOBJS " in 6972 7988 *" $ac_func.$ac_objext "* ) ;; 6973 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; 7989 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 7990 ;; 6974 7991 esac 6975 7992 … … 6979 7996 6980 7997 6981 echo "$as_me:$LINENO: checking for textdomain" >&56982 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6 7998 { $as_echo "$as_me:$LINENO: checking for textdomain" >&5 7999 $as_echo_n "checking for textdomain... " >&6; } 6983 8000 if test "${ac_cv_func_textdomain+set}" = set; then 6984 echo $ECHO_N "(cached) $ECHO_C" >&68001 $as_echo_n "(cached) " >&6 6985 8002 else 6986 8003 cat >conftest.$ac_ext <<_ACEOF … … 7007 8024 #undef textdomain 7008 8025 7009 /* Override any gcc2 internal prototype to avoid an error. */ 8026 /* Override any GCC internal prototype to avoid an error. 8027 Use char because int might match the return type of a GCC 8028 builtin and then its argument prototype would still apply. */ 7010 8029 #ifdef __cplusplus 7011 8030 extern "C" 7012 {7013 8031 #endif 7014 /* We use char because int might match the return type of a gcc27015 builtin and then its argument prototype would still apply. */7016 8032 char textdomain (); 7017 8033 /* The GNU C library defines this for functions which it implements 7018 8034 to always fail with ENOSYS. Some functions are actually named 7019 8035 something starting with __ and the normal name is an alias. */ 7020 #if defined (__stub_textdomain) || defined (__stub___textdomain)8036 #if defined __stub_textdomain || defined __stub___textdomain 7021 8037 choke me 7022 #else7023 char (*f) () = textdomain;7024 #endif7025 #ifdef __cplusplus7026 }7027 8038 #endif 7028 8039 … … 7030 8041 main () 7031 8042 { 7032 return f != textdomain;8043 return textdomain (); 7033 8044 ; 7034 8045 return 0; … … 7036 8047 _ACEOF 7037 8048 rm -f conftest.$ac_objext conftest$ac_exeext 7038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7039 (eval $ac_link) 2>conftest.er1 8049 if { (ac_try="$ac_link" 8050 case "(($ac_try" in 8051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8052 *) ac_try_echo=$ac_try;; 8053 esac 8054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8055 $as_echo "$ac_try_echo") >&5 8056 (eval "$ac_link") 2>conftest.er1 7040 8057 ac_status=$? 7041 8058 grep -v '^ *+' conftest.er1 >conftest.err 7042 8059 rm -f conftest.er1 7043 8060 cat conftest.err >&5 7044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7045 (exit $ac_status); } && 7046 { ac_try='test -z "$ac_c_werror_flag" 7047 || test ! -s conftest.err' 7048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7049 (eval $ac_try) 2>&5 7050 ac_status=$? 7051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7052 (exit $ac_status); }; } && 7053 { ac_try='test -s conftest$ac_exeext' 7054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7055 (eval $ac_try) 2>&5 7056 ac_status=$? 7057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7058 (exit $ac_status); }; }; then 8061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8062 (exit $ac_status); } && { 8063 test -z "$ac_c_werror_flag" || 8064 test ! -s conftest.err 8065 } && test -s conftest$ac_exeext && { 8066 test "$cross_compiling" = yes || 8067 $as_test_x conftest$ac_exeext 8068 }; then 7059 8069 ac_cv_func_textdomain=yes 7060 8070 else 7061 echo "$as_me: failed program was:" >&58071 $as_echo "$as_me: failed program was:" >&5 7062 8072 sed 's/^/| /' conftest.$ac_ext >&5 7063 8073 7064 ac_cv_func_textdomain=no 7065 fi 7066 rm -f conftest.err conftest.$ac_objext \ 8074 ac_cv_func_textdomain=no 8075 fi 8076 8077 rm -rf conftest.dSYM 8078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7067 8079 conftest$ac_exeext conftest.$ac_ext 7068 8080 fi 7069 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&57070 echo "${ECHO_T}$ac_cv_func_textdomain" >&6 7071 if test $ac_cv_func_textdomain =yes; then8081 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5 8082 $as_echo "$ac_cv_func_textdomain" >&6; } 8083 if test "x$ac_cv_func_textdomain" = x""yes; then 7072 8084 cat >>confdefs.h <<\_ACEOF 7073 8085 #define ENABLE_NLS 1 … … 7079 8091 # *** Custom checking (based on GNU tar configure.in) *** 7080 8092 # --------------------------------------------------------------------------- 7081 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&57082 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6 8093 { $as_echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5 8094 $as_echo_n "checking for HP-UX needing gmalloc... " >&6; } 7083 8095 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 7084 echo "$as_me:$LINENO: result: yes" >&5 7085 echo "${ECHO_T}yes" >&6 7086 case $LIBOBJS in 7087 "gmalloc.$ac_objext" | \ 7088 *" gmalloc.$ac_objext" | \ 7089 "gmalloc.$ac_objext "* | \ 8096 { $as_echo "$as_me:$LINENO: result: yes" >&5 8097 $as_echo "yes" >&6; } 8098 case " $LIBOBJS " in 7090 8099 *" gmalloc.$ac_objext "* ) ;; 7091 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;; 8100 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" 8101 ;; 7092 8102 esac 7093 8103 … … 7097 8107 7098 8108 else 7099 echo "$as_me:$LINENO: result: no" >&57100 echo "${ECHO_T}no" >&6 8109 { $as_echo "$as_me:$LINENO: result: no" >&5 8110 $as_echo "no" >&6; } 7101 8111 7102 8112 for ac_func in valloc 7103 8113 do 7104 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`7105 echo "$as_me:$LINENO: checking for $ac_func" >&57106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7107 if eval "test \"\${$as_ac_var+set}\" = set"; then7108 echo $ECHO_N "(cached) $ECHO_C" >&68114 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8115 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 8116 $as_echo_n "checking for $ac_func... " >&6; } 8117 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 8118 $as_echo_n "(cached) " >&6 7109 8119 else 7110 8120 cat >conftest.$ac_ext <<_ACEOF … … 7131 8141 #undef $ac_func 7132 8142 7133 /* Override any gcc2 internal prototype to avoid an error. */ 8143 /* Override any GCC internal prototype to avoid an error. 8144 Use char because int might match the return type of a GCC 8145 builtin and then its argument prototype would still apply. */ 7134 8146 #ifdef __cplusplus 7135 8147 extern "C" 7136 {7137 8148 #endif 7138 /* We use char because int might match the return type of a gcc27139 builtin and then its argument prototype would still apply. */7140 8149 char $ac_func (); 7141 8150 /* The GNU C library defines this for functions which it implements 7142 8151 to always fail with ENOSYS. Some functions are actually named 7143 8152 something starting with __ and the normal name is an alias. */ 7144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)8153 #if defined __stub_$ac_func || defined __stub___$ac_func 7145 8154 choke me 7146 #else7147 char (*f) () = $ac_func;7148 #endif7149 #ifdef __cplusplus7150 }7151 8155 #endif 7152 8156 … … 7154 8158 main () 7155 8159 { 7156 return f != $ac_func;8160 return $ac_func (); 7157 8161 ; 7158 8162 return 0; … … 7160 8164 _ACEOF 7161 8165 rm -f conftest.$ac_objext conftest$ac_exeext 7162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7163 (eval $ac_link) 2>conftest.er1 8166 if { (ac_try="$ac_link" 8167 case "(($ac_try" in 8168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8169 *) ac_try_echo=$ac_try;; 8170 esac 8171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8172 $as_echo "$ac_try_echo") >&5 8173 (eval "$ac_link") 2>conftest.er1 7164 8174 ac_status=$? 7165 8175 grep -v '^ *+' conftest.er1 >conftest.err 7166 8176 rm -f conftest.er1 7167 8177 cat conftest.err >&5 7168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7169 (exit $ac_status); } && 7170 { ac_try='test -z "$ac_c_werror_flag" 7171 || test ! -s conftest.err' 7172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7173 (eval $ac_try) 2>&5 7174 ac_status=$? 7175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7176 (exit $ac_status); }; } && 7177 { ac_try='test -s conftest$ac_exeext' 7178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7179 (eval $ac_try) 2>&5 7180 ac_status=$? 7181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7182 (exit $ac_status); }; }; then 8178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8179 (exit $ac_status); } && { 8180 test -z "$ac_c_werror_flag" || 8181 test ! -s conftest.err 8182 } && test -s conftest$ac_exeext && { 8183 test "$cross_compiling" = yes || 8184 $as_test_x conftest$ac_exeext 8185 }; then 7183 8186 eval "$as_ac_var=yes" 7184 8187 else 7185 echo "$as_me: failed program was:" >&58188 $as_echo "$as_me: failed program was:" >&5 7186 8189 sed 's/^/| /' conftest.$ac_ext >&5 7187 8190 7188 eval "$as_ac_var=no" 7189 fi 7190 rm -f conftest.err conftest.$ac_objext \ 8191 eval "$as_ac_var=no" 8192 fi 8193 8194 rm -rf conftest.dSYM 8195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7191 8196 conftest$ac_exeext conftest.$ac_ext 7192 8197 fi 7193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 7194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7195 if test `eval echo '${'$as_ac_var'}'` = yes; then 8198 ac_res=`eval 'as_val=${'$as_ac_var'} 8199 $as_echo "$as_val"'` 8200 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8201 $as_echo "$ac_res" >&6; } 8202 as_val=`eval 'as_val=${'$as_ac_var'} 8203 $as_echo "$as_val"'` 8204 if test "x$as_val" = x""yes; then 7196 8205 cat >>confdefs.h <<_ACEOF 7197 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 18206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7198 8207 _ACEOF 7199 8208 … … 7204 8213 7205 8214 # we cannot generate static libraries under Darwin 7206 echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&57207 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6 8215 { $as_echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5 8216 $as_echo_n "checking for Apple MacOS X/Darwin... " >&6; } 7208 8217 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 7209 echo "$as_me:$LINENO: result: yes" >&57210 echo "${ECHO_T}yes" >&6 8218 { $as_echo "$as_me:$LINENO: result: yes" >&5 8219 $as_echo "yes" >&6; } 7211 8220 STATIC="" 7212 8221 else 7213 echo "$as_me:$LINENO: result: no" >&57214 echo "${ECHO_T}no" >&6 8222 { $as_echo "$as_me:$LINENO: result: no" >&5 8223 $as_echo "no" >&6; } 7215 8224 STATIC="-static " 7216 8225 fi 7217 8226 7218 8227 7219 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&57220 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6 7221 7222 # Check whether --with-dmalloc or --without-dmallocwas given.8228 { $as_echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 8229 $as_echo_n "checking if malloc debugging is wanted... " >&6; } 8230 8231 # Check whether --with-dmalloc was given. 7223 8232 if test "${with_dmalloc+set}" = set; then 7224 withval="$with_dmalloc" 7225 if test "$withval" = yes; then 7226 echo "$as_me:$LINENO: result: yes" >&5 7227 echo "${ECHO_T}yes" >&6 8233 withval=$with_dmalloc; if test "$withval" = yes; then 8234 { $as_echo "$as_me:$LINENO: result: yes" >&5 8235 $as_echo "yes" >&6; } 7228 8236 cat >>confdefs.h <<\_ACEOF 7229 8237 #define WITH_DMALLOC 1 … … 7233 8241 LDFLAGS="$LDFLAGS -g" 7234 8242 else 7235 echo "$as_me:$LINENO: result: no" >&5 7236 echo "${ECHO_T}no" >&6 7237 fi 7238 else 7239 echo "$as_me:$LINENO: result: no" >&5 7240 echo "${ECHO_T}no" >&6 7241 fi; 7242 7243 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 7244 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6 7245 7246 # Check whether --with-regex or --without-regex was given. 8243 { $as_echo "$as_me:$LINENO: result: no" >&5 8244 $as_echo "no" >&6; } 8245 fi 8246 else 8247 { $as_echo "$as_me:$LINENO: result: no" >&5 8248 $as_echo "no" >&6; } 8249 fi 8250 8251 8252 { $as_echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 8253 $as_echo_n "checking which of rx or regex is wanted... " >&6; } 8254 8255 # Check whether --with-regex was given. 7247 8256 if test "${with_regex+set}" = set; then 7248 withval="$with_regex" 7249 if test "$withval" = yes; then 8257 withval=$with_regex; if test "$withval" = yes; then 7250 8258 ac_with_regex=1 7251 echo "$as_me:$LINENO: result: regex" >&57252 echo "${ECHO_T}regex" >&6 8259 { $as_echo "$as_me:$LINENO: result: regex" >&5 8260 $as_echo "regex" >&6; } 7253 8261 cat >>confdefs.h <<\_ACEOF 7254 8262 #define WITH_REGEX 1 7255 8263 _ACEOF 7256 8264 7257 case $LIBOBJS in 7258 "regex.$ac_objext" | \ 7259 *" regex.$ac_objext" | \ 7260 "regex.$ac_objext "* | \ 8265 case " $LIBOBJS " in 7261 8266 *" regex.$ac_objext "* ) ;; 7262 *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;; 7263 esac 7264 7265 fi 7266 fi; 8267 *) LIBOBJS="$LIBOBJS regex.$ac_objext" 8268 ;; 8269 esac 8270 8271 fi 8272 fi 8273 7267 8274 if test -z "$ac_with_regex"; then 7268 echo "$as_me:$LINENO: result: rx" >&57269 echo "${ECHO_T}rx" >&6 7270 echo "$as_me:$LINENO: checking for re_rx_search" >&57271 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6 8275 { $as_echo "$as_me:$LINENO: result: rx" >&5 8276 $as_echo "rx" >&6; } 8277 { $as_echo "$as_me:$LINENO: checking for re_rx_search" >&5 8278 $as_echo_n "checking for re_rx_search... " >&6; } 7272 8279 if test "${ac_cv_func_re_rx_search+set}" = set; then 7273 echo $ECHO_N "(cached) $ECHO_C" >&68280 $as_echo_n "(cached) " >&6 7274 8281 else 7275 8282 cat >conftest.$ac_ext <<_ACEOF … … 7296 8303 #undef re_rx_search 7297 8304 7298 /* Override any gcc2 internal prototype to avoid an error. */ 8305 /* Override any GCC internal prototype to avoid an error. 8306 Use char because int might match the return type of a GCC 8307 builtin and then its argument prototype would still apply. */ 7299 8308 #ifdef __cplusplus 7300 8309 extern "C" 7301 {7302 8310 #endif 7303 /* We use char because int might match the return type of a gcc27304 builtin and then its argument prototype would still apply. */7305 8311 char re_rx_search (); 7306 8312 /* The GNU C library defines this for functions which it implements 7307 8313 to always fail with ENOSYS. Some functions are actually named 7308 8314 something starting with __ and the normal name is an alias. */ 7309 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)8315 #if defined __stub_re_rx_search || defined __stub___re_rx_search 7310 8316 choke me 7311 #else7312 char (*f) () = re_rx_search;7313 #endif7314 #ifdef __cplusplus7315 }7316 8317 #endif 7317 8318 … … 7319 8320 main () 7320 8321 { 7321 return f != re_rx_search;8322 return re_rx_search (); 7322 8323 ; 7323 8324 return 0; … … 7325 8326 _ACEOF 7326 8327 rm -f conftest.$ac_objext conftest$ac_exeext 7327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7328 (eval $ac_link) 2>conftest.er1 8328 if { (ac_try="$ac_link" 8329 case "(($ac_try" in 8330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8331 *) ac_try_echo=$ac_try;; 8332 esac 8333 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8334 $as_echo "$ac_try_echo") >&5 8335 (eval "$ac_link") 2>conftest.er1 7329 8336 ac_status=$? 7330 8337 grep -v '^ *+' conftest.er1 >conftest.err 7331 8338 rm -f conftest.er1 7332 8339 cat conftest.err >&5 7333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7334 (exit $ac_status); } && 7335 { ac_try='test -z "$ac_c_werror_flag" 7336 || test ! -s conftest.err' 7337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7338 (eval $ac_try) 2>&5 7339 ac_status=$? 7340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7341 (exit $ac_status); }; } && 7342 { ac_try='test -s conftest$ac_exeext' 7343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7344 (eval $ac_try) 2>&5 7345 ac_status=$? 7346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7347 (exit $ac_status); }; }; then 8340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8341 (exit $ac_status); } && { 8342 test -z "$ac_c_werror_flag" || 8343 test ! -s conftest.err 8344 } && test -s conftest$ac_exeext && { 8345 test "$cross_compiling" = yes || 8346 $as_test_x conftest$ac_exeext 8347 }; then 7348 8348 ac_cv_func_re_rx_search=yes 7349 8349 else 7350 echo "$as_me: failed program was:" >&58350 $as_echo "$as_me: failed program was:" >&5 7351 8351 sed 's/^/| /' conftest.$ac_ext >&5 7352 8352 7353 ac_cv_func_re_rx_search=no 7354 fi 7355 rm -f conftest.err conftest.$ac_objext \ 8353 ac_cv_func_re_rx_search=no 8354 fi 8355 8356 rm -rf conftest.dSYM 8357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7356 8358 conftest$ac_exeext conftest.$ac_ext 7357 8359 fi 7358 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&57359 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6 7360 if test $ac_cv_func_re_rx_search =yes; then8360 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 8361 $as_echo "$ac_cv_func_re_rx_search" >&6; } 8362 if test "x$ac_cv_func_re_rx_search" = x""yes; then 7361 8363 : 7362 8364 else 7363 case $LIBOBJS in 7364 "rx.$ac_objext" | \ 7365 *" rx.$ac_objext" | \ 7366 "rx.$ac_objext "* | \ 8365 case " $LIBOBJS " in 7367 8366 *" rx.$ac_objext "* ) ;; 7368 *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;; 8367 *) LIBOBJS="$LIBOBJS rx.$ac_objext" 8368 ;; 7369 8369 esac 7370 8370 … … 7376 8376 # --------------------------------------------------------------------------- 7377 8377 if test "$ac_cv_func_alloca" = 'no'; then 7378 case $LIBOBJS in 7379 "xmalloc.$ac_objext" | \ 7380 *" xmalloc.$ac_objext" | \ 7381 "xmalloc.$ac_objext "* | \ 8378 case " $LIBOBJS " in 7382 8379 *" xmalloc.$ac_objext "* ) ;; 7383 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;; 7384 esac 7385 7386 case $LIBOBJS in 7387 "error.$ac_objext" | \ 7388 *" error.$ac_objext" | \ 7389 "error.$ac_objext "* | \ 8380 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" 8381 ;; 8382 esac 8383 8384 case " $LIBOBJS " in 7390 8385 *" error.$ac_objext "* ) ;; 7391 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 8386 *) LIBOBJS="$LIBOBJS error.$ac_objext" 8387 ;; 7392 8388 esac 7393 8389 … … 7397 8393 # --------------------------------------------------------------------------- 7398 8394 7399 ac_ext=c c8395 ac_ext=cpp 7400 8396 ac_cpp='$CXXCPP $CPPFLAGS' 7401 8397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 7405 8401 7406 8402 success=no 7407 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&57408 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6 8403 { $as_echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5 8404 $as_echo_n "checking \"whether STL library has known faults\"... " >&6; } 7409 8405 7410 8406 … … 7426 8422 _ACEOF 7427 8423 rm -f conftest.$ac_objext 7428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7429 (eval $ac_compile) 2>conftest.er1 8424 if { (ac_try="$ac_compile" 8425 case "(($ac_try" in 8426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8427 *) ac_try_echo=$ac_try;; 8428 esac 8429 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8430 $as_echo "$ac_try_echo") >&5 8431 (eval "$ac_compile") 2>conftest.er1 7430 8432 ac_status=$? 7431 8433 grep -v '^ *+' conftest.er1 >conftest.err 7432 8434 rm -f conftest.er1 7433 8435 cat conftest.err >&5 7434 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7435 (exit $ac_status); } && 7436 { ac_try='test -z "$ac_cxx_werror_flag" 7437 || test ! -s conftest.err' 7438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7439 (eval $ac_try) 2>&5 7440 ac_status=$? 7441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7442 (exit $ac_status); }; } && 7443 { ac_try='test -s conftest.$ac_objext' 7444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7445 (eval $ac_try) 2>&5 7446 ac_status=$? 7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7448 (exit $ac_status); }; }; then 8436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8437 (exit $ac_status); } && { 8438 test -z "$ac_cxx_werror_flag" || 8439 test ! -s conftest.err 8440 } && test -s conftest.$ac_objext; then 7449 8441 success=yes 7450 8442 else 7451 echo "$as_me: failed program was:" >&58443 $as_echo "$as_me: failed program was:" >&5 7452 8444 sed 's/^/| /' conftest.$ac_ext >&5 7453 8445 7454 fi 7455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8446 8447 fi 8448 8449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7456 8450 7457 8451 if test $success = "no"; then … … 7473 8467 _ACEOF 7474 8468 rm -f conftest.$ac_objext 7475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7476 (eval $ac_compile) 2>conftest.er1 8469 if { (ac_try="$ac_compile" 8470 case "(($ac_try" in 8471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8472 *) ac_try_echo=$ac_try;; 8473 esac 8474 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8475 $as_echo "$ac_try_echo") >&5 8476 (eval "$ac_compile") 2>conftest.er1 7477 8477 ac_status=$? 7478 8478 grep -v '^ *+' conftest.er1 >conftest.err 7479 8479 rm -f conftest.er1 7480 8480 cat conftest.err >&5 7481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7482 (exit $ac_status); } && 7483 { ac_try='test -z "$ac_cxx_werror_flag" 7484 || test ! -s conftest.err' 7485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7486 (eval $ac_try) 2>&5 7487 ac_status=$? 7488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7489 (exit $ac_status); }; } && 7490 { ac_try='test -s conftest.$ac_objext' 7491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7492 (eval $ac_try) 2>&5 7493 ac_status=$? 7494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7495 (exit $ac_status); }; }; then 8481 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8482 (exit $ac_status); } && { 8483 test -z "$ac_cxx_werror_flag" || 8484 test ! -s conftest.err 8485 } && test -s conftest.$ac_objext; then 7496 8486 success="yes" 7497 8487 else 7498 echo "$as_me: failed program was:" >&58488 $as_echo "$as_me: failed program was:" >&5 7499 8489 sed 's/^/| /' conftest.$ac_ext >&5 7500 8490 7501 fi 7502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8491 8492 fi 8493 8494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7503 8495 fi 7504 8496 … … 7521 8513 _ACEOF 7522 8514 rm -f conftest.$ac_objext 7523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7524 (eval $ac_compile) 2>conftest.er1 8515 if { (ac_try="$ac_compile" 8516 case "(($ac_try" in 8517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8518 *) ac_try_echo=$ac_try;; 8519 esac 8520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8521 $as_echo "$ac_try_echo") >&5 8522 (eval "$ac_compile") 2>conftest.er1 7525 8523 ac_status=$? 7526 8524 grep -v '^ *+' conftest.er1 >conftest.err 7527 8525 rm -f conftest.er1 7528 8526 cat conftest.err >&5 7529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7530 (exit $ac_status); } && 7531 { ac_try='test -z "$ac_cxx_werror_flag" 7532 || test ! -s conftest.err' 7533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7534 (eval $ac_try) 2>&5 7535 ac_status=$? 7536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7537 (exit $ac_status); }; } && 7538 { ac_try='test -s conftest.$ac_objext' 7539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7540 (eval $ac_try) 2>&5 7541 ac_status=$? 7542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7543 (exit $ac_status); }; }; then 8527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8528 (exit $ac_status); } && { 8529 test -z "$ac_cxx_werror_flag" || 8530 test ! -s conftest.err 8531 } && test -s conftest.$ac_objext; then 7544 8532 success="yes" 7545 8533 else 7546 echo "$as_me: failed program was:" >&58534 $as_echo "$as_me: failed program was:" >&5 7547 8535 sed 's/^/| /' conftest.$ac_ext >&5 7548 8536 7549 fi 7550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8537 8538 fi 8539 8540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7551 8541 fi 7552 8542 7553 8543 if test $success = yes; then 7554 echo "$as_me:$LINENO: result: \"no\"" >&57555 echo "${ECHO_T}\"no\"" >&6 7556 else 7557 echo "$as_me:$LINENO: result: \"yes\"" >&57558 echo "${ECHO_T}\"yes\"" >&6 7559 { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&57560 echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}8544 { $as_echo "$as_me:$LINENO: result: \"no\"" >&5 8545 $as_echo "\"no\"" >&6; } 8546 else 8547 { $as_echo "$as_me:$LINENO: result: \"yes\"" >&5 8548 $as_echo "\"yes\"" >&6; } 8549 { { $as_echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5 8550 $as_echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;} 7561 8551 { (exit 1); exit 1; }; } 7562 8552 fi … … 7579 8569 7580 8570 # check for endianness 7581 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7582 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 8571 8572 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 8573 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 7583 8574 if test "${ac_cv_c_bigendian+set}" = set; then 7584 echo $ECHO_N "(cached) $ECHO_C" >&6 7585 else 7586 # See if sys/param.h defines the BYTE_ORDER macro. 7587 cat >conftest.$ac_ext <<_ACEOF 8575 $as_echo_n "(cached) " >&6 8576 else 8577 ac_cv_c_bigendian=unknown 8578 # See if we're dealing with a universal compiler. 8579 cat >conftest.$ac_ext <<_ACEOF 8580 /* confdefs.h. */ 8581 _ACEOF 8582 cat confdefs.h >>conftest.$ac_ext 8583 cat >>conftest.$ac_ext <<_ACEOF 8584 /* end confdefs.h. */ 8585 #ifndef __APPLE_CC__ 8586 not a universal capable compiler 8587 #endif 8588 typedef int dummy; 8589 8590 _ACEOF 8591 rm -f conftest.$ac_objext 8592 if { (ac_try="$ac_compile" 8593 case "(($ac_try" in 8594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8595 *) ac_try_echo=$ac_try;; 8596 esac 8597 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8598 $as_echo "$ac_try_echo") >&5 8599 (eval "$ac_compile") 2>conftest.er1 8600 ac_status=$? 8601 grep -v '^ *+' conftest.er1 >conftest.err 8602 rm -f conftest.er1 8603 cat conftest.err >&5 8604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8605 (exit $ac_status); } && { 8606 test -z "$ac_cxx_werror_flag" || 8607 test ! -s conftest.err 8608 } && test -s conftest.$ac_objext; then 8609 8610 # Check for potential -arch flags. It is not universal unless 8611 # there are some -arch flags. Note that *ppc* also matches 8612 # ppc64. This check is also rather less than ideal. 8613 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 8614 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 8615 esac 8616 else 8617 $as_echo "$as_me: failed program was:" >&5 8618 sed 's/^/| /' conftest.$ac_ext >&5 8619 8620 8621 fi 8622 8623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8624 if test $ac_cv_c_bigendian = unknown; then 8625 # See if sys/param.h defines the BYTE_ORDER macro. 8626 cat >conftest.$ac_ext <<_ACEOF 7588 8627 /* confdefs.h. */ 7589 8628 _ACEOF … … 7592 8631 /* end confdefs.h. */ 7593 8632 #include <sys/types.h> 7594 #include <sys/param.h>8633 #include <sys/param.h> 7595 8634 7596 8635 int 7597 8636 main () 7598 8637 { 7599 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 7600 bogus endian macros 7601 #endif 8638 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 8639 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 8640 && LITTLE_ENDIAN) 8641 bogus endian macros 8642 #endif 7602 8643 7603 8644 ; … … 7606 8647 _ACEOF 7607 8648 rm -f conftest.$ac_objext 7608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7609 (eval $ac_compile) 2>conftest.er1 8649 if { (ac_try="$ac_compile" 8650 case "(($ac_try" in 8651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8652 *) ac_try_echo=$ac_try;; 8653 esac 8654 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8655 $as_echo "$ac_try_echo") >&5 8656 (eval "$ac_compile") 2>conftest.er1 7610 8657 ac_status=$? 7611 8658 grep -v '^ *+' conftest.er1 >conftest.err 7612 8659 rm -f conftest.er1 7613 8660 cat conftest.err >&5 7614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7615 (exit $ac_status); } && 7616 { ac_try='test -z "$ac_cxx_werror_flag" 7617 || test ! -s conftest.err' 7618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7619 (eval $ac_try) 2>&5 7620 ac_status=$? 7621 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7622 (exit $ac_status); }; } && 7623 { ac_try='test -s conftest.$ac_objext' 7624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7625 (eval $ac_try) 2>&5 7626 ac_status=$? 7627 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7628 (exit $ac_status); }; }; then 8661 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8662 (exit $ac_status); } && { 8663 test -z "$ac_cxx_werror_flag" || 8664 test ! -s conftest.err 8665 } && test -s conftest.$ac_objext; then 7629 8666 # It does; now see whether it defined to BIG_ENDIAN or not. 7630 cat >conftest.$ac_ext <<_ACEOF8667 cat >conftest.$ac_ext <<_ACEOF 7631 8668 /* confdefs.h. */ 7632 8669 _ACEOF … … 7635 8672 /* end confdefs.h. */ 7636 8673 #include <sys/types.h> 7637 #include <sys/param.h>8674 #include <sys/param.h> 7638 8675 7639 8676 int … … 7641 8678 { 7642 8679 #if BYTE_ORDER != BIG_ENDIAN 7643 not big endian7644 #endif8680 not big endian 8681 #endif 7645 8682 7646 8683 ; … … 7649 8686 _ACEOF 7650 8687 rm -f conftest.$ac_objext 7651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7652 (eval $ac_compile) 2>conftest.er1 8688 if { (ac_try="$ac_compile" 8689 case "(($ac_try" in 8690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8691 *) ac_try_echo=$ac_try;; 8692 esac 8693 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8694 $as_echo "$ac_try_echo") >&5 8695 (eval "$ac_compile") 2>conftest.er1 7653 8696 ac_status=$? 7654 8697 grep -v '^ *+' conftest.er1 >conftest.err 7655 8698 rm -f conftest.er1 7656 8699 cat conftest.err >&5 7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7658 (exit $ac_status); } && 7659 { ac_try='test -z "$ac_cxx_werror_flag" 7660 || test ! -s conftest.err' 7661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7662 (eval $ac_try) 2>&5 7663 ac_status=$? 7664 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7665 (exit $ac_status); }; } && 7666 { ac_try='test -s conftest.$ac_objext' 7667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7668 (eval $ac_try) 2>&5 7669 ac_status=$? 7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7671 (exit $ac_status); }; }; then 8700 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8701 (exit $ac_status); } && { 8702 test -z "$ac_cxx_werror_flag" || 8703 test ! -s conftest.err 8704 } && test -s conftest.$ac_objext; then 7672 8705 ac_cv_c_bigendian=yes 7673 8706 else 7674 echo "$as_me: failed program was:" >&58707 $as_echo "$as_me: failed program was:" >&5 7675 8708 sed 's/^/| /' conftest.$ac_ext >&5 7676 8709 7677 ac_cv_c_bigendian=no 7678 fi 7679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7680 else 7681 echo "$as_me: failed program was:" >&5 8710 ac_cv_c_bigendian=no 8711 fi 8712 8713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8714 else 8715 $as_echo "$as_me: failed program was:" >&5 7682 8716 sed 's/^/| /' conftest.$ac_ext >&5 7683 8717 7684 # It does not; compile a test program. 7685 if test "$cross_compiling" = yes; then 7686 # try to guess the endianness by grepping values into an object file 7687 ac_cv_c_bigendian=unknown 7688 cat >conftest.$ac_ext <<_ACEOF 8718 8719 fi 8720 8721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8722 fi 8723 if test $ac_cv_c_bigendian = unknown; then 8724 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 8725 cat >conftest.$ac_ext <<_ACEOF 7689 8726 /* confdefs.h. */ 7690 8727 _ACEOF … … 7692 8729 cat >>conftest.$ac_ext <<_ACEOF 7693 8730 /* end confdefs.h. */ 7694 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 7695 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 7696 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 7697 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 7698 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 7699 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 8731 #include <limits.h> 8732 7700 8733 int 7701 8734 main () 7702 8735 { 7703 _ascii (); _ebcdic (); 8736 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 8737 bogus endian macros 8738 #endif 8739 7704 8740 ; 7705 8741 return 0; … … 7707 8743 _ACEOF 7708 8744 rm -f conftest.$ac_objext 7709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7710 (eval $ac_compile) 2>conftest.er1 8745 if { (ac_try="$ac_compile" 8746 case "(($ac_try" in 8747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8748 *) ac_try_echo=$ac_try;; 8749 esac 8750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8751 $as_echo "$ac_try_echo") >&5 8752 (eval "$ac_compile") 2>conftest.er1 7711 8753 ac_status=$? 7712 8754 grep -v '^ *+' conftest.er1 >conftest.err 7713 8755 rm -f conftest.er1 7714 8756 cat conftest.err >&5 7715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7716 (exit $ac_status); } && 7717 { ac_try='test -z "$ac_cxx_werror_flag" 7718 || test ! -s conftest.err' 7719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7720 (eval $ac_try) 2>&5 7721 ac_status=$? 7722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7723 (exit $ac_status); }; } && 7724 { ac_try='test -s conftest.$ac_objext' 7725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7726 (eval $ac_try) 2>&5 7727 ac_status=$? 7728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7729 (exit $ac_status); }; }; then 7730 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 7731 ac_cv_c_bigendian=yes 7732 fi 7733 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 7734 if test "$ac_cv_c_bigendian" = unknown; then 7735 ac_cv_c_bigendian=no 7736 else 7737 # finding both strings is unlikely to happen, but who knows? 7738 ac_cv_c_bigendian=unknown 7739 fi 7740 fi 7741 else 7742 echo "$as_me: failed program was:" >&5 7743 sed 's/^/| /' conftest.$ac_ext >&5 7744 7745 fi 7746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7747 else 7748 cat >conftest.$ac_ext <<_ACEOF 8757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8758 (exit $ac_status); } && { 8759 test -z "$ac_cxx_werror_flag" || 8760 test ! -s conftest.err 8761 } && test -s conftest.$ac_objext; then 8762 # It does; now see whether it defined to _BIG_ENDIAN or not. 8763 cat >conftest.$ac_ext <<_ACEOF 7749 8764 /* confdefs.h. */ 7750 8765 _ACEOF … … 7752 8767 cat >>conftest.$ac_ext <<_ACEOF 7753 8768 /* end confdefs.h. */ 8769 #include <limits.h> 8770 7754 8771 int 7755 8772 main () 7756 8773 { 7757 /* Are we little or big endian? From Harbison&Steele. */ 7758 union 7759 { 7760 long l; 7761 char c[sizeof (long)]; 7762 } u; 7763 u.l = 1; 7764 exit (u.c[sizeof (long) - 1] == 1); 8774 #ifndef _BIG_ENDIAN 8775 not big endian 8776 #endif 8777 8778 ; 8779 return 0; 7765 8780 } 7766 8781 _ACEOF 8782 rm -f conftest.$ac_objext 8783 if { (ac_try="$ac_compile" 8784 case "(($ac_try" in 8785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8786 *) ac_try_echo=$ac_try;; 8787 esac 8788 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8789 $as_echo "$ac_try_echo") >&5 8790 (eval "$ac_compile") 2>conftest.er1 8791 ac_status=$? 8792 grep -v '^ *+' conftest.er1 >conftest.err 8793 rm -f conftest.er1 8794 cat conftest.err >&5 8795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8796 (exit $ac_status); } && { 8797 test -z "$ac_cxx_werror_flag" || 8798 test ! -s conftest.err 8799 } && test -s conftest.$ac_objext; then 8800 ac_cv_c_bigendian=yes 8801 else 8802 $as_echo "$as_me: failed program was:" >&5 8803 sed 's/^/| /' conftest.$ac_ext >&5 8804 8805 ac_cv_c_bigendian=no 8806 fi 8807 8808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8809 else 8810 $as_echo "$as_me: failed program was:" >&5 8811 sed 's/^/| /' conftest.$ac_ext >&5 8812 8813 8814 fi 8815 8816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8817 fi 8818 if test $ac_cv_c_bigendian = unknown; then 8819 # Compile a test program. 8820 if test "$cross_compiling" = yes; then 8821 # Try to guess by grepping values from an object file. 8822 cat >conftest.$ac_ext <<_ACEOF 8823 /* confdefs.h. */ 8824 _ACEOF 8825 cat confdefs.h >>conftest.$ac_ext 8826 cat >>conftest.$ac_ext <<_ACEOF 8827 /* end confdefs.h. */ 8828 short int ascii_mm[] = 8829 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 8830 short int ascii_ii[] = 8831 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 8832 int use_ascii (int i) { 8833 return ascii_mm[i] + ascii_ii[i]; 8834 } 8835 short int ebcdic_ii[] = 8836 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 8837 short int ebcdic_mm[] = 8838 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 8839 int use_ebcdic (int i) { 8840 return ebcdic_mm[i] + ebcdic_ii[i]; 8841 } 8842 extern int foo; 8843 8844 int 8845 main () 8846 { 8847 return use_ascii (foo) == use_ebcdic (foo); 8848 ; 8849 return 0; 8850 } 8851 _ACEOF 8852 rm -f conftest.$ac_objext 8853 if { (ac_try="$ac_compile" 8854 case "(($ac_try" in 8855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8856 *) ac_try_echo=$ac_try;; 8857 esac 8858 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8859 $as_echo "$ac_try_echo") >&5 8860 (eval "$ac_compile") 2>conftest.er1 8861 ac_status=$? 8862 grep -v '^ *+' conftest.er1 >conftest.err 8863 rm -f conftest.er1 8864 cat conftest.err >&5 8865 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8866 (exit $ac_status); } && { 8867 test -z "$ac_cxx_werror_flag" || 8868 test ! -s conftest.err 8869 } && test -s conftest.$ac_objext; then 8870 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 8871 ac_cv_c_bigendian=yes 8872 fi 8873 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 8874 if test "$ac_cv_c_bigendian" = unknown; then 8875 ac_cv_c_bigendian=no 8876 else 8877 # finding both strings is unlikely to happen, but who knows? 8878 ac_cv_c_bigendian=unknown 8879 fi 8880 fi 8881 else 8882 $as_echo "$as_me: failed program was:" >&5 8883 sed 's/^/| /' conftest.$ac_ext >&5 8884 8885 8886 fi 8887 8888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8889 else 8890 cat >conftest.$ac_ext <<_ACEOF 8891 /* confdefs.h. */ 8892 _ACEOF 8893 cat confdefs.h >>conftest.$ac_ext 8894 cat >>conftest.$ac_ext <<_ACEOF 8895 /* end confdefs.h. */ 8896 $ac_includes_default 8897 int 8898 main () 8899 { 8900 8901 /* Are we little or big endian? From Harbison&Steele. */ 8902 union 8903 { 8904 long int l; 8905 char c[sizeof (long int)]; 8906 } u; 8907 u.l = 1; 8908 return u.c[sizeof (long int) - 1] == 1; 8909 8910 ; 8911 return 0; 8912 } 8913 _ACEOF 7767 8914 rm -f conftest$ac_exeext 7768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7769 (eval $ac_link) 2>&5 8915 if { (ac_try="$ac_link" 8916 case "(($ac_try" in 8917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8918 *) ac_try_echo=$ac_try;; 8919 esac 8920 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8921 $as_echo "$ac_try_echo") >&5 8922 (eval "$ac_link") 2>&5 7770 8923 ac_status=$? 7771 echo "$as_me:$LINENO: \$? = $ac_status" >&58924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7772 8925 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7774 (eval $ac_try) 2>&5 8926 { (case "(($ac_try" in 8927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8928 *) ac_try_echo=$ac_try;; 8929 esac 8930 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8931 $as_echo "$ac_try_echo") >&5 8932 (eval "$ac_try") 2>&5 7775 8933 ac_status=$? 7776 echo "$as_me:$LINENO: \$? = $ac_status" >&58934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7777 8935 (exit $ac_status); }; }; then 7778 8936 ac_cv_c_bigendian=no 7779 8937 else 7780 echo "$as_me: program exited with status $ac_status" >&57781 echo "$as_me: failed program was:" >&58938 $as_echo "$as_me: program exited with status $ac_status" >&5 8939 $as_echo "$as_me: failed program was:" >&5 7782 8940 sed 's/^/| /' conftest.$ac_ext >&5 7783 8941 … … 7785 8943 ac_cv_c_bigendian=yes 7786 8944 fi 7787 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7788 fi 7789 fi 7790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7791 fi 7792 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7793 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 7794 case $ac_cv_c_bigendian in 7795 yes) 8945 rm -rf conftest.dSYM 8946 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8947 fi 8948 8949 8950 fi 8951 fi 8952 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 8953 $as_echo "$ac_cv_c_bigendian" >&6; } 8954 case $ac_cv_c_bigendian in #( 8955 yes) 8956 cat >>confdefs.h <<\_ACEOF 8957 #define WORDS_BIGENDIAN 1 8958 _ACEOF 8959 ;; #( 8960 no) 8961 ;; #( 8962 universal) 7796 8963 7797 8964 cat >>confdefs.h <<\_ACEOF 7798 #define WORDS_BIGENDIAN 1 7799 _ACEOF 7800 ;; 7801 no) 7802 ;; 7803 *) 7804 { { echo "$as_me:$LINENO: error: unknown endianness 7805 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 7806 echo "$as_me: error: unknown endianness 7807 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 8965 #define AC_APPLE_UNIVERSAL_BUILD 1 8966 _ACEOF 8967 8968 ;; #( 8969 *) 8970 { { $as_echo "$as_me:$LINENO: error: unknown endianness 8971 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 8972 $as_echo "$as_me: error: unknown endianness 8973 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 7808 8974 { (exit 1); exit 1; }; } ;; 7809 esac8975 esac 7810 8976 7811 8977 # --------------------------------------------------------------------------- 7812 8978 if test "$ac_cv_func_alloca" = 'no'; then 7813 case $LIBOBJS in 7814 "xmalloc.o.$ac_objext" | \ 7815 *" xmalloc.o.$ac_objext" | \ 7816 "xmalloc.o.$ac_objext "* | \ 8979 case " $LIBOBJS " in 7817 8980 *" xmalloc.o.$ac_objext "* ) ;; 7818 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;; 7819 esac 7820 7821 case $LIBOBJS in 7822 "error.$ac_objext" | \ 7823 *" error.$ac_objext" | \ 7824 "error.$ac_objext "* | \ 8981 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" 8982 ;; 8983 esac 8984 8985 case " $LIBOBJS " in 7825 8986 *" error.$ac_objext "* ) ;; 7826 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 8987 *) LIBOBJS="$LIBOBJS error.$ac_objext" 8988 ;; 7827 8989 esac 7828 8990 … … 7858 9020 commonsrcprefix=`pwd` 7859 9021 ac_configure_args="$ac_configure_args --with-libiconv-prefix=$commonsrcprefix/packages/iconv" 7860 7861 7862 9022 subdirs="$subdirs indexers" 7863 9023 … … 7875 9035 src/jdbmedit/Makefile" 7876 9036 7877 ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs" 9037 ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs" 9038 7878 9039 cat >confcache <<\_ACEOF 7879 9040 # This file is a shell script that caches the results of configure … … 7894 9055 # The following way of writing the cache mishandles newlines in values, 7895 9056 # but we know of no workaround that is simple, portable, and efficient. 7896 # So, don't put newlines in cache variables' values.9057 # So, we kill variables containing newlines. 7897 9058 # Ultrix sh set writes to stderr and can't be redirected directly, 7898 9059 # and sets the high bit in the cache file unless we assign to the vars. 7899 { 9060 ( 9061 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 9062 eval ac_val=\$$ac_var 9063 case $ac_val in #( 9064 *${as_nl}*) 9065 case $ac_var in #( 9066 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 9067 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 9068 esac 9069 case $ac_var in #( 9070 _ | IFS | as_nl) ;; #( 9071 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9072 *) $as_unset $ac_var ;; 9073 esac ;; 9074 esac 9075 done 9076 7900 9077 (set) 2>&1 | 7901 case `(ac_space=' '; set | grep ac_space) 2>&1` in7902 * ac_space=\ *)9078 case $as_nl`(ac_space=' '; set) 2>&1` in #( 9079 *${as_nl}ac_space=\ *) 7903 9080 # `set' does not quote correctly, so add quotes (double-quote 7904 9081 # substitution turns \\\\ into \\, and sed turns \\ into \). … … 7906 9083 "s/'/'\\\\''/g; 7907 9084 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7908 ;; 9085 ;; #( 7909 9086 *) 7910 9087 # `set' quotes correctly as required by POSIX, so do not add quotes. 7911 sed -n \ 7912 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 9088 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7913 9089 ;; 7914 esac; 7915 } | 9090 esac | 9091 sort 9092 ) | 7916 9093 sed ' 9094 /^ac_cv_env_/b end 7917 9095 t clear 7918 : 9096 :clear 7919 9097 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7920 9098 t end 7921 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7922 : end' >>confcache 7923 if diff $cache_file confcache >/dev/null 2>&1; then :; else 7924 if test -w $cache_file; then 7925 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 9099 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 9100 :end' >>confcache 9101 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 9102 if test -w "$cache_file"; then 9103 test "x$cache_file" != "x/dev/null" && 9104 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 9105 $as_echo "$as_me: updating cache $cache_file" >&6;} 7926 9106 cat confcache >$cache_file 7927 9107 else 7928 echo "not updating unwritable cache $cache_file" 9108 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 9109 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7929 9110 fi 7930 9111 fi … … 7934 9115 # Let make expand exec_prefix. 7935 9116 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7936 7937 # VPATH may cause trouble with some makes, so we remove $(srcdir),7938 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and7939 # trailing colons and then remove the whole line if VPATH becomes empty7940 # (actually we leave an empty line to preserve line numbers).7941 if test "x$srcdir" = x.; then7942 ac_vpsub='/^[ ]*VPATH[ ]*=/{7943 s/:*\$(srcdir):*/:/;7944 s/:*\${srcdir}:*/:/;7945 s/:*@srcdir@:*/:/;7946 s/^\([^=]*=[ ]*\):*/\1/;7947 s/:*$//;7948 s/^[^=]*=[ ]*$//;7949 }'7950 fi7951 9117 7952 9118 DEFS=-DHAVE_CONFIG_H … … 7956 9122 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7957 9123 # 1. Remove the extension, and $U if already installed. 7958 ac_i=`echo "$ac_i" | 7959 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 7960 # 2. Add them. 7961 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 7962 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 9124 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 9125 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 9126 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 9127 # will be set to the directory where LIBOBJS objects are built. 9128 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9129 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 7963 9130 done 7964 9131 LIBOBJS=$ac_libobjs … … 7968 9135 7969 9136 9137 7970 9138 : ${CONFIG_STATUS=./config.status} 9139 ac_write_fail=0 7971 9140 ac_clean_files_save=$ac_clean_files 7972 9141 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 7973 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&57974 echo "$as_me: creating $CONFIG_STATUS" >&6;}7975 cat >$CONFIG_STATUS <<_ACEOF 9142 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 9143 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9144 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7976 9145 #! $SHELL 7977 9146 # Generated by $as_me. … … 7986 9155 _ACEOF 7987 9156 7988 cat >>$CONFIG_STATUS <<\_ACEOF 9157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7989 9158 ## --------------------- ## 7990 9159 ## M4sh Initialization. ## 7991 9160 ## --------------------- ## 7992 9161 7993 # Be Bourne compatible 9162 # Be more Bourne compatible 9163 DUALCASE=1; export DUALCASE # for MKS sh 7994 9164 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 7995 9165 emulate sh 7996 9166 NULLCMD=: 7997 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which9167 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 7998 9168 # is contrary to our usage. Disable this feature. 7999 9169 alias -g '${1+"$@"}'='"$@"' 8000 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 8001 set -o posix 8002 fi 8003 DUALCASE=1; export DUALCASE # for MKS sh 8004 8005 # Support unset when possible. 8006 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8007 as_unset=unset 8008 else 8009 as_unset=false 8010 fi 8011 8012 8013 # Work around bugs in pre-3.0 UWIN ksh. 8014 $as_unset ENV MAIL MAILPATH 8015 PS1='$ ' 8016 PS2='> ' 8017 PS4='+ ' 8018 8019 # NLS nuisances. 8020 for as_var in \ 8021 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 8022 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 8023 LC_TELEPHONE LC_TIME 8024 do 8025 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 8026 eval $as_var=C; export $as_var 8027 else 8028 $as_unset $as_var 8029 fi 8030 done 8031 8032 # Required to use basename. 8033 if expr a : '\(a\)' >/dev/null 2>&1; then 8034 as_expr=expr 8035 else 8036 as_expr=false 8037 fi 8038 8039 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 8040 as_basename=basename 8041 else 8042 as_basename=false 8043 fi 8044 8045 8046 # Name of the executable. 8047 as_me=`$as_basename "$0" || 8048 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8049 X"$0" : 'X\(//\)$' \| \ 8050 X"$0" : 'X\(/\)$' \| \ 8051 . : '\(.\)' 2>/dev/null || 8052 echo X/"$0" | 8053 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 8054 /^X\/\(\/\/\)$/{ s//\1/; q; } 8055 /^X\/\(\/\).*/{ s//\1/; q; } 8056 s/.*/./; q'` 8057 8058 8059 # PATH needs CR, and LINENO needs CR and PATH. 9170 setopt NO_GLOB_SUBST 9171 else 9172 case `(set -o) 2>/dev/null` in 9173 *posix*) set -o posix ;; 9174 esac 9175 9176 fi 9177 9178 9179 9180 9181 # PATH needs CR 8060 9182 # Avoid depending upon Character Ranges. 8061 9183 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 8065 9187 as_cr_alnum=$as_cr_Letters$as_cr_digits 8066 9188 9189 as_nl=' 9190 ' 9191 export as_nl 9192 # Printing a long string crashes Solaris 7 /usr/bin/printf. 9193 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 9194 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9195 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9196 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9197 as_echo='printf %s\n' 9198 as_echo_n='printf %s' 9199 else 9200 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 9201 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 9202 as_echo_n='/usr/ucb/echo -n' 9203 else 9204 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 9205 as_echo_n_body='eval 9206 arg=$1; 9207 case $arg in 9208 *"$as_nl"*) 9209 expr "X$arg" : "X\\(.*\\)$as_nl"; 9210 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 9211 esac; 9212 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 9213 ' 9214 export as_echo_n_body 9215 as_echo_n='sh -c $as_echo_n_body as_echo' 9216 fi 9217 export as_echo_body 9218 as_echo='sh -c $as_echo_body as_echo' 9219 fi 9220 8067 9221 # The user is always right. 8068 9222 if test "${PATH_SEPARATOR+set}" != set; then 8069 echo "#! /bin/sh" >conf$$.sh 8070 echo "exit 0" >>conf$$.sh 8071 chmod +x conf$$.sh 8072 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 8073 PATH_SEPARATOR=';' 8074 else 8075 PATH_SEPARATOR=: 8076 fi 8077 rm -f conf$$.sh 8078 fi 8079 8080 8081 as_lineno_1=$LINENO 8082 as_lineno_2=$LINENO 8083 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8084 test "x$as_lineno_1" != "x$as_lineno_2" && 8085 test "x$as_lineno_3" = "x$as_lineno_2" || { 8086 # Find who we are. Look in the path if we contain no path at all 8087 # relative or not. 8088 case $0 in 8089 *[\\/]* ) as_myself=$0 ;; 8090 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9223 PATH_SEPARATOR=: 9224 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 9225 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 9226 PATH_SEPARATOR=';' 9227 } 9228 fi 9229 9230 # Support unset when possible. 9231 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 9232 as_unset=unset 9233 else 9234 as_unset=false 9235 fi 9236 9237 9238 # IFS 9239 # We need space, tab and new line, in precisely that order. Quoting is 9240 # there to prevent editors from complaining about space-tab. 9241 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 9242 # splitting by setting IFS to empty value.) 9243 IFS=" "" $as_nl" 9244 9245 # Find who we are. Look in the path if we contain no directory separator. 9246 case $0 in 9247 *[\\/]* ) as_myself=$0 ;; 9248 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8091 9249 for as_dir in $PATH 8092 9250 do … … 8095 9253 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8096 9254 done 8097 8098 ;; 8099 esac 8100 # We did not find ourselves, most probably we were run as `sh COMMAND' 8101 # in which case we are not to be found in the path. 8102 if test "x$as_myself" = x; then 8103 as_myself=$0 8104 fi 8105 if test ! -f "$as_myself"; then 8106 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 8107 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 8108 { (exit 1); exit 1; }; } 8109 fi 8110 case $CONFIG_SHELL in 8111 '') 8112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8113 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 8114 do 8115 IFS=$as_save_IFS 8116 test -z "$as_dir" && as_dir=. 8117 for as_base in sh bash ksh sh5; do 8118 case $as_dir in 8119 /*) 8120 if ("$as_dir/$as_base" -c ' 9255 IFS=$as_save_IFS 9256 9257 ;; 9258 esac 9259 # We did not find ourselves, most probably we were run as `sh COMMAND' 9260 # in which case we are not to be found in the path. 9261 if test "x$as_myself" = x; then 9262 as_myself=$0 9263 fi 9264 if test ! -f "$as_myself"; then 9265 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9266 { (exit 1); exit 1; } 9267 fi 9268 9269 # Work around bugs in pre-3.0 UWIN ksh. 9270 for as_var in ENV MAIL MAILPATH 9271 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9272 done 9273 PS1='$ ' 9274 PS2='> ' 9275 PS4='+ ' 9276 9277 # NLS nuisances. 9278 LC_ALL=C 9279 export LC_ALL 9280 LANGUAGE=C 9281 export LANGUAGE 9282 9283 # Required to use basename. 9284 if expr a : '\(a\)' >/dev/null 2>&1 && 9285 test "X`expr 00001 : '.*\(...\)'`" = X001; then 9286 as_expr=expr 9287 else 9288 as_expr=false 9289 fi 9290 9291 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 9292 as_basename=basename 9293 else 9294 as_basename=false 9295 fi 9296 9297 9298 # Name of the executable. 9299 as_me=`$as_basename -- "$0" || 9300 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 9301 X"$0" : 'X\(//\)$' \| \ 9302 X"$0" : 'X\(/\)' \| . 2>/dev/null || 9303 $as_echo X/"$0" | 9304 sed '/^.*\/\([^/][^/]*\)\/*$/{ 9305 s//\1/ 9306 q 9307 } 9308 /^X\/\(\/\/\)$/{ 9309 s//\1/ 9310 q 9311 } 9312 /^X\/\(\/\).*/{ 9313 s//\1/ 9314 q 9315 } 9316 s/.*/./; q'` 9317 9318 # CDPATH. 9319 $as_unset CDPATH 9320 9321 9322 8121 9323 as_lineno_1=$LINENO 8122 9324 as_lineno_2=$LINENO 8123 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`8124 9325 test "x$as_lineno_1" != "x$as_lineno_2" && 8125 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 8126 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 8127 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 8128 CONFIG_SHELL=$as_dir/$as_base 8129 export CONFIG_SHELL 8130 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 8131 fi;; 8132 esac 8133 done 8134 done 8135 ;; 8136 esac 9326 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 8137 9327 8138 9328 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 8139 9329 # uniformly replaced by the line number. The first 'sed' inserts a 8140 # line-number line before each line; the second 'sed' does the real 8141 # work. The second script uses 'N' to pair each line-number line 8142 # with the numbered line, and appends trailing '-' during 8143 # substitution so that $LINENO is not a special case at line end. 9330 # line-number line after each line using $LINENO; the second 'sed' 9331 # does the real work. The second script uses 'N' to pair each 9332 # line-number line with the line containing $LINENO, and appends 9333 # trailing '-' during substitution so that $LINENO is not a special 9334 # case at line end. 8144 9335 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 8145 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 8146 sed '=' <$as_myself | 9336 # scripts with optimization help from Paolo Bonzini. Blame Lee 9337 # E. McMahon (1931-1989) for sed's syntax. :-) 9338 sed -n ' 9339 p 9340 /[$]LINENO/= 9341 ' <$as_myself | 8147 9342 sed ' 9343 s/[$]LINENO.*/&-/ 9344 t lineno 9345 b 9346 :lineno 8148 9347 N 8149 s,$,-, 8150 : loop 8151 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 9348 :loop 9349 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 8152 9350 t loop 8153 s,-$,, 8154 s,^['$as_cr_digits']*\n,, 9351 s/-\n.*// 8155 9352 ' >$as_me.lineno && 8156 chmod +x $as_me.lineno || 8157 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 8158 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 9353 chmod +x "$as_me.lineno" || 9354 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 8159 9355 { (exit 1); exit 1; }; } 8160 9356 8161 9357 # Don't try to exec as it changes $[0], causing all sort of problems 8162 9358 # (the dirname of $[0] is not the place where we might find the 8163 # original and so on. Autoconf is especially sensi ble to this).8164 . ./$as_me.lineno9359 # original and so on. Autoconf is especially sensitive to this). 9360 . "./$as_me.lineno" 8165 9361 # Exit status is that of the last command. 8166 9362 exit … … 8168 9364 8169 9365 8170 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 8171 *c*,-n*) ECHO_N= ECHO_C=' 8172 ' ECHO_T=' ' ;; 8173 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 8174 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 8175 esac 8176 8177 if expr a : '\(a\)' >/dev/null 2>&1; then 9366 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9367 as_dirname=dirname 9368 else 9369 as_dirname=false 9370 fi 9371 9372 ECHO_C= ECHO_N= ECHO_T= 9373 case `echo -n x` in 9374 -n*) 9375 case `echo 'x\c'` in 9376 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 9377 *) ECHO_C='\c';; 9378 esac;; 9379 *) 9380 ECHO_N='-n';; 9381 esac 9382 if expr a : '\(a\)' >/dev/null 2>&1 && 9383 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8178 9384 as_expr=expr 8179 9385 else … … 8182 9388 8183 9389 rm -f conf$$ conf$$.exe conf$$.file 8184 echo >conf$$.file 8185 if ln -s conf$$.file conf$$ 2>/dev/null; then 8186 # We could just check for DJGPP; but this test a) works b) is more generic 8187 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 8188 if test -f conf$$.exe; then 8189 # Don't use ln at all; we don't have any links 9390 if test -d conf$$.dir; then 9391 rm -f conf$$.dir/conf$$.file 9392 else 9393 rm -f conf$$.dir 9394 mkdir conf$$.dir 2>/dev/null 9395 fi 9396 if (echo >conf$$.file) 2>/dev/null; then 9397 if ln -s conf$$.file conf$$ 2>/dev/null; then 9398 as_ln_s='ln -s' 9399 # ... but there are two gotchas: 9400 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 9401 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 9402 # In both cases, we have to default to `cp -p'. 9403 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9404 as_ln_s='cp -p' 9405 elif ln conf$$.file conf$$ 2>/dev/null; then 9406 as_ln_s=ln 9407 else 8190 9408 as_ln_s='cp -p' 8191 else8192 as_ln_s='ln -s'8193 9409 fi 8194 elif ln conf$$.file conf$$ 2>/dev/null; then8195 as_ln_s=ln8196 9410 else 8197 9411 as_ln_s='cp -p' 8198 9412 fi 8199 rm -f conf$$ conf$$.exe conf$$.file 9413 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 9414 rmdir conf$$.dir 2>/dev/null 8200 9415 8201 9416 if mkdir -p . 2>/dev/null; then … … 8206 9421 fi 8207 9422 8208 as_executable_p="test -f" 9423 if test -x / >/dev/null 2>&1; then 9424 as_test_x='test -x' 9425 else 9426 if ls -dL / >/dev/null 2>&1; then 9427 as_ls_L_option=L 9428 else 9429 as_ls_L_option= 9430 fi 9431 as_test_x=' 9432 eval sh -c '\'' 9433 if test -d "$1"; then 9434 test -d "$1/."; 9435 else 9436 case $1 in 9437 -*)set "./$1";; 9438 esac; 9439 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 9440 ???[sx]*):;;*)false;;esac;fi 9441 '\'' sh 9442 ' 9443 fi 9444 as_executable_p=$as_test_x 8209 9445 8210 9446 # Sed expression to map a string onto a valid CPP name. … … 8215 9451 8216 9452 8217 # IFS8218 # We need space, tab and new line, in precisely that order.8219 as_nl='8220 '8221 IFS=" $as_nl"8222 8223 # CDPATH.8224 $as_unset CDPATH8225 8226 9453 exec 6>&1 8227 9454 8228 # Open the log real soon, to keep \$[0] and so on meaningful, and to9455 # Save the log message, to keep $[0] and so on meaningful, and to 8229 9456 # report actual input values of CONFIG_FILES etc. instead of their 8230 # values after options handling. Logging --version etc. is OK. 9457 # values after options handling. 9458 ac_log=" 9459 This file was extended by $as_me, which was 9460 generated by GNU Autoconf 2.63. Invocation command line was 9461 9462 CONFIG_FILES = $CONFIG_FILES 9463 CONFIG_HEADERS = $CONFIG_HEADERS 9464 CONFIG_LINKS = $CONFIG_LINKS 9465 CONFIG_COMMANDS = $CONFIG_COMMANDS 9466 $ $0 $@ 9467 9468 on `(hostname || uname -n) 2>/dev/null | sed 1q` 9469 " 9470 9471 _ACEOF 9472 9473 case $ac_config_files in *" 9474 "*) set x $ac_config_files; shift; ac_config_files=$*;; 9475 esac 9476 9477 case $ac_config_headers in *" 9478 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 9479 esac 9480 9481 9482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9483 # Files that config.status was made for. 9484 config_files="$ac_config_files" 9485 config_headers="$ac_config_headers" 9486 9487 _ACEOF 9488 9489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9490 ac_cs_usage="\ 9491 \`$as_me' instantiates files from templates according to the 9492 current configuration. 9493 9494 Usage: $0 [OPTION]... [FILE]... 9495 9496 -h, --help print this help, then exit 9497 -V, --version print version number and configuration settings, then exit 9498 -q, --quiet, --silent 9499 do not print progress messages 9500 -d, --debug don't remove temporary files 9501 --recheck update $as_me by reconfiguring in the same conditions 9502 --file=FILE[:TEMPLATE] 9503 instantiate the configuration file FILE 9504 --header=FILE[:TEMPLATE] 9505 instantiate the configuration header FILE 9506 9507 Configuration files: 9508 $config_files 9509 9510 Configuration headers: 9511 $config_headers 9512 9513 Report bugs to <[email protected]>." 9514 9515 _ACEOF 9516 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9517 ac_cs_version="\\ 9518 config.status 9519 configured by $0, generated by GNU Autoconf 2.63, 9520 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 9521 9522 Copyright (C) 2008 Free Software Foundation, Inc. 9523 This config.status script is free software; the Free Software Foundation 9524 gives unlimited permission to copy, distribute and modify it." 9525 9526 ac_pwd='$ac_pwd' 9527 srcdir='$srcdir' 9528 INSTALL='$INSTALL' 9529 AWK='$AWK' 9530 test -n "\$AWK" || AWK=awk 9531 _ACEOF 9532 9533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9534 # The default lists apply if the user does not specify any file. 9535 ac_need_defaults=: 9536 while test $# != 0 9537 do 9538 case $1 in 9539 --*=*) 9540 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9541 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9542 ac_shift=: 9543 ;; 9544 *) 9545 ac_option=$1 9546 ac_optarg=$2 9547 ac_shift=shift 9548 ;; 9549 esac 9550 9551 case $ac_option in 9552 # Handling of the options. 9553 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 9554 ac_cs_recheck=: ;; 9555 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9556 $as_echo "$ac_cs_version"; exit ;; 9557 --debug | --debu | --deb | --de | --d | -d ) 9558 debug=: ;; 9559 --file | --fil | --fi | --f ) 9560 $ac_shift 9561 case $ac_optarg in 9562 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9563 esac 9564 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 9565 ac_need_defaults=false;; 9566 --header | --heade | --head | --hea ) 9567 $ac_shift 9568 case $ac_optarg in 9569 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9570 esac 9571 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 9572 ac_need_defaults=false;; 9573 --he | --h) 9574 # Conflict between --help and --header 9575 { $as_echo "$as_me: error: ambiguous option: $1 9576 Try \`$0 --help' for more information." >&2 9577 { (exit 1); exit 1; }; };; 9578 --help | --hel | -h ) 9579 $as_echo "$ac_cs_usage"; exit ;; 9580 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9581 | -silent | --silent | --silen | --sile | --sil | --si | --s) 9582 ac_cs_silent=: ;; 9583 9584 # This is an error. 9585 -*) { $as_echo "$as_me: error: unrecognized option: $1 9586 Try \`$0 --help' for more information." >&2 9587 { (exit 1); exit 1; }; } ;; 9588 9589 *) ac_config_targets="$ac_config_targets $1" 9590 ac_need_defaults=false ;; 9591 9592 esac 9593 shift 9594 done 9595 9596 ac_configure_extra_args= 9597 9598 if $ac_cs_silent; then 9599 exec 6>/dev/null 9600 ac_configure_extra_args="$ac_configure_extra_args --silent" 9601 fi 9602 9603 _ACEOF 9604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9605 if \$ac_cs_recheck; then 9606 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9607 shift 9608 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 9609 CONFIG_SHELL='$SHELL' 9610 export CONFIG_SHELL 9611 exec "\$@" 9612 fi 9613 9614 _ACEOF 9615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8231 9616 exec 5>>config.log 8232 9617 { … … 8235 9620 ## Running $as_me. ## 8236 9621 _ASBOX 9622 $as_echo "$ac_log" 8237 9623 } >&5 8238 cat >&5 <<_CSEOF 8239 8240 This file was extended by $as_me, which was 8241 generated by GNU Autoconf 2.59. Invocation command line was 8242 8243 CONFIG_FILES = $CONFIG_FILES 8244 CONFIG_HEADERS = $CONFIG_HEADERS 8245 CONFIG_LINKS = $CONFIG_LINKS 8246 CONFIG_COMMANDS = $CONFIG_COMMANDS 8247 $ $0 $@ 8248 8249 _CSEOF 8250 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 8251 echo >&5 8252 _ACEOF 8253 8254 # Files that config.status was made for. 8255 if test -n "$ac_config_files"; then 8256 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 8257 fi 8258 8259 if test -n "$ac_config_headers"; then 8260 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 8261 fi 8262 8263 if test -n "$ac_config_links"; then 8264 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 8265 fi 8266 8267 if test -n "$ac_config_commands"; then 8268 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 8269 fi 8270 8271 cat >>$CONFIG_STATUS <<\_ACEOF 8272 8273 ac_cs_usage="\ 8274 \`$as_me' instantiates files from templates according to the 8275 current configuration. 8276 8277 Usage: $0 [OPTIONS] [FILE]... 8278 8279 -h, --help print this help, then exit 8280 -V, --version print version number, then exit 8281 -q, --quiet do not print progress messages 8282 -d, --debug don't remove temporary files 8283 --recheck update $as_me by reconfiguring in the same conditions 8284 --file=FILE[:TEMPLATE] 8285 instantiate the configuration file FILE 8286 --header=FILE[:TEMPLATE] 8287 instantiate the configuration header FILE 8288 8289 Configuration files: 8290 $config_files 8291 8292 Configuration headers: 8293 $config_headers 8294 8295 Report bugs to <[email protected]>." 8296 _ACEOF 8297 8298 cat >>$CONFIG_STATUS <<_ACEOF 8299 ac_cs_version="\\ 8300 config.status 8301 configured by $0, generated by GNU Autoconf 2.59, 8302 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 8303 8304 Copyright (C) 2003 Free Software Foundation, Inc. 8305 This config.status script is free software; the Free Software Foundation 8306 gives unlimited permission to copy, distribute and modify it." 8307 srcdir=$srcdir 8308 INSTALL="$INSTALL" 8309 _ACEOF 8310 8311 cat >>$CONFIG_STATUS <<\_ACEOF 8312 # If no file are specified by the user, then we need to provide default 8313 # value. By we need to know if files were specified by the user. 8314 ac_need_defaults=: 8315 while test $# != 0 8316 do 8317 case $1 in 8318 --*=*) 8319 ac_option=`expr "x$1" : 'x\([^=]*\)='` 8320 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 8321 ac_shift=: 8322 ;; 8323 -*) 8324 ac_option=$1 8325 ac_optarg=$2 8326 ac_shift=shift 8327 ;; 8328 *) # This is not an option, so the user has probably given explicit 8329 # arguments. 8330 ac_option=$1 8331 ac_need_defaults=false;; 8332 esac 8333 8334 case $ac_option in 8335 # Handling of the options. 8336 _ACEOF 8337 cat >>$CONFIG_STATUS <<\_ACEOF 8338 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8339 ac_cs_recheck=: ;; 8340 --version | --vers* | -V ) 8341 echo "$ac_cs_version"; exit 0 ;; 8342 --he | --h) 8343 # Conflict between --help and --header 8344 { { echo "$as_me:$LINENO: error: ambiguous option: $1 8345 Try \`$0 --help' for more information." >&5 8346 echo "$as_me: error: ambiguous option: $1 8347 Try \`$0 --help' for more information." >&2;} 8348 { (exit 1); exit 1; }; };; 8349 --help | --hel | -h ) 8350 echo "$ac_cs_usage"; exit 0 ;; 8351 --debug | --d* | -d ) 8352 debug=: ;; 8353 --file | --fil | --fi | --f ) 8354 $ac_shift 8355 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 8356 ac_need_defaults=false;; 8357 --header | --heade | --head | --hea ) 8358 $ac_shift 8359 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 8360 ac_need_defaults=false;; 8361 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8362 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8363 ac_cs_silent=: ;; 8364 8365 # This is an error. 8366 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 8367 Try \`$0 --help' for more information." >&5 8368 echo "$as_me: error: unrecognized option: $1 8369 Try \`$0 --help' for more information." >&2;} 8370 { (exit 1); exit 1; }; } ;; 8371 8372 *) ac_config_targets="$ac_config_targets $1" ;; 8373 8374 esac 8375 shift 8376 done 8377 8378 ac_configure_extra_args= 8379 8380 if $ac_cs_silent; then 8381 exec 6>/dev/null 8382 ac_configure_extra_args="$ac_configure_extra_args --silent" 8383 fi 8384 8385 _ACEOF 8386 cat >>$CONFIG_STATUS <<_ACEOF 8387 if \$ac_cs_recheck; then 8388 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8389 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8390 fi 8391 8392 _ACEOF 8393 8394 8395 8396 8397 8398 cat >>$CONFIG_STATUS <<\_ACEOF 9624 9625 _ACEOF 9626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9627 _ACEOF 9628 9629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9630 9631 # Handling of arguments. 8399 9632 for ac_config_target in $ac_config_targets 8400 9633 do 8401 case "$ac_config_target"in8402 # Handling of arguments.8403 "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;8404 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;8405 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;8406 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;8407 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 8408 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&58409 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}9634 case $ac_config_target in 9635 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 9636 "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;; 9637 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 9638 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;; 9639 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 9640 9641 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 9642 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 8410 9643 { (exit 1); exit 1; }; };; 8411 9644 esac 8412 9645 done 9646 8413 9647 8414 9648 # If the user did not use the arguments to specify the items to instantiate, … … 8422 9656 8423 9657 # Have a temporary directory for convenience. Make it in the build tree 8424 # simply because there is no reason to putit here, and in addition,9658 # simply because there is no reason against having it here, and in addition, 8425 9659 # creating and moving files from /tmp can sometimes cause problems. 8426 # Create a temporary directory, and hook for its removal unless debugging. 9660 # Hook for its removal unless debugging. 9661 # Note that there is a small window in which the directory will not be cleaned: 9662 # after its creation but before its name has been assigned to `$tmp'. 8427 9663 $debug || 8428 9664 { 8429 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 9665 tmp= 9666 trap 'exit_status=$? 9667 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9668 ' 0 8430 9669 trap '{ (exit 1); exit 1; }' 1 2 13 15 8431 9670 } 8432 8433 9671 # Create a (secure) tmp directory for tmp files. 8434 9672 8435 9673 { 8436 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&9674 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8437 9675 test -n "$tmp" && test -d "$tmp" 8438 9676 } || 8439 9677 { 8440 tmp=./conf stat$$-$RANDOM8441 (umask 077 && mkdir $tmp)9678 tmp=./conf$$-$RANDOM 9679 (umask 077 && mkdir "$tmp") 8442 9680 } || 8443 9681 { 8444 echo "$me: cannot create a temporary directory in ." >&29682 $as_echo "$as_me: cannot create a temporary directory in ." >&2 8445 9683 { (exit 1); exit 1; } 8446 9684 } 8447 9685 8448 _ACEOF 8449 8450 cat >>$CONFIG_STATUS <<_ACEOF 8451 8452 # 8453 # CONFIG_FILES section. 8454 # 8455 8456 # No need to generate the scripts if there are no CONFIG_FILES. 8457 # This happens for instance when ./config.status config.h 8458 if test -n "\$CONFIG_FILES"; then 8459 # Protect against being on the right side of a sed subst in config.status. 8460 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 8461 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 8462 s,@SHELL@,$SHELL,;t t 8463 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 8464 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 8465 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 8466 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 8467 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 8468 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 8469 s,@exec_prefix@,$exec_prefix,;t t 8470 s,@prefix@,$prefix,;t t 8471 s,@program_transform_name@,$program_transform_name,;t t 8472 s,@bindir@,$bindir,;t t 8473 s,@sbindir@,$sbindir,;t t 8474 s,@libexecdir@,$libexecdir,;t t 8475 s,@datadir@,$datadir,;t t 8476 s,@sysconfdir@,$sysconfdir,;t t 8477 s,@sharedstatedir@,$sharedstatedir,;t t 8478 s,@localstatedir@,$localstatedir,;t t 8479 s,@libdir@,$libdir,;t t 8480 s,@includedir@,$includedir,;t t 8481 s,@oldincludedir@,$oldincludedir,;t t 8482 s,@infodir@,$infodir,;t t 8483 s,@mandir@,$mandir,;t t 8484 s,@build_alias@,$build_alias,;t t 8485 s,@host_alias@,$host_alias,;t t 8486 s,@target_alias@,$target_alias,;t t 8487 s,@DEFS@,$DEFS,;t t 8488 s,@ECHO_C@,$ECHO_C,;t t 8489 s,@ECHO_N@,$ECHO_N,;t t 8490 s,@ECHO_T@,$ECHO_T,;t t 8491 s,@LIBS@,$LIBS,;t t 8492 s,@PACKAGE@,$PACKAGE,;t t 8493 s,@VERSION@,$VERSION,;t t 8494 s,@USE_FASTCGI@,$USE_FASTCGI,;t t 8495 s,@USE_LANGACTION@,$USE_LANGACTION,;t t 8496 s,@USE_CORBA@,$USE_CORBA,;t t 8497 s,@MICO_DIR@,$MICO_DIR,;t t 8498 s,@USE_Z3950@,$USE_Z3950,;t t 8499 s,@USE_YAZ@,$USE_YAZ,;t t 8500 s,@ENABLE_JAVA@,$ENABLE_JAVA,;t t 8501 s,@USE_JDBM@,$USE_JDBM,;t t 8502 s,@USE_GDBM@,$USE_GDBM,;t t 8503 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 8504 s,@USE_SQLITE@,$USE_SQLITE,;t t 8505 s,@ENABLE_JNI@,$ENABLE_JNI,;t t 8506 s,@ENABLE_MG@,$ENABLE_MG,;t t 8507 s,@ENABLE_MGPP@,$ENABLE_MGPP,;t t 8508 s,@ENABLE_LUCENE@,$ENABLE_LUCENE,;t t 8509 s,@LDFLAGS@,$LDFLAGS,;t t 8510 s,@CFLAGS@,$CFLAGS,;t t 8511 s,@CC@,$CC,;t t 8512 s,@CPPFLAGS@,$CPPFLAGS,;t t 8513 s,@ac_ct_CC@,$ac_ct_CC,;t t 8514 s,@EXEEXT@,$EXEEXT,;t t 8515 s,@OBJEXT@,$OBJEXT,;t t 8516 s,@CXX@,$CXX,;t t 8517 s,@CXXFLAGS@,$CXXFLAGS,;t t 8518 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 8519 s,@JAVA@,$JAVA,;t t 8520 s,@uudecode@,$uudecode,;t t 8521 s,@JAVAC@,$JAVAC,;t t 8522 s,@JAVACFLAGS@,$JAVACFLAGS,;t t 8523 s,@AWK@,$AWK,;t t 8524 s,@YACC@,$YACC,;t t 8525 s,@build@,$build,;t t 8526 s,@build_cpu@,$build_cpu,;t t 8527 s,@build_vendor@,$build_vendor,;t t 8528 s,@build_os@,$build_os,;t t 8529 s,@host@,$host,;t t 8530 s,@host_cpu@,$host_cpu,;t t 8531 s,@host_vendor@,$host_vendor,;t t 8532 s,@host_os@,$host_os,;t t 8533 s,@target@,$target,;t t 8534 s,@target_cpu@,$target_cpu,;t t 8535 s,@target_vendor@,$target_vendor,;t t 8536 s,@target_os@,$target_os,;t t 8537 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 8538 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 8539 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 8540 s,@LN_S@,$LN_S,;t t 8541 s,@SET_MAKE@,$SET_MAKE,;t t 8542 s,@RANLIB@,$RANLIB,;t t 8543 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 8544 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 8545 s,@MICO_VER@,$MICO_VER,;t t 8546 s,@CPP@,$CPP,;t t 8547 s,@EGREP@,$EGREP,;t t 8548 s,@U@,$U,;t t 8549 s,@ANSI2KNR@,$ANSI2KNR,;t t 8550 s,@ALLOCA@,$ALLOCA,;t t 8551 s,@LIBOBJS@,$LIBOBJS,;t t 8552 s,@STATIC@,$STATIC,;t t 8553 s,@gsdlos@,$gsdlos,;t t 8554 s,@gsdlarch@,$gsdlarch,;t t 8555 s,@MODULEDIRS@,$MODULEDIRS,;t t 8556 s,@subdirs@,$subdirs,;t t 8557 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 8558 CEOF 8559 8560 _ACEOF 8561 8562 cat >>$CONFIG_STATUS <<\_ACEOF 8563 # Split the substitutions into bite-sized pieces for seds with 8564 # small command number limits, like on Digital OSF/1 and HP-UX. 8565 ac_max_sed_lines=48 8566 ac_sed_frag=1 # Number of current file. 8567 ac_beg=1 # First line for current file. 8568 ac_end=$ac_max_sed_lines # Line after last line for current file. 8569 ac_more_lines=: 8570 ac_sed_cmds= 8571 while $ac_more_lines; do 8572 if test $ac_beg -gt 1; then 8573 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8574 else 8575 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 9686 # Set up the scripts for CONFIG_FILES section. 9687 # No need to generate them if there are no CONFIG_FILES. 9688 # This happens for instance with `./config.status config.h'. 9689 if test -n "$CONFIG_FILES"; then 9690 9691 9692 ac_cr=' 9693 ' 9694 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 9695 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 9696 ac_cs_awk_cr='\\r' 9697 else 9698 ac_cs_awk_cr=$ac_cr 9699 fi 9700 9701 echo 'BEGIN {' >"$tmp/subs1.awk" && 9702 _ACEOF 9703 9704 9705 { 9706 echo "cat >conf$$subs.awk <<_ACEOF" && 9707 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 9708 echo "_ACEOF" 9709 } >conf$$subs.sh || 9710 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9711 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9712 { (exit 1); exit 1; }; } 9713 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 9714 ac_delim='%!_!# ' 9715 for ac_last_try in false false false false false :; do 9716 . ./conf$$subs.sh || 9717 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9718 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9719 { (exit 1); exit 1; }; } 9720 9721 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 9722 if test $ac_delim_n = $ac_delim_num; then 9723 break 9724 elif $ac_last_try; then 9725 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9726 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9727 { (exit 1); exit 1; }; } 9728 else 9729 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9730 fi 9731 done 9732 rm -f conf$$subs.sh 9733 9734 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9735 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 9736 _ACEOF 9737 sed -n ' 9738 h 9739 s/^/S["/; s/!.*/"]=/ 9740 p 9741 g 9742 s/^[^!]*!// 9743 :repl 9744 t repl 9745 s/'"$ac_delim"'$// 9746 t delim 9747 :nl 9748 h 9749 s/\(.\{148\}\).*/\1/ 9750 t more1 9751 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 9752 p 9753 n 9754 b repl 9755 :more1 9756 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9757 p 9758 g 9759 s/.\{148\}// 9760 t nl 9761 :delim 9762 h 9763 s/\(.\{148\}\).*/\1/ 9764 t more2 9765 s/["\\]/\\&/g; s/^/"/; s/$/"/ 9766 p 9767 b 9768 :more2 9769 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9770 p 9771 g 9772 s/.\{148\}// 9773 t delim 9774 ' <conf$$subs.awk | sed ' 9775 /^[^""]/{ 9776 N 9777 s/\n// 9778 } 9779 ' >>$CONFIG_STATUS || ac_write_fail=1 9780 rm -f conf$$subs.awk 9781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9782 _ACAWK 9783 cat >>"\$tmp/subs1.awk" <<_ACAWK && 9784 for (key in S) S_is_set[key] = 1 9785 FS = "" 9786 9787 } 9788 { 9789 line = $ 0 9790 nfields = split(line, field, "@") 9791 substed = 0 9792 len = length(field[1]) 9793 for (i = 2; i < nfields; i++) { 9794 key = field[i] 9795 keylen = length(key) 9796 if (S_is_set[key]) { 9797 value = S[key] 9798 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 9799 len += length(value) + length(field[++i]) 9800 substed = 1 9801 } else 9802 len += 1 + keylen 9803 } 9804 9805 print line 9806 } 9807 9808 _ACAWK 9809 _ACEOF 9810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9811 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9812 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 9813 else 9814 cat 9815 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 9816 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 9817 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 9818 { (exit 1); exit 1; }; } 9819 _ACEOF 9820 9821 # VPATH may cause trouble with some makes, so we remove $(srcdir), 9822 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9823 # trailing colons and then remove the whole line if VPATH becomes empty 9824 # (actually we leave an empty line to preserve line numbers). 9825 if test "x$srcdir" = x.; then 9826 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 9827 s/:*\$(srcdir):*/:/ 9828 s/:*\${srcdir}:*/:/ 9829 s/:*@srcdir@:*/:/ 9830 s/^\([^=]*=[ ]*\):*/\1/ 9831 s/:*$// 9832 s/^[^=]*=[ ]*$// 9833 }' 9834 fi 9835 9836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9837 fi # test -n "$CONFIG_FILES" 9838 9839 # Set up the scripts for CONFIG_HEADERS section. 9840 # No need to generate them if there are no CONFIG_HEADERS. 9841 # This happens for instance with `./config.status Makefile'. 9842 if test -n "$CONFIG_HEADERS"; then 9843 cat >"$tmp/defines.awk" <<\_ACAWK || 9844 BEGIN { 9845 _ACEOF 9846 9847 # Transform confdefs.h into an awk script `defines.awk', embedded as 9848 # here-document in config.status, that substitutes the proper values into 9849 # config.h.in to produce config.h. 9850 9851 # Create a delimiter string that does not exist in confdefs.h, to ease 9852 # handling of long lines. 9853 ac_delim='%!_!# ' 9854 for ac_last_try in false false :; do 9855 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 9856 if test -z "$ac_t"; then 9857 break 9858 elif $ac_last_try; then 9859 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 9860 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 9861 { (exit 1); exit 1; }; } 9862 else 9863 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9864 fi 9865 done 9866 9867 # For the awk script, D is an array of macro values keyed by name, 9868 # likewise P contains macro parameters if any. Preserve backslash 9869 # newline sequences. 9870 9871 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 9872 sed -n ' 9873 s/.\{148\}/&'"$ac_delim"'/g 9874 t rset 9875 :rset 9876 s/^[ ]*#[ ]*define[ ][ ]*/ / 9877 t def 9878 d 9879 :def 9880 s/\\$// 9881 t bsnl 9882 s/["\\]/\\&/g 9883 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9884 D["\1"]=" \3"/p 9885 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 9886 d 9887 :bsnl 9888 s/["\\]/\\&/g 9889 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9890 D["\1"]=" \3\\\\\\n"\\/p 9891 t cont 9892 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 9893 t cont 9894 d 9895 :cont 9896 n 9897 s/.\{148\}/&'"$ac_delim"'/g 9898 t clear 9899 :clear 9900 s/\\$// 9901 t bsnlc 9902 s/["\\]/\\&/g; s/^/"/; s/$/"/p 9903 d 9904 :bsnlc 9905 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 9906 b cont 9907 ' <confdefs.h | sed ' 9908 s/'"$ac_delim"'/"\\\ 9909 "/g' >>$CONFIG_STATUS || ac_write_fail=1 9910 9911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9912 for (key in D) D_is_set[key] = 1 9913 FS = "" 9914 } 9915 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 9916 line = \$ 0 9917 split(line, arg, " ") 9918 if (arg[1] == "#") { 9919 defundef = arg[2] 9920 mac1 = arg[3] 9921 } else { 9922 defundef = substr(arg[1], 2) 9923 mac1 = arg[2] 9924 } 9925 split(mac1, mac2, "(") #) 9926 macro = mac2[1] 9927 prefix = substr(line, 1, index(line, defundef) - 1) 9928 if (D_is_set[macro]) { 9929 # Preserve the white space surrounding the "#". 9930 print prefix "define", macro P[macro] D[macro] 9931 next 9932 } else { 9933 # Replace #undef with comments. This is necessary, for example, 9934 # in the case of _POSIX_SOURCE, which is predefined and required 9935 # on some systems where configure will not decide to define it. 9936 if (defundef == "undef") { 9937 print "/*", prefix defundef, macro, "*/" 9938 next 9939 } 9940 } 9941 } 9942 { print } 9943 _ACAWK 9944 _ACEOF 9945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9946 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 9947 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 9948 { (exit 1); exit 1; }; } 9949 fi # test -n "$CONFIG_HEADERS" 9950 9951 9952 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 9953 shift 9954 for ac_tag 9955 do 9956 case $ac_tag in 9957 :[FHLC]) ac_mode=$ac_tag; continue;; 9958 esac 9959 case $ac_mode$ac_tag in 9960 :[FHL]*:*);; 9961 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 9962 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 9963 { (exit 1); exit 1; }; };; 9964 :[FH]-) ac_tag=-:-;; 9965 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9966 esac 9967 ac_save_IFS=$IFS 9968 IFS=: 9969 set x $ac_tag 9970 IFS=$ac_save_IFS 9971 shift 9972 ac_file=$1 9973 shift 9974 9975 case $ac_mode in 9976 :L) ac_source=$1;; 9977 :[FH]) 9978 ac_file_inputs= 9979 for ac_f 9980 do 9981 case $ac_f in 9982 -) ac_f="$tmp/stdin";; 9983 *) # Look for the file first in the build tree, then in the source tree 9984 # (if the path is not absolute). The absolute path cannot be DOS-style, 9985 # because $ac_f cannot contain `:'. 9986 test -f "$ac_f" || 9987 case $ac_f in 9988 [\\/$]*) false;; 9989 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9990 esac || 9991 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 9992 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 9993 { (exit 1); exit 1; }; };; 9994 esac 9995 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9996 ac_file_inputs="$ac_file_inputs '$ac_f'" 9997 done 9998 9999 # Let's still pretend it is `configure' which instantiates (i.e., don't 10000 # use $as_me), people would be surprised to read: 10001 # /* config.h. Generated by config.status. */ 10002 configure_input='Generated from '` 10003 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 10004 `' by configure.' 10005 if test x"$ac_file" != x-; then 10006 configure_input="$ac_file. $configure_input" 10007 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 10008 $as_echo "$as_me: creating $ac_file" >&6;} 8576 10009 fi 8577 if test ! -s $tmp/subs.frag; then 8578 ac_more_lines=false 8579 else 8580 # The purpose of the label and of the branching condition is to 8581 # speed up the sed processing (if there are no `@' at all, there 8582 # is no need to browse any of the substitutions). 8583 # These are the two extra sed commands mentioned above. 8584 (echo ':t 8585 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 8586 if test -z "$ac_sed_cmds"; then 8587 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 8588 else 8589 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 8590 fi 8591 ac_sed_frag=`expr $ac_sed_frag + 1` 8592 ac_beg=$ac_end 8593 ac_end=`expr $ac_end + $ac_max_sed_lines` 8594 fi 8595 done 8596 if test -z "$ac_sed_cmds"; then 8597 ac_sed_cmds=cat 8598 fi 8599 fi # test -n "$CONFIG_FILES" 8600 8601 _ACEOF 8602 cat >>$CONFIG_STATUS <<\_ACEOF 8603 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 8604 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8605 case $ac_file in 8606 - | *:- | *:-:* ) # input from stdin 8607 cat >$tmp/stdin 8608 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8609 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8610 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8611 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8612 * ) ac_file_in=$ac_file.in ;; 10010 # Neutralize special characters interpreted by sed in replacement strings. 10011 case $configure_input in #( 10012 *\&* | *\|* | *\\* ) 10013 ac_sed_conf_input=`$as_echo "$configure_input" | 10014 sed 's/[\\\\&|]/\\\\&/g'`;; #( 10015 *) ac_sed_conf_input=$configure_input;; 10016 esac 10017 10018 case $ac_tag in 10019 *:-:* | *:-) cat >"$tmp/stdin" \ 10020 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10021 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10022 { (exit 1); exit 1; }; } ;; 10023 esac 10024 ;; 8613 10025 esac 8614 10026 8615 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 8616 ac_dir=`(dirname "$ac_file") 2>/dev/null || 10027 ac_dir=`$as_dirname -- "$ac_file" || 8617 10028 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8618 10029 X"$ac_file" : 'X\(//\)[^/]' \| \ 8619 10030 X"$ac_file" : 'X\(//\)$' \| \ 8620 X"$ac_file" : 'X\(/\)' \| \ 8621 . : '\(.\)' 2>/dev/null || 8622 echo X"$ac_file" | 8623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8624 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8625 /^X\(\/\/\)$/{ s//\1/; q; } 8626 /^X\(\/\).*/{ s//\1/; q; } 8627 s/.*/./; q'` 8628 { if $as_mkdir_p; then 8629 mkdir -p "$ac_dir" 8630 else 8631 as_dir="$ac_dir" 10031 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 10032 $as_echo X"$ac_file" | 10033 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10034 s//\1/ 10035 q 10036 } 10037 /^X\(\/\/\)[^/].*/{ 10038 s//\1/ 10039 q 10040 } 10041 /^X\(\/\/\)$/{ 10042 s//\1/ 10043 q 10044 } 10045 /^X\(\/\).*/{ 10046 s//\1/ 10047 q 10048 } 10049 s/.*/./; q'` 10050 { as_dir="$ac_dir" 10051 case $as_dir in #( 10052 -*) as_dir=./$as_dir;; 10053 esac 10054 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 8632 10055 as_dirs= 8633 while test ! -d "$as_dir"; do 8634 as_dirs="$as_dir $as_dirs" 8635 as_dir=`(dirname "$as_dir") 2>/dev/null || 10056 while :; do 10057 case $as_dir in #( 10058 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10059 *) as_qdir=$as_dir;; 10060 esac 10061 as_dirs="'$as_qdir' $as_dirs" 10062 as_dir=`$as_dirname -- "$as_dir" || 8636 10063 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8637 10064 X"$as_dir" : 'X\(//\)[^/]' \| \ 8638 10065 X"$as_dir" : 'X\(//\)$' \| \ 8639 X"$as_dir" : 'X\(/\)' \| \ 8640 . : '\(.\)' 2>/dev/null || 8641 echo X"$as_dir" | 8642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8643 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8644 /^X\(\/\/\)$/{ s//\1/; q; } 8645 /^X\(\/\).*/{ s//\1/; q; } 8646 s/.*/./; q'` 10066 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10067 $as_echo X"$as_dir" | 10068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10069 s//\1/ 10070 q 10071 } 10072 /^X\(\/\/\)[^/].*/{ 10073 s//\1/ 10074 q 10075 } 10076 /^X\(\/\/\)$/{ 10077 s//\1/ 10078 q 10079 } 10080 /^X\(\/\).*/{ 10081 s//\1/ 10082 q 10083 } 10084 s/.*/./; q'` 10085 test -d "$as_dir" && break 8647 10086 done 8648 test ! -n "$as_dirs" || mkdir $as_dirs8649 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&58650 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}10087 test -z "$as_dirs" || eval "mkdir $as_dirs" 10088 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10089 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 8651 10090 { (exit 1); exit 1; }; }; } 8652 8653 10091 ac_builddir=. 8654 10092 8655 if test "$ac_dir" != .; then 8656 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8657 # A "../" for each directory in $ac_dir_suffix. 8658 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8659 else 8660 ac_dir_suffix= ac_top_builddir= 8661 fi 10093 case "$ac_dir" in 10094 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10095 *) 10096 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 10097 # A ".." for each directory in $ac_dir_suffix. 10098 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 10099 case $ac_top_builddir_sub in 10100 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 10101 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 10102 esac ;; 10103 esac 10104 ac_abs_top_builddir=$ac_pwd 10105 ac_abs_builddir=$ac_pwd$ac_dir_suffix 10106 # for backward compatibility: 10107 ac_top_builddir=$ac_top_build_prefix 8662 10108 8663 10109 case $srcdir in 8664 .) # No --srcdir option.We are building in place.10110 .) # We are building in place. 8665 10111 ac_srcdir=. 8666 if test -z "$ac_top_builddir"; then 8667 ac_top_srcdir=. 8668 else 8669 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8670 fi ;; 8671 [\\/]* | ?:[\\/]* ) # Absolute path. 10112 ac_top_srcdir=$ac_top_builddir_sub 10113 ac_abs_top_srcdir=$ac_pwd ;; 10114 [\\/]* | ?:[\\/]* ) # Absolute name. 8672 10115 ac_srcdir=$srcdir$ac_dir_suffix; 8673 ac_top_srcdir=$srcdir ;; 8674 *) # Relative path. 8675 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8676 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8677 esac 8678 8679 # Do not use `cd foo && pwd` to compute absolute paths, because 8680 # the directories may not exist. 8681 case `pwd` in 8682 .) ac_abs_builddir="$ac_dir";; 8683 *) 8684 case "$ac_dir" in 8685 .) ac_abs_builddir=`pwd`;; 8686 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8687 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8688 esac;; 8689 esac 8690 case $ac_abs_builddir in 8691 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8692 *) 8693 case ${ac_top_builddir}. in 8694 .) ac_abs_top_builddir=$ac_abs_builddir;; 8695 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8696 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8697 esac;; 8698 esac 8699 case $ac_abs_builddir in 8700 .) ac_abs_srcdir=$ac_srcdir;; 8701 *) 8702 case $ac_srcdir in 8703 .) ac_abs_srcdir=$ac_abs_builddir;; 8704 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8705 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8706 esac;; 8707 esac 8708 case $ac_abs_builddir in 8709 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8710 *) 8711 case $ac_top_srcdir in 8712 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8713 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8714 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8715 esac;; 8716 esac 8717 10116 ac_top_srcdir=$srcdir 10117 ac_abs_top_srcdir=$srcdir ;; 10118 *) # Relative name. 10119 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 10120 ac_top_srcdir=$ac_top_build_prefix$srcdir 10121 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 10122 esac 10123 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 10124 10125 10126 case $ac_mode in 10127 :F) 10128 # 10129 # CONFIG_FILE 10130 # 8718 10131 8719 10132 case $INSTALL in 8720 10133 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 8721 *) ac_INSTALL=$ac_top_build dir$INSTALL ;;10134 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 8722 10135 esac 8723 8724 if test x"$ac_file" != x-; then 8725 { echo "$as_me:$LINENO: creating $ac_file" >&5 8726 echo "$as_me: creating $ac_file" >&6;} 8727 rm -f "$ac_file" 8728 fi 8729 # Let's still pretend it is `configure' which instantiates (i.e., don't 8730 # use $as_me), people would be surprised to read: 8731 # /* config.h. Generated by config.status. */ 8732 if test x"$ac_file" = x-; then 8733 configure_input= 8734 else 8735 configure_input="$ac_file. " 8736 fi 8737 configure_input=$configure_input"Generated from `echo $ac_file_in | 8738 sed 's,.*/,,'` by configure." 8739 8740 # First look for the input files in the build tree, otherwise in the 8741 # src tree. 8742 ac_file_inputs=`IFS=: 8743 for f in $ac_file_in; do 8744 case $f in 8745 -) echo $tmp/stdin ;; 8746 [\\/$]*) 8747 # Absolute (can't be DOS-style, as IFS=:) 8748 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8749 echo "$as_me: error: cannot find input file: $f" >&2;} 8750 { (exit 1); exit 1; }; } 8751 echo "$f";; 8752 *) # Relative 8753 if test -f "$f"; then 8754 # Build tree 8755 echo "$f" 8756 elif test -f "$srcdir/$f"; then 8757 # Source tree 8758 echo "$srcdir/$f" 8759 else 8760 # /dev/null tree 8761 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8762 echo "$as_me: error: cannot find input file: $f" >&2;} 8763 { (exit 1); exit 1; }; } 8764 fi;; 8765 esac 8766 done` || { (exit 1); exit 1; } 8767 _ACEOF 8768 cat >>$CONFIG_STATUS <<_ACEOF 8769 sed "$ac_vpsub 10136 _ACEOF 10137 10138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10139 # If the template does not know about datarootdir, expand it. 10140 # FIXME: This hack should be removed a few years after 2.60. 10141 ac_datarootdir_hack=; ac_datarootdir_seen= 10142 10143 ac_sed_dataroot=' 10144 /datarootdir/ { 10145 p 10146 q 10147 } 10148 /@datadir@/p 10149 /@docdir@/p 10150 /@infodir@/p 10151 /@localedir@/p 10152 /@mandir@/p 10153 ' 10154 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 10155 *datarootdir*) ac_datarootdir_seen=yes;; 10156 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 10157 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10158 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10159 _ACEOF 10160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10161 ac_datarootdir_hack=' 10162 s&@datadir@&$datadir&g 10163 s&@docdir@&$docdir&g 10164 s&@infodir@&$infodir&g 10165 s&@localedir@&$localedir&g 10166 s&@mandir@&$mandir&g 10167 s&\\\${datarootdir}&$datarootdir&g' ;; 10168 esac 10169 _ACEOF 10170 10171 # Neutralize VPATH when `$srcdir' = `.'. 10172 # Shell code in configure.ac might set extrasub. 10173 # FIXME: do we really want to maintain this feature? 10174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10175 ac_sed_extra="$ac_vpsub 8770 10176 $extrasub 8771 10177 _ACEOF 8772 cat >>$CONFIG_STATUS <<\_ACEOF 10178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8773 10179 :t 8774 10180 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8775 s,@configure_input@,$configure_input,;t t 8776 s,@srcdir@,$ac_srcdir,;t t 8777 s,@abs_srcdir@,$ac_abs_srcdir,;t t 8778 s,@top_srcdir@,$ac_top_srcdir,;t t 8779 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 8780 s,@builddir@,$ac_builddir,;t t 8781 s,@abs_builddir@,$ac_abs_builddir,;t t 8782 s,@top_builddir@,$ac_top_builddir,;t t 8783 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 8784 s,@INSTALL@,$ac_INSTALL,;t t 8785 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 8786 rm -f $tmp/stdin 10181 s|@configure_input@|$ac_sed_conf_input|;t t 10182 s&@top_builddir@&$ac_top_builddir_sub&;t t 10183 s&@top_build_prefix@&$ac_top_build_prefix&;t t 10184 s&@srcdir@&$ac_srcdir&;t t 10185 s&@abs_srcdir@&$ac_abs_srcdir&;t t 10186 s&@top_srcdir@&$ac_top_srcdir&;t t 10187 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 10188 s&@builddir@&$ac_builddir&;t t 10189 s&@abs_builddir@&$ac_abs_builddir&;t t 10190 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 10191 s&@INSTALL@&$ac_INSTALL&;t t 10192 $ac_datarootdir_hack 10193 " 10194 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 10195 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10196 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10197 { (exit 1); exit 1; }; } 10198 10199 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 10200 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 10201 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 10202 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10203 which seems to be undefined. Please make sure it is defined." >&5 10204 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10205 which seems to be undefined. Please make sure it is defined." >&2;} 10206 10207 rm -f "$tmp/stdin" 10208 case $ac_file in 10209 -) cat "$tmp/out" && rm -f "$tmp/out";; 10210 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 10211 esac \ 10212 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10213 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10214 { (exit 1); exit 1; }; } 10215 ;; 10216 :H) 10217 # 10218 # CONFIG_HEADER 10219 # 8787 10220 if test x"$ac_file" != x-; then 8788 mv $tmp/out $ac_file 8789 else 8790 cat $tmp/out 8791 rm -f $tmp/out 8792 fi 8793 8794 done 8795 _ACEOF 8796 cat >>$CONFIG_STATUS <<\_ACEOF 8797 8798 # 8799 # CONFIG_HEADER section. 8800 # 8801 8802 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 8803 # NAME is the cpp macro being defined and VALUE is the value it is being given. 8804 # 8805 # ac_d sets the value in "#define NAME VALUE" lines. 8806 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 8807 ac_dB='[ ].*$,\1#\2' 8808 ac_dC=' ' 8809 ac_dD=',;t' 8810 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 8811 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 8812 ac_uB='$,\1#\2define\3' 8813 ac_uC=' ' 8814 ac_uD=',;t' 8815 8816 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 8817 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8818 case $ac_file in 8819 - | *:- | *:-:* ) # input from stdin 8820 cat >$tmp/stdin 8821 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8822 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8823 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8824 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8825 * ) ac_file_in=$ac_file.in ;; 8826 esac 8827 8828 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 8829 echo "$as_me: creating $ac_file" >&6;} 8830 8831 # First look for the input files in the build tree, otherwise in the 8832 # src tree. 8833 ac_file_inputs=`IFS=: 8834 for f in $ac_file_in; do 8835 case $f in 8836 -) echo $tmp/stdin ;; 8837 [\\/$]*) 8838 # Absolute (can't be DOS-style, as IFS=:) 8839 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8840 echo "$as_me: error: cannot find input file: $f" >&2;} 10221 { 10222 $as_echo "/* $configure_input */" \ 10223 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 10224 } >"$tmp/config.h" \ 10225 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10226 $as_echo "$as_me: error: could not create $ac_file" >&2;} 8841 10227 { (exit 1); exit 1; }; } 8842 # Do quote $f, to prevent DOS paths from being IFS'd. 8843 echo "$f";; 8844 *) # Relative 8845 if test -f "$f"; then 8846 # Build tree 8847 echo "$f" 8848 elif test -f "$srcdir/$f"; then 8849 # Source tree 8850 echo "$srcdir/$f" 8851 else 8852 # /dev/null tree 8853 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8854 echo "$as_me: error: cannot find input file: $f" >&2;} 10228 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 10229 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 10230 $as_echo "$as_me: $ac_file is unchanged" >&6;} 10231 else 10232 rm -f "$ac_file" 10233 mv "$tmp/config.h" "$ac_file" \ 10234 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10235 $as_echo "$as_me: error: could not create $ac_file" >&2;} 8855 10236 { (exit 1); exit 1; }; } 8856 fi;;8857 esac8858 done` || { (exit 1); exit 1; }8859 # Remove the trailing spaces.8860 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in8861 8862 _ACEOF8863 8864 # Transform confdefs.h into two sed scripts, `conftest.defines' and8865 # `conftest.undefs', that substitutes the proper values into8866 # config.h.in to produce config.h. The first handles `#define'8867 # templates, and the second `#undef' templates.8868 # And first: Protect against being on the right side of a sed subst in8869 # config.status. Protect against being in an unquoted here document8870 # in config.status.8871 rm -f conftest.defines conftest.undefs8872 # Using a here document instead of a string reduces the quoting nightmare.8873 # Putting comments in sed scripts is not portable.8874 #8875 # `end' is used to avoid that the second main sed command (meant for8876 # 0-ary CPP macros) applies to n-ary macro definitions.8877 # See the Autoconf documentation for `clear'.8878 cat >confdef2sed.sed <<\_ACEOF8879 s/[\\&,]/\\&/g8880 s,[\\$`],\\&,g8881 t clear8882 : clear8883 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp8884 t end8885 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp8886 : end8887 _ACEOF8888 # If some macros were called several times there might be several times8889 # the same #defines, which is useless. Nevertheless, we may not want to8890 # sort them, since we want the *last* AC-DEFINE to be honored.8891 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines8892 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs8893 rm -f confdef2sed.sed8894 8895 # This sed command replaces #undef with comments. This is necessary, for8896 # example, in the case of _POSIX_SOURCE, which is predefined and required8897 # on some systems where configure will not decide to define it.8898 cat >>conftest.undefs <<\_ACEOF8899 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,8900 _ACEOF8901 8902 # Break up conftest.defines because some shells have a limit on the size8903 # of here documents, and old seds have small limits too (100 cmds).8904 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS8905 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS8906 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS8907 echo ' :' >>$CONFIG_STATUS8908 rm -f conftest.tail8909 while grep . conftest.defines >/dev/null8910 do8911 # Write a limited-size here document to $tmp/defines.sed.8912 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS8913 # Speed up: don't consider the non `#define' lines.8914 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS8915 # Work around the forget-to-reset-the-flag bug.8916 echo 't clr' >>$CONFIG_STATUS8917 echo ': clr' >>$CONFIG_STATUS8918 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS8919 echo 'CEOF8920 sed -f $tmp/defines.sed $tmp/in >$tmp/out8921 rm -f $tmp/in8922 mv $tmp/out $tmp/in8923 ' >>$CONFIG_STATUS8924 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail8925 rm -f conftest.defines8926 mv conftest.tail conftest.defines8927 done8928 rm -f conftest.defines8929 echo ' fi # grep' >>$CONFIG_STATUS8930 echo >>$CONFIG_STATUS8931 8932 # Break up conftest.undefs because some shells have a limit on the size8933 # of here documents, and old seds have small limits too (100 cmds).8934 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS8935 rm -f conftest.tail8936 while grep . conftest.undefs >/dev/null8937 do8938 # Write a limited-size here document to $tmp/undefs.sed.8939 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS8940 # Speed up: don't consider the non `#undef'8941 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS8942 # Work around the forget-to-reset-the-flag bug.8943 echo 't clr' >>$CONFIG_STATUS8944 echo ': clr' >>$CONFIG_STATUS8945 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS8946 echo 'CEOF8947 sed -f $tmp/undefs.sed $tmp/in >$tmp/out8948 rm -f $tmp/in8949 mv $tmp/out $tmp/in8950 ' >>$CONFIG_STATUS8951 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail8952 rm -f conftest.undefs8953 mv conftest.tail conftest.undefs8954 done8955 rm -f conftest.undefs8956 8957 cat >>$CONFIG_STATUS <<\_ACEOF8958 # Let's still pretend it is `configure' which instantiates (i.e., don't8959 # use $as_me), people would be surprised to read:8960 # /* config.h. Generated by config.status. */8961 if test x"$ac_file" = x-; then8962 echo "/* Generated by configure. */" >$tmp/config.h8963 else8964 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h8965 fi8966 cat $tmp/in >>$tmp/config.h8967 rm -f $tmp/in8968 if test x"$ac_file" != x-; then8969 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then8970 { echo "$as_me:$LINENO: $ac_file is unchanged" >&58971 echo "$as_me: $ac_file is unchanged" >&6;}8972 else8973 ac_dir=`(dirname "$ac_file") 2>/dev/null ||8974 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \8975 X"$ac_file" : 'X\(//\)[^/]' \| \8976 X"$ac_file" : 'X\(//\)$' \| \8977 X"$ac_file" : 'X\(/\)' \| \8978 . : '\(.\)' 2>/dev/null ||8979 echo X"$ac_file" |8980 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }8981 /^X\(\/\/\)[^/].*/{ s//\1/; q; }8982 /^X\(\/\/\)$/{ s//\1/; q; }8983 /^X\(\/\).*/{ s//\1/; q; }8984 s/.*/./; q'`8985 { if $as_mkdir_p; then8986 mkdir -p "$ac_dir"8987 else8988 as_dir="$ac_dir"8989 as_dirs=8990 while test ! -d "$as_dir"; do8991 as_dirs="$as_dir $as_dirs"8992 as_dir=`(dirname "$as_dir") 2>/dev/null ||8993 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \8994 X"$as_dir" : 'X\(//\)[^/]' \| \8995 X"$as_dir" : 'X\(//\)$' \| \8996 X"$as_dir" : 'X\(/\)' \| \8997 . : '\(.\)' 2>/dev/null ||8998 echo X"$as_dir" |8999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }9000 /^X\(\/\/\)[^/].*/{ s//\1/; q; }9001 /^X\(\/\/\)$/{ s//\1/; q; }9002 /^X\(\/\).*/{ s//\1/; q; }9003 s/.*/./; q'`9004 done9005 test ! -n "$as_dirs" || mkdir $as_dirs9006 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&59007 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}9008 { (exit 1); exit 1; }; }; }9009 9010 rm -f $ac_file9011 mv $tmp/config.h $ac_file9012 10237 fi 9013 10238 else 9014 cat $tmp/config.h 9015 rm -f $tmp/config.h 10239 $as_echo "/* $configure_input */" \ 10240 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 10241 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 10242 $as_echo "$as_me: error: could not create -" >&2;} 10243 { (exit 1); exit 1; }; } 9016 10244 fi 9017 done 9018 _ACEOF 9019 9020 cat >>$CONFIG_STATUS <<\_ACEOF 10245 ;; 10246 10247 10248 esac 10249 10250 done # for ac_tag 10251 9021 10252 9022 10253 { (exit 0); exit 0; } … … 9024 10255 chmod +x $CONFIG_STATUS 9025 10256 ac_clean_files=$ac_clean_files_save 10257 10258 test $ac_write_fail = 0 || 10259 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 10260 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 10261 { (exit 1); exit 1; }; } 9026 10262 9027 10263 … … 9052 10288 if test "$no_recursion" != yes; then 9053 10289 9054 # Remove --cache-file and --srcdir arguments so they do not pile up. 10290 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 10291 # so they do not pile up. 9055 10292 ac_sub_configure_args= 9056 10293 ac_prev= 9057 for ac_arg in $ac_configure_args; do 10294 eval "set x $ac_configure_args" 10295 shift 10296 for ac_arg 10297 do 9058 10298 if test -n "$ac_prev"; then 9059 10299 ac_prev= … … 9078 10318 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 9079 10319 ;; 9080 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; 10320 --disable-option-checking) 10321 ;; 10322 *) 10323 case $ac_arg in 10324 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 10325 esac 10326 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; 9081 10327 esac 9082 10328 done … … 9084 10330 # Always prepend --prefix to ensure using the same prefix 9085 10331 # in subdir configurations. 9086 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" 10332 ac_arg="--prefix=$prefix" 10333 case $ac_arg in 10334 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 10335 esac 10336 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 10337 10338 # Pass --silent 10339 if test "$silent" = yes; then 10340 ac_sub_configure_args="--silent $ac_sub_configure_args" 10341 fi 10342 10343 # Always prepend --disable-option-checking to silence warnings, since 10344 # different subdirs can have different --enable and --with options. 10345 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 9087 10346 9088 10347 ac_popdir=`pwd` … … 9091 10350 # Do not complain, so a configure script can configure whichever 9092 10351 # parts of a large source tree are present. 9093 test -d $srcdir/$ac_dir || continue 9094 9095 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 9096 echo "$as_me: configuring in $ac_dir" >&6;} 9097 { if $as_mkdir_p; then 9098 mkdir -p "$ac_dir" 9099 else 9100 as_dir="$ac_dir" 10352 test -d "$srcdir/$ac_dir" || continue 10353 10354 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 10355 $as_echo "$as_me:$LINENO: $ac_msg" >&5 10356 $as_echo "$ac_msg" >&6 10357 { as_dir="$ac_dir" 10358 case $as_dir in #( 10359 -*) as_dir=./$as_dir;; 10360 esac 10361 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 9101 10362 as_dirs= 9102 while test ! -d "$as_dir"; do 9103 as_dirs="$as_dir $as_dirs" 9104 as_dir=`(dirname "$as_dir") 2>/dev/null || 10363 while :; do 10364 case $as_dir in #( 10365 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10366 *) as_qdir=$as_dir;; 10367 esac 10368 as_dirs="'$as_qdir' $as_dirs" 10369 as_dir=`$as_dirname -- "$as_dir" || 9105 10370 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9106 10371 X"$as_dir" : 'X\(//\)[^/]' \| \ 9107 10372 X"$as_dir" : 'X\(//\)$' \| \ 9108 X"$as_dir" : 'X\(/\)' \| \ 9109 . : '\(.\)' 2>/dev/null || 9110 echo X"$as_dir" | 9111 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9112 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9113 /^X\(\/\/\)$/{ s//\1/; q; } 9114 /^X\(\/\).*/{ s//\1/; q; } 9115 s/.*/./; q'` 10373 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10374 $as_echo X"$as_dir" | 10375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10376 s//\1/ 10377 q 10378 } 10379 /^X\(\/\/\)[^/].*/{ 10380 s//\1/ 10381 q 10382 } 10383 /^X\(\/\/\)$/{ 10384 s//\1/ 10385 q 10386 } 10387 /^X\(\/\).*/{ 10388 s//\1/ 10389 q 10390 } 10391 s/.*/./; q'` 10392 test -d "$as_dir" && break 9116 10393 done 9117 test ! -n "$as_dirs" || mkdir $as_dirs9118 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&59119 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}10394 test -z "$as_dirs" || eval "mkdir $as_dirs" 10395 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10396 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 9120 10397 { (exit 1); exit 1; }; }; } 9121 9122 10398 ac_builddir=. 9123 10399 9124 if test "$ac_dir" != .; then 9125 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 9126 # A "../" for each directory in $ac_dir_suffix. 9127 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 9128 else 9129 ac_dir_suffix= ac_top_builddir= 9130 fi 10400 case "$ac_dir" in 10401 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10402 *) 10403 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 10404 # A ".." for each directory in $ac_dir_suffix. 10405 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 10406 case $ac_top_builddir_sub in 10407 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 10408 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 10409 esac ;; 10410 esac 10411 ac_abs_top_builddir=$ac_pwd 10412 ac_abs_builddir=$ac_pwd$ac_dir_suffix 10413 # for backward compatibility: 10414 ac_top_builddir=$ac_top_build_prefix 9131 10415 9132 10416 case $srcdir in 9133 .) # No --srcdir option.We are building in place.10417 .) # We are building in place. 9134 10418 ac_srcdir=. 9135 if test -z "$ac_top_builddir"; then 9136 ac_top_srcdir=. 10419 ac_top_srcdir=$ac_top_builddir_sub 10420 ac_abs_top_srcdir=$ac_pwd ;; 10421 [\\/]* | ?:[\\/]* ) # Absolute name. 10422 ac_srcdir=$srcdir$ac_dir_suffix; 10423 ac_top_srcdir=$srcdir 10424 ac_abs_top_srcdir=$srcdir ;; 10425 *) # Relative name. 10426 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 10427 ac_top_srcdir=$ac_top_build_prefix$srcdir 10428 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 10429 esac 10430 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 10431 10432 10433 cd "$ac_dir" 10434 10435 # Check for guested configure; otherwise get Cygnus style configure. 10436 if test -f "$ac_srcdir/configure.gnu"; then 10437 ac_sub_configure=$ac_srcdir/configure.gnu 10438 elif test -f "$ac_srcdir/configure"; then 10439 ac_sub_configure=$ac_srcdir/configure 10440 elif test -f "$ac_srcdir/configure.in"; then 10441 # This should be Cygnus configure. 10442 ac_sub_configure=$ac_aux_dir/configure 9137 10443 else 9138 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 9139 fi ;; 9140 [\\/]* | ?:[\\/]* ) # Absolute path. 9141 ac_srcdir=$srcdir$ac_dir_suffix; 9142 ac_top_srcdir=$srcdir ;; 9143 *) # Relative path. 9144 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 9145 ac_top_srcdir=$ac_top_builddir$srcdir ;; 9146 esac 9147 9148 # Do not use `cd foo && pwd` to compute absolute paths, because 9149 # the directories may not exist. 9150 case `pwd` in 9151 .) ac_abs_builddir="$ac_dir";; 9152 *) 9153 case "$ac_dir" in 9154 .) ac_abs_builddir=`pwd`;; 9155 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 9156 *) ac_abs_builddir=`pwd`/"$ac_dir";; 9157 esac;; 9158 esac 9159 case $ac_abs_builddir in 9160 .) ac_abs_top_builddir=${ac_top_builddir}.;; 9161 *) 9162 case ${ac_top_builddir}. in 9163 .) ac_abs_top_builddir=$ac_abs_builddir;; 9164 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 9165 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 9166 esac;; 9167 esac 9168 case $ac_abs_builddir in 9169 .) ac_abs_srcdir=$ac_srcdir;; 9170 *) 9171 case $ac_srcdir in 9172 .) ac_abs_srcdir=$ac_abs_builddir;; 9173 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 9174 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 9175 esac;; 9176 esac 9177 case $ac_abs_builddir in 9178 .) ac_abs_top_srcdir=$ac_top_srcdir;; 9179 *) 9180 case $ac_top_srcdir in 9181 .) ac_abs_top_srcdir=$ac_abs_builddir;; 9182 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 9183 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 9184 esac;; 9185 esac 9186 9187 9188 cd $ac_dir 9189 9190 # Check for guested configure; otherwise get Cygnus style configure. 9191 if test -f $ac_srcdir/configure.gnu; then 9192 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" 9193 elif test -f $ac_srcdir/configure; then 9194 ac_sub_configure="$SHELL '$ac_srcdir/configure'" 9195 elif test -f $ac_srcdir/configure.in; then 9196 ac_sub_configure=$ac_configure 9197 else 9198 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 9199 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 10444 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 10445 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 9200 10446 ac_sub_configure= 9201 10447 fi … … 9206 10452 case $cache_file in 9207 10453 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 9208 *) # Relative path.9209 ac_sub_cache_file=$ac_top_build dir$cache_file ;;10454 *) # Relative name. 10455 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; 9210 10456 esac 9211 10457 9212 { echo "$as_me:$LINENO: running$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&59213 echo "$as_me: running$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}10458 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 10459 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 9214 10460 # The eval makes quoting arguments work. 9215 eval $ac_sub_configure$ac_sub_configure_args \9216 --cache-file= $ac_sub_cache_file --srcdir=$ac_srcdir||9217 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&59218 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}10461 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 10462 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 10463 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 10464 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 9219 10465 { (exit 1); exit 1; }; } 9220 10466 fi 9221 10467 9222 cd $ac_popdir10468 cd "$ac_popdir" 9223 10469 done 9224 10470 fi 9225 9226 9227 10471 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 10472 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 10473 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 10474 fi 10475 10476 10477
Note:
See TracChangeset
for help on using the changeset viewer.