Changeset 25149 for main/trunk/greenstone2/runtime-src/configure
- Timestamp:
- 2012-02-28T14:18:52+13:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/runtime-src/configure
r24958 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. … … 275 602 ac_includes_default="\ 276 603 #include <stdio.h> 277 #if HAVE_SYS_TYPES_H604 #ifdef HAVE_SYS_TYPES_H 278 605 # include <sys/types.h> 279 606 #endif 280 #if HAVE_SYS_STAT_H607 #ifdef HAVE_SYS_STAT_H 281 608 # include <sys/stat.h> 282 609 #endif 283 #if STDC_HEADERS610 #ifdef STDC_HEADERS 284 611 # include <stdlib.h> 285 612 # include <stddef.h> 286 613 #else 287 # if HAVE_STDLIB_H614 # ifdef HAVE_STDLIB_H 288 615 # include <stdlib.h> 289 616 # endif 290 617 #endif 291 #if HAVE_STRING_H292 # if ! STDC_HEADERS &&HAVE_MEMORY_H618 #ifdef HAVE_STRING_H 619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 293 620 # include <memory.h> 294 621 # endif 295 622 # include <string.h> 296 623 #endif 297 #if HAVE_STRINGS_H624 #ifdef HAVE_STRINGS_H 298 625 # include <strings.h> 299 626 #endif 300 #if HAVE_INTTYPES_H627 #ifdef HAVE_INTTYPES_H 301 628 # include <inttypes.h> 302 #else303 # if HAVE_STDINT_H304 # include <stdint.h>305 # endif306 629 #endif 307 #if HAVE_UNISTD_H 630 #ifdef HAVE_STDINT_H 631 # include <stdint.h> 632 #endif 633 #ifdef HAVE_UNISTD_H 308 634 # include <unistd.h> 309 635 #endif" 310 636 311 ac_subdirs_all="$ac_subdirs_all packages" 312 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 USE_RSS USE_APACHE_HTTPD ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX JAVAC JAVACFLAGS JAVA uudecode 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' 637 enable_option_checking=no 638 ac_subst_vars='LTLIBOBJS 639 subdirs 640 MODULEDIRS 641 gsdlarch 642 gsdlos 643 STATIC 644 LIBOBJS 645 ALLOCA 646 ANSI2KNR 647 U 648 EGREP 649 GREP 650 CPP 651 MICO_VER 652 ARCH_DEP_FLAGS 653 RANLIB 654 SET_MAKE 655 LN_S 656 INSTALL_DATA 657 INSTALL_SCRIPT 658 INSTALL_PROGRAM 659 target_os 660 target_vendor 661 target_cpu 662 target 663 host_os 664 host_vendor 665 host_cpu 666 host 667 build_os 668 build_vendor 669 build_cpu 670 build 671 YFLAGS 672 YACC 673 AWK 674 uudecode 675 JAVA 676 JAVACFLAGS 677 JAVAC 678 ac_ct_CXX 679 CXXFLAGS 680 CXX 681 OBJEXT 682 EXEEXT 683 ac_ct_CC 684 CPPFLAGS 685 CC 686 CFLAGS 687 LDFLAGS 688 ENABLE_LUCENE 689 ENABLE_MGPP 690 ENABLE_MG 691 USE_APACHE_HTTPD 692 USE_RSS 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' 313 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_rss 756 enable_apache_httpd 757 enable_mg 758 enable_mgpp 759 enable_lucene 760 with_dmalloc 761 with_regex 762 ' 763 ac_precious_vars='build_alias 764 host_alias 765 target_alias 766 CC 767 CFLAGS 768 LDFLAGS 769 LIBS 770 CPPFLAGS 771 CXX 772 CXXFLAGS 773 CCC 774 YACC 775 YFLAGS 776 CPP' 777 ac_subdirs_all='packages' 314 778 315 779 # Initialize some variables set by options. 316 780 ac_init_help= 317 781 ac_init_version=false 782 ac_unrecognized_opts= 783 ac_unrecognized_sep= 318 784 # The variables have the same names as the options, with 319 785 # dashes changed to underlines. … … 338 804 # by default will actually change. 339 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.) 340 807 bindir='${exec_prefix}/bin' 341 808 sbindir='${exec_prefix}/sbin' 342 809 libexecdir='${exec_prefix}/libexec' 343 datadir='${prefix}/share' 810 datarootdir='${prefix}/share' 811 datadir='${datarootdir}' 344 812 sysconfdir='${prefix}/etc' 345 813 sharedstatedir='${prefix}/com' 346 814 localstatedir='${prefix}/var' 347 libdir='${exec_prefix}/lib'348 815 includedir='${prefix}/include' 349 816 oldincludedir='/usr/include' 350 infodir='${prefix}/info' 351 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' 352 826 353 827 ac_prev= 828 ac_dashdash= 354 829 for ac_option 355 830 do 356 831 # If the previous option needs an argument, assign it. 357 832 if test -n "$ac_prev"; then 358 eval "$ac_prev=\$ac_option"833 eval $ac_prev=\$ac_option 359 834 ac_prev= 360 835 continue 361 836 fi 362 837 363 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 364 842 365 843 # Accept the important Cygnus configure options, so we can diagnose typos. 366 844 367 case $ac_option in 845 case $ac_dashdash$ac_option in 846 --) 847 ac_dashdash=yes ;; 368 848 369 849 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 387 867 cache_file=config.cache ;; 388 868 389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)869 -datadir | --datadir | --datadi | --datad) 390 870 ac_prev=datadir ;; 391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 392 | --da=*) 871 -datadir=* | --datadir=* | --datadi=* | --datad=*) 393 872 datadir=$ac_optarg ;; 394 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 395 881 -disable-* | --disable-*) 396 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`882 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 397 883 # Reject names that are not valid shell variable names. 398 expr "x$ac_ feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&399 { 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 400 886 { (exit 1); exit 1; }; } 401 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 402 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 ;; 403 907 404 908 -enable-* | --enable-*) 405 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`909 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 406 910 # Reject names that are not valid shell variable names. 407 expr "x$ac_ feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&408 { 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 409 913 { (exit 1); exit 1; }; } 410 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 411 case $ac_option in 412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 413 *) 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=', ';; 414 922 esac 415 eval "enable_$ac_feature='$ac_optarg'";;923 eval enable_$ac_useropt=\$ac_optarg ;; 416 924 417 925 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 440 948 host_alias=$ac_optarg ;; 441 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 442 956 -includedir | --includedir | --includedi | --included | --include \ 443 957 | --includ | --inclu | --incl | --inc) … … 464 978 libexecdir=$ac_optarg ;; 465 979 980 -localedir | --localedir | --localedi | --localed | --locale) 981 ac_prev=localedir ;; 982 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 983 localedir=$ac_optarg ;; 984 466 985 -localstatedir | --localstatedir | --localstatedi | --localstated \ 467 | --localstate | --localstat | --localsta | --localst \ 468 | --locals | --local | --loca | --loc | --lo) 986 | --localstate | --localstat | --localsta | --localst | --locals) 469 987 ac_prev=localstatedir ;; 470 988 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 989 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 473 990 localstatedir=$ac_optarg ;; 474 991 … … 535 1052 program_transform_name=$ac_optarg ;; 536 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 537 1064 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 538 1065 | -silent | --silent | --silen | --sile | --sil) … … 585 1112 586 1113 -with-* | --with-*) 587 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1114 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 588 1115 # Reject names that are not valid shell variable names. 589 expr "x$ac_ package" : ".*[^-_$as_cr_alnum]" >/dev/null &&590 { 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 591 1118 { (exit 1); exit 1; }; } 592 ac_package=`echo $ac_package| sed 's/-/_/g'` 593 case $ac_option in 594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 595 *) 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=', ';; 596 1127 esac 597 eval "with_$ac_package='$ac_optarg'";;1128 eval with_$ac_useropt=\$ac_optarg ;; 598 1129 599 1130 -without-* | --without-*) 600 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1131 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 601 1132 # Reject names that are not valid shell variable names. 602 expr "x$ac_ package" : ".*[^-_$as_cr_alnum]" >/dev/null &&603 { 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 604 1135 { (exit 1); exit 1; }; } 605 ac_package=`echo $ac_package | sed 's/-/_/g'` 606 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 ;; 607 1146 608 1147 --x) … … 624 1163 x_libraries=$ac_optarg ;; 625 1164 626 -*) { echo "$as_me: error: unrecognized option: $ac_option1165 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 627 1166 Try \`$0 --help' for more information." >&2 628 1167 { (exit 1); exit 1; }; } … … 633 1172 # Reject names that are not valid shell variable names. 634 1173 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&21174 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 636 1175 { (exit 1); exit 1; }; } 637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 638 eval "$ac_envvar='$ac_optarg'" 1176 eval $ac_envvar=\$ac_optarg 639 1177 export $ac_envvar ;; 640 1178 641 1179 *) 642 1180 # FIXME: should be removed in autoconf 3.0. 643 echo "$as_me: WARNING: you should use --build, --host, --target" >&21181 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 644 1182 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 645 echo "$as_me: WARNING: invalid host type: $ac_option" >&21183 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 646 1184 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 647 1185 ;; … … 652 1190 if test -n "$ac_prev"; then 653 1191 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 654 { echo "$as_me: error: missing argument to $ac_option" >&21192 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 655 1193 { (exit 1); exit 1; }; } 656 1194 fi 657 1195 658 # Be sure to have absolute paths. 659 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 660 1210 do 661 eval ac_val=$`echo $ac_var` 1211 eval ac_val=\$$ac_var 1212 # Remove trailing slashes. 662 1213 case $ac_val in 663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2665 { (exit 1); exit 1; }; };;1214 */ ) 1215 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1216 eval $ac_var=\$ac_val;; 666 1217 esac 667 done 668 669 # Be sure to have absolute paths. 670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 671 localstatedir libdir includedir oldincludedir infodir mandir 672 do 673 eval ac_val=$`echo $ac_var` 1218 # Be sure to have absolute directory names. 674 1219 case $ac_val in 675 [\\/$]* | ?:[\\/]* ) ;; 676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 677 { (exit 1); exit 1; }; };; 1220 [\\/$]* | ?:[\\/]* ) continue;; 1221 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 678 1222 esac 1223 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1224 { (exit 1); exit 1; }; } 679 1225 done 680 1226 … … 690 1236 if test "x$build_alias" = x; then 691 1237 cross_compiling=maybe 692 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. 693 1239 If a cross compiler is detected then cross compile mode will be used." >&2 694 1240 elif test "x$build_alias" != "x$host_alias"; then … … 703 1249 704 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 705 1261 # Find the source files, if location was not specified. 706 1262 if test -z "$srcdir"; then 707 1263 ac_srcdir_defaulted=yes 708 # Try the directory containing this script, then its parent. 709 ac_confdir=`(dirname "$0") 2>/dev/null || 710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 711 X"$0" : 'X\(//\)[^/]' \| \ 712 X"$0" : 'X\(//\)$' \| \ 713 X"$0" : 'X\(/\)' \| \ 714 . : '\(.\)' 2>/dev/null || 715 echo X"$0" | 716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 717 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 718 /^X\(\/\/\)$/{ s//\1/; q; } 719 /^X\(\/\).*/{ s//\1/; q; } 720 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'` 721 1288 srcdir=$ac_confdir 722 if test ! -r $srcdir/$ac_unique_file; then1289 if test ! -r "$srcdir/$ac_unique_file"; then 723 1290 srcdir=.. 724 1291 fi … … 726 1293 ac_srcdir_defaulted=no 727 1294 fi 728 if test ! -r $srcdir/$ac_unique_file; then729 if test "$ac_srcdir_defaulted" = yes; then730 { 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 731 1298 { (exit 1); exit 1; }; } 732 else 733 { 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 734 1303 { (exit 1); exit 1; }; } 735 fi 736 fi 737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 739 { (exit 1); exit 1; }; } 740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 741 ac_env_build_alias_set=${build_alias+set} 742 ac_env_build_alias_value=$build_alias 743 ac_cv_env_build_alias_set=${build_alias+set} 744 ac_cv_env_build_alias_value=$build_alias 745 ac_env_host_alias_set=${host_alias+set} 746 ac_env_host_alias_value=$host_alias 747 ac_cv_env_host_alias_set=${host_alias+set} 748 ac_cv_env_host_alias_value=$host_alias 749 ac_env_target_alias_set=${target_alias+set} 750 ac_env_target_alias_value=$target_alias 751 ac_cv_env_target_alias_set=${target_alias+set} 752 ac_cv_env_target_alias_value=$target_alias 753 ac_env_CC_set=${CC+set} 754 ac_env_CC_value=$CC 755 ac_cv_env_CC_set=${CC+set} 756 ac_cv_env_CC_value=$CC 757 ac_env_CFLAGS_set=${CFLAGS+set} 758 ac_env_CFLAGS_value=$CFLAGS 759 ac_cv_env_CFLAGS_set=${CFLAGS+set} 760 ac_cv_env_CFLAGS_value=$CFLAGS 761 ac_env_LDFLAGS_set=${LDFLAGS+set} 762 ac_env_LDFLAGS_value=$LDFLAGS 763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_cv_env_LDFLAGS_value=$LDFLAGS 765 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 766 ac_env_CPPFLAGS_value=$CPPFLAGS 767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 769 ac_env_CXX_set=${CXX+set} 770 ac_env_CXX_value=$CXX 771 ac_cv_env_CXX_set=${CXX+set} 772 ac_cv_env_CXX_value=$CXX 773 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 774 ac_env_CXXFLAGS_value=$CXXFLAGS 775 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 776 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 777 ac_env_CPP_set=${CPP+set} 778 ac_env_CPP_value=$CPP 779 ac_cv_env_CPP_set=${CPP+set} 780 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 781 1321 782 1322 # … … 807 1347 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 808 1348 809 _ACEOF810 811 cat <<_ACEOF812 1349 Installation directories: 813 1350 --prefix=PREFIX install architecture-independent files in PREFIX 814 1351 [$ac_default_prefix] 815 1352 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 816 1353 [PREFIX] 817 1354 818 1355 By default, \`make install' will install all the files in … … 824 1361 825 1362 Fine tuning of the installation directories: 826 --bindir=DIR user executables [EPREFIX/bin] 827 --sbindir=DIR system admin executables [EPREFIX/sbin] 828 --libexecdir=DIR program executables [EPREFIX/libexec] 829 --datadir=DIR read-only architecture-independent data [PREFIX/share] 830 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 831 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 832 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 833 --libdir=DIR object code libraries [EPREFIX/lib] 834 --includedir=DIR C header files [PREFIX/include] 835 --oldincludedir=DIR C header files for non-gcc [/usr/include] 836 --infodir=DIR info documentation [PREFIX/info] 837 --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] 838 1382 _ACEOF 839 1383 … … 852 1396 853 1397 Optional Features: 1398 --disable-option-checking ignore unrecognized --enable/--with options 854 1399 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 855 1400 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 881 1426 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 882 1427 nonstandard directory <lib dir> 883 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 884 headers in a nonstandard directory <include dir> 1428 LIBS libraries to pass to the linker, e.g. -l<library> 1429 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1430 you have headers in a nonstandard directory <include dir> 885 1431 CXX C++ compiler command 886 1432 CXXFLAGS C++ compiler flags 1433 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1434 the first program found out of: `bison -y', `byacc', `yacc'. 1435 YFLAGS The list of arguments that will be passed by default to $YACC. 1436 This script will default YFLAGS to the empty string to avoid a 1437 default value of `-d' given by some make applications. 887 1438 CPP C preprocessor 888 1439 … … 891 1442 892 1443 _ACEOF 1444 ac_status=$? 893 1445 fi 894 1446 895 1447 if test "$ac_init_help" = "recursive"; then 896 1448 # If there are subdirs, report their specific --help. 897 ac_popdir=`pwd`898 1449 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 899 test -d $ac_dir || continue 1450 test -d "$ac_dir" || 1451 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1452 continue 900 1453 ac_builddir=. 901 1454 902 if test "$ac_dir" != .; then 903 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 904 # A "../" for each directory in $ac_dir_suffix. 905 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 906 else 907 ac_dir_suffix= ac_top_builddir= 908 fi 1455 case "$ac_dir" in 1456 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1457 *) 1458 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1459 # A ".." for each directory in $ac_dir_suffix. 1460 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1461 case $ac_top_builddir_sub in 1462 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1463 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1464 esac ;; 1465 esac 1466 ac_abs_top_builddir=$ac_pwd 1467 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1468 # for backward compatibility: 1469 ac_top_builddir=$ac_top_build_prefix 909 1470 910 1471 case $srcdir in 911 .) # No --srcdir option.We are building in place.1472 .) # We are building in place. 912 1473 ac_srcdir=. 913 if test -z "$ac_top_builddir"; then 914 ac_top_srcdir=. 1474 ac_top_srcdir=$ac_top_builddir_sub 1475 ac_abs_top_srcdir=$ac_pwd ;; 1476 [\\/]* | ?:[\\/]* ) # Absolute name. 1477 ac_srcdir=$srcdir$ac_dir_suffix; 1478 ac_top_srcdir=$srcdir 1479 ac_abs_top_srcdir=$srcdir ;; 1480 *) # Relative name. 1481 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1482 ac_top_srcdir=$ac_top_build_prefix$srcdir 1483 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1484 esac 1485 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1486 1487 cd "$ac_dir" || { ac_status=$?; continue; } 1488 # Check for guested configure. 1489 if test -f "$ac_srcdir/configure.gnu"; then 1490 echo && 1491 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1492 elif test -f "$ac_srcdir/configure"; then 1493 echo && 1494 $SHELL "$ac_srcdir/configure" --help=recursive 915 1495 else 916 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 917 fi ;; 918 [\\/]* | ?:[\\/]* ) # Absolute path. 919 ac_srcdir=$srcdir$ac_dir_suffix; 920 ac_top_srcdir=$srcdir ;; 921 *) # Relative path. 922 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 923 ac_top_srcdir=$ac_top_builddir$srcdir ;; 924 esac 925 926 # Do not use `cd foo && pwd` to compute absolute paths, because 927 # the directories may not exist. 928 case `pwd` in 929 .) ac_abs_builddir="$ac_dir";; 930 *) 931 case "$ac_dir" in 932 .) ac_abs_builddir=`pwd`;; 933 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 934 *) ac_abs_builddir=`pwd`/"$ac_dir";; 935 esac;; 936 esac 937 case $ac_abs_builddir in 938 .) ac_abs_top_builddir=${ac_top_builddir}.;; 939 *) 940 case ${ac_top_builddir}. in 941 .) ac_abs_top_builddir=$ac_abs_builddir;; 942 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 943 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 944 esac;; 945 esac 946 case $ac_abs_builddir in 947 .) ac_abs_srcdir=$ac_srcdir;; 948 *) 949 case $ac_srcdir in 950 .) ac_abs_srcdir=$ac_abs_builddir;; 951 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 952 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 953 esac;; 954 esac 955 case $ac_abs_builddir in 956 .) ac_abs_top_srcdir=$ac_top_srcdir;; 957 *) 958 case $ac_top_srcdir in 959 .) ac_abs_top_srcdir=$ac_abs_builddir;; 960 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 961 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 962 esac;; 963 esac 964 965 cd $ac_dir 966 # Check for guested configure; otherwise get Cygnus style configure. 967 if test -f $ac_srcdir/configure.gnu; then 968 echo 969 $SHELL $ac_srcdir/configure.gnu --help=recursive 970 elif test -f $ac_srcdir/configure; then 971 echo 972 $SHELL $ac_srcdir/configure --help=recursive 973 elif test -f $ac_srcdir/configure.ac || 974 test -f $ac_srcdir/configure.in; then 975 echo 976 $ac_configure --help 977 else 978 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 979 fi 980 cd $ac_popdir 1496 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1497 fi || ac_status=$? 1498 cd "$ac_pwd" || { ac_status=$?; break; } 981 1499 done 982 1500 fi 983 1501 984 test -n "$ac_init_help" && exit 01502 test -n "$ac_init_help" && exit $ac_status 985 1503 if $ac_init_version; then 986 1504 cat <<\_ACEOF 987 988 Copyright (C) 2003 Free Software Foundation, Inc. 1505 configure 1506 generated by GNU Autoconf 2.63 1507 1508 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1509 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 989 1510 This configure script is free software; the Free Software Foundation 990 1511 gives unlimited permission to copy, distribute and modify it. 991 1512 _ACEOF 992 exit 0 993 fi 994 exec 5>config.log 995 cat >&5 <<_ACEOF 1513 exit 1514 fi 1515 cat >config.log <<_ACEOF 996 1516 This file contains any messages produced by compilers while 997 1517 running configure, to aid debugging if configure makes a mistake. 998 1518 999 1519 It was created by $as_me, which was 1000 generated by GNU Autoconf 2. 59. Invocation command line was1520 generated by GNU Autoconf 2.63. Invocation command line was 1001 1521 1002 1522 $ $0 $@ 1003 1523 1004 1524 _ACEOF 1525 exec 5>>config.log 1005 1526 { 1006 1527 cat <<_ASUNAME … … 1021 1542 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1022 1543 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1023 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1544 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1024 1545 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1025 1546 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1033 1554 IFS=$as_save_IFS 1034 1555 test -z "$as_dir" && as_dir=. 1035 echo "PATH: $as_dir"1556 $as_echo "PATH: $as_dir" 1036 1557 done 1558 IFS=$as_save_IFS 1037 1559 1038 1560 } >&5 … … 1056 1578 ac_configure_args0= 1057 1579 ac_configure_args1= 1058 ac_sep=1059 1580 ac_must_keep_next=false 1060 1581 for ac_pass in 1 2 … … 1067 1588 | -silent | --silent | --silen | --sile | --sil) 1068 1589 continue ;; 1069 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1070 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1590 *\'*) 1591 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1071 1592 esac 1072 1593 case $ac_pass in … … 1089 1610 esac 1090 1611 fi 1091 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1092 # Get rid of the leading space. 1093 ac_sep=" " 1612 ac_configure_args="$ac_configure_args '$ac_arg'" 1094 1613 ;; 1095 1614 esac … … 1102 1621 # config.log. We remove comments because anyway the quotes in there 1103 1622 # would cause problems or look ugly. 1104 # WARNING: Be sure not to use single quotes in there, as some shells,1105 # such as our DU 5.0 friend, will then `close' the trap.1623 # WARNING: Use '\'' to represent an apostrophe within the trap. 1624 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1106 1625 trap 'exit_status=$? 1107 1626 # Save into config.log some information that might help in debugging. … … 1116 1635 echo 1117 1636 # The following way of writing the cache mishandles newlines in values, 1118 { 1637 ( 1638 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1639 eval ac_val=\$$ac_var 1640 case $ac_val in #( 1641 *${as_nl}*) 1642 case $ac_var in #( 1643 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1644 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1645 esac 1646 case $ac_var in #( 1647 _ | IFS | as_nl) ;; #( 1648 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1649 *) $as_unset $ac_var ;; 1650 esac ;; 1651 esac 1652 done 1119 1653 (set) 2>&1 | 1120 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1121 * ac_space=\ *)1654 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1655 *${as_nl}ac_space=\ *) 1122 1656 sed -n \ 1123 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1657 "s/'\''/'\''\\\\'\'''\''/g; 1658 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1659 ;; #( 1660 *) 1661 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1125 1662 ;; 1126 *) 1127 sed -n \ 1128 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1129 ;; 1130 esac; 1131 } 1663 esac | 1664 sort 1665 ) 1132 1666 echo 1133 1667 … … 1140 1674 for ac_var in $ac_subst_vars 1141 1675 do 1142 eval ac_val=$`echo $ac_var` 1143 echo "$ac_var='"'"'$ac_val'"'"'" 1676 eval ac_val=\$$ac_var 1677 case $ac_val in 1678 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1679 esac 1680 $as_echo "$ac_var='\''$ac_val'\''" 1144 1681 done | sort 1145 1682 echo … … 1147 1684 if test -n "$ac_subst_files"; then 1148 1685 cat <<\_ASBOX 1149 ## ------------- ##1150 ## Output files. ##1151 ## ------------- ##1686 ## ------------------- ## 1687 ## File substitutions. ## 1688 ## ------------------- ## 1152 1689 _ASBOX 1153 1690 echo 1154 1691 for ac_var in $ac_subst_files 1155 1692 do 1156 eval ac_val=$`echo $ac_var` 1157 echo "$ac_var='"'"'$ac_val'"'"'" 1693 eval ac_val=\$$ac_var 1694 case $ac_val in 1695 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1696 esac 1697 $as_echo "$ac_var='\''$ac_val'\''" 1158 1698 done | sort 1159 1699 echo … … 1167 1707 _ASBOX 1168 1708 echo 1169 sed "/^$/d" confdefs.h | sort1709 cat confdefs.h 1170 1710 echo 1171 1711 fi 1172 1712 test "$ac_signal" != 0 && 1173 echo "$as_me: caught signal $ac_signal"1174 echo "$as_me: exit $exit_status"1713 $as_echo "$as_me: caught signal $ac_signal" 1714 $as_echo "$as_me: exit $exit_status" 1175 1715 } >&5 1176 rm -f core *.core &&1177 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1716 rm -f core *.core core.conftest.* && 1717 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1178 1718 exit $exit_status 1179 1719 ' 0 1180 1720 for ac_signal in 1 2 13 15; do 1181 1721 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1184 1724 1185 1725 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1186 rm -rf conftest* confdefs.h 1187 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1188 echo >confdefs.h 1726 rm -f -r conftest* confdefs.h 1189 1727 1190 1728 # Predefined preprocessor variables. … … 1216 1754 1217 1755 # Let the site file select an alternate cache file if it wants to. 1218 # Prefer explicitly selected file to automatically selected ones. 1219 if test -z "$CONFIG_SITE"; then 1220 if test "x$prefix" != xNONE; then 1221 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1222 else 1223 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1224 fi 1225 fi 1226 for ac_site_file in $CONFIG_SITE; do 1756 # Prefer an explicitly selected file to automatically selected ones. 1757 ac_site_file1=NONE 1758 ac_site_file2=NONE 1759 if test -n "$CONFIG_SITE"; then 1760 ac_site_file1=$CONFIG_SITE 1761 elif test "x$prefix" != xNONE; then 1762 ac_site_file1=$prefix/share/config.site 1763 ac_site_file2=$prefix/etc/config.site 1764 else 1765 ac_site_file1=$ac_default_prefix/share/config.site 1766 ac_site_file2=$ac_default_prefix/etc/config.site 1767 fi 1768 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1769 do 1770 test "x$ac_site_file" = xNONE && continue 1227 1771 if test -r "$ac_site_file"; then 1228 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&51229 echo "$as_me: loading site script $ac_site_file" >&6;}1772 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1773 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1230 1774 sed 's/^/| /' "$ac_site_file" >&5 1231 1775 . "$ac_site_file" … … 1237 1781 # files actually), so we avoid doing that. 1238 1782 if test -f "$cache_file"; then 1239 { echo "$as_me:$LINENO: loading cache $cache_file" >&51240 echo "$as_me: loading cache $cache_file" >&6;}1783 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1784 $as_echo "$as_me: loading cache $cache_file" >&6;} 1241 1785 case $cache_file in 1242 [\\/]* | ?:[\\/]* ) . $cache_file;;1243 *) . ./$cache_file;;1786 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1787 *) . "./$cache_file";; 1244 1788 esac 1245 1789 fi 1246 1790 else 1247 { echo "$as_me:$LINENO: creating cache $cache_file" >&51248 echo "$as_me: creating cache $cache_file" >&6;}1791 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1792 $as_echo "$as_me: creating cache $cache_file" >&6;} 1249 1793 >$cache_file 1250 1794 fi … … 1253 1797 # value. 1254 1798 ac_cache_corrupted=false 1255 for ac_var in `(set) 2>&1 | 1256 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1799 for ac_var in $ac_precious_vars; do 1257 1800 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1258 1801 eval ac_new_set=\$ac_env_${ac_var}_set 1259 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1260 eval ac_new_val= "\$ac_env_${ac_var}_value"1802 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1803 eval ac_new_val=\$ac_env_${ac_var}_value 1261 1804 case $ac_old_set,$ac_new_set in 1262 1805 set,) 1263 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51264 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1806 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1807 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1265 1808 ac_cache_corrupted=: ;; 1266 1809 ,set) 1267 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51268 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1810 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1811 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1269 1812 ac_cache_corrupted=: ;; 1270 1813 ,);; 1271 1814 *) 1272 1815 if test "x$ac_old_val" != "x$ac_new_val"; then 1273 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1274 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1275 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1276 echo "$as_me: former value: $ac_old_val" >&2;} 1277 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1278 echo "$as_me: current value: $ac_new_val" >&2;} 1279 ac_cache_corrupted=: 1816 # differences in whitespace do not lead to failure. 1817 ac_old_val_w=`echo x $ac_old_val` 1818 ac_new_val_w=`echo x $ac_new_val` 1819 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1820 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1821 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1822 ac_cache_corrupted=: 1823 else 1824 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1825 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1826 eval $ac_var=\$ac_old_val 1827 fi 1828 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1829 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1830 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1831 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1280 1832 fi;; 1281 1833 esac … … 1283 1835 if test "$ac_new_set" = set; then 1284 1836 case $ac_new_val in 1285 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1286 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1837 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1287 1838 *) ac_arg=$ac_var=$ac_new_val ;; 1288 1839 esac … … 1294 1845 done 1295 1846 if $ac_cache_corrupted; then 1296 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1297 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1298 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1299 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1847 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 1848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1849 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1850 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1851 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1852 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1300 1853 { (exit 1); exit 1; }; } 1301 1854 fi 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1302 1871 1303 1872 ac_ext=c … … 1308 1877 1309 1878 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 ac_config_headers="$ac_config_headers config.h" 1879 ac_config_headers="$ac_config_headers config.h" 1328 1880 1329 1881 … … 1360 1912 fi 1361 1913 1362 # Check whether --enable-corba or --disable-corbawas given.1914 # Check whether --enable-corba was given. 1363 1915 if test "${enable_corba+set}" = set; then 1364 enableval="$enable_corba" 1365 USE_CORBA=$enableval 1916 enableval=$enable_corba; USE_CORBA=$enableval 1366 1917 else 1367 1918 USE_CORBA=no 1368 fi; 1919 fi 1920 1369 1921 if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then 1370 1922 USE_CORBA=1 1371 1923 cat >>confdefs.h <<\_ACEOF 1372 #define USE_CORBA 1924 #define USE_CORBA /**/ 1373 1925 _ACEOF 1374 1926 … … 1379 1931 1380 1932 1381 # Check whether --with-micodir or --without-micodirwas given.1933 # Check whether --with-micodir was given. 1382 1934 if test "${with_micodir+set}" = set; then 1383 withval="$with_micodir" 1384 MICO_DIR=$withval 1935 withval=$with_micodir; MICO_DIR=$withval 1385 1936 else 1386 1937 MICO_DIR="default" 1387 fi; 1938 fi 1939 1388 1940 cat >>confdefs.h <<_ACEOF 1389 1941 #define MICO_DIR "$MICO_DIR" … … 1392 1944 1393 1945 1394 # Check whether --enable-z3950 or --disable-z3950was given.1946 # Check whether --enable-z3950 was given. 1395 1947 if test "${enable_z3950+set}" = set; then 1396 enableval="$enable_z3950" 1397 USE_Z3950=$enableval 1948 enableval=$enable_z3950; USE_Z3950=$enableval 1398 1949 else 1399 1950 USE_Z3950=no 1400 fi; 1951 fi 1952 1401 1953 if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then 1402 1954 USE_Z3950=1 1403 1955 cat >>confdefs.h <<\_ACEOF 1404 #define USE_Z3950 1956 #define USE_Z3950 /**/ 1405 1957 _ACEOF 1406 1958 … … 1410 1962 1411 1963 1412 # Check whether --enable-yaz or --disable-yazwas given.1964 # Check whether --enable-yaz was given. 1413 1965 if test "${enable_yaz+set}" = set; then 1414 enableval="$enable_yaz" 1415 USE_YAZ=$enableval 1966 enableval=$enable_yaz; USE_YAZ=$enableval 1416 1967 else 1417 1968 USE_YAZ=yes 1418 fi; 1969 fi 1970 1419 1971 if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then 1420 1972 USE_YAZ=1 1421 1973 cat >>confdefs.h <<\_ACEOF 1422 #define USE_YAZ 1974 #define USE_YAZ /**/ 1423 1975 _ACEOF 1424 1976 … … 1428 1980 1429 1981 1430 # Check whether --enable-java or --disable-javawas given.1982 # Check whether --enable-java was given. 1431 1983 if test "${enable_java+set}" = set; then 1432 enableval="$enable_java" 1433 ENABLE_JAVA=$enableval 1984 enableval=$enable_java; ENABLE_JAVA=$enableval 1434 1985 else 1435 1986 ENABLE_JAVA=yes 1436 fi; 1987 fi 1988 1437 1989 if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then 1438 1990 ENABLE_JAVA=1 … … 1448 2000 1449 2001 1450 # Check whether --enable-jdbm or --disable-jdbmwas given.2002 # Check whether --enable-jdbm was given. 1451 2003 if test "${enable_jdbm+set}" = set; then 1452 enableval="$enable_jdbm" 1453 USE_JDBM=$enableval 2004 enableval=$enable_jdbm; USE_JDBM=$enableval 1454 2005 else 1455 2006 USE_JDBM=yes 1456 fi; 2007 fi 2008 1457 2009 if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then 1458 2010 USE_JDBM=1 1459 2011 cat >>confdefs.h <<\_ACEOF 1460 #define USE_JDBM 2012 #define USE_JDBM /**/ 1461 2013 _ACEOF 1462 2014 … … 1466 2018 1467 2019 1468 # Check whether --enable-gdbm or --disable-gdbmwas given.2020 # Check whether --enable-gdbm was given. 1469 2021 if test "${enable_gdbm+set}" = set; then 1470 enableval="$enable_gdbm" 1471 USE_GDBM=$enableval 2022 enableval=$enable_gdbm; USE_GDBM=$enableval 1472 2023 else 1473 2024 USE_GDBM=yes 1474 fi; 2025 fi 2026 1475 2027 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 1476 2028 USE_GDBM=1 1477 2029 cat >>confdefs.h <<\_ACEOF 1478 #define USE_GDBM 2030 #define USE_GDBM /**/ 1479 2031 _ACEOF 1480 2032 … … 1484 2036 1485 2037 1486 # Check whether --enable-accentfold or --disable-accentfoldwas given.2038 # Check whether --enable-accentfold was given. 1487 2039 if test "${enable_accentfold+set}" = set; then 1488 enableval="$enable_accentfold" 1489 ENABLE_ACCENTFOLD=$enableval 2040 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval 1490 2041 else 1491 2042 ENABLE_ACCENTFOLD=yes 1492 fi; 2043 fi 2044 1493 2045 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 1494 2046 ENABLE_ACCENTFOLD=1 1495 2047 cat >>confdefs.h <<\_ACEOF 1496 #define ENABLE_ACCENTFOLD 2048 #define ENABLE_ACCENTFOLD /**/ 1497 2049 _ACEOF 1498 2050 … … 1502 2054 1503 2055 1504 # Check whether --enable-sqlite or --disable-sqlitewas given.2056 # Check whether --enable-sqlite was given. 1505 2057 if test "${enable_sqlite+set}" = set; then 1506 enableval="$enable_sqlite" 1507 USE_SQLITE=$enableval 2058 enableval=$enable_sqlite; USE_SQLITE=$enableval 1508 2059 else 1509 2060 USE_SQLITE=yes 1510 fi; 2061 fi 2062 1511 2063 if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then 1512 2064 USE_SQLITE=1 1513 2065 cat >>confdefs.h <<\_ACEOF 1514 #define USE_SQLITE 2066 #define USE_SQLITE /**/ 1515 2067 _ACEOF 1516 2068 … … 1520 2072 1521 2073 1522 # Check whether --enable-rss or --disable-rsswas given.2074 # Check whether --enable-rss was given. 1523 2075 if test "${enable_rss+set}" = set; then 1524 enableval="$enable_rss" 1525 USE_RSS=$enableval 2076 enableval=$enable_rss; USE_RSS=$enableval 1526 2077 else 1527 2078 USE_RSS=yes 1528 fi; 2079 fi 2080 1529 2081 if test $USE_RSS = "yes" -o $USE_RSS = "1" ; then 1530 2082 USE_RSS=1 1531 2083 cat >>confdefs.h <<\_ACEOF 1532 #define USE_RSS 2084 #define USE_RSS /**/ 1533 2085 _ACEOF 1534 2086 … … 1539 2091 1540 2092 1541 # Check whether --enable-apache-httpd or --disable-apache-httpdwas given.2093 # Check whether --enable-apache-httpd was given. 1542 2094 if test "${enable_apache_httpd+set}" = set; then 1543 enableval="$enable_apache_httpd" 1544 USE_APACHE_HTTPD=$enableval 2095 enableval=$enable_apache_httpd; USE_APACHE_HTTPD=$enableval 1545 2096 else 1546 2097 USE_APACHE_HTTPD=no 1547 fi; 2098 fi 2099 1548 2100 if test $USE_APACHE_HTTPD = "yes" -o $USE_APACHE_HTTPD = "1" ; then 1549 2101 USE_APACHE_HTTPD=1 1550 2102 cat >>confdefs.h <<\_ACEOF 1551 #define USE_APACHE_HTTPD 2103 #define USE_APACHE_HTTPD /**/ 1552 2104 _ACEOF 1553 2105 … … 1558 2110 1559 2111 1560 # Check whether --enable-mg or --disable-mgwas given.2112 # Check whether --enable-mg was given. 1561 2113 if test "${enable_mg+set}" = set; then 1562 enableval="$enable_mg" 1563 ENABLE_MG=$enableval 2114 enableval=$enable_mg; ENABLE_MG=$enableval 1564 2115 else 1565 2116 ENABLE_MG=yes 1566 fi; 2117 fi 2118 1567 2119 if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then 1568 2120 ENABLE_MG=1 1569 2121 cat >>confdefs.h <<\_ACEOF 1570 #define ENABLE_MG 2122 #define ENABLE_MG /**/ 1571 2123 _ACEOF 1572 2124 … … 1576 2128 1577 2129 1578 # Check whether --enable-mgpp or --disable-mgppwas given.2130 # Check whether --enable-mgpp was given. 1579 2131 if test "${enable_mgpp+set}" = set; then 1580 enableval="$enable_mgpp" 1581 ENABLE_MGPP=$enableval 2132 enableval=$enable_mgpp; ENABLE_MGPP=$enableval 1582 2133 else 1583 2134 ENABLE_MGPP=yes 1584 fi; 2135 fi 2136 1585 2137 if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then 1586 2138 ENABLE_MGPP=1 1587 2139 cat >>confdefs.h <<\_ACEOF 1588 #define ENABLE_MGPP 2140 #define ENABLE_MGPP /**/ 1589 2141 _ACEOF 1590 2142 … … 1594 2146 1595 2147 1596 # Check whether --enable-lucene or --disable-lucenewas given.2148 # Check whether --enable-lucene was given. 1597 2149 if test "${enable_lucene+set}" = set; then 1598 enableval="$enable_lucene" 1599 ENABLE_LUCENE=$enableval 2150 enableval=$enable_lucene; ENABLE_LUCENE=$enableval 1600 2151 else 1601 2152 ENABLE_LUCENE=yes 1602 fi; 2153 fi 2154 1603 2155 if test $ENABLE_JAVA = "1" -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then 1604 2156 ENABLE_LUCENE=1 1605 2157 cat >>confdefs.h <<\_ACEOF 1606 #define ENABLE_LUCENE 2158 #define ENABLE_LUCENE /**/ 1607 2159 _ACEOF 1608 2160 … … 1628 2180 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1629 2181 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1630 echo "$as_me:$LINENO: checking for $ac_word" >&51631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2182 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2183 $as_echo_n "checking for $ac_word... " >&6; } 1632 2184 if test "${ac_cv_prog_CC+set}" = set; then 1633 echo $ECHO_N "(cached) $ECHO_C" >&62185 $as_echo_n "(cached) " >&6 1634 2186 else 1635 2187 if test -n "$CC"; then … … 1642 2194 test -z "$as_dir" && as_dir=. 1643 2195 for ac_exec_ext in '' $ac_executable_extensions; do 1644 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1645 2197 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52198 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1647 2199 break 2 1648 2200 fi 1649 2201 done 1650 2202 done 2203 IFS=$as_save_IFS 1651 2204 1652 2205 fi … … 1654 2207 CC=$ac_cv_prog_CC 1655 2208 if test -n "$CC"; then 1656 echo "$as_me:$LINENO: result: $CC" >&5 1657 echo "${ECHO_T}$CC" >&6 1658 else 1659 echo "$as_me:$LINENO: result: no" >&5 1660 echo "${ECHO_T}no" >&6 1661 fi 2209 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2210 $as_echo "$CC" >&6; } 2211 else 2212 { $as_echo "$as_me:$LINENO: result: no" >&5 2213 $as_echo "no" >&6; } 2214 fi 2215 1662 2216 1663 2217 fi … … 1666 2220 # Extract the first word of "gcc", so it can be a program name with args. 1667 2221 set dummy gcc; ac_word=$2 1668 echo "$as_me:$LINENO: checking for $ac_word" >&51669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2222 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2223 $as_echo_n "checking for $ac_word... " >&6; } 1670 2224 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1671 echo $ECHO_N "(cached) $ECHO_C" >&62225 $as_echo_n "(cached) " >&6 1672 2226 else 1673 2227 if test -n "$ac_ct_CC"; then … … 1680 2234 test -z "$as_dir" && as_dir=. 1681 2235 for ac_exec_ext in '' $ac_executable_extensions; do 1682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1683 2237 ac_cv_prog_ac_ct_CC="gcc" 1684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52238 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1685 2239 break 2 1686 2240 fi 1687 2241 done 1688 2242 done 2243 IFS=$as_save_IFS 1689 2244 1690 2245 fi … … 1692 2247 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1693 2248 if test -n "$ac_ct_CC"; then 1694 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1695 echo "${ECHO_T}$ac_ct_CC" >&6 1696 else 1697 echo "$as_me:$LINENO: result: no" >&5 1698 echo "${ECHO_T}no" >&6 1699 fi 1700 1701 CC=$ac_ct_CC 2249 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2250 $as_echo "$ac_ct_CC" >&6; } 2251 else 2252 { $as_echo "$as_me:$LINENO: result: no" >&5 2253 $as_echo "no" >&6; } 2254 fi 2255 2256 if test "x$ac_ct_CC" = x; then 2257 CC="" 2258 else 2259 case $cross_compiling:$ac_tool_warned in 2260 yes:) 2261 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2263 ac_tool_warned=yes ;; 2264 esac 2265 CC=$ac_ct_CC 2266 fi 1702 2267 else 1703 2268 CC="$ac_cv_prog_CC" … … 1705 2270 1706 2271 if test -z "$CC"; then 1707 if test -n "$ac_tool_prefix"; then1708 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2272 if test -n "$ac_tool_prefix"; then 2273 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1709 2274 set dummy ${ac_tool_prefix}cc; ac_word=$2 1710 echo "$as_me:$LINENO: checking for $ac_word" >&51711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2275 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2276 $as_echo_n "checking for $ac_word... " >&6; } 1712 2277 if test "${ac_cv_prog_CC+set}" = set; then 1713 echo $ECHO_N "(cached) $ECHO_C" >&62278 $as_echo_n "(cached) " >&6 1714 2279 else 1715 2280 if test -n "$CC"; then … … 1722 2287 test -z "$as_dir" && as_dir=. 1723 2288 for ac_exec_ext in '' $ac_executable_extensions; do 1724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1725 2290 ac_cv_prog_CC="${ac_tool_prefix}cc" 1726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52291 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1727 2292 break 2 1728 2293 fi 1729 2294 done 1730 2295 done 2296 IFS=$as_save_IFS 1731 2297 1732 2298 fi … … 1734 2300 CC=$ac_cv_prog_CC 1735 2301 if test -n "$CC"; then 1736 echo "$as_me:$LINENO: result: $CC" >&5 1737 echo "${ECHO_T}$CC" >&6 1738 else 1739 echo "$as_me:$LINENO: result: no" >&5 1740 echo "${ECHO_T}no" >&6 1741 fi 1742 1743 fi 1744 if test -z "$ac_cv_prog_CC"; then 1745 ac_ct_CC=$CC 1746 # Extract the first word of "cc", so it can be a program name with args. 1747 set dummy cc; ac_word=$2 1748 echo "$as_me:$LINENO: checking for $ac_word" >&5 1749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1750 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1751 echo $ECHO_N "(cached) $ECHO_C" >&6 1752 else 1753 if test -n "$ac_ct_CC"; then 1754 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1755 else 1756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1757 for as_dir in $PATH 1758 do 1759 IFS=$as_save_IFS 1760 test -z "$as_dir" && as_dir=. 1761 for ac_exec_ext in '' $ac_executable_extensions; do 1762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1763 ac_cv_prog_ac_ct_CC="cc" 1764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1765 break 2 2302 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2303 $as_echo "$CC" >&6; } 2304 else 2305 { $as_echo "$as_me:$LINENO: result: no" >&5 2306 $as_echo "no" >&6; } 2307 fi 2308 2309 1766 2310 fi 1767 done1768 done1769 1770 fi1771 fi1772 ac_ct_CC=$ac_cv_prog_ac_ct_CC1773 if test -n "$ac_ct_CC"; then1774 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51775 echo "${ECHO_T}$ac_ct_CC" >&61776 else1777 echo "$as_me:$LINENO: result: no" >&51778 echo "${ECHO_T}no" >&61779 fi1780 1781 CC=$ac_ct_CC1782 else1783 CC="$ac_cv_prog_CC"1784 fi1785 1786 2311 fi 1787 2312 if test -z "$CC"; then 1788 2313 # Extract the first word of "cc", so it can be a program name with args. 1789 2314 set dummy cc; ac_word=$2 1790 echo "$as_me:$LINENO: checking for $ac_word" >&51791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2315 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2316 $as_echo_n "checking for $ac_word... " >&6; } 1792 2317 if test "${ac_cv_prog_CC+set}" = set; then 1793 echo $ECHO_N "(cached) $ECHO_C" >&62318 $as_echo_n "(cached) " >&6 1794 2319 else 1795 2320 if test -n "$CC"; then … … 1803 2328 test -z "$as_dir" && as_dir=. 1804 2329 for ac_exec_ext in '' $ac_executable_extensions; do 1805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1806 2331 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1807 2332 ac_prog_rejected=yes … … 1809 2334 fi 1810 2335 ac_cv_prog_CC="cc" 1811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52336 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1812 2337 break 2 1813 2338 fi 1814 2339 done 1815 2340 done 2341 IFS=$as_save_IFS 1816 2342 1817 2343 if test $ac_prog_rejected = yes; then … … 1831 2357 CC=$ac_cv_prog_CC 1832 2358 if test -n "$CC"; then 1833 echo "$as_me:$LINENO: result: $CC" >&5 1834 echo "${ECHO_T}$CC" >&6 1835 else 1836 echo "$as_me:$LINENO: result: no" >&5 1837 echo "${ECHO_T}no" >&6 1838 fi 2359 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2360 $as_echo "$CC" >&6; } 2361 else 2362 { $as_echo "$as_me:$LINENO: result: no" >&5 2363 $as_echo "no" >&6; } 2364 fi 2365 1839 2366 1840 2367 fi 1841 2368 if test -z "$CC"; then 1842 2369 if test -n "$ac_tool_prefix"; then 1843 for ac_prog in cl 2370 for ac_prog in cl.exe 1844 2371 do 1845 2372 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1846 2373 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1847 echo "$as_me:$LINENO: checking for $ac_word" >&51848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2374 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2375 $as_echo_n "checking for $ac_word... " >&6; } 1849 2376 if test "${ac_cv_prog_CC+set}" = set; then 1850 echo $ECHO_N "(cached) $ECHO_C" >&62377 $as_echo_n "(cached) " >&6 1851 2378 else 1852 2379 if test -n "$CC"; then … … 1859 2386 test -z "$as_dir" && as_dir=. 1860 2387 for ac_exec_ext in '' $ac_executable_extensions; do 1861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1862 2389 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52390 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1864 2391 break 2 1865 2392 fi 1866 2393 done 1867 2394 done 2395 IFS=$as_save_IFS 1868 2396 1869 2397 fi … … 1871 2399 CC=$ac_cv_prog_CC 1872 2400 if test -n "$CC"; then 1873 echo "$as_me:$LINENO: result: $CC" >&5 1874 echo "${ECHO_T}$CC" >&6 1875 else 1876 echo "$as_me:$LINENO: result: no" >&5 1877 echo "${ECHO_T}no" >&6 1878 fi 2401 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2402 $as_echo "$CC" >&6; } 2403 else 2404 { $as_echo "$as_me:$LINENO: result: no" >&5 2405 $as_echo "no" >&6; } 2406 fi 2407 1879 2408 1880 2409 test -n "$CC" && break … … 1883 2412 if test -z "$CC"; then 1884 2413 ac_ct_CC=$CC 1885 for ac_prog in cl 2414 for ac_prog in cl.exe 1886 2415 do 1887 2416 # Extract the first word of "$ac_prog", so it can be a program name with args. 1888 2417 set dummy $ac_prog; ac_word=$2 1889 echo "$as_me:$LINENO: checking for $ac_word" >&51890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2418 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2419 $as_echo_n "checking for $ac_word... " >&6; } 1891 2420 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1892 echo $ECHO_N "(cached) $ECHO_C" >&62421 $as_echo_n "(cached) " >&6 1893 2422 else 1894 2423 if test -n "$ac_ct_CC"; then … … 1901 2430 test -z "$as_dir" && as_dir=. 1902 2431 for ac_exec_ext in '' $ac_executable_extensions; do 1903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1904 2433 ac_cv_prog_ac_ct_CC="$ac_prog" 1905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52434 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1906 2435 break 2 1907 2436 fi 1908 2437 done 1909 2438 done 2439 IFS=$as_save_IFS 1910 2440 1911 2441 fi … … 1913 2443 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1914 2444 if test -n "$ac_ct_CC"; then 1915 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1916 echo "${ECHO_T}$ac_ct_CC" >&6 1917 else 1918 echo "$as_me:$LINENO: result: no" >&5 1919 echo "${ECHO_T}no" >&6 1920 fi 2445 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2446 $as_echo "$ac_ct_CC" >&6; } 2447 else 2448 { $as_echo "$as_me:$LINENO: result: no" >&5 2449 $as_echo "no" >&6; } 2450 fi 2451 1921 2452 1922 2453 test -n "$ac_ct_CC" && break 1923 2454 done 1924 2455 1925 CC=$ac_ct_CC 1926 fi 1927 1928 fi 1929 1930 1931 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2456 if test "x$ac_ct_CC" = x; then 2457 CC="" 2458 else 2459 case $cross_compiling:$ac_tool_warned in 2460 yes:) 2461 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2463 ac_tool_warned=yes ;; 2464 esac 2465 CC=$ac_ct_CC 2466 fi 2467 fi 2468 2469 fi 2470 2471 2472 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2474 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1932 2475 See \`config.log' for more details." >&5 1933 echo "$as_me: error: no acceptable C compiler found in \$PATH2476 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 1934 2477 See \`config.log' for more details." >&2;} 1935 { (exit 1); exit 1; }; } 2478 { (exit 1); exit 1; }; }; } 1936 2479 1937 2480 # Provide some information about the compiler. 1938 echo "$as_me:$LINENO:" \ 1939 "checking for C compiler version" >&5 1940 ac_compiler=`set X $ac_compile; echo $2` 1941 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1942 (eval $ac_compiler --version </dev/null >&5) 2>&5 2481 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2482 set X $ac_compile 2483 ac_compiler=$2 2484 { (ac_try="$ac_compiler --version >&5" 2485 case "(($ac_try" in 2486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2487 *) ac_try_echo=$ac_try;; 2488 esac 2489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2490 $as_echo "$ac_try_echo") >&5 2491 (eval "$ac_compiler --version >&5") 2>&5 1943 2492 ac_status=$? 1944 echo "$as_me:$LINENO: \$? = $ac_status" >&52493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1945 2494 (exit $ac_status); } 1946 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1947 (eval $ac_compiler -v </dev/null >&5) 2>&5 2495 { (ac_try="$ac_compiler -v >&5" 2496 case "(($ac_try" in 2497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2498 *) ac_try_echo=$ac_try;; 2499 esac 2500 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2501 $as_echo "$ac_try_echo") >&5 2502 (eval "$ac_compiler -v >&5") 2>&5 1948 2503 ac_status=$? 1949 echo "$as_me:$LINENO: \$? = $ac_status" >&52504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1950 2505 (exit $ac_status); } 1951 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1952 (eval $ac_compiler -V </dev/null >&5) 2>&5 2506 { (ac_try="$ac_compiler -V >&5" 2507 case "(($ac_try" in 2508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2509 *) ac_try_echo=$ac_try;; 2510 esac 2511 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2512 $as_echo "$ac_try_echo") >&5 2513 (eval "$ac_compiler -V >&5") 2>&5 1953 2514 ac_status=$? 1954 echo "$as_me:$LINENO: \$? = $ac_status" >&52515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1955 2516 (exit $ac_status); } 1956 2517 … … 1971 2532 _ACEOF 1972 2533 ac_clean_files_save=$ac_clean_files 1973 ac_clean_files="$ac_clean_files a.out a. exe b.out"2534 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 1974 2535 # Try to create an executable without -o first, disregard a.out. 1975 2536 # It will help us diagnose broken compilers, and finding out an intuition 1976 2537 # of exeext. 1977 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1978 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1979 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1980 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1981 (eval $ac_link_default) 2>&5 2538 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2539 $as_echo_n "checking for C compiler default output file name... " >&6; } 2540 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2541 2542 # The possible output files: 2543 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2544 2545 ac_rmfiles= 2546 for ac_file in $ac_files 2547 do 2548 case $ac_file in 2549 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2550 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2551 esac 2552 done 2553 rm -f $ac_rmfiles 2554 2555 if { (ac_try="$ac_link_default" 2556 case "(($ac_try" in 2557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2558 *) ac_try_echo=$ac_try;; 2559 esac 2560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2561 $as_echo "$ac_try_echo") >&5 2562 (eval "$ac_link_default") 2>&5 1982 2563 ac_status=$? 1983 echo "$as_me:$LINENO: \$? = $ac_status" >&52564 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1984 2565 (exit $ac_status); }; then 1985 # Find the output, starting from the most likely. This scheme is 1986 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1987 # resort. 1988 1989 # Be careful to initialize this variable, since it used to be cached. 1990 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1991 ac_cv_exeext= 1992 # b.out is created by i960 compilers. 1993 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2566 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2567 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2568 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2569 # so that the user can short-circuit this test for compilers unknown to 2570 # Autoconf. 2571 for ac_file in $ac_files '' 1994 2572 do 1995 2573 test -f "$ac_file" || continue 1996 2574 case $ac_file in 1997 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1998 ;; 1999 conftest.$ac_ext ) 2000 # This is the source file. 2575 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2001 2576 ;; 2002 2577 [ab].out ) … … 2005 2580 break;; 2006 2581 *.* ) 2007 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2008 # FIXME: I believe we export ac_cv_exeext for Libtool, 2009 # but it would be cool to find out if it's true. Does anybody 2010 # maintain Libtool? --akim. 2011 export ac_cv_exeext 2582 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2583 then :; else 2584 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2585 fi 2586 # We set ac_cv_exeext here because the later test for it is not 2587 # safe: cross compilers may not add the suffix if given an `-o' 2588 # argument, so we may need to know it at that point already. 2589 # Even if this section looks crufty: it has the advantage of 2590 # actually working. 2012 2591 break;; 2013 2592 * ) … … 2015 2594 esac 2016 2595 done 2017 else 2018 echo "$as_me: failed program was:" >&5 2596 test "$ac_cv_exeext" = no && ac_cv_exeext= 2597 2598 else 2599 ac_file='' 2600 fi 2601 2602 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2603 $as_echo "$ac_file" >&6; } 2604 if test -z "$ac_file"; then 2605 $as_echo "$as_me: failed program was:" >&5 2019 2606 sed 's/^/| /' conftest.$ac_ext >&5 2020 2607 2021 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2608 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2610 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2022 2611 See \`config.log' for more details." >&5 2023 echo "$as_me: error: C compiler cannot create executables2612 $as_echo "$as_me: error: C compiler cannot create executables 2024 2613 See \`config.log' for more details." >&2;} 2025 { (exit 77); exit 77; }; } 2614 { (exit 77); exit 77; }; }; } 2026 2615 fi 2027 2616 2028 2617 ac_exeext=$ac_cv_exeext 2029 echo "$as_me:$LINENO: result: $ac_file" >&5 2030 echo "${ECHO_T}$ac_file" >&6 2031 2032 # Check the compiler produces executables we can run. If not, either 2618 2619 # Check that the compiler produces executables we can run. If not, either 2033 2620 # the compiler is broken, or we cross compile. 2034 echo "$as_me:$LINENO: checking whether the C compiler works" >&52035 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2621 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2622 $as_echo_n "checking whether the C compiler works... " >&6; } 2036 2623 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2037 2624 # If not cross compiling, check that we can run a simple program. 2038 2625 if test "$cross_compiling" != yes; then 2039 2626 if { ac_try='./$ac_file' 2040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2041 (eval $ac_try) 2>&5 2627 { (case "(($ac_try" in 2628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2629 *) ac_try_echo=$ac_try;; 2630 esac 2631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2632 $as_echo "$ac_try_echo") >&5 2633 (eval "$ac_try") 2>&5 2042 2634 ac_status=$? 2043 echo "$as_me:$LINENO: \$? = $ac_status" >&52635 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2044 2636 (exit $ac_status); }; }; then 2045 2637 cross_compiling=no … … 2048 2640 cross_compiling=yes 2049 2641 else 2050 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2642 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2644 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2051 2645 If you meant to cross compile, use \`--host'. 2052 2646 See \`config.log' for more details." >&5 2053 echo "$as_me: error: cannot run C compiled programs.2647 $as_echo "$as_me: error: cannot run C compiled programs. 2054 2648 If you meant to cross compile, use \`--host'. 2055 2649 See \`config.log' for more details." >&2;} 2056 { (exit 1); exit 1; }; } 2650 { (exit 1); exit 1; }; }; } 2057 2651 fi 2058 2652 fi 2059 2653 fi 2060 echo "$as_me:$LINENO: result: yes" >&52061 echo "${ECHO_T}yes" >&6 2062 2063 rm -f a.outa.exe conftest$ac_cv_exeext b.out2654 { $as_echo "$as_me:$LINENO: result: yes" >&5 2655 $as_echo "yes" >&6; } 2656 2657 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2064 2658 ac_clean_files=$ac_clean_files_save 2065 # Check th e compiler produces executables we can run. If not, either2659 # Check that the compiler produces executables we can run. If not, either 2066 2660 # the compiler is broken, or we cross compile. 2067 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2068 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2069 echo "$as_me:$LINENO: result: $cross_compiling" >&5 2070 echo "${ECHO_T}$cross_compiling" >&6 2071 2072 echo "$as_me:$LINENO: checking for suffix of executables" >&5 2073 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2075 (eval $ac_link) 2>&5 2661 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2662 $as_echo_n "checking whether we are cross compiling... " >&6; } 2663 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2664 $as_echo "$cross_compiling" >&6; } 2665 2666 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2667 $as_echo_n "checking for suffix of executables... " >&6; } 2668 if { (ac_try="$ac_link" 2669 case "(($ac_try" in 2670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2671 *) ac_try_echo=$ac_try;; 2672 esac 2673 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2674 $as_echo "$ac_try_echo") >&5 2675 (eval "$ac_link") 2>&5 2076 2676 ac_status=$? 2077 echo "$as_me:$LINENO: \$? = $ac_status" >&52677 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2078 2678 (exit $ac_status); }; then 2079 2679 # If both `conftest.exe' and `conftest' are `present' (well, observable) … … 2084 2684 test -f "$ac_file" || continue 2085 2685 case $ac_file in 2086 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2686 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2087 2687 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2088 export ac_cv_exeext2089 2688 break;; 2090 2689 * ) break;; … … 2092 2691 done 2093 2692 else 2094 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2693 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2695 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2095 2696 See \`config.log' for more details." >&5 2096 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link2697 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2097 2698 See \`config.log' for more details." >&2;} 2098 { (exit 1); exit 1; }; } 2699 { (exit 1); exit 1; }; }; } 2099 2700 fi 2100 2701 2101 2702 rm -f conftest$ac_cv_exeext 2102 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52103 echo "${ECHO_T}$ac_cv_exeext" >&6 2703 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2704 $as_echo "$ac_cv_exeext" >&6; } 2104 2705 2105 2706 rm -f conftest.$ac_ext 2106 2707 EXEEXT=$ac_cv_exeext 2107 2708 ac_exeext=$EXEEXT 2108 echo "$as_me:$LINENO: checking for suffix of object files" >&52109 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2709 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2710 $as_echo_n "checking for suffix of object files... " >&6; } 2110 2711 if test "${ac_cv_objext+set}" = set; then 2111 echo $ECHO_N "(cached) $ECHO_C" >&62712 $as_echo_n "(cached) " >&6 2112 2713 else 2113 2714 cat >conftest.$ac_ext <<_ACEOF … … 2127 2728 _ACEOF 2128 2729 rm -f conftest.o conftest.obj 2129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2130 (eval $ac_compile) 2>&5 2730 if { (ac_try="$ac_compile" 2731 case "(($ac_try" in 2732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2733 *) ac_try_echo=$ac_try;; 2734 esac 2735 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2736 $as_echo "$ac_try_echo") >&5 2737 (eval "$ac_compile") 2>&5 2131 2738 ac_status=$? 2132 echo "$as_me:$LINENO: \$? = $ac_status" >&52739 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2133 2740 (exit $ac_status); }; then 2134 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2741 for ac_file in conftest.o conftest.obj conftest.*; do 2742 test -f "$ac_file" || continue; 2135 2743 case $ac_file in 2136 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2744 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2137 2745 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2138 2746 break;; … … 2140 2748 done 2141 2749 else 2142 echo "$as_me: failed program was:" >&52750 $as_echo "$as_me: failed program was:" >&5 2143 2751 sed 's/^/| /' conftest.$ac_ext >&5 2144 2752 2145 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2753 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2755 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2146 2756 See \`config.log' for more details." >&5 2147 echo "$as_me: error: cannot compute suffix of object files: cannot compile2757 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2148 2758 See \`config.log' for more details." >&2;} 2149 { (exit 1); exit 1; }; } 2759 { (exit 1); exit 1; }; }; } 2150 2760 fi 2151 2761 2152 2762 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2153 2763 fi 2154 echo "$as_me:$LINENO: result: $ac_cv_objext" >&52155 echo "${ECHO_T}$ac_cv_objext" >&6 2764 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2765 $as_echo "$ac_cv_objext" >&6; } 2156 2766 OBJEXT=$ac_cv_objext 2157 2767 ac_objext=$OBJEXT 2158 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52159 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2768 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2769 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2160 2770 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2161 echo $ECHO_N "(cached) $ECHO_C" >&62771 $as_echo_n "(cached) " >&6 2162 2772 else 2163 2773 cat >conftest.$ac_ext <<_ACEOF … … 2180 2790 _ACEOF 2181 2791 rm -f conftest.$ac_objext 2182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2183 (eval $ac_compile) 2>conftest.er1 2792 if { (ac_try="$ac_compile" 2793 case "(($ac_try" in 2794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2795 *) ac_try_echo=$ac_try;; 2796 esac 2797 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2798 $as_echo "$ac_try_echo") >&5 2799 (eval "$ac_compile") 2>conftest.er1 2184 2800 ac_status=$? 2185 2801 grep -v '^ *+' conftest.er1 >conftest.err 2186 2802 rm -f conftest.er1 2187 2803 cat conftest.err >&5 2188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2189 (exit $ac_status); } && 2190 { ac_try='test -z "$ac_c_werror_flag" 2191 || test ! -s conftest.err' 2192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2193 (eval $ac_try) 2>&5 2194 ac_status=$? 2195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2196 (exit $ac_status); }; } && 2197 { ac_try='test -s conftest.$ac_objext' 2198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2199 (eval $ac_try) 2>&5 2200 ac_status=$? 2201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2202 (exit $ac_status); }; }; then 2804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2805 (exit $ac_status); } && { 2806 test -z "$ac_c_werror_flag" || 2807 test ! -s conftest.err 2808 } && test -s conftest.$ac_objext; then 2203 2809 ac_compiler_gnu=yes 2204 2810 else 2205 echo "$as_me: failed program was:" >&52811 $as_echo "$as_me: failed program was:" >&5 2206 2812 sed 's/^/| /' conftest.$ac_ext >&5 2207 2813 2208 ac_compiler_gnu=no 2209 fi 2210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2814 ac_compiler_gnu=no 2815 fi 2816 2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2211 2818 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2212 2819 2213 2820 fi 2214 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2215 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2216 GCC=`test $ac_compiler_gnu = yes && echo yes` 2821 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2822 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2823 if test $ac_compiler_gnu = yes; then 2824 GCC=yes 2825 else 2826 GCC= 2827 fi 2217 2828 ac_test_CFLAGS=${CFLAGS+set} 2218 2829 ac_save_CFLAGS=$CFLAGS 2219 CFLAGS="-g" 2220 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2221 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2830 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2831 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2222 2832 if test "${ac_cv_prog_cc_g+set}" = set; then 2223 echo $ECHO_N "(cached) $ECHO_C" >&6 2224 else 2225 cat >conftest.$ac_ext <<_ACEOF 2833 $as_echo_n "(cached) " >&6 2834 else 2835 ac_save_c_werror_flag=$ac_c_werror_flag 2836 ac_c_werror_flag=yes 2837 ac_cv_prog_cc_g=no 2838 CFLAGS="-g" 2839 cat >conftest.$ac_ext <<_ACEOF 2226 2840 /* confdefs.h. */ 2227 2841 _ACEOF … … 2239 2853 _ACEOF 2240 2854 rm -f conftest.$ac_objext 2241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2242 (eval $ac_compile) 2>conftest.er1 2855 if { (ac_try="$ac_compile" 2856 case "(($ac_try" in 2857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2858 *) ac_try_echo=$ac_try;; 2859 esac 2860 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2861 $as_echo "$ac_try_echo") >&5 2862 (eval "$ac_compile") 2>conftest.er1 2243 2863 ac_status=$? 2244 2864 grep -v '^ *+' conftest.er1 >conftest.err 2245 2865 rm -f conftest.er1 2246 2866 cat conftest.err >&5 2247 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2248 (exit $ac_status); } && 2249 { ac_try='test -z "$ac_c_werror_flag" 2250 || test ! -s conftest.err' 2251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2252 (eval $ac_try) 2>&5 2867 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2868 (exit $ac_status); } && { 2869 test -z "$ac_c_werror_flag" || 2870 test ! -s conftest.err 2871 } && test -s conftest.$ac_objext; then 2872 ac_cv_prog_cc_g=yes 2873 else 2874 $as_echo "$as_me: failed program was:" >&5 2875 sed 's/^/| /' conftest.$ac_ext >&5 2876 2877 CFLAGS="" 2878 cat >conftest.$ac_ext <<_ACEOF 2879 /* confdefs.h. */ 2880 _ACEOF 2881 cat confdefs.h >>conftest.$ac_ext 2882 cat >>conftest.$ac_ext <<_ACEOF 2883 /* end confdefs.h. */ 2884 2885 int 2886 main () 2887 { 2888 2889 ; 2890 return 0; 2891 } 2892 _ACEOF 2893 rm -f conftest.$ac_objext 2894 if { (ac_try="$ac_compile" 2895 case "(($ac_try" in 2896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2897 *) ac_try_echo=$ac_try;; 2898 esac 2899 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2900 $as_echo "$ac_try_echo") >&5 2901 (eval "$ac_compile") 2>conftest.er1 2253 2902 ac_status=$? 2254 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2255 (exit $ac_status); }; } && 2256 { ac_try='test -s conftest.$ac_objext' 2257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2258 (eval $ac_try) 2>&5 2903 grep -v '^ *+' conftest.er1 >conftest.err 2904 rm -f conftest.er1 2905 cat conftest.err >&5 2906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2907 (exit $ac_status); } && { 2908 test -z "$ac_c_werror_flag" || 2909 test ! -s conftest.err 2910 } && test -s conftest.$ac_objext; then 2911 : 2912 else 2913 $as_echo "$as_me: failed program was:" >&5 2914 sed 's/^/| /' conftest.$ac_ext >&5 2915 2916 ac_c_werror_flag=$ac_save_c_werror_flag 2917 CFLAGS="-g" 2918 cat >conftest.$ac_ext <<_ACEOF 2919 /* confdefs.h. */ 2920 _ACEOF 2921 cat confdefs.h >>conftest.$ac_ext 2922 cat >>conftest.$ac_ext <<_ACEOF 2923 /* end confdefs.h. */ 2924 2925 int 2926 main () 2927 { 2928 2929 ; 2930 return 0; 2931 } 2932 _ACEOF 2933 rm -f conftest.$ac_objext 2934 if { (ac_try="$ac_compile" 2935 case "(($ac_try" in 2936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2937 *) ac_try_echo=$ac_try;; 2938 esac 2939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2940 $as_echo "$ac_try_echo") >&5 2941 (eval "$ac_compile") 2>conftest.er1 2259 2942 ac_status=$? 2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2261 (exit $ac_status); }; }; then 2943 grep -v '^ *+' conftest.er1 >conftest.err 2944 rm -f conftest.er1 2945 cat conftest.err >&5 2946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2947 (exit $ac_status); } && { 2948 test -z "$ac_c_werror_flag" || 2949 test ! -s conftest.err 2950 } && test -s conftest.$ac_objext; then 2262 2951 ac_cv_prog_cc_g=yes 2263 2952 else 2264 echo "$as_me: failed program was:" >&52953 $as_echo "$as_me: failed program was:" >&5 2265 2954 sed 's/^/| /' conftest.$ac_ext >&5 2266 2955 2267 ac_cv_prog_cc_g=no 2268 fi 2269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2270 fi 2271 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2272 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2956 2957 fi 2958 2959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2960 fi 2961 2962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2963 fi 2964 2965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2966 ac_c_werror_flag=$ac_save_c_werror_flag 2967 fi 2968 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2969 $as_echo "$ac_cv_prog_cc_g" >&6; } 2273 2970 if test "$ac_test_CFLAGS" = set; then 2274 2971 CFLAGS=$ac_save_CFLAGS … … 2286 2983 fi 2287 2984 fi 2288 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52289 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2290 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2291 echo $ECHO_N "(cached) $ECHO_C" >&62292 else 2293 ac_cv_prog_cc_ stdc=no2985 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2986 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2987 if test "${ac_cv_prog_cc_c89+set}" = set; then 2988 $as_echo_n "(cached) " >&6 2989 else 2990 ac_cv_prog_cc_c89=no 2294 2991 ac_save_CC=$CC 2295 2992 cat >conftest.$ac_ext <<_ACEOF … … 2325 3022 function prototypes and stuff, but not '\xHH' hex character constants. 2326 3023 These don't provoke an error unfortunately, instead are silently treated 2327 as 'x'. The following induces an error, until -std 1is added to get3024 as 'x'. The following induces an error, until -std is added to get 2328 3025 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2329 3026 array size at least. It's necessary to write '\x00'==0 to get something 2330 that's true only with -std 1. */3027 that's true only with -std. */ 2331 3028 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3029 3030 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3031 inside strings and character constants. */ 3032 #define FOO(x) 'x' 3033 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2332 3034 2333 3035 int test (int i, double x); … … 2345 3047 } 2346 3048 _ACEOF 2347 # Don't try gcc -ansi; that turns off useful extensions and 2348 # breaks some systems' header files. 2349 # AIX -qlanglvl=ansi 2350 # Ultrix and OSF/1 -std1 2351 # HP-UX 10.20 and later -Ae 2352 # HP-UX older versions -Aa -D_HPUX_SOURCE 2353 # SVR4 -Xc -D__EXTENSIONS__ 2354 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3049 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3050 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2355 3051 do 2356 3052 CC="$ac_save_CC $ac_arg" 2357 3053 rm -f conftest.$ac_objext 2358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2359 (eval $ac_compile) 2>conftest.er1 3054 if { (ac_try="$ac_compile" 3055 case "(($ac_try" in 3056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3057 *) ac_try_echo=$ac_try;; 3058 esac 3059 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3060 $as_echo "$ac_try_echo") >&5 3061 (eval "$ac_compile") 2>conftest.er1 2360 3062 ac_status=$? 2361 3063 grep -v '^ *+' conftest.er1 >conftest.err 2362 3064 rm -f conftest.er1 2363 3065 cat conftest.err >&5 2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2365 (exit $ac_status); } && 2366 { ac_try='test -z "$ac_c_werror_flag" 2367 || test ! -s conftest.err' 2368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2369 (eval $ac_try) 2>&5 2370 ac_status=$? 2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2372 (exit $ac_status); }; } && 2373 { ac_try='test -s conftest.$ac_objext' 2374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2375 (eval $ac_try) 2>&5 2376 ac_status=$? 2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2378 (exit $ac_status); }; }; then 2379 ac_cv_prog_cc_stdc=$ac_arg 2380 break 2381 else 2382 echo "$as_me: failed program was:" >&5 3066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3067 (exit $ac_status); } && { 3068 test -z "$ac_c_werror_flag" || 3069 test ! -s conftest.err 3070 } && test -s conftest.$ac_objext; then 3071 ac_cv_prog_cc_c89=$ac_arg 3072 else 3073 $as_echo "$as_me: failed program was:" >&5 2383 3074 sed 's/^/| /' conftest.$ac_ext >&5 2384 3075 2385 fi 2386 rm -f conftest.err conftest.$ac_objext 3076 3077 fi 3078 3079 rm -f core conftest.err conftest.$ac_objext 3080 test "x$ac_cv_prog_cc_c89" != "xno" && break 2387 3081 done 2388 rm -f conftest.$ac_ext conftest.$ac_objext3082 rm -f conftest.$ac_ext 2389 3083 CC=$ac_save_CC 2390 3084 2391 3085 fi 2392 2393 case "x$ac_cv_prog_cc_stdc" in 2394 x|xno) 2395 echo "$as_me:$LINENO: result: none needed" >&5 2396 echo "${ECHO_T}none needed" >&6 ;; 3086 # AC_CACHE_VAL 3087 case "x$ac_cv_prog_cc_c89" in 3088 x) 3089 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3090 $as_echo "none needed" >&6; } ;; 3091 xno) 3092 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3093 $as_echo "unsupported" >&6; } ;; 2397 3094 *) 2398 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2399 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2400 CC="$CC $ac_cv_prog_cc_stdc" ;; 2401 esac 2402 2403 # Some people use a C++ compiler to compile C. Since we use `exit', 2404 # in C++ we need to declare it. In case someone uses the same compiler 2405 # for both compiling C and C++ we need to have the C++ compiler decide 2406 # the declaration of exit, since it's the most demanding environment. 2407 cat >conftest.$ac_ext <<_ACEOF 2408 #ifndef __cplusplus 2409 choke me 2410 #endif 2411 _ACEOF 2412 rm -f conftest.$ac_objext 2413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2414 (eval $ac_compile) 2>conftest.er1 2415 ac_status=$? 2416 grep -v '^ *+' conftest.er1 >conftest.err 2417 rm -f conftest.er1 2418 cat conftest.err >&5 2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2420 (exit $ac_status); } && 2421 { ac_try='test -z "$ac_c_werror_flag" 2422 || test ! -s conftest.err' 2423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2424 (eval $ac_try) 2>&5 2425 ac_status=$? 2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2427 (exit $ac_status); }; } && 2428 { ac_try='test -s conftest.$ac_objext' 2429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2430 (eval $ac_try) 2>&5 2431 ac_status=$? 2432 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2433 (exit $ac_status); }; }; then 2434 for ac_declaration in \ 2435 '' \ 2436 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2437 'extern "C" void std::exit (int); using std::exit;' \ 2438 'extern "C" void exit (int) throw ();' \ 2439 'extern "C" void exit (int);' \ 2440 'void exit (int);' 2441 do 2442 cat >conftest.$ac_ext <<_ACEOF 2443 /* confdefs.h. */ 2444 _ACEOF 2445 cat confdefs.h >>conftest.$ac_ext 2446 cat >>conftest.$ac_ext <<_ACEOF 2447 /* end confdefs.h. */ 2448 $ac_declaration 2449 #include <stdlib.h> 2450 int 2451 main () 2452 { 2453 exit (42); 2454 ; 2455 return 0; 2456 } 2457 _ACEOF 2458 rm -f conftest.$ac_objext 2459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2460 (eval $ac_compile) 2>conftest.er1 2461 ac_status=$? 2462 grep -v '^ *+' conftest.er1 >conftest.err 2463 rm -f conftest.er1 2464 cat conftest.err >&5 2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2466 (exit $ac_status); } && 2467 { ac_try='test -z "$ac_c_werror_flag" 2468 || test ! -s conftest.err' 2469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2470 (eval $ac_try) 2>&5 2471 ac_status=$? 2472 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2473 (exit $ac_status); }; } && 2474 { ac_try='test -s conftest.$ac_objext' 2475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2476 (eval $ac_try) 2>&5 2477 ac_status=$? 2478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2479 (exit $ac_status); }; }; then 2480 : 2481 else 2482 echo "$as_me: failed program was:" >&5 2483 sed 's/^/| /' conftest.$ac_ext >&5 2484 2485 continue 2486 fi 2487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2488 cat >conftest.$ac_ext <<_ACEOF 2489 /* confdefs.h. */ 2490 _ACEOF 2491 cat confdefs.h >>conftest.$ac_ext 2492 cat >>conftest.$ac_ext <<_ACEOF 2493 /* end confdefs.h. */ 2494 $ac_declaration 2495 int 2496 main () 2497 { 2498 exit (42); 2499 ; 2500 return 0; 2501 } 2502 _ACEOF 2503 rm -f conftest.$ac_objext 2504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2505 (eval $ac_compile) 2>conftest.er1 2506 ac_status=$? 2507 grep -v '^ *+' conftest.er1 >conftest.err 2508 rm -f conftest.er1 2509 cat conftest.err >&5 2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2511 (exit $ac_status); } && 2512 { ac_try='test -z "$ac_c_werror_flag" 2513 || test ! -s conftest.err' 2514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2515 (eval $ac_try) 2>&5 2516 ac_status=$? 2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2518 (exit $ac_status); }; } && 2519 { ac_try='test -s conftest.$ac_objext' 2520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2521 (eval $ac_try) 2>&5 2522 ac_status=$? 2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2524 (exit $ac_status); }; }; then 2525 break 2526 else 2527 echo "$as_me: failed program was:" >&5 2528 sed 's/^/| /' conftest.$ac_ext >&5 2529 2530 fi 2531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2532 done 2533 rm -f conftest* 2534 if test -n "$ac_declaration"; then 2535 echo '#ifdef __cplusplus' >>confdefs.h 2536 echo $ac_declaration >>confdefs.h 2537 echo '#endif' >>confdefs.h 2538 fi 2539 2540 else 2541 echo "$as_me: failed program was:" >&5 2542 sed 's/^/| /' conftest.$ac_ext >&5 2543 2544 fi 2545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3095 CC="$CC $ac_cv_prog_cc_c89" 3096 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3097 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3098 esac 3099 3100 2546 3101 ac_ext=c 2547 3102 ac_cpp='$CPP $CPPFLAGS' … … 2550 3105 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2551 3106 2552 ac_ext=c c3107 ac_ext=cpp 2553 3108 ac_cpp='$CXXCPP $CPPFLAGS' 2554 3109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2555 3110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2556 3111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2557 if test -n "$ac_tool_prefix"; then 2558 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 3112 if test -z "$CXX"; then 3113 if test -n "$CCC"; then 3114 CXX=$CCC 3115 else 3116 if test -n "$ac_tool_prefix"; then 3117 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2559 3118 do 2560 3119 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2561 3120 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2562 echo "$as_me:$LINENO: checking for $ac_word" >&52563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3121 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3122 $as_echo_n "checking for $ac_word... " >&6; } 2564 3123 if test "${ac_cv_prog_CXX+set}" = set; then 2565 echo $ECHO_N "(cached) $ECHO_C" >&63124 $as_echo_n "(cached) " >&6 2566 3125 else 2567 3126 if test -n "$CXX"; then … … 2574 3133 test -z "$as_dir" && as_dir=. 2575 3134 for ac_exec_ext in '' $ac_executable_extensions; do 2576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2577 3136 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53137 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2579 3138 break 2 2580 3139 fi 2581 3140 done 2582 3141 done 3142 IFS=$as_save_IFS 2583 3143 2584 3144 fi … … 2586 3146 CXX=$ac_cv_prog_CXX 2587 3147 if test -n "$CXX"; then 2588 echo "$as_me:$LINENO: result: $CXX" >&5 2589 echo "${ECHO_T}$CXX" >&6 2590 else 2591 echo "$as_me:$LINENO: result: no" >&5 2592 echo "${ECHO_T}no" >&6 2593 fi 3148 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 3149 $as_echo "$CXX" >&6; } 3150 else 3151 { $as_echo "$as_me:$LINENO: result: no" >&5 3152 $as_echo "no" >&6; } 3153 fi 3154 2594 3155 2595 3156 test -n "$CXX" && break … … 2598 3159 if test -z "$CXX"; then 2599 3160 ac_ct_CXX=$CXX 2600 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ clFCC KCC RCC xlC_r xlC3161 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2601 3162 do 2602 3163 # Extract the first word of "$ac_prog", so it can be a program name with args. 2603 3164 set dummy $ac_prog; ac_word=$2 2604 echo "$as_me:$LINENO: checking for $ac_word" >&52605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3165 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3166 $as_echo_n "checking for $ac_word... " >&6; } 2606 3167 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2607 echo $ECHO_N "(cached) $ECHO_C" >&63168 $as_echo_n "(cached) " >&6 2608 3169 else 2609 3170 if test -n "$ac_ct_CXX"; then … … 2616 3177 test -z "$as_dir" && as_dir=. 2617 3178 for ac_exec_ext in '' $ac_executable_extensions; do 2618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2619 3180 ac_cv_prog_ac_ct_CXX="$ac_prog" 2620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53181 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2621 3182 break 2 2622 3183 fi 2623 3184 done 2624 3185 done 3186 IFS=$as_save_IFS 2625 3187 2626 3188 fi … … 2628 3190 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2629 3191 if test -n "$ac_ct_CXX"; then 2630 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2631 echo "${ECHO_T}$ac_ct_CXX" >&6 2632 else 2633 echo "$as_me:$LINENO: result: no" >&5 2634 echo "${ECHO_T}no" >&6 2635 fi 3192 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 3193 $as_echo "$ac_ct_CXX" >&6; } 3194 else 3195 { $as_echo "$as_me:$LINENO: result: no" >&5 3196 $as_echo "no" >&6; } 3197 fi 3198 2636 3199 2637 3200 test -n "$ac_ct_CXX" && break 2638 3201 done 2639 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2640 2641 CXX=$ac_ct_CXX 2642 fi 2643 2644 3202 3203 if test "x$ac_ct_CXX" = x; then 3204 CXX="g++" 3205 else 3206 case $cross_compiling:$ac_tool_warned in 3207 yes:) 3208 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3210 ac_tool_warned=yes ;; 3211 esac 3212 CXX=$ac_ct_CXX 3213 fi 3214 fi 3215 3216 fi 3217 fi 2645 3218 # Provide some information about the compiler. 2646 echo "$as_me:$LINENO:" \ 2647 "checking for C++ compiler version" >&5 2648 ac_compiler=`set X $ac_compile; echo $2` 2649 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2650 (eval $ac_compiler --version </dev/null >&5) 2>&5 3219 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3220 set X $ac_compile 3221 ac_compiler=$2 3222 { (ac_try="$ac_compiler --version >&5" 3223 case "(($ac_try" in 3224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3225 *) ac_try_echo=$ac_try;; 3226 esac 3227 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3228 $as_echo "$ac_try_echo") >&5 3229 (eval "$ac_compiler --version >&5") 2>&5 2651 3230 ac_status=$? 2652 echo "$as_me:$LINENO: \$? = $ac_status" >&53231 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2653 3232 (exit $ac_status); } 2654 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2655 (eval $ac_compiler -v </dev/null >&5) 2>&5 3233 { (ac_try="$ac_compiler -v >&5" 3234 case "(($ac_try" in 3235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3236 *) ac_try_echo=$ac_try;; 3237 esac 3238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3239 $as_echo "$ac_try_echo") >&5 3240 (eval "$ac_compiler -v >&5") 2>&5 2656 3241 ac_status=$? 2657 echo "$as_me:$LINENO: \$? = $ac_status" >&53242 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2658 3243 (exit $ac_status); } 2659 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2660 (eval $ac_compiler -V </dev/null >&5) 2>&5 3244 { (ac_try="$ac_compiler -V >&5" 3245 case "(($ac_try" in 3246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3247 *) ac_try_echo=$ac_try;; 3248 esac 3249 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3250 $as_echo "$ac_try_echo") >&5 3251 (eval "$ac_compiler -V >&5") 2>&5 2661 3252 ac_status=$? 2662 echo "$as_me:$LINENO: \$? = $ac_status" >&53253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2663 3254 (exit $ac_status); } 2664 3255 2665 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&52666 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 3256 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3257 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 2667 3258 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2668 echo $ECHO_N "(cached) $ECHO_C" >&63259 $as_echo_n "(cached) " >&6 2669 3260 else 2670 3261 cat >conftest.$ac_ext <<_ACEOF … … 2687 3278 _ACEOF 2688 3279 rm -f conftest.$ac_objext 2689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2690 (eval $ac_compile) 2>conftest.er1 3280 if { (ac_try="$ac_compile" 3281 case "(($ac_try" in 3282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3283 *) ac_try_echo=$ac_try;; 3284 esac 3285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3286 $as_echo "$ac_try_echo") >&5 3287 (eval "$ac_compile") 2>conftest.er1 2691 3288 ac_status=$? 2692 3289 grep -v '^ *+' conftest.er1 >conftest.err 2693 3290 rm -f conftest.er1 2694 3291 cat conftest.err >&5 2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2696 (exit $ac_status); } && 2697 { ac_try='test -z "$ac_cxx_werror_flag" 2698 || test ! -s conftest.err' 2699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2700 (eval $ac_try) 2>&5 2701 ac_status=$? 2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2703 (exit $ac_status); }; } && 2704 { ac_try='test -s conftest.$ac_objext' 2705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2706 (eval $ac_try) 2>&5 2707 ac_status=$? 2708 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2709 (exit $ac_status); }; }; then 3292 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3293 (exit $ac_status); } && { 3294 test -z "$ac_cxx_werror_flag" || 3295 test ! -s conftest.err 3296 } && test -s conftest.$ac_objext; then 2710 3297 ac_compiler_gnu=yes 2711 3298 else 2712 echo "$as_me: failed program was:" >&53299 $as_echo "$as_me: failed program was:" >&5 2713 3300 sed 's/^/| /' conftest.$ac_ext >&5 2714 3301 2715 ac_compiler_gnu=no 2716 fi 2717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3302 ac_compiler_gnu=no 3303 fi 3304 3305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2718 3306 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2719 3307 2720 3308 fi 2721 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2722 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2723 GXX=`test $ac_compiler_gnu = yes && echo yes` 3309 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3310 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3311 if test $ac_compiler_gnu = yes; then 3312 GXX=yes 3313 else 3314 GXX= 3315 fi 2724 3316 ac_test_CXXFLAGS=${CXXFLAGS+set} 2725 3317 ac_save_CXXFLAGS=$CXXFLAGS 2726 CXXFLAGS="-g" 2727 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2728 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 3318 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3319 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 2729 3320 if test "${ac_cv_prog_cxx_g+set}" = set; then 2730 echo $ECHO_N "(cached) $ECHO_C" >&6 2731 else 2732 cat >conftest.$ac_ext <<_ACEOF 3321 $as_echo_n "(cached) " >&6 3322 else 3323 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3324 ac_cxx_werror_flag=yes 3325 ac_cv_prog_cxx_g=no 3326 CXXFLAGS="-g" 3327 cat >conftest.$ac_ext <<_ACEOF 2733 3328 /* confdefs.h. */ 2734 3329 _ACEOF … … 2746 3341 _ACEOF 2747 3342 rm -f conftest.$ac_objext 2748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2749 (eval $ac_compile) 2>conftest.er1 3343 if { (ac_try="$ac_compile" 3344 case "(($ac_try" in 3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3346 *) ac_try_echo=$ac_try;; 3347 esac 3348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3349 $as_echo "$ac_try_echo") >&5 3350 (eval "$ac_compile") 2>conftest.er1 2750 3351 ac_status=$? 2751 3352 grep -v '^ *+' conftest.er1 >conftest.err 2752 3353 rm -f conftest.er1 2753 3354 cat conftest.err >&5 2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2755 (exit $ac_status); } && 2756 { ac_try='test -z "$ac_cxx_werror_flag" 2757 || test ! -s conftest.err' 2758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2759 (eval $ac_try) 2>&5 3355 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3356 (exit $ac_status); } && { 3357 test -z "$ac_cxx_werror_flag" || 3358 test ! -s conftest.err 3359 } && test -s conftest.$ac_objext; then 3360 ac_cv_prog_cxx_g=yes 3361 else 3362 $as_echo "$as_me: failed program was:" >&5 3363 sed 's/^/| /' conftest.$ac_ext >&5 3364 3365 CXXFLAGS="" 3366 cat >conftest.$ac_ext <<_ACEOF 3367 /* confdefs.h. */ 3368 _ACEOF 3369 cat confdefs.h >>conftest.$ac_ext 3370 cat >>conftest.$ac_ext <<_ACEOF 3371 /* end confdefs.h. */ 3372 3373 int 3374 main () 3375 { 3376 3377 ; 3378 return 0; 3379 } 3380 _ACEOF 3381 rm -f conftest.$ac_objext 3382 if { (ac_try="$ac_compile" 3383 case "(($ac_try" in 3384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3385 *) ac_try_echo=$ac_try;; 3386 esac 3387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3388 $as_echo "$ac_try_echo") >&5 3389 (eval "$ac_compile") 2>conftest.er1 2760 3390 ac_status=$? 2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2762 (exit $ac_status); }; } && 2763 { ac_try='test -s conftest.$ac_objext' 2764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2765 (eval $ac_try) 2>&5 3391 grep -v '^ *+' conftest.er1 >conftest.err 3392 rm -f conftest.er1 3393 cat conftest.err >&5 3394 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3395 (exit $ac_status); } && { 3396 test -z "$ac_cxx_werror_flag" || 3397 test ! -s conftest.err 3398 } && test -s conftest.$ac_objext; then 3399 : 3400 else 3401 $as_echo "$as_me: failed program was:" >&5 3402 sed 's/^/| /' conftest.$ac_ext >&5 3403 3404 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3405 CXXFLAGS="-g" 3406 cat >conftest.$ac_ext <<_ACEOF 3407 /* confdefs.h. */ 3408 _ACEOF 3409 cat confdefs.h >>conftest.$ac_ext 3410 cat >>conftest.$ac_ext <<_ACEOF 3411 /* end confdefs.h. */ 3412 3413 int 3414 main () 3415 { 3416 3417 ; 3418 return 0; 3419 } 3420 _ACEOF 3421 rm -f conftest.$ac_objext 3422 if { (ac_try="$ac_compile" 3423 case "(($ac_try" in 3424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3425 *) ac_try_echo=$ac_try;; 3426 esac 3427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3428 $as_echo "$ac_try_echo") >&5 3429 (eval "$ac_compile") 2>conftest.er1 2766 3430 ac_status=$? 2767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2768 (exit $ac_status); }; }; then 3431 grep -v '^ *+' conftest.er1 >conftest.err 3432 rm -f conftest.er1 3433 cat conftest.err >&5 3434 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3435 (exit $ac_status); } && { 3436 test -z "$ac_cxx_werror_flag" || 3437 test ! -s conftest.err 3438 } && test -s conftest.$ac_objext; then 2769 3439 ac_cv_prog_cxx_g=yes 2770 3440 else 2771 echo "$as_me: failed program was:" >&53441 $as_echo "$as_me: failed program was:" >&5 2772 3442 sed 's/^/| /' conftest.$ac_ext >&5 2773 3443 2774 ac_cv_prog_cxx_g=no 2775 fi 2776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2777 fi 2778 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2779 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3444 3445 fi 3446 3447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3448 fi 3449 3450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3451 fi 3452 3453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3454 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3455 fi 3456 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3457 $as_echo "$ac_cv_prog_cxx_g" >&6; } 2780 3458 if test "$ac_test_CXXFLAGS" = set; then 2781 3459 CXXFLAGS=$ac_save_CXXFLAGS … … 2793 3471 fi 2794 3472 fi 2795 for ac_declaration in \2796 '' \2797 'extern "C" void std::exit (int) throw (); using std::exit;' \2798 'extern "C" void std::exit (int); using std::exit;' \2799 'extern "C" void exit (int) throw ();' \2800 'extern "C" void exit (int);' \2801 'void exit (int);'2802 do2803 cat >conftest.$ac_ext <<_ACEOF2804 /* confdefs.h. */2805 _ACEOF2806 cat confdefs.h >>conftest.$ac_ext2807 cat >>conftest.$ac_ext <<_ACEOF2808 /* end confdefs.h. */2809 $ac_declaration2810 #include <stdlib.h>2811 int2812 main ()2813 {2814 exit (42);2815 ;2816 return 0;2817 }2818 _ACEOF2819 rm -f conftest.$ac_objext2820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52821 (eval $ac_compile) 2>conftest.er12822 ac_status=$?2823 grep -v '^ *+' conftest.er1 >conftest.err2824 rm -f conftest.er12825 cat conftest.err >&52826 echo "$as_me:$LINENO: \$? = $ac_status" >&52827 (exit $ac_status); } &&2828 { ac_try='test -z "$ac_cxx_werror_flag"2829 || test ! -s conftest.err'2830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52831 (eval $ac_try) 2>&52832 ac_status=$?2833 echo "$as_me:$LINENO: \$? = $ac_status" >&52834 (exit $ac_status); }; } &&2835 { ac_try='test -s conftest.$ac_objext'2836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52837 (eval $ac_try) 2>&52838 ac_status=$?2839 echo "$as_me:$LINENO: \$? = $ac_status" >&52840 (exit $ac_status); }; }; then2841 :2842 else2843 echo "$as_me: failed program was:" >&52844 sed 's/^/| /' conftest.$ac_ext >&52845 2846 continue2847 fi2848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2849 cat >conftest.$ac_ext <<_ACEOF2850 /* confdefs.h. */2851 _ACEOF2852 cat confdefs.h >>conftest.$ac_ext2853 cat >>conftest.$ac_ext <<_ACEOF2854 /* end confdefs.h. */2855 $ac_declaration2856 int2857 main ()2858 {2859 exit (42);2860 ;2861 return 0;2862 }2863 _ACEOF2864 rm -f conftest.$ac_objext2865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52866 (eval $ac_compile) 2>conftest.er12867 ac_status=$?2868 grep -v '^ *+' conftest.er1 >conftest.err2869 rm -f conftest.er12870 cat conftest.err >&52871 echo "$as_me:$LINENO: \$? = $ac_status" >&52872 (exit $ac_status); } &&2873 { ac_try='test -z "$ac_cxx_werror_flag"2874 || test ! -s conftest.err'2875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52876 (eval $ac_try) 2>&52877 ac_status=$?2878 echo "$as_me:$LINENO: \$? = $ac_status" >&52879 (exit $ac_status); }; } &&2880 { ac_try='test -s conftest.$ac_objext'2881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52882 (eval $ac_try) 2>&52883 ac_status=$?2884 echo "$as_me:$LINENO: \$? = $ac_status" >&52885 (exit $ac_status); }; }; then2886 break2887 else2888 echo "$as_me: failed program was:" >&52889 sed 's/^/| /' conftest.$ac_ext >&52890 2891 fi2892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2893 done2894 rm -f conftest*2895 if test -n "$ac_declaration"; then2896 echo '#ifdef __cplusplus' >>confdefs.h2897 echo $ac_declaration >>confdefs.h2898 echo '#endif' >>confdefs.h2899 fi2900 2901 3473 ac_ext=c 2902 3474 ac_cpp='$CPP $CPPFLAGS' … … 2914 3486 # Extract the first word of "$ac_prog", so it can be a program name with args. 2915 3487 set dummy $ac_prog; ac_word=$2 2916 echo "$as_me:$LINENO: checking for $ac_word" >&52917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3488 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3489 $as_echo_n "checking for $ac_word... " >&6; } 2918 3490 if test "${ac_cv_prog_JAVAC+set}" = set; then 2919 echo $ECHO_N "(cached) $ECHO_C" >&63491 $as_echo_n "(cached) " >&6 2920 3492 else 2921 3493 if test -n "$JAVAC"; then … … 2928 3500 test -z "$as_dir" && as_dir=. 2929 3501 for ac_exec_ext in '' $ac_executable_extensions; do 2930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2931 3503 ac_cv_prog_JAVAC="$ac_prog" 2932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53504 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2933 3505 break 2 2934 3506 fi 2935 3507 done 2936 3508 done 3509 IFS=$as_save_IFS 2937 3510 2938 3511 fi … … 2940 3513 JAVAC=$ac_cv_prog_JAVAC 2941 3514 if test -n "$JAVAC"; then 2942 echo "$as_me:$LINENO: result: $JAVAC" >&5 2943 echo "${ECHO_T}$JAVAC" >&6 2944 else 2945 echo "$as_me:$LINENO: result: no" >&5 2946 echo "${ECHO_T}no" >&6 2947 fi 3515 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3516 $as_echo "$JAVAC" >&6; } 3517 else 3518 { $as_echo "$as_me:$LINENO: result: no" >&5 3519 $as_echo "no" >&6; } 3520 fi 3521 2948 3522 2949 3523 test -n "$JAVAC" && break … … 2955 3529 # Extract the first word of "$ac_prog", so it can be a program name with args. 2956 3530 set dummy $ac_prog; ac_word=$2 2957 echo "$as_me:$LINENO: checking for $ac_word" >&52958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3531 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3532 $as_echo_n "checking for $ac_word... " >&6; } 2959 3533 if test "${ac_cv_prog_JAVAC+set}" = set; then 2960 echo $ECHO_N "(cached) $ECHO_C" >&63534 $as_echo_n "(cached) " >&6 2961 3535 else 2962 3536 if test -n "$JAVAC"; then … … 2969 3543 test -z "$as_dir" && as_dir=. 2970 3544 for ac_exec_ext in '' $ac_executable_extensions; do 2971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2972 3546 ac_cv_prog_JAVAC="$ac_prog" 2973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53547 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2974 3548 break 2 2975 3549 fi 2976 3550 done 2977 3551 done 3552 IFS=$as_save_IFS 2978 3553 2979 3554 fi … … 2981 3556 JAVAC=$ac_cv_prog_JAVAC 2982 3557 if test -n "$JAVAC"; then 2983 echo "$as_me:$LINENO: result: $JAVAC" >&5 2984 echo "${ECHO_T}$JAVAC" >&6 2985 else 2986 echo "$as_me:$LINENO: result: no" >&5 2987 echo "${ECHO_T}no" >&6 2988 fi 3558 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3559 $as_echo "$JAVAC" >&6; } 3560 else 3561 { $as_echo "$as_me:$LINENO: result: no" >&5 3562 $as_echo "no" >&6; } 3563 fi 3564 2989 3565 2990 3566 test -n "$JAVAC" && break … … 2993 3569 2994 3570 fi 2995 test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&52996 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}3571 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3572 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 2997 3573 { (exit 1); exit 1; }; } 2998 3574 else … … 3002 3578 3003 3579 3004 echo "$as_me:$LINENO: checking if $JAVAC works" >&53005 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6 3580 { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5 3581 $as_echo_n "checking if $JAVAC works... " >&6; } 3006 3582 if test "${ac_cv_prog_javac_works+set}" = set; then 3007 echo $ECHO_N "(cached) $ECHO_C" >&63583 $as_echo_n "(cached) " >&6 3008 3584 else 3009 3585 … … 3011 3587 CLASS_TEST=Test.class 3012 3588 cat << \EOF > $JAVA_TEST 3013 /* #line 3 013"configure" */3589 /* #line 3589 "configure" */ 3014 3590 public class Test { 3015 3591 } … … 3019 3595 (eval $ac_try) 2>&5 3020 3596 ac_status=$? 3021 echo "$as_me:$LINENO: \$? = $ac_status" >&53597 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3022 3598 (exit $ac_status); }; } >/dev/null 2>&1; then 3023 3599 ac_cv_prog_javac_works=yes 3024 3600 else 3025 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&53026 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}3601 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3602 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3027 3603 { (exit 1); exit 1; }; } 3028 3604 echo "configure: failed program was:" >&5 … … 3032 3608 3033 3609 fi 3034 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&53035 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6 3610 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 3611 $as_echo "$ac_cv_prog_javac_works" >&6; } 3036 3612 if test "x$JAVACFLAGS" = x ; then 3037 3613 JAVACFLAGS="-source 1.4 -target 1.4" … … 3047 3623 # Extract the first word of "$ac_prog", so it can be a program name with args. 3048 3624 set dummy $ac_prog; ac_word=$2 3049 echo "$as_me:$LINENO: checking for $ac_word" >&53050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3625 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3626 $as_echo_n "checking for $ac_word... " >&6; } 3051 3627 if test "${ac_cv_prog_JAVA+set}" = set; then 3052 echo $ECHO_N "(cached) $ECHO_C" >&63628 $as_echo_n "(cached) " >&6 3053 3629 else 3054 3630 if test -n "$JAVA"; then … … 3061 3637 test -z "$as_dir" && as_dir=. 3062 3638 for ac_exec_ext in '' $ac_executable_extensions; do 3063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3064 3640 ac_cv_prog_JAVA="$ac_prog" 3065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53641 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3066 3642 break 2 3067 3643 fi 3068 3644 done 3069 3645 done 3646 IFS=$as_save_IFS 3070 3647 3071 3648 fi … … 3073 3650 JAVA=$ac_cv_prog_JAVA 3074 3651 if test -n "$JAVA"; then 3075 echo "$as_me:$LINENO: result: $JAVA" >&5 3076 echo "${ECHO_T}$JAVA" >&6 3077 else 3078 echo "$as_me:$LINENO: result: no" >&5 3079 echo "${ECHO_T}no" >&6 3080 fi 3652 { $as_echo "$as_me:$LINENO: result: $JAVA" >&5 3653 $as_echo "$JAVA" >&6; } 3654 else 3655 { $as_echo "$as_me:$LINENO: result: no" >&5 3656 $as_echo "no" >&6; } 3657 fi 3658 3081 3659 3082 3660 test -n "$JAVA" && break … … 3088 3666 # Extract the first word of "$ac_prog", so it can be a program name with args. 3089 3667 set dummy $ac_prog; ac_word=$2 3090 echo "$as_me:$LINENO: checking for $ac_word" >&53091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3668 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3669 $as_echo_n "checking for $ac_word... " >&6; } 3092 3670 if test "${ac_cv_prog_JAVA+set}" = set; then 3093 echo $ECHO_N "(cached) $ECHO_C" >&63671 $as_echo_n "(cached) " >&6 3094 3672 else 3095 3673 if test -n "$JAVA"; then … … 3102 3680 test -z "$as_dir" && as_dir=. 3103 3681 for ac_exec_ext in '' $ac_executable_extensions; do 3104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3105 3683 ac_cv_prog_JAVA="$ac_prog" 3106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53684 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3107 3685 break 2 3108 3686 fi 3109 3687 done 3110 3688 done 3689 IFS=$as_save_IFS 3111 3690 3112 3691 fi … … 3114 3693 JAVA=$ac_cv_prog_JAVA 3115 3694 if test -n "$JAVA"; then 3116 echo "$as_me:$LINENO: result: $JAVA" >&5 3117 echo "${ECHO_T}$JAVA" >&6 3118 else 3119 echo "$as_me:$LINENO: result: no" >&5 3120 echo "${ECHO_T}no" >&6 3121 fi 3695 { $as_echo "$as_me:$LINENO: result: $JAVA" >&5 3696 $as_echo "$JAVA" >&6; } 3697 else 3698 { $as_echo "$as_me:$LINENO: result: no" >&5 3699 $as_echo "no" >&6; } 3700 fi 3701 3122 3702 3123 3703 test -n "$JAVA" && break … … 3126 3706 3127 3707 fi 3128 test x$JAVA = x && { { echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&53129 echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;}3708 test x$JAVA = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5 3709 $as_echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;} 3130 3710 { (exit 1); exit 1; }; } 3131 3711 fi … … 3134 3714 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args. 3135 3715 set dummy uudecode$EXEEXT; ac_word=$2 3136 echo "$as_me:$LINENO: checking for $ac_word" >&53137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3716 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3717 $as_echo_n "checking for $ac_word... " >&6; } 3138 3718 if test "${ac_cv_prog_uudecode+set}" = set; then 3139 echo $ECHO_N "(cached) $ECHO_C" >&63719 $as_echo_n "(cached) " >&6 3140 3720 else 3141 3721 if test -n "$uudecode"; then … … 3148 3728 test -z "$as_dir" && as_dir=. 3149 3729 for ac_exec_ext in '' $ac_executable_extensions; do 3150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3151 3731 ac_cv_prog_uudecode="yes" 3152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53732 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3153 3733 break 2 3154 3734 fi 3155 3735 done 3156 3736 done 3737 IFS=$as_save_IFS 3157 3738 3158 3739 fi … … 3160 3741 uudecode=$ac_cv_prog_uudecode 3161 3742 if test -n "$uudecode"; then 3162 echo "$as_me:$LINENO: result: $uudecode" >&5 3163 echo "${ECHO_T}$uudecode" >&6 3164 else 3165 echo "$as_me:$LINENO: result: no" >&5 3166 echo "${ECHO_T}no" >&6 3167 fi 3743 { $as_echo "$as_me:$LINENO: result: $uudecode" >&5 3744 $as_echo "$uudecode" >&6; } 3745 else 3746 { $as_echo "$as_me:$LINENO: result: no" >&5 3747 $as_echo "no" >&6; } 3748 fi 3749 3168 3750 3169 3751 if test x$uudecode = xyes; then 3170 echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&53171 echo $ECHO_N "checking if uudecode can decode base 64 file... $ECHO_C" >&6 3752 { $as_echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5 3753 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; } 3172 3754 if test "${ac_cv_prog_uudecode_base64+set}" = set; then 3173 echo $ECHO_N "(cached) $ECHO_C" >&63755 $as_echo_n "(cached) " >&6 3174 3756 else 3175 3757 … … 3188 3770 ac_cv_prog_uudecode_base64=yes 3189 3771 else 3190 echo "configure: 3 190: uudecode had trouble decoding base 64 file 'Test.uue'" >&53772 echo "configure: 3772: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 3191 3773 echo "configure: failed file was:" >&5 3192 3774 cat Test.uue >&5 … … 3195 3777 rm -f Test.uue 3196 3778 fi 3197 echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&53198 echo "${ECHO_T}$ac_cv_prog_uudecode_base64" >&6 3779 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5 3780 $as_echo "$ac_cv_prog_uudecode_base64" >&6; } 3199 3781 fi 3200 3782 if test x$ac_cv_prog_uudecode_base64 != xyes; then 3201 3783 rm -f Test.class 3202 { echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&53203 echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}3784 { $as_echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5 3785 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;} 3204 3786 if test x$ac_cv_prog_javac_works = xno; then 3205 { { echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&53206 echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;}3787 { { $as_echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5 3788 $as_echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;} 3207 3789 { (exit 1); exit 1; }; } 3208 3790 fi … … 3215 3797 # Extract the first word of "$ac_prog", so it can be a program name with args. 3216 3798 set dummy $ac_prog; ac_word=$2 3217 echo "$as_me:$LINENO: checking for $ac_word" >&53218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3799 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3800 $as_echo_n "checking for $ac_word... " >&6; } 3219 3801 if test "${ac_cv_prog_JAVAC+set}" = set; then 3220 echo $ECHO_N "(cached) $ECHO_C" >&63802 $as_echo_n "(cached) " >&6 3221 3803 else 3222 3804 if test -n "$JAVAC"; then … … 3229 3811 test -z "$as_dir" && as_dir=. 3230 3812 for ac_exec_ext in '' $ac_executable_extensions; do 3231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3232 3814 ac_cv_prog_JAVAC="$ac_prog" 3233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53815 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3234 3816 break 2 3235 3817 fi 3236 3818 done 3237 3819 done 3820 IFS=$as_save_IFS 3238 3821 3239 3822 fi … … 3241 3824 JAVAC=$ac_cv_prog_JAVAC 3242 3825 if test -n "$JAVAC"; then 3243 echo "$as_me:$LINENO: result: $JAVAC" >&5 3244 echo "${ECHO_T}$JAVAC" >&6 3245 else 3246 echo "$as_me:$LINENO: result: no" >&5 3247 echo "${ECHO_T}no" >&6 3248 fi 3826 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3827 $as_echo "$JAVAC" >&6; } 3828 else 3829 { $as_echo "$as_me:$LINENO: result: no" >&5 3830 $as_echo "no" >&6; } 3831 fi 3832 3249 3833 3250 3834 test -n "$JAVAC" && break … … 3256 3840 # Extract the first word of "$ac_prog", so it can be a program name with args. 3257 3841 set dummy $ac_prog; ac_word=$2 3258 echo "$as_me:$LINENO: checking for $ac_word" >&53259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3842 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3843 $as_echo_n "checking for $ac_word... " >&6; } 3260 3844 if test "${ac_cv_prog_JAVAC+set}" = set; then 3261 echo $ECHO_N "(cached) $ECHO_C" >&63845 $as_echo_n "(cached) " >&6 3262 3846 else 3263 3847 if test -n "$JAVAC"; then … … 3270 3854 test -z "$as_dir" && as_dir=. 3271 3855 for ac_exec_ext in '' $ac_executable_extensions; do 3272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3273 3857 ac_cv_prog_JAVAC="$ac_prog" 3274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53858 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3275 3859 break 2 3276 3860 fi 3277 3861 done 3278 3862 done 3863 IFS=$as_save_IFS 3279 3864 3280 3865 fi … … 3282 3867 JAVAC=$ac_cv_prog_JAVAC 3283 3868 if test -n "$JAVAC"; then 3284 echo "$as_me:$LINENO: result: $JAVAC" >&5 3285 echo "${ECHO_T}$JAVAC" >&6 3286 else 3287 echo "$as_me:$LINENO: result: no" >&5 3288 echo "${ECHO_T}no" >&6 3289 fi 3869 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3870 $as_echo "$JAVAC" >&6; } 3871 else 3872 { $as_echo "$as_me:$LINENO: result: no" >&5 3873 $as_echo "no" >&6; } 3874 fi 3875 3290 3876 3291 3877 test -n "$JAVAC" && break … … 3294 3880 3295 3881 fi 3296 test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&53297 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}3882 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3883 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 3298 3884 { (exit 1); exit 1; }; } 3299 3885 else … … 3303 3889 3304 3890 3305 echo "$as_me:$LINENO: checking if $JAVAC works" >&53306 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6 3891 { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5 3892 $as_echo_n "checking if $JAVAC works... " >&6; } 3307 3893 if test "${ac_cv_prog_javac_works+set}" = set; then 3308 echo $ECHO_N "(cached) $ECHO_C" >&63894 $as_echo_n "(cached) " >&6 3309 3895 else 3310 3896 … … 3312 3898 CLASS_TEST=Test.class 3313 3899 cat << \EOF > $JAVA_TEST 3314 /* #line 3 314"configure" */3900 /* #line 3900 "configure" */ 3315 3901 public class Test { 3316 3902 } … … 3320 3906 (eval $ac_try) 2>&5 3321 3907 ac_status=$? 3322 echo "$as_me:$LINENO: \$? = $ac_status" >&53908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3323 3909 (exit $ac_status); }; } >/dev/null 2>&1; then 3324 3910 ac_cv_prog_javac_works=yes 3325 3911 else 3326 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&53327 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}3912 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3913 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3328 3914 { (exit 1); exit 1; }; } 3329 3915 echo "configure: failed program was:" >&5 … … 3333 3919 3334 3920 fi 3335 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&53336 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6 3921 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 3922 $as_echo "$ac_cv_prog_javac_works" >&6; } 3337 3923 if test "x$JAVACFLAGS" = x ; then 3338 3924 JAVACFLAGS="-source 1.4 -target 1.4" … … 3343 3929 fi 3344 3930 fi 3345 echo "$as_me:$LINENO: checking if $JAVA works" >&53346 echo $ECHO_N "checking if $JAVA works... $ECHO_C" >&6 3931 { $as_echo "$as_me:$LINENO: checking if $JAVA works" >&5 3932 $as_echo_n "checking if $JAVA works... " >&6; } 3347 3933 if test "${ac_cv_prog_java_works+set}" = set; then 3348 echo $ECHO_N "(cached) $ECHO_C" >&63934 $as_echo_n "(cached) " >&6 3349 3935 else 3350 3936 … … 3353 3939 TEST=Test 3354 3940 cat << \EOF > $JAVA_TEST 3355 /* [#]line 3 355"configure" */3941 /* [#]line 3941 "configure" */ 3356 3942 public class Test { 3357 3943 public static void main (String args[]) { … … 3364 3950 (eval $ac_try) 2>&5 3365 3951 ac_status=$? 3366 echo "$as_me:$LINENO: \$? = $ac_status" >&53952 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3367 3953 (exit $ac_status); }; } && test -s $CLASS_TEST; then 3368 3954 : … … 3370 3956 echo "configure: failed program was:" >&5 3371 3957 cat $JAVA_TEST >&5 3372 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&53373 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}3958 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3959 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3374 3960 { (exit 1); exit 1; }; } 3375 3961 fi … … 3379 3965 (eval $ac_try) 2>&5 3380 3966 ac_status=$? 3381 echo "$as_me:$LINENO: \$? = $ac_status" >&53967 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3382 3968 (exit $ac_status); }; } >/dev/null 2>&1; then 3383 3969 ac_cv_prog_java_works=yes … … 3385 3971 echo "configure: failed program was:" >&5 3386 3972 cat $JAVA_TEST >&5 3387 { { echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&53388 echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;}3973 { { $as_echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5 3974 $as_echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;} 3389 3975 { (exit 1); exit 1; }; } 3390 3976 fi … … 3392 3978 3393 3979 fi 3394 echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&53395 echo "${ECHO_T}$ac_cv_prog_java_works" >&6 3980 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5 3981 $as_echo "$ac_cv_prog_java_works" >&6; } 3396 3982 3397 3983 … … 3402 3988 # Extract the first word of "$ac_prog", so it can be a program name with args. 3403 3989 set dummy $ac_prog; ac_word=$2 3404 echo "$as_me:$LINENO: checking for $ac_word" >&53405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3990 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3991 $as_echo_n "checking for $ac_word... " >&6; } 3406 3992 if test "${ac_cv_prog_AWK+set}" = set; then 3407 echo $ECHO_N "(cached) $ECHO_C" >&63993 $as_echo_n "(cached) " >&6 3408 3994 else 3409 3995 if test -n "$AWK"; then … … 3416 4002 test -z "$as_dir" && as_dir=. 3417 4003 for ac_exec_ext in '' $ac_executable_extensions; do 3418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3419 4005 ac_cv_prog_AWK="$ac_prog" 3420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54006 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3421 4007 break 2 3422 4008 fi 3423 4009 done 3424 4010 done 4011 IFS=$as_save_IFS 3425 4012 3426 4013 fi … … 3428 4015 AWK=$ac_cv_prog_AWK 3429 4016 if test -n "$AWK"; then 3430 echo "$as_me:$LINENO: result: $AWK" >&5 3431 echo "${ECHO_T}$AWK" >&6 3432 else 3433 echo "$as_me:$LINENO: result: no" >&5 3434 echo "${ECHO_T}no" >&6 3435 fi 4017 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 4018 $as_echo "$AWK" >&6; } 4019 else 4020 { $as_echo "$as_me:$LINENO: result: no" >&5 4021 $as_echo "no" >&6; } 4022 fi 4023 3436 4024 3437 4025 test -n "$AWK" && break … … 3442 4030 # Extract the first word of "$ac_prog", so it can be a program name with args. 3443 4031 set dummy $ac_prog; ac_word=$2 3444 echo "$as_me:$LINENO: checking for $ac_word" >&53445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4032 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4033 $as_echo_n "checking for $ac_word... " >&6; } 3446 4034 if test "${ac_cv_prog_YACC+set}" = set; then 3447 echo $ECHO_N "(cached) $ECHO_C" >&64035 $as_echo_n "(cached) " >&6 3448 4036 else 3449 4037 if test -n "$YACC"; then … … 3456 4044 test -z "$as_dir" && as_dir=. 3457 4045 for ac_exec_ext in '' $ac_executable_extensions; do 3458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3459 4047 ac_cv_prog_YACC="$ac_prog" 3460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54048 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3461 4049 break 2 3462 4050 fi 3463 4051 done 3464 4052 done 4053 IFS=$as_save_IFS 3465 4054 3466 4055 fi … … 3468 4057 YACC=$ac_cv_prog_YACC 3469 4058 if test -n "$YACC"; then 3470 echo "$as_me:$LINENO: result: $YACC" >&5 3471 echo "${ECHO_T}$YACC" >&6 3472 else 3473 echo "$as_me:$LINENO: result: no" >&5 3474 echo "${ECHO_T}no" >&6 3475 fi 4059 { $as_echo "$as_me:$LINENO: result: $YACC" >&5 4060 $as_echo "$YACC" >&6; } 4061 else 4062 { $as_echo "$as_me:$LINENO: result: no" >&5 4063 $as_echo "no" >&6; } 4064 fi 4065 3476 4066 3477 4067 test -n "$YACC" && break … … 3480 4070 3481 4071 ac_aux_dir= 3482 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do3483 if test -f $ac_dir/install-sh; then4072 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 4073 if test -f "$ac_dir/install-sh"; then 3484 4074 ac_aux_dir=$ac_dir 3485 4075 ac_install_sh="$ac_aux_dir/install-sh -c" 3486 4076 break 3487 elif test -f $ac_dir/install.sh; then4077 elif test -f "$ac_dir/install.sh"; then 3488 4078 ac_aux_dir=$ac_dir 3489 4079 ac_install_sh="$ac_aux_dir/install.sh -c" 3490 4080 break 3491 elif test -f $ac_dir/shtool; then4081 elif test -f "$ac_dir/shtool"; then 3492 4082 ac_aux_dir=$ac_dir 3493 4083 ac_install_sh="$ac_aux_dir/shtool install -c" … … 3496 4086 done 3497 4087 if test -z "$ac_aux_dir"; then 3498 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&53499 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}4088 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 4089 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 3500 4090 { (exit 1); exit 1; }; } 3501 4091 fi 3502 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 3503 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 3504 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 4092 4093 # These three variables are undocumented and unsupported, 4094 # and are intended to be withdrawn in a future Autoconf release. 4095 # They can cause serious problems if a builder's source tree is in a directory 4096 # whose full name contains unusual characters. 4097 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 4098 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 4099 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 4100 3505 4101 3506 4102 # Make sure we can run config.sub. 3507 $ ac_config_subsun4 >/dev/null 2>&1 ||3508 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&53509 echo "$as_me: error: cannot run $ac_config_sub" >&2;}4103 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4104 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 4105 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 3510 4106 { (exit 1); exit 1; }; } 3511 4107 3512 echo "$as_me:$LINENO: checking build system type" >&53513 echo $ECHO_N "checking build system type... $ECHO_C" >&6 4108 { $as_echo "$as_me:$LINENO: checking build system type" >&5 4109 $as_echo_n "checking build system type... " >&6; } 3514 4110 if test "${ac_cv_build+set}" = set; then 3515 echo $ECHO_N "(cached) $ECHO_C" >&63516 else 3517 ac_ cv_build_alias=$build_alias3518 test -z "$ac_cv_build_alias"&&3519 ac_ cv_build_alias=`$ac_config_guess`3520 test -z "$ac_cv_build_alias"&&3521 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&53522 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}4111 $as_echo_n "(cached) " >&6 4112 else 4113 ac_build_alias=$build_alias 4114 test "x$ac_build_alias" = x && 4115 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4116 test "x$ac_build_alias" = x && 4117 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 4118 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3523 4119 { (exit 1); exit 1; }; } 3524 ac_cv_build=`$ ac_config_sub $ac_cv_build_alias` ||3525 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&53526 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}4120 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4121 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 4122 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 3527 4123 { (exit 1); exit 1; }; } 3528 4124 3529 4125 fi 3530 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3531 echo "${ECHO_T}$ac_cv_build" >&6 4126 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 4127 $as_echo "$ac_cv_build" >&6; } 4128 case $ac_cv_build in 4129 *-*-*) ;; 4130 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 4131 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 4132 { (exit 1); exit 1; }; };; 4133 esac 3532 4134 build=$ac_cv_build 3533 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3534 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3535 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3536 3537 3538 echo "$as_me:$LINENO: checking host system type" >&5 3539 echo $ECHO_N "checking host system type... $ECHO_C" >&6 4135 ac_save_IFS=$IFS; IFS='-' 4136 set x $ac_cv_build 4137 shift 4138 build_cpu=$1 4139 build_vendor=$2 4140 shift; shift 4141 # Remember, the first character of IFS is used to create $*, 4142 # except with old shells: 4143 build_os=$* 4144 IFS=$ac_save_IFS 4145 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4146 4147 4148 { $as_echo "$as_me:$LINENO: checking host system type" >&5 4149 $as_echo_n "checking host system type... " >&6; } 3540 4150 if test "${ac_cv_host+set}" = set; then 3541 echo $ECHO_N "(cached) $ECHO_C" >&63542 else 3543 ac_cv_host_alias=$host_alias3544 test -z "$ac_cv_host_alias" && 3545 ac_cv_host_alias=$ac_cv_build_alias 3546 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||3547 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&53548 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}4151 $as_echo_n "(cached) " >&6 4152 else 4153 if test "x$host_alias" = x; then 4154 ac_cv_host=$ac_cv_build 4155 else 4156 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4157 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 4158 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 3549 4159 { (exit 1); exit 1; }; } 3550 3551 fi 3552 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3553 echo "${ECHO_T}$ac_cv_host" >&6 4160 fi 4161 4162 fi 4163 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 4164 $as_echo "$ac_cv_host" >&6; } 4165 case $ac_cv_host in 4166 *-*-*) ;; 4167 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 4168 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 4169 { (exit 1); exit 1; }; };; 4170 esac 3554 4171 host=$ac_cv_host 3555 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3556 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3557 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3558 3559 3560 echo "$as_me:$LINENO: checking target system type" >&5 3561 echo $ECHO_N "checking target system type... $ECHO_C" >&6 4172 ac_save_IFS=$IFS; IFS='-' 4173 set x $ac_cv_host 4174 shift 4175 host_cpu=$1 4176 host_vendor=$2 4177 shift; shift 4178 # Remember, the first character of IFS is used to create $*, 4179 # except with old shells: 4180 host_os=$* 4181 IFS=$ac_save_IFS 4182 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4183 4184 4185 { $as_echo "$as_me:$LINENO: checking target system type" >&5 4186 $as_echo_n "checking target system type... " >&6; } 3562 4187 if test "${ac_cv_target+set}" = set; then 3563 echo $ECHO_N "(cached) $ECHO_C" >&63564 else 3565 ac_cv_target_alias=$target_alias3566 test "x$ac_cv_target_alias" = "x" && 3567 ac_cv_target_alias=$ac_cv_host_alias 3568 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||3569 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&53570 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}4188 $as_echo_n "(cached) " >&6 4189 else 4190 if test "x$target_alias" = x; then 4191 ac_cv_target=$ac_cv_host 4192 else 4193 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 4194 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 4195 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 3571 4196 { (exit 1); exit 1; }; } 3572 3573 fi 3574 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 3575 echo "${ECHO_T}$ac_cv_target" >&6 4197 fi 4198 4199 fi 4200 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 4201 $as_echo "$ac_cv_target" >&6; } 4202 case $ac_cv_target in 4203 *-*-*) ;; 4204 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 4205 $as_echo "$as_me: error: invalid value of canonical target" >&2;} 4206 { (exit 1); exit 1; }; };; 4207 esac 3576 4208 target=$ac_cv_target 3577 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3578 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3579 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 4209 ac_save_IFS=$IFS; IFS='-' 4210 set x $ac_cv_target 4211 shift 4212 target_cpu=$1 4213 target_vendor=$2 4214 shift; shift 4215 # Remember, the first character of IFS is used to create $*, 4216 # except with old shells: 4217 target_os=$* 4218 IFS=$ac_save_IFS 4219 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 3580 4220 3581 4221 … … 3599 4239 # OS/2's system install, which has a completely different semantic 3600 4240 # ./install, which can be erroneously created by make from ./install.sh. 3601 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3602 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 4241 # Reject install programs that cannot install multiple files. 4242 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 4243 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3603 4244 if test -z "$INSTALL"; then 3604 4245 if test "${ac_cv_path_install+set}" = set; then 3605 echo $ECHO_N "(cached) $ECHO_C" >&64246 $as_echo_n "(cached) " >&6 3606 4247 else 3607 4248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 3622 4263 for ac_prog in ginstall scoinst install; do 3623 4264 for ac_exec_ext in '' $ac_executable_extensions; do 3624 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then4265 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3625 4266 if test $ac_prog = install && 3626 4267 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 3632 4273 : 3633 4274 else 3634 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3635 break 3 4275 rm -rf conftest.one conftest.two conftest.dir 4276 echo one > conftest.one 4277 echo two > conftest.two 4278 mkdir conftest.dir 4279 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 4280 test -s conftest.one && test -s conftest.two && 4281 test -s conftest.dir/conftest.one && 4282 test -s conftest.dir/conftest.two 4283 then 4284 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 4285 break 3 4286 fi 3636 4287 fi 3637 4288 fi … … 3640 4291 ;; 3641 4292 esac 4293 3642 4294 done 3643 4295 IFS=$as_save_IFS 4296 4297 rm -rf conftest.one conftest.two conftest.dir 3644 4298 3645 4299 fi … … 3647 4301 INSTALL=$ac_cv_path_install 3648 4302 else 3649 # As a last resort, use the slow shell script. We don't cache a3650 # pathfor INSTALL within a source directory, because that will4303 # As a last resort, use the slow shell script. Don't cache a 4304 # value for INSTALL within a source directory, because that will 3651 4305 # break other packages using the cache if that directory is 3652 # removed, or if the path is relative.4306 # removed, or if the value is a relative name. 3653 4307 INSTALL=$ac_install_sh 3654 4308 fi 3655 4309 fi 3656 echo "$as_me:$LINENO: result: $INSTALL" >&53657 echo "${ECHO_T}$INSTALL" >&6 4310 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 4311 $as_echo "$INSTALL" >&6; } 3658 4312 3659 4313 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 3665 4319 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3666 4320 3667 echo "$as_me:$LINENO: checking whether ln -s works" >&53668 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 4321 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 4322 $as_echo_n "checking whether ln -s works... " >&6; } 3669 4323 LN_S=$as_ln_s 3670 4324 if test "$LN_S" = "ln -s"; then 3671 echo "$as_me:$LINENO: result: yes" >&5 3672 echo "${ECHO_T}yes" >&6 3673 else 3674 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3675 echo "${ECHO_T}no, using $LN_S" >&6 3676 fi 3677 3678 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3679 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3680 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 3681 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 3682 echo $ECHO_N "(cached) $ECHO_C" >&6 4325 { $as_echo "$as_me:$LINENO: result: yes" >&5 4326 $as_echo "yes" >&6; } 4327 else 4328 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4329 $as_echo "no, using $LN_S" >&6; } 4330 fi 4331 4332 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4333 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4334 set x ${MAKE-make} 4335 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4336 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 4337 $as_echo_n "(cached) " >&6 3683 4338 else 3684 4339 cat >conftest.make <<\_ACEOF 4340 SHELL = /bin/sh 3685 4341 all: 3686 @echo ' ac_maketemp="$(MAKE)"'4342 @echo '@@@%%%=$(MAKE)=@@@%%%' 3687 4343 _ACEOF 3688 4344 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3689 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3690 if test -n "$ac_maketemp"; then 3691 eval ac_cv_prog_make_${ac_make}_set=yes3692 else 3693 eval ac_cv_prog_make_${ac_make}_set=no3694 fi 4345 case `${MAKE-make} -f conftest.make 2>/dev/null` in 4346 *@@@%%%=?*=@@@%%%*) 4347 eval ac_cv_prog_make_${ac_make}_set=yes;; 4348 *) 4349 eval ac_cv_prog_make_${ac_make}_set=no;; 4350 esac 3695 4351 rm -f conftest.make 3696 4352 fi 3697 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then3698 echo "$as_me:$LINENO: result: yes" >&53699 echo "${ECHO_T}yes" >&6 4353 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 4354 { $as_echo "$as_me:$LINENO: result: yes" >&5 4355 $as_echo "yes" >&6; } 3700 4356 SET_MAKE= 3701 4357 else 3702 echo "$as_me:$LINENO: result: no" >&53703 echo "${ECHO_T}no" >&6 4358 { $as_echo "$as_me:$LINENO: result: no" >&5 4359 $as_echo "no" >&6; } 3704 4360 SET_MAKE="MAKE=${MAKE-make}" 3705 4361 fi … … 3708 4364 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3709 4365 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3710 echo "$as_me:$LINENO: checking for $ac_word" >&53711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4366 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4367 $as_echo_n "checking for $ac_word... " >&6; } 3712 4368 if test "${ac_cv_prog_RANLIB+set}" = set; then 3713 echo $ECHO_N "(cached) $ECHO_C" >&64369 $as_echo_n "(cached) " >&6 3714 4370 else 3715 4371 if test -n "$RANLIB"; then … … 3722 4378 test -z "$as_dir" && as_dir=. 3723 4379 for ac_exec_ext in '' $ac_executable_extensions; do 3724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3725 4381 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54382 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3727 4383 break 2 3728 4384 fi 3729 4385 done 3730 4386 done 4387 IFS=$as_save_IFS 3731 4388 3732 4389 fi … … 3734 4391 RANLIB=$ac_cv_prog_RANLIB 3735 4392 if test -n "$RANLIB"; then 3736 echo "$as_me:$LINENO: result: $RANLIB" >&5 3737 echo "${ECHO_T}$RANLIB" >&6 3738 else 3739 echo "$as_me:$LINENO: result: no" >&5 3740 echo "${ECHO_T}no" >&6 3741 fi 4393 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 4394 $as_echo "$RANLIB" >&6; } 4395 else 4396 { $as_echo "$as_me:$LINENO: result: no" >&5 4397 $as_echo "no" >&6; } 4398 fi 4399 3742 4400 3743 4401 fi … … 3746 4404 # Extract the first word of "ranlib", so it can be a program name with args. 3747 4405 set dummy ranlib; ac_word=$2 3748 echo "$as_me:$LINENO: checking for $ac_word" >&53749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4406 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4407 $as_echo_n "checking for $ac_word... " >&6; } 3750 4408 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3751 echo $ECHO_N "(cached) $ECHO_C" >&64409 $as_echo_n "(cached) " >&6 3752 4410 else 3753 4411 if test -n "$ac_ct_RANLIB"; then … … 3760 4418 test -z "$as_dir" && as_dir=. 3761 4419 for ac_exec_ext in '' $ac_executable_extensions; do 3762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3763 4421 ac_cv_prog_ac_ct_RANLIB="ranlib" 3764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54422 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3765 4423 break 2 3766 4424 fi 3767 4425 done 3768 4426 done 3769 3770 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 4427 IFS=$as_save_IFS 4428 3771 4429 fi 3772 4430 fi 3773 4431 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3774 4432 if test -n "$ac_ct_RANLIB"; then 3775 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3776 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3777 else 3778 echo "$as_me:$LINENO: result: no" >&5 3779 echo "${ECHO_T}no" >&6 3780 fi 3781 3782 RANLIB=$ac_ct_RANLIB 4433 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 4434 $as_echo "$ac_ct_RANLIB" >&6; } 4435 else 4436 { $as_echo "$as_me:$LINENO: result: no" >&5 4437 $as_echo "no" >&6; } 4438 fi 4439 4440 if test "x$ac_ct_RANLIB" = x; then 4441 RANLIB=":" 4442 else 4443 case $cross_compiling:$ac_tool_warned in 4444 yes:) 4445 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4446 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4447 ac_tool_warned=yes ;; 4448 esac 4449 RANLIB=$ac_ct_RANLIB 4450 fi 3783 4451 else 3784 4452 RANLIB="$ac_cv_prog_RANLIB" … … 3786 4454 3787 4455 3788 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&53789 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 4456 { $as_echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 4457 $as_echo_n "checking to see if architecture is 64-bit... " >&6; } 3790 4458 arch_64bit=no 3791 4459 case "$host_cpu" in … … 3794 4462 3795 4463 if test "$arch_64bit" = yes; then 3796 echo "$as_me:$LINENO: result: yes" >&53797 echo "${ECHO_T}yes" >&6 3798 if test -z "$ COMPAT32BITFLAGS" ; then3799 COMPAT32BITFLAGS="-m32"4464 { $as_echo "$as_me:$LINENO: result: yes" >&5 4465 $as_echo "yes" >&6; } 4466 if test -z "$ARCH_DEP_FLAGS" ; then 4467 ARCH_DEP_FLAGS="-fPIC" 3800 4468 gsdlarch='64' 3801 4469 fi 3802 4470 else 3803 echo "$as_me:$LINENO: result: no" >&53804 echo "${ECHO_T}no" >&6 3805 if test -z "$ COMPAT32BITFLAGS" ; then3806 COMPAT32BITFLAGS=4471 { $as_echo "$as_me:$LINENO: result: no" >&5 4472 $as_echo "no" >&6; } 4473 if test -z "$ARCH_DEP_FLAGS" ; then 4474 ARCH_DEP_FLAGS= 3807 4475 gsdlarch='32' 3808 4476 fi 3809 4477 fi 3810 4478 3811 # Only need compat32bitflag if using MG or MGPP 3812 if test "$ENABLE_MG" = "0" ; then 3813 COMPAT32BITFLAGS= 3814 else 3815 if test "$ENABLE_MGPP" = "0" ; then 3816 COMPAT32BITFLAGS= 3817 fi 3818 fi 3819 3820 export COMPAT32BITFLAGS 4479 export ARCH_DEP_FLAGS 3821 4480 3822 4481 … … 3860 4519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3861 4520 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3862 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53863 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 4521 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4522 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3864 4523 # On Suns, sometimes $CPP names a directory. 3865 4524 if test -n "$CPP" && test -d "$CPP"; then … … 3868 4527 if test -z "$CPP"; then 3869 4528 if test "${ac_cv_prog_CPP+set}" = set; then 3870 echo $ECHO_N "(cached) $ECHO_C" >&64529 $as_echo_n "(cached) " >&6 3871 4530 else 3872 4531 # Double quotes because CPP needs to be expanded … … 3895 4554 Syntax error 3896 4555 _ACEOF 3897 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3898 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4556 if { (ac_try="$ac_cpp conftest.$ac_ext" 4557 case "(($ac_try" in 4558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4559 *) ac_try_echo=$ac_try;; 4560 esac 4561 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4562 $as_echo "$ac_try_echo") >&5 4563 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3899 4564 ac_status=$? 3900 4565 grep -v '^ *+' conftest.er1 >conftest.err 3901 4566 rm -f conftest.er1 3902 4567 cat conftest.err >&5 3903 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3904 (exit $ac_status); } >/dev/null; then 3905 if test -s conftest.err; then 3906 ac_cpp_err=$ac_c_preproc_warn_flag 3907 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3908 else 3909 ac_cpp_err= 3910 fi 3911 else 3912 ac_cpp_err=yes 3913 fi 3914 if test -z "$ac_cpp_err"; then 4568 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4569 (exit $ac_status); } >/dev/null && { 4570 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4571 test ! -s conftest.err 4572 }; then 3915 4573 : 3916 4574 else 3917 echo "$as_me: failed program was:" >&54575 $as_echo "$as_me: failed program was:" >&5 3918 4576 sed 's/^/| /' conftest.$ac_ext >&5 3919 4577 … … 3921 4579 continue 3922 4580 fi 4581 3923 4582 rm -f conftest.err conftest.$ac_ext 3924 4583 3925 # OK, works on sane cases. Now check whether non -existent headers4584 # OK, works on sane cases. Now check whether nonexistent headers 3926 4585 # can be detected and how. 3927 4586 cat >conftest.$ac_ext <<_ACEOF … … 3933 4592 #include <ac_nonexistent.h> 3934 4593 _ACEOF 3935 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3936 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4594 if { (ac_try="$ac_cpp conftest.$ac_ext" 4595 case "(($ac_try" in 4596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4597 *) ac_try_echo=$ac_try;; 4598 esac 4599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4600 $as_echo "$ac_try_echo") >&5 4601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3937 4602 ac_status=$? 3938 4603 grep -v '^ *+' conftest.er1 >conftest.err 3939 4604 rm -f conftest.er1 3940 4605 cat conftest.err >&5 3941 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3942 (exit $ac_status); } >/dev/null; then 3943 if test -s conftest.err; then 3944 ac_cpp_err=$ac_c_preproc_warn_flag 3945 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3946 else 3947 ac_cpp_err= 3948 fi 3949 else 3950 ac_cpp_err=yes 3951 fi 3952 if test -z "$ac_cpp_err"; then 4606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4607 (exit $ac_status); } >/dev/null && { 4608 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4609 test ! -s conftest.err 4610 }; then 3953 4611 # Broken: success on invalid input. 3954 4612 continue 3955 4613 else 3956 echo "$as_me: failed program was:" >&54614 $as_echo "$as_me: failed program was:" >&5 3957 4615 sed 's/^/| /' conftest.$ac_ext >&5 3958 4616 … … 3961 4619 break 3962 4620 fi 4621 3963 4622 rm -f conftest.err conftest.$ac_ext 3964 4623 … … 3978 4637 ac_cv_prog_CPP=$CPP 3979 4638 fi 3980 echo "$as_me:$LINENO: result: $CPP" >&53981 echo "${ECHO_T}$CPP" >&6 4639 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 4640 $as_echo "$CPP" >&6; } 3982 4641 ac_preproc_ok=false 3983 4642 for ac_c_preproc_warn_flag in '' yes … … 4002 4661 Syntax error 4003 4662 _ACEOF 4004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4005 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4663 if { (ac_try="$ac_cpp conftest.$ac_ext" 4664 case "(($ac_try" in 4665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4666 *) ac_try_echo=$ac_try;; 4667 esac 4668 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4669 $as_echo "$ac_try_echo") >&5 4670 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4006 4671 ac_status=$? 4007 4672 grep -v '^ *+' conftest.er1 >conftest.err 4008 4673 rm -f conftest.er1 4009 4674 cat conftest.err >&5 4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4011 (exit $ac_status); } >/dev/null; then 4012 if test -s conftest.err; then 4013 ac_cpp_err=$ac_c_preproc_warn_flag 4014 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4015 else 4016 ac_cpp_err= 4017 fi 4018 else 4019 ac_cpp_err=yes 4020 fi 4021 if test -z "$ac_cpp_err"; then 4675 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4676 (exit $ac_status); } >/dev/null && { 4677 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4678 test ! -s conftest.err 4679 }; then 4022 4680 : 4023 4681 else 4024 echo "$as_me: failed program was:" >&54682 $as_echo "$as_me: failed program was:" >&5 4025 4683 sed 's/^/| /' conftest.$ac_ext >&5 4026 4684 … … 4028 4686 continue 4029 4687 fi 4688 4030 4689 rm -f conftest.err conftest.$ac_ext 4031 4690 4032 # OK, works on sane cases. Now check whether non -existent headers4691 # OK, works on sane cases. Now check whether nonexistent headers 4033 4692 # can be detected and how. 4034 4693 cat >conftest.$ac_ext <<_ACEOF … … 4040 4699 #include <ac_nonexistent.h> 4041 4700 _ACEOF 4042 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4043 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4701 if { (ac_try="$ac_cpp conftest.$ac_ext" 4702 case "(($ac_try" in 4703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4704 *) ac_try_echo=$ac_try;; 4705 esac 4706 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4707 $as_echo "$ac_try_echo") >&5 4708 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4044 4709 ac_status=$? 4045 4710 grep -v '^ *+' conftest.er1 >conftest.err 4046 4711 rm -f conftest.er1 4047 4712 cat conftest.err >&5 4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4049 (exit $ac_status); } >/dev/null; then 4050 if test -s conftest.err; then 4051 ac_cpp_err=$ac_c_preproc_warn_flag 4052 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4053 else 4054 ac_cpp_err= 4055 fi 4056 else 4057 ac_cpp_err=yes 4058 fi 4059 if test -z "$ac_cpp_err"; then 4713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4714 (exit $ac_status); } >/dev/null && { 4715 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4716 test ! -s conftest.err 4717 }; then 4060 4718 # Broken: success on invalid input. 4061 4719 continue 4062 4720 else 4063 echo "$as_me: failed program was:" >&54721 $as_echo "$as_me: failed program was:" >&5 4064 4722 sed 's/^/| /' conftest.$ac_ext >&5 4065 4723 … … 4068 4726 break 4069 4727 fi 4728 4070 4729 rm -f conftest.err conftest.$ac_ext 4071 4730 … … 4076 4735 : 4077 4736 else 4078 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4737 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 4738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4739 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4079 4740 See \`config.log' for more details." >&5 4080 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check4741 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4081 4742 See \`config.log' for more details." >&2;} 4082 { (exit 1); exit 1; }; } 4743 { (exit 1); exit 1; }; }; } 4083 4744 fi 4084 4745 … … 4090 4751 4091 4752 4092 echo "$as_me:$LINENO: checking for egrep" >&5 4093 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 4094 if test "${ac_cv_prog_egrep+set}" = set; then 4095 echo $ECHO_N "(cached) $ECHO_C" >&6 4096 else 4097 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 4098 then ac_cv_prog_egrep='grep -E' 4099 else ac_cv_prog_egrep='egrep' 4753 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4754 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4755 if test "${ac_cv_path_GREP+set}" = set; then 4756 $as_echo_n "(cached) " >&6 4757 else 4758 if test -z "$GREP"; then 4759 ac_path_GREP_found=false 4760 # Loop through the user's path and test for each of PROGNAME-LIST 4761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4762 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4763 do 4764 IFS=$as_save_IFS 4765 test -z "$as_dir" && as_dir=. 4766 for ac_prog in grep ggrep; do 4767 for ac_exec_ext in '' $ac_executable_extensions; do 4768 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4769 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4770 # Check for GNU ac_path_GREP and select it if it is found. 4771 # Check for GNU $ac_path_GREP 4772 case `"$ac_path_GREP" --version 2>&1` in 4773 *GNU*) 4774 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4775 *) 4776 ac_count=0 4777 $as_echo_n 0123456789 >"conftest.in" 4778 while : 4779 do 4780 cat "conftest.in" "conftest.in" >"conftest.tmp" 4781 mv "conftest.tmp" "conftest.in" 4782 cp "conftest.in" "conftest.nl" 4783 $as_echo 'GREP' >> "conftest.nl" 4784 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4785 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4786 ac_count=`expr $ac_count + 1` 4787 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4788 # Best one so far, save it but keep looking for a better one 4789 ac_cv_path_GREP="$ac_path_GREP" 4790 ac_path_GREP_max=$ac_count 4100 4791 fi 4101 fi 4102 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 4103 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 4104 EGREP=$ac_cv_prog_egrep 4105 4106 4107 4108 echo "$as_me:$LINENO: checking for AIX" >&5 4109 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 4110 cat >conftest.$ac_ext <<_ACEOF 4111 /* confdefs.h. */ 4112 _ACEOF 4113 cat confdefs.h >>conftest.$ac_ext 4114 cat >>conftest.$ac_ext <<_ACEOF 4115 /* end confdefs.h. */ 4116 #ifdef _AIX 4117 yes 4118 #endif 4119 4120 _ACEOF 4121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4122 $EGREP "yes" >/dev/null 2>&1; then 4123 echo "$as_me:$LINENO: result: yes" >&5 4124 echo "${ECHO_T}yes" >&6 4125 cat >>confdefs.h <<\_ACEOF 4126 #define _ALL_SOURCE 1 4127 _ACEOF 4128 4129 else 4130 echo "$as_me:$LINENO: result: no" >&5 4131 echo "${ECHO_T}no" >&6 4132 fi 4133 rm -f conftest* 4134 4135 4136 echo "$as_me:$LINENO: checking for library containing strerror" >&5 4137 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 4138 if test "${ac_cv_search_strerror+set}" = set; then 4139 echo $ECHO_N "(cached) $ECHO_C" >&6 4140 else 4141 ac_func_search_save_LIBS=$LIBS 4142 ac_cv_search_strerror=no 4143 cat >conftest.$ac_ext <<_ACEOF 4144 /* confdefs.h. */ 4145 _ACEOF 4146 cat confdefs.h >>conftest.$ac_ext 4147 cat >>conftest.$ac_ext <<_ACEOF 4148 /* end confdefs.h. */ 4149 4150 /* Override any gcc2 internal prototype to avoid an error. */ 4151 #ifdef __cplusplus 4152 extern "C" 4153 #endif 4154 /* We use char because int might match the return type of a gcc2 4155 builtin and then its argument prototype would still apply. */ 4156 char strerror (); 4157 int 4158 main () 4159 { 4160 strerror (); 4161 ; 4162 return 0; 4163 } 4164 _ACEOF 4165 rm -f conftest.$ac_objext conftest$ac_exeext 4166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4167 (eval $ac_link) 2>conftest.er1 4168 ac_status=$? 4169 grep -v '^ *+' conftest.er1 >conftest.err 4170 rm -f conftest.er1 4171 cat conftest.err >&5 4172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4173 (exit $ac_status); } && 4174 { ac_try='test -z "$ac_c_werror_flag" 4175 || test ! -s conftest.err' 4176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4177 (eval $ac_try) 2>&5 4178 ac_status=$? 4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4180 (exit $ac_status); }; } && 4181 { ac_try='test -s conftest$ac_exeext' 4182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4183 (eval $ac_try) 2>&5 4184 ac_status=$? 4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4186 (exit $ac_status); }; }; then 4187 ac_cv_search_strerror="none required" 4188 else 4189 echo "$as_me: failed program was:" >&5 4190 sed 's/^/| /' conftest.$ac_ext >&5 4191 4192 fi 4193 rm -f conftest.err conftest.$ac_objext \ 4194 conftest$ac_exeext conftest.$ac_ext 4195 if test "$ac_cv_search_strerror" = no; then 4196 for ac_lib in cposix; do 4197 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4198 cat >conftest.$ac_ext <<_ACEOF 4199 /* confdefs.h. */ 4200 _ACEOF 4201 cat confdefs.h >>conftest.$ac_ext 4202 cat >>conftest.$ac_ext <<_ACEOF 4203 /* end confdefs.h. */ 4204 4205 /* Override any gcc2 internal prototype to avoid an error. */ 4206 #ifdef __cplusplus 4207 extern "C" 4208 #endif 4209 /* We use char because int might match the return type of a gcc2 4210 builtin and then its argument prototype would still apply. */ 4211 char strerror (); 4212 int 4213 main () 4214 { 4215 strerror (); 4216 ; 4217 return 0; 4218 } 4219 _ACEOF 4220 rm -f conftest.$ac_objext conftest$ac_exeext 4221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4222 (eval $ac_link) 2>conftest.er1 4223 ac_status=$? 4224 grep -v '^ *+' conftest.er1 >conftest.err 4225 rm -f conftest.er1 4226 cat conftest.err >&5 4227 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4228 (exit $ac_status); } && 4229 { ac_try='test -z "$ac_c_werror_flag" 4230 || test ! -s conftest.err' 4231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4232 (eval $ac_try) 2>&5 4233 ac_status=$? 4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4235 (exit $ac_status); }; } && 4236 { ac_try='test -s conftest$ac_exeext' 4237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4238 (eval $ac_try) 2>&5 4239 ac_status=$? 4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4241 (exit $ac_status); }; }; then 4242 ac_cv_search_strerror="-l$ac_lib" 4243 break 4244 else 4245 echo "$as_me: failed program was:" >&5 4246 sed 's/^/| /' conftest.$ac_ext >&5 4247 4248 fi 4249 rm -f conftest.err conftest.$ac_objext \ 4250 conftest$ac_exeext conftest.$ac_ext 4792 # 10*(2^10) chars as input seems more than enough 4793 test $ac_count -gt 10 && break 4251 4794 done 4252 fi 4253 LIBS=$ac_func_search_save_LIBS 4254 fi 4255 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 4256 echo "${ECHO_T}$ac_cv_search_strerror" >&6 4257 if test "$ac_cv_search_strerror" != no; then 4258 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 4259 4260 fi 4261 4262 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4263 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4795 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4796 esac 4797 4798 $ac_path_GREP_found && break 3 4799 done 4800 done 4801 done 4802 IFS=$as_save_IFS 4803 if test -z "$ac_cv_path_GREP"; then 4804 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4805 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4806 { (exit 1); exit 1; }; } 4807 fi 4808 else 4809 ac_cv_path_GREP=$GREP 4810 fi 4811 4812 fi 4813 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4814 $as_echo "$ac_cv_path_GREP" >&6; } 4815 GREP="$ac_cv_path_GREP" 4816 4817 4818 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 4819 $as_echo_n "checking for egrep... " >&6; } 4820 if test "${ac_cv_path_EGREP+set}" = set; then 4821 $as_echo_n "(cached) " >&6 4822 else 4823 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4824 then ac_cv_path_EGREP="$GREP -E" 4825 else 4826 if test -z "$EGREP"; then 4827 ac_path_EGREP_found=false 4828 # Loop through the user's path and test for each of PROGNAME-LIST 4829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4830 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4831 do 4832 IFS=$as_save_IFS 4833 test -z "$as_dir" && as_dir=. 4834 for ac_prog in egrep; do 4835 for ac_exec_ext in '' $ac_executable_extensions; do 4836 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4837 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4838 # Check for GNU ac_path_EGREP and select it if it is found. 4839 # Check for GNU $ac_path_EGREP 4840 case `"$ac_path_EGREP" --version 2>&1` in 4841 *GNU*) 4842 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4843 *) 4844 ac_count=0 4845 $as_echo_n 0123456789 >"conftest.in" 4846 while : 4847 do 4848 cat "conftest.in" "conftest.in" >"conftest.tmp" 4849 mv "conftest.tmp" "conftest.in" 4850 cp "conftest.in" "conftest.nl" 4851 $as_echo 'EGREP' >> "conftest.nl" 4852 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4853 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4854 ac_count=`expr $ac_count + 1` 4855 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4856 # Best one so far, save it but keep looking for a better one 4857 ac_cv_path_EGREP="$ac_path_EGREP" 4858 ac_path_EGREP_max=$ac_count 4859 fi 4860 # 10*(2^10) chars as input seems more than enough 4861 test $ac_count -gt 10 && break 4862 done 4863 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4864 esac 4865 4866 $ac_path_EGREP_found && break 3 4867 done 4868 done 4869 done 4870 IFS=$as_save_IFS 4871 if test -z "$ac_cv_path_EGREP"; then 4872 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4873 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4874 { (exit 1); exit 1; }; } 4875 fi 4876 else 4877 ac_cv_path_EGREP=$EGREP 4878 fi 4879 4880 fi 4881 fi 4882 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4883 $as_echo "$ac_cv_path_EGREP" >&6; } 4884 EGREP="$ac_cv_path_EGREP" 4885 4886 4887 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4888 $as_echo_n "checking for ANSI C header files... " >&6; } 4264 4889 if test "${ac_cv_header_stdc+set}" = set; then 4265 echo $ECHO_N "(cached) $ECHO_C" >&64890 $as_echo_n "(cached) " >&6 4266 4891 else 4267 4892 cat >conftest.$ac_ext <<_ACEOF … … 4285 4910 _ACEOF 4286 4911 rm -f conftest.$ac_objext 4287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4288 (eval $ac_compile) 2>conftest.er1 4912 if { (ac_try="$ac_compile" 4913 case "(($ac_try" in 4914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4915 *) ac_try_echo=$ac_try;; 4916 esac 4917 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4918 $as_echo "$ac_try_echo") >&5 4919 (eval "$ac_compile") 2>conftest.er1 4289 4920 ac_status=$? 4290 4921 grep -v '^ *+' conftest.er1 >conftest.err 4291 4922 rm -f conftest.er1 4292 4923 cat conftest.err >&5 4293 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4294 (exit $ac_status); } && 4295 { ac_try='test -z "$ac_c_werror_flag" 4296 || test ! -s conftest.err' 4297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4298 (eval $ac_try) 2>&5 4299 ac_status=$? 4300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4301 (exit $ac_status); }; } && 4302 { ac_try='test -s conftest.$ac_objext' 4303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4304 (eval $ac_try) 2>&5 4305 ac_status=$? 4306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4307 (exit $ac_status); }; }; then 4924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4925 (exit $ac_status); } && { 4926 test -z "$ac_c_werror_flag" || 4927 test ! -s conftest.err 4928 } && test -s conftest.$ac_objext; then 4308 4929 ac_cv_header_stdc=yes 4309 4930 else 4310 echo "$as_me: failed program was:" >&54931 $as_echo "$as_me: failed program was:" >&5 4311 4932 sed 's/^/| /' conftest.$ac_ext >&5 4312 4933 4313 ac_cv_header_stdc=no 4314 fi 4315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4934 ac_cv_header_stdc=no 4935 fi 4936 4937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4316 4938 4317 4939 if test $ac_cv_header_stdc = yes; then … … 4369 4991 /* end confdefs.h. */ 4370 4992 #include <ctype.h> 4993 #include <stdlib.h> 4371 4994 #if ((' ' & 0x0FF) == 0x020) 4372 4995 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 4388 5011 if (XOR (islower (i), ISLOWER (i)) 4389 5012 || toupper (i) != TOUPPER (i)) 4390 exit(2);4391 exit (0);5013 return 2; 5014 return 0; 4392 5015 } 4393 5016 _ACEOF 4394 5017 rm -f conftest$ac_exeext 4395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4396 (eval $ac_link) 2>&5 5018 if { (ac_try="$ac_link" 5019 case "(($ac_try" in 5020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5021 *) ac_try_echo=$ac_try;; 5022 esac 5023 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5024 $as_echo "$ac_try_echo") >&5 5025 (eval "$ac_link") 2>&5 4397 5026 ac_status=$? 4398 echo "$as_me:$LINENO: \$? = $ac_status" >&55027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4399 5028 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4401 (eval $ac_try) 2>&5 5029 { (case "(($ac_try" in 5030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5031 *) ac_try_echo=$ac_try;; 5032 esac 5033 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5034 $as_echo "$ac_try_echo") >&5 5035 (eval "$ac_try") 2>&5 4402 5036 ac_status=$? 4403 echo "$as_me:$LINENO: \$? = $ac_status" >&55037 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4404 5038 (exit $ac_status); }; }; then 4405 5039 : 4406 5040 else 4407 echo "$as_me: program exited with status $ac_status" >&54408 echo "$as_me: failed program was:" >&55041 $as_echo "$as_me: program exited with status $ac_status" >&5 5042 $as_echo "$as_me: failed program was:" >&5 4409 5043 sed 's/^/| /' conftest.$ac_ext >&5 4410 5044 … … 4412 5046 ac_cv_header_stdc=no 4413 5047 fi 4414 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4415 fi 4416 fi 4417 fi 4418 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4419 echo "${ECHO_T}$ac_cv_header_stdc" >&6 5048 rm -rf conftest.dSYM 5049 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5050 fi 5051 5052 5053 fi 5054 fi 5055 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5056 $as_echo "$ac_cv_header_stdc" >&6; } 4420 5057 if test $ac_cv_header_stdc = yes; then 4421 5058 … … 4439 5076 inttypes.h stdint.h unistd.h 4440 5077 do 4441 as_ac_Header=` echo "ac_cv_header_$ac_header" | $as_tr_sh`4442 echo "$as_me:$LINENO: checking for $ac_header" >&54443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4444 if eval "test \"\${$as_ac_Header+set}\" = set"; then4445 echo $ECHO_N "(cached) $ECHO_C" >&65078 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5079 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5080 $as_echo_n "checking for $ac_header... " >&6; } 5081 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5082 $as_echo_n "(cached) " >&6 4446 5083 else 4447 5084 cat >conftest.$ac_ext <<_ACEOF … … 4456 5093 _ACEOF 4457 5094 rm -f conftest.$ac_objext 4458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4459 (eval $ac_compile) 2>conftest.er1 5095 if { (ac_try="$ac_compile" 5096 case "(($ac_try" in 5097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5098 *) ac_try_echo=$ac_try;; 5099 esac 5100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5101 $as_echo "$ac_try_echo") >&5 5102 (eval "$ac_compile") 2>conftest.er1 4460 5103 ac_status=$? 4461 5104 grep -v '^ *+' conftest.er1 >conftest.err 4462 5105 rm -f conftest.er1 4463 5106 cat conftest.err >&5 4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4465 (exit $ac_status); } && 4466 { ac_try='test -z "$ac_c_werror_flag" 4467 || test ! -s conftest.err' 4468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4469 (eval $ac_try) 2>&5 4470 ac_status=$? 4471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4472 (exit $ac_status); }; } && 4473 { ac_try='test -s conftest.$ac_objext' 4474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4475 (eval $ac_try) 2>&5 4476 ac_status=$? 4477 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4478 (exit $ac_status); }; }; then 5107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5108 (exit $ac_status); } && { 5109 test -z "$ac_c_werror_flag" || 5110 test ! -s conftest.err 5111 } && test -s conftest.$ac_objext; then 4479 5112 eval "$as_ac_Header=yes" 4480 5113 else 4481 echo "$as_me: failed program was:" >&55114 $as_echo "$as_me: failed program was:" >&5 4482 5115 sed 's/^/| /' conftest.$ac_ext >&5 4483 5116 4484 eval "$as_ac_Header=no" 4485 fi 4486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4487 fi 4488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4489 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4490 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5117 eval "$as_ac_Header=no" 5118 fi 5119 5120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5121 fi 5122 ac_res=`eval 'as_val=${'$as_ac_Header'} 5123 $as_echo "$as_val"'` 5124 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5125 $as_echo "$ac_res" >&6; } 5126 as_val=`eval 'as_val=${'$as_ac_Header'} 5127 $as_echo "$as_val"'` 5128 if test "x$as_val" = x""yes; then 4491 5129 cat >>confdefs.h <<_ACEOF 4492 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 15130 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4493 5131 _ACEOF 4494 5132 … … 4498 5136 4499 5137 5138 5139 if test "${ac_cv_header_minix_config_h+set}" = set; then 5140 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5141 $as_echo_n "checking for minix/config.h... " >&6; } 4500 5142 if test "${ac_cv_header_minix_config_h+set}" = set; then 4501 echo "$as_me:$LINENO: checking for minix/config.h" >&5 4502 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4503 if test "${ac_cv_header_minix_config_h+set}" = set; then 4504 echo $ECHO_N "(cached) $ECHO_C" >&6 4505 fi 4506 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4507 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 5143 $as_echo_n "(cached) " >&6 5144 fi 5145 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5146 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4508 5147 else 4509 5148 # Is the header compilable? 4510 echo "$as_me:$LINENO: checking minix/config.h usability" >&54511 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 5149 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 5150 $as_echo_n "checking minix/config.h usability... " >&6; } 4512 5151 cat >conftest.$ac_ext <<_ACEOF 4513 5152 /* confdefs.h. */ … … 4520 5159 _ACEOF 4521 5160 rm -f conftest.$ac_objext 4522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4523 (eval $ac_compile) 2>conftest.er1 5161 if { (ac_try="$ac_compile" 5162 case "(($ac_try" in 5163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5164 *) ac_try_echo=$ac_try;; 5165 esac 5166 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5167 $as_echo "$ac_try_echo") >&5 5168 (eval "$ac_compile") 2>conftest.er1 4524 5169 ac_status=$? 4525 5170 grep -v '^ *+' conftest.er1 >conftest.err 4526 5171 rm -f conftest.er1 4527 5172 cat conftest.err >&5 4528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4529 (exit $ac_status); } && 4530 { ac_try='test -z "$ac_c_werror_flag" 4531 || test ! -s conftest.err' 4532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4533 (eval $ac_try) 2>&5 4534 ac_status=$? 4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4536 (exit $ac_status); }; } && 4537 { ac_try='test -s conftest.$ac_objext' 4538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4539 (eval $ac_try) 2>&5 4540 ac_status=$? 4541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4542 (exit $ac_status); }; }; then 5173 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5174 (exit $ac_status); } && { 5175 test -z "$ac_c_werror_flag" || 5176 test ! -s conftest.err 5177 } && test -s conftest.$ac_objext; then 4543 5178 ac_header_compiler=yes 4544 5179 else 4545 echo "$as_me: failed program was:" >&55180 $as_echo "$as_me: failed program was:" >&5 4546 5181 sed 's/^/| /' conftest.$ac_ext >&5 4547 5182 4548 ac_header_compiler=no 4549 fi 4550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4551 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4552 echo "${ECHO_T}$ac_header_compiler" >&6 5183 ac_header_compiler=no 5184 fi 5185 5186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5187 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5188 $as_echo "$ac_header_compiler" >&6; } 4553 5189 4554 5190 # Is the header present? 4555 echo "$as_me:$LINENO: checking minix/config.h presence" >&54556 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 5191 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 5192 $as_echo_n "checking minix/config.h presence... " >&6; } 4557 5193 cat >conftest.$ac_ext <<_ACEOF 4558 5194 /* confdefs.h. */ … … 4563 5199 #include <minix/config.h> 4564 5200 _ACEOF 4565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4566 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5201 if { (ac_try="$ac_cpp conftest.$ac_ext" 5202 case "(($ac_try" in 5203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5204 *) ac_try_echo=$ac_try;; 5205 esac 5206 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5207 $as_echo "$ac_try_echo") >&5 5208 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4567 5209 ac_status=$? 4568 5210 grep -v '^ *+' conftest.er1 >conftest.err 4569 5211 rm -f conftest.er1 4570 5212 cat conftest.err >&5 4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4572 (exit $ac_status); } >/dev/null; then 4573 if test -s conftest.err; then 4574 ac_cpp_err=$ac_c_preproc_warn_flag 4575 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4576 else 4577 ac_cpp_err= 4578 fi 4579 else 4580 ac_cpp_err=yes 4581 fi 4582 if test -z "$ac_cpp_err"; then 5213 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5214 (exit $ac_status); } >/dev/null && { 5215 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5216 test ! -s conftest.err 5217 }; then 4583 5218 ac_header_preproc=yes 4584 5219 else 4585 echo "$as_me: failed program was:" >&55220 $as_echo "$as_me: failed program was:" >&5 4586 5221 sed 's/^/| /' conftest.$ac_ext >&5 4587 5222 4588 5223 ac_header_preproc=no 4589 5224 fi 5225 4590 5226 rm -f conftest.err conftest.$ac_ext 4591 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54592 echo "${ECHO_T}$ac_header_preproc" >&6 5227 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5228 $as_echo "$ac_header_preproc" >&6; } 4593 5229 4594 5230 # So? What about this header? 4595 5231 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4596 5232 yes:no: ) 4597 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&54598 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}4599 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&54600 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}5233 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 5234 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5235 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 5236 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 4601 5237 ac_header_preproc=yes 4602 5238 ;; 4603 5239 no:yes:* ) 4604 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 4605 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 4606 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 4607 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 4608 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 4609 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 4610 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 4611 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 4612 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 4613 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 4614 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4615 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4616 ( 4617 cat <<\_ASBOX 4618 ## ------------------------------------------ ## 4619 ## Report this to the AC_PACKAGE_NAME lists. ## 4620 ## ------------------------------------------ ## 4621 _ASBOX 4622 ) | 4623 sed "s/^/$as_me: WARNING: /" >&2 5240 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 5241 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 5242 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 5243 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 5244 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 5245 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 5246 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 5247 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 5248 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 5249 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 5250 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 5251 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 5252 4624 5253 ;; 4625 5254 esac 4626 echo "$as_me:$LINENO: checking for minix/config.h" >&54627 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 5255 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5256 $as_echo_n "checking for minix/config.h... " >&6; } 4628 5257 if test "${ac_cv_header_minix_config_h+set}" = set; then 4629 echo $ECHO_N "(cached) $ECHO_C" >&65258 $as_echo_n "(cached) " >&6 4630 5259 else 4631 5260 ac_cv_header_minix_config_h=$ac_header_preproc 4632 5261 fi 4633 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&54634 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4635 4636 fi 4637 if test $ac_cv_header_minix_config_h =yes; then5262 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5263 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5264 5265 fi 5266 if test "x$ac_cv_header_minix_config_h" = x""yes; then 4638 5267 MINIX=yes 4639 5268 else … … 4642 5271 4643 5272 4644 if test "$MINIX" = yes; then5273 if test "$MINIX" = yes; then 4645 5274 4646 5275 cat >>confdefs.h <<\_ACEOF … … 4658 5287 _ACEOF 4659 5288 4660 fi 4661 4662 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 4663 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 5289 fi 5290 5291 5292 5293 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 5294 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5295 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 5296 $as_echo_n "(cached) " >&6 5297 else 5298 cat >conftest.$ac_ext <<_ACEOF 5299 /* confdefs.h. */ 5300 _ACEOF 5301 cat confdefs.h >>conftest.$ac_ext 5302 cat >>conftest.$ac_ext <<_ACEOF 5303 /* end confdefs.h. */ 5304 5305 # define __EXTENSIONS__ 1 5306 $ac_includes_default 5307 int 5308 main () 5309 { 5310 5311 ; 5312 return 0; 5313 } 5314 _ACEOF 5315 rm -f conftest.$ac_objext 5316 if { (ac_try="$ac_compile" 5317 case "(($ac_try" in 5318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5319 *) ac_try_echo=$ac_try;; 5320 esac 5321 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5322 $as_echo "$ac_try_echo") >&5 5323 (eval "$ac_compile") 2>conftest.er1 5324 ac_status=$? 5325 grep -v '^ *+' conftest.er1 >conftest.err 5326 rm -f conftest.er1 5327 cat conftest.err >&5 5328 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5329 (exit $ac_status); } && { 5330 test -z "$ac_c_werror_flag" || 5331 test ! -s conftest.err 5332 } && test -s conftest.$ac_objext; then 5333 ac_cv_safe_to_define___extensions__=yes 5334 else 5335 $as_echo "$as_me: failed program was:" >&5 5336 sed 's/^/| /' conftest.$ac_ext >&5 5337 5338 ac_cv_safe_to_define___extensions__=no 5339 fi 5340 5341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5342 fi 5343 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 5344 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5345 test $ac_cv_safe_to_define___extensions__ = yes && 5346 cat >>confdefs.h <<\_ACEOF 5347 #define __EXTENSIONS__ 1 5348 _ACEOF 5349 5350 cat >>confdefs.h <<\_ACEOF 5351 #define _ALL_SOURCE 1 5352 _ACEOF 5353 5354 cat >>confdefs.h <<\_ACEOF 5355 #define _GNU_SOURCE 1 5356 _ACEOF 5357 5358 cat >>confdefs.h <<\_ACEOF 5359 #define _POSIX_PTHREAD_SEMANTICS 1 5360 _ACEOF 5361 5362 cat >>confdefs.h <<\_ACEOF 5363 #define _TANDEM_SOURCE 1 5364 _ACEOF 5365 5366 5367 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5 5368 $as_echo_n "checking for library containing strerror... " >&6; } 5369 if test "${ac_cv_search_strerror+set}" = set; then 5370 $as_echo_n "(cached) " >&6 5371 else 5372 ac_func_search_save_LIBS=$LIBS 5373 cat >conftest.$ac_ext <<_ACEOF 5374 /* confdefs.h. */ 5375 _ACEOF 5376 cat confdefs.h >>conftest.$ac_ext 5377 cat >>conftest.$ac_ext <<_ACEOF 5378 /* end confdefs.h. */ 5379 5380 /* Override any GCC internal prototype to avoid an error. 5381 Use char because int might match the return type of a GCC 5382 builtin and then its argument prototype would still apply. */ 5383 #ifdef __cplusplus 5384 extern "C" 5385 #endif 5386 char strerror (); 5387 int 5388 main () 5389 { 5390 return strerror (); 5391 ; 5392 return 0; 5393 } 5394 _ACEOF 5395 for ac_lib in '' cposix; do 5396 if test -z "$ac_lib"; then 5397 ac_res="none required" 5398 else 5399 ac_res=-l$ac_lib 5400 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5401 fi 5402 rm -f conftest.$ac_objext conftest$ac_exeext 5403 if { (ac_try="$ac_link" 5404 case "(($ac_try" in 5405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5406 *) ac_try_echo=$ac_try;; 5407 esac 5408 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5409 $as_echo "$ac_try_echo") >&5 5410 (eval "$ac_link") 2>conftest.er1 5411 ac_status=$? 5412 grep -v '^ *+' conftest.er1 >conftest.err 5413 rm -f conftest.er1 5414 cat conftest.err >&5 5415 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5416 (exit $ac_status); } && { 5417 test -z "$ac_c_werror_flag" || 5418 test ! -s conftest.err 5419 } && test -s conftest$ac_exeext && { 5420 test "$cross_compiling" = yes || 5421 $as_test_x conftest$ac_exeext 5422 }; then 5423 ac_cv_search_strerror=$ac_res 5424 else 5425 $as_echo "$as_me: failed program was:" >&5 5426 sed 's/^/| /' conftest.$ac_ext >&5 5427 5428 5429 fi 5430 5431 rm -rf conftest.dSYM 5432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5433 conftest$ac_exeext 5434 if test "${ac_cv_search_strerror+set}" = set; then 5435 break 5436 fi 5437 done 5438 if test "${ac_cv_search_strerror+set}" = set; then 5439 : 5440 else 5441 ac_cv_search_strerror=no 5442 fi 5443 rm conftest.$ac_ext 5444 LIBS=$ac_func_search_save_LIBS 5445 fi 5446 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 5447 $as_echo "$ac_cv_search_strerror" >&6; } 5448 ac_res=$ac_cv_search_strerror 5449 if test "$ac_res" != no; then 5450 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5451 5452 fi 5453 5454 5455 if test "${ac_cv_header_minix_config_h+set}" = set; then 5456 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5457 $as_echo_n "checking for minix/config.h... " >&6; } 5458 if test "${ac_cv_header_minix_config_h+set}" = set; then 5459 $as_echo_n "(cached) " >&6 5460 fi 5461 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5462 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5463 else 5464 # Is the header compilable? 5465 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 5466 $as_echo_n "checking minix/config.h usability... " >&6; } 5467 cat >conftest.$ac_ext <<_ACEOF 5468 /* confdefs.h. */ 5469 _ACEOF 5470 cat confdefs.h >>conftest.$ac_ext 5471 cat >>conftest.$ac_ext <<_ACEOF 5472 /* end confdefs.h. */ 5473 $ac_includes_default 5474 #include <minix/config.h> 5475 _ACEOF 5476 rm -f conftest.$ac_objext 5477 if { (ac_try="$ac_compile" 5478 case "(($ac_try" in 5479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5480 *) ac_try_echo=$ac_try;; 5481 esac 5482 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5483 $as_echo "$ac_try_echo") >&5 5484 (eval "$ac_compile") 2>conftest.er1 5485 ac_status=$? 5486 grep -v '^ *+' conftest.er1 >conftest.err 5487 rm -f conftest.er1 5488 cat conftest.err >&5 5489 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5490 (exit $ac_status); } && { 5491 test -z "$ac_c_werror_flag" || 5492 test ! -s conftest.err 5493 } && test -s conftest.$ac_objext; then 5494 ac_header_compiler=yes 5495 else 5496 $as_echo "$as_me: failed program was:" >&5 5497 sed 's/^/| /' conftest.$ac_ext >&5 5498 5499 ac_header_compiler=no 5500 fi 5501 5502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5503 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5504 $as_echo "$ac_header_compiler" >&6; } 5505 5506 # Is the header present? 5507 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 5508 $as_echo_n "checking minix/config.h presence... " >&6; } 5509 cat >conftest.$ac_ext <<_ACEOF 5510 /* confdefs.h. */ 5511 _ACEOF 5512 cat confdefs.h >>conftest.$ac_ext 5513 cat >>conftest.$ac_ext <<_ACEOF 5514 /* end confdefs.h. */ 5515 #include <minix/config.h> 5516 _ACEOF 5517 if { (ac_try="$ac_cpp conftest.$ac_ext" 5518 case "(($ac_try" in 5519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5520 *) ac_try_echo=$ac_try;; 5521 esac 5522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5523 $as_echo "$ac_try_echo") >&5 5524 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5525 ac_status=$? 5526 grep -v '^ *+' conftest.er1 >conftest.err 5527 rm -f conftest.er1 5528 cat conftest.err >&5 5529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5530 (exit $ac_status); } >/dev/null && { 5531 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5532 test ! -s conftest.err 5533 }; then 5534 ac_header_preproc=yes 5535 else 5536 $as_echo "$as_me: failed program was:" >&5 5537 sed 's/^/| /' conftest.$ac_ext >&5 5538 5539 ac_header_preproc=no 5540 fi 5541 5542 rm -f conftest.err conftest.$ac_ext 5543 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5544 $as_echo "$ac_header_preproc" >&6; } 5545 5546 # So? What about this header? 5547 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5548 yes:no: ) 5549 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 5550 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5551 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 5552 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 5553 ac_header_preproc=yes 5554 ;; 5555 no:yes:* ) 5556 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 5557 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 5558 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 5559 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 5560 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 5561 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 5562 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 5563 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 5564 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 5565 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 5566 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 5567 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 5568 5569 ;; 5570 esac 5571 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5572 $as_echo_n "checking for minix/config.h... " >&6; } 5573 if test "${ac_cv_header_minix_config_h+set}" = set; then 5574 $as_echo_n "(cached) " >&6 5575 else 5576 ac_cv_header_minix_config_h=$ac_header_preproc 5577 fi 5578 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5579 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5580 5581 fi 5582 if test "x$ac_cv_header_minix_config_h" = x""yes; then 5583 MINIX=yes 5584 else 5585 MINIX= 5586 fi 5587 5588 5589 if test "$MINIX" = yes; then 5590 5591 cat >>confdefs.h <<\_ACEOF 5592 #define _POSIX_SOURCE 1 5593 _ACEOF 5594 5595 5596 cat >>confdefs.h <<\_ACEOF 5597 #define _POSIX_1_SOURCE 2 5598 _ACEOF 5599 5600 5601 cat >>confdefs.h <<\_ACEOF 5602 #define _MINIX 1 5603 _ACEOF 5604 5605 fi 5606 5607 5608 5609 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 5610 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5611 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 5612 $as_echo_n "(cached) " >&6 5613 else 5614 cat >conftest.$ac_ext <<_ACEOF 5615 /* confdefs.h. */ 5616 _ACEOF 5617 cat confdefs.h >>conftest.$ac_ext 5618 cat >>conftest.$ac_ext <<_ACEOF 5619 /* end confdefs.h. */ 5620 5621 # define __EXTENSIONS__ 1 5622 $ac_includes_default 5623 int 5624 main () 5625 { 5626 5627 ; 5628 return 0; 5629 } 5630 _ACEOF 5631 rm -f conftest.$ac_objext 5632 if { (ac_try="$ac_compile" 5633 case "(($ac_try" in 5634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5635 *) ac_try_echo=$ac_try;; 5636 esac 5637 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5638 $as_echo "$ac_try_echo") >&5 5639 (eval "$ac_compile") 2>conftest.er1 5640 ac_status=$? 5641 grep -v '^ *+' conftest.er1 >conftest.err 5642 rm -f conftest.er1 5643 cat conftest.err >&5 5644 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5645 (exit $ac_status); } && { 5646 test -z "$ac_c_werror_flag" || 5647 test ! -s conftest.err 5648 } && test -s conftest.$ac_objext; then 5649 ac_cv_safe_to_define___extensions__=yes 5650 else 5651 $as_echo "$as_me: failed program was:" >&5 5652 sed 's/^/| /' conftest.$ac_ext >&5 5653 5654 ac_cv_safe_to_define___extensions__=no 5655 fi 5656 5657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5658 fi 5659 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 5660 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5661 test $ac_cv_safe_to_define___extensions__ = yes && 5662 cat >>confdefs.h <<\_ACEOF 5663 #define __EXTENSIONS__ 1 5664 _ACEOF 5665 5666 cat >>confdefs.h <<\_ACEOF 5667 #define _ALL_SOURCE 1 5668 _ACEOF 5669 5670 cat >>confdefs.h <<\_ACEOF 5671 #define _GNU_SOURCE 1 5672 _ACEOF 5673 5674 cat >>confdefs.h <<\_ACEOF 5675 #define _POSIX_PTHREAD_SEMANTICS 1 5676 _ACEOF 5677 5678 cat >>confdefs.h <<\_ACEOF 5679 #define _TANDEM_SOURCE 1 5680 _ACEOF 5681 5682 5683 { $as_echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 5684 $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; } 4664 5685 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4665 echo $ECHO_N "(cached) $ECHO_C" >&65686 $as_echo_n "(cached) " >&6 4666 5687 else 4667 5688 ac_cv_prog_cc_stdc=no … … 4697 5718 _ACEOF 4698 5719 rm -f conftest.$ac_objext 4699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4700 (eval $ac_compile) 2>conftest.er1 5720 if { (ac_try="$ac_compile" 5721 case "(($ac_try" in 5722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5723 *) ac_try_echo=$ac_try;; 5724 esac 5725 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5726 $as_echo "$ac_try_echo") >&5 5727 (eval "$ac_compile") 2>conftest.er1 4701 5728 ac_status=$? 4702 5729 grep -v '^ *+' conftest.er1 >conftest.err 4703 5730 rm -f conftest.er1 4704 5731 cat conftest.err >&5 4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4706 (exit $ac_status); } && 4707 { ac_try='test -z "$ac_c_werror_flag" 4708 || test ! -s conftest.err' 4709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4710 (eval $ac_try) 2>&5 4711 ac_status=$? 4712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4713 (exit $ac_status); }; } && 4714 { ac_try='test -s conftest.$ac_objext' 4715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4716 (eval $ac_try) 2>&5 4717 ac_status=$? 4718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4719 (exit $ac_status); }; }; then 5732 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5733 (exit $ac_status); } && { 5734 test -z "$ac_c_werror_flag" || 5735 test ! -s conftest.err 5736 } && test -s conftest.$ac_objext; then 4720 5737 ac_cv_prog_cc_stdc="$ac_arg"; break 4721 5738 else 4722 echo "$as_me: failed program was:" >&55739 $as_echo "$as_me: failed program was:" >&5 4723 5740 sed 's/^/| /' conftest.$ac_ext >&5 4724 5741 4725 fi 4726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5742 5743 fi 5744 5745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4727 5746 done 4728 5747 CFLAGS="$ac_save_CFLAGS" … … 4730 5749 fi 4731 5750 4732 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&54733 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 5751 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 5752 $as_echo "$ac_cv_prog_cc_stdc" >&6; } 4734 5753 case "x$ac_cv_prog_cc_stdc" in 4735 5754 x|xno) ;; … … 4738 5757 4739 5758 4740 echo "$as_me:$LINENO: checking for function prototypes" >&54741 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 5759 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5 5760 $as_echo_n "checking for function prototypes... " >&6; } 4742 5761 if test "$ac_cv_prog_cc_stdc" != no; then 4743 echo "$as_me:$LINENO: result: yes" >&54744 echo "${ECHO_T}yes" >&6 5762 { $as_echo "$as_me:$LINENO: result: yes" >&5 5763 $as_echo "yes" >&6; } 4745 5764 cat >>confdefs.h <<\_ACEOF 4746 5765 #define PROTOTYPES 1 … … 4749 5768 U= ANSI2KNR= 4750 5769 else 4751 echo "$as_me:$LINENO: result: no" >&54752 echo "${ECHO_T}no" >&6 5770 { $as_echo "$as_me:$LINENO: result: no" >&5 5771 $as_echo "no" >&6; } 4753 5772 U=_ ANSI2KNR=ansi2knr 4754 5773 fi 4755 5774 4756 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&54757 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 5775 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 5776 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 4758 5777 if test "${ac_cv_c_const+set}" = set; then 4759 echo $ECHO_N "(cached) $ECHO_C" >&65778 $as_echo_n "(cached) " >&6 4760 5779 else 4761 5780 cat >conftest.$ac_ext <<_ACEOF … … 4773 5792 /* Ultrix mips cc rejects this. */ 4774 5793 typedef int charset[2]; 4775 const charset x;5794 const charset cs; 4776 5795 /* SunOS 4.1.1 cc rejects this. */ 4777 char const *const * ccp;4778 char **p ;5796 char const *const *pcpcc; 5797 char **ppc; 4779 5798 /* NEC SVR4.0.2 mips cc rejects this. */ 4780 5799 struct point {int x, y;}; … … 4785 5804 expression */ 4786 5805 const char *g = "string"; 4787 ccp= &g + (g ? g-g : 0);5806 pcpcc = &g + (g ? g-g : 0); 4788 5807 /* HPUX 7.0 cc rejects these. */ 4789 ++ ccp;4790 p = (char**) ccp;4791 ccp = (char const *const *) p;5808 ++pcpcc; 5809 ppc = (char**) pcpcc; 5810 pcpcc = (char const *const *) ppc; 4792 5811 { /* SCO 3.2v4 cc rejects this. */ 4793 5812 char *t; … … 4795 5814 4796 5815 *t++ = 0; 5816 if (s) return 0; 4797 5817 } 4798 5818 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 4813 5833 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4814 5834 const int foo = 10; 5835 if (!foo) return 0; 4815 5836 } 5837 return !cs[0] && !zero.x; 4816 5838 #endif 4817 5839 … … 4821 5843 _ACEOF 4822 5844 rm -f conftest.$ac_objext 4823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4824 (eval $ac_compile) 2>conftest.er1 5845 if { (ac_try="$ac_compile" 5846 case "(($ac_try" in 5847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5848 *) ac_try_echo=$ac_try;; 5849 esac 5850 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5851 $as_echo "$ac_try_echo") >&5 5852 (eval "$ac_compile") 2>conftest.er1 4825 5853 ac_status=$? 4826 5854 grep -v '^ *+' conftest.er1 >conftest.err 4827 5855 rm -f conftest.er1 4828 5856 cat conftest.err >&5 4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4830 (exit $ac_status); } && 4831 { ac_try='test -z "$ac_c_werror_flag" 4832 || test ! -s conftest.err' 4833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4834 (eval $ac_try) 2>&5 4835 ac_status=$? 4836 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4837 (exit $ac_status); }; } && 4838 { ac_try='test -s conftest.$ac_objext' 4839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4840 (eval $ac_try) 2>&5 4841 ac_status=$? 4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4843 (exit $ac_status); }; }; then 5857 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5858 (exit $ac_status); } && { 5859 test -z "$ac_c_werror_flag" || 5860 test ! -s conftest.err 5861 } && test -s conftest.$ac_objext; then 4844 5862 ac_cv_c_const=yes 4845 5863 else 4846 echo "$as_me: failed program was:" >&55864 $as_echo "$as_me: failed program was:" >&5 4847 5865 sed 's/^/| /' conftest.$ac_ext >&5 4848 5866 4849 ac_cv_c_const=no 4850 fi 4851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4852 fi 4853 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4854 echo "${ECHO_T}$ac_cv_c_const" >&6 5867 ac_cv_c_const=no 5868 fi 5869 5870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5871 fi 5872 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 5873 $as_echo "$ac_cv_c_const" >&6; } 4855 5874 if test $ac_cv_c_const = no; then 4856 5875 4857 5876 cat >>confdefs.h <<\_ACEOF 4858 #define const 4859 _ACEOF 4860 4861 fi 4862 4863 echo "$as_me:$LINENO: checking for off_t" >&54864 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 5877 #define const /**/ 5878 _ACEOF 5879 5880 fi 5881 5882 { $as_echo "$as_me:$LINENO: checking for off_t" >&5 5883 $as_echo_n "checking for off_t... " >&6; } 4865 5884 if test "${ac_cv_type_off_t+set}" = set; then 4866 echo $ECHO_N "(cached) $ECHO_C" >&6 4867 else 4868 cat >conftest.$ac_ext <<_ACEOF 5885 $as_echo_n "(cached) " >&6 5886 else 5887 ac_cv_type_off_t=no 5888 cat >conftest.$ac_ext <<_ACEOF 4869 5889 /* confdefs.h. */ 4870 5890 _ACEOF … … 4876 5896 main () 4877 5897 { 4878 if ((off_t *) 0)4879 return 0;4880 5898 if (sizeof (off_t)) 4881 return 0;5899 return 0; 4882 5900 ; 4883 5901 return 0; … … 4885 5903 _ACEOF 4886 5904 rm -f conftest.$ac_objext 4887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4888 (eval $ac_compile) 2>conftest.er1 5905 if { (ac_try="$ac_compile" 5906 case "(($ac_try" in 5907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5908 *) ac_try_echo=$ac_try;; 5909 esac 5910 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5911 $as_echo "$ac_try_echo") >&5 5912 (eval "$ac_compile") 2>conftest.er1 4889 5913 ac_status=$? 4890 5914 grep -v '^ *+' conftest.er1 >conftest.err 4891 5915 rm -f conftest.er1 4892 5916 cat conftest.err >&5 4893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4894 (exit $ac_status); } && 4895 { ac_try='test -z "$ac_c_werror_flag" 4896 || test ! -s conftest.err' 4897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4898 (eval $ac_try) 2>&5 4899 ac_status=$? 4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4901 (exit $ac_status); }; } && 4902 { ac_try='test -s conftest.$ac_objext' 4903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4904 (eval $ac_try) 2>&5 4905 ac_status=$? 4906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4907 (exit $ac_status); }; }; then 4908 ac_cv_type_off_t=yes 4909 else 4910 echo "$as_me: failed program was:" >&5 4911 sed 's/^/| /' conftest.$ac_ext >&5 4912 4913 ac_cv_type_off_t=no 4914 fi 4915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4916 fi 4917 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4918 echo "${ECHO_T}$ac_cv_type_off_t" >&6 4919 if test $ac_cv_type_off_t = yes; then 4920 : 4921 else 4922 4923 cat >>confdefs.h <<_ACEOF 4924 #define off_t long 4925 _ACEOF 4926 4927 fi 4928 4929 echo "$as_me:$LINENO: checking for size_t" >&5 4930 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 4931 if test "${ac_cv_type_size_t+set}" = set; then 4932 echo $ECHO_N "(cached) $ECHO_C" >&6 4933 else 5917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5918 (exit $ac_status); } && { 5919 test -z "$ac_c_werror_flag" || 5920 test ! -s conftest.err 5921 } && test -s conftest.$ac_objext; then 4934 5922 cat >conftest.$ac_ext <<_ACEOF 4935 5923 /* confdefs.h. */ … … 4942 5930 main () 4943 5931 { 4944 if ((size_t *) 0) 4945 return 0; 4946 if (sizeof (size_t)) 4947 return 0; 5932 if (sizeof ((off_t))) 5933 return 0; 4948 5934 ; 4949 5935 return 0; … … 4951 5937 _ACEOF 4952 5938 rm -f conftest.$ac_objext 4953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4954 (eval $ac_compile) 2>conftest.er1 5939 if { (ac_try="$ac_compile" 5940 case "(($ac_try" in 5941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5942 *) ac_try_echo=$ac_try;; 5943 esac 5944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5945 $as_echo "$ac_try_echo") >&5 5946 (eval "$ac_compile") 2>conftest.er1 4955 5947 ac_status=$? 4956 5948 grep -v '^ *+' conftest.er1 >conftest.err 4957 5949 rm -f conftest.er1 4958 5950 cat conftest.err >&5 4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4960 (exit $ac_status); } && 4961 { ac_try='test -z "$ac_c_werror_flag" 4962 || test ! -s conftest.err' 4963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4964 (eval $ac_try) 2>&5 5951 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5952 (exit $ac_status); } && { 5953 test -z "$ac_c_werror_flag" || 5954 test ! -s conftest.err 5955 } && test -s conftest.$ac_objext; then 5956 : 5957 else 5958 $as_echo "$as_me: failed program was:" >&5 5959 sed 's/^/| /' conftest.$ac_ext >&5 5960 5961 ac_cv_type_off_t=yes 5962 fi 5963 5964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5965 else 5966 $as_echo "$as_me: failed program was:" >&5 5967 sed 's/^/| /' conftest.$ac_ext >&5 5968 5969 5970 fi 5971 5972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5973 fi 5974 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 5975 $as_echo "$ac_cv_type_off_t" >&6; } 5976 if test "x$ac_cv_type_off_t" = x""yes; then 5977 : 5978 else 5979 5980 cat >>confdefs.h <<_ACEOF 5981 #define off_t long int 5982 _ACEOF 5983 5984 fi 5985 5986 { $as_echo "$as_me:$LINENO: checking for size_t" >&5 5987 $as_echo_n "checking for size_t... " >&6; } 5988 if test "${ac_cv_type_size_t+set}" = set; then 5989 $as_echo_n "(cached) " >&6 5990 else 5991 ac_cv_type_size_t=no 5992 cat >conftest.$ac_ext <<_ACEOF 5993 /* confdefs.h. */ 5994 _ACEOF 5995 cat confdefs.h >>conftest.$ac_ext 5996 cat >>conftest.$ac_ext <<_ACEOF 5997 /* end confdefs.h. */ 5998 $ac_includes_default 5999 int 6000 main () 6001 { 6002 if (sizeof (size_t)) 6003 return 0; 6004 ; 6005 return 0; 6006 } 6007 _ACEOF 6008 rm -f conftest.$ac_objext 6009 if { (ac_try="$ac_compile" 6010 case "(($ac_try" in 6011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6012 *) ac_try_echo=$ac_try;; 6013 esac 6014 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6015 $as_echo "$ac_try_echo") >&5 6016 (eval "$ac_compile") 2>conftest.er1 4965 6017 ac_status=$? 4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4967 (exit $ac_status); }; } && 4968 { ac_try='test -s conftest.$ac_objext' 4969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4970 (eval $ac_try) 2>&5 6018 grep -v '^ *+' conftest.er1 >conftest.err 6019 rm -f conftest.er1 6020 cat conftest.err >&5 6021 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6022 (exit $ac_status); } && { 6023 test -z "$ac_c_werror_flag" || 6024 test ! -s conftest.err 6025 } && test -s conftest.$ac_objext; then 6026 cat >conftest.$ac_ext <<_ACEOF 6027 /* confdefs.h. */ 6028 _ACEOF 6029 cat confdefs.h >>conftest.$ac_ext 6030 cat >>conftest.$ac_ext <<_ACEOF 6031 /* end confdefs.h. */ 6032 $ac_includes_default 6033 int 6034 main () 6035 { 6036 if (sizeof ((size_t))) 6037 return 0; 6038 ; 6039 return 0; 6040 } 6041 _ACEOF 6042 rm -f conftest.$ac_objext 6043 if { (ac_try="$ac_compile" 6044 case "(($ac_try" in 6045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6046 *) ac_try_echo=$ac_try;; 6047 esac 6048 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6049 $as_echo "$ac_try_echo") >&5 6050 (eval "$ac_compile") 2>conftest.er1 4971 6051 ac_status=$? 4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4973 (exit $ac_status); }; }; then 4974 ac_cv_type_size_t=yes 4975 else 4976 echo "$as_me: failed program was:" >&5 6052 grep -v '^ *+' conftest.er1 >conftest.err 6053 rm -f conftest.er1 6054 cat conftest.err >&5 6055 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6056 (exit $ac_status); } && { 6057 test -z "$ac_c_werror_flag" || 6058 test ! -s conftest.err 6059 } && test -s conftest.$ac_objext; then 6060 : 6061 else 6062 $as_echo "$as_me: failed program was:" >&5 4977 6063 sed 's/^/| /' conftest.$ac_ext >&5 4978 6064 4979 ac_cv_type_size_t=no 4980 fi 4981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4982 fi 4983 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4984 echo "${ECHO_T}$ac_cv_type_size_t" >&6 4985 if test $ac_cv_type_size_t = yes; then 6065 ac_cv_type_size_t=yes 6066 fi 6067 6068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6069 else 6070 $as_echo "$as_me: failed program was:" >&5 6071 sed 's/^/| /' conftest.$ac_ext >&5 6072 6073 6074 fi 6075 6076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6077 fi 6078 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 6079 $as_echo "$ac_cv_type_size_t" >&6; } 6080 if test "x$ac_cv_type_size_t" = x""yes; then 4986 6081 : 4987 6082 else 4988 6083 4989 6084 cat >>confdefs.h <<_ACEOF 4990 #define size_t unsigned 4991 _ACEOF 4992 4993 fi 4994 4995 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&54996 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 6085 #define size_t unsigned int 6086 _ACEOF 6087 6088 fi 6089 6090 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 6091 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 4997 6092 if test "${ac_cv_header_time+set}" = set; then 4998 echo $ECHO_N "(cached) $ECHO_C" >&66093 $as_echo_n "(cached) " >&6 4999 6094 else 5000 6095 cat >conftest.$ac_ext <<_ACEOF … … 5018 6113 _ACEOF 5019 6114 rm -f conftest.$ac_objext 5020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5021 (eval $ac_compile) 2>conftest.er1 6115 if { (ac_try="$ac_compile" 6116 case "(($ac_try" in 6117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6118 *) ac_try_echo=$ac_try;; 6119 esac 6120 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6121 $as_echo "$ac_try_echo") >&5 6122 (eval "$ac_compile") 2>conftest.er1 5022 6123 ac_status=$? 5023 6124 grep -v '^ *+' conftest.er1 >conftest.err 5024 6125 rm -f conftest.er1 5025 6126 cat conftest.err >&5 5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5027 (exit $ac_status); } && 5028 { ac_try='test -z "$ac_c_werror_flag" 5029 || test ! -s conftest.err' 5030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5031 (eval $ac_try) 2>&5 5032 ac_status=$? 5033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5034 (exit $ac_status); }; } && 5035 { ac_try='test -s conftest.$ac_objext' 5036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5037 (eval $ac_try) 2>&5 5038 ac_status=$? 5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5040 (exit $ac_status); }; }; then 6127 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6128 (exit $ac_status); } && { 6129 test -z "$ac_c_werror_flag" || 6130 test ! -s conftest.err 6131 } && test -s conftest.$ac_objext; then 5041 6132 ac_cv_header_time=yes 5042 6133 else 5043 echo "$as_me: failed program was:" >&56134 $as_echo "$as_me: failed program was:" >&5 5044 6135 sed 's/^/| /' conftest.$ac_ext >&5 5045 6136 5046 ac_cv_header_time=no 5047 fi 5048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5049 fi 5050 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 5051 echo "${ECHO_T}$ac_cv_header_time" >&6 6137 ac_cv_header_time=no 6138 fi 6139 6140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6141 fi 6142 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 6143 $as_echo "$ac_cv_header_time" >&6; } 5052 6144 if test $ac_cv_header_time = yes; then 5053 6145 … … 5058 6150 fi 5059 6151 5060 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&55061 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 6152 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 6153 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 5062 6154 if test "${ac_cv_struct_tm+set}" = set; then 5063 echo $ECHO_N "(cached) $ECHO_C" >&66155 $as_echo_n "(cached) " >&6 5064 6156 else 5065 6157 cat >conftest.$ac_ext <<_ACEOF … … 5075 6167 main () 5076 6168 { 5077 struct tm *tp; tp->tm_sec; 6169 struct tm tm; 6170 int *p = &tm.tm_sec; 6171 return !p; 5078 6172 ; 5079 6173 return 0; … … 5081 6175 _ACEOF 5082 6176 rm -f conftest.$ac_objext 5083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5084 (eval $ac_compile) 2>conftest.er1 6177 if { (ac_try="$ac_compile" 6178 case "(($ac_try" in 6179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6180 *) ac_try_echo=$ac_try;; 6181 esac 6182 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6183 $as_echo "$ac_try_echo") >&5 6184 (eval "$ac_compile") 2>conftest.er1 5085 6185 ac_status=$? 5086 6186 grep -v '^ *+' conftest.er1 >conftest.err 5087 6187 rm -f conftest.er1 5088 6188 cat conftest.err >&5 5089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5090 (exit $ac_status); } && 5091 { ac_try='test -z "$ac_c_werror_flag" 5092 || test ! -s conftest.err' 5093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5094 (eval $ac_try) 2>&5 5095 ac_status=$? 5096 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5097 (exit $ac_status); }; } && 5098 { ac_try='test -s conftest.$ac_objext' 5099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5100 (eval $ac_try) 2>&5 5101 ac_status=$? 5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5103 (exit $ac_status); }; }; then 6189 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6190 (exit $ac_status); } && { 6191 test -z "$ac_c_werror_flag" || 6192 test ! -s conftest.err 6193 } && test -s conftest.$ac_objext; then 5104 6194 ac_cv_struct_tm=time.h 5105 6195 else 5106 echo "$as_me: failed program was:" >&56196 $as_echo "$as_me: failed program was:" >&5 5107 6197 sed 's/^/| /' conftest.$ac_ext >&5 5108 6198 5109 ac_cv_struct_tm=sys/time.h 5110 fi 5111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5112 fi 5113 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 5114 echo "${ECHO_T}$ac_cv_struct_tm" >&6 6199 ac_cv_struct_tm=sys/time.h 6200 fi 6201 6202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6203 fi 6204 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 6205 $as_echo "$ac_cv_struct_tm" >&6; } 5115 6206 if test $ac_cv_struct_tm = sys/time.h; then 5116 6207 … … 5140 6231 _ACEOF 5141 6232 rm -f conftest.$ac_objext 5142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5143 (eval $ac_compile) 2>conftest.er1 6233 if { (ac_try="$ac_compile" 6234 case "(($ac_try" in 6235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6236 *) ac_try_echo=$ac_try;; 6237 esac 6238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6239 $as_echo "$ac_try_echo") >&5 6240 (eval "$ac_compile") 2>conftest.er1 5144 6241 ac_status=$? 5145 6242 grep -v '^ *+' conftest.er1 >conftest.err 5146 6243 rm -f conftest.er1 5147 6244 cat conftest.err >&5 5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5149 (exit $ac_status); } && 5150 { ac_try='test -z "$ac_c_werror_flag" 5151 || test ! -s conftest.err' 5152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5153 (eval $ac_try) 2>&5 5154 ac_status=$? 5155 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5156 (exit $ac_status); }; } && 5157 { ac_try='test -s conftest.$ac_objext' 5158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5159 (eval $ac_try) 2>&5 5160 ac_status=$? 5161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5162 (exit $ac_status); }; }; then 6245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6246 (exit $ac_status); } && { 6247 test -z "$ac_c_werror_flag" || 6248 test ! -s conftest.err 6249 } && test -s conftest.$ac_objext; then 5163 6250 : 5164 6251 else 5165 echo "$as_me: failed program was:" >&56252 $as_echo "$as_me: failed program was:" >&5 5166 6253 sed 's/^/| /' conftest.$ac_ext >&5 5167 6254 5168 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5169 fi 5170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5171 fi 5172 5173 5174 5175 echo "$as_me:$LINENO: checking for main in -lg" >&5 5176 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6 6255 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 6256 fi 6257 6258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6259 fi 6260 6261 6262 6263 { $as_echo "$as_me:$LINENO: checking for main in -lg" >&5 6264 $as_echo_n "checking for main in -lg... " >&6; } 5177 6265 if test "${ac_cv_lib_g_main+set}" = set; then 5178 echo $ECHO_N "(cached) $ECHO_C" >&66266 $as_echo_n "(cached) " >&6 5179 6267 else 5180 6268 ac_check_lib_save_LIBS=$LIBS … … 5191 6279 main () 5192 6280 { 5193 main ();6281 return main (); 5194 6282 ; 5195 6283 return 0; … … 5197 6285 _ACEOF 5198 6286 rm -f conftest.$ac_objext conftest$ac_exeext 5199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5200 (eval $ac_link) 2>conftest.er1 6287 if { (ac_try="$ac_link" 6288 case "(($ac_try" in 6289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6290 *) ac_try_echo=$ac_try;; 6291 esac 6292 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6293 $as_echo "$ac_try_echo") >&5 6294 (eval "$ac_link") 2>conftest.er1 5201 6295 ac_status=$? 5202 6296 grep -v '^ *+' conftest.er1 >conftest.err 5203 6297 rm -f conftest.er1 5204 6298 cat conftest.err >&5 5205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5206 (exit $ac_status); } && 5207 { ac_try='test -z "$ac_c_werror_flag" 5208 || test ! -s conftest.err' 5209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5210 (eval $ac_try) 2>&5 5211 ac_status=$? 5212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5213 (exit $ac_status); }; } && 5214 { ac_try='test -s conftest$ac_exeext' 5215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5216 (eval $ac_try) 2>&5 5217 ac_status=$? 5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5219 (exit $ac_status); }; }; then 6299 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6300 (exit $ac_status); } && { 6301 test -z "$ac_c_werror_flag" || 6302 test ! -s conftest.err 6303 } && test -s conftest$ac_exeext && { 6304 test "$cross_compiling" = yes || 6305 $as_test_x conftest$ac_exeext 6306 }; then 5220 6307 ac_cv_lib_g_main=yes 5221 6308 else 5222 echo "$as_me: failed program was:" >&56309 $as_echo "$as_me: failed program was:" >&5 5223 6310 sed 's/^/| /' conftest.$ac_ext >&5 5224 6311 5225 ac_cv_lib_g_main=no 5226 fi 5227 rm -f conftest.err conftest.$ac_objext \ 6312 ac_cv_lib_g_main=no 6313 fi 6314 6315 rm -rf conftest.dSYM 6316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5228 6317 conftest$ac_exeext conftest.$ac_ext 5229 6318 LIBS=$ac_check_lib_save_LIBS 5230 6319 fi 5231 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&55232 echo "${ECHO_T}$ac_cv_lib_g_main" >&6 5233 if test $ac_cv_lib_g_main =yes; then6320 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5 6321 $as_echo "$ac_cv_lib_g_main" >&6; } 6322 if test "x$ac_cv_lib_g_main" = x""yes; then 5234 6323 cat >>confdefs.h <<_ACEOF 5235 6324 #define HAVE_LIBG 1 … … 5242 6331 5243 6332 5244 echo "$as_me:$LINENO: checking for main in -lm" >&55245 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 6333 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5 6334 $as_echo_n "checking for main in -lm... " >&6; } 5246 6335 if test "${ac_cv_lib_m_main+set}" = set; then 5247 echo $ECHO_N "(cached) $ECHO_C" >&66336 $as_echo_n "(cached) " >&6 5248 6337 else 5249 6338 ac_check_lib_save_LIBS=$LIBS … … 5260 6349 main () 5261 6350 { 5262 main ();6351 return main (); 5263 6352 ; 5264 6353 return 0; … … 5266 6355 _ACEOF 5267 6356 rm -f conftest.$ac_objext conftest$ac_exeext 5268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5269 (eval $ac_link) 2>conftest.er1 6357 if { (ac_try="$ac_link" 6358 case "(($ac_try" in 6359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6360 *) ac_try_echo=$ac_try;; 6361 esac 6362 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6363 $as_echo "$ac_try_echo") >&5 6364 (eval "$ac_link") 2>conftest.er1 5270 6365 ac_status=$? 5271 6366 grep -v '^ *+' conftest.er1 >conftest.err 5272 6367 rm -f conftest.er1 5273 6368 cat conftest.err >&5 5274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5275 (exit $ac_status); } && 5276 { ac_try='test -z "$ac_c_werror_flag" 5277 || test ! -s conftest.err' 5278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5279 (eval $ac_try) 2>&5 5280 ac_status=$? 5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5282 (exit $ac_status); }; } && 5283 { ac_try='test -s conftest$ac_exeext' 5284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5285 (eval $ac_try) 2>&5 5286 ac_status=$? 5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5288 (exit $ac_status); }; }; then 6369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6370 (exit $ac_status); } && { 6371 test -z "$ac_c_werror_flag" || 6372 test ! -s conftest.err 6373 } && test -s conftest$ac_exeext && { 6374 test "$cross_compiling" = yes || 6375 $as_test_x conftest$ac_exeext 6376 }; then 5289 6377 ac_cv_lib_m_main=yes 5290 6378 else 5291 echo "$as_me: failed program was:" >&56379 $as_echo "$as_me: failed program was:" >&5 5292 6380 sed 's/^/| /' conftest.$ac_ext >&5 5293 6381 5294 ac_cv_lib_m_main=no 5295 fi 5296 rm -f conftest.err conftest.$ac_objext \ 6382 ac_cv_lib_m_main=no 6383 fi 6384 6385 rm -rf conftest.dSYM 6386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5297 6387 conftest$ac_exeext conftest.$ac_ext 5298 6388 LIBS=$ac_check_lib_save_LIBS 5299 6389 fi 5300 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&55301 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 5302 if test $ac_cv_lib_m_main =yes; then6390 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 6391 $as_echo "$ac_cv_lib_m_main" >&6; } 6392 if test "x$ac_cv_lib_m_main" = x""yes; then 5303 6393 cat >>confdefs.h <<_ACEOF 5304 6394 #define HAVE_LIBM 1 … … 5311 6401 5312 6402 5313 echo "$as_me:$LINENO: checking for main in -lcrypt" >&55314 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 6403 { $as_echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 6404 $as_echo_n "checking for main in -lcrypt... " >&6; } 5315 6405 if test "${ac_cv_lib_crypt_main+set}" = set; then 5316 echo $ECHO_N "(cached) $ECHO_C" >&66406 $as_echo_n "(cached) " >&6 5317 6407 else 5318 6408 ac_check_lib_save_LIBS=$LIBS … … 5329 6419 main () 5330 6420 { 5331 main ();6421 return main (); 5332 6422 ; 5333 6423 return 0; … … 5335 6425 _ACEOF 5336 6426 rm -f conftest.$ac_objext conftest$ac_exeext 5337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5338 (eval $ac_link) 2>conftest.er1 6427 if { (ac_try="$ac_link" 6428 case "(($ac_try" in 6429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6430 *) ac_try_echo=$ac_try;; 6431 esac 6432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6433 $as_echo "$ac_try_echo") >&5 6434 (eval "$ac_link") 2>conftest.er1 5339 6435 ac_status=$? 5340 6436 grep -v '^ *+' conftest.er1 >conftest.err 5341 6437 rm -f conftest.er1 5342 6438 cat conftest.err >&5 5343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5344 (exit $ac_status); } && 5345 { ac_try='test -z "$ac_c_werror_flag" 5346 || test ! -s conftest.err' 5347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5348 (eval $ac_try) 2>&5 5349 ac_status=$? 5350 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5351 (exit $ac_status); }; } && 5352 { ac_try='test -s conftest$ac_exeext' 5353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5354 (eval $ac_try) 2>&5 5355 ac_status=$? 5356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5357 (exit $ac_status); }; }; then 6439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6440 (exit $ac_status); } && { 6441 test -z "$ac_c_werror_flag" || 6442 test ! -s conftest.err 6443 } && test -s conftest$ac_exeext && { 6444 test "$cross_compiling" = yes || 6445 $as_test_x conftest$ac_exeext 6446 }; then 5358 6447 ac_cv_lib_crypt_main=yes 5359 6448 else 5360 echo "$as_me: failed program was:" >&56449 $as_echo "$as_me: failed program was:" >&5 5361 6450 sed 's/^/| /' conftest.$ac_ext >&5 5362 6451 5363 ac_cv_lib_crypt_main=no 5364 fi 5365 rm -f conftest.err conftest.$ac_objext \ 6452 ac_cv_lib_crypt_main=no 6453 fi 6454 6455 rm -rf conftest.dSYM 6456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5366 6457 conftest$ac_exeext conftest.$ac_ext 5367 6458 LIBS=$ac_check_lib_save_LIBS 5368 6459 fi 5369 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&55370 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 5371 if test $ac_cv_lib_crypt_main =yes; then6460 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5 6461 $as_echo "$ac_cv_lib_crypt_main" >&6; } 6462 if test "x$ac_cv_lib_crypt_main" = x""yes; then 5372 6463 cat >>confdefs.h <<_ACEOF 5373 6464 #define HAVE_LIBCRYPT 1 … … 5390 6481 ac_header_dirent=no 5391 6482 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 5392 as_ac_Header=` echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`5393 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&55394 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 5395 if eval "test \"\${$as_ac_Header+set}\" = set"; then5396 echo $ECHO_N "(cached) $ECHO_C" >&66483 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 6484 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 6485 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 6486 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6487 $as_echo_n "(cached) " >&6 5397 6488 else 5398 6489 cat >conftest.$ac_ext <<_ACEOF … … 5415 6506 _ACEOF 5416 6507 rm -f conftest.$ac_objext 5417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5418 (eval $ac_compile) 2>conftest.er1 6508 if { (ac_try="$ac_compile" 6509 case "(($ac_try" in 6510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6511 *) ac_try_echo=$ac_try;; 6512 esac 6513 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6514 $as_echo "$ac_try_echo") >&5 6515 (eval "$ac_compile") 2>conftest.er1 5419 6516 ac_status=$? 5420 6517 grep -v '^ *+' conftest.er1 >conftest.err 5421 6518 rm -f conftest.er1 5422 6519 cat conftest.err >&5 5423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5424 (exit $ac_status); } && 5425 { ac_try='test -z "$ac_c_werror_flag" 5426 || test ! -s conftest.err' 5427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5428 (eval $ac_try) 2>&5 5429 ac_status=$? 5430 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5431 (exit $ac_status); }; } && 5432 { ac_try='test -s conftest.$ac_objext' 5433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5434 (eval $ac_try) 2>&5 5435 ac_status=$? 5436 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5437 (exit $ac_status); }; }; then 6520 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6521 (exit $ac_status); } && { 6522 test -z "$ac_c_werror_flag" || 6523 test ! -s conftest.err 6524 } && test -s conftest.$ac_objext; then 5438 6525 eval "$as_ac_Header=yes" 5439 6526 else 5440 echo "$as_me: failed program was:" >&56527 $as_echo "$as_me: failed program was:" >&5 5441 6528 sed 's/^/| /' conftest.$ac_ext >&5 5442 6529 5443 eval "$as_ac_Header=no" 5444 fi 5445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5446 fi 5447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5449 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6530 eval "$as_ac_Header=no" 6531 fi 6532 6533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6534 fi 6535 ac_res=`eval 'as_val=${'$as_ac_Header'} 6536 $as_echo "$as_val"'` 6537 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6538 $as_echo "$ac_res" >&6; } 6539 as_val=`eval 'as_val=${'$as_ac_Header'} 6540 $as_echo "$as_val"'` 6541 if test "x$as_val" = x""yes; then 5450 6542 cat >>confdefs.h <<_ACEOF 5451 #define ` echo "HAVE_$ac_hdr" | $as_tr_cpp` 16543 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 5452 6544 _ACEOF 5453 6545 … … 5458 6550 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 5459 6551 if test $ac_header_dirent = dirent.h; then 5460 echo "$as_me:$LINENO: checking for library containing opendir" >&55461 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 6552 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 6553 $as_echo_n "checking for library containing opendir... " >&6; } 5462 6554 if test "${ac_cv_search_opendir+set}" = set; then 5463 echo $ECHO_N "(cached) $ECHO_C" >&66555 $as_echo_n "(cached) " >&6 5464 6556 else 5465 6557 ac_func_search_save_LIBS=$LIBS 5466 ac_cv_search_opendir=no5467 6558 cat >conftest.$ac_ext <<_ACEOF 5468 6559 /* confdefs.h. */ … … 5472 6563 /* end confdefs.h. */ 5473 6564 5474 /* Override any gcc2 internal prototype to avoid an error. */ 6565 /* Override any GCC internal prototype to avoid an error. 6566 Use char because int might match the return type of a GCC 6567 builtin and then its argument prototype would still apply. */ 5475 6568 #ifdef __cplusplus 5476 6569 extern "C" 5477 6570 #endif 5478 /* We use char because int might match the return type of a gcc25479 builtin and then its argument prototype would still apply. */5480 6571 char opendir (); 5481 6572 int 5482 6573 main () 5483 6574 { 5484 opendir ();6575 return opendir (); 5485 6576 ; 5486 6577 return 0; 5487 6578 } 5488 6579 _ACEOF 5489 rm -f conftest.$ac_objext conftest$ac_exeext 5490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5491 (eval $ac_link) 2>conftest.er1 6580 for ac_lib in '' dir; do 6581 if test -z "$ac_lib"; then 6582 ac_res="none required" 6583 else 6584 ac_res=-l$ac_lib 6585 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6586 fi 6587 rm -f conftest.$ac_objext conftest$ac_exeext 6588 if { (ac_try="$ac_link" 6589 case "(($ac_try" in 6590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6591 *) ac_try_echo=$ac_try;; 6592 esac 6593 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6594 $as_echo "$ac_try_echo") >&5 6595 (eval "$ac_link") 2>conftest.er1 5492 6596 ac_status=$? 5493 6597 grep -v '^ *+' conftest.er1 >conftest.err 5494 6598 rm -f conftest.er1 5495 6599 cat conftest.err >&5 5496 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5497 (exit $ac_status); } && 5498 { ac_try='test -z "$ac_c_werror_flag" 5499 || test ! -s conftest.err' 5500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5501 (eval $ac_try) 2>&5 5502 ac_status=$? 5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5504 (exit $ac_status); }; } && 5505 { ac_try='test -s conftest$ac_exeext' 5506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5507 (eval $ac_try) 2>&5 5508 ac_status=$? 5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5510 (exit $ac_status); }; }; then 5511 ac_cv_search_opendir="none required" 5512 else 5513 echo "$as_me: failed program was:" >&5 6600 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6601 (exit $ac_status); } && { 6602 test -z "$ac_c_werror_flag" || 6603 test ! -s conftest.err 6604 } && test -s conftest$ac_exeext && { 6605 test "$cross_compiling" = yes || 6606 $as_test_x conftest$ac_exeext 6607 }; then 6608 ac_cv_search_opendir=$ac_res 6609 else 6610 $as_echo "$as_me: failed program was:" >&5 5514 6611 sed 's/^/| /' conftest.$ac_ext >&5 5515 6612 5516 fi 5517 rm -f conftest.err conftest.$ac_objext \ 5518 conftest$ac_exeext conftest.$ac_ext 5519 if test "$ac_cv_search_opendir" = no; then 5520 for ac_lib in dir; do 5521 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5522 cat >conftest.$ac_ext <<_ACEOF 6613 6614 fi 6615 6616 rm -rf conftest.dSYM 6617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6618 conftest$ac_exeext 6619 if test "${ac_cv_search_opendir+set}" = set; then 6620 break 6621 fi 6622 done 6623 if test "${ac_cv_search_opendir+set}" = set; then 6624 : 6625 else 6626 ac_cv_search_opendir=no 6627 fi 6628 rm conftest.$ac_ext 6629 LIBS=$ac_func_search_save_LIBS 6630 fi 6631 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 6632 $as_echo "$ac_cv_search_opendir" >&6; } 6633 ac_res=$ac_cv_search_opendir 6634 if test "$ac_res" != no; then 6635 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6636 6637 fi 6638 6639 else 6640 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 6641 $as_echo_n "checking for library containing opendir... " >&6; } 6642 if test "${ac_cv_search_opendir+set}" = set; then 6643 $as_echo_n "(cached) " >&6 6644 else 6645 ac_func_search_save_LIBS=$LIBS 6646 cat >conftest.$ac_ext <<_ACEOF 5523 6647 /* confdefs.h. */ 5524 6648 _ACEOF … … 5527 6651 /* end confdefs.h. */ 5528 6652 5529 /* Override any gcc2 internal prototype to avoid an error. */ 6653 /* Override any GCC internal prototype to avoid an error. 6654 Use char because int might match the return type of a GCC 6655 builtin and then its argument prototype would still apply. */ 5530 6656 #ifdef __cplusplus 5531 6657 extern "C" 5532 6658 #endif 5533 /* We use char because int might match the return type of a gcc25534 builtin and then its argument prototype would still apply. */5535 6659 char opendir (); 5536 6660 int 5537 6661 main () 5538 6662 { 5539 opendir ();6663 return opendir (); 5540 6664 ; 5541 6665 return 0; 5542 6666 } 5543 6667 _ACEOF 5544 rm -f conftest.$ac_objext conftest$ac_exeext 5545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5546 (eval $ac_link) 2>conftest.er1 6668 for ac_lib in '' x; do 6669 if test -z "$ac_lib"; then 6670 ac_res="none required" 6671 else 6672 ac_res=-l$ac_lib 6673 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6674 fi 6675 rm -f conftest.$ac_objext conftest$ac_exeext 6676 if { (ac_try="$ac_link" 6677 case "(($ac_try" in 6678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6679 *) ac_try_echo=$ac_try;; 6680 esac 6681 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6682 $as_echo "$ac_try_echo") >&5 6683 (eval "$ac_link") 2>conftest.er1 5547 6684 ac_status=$? 5548 6685 grep -v '^ *+' conftest.er1 >conftest.err 5549 6686 rm -f conftest.er1 5550 6687 cat conftest.err >&5 5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5552 (exit $ac_status); } && 5553 { ac_try='test -z "$ac_c_werror_flag" 5554 || test ! -s conftest.err' 5555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5556 (eval $ac_try) 2>&5 5557 ac_status=$? 5558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5559 (exit $ac_status); }; } && 5560 { ac_try='test -s conftest$ac_exeext' 5561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5562 (eval $ac_try) 2>&5 5563 ac_status=$? 5564 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5565 (exit $ac_status); }; }; then 5566 ac_cv_search_opendir="-l$ac_lib" 5567 break 5568 else 5569 echo "$as_me: failed program was:" >&5 6688 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6689 (exit $ac_status); } && { 6690 test -z "$ac_c_werror_flag" || 6691 test ! -s conftest.err 6692 } && test -s conftest$ac_exeext && { 6693 test "$cross_compiling" = yes || 6694 $as_test_x conftest$ac_exeext 6695 }; then 6696 ac_cv_search_opendir=$ac_res 6697 else 6698 $as_echo "$as_me: failed program was:" >&5 5570 6699 sed 's/^/| /' conftest.$ac_ext >&5 5571 6700 5572 fi 5573 rm -f conftest.err conftest.$ac_objext \ 5574 conftest$ac_exeext conftest.$ac_ext 5575 done 5576 fi 6701 6702 fi 6703 6704 rm -rf conftest.dSYM 6705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6706 conftest$ac_exeext 6707 if test "${ac_cv_search_opendir+set}" = set; then 6708 break 6709 fi 6710 done 6711 if test "${ac_cv_search_opendir+set}" = set; then 6712 : 6713 else 6714 ac_cv_search_opendir=no 6715 fi 6716 rm conftest.$ac_ext 5577 6717 LIBS=$ac_func_search_save_LIBS 5578 6718 fi 5579 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5580 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5581 if test "$ac_cv_search_opendir" != no; then 5582 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5583 5584 fi 5585 5586 else 5587 echo "$as_me:$LINENO: checking for library containing opendir" >&5 5588 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5589 if test "${ac_cv_search_opendir+set}" = set; then 5590 echo $ECHO_N "(cached) $ECHO_C" >&6 5591 else 5592 ac_func_search_save_LIBS=$LIBS 5593 ac_cv_search_opendir=no 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 /* Override any gcc2 internal prototype to avoid an error. */ 5602 #ifdef __cplusplus 5603 extern "C" 5604 #endif 5605 /* We use char because int might match the return type of a gcc2 5606 builtin and then its argument prototype would still apply. */ 5607 char opendir (); 5608 int 5609 main () 5610 { 5611 opendir (); 5612 ; 5613 return 0; 5614 } 5615 _ACEOF 5616 rm -f conftest.$ac_objext conftest$ac_exeext 5617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5618 (eval $ac_link) 2>conftest.er1 5619 ac_status=$? 5620 grep -v '^ *+' conftest.er1 >conftest.err 5621 rm -f conftest.er1 5622 cat conftest.err >&5 5623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5624 (exit $ac_status); } && 5625 { ac_try='test -z "$ac_c_werror_flag" 5626 || test ! -s conftest.err' 5627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5628 (eval $ac_try) 2>&5 5629 ac_status=$? 5630 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5631 (exit $ac_status); }; } && 5632 { ac_try='test -s conftest$ac_exeext' 5633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5634 (eval $ac_try) 2>&5 5635 ac_status=$? 5636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5637 (exit $ac_status); }; }; then 5638 ac_cv_search_opendir="none required" 5639 else 5640 echo "$as_me: failed program was:" >&5 5641 sed 's/^/| /' conftest.$ac_ext >&5 5642 5643 fi 5644 rm -f conftest.err conftest.$ac_objext \ 5645 conftest$ac_exeext conftest.$ac_ext 5646 if test "$ac_cv_search_opendir" = no; then 5647 for ac_lib in x; do 5648 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5649 cat >conftest.$ac_ext <<_ACEOF 5650 /* confdefs.h. */ 5651 _ACEOF 5652 cat confdefs.h >>conftest.$ac_ext 5653 cat >>conftest.$ac_ext <<_ACEOF 5654 /* end confdefs.h. */ 5655 5656 /* Override any gcc2 internal prototype to avoid an error. */ 5657 #ifdef __cplusplus 5658 extern "C" 5659 #endif 5660 /* We use char because int might match the return type of a gcc2 5661 builtin and then its argument prototype would still apply. */ 5662 char opendir (); 5663 int 5664 main () 5665 { 5666 opendir (); 5667 ; 5668 return 0; 5669 } 5670 _ACEOF 5671 rm -f conftest.$ac_objext conftest$ac_exeext 5672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5673 (eval $ac_link) 2>conftest.er1 5674 ac_status=$? 5675 grep -v '^ *+' conftest.er1 >conftest.err 5676 rm -f conftest.er1 5677 cat conftest.err >&5 5678 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5679 (exit $ac_status); } && 5680 { ac_try='test -z "$ac_c_werror_flag" 5681 || test ! -s conftest.err' 5682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5683 (eval $ac_try) 2>&5 5684 ac_status=$? 5685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5686 (exit $ac_status); }; } && 5687 { ac_try='test -s conftest$ac_exeext' 5688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5689 (eval $ac_try) 2>&5 5690 ac_status=$? 5691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5692 (exit $ac_status); }; }; then 5693 ac_cv_search_opendir="-l$ac_lib" 5694 break 5695 else 5696 echo "$as_me: failed program was:" >&5 5697 sed 's/^/| /' conftest.$ac_ext >&5 5698 5699 fi 5700 rm -f conftest.err conftest.$ac_objext \ 5701 conftest$ac_exeext conftest.$ac_ext 5702 done 5703 fi 5704 LIBS=$ac_func_search_save_LIBS 5705 fi 5706 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5707 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5708 if test "$ac_cv_search_opendir" != no; then 5709 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5710 5711 fi 5712 5713 fi 5714 5715 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5716 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6719 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 6720 $as_echo "$ac_cv_search_opendir" >&6; } 6721 ac_res=$ac_cv_search_opendir 6722 if test "$ac_res" != no; then 6723 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6724 6725 fi 6726 6727 fi 6728 6729 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6730 $as_echo_n "checking for ANSI C header files... " >&6; } 5717 6731 if test "${ac_cv_header_stdc+set}" = set; then 5718 echo $ECHO_N "(cached) $ECHO_C" >&66732 $as_echo_n "(cached) " >&6 5719 6733 else 5720 6734 cat >conftest.$ac_ext <<_ACEOF … … 5738 6752 _ACEOF 5739 6753 rm -f conftest.$ac_objext 5740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5741 (eval $ac_compile) 2>conftest.er1 6754 if { (ac_try="$ac_compile" 6755 case "(($ac_try" in 6756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6757 *) ac_try_echo=$ac_try;; 6758 esac 6759 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6760 $as_echo "$ac_try_echo") >&5 6761 (eval "$ac_compile") 2>conftest.er1 5742 6762 ac_status=$? 5743 6763 grep -v '^ *+' conftest.er1 >conftest.err 5744 6764 rm -f conftest.er1 5745 6765 cat conftest.err >&5 5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5747 (exit $ac_status); } && 5748 { ac_try='test -z "$ac_c_werror_flag" 5749 || test ! -s conftest.err' 5750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5751 (eval $ac_try) 2>&5 5752 ac_status=$? 5753 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5754 (exit $ac_status); }; } && 5755 { ac_try='test -s conftest.$ac_objext' 5756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5757 (eval $ac_try) 2>&5 5758 ac_status=$? 5759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5760 (exit $ac_status); }; }; then 6766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6767 (exit $ac_status); } && { 6768 test -z "$ac_c_werror_flag" || 6769 test ! -s conftest.err 6770 } && test -s conftest.$ac_objext; then 5761 6771 ac_cv_header_stdc=yes 5762 6772 else 5763 echo "$as_me: failed program was:" >&56773 $as_echo "$as_me: failed program was:" >&5 5764 6774 sed 's/^/| /' conftest.$ac_ext >&5 5765 6775 5766 ac_cv_header_stdc=no 5767 fi 5768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6776 ac_cv_header_stdc=no 6777 fi 6778 6779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5769 6780 5770 6781 if test $ac_cv_header_stdc = yes; then … … 5822 6833 /* end confdefs.h. */ 5823 6834 #include <ctype.h> 6835 #include <stdlib.h> 5824 6836 #if ((' ' & 0x0FF) == 0x020) 5825 6837 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 5841 6853 if (XOR (islower (i), ISLOWER (i)) 5842 6854 || toupper (i) != TOUPPER (i)) 5843 exit(2);5844 exit (0);6855 return 2; 6856 return 0; 5845 6857 } 5846 6858 _ACEOF 5847 6859 rm -f conftest$ac_exeext 5848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5849 (eval $ac_link) 2>&5 6860 if { (ac_try="$ac_link" 6861 case "(($ac_try" in 6862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6863 *) ac_try_echo=$ac_try;; 6864 esac 6865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6866 $as_echo "$ac_try_echo") >&5 6867 (eval "$ac_link") 2>&5 5850 6868 ac_status=$? 5851 echo "$as_me:$LINENO: \$? = $ac_status" >&56869 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5852 6870 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5854 (eval $ac_try) 2>&5 6871 { (case "(($ac_try" in 6872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6873 *) ac_try_echo=$ac_try;; 6874 esac 6875 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6876 $as_echo "$ac_try_echo") >&5 6877 (eval "$ac_try") 2>&5 5855 6878 ac_status=$? 5856 echo "$as_me:$LINENO: \$? = $ac_status" >&56879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5857 6880 (exit $ac_status); }; }; then 5858 6881 : 5859 6882 else 5860 echo "$as_me: program exited with status $ac_status" >&55861 echo "$as_me: failed program was:" >&56883 $as_echo "$as_me: program exited with status $ac_status" >&5 6884 $as_echo "$as_me: failed program was:" >&5 5862 6885 sed 's/^/| /' conftest.$ac_ext >&5 5863 6886 … … 5865 6888 ac_cv_header_stdc=no 5866 6889 fi 5867 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5868 fi 5869 fi 5870 fi 5871 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5872 echo "${ECHO_T}$ac_cv_header_stdc" >&6 6890 rm -rf conftest.dSYM 6891 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6892 fi 6893 6894 6895 fi 6896 fi 6897 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6898 $as_echo "$ac_cv_header_stdc" >&6; } 5873 6899 if test $ac_cv_header_stdc = yes; then 5874 6900 … … 5890 6916 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 5891 6917 do 5892 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5893 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5894 echo "$as_me:$LINENO: checking for $ac_header" >&5 5895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5896 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5897 echo $ECHO_N "(cached) $ECHO_C" >&6 5898 fi 5899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6918 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6919 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6920 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6921 $as_echo_n "checking for $ac_header... " >&6; } 6922 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6923 $as_echo_n "(cached) " >&6 6924 fi 6925 ac_res=`eval 'as_val=${'$as_ac_Header'} 6926 $as_echo "$as_val"'` 6927 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6928 $as_echo "$ac_res" >&6; } 5901 6929 else 5902 6930 # Is the header compilable? 5903 echo "$as_me:$LINENO: checking $ac_header usability" >&55904 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6931 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6932 $as_echo_n "checking $ac_header usability... " >&6; } 5905 6933 cat >conftest.$ac_ext <<_ACEOF 5906 6934 /* confdefs.h. */ … … 5913 6941 _ACEOF 5914 6942 rm -f conftest.$ac_objext 5915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5916 (eval $ac_compile) 2>conftest.er1 6943 if { (ac_try="$ac_compile" 6944 case "(($ac_try" in 6945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6946 *) ac_try_echo=$ac_try;; 6947 esac 6948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6949 $as_echo "$ac_try_echo") >&5 6950 (eval "$ac_compile") 2>conftest.er1 5917 6951 ac_status=$? 5918 6952 grep -v '^ *+' conftest.er1 >conftest.err 5919 6953 rm -f conftest.er1 5920 6954 cat conftest.err >&5 5921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5922 (exit $ac_status); } && 5923 { ac_try='test -z "$ac_c_werror_flag" 5924 || test ! -s conftest.err' 5925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5926 (eval $ac_try) 2>&5 5927 ac_status=$? 5928 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5929 (exit $ac_status); }; } && 5930 { ac_try='test -s conftest.$ac_objext' 5931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5932 (eval $ac_try) 2>&5 5933 ac_status=$? 5934 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5935 (exit $ac_status); }; }; then 6955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6956 (exit $ac_status); } && { 6957 test -z "$ac_c_werror_flag" || 6958 test ! -s conftest.err 6959 } && test -s conftest.$ac_objext; then 5936 6960 ac_header_compiler=yes 5937 6961 else 5938 echo "$as_me: failed program was:" >&56962 $as_echo "$as_me: failed program was:" >&5 5939 6963 sed 's/^/| /' conftest.$ac_ext >&5 5940 6964 5941 ac_header_compiler=no 5942 fi 5943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5944 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5945 echo "${ECHO_T}$ac_header_compiler" >&6 6965 ac_header_compiler=no 6966 fi 6967 6968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6969 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6970 $as_echo "$ac_header_compiler" >&6; } 5946 6971 5947 6972 # Is the header present? 5948 echo "$as_me:$LINENO: checking $ac_header presence" >&55949 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6973 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6974 $as_echo_n "checking $ac_header presence... " >&6; } 5950 6975 cat >conftest.$ac_ext <<_ACEOF 5951 6976 /* confdefs.h. */ … … 5956 6981 #include <$ac_header> 5957 6982 _ACEOF 5958 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5959 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6983 if { (ac_try="$ac_cpp conftest.$ac_ext" 6984 case "(($ac_try" in 6985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6986 *) ac_try_echo=$ac_try;; 6987 esac 6988 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6989 $as_echo "$ac_try_echo") >&5 6990 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5960 6991 ac_status=$? 5961 6992 grep -v '^ *+' conftest.er1 >conftest.err 5962 6993 rm -f conftest.er1 5963 6994 cat conftest.err >&5 5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5965 (exit $ac_status); } >/dev/null; then 5966 if test -s conftest.err; then 5967 ac_cpp_err=$ac_c_preproc_warn_flag 5968 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5969 else 5970 ac_cpp_err= 5971 fi 5972 else 5973 ac_cpp_err=yes 5974 fi 5975 if test -z "$ac_cpp_err"; then 6995 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6996 (exit $ac_status); } >/dev/null && { 6997 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6998 test ! -s conftest.err 6999 }; then 5976 7000 ac_header_preproc=yes 5977 7001 else 5978 echo "$as_me: failed program was:" >&57002 $as_echo "$as_me: failed program was:" >&5 5979 7003 sed 's/^/| /' conftest.$ac_ext >&5 5980 7004 5981 7005 ac_header_preproc=no 5982 7006 fi 7007 5983 7008 rm -f conftest.err conftest.$ac_ext 5984 echo "$as_me:$LINENO: result: $ac_header_preproc" >&55985 echo "${ECHO_T}$ac_header_preproc" >&6 7009 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7010 $as_echo "$ac_header_preproc" >&6; } 5986 7011 5987 7012 # So? What about this header? 5988 7013 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5989 7014 yes:no: ) 5990 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&55991 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}5992 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&55993 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}7015 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7016 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7017 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7018 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5994 7019 ac_header_preproc=yes 5995 7020 ;; 5996 7021 no:yes:* ) 5997 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5998 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5999 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6000 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6001 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6002 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6003 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6004 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6005 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6006 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6007 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6008 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6009 ( 6010 cat <<\_ASBOX 6011 ## ------------------------------------------ ## 6012 ## Report this to the AC_PACKAGE_NAME lists. ## 6013 ## ------------------------------------------ ## 6014 _ASBOX 6015 ) | 6016 sed "s/^/$as_me: WARNING: /" >&2 7022 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7023 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7024 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7025 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7026 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7027 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7028 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7029 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7030 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7031 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7032 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7033 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7034 6017 7035 ;; 6018 7036 esac 6019 echo "$as_me:$LINENO: checking for $ac_header" >&56020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6021 if eval "test \"\${$as_ac_Header+set}\" = set"; then6022 echo $ECHO_N "(cached) $ECHO_C" >&67037 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7038 $as_echo_n "checking for $ac_header... " >&6; } 7039 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7040 $as_echo_n "(cached) " >&6 6023 7041 else 6024 7042 eval "$as_ac_Header=\$ac_header_preproc" 6025 7043 fi 6026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6027 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6028 6029 fi 6030 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7044 ac_res=`eval 'as_val=${'$as_ac_Header'} 7045 $as_echo "$as_val"'` 7046 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7047 $as_echo "$ac_res" >&6; } 7048 7049 fi 7050 as_val=`eval 'as_val=${'$as_ac_Header'} 7051 $as_echo "$as_val"'` 7052 if test "x$as_val" = x""yes; then 6031 7053 cat >>confdefs.h <<_ACEOF 6032 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 17054 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6033 7055 _ACEOF 6034 7056 … … 6094 7116 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 6095 7117 # for constant arguments. Useless! 6096 echo "$as_me:$LINENO: checking for working alloca.h" >&56097 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 7118 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 7119 $as_echo_n "checking for working alloca.h... " >&6; } 6098 7120 if test "${ac_cv_working_alloca_h+set}" = set; then 6099 echo $ECHO_N "(cached) $ECHO_C" >&67121 $as_echo_n "(cached) " >&6 6100 7122 else 6101 7123 cat >conftest.$ac_ext <<_ACEOF … … 6110 7132 { 6111 7133 char *p = (char *) alloca (2 * sizeof (int)); 7134 if (p) return 0; 6112 7135 ; 6113 7136 return 0; … … 6115 7138 _ACEOF 6116 7139 rm -f conftest.$ac_objext conftest$ac_exeext 6117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6118 (eval $ac_link) 2>conftest.er1 7140 if { (ac_try="$ac_link" 7141 case "(($ac_try" in 7142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7143 *) ac_try_echo=$ac_try;; 7144 esac 7145 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7146 $as_echo "$ac_try_echo") >&5 7147 (eval "$ac_link") 2>conftest.er1 6119 7148 ac_status=$? 6120 7149 grep -v '^ *+' conftest.er1 >conftest.err 6121 7150 rm -f conftest.er1 6122 7151 cat conftest.err >&5 6123 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6124 (exit $ac_status); } && 6125 { ac_try='test -z "$ac_c_werror_flag" 6126 || test ! -s conftest.err' 6127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6128 (eval $ac_try) 2>&5 6129 ac_status=$? 6130 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6131 (exit $ac_status); }; } && 6132 { ac_try='test -s conftest$ac_exeext' 6133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6134 (eval $ac_try) 2>&5 6135 ac_status=$? 6136 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6137 (exit $ac_status); }; }; then 7152 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7153 (exit $ac_status); } && { 7154 test -z "$ac_c_werror_flag" || 7155 test ! -s conftest.err 7156 } && test -s conftest$ac_exeext && { 7157 test "$cross_compiling" = yes || 7158 $as_test_x conftest$ac_exeext 7159 }; then 6138 7160 ac_cv_working_alloca_h=yes 6139 7161 else 6140 echo "$as_me: failed program was:" >&57162 $as_echo "$as_me: failed program was:" >&5 6141 7163 sed 's/^/| /' conftest.$ac_ext >&5 6142 7164 6143 ac_cv_working_alloca_h=no 6144 fi 6145 rm -f conftest.err conftest.$ac_objext \ 7165 ac_cv_working_alloca_h=no 7166 fi 7167 7168 rm -rf conftest.dSYM 7169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6146 7170 conftest$ac_exeext conftest.$ac_ext 6147 7171 fi 6148 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&56149 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 7172 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 7173 $as_echo "$ac_cv_working_alloca_h" >&6; } 6150 7174 if test $ac_cv_working_alloca_h = yes; then 6151 7175 … … 6156 7180 fi 6157 7181 6158 echo "$as_me:$LINENO: checking for alloca" >&56159 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 7182 { $as_echo "$as_me:$LINENO: checking for alloca" >&5 7183 $as_echo_n "checking for alloca... " >&6; } 6160 7184 if test "${ac_cv_func_alloca_works+set}" = set; then 6161 echo $ECHO_N "(cached) $ECHO_C" >&67185 $as_echo_n "(cached) " >&6 6162 7186 else 6163 7187 cat >conftest.$ac_ext <<_ACEOF … … 6174 7198 # define alloca _alloca 6175 7199 # else 6176 # if HAVE_ALLOCA_H7200 # ifdef HAVE_ALLOCA_H 6177 7201 # include <alloca.h> 6178 7202 # else … … 6192 7216 { 6193 7217 char *p = (char *) alloca (1); 7218 if (p) return 0; 6194 7219 ; 6195 7220 return 0; … … 6197 7222 _ACEOF 6198 7223 rm -f conftest.$ac_objext conftest$ac_exeext 6199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6200 (eval $ac_link) 2>conftest.er1 7224 if { (ac_try="$ac_link" 7225 case "(($ac_try" in 7226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7227 *) ac_try_echo=$ac_try;; 7228 esac 7229 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7230 $as_echo "$ac_try_echo") >&5 7231 (eval "$ac_link") 2>conftest.er1 6201 7232 ac_status=$? 6202 7233 grep -v '^ *+' conftest.er1 >conftest.err 6203 7234 rm -f conftest.er1 6204 7235 cat conftest.err >&5 6205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6206 (exit $ac_status); } && 6207 { ac_try='test -z "$ac_c_werror_flag" 6208 || test ! -s conftest.err' 6209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6210 (eval $ac_try) 2>&5 6211 ac_status=$? 6212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6213 (exit $ac_status); }; } && 6214 { ac_try='test -s conftest$ac_exeext' 6215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6216 (eval $ac_try) 2>&5 6217 ac_status=$? 6218 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6219 (exit $ac_status); }; }; then 7236 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7237 (exit $ac_status); } && { 7238 test -z "$ac_c_werror_flag" || 7239 test ! -s conftest.err 7240 } && test -s conftest$ac_exeext && { 7241 test "$cross_compiling" = yes || 7242 $as_test_x conftest$ac_exeext 7243 }; then 6220 7244 ac_cv_func_alloca_works=yes 6221 7245 else 6222 echo "$as_me: failed program was:" >&57246 $as_echo "$as_me: failed program was:" >&5 6223 7247 sed 's/^/| /' conftest.$ac_ext >&5 6224 7248 6225 ac_cv_func_alloca_works=no 6226 fi 6227 rm -f conftest.err conftest.$ac_objext \ 7249 ac_cv_func_alloca_works=no 7250 fi 7251 7252 rm -rf conftest.dSYM 7253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6228 7254 conftest$ac_exeext conftest.$ac_ext 6229 7255 fi 6230 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&56231 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 7256 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 7257 $as_echo "$ac_cv_func_alloca_works" >&6; } 6232 7258 6233 7259 if test $ac_cv_func_alloca_works = yes; then … … 6243 7269 # use ar to extract alloca.o from them instead of compiling alloca.c. 6244 7270 6245 ALLOCA= alloca.$ac_objext7271 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 6246 7272 6247 7273 cat >>confdefs.h <<\_ACEOF … … 6250 7276 6251 7277 6252 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&56253 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 7278 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 7279 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 6254 7280 if test "${ac_cv_os_cray+set}" = set; then 6255 echo $ECHO_N "(cached) $ECHO_C" >&67281 $as_echo_n "(cached) " >&6 6256 7282 else 6257 7283 cat >conftest.$ac_ext <<_ACEOF … … 6261 7287 cat >>conftest.$ac_ext <<_ACEOF 6262 7288 /* end confdefs.h. */ 6263 #if defined (CRAY) && ! defined(CRAY2)7289 #if defined CRAY && ! defined CRAY2 6264 7290 webecray 6265 7291 #else … … 6277 7303 6278 7304 fi 6279 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&56280 echo "${ECHO_T}$ac_cv_os_cray" >&6 7305 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 7306 $as_echo "$ac_cv_os_cray" >&6; } 6281 7307 if test $ac_cv_os_cray = yes; then 6282 7308 for ac_func in _getb67 GETB67 getb67; do 6283 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6284 echo "$as_me:$LINENO: checking for $ac_func" >&56285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6286 if eval "test \"\${$as_ac_var+set}\" = set"; then6287 echo $ECHO_N "(cached) $ECHO_C" >&67309 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7310 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7311 $as_echo_n "checking for $ac_func... " >&6; } 7312 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7313 $as_echo_n "(cached) " >&6 6288 7314 else 6289 7315 cat >conftest.$ac_ext <<_ACEOF … … 6310 7336 #undef $ac_func 6311 7337 6312 /* Override any gcc2 internal prototype to avoid an error. */ 7338 /* Override any GCC internal prototype to avoid an error. 7339 Use char because int might match the return type of a GCC 7340 builtin and then its argument prototype would still apply. */ 6313 7341 #ifdef __cplusplus 6314 7342 extern "C" 6315 {6316 7343 #endif 6317 /* We use char because int might match the return type of a gcc26318 builtin and then its argument prototype would still apply. */6319 7344 char $ac_func (); 6320 7345 /* The GNU C library defines this for functions which it implements 6321 7346 to always fail with ENOSYS. Some functions are actually named 6322 7347 something starting with __ and the normal name is an alias. */ 6323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7348 #if defined __stub_$ac_func || defined __stub___$ac_func 6324 7349 choke me 6325 #else6326 char (*f) () = $ac_func;6327 #endif6328 #ifdef __cplusplus6329 }6330 7350 #endif 6331 7351 … … 6333 7353 main () 6334 7354 { 6335 return f != $ac_func;7355 return $ac_func (); 6336 7356 ; 6337 7357 return 0; … … 6339 7359 _ACEOF 6340 7360 rm -f conftest.$ac_objext conftest$ac_exeext 6341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6342 (eval $ac_link) 2>conftest.er1 7361 if { (ac_try="$ac_link" 7362 case "(($ac_try" in 7363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7364 *) ac_try_echo=$ac_try;; 7365 esac 7366 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7367 $as_echo "$ac_try_echo") >&5 7368 (eval "$ac_link") 2>conftest.er1 6343 7369 ac_status=$? 6344 7370 grep -v '^ *+' conftest.er1 >conftest.err 6345 7371 rm -f conftest.er1 6346 7372 cat conftest.err >&5 6347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6348 (exit $ac_status); } && 6349 { ac_try='test -z "$ac_c_werror_flag" 6350 || test ! -s conftest.err' 6351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6352 (eval $ac_try) 2>&5 6353 ac_status=$? 6354 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6355 (exit $ac_status); }; } && 6356 { ac_try='test -s conftest$ac_exeext' 6357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6358 (eval $ac_try) 2>&5 6359 ac_status=$? 6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6361 (exit $ac_status); }; }; then 7373 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7374 (exit $ac_status); } && { 7375 test -z "$ac_c_werror_flag" || 7376 test ! -s conftest.err 7377 } && test -s conftest$ac_exeext && { 7378 test "$cross_compiling" = yes || 7379 $as_test_x conftest$ac_exeext 7380 }; then 6362 7381 eval "$as_ac_var=yes" 6363 7382 else 6364 echo "$as_me: failed program was:" >&57383 $as_echo "$as_me: failed program was:" >&5 6365 7384 sed 's/^/| /' conftest.$ac_ext >&5 6366 7385 6367 eval "$as_ac_var=no" 6368 fi 6369 rm -f conftest.err conftest.$ac_objext \ 7386 eval "$as_ac_var=no" 7387 fi 7388 7389 rm -rf conftest.dSYM 7390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6370 7391 conftest$ac_exeext conftest.$ac_ext 6371 7392 fi 6372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6374 if test `eval echo '${'$as_ac_var'}'` = yes; then 7393 ac_res=`eval 'as_val=${'$as_ac_var'} 7394 $as_echo "$as_val"'` 7395 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7396 $as_echo "$ac_res" >&6; } 7397 as_val=`eval 'as_val=${'$as_ac_var'} 7398 $as_echo "$as_val"'` 7399 if test "x$as_val" = x""yes; then 6375 7400 6376 7401 cat >>confdefs.h <<_ACEOF … … 6384 7409 fi 6385 7410 6386 echo "$as_me:$LINENO: checking stack direction for C alloca" >&56387 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 7411 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 7412 $as_echo_n "checking stack direction for C alloca... " >&6; } 6388 7413 if test "${ac_cv_c_stack_direction+set}" = set; then 6389 echo $ECHO_N "(cached) $ECHO_C" >&67414 $as_echo_n "(cached) " >&6 6390 7415 else 6391 7416 if test "$cross_compiling" = yes; then … … 6398 7423 cat >>conftest.$ac_ext <<_ACEOF 6399 7424 /* end confdefs.h. */ 7425 $ac_includes_default 6400 7426 int 6401 7427 find_stack_direction () … … 6415 7441 main () 6416 7442 { 6417 exit (find_stack_direction () < 0);7443 return find_stack_direction () < 0; 6418 7444 } 6419 7445 _ACEOF 6420 7446 rm -f conftest$ac_exeext 6421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6422 (eval $ac_link) 2>&5 7447 if { (ac_try="$ac_link" 7448 case "(($ac_try" in 7449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7450 *) ac_try_echo=$ac_try;; 7451 esac 7452 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7453 $as_echo "$ac_try_echo") >&5 7454 (eval "$ac_link") 2>&5 6423 7455 ac_status=$? 6424 echo "$as_me:$LINENO: \$? = $ac_status" >&57456 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6425 7457 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6427 (eval $ac_try) 2>&5 7458 { (case "(($ac_try" in 7459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7460 *) ac_try_echo=$ac_try;; 7461 esac 7462 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7463 $as_echo "$ac_try_echo") >&5 7464 (eval "$ac_try") 2>&5 6428 7465 ac_status=$? 6429 echo "$as_me:$LINENO: \$? = $ac_status" >&57466 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6430 7467 (exit $ac_status); }; }; then 6431 7468 ac_cv_c_stack_direction=1 6432 7469 else 6433 echo "$as_me: program exited with status $ac_status" >&56434 echo "$as_me: failed program was:" >&57470 $as_echo "$as_me: program exited with status $ac_status" >&5 7471 $as_echo "$as_me: failed program was:" >&5 6435 7472 sed 's/^/| /' conftest.$ac_ext >&5 6436 7473 … … 6438 7475 ac_cv_c_stack_direction=-1 6439 7476 fi 6440 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6441 fi 6442 fi 6443 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 6444 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 7477 rm -rf conftest.dSYM 7478 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7479 fi 7480 7481 7482 fi 7483 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 7484 $as_echo "$ac_cv_c_stack_direction" >&6; } 6445 7485 6446 7486 cat >>confdefs.h <<_ACEOF … … 6452 7492 6453 7493 if test $ac_cv_c_compiler_gnu = yes; then 6454 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&56455 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 7494 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 7495 $as_echo_n "checking whether $CC needs -traditional... " >&6; } 6456 7496 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 6457 echo $ECHO_N "(cached) $ECHO_C" >&67497 $as_echo_n "(cached) " >&6 6458 7498 else 6459 7499 ac_pattern="Autoconf.*'x'" … … 6494 7534 fi 6495 7535 fi 6496 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&56497 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 7536 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 7537 $as_echo "$ac_cv_prog_gcc_traditional" >&6; } 6498 7538 if test $ac_cv_prog_gcc_traditional = yes; then 6499 7539 CC="$CC -traditional" … … 6501 7541 fi 6502 7542 6503 echo "$as_me:$LINENO: checking return type of signal handlers" >&56504 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 7543 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 7544 $as_echo_n "checking return type of signal handlers... " >&6; } 6505 7545 if test "${ac_cv_type_signal+set}" = set; then 6506 echo $ECHO_N "(cached) $ECHO_C" >&67546 $as_echo_n "(cached) " >&6 6507 7547 else 6508 7548 cat >conftest.$ac_ext <<_ACEOF … … 6514 7554 #include <sys/types.h> 6515 7555 #include <signal.h> 6516 #ifdef signal6517 # undef signal6518 #endif6519 #ifdef __cplusplus6520 extern "C" void (*signal (int, void (*)(int)))(int);6521 #else6522 void (*signal ()) ();6523 #endif6524 7556 6525 7557 int 6526 7558 main () 6527 7559 { 6528 int i;7560 return *(signal (0, 0)) (0) == 1; 6529 7561 ; 6530 7562 return 0; … … 6532 7564 _ACEOF 6533 7565 rm -f conftest.$ac_objext 6534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6535 (eval $ac_compile) 2>conftest.er1 7566 if { (ac_try="$ac_compile" 7567 case "(($ac_try" in 7568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7569 *) ac_try_echo=$ac_try;; 7570 esac 7571 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7572 $as_echo "$ac_try_echo") >&5 7573 (eval "$ac_compile") 2>conftest.er1 6536 7574 ac_status=$? 6537 7575 grep -v '^ *+' conftest.er1 >conftest.err 6538 7576 rm -f conftest.er1 6539 7577 cat conftest.err >&5 6540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6541 (exit $ac_status); } && 6542 { ac_try='test -z "$ac_c_werror_flag" 6543 || test ! -s conftest.err' 6544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6545 (eval $ac_try) 2>&5 6546 ac_status=$? 6547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6548 (exit $ac_status); }; } && 6549 { ac_try='test -s conftest.$ac_objext' 6550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6551 (eval $ac_try) 2>&5 6552 ac_status=$? 6553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6554 (exit $ac_status); }; }; then 6555 ac_cv_type_signal=void 6556 else 6557 echo "$as_me: failed program was:" >&5 7578 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7579 (exit $ac_status); } && { 7580 test -z "$ac_c_werror_flag" || 7581 test ! -s conftest.err 7582 } && test -s conftest.$ac_objext; then 7583 ac_cv_type_signal=int 7584 else 7585 $as_echo "$as_me: failed program was:" >&5 6558 7586 sed 's/^/| /' conftest.$ac_ext >&5 6559 7587 6560 ac_cv_type_signal=int 6561 fi 6562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6563 fi 6564 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 6565 echo "${ECHO_T}$ac_cv_type_signal" >&6 7588 ac_cv_type_signal=void 7589 fi 7590 7591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7592 fi 7593 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 7594 $as_echo "$ac_cv_type_signal" >&6; } 6566 7595 6567 7596 cat >>confdefs.h <<_ACEOF … … 6573 7602 for ac_func in vprintf 6574 7603 do 6575 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6576 echo "$as_me:$LINENO: checking for $ac_func" >&56577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6578 if eval "test \"\${$as_ac_var+set}\" = set"; then6579 echo $ECHO_N "(cached) $ECHO_C" >&67604 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7605 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7606 $as_echo_n "checking for $ac_func... " >&6; } 7607 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7608 $as_echo_n "(cached) " >&6 6580 7609 else 6581 7610 cat >conftest.$ac_ext <<_ACEOF … … 6602 7631 #undef $ac_func 6603 7632 6604 /* Override any gcc2 internal prototype to avoid an error. */ 7633 /* Override any GCC internal prototype to avoid an error. 7634 Use char because int might match the return type of a GCC 7635 builtin and then its argument prototype would still apply. */ 6605 7636 #ifdef __cplusplus 6606 7637 extern "C" 6607 {6608 7638 #endif 6609 /* We use char because int might match the return type of a gcc26610 builtin and then its argument prototype would still apply. */6611 7639 char $ac_func (); 6612 7640 /* The GNU C library defines this for functions which it implements 6613 7641 to always fail with ENOSYS. Some functions are actually named 6614 7642 something starting with __ and the normal name is an alias. */ 6615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7643 #if defined __stub_$ac_func || defined __stub___$ac_func 6616 7644 choke me 6617 #else6618 char (*f) () = $ac_func;6619 #endif6620 #ifdef __cplusplus6621 }6622 7645 #endif 6623 7646 … … 6625 7648 main () 6626 7649 { 6627 return f != $ac_func;7650 return $ac_func (); 6628 7651 ; 6629 7652 return 0; … … 6631 7654 _ACEOF 6632 7655 rm -f conftest.$ac_objext conftest$ac_exeext 6633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6634 (eval $ac_link) 2>conftest.er1 7656 if { (ac_try="$ac_link" 7657 case "(($ac_try" in 7658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7659 *) ac_try_echo=$ac_try;; 7660 esac 7661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7662 $as_echo "$ac_try_echo") >&5 7663 (eval "$ac_link") 2>conftest.er1 6635 7664 ac_status=$? 6636 7665 grep -v '^ *+' conftest.er1 >conftest.err 6637 7666 rm -f conftest.er1 6638 7667 cat conftest.err >&5 6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6640 (exit $ac_status); } && 6641 { ac_try='test -z "$ac_c_werror_flag" 6642 || test ! -s conftest.err' 6643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6644 (eval $ac_try) 2>&5 6645 ac_status=$? 6646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6647 (exit $ac_status); }; } && 6648 { ac_try='test -s conftest$ac_exeext' 6649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6650 (eval $ac_try) 2>&5 6651 ac_status=$? 6652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6653 (exit $ac_status); }; }; then 7668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7669 (exit $ac_status); } && { 7670 test -z "$ac_c_werror_flag" || 7671 test ! -s conftest.err 7672 } && test -s conftest$ac_exeext && { 7673 test "$cross_compiling" = yes || 7674 $as_test_x conftest$ac_exeext 7675 }; then 6654 7676 eval "$as_ac_var=yes" 6655 7677 else 6656 echo "$as_me: failed program was:" >&57678 $as_echo "$as_me: failed program was:" >&5 6657 7679 sed 's/^/| /' conftest.$ac_ext >&5 6658 7680 6659 eval "$as_ac_var=no" 6660 fi 6661 rm -f conftest.err conftest.$ac_objext \ 7681 eval "$as_ac_var=no" 7682 fi 7683 7684 rm -rf conftest.dSYM 7685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6662 7686 conftest$ac_exeext conftest.$ac_ext 6663 7687 fi 6664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6666 if test `eval echo '${'$as_ac_var'}'` = yes; then 7688 ac_res=`eval 'as_val=${'$as_ac_var'} 7689 $as_echo "$as_val"'` 7690 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7691 $as_echo "$ac_res" >&6; } 7692 as_val=`eval 'as_val=${'$as_ac_var'} 7693 $as_echo "$as_val"'` 7694 if test "x$as_val" = x""yes; then 6667 7695 cat >>confdefs.h <<_ACEOF 6668 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 16669 _ACEOF 6670 6671 echo "$as_me:$LINENO: checking for _doprnt" >&56672 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 7696 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7697 _ACEOF 7698 7699 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5 7700 $as_echo_n "checking for _doprnt... " >&6; } 6673 7701 if test "${ac_cv_func__doprnt+set}" = set; then 6674 echo $ECHO_N "(cached) $ECHO_C" >&67702 $as_echo_n "(cached) " >&6 6675 7703 else 6676 7704 cat >conftest.$ac_ext <<_ACEOF … … 6697 7725 #undef _doprnt 6698 7726 6699 /* Override any gcc2 internal prototype to avoid an error. */ 7727 /* Override any GCC internal prototype to avoid an error. 7728 Use char because int might match the return type of a GCC 7729 builtin and then its argument prototype would still apply. */ 6700 7730 #ifdef __cplusplus 6701 7731 extern "C" 6702 {6703 7732 #endif 6704 /* We use char because int might match the return type of a gcc26705 builtin and then its argument prototype would still apply. */6706 7733 char _doprnt (); 6707 7734 /* The GNU C library defines this for functions which it implements 6708 7735 to always fail with ENOSYS. Some functions are actually named 6709 7736 something starting with __ and the normal name is an alias. */ 6710 #if defined (__stub__doprnt) || defined (__stub____doprnt)7737 #if defined __stub__doprnt || defined __stub____doprnt 6711 7738 choke me 6712 #else6713 char (*f) () = _doprnt;6714 #endif6715 #ifdef __cplusplus6716 }6717 7739 #endif 6718 7740 … … 6720 7742 main () 6721 7743 { 6722 return f != _doprnt;7744 return _doprnt (); 6723 7745 ; 6724 7746 return 0; … … 6726 7748 _ACEOF 6727 7749 rm -f conftest.$ac_objext conftest$ac_exeext 6728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6729 (eval $ac_link) 2>conftest.er1 7750 if { (ac_try="$ac_link" 7751 case "(($ac_try" in 7752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7753 *) ac_try_echo=$ac_try;; 7754 esac 7755 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7756 $as_echo "$ac_try_echo") >&5 7757 (eval "$ac_link") 2>conftest.er1 6730 7758 ac_status=$? 6731 7759 grep -v '^ *+' conftest.er1 >conftest.err 6732 7760 rm -f conftest.er1 6733 7761 cat conftest.err >&5 6734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6735 (exit $ac_status); } && 6736 { ac_try='test -z "$ac_c_werror_flag" 6737 || test ! -s conftest.err' 6738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6739 (eval $ac_try) 2>&5 6740 ac_status=$? 6741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6742 (exit $ac_status); }; } && 6743 { ac_try='test -s conftest$ac_exeext' 6744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6745 (eval $ac_try) 2>&5 6746 ac_status=$? 6747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6748 (exit $ac_status); }; }; then 7762 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7763 (exit $ac_status); } && { 7764 test -z "$ac_c_werror_flag" || 7765 test ! -s conftest.err 7766 } && test -s conftest$ac_exeext && { 7767 test "$cross_compiling" = yes || 7768 $as_test_x conftest$ac_exeext 7769 }; then 6749 7770 ac_cv_func__doprnt=yes 6750 7771 else 6751 echo "$as_me: failed program was:" >&57772 $as_echo "$as_me: failed program was:" >&5 6752 7773 sed 's/^/| /' conftest.$ac_ext >&5 6753 7774 6754 ac_cv_func__doprnt=no 6755 fi 6756 rm -f conftest.err conftest.$ac_objext \ 7775 ac_cv_func__doprnt=no 7776 fi 7777 7778 rm -rf conftest.dSYM 7779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6757 7780 conftest$ac_exeext conftest.$ac_ext 6758 7781 fi 6759 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&56760 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 6761 if test $ac_cv_func__doprnt =yes; then7782 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 7783 $as_echo "$ac_cv_func__doprnt" >&6; } 7784 if test "x$ac_cv_func__doprnt" = x""yes; then 6762 7785 6763 7786 cat >>confdefs.h <<\_ACEOF … … 6783 7806 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror 6784 7807 do 6785 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6786 echo "$as_me:$LINENO: checking for $ac_func" >&56787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6788 if eval "test \"\${$as_ac_var+set}\" = set"; then6789 echo $ECHO_N "(cached) $ECHO_C" >&67808 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7809 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7810 $as_echo_n "checking for $ac_func... " >&6; } 7811 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7812 $as_echo_n "(cached) " >&6 6790 7813 else 6791 7814 cat >conftest.$ac_ext <<_ACEOF … … 6812 7835 #undef $ac_func 6813 7836 6814 /* Override any gcc2 internal prototype to avoid an error. */ 7837 /* Override any GCC internal prototype to avoid an error. 7838 Use char because int might match the return type of a GCC 7839 builtin and then its argument prototype would still apply. */ 6815 7840 #ifdef __cplusplus 6816 7841 extern "C" 6817 {6818 7842 #endif 6819 /* We use char because int might match the return type of a gcc26820 builtin and then its argument prototype would still apply. */6821 7843 char $ac_func (); 6822 7844 /* The GNU C library defines this for functions which it implements 6823 7845 to always fail with ENOSYS. Some functions are actually named 6824 7846 something starting with __ and the normal name is an alias. */ 6825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7847 #if defined __stub_$ac_func || defined __stub___$ac_func 6826 7848 choke me 6827 #else6828 char (*f) () = $ac_func;6829 #endif6830 #ifdef __cplusplus6831 }6832 7849 #endif 6833 7850 … … 6835 7852 main () 6836 7853 { 6837 return f != $ac_func;7854 return $ac_func (); 6838 7855 ; 6839 7856 return 0; … … 6841 7858 _ACEOF 6842 7859 rm -f conftest.$ac_objext conftest$ac_exeext 6843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6844 (eval $ac_link) 2>conftest.er1 7860 if { (ac_try="$ac_link" 7861 case "(($ac_try" in 7862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7863 *) ac_try_echo=$ac_try;; 7864 esac 7865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7866 $as_echo "$ac_try_echo") >&5 7867 (eval "$ac_link") 2>conftest.er1 6845 7868 ac_status=$? 6846 7869 grep -v '^ *+' conftest.er1 >conftest.err 6847 7870 rm -f conftest.er1 6848 7871 cat conftest.err >&5 6849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6850 (exit $ac_status); } && 6851 { ac_try='test -z "$ac_c_werror_flag" 6852 || test ! -s conftest.err' 6853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6854 (eval $ac_try) 2>&5 6855 ac_status=$? 6856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6857 (exit $ac_status); }; } && 6858 { ac_try='test -s conftest$ac_exeext' 6859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6860 (eval $ac_try) 2>&5 6861 ac_status=$? 6862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6863 (exit $ac_status); }; }; then 7872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7873 (exit $ac_status); } && { 7874 test -z "$ac_c_werror_flag" || 7875 test ! -s conftest.err 7876 } && test -s conftest$ac_exeext && { 7877 test "$cross_compiling" = yes || 7878 $as_test_x conftest$ac_exeext 7879 }; then 6864 7880 eval "$as_ac_var=yes" 6865 7881 else 6866 echo "$as_me: failed program was:" >&57882 $as_echo "$as_me: failed program was:" >&5 6867 7883 sed 's/^/| /' conftest.$ac_ext >&5 6868 7884 6869 eval "$as_ac_var=no" 6870 fi 6871 rm -f conftest.err conftest.$ac_objext \ 7885 eval "$as_ac_var=no" 7886 fi 7887 7888 rm -rf conftest.dSYM 7889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6872 7890 conftest$ac_exeext conftest.$ac_ext 6873 7891 fi 6874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6876 if test `eval echo '${'$as_ac_var'}'` = yes; then 7892 ac_res=`eval 'as_val=${'$as_ac_var'} 7893 $as_echo "$as_val"'` 7894 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7895 $as_echo "$ac_res" >&6; } 7896 as_val=`eval 'as_val=${'$as_ac_var'} 7897 $as_echo "$as_val"'` 7898 if test "x$as_val" = x""yes; then 6877 7899 cat >>confdefs.h <<_ACEOF 6878 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 17900 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6879 7901 _ACEOF 6880 7902 … … 6887 7909 for ac_func in ftruncate strstr strcasecmp 6888 7910 do 6889 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6890 echo "$as_me:$LINENO: checking for $ac_func" >&56891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6892 if eval "test \"\${$as_ac_var+set}\" = set"; then6893 echo $ECHO_N "(cached) $ECHO_C" >&67911 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7912 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7913 $as_echo_n "checking for $ac_func... " >&6; } 7914 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7915 $as_echo_n "(cached) " >&6 6894 7916 else 6895 7917 cat >conftest.$ac_ext <<_ACEOF … … 6916 7938 #undef $ac_func 6917 7939 6918 /* Override any gcc2 internal prototype to avoid an error. */ 7940 /* Override any GCC internal prototype to avoid an error. 7941 Use char because int might match the return type of a GCC 7942 builtin and then its argument prototype would still apply. */ 6919 7943 #ifdef __cplusplus 6920 7944 extern "C" 6921 {6922 7945 #endif 6923 /* We use char because int might match the return type of a gcc26924 builtin and then its argument prototype would still apply. */6925 7946 char $ac_func (); 6926 7947 /* The GNU C library defines this for functions which it implements 6927 7948 to always fail with ENOSYS. Some functions are actually named 6928 7949 something starting with __ and the normal name is an alias. */ 6929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7950 #if defined __stub_$ac_func || defined __stub___$ac_func 6930 7951 choke me 6931 #else6932 char (*f) () = $ac_func;6933 #endif6934 #ifdef __cplusplus6935 }6936 7952 #endif 6937 7953 … … 6939 7955 main () 6940 7956 { 6941 return f != $ac_func;7957 return $ac_func (); 6942 7958 ; 6943 7959 return 0; … … 6945 7961 _ACEOF 6946 7962 rm -f conftest.$ac_objext conftest$ac_exeext 6947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6948 (eval $ac_link) 2>conftest.er1 7963 if { (ac_try="$ac_link" 7964 case "(($ac_try" in 7965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7966 *) ac_try_echo=$ac_try;; 7967 esac 7968 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7969 $as_echo "$ac_try_echo") >&5 7970 (eval "$ac_link") 2>conftest.er1 6949 7971 ac_status=$? 6950 7972 grep -v '^ *+' conftest.er1 >conftest.err 6951 7973 rm -f conftest.er1 6952 7974 cat conftest.err >&5 6953 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6954 (exit $ac_status); } && 6955 { ac_try='test -z "$ac_c_werror_flag" 6956 || test ! -s conftest.err' 6957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6958 (eval $ac_try) 2>&5 6959 ac_status=$? 6960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6961 (exit $ac_status); }; } && 6962 { ac_try='test -s conftest$ac_exeext' 6963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6964 (eval $ac_try) 2>&5 6965 ac_status=$? 6966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6967 (exit $ac_status); }; }; then 7975 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7976 (exit $ac_status); } && { 7977 test -z "$ac_c_werror_flag" || 7978 test ! -s conftest.err 7979 } && test -s conftest$ac_exeext && { 7980 test "$cross_compiling" = yes || 7981 $as_test_x conftest$ac_exeext 7982 }; then 6968 7983 eval "$as_ac_var=yes" 6969 7984 else 6970 echo "$as_me: failed program was:" >&57985 $as_echo "$as_me: failed program was:" >&5 6971 7986 sed 's/^/| /' conftest.$ac_ext >&5 6972 7987 6973 eval "$as_ac_var=no" 6974 fi 6975 rm -f conftest.err conftest.$ac_objext \ 7988 eval "$as_ac_var=no" 7989 fi 7990 7991 rm -rf conftest.dSYM 7992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6976 7993 conftest$ac_exeext conftest.$ac_ext 6977 7994 fi 6978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6980 if test `eval echo '${'$as_ac_var'}'` = yes; then 7995 ac_res=`eval 'as_val=${'$as_ac_var'} 7996 $as_echo "$as_val"'` 7997 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7998 $as_echo "$ac_res" >&6; } 7999 as_val=`eval 'as_val=${'$as_ac_var'} 8000 $as_echo "$as_val"'` 8001 if test "x$as_val" = x""yes; then 6981 8002 cat >>confdefs.h <<_ACEOF 6982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6983 _ACEOF 6984 6985 else 6986 case $LIBOBJS in 6987 "$ac_func.$ac_objext" | \ 6988 *" $ac_func.$ac_objext" | \ 6989 "$ac_func.$ac_objext "* | \ 8003 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8004 _ACEOF 8005 8006 else 8007 case " $LIBOBJS " in 6990 8008 *" $ac_func.$ac_objext "* ) ;; 6991 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; 8009 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 8010 ;; 6992 8011 esac 6993 8012 … … 6997 8016 6998 8017 6999 echo "$as_me:$LINENO: checking for textdomain" >&57000 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6 8018 { $as_echo "$as_me:$LINENO: checking for textdomain" >&5 8019 $as_echo_n "checking for textdomain... " >&6; } 7001 8020 if test "${ac_cv_func_textdomain+set}" = set; then 7002 echo $ECHO_N "(cached) $ECHO_C" >&68021 $as_echo_n "(cached) " >&6 7003 8022 else 7004 8023 cat >conftest.$ac_ext <<_ACEOF … … 7025 8044 #undef textdomain 7026 8045 7027 /* Override any gcc2 internal prototype to avoid an error. */ 8046 /* Override any GCC internal prototype to avoid an error. 8047 Use char because int might match the return type of a GCC 8048 builtin and then its argument prototype would still apply. */ 7028 8049 #ifdef __cplusplus 7029 8050 extern "C" 7030 {7031 8051 #endif 7032 /* We use char because int might match the return type of a gcc27033 builtin and then its argument prototype would still apply. */7034 8052 char textdomain (); 7035 8053 /* The GNU C library defines this for functions which it implements 7036 8054 to always fail with ENOSYS. Some functions are actually named 7037 8055 something starting with __ and the normal name is an alias. */ 7038 #if defined (__stub_textdomain) || defined (__stub___textdomain)8056 #if defined __stub_textdomain || defined __stub___textdomain 7039 8057 choke me 7040 #else7041 char (*f) () = textdomain;7042 #endif7043 #ifdef __cplusplus7044 }7045 8058 #endif 7046 8059 … … 7048 8061 main () 7049 8062 { 7050 return f != textdomain;8063 return textdomain (); 7051 8064 ; 7052 8065 return 0; … … 7054 8067 _ACEOF 7055 8068 rm -f conftest.$ac_objext conftest$ac_exeext 7056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7057 (eval $ac_link) 2>conftest.er1 8069 if { (ac_try="$ac_link" 8070 case "(($ac_try" in 8071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8072 *) ac_try_echo=$ac_try;; 8073 esac 8074 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8075 $as_echo "$ac_try_echo") >&5 8076 (eval "$ac_link") 2>conftest.er1 7058 8077 ac_status=$? 7059 8078 grep -v '^ *+' conftest.er1 >conftest.err 7060 8079 rm -f conftest.er1 7061 8080 cat conftest.err >&5 7062 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7063 (exit $ac_status); } && 7064 { ac_try='test -z "$ac_c_werror_flag" 7065 || test ! -s conftest.err' 7066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7067 (eval $ac_try) 2>&5 7068 ac_status=$? 7069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7070 (exit $ac_status); }; } && 7071 { ac_try='test -s conftest$ac_exeext' 7072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7073 (eval $ac_try) 2>&5 7074 ac_status=$? 7075 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7076 (exit $ac_status); }; }; then 8081 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8082 (exit $ac_status); } && { 8083 test -z "$ac_c_werror_flag" || 8084 test ! -s conftest.err 8085 } && test -s conftest$ac_exeext && { 8086 test "$cross_compiling" = yes || 8087 $as_test_x conftest$ac_exeext 8088 }; then 7077 8089 ac_cv_func_textdomain=yes 7078 8090 else 7079 echo "$as_me: failed program was:" >&58091 $as_echo "$as_me: failed program was:" >&5 7080 8092 sed 's/^/| /' conftest.$ac_ext >&5 7081 8093 7082 ac_cv_func_textdomain=no 7083 fi 7084 rm -f conftest.err conftest.$ac_objext \ 8094 ac_cv_func_textdomain=no 8095 fi 8096 8097 rm -rf conftest.dSYM 8098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7085 8099 conftest$ac_exeext conftest.$ac_ext 7086 8100 fi 7087 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&57088 echo "${ECHO_T}$ac_cv_func_textdomain" >&6 7089 if test $ac_cv_func_textdomain =yes; then8101 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5 8102 $as_echo "$ac_cv_func_textdomain" >&6; } 8103 if test "x$ac_cv_func_textdomain" = x""yes; then 7090 8104 cat >>confdefs.h <<\_ACEOF 7091 8105 #define ENABLE_NLS 1 … … 7097 8111 # *** Custom checking (based on GNU tar configure.in) *** 7098 8112 # --------------------------------------------------------------------------- 7099 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&57100 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6 8113 { $as_echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5 8114 $as_echo_n "checking for HP-UX needing gmalloc... " >&6; } 7101 8115 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 7102 echo "$as_me:$LINENO: result: yes" >&5 7103 echo "${ECHO_T}yes" >&6 7104 case $LIBOBJS in 7105 "gmalloc.$ac_objext" | \ 7106 *" gmalloc.$ac_objext" | \ 7107 "gmalloc.$ac_objext "* | \ 8116 { $as_echo "$as_me:$LINENO: result: yes" >&5 8117 $as_echo "yes" >&6; } 8118 case " $LIBOBJS " in 7108 8119 *" gmalloc.$ac_objext "* ) ;; 7109 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;; 8120 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" 8121 ;; 7110 8122 esac 7111 8123 … … 7115 8127 7116 8128 else 7117 echo "$as_me:$LINENO: result: no" >&57118 echo "${ECHO_T}no" >&6 8129 { $as_echo "$as_me:$LINENO: result: no" >&5 8130 $as_echo "no" >&6; } 7119 8131 7120 8132 for ac_func in valloc 7121 8133 do 7122 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`7123 echo "$as_me:$LINENO: checking for $ac_func" >&57124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7125 if eval "test \"\${$as_ac_var+set}\" = set"; then7126 echo $ECHO_N "(cached) $ECHO_C" >&68134 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8135 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 8136 $as_echo_n "checking for $ac_func... " >&6; } 8137 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 8138 $as_echo_n "(cached) " >&6 7127 8139 else 7128 8140 cat >conftest.$ac_ext <<_ACEOF … … 7149 8161 #undef $ac_func 7150 8162 7151 /* Override any gcc2 internal prototype to avoid an error. */ 8163 /* Override any GCC internal prototype to avoid an error. 8164 Use char because int might match the return type of a GCC 8165 builtin and then its argument prototype would still apply. */ 7152 8166 #ifdef __cplusplus 7153 8167 extern "C" 7154 {7155 8168 #endif 7156 /* We use char because int might match the return type of a gcc27157 builtin and then its argument prototype would still apply. */7158 8169 char $ac_func (); 7159 8170 /* The GNU C library defines this for functions which it implements 7160 8171 to always fail with ENOSYS. Some functions are actually named 7161 8172 something starting with __ and the normal name is an alias. */ 7162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)8173 #if defined __stub_$ac_func || defined __stub___$ac_func 7163 8174 choke me 7164 #else7165 char (*f) () = $ac_func;7166 #endif7167 #ifdef __cplusplus7168 }7169 8175 #endif 7170 8176 … … 7172 8178 main () 7173 8179 { 7174 return f != $ac_func;8180 return $ac_func (); 7175 8181 ; 7176 8182 return 0; … … 7178 8184 _ACEOF 7179 8185 rm -f conftest.$ac_objext conftest$ac_exeext 7180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7181 (eval $ac_link) 2>conftest.er1 8186 if { (ac_try="$ac_link" 8187 case "(($ac_try" in 8188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8189 *) ac_try_echo=$ac_try;; 8190 esac 8191 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8192 $as_echo "$ac_try_echo") >&5 8193 (eval "$ac_link") 2>conftest.er1 7182 8194 ac_status=$? 7183 8195 grep -v '^ *+' conftest.er1 >conftest.err 7184 8196 rm -f conftest.er1 7185 8197 cat conftest.err >&5 7186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7187 (exit $ac_status); } && 7188 { ac_try='test -z "$ac_c_werror_flag" 7189 || test ! -s conftest.err' 7190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7191 (eval $ac_try) 2>&5 7192 ac_status=$? 7193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7194 (exit $ac_status); }; } && 7195 { ac_try='test -s conftest$ac_exeext' 7196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7197 (eval $ac_try) 2>&5 7198 ac_status=$? 7199 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7200 (exit $ac_status); }; }; then 8198 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8199 (exit $ac_status); } && { 8200 test -z "$ac_c_werror_flag" || 8201 test ! -s conftest.err 8202 } && test -s conftest$ac_exeext && { 8203 test "$cross_compiling" = yes || 8204 $as_test_x conftest$ac_exeext 8205 }; then 7201 8206 eval "$as_ac_var=yes" 7202 8207 else 7203 echo "$as_me: failed program was:" >&58208 $as_echo "$as_me: failed program was:" >&5 7204 8209 sed 's/^/| /' conftest.$ac_ext >&5 7205 8210 7206 eval "$as_ac_var=no" 7207 fi 7208 rm -f conftest.err conftest.$ac_objext \ 8211 eval "$as_ac_var=no" 8212 fi 8213 8214 rm -rf conftest.dSYM 8215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7209 8216 conftest$ac_exeext conftest.$ac_ext 7210 8217 fi 7211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 7212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7213 if test `eval echo '${'$as_ac_var'}'` = yes; then 8218 ac_res=`eval 'as_val=${'$as_ac_var'} 8219 $as_echo "$as_val"'` 8220 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8221 $as_echo "$ac_res" >&6; } 8222 as_val=`eval 'as_val=${'$as_ac_var'} 8223 $as_echo "$as_val"'` 8224 if test "x$as_val" = x""yes; then 7214 8225 cat >>confdefs.h <<_ACEOF 7215 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 18226 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7216 8227 _ACEOF 7217 8228 … … 7222 8233 7223 8234 # we cannot generate static libraries under Darwin 7224 echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&57225 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6 8235 { $as_echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5 8236 $as_echo_n "checking for Apple MacOS X/Darwin... " >&6; } 7226 8237 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 7227 echo "$as_me:$LINENO: result: yes" >&57228 echo "${ECHO_T}yes" >&6 8238 { $as_echo "$as_me:$LINENO: result: yes" >&5 8239 $as_echo "yes" >&6; } 7229 8240 STATIC="" 7230 8241 else 7231 echo "$as_me:$LINENO: result: no" >&57232 echo "${ECHO_T}no" >&6 8242 { $as_echo "$as_me:$LINENO: result: no" >&5 8243 $as_echo "no" >&6; } 7233 8244 STATIC="-static " 7234 8245 fi 7235 8246 7236 8247 7237 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&57238 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6 7239 7240 # Check whether --with-dmalloc or --without-dmallocwas given.8248 { $as_echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 8249 $as_echo_n "checking if malloc debugging is wanted... " >&6; } 8250 8251 # Check whether --with-dmalloc was given. 7241 8252 if test "${with_dmalloc+set}" = set; then 7242 withval="$with_dmalloc" 7243 if test "$withval" = yes; then 7244 echo "$as_me:$LINENO: result: yes" >&5 7245 echo "${ECHO_T}yes" >&6 8253 withval=$with_dmalloc; if test "$withval" = yes; then 8254 { $as_echo "$as_me:$LINENO: result: yes" >&5 8255 $as_echo "yes" >&6; } 7246 8256 cat >>confdefs.h <<\_ACEOF 7247 8257 #define WITH_DMALLOC 1 … … 7251 8261 LDFLAGS="$LDFLAGS -g" 7252 8262 else 7253 echo "$as_me:$LINENO: result: no" >&5 7254 echo "${ECHO_T}no" >&6 7255 fi 7256 else 7257 echo "$as_me:$LINENO: result: no" >&5 7258 echo "${ECHO_T}no" >&6 7259 fi; 7260 7261 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 7262 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6 7263 7264 # Check whether --with-regex or --without-regex was given. 8263 { $as_echo "$as_me:$LINENO: result: no" >&5 8264 $as_echo "no" >&6; } 8265 fi 8266 else 8267 { $as_echo "$as_me:$LINENO: result: no" >&5 8268 $as_echo "no" >&6; } 8269 fi 8270 8271 8272 { $as_echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 8273 $as_echo_n "checking which of rx or regex is wanted... " >&6; } 8274 8275 # Check whether --with-regex was given. 7265 8276 if test "${with_regex+set}" = set; then 7266 withval="$with_regex" 7267 if test "$withval" = yes; then 8277 withval=$with_regex; if test "$withval" = yes; then 7268 8278 ac_with_regex=1 7269 echo "$as_me:$LINENO: result: regex" >&57270 echo "${ECHO_T}regex" >&6 8279 { $as_echo "$as_me:$LINENO: result: regex" >&5 8280 $as_echo "regex" >&6; } 7271 8281 cat >>confdefs.h <<\_ACEOF 7272 8282 #define WITH_REGEX 1 7273 8283 _ACEOF 7274 8284 7275 case $LIBOBJS in 7276 "regex.$ac_objext" | \ 7277 *" regex.$ac_objext" | \ 7278 "regex.$ac_objext "* | \ 8285 case " $LIBOBJS " in 7279 8286 *" regex.$ac_objext "* ) ;; 7280 *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;; 7281 esac 7282 7283 fi 7284 fi; 8287 *) LIBOBJS="$LIBOBJS regex.$ac_objext" 8288 ;; 8289 esac 8290 8291 fi 8292 fi 8293 7285 8294 if test -z "$ac_with_regex"; then 7286 echo "$as_me:$LINENO: result: rx" >&57287 echo "${ECHO_T}rx" >&6 7288 echo "$as_me:$LINENO: checking for re_rx_search" >&57289 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6 8295 { $as_echo "$as_me:$LINENO: result: rx" >&5 8296 $as_echo "rx" >&6; } 8297 { $as_echo "$as_me:$LINENO: checking for re_rx_search" >&5 8298 $as_echo_n "checking for re_rx_search... " >&6; } 7290 8299 if test "${ac_cv_func_re_rx_search+set}" = set; then 7291 echo $ECHO_N "(cached) $ECHO_C" >&68300 $as_echo_n "(cached) " >&6 7292 8301 else 7293 8302 cat >conftest.$ac_ext <<_ACEOF … … 7314 8323 #undef re_rx_search 7315 8324 7316 /* Override any gcc2 internal prototype to avoid an error. */ 8325 /* Override any GCC internal prototype to avoid an error. 8326 Use char because int might match the return type of a GCC 8327 builtin and then its argument prototype would still apply. */ 7317 8328 #ifdef __cplusplus 7318 8329 extern "C" 7319 {7320 8330 #endif 7321 /* We use char because int might match the return type of a gcc27322 builtin and then its argument prototype would still apply. */7323 8331 char re_rx_search (); 7324 8332 /* The GNU C library defines this for functions which it implements 7325 8333 to always fail with ENOSYS. Some functions are actually named 7326 8334 something starting with __ and the normal name is an alias. */ 7327 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)8335 #if defined __stub_re_rx_search || defined __stub___re_rx_search 7328 8336 choke me 7329 #else7330 char (*f) () = re_rx_search;7331 #endif7332 #ifdef __cplusplus7333 }7334 8337 #endif 7335 8338 … … 7337 8340 main () 7338 8341 { 7339 return f != re_rx_search;8342 return re_rx_search (); 7340 8343 ; 7341 8344 return 0; … … 7343 8346 _ACEOF 7344 8347 rm -f conftest.$ac_objext conftest$ac_exeext 7345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7346 (eval $ac_link) 2>conftest.er1 8348 if { (ac_try="$ac_link" 8349 case "(($ac_try" in 8350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8351 *) ac_try_echo=$ac_try;; 8352 esac 8353 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8354 $as_echo "$ac_try_echo") >&5 8355 (eval "$ac_link") 2>conftest.er1 7347 8356 ac_status=$? 7348 8357 grep -v '^ *+' conftest.er1 >conftest.err 7349 8358 rm -f conftest.er1 7350 8359 cat conftest.err >&5 7351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7352 (exit $ac_status); } && 7353 { ac_try='test -z "$ac_c_werror_flag" 7354 || test ! -s conftest.err' 7355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7356 (eval $ac_try) 2>&5 7357 ac_status=$? 7358 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7359 (exit $ac_status); }; } && 7360 { ac_try='test -s conftest$ac_exeext' 7361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7362 (eval $ac_try) 2>&5 7363 ac_status=$? 7364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7365 (exit $ac_status); }; }; then 8360 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8361 (exit $ac_status); } && { 8362 test -z "$ac_c_werror_flag" || 8363 test ! -s conftest.err 8364 } && test -s conftest$ac_exeext && { 8365 test "$cross_compiling" = yes || 8366 $as_test_x conftest$ac_exeext 8367 }; then 7366 8368 ac_cv_func_re_rx_search=yes 7367 8369 else 7368 echo "$as_me: failed program was:" >&58370 $as_echo "$as_me: failed program was:" >&5 7369 8371 sed 's/^/| /' conftest.$ac_ext >&5 7370 8372 7371 ac_cv_func_re_rx_search=no 7372 fi 7373 rm -f conftest.err conftest.$ac_objext \ 8373 ac_cv_func_re_rx_search=no 8374 fi 8375 8376 rm -rf conftest.dSYM 8377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7374 8378 conftest$ac_exeext conftest.$ac_ext 7375 8379 fi 7376 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&57377 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6 7378 if test $ac_cv_func_re_rx_search =yes; then8380 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 8381 $as_echo "$ac_cv_func_re_rx_search" >&6; } 8382 if test "x$ac_cv_func_re_rx_search" = x""yes; then 7379 8383 : 7380 8384 else 7381 case $LIBOBJS in 7382 "rx.$ac_objext" | \ 7383 *" rx.$ac_objext" | \ 7384 "rx.$ac_objext "* | \ 8385 case " $LIBOBJS " in 7385 8386 *" rx.$ac_objext "* ) ;; 7386 *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;; 8387 *) LIBOBJS="$LIBOBJS rx.$ac_objext" 8388 ;; 7387 8389 esac 7388 8390 … … 7394 8396 # --------------------------------------------------------------------------- 7395 8397 if test "$ac_cv_func_alloca" = 'no'; then 7396 case $LIBOBJS in 7397 "xmalloc.$ac_objext" | \ 7398 *" xmalloc.$ac_objext" | \ 7399 "xmalloc.$ac_objext "* | \ 8398 case " $LIBOBJS " in 7400 8399 *" xmalloc.$ac_objext "* ) ;; 7401 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;; 7402 esac 7403 7404 case $LIBOBJS in 7405 "error.$ac_objext" | \ 7406 *" error.$ac_objext" | \ 7407 "error.$ac_objext "* | \ 8400 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" 8401 ;; 8402 esac 8403 8404 case " $LIBOBJS " in 7408 8405 *" error.$ac_objext "* ) ;; 7409 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 8406 *) LIBOBJS="$LIBOBJS error.$ac_objext" 8407 ;; 7410 8408 esac 7411 8409 … … 7415 8413 # --------------------------------------------------------------------------- 7416 8414 7417 ac_ext=c c8415 ac_ext=cpp 7418 8416 ac_cpp='$CXXCPP $CPPFLAGS' 7419 8417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 7422 8420 7423 8421 7424 echo "$as_me:$LINENO: checking that Perl 5 is available" >&57425 echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6 8422 { $as_echo "$as_me:$LINENO: checking that Perl 5 is available" >&5 8423 $as_echo_n "checking that Perl 5 is available... " >&6; } 7426 8424 success="no" 7427 8425 pl_path="$PATH" … … 7437 8435 7438 8436 success=no 7439 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&57440 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6 8437 { $as_echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5 8438 $as_echo_n "checking \"whether STL library has known faults\"... " >&6; } 7441 8439 7442 8440 … … 7458 8456 _ACEOF 7459 8457 rm -f conftest.$ac_objext 7460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7461 (eval $ac_compile) 2>conftest.er1 8458 if { (ac_try="$ac_compile" 8459 case "(($ac_try" in 8460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8461 *) ac_try_echo=$ac_try;; 8462 esac 8463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8464 $as_echo "$ac_try_echo") >&5 8465 (eval "$ac_compile") 2>conftest.er1 7462 8466 ac_status=$? 7463 8467 grep -v '^ *+' conftest.er1 >conftest.err 7464 8468 rm -f conftest.er1 7465 8469 cat conftest.err >&5 7466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7467 (exit $ac_status); } && 7468 { ac_try='test -z "$ac_cxx_werror_flag" 7469 || test ! -s conftest.err' 7470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7471 (eval $ac_try) 2>&5 7472 ac_status=$? 7473 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7474 (exit $ac_status); }; } && 7475 { ac_try='test -s conftest.$ac_objext' 7476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7477 (eval $ac_try) 2>&5 7478 ac_status=$? 7479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7480 (exit $ac_status); }; }; then 8470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8471 (exit $ac_status); } && { 8472 test -z "$ac_cxx_werror_flag" || 8473 test ! -s conftest.err 8474 } && test -s conftest.$ac_objext; then 7481 8475 success=yes 7482 8476 else 7483 echo "$as_me: failed program was:" >&58477 $as_echo "$as_me: failed program was:" >&5 7484 8478 sed 's/^/| /' conftest.$ac_ext >&5 7485 8479 7486 fi 7487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8480 8481 fi 8482 8483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7488 8484 7489 8485 if test $success = "no"; then … … 7505 8501 _ACEOF 7506 8502 rm -f conftest.$ac_objext 7507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7508 (eval $ac_compile) 2>conftest.er1 8503 if { (ac_try="$ac_compile" 8504 case "(($ac_try" in 8505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8506 *) ac_try_echo=$ac_try;; 8507 esac 8508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8509 $as_echo "$ac_try_echo") >&5 8510 (eval "$ac_compile") 2>conftest.er1 7509 8511 ac_status=$? 7510 8512 grep -v '^ *+' conftest.er1 >conftest.err 7511 8513 rm -f conftest.er1 7512 8514 cat conftest.err >&5 7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7514 (exit $ac_status); } && 7515 { ac_try='test -z "$ac_cxx_werror_flag" 7516 || test ! -s conftest.err' 7517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7518 (eval $ac_try) 2>&5 7519 ac_status=$? 7520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7521 (exit $ac_status); }; } && 7522 { ac_try='test -s conftest.$ac_objext' 7523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7524 (eval $ac_try) 2>&5 7525 ac_status=$? 7526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7527 (exit $ac_status); }; }; then 8515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8516 (exit $ac_status); } && { 8517 test -z "$ac_cxx_werror_flag" || 8518 test ! -s conftest.err 8519 } && test -s conftest.$ac_objext; then 7528 8520 success="yes" 7529 8521 else 7530 echo "$as_me: failed program was:" >&58522 $as_echo "$as_me: failed program was:" >&5 7531 8523 sed 's/^/| /' conftest.$ac_ext >&5 7532 8524 7533 fi 7534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8525 8526 fi 8527 8528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7535 8529 fi 7536 8530 … … 7553 8547 _ACEOF 7554 8548 rm -f conftest.$ac_objext 7555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7556 (eval $ac_compile) 2>conftest.er1 8549 if { (ac_try="$ac_compile" 8550 case "(($ac_try" in 8551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8552 *) ac_try_echo=$ac_try;; 8553 esac 8554 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8555 $as_echo "$ac_try_echo") >&5 8556 (eval "$ac_compile") 2>conftest.er1 7557 8557 ac_status=$? 7558 8558 grep -v '^ *+' conftest.er1 >conftest.err 7559 8559 rm -f conftest.er1 7560 8560 cat conftest.err >&5 7561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7562 (exit $ac_status); } && 7563 { ac_try='test -z "$ac_cxx_werror_flag" 7564 || test ! -s conftest.err' 7565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7566 (eval $ac_try) 2>&5 7567 ac_status=$? 7568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7569 (exit $ac_status); }; } && 7570 { ac_try='test -s conftest.$ac_objext' 7571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7572 (eval $ac_try) 2>&5 7573 ac_status=$? 7574 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7575 (exit $ac_status); }; }; then 8561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8562 (exit $ac_status); } && { 8563 test -z "$ac_cxx_werror_flag" || 8564 test ! -s conftest.err 8565 } && test -s conftest.$ac_objext; then 7576 8566 success="yes" 7577 8567 else 7578 echo "$as_me: failed program was:" >&58568 $as_echo "$as_me: failed program was:" >&5 7579 8569 sed 's/^/| /' conftest.$ac_ext >&5 7580 8570 7581 fi 7582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8571 8572 fi 8573 8574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7583 8575 fi 7584 8576 7585 8577 if test $success = yes; then 7586 echo "$as_me:$LINENO: result: \"no\"" >&57587 echo "${ECHO_T}\"no\"" >&6 7588 else 7589 echo "$as_me:$LINENO: result: \"yes\"" >&57590 echo "${ECHO_T}\"yes\"" >&6 7591 { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&57592 echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}8578 { $as_echo "$as_me:$LINENO: result: \"no\"" >&5 8579 $as_echo "\"no\"" >&6; } 8580 else 8581 { $as_echo "$as_me:$LINENO: result: \"yes\"" >&5 8582 $as_echo "\"yes\"" >&6; } 8583 { { $as_echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5 8584 $as_echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;} 7593 8585 { (exit 1); exit 1; }; } 7594 8586 fi … … 7611 8603 7612 8604 # check for endianness 7613 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7614 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 8605 8606 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 8607 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 7615 8608 if test "${ac_cv_c_bigendian+set}" = set; then 7616 echo $ECHO_N "(cached) $ECHO_C" >&6 7617 else 7618 # See if sys/param.h defines the BYTE_ORDER macro. 7619 cat >conftest.$ac_ext <<_ACEOF 8609 $as_echo_n "(cached) " >&6 8610 else 8611 ac_cv_c_bigendian=unknown 8612 # See if we're dealing with a universal compiler. 8613 cat >conftest.$ac_ext <<_ACEOF 8614 /* confdefs.h. */ 8615 _ACEOF 8616 cat confdefs.h >>conftest.$ac_ext 8617 cat >>conftest.$ac_ext <<_ACEOF 8618 /* end confdefs.h. */ 8619 #ifndef __APPLE_CC__ 8620 not a universal capable compiler 8621 #endif 8622 typedef int dummy; 8623 8624 _ACEOF 8625 rm -f conftest.$ac_objext 8626 if { (ac_try="$ac_compile" 8627 case "(($ac_try" in 8628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8629 *) ac_try_echo=$ac_try;; 8630 esac 8631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8632 $as_echo "$ac_try_echo") >&5 8633 (eval "$ac_compile") 2>conftest.er1 8634 ac_status=$? 8635 grep -v '^ *+' conftest.er1 >conftest.err 8636 rm -f conftest.er1 8637 cat conftest.err >&5 8638 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8639 (exit $ac_status); } && { 8640 test -z "$ac_cxx_werror_flag" || 8641 test ! -s conftest.err 8642 } && test -s conftest.$ac_objext; then 8643 8644 # Check for potential -arch flags. It is not universal unless 8645 # there are some -arch flags. Note that *ppc* also matches 8646 # ppc64. This check is also rather less than ideal. 8647 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 8648 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 8649 esac 8650 else 8651 $as_echo "$as_me: failed program was:" >&5 8652 sed 's/^/| /' conftest.$ac_ext >&5 8653 8654 8655 fi 8656 8657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8658 if test $ac_cv_c_bigendian = unknown; then 8659 # See if sys/param.h defines the BYTE_ORDER macro. 8660 cat >conftest.$ac_ext <<_ACEOF 7620 8661 /* confdefs.h. */ 7621 8662 _ACEOF … … 7624 8665 /* end confdefs.h. */ 7625 8666 #include <sys/types.h> 7626 #include <sys/param.h>8667 #include <sys/param.h> 7627 8668 7628 8669 int 7629 8670 main () 7630 8671 { 7631 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 7632 bogus endian macros 7633 #endif 8672 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 8673 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 8674 && LITTLE_ENDIAN) 8675 bogus endian macros 8676 #endif 7634 8677 7635 8678 ; … … 7638 8681 _ACEOF 7639 8682 rm -f conftest.$ac_objext 7640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7641 (eval $ac_compile) 2>conftest.er1 8683 if { (ac_try="$ac_compile" 8684 case "(($ac_try" in 8685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8686 *) ac_try_echo=$ac_try;; 8687 esac 8688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8689 $as_echo "$ac_try_echo") >&5 8690 (eval "$ac_compile") 2>conftest.er1 7642 8691 ac_status=$? 7643 8692 grep -v '^ *+' conftest.er1 >conftest.err 7644 8693 rm -f conftest.er1 7645 8694 cat conftest.err >&5 7646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7647 (exit $ac_status); } && 7648 { ac_try='test -z "$ac_cxx_werror_flag" 7649 || test ! -s conftest.err' 7650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7651 (eval $ac_try) 2>&5 7652 ac_status=$? 7653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7654 (exit $ac_status); }; } && 7655 { ac_try='test -s conftest.$ac_objext' 7656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7657 (eval $ac_try) 2>&5 7658 ac_status=$? 7659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7660 (exit $ac_status); }; }; then 8695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8696 (exit $ac_status); } && { 8697 test -z "$ac_cxx_werror_flag" || 8698 test ! -s conftest.err 8699 } && test -s conftest.$ac_objext; then 7661 8700 # It does; now see whether it defined to BIG_ENDIAN or not. 7662 cat >conftest.$ac_ext <<_ACEOF8701 cat >conftest.$ac_ext <<_ACEOF 7663 8702 /* confdefs.h. */ 7664 8703 _ACEOF … … 7667 8706 /* end confdefs.h. */ 7668 8707 #include <sys/types.h> 7669 #include <sys/param.h>8708 #include <sys/param.h> 7670 8709 7671 8710 int … … 7673 8712 { 7674 8713 #if BYTE_ORDER != BIG_ENDIAN 7675 not big endian7676 #endif8714 not big endian 8715 #endif 7677 8716 7678 8717 ; … … 7681 8720 _ACEOF 7682 8721 rm -f conftest.$ac_objext 7683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7684 (eval $ac_compile) 2>conftest.er1 8722 if { (ac_try="$ac_compile" 8723 case "(($ac_try" in 8724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8725 *) ac_try_echo=$ac_try;; 8726 esac 8727 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8728 $as_echo "$ac_try_echo") >&5 8729 (eval "$ac_compile") 2>conftest.er1 7685 8730 ac_status=$? 7686 8731 grep -v '^ *+' conftest.er1 >conftest.err 7687 8732 rm -f conftest.er1 7688 8733 cat conftest.err >&5 7689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7690 (exit $ac_status); } && 7691 { ac_try='test -z "$ac_cxx_werror_flag" 7692 || test ! -s conftest.err' 7693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7694 (eval $ac_try) 2>&5 7695 ac_status=$? 7696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7697 (exit $ac_status); }; } && 7698 { ac_try='test -s conftest.$ac_objext' 7699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7700 (eval $ac_try) 2>&5 7701 ac_status=$? 7702 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7703 (exit $ac_status); }; }; then 8734 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8735 (exit $ac_status); } && { 8736 test -z "$ac_cxx_werror_flag" || 8737 test ! -s conftest.err 8738 } && test -s conftest.$ac_objext; then 7704 8739 ac_cv_c_bigendian=yes 7705 8740 else 7706 echo "$as_me: failed program was:" >&58741 $as_echo "$as_me: failed program was:" >&5 7707 8742 sed 's/^/| /' conftest.$ac_ext >&5 7708 8743 7709 ac_cv_c_bigendian=no 7710 fi 7711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7712 else 7713 echo "$as_me: failed program was:" >&5 8744 ac_cv_c_bigendian=no 8745 fi 8746 8747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8748 else 8749 $as_echo "$as_me: failed program was:" >&5 7714 8750 sed 's/^/| /' conftest.$ac_ext >&5 7715 8751 7716 # It does not; compile a test program. 7717 if test "$cross_compiling" = yes; then 7718 # try to guess the endianness by grepping values into an object file 7719 ac_cv_c_bigendian=unknown 7720 cat >conftest.$ac_ext <<_ACEOF 8752 8753 fi 8754 8755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8756 fi 8757 if test $ac_cv_c_bigendian = unknown; then 8758 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 8759 cat >conftest.$ac_ext <<_ACEOF 7721 8760 /* confdefs.h. */ 7722 8761 _ACEOF … … 7724 8763 cat >>conftest.$ac_ext <<_ACEOF 7725 8764 /* end confdefs.h. */ 7726 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 7727 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 7728 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 7729 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 7730 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 7731 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 8765 #include <limits.h> 8766 7732 8767 int 7733 8768 main () 7734 8769 { 7735 _ascii (); _ebcdic (); 8770 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 8771 bogus endian macros 8772 #endif 8773 7736 8774 ; 7737 8775 return 0; … … 7739 8777 _ACEOF 7740 8778 rm -f conftest.$ac_objext 7741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7742 (eval $ac_compile) 2>conftest.er1 8779 if { (ac_try="$ac_compile" 8780 case "(($ac_try" in 8781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8782 *) ac_try_echo=$ac_try;; 8783 esac 8784 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8785 $as_echo "$ac_try_echo") >&5 8786 (eval "$ac_compile") 2>conftest.er1 7743 8787 ac_status=$? 7744 8788 grep -v '^ *+' conftest.er1 >conftest.err 7745 8789 rm -f conftest.er1 7746 8790 cat conftest.err >&5 7747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7748 (exit $ac_status); } && 7749 { ac_try='test -z "$ac_cxx_werror_flag" 7750 || test ! -s conftest.err' 7751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7752 (eval $ac_try) 2>&5 7753 ac_status=$? 7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7755 (exit $ac_status); }; } && 7756 { ac_try='test -s conftest.$ac_objext' 7757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7758 (eval $ac_try) 2>&5 7759 ac_status=$? 7760 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7761 (exit $ac_status); }; }; then 7762 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 7763 ac_cv_c_bigendian=yes 7764 fi 7765 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 7766 if test "$ac_cv_c_bigendian" = unknown; then 7767 ac_cv_c_bigendian=no 7768 else 7769 # finding both strings is unlikely to happen, but who knows? 7770 ac_cv_c_bigendian=unknown 7771 fi 7772 fi 7773 else 7774 echo "$as_me: failed program was:" >&5 7775 sed 's/^/| /' conftest.$ac_ext >&5 7776 7777 fi 7778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7779 else 7780 cat >conftest.$ac_ext <<_ACEOF 8791 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8792 (exit $ac_status); } && { 8793 test -z "$ac_cxx_werror_flag" || 8794 test ! -s conftest.err 8795 } && test -s conftest.$ac_objext; then 8796 # It does; now see whether it defined to _BIG_ENDIAN or not. 8797 cat >conftest.$ac_ext <<_ACEOF 7781 8798 /* confdefs.h. */ 7782 8799 _ACEOF … … 7784 8801 cat >>conftest.$ac_ext <<_ACEOF 7785 8802 /* end confdefs.h. */ 8803 #include <limits.h> 8804 7786 8805 int 7787 8806 main () 7788 8807 { 7789 /* Are we little or big endian? From Harbison&Steele. */ 7790 union 7791 { 7792 long l; 7793 char c[sizeof (long)]; 7794 } u; 7795 u.l = 1; 7796 exit (u.c[sizeof (long) - 1] == 1); 8808 #ifndef _BIG_ENDIAN 8809 not big endian 8810 #endif 8811 8812 ; 8813 return 0; 7797 8814 } 7798 8815 _ACEOF 8816 rm -f conftest.$ac_objext 8817 if { (ac_try="$ac_compile" 8818 case "(($ac_try" in 8819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8820 *) ac_try_echo=$ac_try;; 8821 esac 8822 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8823 $as_echo "$ac_try_echo") >&5 8824 (eval "$ac_compile") 2>conftest.er1 8825 ac_status=$? 8826 grep -v '^ *+' conftest.er1 >conftest.err 8827 rm -f conftest.er1 8828 cat conftest.err >&5 8829 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8830 (exit $ac_status); } && { 8831 test -z "$ac_cxx_werror_flag" || 8832 test ! -s conftest.err 8833 } && test -s conftest.$ac_objext; then 8834 ac_cv_c_bigendian=yes 8835 else 8836 $as_echo "$as_me: failed program was:" >&5 8837 sed 's/^/| /' conftest.$ac_ext >&5 8838 8839 ac_cv_c_bigendian=no 8840 fi 8841 8842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8843 else 8844 $as_echo "$as_me: failed program was:" >&5 8845 sed 's/^/| /' conftest.$ac_ext >&5 8846 8847 8848 fi 8849 8850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8851 fi 8852 if test $ac_cv_c_bigendian = unknown; then 8853 # Compile a test program. 8854 if test "$cross_compiling" = yes; then 8855 # Try to guess by grepping values from an object file. 8856 cat >conftest.$ac_ext <<_ACEOF 8857 /* confdefs.h. */ 8858 _ACEOF 8859 cat confdefs.h >>conftest.$ac_ext 8860 cat >>conftest.$ac_ext <<_ACEOF 8861 /* end confdefs.h. */ 8862 short int ascii_mm[] = 8863 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 8864 short int ascii_ii[] = 8865 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 8866 int use_ascii (int i) { 8867 return ascii_mm[i] + ascii_ii[i]; 8868 } 8869 short int ebcdic_ii[] = 8870 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 8871 short int ebcdic_mm[] = 8872 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 8873 int use_ebcdic (int i) { 8874 return ebcdic_mm[i] + ebcdic_ii[i]; 8875 } 8876 extern int foo; 8877 8878 int 8879 main () 8880 { 8881 return use_ascii (foo) == use_ebcdic (foo); 8882 ; 8883 return 0; 8884 } 8885 _ACEOF 8886 rm -f conftest.$ac_objext 8887 if { (ac_try="$ac_compile" 8888 case "(($ac_try" in 8889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8890 *) ac_try_echo=$ac_try;; 8891 esac 8892 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8893 $as_echo "$ac_try_echo") >&5 8894 (eval "$ac_compile") 2>conftest.er1 8895 ac_status=$? 8896 grep -v '^ *+' conftest.er1 >conftest.err 8897 rm -f conftest.er1 8898 cat conftest.err >&5 8899 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8900 (exit $ac_status); } && { 8901 test -z "$ac_cxx_werror_flag" || 8902 test ! -s conftest.err 8903 } && test -s conftest.$ac_objext; then 8904 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 8905 ac_cv_c_bigendian=yes 8906 fi 8907 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 8908 if test "$ac_cv_c_bigendian" = unknown; then 8909 ac_cv_c_bigendian=no 8910 else 8911 # finding both strings is unlikely to happen, but who knows? 8912 ac_cv_c_bigendian=unknown 8913 fi 8914 fi 8915 else 8916 $as_echo "$as_me: failed program was:" >&5 8917 sed 's/^/| /' conftest.$ac_ext >&5 8918 8919 8920 fi 8921 8922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8923 else 8924 cat >conftest.$ac_ext <<_ACEOF 8925 /* confdefs.h. */ 8926 _ACEOF 8927 cat confdefs.h >>conftest.$ac_ext 8928 cat >>conftest.$ac_ext <<_ACEOF 8929 /* end confdefs.h. */ 8930 $ac_includes_default 8931 int 8932 main () 8933 { 8934 8935 /* Are we little or big endian? From Harbison&Steele. */ 8936 union 8937 { 8938 long int l; 8939 char c[sizeof (long int)]; 8940 } u; 8941 u.l = 1; 8942 return u.c[sizeof (long int) - 1] == 1; 8943 8944 ; 8945 return 0; 8946 } 8947 _ACEOF 7799 8948 rm -f conftest$ac_exeext 7800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7801 (eval $ac_link) 2>&5 8949 if { (ac_try="$ac_link" 8950 case "(($ac_try" in 8951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8952 *) ac_try_echo=$ac_try;; 8953 esac 8954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8955 $as_echo "$ac_try_echo") >&5 8956 (eval "$ac_link") 2>&5 7802 8957 ac_status=$? 7803 echo "$as_me:$LINENO: \$? = $ac_status" >&58958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7804 8959 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7806 (eval $ac_try) 2>&5 8960 { (case "(($ac_try" in 8961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8962 *) ac_try_echo=$ac_try;; 8963 esac 8964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8965 $as_echo "$ac_try_echo") >&5 8966 (eval "$ac_try") 2>&5 7807 8967 ac_status=$? 7808 echo "$as_me:$LINENO: \$? = $ac_status" >&58968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7809 8969 (exit $ac_status); }; }; then 7810 8970 ac_cv_c_bigendian=no 7811 8971 else 7812 echo "$as_me: program exited with status $ac_status" >&57813 echo "$as_me: failed program was:" >&58972 $as_echo "$as_me: program exited with status $ac_status" >&5 8973 $as_echo "$as_me: failed program was:" >&5 7814 8974 sed 's/^/| /' conftest.$ac_ext >&5 7815 8975 … … 7817 8977 ac_cv_c_bigendian=yes 7818 8978 fi 7819 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7820 fi 7821 fi 7822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7823 fi 7824 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7825 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 7826 case $ac_cv_c_bigendian in 7827 yes) 8979 rm -rf conftest.dSYM 8980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8981 fi 8982 8983 8984 fi 8985 fi 8986 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 8987 $as_echo "$ac_cv_c_bigendian" >&6; } 8988 case $ac_cv_c_bigendian in #( 8989 yes) 8990 cat >>confdefs.h <<\_ACEOF 8991 #define WORDS_BIGENDIAN 1 8992 _ACEOF 8993 ;; #( 8994 no) 8995 ;; #( 8996 universal) 7828 8997 7829 8998 cat >>confdefs.h <<\_ACEOF 7830 #define WORDS_BIGENDIAN 1 7831 _ACEOF 7832 ;; 7833 no) 7834 ;; 7835 *) 7836 { { echo "$as_me:$LINENO: error: unknown endianness 7837 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 7838 echo "$as_me: error: unknown endianness 7839 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 8999 #define AC_APPLE_UNIVERSAL_BUILD 1 9000 _ACEOF 9001 9002 ;; #( 9003 *) 9004 { { $as_echo "$as_me:$LINENO: error: unknown endianness 9005 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 9006 $as_echo "$as_me: error: unknown endianness 9007 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 7840 9008 { (exit 1); exit 1; }; } ;; 7841 esac9009 esac 7842 9010 7843 9011 # --------------------------------------------------------------------------- 7844 9012 if test "$ac_cv_func_alloca" = 'no'; then 7845 case $LIBOBJS in 7846 "xmalloc.o.$ac_objext" | \ 7847 *" xmalloc.o.$ac_objext" | \ 7848 "xmalloc.o.$ac_objext "* | \ 9013 case " $LIBOBJS " in 7849 9014 *" xmalloc.o.$ac_objext "* ) ;; 7850 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;; 7851 esac 7852 7853 case $LIBOBJS in 7854 "error.$ac_objext" | \ 7855 *" error.$ac_objext" | \ 7856 "error.$ac_objext "* | \ 9015 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" 9016 ;; 9017 esac 9018 9019 case " $LIBOBJS " in 7857 9020 *" error.$ac_objext "* ) ;; 7858 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 9021 *) LIBOBJS="$LIBOBJS error.$ac_objext" 9022 ;; 7859 9023 esac 7860 9024 … … 7896 9060 src/java/org/nzdl/gsdl/Phind/Makefile" 7897 9061 7898 ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs" 9062 ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs" 9063 7899 9064 cat >confcache <<\_ACEOF 7900 9065 # This file is a shell script that caches the results of configure … … 7915 9080 # The following way of writing the cache mishandles newlines in values, 7916 9081 # but we know of no workaround that is simple, portable, and efficient. 7917 # So, don't put newlines in cache variables' values.9082 # So, we kill variables containing newlines. 7918 9083 # Ultrix sh set writes to stderr and can't be redirected directly, 7919 9084 # and sets the high bit in the cache file unless we assign to the vars. 7920 { 9085 ( 9086 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 9087 eval ac_val=\$$ac_var 9088 case $ac_val in #( 9089 *${as_nl}*) 9090 case $ac_var in #( 9091 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 9092 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 9093 esac 9094 case $ac_var in #( 9095 _ | IFS | as_nl) ;; #( 9096 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9097 *) $as_unset $ac_var ;; 9098 esac ;; 9099 esac 9100 done 9101 7921 9102 (set) 2>&1 | 7922 case `(ac_space=' '; set | grep ac_space) 2>&1` in7923 * ac_space=\ *)9103 case $as_nl`(ac_space=' '; set) 2>&1` in #( 9104 *${as_nl}ac_space=\ *) 7924 9105 # `set' does not quote correctly, so add quotes (double-quote 7925 9106 # substitution turns \\\\ into \\, and sed turns \\ into \). … … 7927 9108 "s/'/'\\\\''/g; 7928 9109 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7929 ;; 9110 ;; #( 7930 9111 *) 7931 9112 # `set' quotes correctly as required by POSIX, so do not add quotes. 7932 sed -n \ 7933 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 9113 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7934 9114 ;; 7935 esac; 7936 } | 9115 esac | 9116 sort 9117 ) | 7937 9118 sed ' 9119 /^ac_cv_env_/b end 7938 9120 t clear 7939 : 9121 :clear 7940 9122 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7941 9123 t end 7942 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7943 : end' >>confcache 7944 if diff $cache_file confcache >/dev/null 2>&1; then :; else 7945 if test -w $cache_file; then 7946 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 9124 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 9125 :end' >>confcache 9126 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 9127 if test -w "$cache_file"; then 9128 test "x$cache_file" != "x/dev/null" && 9129 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 9130 $as_echo "$as_me: updating cache $cache_file" >&6;} 7947 9131 cat confcache >$cache_file 7948 9132 else 7949 echo "not updating unwritable cache $cache_file" 9133 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 9134 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7950 9135 fi 7951 9136 fi … … 7955 9140 # Let make expand exec_prefix. 7956 9141 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7957 7958 # VPATH may cause trouble with some makes, so we remove $(srcdir),7959 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and7960 # trailing colons and then remove the whole line if VPATH becomes empty7961 # (actually we leave an empty line to preserve line numbers).7962 if test "x$srcdir" = x.; then7963 ac_vpsub='/^[ ]*VPATH[ ]*=/{7964 s/:*\$(srcdir):*/:/;7965 s/:*\${srcdir}:*/:/;7966 s/:*@srcdir@:*/:/;7967 s/^\([^=]*=[ ]*\):*/\1/;7968 s/:*$//;7969 s/^[^=]*=[ ]*$//;7970 }'7971 fi7972 9142 7973 9143 DEFS=-DHAVE_CONFIG_H … … 7977 9147 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7978 9148 # 1. Remove the extension, and $U if already installed. 7979 ac_i=`echo "$ac_i" | 7980 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 7981 # 2. Add them. 7982 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 7983 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 9149 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 9150 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 9151 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 9152 # will be set to the directory where LIBOBJS objects are built. 9153 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9154 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 7984 9155 done 7985 9156 LIBOBJS=$ac_libobjs … … 7989 9160 7990 9161 9162 7991 9163 : ${CONFIG_STATUS=./config.status} 9164 ac_write_fail=0 7992 9165 ac_clean_files_save=$ac_clean_files 7993 9166 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 7994 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&57995 echo "$as_me: creating $CONFIG_STATUS" >&6;}7996 cat >$CONFIG_STATUS <<_ACEOF 9167 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 9168 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9169 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7997 9170 #! $SHELL 7998 9171 # Generated by $as_me. … … 8007 9180 _ACEOF 8008 9181 8009 cat >>$CONFIG_STATUS <<\_ACEOF 9182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8010 9183 ## --------------------- ## 8011 9184 ## M4sh Initialization. ## 8012 9185 ## --------------------- ## 8013 9186 8014 # Be Bourne compatible 9187 # Be more Bourne compatible 9188 DUALCASE=1; export DUALCASE # for MKS sh 8015 9189 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 8016 9190 emulate sh 8017 9191 NULLCMD=: 8018 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which9192 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 8019 9193 # is contrary to our usage. Disable this feature. 8020 9194 alias -g '${1+"$@"}'='"$@"' 8021 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 8022 set -o posix 8023 fi 8024 DUALCASE=1; export DUALCASE # for MKS sh 8025 8026 # Support unset when possible. 8027 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8028 as_unset=unset 8029 else 8030 as_unset=false 8031 fi 8032 8033 8034 # Work around bugs in pre-3.0 UWIN ksh. 8035 $as_unset ENV MAIL MAILPATH 8036 PS1='$ ' 8037 PS2='> ' 8038 PS4='+ ' 8039 8040 # NLS nuisances. 8041 for as_var in \ 8042 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 8043 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 8044 LC_TELEPHONE LC_TIME 8045 do 8046 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 8047 eval $as_var=C; export $as_var 8048 else 8049 $as_unset $as_var 8050 fi 8051 done 8052 8053 # Required to use basename. 8054 if expr a : '\(a\)' >/dev/null 2>&1; then 8055 as_expr=expr 8056 else 8057 as_expr=false 8058 fi 8059 8060 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 8061 as_basename=basename 8062 else 8063 as_basename=false 8064 fi 8065 8066 8067 # Name of the executable. 8068 as_me=`$as_basename "$0" || 8069 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8070 X"$0" : 'X\(//\)$' \| \ 8071 X"$0" : 'X\(/\)$' \| \ 8072 . : '\(.\)' 2>/dev/null || 8073 echo X/"$0" | 8074 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 8075 /^X\/\(\/\/\)$/{ s//\1/; q; } 8076 /^X\/\(\/\).*/{ s//\1/; q; } 8077 s/.*/./; q'` 8078 8079 8080 # PATH needs CR, and LINENO needs CR and PATH. 9195 setopt NO_GLOB_SUBST 9196 else 9197 case `(set -o) 2>/dev/null` in 9198 *posix*) set -o posix ;; 9199 esac 9200 9201 fi 9202 9203 9204 9205 9206 # PATH needs CR 8081 9207 # Avoid depending upon Character Ranges. 8082 9208 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 8086 9212 as_cr_alnum=$as_cr_Letters$as_cr_digits 8087 9213 9214 as_nl=' 9215 ' 9216 export as_nl 9217 # Printing a long string crashes Solaris 7 /usr/bin/printf. 9218 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 9219 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9220 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9221 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9222 as_echo='printf %s\n' 9223 as_echo_n='printf %s' 9224 else 9225 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 9226 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 9227 as_echo_n='/usr/ucb/echo -n' 9228 else 9229 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 9230 as_echo_n_body='eval 9231 arg=$1; 9232 case $arg in 9233 *"$as_nl"*) 9234 expr "X$arg" : "X\\(.*\\)$as_nl"; 9235 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 9236 esac; 9237 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 9238 ' 9239 export as_echo_n_body 9240 as_echo_n='sh -c $as_echo_n_body as_echo' 9241 fi 9242 export as_echo_body 9243 as_echo='sh -c $as_echo_body as_echo' 9244 fi 9245 8088 9246 # The user is always right. 8089 9247 if test "${PATH_SEPARATOR+set}" != set; then 8090 echo "#! /bin/sh" >conf$$.sh 8091 echo "exit 0" >>conf$$.sh 8092 chmod +x conf$$.sh 8093 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 8094 PATH_SEPARATOR=';' 8095 else 8096 PATH_SEPARATOR=: 8097 fi 8098 rm -f conf$$.sh 8099 fi 8100 8101 8102 as_lineno_1=$LINENO 8103 as_lineno_2=$LINENO 8104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8105 test "x$as_lineno_1" != "x$as_lineno_2" && 8106 test "x$as_lineno_3" = "x$as_lineno_2" || { 8107 # Find who we are. Look in the path if we contain no path at all 8108 # relative or not. 8109 case $0 in 8110 *[\\/]* ) as_myself=$0 ;; 8111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9248 PATH_SEPARATOR=: 9249 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 9250 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 9251 PATH_SEPARATOR=';' 9252 } 9253 fi 9254 9255 # Support unset when possible. 9256 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 9257 as_unset=unset 9258 else 9259 as_unset=false 9260 fi 9261 9262 9263 # IFS 9264 # We need space, tab and new line, in precisely that order. Quoting is 9265 # there to prevent editors from complaining about space-tab. 9266 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 9267 # splitting by setting IFS to empty value.) 9268 IFS=" "" $as_nl" 9269 9270 # Find who we are. Look in the path if we contain no directory separator. 9271 case $0 in 9272 *[\\/]* ) as_myself=$0 ;; 9273 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8112 9274 for as_dir in $PATH 8113 9275 do … … 8116 9278 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8117 9279 done 8118 8119 ;; 8120 esac 8121 # We did not find ourselves, most probably we were run as `sh COMMAND' 8122 # in which case we are not to be found in the path. 8123 if test "x$as_myself" = x; then 8124 as_myself=$0 8125 fi 8126 if test ! -f "$as_myself"; then 8127 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 8128 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 8129 { (exit 1); exit 1; }; } 8130 fi 8131 case $CONFIG_SHELL in 8132 '') 8133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 8135 do 8136 IFS=$as_save_IFS 8137 test -z "$as_dir" && as_dir=. 8138 for as_base in sh bash ksh sh5; do 8139 case $as_dir in 8140 /*) 8141 if ("$as_dir/$as_base" -c ' 9280 IFS=$as_save_IFS 9281 9282 ;; 9283 esac 9284 # We did not find ourselves, most probably we were run as `sh COMMAND' 9285 # in which case we are not to be found in the path. 9286 if test "x$as_myself" = x; then 9287 as_myself=$0 9288 fi 9289 if test ! -f "$as_myself"; then 9290 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9291 { (exit 1); exit 1; } 9292 fi 9293 9294 # Work around bugs in pre-3.0 UWIN ksh. 9295 for as_var in ENV MAIL MAILPATH 9296 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9297 done 9298 PS1='$ ' 9299 PS2='> ' 9300 PS4='+ ' 9301 9302 # NLS nuisances. 9303 LC_ALL=C 9304 export LC_ALL 9305 LANGUAGE=C 9306 export LANGUAGE 9307 9308 # Required to use basename. 9309 if expr a : '\(a\)' >/dev/null 2>&1 && 9310 test "X`expr 00001 : '.*\(...\)'`" = X001; then 9311 as_expr=expr 9312 else 9313 as_expr=false 9314 fi 9315 9316 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 9317 as_basename=basename 9318 else 9319 as_basename=false 9320 fi 9321 9322 9323 # Name of the executable. 9324 as_me=`$as_basename -- "$0" || 9325 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 9326 X"$0" : 'X\(//\)$' \| \ 9327 X"$0" : 'X\(/\)' \| . 2>/dev/null || 9328 $as_echo X/"$0" | 9329 sed '/^.*\/\([^/][^/]*\)\/*$/{ 9330 s//\1/ 9331 q 9332 } 9333 /^X\/\(\/\/\)$/{ 9334 s//\1/ 9335 q 9336 } 9337 /^X\/\(\/\).*/{ 9338 s//\1/ 9339 q 9340 } 9341 s/.*/./; q'` 9342 9343 # CDPATH. 9344 $as_unset CDPATH 9345 9346 9347 8142 9348 as_lineno_1=$LINENO 8143 9349 as_lineno_2=$LINENO 8144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`8145 9350 test "x$as_lineno_1" != "x$as_lineno_2" && 8146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 8147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 8148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 8149 CONFIG_SHELL=$as_dir/$as_base 8150 export CONFIG_SHELL 8151 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 8152 fi;; 8153 esac 8154 done 8155 done 8156 ;; 8157 esac 9351 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 8158 9352 8159 9353 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 8160 9354 # uniformly replaced by the line number. The first 'sed' inserts a 8161 # line-number line before each line; the second 'sed' does the real 8162 # work. The second script uses 'N' to pair each line-number line 8163 # with the numbered line, and appends trailing '-' during 8164 # substitution so that $LINENO is not a special case at line end. 9355 # line-number line after each line using $LINENO; the second 'sed' 9356 # does the real work. The second script uses 'N' to pair each 9357 # line-number line with the line containing $LINENO, and appends 9358 # trailing '-' during substitution so that $LINENO is not a special 9359 # case at line end. 8165 9360 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 8166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 8167 sed '=' <$as_myself | 9361 # scripts with optimization help from Paolo Bonzini. Blame Lee 9362 # E. McMahon (1931-1989) for sed's syntax. :-) 9363 sed -n ' 9364 p 9365 /[$]LINENO/= 9366 ' <$as_myself | 8168 9367 sed ' 9368 s/[$]LINENO.*/&-/ 9369 t lineno 9370 b 9371 :lineno 8169 9372 N 8170 s,$,-, 8171 : loop 8172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 9373 :loop 9374 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 8173 9375 t loop 8174 s,-$,, 8175 s,^['$as_cr_digits']*\n,, 9376 s/-\n.*// 8176 9377 ' >$as_me.lineno && 8177 chmod +x $as_me.lineno || 8178 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 8179 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 9378 chmod +x "$as_me.lineno" || 9379 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 8180 9380 { (exit 1); exit 1; }; } 8181 9381 8182 9382 # Don't try to exec as it changes $[0], causing all sort of problems 8183 9383 # (the dirname of $[0] is not the place where we might find the 8184 # original and so on. Autoconf is especially sensi ble to this).8185 . ./$as_me.lineno9384 # original and so on. Autoconf is especially sensitive to this). 9385 . "./$as_me.lineno" 8186 9386 # Exit status is that of the last command. 8187 9387 exit … … 8189 9389 8190 9390 8191 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 8192 *c*,-n*) ECHO_N= ECHO_C=' 8193 ' ECHO_T=' ' ;; 8194 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 8195 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 8196 esac 8197 8198 if expr a : '\(a\)' >/dev/null 2>&1; then 9391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9392 as_dirname=dirname 9393 else 9394 as_dirname=false 9395 fi 9396 9397 ECHO_C= ECHO_N= ECHO_T= 9398 case `echo -n x` in 9399 -n*) 9400 case `echo 'x\c'` in 9401 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 9402 *) ECHO_C='\c';; 9403 esac;; 9404 *) 9405 ECHO_N='-n';; 9406 esac 9407 if expr a : '\(a\)' >/dev/null 2>&1 && 9408 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8199 9409 as_expr=expr 8200 9410 else … … 8203 9413 8204 9414 rm -f conf$$ conf$$.exe conf$$.file 8205 echo >conf$$.file 8206 if ln -s conf$$.file conf$$ 2>/dev/null; then 8207 # We could just check for DJGPP; but this test a) works b) is more generic 8208 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 8209 if test -f conf$$.exe; then 8210 # Don't use ln at all; we don't have any links 9415 if test -d conf$$.dir; then 9416 rm -f conf$$.dir/conf$$.file 9417 else 9418 rm -f conf$$.dir 9419 mkdir conf$$.dir 2>/dev/null 9420 fi 9421 if (echo >conf$$.file) 2>/dev/null; then 9422 if ln -s conf$$.file conf$$ 2>/dev/null; then 9423 as_ln_s='ln -s' 9424 # ... but there are two gotchas: 9425 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 9426 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 9427 # In both cases, we have to default to `cp -p'. 9428 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9429 as_ln_s='cp -p' 9430 elif ln conf$$.file conf$$ 2>/dev/null; then 9431 as_ln_s=ln 9432 else 8211 9433 as_ln_s='cp -p' 8212 else8213 as_ln_s='ln -s'8214 9434 fi 8215 elif ln conf$$.file conf$$ 2>/dev/null; then8216 as_ln_s=ln8217 9435 else 8218 9436 as_ln_s='cp -p' 8219 9437 fi 8220 rm -f conf$$ conf$$.exe conf$$.file 9438 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 9439 rmdir conf$$.dir 2>/dev/null 8221 9440 8222 9441 if mkdir -p . 2>/dev/null; then … … 8227 9446 fi 8228 9447 8229 as_executable_p="test -f" 9448 if test -x / >/dev/null 2>&1; then 9449 as_test_x='test -x' 9450 else 9451 if ls -dL / >/dev/null 2>&1; then 9452 as_ls_L_option=L 9453 else 9454 as_ls_L_option= 9455 fi 9456 as_test_x=' 9457 eval sh -c '\'' 9458 if test -d "$1"; then 9459 test -d "$1/."; 9460 else 9461 case $1 in 9462 -*)set "./$1";; 9463 esac; 9464 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 9465 ???[sx]*):;;*)false;;esac;fi 9466 '\'' sh 9467 ' 9468 fi 9469 as_executable_p=$as_test_x 8230 9470 8231 9471 # Sed expression to map a string onto a valid CPP name. … … 8236 9476 8237 9477 8238 # IFS8239 # We need space, tab and new line, in precisely that order.8240 as_nl='8241 '8242 IFS=" $as_nl"8243 8244 # CDPATH.8245 $as_unset CDPATH8246 8247 9478 exec 6>&1 8248 9479 8249 # Open the log real soon, to keep \$[0] and so on meaningful, and to9480 # Save the log message, to keep $[0] and so on meaningful, and to 8250 9481 # report actual input values of CONFIG_FILES etc. instead of their 8251 # values after options handling. Logging --version etc. is OK. 9482 # values after options handling. 9483 ac_log=" 9484 This file was extended by $as_me, which was 9485 generated by GNU Autoconf 2.63. Invocation command line was 9486 9487 CONFIG_FILES = $CONFIG_FILES 9488 CONFIG_HEADERS = $CONFIG_HEADERS 9489 CONFIG_LINKS = $CONFIG_LINKS 9490 CONFIG_COMMANDS = $CONFIG_COMMANDS 9491 $ $0 $@ 9492 9493 on `(hostname || uname -n) 2>/dev/null | sed 1q` 9494 " 9495 9496 _ACEOF 9497 9498 case $ac_config_files in *" 9499 "*) set x $ac_config_files; shift; ac_config_files=$*;; 9500 esac 9501 9502 case $ac_config_headers in *" 9503 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 9504 esac 9505 9506 9507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9508 # Files that config.status was made for. 9509 config_files="$ac_config_files" 9510 config_headers="$ac_config_headers" 9511 9512 _ACEOF 9513 9514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9515 ac_cs_usage="\ 9516 \`$as_me' instantiates files from templates according to the 9517 current configuration. 9518 9519 Usage: $0 [OPTION]... [FILE]... 9520 9521 -h, --help print this help, then exit 9522 -V, --version print version number and configuration settings, then exit 9523 -q, --quiet, --silent 9524 do not print progress messages 9525 -d, --debug don't remove temporary files 9526 --recheck update $as_me by reconfiguring in the same conditions 9527 --file=FILE[:TEMPLATE] 9528 instantiate the configuration file FILE 9529 --header=FILE[:TEMPLATE] 9530 instantiate the configuration header FILE 9531 9532 Configuration files: 9533 $config_files 9534 9535 Configuration headers: 9536 $config_headers 9537 9538 Report bugs to <[email protected]>." 9539 9540 _ACEOF 9541 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9542 ac_cs_version="\\ 9543 config.status 9544 configured by $0, generated by GNU Autoconf 2.63, 9545 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 9546 9547 Copyright (C) 2008 Free Software Foundation, Inc. 9548 This config.status script is free software; the Free Software Foundation 9549 gives unlimited permission to copy, distribute and modify it." 9550 9551 ac_pwd='$ac_pwd' 9552 srcdir='$srcdir' 9553 INSTALL='$INSTALL' 9554 AWK='$AWK' 9555 test -n "\$AWK" || AWK=awk 9556 _ACEOF 9557 9558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9559 # The default lists apply if the user does not specify any file. 9560 ac_need_defaults=: 9561 while test $# != 0 9562 do 9563 case $1 in 9564 --*=*) 9565 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9566 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9567 ac_shift=: 9568 ;; 9569 *) 9570 ac_option=$1 9571 ac_optarg=$2 9572 ac_shift=shift 9573 ;; 9574 esac 9575 9576 case $ac_option in 9577 # Handling of the options. 9578 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 9579 ac_cs_recheck=: ;; 9580 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9581 $as_echo "$ac_cs_version"; exit ;; 9582 --debug | --debu | --deb | --de | --d | -d ) 9583 debug=: ;; 9584 --file | --fil | --fi | --f ) 9585 $ac_shift 9586 case $ac_optarg in 9587 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9588 esac 9589 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 9590 ac_need_defaults=false;; 9591 --header | --heade | --head | --hea ) 9592 $ac_shift 9593 case $ac_optarg in 9594 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9595 esac 9596 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 9597 ac_need_defaults=false;; 9598 --he | --h) 9599 # Conflict between --help and --header 9600 { $as_echo "$as_me: error: ambiguous option: $1 9601 Try \`$0 --help' for more information." >&2 9602 { (exit 1); exit 1; }; };; 9603 --help | --hel | -h ) 9604 $as_echo "$ac_cs_usage"; exit ;; 9605 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9606 | -silent | --silent | --silen | --sile | --sil | --si | --s) 9607 ac_cs_silent=: ;; 9608 9609 # This is an error. 9610 -*) { $as_echo "$as_me: error: unrecognized option: $1 9611 Try \`$0 --help' for more information." >&2 9612 { (exit 1); exit 1; }; } ;; 9613 9614 *) ac_config_targets="$ac_config_targets $1" 9615 ac_need_defaults=false ;; 9616 9617 esac 9618 shift 9619 done 9620 9621 ac_configure_extra_args= 9622 9623 if $ac_cs_silent; then 9624 exec 6>/dev/null 9625 ac_configure_extra_args="$ac_configure_extra_args --silent" 9626 fi 9627 9628 _ACEOF 9629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9630 if \$ac_cs_recheck; then 9631 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9632 shift 9633 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 9634 CONFIG_SHELL='$SHELL' 9635 export CONFIG_SHELL 9636 exec "\$@" 9637 fi 9638 9639 _ACEOF 9640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8252 9641 exec 5>>config.log 8253 9642 { … … 8256 9645 ## Running $as_me. ## 8257 9646 _ASBOX 9647 $as_echo "$ac_log" 8258 9648 } >&5 8259 cat >&5 <<_CSEOF 8260 8261 This file was extended by $as_me, which was 8262 generated by GNU Autoconf 2.59. Invocation command line was 8263 8264 CONFIG_FILES = $CONFIG_FILES 8265 CONFIG_HEADERS = $CONFIG_HEADERS 8266 CONFIG_LINKS = $CONFIG_LINKS 8267 CONFIG_COMMANDS = $CONFIG_COMMANDS 8268 $ $0 $@ 8269 8270 _CSEOF 8271 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 8272 echo >&5 8273 _ACEOF 8274 8275 # Files that config.status was made for. 8276 if test -n "$ac_config_files"; then 8277 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 8278 fi 8279 8280 if test -n "$ac_config_headers"; then 8281 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 8282 fi 8283 8284 if test -n "$ac_config_links"; then 8285 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 8286 fi 8287 8288 if test -n "$ac_config_commands"; then 8289 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 8290 fi 8291 8292 cat >>$CONFIG_STATUS <<\_ACEOF 8293 8294 ac_cs_usage="\ 8295 \`$as_me' instantiates files from templates according to the 8296 current configuration. 8297 8298 Usage: $0 [OPTIONS] [FILE]... 8299 8300 -h, --help print this help, then exit 8301 -V, --version print version number, then exit 8302 -q, --quiet do not print progress messages 8303 -d, --debug don't remove temporary files 8304 --recheck update $as_me by reconfiguring in the same conditions 8305 --file=FILE[:TEMPLATE] 8306 instantiate the configuration file FILE 8307 --header=FILE[:TEMPLATE] 8308 instantiate the configuration header FILE 8309 8310 Configuration files: 8311 $config_files 8312 8313 Configuration headers: 8314 $config_headers 8315 8316 Report bugs to <[email protected]>." 8317 _ACEOF 8318 8319 cat >>$CONFIG_STATUS <<_ACEOF 8320 ac_cs_version="\\ 8321 config.status 8322 configured by $0, generated by GNU Autoconf 2.59, 8323 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 8324 8325 Copyright (C) 2003 Free Software Foundation, Inc. 8326 This config.status script is free software; the Free Software Foundation 8327 gives unlimited permission to copy, distribute and modify it." 8328 srcdir=$srcdir 8329 INSTALL="$INSTALL" 8330 _ACEOF 8331 8332 cat >>$CONFIG_STATUS <<\_ACEOF 8333 # If no file are specified by the user, then we need to provide default 8334 # value. By we need to know if files were specified by the user. 8335 ac_need_defaults=: 8336 while test $# != 0 8337 do 8338 case $1 in 8339 --*=*) 8340 ac_option=`expr "x$1" : 'x\([^=]*\)='` 8341 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 8342 ac_shift=: 8343 ;; 8344 -*) 8345 ac_option=$1 8346 ac_optarg=$2 8347 ac_shift=shift 8348 ;; 8349 *) # This is not an option, so the user has probably given explicit 8350 # arguments. 8351 ac_option=$1 8352 ac_need_defaults=false;; 8353 esac 8354 8355 case $ac_option in 8356 # Handling of the options. 8357 _ACEOF 8358 cat >>$CONFIG_STATUS <<\_ACEOF 8359 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8360 ac_cs_recheck=: ;; 8361 --version | --vers* | -V ) 8362 echo "$ac_cs_version"; exit 0 ;; 8363 --he | --h) 8364 # Conflict between --help and --header 8365 { { echo "$as_me:$LINENO: error: ambiguous option: $1 8366 Try \`$0 --help' for more information." >&5 8367 echo "$as_me: error: ambiguous option: $1 8368 Try \`$0 --help' for more information." >&2;} 8369 { (exit 1); exit 1; }; };; 8370 --help | --hel | -h ) 8371 echo "$ac_cs_usage"; exit 0 ;; 8372 --debug | --d* | -d ) 8373 debug=: ;; 8374 --file | --fil | --fi | --f ) 8375 $ac_shift 8376 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 8377 ac_need_defaults=false;; 8378 --header | --heade | --head | --hea ) 8379 $ac_shift 8380 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 8381 ac_need_defaults=false;; 8382 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8383 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8384 ac_cs_silent=: ;; 8385 8386 # This is an error. 8387 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 8388 Try \`$0 --help' for more information." >&5 8389 echo "$as_me: error: unrecognized option: $1 8390 Try \`$0 --help' for more information." >&2;} 8391 { (exit 1); exit 1; }; } ;; 8392 8393 *) ac_config_targets="$ac_config_targets $1" ;; 8394 8395 esac 8396 shift 8397 done 8398 8399 ac_configure_extra_args= 8400 8401 if $ac_cs_silent; then 8402 exec 6>/dev/null 8403 ac_configure_extra_args="$ac_configure_extra_args --silent" 8404 fi 8405 8406 _ACEOF 8407 cat >>$CONFIG_STATUS <<_ACEOF 8408 if \$ac_cs_recheck; then 8409 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8410 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8411 fi 8412 8413 _ACEOF 8414 8415 8416 8417 8418 8419 cat >>$CONFIG_STATUS <<\_ACEOF 9649 9650 _ACEOF 9651 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9652 _ACEOF 9653 9654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9655 9656 # Handling of arguments. 8420 9657 for ac_config_target in $ac_config_targets 8421 9658 do 8422 case "$ac_config_target"in8423 # Handling of arguments.8424 "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;8425 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;8426 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;8427 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;8428 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 8429 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&58430 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}9659 case $ac_config_target in 9660 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 9661 "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;; 9662 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 9663 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;; 9664 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 9665 9666 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 9667 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 8431 9668 { (exit 1); exit 1; }; };; 8432 9669 esac 8433 9670 done 9671 8434 9672 8435 9673 # If the user did not use the arguments to specify the items to instantiate, … … 8443 9681 8444 9682 # Have a temporary directory for convenience. Make it in the build tree 8445 # simply because there is no reason to putit here, and in addition,9683 # simply because there is no reason against having it here, and in addition, 8446 9684 # creating and moving files from /tmp can sometimes cause problems. 8447 # Create a temporary directory, and hook for its removal unless debugging. 9685 # Hook for its removal unless debugging. 9686 # Note that there is a small window in which the directory will not be cleaned: 9687 # after its creation but before its name has been assigned to `$tmp'. 8448 9688 $debug || 8449 9689 { 8450 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 9690 tmp= 9691 trap 'exit_status=$? 9692 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9693 ' 0 8451 9694 trap '{ (exit 1); exit 1; }' 1 2 13 15 8452 9695 } 8453 8454 9696 # Create a (secure) tmp directory for tmp files. 8455 9697 8456 9698 { 8457 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&9699 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8458 9700 test -n "$tmp" && test -d "$tmp" 8459 9701 } || 8460 9702 { 8461 tmp=./conf stat$$-$RANDOM8462 (umask 077 && mkdir $tmp)9703 tmp=./conf$$-$RANDOM 9704 (umask 077 && mkdir "$tmp") 8463 9705 } || 8464 9706 { 8465 echo "$me: cannot create a temporary directory in ." >&29707 $as_echo "$as_me: cannot create a temporary directory in ." >&2 8466 9708 { (exit 1); exit 1; } 8467 9709 } 8468 9710 8469 _ACEOF 8470 8471 cat >>$CONFIG_STATUS <<_ACEOF 8472 8473 # 8474 # CONFIG_FILES section. 8475 # 8476 8477 # No need to generate the scripts if there are no CONFIG_FILES. 8478 # This happens for instance when ./config.status config.h 8479 if test -n "\$CONFIG_FILES"; then 8480 # Protect against being on the right side of a sed subst in config.status. 8481 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 8482 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 8483 s,@SHELL@,$SHELL,;t t 8484 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 8485 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 8486 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 8487 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 8488 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 8489 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 8490 s,@exec_prefix@,$exec_prefix,;t t 8491 s,@prefix@,$prefix,;t t 8492 s,@program_transform_name@,$program_transform_name,;t t 8493 s,@bindir@,$bindir,;t t 8494 s,@sbindir@,$sbindir,;t t 8495 s,@libexecdir@,$libexecdir,;t t 8496 s,@datadir@,$datadir,;t t 8497 s,@sysconfdir@,$sysconfdir,;t t 8498 s,@sharedstatedir@,$sharedstatedir,;t t 8499 s,@localstatedir@,$localstatedir,;t t 8500 s,@libdir@,$libdir,;t t 8501 s,@includedir@,$includedir,;t t 8502 s,@oldincludedir@,$oldincludedir,;t t 8503 s,@infodir@,$infodir,;t t 8504 s,@mandir@,$mandir,;t t 8505 s,@build_alias@,$build_alias,;t t 8506 s,@host_alias@,$host_alias,;t t 8507 s,@target_alias@,$target_alias,;t t 8508 s,@DEFS@,$DEFS,;t t 8509 s,@ECHO_C@,$ECHO_C,;t t 8510 s,@ECHO_N@,$ECHO_N,;t t 8511 s,@ECHO_T@,$ECHO_T,;t t 8512 s,@LIBS@,$LIBS,;t t 8513 s,@PACKAGE@,$PACKAGE,;t t 8514 s,@VERSION@,$VERSION,;t t 8515 s,@USE_FASTCGI@,$USE_FASTCGI,;t t 8516 s,@USE_LANGACTION@,$USE_LANGACTION,;t t 8517 s,@USE_CORBA@,$USE_CORBA,;t t 8518 s,@MICO_DIR@,$MICO_DIR,;t t 8519 s,@USE_Z3950@,$USE_Z3950,;t t 8520 s,@USE_YAZ@,$USE_YAZ,;t t 8521 s,@ENABLE_JAVA@,$ENABLE_JAVA,;t t 8522 s,@USE_JDBM@,$USE_JDBM,;t t 8523 s,@USE_GDBM@,$USE_GDBM,;t t 8524 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 8525 s,@USE_SQLITE@,$USE_SQLITE,;t t 8526 s,@USE_RSS@,$USE_RSS,;t t 8527 s,@USE_APACHE_HTTPD@,$USE_APACHE_HTTPD,;t t 8528 s,@ENABLE_MG@,$ENABLE_MG,;t t 8529 s,@ENABLE_MGPP@,$ENABLE_MGPP,;t t 8530 s,@ENABLE_LUCENE@,$ENABLE_LUCENE,;t t 8531 s,@LDFLAGS@,$LDFLAGS,;t t 8532 s,@CFLAGS@,$CFLAGS,;t t 8533 s,@CC@,$CC,;t t 8534 s,@CPPFLAGS@,$CPPFLAGS,;t t 8535 s,@ac_ct_CC@,$ac_ct_CC,;t t 8536 s,@EXEEXT@,$EXEEXT,;t t 8537 s,@OBJEXT@,$OBJEXT,;t t 8538 s,@CXX@,$CXX,;t t 8539 s,@CXXFLAGS@,$CXXFLAGS,;t t 8540 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 8541 s,@JAVAC@,$JAVAC,;t t 8542 s,@JAVACFLAGS@,$JAVACFLAGS,;t t 8543 s,@JAVA@,$JAVA,;t t 8544 s,@uudecode@,$uudecode,;t t 8545 s,@AWK@,$AWK,;t t 8546 s,@YACC@,$YACC,;t t 8547 s,@build@,$build,;t t 8548 s,@build_cpu@,$build_cpu,;t t 8549 s,@build_vendor@,$build_vendor,;t t 8550 s,@build_os@,$build_os,;t t 8551 s,@host@,$host,;t t 8552 s,@host_cpu@,$host_cpu,;t t 8553 s,@host_vendor@,$host_vendor,;t t 8554 s,@host_os@,$host_os,;t t 8555 s,@target@,$target,;t t 8556 s,@target_cpu@,$target_cpu,;t t 8557 s,@target_vendor@,$target_vendor,;t t 8558 s,@target_os@,$target_os,;t t 8559 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 8560 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 8561 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 8562 s,@LN_S@,$LN_S,;t t 8563 s,@SET_MAKE@,$SET_MAKE,;t t 8564 s,@RANLIB@,$RANLIB,;t t 8565 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 8566 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 8567 s,@MICO_VER@,$MICO_VER,;t t 8568 s,@CPP@,$CPP,;t t 8569 s,@EGREP@,$EGREP,;t t 8570 s,@U@,$U,;t t 8571 s,@ANSI2KNR@,$ANSI2KNR,;t t 8572 s,@ALLOCA@,$ALLOCA,;t t 8573 s,@LIBOBJS@,$LIBOBJS,;t t 8574 s,@STATIC@,$STATIC,;t t 8575 s,@gsdlos@,$gsdlos,;t t 8576 s,@gsdlarch@,$gsdlarch,;t t 8577 s,@MODULEDIRS@,$MODULEDIRS,;t t 8578 s,@subdirs@,$subdirs,;t t 8579 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 8580 CEOF 8581 8582 _ACEOF 8583 8584 cat >>$CONFIG_STATUS <<\_ACEOF 8585 # Split the substitutions into bite-sized pieces for seds with 8586 # small command number limits, like on Digital OSF/1 and HP-UX. 8587 ac_max_sed_lines=48 8588 ac_sed_frag=1 # Number of current file. 8589 ac_beg=1 # First line for current file. 8590 ac_end=$ac_max_sed_lines # Line after last line for current file. 8591 ac_more_lines=: 8592 ac_sed_cmds= 8593 while $ac_more_lines; do 8594 if test $ac_beg -gt 1; then 8595 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8596 else 8597 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 9711 # Set up the scripts for CONFIG_FILES section. 9712 # No need to generate them if there are no CONFIG_FILES. 9713 # This happens for instance with `./config.status config.h'. 9714 if test -n "$CONFIG_FILES"; then 9715 9716 9717 ac_cr=' 9718 ' 9719 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 9720 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 9721 ac_cs_awk_cr='\\r' 9722 else 9723 ac_cs_awk_cr=$ac_cr 9724 fi 9725 9726 echo 'BEGIN {' >"$tmp/subs1.awk" && 9727 _ACEOF 9728 9729 9730 { 9731 echo "cat >conf$$subs.awk <<_ACEOF" && 9732 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 9733 echo "_ACEOF" 9734 } >conf$$subs.sh || 9735 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9736 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9737 { (exit 1); exit 1; }; } 9738 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 9739 ac_delim='%!_!# ' 9740 for ac_last_try in false false false false false :; do 9741 . ./conf$$subs.sh || 9742 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9743 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9744 { (exit 1); exit 1; }; } 9745 9746 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 9747 if test $ac_delim_n = $ac_delim_num; then 9748 break 9749 elif $ac_last_try; then 9750 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9751 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9752 { (exit 1); exit 1; }; } 9753 else 9754 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9755 fi 9756 done 9757 rm -f conf$$subs.sh 9758 9759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9760 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 9761 _ACEOF 9762 sed -n ' 9763 h 9764 s/^/S["/; s/!.*/"]=/ 9765 p 9766 g 9767 s/^[^!]*!// 9768 :repl 9769 t repl 9770 s/'"$ac_delim"'$// 9771 t delim 9772 :nl 9773 h 9774 s/\(.\{148\}\).*/\1/ 9775 t more1 9776 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 9777 p 9778 n 9779 b repl 9780 :more1 9781 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9782 p 9783 g 9784 s/.\{148\}// 9785 t nl 9786 :delim 9787 h 9788 s/\(.\{148\}\).*/\1/ 9789 t more2 9790 s/["\\]/\\&/g; s/^/"/; s/$/"/ 9791 p 9792 b 9793 :more2 9794 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9795 p 9796 g 9797 s/.\{148\}// 9798 t delim 9799 ' <conf$$subs.awk | sed ' 9800 /^[^""]/{ 9801 N 9802 s/\n// 9803 } 9804 ' >>$CONFIG_STATUS || ac_write_fail=1 9805 rm -f conf$$subs.awk 9806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9807 _ACAWK 9808 cat >>"\$tmp/subs1.awk" <<_ACAWK && 9809 for (key in S) S_is_set[key] = 1 9810 FS = "" 9811 9812 } 9813 { 9814 line = $ 0 9815 nfields = split(line, field, "@") 9816 substed = 0 9817 len = length(field[1]) 9818 for (i = 2; i < nfields; i++) { 9819 key = field[i] 9820 keylen = length(key) 9821 if (S_is_set[key]) { 9822 value = S[key] 9823 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 9824 len += length(value) + length(field[++i]) 9825 substed = 1 9826 } else 9827 len += 1 + keylen 9828 } 9829 9830 print line 9831 } 9832 9833 _ACAWK 9834 _ACEOF 9835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9836 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9837 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 9838 else 9839 cat 9840 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 9841 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 9842 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 9843 { (exit 1); exit 1; }; } 9844 _ACEOF 9845 9846 # VPATH may cause trouble with some makes, so we remove $(srcdir), 9847 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9848 # trailing colons and then remove the whole line if VPATH becomes empty 9849 # (actually we leave an empty line to preserve line numbers). 9850 if test "x$srcdir" = x.; then 9851 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 9852 s/:*\$(srcdir):*/:/ 9853 s/:*\${srcdir}:*/:/ 9854 s/:*@srcdir@:*/:/ 9855 s/^\([^=]*=[ ]*\):*/\1/ 9856 s/:*$// 9857 s/^[^=]*=[ ]*$// 9858 }' 9859 fi 9860 9861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9862 fi # test -n "$CONFIG_FILES" 9863 9864 # Set up the scripts for CONFIG_HEADERS section. 9865 # No need to generate them if there are no CONFIG_HEADERS. 9866 # This happens for instance with `./config.status Makefile'. 9867 if test -n "$CONFIG_HEADERS"; then 9868 cat >"$tmp/defines.awk" <<\_ACAWK || 9869 BEGIN { 9870 _ACEOF 9871 9872 # Transform confdefs.h into an awk script `defines.awk', embedded as 9873 # here-document in config.status, that substitutes the proper values into 9874 # config.h.in to produce config.h. 9875 9876 # Create a delimiter string that does not exist in confdefs.h, to ease 9877 # handling of long lines. 9878 ac_delim='%!_!# ' 9879 for ac_last_try in false false :; do 9880 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 9881 if test -z "$ac_t"; then 9882 break 9883 elif $ac_last_try; then 9884 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 9885 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 9886 { (exit 1); exit 1; }; } 9887 else 9888 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9889 fi 9890 done 9891 9892 # For the awk script, D is an array of macro values keyed by name, 9893 # likewise P contains macro parameters if any. Preserve backslash 9894 # newline sequences. 9895 9896 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 9897 sed -n ' 9898 s/.\{148\}/&'"$ac_delim"'/g 9899 t rset 9900 :rset 9901 s/^[ ]*#[ ]*define[ ][ ]*/ / 9902 t def 9903 d 9904 :def 9905 s/\\$// 9906 t bsnl 9907 s/["\\]/\\&/g 9908 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9909 D["\1"]=" \3"/p 9910 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 9911 d 9912 :bsnl 9913 s/["\\]/\\&/g 9914 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9915 D["\1"]=" \3\\\\\\n"\\/p 9916 t cont 9917 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 9918 t cont 9919 d 9920 :cont 9921 n 9922 s/.\{148\}/&'"$ac_delim"'/g 9923 t clear 9924 :clear 9925 s/\\$// 9926 t bsnlc 9927 s/["\\]/\\&/g; s/^/"/; s/$/"/p 9928 d 9929 :bsnlc 9930 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 9931 b cont 9932 ' <confdefs.h | sed ' 9933 s/'"$ac_delim"'/"\\\ 9934 "/g' >>$CONFIG_STATUS || ac_write_fail=1 9935 9936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9937 for (key in D) D_is_set[key] = 1 9938 FS = "" 9939 } 9940 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 9941 line = \$ 0 9942 split(line, arg, " ") 9943 if (arg[1] == "#") { 9944 defundef = arg[2] 9945 mac1 = arg[3] 9946 } else { 9947 defundef = substr(arg[1], 2) 9948 mac1 = arg[2] 9949 } 9950 split(mac1, mac2, "(") #) 9951 macro = mac2[1] 9952 prefix = substr(line, 1, index(line, defundef) - 1) 9953 if (D_is_set[macro]) { 9954 # Preserve the white space surrounding the "#". 9955 print prefix "define", macro P[macro] D[macro] 9956 next 9957 } else { 9958 # Replace #undef with comments. This is necessary, for example, 9959 # in the case of _POSIX_SOURCE, which is predefined and required 9960 # on some systems where configure will not decide to define it. 9961 if (defundef == "undef") { 9962 print "/*", prefix defundef, macro, "*/" 9963 next 9964 } 9965 } 9966 } 9967 { print } 9968 _ACAWK 9969 _ACEOF 9970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9971 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 9972 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 9973 { (exit 1); exit 1; }; } 9974 fi # test -n "$CONFIG_HEADERS" 9975 9976 9977 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 9978 shift 9979 for ac_tag 9980 do 9981 case $ac_tag in 9982 :[FHLC]) ac_mode=$ac_tag; continue;; 9983 esac 9984 case $ac_mode$ac_tag in 9985 :[FHL]*:*);; 9986 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 9987 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 9988 { (exit 1); exit 1; }; };; 9989 :[FH]-) ac_tag=-:-;; 9990 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9991 esac 9992 ac_save_IFS=$IFS 9993 IFS=: 9994 set x $ac_tag 9995 IFS=$ac_save_IFS 9996 shift 9997 ac_file=$1 9998 shift 9999 10000 case $ac_mode in 10001 :L) ac_source=$1;; 10002 :[FH]) 10003 ac_file_inputs= 10004 for ac_f 10005 do 10006 case $ac_f in 10007 -) ac_f="$tmp/stdin";; 10008 *) # Look for the file first in the build tree, then in the source tree 10009 # (if the path is not absolute). The absolute path cannot be DOS-style, 10010 # because $ac_f cannot contain `:'. 10011 test -f "$ac_f" || 10012 case $ac_f in 10013 [\\/$]*) false;; 10014 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 10015 esac || 10016 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 10017 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 10018 { (exit 1); exit 1; }; };; 10019 esac 10020 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 10021 ac_file_inputs="$ac_file_inputs '$ac_f'" 10022 done 10023 10024 # Let's still pretend it is `configure' which instantiates (i.e., don't 10025 # use $as_me), people would be surprised to read: 10026 # /* config.h. Generated by config.status. */ 10027 configure_input='Generated from '` 10028 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 10029 `' by configure.' 10030 if test x"$ac_file" != x-; then 10031 configure_input="$ac_file. $configure_input" 10032 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 10033 $as_echo "$as_me: creating $ac_file" >&6;} 8598 10034 fi 8599 if test ! -s $tmp/subs.frag; then 8600 ac_more_lines=false 8601 else 8602 # The purpose of the label and of the branching condition is to 8603 # speed up the sed processing (if there are no `@' at all, there 8604 # is no need to browse any of the substitutions). 8605 # These are the two extra sed commands mentioned above. 8606 (echo ':t 8607 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 8608 if test -z "$ac_sed_cmds"; then 8609 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 8610 else 8611 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 8612 fi 8613 ac_sed_frag=`expr $ac_sed_frag + 1` 8614 ac_beg=$ac_end 8615 ac_end=`expr $ac_end + $ac_max_sed_lines` 8616 fi 8617 done 8618 if test -z "$ac_sed_cmds"; then 8619 ac_sed_cmds=cat 8620 fi 8621 fi # test -n "$CONFIG_FILES" 8622 8623 _ACEOF 8624 cat >>$CONFIG_STATUS <<\_ACEOF 8625 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 8626 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8627 case $ac_file in 8628 - | *:- | *:-:* ) # input from stdin 8629 cat >$tmp/stdin 8630 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8631 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8632 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8633 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8634 * ) ac_file_in=$ac_file.in ;; 10035 # Neutralize special characters interpreted by sed in replacement strings. 10036 case $configure_input in #( 10037 *\&* | *\|* | *\\* ) 10038 ac_sed_conf_input=`$as_echo "$configure_input" | 10039 sed 's/[\\\\&|]/\\\\&/g'`;; #( 10040 *) ac_sed_conf_input=$configure_input;; 10041 esac 10042 10043 case $ac_tag in 10044 *:-:* | *:-) cat >"$tmp/stdin" \ 10045 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10046 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10047 { (exit 1); exit 1; }; } ;; 10048 esac 10049 ;; 8635 10050 esac 8636 10051 8637 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 8638 ac_dir=`(dirname "$ac_file") 2>/dev/null || 10052 ac_dir=`$as_dirname -- "$ac_file" || 8639 10053 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8640 10054 X"$ac_file" : 'X\(//\)[^/]' \| \ 8641 10055 X"$ac_file" : 'X\(//\)$' \| \ 8642 X"$ac_file" : 'X\(/\)' \| \ 8643 . : '\(.\)' 2>/dev/null || 8644 echo X"$ac_file" | 8645 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8646 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8647 /^X\(\/\/\)$/{ s//\1/; q; } 8648 /^X\(\/\).*/{ s//\1/; q; } 8649 s/.*/./; q'` 8650 { if $as_mkdir_p; then 8651 mkdir -p "$ac_dir" 8652 else 8653 as_dir="$ac_dir" 10056 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 10057 $as_echo X"$ac_file" | 10058 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10059 s//\1/ 10060 q 10061 } 10062 /^X\(\/\/\)[^/].*/{ 10063 s//\1/ 10064 q 10065 } 10066 /^X\(\/\/\)$/{ 10067 s//\1/ 10068 q 10069 } 10070 /^X\(\/\).*/{ 10071 s//\1/ 10072 q 10073 } 10074 s/.*/./; q'` 10075 { as_dir="$ac_dir" 10076 case $as_dir in #( 10077 -*) as_dir=./$as_dir;; 10078 esac 10079 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 8654 10080 as_dirs= 8655 while test ! -d "$as_dir"; do 8656 as_dirs="$as_dir $as_dirs" 8657 as_dir=`(dirname "$as_dir") 2>/dev/null || 10081 while :; do 10082 case $as_dir in #( 10083 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10084 *) as_qdir=$as_dir;; 10085 esac 10086 as_dirs="'$as_qdir' $as_dirs" 10087 as_dir=`$as_dirname -- "$as_dir" || 8658 10088 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8659 10089 X"$as_dir" : 'X\(//\)[^/]' \| \ 8660 10090 X"$as_dir" : 'X\(//\)$' \| \ 8661 X"$as_dir" : 'X\(/\)' \| \ 8662 . : '\(.\)' 2>/dev/null || 8663 echo X"$as_dir" | 8664 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8665 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8666 /^X\(\/\/\)$/{ s//\1/; q; } 8667 /^X\(\/\).*/{ s//\1/; q; } 8668 s/.*/./; q'` 10091 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10092 $as_echo X"$as_dir" | 10093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10094 s//\1/ 10095 q 10096 } 10097 /^X\(\/\/\)[^/].*/{ 10098 s//\1/ 10099 q 10100 } 10101 /^X\(\/\/\)$/{ 10102 s//\1/ 10103 q 10104 } 10105 /^X\(\/\).*/{ 10106 s//\1/ 10107 q 10108 } 10109 s/.*/./; q'` 10110 test -d "$as_dir" && break 8669 10111 done 8670 test ! -n "$as_dirs" || mkdir $as_dirs8671 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&58672 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}10112 test -z "$as_dirs" || eval "mkdir $as_dirs" 10113 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10114 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 8673 10115 { (exit 1); exit 1; }; }; } 8674 8675 10116 ac_builddir=. 8676 10117 8677 if test "$ac_dir" != .; then 8678 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8679 # A "../" for each directory in $ac_dir_suffix. 8680 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8681 else 8682 ac_dir_suffix= ac_top_builddir= 8683 fi 10118 case "$ac_dir" in 10119 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10120 *) 10121 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 10122 # A ".." for each directory in $ac_dir_suffix. 10123 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 10124 case $ac_top_builddir_sub in 10125 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 10126 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 10127 esac ;; 10128 esac 10129 ac_abs_top_builddir=$ac_pwd 10130 ac_abs_builddir=$ac_pwd$ac_dir_suffix 10131 # for backward compatibility: 10132 ac_top_builddir=$ac_top_build_prefix 8684 10133 8685 10134 case $srcdir in 8686 .) # No --srcdir option.We are building in place.10135 .) # We are building in place. 8687 10136 ac_srcdir=. 8688 if test -z "$ac_top_builddir"; then 8689 ac_top_srcdir=. 8690 else 8691 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8692 fi ;; 8693 [\\/]* | ?:[\\/]* ) # Absolute path. 10137 ac_top_srcdir=$ac_top_builddir_sub 10138 ac_abs_top_srcdir=$ac_pwd ;; 10139 [\\/]* | ?:[\\/]* ) # Absolute name. 8694 10140 ac_srcdir=$srcdir$ac_dir_suffix; 8695 ac_top_srcdir=$srcdir ;; 8696 *) # Relative path. 8697 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8698 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8699 esac 8700 8701 # Do not use `cd foo && pwd` to compute absolute paths, because 8702 # the directories may not exist. 8703 case `pwd` in 8704 .) ac_abs_builddir="$ac_dir";; 8705 *) 8706 case "$ac_dir" in 8707 .) ac_abs_builddir=`pwd`;; 8708 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8709 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8710 esac;; 8711 esac 8712 case $ac_abs_builddir in 8713 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8714 *) 8715 case ${ac_top_builddir}. in 8716 .) ac_abs_top_builddir=$ac_abs_builddir;; 8717 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8718 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8719 esac;; 8720 esac 8721 case $ac_abs_builddir in 8722 .) ac_abs_srcdir=$ac_srcdir;; 8723 *) 8724 case $ac_srcdir in 8725 .) ac_abs_srcdir=$ac_abs_builddir;; 8726 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8727 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8728 esac;; 8729 esac 8730 case $ac_abs_builddir in 8731 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8732 *) 8733 case $ac_top_srcdir in 8734 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8735 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8736 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8737 esac;; 8738 esac 8739 10141 ac_top_srcdir=$srcdir 10142 ac_abs_top_srcdir=$srcdir ;; 10143 *) # Relative name. 10144 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 10145 ac_top_srcdir=$ac_top_build_prefix$srcdir 10146 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 10147 esac 10148 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 10149 10150 10151 case $ac_mode in 10152 :F) 10153 # 10154 # CONFIG_FILE 10155 # 8740 10156 8741 10157 case $INSTALL in 8742 10158 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 8743 *) ac_INSTALL=$ac_top_build dir$INSTALL ;;10159 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 8744 10160 esac 8745 8746 if test x"$ac_file" != x-; then 8747 { echo "$as_me:$LINENO: creating $ac_file" >&5 8748 echo "$as_me: creating $ac_file" >&6;} 8749 rm -f "$ac_file" 8750 fi 8751 # Let's still pretend it is `configure' which instantiates (i.e., don't 8752 # use $as_me), people would be surprised to read: 8753 # /* config.h. Generated by config.status. */ 8754 if test x"$ac_file" = x-; then 8755 configure_input= 8756 else 8757 configure_input="$ac_file. " 8758 fi 8759 configure_input=$configure_input"Generated from `echo $ac_file_in | 8760 sed 's,.*/,,'` by configure." 8761 8762 # First look for the input files in the build tree, otherwise in the 8763 # src tree. 8764 ac_file_inputs=`IFS=: 8765 for f in $ac_file_in; do 8766 case $f in 8767 -) echo $tmp/stdin ;; 8768 [\\/$]*) 8769 # Absolute (can't be DOS-style, as IFS=:) 8770 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8771 echo "$as_me: error: cannot find input file: $f" >&2;} 8772 { (exit 1); exit 1; }; } 8773 echo "$f";; 8774 *) # Relative 8775 if test -f "$f"; then 8776 # Build tree 8777 echo "$f" 8778 elif test -f "$srcdir/$f"; then 8779 # Source tree 8780 echo "$srcdir/$f" 8781 else 8782 # /dev/null tree 8783 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8784 echo "$as_me: error: cannot find input file: $f" >&2;} 8785 { (exit 1); exit 1; }; } 8786 fi;; 8787 esac 8788 done` || { (exit 1); exit 1; } 8789 _ACEOF 8790 cat >>$CONFIG_STATUS <<_ACEOF 8791 sed "$ac_vpsub 10161 _ACEOF 10162 10163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10164 # If the template does not know about datarootdir, expand it. 10165 # FIXME: This hack should be removed a few years after 2.60. 10166 ac_datarootdir_hack=; ac_datarootdir_seen= 10167 10168 ac_sed_dataroot=' 10169 /datarootdir/ { 10170 p 10171 q 10172 } 10173 /@datadir@/p 10174 /@docdir@/p 10175 /@infodir@/p 10176 /@localedir@/p 10177 /@mandir@/p 10178 ' 10179 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 10180 *datarootdir*) ac_datarootdir_seen=yes;; 10181 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 10182 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10183 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10184 _ACEOF 10185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10186 ac_datarootdir_hack=' 10187 s&@datadir@&$datadir&g 10188 s&@docdir@&$docdir&g 10189 s&@infodir@&$infodir&g 10190 s&@localedir@&$localedir&g 10191 s&@mandir@&$mandir&g 10192 s&\\\${datarootdir}&$datarootdir&g' ;; 10193 esac 10194 _ACEOF 10195 10196 # Neutralize VPATH when `$srcdir' = `.'. 10197 # Shell code in configure.ac might set extrasub. 10198 # FIXME: do we really want to maintain this feature? 10199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10200 ac_sed_extra="$ac_vpsub 8792 10201 $extrasub 8793 10202 _ACEOF 8794 cat >>$CONFIG_STATUS <<\_ACEOF 10203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8795 10204 :t 8796 10205 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8797 s,@configure_input@,$configure_input,;t t 8798 s,@srcdir@,$ac_srcdir,;t t 8799 s,@abs_srcdir@,$ac_abs_srcdir,;t t 8800 s,@top_srcdir@,$ac_top_srcdir,;t t 8801 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 8802 s,@builddir@,$ac_builddir,;t t 8803 s,@abs_builddir@,$ac_abs_builddir,;t t 8804 s,@top_builddir@,$ac_top_builddir,;t t 8805 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 8806 s,@INSTALL@,$ac_INSTALL,;t t 8807 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 8808 rm -f $tmp/stdin 10206 s|@configure_input@|$ac_sed_conf_input|;t t 10207 s&@top_builddir@&$ac_top_builddir_sub&;t t 10208 s&@top_build_prefix@&$ac_top_build_prefix&;t t 10209 s&@srcdir@&$ac_srcdir&;t t 10210 s&@abs_srcdir@&$ac_abs_srcdir&;t t 10211 s&@top_srcdir@&$ac_top_srcdir&;t t 10212 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 10213 s&@builddir@&$ac_builddir&;t t 10214 s&@abs_builddir@&$ac_abs_builddir&;t t 10215 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 10216 s&@INSTALL@&$ac_INSTALL&;t t 10217 $ac_datarootdir_hack 10218 " 10219 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 10220 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10221 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10222 { (exit 1); exit 1; }; } 10223 10224 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 10225 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 10226 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 10227 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10228 which seems to be undefined. Please make sure it is defined." >&5 10229 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10230 which seems to be undefined. Please make sure it is defined." >&2;} 10231 10232 rm -f "$tmp/stdin" 10233 case $ac_file in 10234 -) cat "$tmp/out" && rm -f "$tmp/out";; 10235 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 10236 esac \ 10237 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10238 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10239 { (exit 1); exit 1; }; } 10240 ;; 10241 :H) 10242 # 10243 # CONFIG_HEADER 10244 # 8809 10245 if test x"$ac_file" != x-; then 8810 mv $tmp/out $ac_file 8811 else 8812 cat $tmp/out 8813 rm -f $tmp/out 8814 fi 8815 8816 done 8817 _ACEOF 8818 cat >>$CONFIG_STATUS <<\_ACEOF 8819 8820 # 8821 # CONFIG_HEADER section. 8822 # 8823 8824 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 8825 # NAME is the cpp macro being defined and VALUE is the value it is being given. 8826 # 8827 # ac_d sets the value in "#define NAME VALUE" lines. 8828 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 8829 ac_dB='[ ].*$,\1#\2' 8830 ac_dC=' ' 8831 ac_dD=',;t' 8832 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 8833 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 8834 ac_uB='$,\1#\2define\3' 8835 ac_uC=' ' 8836 ac_uD=',;t' 8837 8838 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 8839 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8840 case $ac_file in 8841 - | *:- | *:-:* ) # input from stdin 8842 cat >$tmp/stdin 8843 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8844 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8845 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8846 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8847 * ) ac_file_in=$ac_file.in ;; 8848 esac 8849 8850 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 8851 echo "$as_me: creating $ac_file" >&6;} 8852 8853 # First look for the input files in the build tree, otherwise in the 8854 # src tree. 8855 ac_file_inputs=`IFS=: 8856 for f in $ac_file_in; do 8857 case $f in 8858 -) echo $tmp/stdin ;; 8859 [\\/$]*) 8860 # Absolute (can't be DOS-style, as IFS=:) 8861 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8862 echo "$as_me: error: cannot find input file: $f" >&2;} 10246 { 10247 $as_echo "/* $configure_input */" \ 10248 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 10249 } >"$tmp/config.h" \ 10250 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10251 $as_echo "$as_me: error: could not create $ac_file" >&2;} 8863 10252 { (exit 1); exit 1; }; } 8864 # Do quote $f, to prevent DOS paths from being IFS'd. 8865 echo "$f";; 8866 *) # Relative 8867 if test -f "$f"; then 8868 # Build tree 8869 echo "$f" 8870 elif test -f "$srcdir/$f"; then 8871 # Source tree 8872 echo "$srcdir/$f" 8873 else 8874 # /dev/null tree 8875 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8876 echo "$as_me: error: cannot find input file: $f" >&2;} 10253 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 10254 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 10255 $as_echo "$as_me: $ac_file is unchanged" >&6;} 10256 else 10257 rm -f "$ac_file" 10258 mv "$tmp/config.h" "$ac_file" \ 10259 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10260 $as_echo "$as_me: error: could not create $ac_file" >&2;} 8877 10261 { (exit 1); exit 1; }; } 8878 fi;;8879 esac8880 done` || { (exit 1); exit 1; }8881 # Remove the trailing spaces.8882 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in8883 8884 _ACEOF8885 8886 # Transform confdefs.h into two sed scripts, `conftest.defines' and8887 # `conftest.undefs', that substitutes the proper values into8888 # config.h.in to produce config.h. The first handles `#define'8889 # templates, and the second `#undef' templates.8890 # And first: Protect against being on the right side of a sed subst in8891 # config.status. Protect against being in an unquoted here document8892 # in config.status.8893 rm -f conftest.defines conftest.undefs8894 # Using a here document instead of a string reduces the quoting nightmare.8895 # Putting comments in sed scripts is not portable.8896 #8897 # `end' is used to avoid that the second main sed command (meant for8898 # 0-ary CPP macros) applies to n-ary macro definitions.8899 # See the Autoconf documentation for `clear'.8900 cat >confdef2sed.sed <<\_ACEOF8901 s/[\\&,]/\\&/g8902 s,[\\$`],\\&,g8903 t clear8904 : clear8905 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp8906 t end8907 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp8908 : end8909 _ACEOF8910 # If some macros were called several times there might be several times8911 # the same #defines, which is useless. Nevertheless, we may not want to8912 # sort them, since we want the *last* AC-DEFINE to be honored.8913 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines8914 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs8915 rm -f confdef2sed.sed8916 8917 # This sed command replaces #undef with comments. This is necessary, for8918 # example, in the case of _POSIX_SOURCE, which is predefined and required8919 # on some systems where configure will not decide to define it.8920 cat >>conftest.undefs <<\_ACEOF8921 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,8922 _ACEOF8923 8924 # Break up conftest.defines because some shells have a limit on the size8925 # of here documents, and old seds have small limits too (100 cmds).8926 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS8927 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS8928 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS8929 echo ' :' >>$CONFIG_STATUS8930 rm -f conftest.tail8931 while grep . conftest.defines >/dev/null8932 do8933 # Write a limited-size here document to $tmp/defines.sed.8934 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS8935 # Speed up: don't consider the non `#define' lines.8936 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS8937 # Work around the forget-to-reset-the-flag bug.8938 echo 't clr' >>$CONFIG_STATUS8939 echo ': clr' >>$CONFIG_STATUS8940 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS8941 echo 'CEOF8942 sed -f $tmp/defines.sed $tmp/in >$tmp/out8943 rm -f $tmp/in8944 mv $tmp/out $tmp/in8945 ' >>$CONFIG_STATUS8946 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail8947 rm -f conftest.defines8948 mv conftest.tail conftest.defines8949 done8950 rm -f conftest.defines8951 echo ' fi # grep' >>$CONFIG_STATUS8952 echo >>$CONFIG_STATUS8953 8954 # Break up conftest.undefs because some shells have a limit on the size8955 # of here documents, and old seds have small limits too (100 cmds).8956 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS8957 rm -f conftest.tail8958 while grep . conftest.undefs >/dev/null8959 do8960 # Write a limited-size here document to $tmp/undefs.sed.8961 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS8962 # Speed up: don't consider the non `#undef'8963 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS8964 # Work around the forget-to-reset-the-flag bug.8965 echo 't clr' >>$CONFIG_STATUS8966 echo ': clr' >>$CONFIG_STATUS8967 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS8968 echo 'CEOF8969 sed -f $tmp/undefs.sed $tmp/in >$tmp/out8970 rm -f $tmp/in8971 mv $tmp/out $tmp/in8972 ' >>$CONFIG_STATUS8973 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail8974 rm -f conftest.undefs8975 mv conftest.tail conftest.undefs8976 done8977 rm -f conftest.undefs8978 8979 cat >>$CONFIG_STATUS <<\_ACEOF8980 # Let's still pretend it is `configure' which instantiates (i.e., don't8981 # use $as_me), people would be surprised to read:8982 # /* config.h. Generated by config.status. */8983 if test x"$ac_file" = x-; then8984 echo "/* Generated by configure. */" >$tmp/config.h8985 else8986 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h8987 fi8988 cat $tmp/in >>$tmp/config.h8989 rm -f $tmp/in8990 if test x"$ac_file" != x-; then8991 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then8992 { echo "$as_me:$LINENO: $ac_file is unchanged" >&58993 echo "$as_me: $ac_file is unchanged" >&6;}8994 else8995 ac_dir=`(dirname "$ac_file") 2>/dev/null ||8996 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \8997 X"$ac_file" : 'X\(//\)[^/]' \| \8998 X"$ac_file" : 'X\(//\)$' \| \8999 X"$ac_file" : 'X\(/\)' \| \9000 . : '\(.\)' 2>/dev/null ||9001 echo X"$ac_file" |9002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }9003 /^X\(\/\/\)[^/].*/{ s//\1/; q; }9004 /^X\(\/\/\)$/{ s//\1/; q; }9005 /^X\(\/\).*/{ s//\1/; q; }9006 s/.*/./; q'`9007 { if $as_mkdir_p; then9008 mkdir -p "$ac_dir"9009 else9010 as_dir="$ac_dir"9011 as_dirs=9012 while test ! -d "$as_dir"; do9013 as_dirs="$as_dir $as_dirs"9014 as_dir=`(dirname "$as_dir") 2>/dev/null ||9015 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \9016 X"$as_dir" : 'X\(//\)[^/]' \| \9017 X"$as_dir" : 'X\(//\)$' \| \9018 X"$as_dir" : 'X\(/\)' \| \9019 . : '\(.\)' 2>/dev/null ||9020 echo X"$as_dir" |9021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }9022 /^X\(\/\/\)[^/].*/{ s//\1/; q; }9023 /^X\(\/\/\)$/{ s//\1/; q; }9024 /^X\(\/\).*/{ s//\1/; q; }9025 s/.*/./; q'`9026 done9027 test ! -n "$as_dirs" || mkdir $as_dirs9028 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&59029 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}9030 { (exit 1); exit 1; }; }; }9031 9032 rm -f $ac_file9033 mv $tmp/config.h $ac_file9034 10262 fi 9035 10263 else 9036 cat $tmp/config.h 9037 rm -f $tmp/config.h 10264 $as_echo "/* $configure_input */" \ 10265 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 10266 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 10267 $as_echo "$as_me: error: could not create -" >&2;} 10268 { (exit 1); exit 1; }; } 9038 10269 fi 9039 done 9040 _ACEOF 9041 9042 cat >>$CONFIG_STATUS <<\_ACEOF 10270 ;; 10271 10272 10273 esac 10274 10275 done # for ac_tag 10276 9043 10277 9044 10278 { (exit 0); exit 0; } … … 9046 10280 chmod +x $CONFIG_STATUS 9047 10281 ac_clean_files=$ac_clean_files_save 10282 10283 test $ac_write_fail = 0 || 10284 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 10285 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 10286 { (exit 1); exit 1; }; } 9048 10287 9049 10288 … … 9074 10313 if test "$no_recursion" != yes; then 9075 10314 9076 # Remove --cache-file and --srcdir arguments so they do not pile up. 10315 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 10316 # so they do not pile up. 9077 10317 ac_sub_configure_args= 9078 10318 ac_prev= 9079 for ac_arg in $ac_configure_args; do 10319 eval "set x $ac_configure_args" 10320 shift 10321 for ac_arg 10322 do 9080 10323 if test -n "$ac_prev"; then 9081 10324 ac_prev= … … 9100 10343 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 9101 10344 ;; 9102 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; 10345 --disable-option-checking) 10346 ;; 10347 *) 10348 case $ac_arg in 10349 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 10350 esac 10351 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; 9103 10352 esac 9104 10353 done … … 9106 10355 # Always prepend --prefix to ensure using the same prefix 9107 10356 # in subdir configurations. 9108 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" 10357 ac_arg="--prefix=$prefix" 10358 case $ac_arg in 10359 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 10360 esac 10361 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 10362 10363 # Pass --silent 10364 if test "$silent" = yes; then 10365 ac_sub_configure_args="--silent $ac_sub_configure_args" 10366 fi 10367 10368 # Always prepend --disable-option-checking to silence warnings, since 10369 # different subdirs can have different --enable and --with options. 10370 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 9109 10371 9110 10372 ac_popdir=`pwd` … … 9113 10375 # Do not complain, so a configure script can configure whichever 9114 10376 # parts of a large source tree are present. 9115 test -d $srcdir/$ac_dir || continue 9116 9117 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 9118 echo "$as_me: configuring in $ac_dir" >&6;} 9119 { if $as_mkdir_p; then 9120 mkdir -p "$ac_dir" 9121 else 9122 as_dir="$ac_dir" 10377 test -d "$srcdir/$ac_dir" || continue 10378 10379 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 10380 $as_echo "$as_me:$LINENO: $ac_msg" >&5 10381 $as_echo "$ac_msg" >&6 10382 { as_dir="$ac_dir" 10383 case $as_dir in #( 10384 -*) as_dir=./$as_dir;; 10385 esac 10386 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 9123 10387 as_dirs= 9124 while test ! -d "$as_dir"; do 9125 as_dirs="$as_dir $as_dirs" 9126 as_dir=`(dirname "$as_dir") 2>/dev/null || 10388 while :; do 10389 case $as_dir in #( 10390 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10391 *) as_qdir=$as_dir;; 10392 esac 10393 as_dirs="'$as_qdir' $as_dirs" 10394 as_dir=`$as_dirname -- "$as_dir" || 9127 10395 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9128 10396 X"$as_dir" : 'X\(//\)[^/]' \| \ 9129 10397 X"$as_dir" : 'X\(//\)$' \| \ 9130 X"$as_dir" : 'X\(/\)' \| \ 9131 . : '\(.\)' 2>/dev/null || 9132 echo X"$as_dir" | 9133 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9134 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9135 /^X\(\/\/\)$/{ s//\1/; q; } 9136 /^X\(\/\).*/{ s//\1/; q; } 9137 s/.*/./; q'` 10398 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10399 $as_echo X"$as_dir" | 10400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10401 s//\1/ 10402 q 10403 } 10404 /^X\(\/\/\)[^/].*/{ 10405 s//\1/ 10406 q 10407 } 10408 /^X\(\/\/\)$/{ 10409 s//\1/ 10410 q 10411 } 10412 /^X\(\/\).*/{ 10413 s//\1/ 10414 q 10415 } 10416 s/.*/./; q'` 10417 test -d "$as_dir" && break 9138 10418 done 9139 test ! -n "$as_dirs" || mkdir $as_dirs9140 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&59141 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}10419 test -z "$as_dirs" || eval "mkdir $as_dirs" 10420 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10421 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 9142 10422 { (exit 1); exit 1; }; }; } 9143 9144 10423 ac_builddir=. 9145 10424 9146 if test "$ac_dir" != .; then 9147 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 9148 # A "../" for each directory in $ac_dir_suffix. 9149 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 9150 else 9151 ac_dir_suffix= ac_top_builddir= 9152 fi 10425 case "$ac_dir" in 10426 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10427 *) 10428 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 10429 # A ".." for each directory in $ac_dir_suffix. 10430 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 10431 case $ac_top_builddir_sub in 10432 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 10433 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 10434 esac ;; 10435 esac 10436 ac_abs_top_builddir=$ac_pwd 10437 ac_abs_builddir=$ac_pwd$ac_dir_suffix 10438 # for backward compatibility: 10439 ac_top_builddir=$ac_top_build_prefix 9153 10440 9154 10441 case $srcdir in 9155 .) # No --srcdir option.We are building in place.10442 .) # We are building in place. 9156 10443 ac_srcdir=. 9157 if test -z "$ac_top_builddir"; then 9158 ac_top_srcdir=. 10444 ac_top_srcdir=$ac_top_builddir_sub 10445 ac_abs_top_srcdir=$ac_pwd ;; 10446 [\\/]* | ?:[\\/]* ) # Absolute name. 10447 ac_srcdir=$srcdir$ac_dir_suffix; 10448 ac_top_srcdir=$srcdir 10449 ac_abs_top_srcdir=$srcdir ;; 10450 *) # Relative name. 10451 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 10452 ac_top_srcdir=$ac_top_build_prefix$srcdir 10453 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 10454 esac 10455 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 10456 10457 10458 cd "$ac_dir" 10459 10460 # Check for guested configure; otherwise get Cygnus style configure. 10461 if test -f "$ac_srcdir/configure.gnu"; then 10462 ac_sub_configure=$ac_srcdir/configure.gnu 10463 elif test -f "$ac_srcdir/configure"; then 10464 ac_sub_configure=$ac_srcdir/configure 10465 elif test -f "$ac_srcdir/configure.in"; then 10466 # This should be Cygnus configure. 10467 ac_sub_configure=$ac_aux_dir/configure 9159 10468 else 9160 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 9161 fi ;; 9162 [\\/]* | ?:[\\/]* ) # Absolute path. 9163 ac_srcdir=$srcdir$ac_dir_suffix; 9164 ac_top_srcdir=$srcdir ;; 9165 *) # Relative path. 9166 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 9167 ac_top_srcdir=$ac_top_builddir$srcdir ;; 9168 esac 9169 9170 # Do not use `cd foo && pwd` to compute absolute paths, because 9171 # the directories may not exist. 9172 case `pwd` in 9173 .) ac_abs_builddir="$ac_dir";; 9174 *) 9175 case "$ac_dir" in 9176 .) ac_abs_builddir=`pwd`;; 9177 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 9178 *) ac_abs_builddir=`pwd`/"$ac_dir";; 9179 esac;; 9180 esac 9181 case $ac_abs_builddir in 9182 .) ac_abs_top_builddir=${ac_top_builddir}.;; 9183 *) 9184 case ${ac_top_builddir}. in 9185 .) ac_abs_top_builddir=$ac_abs_builddir;; 9186 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 9187 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 9188 esac;; 9189 esac 9190 case $ac_abs_builddir in 9191 .) ac_abs_srcdir=$ac_srcdir;; 9192 *) 9193 case $ac_srcdir in 9194 .) ac_abs_srcdir=$ac_abs_builddir;; 9195 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 9196 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 9197 esac;; 9198 esac 9199 case $ac_abs_builddir in 9200 .) ac_abs_top_srcdir=$ac_top_srcdir;; 9201 *) 9202 case $ac_top_srcdir in 9203 .) ac_abs_top_srcdir=$ac_abs_builddir;; 9204 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 9205 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 9206 esac;; 9207 esac 9208 9209 9210 cd $ac_dir 9211 9212 # Check for guested configure; otherwise get Cygnus style configure. 9213 if test -f $ac_srcdir/configure.gnu; then 9214 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" 9215 elif test -f $ac_srcdir/configure; then 9216 ac_sub_configure="$SHELL '$ac_srcdir/configure'" 9217 elif test -f $ac_srcdir/configure.in; then 9218 ac_sub_configure=$ac_configure 9219 else 9220 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 9221 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 10469 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 10470 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 9222 10471 ac_sub_configure= 9223 10472 fi … … 9228 10477 case $cache_file in 9229 10478 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 9230 *) # Relative path.9231 ac_sub_cache_file=$ac_top_build dir$cache_file ;;10479 *) # Relative name. 10480 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; 9232 10481 esac 9233 10482 9234 { echo "$as_me:$LINENO: running$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&59235 echo "$as_me: running$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}10483 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 10484 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 9236 10485 # The eval makes quoting arguments work. 9237 eval $ac_sub_configure$ac_sub_configure_args \9238 --cache-file= $ac_sub_cache_file --srcdir=$ac_srcdir||9239 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&59240 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}10486 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 10487 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 10488 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 10489 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 9241 10490 { (exit 1); exit 1; }; } 9242 10491 fi 9243 10492 9244 cd $ac_popdir10493 cd "$ac_popdir" 9245 10494 done 9246 10495 fi 9247 9248 9249 10496 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 10497 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 10498 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 10499 fi 10500 10501 10502
Note:
See TracChangeset
for help on using the changeset viewer.