Changeset 25149 for main/trunk/greenstone2/runtime-src/configure
- Timestamp:
- 02/28/12 14:18:52 (9 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 bug-autoconf@gnu.org about your system, 436 echo including any error possibly output before this message. 437 echo This can help us improve future autoconf versions. 438 echo Configuration will now proceed without shell functions. 439 } 440 441 442 443 as_lineno_1=$LINENO 444 as_lineno_2=$LINENO 445 test "x$as_lineno_1" != "x$as_lineno_2" && 446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 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\""