Changeset 25149
- Timestamp:
- 2012-02-28T14:18:52+13:00 (12 years ago)
- Location:
- main/trunk/greenstone2
- Files:
-
- 29 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/build-src/configure
r23800 r25149 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59.3 # Generated by GNU Autoconf 2.63. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 6 7 # This configure script is free software; the Free Software Foundation 7 8 # gives unlimited permission to copy, distribute and modify it. … … 10 11 ## --------------------- ## 11 12 12 # Be Bourne compatible 13 # Be more Bourne compatible 14 DUALCASE=1; export DUALCASE # for MKS sh 13 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 16 emulate sh 15 17 NULLCMD=: 16 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17 19 # is contrary to our usage. Disable this feature. 18 20 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 21 setopt NO_GLOB_SUBST 22 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 79 33 # Avoid depending upon Character Ranges. 80 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 84 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 39 40 as_nl=' 41 ' 42 export as_nl 43 # Printing a long string crashes Solaris 7 /usr/bin/printf. 44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50 else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70 fi 71 86 72 # The user is always right. 87 73 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79 fi 80 81 # Support unset when possible. 82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 83 as_unset=unset 84 else 85 as_unset=false 86 fi 87 88 89 # IFS 90 # We need space, tab and new line, in precisely that order. Quoting is 91 # there to prevent editors from complaining about space-tab. 92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 93 # splitting by setting IFS to empty value.) 94 IFS=" "" $as_nl" 95 96 # Find who we are. Look in the path if we contain no directory separator. 97 case $0 in 98 *[\\/]* ) as_myself=$0 ;; 99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 100 for as_dir in $PATH 111 101 do … … 114 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 105 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 106 IFS=$as_save_IFS 107 108 ;; 109 esac 110 # We did not find ourselves, most probably we were run as `sh COMMAND' 111 # in which case we are not to be found in the path. 112 if test "x$as_myself" = x; then 113 as_myself=$0 114 fi 115 if test ! -f "$as_myself"; then 116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 117 { (exit 1); exit 1; } 118 fi 119 120 # Work around bugs in pre-3.0 UWIN ksh. 121 for as_var in ENV MAIL MAILPATH 122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 123 done 124 PS1='$ ' 125 PS2='> ' 126 PS4='+ ' 127 128 # NLS nuisances. 129 LC_ALL=C 130 export LC_ALL 131 LANGUAGE=C 132 export LANGUAGE 133 134 # Required to use basename. 135 if expr a : '\(a\)' >/dev/null 2>&1 && 136 test "X`expr 00001 : '.*\(...\)'`" = X001; then 137 as_expr=expr 138 else 139 as_expr=false 140 fi 141 142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 143 as_basename=basename 144 else 145 as_basename=false 146 fi 147 148 149 # Name of the executable. 150 as_me=`$as_basename -- "$0" || 151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 152 X"$0" : 'X\(//\)$' \| \ 153 X"$0" : 'X\(/\)' \| . 2>/dev/null || 154 $as_echo X/"$0" | 155 sed '/^.*\/\([^/][^/]*\)\/*$/{ 156 s//\1/ 157 q 158 } 159 /^X\/\(\/\/\)$/{ 160 s//\1/ 161 q 162 } 163 /^X\/\(\/\).*/{ 164 s//\1/ 165 q 166 } 167 s/.*/./; q'` 168 169 # CDPATH. 170 $as_unset CDPATH 171 172 173 if test "x$CONFIG_SHELL" = x; then 174 if (eval ":") 2>/dev/null; then 175 as_have_required=yes 176 else 177 as_have_required=no 178 fi 179 180 if test $as_have_required = yes && (eval ": 181 (as_func_return () { 182 (exit \$1) 183 } 184 as_func_success () { 185 as_func_return 0 186 } 187 as_func_failure () { 188 as_func_return 1 189 } 190 as_func_ret_success () { 191 return 0 192 } 193 as_func_ret_failure () { 194 return 1 195 } 196 197 exitcode=0 198 if as_func_success; then 199 : 200 else 201 exitcode=1 202 echo as_func_success failed. 203 fi 204 205 if as_func_failure; then 206 exitcode=1 207 echo as_func_failure succeeded. 208 fi 209 210 if as_func_ret_success; then 211 : 212 else 213 exitcode=1 214 echo as_func_ret_success failed. 215 fi 216 217 if as_func_ret_failure; then 218 exitcode=1 219 echo as_func_ret_failure succeeded. 220 fi 221 222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 223 : 224 else 225 exitcode=1 226 echo positional parameters were not saved. 227 fi 228 229 test \$exitcode = 0) || { (exit 1); exit 1; } 230 231 ( 232 as_lineno_1=\$LINENO 233 as_lineno_2=\$LINENO 234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 236 ") 2> /dev/null; then 237 : 238 else 239 as_candidate_shells= 130 240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 133 243 IFS=$as_save_IFS 134 244 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 245 case $as_dir in 137 246 /*) 138 if ("$as_dir/$as_base" -c ' 247 for as_base in sh bash ksh sh5; do 248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 249 done;; 250 esac 251 done 252 IFS=$as_save_IFS 253 254 255 for as_shell in $as_candidate_shells $SHELL; do 256 # Try only shells that exist, to save several forks. 257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 258 { ("$as_shell") 2> /dev/null <<\_ASEOF 259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 260 emulate sh 261 NULLCMD=: 262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 263 # is contrary to our usage. Disable this feature. 264 alias -g '${1+"$@"}'='"$@"' 265 setopt NO_GLOB_SUBST 266 else 267 case `(set -o) 2>/dev/null` in 268 *posix*) set -o posix ;; 269 esac 270 271 fi 272 273 274 : 275 _ASEOF 276 }; then 277 CONFIG_SHELL=$as_shell 278 as_have_required=yes 279 if { "$as_shell" 2> /dev/null <<\_ASEOF 280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 281 emulate sh 282 NULLCMD=: 283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 284 # is contrary to our usage. Disable this feature. 285 alias -g '${1+"$@"}'='"$@"' 286 setopt NO_GLOB_SUBST 287 else 288 case `(set -o) 2>/dev/null` in 289 *posix*) set -o posix ;; 290 esac 291 292 fi 293 294 295 : 296 (as_func_return () { 297 (exit $1) 298 } 299 as_func_success () { 300 as_func_return 0 301 } 302 as_func_failure () { 303 as_func_return 1 304 } 305 as_func_ret_success () { 306 return 0 307 } 308 as_func_ret_failure () { 309 return 1 310 } 311 312 exitcode=0 313 if as_func_success; then 314 : 315 else 316 exitcode=1 317 echo as_func_success failed. 318 fi 319 320 if as_func_failure; then 321 exitcode=1 322 echo as_func_failure succeeded. 323 fi 324 325 if as_func_ret_success; then 326 : 327 else 328 exitcode=1 329 echo as_func_ret_success failed. 330 fi 331 332 if as_func_ret_failure; then 333 exitcode=1 334 echo as_func_ret_failure succeeded. 335 fi 336 337 if ( set x; as_func_ret_success y && test x = "$1" ); then 338 : 339 else 340 exitcode=1 341 echo positional parameters were not saved. 342 fi 343 344 test $exitcode = 0) || { (exit 1); exit 1; } 345 346 ( 139 347 as_lineno_1=$LINENO 140 348 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`142 349 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 351 352 _ASEOF 353 }; then 354 break 355 fi 356 357 fi 358 359 done 360 361 if test "x$CONFIG_SHELL" != x; then 362 for as_var in BASH_ENV ENV 363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 364 done 365 export CONFIG_SHELL 366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 367 fi 368 369 370 if test $as_have_required = no; then 371 echo This script requires a shell more modern than all the 372 echo shells that I found on your system. Please install a 373 echo modern shell, or manually run the script under such a 374 echo shell if you do have one. 375 { (exit 1); exit 1; } 376 fi 377 378 379 fi 380 381 fi 382 383 384 385 (eval "as_func_return () { 386 (exit \$1) 387 } 388 as_func_success () { 389 as_func_return 0 390 } 391 as_func_failure () { 392 as_func_return 1 393 } 394 as_func_ret_success () { 395 return 0 396 } 397 as_func_ret_failure () { 398 return 1 399 } 400 401 exitcode=0 402 if as_func_success; then 403 : 404 else 405 exitcode=1 406 echo as_func_success failed. 407 fi 408 409 if as_func_failure; then 410 exitcode=1 411 echo as_func_failure succeeded. 412 fi 413 414 if as_func_ret_success; then 415 : 416 else 417 exitcode=1 418 echo as_func_ret_success failed. 419 fi 420 421 if as_func_ret_failure; then 422 exitcode=1 423 echo as_func_ret_failure succeeded. 424 fi 425 426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 427 : 428 else 429 exitcode=1 430 echo positional parameters were not saved. 431 fi 432 433 test \$exitcode = 0") || { 434 echo No shell found that supports shell functions. 435 echo Please tell [email protected] about your system, 436 echo including any error possibly output before this message. 437 echo This can help us improve future autoconf versions. 438 echo Configuration will now proceed without shell functions. 439 } 440 441 442 443 as_lineno_1=$LINENO 444 as_lineno_2=$LINENO 445 test "x$as_lineno_1" != "x$as_lineno_2" && 446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 155 447 156 448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 449 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 450 # line-number line after each line using $LINENO; the second 'sed' 451 # does the real work. The second script uses 'N' to pair each 452 # line-number line with the line containing $LINENO, and appends 453 # trailing '-' during substitution so that $LINENO is not a special 454 # case at line end. 162 455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 456 # scripts with optimization help from Paolo Bonzini. Blame Lee 457 # E. McMahon (1931-1989) for sed's syntax. :-) 458 sed -n ' 459 p 460 /[$]LINENO/= 461 ' <$as_myself | 165 462 sed ' 463 s/[$]LINENO.*/&-/ 464 t lineno 465 b 466 :lineno 166 467 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 468 :loop 469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 170 470 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 471 s/-\n.*// 173 472 ' >$as_me.lineno && 174 chmod +x $as_me.lineno||175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2473 chmod +x "$as_me.lineno" || 474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 475 { (exit 1); exit 1; }; } 177 476 178 477 # Don't try to exec as it changes $[0], causing all sort of problems 179 478 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensi ble to this).181 . ./$as_me.lineno479 # original and so on. Autoconf is especially sensitive to this). 480 . "./$as_me.lineno" 182 481 # Exit status is that of the last command. 183 482 exit … … 185 484 186 485 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192 esac 193 194 if expr a : '\(a\)' >/dev/null 2>&1; then 486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 487 as_dirname=dirname 488 else 489 as_dirname=false 490 fi 491 492 ECHO_C= ECHO_N= ECHO_T= 493 case `echo -n x` in 494 -n*) 495 case `echo 'x\c'` in 496 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 497 *) ECHO_C='\c';; 498 esac;; 499 *) 500 ECHO_N='-n';; 501 esac 502 if expr a : '\(a\)' >/dev/null 2>&1 && 503 test "X`expr 00001 : '.*\(...\)'`" = X001; then 195 504 as_expr=expr 196 505 else … … 199 508 200 509 rm -f conf$$ conf$$.exe conf$$.file 201 echo >conf$$.file 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 510 if test -d conf$$.dir; then 511 rm -f conf$$.dir/conf$$.file 512 else 513 rm -f conf$$.dir 514 mkdir conf$$.dir 2>/dev/null 515 fi 516 if (echo >conf$$.file) 2>/dev/null; then 517 if ln -s conf$$.file conf$$ 2>/dev/null; then 518 as_ln_s='ln -s' 519 # ... but there are two gotchas: 520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 522 # In both cases, we have to default to `cp -p'. 523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 524 as_ln_s='cp -p' 525 elif ln conf$$.file conf$$ 2>/dev/null; then 526 as_ln_s=ln 527 else 207 528 as_ln_s='cp -p' 208 else209 as_ln_s='ln -s'210 529 fi 211 elif ln conf$$.file conf$$ 2>/dev/null; then212 as_ln_s=ln213 530 else 214 531 as_ln_s='cp -p' 215 532 fi 216 rm -f conf$$ conf$$.exe conf$$.file 533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 534 rmdir conf$$.dir 2>/dev/null 217 535 218 536 if mkdir -p . 2>/dev/null; then … … 223 541 fi 224 542 225 as_executable_p="test -f" 543 if test -x / >/dev/null 2>&1; then 544 as_test_x='test -x' 545 else 546 if ls -dL / >/dev/null 2>&1; then 547 as_ls_L_option=L 548 else 549 as_ls_L_option= 550 fi 551 as_test_x=' 552 eval sh -c '\'' 553 if test -d "$1"; then 554 test -d "$1/."; 555 else 556 case $1 in 557 -*)set "./$1";; 558 esac; 559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 560 ???[sx]*):;;*)false;;esac;fi 561 '\'' sh 562 ' 563 fi 564 as_executable_p=$as_test_x 226 565 227 566 # Sed expression to map a string onto a valid CPP name. … … 232 571 233 572 234 # IFS 235 # We need space, tab and new line, in precisely that order. 236 as_nl=' 237 ' 238 IFS=" $as_nl" 239 240 # CDPATH. 241 $as_unset CDPATH 242 573 574 exec 7<&0 </dev/null 6>&1 243 575 244 576 # Name of the host. … … 247 579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 580 249 exec 6>&1250 251 581 # 252 582 # Initializations. 253 583 # 254 584 ac_default_prefix=/usr/local 585 ac_clean_files= 255 586 ac_config_libobj_dir=. 587 LIBOBJS= 256 588 cross_compiling=no 257 589 subdirs= … … 259 591 MAKEFLAGS= 260 592 SHELL=${CONFIG_SHELL-/bin/sh} 261 262 # Maximum number of lines to put in a shell here document.263 # This variable seems obsolete. It should probably be removed, and264 # only ac_max_sed_lines should be used.265 : ${ac_max_here_lines=38}266 593 267 594 # Identity of this package. … … 275 602 ac_includes_default="\ 276 603 #include <stdio.h> 277 #if HAVE_SYS_TYPES_H604 #ifdef HAVE_SYS_TYPES_H 278 605 # include <sys/types.h> 279 606 #endif 280 #if HAVE_SYS_STAT_H607 #ifdef HAVE_SYS_STAT_H 281 608 # include <sys/stat.h> 282 609 #endif 283 #if STDC_HEADERS610 #ifdef STDC_HEADERS 284 611 # include <stdlib.h> 285 612 # include <stddef.h> 286 613 #else 287 # if HAVE_STDLIB_H614 # ifdef HAVE_STDLIB_H 288 615 # include <stdlib.h> 289 616 # endif 290 617 #endif 291 #if HAVE_STRING_H292 # if ! STDC_HEADERS &&HAVE_MEMORY_H618 #ifdef HAVE_STRING_H 619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 293 620 # include <memory.h> 294 621 # endif 295 622 # include <string.h> 296 623 #endif 297 #if HAVE_STRINGS_H624 #ifdef HAVE_STRINGS_H 298 625 # include <strings.h> 299 626 #endif 300 #if HAVE_INTTYPES_H627 #ifdef HAVE_INTTYPES_H 301 628 # include <inttypes.h> 302 #else303 # if HAVE_STDINT_H304 # include <stdint.h>305 # endif306 629 #endif 307 #if HAVE_UNISTD_H 630 #ifdef HAVE_STDINT_H 631 # include <stdint.h> 632 #endif 633 #ifdef HAVE_UNISTD_H 308 634 # include <unistd.h> 309 635 #endif" 310 636 311 ac_subdirs_all="$ac_subdirs_all packages" 312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_JAVA USE_WVWARE USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE 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 MODULEDIRS subdirs LTLIBOBJS' 637 enable_option_checking=no 638 ac_subst_vars='LTLIBOBJS 639 subdirs 640 MODULEDIRS 641 gsdlos 642 STATIC 643 LIBOBJS 644 ALLOCA 645 ANSI2KNR 646 U 647 EGREP 648 GREP 649 CPP 650 MICO_VER 651 ARCH_DEP_FLAGS 652 RANLIB 653 SET_MAKE 654 LN_S 655 INSTALL_DATA 656 INSTALL_SCRIPT 657 INSTALL_PROGRAM 658 target_os 659 target_vendor 660 target_cpu 661 target 662 host_os 663 host_vendor 664 host_cpu 665 host 666 build_os 667 build_vendor 668 build_cpu 669 build 670 YFLAGS 671 YACC 672 AWK 673 uudecode 674 JAVA 675 JAVACFLAGS 676 JAVAC 677 ac_ct_CXX 678 CXXFLAGS 679 CXX 680 OBJEXT 681 EXEEXT 682 ac_ct_CC 683 CPPFLAGS 684 CC 685 CFLAGS 686 LDFLAGS 687 USE_SQLITE 688 ENABLE_ACCENTFOLD 689 USE_GDBM 690 USE_JDBM 691 USE_WVWARE 692 ENABLE_JAVA 693 USE_YAZ 694 USE_Z3950 695 MICO_DIR 696 USE_CORBA 697 USE_LANGACTION 698 USE_FASTCGI 699 VERSION 700 PACKAGE 701 target_alias 702 host_alias 703 build_alias 704 LIBS 705 ECHO_T 706 ECHO_N 707 ECHO_C 708 DEFS 709 mandir 710 localedir 711 libdir 712 psdir 713 pdfdir 714 dvidir 715 htmldir 716 infodir 717 docdir 718 oldincludedir 719 includedir 720 localstatedir 721 sharedstatedir 722 sysconfdir 723 datadir 724 datarootdir 725 libexecdir 726 sbindir 727 bindir 728 program_transform_name 729 prefix 730 exec_prefix 731 PACKAGE_BUGREPORT 732 PACKAGE_STRING 733 PACKAGE_VERSION 734 PACKAGE_TARNAME 735 PACKAGE_NAME 736 PATH_SEPARATOR 737 SHELL' 313 738 ac_subst_files='' 739 ac_user_opts=' 740 enable_option_checking 741 enable_corba 742 with_micodir 743 enable_z3950 744 enable_yaz 745 enable_java 746 enable_wvware 747 enable_jdbm 748 enable_gdbm 749 enable_accentfold 750 enable_sqlite 751 with_dmalloc 752 with_regex 753 ' 754 ac_precious_vars='build_alias 755 host_alias 756 target_alias 757 CC 758 CFLAGS 759 LDFLAGS 760 LIBS 761 CPPFLAGS 762 CXX 763 CXXFLAGS 764 CCC 765 YACC 766 YFLAGS 767 CPP' 768 ac_subdirs_all='packages' 314 769 315 770 # Initialize some variables set by options. 316 771 ac_init_help= 317 772 ac_init_version=false 773 ac_unrecognized_opts= 774 ac_unrecognized_sep= 318 775 # The variables have the same names as the options, with 319 776 # dashes changed to underlines. … … 338 795 # by default will actually change. 339 796 # Use braces instead of parens because sh, perl, etc. also accept them. 797 # (The list follows the same order as the GNU Coding Standards.) 340 798 bindir='${exec_prefix}/bin' 341 799 sbindir='${exec_prefix}/sbin' 342 800 libexecdir='${exec_prefix}/libexec' 343 datadir='${prefix}/share' 801 datarootdir='${prefix}/share' 802 datadir='${datarootdir}' 344 803 sysconfdir='${prefix}/etc' 345 804 sharedstatedir='${prefix}/com' 346 805 localstatedir='${prefix}/var' 347 libdir='${exec_prefix}/lib'348 806 includedir='${prefix}/include' 349 807 oldincludedir='/usr/include' 350 infodir='${prefix}/info' 351 mandir='${prefix}/man' 808 docdir='${datarootdir}/doc/${PACKAGE}' 809 infodir='${datarootdir}/info' 810 htmldir='${docdir}' 811 dvidir='${docdir}' 812 pdfdir='${docdir}' 813 psdir='${docdir}' 814 libdir='${exec_prefix}/lib' 815 localedir='${datarootdir}/locale' 816 mandir='${datarootdir}/man' 352 817 353 818 ac_prev= 819 ac_dashdash= 354 820 for ac_option 355 821 do 356 822 # If the previous option needs an argument, assign it. 357 823 if test -n "$ac_prev"; then 358 eval "$ac_prev=\$ac_option"824 eval $ac_prev=\$ac_option 359 825 ac_prev= 360 826 continue 361 827 fi 362 828 363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 829 case $ac_option in 830 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 831 *) ac_optarg=yes ;; 832 esac 364 833 365 834 # Accept the important Cygnus configure options, so we can diagnose typos. 366 835 367 case $ac_option in 836 case $ac_dashdash$ac_option in 837 --) 838 ac_dashdash=yes ;; 368 839 369 840 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 387 858 cache_file=config.cache ;; 388 859 389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)860 -datadir | --datadir | --datadi | --datad) 390 861 ac_prev=datadir ;; 391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 392 | --da=*) 862 -datadir=* | --datadir=* | --datadi=* | --datad=*) 393 863 datadir=$ac_optarg ;; 394 864 865 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 866 | --dataroo | --dataro | --datar) 867 ac_prev=datarootdir ;; 868 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 869 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 870 datarootdir=$ac_optarg ;; 871 395 872 -disable-* | --disable-*) 396 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`873 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 397 874 # 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" >&2875 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 876 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 400 877 { (exit 1); exit 1; }; } 401 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 402 eval "enable_$ac_feature=no" ;; 878 ac_useropt_orig=$ac_useropt 879 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 880 case $ac_user_opts in 881 *" 882 "enable_$ac_useropt" 883 "*) ;; 884 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 885 ac_unrecognized_sep=', ';; 886 esac 887 eval enable_$ac_useropt=no ;; 888 889 -docdir | --docdir | --docdi | --doc | --do) 890 ac_prev=docdir ;; 891 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 892 docdir=$ac_optarg ;; 893 894 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 895 ac_prev=dvidir ;; 896 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 897 dvidir=$ac_optarg ;; 403 898 404 899 -enable-* | --enable-*) 405 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`900 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 406 901 # 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" >&2902 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 903 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 409 904 { (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 ;; 905 ac_useropt_orig=$ac_useropt 906 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 907 case $ac_user_opts in 908 *" 909 "enable_$ac_useropt" 910 "*) ;; 911 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 912 ac_unrecognized_sep=', ';; 414 913 esac 415 eval "enable_$ac_feature='$ac_optarg'";;914 eval enable_$ac_useropt=\$ac_optarg ;; 416 915 417 916 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 440 939 host_alias=$ac_optarg ;; 441 940 941 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 942 ac_prev=htmldir ;; 943 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 944 | --ht=*) 945 htmldir=$ac_optarg ;; 946 442 947 -includedir | --includedir | --includedi | --included | --include \ 443 948 | --includ | --inclu | --incl | --inc) … … 464 969 libexecdir=$ac_optarg ;; 465 970 971 -localedir | --localedir | --localedi | --localed | --locale) 972 ac_prev=localedir ;; 973 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 974 localedir=$ac_optarg ;; 975 466 976 -localstatedir | --localstatedir | --localstatedi | --localstated \ 467 | --localstate | --localstat | --localsta | --localst \ 468 | --locals | --local | --loca | --loc | --lo) 977 | --localstate | --localstat | --localsta | --localst | --locals) 469 978 ac_prev=localstatedir ;; 470 979 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 980 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 473 981 localstatedir=$ac_optarg ;; 474 982 … … 535 1043 program_transform_name=$ac_optarg ;; 536 1044 1045 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1046 ac_prev=pdfdir ;; 1047 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1048 pdfdir=$ac_optarg ;; 1049 1050 -psdir | --psdir | --psdi | --psd | --ps) 1051 ac_prev=psdir ;; 1052 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1053 psdir=$ac_optarg ;; 1054 537 1055 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 538 1056 | -silent | --silent | --silen | --sile | --sil) … … 585 1103 586 1104 -with-* | --with-*) 587 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1105 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 588 1106 # 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" >&21107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1108 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 591 1109 { (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 ;; 1110 ac_useropt_orig=$ac_useropt 1111 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1112 case $ac_user_opts in 1113 *" 1114 "with_$ac_useropt" 1115 "*) ;; 1116 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1117 ac_unrecognized_sep=', ';; 596 1118 esac 597 eval "with_$ac_package='$ac_optarg'";;1119 eval with_$ac_useropt=\$ac_optarg ;; 598 1120 599 1121 -without-* | --without-*) 600 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1122 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 601 1123 # 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" >&21124 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1125 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 604 1126 { (exit 1); exit 1; }; } 605 ac_package=`echo $ac_package | sed 's/-/_/g'` 606 eval "with_$ac_package=no" ;; 1127 ac_useropt_orig=$ac_useropt 1128 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1129 case $ac_user_opts in 1130 *" 1131 "with_$ac_useropt" 1132 "*) ;; 1133 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1134 ac_unrecognized_sep=', ';; 1135 esac 1136 eval with_$ac_useropt=no ;; 607 1137 608 1138 --x) … … 624 1154 x_libraries=$ac_optarg ;; 625 1155 626 -*) { echo "$as_me: error: unrecognized option: $ac_option1156 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 627 1157 Try \`$0 --help' for more information." >&2 628 1158 { (exit 1); exit 1; }; } … … 633 1163 # Reject names that are not valid shell variable names. 634 1164 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&21165 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 636 1166 { (exit 1); exit 1; }; } 637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 638 eval "$ac_envvar='$ac_optarg'" 1167 eval $ac_envvar=\$ac_optarg 639 1168 export $ac_envvar ;; 640 1169 641 1170 *) 642 1171 # FIXME: should be removed in autoconf 3.0. 643 echo "$as_me: WARNING: you should use --build, --host, --target" >&21172 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 644 1173 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 645 echo "$as_me: WARNING: invalid host type: $ac_option" >&21174 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 646 1175 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 647 1176 ;; … … 652 1181 if test -n "$ac_prev"; then 653 1182 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 654 { echo "$as_me: error: missing argument to $ac_option" >&21183 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 655 1184 { (exit 1); exit 1; }; } 656 1185 fi 657 1186 658 # Be sure to have absolute paths. 659 for ac_var in exec_prefix prefix 1187 if test -n "$ac_unrecognized_opts"; then 1188 case $enable_option_checking in 1189 no) ;; 1190 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1191 { (exit 1); exit 1; }; } ;; 1192 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1193 esac 1194 fi 1195 1196 # Check all directory arguments for consistency. 1197 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1198 datadir sysconfdir sharedstatedir localstatedir includedir \ 1199 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1200 libdir localedir mandir 660 1201 do 661 eval ac_val=$`echo $ac_var` 1202 eval ac_val=\$$ac_var 1203 # Remove trailing slashes. 662 1204 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; }; };;1205 */ ) 1206 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1207 eval $ac_var=\$ac_val;; 666 1208 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` 1209 # Be sure to have absolute directory names. 674 1210 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; }; };; 1211 [\\/$]* | ?:[\\/]* ) continue;; 1212 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 678 1213 esac 1214 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1215 { (exit 1); exit 1; }; } 679 1216 done 680 1217 … … 690 1227 if test "x$build_alias" = x; then 691 1228 cross_compiling=maybe 692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1229 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 693 1230 If a cross compiler is detected then cross compile mode will be used." >&2 694 1231 elif test "x$build_alias" != "x$host_alias"; then … … 703 1240 704 1241 1242 ac_pwd=`pwd` && test -n "$ac_pwd" && 1243 ac_ls_di=`ls -di .` && 1244 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1245 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1246 { (exit 1); exit 1; }; } 1247 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1248 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1249 { (exit 1); exit 1; }; } 1250 1251 705 1252 # Find the source files, if location was not specified. 706 1253 if test -z "$srcdir"; then 707 1254 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'` 1255 # Try the directory containing this script, then the parent directory. 1256 ac_confdir=`$as_dirname -- "$as_myself" || 1257 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1258 X"$as_myself" : 'X\(//\)[^/]' \| \ 1259 X"$as_myself" : 'X\(//\)$' \| \ 1260 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1261 $as_echo X"$as_myself" | 1262 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1263 s//\1/ 1264 q 1265 } 1266 /^X\(\/\/\)[^/].*/{ 1267 s//\1/ 1268 q 1269 } 1270 /^X\(\/\/\)$/{ 1271 s//\1/ 1272 q 1273 } 1274 /^X\(\/\).*/{ 1275 s//\1/ 1276 q 1277 } 1278 s/.*/./; q'` 721 1279 srcdir=$ac_confdir 722 if test ! -r $srcdir/$ac_unique_file; then1280 if test ! -r "$srcdir/$ac_unique_file"; then 723 1281 srcdir=.. 724 1282 fi … … 726 1284 ac_srcdir_defaulted=no 727 1285 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 .." >&21286 if test ! -r "$srcdir/$ac_unique_file"; then 1287 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1288 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 731 1289 { (exit 1); exit 1; }; } 732 else 733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1290 fi 1291 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1292 ac_abs_confdir=`( 1293 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 734 1294 { (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 1295 pwd)` 1296 # When building in place, set srcdir=. 1297 if test "$ac_abs_confdir" = "$ac_pwd"; then 1298 srcdir=. 1299 fi 1300 # Remove unnecessary trailing slashes from srcdir. 1301 # Double slashes in file names in object file debugging info 1302 # mess up M-x gdb in Emacs. 1303 case $srcdir in 1304 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1305 esac 1306 for ac_var in $ac_precious_vars; do 1307 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1308 eval ac_env_${ac_var}_value=\$${ac_var} 1309 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1310 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1311 done 781 1312 782 1313 # … … 807 1338 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 808 1339 809 _ACEOF810 811 cat <<_ACEOF812 1340 Installation directories: 813 1341 --prefix=PREFIX install architecture-independent files in PREFIX 814 1342 [$ac_default_prefix] 815 1343 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 816 1344 [PREFIX] 817 1345 818 1346 By default, \`make install' will install all the files in … … 824 1352 825 1353 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] 1354 --bindir=DIR user executables [EPREFIX/bin] 1355 --sbindir=DIR system admin executables [EPREFIX/sbin] 1356 --libexecdir=DIR program executables [EPREFIX/libexec] 1357 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1358 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1359 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1360 --libdir=DIR object code libraries [EPREFIX/lib] 1361 --includedir=DIR C header files [PREFIX/include] 1362 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1363 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1364 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1365 --infodir=DIR info documentation [DATAROOTDIR/info] 1366 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1367 --mandir=DIR man documentation [DATAROOTDIR/man] 1368 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1369 --htmldir=DIR html documentation [DOCDIR] 1370 --dvidir=DIR dvi documentation [DOCDIR] 1371 --pdfdir=DIR pdf documentation [DOCDIR] 1372 --psdir=DIR ps documentation [DOCDIR] 838 1373 _ACEOF 839 1374 … … 852 1387 853 1388 Optional Features: 1389 --disable-option-checking ignore unrecognized --enable/--with options 854 1390 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 855 1391 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 877 1413 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 878 1414 nonstandard directory <lib dir> 879 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 880 headers in a nonstandard directory <include dir> 1415 LIBS libraries to pass to the linker, e.g. -l<library> 1416 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1417 you have headers in a nonstandard directory <include dir> 881 1418 CXX C++ compiler command 882 1419 CXXFLAGS C++ compiler flags 1420 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1421 the first program found out of: `bison -y', `byacc', `yacc'. 1422 YFLAGS The list of arguments that will be passed by default to $YACC. 1423 This script will default YFLAGS to the empty string to avoid a 1424 default value of `-d' given by some make applications. 883 1425 CPP C preprocessor 884 1426 … … 887 1429 888 1430 _ACEOF 1431 ac_status=$? 889 1432 fi 890 1433 891 1434 if test "$ac_init_help" = "recursive"; then 892 1435 # If there are subdirs, report their specific --help. 893 ac_popdir=`pwd`894 1436 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 895 test -d $ac_dir || continue 1437 test -d "$ac_dir" || 1438 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1439 continue 896 1440 ac_builddir=. 897 1441 898 if test "$ac_dir" != .; then 899 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 900 # A "../" for each directory in $ac_dir_suffix. 901 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 902 else 903 ac_dir_suffix= ac_top_builddir= 904 fi 1442 case "$ac_dir" in 1443 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1444 *) 1445 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1446 # A ".." for each directory in $ac_dir_suffix. 1447 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1448 case $ac_top_builddir_sub in 1449 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1450 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1451 esac ;; 1452 esac 1453 ac_abs_top_builddir=$ac_pwd 1454 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1455 # for backward compatibility: 1456 ac_top_builddir=$ac_top_build_prefix 905 1457 906 1458 case $srcdir in 907 .) # No --srcdir option.We are building in place.1459 .) # We are building in place. 908 1460 ac_srcdir=. 909 if test -z "$ac_top_builddir"; then 910 ac_top_srcdir=. 1461 ac_top_srcdir=$ac_top_builddir_sub 1462 ac_abs_top_srcdir=$ac_pwd ;; 1463 [\\/]* | ?:[\\/]* ) # Absolute name. 1464 ac_srcdir=$srcdir$ac_dir_suffix; 1465 ac_top_srcdir=$srcdir 1466 ac_abs_top_srcdir=$srcdir ;; 1467 *) # Relative name. 1468 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1469 ac_top_srcdir=$ac_top_build_prefix$srcdir 1470 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1471 esac 1472 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1473 1474 cd "$ac_dir" || { ac_status=$?; continue; } 1475 # Check for guested configure. 1476 if test -f "$ac_srcdir/configure.gnu"; then 1477 echo && 1478 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1479 elif test -f "$ac_srcdir/configure"; then 1480 echo && 1481 $SHELL "$ac_srcdir/configure" --help=recursive 911 1482 else 912 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 913 fi ;; 914 [\\/]* | ?:[\\/]* ) # Absolute path. 915 ac_srcdir=$srcdir$ac_dir_suffix; 916 ac_top_srcdir=$srcdir ;; 917 *) # Relative path. 918 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 919 ac_top_srcdir=$ac_top_builddir$srcdir ;; 920 esac 921 922 # Do not use `cd foo && pwd` to compute absolute paths, because 923 # the directories may not exist. 924 case `pwd` in 925 .) ac_abs_builddir="$ac_dir";; 926 *) 927 case "$ac_dir" in 928 .) ac_abs_builddir=`pwd`;; 929 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 930 *) ac_abs_builddir=`pwd`/"$ac_dir";; 931 esac;; 932 esac 933 case $ac_abs_builddir in 934 .) ac_abs_top_builddir=${ac_top_builddir}.;; 935 *) 936 case ${ac_top_builddir}. in 937 .) ac_abs_top_builddir=$ac_abs_builddir;; 938 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 939 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 940 esac;; 941 esac 942 case $ac_abs_builddir in 943 .) ac_abs_srcdir=$ac_srcdir;; 944 *) 945 case $ac_srcdir in 946 .) ac_abs_srcdir=$ac_abs_builddir;; 947 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 948 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 949 esac;; 950 esac 951 case $ac_abs_builddir in 952 .) ac_abs_top_srcdir=$ac_top_srcdir;; 953 *) 954 case $ac_top_srcdir in 955 .) ac_abs_top_srcdir=$ac_abs_builddir;; 956 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 957 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 958 esac;; 959 esac 960 961 cd $ac_dir 962 # Check for guested configure; otherwise get Cygnus style configure. 963 if test -f $ac_srcdir/configure.gnu; then 964 echo 965 $SHELL $ac_srcdir/configure.gnu --help=recursive 966 elif test -f $ac_srcdir/configure; then 967 echo 968 $SHELL $ac_srcdir/configure --help=recursive 969 elif test -f $ac_srcdir/configure.ac || 970 test -f $ac_srcdir/configure.in; then 971 echo 972 $ac_configure --help 973 else 974 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 975 fi 976 cd $ac_popdir 1483 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1484 fi || ac_status=$? 1485 cd "$ac_pwd" || { ac_status=$?; break; } 977 1486 done 978 1487 fi 979 1488 980 test -n "$ac_init_help" && exit 01489 test -n "$ac_init_help" && exit $ac_status 981 1490 if $ac_init_version; then 982 1491 cat <<\_ACEOF 983 984 Copyright (C) 2003 Free Software Foundation, Inc. 1492 configure 1493 generated by GNU Autoconf 2.63 1494 1495 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1496 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 985 1497 This configure script is free software; the Free Software Foundation 986 1498 gives unlimited permission to copy, distribute and modify it. 987 1499 _ACEOF 988 exit 0 989 fi 990 exec 5>config.log 991 cat >&5 <<_ACEOF 1500 exit 1501 fi 1502 cat >config.log <<_ACEOF 992 1503 This file contains any messages produced by compilers while 993 1504 running configure, to aid debugging if configure makes a mistake. 994 1505 995 1506 It was created by $as_me, which was 996 generated by GNU Autoconf 2. 59. Invocation command line was1507 generated by GNU Autoconf 2.63. Invocation command line was 997 1508 998 1509 $ $0 $@ 999 1510 1000 1511 _ACEOF 1512 exec 5>>config.log 1001 1513 { 1002 1514 cat <<_ASUNAME … … 1017 1529 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1018 1530 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1019 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1531 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1020 1532 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1021 1533 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1029 1541 IFS=$as_save_IFS 1030 1542 test -z "$as_dir" && as_dir=. 1031 echo "PATH: $as_dir"1543 $as_echo "PATH: $as_dir" 1032 1544 done 1545 IFS=$as_save_IFS 1033 1546 1034 1547 } >&5 … … 1052 1565 ac_configure_args0= 1053 1566 ac_configure_args1= 1054 ac_sep=1055 1567 ac_must_keep_next=false 1056 1568 for ac_pass in 1 2 … … 1063 1575 | -silent | --silent | --silen | --sile | --sil) 1064 1576 continue ;; 1065 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1066 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1577 *\'*) 1578 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1067 1579 esac 1068 1580 case $ac_pass in … … 1085 1597 esac 1086 1598 fi 1087 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1088 # Get rid of the leading space. 1089 ac_sep=" " 1599 ac_configure_args="$ac_configure_args '$ac_arg'" 1090 1600 ;; 1091 1601 esac … … 1098 1608 # config.log. We remove comments because anyway the quotes in there 1099 1609 # would cause problems or look ugly. 1100 # WARNING: Be sure not to use single quotes in there, as some shells,1101 # such as our DU 5.0 friend, will then `close' the trap.1610 # WARNING: Use '\'' to represent an apostrophe within the trap. 1611 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1102 1612 trap 'exit_status=$? 1103 1613 # Save into config.log some information that might help in debugging. … … 1112 1622 echo 1113 1623 # The following way of writing the cache mishandles newlines in values, 1114 { 1624 ( 1625 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1626 eval ac_val=\$$ac_var 1627 case $ac_val in #( 1628 *${as_nl}*) 1629 case $ac_var in #( 1630 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1631 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1632 esac 1633 case $ac_var in #( 1634 _ | IFS | as_nl) ;; #( 1635 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1636 *) $as_unset $ac_var ;; 1637 esac ;; 1638 esac 1639 done 1115 1640 (set) 2>&1 | 1116 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1117 * ac_space=\ *)1641 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1642 *${as_nl}ac_space=\ *) 1118 1643 sed -n \ 1119 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1120 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1644 "s/'\''/'\''\\\\'\'''\''/g; 1645 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1646 ;; #( 1647 *) 1648 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1121 1649 ;; 1122 *) 1123 sed -n \ 1124 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1125 ;; 1126 esac; 1127 } 1650 esac | 1651 sort 1652 ) 1128 1653 echo 1129 1654 … … 1136 1661 for ac_var in $ac_subst_vars 1137 1662 do 1138 eval ac_val=$`echo $ac_var` 1139 echo "$ac_var='"'"'$ac_val'"'"'" 1663 eval ac_val=\$$ac_var 1664 case $ac_val in 1665 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1666 esac 1667 $as_echo "$ac_var='\''$ac_val'\''" 1140 1668 done | sort 1141 1669 echo … … 1143 1671 if test -n "$ac_subst_files"; then 1144 1672 cat <<\_ASBOX 1145 ## ------------- ##1146 ## Output files. ##1147 ## ------------- ##1673 ## ------------------- ## 1674 ## File substitutions. ## 1675 ## ------------------- ## 1148 1676 _ASBOX 1149 1677 echo 1150 1678 for ac_var in $ac_subst_files 1151 1679 do 1152 eval ac_val=$`echo $ac_var` 1153 echo "$ac_var='"'"'$ac_val'"'"'" 1680 eval ac_val=\$$ac_var 1681 case $ac_val in 1682 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1683 esac 1684 $as_echo "$ac_var='\''$ac_val'\''" 1154 1685 done | sort 1155 1686 echo … … 1163 1694 _ASBOX 1164 1695 echo 1165 sed "/^$/d" confdefs.h | sort1696 cat confdefs.h 1166 1697 echo 1167 1698 fi 1168 1699 test "$ac_signal" != 0 && 1169 echo "$as_me: caught signal $ac_signal"1170 echo "$as_me: exit $exit_status"1700 $as_echo "$as_me: caught signal $ac_signal" 1701 $as_echo "$as_me: exit $exit_status" 1171 1702 } >&5 1172 rm -f core *.core &&1173 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1703 rm -f core *.core core.conftest.* && 1704 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1174 1705 exit $exit_status 1175 1706 ' 0 1176 1707 for ac_signal in 1 2 13 15; do 1177 1708 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1180 1711 1181 1712 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1182 rm -rf conftest* confdefs.h 1183 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1184 echo >confdefs.h 1713 rm -f -r conftest* confdefs.h 1185 1714 1186 1715 # Predefined preprocessor variables. … … 1212 1741 1213 1742 # Let the site file select an alternate cache file if it wants to. 1214 # Prefer explicitly selected file to automatically selected ones. 1215 if test -z "$CONFIG_SITE"; then 1216 if test "x$prefix" != xNONE; then 1217 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1218 else 1219 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1220 fi 1221 fi 1222 for ac_site_file in $CONFIG_SITE; do 1743 # Prefer an explicitly selected file to automatically selected ones. 1744 ac_site_file1=NONE 1745 ac_site_file2=NONE 1746 if test -n "$CONFIG_SITE"; then 1747 ac_site_file1=$CONFIG_SITE 1748 elif test "x$prefix" != xNONE; then 1749 ac_site_file1=$prefix/share/config.site 1750 ac_site_file2=$prefix/etc/config.site 1751 else 1752 ac_site_file1=$ac_default_prefix/share/config.site 1753 ac_site_file2=$ac_default_prefix/etc/config.site 1754 fi 1755 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1756 do 1757 test "x$ac_site_file" = xNONE && continue 1223 1758 if test -r "$ac_site_file"; then 1224 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&51225 echo "$as_me: loading site script $ac_site_file" >&6;}1759 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1760 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1226 1761 sed 's/^/| /' "$ac_site_file" >&5 1227 1762 . "$ac_site_file" … … 1233 1768 # files actually), so we avoid doing that. 1234 1769 if test -f "$cache_file"; then 1235 { echo "$as_me:$LINENO: loading cache $cache_file" >&51236 echo "$as_me: loading cache $cache_file" >&6;}1770 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1771 $as_echo "$as_me: loading cache $cache_file" >&6;} 1237 1772 case $cache_file in 1238 [\\/]* | ?:[\\/]* ) . $cache_file;;1239 *) . ./$cache_file;;1773 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1774 *) . "./$cache_file";; 1240 1775 esac 1241 1776 fi 1242 1777 else 1243 { echo "$as_me:$LINENO: creating cache $cache_file" >&51244 echo "$as_me: creating cache $cache_file" >&6;}1778 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1779 $as_echo "$as_me: creating cache $cache_file" >&6;} 1245 1780 >$cache_file 1246 1781 fi … … 1249 1784 # value. 1250 1785 ac_cache_corrupted=false 1251 for ac_var in `(set) 2>&1 | 1252 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1786 for ac_var in $ac_precious_vars; do 1253 1787 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1254 1788 eval ac_new_set=\$ac_env_${ac_var}_set 1255 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1256 eval ac_new_val= "\$ac_env_${ac_var}_value"1789 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1790 eval ac_new_val=\$ac_env_${ac_var}_value 1257 1791 case $ac_old_set,$ac_new_set in 1258 1792 set,) 1259 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51260 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1793 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1794 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1261 1795 ac_cache_corrupted=: ;; 1262 1796 ,set) 1263 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51264 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1797 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1798 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1265 1799 ac_cache_corrupted=: ;; 1266 1800 ,);; 1267 1801 *) 1268 1802 if test "x$ac_old_val" != "x$ac_new_val"; then 1269 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1270 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1271 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1272 echo "$as_me: former value: $ac_old_val" >&2;} 1273 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1274 echo "$as_me: current value: $ac_new_val" >&2;} 1275 ac_cache_corrupted=: 1803 # differences in whitespace do not lead to failure. 1804 ac_old_val_w=`echo x $ac_old_val` 1805 ac_new_val_w=`echo x $ac_new_val` 1806 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1807 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1808 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1809 ac_cache_corrupted=: 1810 else 1811 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1812 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1813 eval $ac_var=\$ac_old_val 1814 fi 1815 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1816 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1817 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1818 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1276 1819 fi;; 1277 1820 esac … … 1279 1822 if test "$ac_new_set" = set; then 1280 1823 case $ac_new_val in 1281 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1282 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1824 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1283 1825 *) ac_arg=$ac_var=$ac_new_val ;; 1284 1826 esac … … 1290 1832 done 1291 1833 if $ac_cache_corrupted; then 1292 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1293 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1294 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1295 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1834 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 1835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1836 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1837 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1838 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1839 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1296 1840 { (exit 1); exit 1; }; } 1297 1841 fi 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1298 1858 1299 1859 ac_ext=c … … 1304 1864 1305 1865 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 ac_config_headers="$ac_config_headers config.h" 1866 ac_config_headers="$ac_config_headers config.h" 1324 1867 1325 1868 … … 1355 1898 fi 1356 1899 1357 # Check whether --enable-corba or --disable-corbawas given.1900 # Check whether --enable-corba was given. 1358 1901 if test "${enable_corba+set}" = set; then 1359 enableval="$enable_corba" 1360 USE_CORBA=$enableval 1902 enableval=$enable_corba; USE_CORBA=$enableval 1361 1903 else 1362 1904 USE_CORBA=no 1363 fi; 1905 fi 1906 1364 1907 if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then 1365 1908 USE_CORBA=1 1366 1909 cat >>confdefs.h <<\_ACEOF 1367 #define USE_CORBA 1910 #define USE_CORBA /**/ 1368 1911 _ACEOF 1369 1912 … … 1374 1917 1375 1918 1376 # Check whether --with-micodir or --without-micodirwas given.1919 # Check whether --with-micodir was given. 1377 1920 if test "${with_micodir+set}" = set; then 1378 withval="$with_micodir" 1379 MICO_DIR=$withval 1921 withval=$with_micodir; MICO_DIR=$withval 1380 1922 else 1381 1923 MICO_DIR="default" 1382 fi; 1924 fi 1925 1383 1926 cat >>confdefs.h <<_ACEOF 1384 1927 #define MICO_DIR "$MICO_DIR" … … 1387 1930 1388 1931 1389 # Check whether --enable-z3950 or --disable-z3950was given.1932 # Check whether --enable-z3950 was given. 1390 1933 if test "${enable_z3950+set}" = set; then 1391 enableval="$enable_z3950" 1392 USE_Z3950=$enableval 1934 enableval=$enable_z3950; USE_Z3950=$enableval 1393 1935 else 1394 1936 USE_Z3950=no 1395 fi; 1937 fi 1938 1396 1939 if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then 1397 1940 USE_Z3950=1 1398 1941 cat >>confdefs.h <<\_ACEOF 1399 #define USE_Z3950 1942 #define USE_Z3950 /**/ 1400 1943 _ACEOF 1401 1944 … … 1405 1948 1406 1949 1407 # Check whether --enable-yaz or --disable-yazwas given.1950 # Check whether --enable-yaz was given. 1408 1951 if test "${enable_yaz+set}" = set; then 1409 enableval="$enable_yaz" 1410 USE_YAZ=$enableval 1952 enableval=$enable_yaz; USE_YAZ=$enableval 1411 1953 else 1412 1954 USE_YAZ=yes 1413 fi; 1955 fi 1956 1414 1957 if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then 1415 1958 USE_YAZ=1 1416 1959 cat >>confdefs.h <<\_ACEOF 1417 #define USE_YAZ 1960 #define USE_YAZ /**/ 1418 1961 _ACEOF 1419 1962 … … 1423 1966 1424 1967 1425 # Check whether --enable-java or --disable-javawas given.1968 # Check whether --enable-java was given. 1426 1969 if test "${enable_java+set}" = set; then 1427 enableval="$enable_java" 1428 ENABLE_JAVA=$enableval 1970 enableval=$enable_java; ENABLE_JAVA=$enableval 1429 1971 else 1430 1972 ENABLE_JAVA=yes 1431 fi; 1973 fi 1974 1432 1975 if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then 1433 1976 ENABLE_JAVA=1 … … 1443 1986 1444 1987 1445 # Check whether --enable-wvware or --disable-wvwarewas given.1988 # Check whether --enable-wvware was given. 1446 1989 if test "${enable_wvware+set}" = set; then 1447 enableval="$enable_wvware" 1448 USE_WVWARE=$enableval 1990 enableval=$enable_wvware; USE_WVWARE=$enableval 1449 1991 else 1450 1992 USE_WVWARE=yes 1451 fi; 1993 fi 1994 1452 1995 if test $USE_WVWARE = "yes" -o $USE_WVWARE = "1" ; then 1453 1996 USE_WVWARE=1 1454 1997 cat >>confdefs.h <<\_ACEOF 1455 #define USE_WVWARE 1998 #define USE_WVWARE /**/ 1456 1999 _ACEOF 1457 2000 … … 1461 2004 1462 2005 1463 # Check whether --enable-jdbm or --disable-jdbmwas given.2006 # Check whether --enable-jdbm was given. 1464 2007 if test "${enable_jdbm+set}" = set; then 1465 enableval="$enable_jdbm" 1466 USE_JDBM=$enableval 2008 enableval=$enable_jdbm; USE_JDBM=$enableval 1467 2009 else 1468 2010 USE_JDBM=yes 1469 fi; 2011 fi 2012 1470 2013 if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then 1471 2014 USE_JDBM=1 1472 2015 cat >>confdefs.h <<\_ACEOF 1473 #define USE_JDBM 2016 #define USE_JDBM /**/ 1474 2017 _ACEOF 1475 2018 … … 1479 2022 1480 2023 1481 # Check whether --enable-gdbm or --disable-gdbmwas given.2024 # Check whether --enable-gdbm was given. 1482 2025 if test "${enable_gdbm+set}" = set; then 1483 enableval="$enable_gdbm" 1484 USE_GDBM=$enableval 2026 enableval=$enable_gdbm; USE_GDBM=$enableval 1485 2027 else 1486 2028 USE_GDBM=yes 1487 fi; 2029 fi 2030 1488 2031 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 1489 2032 USE_GDBM=1 1490 2033 cat >>confdefs.h <<\_ACEOF 1491 #define USE_GDBM 2034 #define USE_GDBM /**/ 1492 2035 _ACEOF 1493 2036 … … 1497 2040 1498 2041 1499 # Check whether --enable-accentfold or --disable-accentfoldwas given.2042 # Check whether --enable-accentfold was given. 1500 2043 if test "${enable_accentfold+set}" = set; then 1501 enableval="$enable_accentfold" 1502 ENABLE_ACCENTFOLD=$enableval 2044 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval 1503 2045 else 1504 2046 ENABLE_ACCENTFOLD=yes 1505 fi; 2047 fi 2048 1506 2049 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 1507 2050 ENABLE_ACCENTFOLD=1 1508 2051 cat >>confdefs.h <<\_ACEOF 1509 #define ENABLE_ACCENTFOLD 2052 #define ENABLE_ACCENTFOLD /**/ 1510 2053 _ACEOF 1511 2054 … … 1515 2058 1516 2059 1517 # Check whether --enable-sqlite or --disable-sqlitewas given.2060 # Check whether --enable-sqlite was given. 1518 2061 if test "${enable_sqlite+set}" = set; then 1519 enableval="$enable_sqlite" 1520 USE_SQLITE=$enableval 2062 enableval=$enable_sqlite; USE_SQLITE=$enableval 1521 2063 else 1522 2064 USE_SQLITE=yes 1523 fi; 2065 fi 2066 1524 2067 if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then 1525 2068 USE_SQLITE=1 1526 2069 cat >>confdefs.h <<\_ACEOF 1527 #define USE_SQLITE 2070 #define USE_SQLITE /**/ 1528 2071 _ACEOF 1529 2072 … … 1549 2092 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1550 2093 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1551 echo "$as_me:$LINENO: checking for $ac_word" >&51552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2094 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2095 $as_echo_n "checking for $ac_word... " >&6; } 1553 2096 if test "${ac_cv_prog_CC+set}" = set; then 1554 echo $ECHO_N "(cached) $ECHO_C" >&62097 $as_echo_n "(cached) " >&6 1555 2098 else 1556 2099 if test -n "$CC"; then … … 1563 2106 test -z "$as_dir" && as_dir=. 1564 2107 for ac_exec_ext in '' $ac_executable_extensions; do 1565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1566 2109 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52110 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1568 2111 break 2 1569 2112 fi 1570 2113 done 1571 2114 done 2115 IFS=$as_save_IFS 1572 2116 1573 2117 fi … … 1575 2119 CC=$ac_cv_prog_CC 1576 2120 if test -n "$CC"; then 1577 echo "$as_me:$LINENO: result: $CC" >&5 1578 echo "${ECHO_T}$CC" >&6 1579 else 1580 echo "$as_me:$LINENO: result: no" >&5 1581 echo "${ECHO_T}no" >&6 1582 fi 2121 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2122 $as_echo "$CC" >&6; } 2123 else 2124 { $as_echo "$as_me:$LINENO: result: no" >&5 2125 $as_echo "no" >&6; } 2126 fi 2127 1583 2128 1584 2129 fi … … 1587 2132 # Extract the first word of "gcc", so it can be a program name with args. 1588 2133 set dummy gcc; ac_word=$2 1589 echo "$as_me:$LINENO: checking for $ac_word" >&51590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2134 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2135 $as_echo_n "checking for $ac_word... " >&6; } 1591 2136 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1592 echo $ECHO_N "(cached) $ECHO_C" >&62137 $as_echo_n "(cached) " >&6 1593 2138 else 1594 2139 if test -n "$ac_ct_CC"; then … … 1601 2146 test -z "$as_dir" && as_dir=. 1602 2147 for ac_exec_ext in '' $ac_executable_extensions; do 1603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1604 2149 ac_cv_prog_ac_ct_CC="gcc" 1605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52150 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1606 2151 break 2 1607 2152 fi 1608 2153 done 1609 2154 done 2155 IFS=$as_save_IFS 1610 2156 1611 2157 fi … … 1613 2159 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1614 2160 if test -n "$ac_ct_CC"; then 1615 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1616 echo "${ECHO_T}$ac_ct_CC" >&6 1617 else 1618 echo "$as_me:$LINENO: result: no" >&5 1619 echo "${ECHO_T}no" >&6 1620 fi 1621 1622 CC=$ac_ct_CC 2161 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2162 $as_echo "$ac_ct_CC" >&6; } 2163 else 2164 { $as_echo "$as_me:$LINENO: result: no" >&5 2165 $as_echo "no" >&6; } 2166 fi 2167 2168 if test "x$ac_ct_CC" = x; then 2169 CC="" 2170 else 2171 case $cross_compiling:$ac_tool_warned in 2172 yes:) 2173 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2175 ac_tool_warned=yes ;; 2176 esac 2177 CC=$ac_ct_CC 2178 fi 1623 2179 else 1624 2180 CC="$ac_cv_prog_CC" … … 1626 2182 1627 2183 if test -z "$CC"; then 1628 if test -n "$ac_tool_prefix"; then1629 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2184 if test -n "$ac_tool_prefix"; then 2185 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1630 2186 set dummy ${ac_tool_prefix}cc; ac_word=$2 1631 echo "$as_me:$LINENO: checking for $ac_word" >&51632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2187 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2188 $as_echo_n "checking for $ac_word... " >&6; } 1633 2189 if test "${ac_cv_prog_CC+set}" = set; then 1634 echo $ECHO_N "(cached) $ECHO_C" >&62190 $as_echo_n "(cached) " >&6 1635 2191 else 1636 2192 if test -n "$CC"; then … … 1643 2199 test -z "$as_dir" && as_dir=. 1644 2200 for ac_exec_ext in '' $ac_executable_extensions; do 1645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1646 2202 ac_cv_prog_CC="${ac_tool_prefix}cc" 1647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52203 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1648 2204 break 2 1649 2205 fi 1650 2206 done 1651 2207 done 2208 IFS=$as_save_IFS 1652 2209 1653 2210 fi … … 1655 2212 CC=$ac_cv_prog_CC 1656 2213 if test -n "$CC"; then 1657 echo "$as_me:$LINENO: result: $CC" >&5 1658 echo "${ECHO_T}$CC" >&6 1659 else 1660 echo "$as_me:$LINENO: result: no" >&5 1661 echo "${ECHO_T}no" >&6 1662 fi 1663 1664 fi 1665 if test -z "$ac_cv_prog_CC"; then 1666 ac_ct_CC=$CC 1667 # Extract the first word of "cc", so it can be a program name with args. 1668 set dummy cc; ac_word=$2 1669 echo "$as_me:$LINENO: checking for $ac_word" >&5 1670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1671 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1672 echo $ECHO_N "(cached) $ECHO_C" >&6 1673 else 1674 if test -n "$ac_ct_CC"; then 1675 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1676 else 1677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1678 for as_dir in $PATH 1679 do 1680 IFS=$as_save_IFS 1681 test -z "$as_dir" && as_dir=. 1682 for ac_exec_ext in '' $ac_executable_extensions; do 1683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1684 ac_cv_prog_ac_ct_CC="cc" 1685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1686 break 2 2214 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2215 $as_echo "$CC" >&6; } 2216 else 2217 { $as_echo "$as_me:$LINENO: result: no" >&5 2218 $as_echo "no" >&6; } 2219 fi 2220 2221 1687 2222 fi 1688 done1689 done1690 1691 fi1692 fi1693 ac_ct_CC=$ac_cv_prog_ac_ct_CC1694 if test -n "$ac_ct_CC"; then1695 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51696 echo "${ECHO_T}$ac_ct_CC" >&61697 else1698 echo "$as_me:$LINENO: result: no" >&51699 echo "${ECHO_T}no" >&61700 fi1701 1702 CC=$ac_ct_CC1703 else1704 CC="$ac_cv_prog_CC"1705 fi1706 1707 2223 fi 1708 2224 if test -z "$CC"; then 1709 2225 # Extract the first word of "cc", so it can be a program name with args. 1710 2226 set dummy cc; ac_word=$2 1711 echo "$as_me:$LINENO: checking for $ac_word" >&51712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2227 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2228 $as_echo_n "checking for $ac_word... " >&6; } 1713 2229 if test "${ac_cv_prog_CC+set}" = set; then 1714 echo $ECHO_N "(cached) $ECHO_C" >&62230 $as_echo_n "(cached) " >&6 1715 2231 else 1716 2232 if test -n "$CC"; then … … 1724 2240 test -z "$as_dir" && as_dir=. 1725 2241 for ac_exec_ext in '' $ac_executable_extensions; do 1726 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1727 2243 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1728 2244 ac_prog_rejected=yes … … 1730 2246 fi 1731 2247 ac_cv_prog_CC="cc" 1732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52248 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1733 2249 break 2 1734 2250 fi 1735 2251 done 1736 2252 done 2253 IFS=$as_save_IFS 1737 2254 1738 2255 if test $ac_prog_rejected = yes; then … … 1752 2269 CC=$ac_cv_prog_CC 1753 2270 if test -n "$CC"; then 1754 echo "$as_me:$LINENO: result: $CC" >&5 1755 echo "${ECHO_T}$CC" >&6 1756 else 1757 echo "$as_me:$LINENO: result: no" >&5 1758 echo "${ECHO_T}no" >&6 1759 fi 2271 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2272 $as_echo "$CC" >&6; } 2273 else 2274 { $as_echo "$as_me:$LINENO: result: no" >&5 2275 $as_echo "no" >&6; } 2276 fi 2277 1760 2278 1761 2279 fi 1762 2280 if test -z "$CC"; then 1763 2281 if test -n "$ac_tool_prefix"; then 1764 for ac_prog in cl 2282 for ac_prog in cl.exe 1765 2283 do 1766 2284 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1767 2285 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1768 echo "$as_me:$LINENO: checking for $ac_word" >&51769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2286 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2287 $as_echo_n "checking for $ac_word... " >&6; } 1770 2288 if test "${ac_cv_prog_CC+set}" = set; then 1771 echo $ECHO_N "(cached) $ECHO_C" >&62289 $as_echo_n "(cached) " >&6 1772 2290 else 1773 2291 if test -n "$CC"; then … … 1780 2298 test -z "$as_dir" && as_dir=. 1781 2299 for ac_exec_ext in '' $ac_executable_extensions; do 1782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1783 2301 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52302 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1785 2303 break 2 1786 2304 fi 1787 2305 done 1788 2306 done 2307 IFS=$as_save_IFS 1789 2308 1790 2309 fi … … 1792 2311 CC=$ac_cv_prog_CC 1793 2312 if test -n "$CC"; then 1794 echo "$as_me:$LINENO: result: $CC" >&5 1795 echo "${ECHO_T}$CC" >&6 1796 else 1797 echo "$as_me:$LINENO: result: no" >&5 1798 echo "${ECHO_T}no" >&6 1799 fi 2313 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2314 $as_echo "$CC" >&6; } 2315 else 2316 { $as_echo "$as_me:$LINENO: result: no" >&5 2317 $as_echo "no" >&6; } 2318 fi 2319 1800 2320 1801 2321 test -n "$CC" && break … … 1804 2324 if test -z "$CC"; then 1805 2325 ac_ct_CC=$CC 1806 for ac_prog in cl 2326 for ac_prog in cl.exe 1807 2327 do 1808 2328 # Extract the first word of "$ac_prog", so it can be a program name with args. 1809 2329 set dummy $ac_prog; ac_word=$2 1810 echo "$as_me:$LINENO: checking for $ac_word" >&51811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2330 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2331 $as_echo_n "checking for $ac_word... " >&6; } 1812 2332 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1813 echo $ECHO_N "(cached) $ECHO_C" >&62333 $as_echo_n "(cached) " >&6 1814 2334 else 1815 2335 if test -n "$ac_ct_CC"; then … … 1822 2342 test -z "$as_dir" && as_dir=. 1823 2343 for ac_exec_ext in '' $ac_executable_extensions; do 1824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1825 2345 ac_cv_prog_ac_ct_CC="$ac_prog" 1826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52346 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1827 2347 break 2 1828 2348 fi 1829 2349 done 1830 2350 done 2351 IFS=$as_save_IFS 1831 2352 1832 2353 fi … … 1834 2355 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1835 2356 if test -n "$ac_ct_CC"; then 1836 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1837 echo "${ECHO_T}$ac_ct_CC" >&6 1838 else 1839 echo "$as_me:$LINENO: result: no" >&5 1840 echo "${ECHO_T}no" >&6 1841 fi 2357 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2358 $as_echo "$ac_ct_CC" >&6; } 2359 else 2360 { $as_echo "$as_me:$LINENO: result: no" >&5 2361 $as_echo "no" >&6; } 2362 fi 2363 1842 2364 1843 2365 test -n "$ac_ct_CC" && break 1844 2366 done 1845 2367 1846 CC=$ac_ct_CC 1847 fi 1848 1849 fi 1850 1851 1852 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2368 if test "x$ac_ct_CC" = x; then 2369 CC="" 2370 else 2371 case $cross_compiling:$ac_tool_warned in 2372 yes:) 2373 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2374 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2375 ac_tool_warned=yes ;; 2376 esac 2377 CC=$ac_ct_CC 2378 fi 2379 fi 2380 2381 fi 2382 2383 2384 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2386 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1853 2387 See \`config.log' for more details." >&5 1854 echo "$as_me: error: no acceptable C compiler found in \$PATH2388 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 1855 2389 See \`config.log' for more details." >&2;} 1856 { (exit 1); exit 1; }; } 2390 { (exit 1); exit 1; }; }; } 1857 2391 1858 2392 # Provide some information about the compiler. 1859 echo "$as_me:$LINENO:" \ 1860 "checking for C compiler version" >&5 1861 ac_compiler=`set X $ac_compile; echo $2` 1862 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1863 (eval $ac_compiler --version </dev/null >&5) 2>&5 2393 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2394 set X $ac_compile 2395 ac_compiler=$2 2396 { (ac_try="$ac_compiler --version >&5" 2397 case "(($ac_try" in 2398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2399 *) ac_try_echo=$ac_try;; 2400 esac 2401 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2402 $as_echo "$ac_try_echo") >&5 2403 (eval "$ac_compiler --version >&5") 2>&5 1864 2404 ac_status=$? 1865 echo "$as_me:$LINENO: \$? = $ac_status" >&52405 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1866 2406 (exit $ac_status); } 1867 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1868 (eval $ac_compiler -v </dev/null >&5) 2>&5 2407 { (ac_try="$ac_compiler -v >&5" 2408 case "(($ac_try" in 2409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2410 *) ac_try_echo=$ac_try;; 2411 esac 2412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2413 $as_echo "$ac_try_echo") >&5 2414 (eval "$ac_compiler -v >&5") 2>&5 1869 2415 ac_status=$? 1870 echo "$as_me:$LINENO: \$? = $ac_status" >&52416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1871 2417 (exit $ac_status); } 1872 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1873 (eval $ac_compiler -V </dev/null >&5) 2>&5 2418 { (ac_try="$ac_compiler -V >&5" 2419 case "(($ac_try" in 2420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2421 *) ac_try_echo=$ac_try;; 2422 esac 2423 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2424 $as_echo "$ac_try_echo") >&5 2425 (eval "$ac_compiler -V >&5") 2>&5 1874 2426 ac_status=$? 1875 echo "$as_me:$LINENO: \$? = $ac_status" >&52427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1876 2428 (exit $ac_status); } 1877 2429 … … 1892 2444 _ACEOF 1893 2445 ac_clean_files_save=$ac_clean_files 1894 ac_clean_files="$ac_clean_files a.out a. exe b.out"2446 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 1895 2447 # Try to create an executable without -o first, disregard a.out. 1896 2448 # It will help us diagnose broken compilers, and finding out an intuition 1897 2449 # of exeext. 1898 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1899 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1900 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1901 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1902 (eval $ac_link_default) 2>&5 2450 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2451 $as_echo_n "checking for C compiler default output file name... " >&6; } 2452 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2453 2454 # The possible output files: 2455 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2456 2457 ac_rmfiles= 2458 for ac_file in $ac_files 2459 do 2460 case $ac_file in 2461 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2462 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2463 esac 2464 done 2465 rm -f $ac_rmfiles 2466 2467 if { (ac_try="$ac_link_default" 2468 case "(($ac_try" in 2469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2470 *) ac_try_echo=$ac_try;; 2471 esac 2472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2473 $as_echo "$ac_try_echo") >&5 2474 (eval "$ac_link_default") 2>&5 1903 2475 ac_status=$? 1904 echo "$as_me:$LINENO: \$? = $ac_status" >&52476 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1905 2477 (exit $ac_status); }; then 1906 # Find the output, starting from the most likely. This scheme is 1907 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1908 # resort. 1909 1910 # Be careful to initialize this variable, since it used to be cached. 1911 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1912 ac_cv_exeext= 1913 # b.out is created by i960 compilers. 1914 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2478 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2479 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2480 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2481 # so that the user can short-circuit this test for compilers unknown to 2482 # Autoconf. 2483 for ac_file in $ac_files '' 1915 2484 do 1916 2485 test -f "$ac_file" || continue 1917 2486 case $ac_file in 1918 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1919 ;; 1920 conftest.$ac_ext ) 1921 # This is the source file. 2487 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 1922 2488 ;; 1923 2489 [ab].out ) … … 1926 2492 break;; 1927 2493 *.* ) 1928 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1929 # FIXME: I believe we export ac_cv_exeext for Libtool, 1930 # but it would be cool to find out if it's true. Does anybody 1931 # maintain Libtool? --akim. 1932 export ac_cv_exeext 2494 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2495 then :; else 2496 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2497 fi 2498 # We set ac_cv_exeext here because the later test for it is not 2499 # safe: cross compilers may not add the suffix if given an `-o' 2500 # argument, so we may need to know it at that point already. 2501 # Even if this section looks crufty: it has the advantage of 2502 # actually working. 1933 2503 break;; 1934 2504 * ) … … 1936 2506 esac 1937 2507 done 1938 else 1939 echo "$as_me: failed program was:" >&5 2508 test "$ac_cv_exeext" = no && ac_cv_exeext= 2509 2510 else 2511 ac_file='' 2512 fi 2513 2514 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2515 $as_echo "$ac_file" >&6; } 2516 if test -z "$ac_file"; then 2517 $as_echo "$as_me: failed program was:" >&5 1940 2518 sed 's/^/| /' conftest.$ac_ext >&5 1941 2519 1942 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2520 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2522 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 1943 2523 See \`config.log' for more details." >&5 1944 echo "$as_me: error: C compiler cannot create executables2524 $as_echo "$as_me: error: C compiler cannot create executables 1945 2525 See \`config.log' for more details." >&2;} 1946 { (exit 77); exit 77; }; } 2526 { (exit 77); exit 77; }; }; } 1947 2527 fi 1948 2528 1949 2529 ac_exeext=$ac_cv_exeext 1950 echo "$as_me:$LINENO: result: $ac_file" >&5 1951 echo "${ECHO_T}$ac_file" >&6 1952 1953 # Check the compiler produces executables we can run. If not, either 2530 2531 # Check that the compiler produces executables we can run. If not, either 1954 2532 # the compiler is broken, or we cross compile. 1955 echo "$as_me:$LINENO: checking whether the C compiler works" >&51956 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2533 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2534 $as_echo_n "checking whether the C compiler works... " >&6; } 1957 2535 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1958 2536 # If not cross compiling, check that we can run a simple program. 1959 2537 if test "$cross_compiling" != yes; then 1960 2538 if { ac_try='./$ac_file' 1961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1962 (eval $ac_try) 2>&5 2539 { (case "(($ac_try" in 2540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2541 *) ac_try_echo=$ac_try;; 2542 esac 2543 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2544 $as_echo "$ac_try_echo") >&5 2545 (eval "$ac_try") 2>&5 1963 2546 ac_status=$? 1964 echo "$as_me:$LINENO: \$? = $ac_status" >&52547 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1965 2548 (exit $ac_status); }; }; then 1966 2549 cross_compiling=no … … 1969 2552 cross_compiling=yes 1970 2553 else 1971 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2554 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2556 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 1972 2557 If you meant to cross compile, use \`--host'. 1973 2558 See \`config.log' for more details." >&5 1974 echo "$as_me: error: cannot run C compiled programs.2559 $as_echo "$as_me: error: cannot run C compiled programs. 1975 2560 If you meant to cross compile, use \`--host'. 1976 2561 See \`config.log' for more details." >&2;} 1977 { (exit 1); exit 1; }; } 2562 { (exit 1); exit 1; }; }; } 1978 2563 fi 1979 2564 fi 1980 2565 fi 1981 echo "$as_me:$LINENO: result: yes" >&51982 echo "${ECHO_T}yes" >&6 1983 1984 rm -f a.outa.exe conftest$ac_cv_exeext b.out2566 { $as_echo "$as_me:$LINENO: result: yes" >&5 2567 $as_echo "yes" >&6; } 2568 2569 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 1985 2570 ac_clean_files=$ac_clean_files_save 1986 # Check th e compiler produces executables we can run. If not, either2571 # Check that the compiler produces executables we can run. If not, either 1987 2572 # the compiler is broken, or we cross compile. 1988 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1989 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1990 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1991 echo "${ECHO_T}$cross_compiling" >&6 1992 1993 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1994 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1996 (eval $ac_link) 2>&5 2573 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2574 $as_echo_n "checking whether we are cross compiling... " >&6; } 2575 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2576 $as_echo "$cross_compiling" >&6; } 2577 2578 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2579 $as_echo_n "checking for suffix of executables... " >&6; } 2580 if { (ac_try="$ac_link" 2581 case "(($ac_try" in 2582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2583 *) ac_try_echo=$ac_try;; 2584 esac 2585 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2586 $as_echo "$ac_try_echo") >&5 2587 (eval "$ac_link") 2>&5 1997 2588 ac_status=$? 1998 echo "$as_me:$LINENO: \$? = $ac_status" >&52589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1999 2590 (exit $ac_status); }; then 2000 2591 # If both `conftest.exe' and `conftest' are `present' (well, observable) … … 2005 2596 test -f "$ac_file" || continue 2006 2597 case $ac_file in 2007 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2598 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2008 2599 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2009 export ac_cv_exeext2010 2600 break;; 2011 2601 * ) break;; … … 2013 2603 done 2014 2604 else 2015 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2605 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2607 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2016 2608 See \`config.log' for more details." >&5 2017 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link2609 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2018 2610 See \`config.log' for more details." >&2;} 2019 { (exit 1); exit 1; }; } 2611 { (exit 1); exit 1; }; }; } 2020 2612 fi 2021 2613 2022 2614 rm -f conftest$ac_cv_exeext 2023 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52024 echo "${ECHO_T}$ac_cv_exeext" >&6 2615 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2616 $as_echo "$ac_cv_exeext" >&6; } 2025 2617 2026 2618 rm -f conftest.$ac_ext 2027 2619 EXEEXT=$ac_cv_exeext 2028 2620 ac_exeext=$EXEEXT 2029 echo "$as_me:$LINENO: checking for suffix of object files" >&52030 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2621 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2622 $as_echo_n "checking for suffix of object files... " >&6; } 2031 2623 if test "${ac_cv_objext+set}" = set; then 2032 echo $ECHO_N "(cached) $ECHO_C" >&62624 $as_echo_n "(cached) " >&6 2033 2625 else 2034 2626 cat >conftest.$ac_ext <<_ACEOF … … 2048 2640 _ACEOF 2049 2641 rm -f conftest.o conftest.obj 2050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2051 (eval $ac_compile) 2>&5 2642 if { (ac_try="$ac_compile" 2643 case "(($ac_try" in 2644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2645 *) ac_try_echo=$ac_try;; 2646 esac 2647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2648 $as_echo "$ac_try_echo") >&5 2649 (eval "$ac_compile") 2>&5 2052 2650 ac_status=$? 2053 echo "$as_me:$LINENO: \$? = $ac_status" >&52651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2054 2652 (exit $ac_status); }; then 2055 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2653 for ac_file in conftest.o conftest.obj conftest.*; do 2654 test -f "$ac_file" || continue; 2056 2655 case $ac_file in 2057 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2656 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2058 2657 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2059 2658 break;; … … 2061 2660 done 2062 2661 else 2063 echo "$as_me: failed program was:" >&52662 $as_echo "$as_me: failed program was:" >&5 2064 2663 sed 's/^/| /' conftest.$ac_ext >&5 2065 2664 2066 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2665 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2666 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2667 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2067 2668 See \`config.log' for more details." >&5 2068 echo "$as_me: error: cannot compute suffix of object files: cannot compile2669 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2069 2670 See \`config.log' for more details." >&2;} 2070 { (exit 1); exit 1; }; } 2671 { (exit 1); exit 1; }; }; } 2071 2672 fi 2072 2673 2073 2674 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2074 2675 fi 2075 echo "$as_me:$LINENO: result: $ac_cv_objext" >&52076 echo "${ECHO_T}$ac_cv_objext" >&6 2676 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2677 $as_echo "$ac_cv_objext" >&6; } 2077 2678 OBJEXT=$ac_cv_objext 2078 2679 ac_objext=$OBJEXT 2079 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52080 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2680 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2681 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2081 2682 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2082 echo $ECHO_N "(cached) $ECHO_C" >&62683 $as_echo_n "(cached) " >&6 2083 2684 else 2084 2685 cat >conftest.$ac_ext <<_ACEOF … … 2101 2702 _ACEOF 2102 2703 rm -f conftest.$ac_objext 2103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2104 (eval $ac_compile) 2>conftest.er1 2704 if { (ac_try="$ac_compile" 2705 case "(($ac_try" in 2706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2707 *) ac_try_echo=$ac_try;; 2708 esac 2709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2710 $as_echo "$ac_try_echo") >&5 2711 (eval "$ac_compile") 2>conftest.er1 2105 2712 ac_status=$? 2106 2713 grep -v '^ *+' conftest.er1 >conftest.err 2107 2714 rm -f conftest.er1 2108 2715 cat conftest.err >&5 2109 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2110 (exit $ac_status); } && 2111 { ac_try='test -z "$ac_c_werror_flag" 2112 || test ! -s conftest.err' 2113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2114 (eval $ac_try) 2>&5 2115 ac_status=$? 2116 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2117 (exit $ac_status); }; } && 2118 { ac_try='test -s conftest.$ac_objext' 2119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2120 (eval $ac_try) 2>&5 2121 ac_status=$? 2122 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2123 (exit $ac_status); }; }; then 2716 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2717 (exit $ac_status); } && { 2718 test -z "$ac_c_werror_flag" || 2719 test ! -s conftest.err 2720 } && test -s conftest.$ac_objext; then 2124 2721 ac_compiler_gnu=yes 2125 2722 else 2126 echo "$as_me: failed program was:" >&52723 $as_echo "$as_me: failed program was:" >&5 2127 2724 sed 's/^/| /' conftest.$ac_ext >&5 2128 2725 2129 ac_compiler_gnu=no 2130 fi 2131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2726 ac_compiler_gnu=no 2727 fi 2728 2729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2132 2730 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2133 2731 2134 2732 fi 2135 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2136 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2137 GCC=`test $ac_compiler_gnu = yes && echo yes` 2733 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2734 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2735 if test $ac_compiler_gnu = yes; then 2736 GCC=yes 2737 else 2738 GCC= 2739 fi 2138 2740 ac_test_CFLAGS=${CFLAGS+set} 2139 2741 ac_save_CFLAGS=$CFLAGS 2140 CFLAGS="-g" 2141 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2142 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2742 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2743 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2143 2744 if test "${ac_cv_prog_cc_g+set}" = set; then 2144 echo $ECHO_N "(cached) $ECHO_C" >&6 2145 else 2146 cat >conftest.$ac_ext <<_ACEOF 2745 $as_echo_n "(cached) " >&6 2746 else 2747 ac_save_c_werror_flag=$ac_c_werror_flag 2748 ac_c_werror_flag=yes 2749 ac_cv_prog_cc_g=no 2750 CFLAGS="-g" 2751 cat >conftest.$ac_ext <<_ACEOF 2147 2752 /* confdefs.h. */ 2148 2753 _ACEOF … … 2160 2765 _ACEOF 2161 2766 rm -f conftest.$ac_objext 2162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2163 (eval $ac_compile) 2>conftest.er1 2767 if { (ac_try="$ac_compile" 2768 case "(($ac_try" in 2769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2770 *) ac_try_echo=$ac_try;; 2771 esac 2772 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2773 $as_echo "$ac_try_echo") >&5 2774 (eval "$ac_compile") 2>conftest.er1 2164 2775 ac_status=$? 2165 2776 grep -v '^ *+' conftest.er1 >conftest.err 2166 2777 rm -f conftest.er1 2167 2778 cat conftest.err >&5 2168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2169 (exit $ac_status); } && 2170 { ac_try='test -z "$ac_c_werror_flag" 2171 || test ! -s conftest.err' 2172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2173 (eval $ac_try) 2>&5 2779 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2780 (exit $ac_status); } && { 2781 test -z "$ac_c_werror_flag" || 2782 test ! -s conftest.err 2783 } && test -s conftest.$ac_objext; then 2784 ac_cv_prog_cc_g=yes 2785 else 2786 $as_echo "$as_me: failed program was:" >&5 2787 sed 's/^/| /' conftest.$ac_ext >&5 2788 2789 CFLAGS="" 2790 cat >conftest.$ac_ext <<_ACEOF 2791 /* confdefs.h. */ 2792 _ACEOF 2793 cat confdefs.h >>conftest.$ac_ext 2794 cat >>conftest.$ac_ext <<_ACEOF 2795 /* end confdefs.h. */ 2796 2797 int 2798 main () 2799 { 2800 2801 ; 2802 return 0; 2803 } 2804 _ACEOF 2805 rm -f conftest.$ac_objext 2806 if { (ac_try="$ac_compile" 2807 case "(($ac_try" in 2808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2809 *) ac_try_echo=$ac_try;; 2810 esac 2811 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2812 $as_echo "$ac_try_echo") >&5 2813 (eval "$ac_compile") 2>conftest.er1 2174 2814 ac_status=$? 2175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2176 (exit $ac_status); }; } && 2177 { ac_try='test -s conftest.$ac_objext' 2178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2179 (eval $ac_try) 2>&5 2815 grep -v '^ *+' conftest.er1 >conftest.err 2816 rm -f conftest.er1 2817 cat conftest.err >&5 2818 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2819 (exit $ac_status); } && { 2820 test -z "$ac_c_werror_flag" || 2821 test ! -s conftest.err 2822 } && test -s conftest.$ac_objext; then 2823 : 2824 else 2825 $as_echo "$as_me: failed program was:" >&5 2826 sed 's/^/| /' conftest.$ac_ext >&5 2827 2828 ac_c_werror_flag=$ac_save_c_werror_flag 2829 CFLAGS="-g" 2830 cat >conftest.$ac_ext <<_ACEOF 2831 /* confdefs.h. */ 2832 _ACEOF 2833 cat confdefs.h >>conftest.$ac_ext 2834 cat >>conftest.$ac_ext <<_ACEOF 2835 /* end confdefs.h. */ 2836 2837 int 2838 main () 2839 { 2840 2841 ; 2842 return 0; 2843 } 2844 _ACEOF 2845 rm -f conftest.$ac_objext 2846 if { (ac_try="$ac_compile" 2847 case "(($ac_try" in 2848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2849 *) ac_try_echo=$ac_try;; 2850 esac 2851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2852 $as_echo "$ac_try_echo") >&5 2853 (eval "$ac_compile") 2>conftest.er1 2180 2854 ac_status=$? 2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2182 (exit $ac_status); }; }; then 2855 grep -v '^ *+' conftest.er1 >conftest.err 2856 rm -f conftest.er1 2857 cat conftest.err >&5 2858 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2859 (exit $ac_status); } && { 2860 test -z "$ac_c_werror_flag" || 2861 test ! -s conftest.err 2862 } && test -s conftest.$ac_objext; then 2183 2863 ac_cv_prog_cc_g=yes 2184 2864 else 2185 echo "$as_me: failed program was:" >&52865 $as_echo "$as_me: failed program was:" >&5 2186 2866 sed 's/^/| /' conftest.$ac_ext >&5 2187 2867 2188 ac_cv_prog_cc_g=no 2189 fi 2190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2191 fi 2192 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2193 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2868 2869 fi 2870 2871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2872 fi 2873 2874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2875 fi 2876 2877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2878 ac_c_werror_flag=$ac_save_c_werror_flag 2879 fi 2880 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2881 $as_echo "$ac_cv_prog_cc_g" >&6; } 2194 2882 if test "$ac_test_CFLAGS" = set; then 2195 2883 CFLAGS=$ac_save_CFLAGS … … 2207 2895 fi 2208 2896 fi 2209 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52210 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2211 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2212 echo $ECHO_N "(cached) $ECHO_C" >&62213 else 2214 ac_cv_prog_cc_ stdc=no2897 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2898 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2899 if test "${ac_cv_prog_cc_c89+set}" = set; then 2900 $as_echo_n "(cached) " >&6 2901 else 2902 ac_cv_prog_cc_c89=no 2215 2903 ac_save_CC=$CC 2216 2904 cat >conftest.$ac_ext <<_ACEOF … … 2246 2934 function prototypes and stuff, but not '\xHH' hex character constants. 2247 2935 These don't provoke an error unfortunately, instead are silently treated 2248 as 'x'. The following induces an error, until -std 1is added to get2936 as 'x'. The following induces an error, until -std is added to get 2249 2937 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2250 2938 array size at least. It's necessary to write '\x00'==0 to get something 2251 that's true only with -std 1. */2939 that's true only with -std. */ 2252 2940 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2941 2942 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2943 inside strings and character constants. */ 2944 #define FOO(x) 'x' 2945 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2253 2946 2254 2947 int test (int i, double x); … … 2266 2959 } 2267 2960 _ACEOF 2268 # Don't try gcc -ansi; that turns off useful extensions and 2269 # breaks some systems' header files. 2270 # AIX -qlanglvl=ansi 2271 # Ultrix and OSF/1 -std1 2272 # HP-UX 10.20 and later -Ae 2273 # HP-UX older versions -Aa -D_HPUX_SOURCE 2274 # SVR4 -Xc -D__EXTENSIONS__ 2275 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2961 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2962 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2276 2963 do 2277 2964 CC="$ac_save_CC $ac_arg" 2278 2965 rm -f conftest.$ac_objext 2279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2280 (eval $ac_compile) 2>conftest.er1 2966 if { (ac_try="$ac_compile" 2967 case "(($ac_try" in 2968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2969 *) ac_try_echo=$ac_try;; 2970 esac 2971 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2972 $as_echo "$ac_try_echo") >&5 2973 (eval "$ac_compile") 2>conftest.er1 2281 2974 ac_status=$? 2282 2975 grep -v '^ *+' conftest.er1 >conftest.err 2283 2976 rm -f conftest.er1 2284 2977 cat conftest.err >&5 2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2286 (exit $ac_status); } && 2287 { ac_try='test -z "$ac_c_werror_flag" 2288 || test ! -s conftest.err' 2289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2290 (eval $ac_try) 2>&5 2291 ac_status=$? 2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2293 (exit $ac_status); }; } && 2294 { ac_try='test -s conftest.$ac_objext' 2295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2296 (eval $ac_try) 2>&5 2297 ac_status=$? 2298 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2299 (exit $ac_status); }; }; then 2300 ac_cv_prog_cc_stdc=$ac_arg 2301 break 2302 else 2303 echo "$as_me: failed program was:" >&5 2978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2979 (exit $ac_status); } && { 2980 test -z "$ac_c_werror_flag" || 2981 test ! -s conftest.err 2982 } && test -s conftest.$ac_objext; then 2983 ac_cv_prog_cc_c89=$ac_arg 2984 else 2985 $as_echo "$as_me: failed program was:" >&5 2304 2986 sed 's/^/| /' conftest.$ac_ext >&5 2305 2987 2306 fi 2307 rm -f conftest.err conftest.$ac_objext 2988 2989 fi 2990 2991 rm -f core conftest.err conftest.$ac_objext 2992 test "x$ac_cv_prog_cc_c89" != "xno" && break 2308 2993 done 2309 rm -f conftest.$ac_ext conftest.$ac_objext2994 rm -f conftest.$ac_ext 2310 2995 CC=$ac_save_CC 2311 2996 2312 2997 fi 2313 2314 case "x$ac_cv_prog_cc_stdc" in 2315 x|xno) 2316 echo "$as_me:$LINENO: result: none needed" >&5 2317 echo "${ECHO_T}none needed" >&6 ;; 2998 # AC_CACHE_VAL 2999 case "x$ac_cv_prog_cc_c89" in 3000 x) 3001 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3002 $as_echo "none needed" >&6; } ;; 3003 xno) 3004 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3005 $as_echo "unsupported" >&6; } ;; 2318 3006 *) 2319 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2320 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2321 CC="$CC $ac_cv_prog_cc_stdc" ;; 2322 esac 2323 2324 # Some people use a C++ compiler to compile C. Since we use `exit', 2325 # in C++ we need to declare it. In case someone uses the same compiler 2326 # for both compiling C and C++ we need to have the C++ compiler decide 2327 # the declaration of exit, since it's the most demanding environment. 2328 cat >conftest.$ac_ext <<_ACEOF 2329 #ifndef __cplusplus 2330 choke me 2331 #endif 2332 _ACEOF 2333 rm -f conftest.$ac_objext 2334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2335 (eval $ac_compile) 2>conftest.er1 2336 ac_status=$? 2337 grep -v '^ *+' conftest.er1 >conftest.err 2338 rm -f conftest.er1 2339 cat conftest.err >&5 2340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2341 (exit $ac_status); } && 2342 { ac_try='test -z "$ac_c_werror_flag" 2343 || test ! -s conftest.err' 2344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2345 (eval $ac_try) 2>&5 2346 ac_status=$? 2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2348 (exit $ac_status); }; } && 2349 { ac_try='test -s conftest.$ac_objext' 2350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2351 (eval $ac_try) 2>&5 2352 ac_status=$? 2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2354 (exit $ac_status); }; }; then 2355 for ac_declaration in \ 2356 '' \ 2357 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2358 'extern "C" void std::exit (int); using std::exit;' \ 2359 'extern "C" void exit (int) throw ();' \ 2360 'extern "C" void exit (int);' \ 2361 'void exit (int);' 2362 do 2363 cat >conftest.$ac_ext <<_ACEOF 2364 /* confdefs.h. */ 2365 _ACEOF 2366 cat confdefs.h >>conftest.$ac_ext 2367 cat >>conftest.$ac_ext <<_ACEOF 2368 /* end confdefs.h. */ 2369 $ac_declaration 2370 #include <stdlib.h> 2371 int 2372 main () 2373 { 2374 exit (42); 2375 ; 2376 return 0; 2377 } 2378 _ACEOF 2379 rm -f conftest.$ac_objext 2380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2381 (eval $ac_compile) 2>conftest.er1 2382 ac_status=$? 2383 grep -v '^ *+' conftest.er1 >conftest.err 2384 rm -f conftest.er1 2385 cat conftest.err >&5 2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2387 (exit $ac_status); } && 2388 { ac_try='test -z "$ac_c_werror_flag" 2389 || test ! -s conftest.err' 2390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2391 (eval $ac_try) 2>&5 2392 ac_status=$? 2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2394 (exit $ac_status); }; } && 2395 { ac_try='test -s conftest.$ac_objext' 2396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2397 (eval $ac_try) 2>&5 2398 ac_status=$? 2399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2400 (exit $ac_status); }; }; then 2401 : 2402 else 2403 echo "$as_me: failed program was:" >&5 2404 sed 's/^/| /' conftest.$ac_ext >&5 2405 2406 continue 2407 fi 2408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2409 cat >conftest.$ac_ext <<_ACEOF 2410 /* confdefs.h. */ 2411 _ACEOF 2412 cat confdefs.h >>conftest.$ac_ext 2413 cat >>conftest.$ac_ext <<_ACEOF 2414 /* end confdefs.h. */ 2415 $ac_declaration 2416 int 2417 main () 2418 { 2419 exit (42); 2420 ; 2421 return 0; 2422 } 2423 _ACEOF 2424 rm -f conftest.$ac_objext 2425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2426 (eval $ac_compile) 2>conftest.er1 2427 ac_status=$? 2428 grep -v '^ *+' conftest.er1 >conftest.err 2429 rm -f conftest.er1 2430 cat conftest.err >&5 2431 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2432 (exit $ac_status); } && 2433 { ac_try='test -z "$ac_c_werror_flag" 2434 || test ! -s conftest.err' 2435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2436 (eval $ac_try) 2>&5 2437 ac_status=$? 2438 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2439 (exit $ac_status); }; } && 2440 { ac_try='test -s conftest.$ac_objext' 2441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2442 (eval $ac_try) 2>&5 2443 ac_status=$? 2444 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2445 (exit $ac_status); }; }; then 2446 break 2447 else 2448 echo "$as_me: failed program was:" >&5 2449 sed 's/^/| /' conftest.$ac_ext >&5 2450 2451 fi 2452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2453 done 2454 rm -f conftest* 2455 if test -n "$ac_declaration"; then 2456 echo '#ifdef __cplusplus' >>confdefs.h 2457 echo $ac_declaration >>confdefs.h 2458 echo '#endif' >>confdefs.h 2459 fi 2460 2461 else 2462 echo "$as_me: failed program was:" >&5 2463 sed 's/^/| /' conftest.$ac_ext >&5 2464 2465 fi 2466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3007 CC="$CC $ac_cv_prog_cc_c89" 3008 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3009 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3010 esac 3011 3012 2467 3013 ac_ext=c 2468 3014 ac_cpp='$CPP $CPPFLAGS' … … 2471 3017 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2472 3018 2473 ac_ext=c c3019 ac_ext=cpp 2474 3020 ac_cpp='$CXXCPP $CPPFLAGS' 2475 3021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2476 3022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2477 3023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2478 if test -n "$ac_tool_prefix"; then 2479 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 3024 if test -z "$CXX"; then 3025 if test -n "$CCC"; then 3026 CXX=$CCC 3027 else 3028 if test -n "$ac_tool_prefix"; then 3029 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2480 3030 do 2481 3031 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2482 3032 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2483 echo "$as_me:$LINENO: checking for $ac_word" >&52484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3033 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3034 $as_echo_n "checking for $ac_word... " >&6; } 2485 3035 if test "${ac_cv_prog_CXX+set}" = set; then 2486 echo $ECHO_N "(cached) $ECHO_C" >&63036 $as_echo_n "(cached) " >&6 2487 3037 else 2488 3038 if test -n "$CXX"; then … … 2495 3045 test -z "$as_dir" && as_dir=. 2496 3046 for ac_exec_ext in '' $ac_executable_extensions; do 2497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2498 3048 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53049 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2500 3050 break 2 2501 3051 fi 2502 3052 done 2503 3053 done 3054 IFS=$as_save_IFS 2504 3055 2505 3056 fi … … 2507 3058 CXX=$ac_cv_prog_CXX 2508 3059 if test -n "$CXX"; then 2509 echo "$as_me:$LINENO: result: $CXX" >&5 2510 echo "${ECHO_T}$CXX" >&6 2511 else 2512 echo "$as_me:$LINENO: result: no" >&5 2513 echo "${ECHO_T}no" >&6 2514 fi 3060 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 3061 $as_echo "$CXX" >&6; } 3062 else 3063 { $as_echo "$as_me:$LINENO: result: no" >&5 3064 $as_echo "no" >&6; } 3065 fi 3066 2515 3067 2516 3068 test -n "$CXX" && break … … 2519 3071 if test -z "$CXX"; then 2520 3072 ac_ct_CXX=$CXX 2521 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ clFCC KCC RCC xlC_r xlC3073 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2522 3074 do 2523 3075 # Extract the first word of "$ac_prog", so it can be a program name with args. 2524 3076 set dummy $ac_prog; ac_word=$2 2525 echo "$as_me:$LINENO: checking for $ac_word" >&52526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3077 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3078 $as_echo_n "checking for $ac_word... " >&6; } 2527 3079 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2528 echo $ECHO_N "(cached) $ECHO_C" >&63080 $as_echo_n "(cached) " >&6 2529 3081 else 2530 3082 if test -n "$ac_ct_CXX"; then … … 2537 3089 test -z "$as_dir" && as_dir=. 2538 3090 for ac_exec_ext in '' $ac_executable_extensions; do 2539 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2540 3092 ac_cv_prog_ac_ct_CXX="$ac_prog" 2541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53093 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2542 3094 break 2 2543 3095 fi 2544 3096 done 2545 3097 done 3098 IFS=$as_save_IFS 2546 3099 2547 3100 fi … … 2549 3102 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2550 3103 if test -n "$ac_ct_CXX"; then 2551 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2552 echo "${ECHO_T}$ac_ct_CXX" >&6 2553 else 2554 echo "$as_me:$LINENO: result: no" >&5 2555 echo "${ECHO_T}no" >&6 2556 fi 3104 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 3105 $as_echo "$ac_ct_CXX" >&6; } 3106 else 3107 { $as_echo "$as_me:$LINENO: result: no" >&5 3108 $as_echo "no" >&6; } 3109 fi 3110 2557 3111 2558 3112 test -n "$ac_ct_CXX" && break 2559 3113 done 2560 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2561 2562 CXX=$ac_ct_CXX 2563 fi 2564 2565 3114 3115 if test "x$ac_ct_CXX" = x; then 3116 CXX="g++" 3117 else 3118 case $cross_compiling:$ac_tool_warned in 3119 yes:) 3120 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3122 ac_tool_warned=yes ;; 3123 esac 3124 CXX=$ac_ct_CXX 3125 fi 3126 fi 3127 3128 fi 3129 fi 2566 3130 # Provide some information about the compiler. 2567 echo "$as_me:$LINENO:" \ 2568 "checking for C++ compiler version" >&5 2569 ac_compiler=`set X $ac_compile; echo $2` 2570 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2571 (eval $ac_compiler --version </dev/null >&5) 2>&5 3131 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3132 set X $ac_compile 3133 ac_compiler=$2 3134 { (ac_try="$ac_compiler --version >&5" 3135 case "(($ac_try" in 3136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3137 *) ac_try_echo=$ac_try;; 3138 esac 3139 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3140 $as_echo "$ac_try_echo") >&5 3141 (eval "$ac_compiler --version >&5") 2>&5 2572 3142 ac_status=$? 2573 echo "$as_me:$LINENO: \$? = $ac_status" >&53143 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2574 3144 (exit $ac_status); } 2575 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2576 (eval $ac_compiler -v </dev/null >&5) 2>&5 3145 { (ac_try="$ac_compiler -v >&5" 3146 case "(($ac_try" in 3147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3148 *) ac_try_echo=$ac_try;; 3149 esac 3150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3151 $as_echo "$ac_try_echo") >&5 3152 (eval "$ac_compiler -v >&5") 2>&5 2577 3153 ac_status=$? 2578 echo "$as_me:$LINENO: \$? = $ac_status" >&53154 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2579 3155 (exit $ac_status); } 2580 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2581 (eval $ac_compiler -V </dev/null >&5) 2>&5 3156 { (ac_try="$ac_compiler -V >&5" 3157 case "(($ac_try" in 3158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3159 *) ac_try_echo=$ac_try;; 3160 esac 3161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3162 $as_echo "$ac_try_echo") >&5 3163 (eval "$ac_compiler -V >&5") 2>&5 2582 3164 ac_status=$? 2583 echo "$as_me:$LINENO: \$? = $ac_status" >&53165 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2584 3166 (exit $ac_status); } 2585 3167 2586 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&52587 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 3168 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3169 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 2588 3170 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2589 echo $ECHO_N "(cached) $ECHO_C" >&63171 $as_echo_n "(cached) " >&6 2590 3172 else 2591 3173 cat >conftest.$ac_ext <<_ACEOF … … 2608 3190 _ACEOF 2609 3191 rm -f conftest.$ac_objext 2610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2611 (eval $ac_compile) 2>conftest.er1 3192 if { (ac_try="$ac_compile" 3193 case "(($ac_try" in 3194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3195 *) ac_try_echo=$ac_try;; 3196 esac 3197 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3198 $as_echo "$ac_try_echo") >&5 3199 (eval "$ac_compile") 2>conftest.er1 2612 3200 ac_status=$? 2613 3201 grep -v '^ *+' conftest.er1 >conftest.err 2614 3202 rm -f conftest.er1 2615 3203 cat conftest.err >&5 2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2617 (exit $ac_status); } && 2618 { ac_try='test -z "$ac_cxx_werror_flag" 2619 || test ! -s conftest.err' 2620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2621 (eval $ac_try) 2>&5 2622 ac_status=$? 2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2624 (exit $ac_status); }; } && 2625 { ac_try='test -s conftest.$ac_objext' 2626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2627 (eval $ac_try) 2>&5 2628 ac_status=$? 2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2630 (exit $ac_status); }; }; then 3204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3205 (exit $ac_status); } && { 3206 test -z "$ac_cxx_werror_flag" || 3207 test ! -s conftest.err 3208 } && test -s conftest.$ac_objext; then 2631 3209 ac_compiler_gnu=yes 2632 3210 else 2633 echo "$as_me: failed program was:" >&53211 $as_echo "$as_me: failed program was:" >&5 2634 3212 sed 's/^/| /' conftest.$ac_ext >&5 2635 3213 2636 ac_compiler_gnu=no 2637 fi 2638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3214 ac_compiler_gnu=no 3215 fi 3216 3217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2639 3218 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2640 3219 2641 3220 fi 2642 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2643 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2644 GXX=`test $ac_compiler_gnu = yes && echo yes` 3221 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3222 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3223 if test $ac_compiler_gnu = yes; then 3224 GXX=yes 3225 else 3226 GXX= 3227 fi 2645 3228 ac_test_CXXFLAGS=${CXXFLAGS+set} 2646 3229 ac_save_CXXFLAGS=$CXXFLAGS 2647 CXXFLAGS="-g" 2648 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2649 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 3230 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3231 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 2650 3232 if test "${ac_cv_prog_cxx_g+set}" = set; then 2651 echo $ECHO_N "(cached) $ECHO_C" >&6 2652 else 2653 cat >conftest.$ac_ext <<_ACEOF 3233 $as_echo_n "(cached) " >&6 3234 else 3235 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3236 ac_cxx_werror_flag=yes 3237 ac_cv_prog_cxx_g=no 3238 CXXFLAGS="-g" 3239 cat >conftest.$ac_ext <<_ACEOF 2654 3240 /* confdefs.h. */ 2655 3241 _ACEOF … … 2667 3253 _ACEOF 2668 3254 rm -f conftest.$ac_objext 2669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2670 (eval $ac_compile) 2>conftest.er1 3255 if { (ac_try="$ac_compile" 3256 case "(($ac_try" in 3257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3258 *) ac_try_echo=$ac_try;; 3259 esac 3260 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3261 $as_echo "$ac_try_echo") >&5 3262 (eval "$ac_compile") 2>conftest.er1 2671 3263 ac_status=$? 2672 3264 grep -v '^ *+' conftest.er1 >conftest.err 2673 3265 rm -f conftest.er1 2674 3266 cat conftest.err >&5 2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2676 (exit $ac_status); } && 2677 { ac_try='test -z "$ac_cxx_werror_flag" 2678 || test ! -s conftest.err' 2679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2680 (eval $ac_try) 2>&5 3267 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3268 (exit $ac_status); } && { 3269 test -z "$ac_cxx_werror_flag" || 3270 test ! -s conftest.err 3271 } && test -s conftest.$ac_objext; then 3272 ac_cv_prog_cxx_g=yes 3273 else 3274 $as_echo "$as_me: failed program was:" >&5 3275 sed 's/^/| /' conftest.$ac_ext >&5 3276 3277 CXXFLAGS="" 3278 cat >conftest.$ac_ext <<_ACEOF 3279 /* confdefs.h. */ 3280 _ACEOF 3281 cat confdefs.h >>conftest.$ac_ext 3282 cat >>conftest.$ac_ext <<_ACEOF 3283 /* end confdefs.h. */ 3284 3285 int 3286 main () 3287 { 3288 3289 ; 3290 return 0; 3291 } 3292 _ACEOF 3293 rm -f conftest.$ac_objext 3294 if { (ac_try="$ac_compile" 3295 case "(($ac_try" in 3296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3297 *) ac_try_echo=$ac_try;; 3298 esac 3299 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3300 $as_echo "$ac_try_echo") >&5 3301 (eval "$ac_compile") 2>conftest.er1 2681 3302 ac_status=$? 2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2683 (exit $ac_status); }; } && 2684 { ac_try='test -s conftest.$ac_objext' 2685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2686 (eval $ac_try) 2>&5 3303 grep -v '^ *+' conftest.er1 >conftest.err 3304 rm -f conftest.er1 3305 cat conftest.err >&5 3306 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3307 (exit $ac_status); } && { 3308 test -z "$ac_cxx_werror_flag" || 3309 test ! -s conftest.err 3310 } && test -s conftest.$ac_objext; then 3311 : 3312 else 3313 $as_echo "$as_me: failed program was:" >&5 3314 sed 's/^/| /' conftest.$ac_ext >&5 3315 3316 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3317 CXXFLAGS="-g" 3318 cat >conftest.$ac_ext <<_ACEOF 3319 /* confdefs.h. */ 3320 _ACEOF 3321 cat confdefs.h >>conftest.$ac_ext 3322 cat >>conftest.$ac_ext <<_ACEOF 3323 /* end confdefs.h. */ 3324 3325 int 3326 main () 3327 { 3328 3329 ; 3330 return 0; 3331 } 3332 _ACEOF 3333 rm -f conftest.$ac_objext 3334 if { (ac_try="$ac_compile" 3335 case "(($ac_try" in 3336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3337 *) ac_try_echo=$ac_try;; 3338 esac 3339 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3340 $as_echo "$ac_try_echo") >&5 3341 (eval "$ac_compile") 2>conftest.er1 2687 3342 ac_status=$? 2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2689 (exit $ac_status); }; }; then 3343 grep -v '^ *+' conftest.er1 >conftest.err 3344 rm -f conftest.er1 3345 cat conftest.err >&5 3346 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3347 (exit $ac_status); } && { 3348 test -z "$ac_cxx_werror_flag" || 3349 test ! -s conftest.err 3350 } && test -s conftest.$ac_objext; then 2690 3351 ac_cv_prog_cxx_g=yes 2691 3352 else 2692 echo "$as_me: failed program was:" >&53353 $as_echo "$as_me: failed program was:" >&5 2693 3354 sed 's/^/| /' conftest.$ac_ext >&5 2694 3355 2695 ac_cv_prog_cxx_g=no 2696 fi 2697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2698 fi 2699 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2700 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3356 3357 fi 3358 3359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3360 fi 3361 3362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3363 fi 3364 3365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3366 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3367 fi 3368 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3369 $as_echo "$ac_cv_prog_cxx_g" >&6; } 2701 3370 if test "$ac_test_CXXFLAGS" = set; then 2702 3371 CXXFLAGS=$ac_save_CXXFLAGS … … 2714 3383 fi 2715 3384 fi 2716 for ac_declaration in \2717 '' \2718 'extern "C" void std::exit (int) throw (); using std::exit;' \2719 'extern "C" void std::exit (int); using std::exit;' \2720 'extern "C" void exit (int) throw ();' \2721 'extern "C" void exit (int);' \2722 'void exit (int);'2723 do2724 cat >conftest.$ac_ext <<_ACEOF2725 /* confdefs.h. */2726 _ACEOF2727 cat confdefs.h >>conftest.$ac_ext2728 cat >>conftest.$ac_ext <<_ACEOF2729 /* end confdefs.h. */2730 $ac_declaration2731 #include <stdlib.h>2732 int2733 main ()2734 {2735 exit (42);2736 ;2737 return 0;2738 }2739 _ACEOF2740 rm -f conftest.$ac_objext2741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52742 (eval $ac_compile) 2>conftest.er12743 ac_status=$?2744 grep -v '^ *+' conftest.er1 >conftest.err2745 rm -f conftest.er12746 cat conftest.err >&52747 echo "$as_me:$LINENO: \$? = $ac_status" >&52748 (exit $ac_status); } &&2749 { ac_try='test -z "$ac_cxx_werror_flag"2750 || test ! -s conftest.err'2751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52752 (eval $ac_try) 2>&52753 ac_status=$?2754 echo "$as_me:$LINENO: \$? = $ac_status" >&52755 (exit $ac_status); }; } &&2756 { ac_try='test -s conftest.$ac_objext'2757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52758 (eval $ac_try) 2>&52759 ac_status=$?2760 echo "$as_me:$LINENO: \$? = $ac_status" >&52761 (exit $ac_status); }; }; then2762 :2763 else2764 echo "$as_me: failed program was:" >&52765 sed 's/^/| /' conftest.$ac_ext >&52766 2767 continue2768 fi2769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2770 cat >conftest.$ac_ext <<_ACEOF2771 /* confdefs.h. */2772 _ACEOF2773 cat confdefs.h >>conftest.$ac_ext2774 cat >>conftest.$ac_ext <<_ACEOF2775 /* end confdefs.h. */2776 $ac_declaration2777 int2778 main ()2779 {2780 exit (42);2781 ;2782 return 0;2783 }2784 _ACEOF2785 rm -f conftest.$ac_objext2786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52787 (eval $ac_compile) 2>conftest.er12788 ac_status=$?2789 grep -v '^ *+' conftest.er1 >conftest.err2790 rm -f conftest.er12791 cat conftest.err >&52792 echo "$as_me:$LINENO: \$? = $ac_status" >&52793 (exit $ac_status); } &&2794 { ac_try='test -z "$ac_cxx_werror_flag"2795 || test ! -s conftest.err'2796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52797 (eval $ac_try) 2>&52798 ac_status=$?2799 echo "$as_me:$LINENO: \$? = $ac_status" >&52800 (exit $ac_status); }; } &&2801 { ac_try='test -s conftest.$ac_objext'2802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52803 (eval $ac_try) 2>&52804 ac_status=$?2805 echo "$as_me:$LINENO: \$? = $ac_status" >&52806 (exit $ac_status); }; }; then2807 break2808 else2809 echo "$as_me: failed program was:" >&52810 sed 's/^/| /' conftest.$ac_ext >&52811 2812 fi2813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2814 done2815 rm -f conftest*2816 if test -n "$ac_declaration"; then2817 echo '#ifdef __cplusplus' >>confdefs.h2818 echo $ac_declaration >>confdefs.h2819 echo '#endif' >>confdefs.h2820 fi2821 2822 3385 ac_ext=c 2823 3386 ac_cpp='$CPP $CPPFLAGS' … … 2835 3398 # Extract the first word of "$ac_prog", so it can be a program name with args. 2836 3399 set dummy $ac_prog; ac_word=$2 2837 echo "$as_me:$LINENO: checking for $ac_word" >&52838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3400 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3401 $as_echo_n "checking for $ac_word... " >&6; } 2839 3402 if test "${ac_cv_prog_JAVAC+set}" = set; then 2840 echo $ECHO_N "(cached) $ECHO_C" >&63403 $as_echo_n "(cached) " >&6 2841 3404 else 2842 3405 if test -n "$JAVAC"; then … … 2849 3412 test -z "$as_dir" && as_dir=. 2850 3413 for ac_exec_ext in '' $ac_executable_extensions; do 2851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2852 3415 ac_cv_prog_JAVAC="$ac_prog" 2853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53416 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2854 3417 break 2 2855 3418 fi 2856 3419 done 2857 3420 done 3421 IFS=$as_save_IFS 2858 3422 2859 3423 fi … … 2861 3425 JAVAC=$ac_cv_prog_JAVAC 2862 3426 if test -n "$JAVAC"; then 2863 echo "$as_me:$LINENO: result: $JAVAC" >&5 2864 echo "${ECHO_T}$JAVAC" >&6 2865 else 2866 echo "$as_me:$LINENO: result: no" >&5 2867 echo "${ECHO_T}no" >&6 2868 fi 3427 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3428 $as_echo "$JAVAC" >&6; } 3429 else 3430 { $as_echo "$as_me:$LINENO: result: no" >&5 3431 $as_echo "no" >&6; } 3432 fi 3433 2869 3434 2870 3435 test -n "$JAVAC" && break … … 2876 3441 # Extract the first word of "$ac_prog", so it can be a program name with args. 2877 3442 set dummy $ac_prog; ac_word=$2 2878 echo "$as_me:$LINENO: checking for $ac_word" >&52879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3443 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3444 $as_echo_n "checking for $ac_word... " >&6; } 2880 3445 if test "${ac_cv_prog_JAVAC+set}" = set; then 2881 echo $ECHO_N "(cached) $ECHO_C" >&63446 $as_echo_n "(cached) " >&6 2882 3447 else 2883 3448 if test -n "$JAVAC"; then … … 2890 3455 test -z "$as_dir" && as_dir=. 2891 3456 for ac_exec_ext in '' $ac_executable_extensions; do 2892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2893 3458 ac_cv_prog_JAVAC="$ac_prog" 2894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53459 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2895 3460 break 2 2896 3461 fi 2897 3462 done 2898 3463 done 3464 IFS=$as_save_IFS 2899 3465 2900 3466 fi … … 2902 3468 JAVAC=$ac_cv_prog_JAVAC 2903 3469 if test -n "$JAVAC"; then 2904 echo "$as_me:$LINENO: result: $JAVAC" >&5 2905 echo "${ECHO_T}$JAVAC" >&6 2906 else 2907 echo "$as_me:$LINENO: result: no" >&5 2908 echo "${ECHO_T}no" >&6 2909 fi 3470 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3471 $as_echo "$JAVAC" >&6; } 3472 else 3473 { $as_echo "$as_me:$LINENO: result: no" >&5 3474 $as_echo "no" >&6; } 3475 fi 3476 2910 3477 2911 3478 test -n "$JAVAC" && break … … 2914 3481 2915 3482 fi 2916 test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&52917 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}3483 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3484 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 2918 3485 { (exit 1); exit 1; }; } 2919 3486 else … … 2923 3490 2924 3491 2925 echo "$as_me:$LINENO: checking if $JAVAC works" >&52926 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6 3492 { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5 3493 $as_echo_n "checking if $JAVAC works... " >&6; } 2927 3494 if test "${ac_cv_prog_javac_works+set}" = set; then 2928 echo $ECHO_N "(cached) $ECHO_C" >&63495 $as_echo_n "(cached) " >&6 2929 3496 else 2930 3497 … … 2932 3499 CLASS_TEST=Test.class 2933 3500 cat << \EOF > $JAVA_TEST 2934 /* #line 2934"configure" */3501 /* #line 3501 "configure" */ 2935 3502 public class Test { 2936 3503 } … … 2940 3507 (eval $ac_try) 2>&5 2941 3508 ac_status=$? 2942 echo "$as_me:$LINENO: \$? = $ac_status" >&53509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2943 3510 (exit $ac_status); }; } >/dev/null 2>&1; then 2944 3511 ac_cv_prog_javac_works=yes 2945 3512 else 2946 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&52947 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}3513 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3514 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 2948 3515 { (exit 1); exit 1; }; } 2949 3516 echo "configure: failed program was:" >&5 … … 2953 3520 2954 3521 fi 2955 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&52956 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6 3522 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 3523 $as_echo "$ac_cv_prog_javac_works" >&6; } 2957 3524 if test "x$JAVACFLAGS" = x ; then 2958 3525 JAVACFLAGS="-source 1.4 -target 1.4" … … 2968 3535 # Extract the first word of "$ac_prog", so it can be a program name with args. 2969 3536 set dummy $ac_prog; ac_word=$2 2970 echo "$as_me:$LINENO: checking for $ac_word" >&52971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3537 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3538 $as_echo_n "checking for $ac_word... " >&6; } 2972 3539 if test "${ac_cv_prog_JAVA+set}" = set; then 2973 echo $ECHO_N "(cached) $ECHO_C" >&63540 $as_echo_n "(cached) " >&6 2974 3541 else 2975 3542 if test -n "$JAVA"; then … … 2982 3549 test -z "$as_dir" && as_dir=. 2983 3550 for ac_exec_ext in '' $ac_executable_extensions; do 2984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2985 3552 ac_cv_prog_JAVA="$ac_prog" 2986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53553 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2987 3554 break 2 2988 3555 fi 2989 3556 done 2990 3557 done 3558 IFS=$as_save_IFS 2991 3559 2992 3560 fi … … 2994 3562 JAVA=$ac_cv_prog_JAVA 2995 3563 if test -n "$JAVA"; then 2996 echo "$as_me:$LINENO: result: $JAVA" >&5 2997 echo "${ECHO_T}$JAVA" >&6 2998 else 2999 echo "$as_me:$LINENO: result: no" >&5 3000 echo "${ECHO_T}no" >&6 3001 fi 3564 { $as_echo "$as_me:$LINENO: result: $JAVA" >&5 3565 $as_echo "$JAVA" >&6; } 3566 else 3567 { $as_echo "$as_me:$LINENO: result: no" >&5 3568 $as_echo "no" >&6; } 3569 fi 3570 3002 3571 3003 3572 test -n "$JAVA" && break … … 3009 3578 # Extract the first word of "$ac_prog", so it can be a program name with args. 3010 3579 set dummy $ac_prog; ac_word=$2 3011 echo "$as_me:$LINENO: checking for $ac_word" >&53012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3580 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3581 $as_echo_n "checking for $ac_word... " >&6; } 3013 3582 if test "${ac_cv_prog_JAVA+set}" = set; then 3014 echo $ECHO_N "(cached) $ECHO_C" >&63583 $as_echo_n "(cached) " >&6 3015 3584 else 3016 3585 if test -n "$JAVA"; then … … 3023 3592 test -z "$as_dir" && as_dir=. 3024 3593 for ac_exec_ext in '' $ac_executable_extensions; do 3025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3026 3595 ac_cv_prog_JAVA="$ac_prog" 3027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53596 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3028 3597 break 2 3029 3598 fi 3030 3599 done 3031 3600 done 3601 IFS=$as_save_IFS 3032 3602 3033 3603 fi … … 3035 3605 JAVA=$ac_cv_prog_JAVA 3036 3606 if test -n "$JAVA"; then 3037 echo "$as_me:$LINENO: result: $JAVA" >&5 3038 echo "${ECHO_T}$JAVA" >&6 3039 else 3040 echo "$as_me:$LINENO: result: no" >&5 3041 echo "${ECHO_T}no" >&6 3042 fi 3607 { $as_echo "$as_me:$LINENO: result: $JAVA" >&5 3608 $as_echo "$JAVA" >&6; } 3609 else 3610 { $as_echo "$as_me:$LINENO: result: no" >&5 3611 $as_echo "no" >&6; } 3612 fi 3613 3043 3614 3044 3615 test -n "$JAVA" && break … … 3047 3618 3048 3619 fi 3049 test x$JAVA = x && { { echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&53050 echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;}3620 test x$JAVA = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5 3621 $as_echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;} 3051 3622 { (exit 1); exit 1; }; } 3052 3623 fi … … 3055 3626 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args. 3056 3627 set dummy uudecode$EXEEXT; ac_word=$2 3057 echo "$as_me:$LINENO: checking for $ac_word" >&53058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3628 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3629 $as_echo_n "checking for $ac_word... " >&6; } 3059 3630 if test "${ac_cv_prog_uudecode+set}" = set; then 3060 echo $ECHO_N "(cached) $ECHO_C" >&63631 $as_echo_n "(cached) " >&6 3061 3632 else 3062 3633 if test -n "$uudecode"; then … … 3069 3640 test -z "$as_dir" && as_dir=. 3070 3641 for ac_exec_ext in '' $ac_executable_extensions; do 3071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3072 3643 ac_cv_prog_uudecode="yes" 3073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53644 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3074 3645 break 2 3075 3646 fi 3076 3647 done 3077 3648 done 3649 IFS=$as_save_IFS 3078 3650 3079 3651 fi … … 3081 3653 uudecode=$ac_cv_prog_uudecode 3082 3654 if test -n "$uudecode"; then 3083 echo "$as_me:$LINENO: result: $uudecode" >&5 3084 echo "${ECHO_T}$uudecode" >&6 3085 else 3086 echo "$as_me:$LINENO: result: no" >&5 3087 echo "${ECHO_T}no" >&6 3088 fi 3655 { $as_echo "$as_me:$LINENO: result: $uudecode" >&5 3656 $as_echo "$uudecode" >&6; } 3657 else 3658 { $as_echo "$as_me:$LINENO: result: no" >&5 3659 $as_echo "no" >&6; } 3660 fi 3661 3089 3662 3090 3663 if test x$uudecode = xyes; then 3091 echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&53092 echo $ECHO_N "checking if uudecode can decode base 64 file... $ECHO_C" >&6 3664 { $as_echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5 3665 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; } 3093 3666 if test "${ac_cv_prog_uudecode_base64+set}" = set; then 3094 echo $ECHO_N "(cached) $ECHO_C" >&63667 $as_echo_n "(cached) " >&6 3095 3668 else 3096 3669 … … 3109 3682 ac_cv_prog_uudecode_base64=yes 3110 3683 else 3111 echo "configure: 3 111: uudecode had trouble decoding base 64 file 'Test.uue'" >&53684 echo "configure: 3684: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 3112 3685 echo "configure: failed file was:" >&5 3113 3686 cat Test.uue >&5 … … 3116 3689 rm -f Test.uue 3117 3690 fi 3118 echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&53119 echo "${ECHO_T}$ac_cv_prog_uudecode_base64" >&6 3691 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5 3692 $as_echo "$ac_cv_prog_uudecode_base64" >&6; } 3120 3693 fi 3121 3694 if test x$ac_cv_prog_uudecode_base64 != xyes; then 3122 3695 rm -f Test.class 3123 { echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&53124 echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}3696 { $as_echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5 3697 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;} 3125 3698 if test x$ac_cv_prog_javac_works = xno; then 3126 { { echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&53127 echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;}3699 { { $as_echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5 3700 $as_echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;} 3128 3701 { (exit 1); exit 1; }; } 3129 3702 fi … … 3136 3709 # Extract the first word of "$ac_prog", so it can be a program name with args. 3137 3710 set dummy $ac_prog; ac_word=$2 3138 echo "$as_me:$LINENO: checking for $ac_word" >&53139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3711 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3712 $as_echo_n "checking for $ac_word... " >&6; } 3140 3713 if test "${ac_cv_prog_JAVAC+set}" = set; then 3141 echo $ECHO_N "(cached) $ECHO_C" >&63714 $as_echo_n "(cached) " >&6 3142 3715 else 3143 3716 if test -n "$JAVAC"; then … … 3150 3723 test -z "$as_dir" && as_dir=. 3151 3724 for ac_exec_ext in '' $ac_executable_extensions; do 3152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3153 3726 ac_cv_prog_JAVAC="$ac_prog" 3154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53727 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3155 3728 break 2 3156 3729 fi 3157 3730 done 3158 3731 done 3732 IFS=$as_save_IFS 3159 3733 3160 3734 fi … … 3162 3736 JAVAC=$ac_cv_prog_JAVAC 3163 3737 if test -n "$JAVAC"; then 3164 echo "$as_me:$LINENO: result: $JAVAC" >&5 3165 echo "${ECHO_T}$JAVAC" >&6 3166 else 3167 echo "$as_me:$LINENO: result: no" >&5 3168 echo "${ECHO_T}no" >&6 3169 fi 3738 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3739 $as_echo "$JAVAC" >&6; } 3740 else 3741 { $as_echo "$as_me:$LINENO: result: no" >&5 3742 $as_echo "no" >&6; } 3743 fi 3744 3170 3745 3171 3746 test -n "$JAVAC" && break … … 3177 3752 # Extract the first word of "$ac_prog", so it can be a program name with args. 3178 3753 set dummy $ac_prog; ac_word=$2 3179 echo "$as_me:$LINENO: checking for $ac_word" >&53180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3754 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3755 $as_echo_n "checking for $ac_word... " >&6; } 3181 3756 if test "${ac_cv_prog_JAVAC+set}" = set; then 3182 echo $ECHO_N "(cached) $ECHO_C" >&63757 $as_echo_n "(cached) " >&6 3183 3758 else 3184 3759 if test -n "$JAVAC"; then … … 3191 3766 test -z "$as_dir" && as_dir=. 3192 3767 for ac_exec_ext in '' $ac_executable_extensions; do 3193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3194 3769 ac_cv_prog_JAVAC="$ac_prog" 3195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53770 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3196 3771 break 2 3197 3772 fi 3198 3773 done 3199 3774 done 3775 IFS=$as_save_IFS 3200 3776 3201 3777 fi … … 3203 3779 JAVAC=$ac_cv_prog_JAVAC 3204 3780 if test -n "$JAVAC"; then 3205 echo "$as_me:$LINENO: result: $JAVAC" >&5 3206 echo "${ECHO_T}$JAVAC" >&6 3207 else 3208 echo "$as_me:$LINENO: result: no" >&5 3209 echo "${ECHO_T}no" >&6 3210 fi 3781 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3782 $as_echo "$JAVAC" >&6; } 3783 else 3784 { $as_echo "$as_me:$LINENO: result: no" >&5 3785 $as_echo "no" >&6; } 3786 fi 3787 3211 3788 3212 3789 test -n "$JAVAC" && break … … 3215 3792 3216 3793 fi 3217 test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&53218 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}3794 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3795 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 3219 3796 { (exit 1); exit 1; }; } 3220 3797 else … … 3224 3801 3225 3802 3226 echo "$as_me:$LINENO: checking if $JAVAC works" >&53227 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6 3803 { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5 3804 $as_echo_n "checking if $JAVAC works... " >&6; } 3228 3805 if test "${ac_cv_prog_javac_works+set}" = set; then 3229 echo $ECHO_N "(cached) $ECHO_C" >&63806 $as_echo_n "(cached) " >&6 3230 3807 else 3231 3808 … … 3233 3810 CLASS_TEST=Test.class 3234 3811 cat << \EOF > $JAVA_TEST 3235 /* #line 3 235"configure" */3812 /* #line 3812 "configure" */ 3236 3813 public class Test { 3237 3814 } … … 3241 3818 (eval $ac_try) 2>&5 3242 3819 ac_status=$? 3243 echo "$as_me:$LINENO: \$? = $ac_status" >&53820 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3244 3821 (exit $ac_status); }; } >/dev/null 2>&1; then 3245 3822 ac_cv_prog_javac_works=yes 3246 3823 else 3247 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&53248 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}3824 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3825 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3249 3826 { (exit 1); exit 1; }; } 3250 3827 echo "configure: failed program was:" >&5 … … 3254 3831 3255 3832 fi 3256 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&53257 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6 3833 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 3834 $as_echo "$ac_cv_prog_javac_works" >&6; } 3258 3835 if test "x$JAVACFLAGS" = x ; then 3259 3836 JAVACFLAGS="-source 1.4 -target 1.4" … … 3264 3841 fi 3265 3842 fi 3266 echo "$as_me:$LINENO: checking if $JAVA works" >&53267 echo $ECHO_N "checking if $JAVA works... $ECHO_C" >&6 3843 { $as_echo "$as_me:$LINENO: checking if $JAVA works" >&5 3844 $as_echo_n "checking if $JAVA works... " >&6; } 3268 3845 if test "${ac_cv_prog_java_works+set}" = set; then 3269 echo $ECHO_N "(cached) $ECHO_C" >&63846 $as_echo_n "(cached) " >&6 3270 3847 else 3271 3848 … … 3274 3851 TEST=Test 3275 3852 cat << \EOF > $JAVA_TEST 3276 /* [#]line 3 276"configure" */3853 /* [#]line 3853 "configure" */ 3277 3854 public class Test { 3278 3855 public static void main (String args[]) { … … 3285 3862 (eval $ac_try) 2>&5 3286 3863 ac_status=$? 3287 echo "$as_me:$LINENO: \$? = $ac_status" >&53864 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3288 3865 (exit $ac_status); }; } && test -s $CLASS_TEST; then 3289 3866 : … … 3291 3868 echo "configure: failed program was:" >&5 3292 3869 cat $JAVA_TEST >&5 3293 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&53294 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}3870 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3871 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3295 3872 { (exit 1); exit 1; }; } 3296 3873 fi … … 3300 3877 (eval $ac_try) 2>&5 3301 3878 ac_status=$? 3302 echo "$as_me:$LINENO: \$? = $ac_status" >&53879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3303 3880 (exit $ac_status); }; } >/dev/null 2>&1; then 3304 3881 ac_cv_prog_java_works=yes … … 3306 3883 echo "configure: failed program was:" >&5 3307 3884 cat $JAVA_TEST >&5 3308 { { echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&53309 echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;}3885 { { $as_echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5 3886 $as_echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;} 3310 3887 { (exit 1); exit 1; }; } 3311 3888 fi … … 3313 3890 3314 3891 fi 3315 echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&53316 echo "${ECHO_T}$ac_cv_prog_java_works" >&6 3892 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5 3893 $as_echo "$ac_cv_prog_java_works" >&6; } 3317 3894 3318 3895 … … 3323 3900 # Extract the first word of "$ac_prog", so it can be a program name with args. 3324 3901 set dummy $ac_prog; ac_word=$2 3325 echo "$as_me:$LINENO: checking for $ac_word" >&53326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3902 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3903 $as_echo_n "checking for $ac_word... " >&6; } 3327 3904 if test "${ac_cv_prog_AWK+set}" = set; then 3328 echo $ECHO_N "(cached) $ECHO_C" >&63905 $as_echo_n "(cached) " >&6 3329 3906 else 3330 3907 if test -n "$AWK"; then … … 3337 3914 test -z "$as_dir" && as_dir=. 3338 3915 for ac_exec_ext in '' $ac_executable_extensions; do 3339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3340 3917 ac_cv_prog_AWK="$ac_prog" 3341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53918 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3342 3919 break 2 3343 3920 fi 3344 3921 done 3345 3922 done 3923 IFS=$as_save_IFS 3346 3924 3347 3925 fi … … 3349 3927 AWK=$ac_cv_prog_AWK 3350 3928 if test -n "$AWK"; then 3351 echo "$as_me:$LINENO: result: $AWK" >&5 3352 echo "${ECHO_T}$AWK" >&6 3353 else 3354 echo "$as_me:$LINENO: result: no" >&5 3355 echo "${ECHO_T}no" >&6 3356 fi 3929 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 3930 $as_echo "$AWK" >&6; } 3931 else 3932 { $as_echo "$as_me:$LINENO: result: no" >&5 3933 $as_echo "no" >&6; } 3934 fi 3935 3357 3936 3358 3937 test -n "$AWK" && break … … 3363 3942 # Extract the first word of "$ac_prog", so it can be a program name with args. 3364 3943 set dummy $ac_prog; ac_word=$2 3365 echo "$as_me:$LINENO: checking for $ac_word" >&53366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3944 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3945 $as_echo_n "checking for $ac_word... " >&6; } 3367 3946 if test "${ac_cv_prog_YACC+set}" = set; then 3368 echo $ECHO_N "(cached) $ECHO_C" >&63947 $as_echo_n "(cached) " >&6 3369 3948 else 3370 3949 if test -n "$YACC"; then … … 3377 3956 test -z "$as_dir" && as_dir=. 3378 3957 for ac_exec_ext in '' $ac_executable_extensions; do 3379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3380 3959 ac_cv_prog_YACC="$ac_prog" 3381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53960 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3382 3961 break 2 3383 3962 fi 3384 3963 done 3385 3964 done 3965 IFS=$as_save_IFS 3386 3966 3387 3967 fi … … 3389 3969 YACC=$ac_cv_prog_YACC 3390 3970 if test -n "$YACC"; then 3391 echo "$as_me:$LINENO: result: $YACC" >&5 3392 echo "${ECHO_T}$YACC" >&6 3393 else 3394 echo "$as_me:$LINENO: result: no" >&5 3395 echo "${ECHO_T}no" >&6 3396 fi 3971 { $as_echo "$as_me:$LINENO: result: $YACC" >&5 3972 $as_echo "$YACC" >&6; } 3973 else 3974 { $as_echo "$as_me:$LINENO: result: no" >&5 3975 $as_echo "no" >&6; } 3976 fi 3977 3397 3978 3398 3979 test -n "$YACC" && break … … 3401 3982 3402 3983 ac_aux_dir= 3403 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do3404 if test -f $ac_dir/install-sh; then3984 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3985 if test -f "$ac_dir/install-sh"; then 3405 3986 ac_aux_dir=$ac_dir 3406 3987 ac_install_sh="$ac_aux_dir/install-sh -c" 3407 3988 break 3408 elif test -f $ac_dir/install.sh; then3989 elif test -f "$ac_dir/install.sh"; then 3409 3990 ac_aux_dir=$ac_dir 3410 3991 ac_install_sh="$ac_aux_dir/install.sh -c" 3411 3992 break 3412 elif test -f $ac_dir/shtool; then3993 elif test -f "$ac_dir/shtool"; then 3413 3994 ac_aux_dir=$ac_dir 3414 3995 ac_install_sh="$ac_aux_dir/shtool install -c" … … 3417 3998 done 3418 3999 if test -z "$ac_aux_dir"; then 3419 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&53420 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}4000 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 4001 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 3421 4002 { (exit 1); exit 1; }; } 3422 4003 fi 3423 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 3424 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 3425 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 4004 4005 # These three variables are undocumented and unsupported, 4006 # and are intended to be withdrawn in a future Autoconf release. 4007 # They can cause serious problems if a builder's source tree is in a directory 4008 # whose full name contains unusual characters. 4009 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 4010 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 4011 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 4012 3426 4013 3427 4014 # Make sure we can run config.sub. 3428 $ ac_config_subsun4 >/dev/null 2>&1 ||3429 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&53430 echo "$as_me: error: cannot run $ac_config_sub" >&2;}4015 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4016 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 4017 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 3431 4018 { (exit 1); exit 1; }; } 3432 4019 3433 echo "$as_me:$LINENO: checking build system type" >&53434 echo $ECHO_N "checking build system type... $ECHO_C" >&6 4020 { $as_echo "$as_me:$LINENO: checking build system type" >&5 4021 $as_echo_n "checking build system type... " >&6; } 3435 4022 if test "${ac_cv_build+set}" = set; then 3436 echo $ECHO_N "(cached) $ECHO_C" >&63437 else 3438 ac_ cv_build_alias=$build_alias3439 test -z "$ac_cv_build_alias"&&3440 ac_ cv_build_alias=`$ac_config_guess`3441 test -z "$ac_cv_build_alias"&&3442 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&53443 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}4023 $as_echo_n "(cached) " >&6 4024 else 4025 ac_build_alias=$build_alias 4026 test "x$ac_build_alias" = x && 4027 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4028 test "x$ac_build_alias" = x && 4029 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 4030 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3444 4031 { (exit 1); exit 1; }; } 3445 ac_cv_build=`$ ac_config_sub $ac_cv_build_alias` ||3446 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&53447 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}4032 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4033 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 4034 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 3448 4035 { (exit 1); exit 1; }; } 3449 4036 3450 4037 fi 3451 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3452 echo "${ECHO_T}$ac_cv_build" >&6 4038 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 4039 $as_echo "$ac_cv_build" >&6; } 4040 case $ac_cv_build in 4041 *-*-*) ;; 4042 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 4043 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 4044 { (exit 1); exit 1; }; };; 4045 esac 3453 4046 build=$ac_cv_build 3454 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3455 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3456 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3457 3458 3459 echo "$as_me:$LINENO: checking host system type" >&5 3460 echo $ECHO_N "checking host system type... $ECHO_C" >&6 4047 ac_save_IFS=$IFS; IFS='-' 4048 set x $ac_cv_build 4049 shift 4050 build_cpu=$1 4051 build_vendor=$2 4052 shift; shift 4053 # Remember, the first character of IFS is used to create $*, 4054 # except with old shells: 4055 build_os=$* 4056 IFS=$ac_save_IFS 4057 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4058 4059 4060 { $as_echo "$as_me:$LINENO: checking host system type" >&5 4061 $as_echo_n "checking host system type... " >&6; } 3461 4062 if test "${ac_cv_host+set}" = set; then 3462 echo $ECHO_N "(cached) $ECHO_C" >&63463 else 3464 ac_cv_host_alias=$host_alias3465 test -z "$ac_cv_host_alias" && 3466 ac_cv_host_alias=$ac_cv_build_alias 3467 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||3468 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&53469 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}4063 $as_echo_n "(cached) " >&6 4064 else 4065 if test "x$host_alias" = x; then 4066 ac_cv_host=$ac_cv_build 4067 else 4068 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4069 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 4070 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 3470 4071 { (exit 1); exit 1; }; } 3471 3472 fi 3473 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3474 echo "${ECHO_T}$ac_cv_host" >&6 4072 fi 4073 4074 fi 4075 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 4076 $as_echo "$ac_cv_host" >&6; } 4077 case $ac_cv_host in 4078 *-*-*) ;; 4079 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 4080 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 4081 { (exit 1); exit 1; }; };; 4082 esac 3475 4083 host=$ac_cv_host 3476 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3477 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3478 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3479 3480 3481 echo "$as_me:$LINENO: checking target system type" >&5 3482 echo $ECHO_N "checking target system type... $ECHO_C" >&6 4084 ac_save_IFS=$IFS; IFS='-' 4085 set x $ac_cv_host 4086 shift 4087 host_cpu=$1 4088 host_vendor=$2 4089 shift; shift 4090 # Remember, the first character of IFS is used to create $*, 4091 # except with old shells: 4092 host_os=$* 4093 IFS=$ac_save_IFS 4094 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4095 4096 4097 { $as_echo "$as_me:$LINENO: checking target system type" >&5 4098 $as_echo_n "checking target system type... " >&6; } 3483 4099 if test "${ac_cv_target+set}" = set; then 3484 echo $ECHO_N "(cached) $ECHO_C" >&63485 else 3486 ac_cv_target_alias=$target_alias3487 test "x$ac_cv_target_alias" = "x" && 3488 ac_cv_target_alias=$ac_cv_host_alias 3489 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||3490 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&53491 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}4100 $as_echo_n "(cached) " >&6 4101 else 4102 if test "x$target_alias" = x; then 4103 ac_cv_target=$ac_cv_host 4104 else 4105 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 4106 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 4107 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 3492 4108 { (exit 1); exit 1; }; } 3493 3494 fi 3495 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 3496 echo "${ECHO_T}$ac_cv_target" >&6 4109 fi 4110 4111 fi 4112 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 4113 $as_echo "$ac_cv_target" >&6; } 4114 case $ac_cv_target in 4115 *-*-*) ;; 4116 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 4117 $as_echo "$as_me: error: invalid value of canonical target" >&2;} 4118 { (exit 1); exit 1; }; };; 4119 esac 3497 4120 target=$ac_cv_target 3498 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3499 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3500 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 4121 ac_save_IFS=$IFS; IFS='-' 4122 set x $ac_cv_target 4123 shift 4124 target_cpu=$1 4125 target_vendor=$2 4126 shift; shift 4127 # Remember, the first character of IFS is used to create $*, 4128 # except with old shells: 4129 target_os=$* 4130 IFS=$ac_save_IFS 4131 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 3501 4132 3502 4133 … … 3520 4151 # OS/2's system install, which has a completely different semantic 3521 4152 # ./install, which can be erroneously created by make from ./install.sh. 3522 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3523 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 4153 # Reject install programs that cannot install multiple files. 4154 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 4155 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3524 4156 if test -z "$INSTALL"; then 3525 4157 if test "${ac_cv_path_install+set}" = set; then 3526 echo $ECHO_N "(cached) $ECHO_C" >&64158 $as_echo_n "(cached) " >&6 3527 4159 else 3528 4160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 3543 4175 for ac_prog in ginstall scoinst install; do 3544 4176 for ac_exec_ext in '' $ac_executable_extensions; do 3545 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then4177 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3546 4178 if test $ac_prog = install && 3547 4179 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 3553 4185 : 3554 4186 else 3555 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3556 break 3 4187 rm -rf conftest.one conftest.two conftest.dir 4188 echo one > conftest.one 4189 echo two > conftest.two 4190 mkdir conftest.dir 4191 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 4192 test -s conftest.one && test -s conftest.two && 4193 test -s conftest.dir/conftest.one && 4194 test -s conftest.dir/conftest.two 4195 then 4196 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 4197 break 3 4198 fi 3557 4199 fi 3558 4200 fi … … 3561 4203 ;; 3562 4204 esac 4205 3563 4206 done 3564 4207 IFS=$as_save_IFS 4208 4209 rm -rf conftest.one conftest.two conftest.dir 3565 4210 3566 4211 fi … … 3568 4213 INSTALL=$ac_cv_path_install 3569 4214 else 3570 # As a last resort, use the slow shell script. We don't cache a3571 # pathfor INSTALL within a source directory, because that will4215 # As a last resort, use the slow shell script. Don't cache a 4216 # value for INSTALL within a source directory, because that will 3572 4217 # break other packages using the cache if that directory is 3573 # removed, or if the path is relative.4218 # removed, or if the value is a relative name. 3574 4219 INSTALL=$ac_install_sh 3575 4220 fi 3576 4221 fi 3577 echo "$as_me:$LINENO: result: $INSTALL" >&53578 echo "${ECHO_T}$INSTALL" >&6 4222 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 4223 $as_echo "$INSTALL" >&6; } 3579 4224 3580 4225 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 3586 4231 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3587 4232 3588 echo "$as_me:$LINENO: checking whether ln -s works" >&53589 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 4233 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 4234 $as_echo_n "checking whether ln -s works... " >&6; } 3590 4235 LN_S=$as_ln_s 3591 4236 if test "$LN_S" = "ln -s"; then 3592 echo "$as_me:$LINENO: result: yes" >&5 3593 echo "${ECHO_T}yes" >&6 3594 else 3595 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3596 echo "${ECHO_T}no, using $LN_S" >&6 3597 fi 3598 3599 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3600 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3601 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 3602 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 3603 echo $ECHO_N "(cached) $ECHO_C" >&6 4237 { $as_echo "$as_me:$LINENO: result: yes" >&5 4238 $as_echo "yes" >&6; } 4239 else 4240 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4241 $as_echo "no, using $LN_S" >&6; } 4242 fi 4243 4244 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4245 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4246 set x ${MAKE-make} 4247 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4248 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 4249 $as_echo_n "(cached) " >&6 3604 4250 else 3605 4251 cat >conftest.make <<\_ACEOF 4252 SHELL = /bin/sh 3606 4253 all: 3607 @echo ' ac_maketemp="$(MAKE)"'4254 @echo '@@@%%%=$(MAKE)=@@@%%%' 3608 4255 _ACEOF 3609 4256 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3610 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3611 if test -n "$ac_maketemp"; then 3612 eval ac_cv_prog_make_${ac_make}_set=yes3613 else 3614 eval ac_cv_prog_make_${ac_make}_set=no3615 fi 4257 case `${MAKE-make} -f conftest.make 2>/dev/null` in 4258 *@@@%%%=?*=@@@%%%*) 4259 eval ac_cv_prog_make_${ac_make}_set=yes;; 4260 *) 4261 eval ac_cv_prog_make_${ac_make}_set=no;; 4262 esac 3616 4263 rm -f conftest.make 3617 4264 fi 3618 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then3619 echo "$as_me:$LINENO: result: yes" >&53620 echo "${ECHO_T}yes" >&6 4265 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 4266 { $as_echo "$as_me:$LINENO: result: yes" >&5 4267 $as_echo "yes" >&6; } 3621 4268 SET_MAKE= 3622 4269 else 3623 echo "$as_me:$LINENO: result: no" >&53624 echo "${ECHO_T}no" >&6 4270 { $as_echo "$as_me:$LINENO: result: no" >&5 4271 $as_echo "no" >&6; } 3625 4272 SET_MAKE="MAKE=${MAKE-make}" 3626 4273 fi … … 3629 4276 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3630 4277 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3631 echo "$as_me:$LINENO: checking for $ac_word" >&53632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4278 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4279 $as_echo_n "checking for $ac_word... " >&6; } 3633 4280 if test "${ac_cv_prog_RANLIB+set}" = set; then 3634 echo $ECHO_N "(cached) $ECHO_C" >&64281 $as_echo_n "(cached) " >&6 3635 4282 else 3636 4283 if test -n "$RANLIB"; then … … 3643 4290 test -z "$as_dir" && as_dir=. 3644 4291 for ac_exec_ext in '' $ac_executable_extensions; do 3645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3646 4293 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54294 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3648 4295 break 2 3649 4296 fi 3650 4297 done 3651 4298 done 4299 IFS=$as_save_IFS 3652 4300 3653 4301 fi … … 3655 4303 RANLIB=$ac_cv_prog_RANLIB 3656 4304 if test -n "$RANLIB"; then 3657 echo "$as_me:$LINENO: result: $RANLIB" >&5 3658 echo "${ECHO_T}$RANLIB" >&6 3659 else 3660 echo "$as_me:$LINENO: result: no" >&5 3661 echo "${ECHO_T}no" >&6 3662 fi 4305 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 4306 $as_echo "$RANLIB" >&6; } 4307 else 4308 { $as_echo "$as_me:$LINENO: result: no" >&5 4309 $as_echo "no" >&6; } 4310 fi 4311 3663 4312 3664 4313 fi … … 3667 4316 # Extract the first word of "ranlib", so it can be a program name with args. 3668 4317 set dummy ranlib; ac_word=$2 3669 echo "$as_me:$LINENO: checking for $ac_word" >&53670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4318 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4319 $as_echo_n "checking for $ac_word... " >&6; } 3671 4320 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3672 echo $ECHO_N "(cached) $ECHO_C" >&64321 $as_echo_n "(cached) " >&6 3673 4322 else 3674 4323 if test -n "$ac_ct_RANLIB"; then … … 3681 4330 test -z "$as_dir" && as_dir=. 3682 4331 for ac_exec_ext in '' $ac_executable_extensions; do 3683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3684 4333 ac_cv_prog_ac_ct_RANLIB="ranlib" 3685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54334 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3686 4335 break 2 3687 4336 fi 3688 4337 done 3689 4338 done 3690 3691 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 4339 IFS=$as_save_IFS 4340 3692 4341 fi 3693 4342 fi 3694 4343 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3695 4344 if test -n "$ac_ct_RANLIB"; then 3696 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3697 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3698 else 3699 echo "$as_me:$LINENO: result: no" >&5 3700 echo "${ECHO_T}no" >&6 3701 fi 3702 3703 RANLIB=$ac_ct_RANLIB 4345 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 4346 $as_echo "$ac_ct_RANLIB" >&6; } 4347 else 4348 { $as_echo "$as_me:$LINENO: result: no" >&5 4349 $as_echo "no" >&6; } 4350 fi 4351 4352 if test "x$ac_ct_RANLIB" = x; then 4353 RANLIB=":" 4354 else 4355 case $cross_compiling:$ac_tool_warned in 4356 yes:) 4357 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4358 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4359 ac_tool_warned=yes ;; 4360 esac 4361 RANLIB=$ac_ct_RANLIB 4362 fi 3704 4363 else 3705 4364 RANLIB="$ac_cv_prog_RANLIB" … … 3707 4366 3708 4367 3709 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&53710 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 4368 { $as_echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 4369 $as_echo_n "checking to see if architecture is 64-bit... " >&6; } 3711 4370 arch_64bit=no 3712 4371 case "$host_cpu" in … … 3715 4374 3716 4375 if test "$arch_64bit" = yes; then 3717 echo "$as_me:$LINENO: result: yes" >&53718 echo "${ECHO_T}yes" >&6 3719 if test -z "$ COMPAT32BITFLAGS" ; then3720 COMPAT32BITFLAGS="-m32"4376 { $as_echo "$as_me:$LINENO: result: yes" >&5 4377 $as_echo "yes" >&6; } 4378 if test -z "$ARCH_DEP_FLAGS" ; then 4379 ARCH_DEP_FLAGS="-fPIC" 3721 4380 fi 3722 4381 else 3723 echo "$as_me:$LINENO: result: no" >&53724 echo "${ECHO_T}no" >&6 3725 if test -z "$ COMPAT32BITFLAGS" ; then3726 COMPAT32BITFLAGS=4382 { $as_echo "$as_me:$LINENO: result: no" >&5 4383 $as_echo "no" >&6; } 4384 if test -z "$ARCH_DEP_FLAGS" ; then 4385 ARCH_DEP_FLAGS= 3727 4386 fi 3728 4387 fi 3729 4388 3730 # Only need compat32bitflag if using MG or MGPP 3731 if test "$ENABLE_MG" = "0" -a "$ENABLE_MGPP" = "0" ; then 3732 COMPAT32BITFLAGS= 3733 fi 3734 3735 export COMPAT32BITFLAGS 4389 export ARCH_DEP_FLAGS 3736 4390 3737 4391 … … 3775 4429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3776 4430 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3777 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53778 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 4431 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4432 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3779 4433 # On Suns, sometimes $CPP names a directory. 3780 4434 if test -n "$CPP" && test -d "$CPP"; then … … 3783 4437 if test -z "$CPP"; then 3784 4438 if test "${ac_cv_prog_CPP+set}" = set; then 3785 echo $ECHO_N "(cached) $ECHO_C" >&64439 $as_echo_n "(cached) " >&6 3786 4440 else 3787 4441 # Double quotes because CPP needs to be expanded … … 3810 4464 Syntax error 3811 4465 _ACEOF 3812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3813 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4466 if { (ac_try="$ac_cpp conftest.$ac_ext" 4467 case "(($ac_try" in 4468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4469 *) ac_try_echo=$ac_try;; 4470 esac 4471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4472 $as_echo "$ac_try_echo") >&5 4473 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3814 4474 ac_status=$? 3815 4475 grep -v '^ *+' conftest.er1 >conftest.err 3816 4476 rm -f conftest.er1 3817 4477 cat conftest.err >&5 3818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3819 (exit $ac_status); } >/dev/null; then 3820 if test -s conftest.err; then 3821 ac_cpp_err=$ac_c_preproc_warn_flag 3822 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3823 else 3824 ac_cpp_err= 3825 fi 3826 else 3827 ac_cpp_err=yes 3828 fi 3829 if test -z "$ac_cpp_err"; then 4478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4479 (exit $ac_status); } >/dev/null && { 4480 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4481 test ! -s conftest.err 4482 }; then 3830 4483 : 3831 4484 else 3832 echo "$as_me: failed program was:" >&54485 $as_echo "$as_me: failed program was:" >&5 3833 4486 sed 's/^/| /' conftest.$ac_ext >&5 3834 4487 … … 3836 4489 continue 3837 4490 fi 4491 3838 4492 rm -f conftest.err conftest.$ac_ext 3839 4493 3840 # OK, works on sane cases. Now check whether non -existent headers4494 # OK, works on sane cases. Now check whether nonexistent headers 3841 4495 # can be detected and how. 3842 4496 cat >conftest.$ac_ext <<_ACEOF … … 3848 4502 #include <ac_nonexistent.h> 3849 4503 _ACEOF 3850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3851 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4504 if { (ac_try="$ac_cpp conftest.$ac_ext" 4505 case "(($ac_try" in 4506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4507 *) ac_try_echo=$ac_try;; 4508 esac 4509 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4510 $as_echo "$ac_try_echo") >&5 4511 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3852 4512 ac_status=$? 3853 4513 grep -v '^ *+' conftest.er1 >conftest.err 3854 4514 rm -f conftest.er1 3855 4515 cat conftest.err >&5 3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3857 (exit $ac_status); } >/dev/null; then 3858 if test -s conftest.err; then 3859 ac_cpp_err=$ac_c_preproc_warn_flag 3860 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3861 else 3862 ac_cpp_err= 3863 fi 3864 else 3865 ac_cpp_err=yes 3866 fi 3867 if test -z "$ac_cpp_err"; then 4516 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4517 (exit $ac_status); } >/dev/null && { 4518 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4519 test ! -s conftest.err 4520 }; then 3868 4521 # Broken: success on invalid input. 3869 4522 continue 3870 4523 else 3871 echo "$as_me: failed program was:" >&54524 $as_echo "$as_me: failed program was:" >&5 3872 4525 sed 's/^/| /' conftest.$ac_ext >&5 3873 4526 … … 3876 4529 break 3877 4530 fi 4531 3878 4532 rm -f conftest.err conftest.$ac_ext 3879 4533 … … 3893 4547 ac_cv_prog_CPP=$CPP 3894 4548 fi 3895 echo "$as_me:$LINENO: result: $CPP" >&53896 echo "${ECHO_T}$CPP" >&6 4549 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 4550 $as_echo "$CPP" >&6; } 3897 4551 ac_preproc_ok=false 3898 4552 for ac_c_preproc_warn_flag in '' yes … … 3917 4571 Syntax error 3918 4572 _ACEOF 3919 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3920 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4573 if { (ac_try="$ac_cpp conftest.$ac_ext" 4574 case "(($ac_try" in 4575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4576 *) ac_try_echo=$ac_try;; 4577 esac 4578 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4579 $as_echo "$ac_try_echo") >&5 4580 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3921 4581 ac_status=$? 3922 4582 grep -v '^ *+' conftest.er1 >conftest.err 3923 4583 rm -f conftest.er1 3924 4584 cat conftest.err >&5 3925 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3926 (exit $ac_status); } >/dev/null; then 3927 if test -s conftest.err; then 3928 ac_cpp_err=$ac_c_preproc_warn_flag 3929 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3930 else 3931 ac_cpp_err= 3932 fi 3933 else 3934 ac_cpp_err=yes 3935 fi 3936 if test -z "$ac_cpp_err"; then 4585 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4586 (exit $ac_status); } >/dev/null && { 4587 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4588 test ! -s conftest.err 4589 }; then 3937 4590 : 3938 4591 else 3939 echo "$as_me: failed program was:" >&54592 $as_echo "$as_me: failed program was:" >&5 3940 4593 sed 's/^/| /' conftest.$ac_ext >&5 3941 4594 … … 3943 4596 continue 3944 4597 fi 4598 3945 4599 rm -f conftest.err conftest.$ac_ext 3946 4600 3947 # OK, works on sane cases. Now check whether non -existent headers4601 # OK, works on sane cases. Now check whether nonexistent headers 3948 4602 # can be detected and how. 3949 4603 cat >conftest.$ac_ext <<_ACEOF … … 3955 4609 #include <ac_nonexistent.h> 3956 4610 _ACEOF 3957 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3958 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4611 if { (ac_try="$ac_cpp conftest.$ac_ext" 4612 case "(($ac_try" in 4613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4614 *) ac_try_echo=$ac_try;; 4615 esac 4616 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4617 $as_echo "$ac_try_echo") >&5 4618 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3959 4619 ac_status=$? 3960 4620 grep -v '^ *+' conftest.er1 >conftest.err 3961 4621 rm -f conftest.er1 3962 4622 cat conftest.err >&5 3963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3964 (exit $ac_status); } >/dev/null; then 3965 if test -s conftest.err; then 3966 ac_cpp_err=$ac_c_preproc_warn_flag 3967 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3968 else 3969 ac_cpp_err= 3970 fi 3971 else 3972 ac_cpp_err=yes 3973 fi 3974 if test -z "$ac_cpp_err"; then 4623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4624 (exit $ac_status); } >/dev/null && { 4625 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4626 test ! -s conftest.err 4627 }; then 3975 4628 # Broken: success on invalid input. 3976 4629 continue 3977 4630 else 3978 echo "$as_me: failed program was:" >&54631 $as_echo "$as_me: failed program was:" >&5 3979 4632 sed 's/^/| /' conftest.$ac_ext >&5 3980 4633 … … 3983 4636 break 3984 4637 fi 4638 3985 4639 rm -f conftest.err conftest.$ac_ext 3986 4640 … … 3991 4645 : 3992 4646 else 3993 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4647 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 4648 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4649 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3994 4650 See \`config.log' for more details." >&5 3995 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check4651 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3996 4652 See \`config.log' for more details." >&2;} 3997 { (exit 1); exit 1; }; } 4653 { (exit 1); exit 1; }; }; } 3998 4654 fi 3999 4655 … … 4005 4661 4006 4662 4007 echo "$as_me:$LINENO: checking for egrep" >&5 4008 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 4009 if test "${ac_cv_prog_egrep+set}" = set; then 4010 echo $ECHO_N "(cached) $ECHO_C" >&6 4011 else 4012 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 4013 then ac_cv_prog_egrep='grep -E' 4014 else ac_cv_prog_egrep='egrep' 4663 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4664 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4665 if test "${ac_cv_path_GREP+set}" = set; then 4666 $as_echo_n "(cached) " >&6 4667 else 4668 if test -z "$GREP"; then 4669 ac_path_GREP_found=false 4670 # Loop through the user's path and test for each of PROGNAME-LIST 4671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4672 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4673 do 4674 IFS=$as_save_IFS 4675 test -z "$as_dir" && as_dir=. 4676 for ac_prog in grep ggrep; do 4677 for ac_exec_ext in '' $ac_executable_extensions; do 4678 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4679 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4680 # Check for GNU ac_path_GREP and select it if it is found. 4681 # Check for GNU $ac_path_GREP 4682 case `"$ac_path_GREP" --version 2>&1` in 4683 *GNU*) 4684 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4685 *) 4686 ac_count=0 4687 $as_echo_n 0123456789 >"conftest.in" 4688 while : 4689 do 4690 cat "conftest.in" "conftest.in" >"conftest.tmp" 4691 mv "conftest.tmp" "conftest.in" 4692 cp "conftest.in" "conftest.nl" 4693 $as_echo 'GREP' >> "conftest.nl" 4694 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4695 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4696 ac_count=`expr $ac_count + 1` 4697 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4698 # Best one so far, save it but keep looking for a better one 4699 ac_cv_path_GREP="$ac_path_GREP" 4700 ac_path_GREP_max=$ac_count 4015 4701 fi 4016 fi 4017 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 4018 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 4019 EGREP=$ac_cv_prog_egrep 4020 4021 4022 4023 echo "$as_me:$LINENO: checking for AIX" >&5 4024 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 4025 cat >conftest.$ac_ext <<_ACEOF 4026 /* confdefs.h. */ 4027 _ACEOF 4028 cat confdefs.h >>conftest.$ac_ext 4029 cat >>conftest.$ac_ext <<_ACEOF 4030 /* end confdefs.h. */ 4031 #ifdef _AIX 4032 yes 4033 #endif 4034 4035 _ACEOF 4036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4037 $EGREP "yes" >/dev/null 2>&1; then 4038 echo "$as_me:$LINENO: result: yes" >&5 4039 echo "${ECHO_T}yes" >&6 4040 cat >>confdefs.h <<\_ACEOF 4041 #define _ALL_SOURCE 1 4042 _ACEOF 4043 4044 else 4045 echo "$as_me:$LINENO: result: no" >&5 4046 echo "${ECHO_T}no" >&6 4047 fi 4048 rm -f conftest* 4049 4050 4051 echo "$as_me:$LINENO: checking for library containing strerror" >&5 4052 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 4053 if test "${ac_cv_search_strerror+set}" = set; then 4054 echo $ECHO_N "(cached) $ECHO_C" >&6 4055 else 4056 ac_func_search_save_LIBS=$LIBS 4057 ac_cv_search_strerror=no 4058 cat >conftest.$ac_ext <<_ACEOF 4059 /* confdefs.h. */ 4060 _ACEOF 4061 cat confdefs.h >>conftest.$ac_ext 4062 cat >>conftest.$ac_ext <<_ACEOF 4063 /* end confdefs.h. */ 4064 4065 /* Override any gcc2 internal prototype to avoid an error. */ 4066 #ifdef __cplusplus 4067 extern "C" 4068 #endif 4069 /* We use char because int might match the return type of a gcc2 4070 builtin and then its argument prototype would still apply. */ 4071 char strerror (); 4072 int 4073 main () 4074 { 4075 strerror (); 4076 ; 4077 return 0; 4078 } 4079 _ACEOF 4080 rm -f conftest.$ac_objext conftest$ac_exeext 4081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4082 (eval $ac_link) 2>conftest.er1 4083 ac_status=$? 4084 grep -v '^ *+' conftest.er1 >conftest.err 4085 rm -f conftest.er1 4086 cat conftest.err >&5 4087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4088 (exit $ac_status); } && 4089 { ac_try='test -z "$ac_c_werror_flag" 4090 || test ! -s conftest.err' 4091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4092 (eval $ac_try) 2>&5 4093 ac_status=$? 4094 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4095 (exit $ac_status); }; } && 4096 { ac_try='test -s conftest$ac_exeext' 4097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4098 (eval $ac_try) 2>&5 4099 ac_status=$? 4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4101 (exit $ac_status); }; }; then 4102 ac_cv_search_strerror="none required" 4103 else 4104 echo "$as_me: failed program was:" >&5 4105 sed 's/^/| /' conftest.$ac_ext >&5 4106 4107 fi 4108 rm -f conftest.err conftest.$ac_objext \ 4109 conftest$ac_exeext conftest.$ac_ext 4110 if test "$ac_cv_search_strerror" = no; then 4111 for ac_lib in cposix; do 4112 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4113 cat >conftest.$ac_ext <<_ACEOF 4114 /* confdefs.h. */ 4115 _ACEOF 4116 cat confdefs.h >>conftest.$ac_ext 4117 cat >>conftest.$ac_ext <<_ACEOF 4118 /* end confdefs.h. */ 4119 4120 /* Override any gcc2 internal prototype to avoid an error. */ 4121 #ifdef __cplusplus 4122 extern "C" 4123 #endif 4124 /* We use char because int might match the return type of a gcc2 4125 builtin and then its argument prototype would still apply. */ 4126 char strerror (); 4127 int 4128 main () 4129 { 4130 strerror (); 4131 ; 4132 return 0; 4133 } 4134 _ACEOF 4135 rm -f conftest.$ac_objext conftest$ac_exeext 4136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4137 (eval $ac_link) 2>conftest.er1 4138 ac_status=$? 4139 grep -v '^ *+' conftest.er1 >conftest.err 4140 rm -f conftest.er1 4141 cat conftest.err >&5 4142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4143 (exit $ac_status); } && 4144 { ac_try='test -z "$ac_c_werror_flag" 4145 || test ! -s conftest.err' 4146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4147 (eval $ac_try) 2>&5 4148 ac_status=$? 4149 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4150 (exit $ac_status); }; } && 4151 { ac_try='test -s conftest$ac_exeext' 4152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4153 (eval $ac_try) 2>&5 4154 ac_status=$? 4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4156 (exit $ac_status); }; }; then 4157 ac_cv_search_strerror="-l$ac_lib" 4158 break 4159 else 4160 echo "$as_me: failed program was:" >&5 4161 sed 's/^/| /' conftest.$ac_ext >&5 4162 4163 fi 4164 rm -f conftest.err conftest.$ac_objext \ 4165 conftest$ac_exeext conftest.$ac_ext 4702 # 10*(2^10) chars as input seems more than enough 4703 test $ac_count -gt 10 && break 4166 4704 done 4167 fi 4168 LIBS=$ac_func_search_save_LIBS 4169 fi 4170 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 4171 echo "${ECHO_T}$ac_cv_search_strerror" >&6 4172 if test "$ac_cv_search_strerror" != no; then 4173 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 4174 4175 fi 4176 4177 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4178 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4705 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4706 esac 4707 4708 $ac_path_GREP_found && break 3 4709 done 4710 done 4711 done 4712 IFS=$as_save_IFS 4713 if test -z "$ac_cv_path_GREP"; then 4714 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4715 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4716 { (exit 1); exit 1; }; } 4717 fi 4718 else 4719 ac_cv_path_GREP=$GREP 4720 fi 4721 4722 fi 4723 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4724 $as_echo "$ac_cv_path_GREP" >&6; } 4725 GREP="$ac_cv_path_GREP" 4726 4727 4728 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 4729 $as_echo_n "checking for egrep... " >&6; } 4730 if test "${ac_cv_path_EGREP+set}" = set; then 4731 $as_echo_n "(cached) " >&6 4732 else 4733 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4734 then ac_cv_path_EGREP="$GREP -E" 4735 else 4736 if test -z "$EGREP"; then 4737 ac_path_EGREP_found=false 4738 # Loop through the user's path and test for each of PROGNAME-LIST 4739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4740 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4741 do 4742 IFS=$as_save_IFS 4743 test -z "$as_dir" && as_dir=. 4744 for ac_prog in egrep; do 4745 for ac_exec_ext in '' $ac_executable_extensions; do 4746 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4747 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4748 # Check for GNU ac_path_EGREP and select it if it is found. 4749 # Check for GNU $ac_path_EGREP 4750 case `"$ac_path_EGREP" --version 2>&1` in 4751 *GNU*) 4752 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4753 *) 4754 ac_count=0 4755 $as_echo_n 0123456789 >"conftest.in" 4756 while : 4757 do 4758 cat "conftest.in" "conftest.in" >"conftest.tmp" 4759 mv "conftest.tmp" "conftest.in" 4760 cp "conftest.in" "conftest.nl" 4761 $as_echo 'EGREP' >> "conftest.nl" 4762 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4763 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4764 ac_count=`expr $ac_count + 1` 4765 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4766 # Best one so far, save it but keep looking for a better one 4767 ac_cv_path_EGREP="$ac_path_EGREP" 4768 ac_path_EGREP_max=$ac_count 4769 fi 4770 # 10*(2^10) chars as input seems more than enough 4771 test $ac_count -gt 10 && break 4772 done 4773 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4774 esac 4775 4776 $ac_path_EGREP_found && break 3 4777 done 4778 done 4779 done 4780 IFS=$as_save_IFS 4781 if test -z "$ac_cv_path_EGREP"; then 4782 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4783 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4784 { (exit 1); exit 1; }; } 4785 fi 4786 else 4787 ac_cv_path_EGREP=$EGREP 4788 fi 4789 4790 fi 4791 fi 4792 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4793 $as_echo "$ac_cv_path_EGREP" >&6; } 4794 EGREP="$ac_cv_path_EGREP" 4795 4796 4797 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4798 $as_echo_n "checking for ANSI C header files... " >&6; } 4179 4799 if test "${ac_cv_header_stdc+set}" = set; then 4180 echo $ECHO_N "(cached) $ECHO_C" >&64800 $as_echo_n "(cached) " >&6 4181 4801 else 4182 4802 cat >conftest.$ac_ext <<_ACEOF … … 4200 4820 _ACEOF 4201 4821 rm -f conftest.$ac_objext 4202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4203 (eval $ac_compile) 2>conftest.er1 4822 if { (ac_try="$ac_compile" 4823 case "(($ac_try" in 4824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4825 *) ac_try_echo=$ac_try;; 4826 esac 4827 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4828 $as_echo "$ac_try_echo") >&5 4829 (eval "$ac_compile") 2>conftest.er1 4204 4830 ac_status=$? 4205 4831 grep -v '^ *+' conftest.er1 >conftest.err 4206 4832 rm -f conftest.er1 4207 4833 cat conftest.err >&5 4208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4209 (exit $ac_status); } && 4210 { ac_try='test -z "$ac_c_werror_flag" 4211 || test ! -s conftest.err' 4212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4213 (eval $ac_try) 2>&5 4214 ac_status=$? 4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4216 (exit $ac_status); }; } && 4217 { ac_try='test -s conftest.$ac_objext' 4218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4219 (eval $ac_try) 2>&5 4220 ac_status=$? 4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4222 (exit $ac_status); }; }; then 4834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4835 (exit $ac_status); } && { 4836 test -z "$ac_c_werror_flag" || 4837 test ! -s conftest.err 4838 } && test -s conftest.$ac_objext; then 4223 4839 ac_cv_header_stdc=yes 4224 4840 else 4225 echo "$as_me: failed program was:" >&54841 $as_echo "$as_me: failed program was:" >&5 4226 4842 sed 's/^/| /' conftest.$ac_ext >&5 4227 4843 4228 ac_cv_header_stdc=no 4229 fi 4230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4844 ac_cv_header_stdc=no 4845 fi 4846 4847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4231 4848 4232 4849 if test $ac_cv_header_stdc = yes; then … … 4284 4901 /* end confdefs.h. */ 4285 4902 #include <ctype.h> 4903 #include <stdlib.h> 4286 4904 #if ((' ' & 0x0FF) == 0x020) 4287 4905 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 4303 4921 if (XOR (islower (i), ISLOWER (i)) 4304 4922 || toupper (i) != TOUPPER (i)) 4305 exit(2);4306 exit (0);4923 return 2; 4924 return 0; 4307 4925 } 4308 4926 _ACEOF 4309 4927 rm -f conftest$ac_exeext 4310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4311 (eval $ac_link) 2>&5 4928 if { (ac_try="$ac_link" 4929 case "(($ac_try" in 4930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4931 *) ac_try_echo=$ac_try;; 4932 esac 4933 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4934 $as_echo "$ac_try_echo") >&5 4935 (eval "$ac_link") 2>&5 4312 4936 ac_status=$? 4313 echo "$as_me:$LINENO: \$? = $ac_status" >&54937 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4314 4938 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4316 (eval $ac_try) 2>&5 4939 { (case "(($ac_try" in 4940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4941 *) ac_try_echo=$ac_try;; 4942 esac 4943 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4944 $as_echo "$ac_try_echo") >&5 4945 (eval "$ac_try") 2>&5 4317 4946 ac_status=$? 4318 echo "$as_me:$LINENO: \$? = $ac_status" >&54947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4319 4948 (exit $ac_status); }; }; then 4320 4949 : 4321 4950 else 4322 echo "$as_me: program exited with status $ac_status" >&54323 echo "$as_me: failed program was:" >&54951 $as_echo "$as_me: program exited with status $ac_status" >&5 4952 $as_echo "$as_me: failed program was:" >&5 4324 4953 sed 's/^/| /' conftest.$ac_ext >&5 4325 4954 … … 4327 4956 ac_cv_header_stdc=no 4328 4957 fi 4329 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4330 fi 4331 fi 4332 fi 4333 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4334 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4958 rm -rf conftest.dSYM 4959 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4960 fi 4961 4962 4963 fi 4964 fi 4965 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4966 $as_echo "$ac_cv_header_stdc" >&6; } 4335 4967 if test $ac_cv_header_stdc = yes; then 4336 4968 … … 4354 4986 inttypes.h stdint.h unistd.h 4355 4987 do 4356 as_ac_Header=` echo "ac_cv_header_$ac_header" | $as_tr_sh`4357 echo "$as_me:$LINENO: checking for $ac_header" >&54358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4359 if eval "test \"\${$as_ac_Header+set}\" = set"; then4360 echo $ECHO_N "(cached) $ECHO_C" >&64988 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4989 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4990 $as_echo_n "checking for $ac_header... " >&6; } 4991 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4992 $as_echo_n "(cached) " >&6 4361 4993 else 4362 4994 cat >conftest.$ac_ext <<_ACEOF … … 4371 5003 _ACEOF 4372 5004 rm -f conftest.$ac_objext 4373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4374 (eval $ac_compile) 2>conftest.er1 5005 if { (ac_try="$ac_compile" 5006 case "(($ac_try" in 5007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5008 *) ac_try_echo=$ac_try;; 5009 esac 5010 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5011 $as_echo "$ac_try_echo") >&5 5012 (eval "$ac_compile") 2>conftest.er1 4375 5013 ac_status=$? 4376 5014 grep -v '^ *+' conftest.er1 >conftest.err 4377 5015 rm -f conftest.er1 4378 5016 cat conftest.err >&5 4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4380 (exit $ac_status); } && 4381 { ac_try='test -z "$ac_c_werror_flag" 4382 || test ! -s conftest.err' 4383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4384 (eval $ac_try) 2>&5 4385 ac_status=$? 4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4387 (exit $ac_status); }; } && 4388 { ac_try='test -s conftest.$ac_objext' 4389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4390 (eval $ac_try) 2>&5 4391 ac_status=$? 4392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4393 (exit $ac_status); }; }; then 5017 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5018 (exit $ac_status); } && { 5019 test -z "$ac_c_werror_flag" || 5020 test ! -s conftest.err 5021 } && test -s conftest.$ac_objext; then 4394 5022 eval "$as_ac_Header=yes" 4395 5023 else 4396 echo "$as_me: failed program was:" >&55024 $as_echo "$as_me: failed program was:" >&5 4397 5025 sed 's/^/| /' conftest.$ac_ext >&5 4398 5026 4399 eval "$as_ac_Header=no" 4400 fi 4401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4402 fi 4403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4404 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4405 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5027 eval "$as_ac_Header=no" 5028 fi 5029 5030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5031 fi 5032 ac_res=`eval 'as_val=${'$as_ac_Header'} 5033 $as_echo "$as_val"'` 5034 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5035 $as_echo "$ac_res" >&6; } 5036 as_val=`eval 'as_val=${'$as_ac_Header'} 5037 $as_echo "$as_val"'` 5038 if test "x$as_val" = x""yes; then 4406 5039 cat >>confdefs.h <<_ACEOF 4407 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 15040 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4408 5041 _ACEOF 4409 5042 … … 4413 5046 4414 5047 5048 5049 if test "${ac_cv_header_minix_config_h+set}" = set; then 5050 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5051 $as_echo_n "checking for minix/config.h... " >&6; } 4415 5052 if test "${ac_cv_header_minix_config_h+set}" = set; then 4416 echo "$as_me:$LINENO: checking for minix/config.h" >&5 4417 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4418 if test "${ac_cv_header_minix_config_h+set}" = set; then 4419 echo $ECHO_N "(cached) $ECHO_C" >&6 4420 fi 4421 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4422 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 5053 $as_echo_n "(cached) " >&6 5054 fi 5055 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5056 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4423 5057 else 4424 5058 # Is the header compilable? 4425 echo "$as_me:$LINENO: checking minix/config.h usability" >&54426 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 5059 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 5060 $as_echo_n "checking minix/config.h usability... " >&6; } 4427 5061 cat >conftest.$ac_ext <<_ACEOF 4428 5062 /* confdefs.h. */ … … 4435 5069 _ACEOF 4436 5070 rm -f conftest.$ac_objext 4437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4438 (eval $ac_compile) 2>conftest.er1 5071 if { (ac_try="$ac_compile" 5072 case "(($ac_try" in 5073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5074 *) ac_try_echo=$ac_try;; 5075 esac 5076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5077 $as_echo "$ac_try_echo") >&5 5078 (eval "$ac_compile") 2>conftest.er1 4439 5079 ac_status=$? 4440 5080 grep -v '^ *+' conftest.er1 >conftest.err 4441 5081 rm -f conftest.er1 4442 5082 cat conftest.err >&5 4443 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4444 (exit $ac_status); } && 4445 { ac_try='test -z "$ac_c_werror_flag" 4446 || test ! -s conftest.err' 4447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4448 (eval $ac_try) 2>&5 4449 ac_status=$? 4450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4451 (exit $ac_status); }; } && 4452 { ac_try='test -s conftest.$ac_objext' 4453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4454 (eval $ac_try) 2>&5 4455 ac_status=$? 4456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4457 (exit $ac_status); }; }; then 5083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5084 (exit $ac_status); } && { 5085 test -z "$ac_c_werror_flag" || 5086 test ! -s conftest.err 5087 } && test -s conftest.$ac_objext; then 4458 5088 ac_header_compiler=yes 4459 5089 else 4460 echo "$as_me: failed program was:" >&55090 $as_echo "$as_me: failed program was:" >&5 4461 5091 sed 's/^/| /' conftest.$ac_ext >&5 4462 5092 4463 ac_header_compiler=no 4464 fi 4465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4466 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4467 echo "${ECHO_T}$ac_header_compiler" >&6 5093 ac_header_compiler=no 5094 fi 5095 5096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5097 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5098 $as_echo "$ac_header_compiler" >&6; } 4468 5099 4469 5100 # Is the header present? 4470 echo "$as_me:$LINENO: checking minix/config.h presence" >&54471 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 5101 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 5102 $as_echo_n "checking minix/config.h presence... " >&6; } 4472 5103 cat >conftest.$ac_ext <<_ACEOF 4473 5104 /* confdefs.h. */ … … 4478 5109 #include <minix/config.h> 4479 5110 _ACEOF 4480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4481 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5111 if { (ac_try="$ac_cpp conftest.$ac_ext" 5112 case "(($ac_try" in 5113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5114 *) ac_try_echo=$ac_try;; 5115 esac 5116 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5117 $as_echo "$ac_try_echo") >&5 5118 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4482 5119 ac_status=$? 4483 5120 grep -v '^ *+' conftest.er1 >conftest.err 4484 5121 rm -f conftest.er1 4485 5122 cat conftest.err >&5 4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4487 (exit $ac_status); } >/dev/null; then 4488 if test -s conftest.err; then 4489 ac_cpp_err=$ac_c_preproc_warn_flag 4490 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4491 else 4492 ac_cpp_err= 4493 fi 4494 else 4495 ac_cpp_err=yes 4496 fi 4497 if test -z "$ac_cpp_err"; then 5123 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5124 (exit $ac_status); } >/dev/null && { 5125 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5126 test ! -s conftest.err 5127 }; then 4498 5128 ac_header_preproc=yes 4499 5129 else 4500 echo "$as_me: failed program was:" >&55130 $as_echo "$as_me: failed program was:" >&5 4501 5131 sed 's/^/| /' conftest.$ac_ext >&5 4502 5132 4503 5133 ac_header_preproc=no 4504 5134 fi 5135 4505 5136 rm -f conftest.err conftest.$ac_ext 4506 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54507 echo "${ECHO_T}$ac_header_preproc" >&6 5137 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5138 $as_echo "$ac_header_preproc" >&6; } 4508 5139 4509 5140 # So? What about this header? 4510 5141 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4511 5142 yes:no: ) 4512 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&54513 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}4514 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&54515 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}5143 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 5144 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5145 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 5146 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 4516 5147 ac_header_preproc=yes 4517 5148 ;; 4518 5149 no:yes:* ) 4519 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 4520 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 4521 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 4522 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 4523 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 4524 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 4525 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 4526 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 4527 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 4528 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 4529 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4530 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4531 ( 4532 cat <<\_ASBOX 4533 ## ------------------------------------------ ## 4534 ## Report this to the AC_PACKAGE_NAME lists. ## 4535 ## ------------------------------------------ ## 4536 _ASBOX 4537 ) | 4538 sed "s/^/$as_me: WARNING: /" >&2 5150 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 5151 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 5152 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 5153 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 5154 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 5155 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 5156 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 5157 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 5158 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 5159 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 5160 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 5161 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 5162 4539 5163 ;; 4540 5164 esac 4541 echo "$as_me:$LINENO: checking for minix/config.h" >&54542 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 5165 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5166 $as_echo_n "checking for minix/config.h... " >&6; } 4543 5167 if test "${ac_cv_header_minix_config_h+set}" = set; then 4544 echo $ECHO_N "(cached) $ECHO_C" >&65168 $as_echo_n "(cached) " >&6 4545 5169 else 4546 5170 ac_cv_header_minix_config_h=$ac_header_preproc 4547 5171 fi 4548 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&54549 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4550 4551 fi 4552 if test $ac_cv_header_minix_config_h =yes; then5172 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5173 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5174 5175 fi 5176 if test "x$ac_cv_header_minix_config_h" = x""yes; then 4553 5177 MINIX=yes 4554 5178 else … … 4557 5181 4558 5182 4559 if test "$MINIX" = yes; then5183 if test "$MINIX" = yes; then 4560 5184 4561 5185 cat >>confdefs.h <<\_ACEOF … … 4573 5197 _ACEOF 4574 5198 4575 fi 4576 4577 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 4578 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 5199 fi 5200 5201 5202 5203 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 5204 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5205 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 5206 $as_echo_n "(cached) " >&6 5207 else 5208 cat >conftest.$ac_ext <<_ACEOF 5209 /* confdefs.h. */ 5210 _ACEOF 5211 cat confdefs.h >>conftest.$ac_ext 5212 cat >>conftest.$ac_ext <<_ACEOF 5213 /* end confdefs.h. */ 5214 5215 # define __EXTENSIONS__ 1 5216 $ac_includes_default 5217 int 5218 main () 5219 { 5220 5221 ; 5222 return 0; 5223 } 5224 _ACEOF 5225 rm -f conftest.$ac_objext 5226 if { (ac_try="$ac_compile" 5227 case "(($ac_try" in 5228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5229 *) ac_try_echo=$ac_try;; 5230 esac 5231 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5232 $as_echo "$ac_try_echo") >&5 5233 (eval "$ac_compile") 2>conftest.er1 5234 ac_status=$? 5235 grep -v '^ *+' conftest.er1 >conftest.err 5236 rm -f conftest.er1 5237 cat conftest.err >&5 5238 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5239 (exit $ac_status); } && { 5240 test -z "$ac_c_werror_flag" || 5241 test ! -s conftest.err 5242 } && test -s conftest.$ac_objext; then 5243 ac_cv_safe_to_define___extensions__=yes 5244 else 5245 $as_echo "$as_me: failed program was:" >&5 5246 sed 's/^/| /' conftest.$ac_ext >&5 5247 5248 ac_cv_safe_to_define___extensions__=no 5249 fi 5250 5251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5252 fi 5253 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 5254 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5255 test $ac_cv_safe_to_define___extensions__ = yes && 5256 cat >>confdefs.h <<\_ACEOF 5257 #define __EXTENSIONS__ 1 5258 _ACEOF 5259 5260 cat >>confdefs.h <<\_ACEOF 5261 #define _ALL_SOURCE 1 5262 _ACEOF 5263 5264 cat >>confdefs.h <<\_ACEOF 5265 #define _GNU_SOURCE 1 5266 _ACEOF 5267 5268 cat >>confdefs.h <<\_ACEOF 5269 #define _POSIX_PTHREAD_SEMANTICS 1 5270 _ACEOF 5271 5272 cat >>confdefs.h <<\_ACEOF 5273 #define _TANDEM_SOURCE 1 5274 _ACEOF 5275 5276 5277 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5 5278 $as_echo_n "checking for library containing strerror... " >&6; } 5279 if test "${ac_cv_search_strerror+set}" = set; then 5280 $as_echo_n "(cached) " >&6 5281 else 5282 ac_func_search_save_LIBS=$LIBS 5283 cat >conftest.$ac_ext <<_ACEOF 5284 /* confdefs.h. */ 5285 _ACEOF 5286 cat confdefs.h >>conftest.$ac_ext 5287 cat >>conftest.$ac_ext <<_ACEOF 5288 /* end confdefs.h. */ 5289 5290 /* Override any GCC internal prototype to avoid an error. 5291 Use char because int might match the return type of a GCC 5292 builtin and then its argument prototype would still apply. */ 5293 #ifdef __cplusplus 5294 extern "C" 5295 #endif 5296 char strerror (); 5297 int 5298 main () 5299 { 5300 return strerror (); 5301 ; 5302 return 0; 5303 } 5304 _ACEOF 5305 for ac_lib in '' cposix; do 5306 if test -z "$ac_lib"; then 5307 ac_res="none required" 5308 else 5309 ac_res=-l$ac_lib 5310 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5311 fi 5312 rm -f conftest.$ac_objext conftest$ac_exeext 5313 if { (ac_try="$ac_link" 5314 case "(($ac_try" in 5315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5316 *) ac_try_echo=$ac_try;; 5317 esac 5318 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5319 $as_echo "$ac_try_echo") >&5 5320 (eval "$ac_link") 2>conftest.er1 5321 ac_status=$? 5322 grep -v '^ *+' conftest.er1 >conftest.err 5323 rm -f conftest.er1 5324 cat conftest.err >&5 5325 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5326 (exit $ac_status); } && { 5327 test -z "$ac_c_werror_flag" || 5328 test ! -s conftest.err 5329 } && test -s conftest$ac_exeext && { 5330 test "$cross_compiling" = yes || 5331 $as_test_x conftest$ac_exeext 5332 }; then 5333 ac_cv_search_strerror=$ac_res 5334 else 5335 $as_echo "$as_me: failed program was:" >&5 5336 sed 's/^/| /' conftest.$ac_ext >&5 5337 5338 5339 fi 5340 5341 rm -rf conftest.dSYM 5342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5343 conftest$ac_exeext 5344 if test "${ac_cv_search_strerror+set}" = set; then 5345 break 5346 fi 5347 done 5348 if test "${ac_cv_search_strerror+set}" = set; then 5349 : 5350 else 5351 ac_cv_search_strerror=no 5352 fi 5353 rm conftest.$ac_ext 5354 LIBS=$ac_func_search_save_LIBS 5355 fi 5356 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 5357 $as_echo "$ac_cv_search_strerror" >&6; } 5358 ac_res=$ac_cv_search_strerror 5359 if test "$ac_res" != no; then 5360 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5361 5362 fi 5363 5364 5365 if test "${ac_cv_header_minix_config_h+set}" = set; then 5366 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5367 $as_echo_n "checking for minix/config.h... " >&6; } 5368 if test "${ac_cv_header_minix_config_h+set}" = set; then 5369 $as_echo_n "(cached) " >&6 5370 fi 5371 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5372 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5373 else 5374 # Is the header compilable? 5375 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 5376 $as_echo_n "checking minix/config.h usability... " >&6; } 5377 cat >conftest.$ac_ext <<_ACEOF 5378 /* confdefs.h. */ 5379 _ACEOF 5380 cat confdefs.h >>conftest.$ac_ext 5381 cat >>conftest.$ac_ext <<_ACEOF 5382 /* end confdefs.h. */ 5383 $ac_includes_default 5384 #include <minix/config.h> 5385 _ACEOF 5386 rm -f conftest.$ac_objext 5387 if { (ac_try="$ac_compile" 5388 case "(($ac_try" in 5389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5390 *) ac_try_echo=$ac_try;; 5391 esac 5392 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5393 $as_echo "$ac_try_echo") >&5 5394 (eval "$ac_compile") 2>conftest.er1 5395 ac_status=$? 5396 grep -v '^ *+' conftest.er1 >conftest.err 5397 rm -f conftest.er1 5398 cat conftest.err >&5 5399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5400 (exit $ac_status); } && { 5401 test -z "$ac_c_werror_flag" || 5402 test ! -s conftest.err 5403 } && test -s conftest.$ac_objext; then 5404 ac_header_compiler=yes 5405 else 5406 $as_echo "$as_me: failed program was:" >&5 5407 sed 's/^/| /' conftest.$ac_ext >&5 5408 5409 ac_header_compiler=no 5410 fi 5411 5412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5413 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5414 $as_echo "$ac_header_compiler" >&6; } 5415 5416 # Is the header present? 5417 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 5418 $as_echo_n "checking minix/config.h presence... " >&6; } 5419 cat >conftest.$ac_ext <<_ACEOF 5420 /* confdefs.h. */ 5421 _ACEOF 5422 cat confdefs.h >>conftest.$ac_ext 5423 cat >>conftest.$ac_ext <<_ACEOF 5424 /* end confdefs.h. */ 5425 #include <minix/config.h> 5426 _ACEOF 5427 if { (ac_try="$ac_cpp conftest.$ac_ext" 5428 case "(($ac_try" in 5429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5430 *) ac_try_echo=$ac_try;; 5431 esac 5432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5433 $as_echo "$ac_try_echo") >&5 5434 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5435 ac_status=$? 5436 grep -v '^ *+' conftest.er1 >conftest.err 5437 rm -f conftest.er1 5438 cat conftest.err >&5 5439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5440 (exit $ac_status); } >/dev/null && { 5441 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5442 test ! -s conftest.err 5443 }; then 5444 ac_header_preproc=yes 5445 else 5446 $as_echo "$as_me: failed program was:" >&5 5447 sed 's/^/| /' conftest.$ac_ext >&5 5448 5449 ac_header_preproc=no 5450 fi 5451 5452 rm -f conftest.err conftest.$ac_ext 5453 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5454 $as_echo "$ac_header_preproc" >&6; } 5455 5456 # So? What about this header? 5457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5458 yes:no: ) 5459 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 5460 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5461 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 5462 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 5463 ac_header_preproc=yes 5464 ;; 5465 no:yes:* ) 5466 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 5467 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 5468 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 5469 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 5470 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 5471 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 5472 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 5473 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 5474 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 5475 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 5476 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 5477 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 5478 5479 ;; 5480 esac 5481 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5482 $as_echo_n "checking for minix/config.h... " >&6; } 5483 if test "${ac_cv_header_minix_config_h+set}" = set; then 5484 $as_echo_n "(cached) " >&6 5485 else 5486 ac_cv_header_minix_config_h=$ac_header_preproc 5487 fi 5488 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5489 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5490 5491 fi 5492 if test "x$ac_cv_header_minix_config_h" = x""yes; then 5493 MINIX=yes 5494 else 5495 MINIX= 5496 fi 5497 5498 5499 if test "$MINIX" = yes; then 5500 5501 cat >>confdefs.h <<\_ACEOF 5502 #define _POSIX_SOURCE 1 5503 _ACEOF 5504 5505 5506 cat >>confdefs.h <<\_ACEOF 5507 #define _POSIX_1_SOURCE 2 5508 _ACEOF 5509 5510 5511 cat >>confdefs.h <<\_ACEOF 5512 #define _MINIX 1 5513 _ACEOF 5514 5515 fi 5516 5517 5518 5519 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 5520 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5521 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 5522 $as_echo_n "(cached) " >&6 5523 else 5524 cat >conftest.$ac_ext <<_ACEOF 5525 /* confdefs.h. */ 5526 _ACEOF 5527 cat confdefs.h >>conftest.$ac_ext 5528 cat >>conftest.$ac_ext <<_ACEOF 5529 /* end confdefs.h. */ 5530 5531 # define __EXTENSIONS__ 1 5532 $ac_includes_default 5533 int 5534 main () 5535 { 5536 5537 ; 5538 return 0; 5539 } 5540 _ACEOF 5541 rm -f conftest.$ac_objext 5542 if { (ac_try="$ac_compile" 5543 case "(($ac_try" in 5544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5545 *) ac_try_echo=$ac_try;; 5546 esac 5547 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5548 $as_echo "$ac_try_echo") >&5 5549 (eval "$ac_compile") 2>conftest.er1 5550 ac_status=$? 5551 grep -v '^ *+' conftest.er1 >conftest.err 5552 rm -f conftest.er1 5553 cat conftest.err >&5 5554 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5555 (exit $ac_status); } && { 5556 test -z "$ac_c_werror_flag" || 5557 test ! -s conftest.err 5558 } && test -s conftest.$ac_objext; then 5559 ac_cv_safe_to_define___extensions__=yes 5560 else 5561 $as_echo "$as_me: failed program was:" >&5 5562 sed 's/^/| /' conftest.$ac_ext >&5 5563 5564 ac_cv_safe_to_define___extensions__=no 5565 fi 5566 5567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5568 fi 5569 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 5570 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5571 test $ac_cv_safe_to_define___extensions__ = yes && 5572 cat >>confdefs.h <<\_ACEOF 5573 #define __EXTENSIONS__ 1 5574 _ACEOF 5575 5576 cat >>confdefs.h <<\_ACEOF 5577 #define _ALL_SOURCE 1 5578 _ACEOF 5579 5580 cat >>confdefs.h <<\_ACEOF 5581 #define _GNU_SOURCE 1 5582 _ACEOF 5583 5584 cat >>confdefs.h <<\_ACEOF 5585 #define _POSIX_PTHREAD_SEMANTICS 1 5586 _ACEOF 5587 5588 cat >>confdefs.h <<\_ACEOF 5589 #define _TANDEM_SOURCE 1 5590 _ACEOF 5591 5592 5593 { $as_echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 5594 $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; } 4579 5595 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4580 echo $ECHO_N "(cached) $ECHO_C" >&65596 $as_echo_n "(cached) " >&6 4581 5597 else 4582 5598 ac_cv_prog_cc_stdc=no … … 4612 5628 _ACEOF 4613 5629 rm -f conftest.$ac_objext 4614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4615 (eval $ac_compile) 2>conftest.er1 5630 if { (ac_try="$ac_compile" 5631 case "(($ac_try" in 5632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5633 *) ac_try_echo=$ac_try;; 5634 esac 5635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5636 $as_echo "$ac_try_echo") >&5 5637 (eval "$ac_compile") 2>conftest.er1 4616 5638 ac_status=$? 4617 5639 grep -v '^ *+' conftest.er1 >conftest.err 4618 5640 rm -f conftest.er1 4619 5641 cat conftest.err >&5 4620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4621 (exit $ac_status); } && 4622 { ac_try='test -z "$ac_c_werror_flag" 4623 || test ! -s conftest.err' 4624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4625 (eval $ac_try) 2>&5 4626 ac_status=$? 4627 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4628 (exit $ac_status); }; } && 4629 { ac_try='test -s conftest.$ac_objext' 4630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4631 (eval $ac_try) 2>&5 4632 ac_status=$? 4633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4634 (exit $ac_status); }; }; then 5642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5643 (exit $ac_status); } && { 5644 test -z "$ac_c_werror_flag" || 5645 test ! -s conftest.err 5646 } && test -s conftest.$ac_objext; then 4635 5647 ac_cv_prog_cc_stdc="$ac_arg"; break 4636 5648 else 4637 echo "$as_me: failed program was:" >&55649 $as_echo "$as_me: failed program was:" >&5 4638 5650 sed 's/^/| /' conftest.$ac_ext >&5 4639 5651 4640 fi 4641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5652 5653 fi 5654 5655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4642 5656 done 4643 5657 CFLAGS="$ac_save_CFLAGS" … … 4645 5659 fi 4646 5660 4647 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&54648 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 5661 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 5662 $as_echo "$ac_cv_prog_cc_stdc" >&6; } 4649 5663 case "x$ac_cv_prog_cc_stdc" in 4650 5664 x|xno) ;; … … 4653 5667 4654 5668 4655 echo "$as_me:$LINENO: checking for function prototypes" >&54656 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 5669 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5 5670 $as_echo_n "checking for function prototypes... " >&6; } 4657 5671 if test "$ac_cv_prog_cc_stdc" != no; then 4658 echo "$as_me:$LINENO: result: yes" >&54659 echo "${ECHO_T}yes" >&6 5672 { $as_echo "$as_me:$LINENO: result: yes" >&5 5673 $as_echo "yes" >&6; } 4660 5674 cat >>confdefs.h <<\_ACEOF 4661 5675 #define PROTOTYPES 1 … … 4664 5678 U= ANSI2KNR= 4665 5679 else 4666 echo "$as_me:$LINENO: result: no" >&54667 echo "${ECHO_T}no" >&6 5680 { $as_echo "$as_me:$LINENO: result: no" >&5 5681 $as_echo "no" >&6; } 4668 5682 U=_ ANSI2KNR=ansi2knr 4669 5683 fi 4670 5684 4671 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&54672 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 5685 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 5686 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 4673 5687 if test "${ac_cv_c_const+set}" = set; then 4674 echo $ECHO_N "(cached) $ECHO_C" >&65688 $as_echo_n "(cached) " >&6 4675 5689 else 4676 5690 cat >conftest.$ac_ext <<_ACEOF … … 4688 5702 /* Ultrix mips cc rejects this. */ 4689 5703 typedef int charset[2]; 4690 const charset x;5704 const charset cs; 4691 5705 /* SunOS 4.1.1 cc rejects this. */ 4692 char const *const * ccp;4693 char **p ;5706 char const *const *pcpcc; 5707 char **ppc; 4694 5708 /* NEC SVR4.0.2 mips cc rejects this. */ 4695 5709 struct point {int x, y;}; … … 4700 5714 expression */ 4701 5715 const char *g = "string"; 4702 ccp= &g + (g ? g-g : 0);5716 pcpcc = &g + (g ? g-g : 0); 4703 5717 /* HPUX 7.0 cc rejects these. */ 4704 ++ ccp;4705 p = (char**) ccp;4706 ccp = (char const *const *) p;5718 ++pcpcc; 5719 ppc = (char**) pcpcc; 5720 pcpcc = (char const *const *) ppc; 4707 5721 { /* SCO 3.2v4 cc rejects this. */ 4708 5722 char *t; … … 4710 5724 4711 5725 *t++ = 0; 5726 if (s) return 0; 4712 5727 } 4713 5728 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 4728 5743 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4729 5744 const int foo = 10; 5745 if (!foo) return 0; 4730 5746 } 5747 return !cs[0] && !zero.x; 4731 5748 #endif 4732 5749 … … 4736 5753 _ACEOF 4737 5754 rm -f conftest.$ac_objext 4738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4739 (eval $ac_compile) 2>conftest.er1 5755 if { (ac_try="$ac_compile" 5756 case "(($ac_try" in 5757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5758 *) ac_try_echo=$ac_try;; 5759 esac 5760 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5761 $as_echo "$ac_try_echo") >&5 5762 (eval "$ac_compile") 2>conftest.er1 4740 5763 ac_status=$? 4741 5764 grep -v '^ *+' conftest.er1 >conftest.err 4742 5765 rm -f conftest.er1 4743 5766 cat conftest.err >&5 4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4745 (exit $ac_status); } && 4746 { ac_try='test -z "$ac_c_werror_flag" 4747 || test ! -s conftest.err' 4748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4749 (eval $ac_try) 2>&5 4750 ac_status=$? 4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4752 (exit $ac_status); }; } && 4753 { ac_try='test -s conftest.$ac_objext' 4754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4755 (eval $ac_try) 2>&5 4756 ac_status=$? 4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4758 (exit $ac_status); }; }; then 5767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5768 (exit $ac_status); } && { 5769 test -z "$ac_c_werror_flag" || 5770 test ! -s conftest.err 5771 } && test -s conftest.$ac_objext; then 4759 5772 ac_cv_c_const=yes 4760 5773 else 4761 echo "$as_me: failed program was:" >&55774 $as_echo "$as_me: failed program was:" >&5 4762 5775 sed 's/^/| /' conftest.$ac_ext >&5 4763 5776 4764 ac_cv_c_const=no 4765 fi 4766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4767 fi 4768 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4769 echo "${ECHO_T}$ac_cv_c_const" >&6 5777 ac_cv_c_const=no 5778 fi 5779 5780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5781 fi 5782 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 5783 $as_echo "$ac_cv_c_const" >&6; } 4770 5784 if test $ac_cv_c_const = no; then 4771 5785 4772 5786 cat >>confdefs.h <<\_ACEOF 4773 #define const 4774 _ACEOF 4775 4776 fi 4777 4778 echo "$as_me:$LINENO: checking for off_t" >&54779 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 5787 #define const /**/ 5788 _ACEOF 5789 5790 fi 5791 5792 { $as_echo "$as_me:$LINENO: checking for off_t" >&5 5793 $as_echo_n "checking for off_t... " >&6; } 4780 5794 if test "${ac_cv_type_off_t+set}" = set; then 4781 echo $ECHO_N "(cached) $ECHO_C" >&6 4782 else 4783 cat >conftest.$ac_ext <<_ACEOF 5795 $as_echo_n "(cached) " >&6 5796 else 5797 ac_cv_type_off_t=no 5798 cat >conftest.$ac_ext <<_ACEOF 4784 5799 /* confdefs.h. */ 4785 5800 _ACEOF … … 4791 5806 main () 4792 5807 { 4793 if ((off_t *) 0)4794 return 0;4795 5808 if (sizeof (off_t)) 4796 return 0;5809 return 0; 4797 5810 ; 4798 5811 return 0; … … 4800 5813 _ACEOF 4801 5814 rm -f conftest.$ac_objext 4802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4803 (eval $ac_compile) 2>conftest.er1 5815 if { (ac_try="$ac_compile" 5816 case "(($ac_try" in 5817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5818 *) ac_try_echo=$ac_try;; 5819 esac 5820 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5821 $as_echo "$ac_try_echo") >&5 5822 (eval "$ac_compile") 2>conftest.er1 4804 5823 ac_status=$? 4805 5824 grep -v '^ *+' conftest.er1 >conftest.err 4806 5825 rm -f conftest.er1 4807 5826 cat conftest.err >&5 4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4809 (exit $ac_status); } && 4810 { ac_try='test -z "$ac_c_werror_flag" 4811 || test ! -s conftest.err' 4812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4813 (eval $ac_try) 2>&5 4814 ac_status=$? 4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4816 (exit $ac_status); }; } && 4817 { ac_try='test -s conftest.$ac_objext' 4818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4819 (eval $ac_try) 2>&5 4820 ac_status=$? 4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4822 (exit $ac_status); }; }; then 4823 ac_cv_type_off_t=yes 4824 else 4825 echo "$as_me: failed program was:" >&5 4826 sed 's/^/| /' conftest.$ac_ext >&5 4827 4828 ac_cv_type_off_t=no 4829 fi 4830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4831 fi 4832 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4833 echo "${ECHO_T}$ac_cv_type_off_t" >&6 4834 if test $ac_cv_type_off_t = yes; then 4835 : 4836 else 4837 4838 cat >>confdefs.h <<_ACEOF 4839 #define off_t long 4840 _ACEOF 4841 4842 fi 4843 4844 echo "$as_me:$LINENO: checking for size_t" >&5 4845 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 4846 if test "${ac_cv_type_size_t+set}" = set; then 4847 echo $ECHO_N "(cached) $ECHO_C" >&6 4848 else 5827 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5828 (exit $ac_status); } && { 5829 test -z "$ac_c_werror_flag" || 5830 test ! -s conftest.err 5831 } && test -s conftest.$ac_objext; then 4849 5832 cat >conftest.$ac_ext <<_ACEOF 4850 5833 /* confdefs.h. */ … … 4857 5840 main () 4858 5841 { 4859 if ((size_t *) 0) 4860 return 0; 4861 if (sizeof (size_t)) 4862 return 0; 5842 if (sizeof ((off_t))) 5843 return 0; 4863 5844 ; 4864 5845 return 0; … … 4866 5847 _ACEOF 4867 5848 rm -f conftest.$ac_objext 4868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4869 (eval $ac_compile) 2>conftest.er1 5849 if { (ac_try="$ac_compile" 5850 case "(($ac_try" in 5851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5852 *) ac_try_echo=$ac_try;; 5853 esac 5854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5855 $as_echo "$ac_try_echo") >&5 5856 (eval "$ac_compile") 2>conftest.er1 4870 5857 ac_status=$? 4871 5858 grep -v '^ *+' conftest.er1 >conftest.err 4872 5859 rm -f conftest.er1 4873 5860 cat conftest.err >&5 4874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4875 (exit $ac_status); } && 4876 { ac_try='test -z "$ac_c_werror_flag" 4877 || test ! -s conftest.err' 4878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4879 (eval $ac_try) 2>&5 5861 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5862 (exit $ac_status); } && { 5863 test -z "$ac_c_werror_flag" || 5864 test ! -s conftest.err 5865 } && test -s conftest.$ac_objext; then 5866 : 5867 else 5868 $as_echo "$as_me: failed program was:" >&5 5869 sed 's/^/| /' conftest.$ac_ext >&5 5870 5871 ac_cv_type_off_t=yes 5872 fi 5873 5874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5875 else 5876 $as_echo "$as_me: failed program was:" >&5 5877 sed 's/^/| /' conftest.$ac_ext >&5 5878 5879 5880 fi 5881 5882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5883 fi 5884 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 5885 $as_echo "$ac_cv_type_off_t" >&6; } 5886 if test "x$ac_cv_type_off_t" = x""yes; then 5887 : 5888 else 5889 5890 cat >>confdefs.h <<_ACEOF 5891 #define off_t long int 5892 _ACEOF 5893 5894 fi 5895 5896 { $as_echo "$as_me:$LINENO: checking for size_t" >&5 5897 $as_echo_n "checking for size_t... " >&6; } 5898 if test "${ac_cv_type_size_t+set}" = set; then 5899 $as_echo_n "(cached) " >&6 5900 else 5901 ac_cv_type_size_t=no 5902 cat >conftest.$ac_ext <<_ACEOF 5903 /* confdefs.h. */ 5904 _ACEOF 5905 cat confdefs.h >>conftest.$ac_ext 5906 cat >>conftest.$ac_ext <<_ACEOF 5907 /* end confdefs.h. */ 5908 $ac_includes_default 5909 int 5910 main () 5911 { 5912 if (sizeof (size_t)) 5913 return 0; 5914 ; 5915 return 0; 5916 } 5917 _ACEOF 5918 rm -f conftest.$ac_objext 5919 if { (ac_try="$ac_compile" 5920 case "(($ac_try" in 5921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5922 *) ac_try_echo=$ac_try;; 5923 esac 5924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5925 $as_echo "$ac_try_echo") >&5 5926 (eval "$ac_compile") 2>conftest.er1 4880 5927 ac_status=$? 4881 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4882 (exit $ac_status); }; } && 4883 { ac_try='test -s conftest.$ac_objext' 4884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4885 (eval $ac_try) 2>&5 5928 grep -v '^ *+' conftest.er1 >conftest.err 5929 rm -f conftest.er1 5930 cat conftest.err >&5 5931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5932 (exit $ac_status); } && { 5933 test -z "$ac_c_werror_flag" || 5934 test ! -s conftest.err 5935 } && test -s conftest.$ac_objext; then 5936 cat >conftest.$ac_ext <<_ACEOF 5937 /* confdefs.h. */ 5938 _ACEOF 5939 cat confdefs.h >>conftest.$ac_ext 5940 cat >>conftest.$ac_ext <<_ACEOF 5941 /* end confdefs.h. */ 5942 $ac_includes_default 5943 int 5944 main () 5945 { 5946 if (sizeof ((size_t))) 5947 return 0; 5948 ; 5949 return 0; 5950 } 5951 _ACEOF 5952 rm -f conftest.$ac_objext 5953 if { (ac_try="$ac_compile" 5954 case "(($ac_try" in 5955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5956 *) ac_try_echo=$ac_try;; 5957 esac 5958 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5959 $as_echo "$ac_try_echo") >&5 5960 (eval "$ac_compile") 2>conftest.er1 4886 5961 ac_status=$? 4887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4888 (exit $ac_status); }; }; then 4889 ac_cv_type_size_t=yes 4890 else 4891 echo "$as_me: failed program was:" >&5 5962 grep -v '^ *+' conftest.er1 >conftest.err 5963 rm -f conftest.er1 5964 cat conftest.err >&5 5965 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5966 (exit $ac_status); } && { 5967 test -z "$ac_c_werror_flag" || 5968 test ! -s conftest.err 5969 } && test -s conftest.$ac_objext; then 5970 : 5971 else 5972 $as_echo "$as_me: failed program was:" >&5 4892 5973 sed 's/^/| /' conftest.$ac_ext >&5 4893 5974 4894 ac_cv_type_size_t=no 4895 fi 4896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4897 fi 4898 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4899 echo "${ECHO_T}$ac_cv_type_size_t" >&6 4900 if test $ac_cv_type_size_t = yes; then 5975 ac_cv_type_size_t=yes 5976 fi 5977 5978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5979 else 5980 $as_echo "$as_me: failed program was:" >&5 5981 sed 's/^/| /' conftest.$ac_ext >&5 5982 5983 5984 fi 5985 5986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5987 fi 5988 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 5989 $as_echo "$ac_cv_type_size_t" >&6; } 5990 if test "x$ac_cv_type_size_t" = x""yes; then 4901 5991 : 4902 5992 else 4903 5993 4904 5994 cat >>confdefs.h <<_ACEOF 4905 #define size_t unsigned 4906 _ACEOF 4907 4908 fi 4909 4910 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&54911 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 5995 #define size_t unsigned int 5996 _ACEOF 5997 5998 fi 5999 6000 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 6001 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 4912 6002 if test "${ac_cv_header_time+set}" = set; then 4913 echo $ECHO_N "(cached) $ECHO_C" >&66003 $as_echo_n "(cached) " >&6 4914 6004 else 4915 6005 cat >conftest.$ac_ext <<_ACEOF … … 4933 6023 _ACEOF 4934 6024 rm -f conftest.$ac_objext 4935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4936 (eval $ac_compile) 2>conftest.er1 6025 if { (ac_try="$ac_compile" 6026 case "(($ac_try" in 6027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6028 *) ac_try_echo=$ac_try;; 6029 esac 6030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6031 $as_echo "$ac_try_echo") >&5 6032 (eval "$ac_compile") 2>conftest.er1 4937 6033 ac_status=$? 4938 6034 grep -v '^ *+' conftest.er1 >conftest.err 4939 6035 rm -f conftest.er1 4940 6036 cat conftest.err >&5 4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4942 (exit $ac_status); } && 4943 { ac_try='test -z "$ac_c_werror_flag" 4944 || test ! -s conftest.err' 4945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4946 (eval $ac_try) 2>&5 4947 ac_status=$? 4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4949 (exit $ac_status); }; } && 4950 { ac_try='test -s conftest.$ac_objext' 4951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4952 (eval $ac_try) 2>&5 4953 ac_status=$? 4954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4955 (exit $ac_status); }; }; then 6037 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6038 (exit $ac_status); } && { 6039 test -z "$ac_c_werror_flag" || 6040 test ! -s conftest.err 6041 } && test -s conftest.$ac_objext; then 4956 6042 ac_cv_header_time=yes 4957 6043 else 4958 echo "$as_me: failed program was:" >&56044 $as_echo "$as_me: failed program was:" >&5 4959 6045 sed 's/^/| /' conftest.$ac_ext >&5 4960 6046 4961 ac_cv_header_time=no 4962 fi 4963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4964 fi 4965 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4966 echo "${ECHO_T}$ac_cv_header_time" >&6 6047 ac_cv_header_time=no 6048 fi 6049 6050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6051 fi 6052 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 6053 $as_echo "$ac_cv_header_time" >&6; } 4967 6054 if test $ac_cv_header_time = yes; then 4968 6055 … … 4973 6060 fi 4974 6061 4975 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&54976 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 6062 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 6063 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 4977 6064 if test "${ac_cv_struct_tm+set}" = set; then 4978 echo $ECHO_N "(cached) $ECHO_C" >&66065 $as_echo_n "(cached) " >&6 4979 6066 else 4980 6067 cat >conftest.$ac_ext <<_ACEOF … … 4990 6077 main () 4991 6078 { 4992 struct tm *tp; tp->tm_sec; 6079 struct tm tm; 6080 int *p = &tm.tm_sec; 6081 return !p; 4993 6082 ; 4994 6083 return 0; … … 4996 6085 _ACEOF 4997 6086 rm -f conftest.$ac_objext 4998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4999 (eval $ac_compile) 2>conftest.er1 6087 if { (ac_try="$ac_compile" 6088 case "(($ac_try" in 6089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6090 *) ac_try_echo=$ac_try;; 6091 esac 6092 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6093 $as_echo "$ac_try_echo") >&5 6094 (eval "$ac_compile") 2>conftest.er1 5000 6095 ac_status=$? 5001 6096 grep -v '^ *+' conftest.er1 >conftest.err 5002 6097 rm -f conftest.er1 5003 6098 cat conftest.err >&5 5004 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5005 (exit $ac_status); } && 5006 { ac_try='test -z "$ac_c_werror_flag" 5007 || test ! -s conftest.err' 5008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5009 (eval $ac_try) 2>&5 5010 ac_status=$? 5011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5012 (exit $ac_status); }; } && 5013 { ac_try='test -s conftest.$ac_objext' 5014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5015 (eval $ac_try) 2>&5 5016 ac_status=$? 5017 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5018 (exit $ac_status); }; }; then 6099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6100 (exit $ac_status); } && { 6101 test -z "$ac_c_werror_flag" || 6102 test ! -s conftest.err 6103 } && test -s conftest.$ac_objext; then 5019 6104 ac_cv_struct_tm=time.h 5020 6105 else 5021 echo "$as_me: failed program was:" >&56106 $as_echo "$as_me: failed program was:" >&5 5022 6107 sed 's/^/| /' conftest.$ac_ext >&5 5023 6108 5024 ac_cv_struct_tm=sys/time.h 5025 fi 5026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5027 fi 5028 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 5029 echo "${ECHO_T}$ac_cv_struct_tm" >&6 6109 ac_cv_struct_tm=sys/time.h 6110 fi 6111 6112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6113 fi 6114 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 6115 $as_echo "$ac_cv_struct_tm" >&6; } 5030 6116 if test $ac_cv_struct_tm = sys/time.h; then 5031 6117 … … 5055 6141 _ACEOF 5056 6142 rm -f conftest.$ac_objext 5057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5058 (eval $ac_compile) 2>conftest.er1 6143 if { (ac_try="$ac_compile" 6144 case "(($ac_try" in 6145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6146 *) ac_try_echo=$ac_try;; 6147 esac 6148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6149 $as_echo "$ac_try_echo") >&5 6150 (eval "$ac_compile") 2>conftest.er1 5059 6151 ac_status=$? 5060 6152 grep -v '^ *+' conftest.er1 >conftest.err 5061 6153 rm -f conftest.er1 5062 6154 cat conftest.err >&5 5063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5064 (exit $ac_status); } && 5065 { ac_try='test -z "$ac_c_werror_flag" 5066 || test ! -s conftest.err' 5067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5068 (eval $ac_try) 2>&5 5069 ac_status=$? 5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5071 (exit $ac_status); }; } && 5072 { ac_try='test -s conftest.$ac_objext' 5073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5074 (eval $ac_try) 2>&5 5075 ac_status=$? 5076 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5077 (exit $ac_status); }; }; then 6155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6156 (exit $ac_status); } && { 6157 test -z "$ac_c_werror_flag" || 6158 test ! -s conftest.err 6159 } && test -s conftest.$ac_objext; then 5078 6160 : 5079 6161 else 5080 echo "$as_me: failed program was:" >&56162 $as_echo "$as_me: failed program was:" >&5 5081 6163 sed 's/^/| /' conftest.$ac_ext >&5 5082 6164 5083 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5084 fi 5085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5086 fi 5087 5088 5089 5090 echo "$as_me:$LINENO: checking for main in -lg" >&5 5091 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6 6165 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 6166 fi 6167 6168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6169 fi 6170 6171 6172 6173 { $as_echo "$as_me:$LINENO: checking for main in -lg" >&5 6174 $as_echo_n "checking for main in -lg... " >&6; } 5092 6175 if test "${ac_cv_lib_g_main+set}" = set; then 5093 echo $ECHO_N "(cached) $ECHO_C" >&66176 $as_echo_n "(cached) " >&6 5094 6177 else 5095 6178 ac_check_lib_save_LIBS=$LIBS … … 5106 6189 main () 5107 6190 { 5108 main ();6191 return main (); 5109 6192 ; 5110 6193 return 0; … … 5112 6195 _ACEOF 5113 6196 rm -f conftest.$ac_objext conftest$ac_exeext 5114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5115 (eval $ac_link) 2>conftest.er1 6197 if { (ac_try="$ac_link" 6198 case "(($ac_try" in 6199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6200 *) ac_try_echo=$ac_try;; 6201 esac 6202 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6203 $as_echo "$ac_try_echo") >&5 6204 (eval "$ac_link") 2>conftest.er1 5116 6205 ac_status=$? 5117 6206 grep -v '^ *+' conftest.er1 >conftest.err 5118 6207 rm -f conftest.er1 5119 6208 cat conftest.err >&5 5120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5121 (exit $ac_status); } && 5122 { ac_try='test -z "$ac_c_werror_flag" 5123 || test ! -s conftest.err' 5124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5125 (eval $ac_try) 2>&5 5126 ac_status=$? 5127 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5128 (exit $ac_status); }; } && 5129 { ac_try='test -s conftest$ac_exeext' 5130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5131 (eval $ac_try) 2>&5 5132 ac_status=$? 5133 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5134 (exit $ac_status); }; }; then 6209 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6210 (exit $ac_status); } && { 6211 test -z "$ac_c_werror_flag" || 6212 test ! -s conftest.err 6213 } && test -s conftest$ac_exeext && { 6214 test "$cross_compiling" = yes || 6215 $as_test_x conftest$ac_exeext 6216 }; then 5135 6217 ac_cv_lib_g_main=yes 5136 6218 else 5137 echo "$as_me: failed program was:" >&56219 $as_echo "$as_me: failed program was:" >&5 5138 6220 sed 's/^/| /' conftest.$ac_ext >&5 5139 6221 5140 ac_cv_lib_g_main=no 5141 fi 5142 rm -f conftest.err conftest.$ac_objext \ 6222 ac_cv_lib_g_main=no 6223 fi 6224 6225 rm -rf conftest.dSYM 6226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5143 6227 conftest$ac_exeext conftest.$ac_ext 5144 6228 LIBS=$ac_check_lib_save_LIBS 5145 6229 fi 5146 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&55147 echo "${ECHO_T}$ac_cv_lib_g_main" >&6 5148 if test $ac_cv_lib_g_main =yes; then6230 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5 6231 $as_echo "$ac_cv_lib_g_main" >&6; } 6232 if test "x$ac_cv_lib_g_main" = x""yes; then 5149 6233 cat >>confdefs.h <<_ACEOF 5150 6234 #define HAVE_LIBG 1 … … 5157 6241 5158 6242 5159 echo "$as_me:$LINENO: checking for main in -lm" >&55160 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 6243 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5 6244 $as_echo_n "checking for main in -lm... " >&6; } 5161 6245 if test "${ac_cv_lib_m_main+set}" = set; then 5162 echo $ECHO_N "(cached) $ECHO_C" >&66246 $as_echo_n "(cached) " >&6 5163 6247 else 5164 6248 ac_check_lib_save_LIBS=$LIBS … … 5175 6259 main () 5176 6260 { 5177 main ();6261 return main (); 5178 6262 ; 5179 6263 return 0; … … 5181 6265 _ACEOF 5182 6266 rm -f conftest.$ac_objext conftest$ac_exeext 5183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5184 (eval $ac_link) 2>conftest.er1 6267 if { (ac_try="$ac_link" 6268 case "(($ac_try" in 6269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6270 *) ac_try_echo=$ac_try;; 6271 esac 6272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6273 $as_echo "$ac_try_echo") >&5 6274 (eval "$ac_link") 2>conftest.er1 5185 6275 ac_status=$? 5186 6276 grep -v '^ *+' conftest.er1 >conftest.err 5187 6277 rm -f conftest.er1 5188 6278 cat conftest.err >&5 5189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5190 (exit $ac_status); } && 5191 { ac_try='test -z "$ac_c_werror_flag" 5192 || test ! -s conftest.err' 5193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5194 (eval $ac_try) 2>&5 5195 ac_status=$? 5196 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5197 (exit $ac_status); }; } && 5198 { ac_try='test -s conftest$ac_exeext' 5199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5200 (eval $ac_try) 2>&5 5201 ac_status=$? 5202 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5203 (exit $ac_status); }; }; then 6279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6280 (exit $ac_status); } && { 6281 test -z "$ac_c_werror_flag" || 6282 test ! -s conftest.err 6283 } && test -s conftest$ac_exeext && { 6284 test "$cross_compiling" = yes || 6285 $as_test_x conftest$ac_exeext 6286 }; then 5204 6287 ac_cv_lib_m_main=yes 5205 6288 else 5206 echo "$as_me: failed program was:" >&56289 $as_echo "$as_me: failed program was:" >&5 5207 6290 sed 's/^/| /' conftest.$ac_ext >&5 5208 6291 5209 ac_cv_lib_m_main=no 5210 fi 5211 rm -f conftest.err conftest.$ac_objext \ 6292 ac_cv_lib_m_main=no 6293 fi 6294 6295 rm -rf conftest.dSYM 6296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5212 6297 conftest$ac_exeext conftest.$ac_ext 5213 6298 LIBS=$ac_check_lib_save_LIBS 5214 6299 fi 5215 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&55216 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 5217 if test $ac_cv_lib_m_main =yes; then6300 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 6301 $as_echo "$ac_cv_lib_m_main" >&6; } 6302 if test "x$ac_cv_lib_m_main" = x""yes; then 5218 6303 cat >>confdefs.h <<_ACEOF 5219 6304 #define HAVE_LIBM 1 … … 5226 6311 5227 6312 5228 echo "$as_me:$LINENO: checking for main in -lcrypt" >&55229 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 6313 { $as_echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 6314 $as_echo_n "checking for main in -lcrypt... " >&6; } 5230 6315 if test "${ac_cv_lib_crypt_main+set}" = set; then 5231 echo $ECHO_N "(cached) $ECHO_C" >&66316 $as_echo_n "(cached) " >&6 5232 6317 else 5233 6318 ac_check_lib_save_LIBS=$LIBS … … 5244 6329 main () 5245 6330 { 5246 main ();6331 return main (); 5247 6332 ; 5248 6333 return 0; … … 5250 6335 _ACEOF 5251 6336 rm -f conftest.$ac_objext conftest$ac_exeext 5252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5253 (eval $ac_link) 2>conftest.er1 6337 if { (ac_try="$ac_link" 6338 case "(($ac_try" in 6339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6340 *) ac_try_echo=$ac_try;; 6341 esac 6342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6343 $as_echo "$ac_try_echo") >&5 6344 (eval "$ac_link") 2>conftest.er1 5254 6345 ac_status=$? 5255 6346 grep -v '^ *+' conftest.er1 >conftest.err 5256 6347 rm -f conftest.er1 5257 6348 cat conftest.err >&5 5258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5259 (exit $ac_status); } && 5260 { ac_try='test -z "$ac_c_werror_flag" 5261 || test ! -s conftest.err' 5262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5263 (eval $ac_try) 2>&5 5264 ac_status=$? 5265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5266 (exit $ac_status); }; } && 5267 { ac_try='test -s conftest$ac_exeext' 5268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5269 (eval $ac_try) 2>&5 5270 ac_status=$? 5271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5272 (exit $ac_status); }; }; then 6349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6350 (exit $ac_status); } && { 6351 test -z "$ac_c_werror_flag" || 6352 test ! -s conftest.err 6353 } && test -s conftest$ac_exeext && { 6354 test "$cross_compiling" = yes || 6355 $as_test_x conftest$ac_exeext 6356 }; then 5273 6357 ac_cv_lib_crypt_main=yes 5274 6358 else 5275 echo "$as_me: failed program was:" >&56359 $as_echo "$as_me: failed program was:" >&5 5276 6360 sed 's/^/| /' conftest.$ac_ext >&5 5277 6361 5278 ac_cv_lib_crypt_main=no 5279 fi 5280 rm -f conftest.err conftest.$ac_objext \ 6362 ac_cv_lib_crypt_main=no 6363 fi 6364 6365 rm -rf conftest.dSYM 6366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5281 6367 conftest$ac_exeext conftest.$ac_ext 5282 6368 LIBS=$ac_check_lib_save_LIBS 5283 6369 fi 5284 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&55285 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 5286 if test $ac_cv_lib_crypt_main =yes; then6370 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5 6371 $as_echo "$ac_cv_lib_crypt_main" >&6; } 6372 if test "x$ac_cv_lib_crypt_main" = x""yes; then 5287 6373 cat >>confdefs.h <<_ACEOF 5288 6374 #define HAVE_LIBCRYPT 1 … … 5296 6382 if test $ENABLE_ACCENTFOLD = 1; then 5297 6383 5298 echo "$as_me:$LINENO: checking for main in -liconv" >&55299 echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6 6384 { $as_echo "$as_me:$LINENO: checking for main in -liconv" >&5 6385 $as_echo_n "checking for main in -liconv... " >&6; } 5300 6386 if test "${ac_cv_lib_iconv_main+set}" = set; then 5301 echo $ECHO_N "(cached) $ECHO_C" >&66387 $as_echo_n "(cached) " >&6 5302 6388 else 5303 6389 ac_check_lib_save_LIBS=$LIBS … … 5314 6400 main () 5315 6401 { 5316 main ();6402 return main (); 5317 6403 ; 5318 6404 return 0; … … 5320 6406 _ACEOF 5321 6407 rm -f conftest.$ac_objext conftest$ac_exeext 5322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5323 (eval $ac_link) 2>conftest.er1 6408 if { (ac_try="$ac_link" 6409 case "(($ac_try" in 6410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6411 *) ac_try_echo=$ac_try;; 6412 esac 6413 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6414 $as_echo "$ac_try_echo") >&5 6415 (eval "$ac_link") 2>conftest.er1 5324 6416 ac_status=$? 5325 6417 grep -v '^ *+' conftest.er1 >conftest.err 5326 6418 rm -f conftest.er1 5327 6419 cat conftest.err >&5 5328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5329 (exit $ac_status); } && 5330 { ac_try='test -z "$ac_c_werror_flag" 5331 || test ! -s conftest.err' 5332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5333 (eval $ac_try) 2>&5 5334 ac_status=$? 5335 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5336 (exit $ac_status); }; } && 5337 { ac_try='test -s conftest$ac_exeext' 5338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5339 (eval $ac_try) 2>&5 5340 ac_status=$? 5341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5342 (exit $ac_status); }; }; then 6420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6421 (exit $ac_status); } && { 6422 test -z "$ac_c_werror_flag" || 6423 test ! -s conftest.err 6424 } && test -s conftest$ac_exeext && { 6425 test "$cross_compiling" = yes || 6426 $as_test_x conftest$ac_exeext 6427 }; then 5343 6428 ac_cv_lib_iconv_main=yes 5344 6429 else 5345 echo "$as_me: failed program was:" >&56430 $as_echo "$as_me: failed program was:" >&5 5346 6431 sed 's/^/| /' conftest.$ac_ext >&5 5347 6432 5348 ac_cv_lib_iconv_main=no 5349 fi 5350 rm -f conftest.err conftest.$ac_objext \ 6433 ac_cv_lib_iconv_main=no 6434 fi 6435 6436 rm -rf conftest.dSYM 6437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5351 6438 conftest$ac_exeext conftest.$ac_ext 5352 6439 LIBS=$ac_check_lib_save_LIBS 5353 6440 fi 5354 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&55355 echo "${ECHO_T}$ac_cv_lib_iconv_main" >&6 5356 if test $ac_cv_lib_iconv_main =yes; then6441 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&5 6442 $as_echo "$ac_cv_lib_iconv_main" >&6; } 6443 if test "x$ac_cv_lib_iconv_main" = x""yes; then 5357 6444 cat >>confdefs.h <<_ACEOF 5358 6445 #define HAVE_LIBICONV 1 … … 5373 6460 ac_header_dirent=no 5374 6461 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 5375 as_ac_Header=` echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`5376 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&55377 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 5378 if eval "test \"\${$as_ac_Header+set}\" = set"; then5379 echo $ECHO_N "(cached) $ECHO_C" >&66462 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 6463 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 6464 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 6465 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6466 $as_echo_n "(cached) " >&6 5380 6467 else 5381 6468 cat >conftest.$ac_ext <<_ACEOF … … 5398 6485 _ACEOF 5399 6486 rm -f conftest.$ac_objext 5400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5401 (eval $ac_compile) 2>conftest.er1 6487 if { (ac_try="$ac_compile" 6488 case "(($ac_try" in 6489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6490 *) ac_try_echo=$ac_try;; 6491 esac 6492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6493 $as_echo "$ac_try_echo") >&5 6494 (eval "$ac_compile") 2>conftest.er1 5402 6495 ac_status=$? 5403 6496 grep -v '^ *+' conftest.er1 >conftest.err 5404 6497 rm -f conftest.er1 5405 6498 cat conftest.err >&5 5406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5407 (exit $ac_status); } && 5408 { ac_try='test -z "$ac_c_werror_flag" 5409 || test ! -s conftest.err' 5410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5411 (eval $ac_try) 2>&5 5412 ac_status=$? 5413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5414 (exit $ac_status); }; } && 5415 { ac_try='test -s conftest.$ac_objext' 5416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5417 (eval $ac_try) 2>&5 5418 ac_status=$? 5419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5420 (exit $ac_status); }; }; then 6499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6500 (exit $ac_status); } && { 6501 test -z "$ac_c_werror_flag" || 6502 test ! -s conftest.err 6503 } && test -s conftest.$ac_objext; then 5421 6504 eval "$as_ac_Header=yes" 5422 6505 else 5423 echo "$as_me: failed program was:" >&56506 $as_echo "$as_me: failed program was:" >&5 5424 6507 sed 's/^/| /' conftest.$ac_ext >&5 5425 6508 5426 eval "$as_ac_Header=no" 5427 fi 5428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5429 fi 5430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5432 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6509 eval "$as_ac_Header=no" 6510 fi 6511 6512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6513 fi 6514 ac_res=`eval 'as_val=${'$as_ac_Header'} 6515 $as_echo "$as_val"'` 6516 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6517 $as_echo "$ac_res" >&6; } 6518 as_val=`eval 'as_val=${'$as_ac_Header'} 6519 $as_echo "$as_val"'` 6520 if test "x$as_val" = x""yes; then 5433 6521 cat >>confdefs.h <<_ACEOF 5434 #define ` echo "HAVE_$ac_hdr" | $as_tr_cpp` 16522 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 5435 6523 _ACEOF 5436 6524 … … 5441 6529 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 5442 6530 if test $ac_header_dirent = dirent.h; then 5443 echo "$as_me:$LINENO: checking for library containing opendir" >&55444 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 6531 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 6532 $as_echo_n "checking for library containing opendir... " >&6; } 5445 6533 if test "${ac_cv_search_opendir+set}" = set; then 5446 echo $ECHO_N "(cached) $ECHO_C" >&66534 $as_echo_n "(cached) " >&6 5447 6535 else 5448 6536 ac_func_search_save_LIBS=$LIBS 5449 ac_cv_search_opendir=no5450 6537 cat >conftest.$ac_ext <<_ACEOF 5451 6538 /* confdefs.h. */ … … 5455 6542 /* end confdefs.h. */ 5456 6543 5457 /* Override any gcc2 internal prototype to avoid an error. */ 6544 /* Override any GCC internal prototype to avoid an error. 6545 Use char because int might match the return type of a GCC 6546 builtin and then its argument prototype would still apply. */ 5458 6547 #ifdef __cplusplus 5459 6548 extern "C" 5460 6549 #endif 5461 /* We use char because int might match the return type of a gcc25462 builtin and then its argument prototype would still apply. */5463 6550 char opendir (); 5464 6551 int 5465 6552 main () 5466 6553 { 5467 opendir ();6554 return opendir (); 5468 6555 ; 5469 6556 return 0; 5470 6557 } 5471 6558 _ACEOF 5472 rm -f conftest.$ac_objext conftest$ac_exeext 5473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5474 (eval $ac_link) 2>conftest.er1 6559 for ac_lib in '' dir; do 6560 if test -z "$ac_lib"; then 6561 ac_res="none required" 6562 else 6563 ac_res=-l$ac_lib 6564 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6565 fi 6566 rm -f conftest.$ac_objext conftest$ac_exeext 6567 if { (ac_try="$ac_link" 6568 case "(($ac_try" in 6569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6570 *) ac_try_echo=$ac_try;; 6571 esac 6572 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6573 $as_echo "$ac_try_echo") >&5 6574 (eval "$ac_link") 2>conftest.er1 5475 6575 ac_status=$? 5476 6576 grep -v '^ *+' conftest.er1 >conftest.err 5477 6577 rm -f conftest.er1 5478 6578 cat conftest.err >&5 5479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5480 (exit $ac_status); } && 5481 { ac_try='test -z "$ac_c_werror_flag" 5482 || test ! -s conftest.err' 5483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5484 (eval $ac_try) 2>&5 5485 ac_status=$? 5486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5487 (exit $ac_status); }; } && 5488 { ac_try='test -s conftest$ac_exeext' 5489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5490 (eval $ac_try) 2>&5 5491 ac_status=$? 5492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5493 (exit $ac_status); }; }; then 5494 ac_cv_search_opendir="none required" 5495 else 5496 echo "$as_me: failed program was:" >&5 6579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6580 (exit $ac_status); } && { 6581 test -z "$ac_c_werror_flag" || 6582 test ! -s conftest.err 6583 } && test -s conftest$ac_exeext && { 6584 test "$cross_compiling" = yes || 6585 $as_test_x conftest$ac_exeext 6586 }; then 6587 ac_cv_search_opendir=$ac_res 6588 else 6589 $as_echo "$as_me: failed program was:" >&5 5497 6590 sed 's/^/| /' conftest.$ac_ext >&5 5498 6591 5499 fi 5500 rm -f conftest.err conftest.$ac_objext \ 5501 conftest$ac_exeext conftest.$ac_ext 5502 if test "$ac_cv_search_opendir" = no; then 5503 for ac_lib in dir; do 5504 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5505 cat >conftest.$ac_ext <<_ACEOF 6592 6593 fi 6594 6595 rm -rf conftest.dSYM 6596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6597 conftest$ac_exeext 6598 if test "${ac_cv_search_opendir+set}" = set; then 6599 break 6600 fi 6601 done 6602 if test "${ac_cv_search_opendir+set}" = set; then 6603 : 6604 else 6605 ac_cv_search_opendir=no 6606 fi 6607 rm conftest.$ac_ext 6608 LIBS=$ac_func_search_save_LIBS 6609 fi 6610 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 6611 $as_echo "$ac_cv_search_opendir" >&6; } 6612 ac_res=$ac_cv_search_opendir 6613 if test "$ac_res" != no; then 6614 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6615 6616 fi 6617 6618 else 6619 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 6620 $as_echo_n "checking for library containing opendir... " >&6; } 6621 if test "${ac_cv_search_opendir+set}" = set; then 6622 $as_echo_n "(cached) " >&6 6623 else 6624 ac_func_search_save_LIBS=$LIBS 6625 cat >conftest.$ac_ext <<_ACEOF 5506 6626 /* confdefs.h. */ 5507 6627 _ACEOF … … 5510 6630 /* end confdefs.h. */ 5511 6631 5512 /* Override any gcc2 internal prototype to avoid an error. */ 6632 /* Override any GCC internal prototype to avoid an error. 6633 Use char because int might match the return type of a GCC 6634 builtin and then its argument prototype would still apply. */ 5513 6635 #ifdef __cplusplus 5514 6636 extern "C" 5515 6637 #endif 5516 /* We use char because int might match the return type of a gcc25517 builtin and then its argument prototype would still apply. */5518 6638 char opendir (); 5519 6639 int 5520 6640 main () 5521 6641 { 5522 opendir ();6642 return opendir (); 5523 6643 ; 5524 6644 return 0; 5525 6645 } 5526 6646 _ACEOF 5527 rm -f conftest.$ac_objext conftest$ac_exeext 5528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5529 (eval $ac_link) 2>conftest.er1 6647 for ac_lib in '' x; do 6648 if test -z "$ac_lib"; then 6649 ac_res="none required" 6650 else 6651 ac_res=-l$ac_lib 6652 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6653 fi 6654 rm -f conftest.$ac_objext conftest$ac_exeext 6655 if { (ac_try="$ac_link" 6656 case "(($ac_try" in 6657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6658 *) ac_try_echo=$ac_try;; 6659 esac 6660 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6661 $as_echo "$ac_try_echo") >&5 6662 (eval "$ac_link") 2>conftest.er1 5530 6663 ac_status=$? 5531 6664 grep -v '^ *+' conftest.er1 >conftest.err 5532 6665 rm -f conftest.er1 5533 6666 cat conftest.err >&5 5534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5535 (exit $ac_status); } && 5536 { ac_try='test -z "$ac_c_werror_flag" 5537 || test ! -s conftest.err' 5538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5539 (eval $ac_try) 2>&5 5540 ac_status=$? 5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5542 (exit $ac_status); }; } && 5543 { ac_try='test -s conftest$ac_exeext' 5544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5545 (eval $ac_try) 2>&5 5546 ac_status=$? 5547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5548 (exit $ac_status); }; }; then 5549 ac_cv_search_opendir="-l$ac_lib" 5550 break 5551 else 5552 echo "$as_me: failed program was:" >&5 6667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6668 (exit $ac_status); } && { 6669 test -z "$ac_c_werror_flag" || 6670 test ! -s conftest.err 6671 } && test -s conftest$ac_exeext && { 6672 test "$cross_compiling" = yes || 6673 $as_test_x conftest$ac_exeext 6674 }; then 6675 ac_cv_search_opendir=$ac_res 6676 else 6677 $as_echo "$as_me: failed program was:" >&5 5553 6678 sed 's/^/| /' conftest.$ac_ext >&5 5554 6679 5555 fi 5556 rm -f conftest.err conftest.$ac_objext \ 5557 conftest$ac_exeext conftest.$ac_ext 5558 done 5559 fi 6680 6681 fi 6682 6683 rm -rf conftest.dSYM 6684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6685 conftest$ac_exeext 6686 if test "${ac_cv_search_opendir+set}" = set; then 6687 break 6688 fi 6689 done 6690 if test "${ac_cv_search_opendir+set}" = set; then 6691 : 6692 else 6693 ac_cv_search_opendir=no 6694 fi 6695 rm conftest.$ac_ext 5560 6696 LIBS=$ac_func_search_save_LIBS 5561 6697 fi 5562 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5563 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5564 if test "$ac_cv_search_opendir" != no; then 5565 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5566 5567 fi 5568 5569 else 5570 echo "$as_me:$LINENO: checking for library containing opendir" >&5 5571 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5572 if test "${ac_cv_search_opendir+set}" = set; then 5573 echo $ECHO_N "(cached) $ECHO_C" >&6 5574 else 5575 ac_func_search_save_LIBS=$LIBS 5576 ac_cv_search_opendir=no 5577 cat >conftest.$ac_ext <<_ACEOF 5578 /* confdefs.h. */ 5579 _ACEOF 5580 cat confdefs.h >>conftest.$ac_ext 5581 cat >>conftest.$ac_ext <<_ACEOF 5582 /* end confdefs.h. */ 5583 5584 /* Override any gcc2 internal prototype to avoid an error. */ 5585 #ifdef __cplusplus 5586 extern "C" 5587 #endif 5588 /* We use char because int might match the return type of a gcc2 5589 builtin and then its argument prototype would still apply. */ 5590 char opendir (); 5591 int 5592 main () 5593 { 5594 opendir (); 5595 ; 5596 return 0; 5597 } 5598 _ACEOF 5599 rm -f conftest.$ac_objext conftest$ac_exeext 5600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5601 (eval $ac_link) 2>conftest.er1 5602 ac_status=$? 5603 grep -v '^ *+' conftest.er1 >conftest.err 5604 rm -f conftest.er1 5605 cat conftest.err >&5 5606 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5607 (exit $ac_status); } && 5608 { ac_try='test -z "$ac_c_werror_flag" 5609 || test ! -s conftest.err' 5610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5611 (eval $ac_try) 2>&5 5612 ac_status=$? 5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5614 (exit $ac_status); }; } && 5615 { ac_try='test -s conftest$ac_exeext' 5616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5617 (eval $ac_try) 2>&5 5618 ac_status=$? 5619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5620 (exit $ac_status); }; }; then 5621 ac_cv_search_opendir="none required" 5622 else 5623 echo "$as_me: failed program was:" >&5 5624 sed 's/^/| /' conftest.$ac_ext >&5 5625 5626 fi 5627 rm -f conftest.err conftest.$ac_objext \ 5628 conftest$ac_exeext conftest.$ac_ext 5629 if test "$ac_cv_search_opendir" = no; then 5630 for ac_lib in x; do 5631 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5632 cat >conftest.$ac_ext <<_ACEOF 5633 /* confdefs.h. */ 5634 _ACEOF 5635 cat confdefs.h >>conftest.$ac_ext 5636 cat >>conftest.$ac_ext <<_ACEOF 5637 /* end confdefs.h. */ 5638 5639 /* Override any gcc2 internal prototype to avoid an error. */ 5640 #ifdef __cplusplus 5641 extern "C" 5642 #endif 5643 /* We use char because int might match the return type of a gcc2 5644 builtin and then its argument prototype would still apply. */ 5645 char opendir (); 5646 int 5647 main () 5648 { 5649 opendir (); 5650 ; 5651 return 0; 5652 } 5653 _ACEOF 5654 rm -f conftest.$ac_objext conftest$ac_exeext 5655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5656 (eval $ac_link) 2>conftest.er1 5657 ac_status=$? 5658 grep -v '^ *+' conftest.er1 >conftest.err 5659 rm -f conftest.er1 5660 cat conftest.err >&5 5661 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5662 (exit $ac_status); } && 5663 { ac_try='test -z "$ac_c_werror_flag" 5664 || test ! -s conftest.err' 5665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5666 (eval $ac_try) 2>&5 5667 ac_status=$? 5668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5669 (exit $ac_status); }; } && 5670 { ac_try='test -s conftest$ac_exeext' 5671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5672 (eval $ac_try) 2>&5 5673 ac_status=$? 5674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5675 (exit $ac_status); }; }; then 5676 ac_cv_search_opendir="-l$ac_lib" 5677 break 5678 else 5679 echo "$as_me: failed program was:" >&5 5680 sed 's/^/| /' conftest.$ac_ext >&5 5681 5682 fi 5683 rm -f conftest.err conftest.$ac_objext \ 5684 conftest$ac_exeext conftest.$ac_ext 5685 done 5686 fi 5687 LIBS=$ac_func_search_save_LIBS 5688 fi 5689 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5690 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5691 if test "$ac_cv_search_opendir" != no; then 5692 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5693 5694 fi 5695 5696 fi 5697 5698 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5699 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6698 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 6699 $as_echo "$ac_cv_search_opendir" >&6; } 6700 ac_res=$ac_cv_search_opendir 6701 if test "$ac_res" != no; then 6702 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6703 6704 fi 6705 6706 fi 6707 6708 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6709 $as_echo_n "checking for ANSI C header files... " >&6; } 5700 6710 if test "${ac_cv_header_stdc+set}" = set; then 5701 echo $ECHO_N "(cached) $ECHO_C" >&66711 $as_echo_n "(cached) " >&6 5702 6712 else 5703 6713 cat >conftest.$ac_ext <<_ACEOF … … 5721 6731 _ACEOF 5722 6732 rm -f conftest.$ac_objext 5723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5724 (eval $ac_compile) 2>conftest.er1 6733 if { (ac_try="$ac_compile" 6734 case "(($ac_try" in 6735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6736 *) ac_try_echo=$ac_try;; 6737 esac 6738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6739 $as_echo "$ac_try_echo") >&5 6740 (eval "$ac_compile") 2>conftest.er1 5725 6741 ac_status=$? 5726 6742 grep -v '^ *+' conftest.er1 >conftest.err 5727 6743 rm -f conftest.er1 5728 6744 cat conftest.err >&5 5729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5730 (exit $ac_status); } && 5731 { ac_try='test -z "$ac_c_werror_flag" 5732 || test ! -s conftest.err' 5733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5734 (eval $ac_try) 2>&5 5735 ac_status=$? 5736 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5737 (exit $ac_status); }; } && 5738 { ac_try='test -s conftest.$ac_objext' 5739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5740 (eval $ac_try) 2>&5 5741 ac_status=$? 5742 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5743 (exit $ac_status); }; }; then 6745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6746 (exit $ac_status); } && { 6747 test -z "$ac_c_werror_flag" || 6748 test ! -s conftest.err 6749 } && test -s conftest.$ac_objext; then 5744 6750 ac_cv_header_stdc=yes 5745 6751 else 5746 echo "$as_me: failed program was:" >&56752 $as_echo "$as_me: failed program was:" >&5 5747 6753 sed 's/^/| /' conftest.$ac_ext >&5 5748 6754 5749 ac_cv_header_stdc=no 5750 fi 5751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6755 ac_cv_header_stdc=no 6756 fi 6757 6758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5752 6759 5753 6760 if test $ac_cv_header_stdc = yes; then … … 5805 6812 /* end confdefs.h. */ 5806 6813 #include <ctype.h> 6814 #include <stdlib.h> 5807 6815 #if ((' ' & 0x0FF) == 0x020) 5808 6816 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 5824 6832 if (XOR (islower (i), ISLOWER (i)) 5825 6833 || toupper (i) != TOUPPER (i)) 5826 exit(2);5827 exit (0);6834 return 2; 6835 return 0; 5828 6836 } 5829 6837 _ACEOF 5830 6838 rm -f conftest$ac_exeext 5831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5832 (eval $ac_link) 2>&5 6839 if { (ac_try="$ac_link" 6840 case "(($ac_try" in 6841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6842 *) ac_try_echo=$ac_try;; 6843 esac 6844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6845 $as_echo "$ac_try_echo") >&5 6846 (eval "$ac_link") 2>&5 5833 6847 ac_status=$? 5834 echo "$as_me:$LINENO: \$? = $ac_status" >&56848 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5835 6849 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5837 (eval $ac_try) 2>&5 6850 { (case "(($ac_try" in 6851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6852 *) ac_try_echo=$ac_try;; 6853 esac 6854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6855 $as_echo "$ac_try_echo") >&5 6856 (eval "$ac_try") 2>&5 5838 6857 ac_status=$? 5839 echo "$as_me:$LINENO: \$? = $ac_status" >&56858 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5840 6859 (exit $ac_status); }; }; then 5841 6860 : 5842 6861 else 5843 echo "$as_me: program exited with status $ac_status" >&55844 echo "$as_me: failed program was:" >&56862 $as_echo "$as_me: program exited with status $ac_status" >&5 6863 $as_echo "$as_me: failed program was:" >&5 5845 6864 sed 's/^/| /' conftest.$ac_ext >&5 5846 6865 … … 5848 6867 ac_cv_header_stdc=no 5849 6868 fi 5850 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5851 fi 5852 fi 5853 fi 5854 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5855 echo "${ECHO_T}$ac_cv_header_stdc" >&6 6869 rm -rf conftest.dSYM 6870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6871 fi 6872 6873 6874 fi 6875 fi 6876 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6877 $as_echo "$ac_cv_header_stdc" >&6; } 5856 6878 if test $ac_cv_header_stdc = yes; then 5857 6879 … … 5873 6895 for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h sys/stat.h 5874 6896 do 5875 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5876 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5877 echo "$as_me:$LINENO: checking for $ac_header" >&5 5878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5879 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5880 echo $ECHO_N "(cached) $ECHO_C" >&6 5881 fi 5882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6897 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6898 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6899 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6900 $as_echo_n "checking for $ac_header... " >&6; } 6901 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6902 $as_echo_n "(cached) " >&6 6903 fi 6904 ac_res=`eval 'as_val=${'$as_ac_Header'} 6905 $as_echo "$as_val"'` 6906 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6907 $as_echo "$ac_res" >&6; } 5884 6908 else 5885 6909 # Is the header compilable? 5886 echo "$as_me:$LINENO: checking $ac_header usability" >&55887 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6910 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6911 $as_echo_n "checking $ac_header usability... " >&6; } 5888 6912 cat >conftest.$ac_ext <<_ACEOF 5889 6913 /* confdefs.h. */ … … 5896 6920 _ACEOF 5897 6921 rm -f conftest.$ac_objext 5898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5899 (eval $ac_compile) 2>conftest.er1 6922 if { (ac_try="$ac_compile" 6923 case "(($ac_try" in 6924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6925 *) ac_try_echo=$ac_try;; 6926 esac 6927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6928 $as_echo "$ac_try_echo") >&5 6929 (eval "$ac_compile") 2>conftest.er1 5900 6930 ac_status=$? 5901 6931 grep -v '^ *+' conftest.er1 >conftest.err 5902 6932 rm -f conftest.er1 5903 6933 cat conftest.err >&5 5904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5905 (exit $ac_status); } && 5906 { ac_try='test -z "$ac_c_werror_flag" 5907 || test ! -s conftest.err' 5908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5909 (eval $ac_try) 2>&5 5910 ac_status=$? 5911 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5912 (exit $ac_status); }; } && 5913 { ac_try='test -s conftest.$ac_objext' 5914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5915 (eval $ac_try) 2>&5 5916 ac_status=$? 5917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5918 (exit $ac_status); }; }; then 6934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6935 (exit $ac_status); } && { 6936 test -z "$ac_c_werror_flag" || 6937 test ! -s conftest.err 6938 } && test -s conftest.$ac_objext; then 5919 6939 ac_header_compiler=yes 5920 6940 else 5921 echo "$as_me: failed program was:" >&56941 $as_echo "$as_me: failed program was:" >&5 5922 6942 sed 's/^/| /' conftest.$ac_ext >&5 5923 6943 5924 ac_header_compiler=no 5925 fi 5926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5928 echo "${ECHO_T}$ac_header_compiler" >&6 6944 ac_header_compiler=no 6945 fi 6946 6947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6948 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6949 $as_echo "$ac_header_compiler" >&6; } 5929 6950 5930 6951 # Is the header present? 5931 echo "$as_me:$LINENO: checking $ac_header presence" >&55932 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6952 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6953 $as_echo_n "checking $ac_header presence... " >&6; } 5933 6954 cat >conftest.$ac_ext <<_ACEOF 5934 6955 /* confdefs.h. */ … … 5939 6960 #include <$ac_header> 5940 6961 _ACEOF 5941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5942 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6962 if { (ac_try="$ac_cpp conftest.$ac_ext" 6963 case "(($ac_try" in 6964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6965 *) ac_try_echo=$ac_try;; 6966 esac 6967 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6968 $as_echo "$ac_try_echo") >&5 6969 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5943 6970 ac_status=$? 5944 6971 grep -v '^ *+' conftest.er1 >conftest.err 5945 6972 rm -f conftest.er1 5946 6973 cat conftest.err >&5 5947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5948 (exit $ac_status); } >/dev/null; then 5949 if test -s conftest.err; then 5950 ac_cpp_err=$ac_c_preproc_warn_flag 5951 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5952 else 5953 ac_cpp_err= 5954 fi 5955 else 5956 ac_cpp_err=yes 5957 fi 5958 if test -z "$ac_cpp_err"; then 6974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6975 (exit $ac_status); } >/dev/null && { 6976 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6977 test ! -s conftest.err 6978 }; then 5959 6979 ac_header_preproc=yes 5960 6980 else 5961 echo "$as_me: failed program was:" >&56981 $as_echo "$as_me: failed program was:" >&5 5962 6982 sed 's/^/| /' conftest.$ac_ext >&5 5963 6983 5964 6984 ac_header_preproc=no 5965 6985 fi 6986 5966 6987 rm -f conftest.err conftest.$ac_ext 5967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&55968 echo "${ECHO_T}$ac_header_preproc" >&6 6988 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6989 $as_echo "$ac_header_preproc" >&6; } 5969 6990 5970 6991 # So? What about this header? 5971 6992 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5972 6993 yes:no: ) 5973 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&55974 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}5975 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&55976 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}6994 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6995 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6996 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6997 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5977 6998 ac_header_preproc=yes 5978 6999 ;; 5979 7000 no:yes:* ) 5980 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5981 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5982 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5983 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5984 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5985 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5986 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5987 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5989 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5990 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5991 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5992 ( 5993 cat <<\_ASBOX 5994 ## ------------------------------------------ ## 5995 ## Report this to the AC_PACKAGE_NAME lists. ## 5996 ## ------------------------------------------ ## 5997 _ASBOX 5998 ) | 5999 sed "s/^/$as_me: WARNING: /" >&2 7001 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7002 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7003 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7004 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7005 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7006 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7007 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7008 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7009 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7010 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7011 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7012 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7013 6000 7014 ;; 6001 7015 esac 6002 echo "$as_me:$LINENO: checking for $ac_header" >&56003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6004 if eval "test \"\${$as_ac_Header+set}\" = set"; then6005 echo $ECHO_N "(cached) $ECHO_C" >&67016 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7017 $as_echo_n "checking for $ac_header... " >&6; } 7018 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7019 $as_echo_n "(cached) " >&6 6006 7020 else 6007 7021 eval "$as_ac_Header=\$ac_header_preproc" 6008 7022 fi 6009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6011 6012 fi 6013 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7023 ac_res=`eval 'as_val=${'$as_ac_Header'} 7024 $as_echo "$as_val"'` 7025 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7026 $as_echo "$ac_res" >&6; } 7027 7028 fi 7029 as_val=`eval 'as_val=${'$as_ac_Header'} 7030 $as_echo "$as_val"'` 7031 if test "x$as_val" = x""yes; then 6014 7032 cat >>confdefs.h <<_ACEOF 6015 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 17033 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6016 7034 _ACEOF 6017 7035 … … 6077 7095 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 6078 7096 # for constant arguments. Useless! 6079 echo "$as_me:$LINENO: checking for working alloca.h" >&56080 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 7097 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 7098 $as_echo_n "checking for working alloca.h... " >&6; } 6081 7099 if test "${ac_cv_working_alloca_h+set}" = set; then 6082 echo $ECHO_N "(cached) $ECHO_C" >&67100 $as_echo_n "(cached) " >&6 6083 7101 else 6084 7102 cat >conftest.$ac_ext <<_ACEOF … … 6093 7111 { 6094 7112 char *p = (char *) alloca (2 * sizeof (int)); 7113 if (p) return 0; 6095 7114 ; 6096 7115 return 0; … … 6098 7117 _ACEOF 6099 7118 rm -f conftest.$ac_objext conftest$ac_exeext 6100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6101 (eval $ac_link) 2>conftest.er1 7119 if { (ac_try="$ac_link" 7120 case "(($ac_try" in 7121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7122 *) ac_try_echo=$ac_try;; 7123 esac 7124 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7125 $as_echo "$ac_try_echo") >&5 7126 (eval "$ac_link") 2>conftest.er1 6102 7127 ac_status=$? 6103 7128 grep -v '^ *+' conftest.er1 >conftest.err 6104 7129 rm -f conftest.er1 6105 7130 cat conftest.err >&5 6106 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6107 (exit $ac_status); } && 6108 { ac_try='test -z "$ac_c_werror_flag" 6109 || test ! -s conftest.err' 6110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6111 (eval $ac_try) 2>&5 6112 ac_status=$? 6113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6114 (exit $ac_status); }; } && 6115 { ac_try='test -s conftest$ac_exeext' 6116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6117 (eval $ac_try) 2>&5 6118 ac_status=$? 6119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6120 (exit $ac_status); }; }; then 7131 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7132 (exit $ac_status); } && { 7133 test -z "$ac_c_werror_flag" || 7134 test ! -s conftest.err 7135 } && test -s conftest$ac_exeext && { 7136 test "$cross_compiling" = yes || 7137 $as_test_x conftest$ac_exeext 7138 }; then 6121 7139 ac_cv_working_alloca_h=yes 6122 7140 else 6123 echo "$as_me: failed program was:" >&57141 $as_echo "$as_me: failed program was:" >&5 6124 7142 sed 's/^/| /' conftest.$ac_ext >&5 6125 7143 6126 ac_cv_working_alloca_h=no 6127 fi 6128 rm -f conftest.err conftest.$ac_objext \ 7144 ac_cv_working_alloca_h=no 7145 fi 7146 7147 rm -rf conftest.dSYM 7148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6129 7149 conftest$ac_exeext conftest.$ac_ext 6130 7150 fi 6131 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&56132 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 7151 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 7152 $as_echo "$ac_cv_working_alloca_h" >&6; } 6133 7153 if test $ac_cv_working_alloca_h = yes; then 6134 7154 … … 6139 7159 fi 6140 7160 6141 echo "$as_me:$LINENO: checking for alloca" >&56142 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 7161 { $as_echo "$as_me:$LINENO: checking for alloca" >&5 7162 $as_echo_n "checking for alloca... " >&6; } 6143 7163 if test "${ac_cv_func_alloca_works+set}" = set; then 6144 echo $ECHO_N "(cached) $ECHO_C" >&67164 $as_echo_n "(cached) " >&6 6145 7165 else 6146 7166 cat >conftest.$ac_ext <<_ACEOF … … 6157 7177 # define alloca _alloca 6158 7178 # else 6159 # if HAVE_ALLOCA_H7179 # ifdef HAVE_ALLOCA_H 6160 7180 # include <alloca.h> 6161 7181 # else … … 6175 7195 { 6176 7196 char *p = (char *) alloca (1); 7197 if (p) return 0; 6177 7198 ; 6178 7199 return 0; … … 6180 7201 _ACEOF 6181 7202 rm -f conftest.$ac_objext conftest$ac_exeext 6182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6183 (eval $ac_link) 2>conftest.er1 7203 if { (ac_try="$ac_link" 7204 case "(($ac_try" in 7205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7206 *) ac_try_echo=$ac_try;; 7207 esac 7208 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7209 $as_echo "$ac_try_echo") >&5 7210 (eval "$ac_link") 2>conftest.er1 6184 7211 ac_status=$? 6185 7212 grep -v '^ *+' conftest.er1 >conftest.err 6186 7213 rm -f conftest.er1 6187 7214 cat conftest.err >&5 6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6189 (exit $ac_status); } && 6190 { ac_try='test -z "$ac_c_werror_flag" 6191 || test ! -s conftest.err' 6192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6193 (eval $ac_try) 2>&5 6194 ac_status=$? 6195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6196 (exit $ac_status); }; } && 6197 { ac_try='test -s conftest$ac_exeext' 6198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6199 (eval $ac_try) 2>&5 6200 ac_status=$? 6201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6202 (exit $ac_status); }; }; then 7215 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7216 (exit $ac_status); } && { 7217 test -z "$ac_c_werror_flag" || 7218 test ! -s conftest.err 7219 } && test -s conftest$ac_exeext && { 7220 test "$cross_compiling" = yes || 7221 $as_test_x conftest$ac_exeext 7222 }; then 6203 7223 ac_cv_func_alloca_works=yes 6204 7224 else 6205 echo "$as_me: failed program was:" >&57225 $as_echo "$as_me: failed program was:" >&5 6206 7226 sed 's/^/| /' conftest.$ac_ext >&5 6207 7227 6208 ac_cv_func_alloca_works=no 6209 fi 6210 rm -f conftest.err conftest.$ac_objext \ 7228 ac_cv_func_alloca_works=no 7229 fi 7230 7231 rm -rf conftest.dSYM 7232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6211 7233 conftest$ac_exeext conftest.$ac_ext 6212 7234 fi 6213 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&56214 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 7235 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 7236 $as_echo "$ac_cv_func_alloca_works" >&6; } 6215 7237 6216 7238 if test $ac_cv_func_alloca_works = yes; then … … 6226 7248 # use ar to extract alloca.o from them instead of compiling alloca.c. 6227 7249 6228 ALLOCA= alloca.$ac_objext7250 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 6229 7251 6230 7252 cat >>confdefs.h <<\_ACEOF … … 6233 7255 6234 7256 6235 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&56236 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 7257 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 7258 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 6237 7259 if test "${ac_cv_os_cray+set}" = set; then 6238 echo $ECHO_N "(cached) $ECHO_C" >&67260 $as_echo_n "(cached) " >&6 6239 7261 else 6240 7262 cat >conftest.$ac_ext <<_ACEOF … … 6244 7266 cat >>conftest.$ac_ext <<_ACEOF 6245 7267 /* end confdefs.h. */ 6246 #if defined (CRAY) && ! defined(CRAY2)7268 #if defined CRAY && ! defined CRAY2 6247 7269 webecray 6248 7270 #else … … 6260 7282 6261 7283 fi 6262 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&56263 echo "${ECHO_T}$ac_cv_os_cray" >&6 7284 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 7285 $as_echo "$ac_cv_os_cray" >&6; } 6264 7286 if test $ac_cv_os_cray = yes; then 6265 7287 for ac_func in _getb67 GETB67 getb67; do 6266 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6267 echo "$as_me:$LINENO: checking for $ac_func" >&56268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6269 if eval "test \"\${$as_ac_var+set}\" = set"; then6270 echo $ECHO_N "(cached) $ECHO_C" >&67288 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7289 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7290 $as_echo_n "checking for $ac_func... " >&6; } 7291 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7292 $as_echo_n "(cached) " >&6 6271 7293 else 6272 7294 cat >conftest.$ac_ext <<_ACEOF … … 6293 7315 #undef $ac_func 6294 7316 6295 /* Override any gcc2 internal prototype to avoid an error. */ 7317 /* Override any GCC internal prototype to avoid an error. 7318 Use char because int might match the return type of a GCC 7319 builtin and then its argument prototype would still apply. */ 6296 7320 #ifdef __cplusplus 6297 7321 extern "C" 6298 {6299 7322 #endif 6300 /* We use char because int might match the return type of a gcc26301 builtin and then its argument prototype would still apply. */6302 7323 char $ac_func (); 6303 7324 /* The GNU C library defines this for functions which it implements 6304 7325 to always fail with ENOSYS. Some functions are actually named 6305 7326 something starting with __ and the normal name is an alias. */ 6306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7327 #if defined __stub_$ac_func || defined __stub___$ac_func 6307 7328 choke me 6308 #else6309 char (*f) () = $ac_func;6310 #endif6311 #ifdef __cplusplus6312 }6313 7329 #endif 6314 7330 … … 6316 7332 main () 6317 7333 { 6318 return f != $ac_func;7334 return $ac_func (); 6319 7335 ; 6320 7336 return 0; … … 6322 7338 _ACEOF 6323 7339 rm -f conftest.$ac_objext conftest$ac_exeext 6324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6325 (eval $ac_link) 2>conftest.er1 7340 if { (ac_try="$ac_link" 7341 case "(($ac_try" in 7342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7343 *) ac_try_echo=$ac_try;; 7344 esac 7345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7346 $as_echo "$ac_try_echo") >&5 7347 (eval "$ac_link") 2>conftest.er1 6326 7348 ac_status=$? 6327 7349 grep -v '^ *+' conftest.er1 >conftest.err 6328 7350 rm -f conftest.er1 6329 7351 cat conftest.err >&5 6330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6331 (exit $ac_status); } && 6332 { ac_try='test -z "$ac_c_werror_flag" 6333 || test ! -s conftest.err' 6334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6335 (eval $ac_try) 2>&5 6336 ac_status=$? 6337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6338 (exit $ac_status); }; } && 6339 { ac_try='test -s conftest$ac_exeext' 6340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6341 (eval $ac_try) 2>&5 6342 ac_status=$? 6343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6344 (exit $ac_status); }; }; then 7352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7353 (exit $ac_status); } && { 7354 test -z "$ac_c_werror_flag" || 7355 test ! -s conftest.err 7356 } && test -s conftest$ac_exeext && { 7357 test "$cross_compiling" = yes || 7358 $as_test_x conftest$ac_exeext 7359 }; then 6345 7360 eval "$as_ac_var=yes" 6346 7361 else 6347 echo "$as_me: failed program was:" >&57362 $as_echo "$as_me: failed program was:" >&5 6348 7363 sed 's/^/| /' conftest.$ac_ext >&5 6349 7364 6350 eval "$as_ac_var=no" 6351 fi 6352 rm -f conftest.err conftest.$ac_objext \ 7365 eval "$as_ac_var=no" 7366 fi 7367 7368 rm -rf conftest.dSYM 7369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6353 7370 conftest$ac_exeext conftest.$ac_ext 6354 7371 fi 6355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6357 if test `eval echo '${'$as_ac_var'}'` = yes; then 7372 ac_res=`eval 'as_val=${'$as_ac_var'} 7373 $as_echo "$as_val"'` 7374 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7375 $as_echo "$ac_res" >&6; } 7376 as_val=`eval 'as_val=${'$as_ac_var'} 7377 $as_echo "$as_val"'` 7378 if test "x$as_val" = x""yes; then 6358 7379 6359 7380 cat >>confdefs.h <<_ACEOF … … 6367 7388 fi 6368 7389 6369 echo "$as_me:$LINENO: checking stack direction for C alloca" >&56370 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 7390 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 7391 $as_echo_n "checking stack direction for C alloca... " >&6; } 6371 7392 if test "${ac_cv_c_stack_direction+set}" = set; then 6372 echo $ECHO_N "(cached) $ECHO_C" >&67393 $as_echo_n "(cached) " >&6 6373 7394 else 6374 7395 if test "$cross_compiling" = yes; then … … 6381 7402 cat >>conftest.$ac_ext <<_ACEOF 6382 7403 /* end confdefs.h. */ 7404 $ac_includes_default 6383 7405 int 6384 7406 find_stack_direction () … … 6398 7420 main () 6399 7421 { 6400 exit (find_stack_direction () < 0);7422 return find_stack_direction () < 0; 6401 7423 } 6402 7424 _ACEOF 6403 7425 rm -f conftest$ac_exeext 6404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6405 (eval $ac_link) 2>&5 7426 if { (ac_try="$ac_link" 7427 case "(($ac_try" in 7428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7429 *) ac_try_echo=$ac_try;; 7430 esac 7431 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7432 $as_echo "$ac_try_echo") >&5 7433 (eval "$ac_link") 2>&5 6406 7434 ac_status=$? 6407 echo "$as_me:$LINENO: \$? = $ac_status" >&57435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6408 7436 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6410 (eval $ac_try) 2>&5 7437 { (case "(($ac_try" in 7438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7439 *) ac_try_echo=$ac_try;; 7440 esac 7441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7442 $as_echo "$ac_try_echo") >&5 7443 (eval "$ac_try") 2>&5 6411 7444 ac_status=$? 6412 echo "$as_me:$LINENO: \$? = $ac_status" >&57445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6413 7446 (exit $ac_status); }; }; then 6414 7447 ac_cv_c_stack_direction=1 6415 7448 else 6416 echo "$as_me: program exited with status $ac_status" >&56417 echo "$as_me: failed program was:" >&57449 $as_echo "$as_me: program exited with status $ac_status" >&5 7450 $as_echo "$as_me: failed program was:" >&5 6418 7451 sed 's/^/| /' conftest.$ac_ext >&5 6419 7452 … … 6421 7454 ac_cv_c_stack_direction=-1 6422 7455 fi 6423 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6424 fi 6425 fi 6426 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 6427 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 7456 rm -rf conftest.dSYM 7457 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7458 fi 7459 7460 7461 fi 7462 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 7463 $as_echo "$ac_cv_c_stack_direction" >&6; } 6428 7464 6429 7465 cat >>confdefs.h <<_ACEOF … … 6435 7471 6436 7472 if test $ac_cv_c_compiler_gnu = yes; then 6437 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&56438 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 7473 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 7474 $as_echo_n "checking whether $CC needs -traditional... " >&6; } 6439 7475 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 6440 echo $ECHO_N "(cached) $ECHO_C" >&67476 $as_echo_n "(cached) " >&6 6441 7477 else 6442 7478 ac_pattern="Autoconf.*'x'" … … 6477 7513 fi 6478 7514 fi 6479 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&56480 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 7515 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 7516 $as_echo "$ac_cv_prog_gcc_traditional" >&6; } 6481 7517 if test $ac_cv_prog_gcc_traditional = yes; then 6482 7518 CC="$CC -traditional" … … 6484 7520 fi 6485 7521 6486 echo "$as_me:$LINENO: checking return type of signal handlers" >&56487 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 7522 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 7523 $as_echo_n "checking return type of signal handlers... " >&6; } 6488 7524 if test "${ac_cv_type_signal+set}" = set; then 6489 echo $ECHO_N "(cached) $ECHO_C" >&67525 $as_echo_n "(cached) " >&6 6490 7526 else 6491 7527 cat >conftest.$ac_ext <<_ACEOF … … 6497 7533 #include <sys/types.h> 6498 7534 #include <signal.h> 6499 #ifdef signal6500 # undef signal6501 #endif6502 #ifdef __cplusplus6503 extern "C" void (*signal (int, void (*)(int)))(int);6504 #else6505 void (*signal ()) ();6506 #endif6507 7535 6508 7536 int 6509 7537 main () 6510 7538 { 6511 int i;7539 return *(signal (0, 0)) (0) == 1; 6512 7540 ; 6513 7541 return 0; … … 6515 7543 _ACEOF 6516 7544 rm -f conftest.$ac_objext 6517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6518 (eval $ac_compile) 2>conftest.er1 7545 if { (ac_try="$ac_compile" 7546 case "(($ac_try" in 7547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7548 *) ac_try_echo=$ac_try;; 7549 esac 7550 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7551 $as_echo "$ac_try_echo") >&5 7552 (eval "$ac_compile") 2>conftest.er1 6519 7553 ac_status=$? 6520 7554 grep -v '^ *+' conftest.er1 >conftest.err 6521 7555 rm -f conftest.er1 6522 7556 cat conftest.err >&5 6523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6524 (exit $ac_status); } && 6525 { ac_try='test -z "$ac_c_werror_flag" 6526 || test ! -s conftest.err' 6527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6528 (eval $ac_try) 2>&5 6529 ac_status=$? 6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6531 (exit $ac_status); }; } && 6532 { ac_try='test -s conftest.$ac_objext' 6533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6534 (eval $ac_try) 2>&5 6535 ac_status=$? 6536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6537 (exit $ac_status); }; }; then 6538 ac_cv_type_signal=void 6539 else 6540 echo "$as_me: failed program was:" >&5 7557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7558 (exit $ac_status); } && { 7559 test -z "$ac_c_werror_flag" || 7560 test ! -s conftest.err 7561 } && test -s conftest.$ac_objext; then 7562 ac_cv_type_signal=int 7563 else 7564 $as_echo "$as_me: failed program was:" >&5 6541 7565 sed 's/^/| /' conftest.$ac_ext >&5 6542 7566 6543 ac_cv_type_signal=int 6544 fi 6545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6546 fi 6547 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 6548 echo "${ECHO_T}$ac_cv_type_signal" >&6 7567 ac_cv_type_signal=void 7568 fi 7569 7570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7571 fi 7572 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 7573 $as_echo "$ac_cv_type_signal" >&6; } 6549 7574 6550 7575 cat >>confdefs.h <<_ACEOF … … 6556 7581 for ac_func in vprintf 6557 7582 do 6558 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6559 echo "$as_me:$LINENO: checking for $ac_func" >&56560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6561 if eval "test \"\${$as_ac_var+set}\" = set"; then6562 echo $ECHO_N "(cached) $ECHO_C" >&67583 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7584 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7585 $as_echo_n "checking for $ac_func... " >&6; } 7586 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7587 $as_echo_n "(cached) " >&6 6563 7588 else 6564 7589 cat >conftest.$ac_ext <<_ACEOF … … 6585 7610 #undef $ac_func 6586 7611 6587 /* Override any gcc2 internal prototype to avoid an error. */ 7612 /* Override any GCC internal prototype to avoid an error. 7613 Use char because int might match the return type of a GCC 7614 builtin and then its argument prototype would still apply. */ 6588 7615 #ifdef __cplusplus 6589 7616 extern "C" 6590 {6591 7617 #endif 6592 /* We use char because int might match the return type of a gcc26593 builtin and then its argument prototype would still apply. */6594 7618 char $ac_func (); 6595 7619 /* The GNU C library defines this for functions which it implements 6596 7620 to always fail with ENOSYS. Some functions are actually named 6597 7621 something starting with __ and the normal name is an alias. */ 6598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7622 #if defined __stub_$ac_func || defined __stub___$ac_func 6599 7623 choke me 6600 #else6601 char (*f) () = $ac_func;6602 #endif6603 #ifdef __cplusplus6604 }6605 7624 #endif 6606 7625 … … 6608 7627 main () 6609 7628 { 6610 return f != $ac_func;7629 return $ac_func (); 6611 7630 ; 6612 7631 return 0; … … 6614 7633 _ACEOF 6615 7634 rm -f conftest.$ac_objext conftest$ac_exeext 6616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6617 (eval $ac_link) 2>conftest.er1 7635 if { (ac_try="$ac_link" 7636 case "(($ac_try" in 7637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7638 *) ac_try_echo=$ac_try;; 7639 esac 7640 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7641 $as_echo "$ac_try_echo") >&5 7642 (eval "$ac_link") 2>conftest.er1 6618 7643 ac_status=$? 6619 7644 grep -v '^ *+' conftest.er1 >conftest.err 6620 7645 rm -f conftest.er1 6621 7646 cat conftest.err >&5 6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6623 (exit $ac_status); } && 6624 { ac_try='test -z "$ac_c_werror_flag" 6625 || test ! -s conftest.err' 6626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6627 (eval $ac_try) 2>&5 6628 ac_status=$? 6629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6630 (exit $ac_status); }; } && 6631 { ac_try='test -s conftest$ac_exeext' 6632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6633 (eval $ac_try) 2>&5 6634 ac_status=$? 6635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6636 (exit $ac_status); }; }; then 7647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7648 (exit $ac_status); } && { 7649 test -z "$ac_c_werror_flag" || 7650 test ! -s conftest.err 7651 } && test -s conftest$ac_exeext && { 7652 test "$cross_compiling" = yes || 7653 $as_test_x conftest$ac_exeext 7654 }; then 6637 7655 eval "$as_ac_var=yes" 6638 7656 else 6639 echo "$as_me: failed program was:" >&57657 $as_echo "$as_me: failed program was:" >&5 6640 7658 sed 's/^/| /' conftest.$ac_ext >&5 6641 7659 6642 eval "$as_ac_var=no" 6643 fi 6644 rm -f conftest.err conftest.$ac_objext \ 7660 eval "$as_ac_var=no" 7661 fi 7662 7663 rm -rf conftest.dSYM 7664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6645 7665 conftest$ac_exeext conftest.$ac_ext 6646 7666 fi 6647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6649 if test `eval echo '${'$as_ac_var'}'` = yes; then 7667 ac_res=`eval 'as_val=${'$as_ac_var'} 7668 $as_echo "$as_val"'` 7669 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7670 $as_echo "$ac_res" >&6; } 7671 as_val=`eval 'as_val=${'$as_ac_var'} 7672 $as_echo "$as_val"'` 7673 if test "x$as_val" = x""yes; then 6650 7674 cat >>confdefs.h <<_ACEOF 6651 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 16652 _ACEOF 6653 6654 echo "$as_me:$LINENO: checking for _doprnt" >&56655 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 7675 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7676 _ACEOF 7677 7678 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5 7679 $as_echo_n "checking for _doprnt... " >&6; } 6656 7680 if test "${ac_cv_func__doprnt+set}" = set; then 6657 echo $ECHO_N "(cached) $ECHO_C" >&67681 $as_echo_n "(cached) " >&6 6658 7682 else 6659 7683 cat >conftest.$ac_ext <<_ACEOF … … 6680 7704 #undef _doprnt 6681 7705 6682 /* Override any gcc2 internal prototype to avoid an error. */ 7706 /* Override any GCC internal prototype to avoid an error. 7707 Use char because int might match the return type of a GCC 7708 builtin and then its argument prototype would still apply. */ 6683 7709 #ifdef __cplusplus 6684 7710 extern "C" 6685 {6686 7711 #endif 6687 /* We use char because int might match the return type of a gcc26688 builtin and then its argument prototype would still apply. */6689 7712 char _doprnt (); 6690 7713 /* The GNU C library defines this for functions which it implements 6691 7714 to always fail with ENOSYS. Some functions are actually named 6692 7715 something starting with __ and the normal name is an alias. */ 6693 #if defined (__stub__doprnt) || defined (__stub____doprnt)7716 #if defined __stub__doprnt || defined __stub____doprnt 6694 7717 choke me 6695 #else6696 char (*f) () = _doprnt;6697 #endif6698 #ifdef __cplusplus6699 }6700 7718 #endif 6701 7719 … … 6703 7721 main () 6704 7722 { 6705 return f != _doprnt;7723 return _doprnt (); 6706 7724 ; 6707 7725 return 0; … … 6709 7727 _ACEOF 6710 7728 rm -f conftest.$ac_objext conftest$ac_exeext 6711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6712 (eval $ac_link) 2>conftest.er1 7729 if { (ac_try="$ac_link" 7730 case "(($ac_try" in 7731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7732 *) ac_try_echo=$ac_try;; 7733 esac 7734 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7735 $as_echo "$ac_try_echo") >&5 7736 (eval "$ac_link") 2>conftest.er1 6713 7737 ac_status=$? 6714 7738 grep -v '^ *+' conftest.er1 >conftest.err 6715 7739 rm -f conftest.er1 6716 7740 cat conftest.err >&5 6717 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6718 (exit $ac_status); } && 6719 { ac_try='test -z "$ac_c_werror_flag" 6720 || test ! -s conftest.err' 6721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6722 (eval $ac_try) 2>&5 6723 ac_status=$? 6724 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6725 (exit $ac_status); }; } && 6726 { ac_try='test -s conftest$ac_exeext' 6727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6728 (eval $ac_try) 2>&5 6729 ac_status=$? 6730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6731 (exit $ac_status); }; }; then 7741 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7742 (exit $ac_status); } && { 7743 test -z "$ac_c_werror_flag" || 7744 test ! -s conftest.err 7745 } && test -s conftest$ac_exeext && { 7746 test "$cross_compiling" = yes || 7747 $as_test_x conftest$ac_exeext 7748 }; then 6732 7749 ac_cv_func__doprnt=yes 6733 7750 else 6734 echo "$as_me: failed program was:" >&57751 $as_echo "$as_me: failed program was:" >&5 6735 7752 sed 's/^/| /' conftest.$ac_ext >&5 6736 7753 6737 ac_cv_func__doprnt=no 6738 fi 6739 rm -f conftest.err conftest.$ac_objext \ 7754 ac_cv_func__doprnt=no 7755 fi 7756 7757 rm -rf conftest.dSYM 7758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6740 7759 conftest$ac_exeext conftest.$ac_ext 6741 7760 fi 6742 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&56743 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 6744 if test $ac_cv_func__doprnt =yes; then7761 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 7762 $as_echo "$ac_cv_func__doprnt" >&6; } 7763 if test "x$ac_cv_func__doprnt" = x""yes; then 6745 7764 6746 7765 cat >>confdefs.h <<\_ACEOF … … 6766 7785 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror 6767 7786 do 6768 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6769 echo "$as_me:$LINENO: checking for $ac_func" >&56770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6771 if eval "test \"\${$as_ac_var+set}\" = set"; then6772 echo $ECHO_N "(cached) $ECHO_C" >&67787 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7788 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7789 $as_echo_n "checking for $ac_func... " >&6; } 7790 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7791 $as_echo_n "(cached) " >&6 6773 7792 else 6774 7793 cat >conftest.$ac_ext <<_ACEOF … … 6795 7814 #undef $ac_func 6796 7815 6797 /* Override any gcc2 internal prototype to avoid an error. */ 7816 /* Override any GCC internal prototype to avoid an error. 7817 Use char because int might match the return type of a GCC 7818 builtin and then its argument prototype would still apply. */ 6798 7819 #ifdef __cplusplus 6799 7820 extern "C" 6800 {6801 7821 #endif 6802 /* We use char because int might match the return type of a gcc26803 builtin and then its argument prototype would still apply. */6804 7822 char $ac_func (); 6805 7823 /* The GNU C library defines this for functions which it implements 6806 7824 to always fail with ENOSYS. Some functions are actually named 6807 7825 something starting with __ and the normal name is an alias. */ 6808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7826 #if defined __stub_$ac_func || defined __stub___$ac_func 6809 7827 choke me 6810 #else6811 char (*f) () = $ac_func;6812 #endif6813 #ifdef __cplusplus6814 }6815 7828 #endif 6816 7829 … … 6818 7831 main () 6819 7832 { 6820 return f != $ac_func;7833 return $ac_func (); 6821 7834 ; 6822 7835 return 0; … … 6824 7837 _ACEOF 6825 7838 rm -f conftest.$ac_objext conftest$ac_exeext 6826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6827 (eval $ac_link) 2>conftest.er1 7839 if { (ac_try="$ac_link" 7840 case "(($ac_try" in 7841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7842 *) ac_try_echo=$ac_try;; 7843 esac 7844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7845 $as_echo "$ac_try_echo") >&5 7846 (eval "$ac_link") 2>conftest.er1 6828 7847 ac_status=$? 6829 7848 grep -v '^ *+' conftest.er1 >conftest.err 6830 7849 rm -f conftest.er1 6831 7850 cat conftest.err >&5 6832 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6833 (exit $ac_status); } && 6834 { ac_try='test -z "$ac_c_werror_flag" 6835 || test ! -s conftest.err' 6836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6837 (eval $ac_try) 2>&5 6838 ac_status=$? 6839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6840 (exit $ac_status); }; } && 6841 { ac_try='test -s conftest$ac_exeext' 6842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6843 (eval $ac_try) 2>&5 6844 ac_status=$? 6845 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6846 (exit $ac_status); }; }; then 7851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7852 (exit $ac_status); } && { 7853 test -z "$ac_c_werror_flag" || 7854 test ! -s conftest.err 7855 } && test -s conftest$ac_exeext && { 7856 test "$cross_compiling" = yes || 7857 $as_test_x conftest$ac_exeext 7858 }; then 6847 7859 eval "$as_ac_var=yes" 6848 7860 else 6849 echo "$as_me: failed program was:" >&57861 $as_echo "$as_me: failed program was:" >&5 6850 7862 sed 's/^/| /' conftest.$ac_ext >&5 6851 7863 6852 eval "$as_ac_var=no" 6853 fi 6854 rm -f conftest.err conftest.$ac_objext \ 7864 eval "$as_ac_var=no" 7865 fi 7866 7867 rm -rf conftest.dSYM 7868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6855 7869 conftest$ac_exeext conftest.$ac_ext 6856 7870 fi 6857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6859 if test `eval echo '${'$as_ac_var'}'` = yes; then 7871 ac_res=`eval 'as_val=${'$as_ac_var'} 7872 $as_echo "$as_val"'` 7873 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7874 $as_echo "$ac_res" >&6; } 7875 as_val=`eval 'as_val=${'$as_ac_var'} 7876 $as_echo "$as_val"'` 7877 if test "x$as_val" = x""yes; then 6860 7878 cat >>confdefs.h <<_ACEOF 6861 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 17879 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6862 7880 _ACEOF 6863 7881 … … 6870 7888 for ac_func in ftruncate strstr strcasecmp 6871 7889 do 6872 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6873 echo "$as_me:$LINENO: checking for $ac_func" >&56874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6875 if eval "test \"\${$as_ac_var+set}\" = set"; then6876 echo $ECHO_N "(cached) $ECHO_C" >&67890 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7891 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7892 $as_echo_n "checking for $ac_func... " >&6; } 7893 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7894 $as_echo_n "(cached) " >&6 6877 7895 else 6878 7896 cat >conftest.$ac_ext <<_ACEOF … … 6899 7917 #undef $ac_func 6900 7918 6901 /* Override any gcc2 internal prototype to avoid an error. */ 7919 /* Override any GCC internal prototype to avoid an error. 7920 Use char because int might match the return type of a GCC 7921 builtin and then its argument prototype would still apply. */ 6902 7922 #ifdef __cplusplus 6903 7923 extern "C" 6904 {6905 7924 #endif 6906 /* We use char because int might match the return type of a gcc26907 builtin and then its argument prototype would still apply. */6908 7925 char $ac_func (); 6909 7926 /* The GNU C library defines this for functions which it implements 6910 7927 to always fail with ENOSYS. Some functions are actually named 6911 7928 something starting with __ and the normal name is an alias. */ 6912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7929 #if defined __stub_$ac_func || defined __stub___$ac_func 6913 7930 choke me 6914 #else6915 char (*f) () = $ac_func;6916 #endif6917 #ifdef __cplusplus6918 }6919 7931 #endif 6920 7932 … … 6922 7934 main () 6923 7935 { 6924 return f != $ac_func;7936 return $ac_func (); 6925 7937 ; 6926 7938 return 0; … … 6928 7940 _ACEOF 6929 7941 rm -f conftest.$ac_objext conftest$ac_exeext 6930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6931 (eval $ac_link) 2>conftest.er1 7942 if { (ac_try="$ac_link" 7943 case "(($ac_try" in 7944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7945 *) ac_try_echo=$ac_try;; 7946 esac 7947 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7948 $as_echo "$ac_try_echo") >&5 7949 (eval "$ac_link") 2>conftest.er1 6932 7950 ac_status=$? 6933 7951 grep -v '^ *+' conftest.er1 >conftest.err 6934 7952 rm -f conftest.er1 6935 7953 cat conftest.err >&5 6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6937 (exit $ac_status); } && 6938 { ac_try='test -z "$ac_c_werror_flag" 6939 || test ! -s conftest.err' 6940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6941 (eval $ac_try) 2>&5 6942 ac_status=$? 6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6944 (exit $ac_status); }; } && 6945 { ac_try='test -s conftest$ac_exeext' 6946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6947 (eval $ac_try) 2>&5 6948 ac_status=$? 6949 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6950 (exit $ac_status); }; }; then 7954 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7955 (exit $ac_status); } && { 7956 test -z "$ac_c_werror_flag" || 7957 test ! -s conftest.err 7958 } && test -s conftest$ac_exeext && { 7959 test "$cross_compiling" = yes || 7960 $as_test_x conftest$ac_exeext 7961 }; then 6951 7962 eval "$as_ac_var=yes" 6952 7963 else 6953 echo "$as_me: failed program was:" >&57964 $as_echo "$as_me: failed program was:" >&5 6954 7965 sed 's/^/| /' conftest.$ac_ext >&5 6955 7966 6956 eval "$as_ac_var=no" 6957 fi 6958 rm -f conftest.err conftest.$ac_objext \ 7967 eval "$as_ac_var=no" 7968 fi 7969 7970 rm -rf conftest.dSYM 7971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6959 7972 conftest$ac_exeext conftest.$ac_ext 6960 7973 fi 6961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6963 if test `eval echo '${'$as_ac_var'}'` = yes; then 7974 ac_res=`eval 'as_val=${'$as_ac_var'} 7975 $as_echo "$as_val"'` 7976 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7977 $as_echo "$ac_res" >&6; } 7978 as_val=`eval 'as_val=${'$as_ac_var'} 7979 $as_echo "$as_val"'` 7980 if test "x$as_val" = x""yes; then 6964 7981 cat >>confdefs.h <<_ACEOF 6965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6966 _ACEOF 6967 6968 else 6969 case $LIBOBJS in 6970 "$ac_func.$ac_objext" | \ 6971 *" $ac_func.$ac_objext" | \ 6972 "$ac_func.$ac_objext "* | \ 7982 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7983 _ACEOF 7984 7985 else 7986 case " $LIBOBJS " in 6973 7987 *" $ac_func.$ac_objext "* ) ;; 6974 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; 7988 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 7989 ;; 6975 7990 esac 6976 7991 … … 6980 7995 6981 7996 6982 echo "$as_me:$LINENO: checking for textdomain" >&56983 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6 7997 { $as_echo "$as_me:$LINENO: checking for textdomain" >&5 7998 $as_echo_n "checking for textdomain... " >&6; } 6984 7999 if test "${ac_cv_func_textdomain+set}" = set; then 6985 echo $ECHO_N "(cached) $ECHO_C" >&68000 $as_echo_n "(cached) " >&6 6986 8001 else 6987 8002 cat >conftest.$ac_ext <<_ACEOF … … 7008 8023 #undef textdomain 7009 8024 7010 /* Override any gcc2 internal prototype to avoid an error. */ 8025 /* Override any GCC internal prototype to avoid an error. 8026 Use char because int might match the return type of a GCC 8027 builtin and then its argument prototype would still apply. */ 7011 8028 #ifdef __cplusplus 7012 8029 extern "C" 7013 {7014 8030 #endif 7015 /* We use char because int might match the return type of a gcc27016 builtin and then its argument prototype would still apply. */7017 8031 char textdomain (); 7018 8032 /* The GNU C library defines this for functions which it implements 7019 8033 to always fail with ENOSYS. Some functions are actually named 7020 8034 something starting with __ and the normal name is an alias. */ 7021 #if defined (__stub_textdomain) || defined (__stub___textdomain)8035 #if defined __stub_textdomain || defined __stub___textdomain 7022 8036 choke me 7023 #else7024 char (*f) () = textdomain;7025 #endif7026 #ifdef __cplusplus7027 }7028 8037 #endif 7029 8038 … … 7031 8040 main () 7032 8041 { 7033 return f != textdomain;8042 return textdomain (); 7034 8043 ; 7035 8044 return 0; … … 7037 8046 _ACEOF 7038 8047 rm -f conftest.$ac_objext conftest$ac_exeext 7039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7040 (eval $ac_link) 2>conftest.er1 8048 if { (ac_try="$ac_link" 8049 case "(($ac_try" in 8050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8051 *) ac_try_echo=$ac_try;; 8052 esac 8053 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8054 $as_echo "$ac_try_echo") >&5 8055 (eval "$ac_link") 2>conftest.er1 7041 8056 ac_status=$? 7042 8057 grep -v '^ *+' conftest.er1 >conftest.err 7043 8058 rm -f conftest.er1 7044 8059 cat conftest.err >&5 7045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7046 (exit $ac_status); } && 7047 { ac_try='test -z "$ac_c_werror_flag" 7048 || test ! -s conftest.err' 7049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7050 (eval $ac_try) 2>&5 7051 ac_status=$? 7052 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7053 (exit $ac_status); }; } && 7054 { ac_try='test -s conftest$ac_exeext' 7055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7056 (eval $ac_try) 2>&5 7057 ac_status=$? 7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7059 (exit $ac_status); }; }; then 8060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8061 (exit $ac_status); } && { 8062 test -z "$ac_c_werror_flag" || 8063 test ! -s conftest.err 8064 } && test -s conftest$ac_exeext && { 8065 test "$cross_compiling" = yes || 8066 $as_test_x conftest$ac_exeext 8067 }; then 7060 8068 ac_cv_func_textdomain=yes 7061 8069 else 7062 echo "$as_me: failed program was:" >&58070 $as_echo "$as_me: failed program was:" >&5 7063 8071 sed 's/^/| /' conftest.$ac_ext >&5 7064 8072 7065 ac_cv_func_textdomain=no 7066 fi 7067 rm -f conftest.err conftest.$ac_objext \ 8073 ac_cv_func_textdomain=no 8074 fi 8075 8076 rm -rf conftest.dSYM 8077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7068 8078 conftest$ac_exeext conftest.$ac_ext 7069 8079 fi 7070 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&57071 echo "${ECHO_T}$ac_cv_func_textdomain" >&6 7072 if test $ac_cv_func_textdomain =yes; then8080 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5 8081 $as_echo "$ac_cv_func_textdomain" >&6; } 8082 if test "x$ac_cv_func_textdomain" = x""yes; then 7073 8083 cat >>confdefs.h <<\_ACEOF 7074 8084 #define ENABLE_NLS 1 … … 7080 8090 # *** Custom checking (based on GNU tar configure.in) *** 7081 8091 # --------------------------------------------------------------------------- 7082 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&57083 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6 8092 { $as_echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5 8093 $as_echo_n "checking for HP-UX needing gmalloc... " >&6; } 7084 8094 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 7085 echo "$as_me:$LINENO: result: yes" >&5 7086 echo "${ECHO_T}yes" >&6 7087 case $LIBOBJS in 7088 "gmalloc.$ac_objext" | \ 7089 *" gmalloc.$ac_objext" | \ 7090 "gmalloc.$ac_objext "* | \ 8095 { $as_echo "$as_me:$LINENO: result: yes" >&5 8096 $as_echo "yes" >&6; } 8097 case " $LIBOBJS " in 7091 8098 *" gmalloc.$ac_objext "* ) ;; 7092 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;; 8099 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" 8100 ;; 7093 8101 esac 7094 8102 … … 7098 8106 7099 8107 else 7100 echo "$as_me:$LINENO: result: no" >&57101 echo "${ECHO_T}no" >&6 8108 { $as_echo "$as_me:$LINENO: result: no" >&5 8109 $as_echo "no" >&6; } 7102 8110 7103 8111 for ac_func in valloc 7104 8112 do 7105 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`7106 echo "$as_me:$LINENO: checking for $ac_func" >&57107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7108 if eval "test \"\${$as_ac_var+set}\" = set"; then7109 echo $ECHO_N "(cached) $ECHO_C" >&68113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8114 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 8115 $as_echo_n "checking for $ac_func... " >&6; } 8116 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 8117 $as_echo_n "(cached) " >&6 7110 8118 else 7111 8119 cat >conftest.$ac_ext <<_ACEOF … … 7132 8140 #undef $ac_func 7133 8141 7134 /* Override any gcc2 internal prototype to avoid an error. */ 8142 /* Override any GCC internal prototype to avoid an error. 8143 Use char because int might match the return type of a GCC 8144 builtin and then its argument prototype would still apply. */ 7135 8145 #ifdef __cplusplus 7136 8146 extern "C" 7137 {7138 8147 #endif 7139 /* We use char because int might match the return type of a gcc27140 builtin and then its argument prototype would still apply. */7141 8148 char $ac_func (); 7142 8149 /* The GNU C library defines this for functions which it implements 7143 8150 to always fail with ENOSYS. Some functions are actually named 7144 8151 something starting with __ and the normal name is an alias. */ 7145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)8152 #if defined __stub_$ac_func || defined __stub___$ac_func 7146 8153 choke me 7147 #else7148 char (*f) () = $ac_func;7149 #endif7150 #ifdef __cplusplus7151 }7152 8154 #endif 7153 8155 … … 7155 8157 main () 7156 8158 { 7157 return f != $ac_func;8159 return $ac_func (); 7158 8160 ; 7159 8161 return 0; … … 7161 8163 _ACEOF 7162 8164 rm -f conftest.$ac_objext conftest$ac_exeext 7163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7164 (eval $ac_link) 2>conftest.er1 8165 if { (ac_try="$ac_link" 8166 case "(($ac_try" in 8167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8168 *) ac_try_echo=$ac_try;; 8169 esac 8170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8171 $as_echo "$ac_try_echo") >&5 8172 (eval "$ac_link") 2>conftest.er1 7165 8173 ac_status=$? 7166 8174 grep -v '^ *+' conftest.er1 >conftest.err 7167 8175 rm -f conftest.er1 7168 8176 cat conftest.err >&5 7169 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7170 (exit $ac_status); } && 7171 { ac_try='test -z "$ac_c_werror_flag" 7172 || test ! -s conftest.err' 7173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7174 (eval $ac_try) 2>&5 7175 ac_status=$? 7176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7177 (exit $ac_status); }; } && 7178 { ac_try='test -s conftest$ac_exeext' 7179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7180 (eval $ac_try) 2>&5 7181 ac_status=$? 7182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7183 (exit $ac_status); }; }; then 8177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8178 (exit $ac_status); } && { 8179 test -z "$ac_c_werror_flag" || 8180 test ! -s conftest.err 8181 } && test -s conftest$ac_exeext && { 8182 test "$cross_compiling" = yes || 8183 $as_test_x conftest$ac_exeext 8184 }; then 7184 8185 eval "$as_ac_var=yes" 7185 8186 else 7186 echo "$as_me: failed program was:" >&58187 $as_echo "$as_me: failed program was:" >&5 7187 8188 sed 's/^/| /' conftest.$ac_ext >&5 7188 8189 7189 eval "$as_ac_var=no" 7190 fi 7191 rm -f conftest.err conftest.$ac_objext \ 8190 eval "$as_ac_var=no" 8191 fi 8192 8193 rm -rf conftest.dSYM 8194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7192 8195 conftest$ac_exeext conftest.$ac_ext 7193 8196 fi 7194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 7195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7196 if test `eval echo '${'$as_ac_var'}'` = yes; then 8197 ac_res=`eval 'as_val=${'$as_ac_var'} 8198 $as_echo "$as_val"'` 8199 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8200 $as_echo "$ac_res" >&6; } 8201 as_val=`eval 'as_val=${'$as_ac_var'} 8202 $as_echo "$as_val"'` 8203 if test "x$as_val" = x""yes; then 7197 8204 cat >>confdefs.h <<_ACEOF 7198 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 18205 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7199 8206 _ACEOF 7200 8207 … … 7205 8212 7206 8213 # we cannot generate static libraries under Darwin 7207 echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&57208 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6 8214 { $as_echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5 8215 $as_echo_n "checking for Apple MacOS X/Darwin... " >&6; } 7209 8216 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 7210 echo "$as_me:$LINENO: result: yes" >&57211 echo "${ECHO_T}yes" >&6 8217 { $as_echo "$as_me:$LINENO: result: yes" >&5 8218 $as_echo "yes" >&6; } 7212 8219 STATIC="" 7213 8220 else 7214 echo "$as_me:$LINENO: result: no" >&57215 echo "${ECHO_T}no" >&6 8221 { $as_echo "$as_me:$LINENO: result: no" >&5 8222 $as_echo "no" >&6; } 7216 8223 STATIC="-static " 7217 8224 fi 7218 8225 7219 8226 7220 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&57221 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6 7222 7223 # Check whether --with-dmalloc or --without-dmallocwas given.8227 { $as_echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 8228 $as_echo_n "checking if malloc debugging is wanted... " >&6; } 8229 8230 # Check whether --with-dmalloc was given. 7224 8231 if test "${with_dmalloc+set}" = set; then 7225 withval="$with_dmalloc" 7226 if test "$withval" = yes; then 7227 echo "$as_me:$LINENO: result: yes" >&5 7228 echo "${ECHO_T}yes" >&6 8232 withval=$with_dmalloc; if test "$withval" = yes; then 8233 { $as_echo "$as_me:$LINENO: result: yes" >&5 8234 $as_echo "yes" >&6; } 7229 8235 cat >>confdefs.h <<\_ACEOF 7230 8236 #define WITH_DMALLOC 1 … … 7234 8240 LDFLAGS="$LDFLAGS -g" 7235 8241 else 7236 echo "$as_me:$LINENO: result: no" >&5 7237 echo "${ECHO_T}no" >&6 7238 fi 7239 else 7240 echo "$as_me:$LINENO: result: no" >&5 7241 echo "${ECHO_T}no" >&6 7242 fi; 7243 7244 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 7245 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6 7246 7247 # Check whether --with-regex or --without-regex was given. 8242 { $as_echo "$as_me:$LINENO: result: no" >&5 8243 $as_echo "no" >&6; } 8244 fi 8245 else 8246 { $as_echo "$as_me:$LINENO: result: no" >&5 8247 $as_echo "no" >&6; } 8248 fi 8249 8250 8251 { $as_echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 8252 $as_echo_n "checking which of rx or regex is wanted... " >&6; } 8253 8254 # Check whether --with-regex was given. 7248 8255 if test "${with_regex+set}" = set; then 7249 withval="$with_regex" 7250 if test "$withval" = yes; then 8256 withval=$with_regex; if test "$withval" = yes; then 7251 8257 ac_with_regex=1 7252 echo "$as_me:$LINENO: result: regex" >&57253 echo "${ECHO_T}regex" >&6 8258 { $as_echo "$as_me:$LINENO: result: regex" >&5 8259 $as_echo "regex" >&6; } 7254 8260 cat >>confdefs.h <<\_ACEOF 7255 8261 #define WITH_REGEX 1 7256 8262 _ACEOF 7257 8263 7258 case $LIBOBJS in 7259 "regex.$ac_objext" | \ 7260 *" regex.$ac_objext" | \ 7261 "regex.$ac_objext "* | \ 8264 case " $LIBOBJS " in 7262 8265 *" regex.$ac_objext "* ) ;; 7263 *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;; 7264 esac 7265 7266 fi 7267 fi; 8266 *) LIBOBJS="$LIBOBJS regex.$ac_objext" 8267 ;; 8268 esac 8269 8270 fi 8271 fi 8272 7268 8273 if test -z "$ac_with_regex"; then 7269 echo "$as_me:$LINENO: result: rx" >&57270 echo "${ECHO_T}rx" >&6 7271 echo "$as_me:$LINENO: checking for re_rx_search" >&57272 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6 8274 { $as_echo "$as_me:$LINENO: result: rx" >&5 8275 $as_echo "rx" >&6; } 8276 { $as_echo "$as_me:$LINENO: checking for re_rx_search" >&5 8277 $as_echo_n "checking for re_rx_search... " >&6; } 7273 8278 if test "${ac_cv_func_re_rx_search+set}" = set; then 7274 echo $ECHO_N "(cached) $ECHO_C" >&68279 $as_echo_n "(cached) " >&6 7275 8280 else 7276 8281 cat >conftest.$ac_ext <<_ACEOF … … 7297 8302 #undef re_rx_search 7298 8303 7299 /* Override any gcc2 internal prototype to avoid an error. */ 8304 /* Override any GCC internal prototype to avoid an error. 8305 Use char because int might match the return type of a GCC 8306 builtin and then its argument prototype would still apply. */ 7300 8307 #ifdef __cplusplus 7301 8308 extern "C" 7302 {7303 8309 #endif 7304 /* We use char because int might match the return type of a gcc27305 builtin and then its argument prototype would still apply. */7306 8310 char re_rx_search (); 7307 8311 /* The GNU C library defines this for functions which it implements 7308 8312 to always fail with ENOSYS. Some functions are actually named 7309 8313 something starting with __ and the normal name is an alias. */ 7310 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)8314 #if defined __stub_re_rx_search || defined __stub___re_rx_search 7311 8315 choke me 7312 #else7313 char (*f) () = re_rx_search;7314 #endif7315 #ifdef __cplusplus7316 }7317 8316 #endif 7318 8317 … … 7320 8319 main () 7321 8320 { 7322 return f != re_rx_search;8321 return re_rx_search (); 7323 8322 ; 7324 8323 return 0; … … 7326 8325 _ACEOF 7327 8326 rm -f conftest.$ac_objext conftest$ac_exeext 7328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7329 (eval $ac_link) 2>conftest.er1 8327 if { (ac_try="$ac_link" 8328 case "(($ac_try" in 8329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8330 *) ac_try_echo=$ac_try;; 8331 esac 8332 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8333 $as_echo "$ac_try_echo") >&5 8334 (eval "$ac_link") 2>conftest.er1 7330 8335 ac_status=$? 7331 8336 grep -v '^ *+' conftest.er1 >conftest.err 7332 8337 rm -f conftest.er1 7333 8338 cat conftest.err >&5 7334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7335 (exit $ac_status); } && 7336 { ac_try='test -z "$ac_c_werror_flag" 7337 || test ! -s conftest.err' 7338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7339 (eval $ac_try) 2>&5 7340 ac_status=$? 7341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7342 (exit $ac_status); }; } && 7343 { ac_try='test -s conftest$ac_exeext' 7344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7345 (eval $ac_try) 2>&5 7346 ac_status=$? 7347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7348 (exit $ac_status); }; }; then 8339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8340 (exit $ac_status); } && { 8341 test -z "$ac_c_werror_flag" || 8342 test ! -s conftest.err 8343 } && test -s conftest$ac_exeext && { 8344 test "$cross_compiling" = yes || 8345 $as_test_x conftest$ac_exeext 8346 }; then 7349 8347 ac_cv_func_re_rx_search=yes 7350 8348 else 7351 echo "$as_me: failed program was:" >&58349 $as_echo "$as_me: failed program was:" >&5 7352 8350 sed 's/^/| /' conftest.$ac_ext >&5 7353 8351 7354 ac_cv_func_re_rx_search=no 7355 fi 7356 rm -f conftest.err conftest.$ac_objext \ 8352 ac_cv_func_re_rx_search=no 8353 fi 8354 8355 rm -rf conftest.dSYM 8356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7357 8357 conftest$ac_exeext conftest.$ac_ext 7358 8358 fi 7359 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&57360 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6 7361 if test $ac_cv_func_re_rx_search =yes; then8359 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 8360 $as_echo "$ac_cv_func_re_rx_search" >&6; } 8361 if test "x$ac_cv_func_re_rx_search" = x""yes; then 7362 8362 : 7363 8363 else 7364 case $LIBOBJS in 7365 "rx.$ac_objext" | \ 7366 *" rx.$ac_objext" | \ 7367 "rx.$ac_objext "* | \ 8364 case " $LIBOBJS " in 7368 8365 *" rx.$ac_objext "* ) ;; 7369 *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;; 8366 *) LIBOBJS="$LIBOBJS rx.$ac_objext" 8367 ;; 7370 8368 esac 7371 8369 … … 7377 8375 # --------------------------------------------------------------------------- 7378 8376 if test "$ac_cv_func_alloca" = 'no'; then 7379 case $LIBOBJS in 7380 "xmalloc.$ac_objext" | \ 7381 *" xmalloc.$ac_objext" | \ 7382 "xmalloc.$ac_objext "* | \ 8377 case " $LIBOBJS " in 7383 8378 *" xmalloc.$ac_objext "* ) ;; 7384 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;; 7385 esac 7386 7387 case $LIBOBJS in 7388 "error.$ac_objext" | \ 7389 *" error.$ac_objext" | \ 7390 "error.$ac_objext "* | \ 8379 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" 8380 ;; 8381 esac 8382 8383 case " $LIBOBJS " in 7391 8384 *" error.$ac_objext "* ) ;; 7392 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 8385 *) LIBOBJS="$LIBOBJS error.$ac_objext" 8386 ;; 7393 8387 esac 7394 8388 … … 7398 8392 # --------------------------------------------------------------------------- 7399 8393 7400 ac_ext=c c8394 ac_ext=cpp 7401 8395 ac_cpp='$CXXCPP $CPPFLAGS' 7402 8396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 7405 8399 7406 8400 7407 echo "$as_me:$LINENO: checking that Perl 5 is available" >&57408 echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6 8401 { $as_echo "$as_me:$LINENO: checking that Perl 5 is available" >&5 8402 $as_echo_n "checking that Perl 5 is available... " >&6; } 7409 8403 success="no" 7410 8404 pl_path="$PATH" … … 7423 8417 try=`expr $try \> 5.000` 7424 8418 if test $try = "1"; then 7425 echo "$as_me:$LINENO: result: \"yes\"" >&57426 echo "${ECHO_T}\"yes\"" >&6 8419 { $as_echo "$as_me:$LINENO: result: \"yes\"" >&5 8420 $as_echo "\"yes\"" >&6; } 7427 8421 else 7428 8422 success="no" … … 7431 8425 7432 8426 if test $success = "no"; then 7433 echo "$as_me:$LINENO: result: \"no\"" >&57434 echo "${ECHO_T}\"no\"" >&6 7435 { { echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&57436 echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;}8427 { $as_echo "$as_me:$LINENO: result: \"no\"" >&5 8428 $as_echo "\"no\"" >&6; } 8429 { { $as_echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&5 8430 $as_echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;} 7437 8431 { (exit 1); exit 1; }; } 7438 8432 fi 7439 8433 7440 8434 success=no 7441 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&57442 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6 8435 { $as_echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5 8436 $as_echo_n "checking \"whether STL library has known faults\"... " >&6; } 7443 8437 7444 8438 … … 7460 8454 _ACEOF 7461 8455 rm -f conftest.$ac_objext 7462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7463 (eval $ac_compile) 2>conftest.er1 8456 if { (ac_try="$ac_compile" 8457 case "(($ac_try" in 8458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8459 *) ac_try_echo=$ac_try;; 8460 esac 8461 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8462 $as_echo "$ac_try_echo") >&5 8463 (eval "$ac_compile") 2>conftest.er1 7464 8464 ac_status=$? 7465 8465 grep -v '^ *+' conftest.er1 >conftest.err 7466 8466 rm -f conftest.er1 7467 8467 cat conftest.err >&5 7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7469 (exit $ac_status); } && 7470 { ac_try='test -z "$ac_cxx_werror_flag" 7471 || test ! -s conftest.err' 7472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7473 (eval $ac_try) 2>&5 7474 ac_status=$? 7475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7476 (exit $ac_status); }; } && 7477 { ac_try='test -s conftest.$ac_objext' 7478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7479 (eval $ac_try) 2>&5 7480 ac_status=$? 7481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7482 (exit $ac_status); }; }; then 8468 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8469 (exit $ac_status); } && { 8470 test -z "$ac_cxx_werror_flag" || 8471 test ! -s conftest.err 8472 } && test -s conftest.$ac_objext; then 7483 8473 success=yes 7484 8474 else 7485 echo "$as_me: failed program was:" >&58475 $as_echo "$as_me: failed program was:" >&5 7486 8476 sed 's/^/| /' conftest.$ac_ext >&5 7487 8477 7488 fi 7489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8478 8479 fi 8480 8481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7490 8482 7491 8483 if test $success = "no"; then … … 7507 8499 _ACEOF 7508 8500 rm -f conftest.$ac_objext 7509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7510 (eval $ac_compile) 2>conftest.er1 8501 if { (ac_try="$ac_compile" 8502 case "(($ac_try" in 8503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8504 *) ac_try_echo=$ac_try;; 8505 esac 8506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8507 $as_echo "$ac_try_echo") >&5 8508 (eval "$ac_compile") 2>conftest.er1 7511 8509 ac_status=$? 7512 8510 grep -v '^ *+' conftest.er1 >conftest.err 7513 8511 rm -f conftest.er1 7514 8512 cat conftest.err >&5 7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7516 (exit $ac_status); } && 7517 { ac_try='test -z "$ac_cxx_werror_flag" 7518 || test ! -s conftest.err' 7519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7520 (eval $ac_try) 2>&5 7521 ac_status=$? 7522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7523 (exit $ac_status); }; } && 7524 { ac_try='test -s conftest.$ac_objext' 7525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7526 (eval $ac_try) 2>&5 7527 ac_status=$? 7528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7529 (exit $ac_status); }; }; then 8513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8514 (exit $ac_status); } && { 8515 test -z "$ac_cxx_werror_flag" || 8516 test ! -s conftest.err 8517 } && test -s conftest.$ac_objext; then 7530 8518 success="yes" 7531 8519 else 7532 echo "$as_me: failed program was:" >&58520 $as_echo "$as_me: failed program was:" >&5 7533 8521 sed 's/^/| /' conftest.$ac_ext >&5 7534 8522 7535 fi 7536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8523 8524 fi 8525 8526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7537 8527 fi 7538 8528 … … 7555 8545 _ACEOF 7556 8546 rm -f conftest.$ac_objext 7557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7558 (eval $ac_compile) 2>conftest.er1 8547 if { (ac_try="$ac_compile" 8548 case "(($ac_try" in 8549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8550 *) ac_try_echo=$ac_try;; 8551 esac 8552 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8553 $as_echo "$ac_try_echo") >&5 8554 (eval "$ac_compile") 2>conftest.er1 7559 8555 ac_status=$? 7560 8556 grep -v '^ *+' conftest.er1 >conftest.err 7561 8557 rm -f conftest.er1 7562 8558 cat conftest.err >&5 7563 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7564 (exit $ac_status); } && 7565 { ac_try='test -z "$ac_cxx_werror_flag" 7566 || test ! -s conftest.err' 7567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7568 (eval $ac_try) 2>&5 7569 ac_status=$? 7570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7571 (exit $ac_status); }; } && 7572 { ac_try='test -s conftest.$ac_objext' 7573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7574 (eval $ac_try) 2>&5 7575 ac_status=$? 7576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7577 (exit $ac_status); }; }; then 8559 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8560 (exit $ac_status); } && { 8561 test -z "$ac_cxx_werror_flag" || 8562 test ! -s conftest.err 8563 } && test -s conftest.$ac_objext; then 7578 8564 success="yes" 7579 8565 else 7580 echo "$as_me: failed program was:" >&58566 $as_echo "$as_me: failed program was:" >&5 7581 8567 sed 's/^/| /' conftest.$ac_ext >&5 7582 8568 7583 fi 7584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8569 8570 fi 8571 8572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7585 8573 fi 7586 8574 7587 8575 if test $success = yes; then 7588 echo "$as_me:$LINENO: result: \"no\"" >&57589 echo "${ECHO_T}\"no\"" >&6 7590 else 7591 echo "$as_me:$LINENO: result: \"yes\"" >&57592 echo "${ECHO_T}\"yes\"" >&6 7593 { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&57594 echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}8576 { $as_echo "$as_me:$LINENO: result: \"no\"" >&5 8577 $as_echo "\"no\"" >&6; } 8578 else 8579 { $as_echo "$as_me:$LINENO: result: \"yes\"" >&5 8580 $as_echo "\"yes\"" >&6; } 8581 { { $as_echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5 8582 $as_echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;} 7595 8583 { (exit 1); exit 1; }; } 7596 8584 fi … … 7605 8593 7606 8594 # check for endianness 7607 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7608 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 8595 8596 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 8597 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 7609 8598 if test "${ac_cv_c_bigendian+set}" = set; then 7610 echo $ECHO_N "(cached) $ECHO_C" >&6 7611 else 7612 # See if sys/param.h defines the BYTE_ORDER macro. 7613 cat >conftest.$ac_ext <<_ACEOF 8599 $as_echo_n "(cached) " >&6 8600 else 8601 ac_cv_c_bigendian=unknown 8602 # See if we're dealing with a universal compiler. 8603 cat >conftest.$ac_ext <<_ACEOF 8604 /* confdefs.h. */ 8605 _ACEOF 8606 cat confdefs.h >>conftest.$ac_ext 8607 cat >>conftest.$ac_ext <<_ACEOF 8608 /* end confdefs.h. */ 8609 #ifndef __APPLE_CC__ 8610 not a universal capable compiler 8611 #endif 8612 typedef int dummy; 8613 8614 _ACEOF 8615 rm -f conftest.$ac_objext 8616 if { (ac_try="$ac_compile" 8617 case "(($ac_try" in 8618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8619 *) ac_try_echo=$ac_try;; 8620 esac 8621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8622 $as_echo "$ac_try_echo") >&5 8623 (eval "$ac_compile") 2>conftest.er1 8624 ac_status=$? 8625 grep -v '^ *+' conftest.er1 >conftest.err 8626 rm -f conftest.er1 8627 cat conftest.err >&5 8628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8629 (exit $ac_status); } && { 8630 test -z "$ac_cxx_werror_flag" || 8631 test ! -s conftest.err 8632 } && test -s conftest.$ac_objext; then 8633 8634 # Check for potential -arch flags. It is not universal unless 8635 # there are some -arch flags. Note that *ppc* also matches 8636 # ppc64. This check is also rather less than ideal. 8637 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 8638 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 8639 esac 8640 else 8641 $as_echo "$as_me: failed program was:" >&5 8642 sed 's/^/| /' conftest.$ac_ext >&5 8643 8644 8645 fi 8646 8647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8648 if test $ac_cv_c_bigendian = unknown; then 8649 # See if sys/param.h defines the BYTE_ORDER macro. 8650 cat >conftest.$ac_ext <<_ACEOF 7614 8651 /* confdefs.h. */ 7615 8652 _ACEOF … … 7618 8655 /* end confdefs.h. */ 7619 8656 #include <sys/types.h> 7620 #include <sys/param.h>8657 #include <sys/param.h> 7621 8658 7622 8659 int 7623 8660 main () 7624 8661 { 7625 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 7626 bogus endian macros 7627 #endif 8662 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 8663 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 8664 && LITTLE_ENDIAN) 8665 bogus endian macros 8666 #endif 7628 8667 7629 8668 ; … … 7632 8671 _ACEOF 7633 8672 rm -f conftest.$ac_objext 7634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7635 (eval $ac_compile) 2>conftest.er1 8673 if { (ac_try="$ac_compile" 8674 case "(($ac_try" in 8675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8676 *) ac_try_echo=$ac_try;; 8677 esac 8678 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8679 $as_echo "$ac_try_echo") >&5 8680 (eval "$ac_compile") 2>conftest.er1 7636 8681 ac_status=$? 7637 8682 grep -v '^ *+' conftest.er1 >conftest.err 7638 8683 rm -f conftest.er1 7639 8684 cat conftest.err >&5 7640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7641 (exit $ac_status); } && 7642 { ac_try='test -z "$ac_cxx_werror_flag" 7643 || test ! -s conftest.err' 7644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7645 (eval $ac_try) 2>&5 7646 ac_status=$? 7647 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7648 (exit $ac_status); }; } && 7649 { ac_try='test -s conftest.$ac_objext' 7650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7651 (eval $ac_try) 2>&5 7652 ac_status=$? 7653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7654 (exit $ac_status); }; }; then 8685 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8686 (exit $ac_status); } && { 8687 test -z "$ac_cxx_werror_flag" || 8688 test ! -s conftest.err 8689 } && test -s conftest.$ac_objext; then 7655 8690 # It does; now see whether it defined to BIG_ENDIAN or not. 7656 cat >conftest.$ac_ext <<_ACEOF8691 cat >conftest.$ac_ext <<_ACEOF 7657 8692 /* confdefs.h. */ 7658 8693 _ACEOF … … 7661 8696 /* end confdefs.h. */ 7662 8697 #include <sys/types.h> 7663 #include <sys/param.h>8698 #include <sys/param.h> 7664 8699 7665 8700 int … … 7667 8702 { 7668 8703 #if BYTE_ORDER != BIG_ENDIAN 7669 not big endian7670 #endif8704 not big endian 8705 #endif 7671 8706 7672 8707 ; … … 7675 8710 _ACEOF 7676 8711 rm -f conftest.$ac_objext 7677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7678 (eval $ac_compile) 2>conftest.er1 8712 if { (ac_try="$ac_compile" 8713 case "(($ac_try" in 8714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8715 *) ac_try_echo=$ac_try;; 8716 esac 8717 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8718 $as_echo "$ac_try_echo") >&5 8719 (eval "$ac_compile") 2>conftest.er1 7679 8720 ac_status=$? 7680 8721 grep -v '^ *+' conftest.er1 >conftest.err 7681 8722 rm -f conftest.er1 7682 8723 cat conftest.err >&5 7683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7684 (exit $ac_status); } && 7685 { ac_try='test -z "$ac_cxx_werror_flag" 7686 || test ! -s conftest.err' 7687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7688 (eval $ac_try) 2>&5 7689 ac_status=$? 7690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7691 (exit $ac_status); }; } && 7692 { ac_try='test -s conftest.$ac_objext' 7693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7694 (eval $ac_try) 2>&5 7695 ac_status=$? 7696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7697 (exit $ac_status); }; }; then 8724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8725 (exit $ac_status); } && { 8726 test -z "$ac_cxx_werror_flag" || 8727 test ! -s conftest.err 8728 } && test -s conftest.$ac_objext; then 7698 8729 ac_cv_c_bigendian=yes 7699 8730 else 7700 echo "$as_me: failed program was:" >&58731 $as_echo "$as_me: failed program was:" >&5 7701 8732 sed 's/^/| /' conftest.$ac_ext >&5 7702 8733 7703 ac_cv_c_bigendian=no 7704 fi 7705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7706 else 7707 echo "$as_me: failed program was:" >&5 8734 ac_cv_c_bigendian=no 8735 fi 8736 8737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8738 else 8739 $as_echo "$as_me: failed program was:" >&5 7708 8740 sed 's/^/| /' conftest.$ac_ext >&5 7709 8741 7710 # It does not; compile a test program. 7711 if test "$cross_compiling" = yes; then 7712 # try to guess the endianness by grepping values into an object file 7713 ac_cv_c_bigendian=unknown 7714 cat >conftest.$ac_ext <<_ACEOF 8742 8743 fi 8744 8745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8746 fi 8747 if test $ac_cv_c_bigendian = unknown; then 8748 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 8749 cat >conftest.$ac_ext <<_ACEOF 7715 8750 /* confdefs.h. */ 7716 8751 _ACEOF … … 7718 8753 cat >>conftest.$ac_ext <<_ACEOF 7719 8754 /* end confdefs.h. */ 7720 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 7721 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 7722 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 7723 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 7724 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 7725 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 8755 #include <limits.h> 8756 7726 8757 int 7727 8758 main () 7728 8759 { 7729 _ascii (); _ebcdic (); 8760 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 8761 bogus endian macros 8762 #endif 8763 7730 8764 ; 7731 8765 return 0; … … 7733 8767 _ACEOF 7734 8768 rm -f conftest.$ac_objext 7735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7736 (eval $ac_compile) 2>conftest.er1 8769 if { (ac_try="$ac_compile" 8770 case "(($ac_try" in 8771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8772 *) ac_try_echo=$ac_try;; 8773 esac 8774 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8775 $as_echo "$ac_try_echo") >&5 8776 (eval "$ac_compile") 2>conftest.er1 7737 8777 ac_status=$? 7738 8778 grep -v '^ *+' conftest.er1 >conftest.err 7739 8779 rm -f conftest.er1 7740 8780 cat conftest.err >&5 7741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7742 (exit $ac_status); } && 7743 { ac_try='test -z "$ac_cxx_werror_flag" 7744 || test ! -s conftest.err' 7745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7746 (eval $ac_try) 2>&5 7747 ac_status=$? 7748 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7749 (exit $ac_status); }; } && 7750 { ac_try='test -s conftest.$ac_objext' 7751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7752 (eval $ac_try) 2>&5 7753 ac_status=$? 7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7755 (exit $ac_status); }; }; then 7756 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 7757 ac_cv_c_bigendian=yes 7758 fi 7759 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 7760 if test "$ac_cv_c_bigendian" = unknown; then 7761 ac_cv_c_bigendian=no 7762 else 7763 # finding both strings is unlikely to happen, but who knows? 7764 ac_cv_c_bigendian=unknown 7765 fi 7766 fi 7767 else 7768 echo "$as_me: failed program was:" >&5 7769 sed 's/^/| /' conftest.$ac_ext >&5 7770 7771 fi 7772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7773 else 7774 cat >conftest.$ac_ext <<_ACEOF 8781 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8782 (exit $ac_status); } && { 8783 test -z "$ac_cxx_werror_flag" || 8784 test ! -s conftest.err 8785 } && test -s conftest.$ac_objext; then 8786 # It does; now see whether it defined to _BIG_ENDIAN or not. 8787 cat >conftest.$ac_ext <<_ACEOF 7775 8788 /* confdefs.h. */ 7776 8789 _ACEOF … … 7778 8791 cat >>conftest.$ac_ext <<_ACEOF 7779 8792 /* end confdefs.h. */ 8793 #include <limits.h> 8794 7780 8795 int 7781 8796 main () 7782 8797 { 7783 /* Are we little or big endian? From Harbison&Steele. */ 7784 union 7785 { 7786 long l; 7787 char c[sizeof (long)]; 7788 } u; 7789 u.l = 1; 7790 exit (u.c[sizeof (long) - 1] == 1); 8798 #ifndef _BIG_ENDIAN 8799 not big endian 8800 #endif 8801 8802 ; 8803 return 0; 7791 8804 } 7792 8805 _ACEOF 8806 rm -f conftest.$ac_objext 8807 if { (ac_try="$ac_compile" 8808 case "(($ac_try" in 8809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8810 *) ac_try_echo=$ac_try;; 8811 esac 8812 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8813 $as_echo "$ac_try_echo") >&5 8814 (eval "$ac_compile") 2>conftest.er1 8815 ac_status=$? 8816 grep -v '^ *+' conftest.er1 >conftest.err 8817 rm -f conftest.er1 8818 cat conftest.err >&5 8819 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8820 (exit $ac_status); } && { 8821 test -z "$ac_cxx_werror_flag" || 8822 test ! -s conftest.err 8823 } && test -s conftest.$ac_objext; then 8824 ac_cv_c_bigendian=yes 8825 else 8826 $as_echo "$as_me: failed program was:" >&5 8827 sed 's/^/| /' conftest.$ac_ext >&5 8828 8829 ac_cv_c_bigendian=no 8830 fi 8831 8832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8833 else 8834 $as_echo "$as_me: failed program was:" >&5 8835 sed 's/^/| /' conftest.$ac_ext >&5 8836 8837 8838 fi 8839 8840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8841 fi 8842 if test $ac_cv_c_bigendian = unknown; then 8843 # Compile a test program. 8844 if test "$cross_compiling" = yes; then 8845 # Try to guess by grepping values from an object file. 8846 cat >conftest.$ac_ext <<_ACEOF 8847 /* confdefs.h. */ 8848 _ACEOF 8849 cat confdefs.h >>conftest.$ac_ext 8850 cat >>conftest.$ac_ext <<_ACEOF 8851 /* end confdefs.h. */ 8852 short int ascii_mm[] = 8853 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 8854 short int ascii_ii[] = 8855 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 8856 int use_ascii (int i) { 8857 return ascii_mm[i] + ascii_ii[i]; 8858 } 8859 short int ebcdic_ii[] = 8860 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 8861 short int ebcdic_mm[] = 8862 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 8863 int use_ebcdic (int i) { 8864 return ebcdic_mm[i] + ebcdic_ii[i]; 8865 } 8866 extern int foo; 8867 8868 int 8869 main () 8870 { 8871 return use_ascii (foo) == use_ebcdic (foo); 8872 ; 8873 return 0; 8874 } 8875 _ACEOF 8876 rm -f conftest.$ac_objext 8877 if { (ac_try="$ac_compile" 8878 case "(($ac_try" in 8879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8880 *) ac_try_echo=$ac_try;; 8881 esac 8882 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8883 $as_echo "$ac_try_echo") >&5 8884 (eval "$ac_compile") 2>conftest.er1 8885 ac_status=$? 8886 grep -v '^ *+' conftest.er1 >conftest.err 8887 rm -f conftest.er1 8888 cat conftest.err >&5 8889 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8890 (exit $ac_status); } && { 8891 test -z "$ac_cxx_werror_flag" || 8892 test ! -s conftest.err 8893 } && test -s conftest.$ac_objext; then 8894 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 8895 ac_cv_c_bigendian=yes 8896 fi 8897 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 8898 if test "$ac_cv_c_bigendian" = unknown; then 8899 ac_cv_c_bigendian=no 8900 else 8901 # finding both strings is unlikely to happen, but who knows? 8902 ac_cv_c_bigendian=unknown 8903 fi 8904 fi 8905 else 8906 $as_echo "$as_me: failed program was:" >&5 8907 sed 's/^/| /' conftest.$ac_ext >&5 8908 8909 8910 fi 8911 8912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8913 else 8914 cat >conftest.$ac_ext <<_ACEOF 8915 /* confdefs.h. */ 8916 _ACEOF 8917 cat confdefs.h >>conftest.$ac_ext 8918 cat >>conftest.$ac_ext <<_ACEOF 8919 /* end confdefs.h. */ 8920 $ac_includes_default 8921 int 8922 main () 8923 { 8924 8925 /* Are we little or big endian? From Harbison&Steele. */ 8926 union 8927 { 8928 long int l; 8929 char c[sizeof (long int)]; 8930 } u; 8931 u.l = 1; 8932 return u.c[sizeof (long int) - 1] == 1; 8933 8934 ; 8935 return 0; 8936 } 8937 _ACEOF 7793 8938 rm -f conftest$ac_exeext 7794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7795 (eval $ac_link) 2>&5 8939 if { (ac_try="$ac_link" 8940 case "(($ac_try" in 8941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8942 *) ac_try_echo=$ac_try;; 8943 esac 8944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8945 $as_echo "$ac_try_echo") >&5 8946 (eval "$ac_link") 2>&5 7796 8947 ac_status=$? 7797 echo "$as_me:$LINENO: \$? = $ac_status" >&58948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7798 8949 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7800 (eval $ac_try) 2>&5 8950 { (case "(($ac_try" in 8951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8952 *) ac_try_echo=$ac_try;; 8953 esac 8954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8955 $as_echo "$ac_try_echo") >&5 8956 (eval "$ac_try") 2>&5 7801 8957 ac_status=$? 7802 echo "$as_me:$LINENO: \$? = $ac_status" >&58958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7803 8959 (exit $ac_status); }; }; then 7804 8960 ac_cv_c_bigendian=no 7805 8961 else 7806 echo "$as_me: program exited with status $ac_status" >&57807 echo "$as_me: failed program was:" >&58962 $as_echo "$as_me: program exited with status $ac_status" >&5 8963 $as_echo "$as_me: failed program was:" >&5 7808 8964 sed 's/^/| /' conftest.$ac_ext >&5 7809 8965 … … 7811 8967 ac_cv_c_bigendian=yes 7812 8968 fi 7813 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7814 fi 7815 fi 7816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7817 fi 7818 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7819 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 7820 case $ac_cv_c_bigendian in 7821 yes) 8969 rm -rf conftest.dSYM 8970 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8971 fi 8972 8973 8974 fi 8975 fi 8976 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 8977 $as_echo "$ac_cv_c_bigendian" >&6; } 8978 case $ac_cv_c_bigendian in #( 8979 yes) 8980 cat >>confdefs.h <<\_ACEOF 8981 #define WORDS_BIGENDIAN 1 8982 _ACEOF 8983 ;; #( 8984 no) 8985 ;; #( 8986 universal) 7822 8987 7823 8988 cat >>confdefs.h <<\_ACEOF 7824 #define WORDS_BIGENDIAN 1 7825 _ACEOF 7826 ;; 7827 no) 7828 ;; 7829 *) 7830 { { echo "$as_me:$LINENO: error: unknown endianness 7831 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 7832 echo "$as_me: error: unknown endianness 7833 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 8989 #define AC_APPLE_UNIVERSAL_BUILD 1 8990 _ACEOF 8991 8992 ;; #( 8993 *) 8994 { { $as_echo "$as_me:$LINENO: error: unknown endianness 8995 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 8996 $as_echo "$as_me: error: unknown endianness 8997 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 7834 8998 { (exit 1); exit 1; }; } ;; 7835 esac8999 esac 7836 9000 7837 9001 # --------------------------------------------------------------------------- 7838 9002 if test "$ac_cv_func_alloca" = 'no'; then 7839 case $LIBOBJS in 7840 "xmalloc.o.$ac_objext" | \ 7841 *" xmalloc.o.$ac_objext" | \ 7842 "xmalloc.o.$ac_objext "* | \ 9003 case " $LIBOBJS " in 7843 9004 *" xmalloc.o.$ac_objext "* ) ;; 7844 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;; 7845 esac 7846 7847 case $LIBOBJS in 7848 "error.$ac_objext" | \ 7849 *" error.$ac_objext" | \ 7850 "error.$ac_objext "* | \ 9005 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" 9006 ;; 9007 esac 9008 9009 case " $LIBOBJS " in 7851 9010 *" error.$ac_objext "* ) ;; 7852 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 9011 *) LIBOBJS="$LIBOBJS error.$ac_objext" 9012 ;; 7853 9013 esac 7854 9014 … … 7885 9045 src/java/org/nzdl/gsdl/Makefile" 7886 9046 7887 ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs" 9047 ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs" 9048 7888 9049 cat >confcache <<\_ACEOF 7889 9050 # This file is a shell script that caches the results of configure … … 7904 9065 # The following way of writing the cache mishandles newlines in values, 7905 9066 # but we know of no workaround that is simple, portable, and efficient. 7906 # So, don't put newlines in cache variables' values.9067 # So, we kill variables containing newlines. 7907 9068 # Ultrix sh set writes to stderr and can't be redirected directly, 7908 9069 # and sets the high bit in the cache file unless we assign to the vars. 7909 { 9070 ( 9071 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 9072 eval ac_val=\$$ac_var 9073 case $ac_val in #( 9074 *${as_nl}*) 9075 case $ac_var in #( 9076 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 9077 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 9078 esac 9079 case $ac_var in #( 9080 _ | IFS | as_nl) ;; #( 9081 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9082 *) $as_unset $ac_var ;; 9083 esac ;; 9084 esac 9085 done 9086 7910 9087 (set) 2>&1 | 7911 case `(ac_space=' '; set | grep ac_space) 2>&1` in7912 * ac_space=\ *)9088 case $as_nl`(ac_space=' '; set) 2>&1` in #( 9089 *${as_nl}ac_space=\ *) 7913 9090 # `set' does not quote correctly, so add quotes (double-quote 7914 9091 # substitution turns \\\\ into \\, and sed turns \\ into \). … … 7916 9093 "s/'/'\\\\''/g; 7917 9094 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7918 ;; 9095 ;; #( 7919 9096 *) 7920 9097 # `set' quotes correctly as required by POSIX, so do not add quotes. 7921 sed -n \ 7922 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 9098 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7923 9099 ;; 7924 esac; 7925 } | 9100 esac | 9101 sort 9102 ) | 7926 9103 sed ' 9104 /^ac_cv_env_/b end 7927 9105 t clear 7928 : 9106 :clear 7929 9107 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7930 9108 t end 7931 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7932 : end' >>confcache 7933 if diff $cache_file confcache >/dev/null 2>&1; then :; else 7934 if test -w $cache_file; then 7935 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 9109 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 9110 :end' >>confcache 9111 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 9112 if test -w "$cache_file"; then 9113 test "x$cache_file" != "x/dev/null" && 9114 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 9115 $as_echo "$as_me: updating cache $cache_file" >&6;} 7936 9116 cat confcache >$cache_file 7937 9117 else 7938 echo "not updating unwritable cache $cache_file" 9118 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 9119 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7939 9120 fi 7940 9121 fi … … 7944 9125 # Let make expand exec_prefix. 7945 9126 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7946 7947 # VPATH may cause trouble with some makes, so we remove $(srcdir),7948 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and7949 # trailing colons and then remove the whole line if VPATH becomes empty7950 # (actually we leave an empty line to preserve line numbers).7951 if test "x$srcdir" = x.; then7952 ac_vpsub='/^[ ]*VPATH[ ]*=/{7953 s/:*\$(srcdir):*/:/;7954 s/:*\${srcdir}:*/:/;7955 s/:*@srcdir@:*/:/;7956 s/^\([^=]*=[ ]*\):*/\1/;7957 s/:*$//;7958 s/^[^=]*=[ ]*$//;7959 }'7960 fi7961 9127 7962 9128 DEFS=-DHAVE_CONFIG_H … … 7966 9132 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7967 9133 # 1. Remove the extension, and $U if already installed. 7968 ac_i=`echo "$ac_i" | 7969 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 7970 # 2. Add them. 7971 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 7972 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 9134 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 9135 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 9136 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 9137 # will be set to the directory where LIBOBJS objects are built. 9138 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9139 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 7973 9140 done 7974 9141 LIBOBJS=$ac_libobjs … … 7978 9145 7979 9146 9147 7980 9148 : ${CONFIG_STATUS=./config.status} 9149 ac_write_fail=0 7981 9150 ac_clean_files_save=$ac_clean_files 7982 9151 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 7983 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&57984 echo "$as_me: creating $CONFIG_STATUS" >&6;}7985 cat >$CONFIG_STATUS <<_ACEOF 9152 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 9153 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9154 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7986 9155 #! $SHELL 7987 9156 # Generated by $as_me. … … 7996 9165 _ACEOF 7997 9166 7998 cat >>$CONFIG_STATUS <<\_ACEOF 9167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7999 9168 ## --------------------- ## 8000 9169 ## M4sh Initialization. ## 8001 9170 ## --------------------- ## 8002 9171 8003 # Be Bourne compatible 9172 # Be more Bourne compatible 9173 DUALCASE=1; export DUALCASE # for MKS sh 8004 9174 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 8005 9175 emulate sh 8006 9176 NULLCMD=: 8007 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which9177 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 8008 9178 # is contrary to our usage. Disable this feature. 8009 9179 alias -g '${1+"$@"}'='"$@"' 8010 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 8011 set -o posix 8012 fi 8013 DUALCASE=1; export DUALCASE # for MKS sh 8014 8015 # Support unset when possible. 8016 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8017 as_unset=unset 8018 else 8019 as_unset=false 8020 fi 8021 8022 8023 # Work around bugs in pre-3.0 UWIN ksh. 8024 $as_unset ENV MAIL MAILPATH 8025 PS1='$ ' 8026 PS2='> ' 8027 PS4='+ ' 8028 8029 # NLS nuisances. 8030 for as_var in \ 8031 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 8032 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 8033 LC_TELEPHONE LC_TIME 8034 do 8035 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 8036 eval $as_var=C; export $as_var 8037 else 8038 $as_unset $as_var 8039 fi 8040 done 8041 8042 # Required to use basename. 8043 if expr a : '\(a\)' >/dev/null 2>&1; then 8044 as_expr=expr 8045 else 8046 as_expr=false 8047 fi 8048 8049 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 8050 as_basename=basename 8051 else 8052 as_basename=false 8053 fi 8054 8055 8056 # Name of the executable. 8057 as_me=`$as_basename "$0" || 8058 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8059 X"$0" : 'X\(//\)$' \| \ 8060 X"$0" : 'X\(/\)$' \| \ 8061 . : '\(.\)' 2>/dev/null || 8062 echo X/"$0" | 8063 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 8064 /^X\/\(\/\/\)$/{ s//\1/; q; } 8065 /^X\/\(\/\).*/{ s//\1/; q; } 8066 s/.*/./; q'` 8067 8068 8069 # PATH needs CR, and LINENO needs CR and PATH. 9180 setopt NO_GLOB_SUBST 9181 else 9182 case `(set -o) 2>/dev/null` in 9183 *posix*) set -o posix ;; 9184 esac 9185 9186 fi 9187 9188 9189 9190 9191 # PATH needs CR 8070 9192 # Avoid depending upon Character Ranges. 8071 9193 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 8075 9197 as_cr_alnum=$as_cr_Letters$as_cr_digits 8076 9198 9199 as_nl=' 9200 ' 9201 export as_nl 9202 # Printing a long string crashes Solaris 7 /usr/bin/printf. 9203 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 9204 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9205 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9206 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9207 as_echo='printf %s\n' 9208 as_echo_n='printf %s' 9209 else 9210 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 9211 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 9212 as_echo_n='/usr/ucb/echo -n' 9213 else 9214 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 9215 as_echo_n_body='eval 9216 arg=$1; 9217 case $arg in 9218 *"$as_nl"*) 9219 expr "X$arg" : "X\\(.*\\)$as_nl"; 9220 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 9221 esac; 9222 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 9223 ' 9224 export as_echo_n_body 9225 as_echo_n='sh -c $as_echo_n_body as_echo' 9226 fi 9227 export as_echo_body 9228 as_echo='sh -c $as_echo_body as_echo' 9229 fi 9230 8077 9231 # The user is always right. 8078 9232 if test "${PATH_SEPARATOR+set}" != set; then 8079 echo "#! /bin/sh" >conf$$.sh 8080 echo "exit 0" >>conf$$.sh 8081 chmod +x conf$$.sh 8082 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 8083 PATH_SEPARATOR=';' 8084 else 8085 PATH_SEPARATOR=: 8086 fi 8087 rm -f conf$$.sh 8088 fi 8089 8090 8091 as_lineno_1=$LINENO 8092 as_lineno_2=$LINENO 8093 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8094 test "x$as_lineno_1" != "x$as_lineno_2" && 8095 test "x$as_lineno_3" = "x$as_lineno_2" || { 8096 # Find who we are. Look in the path if we contain no path at all 8097 # relative or not. 8098 case $0 in 8099 *[\\/]* ) as_myself=$0 ;; 8100 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9233 PATH_SEPARATOR=: 9234 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 9235 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 9236 PATH_SEPARATOR=';' 9237 } 9238 fi 9239 9240 # Support unset when possible. 9241 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 9242 as_unset=unset 9243 else 9244 as_unset=false 9245 fi 9246 9247 9248 # IFS 9249 # We need space, tab and new line, in precisely that order. Quoting is 9250 # there to prevent editors from complaining about space-tab. 9251 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 9252 # splitting by setting IFS to empty value.) 9253 IFS=" "" $as_nl" 9254 9255 # Find who we are. Look in the path if we contain no directory separator. 9256 case $0 in 9257 *[\\/]* ) as_myself=$0 ;; 9258 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8101 9259 for as_dir in $PATH 8102 9260 do … … 8105 9263 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8106 9264 done 8107 8108 ;; 8109 esac 8110 # We did not find ourselves, most probably we were run as `sh COMMAND' 8111 # in which case we are not to be found in the path. 8112 if test "x$as_myself" = x; then 8113 as_myself=$0 8114 fi 8115 if test ! -f "$as_myself"; then 8116 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 8117 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 8118 { (exit 1); exit 1; }; } 8119 fi 8120 case $CONFIG_SHELL in 8121 '') 8122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8123 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 8124 do 8125 IFS=$as_save_IFS 8126 test -z "$as_dir" && as_dir=. 8127 for as_base in sh bash ksh sh5; do 8128 case $as_dir in 8129 /*) 8130 if ("$as_dir/$as_base" -c ' 9265 IFS=$as_save_IFS 9266 9267 ;; 9268 esac 9269 # We did not find ourselves, most probably we were run as `sh COMMAND' 9270 # in which case we are not to be found in the path. 9271 if test "x$as_myself" = x; then 9272 as_myself=$0 9273 fi 9274 if test ! -f "$as_myself"; then 9275 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9276 { (exit 1); exit 1; } 9277 fi 9278 9279 # Work around bugs in pre-3.0 UWIN ksh. 9280 for as_var in ENV MAIL MAILPATH 9281 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9282 done 9283 PS1='$ ' 9284 PS2='> ' 9285 PS4='+ ' 9286 9287 # NLS nuisances. 9288 LC_ALL=C 9289 export LC_ALL 9290 LANGUAGE=C 9291 export LANGUAGE 9292 9293 # Required to use basename. 9294 if expr a : '\(a\)' >/dev/null 2>&1 && 9295 test "X`expr 00001 : '.*\(...\)'`" = X001; then 9296 as_expr=expr 9297 else 9298 as_expr=false 9299 fi 9300 9301 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 9302 as_basename=basename 9303 else 9304 as_basename=false 9305 fi 9306 9307 9308 # Name of the executable. 9309 as_me=`$as_basename -- "$0" || 9310 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 9311 X"$0" : 'X\(//\)$' \| \ 9312 X"$0" : 'X\(/\)' \| . 2>/dev/null || 9313 $as_echo X/"$0" | 9314 sed '/^.*\/\([^/][^/]*\)\/*$/{ 9315 s//\1/ 9316 q 9317 } 9318 /^X\/\(\/\/\)$/{ 9319 s//\1/ 9320 q 9321 } 9322 /^X\/\(\/\).*/{ 9323 s//\1/ 9324 q 9325 } 9326 s/.*/./; q'` 9327 9328 # CDPATH. 9329 $as_unset CDPATH 9330 9331 9332 8131 9333 as_lineno_1=$LINENO 8132 9334 as_lineno_2=$LINENO 8133 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`8134 9335 test "x$as_lineno_1" != "x$as_lineno_2" && 8135 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 8136 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 8137 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 8138 CONFIG_SHELL=$as_dir/$as_base 8139 export CONFIG_SHELL 8140 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 8141 fi;; 8142 esac 8143 done 8144 done 8145 ;; 8146 esac 9336 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 8147 9337 8148 9338 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 8149 9339 # uniformly replaced by the line number. The first 'sed' inserts a 8150 # line-number line before each line; the second 'sed' does the real 8151 # work. The second script uses 'N' to pair each line-number line 8152 # with the numbered line, and appends trailing '-' during 8153 # substitution so that $LINENO is not a special case at line end. 9340 # line-number line after each line using $LINENO; the second 'sed' 9341 # does the real work. The second script uses 'N' to pair each 9342 # line-number line with the line containing $LINENO, and appends 9343 # trailing '-' during substitution so that $LINENO is not a special 9344 # case at line end. 8154 9345 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 8155 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 8156 sed '=' <$as_myself | 9346 # scripts with optimization help from Paolo Bonzini. Blame Lee 9347 # E. McMahon (1931-1989) for sed's syntax. :-) 9348 sed -n ' 9349 p 9350 /[$]LINENO/= 9351 ' <$as_myself | 8157 9352 sed ' 9353 s/[$]LINENO.*/&-/ 9354 t lineno 9355 b 9356 :lineno 8158 9357 N 8159 s,$,-, 8160 : loop 8161 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 9358 :loop 9359 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 8162 9360 t loop 8163 s,-$,, 8164 s,^['$as_cr_digits']*\n,, 9361 s/-\n.*// 8165 9362 ' >$as_me.lineno && 8166 chmod +x $as_me.lineno || 8167 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 8168 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 9363 chmod +x "$as_me.lineno" || 9364 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 8169 9365 { (exit 1); exit 1; }; } 8170 9366 8171 9367 # Don't try to exec as it changes $[0], causing all sort of problems 8172 9368 # (the dirname of $[0] is not the place where we might find the 8173 # original and so on. Autoconf is especially sensi ble to this).8174 . ./$as_me.lineno9369 # original and so on. Autoconf is especially sensitive to this). 9370 . "./$as_me.lineno" 8175 9371 # Exit status is that of the last command. 8176 9372 exit … … 8178 9374 8179 9375 8180 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 8181 *c*,-n*) ECHO_N= ECHO_C=' 8182 ' ECHO_T=' ' ;; 8183 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 8184 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 8185 esac 8186 8187 if expr a : '\(a\)' >/dev/null 2>&1; then 9376 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9377 as_dirname=dirname 9378 else 9379 as_dirname=false 9380 fi 9381 9382 ECHO_C= ECHO_N= ECHO_T= 9383 case `echo -n x` in 9384 -n*) 9385 case `echo 'x\c'` in 9386 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 9387 *) ECHO_C='\c';; 9388 esac;; 9389 *) 9390 ECHO_N='-n';; 9391 esac 9392 if expr a : '\(a\)' >/dev/null 2>&1 && 9393 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8188 9394 as_expr=expr 8189 9395 else … … 8192 9398 8193 9399 rm -f conf$$ conf$$.exe conf$$.file 8194 echo >conf$$.file 8195 if ln -s conf$$.file conf$$ 2>/dev/null; then 8196 # We could just check for DJGPP; but this test a) works b) is more generic 8197 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 8198 if test -f conf$$.exe; then 8199 # Don't use ln at all; we don't have any links 9400 if test -d conf$$.dir; then 9401 rm -f conf$$.dir/conf$$.file 9402 else 9403 rm -f conf$$.dir 9404 mkdir conf$$.dir 2>/dev/null 9405 fi 9406 if (echo >conf$$.file) 2>/dev/null; then 9407 if ln -s conf$$.file conf$$ 2>/dev/null; then 9408 as_ln_s='ln -s' 9409 # ... but there are two gotchas: 9410 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 9411 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 9412 # In both cases, we have to default to `cp -p'. 9413 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9414 as_ln_s='cp -p' 9415 elif ln conf$$.file conf$$ 2>/dev/null; then 9416 as_ln_s=ln 9417 else 8200 9418 as_ln_s='cp -p' 8201 else8202 as_ln_s='ln -s'8203 9419 fi 8204 elif ln conf$$.file conf$$ 2>/dev/null; then8205 as_ln_s=ln8206 9420 else 8207 9421 as_ln_s='cp -p' 8208 9422 fi 8209 rm -f conf$$ conf$$.exe conf$$.file 9423 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 9424 rmdir conf$$.dir 2>/dev/null 8210 9425 8211 9426 if mkdir -p . 2>/dev/null; then … … 8216 9431 fi 8217 9432 8218 as_executable_p="test -f" 9433 if test -x / >/dev/null 2>&1; then 9434 as_test_x='test -x' 9435 else 9436 if ls -dL / >/dev/null 2>&1; then 9437 as_ls_L_option=L 9438 else 9439 as_ls_L_option= 9440 fi 9441 as_test_x=' 9442 eval sh -c '\'' 9443 if test -d "$1"; then 9444 test -d "$1/."; 9445 else 9446 case $1 in 9447 -*)set "./$1";; 9448 esac; 9449 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 9450 ???[sx]*):;;*)false;;esac;fi 9451 '\'' sh 9452 ' 9453 fi 9454 as_executable_p=$as_test_x 8219 9455 8220 9456 # Sed expression to map a string onto a valid CPP name. … … 8225 9461 8226 9462 8227 # IFS8228 # We need space, tab and new line, in precisely that order.8229 as_nl='8230 '8231 IFS=" $as_nl"8232 8233 # CDPATH.8234 $as_unset CDPATH8235 8236 9463 exec 6>&1 8237 9464 8238 # Open the log real soon, to keep \$[0] and so on meaningful, and to9465 # Save the log message, to keep $[0] and so on meaningful, and to 8239 9466 # report actual input values of CONFIG_FILES etc. instead of their 8240 # values after options handling. Logging --version etc. is OK. 9467 # values after options handling. 9468 ac_log=" 9469 This file was extended by $as_me, which was 9470 generated by GNU Autoconf 2.63. Invocation command line was 9471 9472 CONFIG_FILES = $CONFIG_FILES 9473 CONFIG_HEADERS = $CONFIG_HEADERS 9474 CONFIG_LINKS = $CONFIG_LINKS 9475 CONFIG_COMMANDS = $CONFIG_COMMANDS 9476 $ $0 $@ 9477 9478 on `(hostname || uname -n) 2>/dev/null | sed 1q` 9479 " 9480 9481 _ACEOF 9482 9483 case $ac_config_files in *" 9484 "*) set x $ac_config_files; shift; ac_config_files=$*;; 9485 esac 9486 9487 case $ac_config_headers in *" 9488 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 9489 esac 9490 9491 9492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9493 # Files that config.status was made for. 9494 config_files="$ac_config_files" 9495 config_headers="$ac_config_headers" 9496 9497 _ACEOF 9498 9499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9500 ac_cs_usage="\ 9501 \`$as_me' instantiates files from templates according to the 9502 current configuration. 9503 9504 Usage: $0 [OPTION]... [FILE]... 9505 9506 -h, --help print this help, then exit 9507 -V, --version print version number and configuration settings, then exit 9508 -q, --quiet, --silent 9509 do not print progress messages 9510 -d, --debug don't remove temporary files 9511 --recheck update $as_me by reconfiguring in the same conditions 9512 --file=FILE[:TEMPLATE] 9513 instantiate the configuration file FILE 9514 --header=FILE[:TEMPLATE] 9515 instantiate the configuration header FILE 9516 9517 Configuration files: 9518 $config_files 9519 9520 Configuration headers: 9521 $config_headers 9522 9523 Report bugs to <[email protected]>." 9524 9525 _ACEOF 9526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9527 ac_cs_version="\\ 9528 config.status 9529 configured by $0, generated by GNU Autoconf 2.63, 9530 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 9531 9532 Copyright (C) 2008 Free Software Foundation, Inc. 9533 This config.status script is free software; the Free Software Foundation 9534 gives unlimited permission to copy, distribute and modify it." 9535 9536 ac_pwd='$ac_pwd' 9537 srcdir='$srcdir' 9538 INSTALL='$INSTALL' 9539 AWK='$AWK' 9540 test -n "\$AWK" || AWK=awk 9541 _ACEOF 9542 9543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9544 # The default lists apply if the user does not specify any file. 9545 ac_need_defaults=: 9546 while test $# != 0 9547 do 9548 case $1 in 9549 --*=*) 9550 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9551 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9552 ac_shift=: 9553 ;; 9554 *) 9555 ac_option=$1 9556 ac_optarg=$2 9557 ac_shift=shift 9558 ;; 9559 esac 9560 9561 case $ac_option in 9562 # Handling of the options. 9563 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 9564 ac_cs_recheck=: ;; 9565 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9566 $as_echo "$ac_cs_version"; exit ;; 9567 --debug | --debu | --deb | --de | --d | -d ) 9568 debug=: ;; 9569 --file | --fil | --fi | --f ) 9570 $ac_shift 9571 case $ac_optarg in 9572 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9573 esac 9574 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 9575 ac_need_defaults=false;; 9576 --header | --heade | --head | --hea ) 9577 $ac_shift 9578 case $ac_optarg in 9579 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9580 esac 9581 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 9582 ac_need_defaults=false;; 9583 --he | --h) 9584 # Conflict between --help and --header 9585 { $as_echo "$as_me: error: ambiguous option: $1 9586 Try \`$0 --help' for more information." >&2 9587 { (exit 1); exit 1; }; };; 9588 --help | --hel | -h ) 9589 $as_echo "$ac_cs_usage"; exit ;; 9590 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9591 | -silent | --silent | --silen | --sile | --sil | --si | --s) 9592 ac_cs_silent=: ;; 9593 9594 # This is an error. 9595 -*) { $as_echo "$as_me: error: unrecognized option: $1 9596 Try \`$0 --help' for more information." >&2 9597 { (exit 1); exit 1; }; } ;; 9598 9599 *) ac_config_targets="$ac_config_targets $1" 9600 ac_need_defaults=false ;; 9601 9602 esac 9603 shift 9604 done 9605 9606 ac_configure_extra_args= 9607 9608 if $ac_cs_silent; then 9609 exec 6>/dev/null 9610 ac_configure_extra_args="$ac_configure_extra_args --silent" 9611 fi 9612 9613 _ACEOF 9614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9615 if \$ac_cs_recheck; then 9616 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9617 shift 9618 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 9619 CONFIG_SHELL='$SHELL' 9620 export CONFIG_SHELL 9621 exec "\$@" 9622 fi 9623 9624 _ACEOF 9625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8241 9626 exec 5>>config.log 8242 9627 { … … 8245 9630 ## Running $as_me. ## 8246 9631 _ASBOX 9632 $as_echo "$ac_log" 8247 9633 } >&5 8248 cat >&5 <<_CSEOF 8249 8250 This file was extended by $as_me, which was 8251 generated by GNU Autoconf 2.59. Invocation command line was 8252 8253 CONFIG_FILES = $CONFIG_FILES 8254 CONFIG_HEADERS = $CONFIG_HEADERS 8255 CONFIG_LINKS = $CONFIG_LINKS 8256 CONFIG_COMMANDS = $CONFIG_COMMANDS 8257 $ $0 $@ 8258 8259 _CSEOF 8260 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 8261 echo >&5 8262 _ACEOF 8263 8264 # Files that config.status was made for. 8265 if test -n "$ac_config_files"; then 8266 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 8267 fi 8268 8269 if test -n "$ac_config_headers"; then 8270 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 8271 fi 8272 8273 if test -n "$ac_config_links"; then 8274 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 8275 fi 8276 8277 if test -n "$ac_config_commands"; then 8278 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 8279 fi 8280 8281 cat >>$CONFIG_STATUS <<\_ACEOF 8282 8283 ac_cs_usage="\ 8284 \`$as_me' instantiates files from templates according to the 8285 current configuration. 8286 8287 Usage: $0 [OPTIONS] [FILE]... 8288 8289 -h, --help print this help, then exit 8290 -V, --version print version number, then exit 8291 -q, --quiet do not print progress messages 8292 -d, --debug don't remove temporary files 8293 --recheck update $as_me by reconfiguring in the same conditions 8294 --file=FILE[:TEMPLATE] 8295 instantiate the configuration file FILE 8296 --header=FILE[:TEMPLATE] 8297 instantiate the configuration header FILE 8298 8299 Configuration files: 8300 $config_files 8301 8302 Configuration headers: 8303 $config_headers 8304 8305 Report bugs to <[email protected]>." 8306 _ACEOF 8307 8308 cat >>$CONFIG_STATUS <<_ACEOF 8309 ac_cs_version="\\ 8310 config.status 8311 configured by $0, generated by GNU Autoconf 2.59, 8312 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 8313 8314 Copyright (C) 2003 Free Software Foundation, Inc. 8315 This config.status script is free software; the Free Software Foundation 8316 gives unlimited permission to copy, distribute and modify it." 8317 srcdir=$srcdir 8318 INSTALL="$INSTALL" 8319 _ACEOF 8320 8321 cat >>$CONFIG_STATUS <<\_ACEOF 8322 # If no file are specified by the user, then we need to provide default 8323 # value. By we need to know if files were specified by the user. 8324 ac_need_defaults=: 8325 while test $# != 0 8326 do 8327 case $1 in 8328 --*=*) 8329 ac_option=`expr "x$1" : 'x\([^=]*\)='` 8330 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 8331 ac_shift=: 8332 ;; 8333 -*) 8334 ac_option=$1 8335 ac_optarg=$2 8336 ac_shift=shift 8337 ;; 8338 *) # This is not an option, so the user has probably given explicit 8339 # arguments. 8340 ac_option=$1 8341 ac_need_defaults=false;; 8342 esac 8343 8344 case $ac_option in 8345 # Handling of the options. 8346 _ACEOF 8347 cat >>$CONFIG_STATUS <<\_ACEOF 8348 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8349 ac_cs_recheck=: ;; 8350 --version | --vers* | -V ) 8351 echo "$ac_cs_version"; exit 0 ;; 8352 --he | --h) 8353 # Conflict between --help and --header 8354 { { echo "$as_me:$LINENO: error: ambiguous option: $1 8355 Try \`$0 --help' for more information." >&5 8356 echo "$as_me: error: ambiguous option: $1 8357 Try \`$0 --help' for more information." >&2;} 8358 { (exit 1); exit 1; }; };; 8359 --help | --hel | -h ) 8360 echo "$ac_cs_usage"; exit 0 ;; 8361 --debug | --d* | -d ) 8362 debug=: ;; 8363 --file | --fil | --fi | --f ) 8364 $ac_shift 8365 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 8366 ac_need_defaults=false;; 8367 --header | --heade | --head | --hea ) 8368 $ac_shift 8369 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 8370 ac_need_defaults=false;; 8371 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8372 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8373 ac_cs_silent=: ;; 8374 8375 # This is an error. 8376 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 8377 Try \`$0 --help' for more information." >&5 8378 echo "$as_me: error: unrecognized option: $1 8379 Try \`$0 --help' for more information." >&2;} 8380 { (exit 1); exit 1; }; } ;; 8381 8382 *) ac_config_targets="$ac_config_targets $1" ;; 8383 8384 esac 8385 shift 8386 done 8387 8388 ac_configure_extra_args= 8389 8390 if $ac_cs_silent; then 8391 exec 6>/dev/null 8392 ac_configure_extra_args="$ac_configure_extra_args --silent" 8393 fi 8394 8395 _ACEOF 8396 cat >>$CONFIG_STATUS <<_ACEOF 8397 if \$ac_cs_recheck; then 8398 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8399 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8400 fi 8401 8402 _ACEOF 8403 8404 8405 8406 8407 8408 cat >>$CONFIG_STATUS <<\_ACEOF 9634 9635 _ACEOF 9636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9637 _ACEOF 9638 9639 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9640 9641 # Handling of arguments. 8409 9642 for ac_config_target in $ac_config_targets 8410 9643 do 8411 case "$ac_config_target"in8412 # Handling of arguments.8413 "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;8414 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;8415 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;8416 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;8417 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 8418 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&58419 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}9644 case $ac_config_target in 9645 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 9646 "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;; 9647 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 9648 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;; 9649 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 9650 9651 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 9652 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 8420 9653 { (exit 1); exit 1; }; };; 8421 9654 esac 8422 9655 done 9656 8423 9657 8424 9658 # If the user did not use the arguments to specify the items to instantiate, … … 8432 9666 8433 9667 # Have a temporary directory for convenience. Make it in the build tree 8434 # simply because there is no reason to putit here, and in addition,9668 # simply because there is no reason against having it here, and in addition, 8435 9669 # creating and moving files from /tmp can sometimes cause problems. 8436 # Create a temporary directory, and hook for its removal unless debugging. 9670 # Hook for its removal unless debugging. 9671 # Note that there is a small window in which the directory will not be cleaned: 9672 # after its creation but before its name has been assigned to `$tmp'. 8437 9673 $debug || 8438 9674 { 8439 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 9675 tmp= 9676 trap 'exit_status=$? 9677 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9678 ' 0 8440 9679 trap '{ (exit 1); exit 1; }' 1 2 13 15 8441 9680 } 8442 8443 9681 # Create a (secure) tmp directory for tmp files. 8444 9682 8445 9683 { 8446 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&9684 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8447 9685 test -n "$tmp" && test -d "$tmp" 8448 9686 } || 8449 9687 { 8450 tmp=./conf stat$$-$RANDOM8451 (umask 077 && mkdir $tmp)9688 tmp=./conf$$-$RANDOM 9689 (umask 077 && mkdir "$tmp") 8452 9690 } || 8453 9691 { 8454 echo "$me: cannot create a temporary directory in ." >&29692 $as_echo "$as_me: cannot create a temporary directory in ." >&2 8455 9693 { (exit 1); exit 1; } 8456 9694 } 8457 9695 8458 _ACEOF 8459 8460 cat >>$CONFIG_STATUS <<_ACEOF 8461 8462 # 8463 # CONFIG_FILES section. 8464 # 8465 8466 # No need to generate the scripts if there are no CONFIG_FILES. 8467 # This happens for instance when ./config.status config.h 8468 if test -n "\$CONFIG_FILES"; then 8469 # Protect against being on the right side of a sed subst in config.status. 8470 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 8471 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 8472 s,@SHELL@,$SHELL,;t t 8473 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 8474 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 8475 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 8476 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 8477 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 8478 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 8479 s,@exec_prefix@,$exec_prefix,;t t 8480 s,@prefix@,$prefix,;t t 8481 s,@program_transform_name@,$program_transform_name,;t t 8482 s,@bindir@,$bindir,;t t 8483 s,@sbindir@,$sbindir,;t t 8484 s,@libexecdir@,$libexecdir,;t t 8485 s,@datadir@,$datadir,;t t 8486 s,@sysconfdir@,$sysconfdir,;t t 8487 s,@sharedstatedir@,$sharedstatedir,;t t 8488 s,@localstatedir@,$localstatedir,;t t 8489 s,@libdir@,$libdir,;t t 8490 s,@includedir@,$includedir,;t t 8491 s,@oldincludedir@,$oldincludedir,;t t 8492 s,@infodir@,$infodir,;t t 8493 s,@mandir@,$mandir,;t t 8494 s,@build_alias@,$build_alias,;t t 8495 s,@host_alias@,$host_alias,;t t 8496 s,@target_alias@,$target_alias,;t t 8497 s,@DEFS@,$DEFS,;t t 8498 s,@ECHO_C@,$ECHO_C,;t t 8499 s,@ECHO_N@,$ECHO_N,;t t 8500 s,@ECHO_T@,$ECHO_T,;t t 8501 s,@LIBS@,$LIBS,;t t 8502 s,@PACKAGE@,$PACKAGE,;t t 8503 s,@VERSION@,$VERSION,;t t 8504 s,@USE_FASTCGI@,$USE_FASTCGI,;t t 8505 s,@USE_LANGACTION@,$USE_LANGACTION,;t t 8506 s,@USE_CORBA@,$USE_CORBA,;t t 8507 s,@MICO_DIR@,$MICO_DIR,;t t 8508 s,@USE_Z3950@,$USE_Z3950,;t t 8509 s,@USE_YAZ@,$USE_YAZ,;t t 8510 s,@ENABLE_JAVA@,$ENABLE_JAVA,;t t 8511 s,@USE_WVWARE@,$USE_WVWARE,;t t 8512 s,@USE_JDBM@,$USE_JDBM,;t t 8513 s,@USE_GDBM@,$USE_GDBM,;t t 8514 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 8515 s,@USE_SQLITE@,$USE_SQLITE,;t t 8516 s,@LDFLAGS@,$LDFLAGS,;t t 8517 s,@CFLAGS@,$CFLAGS,;t t 8518 s,@CC@,$CC,;t t 8519 s,@CPPFLAGS@,$CPPFLAGS,;t t 8520 s,@ac_ct_CC@,$ac_ct_CC,;t t 8521 s,@EXEEXT@,$EXEEXT,;t t 8522 s,@OBJEXT@,$OBJEXT,;t t 8523 s,@CXX@,$CXX,;t t 8524 s,@CXXFLAGS@,$CXXFLAGS,;t t 8525 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 8526 s,@JAVAC@,$JAVAC,;t t 8527 s,@JAVACFLAGS@,$JAVACFLAGS,;t t 8528 s,@JAVA@,$JAVA,;t t 8529 s,@uudecode@,$uudecode,;t t 8530 s,@AWK@,$AWK,;t t 8531 s,@YACC@,$YACC,;t t 8532 s,@build@,$build,;t t 8533 s,@build_cpu@,$build_cpu,;t t 8534 s,@build_vendor@,$build_vendor,;t t 8535 s,@build_os@,$build_os,;t t 8536 s,@host@,$host,;t t 8537 s,@host_cpu@,$host_cpu,;t t 8538 s,@host_vendor@,$host_vendor,;t t 8539 s,@host_os@,$host_os,;t t 8540 s,@target@,$target,;t t 8541 s,@target_cpu@,$target_cpu,;t t 8542 s,@target_vendor@,$target_vendor,;t t 8543 s,@target_os@,$target_os,;t t 8544 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 8545 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 8546 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 8547 s,@LN_S@,$LN_S,;t t 8548 s,@SET_MAKE@,$SET_MAKE,;t t 8549 s,@RANLIB@,$RANLIB,;t t 8550 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 8551 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 8552 s,@MICO_VER@,$MICO_VER,;t t 8553 s,@CPP@,$CPP,;t t 8554 s,@EGREP@,$EGREP,;t t 8555 s,@U@,$U,;t t 8556 s,@ANSI2KNR@,$ANSI2KNR,;t t 8557 s,@ALLOCA@,$ALLOCA,;t t 8558 s,@LIBOBJS@,$LIBOBJS,;t t 8559 s,@STATIC@,$STATIC,;t t 8560 s,@gsdlos@,$gsdlos,;t t 8561 s,@MODULEDIRS@,$MODULEDIRS,;t t 8562 s,@subdirs@,$subdirs,;t t 8563 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 8564 CEOF 8565 8566 _ACEOF 8567 8568 cat >>$CONFIG_STATUS <<\_ACEOF 8569 # Split the substitutions into bite-sized pieces for seds with 8570 # small command number limits, like on Digital OSF/1 and HP-UX. 8571 ac_max_sed_lines=48 8572 ac_sed_frag=1 # Number of current file. 8573 ac_beg=1 # First line for current file. 8574 ac_end=$ac_max_sed_lines # Line after last line for current file. 8575 ac_more_lines=: 8576 ac_sed_cmds= 8577 while $ac_more_lines; do 8578 if test $ac_beg -gt 1; then 8579 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8580 else 8581 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 9696 # Set up the scripts for CONFIG_FILES section. 9697 # No need to generate them if there are no CONFIG_FILES. 9698 # This happens for instance with `./config.status config.h'. 9699 if test -n "$CONFIG_FILES"; then 9700 9701 9702 ac_cr=' 9703 ' 9704 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 9705 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 9706 ac_cs_awk_cr='\\r' 9707 else 9708 ac_cs_awk_cr=$ac_cr 9709 fi 9710 9711 echo 'BEGIN {' >"$tmp/subs1.awk" && 9712 _ACEOF 9713 9714 9715 { 9716 echo "cat >conf$$subs.awk <<_ACEOF" && 9717 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 9718 echo "_ACEOF" 9719 } >conf$$subs.sh || 9720 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9721 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9722 { (exit 1); exit 1; }; } 9723 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 9724 ac_delim='%!_!# ' 9725 for ac_last_try in false false false false false :; do 9726 . ./conf$$subs.sh || 9727 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9728 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9729 { (exit 1); exit 1; }; } 9730 9731 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 9732 if test $ac_delim_n = $ac_delim_num; then 9733 break 9734 elif $ac_last_try; then 9735 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9736 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9737 { (exit 1); exit 1; }; } 9738 else 9739 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9740 fi 9741 done 9742 rm -f conf$$subs.sh 9743 9744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9745 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 9746 _ACEOF 9747 sed -n ' 9748 h 9749 s/^/S["/; s/!.*/"]=/ 9750 p 9751 g 9752 s/^[^!]*!// 9753 :repl 9754 t repl 9755 s/'"$ac_delim"'$// 9756 t delim 9757 :nl 9758 h 9759 s/\(.\{148\}\).*/\1/ 9760 t more1 9761 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 9762 p 9763 n 9764 b repl 9765 :more1 9766 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9767 p 9768 g 9769 s/.\{148\}// 9770 t nl 9771 :delim 9772 h 9773 s/\(.\{148\}\).*/\1/ 9774 t more2 9775 s/["\\]/\\&/g; s/^/"/; s/$/"/ 9776 p 9777 b 9778 :more2 9779 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9780 p 9781 g 9782 s/.\{148\}// 9783 t delim 9784 ' <conf$$subs.awk | sed ' 9785 /^[^""]/{ 9786 N 9787 s/\n// 9788 } 9789 ' >>$CONFIG_STATUS || ac_write_fail=1 9790 rm -f conf$$subs.awk 9791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9792 _ACAWK 9793 cat >>"\$tmp/subs1.awk" <<_ACAWK && 9794 for (key in S) S_is_set[key] = 1 9795 FS = "" 9796 9797 } 9798 { 9799 line = $ 0 9800 nfields = split(line, field, "@") 9801 substed = 0 9802 len = length(field[1]) 9803 for (i = 2; i < nfields; i++) { 9804 key = field[i] 9805 keylen = length(key) 9806 if (S_is_set[key]) { 9807 value = S[key] 9808 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 9809 len += length(value) + length(field[++i]) 9810 substed = 1 9811 } else 9812 len += 1 + keylen 9813 } 9814 9815 print line 9816 } 9817 9818 _ACAWK 9819 _ACEOF 9820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9821 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9822 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 9823 else 9824 cat 9825 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 9826 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 9827 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 9828 { (exit 1); exit 1; }; } 9829 _ACEOF 9830 9831 # VPATH may cause trouble with some makes, so we remove $(srcdir), 9832 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9833 # trailing colons and then remove the whole line if VPATH becomes empty 9834 # (actually we leave an empty line to preserve line numbers). 9835 if test "x$srcdir" = x.; then 9836 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 9837 s/:*\$(srcdir):*/:/ 9838 s/:*\${srcdir}:*/:/ 9839 s/:*@srcdir@:*/:/ 9840 s/^\([^=]*=[ ]*\):*/\1/ 9841 s/:*$// 9842 s/^[^=]*=[ ]*$// 9843 }' 9844 fi 9845 9846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9847 fi # test -n "$CONFIG_FILES" 9848 9849 # Set up the scripts for CONFIG_HEADERS section. 9850 # No need to generate them if there are no CONFIG_HEADERS. 9851 # This happens for instance with `./config.status Makefile'. 9852 if test -n "$CONFIG_HEADERS"; then 9853 cat >"$tmp/defines.awk" <<\_ACAWK || 9854 BEGIN { 9855 _ACEOF 9856 9857 # Transform confdefs.h into an awk script `defines.awk', embedded as 9858 # here-document in config.status, that substitutes the proper values into 9859 # config.h.in to produce config.h. 9860 9861 # Create a delimiter string that does not exist in confdefs.h, to ease 9862 # handling of long lines. 9863 ac_delim='%!_!# ' 9864 for ac_last_try in false false :; do 9865 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 9866 if test -z "$ac_t"; then 9867 break 9868 elif $ac_last_try; then 9869 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 9870 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 9871 { (exit 1); exit 1; }; } 9872 else 9873 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9874 fi 9875 done 9876 9877 # For the awk script, D is an array of macro values keyed by name, 9878 # likewise P contains macro parameters if any. Preserve backslash 9879 # newline sequences. 9880 9881 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 9882 sed -n ' 9883 s/.\{148\}/&'"$ac_delim"'/g 9884 t rset 9885 :rset 9886 s/^[ ]*#[ ]*define[ ][ ]*/ / 9887 t def 9888 d 9889 :def 9890 s/\\$// 9891 t bsnl 9892 s/["\\]/\\&/g 9893 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9894 D["\1"]=" \3"/p 9895 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 9896 d 9897 :bsnl 9898 s/["\\]/\\&/g 9899 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9900 D["\1"]=" \3\\\\\\n"\\/p 9901 t cont 9902 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 9903 t cont 9904 d 9905 :cont 9906 n 9907 s/.\{148\}/&'"$ac_delim"'/g 9908 t clear 9909 :clear 9910 s/\\$// 9911 t bsnlc 9912 s/["\\]/\\&/g; s/^/"/; s/$/"/p 9913 d 9914 :bsnlc 9915 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 9916 b cont 9917 ' <confdefs.h | sed ' 9918 s/'"$ac_delim"'/"\\\ 9919 "/g' >>$CONFIG_STATUS || ac_write_fail=1 9920 9921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9922 for (key in D) D_is_set[key] = 1 9923 FS = "" 9924 } 9925 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 9926 line = \$ 0 9927 split(line, arg, " ") 9928 if (arg[1] == "#") { 9929 defundef = arg[2] 9930 mac1 = arg[3] 9931 } else { 9932 defundef = substr(arg[1], 2) 9933 mac1 = arg[2] 9934 } 9935 split(mac1, mac2, "(") #) 9936 macro = mac2[1] 9937 prefix = substr(line, 1, index(line, defundef) - 1) 9938 if (D_is_set[macro]) { 9939 # Preserve the white space surrounding the "#". 9940 print prefix "define", macro P[macro] D[macro] 9941 next 9942 } else { 9943 # Replace #undef with comments. This is necessary, for example, 9944 # in the case of _POSIX_SOURCE, which is predefined and required 9945 # on some systems where configure will not decide to define it. 9946 if (defundef == "undef") { 9947 print "/*", prefix defundef, macro, "*/" 9948 next 9949 } 9950 } 9951 } 9952 { print } 9953 _ACAWK 9954 _ACEOF 9955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9956 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 9957 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 9958 { (exit 1); exit 1; }; } 9959 fi # test -n "$CONFIG_HEADERS" 9960 9961 9962 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 9963 shift 9964 for ac_tag 9965 do 9966 case $ac_tag in 9967 :[FHLC]) ac_mode=$ac_tag; continue;; 9968 esac 9969 case $ac_mode$ac_tag in 9970 :[FHL]*:*);; 9971 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 9972 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 9973 { (exit 1); exit 1; }; };; 9974 :[FH]-) ac_tag=-:-;; 9975 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9976 esac 9977 ac_save_IFS=$IFS 9978 IFS=: 9979 set x $ac_tag 9980 IFS=$ac_save_IFS 9981 shift 9982 ac_file=$1 9983 shift 9984 9985 case $ac_mode in 9986 :L) ac_source=$1;; 9987 :[FH]) 9988 ac_file_inputs= 9989 for ac_f 9990 do 9991 case $ac_f in 9992 -) ac_f="$tmp/stdin";; 9993 *) # Look for the file first in the build tree, then in the source tree 9994 # (if the path is not absolute). The absolute path cannot be DOS-style, 9995 # because $ac_f cannot contain `:'. 9996 test -f "$ac_f" || 9997 case $ac_f in 9998 [\\/$]*) false;; 9999 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 10000 esac || 10001 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 10002 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 10003 { (exit 1); exit 1; }; };; 10004 esac 10005 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 10006 ac_file_inputs="$ac_file_inputs '$ac_f'" 10007 done 10008 10009 # Let's still pretend it is `configure' which instantiates (i.e., don't 10010 # use $as_me), people would be surprised to read: 10011 # /* config.h. Generated by config.status. */ 10012 configure_input='Generated from '` 10013 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 10014 `' by configure.' 10015 if test x"$ac_file" != x-; then 10016 configure_input="$ac_file. $configure_input" 10017 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 10018 $as_echo "$as_me: creating $ac_file" >&6;} 8582 10019 fi 8583 if test ! -s $tmp/subs.frag; then 8584 ac_more_lines=false 8585 else 8586 # The purpose of the label and of the branching condition is to 8587 # speed up the sed processing (if there are no `@' at all, there 8588 # is no need to browse any of the substitutions). 8589 # These are the two extra sed commands mentioned above. 8590 (echo ':t 8591 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 8592 if test -z "$ac_sed_cmds"; then 8593 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 8594 else 8595 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 8596 fi 8597 ac_sed_frag=`expr $ac_sed_frag + 1` 8598 ac_beg=$ac_end 8599 ac_end=`expr $ac_end + $ac_max_sed_lines` 8600 fi 8601 done 8602 if test -z "$ac_sed_cmds"; then 8603 ac_sed_cmds=cat 8604 fi 8605 fi # test -n "$CONFIG_FILES" 8606 8607 _ACEOF 8608 cat >>$CONFIG_STATUS <<\_ACEOF 8609 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 8610 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8611 case $ac_file in 8612 - | *:- | *:-:* ) # input from stdin 8613 cat >$tmp/stdin 8614 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8615 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8616 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8617 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8618 * ) ac_file_in=$ac_file.in ;; 10020 # Neutralize special characters interpreted by sed in replacement strings. 10021 case $configure_input in #( 10022 *\&* | *\|* | *\\* ) 10023 ac_sed_conf_input=`$as_echo "$configure_input" | 10024 sed 's/[\\\\&|]/\\\\&/g'`;; #( 10025 *) ac_sed_conf_input=$configure_input;; 10026 esac 10027 10028 case $ac_tag in 10029 *:-:* | *:-) cat >"$tmp/stdin" \ 10030 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10031 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10032 { (exit 1); exit 1; }; } ;; 10033 esac 10034 ;; 8619 10035 esac 8620 10036 8621 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 8622 ac_dir=`(dirname "$ac_file") 2>/dev/null || 10037 ac_dir=`$as_dirname -- "$ac_file" || 8623 10038 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8624 10039 X"$ac_file" : 'X\(//\)[^/]' \| \ 8625 10040 X"$ac_file" : 'X\(//\)$' \| \ 8626 X"$ac_file" : 'X\(/\)' \| \ 8627 . : '\(.\)' 2>/dev/null || 8628 echo X"$ac_file" | 8629 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8630 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8631 /^X\(\/\/\)$/{ s//\1/; q; } 8632 /^X\(\/\).*/{ s//\1/; q; } 8633 s/.*/./; q'` 8634 { if $as_mkdir_p; then 8635 mkdir -p "$ac_dir" 8636 else 8637 as_dir="$ac_dir" 10041 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 10042 $as_echo X"$ac_file" | 10043 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10044 s//\1/ 10045 q 10046 } 10047 /^X\(\/\/\)[^/].*/{ 10048 s//\1/ 10049 q 10050 } 10051 /^X\(\/\/\)$/{ 10052 s//\1/ 10053 q 10054 } 10055 /^X\(\/\).*/{ 10056 s//\1/ 10057 q 10058 } 10059 s/.*/./; q'` 10060 { as_dir="$ac_dir" 10061 case $as_dir in #( 10062 -*) as_dir=./$as_dir;; 10063 esac 10064 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 8638 10065 as_dirs= 8639 while test ! -d "$as_dir"; do 8640 as_dirs="$as_dir $as_dirs" 8641 as_dir=`(dirname "$as_dir") 2>/dev/null || 10066 while :; do 10067 case $as_dir in #( 10068 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10069 *) as_qdir=$as_dir;; 10070 esac 10071 as_dirs="'$as_qdir' $as_dirs" 10072 as_dir=`$as_dirname -- "$as_dir" || 8642 10073 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8643 10074 X"$as_dir" : 'X\(//\)[^/]' \| \ 8644 10075 X"$as_dir" : 'X\(//\)$' \| \ 8645 X"$as_dir" : 'X\(/\)' \| \ 8646 . : '\(.\)' 2>/dev/null || 8647 echo X"$as_dir" | 8648 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8649 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8650 /^X\(\/\/\)$/{ s//\1/; q; } 8651 /^X\(\/\).*/{ s//\1/; q; } 8652 s/.*/./; q'` 10076 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10077 $as_echo X"$as_dir" | 10078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10079 s//\1/ 10080 q 10081 } 10082 /^X\(\/\/\)[^/].*/{ 10083 s//\1/ 10084 q 10085 } 10086 /^X\(\/\/\)$/{ 10087 s//\1/ 10088 q 10089 } 10090 /^X\(\/\).*/{ 10091 s//\1/ 10092 q 10093 } 10094 s/.*/./; q'` 10095 test -d "$as_dir" && break 8653 10096 done 8654 test ! -n "$as_dirs" || mkdir $as_dirs8655 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&58656 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}10097 test -z "$as_dirs" || eval "mkdir $as_dirs" 10098 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10099 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 8657 10100 { (exit 1); exit 1; }; }; } 8658 8659 10101 ac_builddir=. 8660 10102 8661 if test "$ac_dir" != .; then 8662 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8663 # A "../" for each directory in $ac_dir_suffix. 8664 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8665 else 8666 ac_dir_suffix= ac_top_builddir= 8667 fi 10103 case "$ac_dir" in 10104 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10105 *) 10106 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 10107 # A ".." for each directory in $ac_dir_suffix. 10108 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 10109 case $ac_top_builddir_sub in 10110 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 10111 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 10112 esac ;; 10113 esac 10114 ac_abs_top_builddir=$ac_pwd 10115 ac_abs_builddir=$ac_pwd$ac_dir_suffix 10116 # for backward compatibility: 10117 ac_top_builddir=$ac_top_build_prefix 8668 10118 8669 10119 case $srcdir in 8670 .) # No --srcdir option.We are building in place.10120 .) # We are building in place. 8671 10121 ac_srcdir=. 8672 if test -z "$ac_top_builddir"; then 8673 ac_top_srcdir=. 8674 else 8675 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8676 fi ;; 8677 [\\/]* | ?:[\\/]* ) # Absolute path. 10122 ac_top_srcdir=$ac_top_builddir_sub 10123 ac_abs_top_srcdir=$ac_pwd ;; 10124 [\\/]* | ?:[\\/]* ) # Absolute name. 8678 10125 ac_srcdir=$srcdir$ac_dir_suffix; 8679 ac_top_srcdir=$srcdir ;; 8680 *) # Relative path. 8681 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8682 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8683 esac 8684 8685 # Do not use `cd foo && pwd` to compute absolute paths, because 8686 # the directories may not exist. 8687 case `pwd` in 8688 .) ac_abs_builddir="$ac_dir";; 8689 *) 8690 case "$ac_dir" in 8691 .) ac_abs_builddir=`pwd`;; 8692 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8693 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8694 esac;; 8695 esac 8696 case $ac_abs_builddir in 8697 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8698 *) 8699 case ${ac_top_builddir}. in 8700 .) ac_abs_top_builddir=$ac_abs_builddir;; 8701 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8702 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8703 esac;; 8704 esac 8705 case $ac_abs_builddir in 8706 .) ac_abs_srcdir=$ac_srcdir;; 8707 *) 8708 case $ac_srcdir in 8709 .) ac_abs_srcdir=$ac_abs_builddir;; 8710 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8711 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8712 esac;; 8713 esac 8714 case $ac_abs_builddir in 8715 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8716 *) 8717 case $ac_top_srcdir in 8718 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8719 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8720 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8721 esac;; 8722 esac 8723 10126 ac_top_srcdir=$srcdir 10127 ac_abs_top_srcdir=$srcdir ;; 10128 *) # Relative name. 10129 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 10130 ac_top_srcdir=$ac_top_build_prefix$srcdir 10131 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 10132 esac 10133 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 10134 10135 10136 case $ac_mode in 10137 :F) 10138 # 10139 # CONFIG_FILE 10140 # 8724 10141 8725 10142 case $INSTALL in 8726 10143 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 8727 *) ac_INSTALL=$ac_top_build dir$INSTALL ;;10144 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 8728 10145 esac 8729 8730 if test x"$ac_file" != x-; then 8731 { echo "$as_me:$LINENO: creating $ac_file" >&5 8732 echo "$as_me: creating $ac_file" >&6;} 8733 rm -f "$ac_file" 8734 fi 8735 # Let's still pretend it is `configure' which instantiates (i.e., don't 8736 # use $as_me), people would be surprised to read: 8737 # /* config.h. Generated by config.status. */ 8738 if test x"$ac_file" = x-; then 8739 configure_input= 8740 else 8741 configure_input="$ac_file. " 8742 fi 8743 configure_input=$configure_input"Generated from `echo $ac_file_in | 8744 sed 's,.*/,,'` by configure." 8745 8746 # First look for the input files in the build tree, otherwise in the 8747 # src tree. 8748 ac_file_inputs=`IFS=: 8749 for f in $ac_file_in; do 8750 case $f in 8751 -) echo $tmp/stdin ;; 8752 [\\/$]*) 8753 # Absolute (can't be DOS-style, as IFS=:) 8754 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8755 echo "$as_me: error: cannot find input file: $f" >&2;} 8756 { (exit 1); exit 1; }; } 8757 echo "$f";; 8758 *) # Relative 8759 if test -f "$f"; then 8760 # Build tree 8761 echo "$f" 8762 elif test -f "$srcdir/$f"; then 8763 # Source tree 8764 echo "$srcdir/$f" 8765 else 8766 # /dev/null tree 8767 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8768 echo "$as_me: error: cannot find input file: $f" >&2;} 8769 { (exit 1); exit 1; }; } 8770 fi;; 8771 esac 8772 done` || { (exit 1); exit 1; } 8773 _ACEOF 8774 cat >>$CONFIG_STATUS <<_ACEOF 8775 sed "$ac_vpsub 10146 _ACEOF 10147 10148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10149 # If the template does not know about datarootdir, expand it. 10150 # FIXME: This hack should be removed a few years after 2.60. 10151 ac_datarootdir_hack=; ac_datarootdir_seen= 10152 10153 ac_sed_dataroot=' 10154 /datarootdir/ { 10155 p 10156 q 10157 } 10158 /@datadir@/p 10159 /@docdir@/p 10160 /@infodir@/p 10161 /@localedir@/p 10162 /@mandir@/p 10163 ' 10164 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 10165 *datarootdir*) ac_datarootdir_seen=yes;; 10166 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 10167 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10168 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10169 _ACEOF 10170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10171 ac_datarootdir_hack=' 10172 s&@datadir@&$datadir&g 10173 s&@docdir@&$docdir&g 10174 s&@infodir@&$infodir&g 10175 s&@localedir@&$localedir&g 10176 s&@mandir@&$mandir&g 10177 s&\\\${datarootdir}&$datarootdir&g' ;; 10178 esac 10179 _ACEOF 10180 10181 # Neutralize VPATH when `$srcdir' = `.'. 10182 # Shell code in configure.ac might set extrasub. 10183 # FIXME: do we really want to maintain this feature? 10184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10185 ac_sed_extra="$ac_vpsub 8776 10186 $extrasub 8777 10187 _ACEOF 8778 cat >>$CONFIG_STATUS <<\_ACEOF 10188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8779 10189 :t 8780 10190 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8781 s,@configure_input@,$configure_input,;t t 8782 s,@srcdir@,$ac_srcdir,;t t 8783 s,@abs_srcdir@,$ac_abs_srcdir,;t t 8784 s,@top_srcdir@,$ac_top_srcdir,;t t 8785 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 8786 s,@builddir@,$ac_builddir,;t t 8787 s,@abs_builddir@,$ac_abs_builddir,;t t 8788 s,@top_builddir@,$ac_top_builddir,;t t 8789 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 8790 s,@INSTALL@,$ac_INSTALL,;t t 8791 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 8792 rm -f $tmp/stdin 10191 s|@configure_input@|$ac_sed_conf_input|;t t 10192 s&@top_builddir@&$ac_top_builddir_sub&;t t 10193 s&@top_build_prefix@&$ac_top_build_prefix&;t t 10194 s&@srcdir@&$ac_srcdir&;t t 10195 s&@abs_srcdir@&$ac_abs_srcdir&;t t 10196 s&@top_srcdir@&$ac_top_srcdir&;t t 10197 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 10198 s&@builddir@&$ac_builddir&;t t 10199 s&@abs_builddir@&$ac_abs_builddir&;t t 10200 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 10201 s&@INSTALL@&$ac_INSTALL&;t t 10202 $ac_datarootdir_hack 10203 " 10204 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 10205 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10206 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10207 { (exit 1); exit 1; }; } 10208 10209 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 10210 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 10211 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 10212 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10213 which seems to be undefined. Please make sure it is defined." >&5 10214 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10215 which seems to be undefined. Please make sure it is defined." >&2;} 10216 10217 rm -f "$tmp/stdin" 10218 case $ac_file in 10219 -) cat "$tmp/out" && rm -f "$tmp/out";; 10220 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 10221 esac \ 10222 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10223 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10224 { (exit 1); exit 1; }; } 10225 ;; 10226 :H) 10227 # 10228 # CONFIG_HEADER 10229 # 8793 10230 if test x"$ac_file" != x-; then 8794 mv $tmp/out $ac_file 8795 else 8796 cat $tmp/out 8797 rm -f $tmp/out 8798 fi 8799 8800 done 8801 _ACEOF 8802 cat >>$CONFIG_STATUS <<\_ACEOF 8803 8804 # 8805 # CONFIG_HEADER section. 8806 # 8807 8808 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 8809 # NAME is the cpp macro being defined and VALUE is the value it is being given. 8810 # 8811 # ac_d sets the value in "#define NAME VALUE" lines. 8812 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 8813 ac_dB='[ ].*$,\1#\2' 8814 ac_dC=' ' 8815 ac_dD=',;t' 8816 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 8817 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 8818 ac_uB='$,\1#\2define\3' 8819 ac_uC=' ' 8820 ac_uD=',;t' 8821 8822 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 8823 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8824 case $ac_file in 8825 - | *:- | *:-:* ) # input from stdin 8826 cat >$tmp/stdin 8827 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8828 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8829 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8830 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8831 * ) ac_file_in=$ac_file.in ;; 8832 esac 8833 8834 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 8835 echo "$as_me: creating $ac_file" >&6;} 8836 8837 # First look for the input files in the build tree, otherwise in the 8838 # src tree. 8839 ac_file_inputs=`IFS=: 8840 for f in $ac_file_in; do 8841 case $f in 8842 -) echo $tmp/stdin ;; 8843 [\\/$]*) 8844 # Absolute (can't be DOS-style, as IFS=:) 8845 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8846 echo "$as_me: error: cannot find input file: $f" >&2;} 10231 { 10232 $as_echo "/* $configure_input */" \ 10233 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 10234 } >"$tmp/config.h" \ 10235 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10236 $as_echo "$as_me: error: could not create $ac_file" >&2;} 8847 10237 { (exit 1); exit 1; }; } 8848 # Do quote $f, to prevent DOS paths from being IFS'd. 8849 echo "$f";; 8850 *) # Relative 8851 if test -f "$f"; then 8852 # Build tree 8853 echo "$f" 8854 elif test -f "$srcdir/$f"; then 8855 # Source tree 8856 echo "$srcdir/$f" 8857 else 8858 # /dev/null tree 8859 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8860 echo "$as_me: error: cannot find input file: $f" >&2;} 10238 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 10239 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 10240 $as_echo "$as_me: $ac_file is unchanged" >&6;} 10241 else 10242 rm -f "$ac_file" 10243 mv "$tmp/config.h" "$ac_file" \ 10244 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10245 $as_echo "$as_me: error: could not create $ac_file" >&2;} 8861 10246 { (exit 1); exit 1; }; } 8862 fi;;8863 esac8864 done` || { (exit 1); exit 1; }8865 # Remove the trailing spaces.8866 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in8867 8868 _ACEOF8869 8870 # Transform confdefs.h into two sed scripts, `conftest.defines' and8871 # `conftest.undefs', that substitutes the proper values into8872 # config.h.in to produce config.h. The first handles `#define'8873 # templates, and the second `#undef' templates.8874 # And first: Protect against being on the right side of a sed subst in8875 # config.status. Protect against being in an unquoted here document8876 # in config.status.8877 rm -f conftest.defines conftest.undefs8878 # Using a here document instead of a string reduces the quoting nightmare.8879 # Putting comments in sed scripts is not portable.8880 #8881 # `end' is used to avoid that the second main sed command (meant for8882 # 0-ary CPP macros) applies to n-ary macro definitions.8883 # See the Autoconf documentation for `clear'.8884 cat >confdef2sed.sed <<\_ACEOF8885 s/[\\&,]/\\&/g8886 s,[\\$`],\\&,g8887 t clear8888 : clear8889 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp8890 t end8891 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp8892 : end8893 _ACEOF8894 # If some macros were called several times there might be several times8895 # the same #defines, which is useless. Nevertheless, we may not want to8896 # sort them, since we want the *last* AC-DEFINE to be honored.8897 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines8898 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs8899 rm -f confdef2sed.sed8900 8901 # This sed command replaces #undef with comments. This is necessary, for8902 # example, in the case of _POSIX_SOURCE, which is predefined and required8903 # on some systems where configure will not decide to define it.8904 cat >>conftest.undefs <<\_ACEOF8905 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,8906 _ACEOF8907 8908 # Break up conftest.defines because some shells have a limit on the size8909 # of here documents, and old seds have small limits too (100 cmds).8910 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS8911 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS8912 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS8913 echo ' :' >>$CONFIG_STATUS8914 rm -f conftest.tail8915 while grep . conftest.defines >/dev/null8916 do8917 # Write a limited-size here document to $tmp/defines.sed.8918 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS8919 # Speed up: don't consider the non `#define' lines.8920 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS8921 # Work around the forget-to-reset-the-flag bug.8922 echo 't clr' >>$CONFIG_STATUS8923 echo ': clr' >>$CONFIG_STATUS8924 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS8925 echo 'CEOF8926 sed -f $tmp/defines.sed $tmp/in >$tmp/out8927 rm -f $tmp/in8928 mv $tmp/out $tmp/in8929 ' >>$CONFIG_STATUS8930 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail8931 rm -f conftest.defines8932 mv conftest.tail conftest.defines8933 done8934 rm -f conftest.defines8935 echo ' fi # grep' >>$CONFIG_STATUS8936 echo >>$CONFIG_STATUS8937 8938 # Break up conftest.undefs because some shells have a limit on the size8939 # of here documents, and old seds have small limits too (100 cmds).8940 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS8941 rm -f conftest.tail8942 while grep . conftest.undefs >/dev/null8943 do8944 # Write a limited-size here document to $tmp/undefs.sed.8945 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS8946 # Speed up: don't consider the non `#undef'8947 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS8948 # Work around the forget-to-reset-the-flag bug.8949 echo 't clr' >>$CONFIG_STATUS8950 echo ': clr' >>$CONFIG_STATUS8951 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS8952 echo 'CEOF8953 sed -f $tmp/undefs.sed $tmp/in >$tmp/out8954 rm -f $tmp/in8955 mv $tmp/out $tmp/in8956 ' >>$CONFIG_STATUS8957 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail8958 rm -f conftest.undefs8959 mv conftest.tail conftest.undefs8960 done8961 rm -f conftest.undefs8962 8963 cat >>$CONFIG_STATUS <<\_ACEOF8964 # Let's still pretend it is `configure' which instantiates (i.e., don't8965 # use $as_me), people would be surprised to read:8966 # /* config.h. Generated by config.status. */8967 if test x"$ac_file" = x-; then8968 echo "/* Generated by configure. */" >$tmp/config.h8969 else8970 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h8971 fi8972 cat $tmp/in >>$tmp/config.h8973 rm -f $tmp/in8974 if test x"$ac_file" != x-; then8975 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then8976 { echo "$as_me:$LINENO: $ac_file is unchanged" >&58977 echo "$as_me: $ac_file is unchanged" >&6;}8978 else8979 ac_dir=`(dirname "$ac_file") 2>/dev/null ||8980 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \8981 X"$ac_file" : 'X\(//\)[^/]' \| \8982 X"$ac_file" : 'X\(//\)$' \| \8983 X"$ac_file" : 'X\(/\)' \| \8984 . : '\(.\)' 2>/dev/null ||8985 echo X"$ac_file" |8986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }8987 /^X\(\/\/\)[^/].*/{ s//\1/; q; }8988 /^X\(\/\/\)$/{ s//\1/; q; }8989 /^X\(\/\).*/{ s//\1/; q; }8990 s/.*/./; q'`8991 { if $as_mkdir_p; then8992 mkdir -p "$ac_dir"8993 else8994 as_dir="$ac_dir"8995 as_dirs=8996 while test ! -d "$as_dir"; do8997 as_dirs="$as_dir $as_dirs"8998 as_dir=`(dirname "$as_dir") 2>/dev/null ||8999 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \9000 X"$as_dir" : 'X\(//\)[^/]' \| \9001 X"$as_dir" : 'X\(//\)$' \| \9002 X"$as_dir" : 'X\(/\)' \| \9003 . : '\(.\)' 2>/dev/null ||9004 echo X"$as_dir" |9005 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }9006 /^X\(\/\/\)[^/].*/{ s//\1/; q; }9007 /^X\(\/\/\)$/{ s//\1/; q; }9008 /^X\(\/\).*/{ s//\1/; q; }9009 s/.*/./; q'`9010 done9011 test ! -n "$as_dirs" || mkdir $as_dirs9012 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&59013 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}9014 { (exit 1); exit 1; }; }; }9015 9016 rm -f $ac_file9017 mv $tmp/config.h $ac_file9018 10247 fi 9019 10248 else 9020 cat $tmp/config.h 9021 rm -f $tmp/config.h 10249 $as_echo "/* $configure_input */" \ 10250 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 10251 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 10252 $as_echo "$as_me: error: could not create -" >&2;} 10253 { (exit 1); exit 1; }; } 9022 10254 fi 9023 done 9024 _ACEOF 9025 9026 cat >>$CONFIG_STATUS <<\_ACEOF 10255 ;; 10256 10257 10258 esac 10259 10260 done # for ac_tag 10261 9027 10262 9028 10263 { (exit 0); exit 0; } … … 9030 10265 chmod +x $CONFIG_STATUS 9031 10266 ac_clean_files=$ac_clean_files_save 10267 10268 test $ac_write_fail = 0 || 10269 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 10270 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 10271 { (exit 1); exit 1; }; } 9032 10272 9033 10273 … … 9058 10298 if test "$no_recursion" != yes; then 9059 10299 9060 # Remove --cache-file and --srcdir arguments so they do not pile up. 10300 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 10301 # so they do not pile up. 9061 10302 ac_sub_configure_args= 9062 10303 ac_prev= 9063 for ac_arg in $ac_configure_args; do 10304 eval "set x $ac_configure_args" 10305 shift 10306 for ac_arg 10307 do 9064 10308 if test -n "$ac_prev"; then 9065 10309 ac_prev= … … 9084 10328 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 9085 10329 ;; 9086 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; 10330 --disable-option-checking) 10331 ;; 10332 *) 10333 case $ac_arg in 10334 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 10335 esac 10336 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; 9087 10337 esac 9088 10338 done … … 9090 10340 # Always prepend --prefix to ensure using the same prefix 9091 10341 # in subdir configurations. 9092 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" 10342 ac_arg="--prefix=$prefix" 10343 case $ac_arg in 10344 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 10345 esac 10346 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 10347 10348 # Pass --silent 10349 if test "$silent" = yes; then 10350 ac_sub_configure_args="--silent $ac_sub_configure_args" 10351 fi 10352 10353 # Always prepend --disable-option-checking to silence warnings, since 10354 # different subdirs can have different --enable and --with options. 10355 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 9093 10356 9094 10357 ac_popdir=`pwd` … … 9097 10360 # Do not complain, so a configure script can configure whichever 9098 10361 # parts of a large source tree are present. 9099 test -d $srcdir/$ac_dir || continue 9100 9101 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 9102 echo "$as_me: configuring in $ac_dir" >&6;} 9103 { if $as_mkdir_p; then 9104 mkdir -p "$ac_dir" 9105 else 9106 as_dir="$ac_dir" 10362 test -d "$srcdir/$ac_dir" || continue 10363 10364 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 10365 $as_echo "$as_me:$LINENO: $ac_msg" >&5 10366 $as_echo "$ac_msg" >&6 10367 { as_dir="$ac_dir" 10368 case $as_dir in #( 10369 -*) as_dir=./$as_dir;; 10370 esac 10371 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 9107 10372 as_dirs= 9108 while test ! -d "$as_dir"; do 9109 as_dirs="$as_dir $as_dirs" 9110 as_dir=`(dirname "$as_dir") 2>/dev/null || 10373 while :; do 10374 case $as_dir in #( 10375 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10376 *) as_qdir=$as_dir;; 10377 esac 10378 as_dirs="'$as_qdir' $as_dirs" 10379 as_dir=`$as_dirname -- "$as_dir" || 9111 10380 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9112 10381 X"$as_dir" : 'X\(//\)[^/]' \| \ 9113 10382 X"$as_dir" : 'X\(//\)$' \| \ 9114 X"$as_dir" : 'X\(/\)' \| \ 9115 . : '\(.\)' 2>/dev/null || 9116 echo X"$as_dir" | 9117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9118 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9119 /^X\(\/\/\)$/{ s//\1/; q; } 9120 /^X\(\/\).*/{ s//\1/; q; } 9121 s/.*/./; q'` 10383 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10384 $as_echo X"$as_dir" | 10385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10386 s//\1/ 10387 q 10388 } 10389 /^X\(\/\/\)[^/].*/{ 10390 s//\1/ 10391 q 10392 } 10393 /^X\(\/\/\)$/{ 10394 s//\1/ 10395 q 10396 } 10397 /^X\(\/\).*/{ 10398 s//\1/ 10399 q 10400 } 10401 s/.*/./; q'` 10402 test -d "$as_dir" && break 9122 10403 done 9123 test ! -n "$as_dirs" || mkdir $as_dirs9124 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&59125 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}10404 test -z "$as_dirs" || eval "mkdir $as_dirs" 10405 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10406 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 9126 10407 { (exit 1); exit 1; }; }; } 9127 9128 10408 ac_builddir=. 9129 10409 9130 if test "$ac_dir" != .; then 9131 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 9132 # A "../" for each directory in $ac_dir_suffix. 9133 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 9134 else 9135 ac_dir_suffix= ac_top_builddir= 9136 fi 10410 case "$ac_dir" in 10411 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10412 *) 10413 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 10414 # A ".." for each directory in $ac_dir_suffix. 10415 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 10416 case $ac_top_builddir_sub in 10417 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 10418 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 10419 esac ;; 10420 esac 10421 ac_abs_top_builddir=$ac_pwd 10422 ac_abs_builddir=$ac_pwd$ac_dir_suffix 10423 # for backward compatibility: 10424 ac_top_builddir=$ac_top_build_prefix 9137 10425 9138 10426 case $srcdir in 9139 .) # No --srcdir option.We are building in place.10427 .) # We are building in place. 9140 10428 ac_srcdir=. 9141 if test -z "$ac_top_builddir"; then 9142 ac_top_srcdir=. 10429 ac_top_srcdir=$ac_top_builddir_sub 10430 ac_abs_top_srcdir=$ac_pwd ;; 10431 [\\/]* | ?:[\\/]* ) # Absolute name. 10432 ac_srcdir=$srcdir$ac_dir_suffix; 10433 ac_top_srcdir=$srcdir 10434 ac_abs_top_srcdir=$srcdir ;; 10435 *) # Relative name. 10436 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 10437 ac_top_srcdir=$ac_top_build_prefix$srcdir 10438 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 10439 esac 10440 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 10441 10442 10443 cd "$ac_dir" 10444 10445 # Check for guested configure; otherwise get Cygnus style configure. 10446 if test -f "$ac_srcdir/configure.gnu"; then 10447 ac_sub_configure=$ac_srcdir/configure.gnu 10448 elif test -f "$ac_srcdir/configure"; then 10449 ac_sub_configure=$ac_srcdir/configure 10450 elif test -f "$ac_srcdir/configure.in"; then 10451 # This should be Cygnus configure. 10452 ac_sub_configure=$ac_aux_dir/configure 9143 10453 else 9144 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 9145 fi ;; 9146 [\\/]* | ?:[\\/]* ) # Absolute path. 9147 ac_srcdir=$srcdir$ac_dir_suffix; 9148 ac_top_srcdir=$srcdir ;; 9149 *) # Relative path. 9150 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 9151 ac_top_srcdir=$ac_top_builddir$srcdir ;; 9152 esac 9153 9154 # Do not use `cd foo && pwd` to compute absolute paths, because 9155 # the directories may not exist. 9156 case `pwd` in 9157 .) ac_abs_builddir="$ac_dir";; 9158 *) 9159 case "$ac_dir" in 9160 .) ac_abs_builddir=`pwd`;; 9161 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 9162 *) ac_abs_builddir=`pwd`/"$ac_dir";; 9163 esac;; 9164 esac 9165 case $ac_abs_builddir in 9166 .) ac_abs_top_builddir=${ac_top_builddir}.;; 9167 *) 9168 case ${ac_top_builddir}. in 9169 .) ac_abs_top_builddir=$ac_abs_builddir;; 9170 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 9171 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 9172 esac;; 9173 esac 9174 case $ac_abs_builddir in 9175 .) ac_abs_srcdir=$ac_srcdir;; 9176 *) 9177 case $ac_srcdir in 9178 .) ac_abs_srcdir=$ac_abs_builddir;; 9179 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 9180 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 9181 esac;; 9182 esac 9183 case $ac_abs_builddir in 9184 .) ac_abs_top_srcdir=$ac_top_srcdir;; 9185 *) 9186 case $ac_top_srcdir in 9187 .) ac_abs_top_srcdir=$ac_abs_builddir;; 9188 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 9189 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 9190 esac;; 9191 esac 9192 9193 9194 cd $ac_dir 9195 9196 # Check for guested configure; otherwise get Cygnus style configure. 9197 if test -f $ac_srcdir/configure.gnu; then 9198 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" 9199 elif test -f $ac_srcdir/configure; then 9200 ac_sub_configure="$SHELL '$ac_srcdir/configure'" 9201 elif test -f $ac_srcdir/configure.in; then 9202 ac_sub_configure=$ac_configure 9203 else 9204 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 9205 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 10454 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 10455 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 9206 10456 ac_sub_configure= 9207 10457 fi … … 9212 10462 case $cache_file in 9213 10463 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 9214 *) # Relative path.9215 ac_sub_cache_file=$ac_top_build dir$cache_file ;;10464 *) # Relative name. 10465 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; 9216 10466 esac 9217 10467 9218 { echo "$as_me:$LINENO: running$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&59219 echo "$as_me: running$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}10468 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 10469 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 9220 10470 # The eval makes quoting arguments work. 9221 eval $ac_sub_configure$ac_sub_configure_args \9222 --cache-file= $ac_sub_cache_file --srcdir=$ac_srcdir||9223 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&59224 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}10471 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 10472 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 10473 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 10474 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 9225 10475 { (exit 1); exit 1; }; } 9226 10476 fi 9227 10477 9228 cd $ac_popdir10478 cd "$ac_popdir" 9229 10479 done 9230 10480 fi 9231 9232 9233 10481 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 10482 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 10483 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 10484 fi 10485 10486 10487 -
main/trunk/greenstone2/build-src/configure.in
r23800 r25149 184 184 if test "$arch_64bit" = yes; then 185 185 AC_MSG_RESULT(yes) 186 if test -z "$ COMPAT32BITFLAGS" ; then187 COMPAT32BITFLAGS="-m32"186 if test -z "$ARCH_DEP_FLAGS" ; then 187 ARCH_DEP_FLAGS="-fPIC" 188 188 fi 189 189 else 190 190 AC_MSG_RESULT(no) 191 if test -z "$ COMPAT32BITFLAGS" ; then192 COMPAT32BITFLAGS=191 if test -z "$ARCH_DEP_FLAGS" ; then 192 ARCH_DEP_FLAGS= 193 193 fi 194 194 fi 195 195 196 # Only need compat32bitflag if using MG or MGPP 197 if test "$ENABLE_MG" = "0" -a "$ENABLE_MGPP" = "0" ; then 198 COMPAT32BITFLAGS= 199 fi 200 201 export COMPAT32BITFLAGS 202 AC_SUBST(COMPAT32BITFLAGS) 196 export ARCH_DEP_FLAGS 197 AC_SUBST(ARCH_DEP_FLAGS) 203 198 204 199 -
main/trunk/greenstone2/build-src/packages/configure
r24815 r25149 182 182 gzip -dc wget.tar.gz | tar -xf - 183 183 cd "$PACKAGES/wget/wget-1.13.4" && \ 184 ./configure $CACHE_FILE --prefix=$PACKAGES/wget --with-ssl=openssl --bindir="$bindir" -disable-nls $HOSTTARGETFLAGS185 184 #./configure $CACHE_FILE --prefix=$PACKAGES/wget --with-ssl=openssl --bindir="$bindir" -disable-nls $HOSTTARGETFLAGS 185 ./configure $CACHE_FILE --prefix=$PACKAGES/wget --without-ssl --bindir="$bindir" -disable-nls $HOSTTARGETFLAGS 186 186 187 187 # configure XML::Parser perl module … … 197 197 198 198 #Use 64-bit expat library on 64-bit machines, otherwise use 32-bit 199 if test ! -z "$ COMPAT32BITFLAGS" ; then199 if test ! -z "$ARCH_DEP_FLAGS" ; then 200 200 perl Makefile.PL \ 201 201 PREFIX="$GSDLHOME/perllib/cpan/XML" \ -
main/trunk/greenstone2/build-src/src/hashfile/Makefile.in
r16604 r25149 29 29 30 30 CXX = @CXX@ 31 CXXFLAGS = @CXXFLAGS@ @ COMPAT32BITFLAGS@31 CXXFLAGS = @CXXFLAGS@ @ARCH_DEP_FLAGS@ 32 32 DEFS = @DEFS@ 33 33 GSDLOS = @gsdlos@ 34 34 INCLUDES = 35 35 INSTALL = @INSTALL@ 36 LDFLAGS = @LDFLAGS@ @ COMPAT32BITFLAGS@36 LDFLAGS = @LDFLAGS@ @ARCH_DEP_FLAGS@ 37 37 LIBS = @LIBS@ 38 38 -
main/trunk/greenstone2/build-src/src/phind/generate/Makefile.in
r16604 r25149 30 30 31 31 CXX = @CXX@ 32 CXXFLAGS = @CXXFLAGS@ @ COMPAT32BITFLAGS@32 CXXFLAGS = @CXXFLAGS@ @ARCH_DEP_FLAGS@ 33 33 DEFS = @DEFS@ 34 34 GSDLOS = @gsdlos@ 35 35 INCLUDES = 36 36 INSTALL = @INSTALL@ 37 LDFLAGS = @LDFLAGS@ @ COMPAT32BITFLAGS@37 LDFLAGS = @LDFLAGS@ @ARCH_DEP_FLAGS@ 38 38 LIBS = @LIBS@ 39 39 -
main/trunk/greenstone2/common-src/configure
r24901 r25149 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59.3 # Generated by GNU Autoconf 2.63. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 6 7 # This configure script is free software; the Free Software Foundation 7 8 # gives unlimited permission to copy, distribute and modify it. … … 10 11 ## --------------------- ## 11 12 12 # Be Bourne compatible 13 # Be more Bourne compatible 14 DUALCASE=1; export DUALCASE # for MKS sh 13 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 16 emulate sh 15 17 NULLCMD=: 16 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17 19 # is contrary to our usage. Disable this feature. 18 20 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 21 setopt NO_GLOB_SUBST 22 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 79 33 # Avoid depending upon Character Ranges. 80 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 84 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 39 40 as_nl=' 41 ' 42 export as_nl 43 # Printing a long string crashes Solaris 7 /usr/bin/printf. 44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50 else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70 fi 71 86 72 # The user is always right. 87 73 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79 fi 80 81 # Support unset when possible. 82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 83 as_unset=unset 84 else 85 as_unset=false 86 fi 87 88 89 # IFS 90 # We need space, tab and new line, in precisely that order. Quoting is 91 # there to prevent editors from complaining about space-tab. 92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 93 # splitting by setting IFS to empty value.) 94 IFS=" "" $as_nl" 95 96 # Find who we are. Look in the path if we contain no directory separator. 97 case $0 in 98 *[\\/]* ) as_myself=$0 ;; 99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 100 for as_dir in $PATH 111 101 do … … 114 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 105 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 106 IFS=$as_save_IFS 107 108 ;; 109 esac 110 # We did not find ourselves, most probably we were run as `sh COMMAND' 111 # in which case we are not to be found in the path. 112 if test "x$as_myself" = x; then 113 as_myself=$0 114 fi 115 if test ! -f "$as_myself"; then 116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 117 { (exit 1); exit 1; } 118 fi 119 120 # Work around bugs in pre-3.0 UWIN ksh. 121 for as_var in ENV MAIL MAILPATH 122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 123 done 124 PS1='$ ' 125 PS2='> ' 126 PS4='+ ' 127 128 # NLS nuisances. 129 LC_ALL=C 130 export LC_ALL 131 LANGUAGE=C 132 export LANGUAGE 133 134 # Required to use basename. 135 if expr a : '\(a\)' >/dev/null 2>&1 && 136 test "X`expr 00001 : '.*\(...\)'`" = X001; then 137 as_expr=expr 138 else 139 as_expr=false 140 fi 141 142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 143 as_basename=basename 144 else 145 as_basename=false 146 fi 147 148 149 # Name of the executable. 150 as_me=`$as_basename -- "$0" || 151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 152 X"$0" : 'X\(//\)$' \| \ 153 X"$0" : 'X\(/\)' \| . 2>/dev/null || 154 $as_echo X/"$0" | 155 sed '/^.*\/\([^/][^/]*\)\/*$/{ 156 s//\1/ 157 q 158 } 159 /^X\/\(\/\/\)$/{ 160 s//\1/ 161 q 162 } 163 /^X\/\(\/\).*/{ 164 s//\1/ 165 q 166 } 167 s/.*/./; q'` 168 169 # CDPATH. 170 $as_unset CDPATH 171 172 173 if test "x$CONFIG_SHELL" = x; then 174 if (eval ":") 2>/dev/null; then 175 as_have_required=yes 176 else 177 as_have_required=no 178 fi 179 180 if test $as_have_required = yes && (eval ": 181 (as_func_return () { 182 (exit \$1) 183 } 184 as_func_success () { 185 as_func_return 0 186 } 187 as_func_failure () { 188 as_func_return 1 189 } 190 as_func_ret_success () { 191 return 0 192 } 193 as_func_ret_failure () { 194 return 1 195 } 196 197 exitcode=0 198 if as_func_success; then 199 : 200 else 201 exitcode=1 202 echo as_func_success failed. 203 fi 204 205 if as_func_failure; then 206 exitcode=1 207 echo as_func_failure succeeded. 208 fi 209 210 if as_func_ret_success; then 211 : 212 else 213 exitcode=1 214 echo as_func_ret_success failed. 215 fi 216 217 if as_func_ret_failure; then 218 exitcode=1 219 echo as_func_ret_failure succeeded. 220 fi 221 222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 223 : 224 else 225 exitcode=1 226 echo positional parameters were not saved. 227 fi 228 229 test \$exitcode = 0) || { (exit 1); exit 1; } 230 231 ( 232 as_lineno_1=\$LINENO 233 as_lineno_2=\$LINENO 234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 236 ") 2> /dev/null; then 237 : 238 else 239 as_candidate_shells= 130 240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 133 243 IFS=$as_save_IFS 134 244 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 245 case $as_dir in 137 246 /*) 138 if ("$as_dir/$as_base" -c ' 247 for as_base in sh bash ksh sh5; do 248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 249 done;; 250 esac 251 done 252 IFS=$as_save_IFS 253 254 255 for as_shell in $as_candidate_shells $SHELL; do 256 # Try only shells that exist, to save several forks. 257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 258 { ("$as_shell") 2> /dev/null <<\_ASEOF 259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 260 emulate sh 261 NULLCMD=: 262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 263 # is contrary to our usage. Disable this feature. 264 alias -g '${1+"$@"}'='"$@"' 265 setopt NO_GLOB_SUBST 266 else 267 case `(set -o) 2>/dev/null` in 268 *posix*) set -o posix ;; 269 esac 270 271 fi 272 273 274 : 275 _ASEOF 276 }; then 277 CONFIG_SHELL=$as_shell 278 as_have_required=yes 279 if { "$as_shell" 2> /dev/null <<\_ASEOF 280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 281 emulate sh 282 NULLCMD=: 283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 284 # is contrary to our usage. Disable this feature. 285 alias -g '${1+"$@"}'='"$@"' 286 setopt NO_GLOB_SUBST 287 else 288 case `(set -o) 2>/dev/null` in 289 *posix*) set -o posix ;; 290 esac 291 292 fi 293 294 295 : 296 (as_func_return () { 297 (exit $1) 298 } 299 as_func_success () { 300 as_func_return 0 301 } 302 as_func_failure () { 303 as_func_return 1 304 } 305 as_func_ret_success () { 306 return 0 307 } 308 as_func_ret_failure () { 309 return 1 310 } 311 312 exitcode=0 313 if as_func_success; then 314 : 315 else 316 exitcode=1 317 echo as_func_success failed. 318 fi 319 320 if as_func_failure; then 321 exitcode=1 322 echo as_func_failure succeeded. 323 fi 324 325 if as_func_ret_success; then 326 : 327 else 328 exitcode=1 329 echo as_func_ret_success failed. 330 fi 331 332 if as_func_ret_failure; then 333 exitcode=1 334 echo as_func_ret_failure succeeded. 335 fi 336 337 if ( set x; as_func_ret_success y && test x = "$1" ); then 338 : 339 else 340 exitcode=1 341 echo positional parameters were not saved. 342 fi 343 344 test $exitcode = 0) || { (exit 1); exit 1; } 345 346 ( 139 347 as_lineno_1=$LINENO 140 348 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`142 349 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 351 352 _ASEOF 353 }; then 354 break 355 fi 356 357 fi 358 359 done 360 361 if test "x$CONFIG_SHELL" != x; then 362 for as_var in BASH_ENV ENV 363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 364 done 365 export CONFIG_SHELL 366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 367 fi 368 369 370 if test $as_have_required = no; then 371 echo This script requires a shell more modern than all the 372 echo shells that I found on your system. Please install a 373 echo modern shell, or manually run the script under such a 374 echo shell if you do have one. 375 { (exit 1); exit 1; } 376 fi 377 378 379 fi 380 381 fi 382 383 384 385 (eval "as_func_return () { 386 (exit \$1) 387 } 388 as_func_success () { 389 as_func_return 0 390 } 391 as_func_failure () { 392 as_func_return 1 393 } 394 as_func_ret_success () { 395 return 0 396 } 397 as_func_ret_failure () { 398 return 1 399 } 400 401 exitcode=0 402 if as_func_success; then 403 : 404 else 405 exitcode=1 406 echo as_func_success failed. 407 fi 408 409 if as_func_failure; then 410 exitcode=1 411 echo as_func_failure succeeded. 412 fi 413 414 if as_func_ret_success; then 415 : 416 else 417 exitcode=1 418 echo as_func_ret_success failed. 419 fi 420 421 if as_func_ret_failure; then 422 exitcode=1 423 echo as_func_ret_failure succeeded. 424 fi 425 426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 427 : 428 else 429 exitcode=1 430 echo positional parameters were not saved. 431 fi 432 433 test \$exitcode = 0") || { 434 echo No shell found that supports shell functions. 435 echo Please tell [email protected] about your system, 436 echo including any error possibly output before this message. 437 echo This can help us improve future autoconf versions. 438 echo Configuration will now proceed without shell functions. 439 } 440 441 442 443 as_lineno_1=$LINENO 444 as_lineno_2=$LINENO 445 test "x$as_lineno_1" != "x$as_lineno_2" && 446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 155 447 156 448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 449 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 450 # line-number line after each line using $LINENO; the second 'sed' 451 # does the real work. The second script uses 'N' to pair each 452 # line-number line with the line containing $LINENO, and appends 453 # trailing '-' during substitution so that $LINENO is not a special 454 # case at line end. 162 455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 456 # scripts with optimization help from Paolo Bonzini. Blame Lee 457 # E. McMahon (1931-1989) for sed's syntax. :-) 458 sed -n ' 459 p 460 /[$]LINENO/= 461 ' <$as_myself | 165 462 sed ' 463 s/[$]LINENO.*/&-/ 464 t lineno 465 b 466 :lineno 166 467 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 468 :loop 469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 170 470 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 471 s/-\n.*// 173 472 ' >$as_me.lineno && 174 chmod +x $as_me.lineno||175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2473 chmod +x "$as_me.lineno" || 474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 475 { (exit 1); exit 1; }; } 177 476 178 477 # Don't try to exec as it changes $[0], causing all sort of problems 179 478 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensi ble to this).181 . ./$as_me.lineno479 # original and so on. Autoconf is especially sensitive to this). 480 . "./$as_me.lineno" 182 481 # Exit status is that of the last command. 183 482 exit … … 185 484 186 485 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192 esac 193 194 if expr a : '\(a\)' >/dev/null 2>&1; then 486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 487 as_dirname=dirname 488 else 489 as_dirname=false 490 fi 491 492 ECHO_C= ECHO_N= ECHO_T= 493 case `echo -n x` in 494 -n*) 495 case `echo 'x\c'` in 496 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 497 *) ECHO_C='\c';; 498 esac;; 499 *) 500 ECHO_N='-n';; 501 esac 502 if expr a : '\(a\)' >/dev/null 2>&1 && 503 test "X`expr 00001 : '.*\(...\)'`" = X001; then 195 504 as_expr=expr 196 505 else … … 199 508 200 509 rm -f conf$$ conf$$.exe conf$$.file 201 echo >conf$$.file 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 510 if test -d conf$$.dir; then 511 rm -f conf$$.dir/conf$$.file 512 else 513 rm -f conf$$.dir 514 mkdir conf$$.dir 2>/dev/null 515 fi 516 if (echo >conf$$.file) 2>/dev/null; then 517 if ln -s conf$$.file conf$$ 2>/dev/null; then 518 as_ln_s='ln -s' 519 # ... but there are two gotchas: 520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 522 # In both cases, we have to default to `cp -p'. 523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 524 as_ln_s='cp -p' 525 elif ln conf$$.file conf$$ 2>/dev/null; then 526 as_ln_s=ln 527 else 207 528 as_ln_s='cp -p' 208 else209 as_ln_s='ln -s'210 529 fi 211 elif ln conf$$.file conf$$ 2>/dev/null; then212 as_ln_s=ln213 530 else 214 531 as_ln_s='cp -p' 215 532 fi 216 rm -f conf$$ conf$$.exe conf$$.file 533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 534 rmdir conf$$.dir 2>/dev/null 217 535 218 536 if mkdir -p . 2>/dev/null; then … … 223 541 fi 224 542 225 as_executable_p="test -f" 543 if test -x / >/dev/null 2>&1; then 544 as_test_x='test -x' 545 else 546 if ls -dL / >/dev/null 2>&1; then 547 as_ls_L_option=L 548 else 549 as_ls_L_option= 550 fi 551 as_test_x=' 552 eval sh -c '\'' 553 if test -d "$1"; then 554 test -d "$1/."; 555 else 556 case $1 in 557 -*)set "./$1";; 558 esac; 559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 560 ???[sx]*):;;*)false;;esac;fi 561 '\'' sh 562 ' 563 fi 564 as_executable_p=$as_test_x 226 565 227 566 # Sed expression to map a string onto a valid CPP name. … … 232 571 233 572 234 # IFS 235 # We need space, tab and new line, in precisely that order. 236 as_nl=' 237 ' 238 IFS=" $as_nl" 239 240 # CDPATH. 241 $as_unset CDPATH 242 573 574 exec 7<&0 </dev/null 6>&1 243 575 244 576 # Name of the host. … … 247 579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 580 249 exec 6>&1250 251 581 # 252 582 # Initializations. 253 583 # 254 584 ac_default_prefix=/usr/local 585 ac_clean_files= 255 586 ac_config_libobj_dir=. 587 LIBOBJS= 256 588 cross_compiling=no 257 589 subdirs= … … 259 591 MAKEFLAGS= 260 592 SHELL=${CONFIG_SHELL-/bin/sh} 261 262 # Maximum number of lines to put in a shell here document.263 # This variable seems obsolete. It should probably be removed, and264 # only ac_max_sed_lines should be used.265 : ${ac_max_here_lines=38}266 593 267 594 # Identity of this package. … … 276 603 ac_includes_default="\ 277 604 #include <stdio.h> 278 #if HAVE_SYS_TYPES_H605 #ifdef HAVE_SYS_TYPES_H 279 606 # include <sys/types.h> 280 607 #endif 281 #if HAVE_SYS_STAT_H608 #ifdef HAVE_SYS_STAT_H 282 609 # include <sys/stat.h> 283 610 #endif 284 #if STDC_HEADERS611 #ifdef STDC_HEADERS 285 612 # include <stdlib.h> 286 613 # include <stddef.h> 287 614 #else 288 # if HAVE_STDLIB_H615 # ifdef HAVE_STDLIB_H 289 616 # include <stdlib.h> 290 617 # endif 291 618 #endif 292 #if HAVE_STRING_H293 # if ! STDC_HEADERS &&HAVE_MEMORY_H619 #ifdef HAVE_STRING_H 620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 294 621 # include <memory.h> 295 622 # endif 296 623 # include <string.h> 297 624 #endif 298 #if HAVE_STRINGS_H625 #ifdef HAVE_STRINGS_H 299 626 # include <strings.h> 300 627 #endif 301 #if HAVE_INTTYPES_H628 #ifdef HAVE_INTTYPES_H 302 629 # include <inttypes.h> 303 #else304 # if HAVE_STDINT_H305 # include <stdint.h>306 # endif307 630 #endif 308 #if HAVE_UNISTD_H 631 #ifdef HAVE_STDINT_H 632 # include <stdint.h> 633 #endif 634 #ifdef HAVE_UNISTD_H 309 635 # include <unistd.h> 310 636 #endif" 311 637 312 ac_subdirs_all="$ac_subdirs_all packages" 313 ac_subdirs_all="$ac_subdirs_all indexers" 314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_JAVA USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX JAVA uudecode JAVAC JAVACFLAGS AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos gsdlarch MODULEDIRS subdirs LTLIBOBJS' 638 enable_option_checking=no 639 ac_subst_vars='LTLIBOBJS 640 subdirs 641 MODULEDIRS 642 gsdlarch 643 gsdlos 644 STATIC 645 LIBOBJS 646 ALLOCA 647 ANSI2KNR 648 U 649 EGREP 650 GREP 651 CPP 652 MICO_VER 653 ARCH_DEP_FLAGS 654 RANLIB 655 SET_MAKE 656 LN_S 657 INSTALL_DATA 658 INSTALL_SCRIPT 659 INSTALL_PROGRAM 660 target_os 661 target_vendor 662 target_cpu 663 target 664 host_os 665 host_vendor 666 host_cpu 667 host 668 build_os 669 build_vendor 670 build_cpu 671 build 672 YFLAGS 673 YACC 674 AWK 675 JAVACFLAGS 676 JAVAC 677 uudecode 678 JAVA 679 ac_ct_CXX 680 CXXFLAGS 681 CXX 682 OBJEXT 683 EXEEXT 684 ac_ct_CC 685 CPPFLAGS 686 CC 687 CFLAGS 688 LDFLAGS 689 ENABLE_LUCENE 690 ENABLE_MGPP 691 ENABLE_MG 692 ENABLE_JNI 693 USE_SQLITE 694 ENABLE_ACCENTFOLD 695 USE_GDBM 696 USE_JDBM 697 ENABLE_JAVA 698 USE_YAZ 699 USE_Z3950 700 MICO_DIR 701 USE_CORBA 702 USE_LANGACTION 703 USE_FASTCGI 704 VERSION 705 PACKAGE 706 target_alias 707 host_alias 708 build_alias 709 LIBS 710 ECHO_T 711 ECHO_N 712 ECHO_C 713 DEFS 714 mandir 715 localedir 716 libdir 717 psdir 718 pdfdir 719 dvidir 720 htmldir 721 infodir 722 docdir 723 oldincludedir 724 includedir 725 localstatedir 726 sharedstatedir 727 sysconfdir 728 datadir 729 datarootdir 730 libexecdir 731 sbindir 732 bindir 733 program_transform_name 734 prefix 735 exec_prefix 736 PACKAGE_BUGREPORT 737 PACKAGE_STRING 738 PACKAGE_VERSION 739 PACKAGE_TARNAME 740 PACKAGE_NAME 741 PATH_SEPARATOR 742 SHELL' 315 743 ac_subst_files='' 744 ac_user_opts=' 745 enable_option_checking 746 enable_corba 747 with_micodir 748 enable_z3950 749 enable_yaz 750 enable_java 751 enable_jdbm 752 enable_gdbm 753 enable_accentfold 754 enable_sqlite 755 enable_jni 756 enable_mg 757 enable_mgpp 758 enable_lucene 759 with_dmalloc 760 with_regex 761 ' 762 ac_precious_vars='build_alias 763 host_alias 764 target_alias 765 CC 766 CFLAGS 767 LDFLAGS 768 LIBS 769 CPPFLAGS 770 CXX 771 CXXFLAGS 772 CCC 773 YACC 774 YFLAGS 775 CPP' 776 ac_subdirs_all='packages 777 indexers' 316 778 317 779 # Initialize some variables set by options. 318 780 ac_init_help= 319 781 ac_init_version=false 782 ac_unrecognized_opts= 783 ac_unrecognized_sep= 320 784 # The variables have the same names as the options, with 321 785 # dashes changed to underlines. … … 340 804 # by default will actually change. 341 805 # Use braces instead of parens because sh, perl, etc. also accept them. 806 # (The list follows the same order as the GNU Coding Standards.) 342 807 bindir='${exec_prefix}/bin' 343 808 sbindir='${exec_prefix}/sbin' 344 809 libexecdir='${exec_prefix}/libexec' 345 datadir='${prefix}/share' 810 datarootdir='${prefix}/share' 811 datadir='${datarootdir}' 346 812 sysconfdir='${prefix}/etc' 347 813 sharedstatedir='${prefix}/com' 348 814 localstatedir='${prefix}/var' 349 libdir='${exec_prefix}/lib'350 815 includedir='${prefix}/include' 351 816 oldincludedir='/usr/include' 352 infodir='${prefix}/info' 353 mandir='${prefix}/man' 817 docdir='${datarootdir}/doc/${PACKAGE}' 818 infodir='${datarootdir}/info' 819 htmldir='${docdir}' 820 dvidir='${docdir}' 821 pdfdir='${docdir}' 822 psdir='${docdir}' 823 libdir='${exec_prefix}/lib' 824 localedir='${datarootdir}/locale' 825 mandir='${datarootdir}/man' 354 826 355 827 ac_prev= 828 ac_dashdash= 356 829 for ac_option 357 830 do 358 831 # If the previous option needs an argument, assign it. 359 832 if test -n "$ac_prev"; then 360 eval "$ac_prev=\$ac_option"833 eval $ac_prev=\$ac_option 361 834 ac_prev= 362 835 continue 363 836 fi 364 837 365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 838 case $ac_option in 839 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 840 *) ac_optarg=yes ;; 841 esac 366 842 367 843 # Accept the important Cygnus configure options, so we can diagnose typos. 368 844 369 case $ac_option in 845 case $ac_dashdash$ac_option in 846 --) 847 ac_dashdash=yes ;; 370 848 371 849 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 389 867 cache_file=config.cache ;; 390 868 391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)869 -datadir | --datadir | --datadi | --datad) 392 870 ac_prev=datadir ;; 393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 394 | --da=*) 871 -datadir=* | --datadir=* | --datadi=* | --datad=*) 395 872 datadir=$ac_optarg ;; 396 873 874 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 875 | --dataroo | --dataro | --datar) 876 ac_prev=datarootdir ;; 877 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 878 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 879 datarootdir=$ac_optarg ;; 880 397 881 -disable-* | --disable-*) 398 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`882 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 399 883 # Reject names that are not valid shell variable names. 400 expr "x$ac_ feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2884 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 885 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 402 886 { (exit 1); exit 1; }; } 403 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 404 eval "enable_$ac_feature=no" ;; 887 ac_useropt_orig=$ac_useropt 888 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 889 case $ac_user_opts in 890 *" 891 "enable_$ac_useropt" 892 "*) ;; 893 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 894 ac_unrecognized_sep=', ';; 895 esac 896 eval enable_$ac_useropt=no ;; 897 898 -docdir | --docdir | --docdi | --doc | --do) 899 ac_prev=docdir ;; 900 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 901 docdir=$ac_optarg ;; 902 903 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 904 ac_prev=dvidir ;; 905 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 906 dvidir=$ac_optarg ;; 405 907 406 908 -enable-* | --enable-*) 407 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`909 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 408 910 # Reject names that are not valid shell variable names. 409 expr "x$ac_ feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 912 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 411 913 { (exit 1); exit 1; }; } 412 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 413 case $ac_option in 414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 415 *) ac_optarg=yes ;; 914 ac_useropt_orig=$ac_useropt 915 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 916 case $ac_user_opts in 917 *" 918 "enable_$ac_useropt" 919 "*) ;; 920 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 921 ac_unrecognized_sep=', ';; 416 922 esac 417 eval "enable_$ac_feature='$ac_optarg'";;923 eval enable_$ac_useropt=\$ac_optarg ;; 418 924 419 925 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 442 948 host_alias=$ac_optarg ;; 443 949 950 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 951 ac_prev=htmldir ;; 952 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 953 | --ht=*) 954 htmldir=$ac_optarg ;; 955 444 956 -includedir | --includedir | --includedi | --included | --include \ 445 957 | --includ | --inclu | --incl | --inc) … … 466 978 libexecdir=$ac_optarg ;; 467 979 980 -localedir | --localedir | --localedi | --localed | --locale) 981 ac_prev=localedir ;; 982 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 983 localedir=$ac_optarg ;; 984 468 985 -localstatedir | --localstatedir | --localstatedi | --localstated \ 469 | --localstate | --localstat | --localsta | --localst \ 470 | --locals | --local | --loca | --loc | --lo) 986 | --localstate | --localstat | --localsta | --localst | --locals) 471 987 ac_prev=localstatedir ;; 472 988 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 989 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 475 990 localstatedir=$ac_optarg ;; 476 991 … … 537 1052 program_transform_name=$ac_optarg ;; 538 1053 1054 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1055 ac_prev=pdfdir ;; 1056 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1057 pdfdir=$ac_optarg ;; 1058 1059 -psdir | --psdir | --psdi | --psd | --ps) 1060 ac_prev=psdir ;; 1061 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1062 psdir=$ac_optarg ;; 1063 539 1064 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 540 1065 | -silent | --silent | --silen | --sile | --sil) … … 587 1112 588 1113 -with-* | --with-*) 589 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1114 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 590 1115 # Reject names that are not valid shell variable names. 591 expr "x$ac_ package" : ".*[^-_$as_cr_alnum]" >/dev/null &&592 { echo "$as_me: error: invalid package name: $ac_package" >&21116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1117 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 593 1118 { (exit 1); exit 1; }; } 594 ac_package=`echo $ac_package| sed 's/-/_/g'` 595 case $ac_option in 596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 597 *) ac_optarg=yes ;; 1119 ac_useropt_orig=$ac_useropt 1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1121 case $ac_user_opts in 1122 *" 1123 "with_$ac_useropt" 1124 "*) ;; 1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1126 ac_unrecognized_sep=', ';; 598 1127 esac 599 eval "with_$ac_package='$ac_optarg'";;1128 eval with_$ac_useropt=\$ac_optarg ;; 600 1129 601 1130 -without-* | --without-*) 602 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1131 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 603 1132 # Reject names that are not valid shell variable names. 604 expr "x$ac_ package" : ".*[^-_$as_cr_alnum]" >/dev/null &&605 { echo "$as_me: error: invalid package name: $ac_package" >&21133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1134 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 606 1135 { (exit 1); exit 1; }; } 607 ac_package=`echo $ac_package | sed 's/-/_/g'` 608 eval "with_$ac_package=no" ;; 1136 ac_useropt_orig=$ac_useropt 1137 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1138 case $ac_user_opts in 1139 *" 1140 "with_$ac_useropt" 1141 "*) ;; 1142 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1143 ac_unrecognized_sep=', ';; 1144 esac 1145 eval with_$ac_useropt=no ;; 609 1146 610 1147 --x) … … 626 1163 x_libraries=$ac_optarg ;; 627 1164 628 -*) { echo "$as_me: error: unrecognized option: $ac_option1165 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 629 1166 Try \`$0 --help' for more information." >&2 630 1167 { (exit 1); exit 1; }; } … … 635 1172 # Reject names that are not valid shell variable names. 636 1173 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&21174 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 638 1175 { (exit 1); exit 1; }; } 639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 640 eval "$ac_envvar='$ac_optarg'" 1176 eval $ac_envvar=\$ac_optarg 641 1177 export $ac_envvar ;; 642 1178 643 1179 *) 644 1180 # FIXME: should be removed in autoconf 3.0. 645 echo "$as_me: WARNING: you should use --build, --host, --target" >&21181 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 646 1182 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 647 echo "$as_me: WARNING: invalid host type: $ac_option" >&21183 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 648 1184 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 649 1185 ;; … … 654 1190 if test -n "$ac_prev"; then 655 1191 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 656 { echo "$as_me: error: missing argument to $ac_option" >&21192 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 657 1193 { (exit 1); exit 1; }; } 658 1194 fi 659 1195 660 # Be sure to have absolute paths. 661 for ac_var in exec_prefix prefix 1196 if test -n "$ac_unrecognized_opts"; then 1197 case $enable_option_checking in 1198 no) ;; 1199 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1200 { (exit 1); exit 1; }; } ;; 1201 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1202 esac 1203 fi 1204 1205 # Check all directory arguments for consistency. 1206 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1207 datadir sysconfdir sharedstatedir localstatedir includedir \ 1208 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1209 libdir localedir mandir 662 1210 do 663 eval ac_val=$`echo $ac_var` 1211 eval ac_val=\$$ac_var 1212 # Remove trailing slashes. 664 1213 case $ac_val in 665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2667 { (exit 1); exit 1; }; };;1214 */ ) 1215 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1216 eval $ac_var=\$ac_val;; 668 1217 esac 669 done 670 671 # Be sure to have absolute paths. 672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 673 localstatedir libdir includedir oldincludedir infodir mandir 674 do 675 eval ac_val=$`echo $ac_var` 1218 # Be sure to have absolute directory names. 676 1219 case $ac_val in 677 [\\/$]* | ?:[\\/]* ) ;; 678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 679 { (exit 1); exit 1; }; };; 1220 [\\/$]* | ?:[\\/]* ) continue;; 1221 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 680 1222 esac 1223 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1224 { (exit 1); exit 1; }; } 681 1225 done 682 1226 … … 692 1236 if test "x$build_alias" = x; then 693 1237 cross_compiling=maybe 694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1238 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 695 1239 If a cross compiler is detected then cross compile mode will be used." >&2 696 1240 elif test "x$build_alias" != "x$host_alias"; then … … 705 1249 706 1250 1251 ac_pwd=`pwd` && test -n "$ac_pwd" && 1252 ac_ls_di=`ls -di .` && 1253 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1254 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1255 { (exit 1); exit 1; }; } 1256 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1257 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1258 { (exit 1); exit 1; }; } 1259 1260 707 1261 # Find the source files, if location was not specified. 708 1262 if test -z "$srcdir"; then 709 1263 ac_srcdir_defaulted=yes 710 # Try the directory containing this script, then its parent. 711 ac_confdir=`(dirname "$0") 2>/dev/null || 712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 713 X"$0" : 'X\(//\)[^/]' \| \ 714 X"$0" : 'X\(//\)$' \| \ 715 X"$0" : 'X\(/\)' \| \ 716 . : '\(.\)' 2>/dev/null || 717 echo X"$0" | 718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 719 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 720 /^X\(\/\/\)$/{ s//\1/; q; } 721 /^X\(\/\).*/{ s//\1/; q; } 722 s/.*/./; q'` 1264 # Try the directory containing this script, then the parent directory. 1265 ac_confdir=`$as_dirname -- "$as_myself" || 1266 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1267 X"$as_myself" : 'X\(//\)[^/]' \| \ 1268 X"$as_myself" : 'X\(//\)$' \| \ 1269 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1270 $as_echo X"$as_myself" | 1271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1272 s//\1/ 1273 q 1274 } 1275 /^X\(\/\/\)[^/].*/{ 1276 s//\1/ 1277 q 1278 } 1279 /^X\(\/\/\)$/{ 1280 s//\1/ 1281 q 1282 } 1283 /^X\(\/\).*/{ 1284 s//\1/ 1285 q 1286 } 1287 s/.*/./; q'` 723 1288 srcdir=$ac_confdir 724 if test ! -r $srcdir/$ac_unique_file; then1289 if test ! -r "$srcdir/$ac_unique_file"; then 725 1290 srcdir=.. 726 1291 fi … … 728 1293 ac_srcdir_defaulted=no 729 1294 fi 730 if test ! -r $srcdir/$ac_unique_file; then731 if test "$ac_srcdir_defaulted" = yes; then732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&21295 if test ! -r "$srcdir/$ac_unique_file"; then 1296 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1297 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 733 1298 { (exit 1); exit 1; }; } 734 else 735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1299 fi 1300 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1301 ac_abs_confdir=`( 1302 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 736 1303 { (exit 1); exit 1; }; } 737 fi 738 fi 739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 741 { (exit 1); exit 1; }; } 742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 743 ac_env_build_alias_set=${build_alias+set} 744 ac_env_build_alias_value=$build_alias 745 ac_cv_env_build_alias_set=${build_alias+set} 746 ac_cv_env_build_alias_value=$build_alias 747 ac_env_host_alias_set=${host_alias+set} 748 ac_env_host_alias_value=$host_alias 749 ac_cv_env_host_alias_set=${host_alias+set} 750 ac_cv_env_host_alias_value=$host_alias 751 ac_env_target_alias_set=${target_alias+set} 752 ac_env_target_alias_value=$target_alias 753 ac_cv_env_target_alias_set=${target_alias+set} 754 ac_cv_env_target_alias_value=$target_alias 755 ac_env_CC_set=${CC+set} 756 ac_env_CC_value=$CC 757 ac_cv_env_CC_set=${CC+set} 758 ac_cv_env_CC_value=$CC 759 ac_env_CFLAGS_set=${CFLAGS+set} 760 ac_env_CFLAGS_value=$CFLAGS 761 ac_cv_env_CFLAGS_set=${CFLAGS+set} 762 ac_cv_env_CFLAGS_value=$CFLAGS 763 ac_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_env_LDFLAGS_value=$LDFLAGS 765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 766 ac_cv_env_LDFLAGS_value=$LDFLAGS 767 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_env_CPPFLAGS_value=$CPPFLAGS 769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 771 ac_env_CXX_set=${CXX+set} 772 ac_env_CXX_value=$CXX 773 ac_cv_env_CXX_set=${CXX+set} 774 ac_cv_env_CXX_value=$CXX 775 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 776 ac_env_CXXFLAGS_value=$CXXFLAGS 777 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 778 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 779 ac_env_CPP_set=${CPP+set} 780 ac_env_CPP_value=$CPP 781 ac_cv_env_CPP_set=${CPP+set} 782 ac_cv_env_CPP_value=$CPP 1304 pwd)` 1305 # When building in place, set srcdir=. 1306 if test "$ac_abs_confdir" = "$ac_pwd"; then 1307 srcdir=. 1308 fi 1309 # Remove unnecessary trailing slashes from srcdir. 1310 # Double slashes in file names in object file debugging info 1311 # mess up M-x gdb in Emacs. 1312 case $srcdir in 1313 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1314 esac 1315 for ac_var in $ac_precious_vars; do 1316 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1317 eval ac_env_${ac_var}_value=\$${ac_var} 1318 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1319 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1320 done 783 1321 784 1322 # … … 809 1347 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 810 1348 811 _ACEOF812 813 cat <<_ACEOF814 1349 Installation directories: 815 1350 --prefix=PREFIX install architecture-independent files in PREFIX 816 1351 [$ac_default_prefix] 817 1352 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 818 1353 [PREFIX] 819 1354 820 1355 By default, \`make install' will install all the files in … … 826 1361 827 1362 Fine tuning of the installation directories: 828 --bindir=DIR user executables [EPREFIX/bin] 829 --sbindir=DIR system admin executables [EPREFIX/sbin] 830 --libexecdir=DIR program executables [EPREFIX/libexec] 831 --datadir=DIR read-only architecture-independent data [PREFIX/share] 832 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 833 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 834 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 835 --libdir=DIR object code libraries [EPREFIX/lib] 836 --includedir=DIR C header files [PREFIX/include] 837 --oldincludedir=DIR C header files for non-gcc [/usr/include] 838 --infodir=DIR info documentation [PREFIX/info] 839 --mandir=DIR man documentation [PREFIX/man] 1363 --bindir=DIR user executables [EPREFIX/bin] 1364 --sbindir=DIR system admin executables [EPREFIX/sbin] 1365 --libexecdir=DIR program executables [EPREFIX/libexec] 1366 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1367 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1368 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1369 --libdir=DIR object code libraries [EPREFIX/lib] 1370 --includedir=DIR C header files [PREFIX/include] 1371 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1372 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1373 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1374 --infodir=DIR info documentation [DATAROOTDIR/info] 1375 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1376 --mandir=DIR man documentation [DATAROOTDIR/man] 1377 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1378 --htmldir=DIR html documentation [DOCDIR] 1379 --dvidir=DIR dvi documentation [DOCDIR] 1380 --pdfdir=DIR pdf documentation [DOCDIR] 1381 --psdir=DIR ps documentation [DOCDIR] 840 1382 _ACEOF 841 1383 … … 854 1396 855 1397 Optional Features: 1398 --disable-option-checking ignore unrecognized --enable/--with options 856 1399 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 857 1400 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 882 1425 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 883 1426 nonstandard directory <lib dir> 884 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 885 headers in a nonstandard directory <include dir> 1427 LIBS libraries to pass to the linker, e.g. -l<library> 1428 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1429 you have headers in a nonstandard directory <include dir> 886 1430 CXX C++ compiler command 887 1431 CXXFLAGS C++ compiler flags 1432 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1433 the first program found out of: `bison -y', `byacc', `yacc'. 1434 YFLAGS The list of arguments that will be passed by default to $YACC. 1435 This script will default YFLAGS to the empty string to avoid a 1436 default value of `-d' given by some make applications. 888 1437 CPP C preprocessor 889 1438 … … 892 1441 893 1442 _ACEOF 1443 ac_status=$? 894 1444 fi 895 1445 896 1446 if test "$ac_init_help" = "recursive"; then 897 1447 # If there are subdirs, report their specific --help. 898 ac_popdir=`pwd`899 1448 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 900 test -d $ac_dir || continue 1449 test -d "$ac_dir" || 1450 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1451 continue 901 1452 ac_builddir=. 902 1453 903 if test "$ac_dir" != .; then 904 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 905 # A "../" for each directory in $ac_dir_suffix. 906 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 907 else 908 ac_dir_suffix= ac_top_builddir= 909 fi 1454 case "$ac_dir" in 1455 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1456 *) 1457 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1458 # A ".." for each directory in $ac_dir_suffix. 1459 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1460 case $ac_top_builddir_sub in 1461 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1462 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1463 esac ;; 1464 esac 1465 ac_abs_top_builddir=$ac_pwd 1466 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1467 # for backward compatibility: 1468 ac_top_builddir=$ac_top_build_prefix 910 1469 911 1470 case $srcdir in 912 .) # No --srcdir option.We are building in place.1471 .) # We are building in place. 913 1472 ac_srcdir=. 914 if test -z "$ac_top_builddir"; then 915 ac_top_srcdir=. 1473 ac_top_srcdir=$ac_top_builddir_sub 1474 ac_abs_top_srcdir=$ac_pwd ;; 1475 [\\/]* | ?:[\\/]* ) # Absolute name. 1476 ac_srcdir=$srcdir$ac_dir_suffix; 1477 ac_top_srcdir=$srcdir 1478 ac_abs_top_srcdir=$srcdir ;; 1479 *) # Relative name. 1480 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1481 ac_top_srcdir=$ac_top_build_prefix$srcdir 1482 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1483 esac 1484 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1485 1486 cd "$ac_dir" || { ac_status=$?; continue; } 1487 # Check for guested configure. 1488 if test -f "$ac_srcdir/configure.gnu"; then 1489 echo && 1490 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1491 elif test -f "$ac_srcdir/configure"; then 1492 echo && 1493 $SHELL "$ac_srcdir/configure" --help=recursive 916 1494 else 917 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 918 fi ;; 919 [\\/]* | ?:[\\/]* ) # Absolute path. 920 ac_srcdir=$srcdir$ac_dir_suffix; 921 ac_top_srcdir=$srcdir ;; 922 *) # Relative path. 923 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 924 ac_top_srcdir=$ac_top_builddir$srcdir ;; 925 esac 926 927 # Do not use `cd foo && pwd` to compute absolute paths, because 928 # the directories may not exist. 929 case `pwd` in 930 .) ac_abs_builddir="$ac_dir";; 931 *) 932 case "$ac_dir" in 933 .) ac_abs_builddir=`pwd`;; 934 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 935 *) ac_abs_builddir=`pwd`/"$ac_dir";; 936 esac;; 937 esac 938 case $ac_abs_builddir in 939 .) ac_abs_top_builddir=${ac_top_builddir}.;; 940 *) 941 case ${ac_top_builddir}. in 942 .) ac_abs_top_builddir=$ac_abs_builddir;; 943 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 944 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 945 esac;; 946 esac 947 case $ac_abs_builddir in 948 .) ac_abs_srcdir=$ac_srcdir;; 949 *) 950 case $ac_srcdir in 951 .) ac_abs_srcdir=$ac_abs_builddir;; 952 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 953 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 954 esac;; 955 esac 956 case $ac_abs_builddir in 957 .) ac_abs_top_srcdir=$ac_top_srcdir;; 958 *) 959 case $ac_top_srcdir in 960 .) ac_abs_top_srcdir=$ac_abs_builddir;; 961 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 962 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 963 esac;; 964 esac 965 966 cd $ac_dir 967 # Check for guested configure; otherwise get Cygnus style configure. 968 if test -f $ac_srcdir/configure.gnu; then 969 echo 970 $SHELL $ac_srcdir/configure.gnu --help=recursive 971 elif test -f $ac_srcdir/configure; then 972 echo 973 $SHELL $ac_srcdir/configure --help=recursive 974 elif test -f $ac_srcdir/configure.ac || 975 test -f $ac_srcdir/configure.in; then 976 echo 977 $ac_configure --help 978 else 979 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 980 fi 981 cd $ac_popdir 1495 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1496 fi || ac_status=$? 1497 cd "$ac_pwd" || { ac_status=$?; break; } 982 1498 done 983 1499 fi 984 1500 985 test -n "$ac_init_help" && exit 01501 test -n "$ac_init_help" && exit $ac_status 986 1502 if $ac_init_version; then 987 1503 cat <<\_ACEOF 988 989 Copyright (C) 2003 Free Software Foundation, Inc. 1504 configure 1505 generated by GNU Autoconf 2.63 1506 1507 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1508 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 990 1509 This configure script is free software; the Free Software Foundation 991 1510 gives unlimited permission to copy, distribute and modify it. 992 1511 _ACEOF 993 exit 0 994 fi 995 exec 5>config.log 996 cat >&5 <<_ACEOF 1512 exit 1513 fi 1514 cat >config.log <<_ACEOF 997 1515 This file contains any messages produced by compilers while 998 1516 running configure, to aid debugging if configure makes a mistake. 999 1517 1000 1518 It was created by $as_me, which was 1001 generated by GNU Autoconf 2. 59. Invocation command line was1519 generated by GNU Autoconf 2.63. Invocation command line was 1002 1520 1003 1521 $ $0 $@ 1004 1522 1005 1523 _ACEOF 1524 exec 5>>config.log 1006 1525 { 1007 1526 cat <<_ASUNAME … … 1022 1541 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1023 1542 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1024 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1543 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1025 1544 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1026 1545 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1034 1553 IFS=$as_save_IFS 1035 1554 test -z "$as_dir" && as_dir=. 1036 echo "PATH: $as_dir"1555 $as_echo "PATH: $as_dir" 1037 1556 done 1557 IFS=$as_save_IFS 1038 1558 1039 1559 } >&5 … … 1057 1577 ac_configure_args0= 1058 1578 ac_configure_args1= 1059 ac_sep=1060 1579 ac_must_keep_next=false 1061 1580 for ac_pass in 1 2 … … 1068 1587 | -silent | --silent | --silen | --sile | --sil) 1069 1588 continue ;; 1070 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1071 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1589 *\'*) 1590 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1072 1591 esac 1073 1592 case $ac_pass in … … 1090 1609 esac 1091 1610 fi 1092 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1093 # Get rid of the leading space. 1094 ac_sep=" " 1611 ac_configure_args="$ac_configure_args '$ac_arg'" 1095 1612 ;; 1096 1613 esac … … 1103 1620 # config.log. We remove comments because anyway the quotes in there 1104 1621 # would cause problems or look ugly. 1105 # WARNING: Be sure not to use single quotes in there, as some shells,1106 # such as our DU 5.0 friend, will then `close' the trap.1622 # WARNING: Use '\'' to represent an apostrophe within the trap. 1623 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1107 1624 trap 'exit_status=$? 1108 1625 # Save into config.log some information that might help in debugging. … … 1117 1634 echo 1118 1635 # The following way of writing the cache mishandles newlines in values, 1119 { 1636 ( 1637 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1638 eval ac_val=\$$ac_var 1639 case $ac_val in #( 1640 *${as_nl}*) 1641 case $ac_var in #( 1642 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1643 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1644 esac 1645 case $ac_var in #( 1646 _ | IFS | as_nl) ;; #( 1647 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1648 *) $as_unset $ac_var ;; 1649 esac ;; 1650 esac 1651 done 1120 1652 (set) 2>&1 | 1121 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1122 * ac_space=\ *)1653 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1654 *${as_nl}ac_space=\ *) 1123 1655 sed -n \ 1124 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1125 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1656 "s/'\''/'\''\\\\'\'''\''/g; 1657 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1658 ;; #( 1659 *) 1660 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1126 1661 ;; 1127 *) 1128 sed -n \ 1129 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1130 ;; 1131 esac; 1132 } 1662 esac | 1663 sort 1664 ) 1133 1665 echo 1134 1666 … … 1141 1673 for ac_var in $ac_subst_vars 1142 1674 do 1143 eval ac_val=$`echo $ac_var` 1144 echo "$ac_var='"'"'$ac_val'"'"'" 1675 eval ac_val=\$$ac_var 1676 case $ac_val in 1677 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1678 esac 1679 $as_echo "$ac_var='\''$ac_val'\''" 1145 1680 done | sort 1146 1681 echo … … 1148 1683 if test -n "$ac_subst_files"; then 1149 1684 cat <<\_ASBOX 1150 ## ------------- ##1151 ## Output files. ##1152 ## ------------- ##1685 ## ------------------- ## 1686 ## File substitutions. ## 1687 ## ------------------- ## 1153 1688 _ASBOX 1154 1689 echo 1155 1690 for ac_var in $ac_subst_files 1156 1691 do 1157 eval ac_val=$`echo $ac_var` 1158 echo "$ac_var='"'"'$ac_val'"'"'" 1692 eval ac_val=\$$ac_var 1693 case $ac_val in 1694 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1695 esac 1696 $as_echo "$ac_var='\''$ac_val'\''" 1159 1697 done | sort 1160 1698 echo … … 1168 1706 _ASBOX 1169 1707 echo 1170 sed "/^$/d" confdefs.h | sort1708 cat confdefs.h 1171 1709 echo 1172 1710 fi 1173 1711 test "$ac_signal" != 0 && 1174 echo "$as_me: caught signal $ac_signal"1175 echo "$as_me: exit $exit_status"1712 $as_echo "$as_me: caught signal $ac_signal" 1713 $as_echo "$as_me: exit $exit_status" 1176 1714 } >&5 1177 rm -f core *.core &&1178 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1715 rm -f core *.core core.conftest.* && 1716 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1179 1717 exit $exit_status 1180 1718 ' 0 1181 1719 for ac_signal in 1 2 13 15; do 1182 1720 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1185 1723 1186 1724 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1187 rm -rf conftest* confdefs.h 1188 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1189 echo >confdefs.h 1725 rm -f -r conftest* confdefs.h 1190 1726 1191 1727 # Predefined preprocessor variables. … … 1217 1753 1218 1754 # Let the site file select an alternate cache file if it wants to. 1219 # Prefer explicitly selected file to automatically selected ones. 1220 if test -z "$CONFIG_SITE"; then 1221 if test "x$prefix" != xNONE; then 1222 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1223 else 1224 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1225 fi 1226 fi 1227 for ac_site_file in $CONFIG_SITE; do 1755 # Prefer an explicitly selected file to automatically selected ones. 1756 ac_site_file1=NONE 1757 ac_site_file2=NONE 1758 if test -n "$CONFIG_SITE"; then 1759 ac_site_file1=$CONFIG_SITE 1760 elif test "x$prefix" != xNONE; then 1761 ac_site_file1=$prefix/share/config.site 1762 ac_site_file2=$prefix/etc/config.site 1763 else 1764 ac_site_file1=$ac_default_prefix/share/config.site 1765 ac_site_file2=$ac_default_prefix/etc/config.site 1766 fi 1767 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1768 do 1769 test "x$ac_site_file" = xNONE && continue 1228 1770 if test -r "$ac_site_file"; then 1229 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&51230 echo "$as_me: loading site script $ac_site_file" >&6;}1771 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1772 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1231 1773 sed 's/^/| /' "$ac_site_file" >&5 1232 1774 . "$ac_site_file" … … 1238 1780 # files actually), so we avoid doing that. 1239 1781 if test -f "$cache_file"; then 1240 { echo "$as_me:$LINENO: loading cache $cache_file" >&51241 echo "$as_me: loading cache $cache_file" >&6;}1782 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1783 $as_echo "$as_me: loading cache $cache_file" >&6;} 1242 1784 case $cache_file in 1243 [\\/]* | ?:[\\/]* ) . $cache_file;;1244 *) . ./$cache_file;;1785 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1786 *) . "./$cache_file";; 1245 1787 esac 1246 1788 fi 1247 1789 else 1248 { echo "$as_me:$LINENO: creating cache $cache_file" >&51249 echo "$as_me: creating cache $cache_file" >&6;}1790 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1791 $as_echo "$as_me: creating cache $cache_file" >&6;} 1250 1792 >$cache_file 1251 1793 fi … … 1254 1796 # value. 1255 1797 ac_cache_corrupted=false 1256 for ac_var in `(set) 2>&1 | 1257 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1798 for ac_var in $ac_precious_vars; do 1258 1799 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1259 1800 eval ac_new_set=\$ac_env_${ac_var}_set 1260 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1261 eval ac_new_val= "\$ac_env_${ac_var}_value"1801 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1802 eval ac_new_val=\$ac_env_${ac_var}_value 1262 1803 case $ac_old_set,$ac_new_set in 1263 1804 set,) 1264 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51265 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1805 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1806 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1266 1807 ac_cache_corrupted=: ;; 1267 1808 ,set) 1268 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51269 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1809 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1810 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1270 1811 ac_cache_corrupted=: ;; 1271 1812 ,);; 1272 1813 *) 1273 1814 if test "x$ac_old_val" != "x$ac_new_val"; then 1274 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1275 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1276 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1277 echo "$as_me: former value: $ac_old_val" >&2;} 1278 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1279 echo "$as_me: current value: $ac_new_val" >&2;} 1280 ac_cache_corrupted=: 1815 # differences in whitespace do not lead to failure. 1816 ac_old_val_w=`echo x $ac_old_val` 1817 ac_new_val_w=`echo x $ac_new_val` 1818 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1819 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1820 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1821 ac_cache_corrupted=: 1822 else 1823 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1824 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1825 eval $ac_var=\$ac_old_val 1826 fi 1827 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1828 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1829 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1830 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1281 1831 fi;; 1282 1832 esac … … 1284 1834 if test "$ac_new_set" = set; then 1285 1835 case $ac_new_val in 1286 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1287 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1836 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1288 1837 *) ac_arg=$ac_var=$ac_new_val ;; 1289 1838 esac … … 1295 1844 done 1296 1845 if $ac_cache_corrupted; then 1297 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1298 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1299 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1300 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1846 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 1847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1848 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1849 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1850 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1851 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1301 1852 { (exit 1); exit 1; }; } 1302 1853 fi 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1303 1870 1304 1871 ac_ext=c … … 1309 1876 1310 1877 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 ac_config_headers="$ac_config_headers config.h" 1878 ac_config_headers="$ac_config_headers config.h" 1329 1879 1330 1880 … … 1362 1912 fi 1363 1913 1364 # Check whether --enable-corba or --disable-corbawas given.1914 # Check whether --enable-corba was given. 1365 1915 if test "${enable_corba+set}" = set; then 1366 enableval="$enable_corba" 1367 USE_CORBA=$enableval 1916 enableval=$enable_corba; USE_CORBA=$enableval 1368 1917 else 1369 1918 USE_CORBA=no 1370 fi; 1919 fi 1920 1371 1921 if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then 1372 1922 USE_CORBA=1 1373 1923 cat >>confdefs.h <<\_ACEOF 1374 #define USE_CORBA 1924 #define USE_CORBA /**/ 1375 1925 _ACEOF 1376 1926 … … 1381 1931 1382 1932 1383 # Check whether --with-micodir or --without-micodirwas given.1933 # Check whether --with-micodir was given. 1384 1934 if test "${with_micodir+set}" = set; then 1385 withval="$with_micodir" 1386 MICO_DIR=$withval 1935 withval=$with_micodir; MICO_DIR=$withval 1387 1936 else 1388 1937 MICO_DIR="default" 1389 fi; 1938 fi 1939 1390 1940 cat >>confdefs.h <<_ACEOF 1391 1941 #define MICO_DIR "$MICO_DIR" … … 1394 1944 1395 1945 1396 # Check whether --enable-z3950 or --disable-z3950was given.1946 # Check whether --enable-z3950 was given. 1397 1947 if test "${enable_z3950+set}" = set; then 1398 enableval="$enable_z3950" 1399 USE_Z3950=$enableval 1948 enableval=$enable_z3950; USE_Z3950=$enableval 1400 1949 else 1401 1950 USE_Z3950=no 1402 fi; 1951 fi 1952 1403 1953 if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then 1404 1954 USE_Z3950=1 1405 1955 cat >>confdefs.h <<\_ACEOF 1406 #define USE_Z3950 1956 #define USE_Z3950 /**/ 1407 1957 _ACEOF 1408 1958 … … 1412 1962 1413 1963 1414 # Check whether --enable-yaz or --disable-yazwas given.1964 # Check whether --enable-yaz was given. 1415 1965 if test "${enable_yaz+set}" = set; then 1416 enableval="$enable_yaz" 1417 USE_YAZ=$enableval 1966 enableval=$enable_yaz; USE_YAZ=$enableval 1418 1967 else 1419 1968 USE_YAZ=yes 1420 fi; 1969 fi 1970 1421 1971 if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then 1422 1972 USE_YAZ=1 1423 1973 cat >>confdefs.h <<\_ACEOF 1424 #define USE_YAZ 1974 #define USE_YAZ /**/ 1425 1975 _ACEOF 1426 1976 … … 1430 1980 1431 1981 1432 # Check whether --enable-java or --disable-javawas given.1982 # Check whether --enable-java was given. 1433 1983 if test "${enable_java+set}" = set; then 1434 enableval="$enable_java" 1435 ENABLE_JAVA=$enableval 1984 enableval=$enable_java; ENABLE_JAVA=$enableval 1436 1985 else 1437 1986 ENABLE_JAVA=yes 1438 fi; 1987 fi 1988 1439 1989 if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then 1440 1990 ENABLE_JAVA=1 … … 1450 2000 1451 2001 1452 # Check whether --enable-jdbm or --disable-jdbmwas given.2002 # Check whether --enable-jdbm was given. 1453 2003 if test "${enable_jdbm+set}" = set; then 1454 enableval="$enable_jdbm" 1455 USE_JDBM=$enableval 2004 enableval=$enable_jdbm; USE_JDBM=$enableval 1456 2005 else 1457 2006 USE_JDBM=yes 1458 fi; 2007 fi 2008 1459 2009 if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then 1460 2010 USE_JDBM=1 1461 2011 cat >>confdefs.h <<\_ACEOF 1462 #define USE_JDBM 2012 #define USE_JDBM /**/ 1463 2013 _ACEOF 1464 2014 … … 1468 2018 1469 2019 1470 # Check whether --enable-gdbm or --disable-gdbmwas given.2020 # Check whether --enable-gdbm was given. 1471 2021 if test "${enable_gdbm+set}" = set; then 1472 enableval="$enable_gdbm" 1473 USE_GDBM=$enableval 2022 enableval=$enable_gdbm; USE_GDBM=$enableval 1474 2023 else 1475 2024 USE_GDBM=yes 1476 fi; 2025 fi 2026 1477 2027 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 1478 2028 USE_GDBM=1 1479 2029 cat >>confdefs.h <<\_ACEOF 1480 #define USE_GDBM 2030 #define USE_GDBM /**/ 1481 2031 _ACEOF 1482 2032 … … 1486 2036 1487 2037 1488 # Check whether --enable-accentfold or --disable-accentfoldwas given.2038 # Check whether --enable-accentfold was given. 1489 2039 if test "${enable_accentfold+set}" = set; then 1490 enableval="$enable_accentfold" 1491 ENABLE_ACCENTFOLD=$enableval 2040 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval 1492 2041 else 1493 2042 ENABLE_ACCENTFOLD=yes 1494 fi; 2043 fi 2044 1495 2045 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 1496 2046 ENABLE_ACCENTFOLD=1 1497 2047 cat >>confdefs.h <<\_ACEOF 1498 #define ENABLE_ACCENTFOLD 2048 #define ENABLE_ACCENTFOLD /**/ 1499 2049 _ACEOF 1500 2050 … … 1505 2055 1506 2056 1507 # Check whether --enable-sqlite or --disable-sqlitewas given.2057 # Check whether --enable-sqlite was given. 1508 2058 if test "${enable_sqlite+set}" = set; then 1509 enableval="$enable_sqlite" 1510 USE_SQLITE=$enableval 2059 enableval=$enable_sqlite; USE_SQLITE=$enableval 1511 2060 else 1512 2061 USE_SQLITE=yes 1513 fi; 2062 fi 2063 1514 2064 if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then 1515 2065 USE_SQLITE=1 1516 2066 cat >>confdefs.h <<\_ACEOF 1517 #define USE_SQLITE 2067 #define USE_SQLITE /**/ 1518 2068 _ACEOF 1519 2069 … … 1523 2073 1524 2074 1525 # Check whether --enable-jni or --disable-jniwas given.2075 # Check whether --enable-jni was given. 1526 2076 if test "${enable_jni+set}" = set; then 1527 enableval="$enable_jni" 1528 ENABLE_JNI=$enableval 2077 enableval=$enable_jni; ENABLE_JNI=$enableval 1529 2078 else 1530 2079 ENABLE_JNI=no 1531 fi; 2080 fi 2081 1532 2082 if test $ENABLE_JAVA = "1" -a \( $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" \) ; then 1533 2083 ENABLE_JNI=1 1534 2084 cat >>confdefs.h <<\_ACEOF 1535 #define ENABLE_JNI 2085 #define ENABLE_JNI /**/ 1536 2086 _ACEOF 1537 2087 … … 1541 2091 1542 2092 1543 # Check whether --enable-mg or --disable-mgwas given.2093 # Check whether --enable-mg was given. 1544 2094 if test "${enable_mg+set}" = set; then 1545 enableval="$enable_mg" 1546 ENABLE_MG=$enableval 2095 enableval=$enable_mg; ENABLE_MG=$enableval 1547 2096 else 1548 2097 ENABLE_MG=yes 1549 fi; 2098 fi 2099 1550 2100 if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then 1551 2101 ENABLE_MG=1 1552 2102 cat >>confdefs.h <<\_ACEOF 1553 #define ENABLE_MG 2103 #define ENABLE_MG /**/ 1554 2104 _ACEOF 1555 2105 … … 1559 2109 1560 2110 1561 # Check whether --enable-mgpp or --disable-mgppwas given.2111 # Check whether --enable-mgpp was given. 1562 2112 if test "${enable_mgpp+set}" = set; then 1563 enableval="$enable_mgpp" 1564 ENABLE_MGPP=$enableval 2113 enableval=$enable_mgpp; ENABLE_MGPP=$enableval 1565 2114 else 1566 2115 ENABLE_MGPP=yes 1567 fi; 2116 fi 2117 1568 2118 if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then 1569 2119 ENABLE_MGPP=1 1570 2120 cat >>confdefs.h <<\_ACEOF 1571 #define ENABLE_MGPP 2121 #define ENABLE_MGPP /**/ 1572 2122 _ACEOF 1573 2123 … … 1577 2127 1578 2128 1579 # Check whether --enable-lucene or --disable-lucenewas given.2129 # Check whether --enable-lucene was given. 1580 2130 if test "${enable_lucene+set}" = set; then 1581 enableval="$enable_lucene" 1582 ENABLE_LUCENE=$enableval 2131 enableval=$enable_lucene; ENABLE_LUCENE=$enableval 1583 2132 else 1584 2133 ENABLE_LUCENE=yes 1585 fi; 2134 fi 2135 1586 2136 if test $ENABLE_JAVA = "1" -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then 1587 2137 ENABLE_LUCENE=1 1588 2138 cat >>confdefs.h <<\_ACEOF 1589 #define ENABLE_LUCENE 2139 #define ENABLE_LUCENE /**/ 1590 2140 _ACEOF 1591 2141 … … 1612 2162 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1613 2163 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1614 echo "$as_me:$LINENO: checking for $ac_word" >&51615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2164 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2165 $as_echo_n "checking for $ac_word... " >&6; } 1616 2166 if test "${ac_cv_prog_CC+set}" = set; then 1617 echo $ECHO_N "(cached) $ECHO_C" >&62167 $as_echo_n "(cached) " >&6 1618 2168 else 1619 2169 if test -n "$CC"; then … … 1626 2176 test -z "$as_dir" && as_dir=. 1627 2177 for ac_exec_ext in '' $ac_executable_extensions; do 1628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1629 2179 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52180 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1631 2181 break 2 1632 2182 fi 1633 2183 done 1634 2184 done 2185 IFS=$as_save_IFS 1635 2186 1636 2187 fi … … 1638 2189 CC=$ac_cv_prog_CC 1639 2190 if test -n "$CC"; then 1640 echo "$as_me:$LINENO: result: $CC" >&5 1641 echo "${ECHO_T}$CC" >&6 1642 else 1643 echo "$as_me:$LINENO: result: no" >&5 1644 echo "${ECHO_T}no" >&6 1645 fi 2191 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2192 $as_echo "$CC" >&6; } 2193 else 2194 { $as_echo "$as_me:$LINENO: result: no" >&5 2195 $as_echo "no" >&6; } 2196 fi 2197 1646 2198 1647 2199 fi … … 1650 2202 # Extract the first word of "gcc", so it can be a program name with args. 1651 2203 set dummy gcc; ac_word=$2 1652 echo "$as_me:$LINENO: checking for $ac_word" >&51653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2204 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2205 $as_echo_n "checking for $ac_word... " >&6; } 1654 2206 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1655 echo $ECHO_N "(cached) $ECHO_C" >&62207 $as_echo_n "(cached) " >&6 1656 2208 else 1657 2209 if test -n "$ac_ct_CC"; then … … 1664 2216 test -z "$as_dir" && as_dir=. 1665 2217 for ac_exec_ext in '' $ac_executable_extensions; do 1666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1667 2219 ac_cv_prog_ac_ct_CC="gcc" 1668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52220 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1669 2221 break 2 1670 2222 fi 1671 2223 done 1672 2224 done 2225 IFS=$as_save_IFS 1673 2226 1674 2227 fi … … 1676 2229 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1677 2230 if test -n "$ac_ct_CC"; then 1678 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1679 echo "${ECHO_T}$ac_ct_CC" >&6 1680 else 1681 echo "$as_me:$LINENO: result: no" >&5 1682 echo "${ECHO_T}no" >&6 1683 fi 1684 1685 CC=$ac_ct_CC 2231 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2232 $as_echo "$ac_ct_CC" >&6; } 2233 else 2234 { $as_echo "$as_me:$LINENO: result: no" >&5 2235 $as_echo "no" >&6; } 2236 fi 2237 2238 if test "x$ac_ct_CC" = x; then 2239 CC="" 2240 else 2241 case $cross_compiling:$ac_tool_warned in 2242 yes:) 2243 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2245 ac_tool_warned=yes ;; 2246 esac 2247 CC=$ac_ct_CC 2248 fi 1686 2249 else 1687 2250 CC="$ac_cv_prog_CC" … … 1689 2252 1690 2253 if test -z "$CC"; then 1691 if test -n "$ac_tool_prefix"; then1692 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2254 if test -n "$ac_tool_prefix"; then 2255 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1693 2256 set dummy ${ac_tool_prefix}cc; ac_word=$2 1694 echo "$as_me:$LINENO: checking for $ac_word" >&51695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2257 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2258 $as_echo_n "checking for $ac_word... " >&6; } 1696 2259 if test "${ac_cv_prog_CC+set}" = set; then 1697 echo $ECHO_N "(cached) $ECHO_C" >&62260 $as_echo_n "(cached) " >&6 1698 2261 else 1699 2262 if test -n "$CC"; then … … 1706 2269 test -z "$as_dir" && as_dir=. 1707 2270 for ac_exec_ext in '' $ac_executable_extensions; do 1708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1709 2272 ac_cv_prog_CC="${ac_tool_prefix}cc" 1710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52273 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1711 2274 break 2 1712 2275 fi 1713 2276 done 1714 2277 done 2278 IFS=$as_save_IFS 1715 2279 1716 2280 fi … … 1718 2282 CC=$ac_cv_prog_CC 1719 2283 if test -n "$CC"; then 1720 echo "$as_me:$LINENO: result: $CC" >&5 1721 echo "${ECHO_T}$CC" >&6 1722 else 1723 echo "$as_me:$LINENO: result: no" >&5 1724 echo "${ECHO_T}no" >&6 1725 fi 1726 1727 fi 1728 if test -z "$ac_cv_prog_CC"; then 1729 ac_ct_CC=$CC 1730 # Extract the first word of "cc", so it can be a program name with args. 1731 set dummy cc; ac_word=$2 1732 echo "$as_me:$LINENO: checking for $ac_word" >&5 1733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1734 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1735 echo $ECHO_N "(cached) $ECHO_C" >&6 1736 else 1737 if test -n "$ac_ct_CC"; then 1738 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1739 else 1740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1741 for as_dir in $PATH 1742 do 1743 IFS=$as_save_IFS 1744 test -z "$as_dir" && as_dir=. 1745 for ac_exec_ext in '' $ac_executable_extensions; do 1746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1747 ac_cv_prog_ac_ct_CC="cc" 1748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1749 break 2 2284 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2285 $as_echo "$CC" >&6; } 2286 else 2287 { $as_echo "$as_me:$LINENO: result: no" >&5 2288 $as_echo "no" >&6; } 2289 fi 2290 2291 1750 2292 fi 1751 done1752 done1753 1754 fi1755 fi1756 ac_ct_CC=$ac_cv_prog_ac_ct_CC1757 if test -n "$ac_ct_CC"; then1758 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51759 echo "${ECHO_T}$ac_ct_CC" >&61760 else1761 echo "$as_me:$LINENO: result: no" >&51762 echo "${ECHO_T}no" >&61763 fi1764 1765 CC=$ac_ct_CC1766 else1767 CC="$ac_cv_prog_CC"1768 fi1769 1770 2293 fi 1771 2294 if test -z "$CC"; then 1772 2295 # Extract the first word of "cc", so it can be a program name with args. 1773 2296 set dummy cc; ac_word=$2 1774 echo "$as_me:$LINENO: checking for $ac_word" >&51775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2297 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2298 $as_echo_n "checking for $ac_word... " >&6; } 1776 2299 if test "${ac_cv_prog_CC+set}" = set; then 1777 echo $ECHO_N "(cached) $ECHO_C" >&62300 $as_echo_n "(cached) " >&6 1778 2301 else 1779 2302 if test -n "$CC"; then … … 1787 2310 test -z "$as_dir" && as_dir=. 1788 2311 for ac_exec_ext in '' $ac_executable_extensions; do 1789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1790 2313 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1791 2314 ac_prog_rejected=yes … … 1793 2316 fi 1794 2317 ac_cv_prog_CC="cc" 1795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52318 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1796 2319 break 2 1797 2320 fi 1798 2321 done 1799 2322 done 2323 IFS=$as_save_IFS 1800 2324 1801 2325 if test $ac_prog_rejected = yes; then … … 1815 2339 CC=$ac_cv_prog_CC 1816 2340 if test -n "$CC"; then 1817 echo "$as_me:$LINENO: result: $CC" >&5 1818 echo "${ECHO_T}$CC" >&6 1819 else 1820 echo "$as_me:$LINENO: result: no" >&5 1821 echo "${ECHO_T}no" >&6 1822 fi 2341 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2342 $as_echo "$CC" >&6; } 2343 else 2344 { $as_echo "$as_me:$LINENO: result: no" >&5 2345 $as_echo "no" >&6; } 2346 fi 2347 1823 2348 1824 2349 fi 1825 2350 if test -z "$CC"; then 1826 2351 if test -n "$ac_tool_prefix"; then 1827 for ac_prog in cl 2352 for ac_prog in cl.exe 1828 2353 do 1829 2354 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1830 2355 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1831 echo "$as_me:$LINENO: checking for $ac_word" >&51832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2356 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2357 $as_echo_n "checking for $ac_word... " >&6; } 1833 2358 if test "${ac_cv_prog_CC+set}" = set; then 1834 echo $ECHO_N "(cached) $ECHO_C" >&62359 $as_echo_n "(cached) " >&6 1835 2360 else 1836 2361 if test -n "$CC"; then … … 1843 2368 test -z "$as_dir" && as_dir=. 1844 2369 for ac_exec_ext in '' $ac_executable_extensions; do 1845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1846 2371 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52372 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1848 2373 break 2 1849 2374 fi 1850 2375 done 1851 2376 done 2377 IFS=$as_save_IFS 1852 2378 1853 2379 fi … … 1855 2381 CC=$ac_cv_prog_CC 1856 2382 if test -n "$CC"; then 1857 echo "$as_me:$LINENO: result: $CC" >&5 1858 echo "${ECHO_T}$CC" >&6 1859 else 1860 echo "$as_me:$LINENO: result: no" >&5 1861 echo "${ECHO_T}no" >&6 1862 fi 2383 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2384 $as_echo "$CC" >&6; } 2385 else 2386 { $as_echo "$as_me:$LINENO: result: no" >&5 2387 $as_echo "no" >&6; } 2388 fi 2389 1863 2390 1864 2391 test -n "$CC" && break … … 1867 2394 if test -z "$CC"; then 1868 2395 ac_ct_CC=$CC 1869 for ac_prog in cl 2396 for ac_prog in cl.exe 1870 2397 do 1871 2398 # Extract the first word of "$ac_prog", so it can be a program name with args. 1872 2399 set dummy $ac_prog; ac_word=$2 1873 echo "$as_me:$LINENO: checking for $ac_word" >&51874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2400 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2401 $as_echo_n "checking for $ac_word... " >&6; } 1875 2402 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1876 echo $ECHO_N "(cached) $ECHO_C" >&62403 $as_echo_n "(cached) " >&6 1877 2404 else 1878 2405 if test -n "$ac_ct_CC"; then … … 1885 2412 test -z "$as_dir" && as_dir=. 1886 2413 for ac_exec_ext in '' $ac_executable_extensions; do 1887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1888 2415 ac_cv_prog_ac_ct_CC="$ac_prog" 1889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52416 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1890 2417 break 2 1891 2418 fi 1892 2419 done 1893 2420 done 2421 IFS=$as_save_IFS 1894 2422 1895 2423 fi … … 1897 2425 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1898 2426 if test -n "$ac_ct_CC"; then 1899 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1900 echo "${ECHO_T}$ac_ct_CC" >&6 1901 else 1902 echo "$as_me:$LINENO: result: no" >&5 1903 echo "${ECHO_T}no" >&6 1904 fi 2427 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2428 $as_echo "$ac_ct_CC" >&6; } 2429 else 2430 { $as_echo "$as_me:$LINENO: result: no" >&5 2431 $as_echo "no" >&6; } 2432 fi 2433 1905 2434 1906 2435 test -n "$ac_ct_CC" && break 1907 2436 done 1908 2437 1909 CC=$ac_ct_CC 1910 fi 1911 1912 fi 1913 1914 1915 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2438 if test "x$ac_ct_CC" = x; then 2439 CC="" 2440 else 2441 case $cross_compiling:$ac_tool_warned in 2442 yes:) 2443 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2445 ac_tool_warned=yes ;; 2446 esac 2447 CC=$ac_ct_CC 2448 fi 2449 fi 2450 2451 fi 2452 2453 2454 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2456 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1916 2457 See \`config.log' for more details." >&5 1917 echo "$as_me: error: no acceptable C compiler found in \$PATH2458 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 1918 2459 See \`config.log' for more details." >&2;} 1919 { (exit 1); exit 1; }; } 2460 { (exit 1); exit 1; }; }; } 1920 2461 1921 2462 # Provide some information about the compiler. 1922 echo "$as_me:$LINENO:" \ 1923 "checking for C compiler version" >&5 1924 ac_compiler=`set X $ac_compile; echo $2` 1925 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1926 (eval $ac_compiler --version </dev/null >&5) 2>&5 2463 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2464 set X $ac_compile 2465 ac_compiler=$2 2466 { (ac_try="$ac_compiler --version >&5" 2467 case "(($ac_try" in 2468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2469 *) ac_try_echo=$ac_try;; 2470 esac 2471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2472 $as_echo "$ac_try_echo") >&5 2473 (eval "$ac_compiler --version >&5") 2>&5 1927 2474 ac_status=$? 1928 echo "$as_me:$LINENO: \$? = $ac_status" >&52475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1929 2476 (exit $ac_status); } 1930 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1931 (eval $ac_compiler -v </dev/null >&5) 2>&5 2477 { (ac_try="$ac_compiler -v >&5" 2478 case "(($ac_try" in 2479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2480 *) ac_try_echo=$ac_try;; 2481 esac 2482 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2483 $as_echo "$ac_try_echo") >&5 2484 (eval "$ac_compiler -v >&5") 2>&5 1932 2485 ac_status=$? 1933 echo "$as_me:$LINENO: \$? = $ac_status" >&52486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1934 2487 (exit $ac_status); } 1935 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1936 (eval $ac_compiler -V </dev/null >&5) 2>&5 2488 { (ac_try="$ac_compiler -V >&5" 2489 case "(($ac_try" in 2490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2491 *) ac_try_echo=$ac_try;; 2492 esac 2493 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2494 $as_echo "$ac_try_echo") >&5 2495 (eval "$ac_compiler -V >&5") 2>&5 1937 2496 ac_status=$? 1938 echo "$as_me:$LINENO: \$? = $ac_status" >&52497 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1939 2498 (exit $ac_status); } 1940 2499 … … 1955 2514 _ACEOF 1956 2515 ac_clean_files_save=$ac_clean_files 1957 ac_clean_files="$ac_clean_files a.out a. exe b.out"2516 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 1958 2517 # Try to create an executable without -o first, disregard a.out. 1959 2518 # It will help us diagnose broken compilers, and finding out an intuition 1960 2519 # of exeext. 1961 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1962 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1963 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1964 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1965 (eval $ac_link_default) 2>&5 2520 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2521 $as_echo_n "checking for C compiler default output file name... " >&6; } 2522 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2523 2524 # The possible output files: 2525 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2526 2527 ac_rmfiles= 2528 for ac_file in $ac_files 2529 do 2530 case $ac_file in 2531 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2532 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2533 esac 2534 done 2535 rm -f $ac_rmfiles 2536 2537 if { (ac_try="$ac_link_default" 2538 case "(($ac_try" in 2539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2540 *) ac_try_echo=$ac_try;; 2541 esac 2542 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2543 $as_echo "$ac_try_echo") >&5 2544 (eval "$ac_link_default") 2>&5 1966 2545 ac_status=$? 1967 echo "$as_me:$LINENO: \$? = $ac_status" >&52546 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1968 2547 (exit $ac_status); }; then 1969 # Find the output, starting from the most likely. This scheme is 1970 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1971 # resort. 1972 1973 # Be careful to initialize this variable, since it used to be cached. 1974 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1975 ac_cv_exeext= 1976 # b.out is created by i960 compilers. 1977 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2548 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2549 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2550 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2551 # so that the user can short-circuit this test for compilers unknown to 2552 # Autoconf. 2553 for ac_file in $ac_files '' 1978 2554 do 1979 2555 test -f "$ac_file" || continue 1980 2556 case $ac_file in 1981 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1982 ;; 1983 conftest.$ac_ext ) 1984 # This is the source file. 2557 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 1985 2558 ;; 1986 2559 [ab].out ) … … 1989 2562 break;; 1990 2563 *.* ) 1991 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1992 # FIXME: I believe we export ac_cv_exeext for Libtool, 1993 # but it would be cool to find out if it's true. Does anybody 1994 # maintain Libtool? --akim. 1995 export ac_cv_exeext 2564 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2565 then :; else 2566 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2567 fi 2568 # We set ac_cv_exeext here because the later test for it is not 2569 # safe: cross compilers may not add the suffix if given an `-o' 2570 # argument, so we may need to know it at that point already. 2571 # Even if this section looks crufty: it has the advantage of 2572 # actually working. 1996 2573 break;; 1997 2574 * ) … … 1999 2576 esac 2000 2577 done 2001 else 2002 echo "$as_me: failed program was:" >&5 2578 test "$ac_cv_exeext" = no && ac_cv_exeext= 2579 2580 else 2581 ac_file='' 2582 fi 2583 2584 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2585 $as_echo "$ac_file" >&6; } 2586 if test -z "$ac_file"; then 2587 $as_echo "$as_me: failed program was:" >&5 2003 2588 sed 's/^/| /' conftest.$ac_ext >&5 2004 2589 2005 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2590 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2592 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2006 2593 See \`config.log' for more details." >&5 2007 echo "$as_me: error: C compiler cannot create executables2594 $as_echo "$as_me: error: C compiler cannot create executables 2008 2595 See \`config.log' for more details." >&2;} 2009 { (exit 77); exit 77; }; } 2596 { (exit 77); exit 77; }; }; } 2010 2597 fi 2011 2598 2012 2599 ac_exeext=$ac_cv_exeext 2013 echo "$as_me:$LINENO: result: $ac_file" >&5 2014 echo "${ECHO_T}$ac_file" >&6 2015 2016 # Check the compiler produces executables we can run. If not, either 2600 2601 # Check that the compiler produces executables we can run. If not, either 2017 2602 # the compiler is broken, or we cross compile. 2018 echo "$as_me:$LINENO: checking whether the C compiler works" >&52019 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2603 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2604 $as_echo_n "checking whether the C compiler works... " >&6; } 2020 2605 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2021 2606 # If not cross compiling, check that we can run a simple program. 2022 2607 if test "$cross_compiling" != yes; then 2023 2608 if { ac_try='./$ac_file' 2024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2025 (eval $ac_try) 2>&5 2609 { (case "(($ac_try" in 2610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2611 *) ac_try_echo=$ac_try;; 2612 esac 2613 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2614 $as_echo "$ac_try_echo") >&5 2615 (eval "$ac_try") 2>&5 2026 2616 ac_status=$? 2027 echo "$as_me:$LINENO: \$? = $ac_status" >&52617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2028 2618 (exit $ac_status); }; }; then 2029 2619 cross_compiling=no … … 2032 2622 cross_compiling=yes 2033 2623 else 2034 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2624 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2626 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2035 2627 If you meant to cross compile, use \`--host'. 2036 2628 See \`config.log' for more details." >&5 2037 echo "$as_me: error: cannot run C compiled programs.2629 $as_echo "$as_me: error: cannot run C compiled programs. 2038 2630 If you meant to cross compile, use \`--host'. 2039 2631 See \`config.log' for more details." >&2;} 2040 { (exit 1); exit 1; }; } 2632 { (exit 1); exit 1; }; }; } 2041 2633 fi 2042 2634 fi 2043 2635 fi 2044 echo "$as_me:$LINENO: result: yes" >&52045 echo "${ECHO_T}yes" >&6 2046 2047 rm -f a.outa.exe conftest$ac_cv_exeext b.out2636 { $as_echo "$as_me:$LINENO: result: yes" >&5 2637 $as_echo "yes" >&6; } 2638 2639 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2048 2640 ac_clean_files=$ac_clean_files_save 2049 # Check th e compiler produces executables we can run. If not, either2641 # Check that the compiler produces executables we can run. If not, either 2050 2642 # the compiler is broken, or we cross compile. 2051 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2052 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2053 echo "$as_me:$LINENO: result: $cross_compiling" >&5 2054 echo "${ECHO_T}$cross_compiling" >&6 2055 2056 echo "$as_me:$LINENO: checking for suffix of executables" >&5 2057 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2059 (eval $ac_link) 2>&5 2643 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2644 $as_echo_n "checking whether we are cross compiling... " >&6; } 2645 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2646 $as_echo "$cross_compiling" >&6; } 2647 2648 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2649 $as_echo_n "checking for suffix of executables... " >&6; } 2650 if { (ac_try="$ac_link" 2651 case "(($ac_try" in 2652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2653 *) ac_try_echo=$ac_try;; 2654 esac 2655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2656 $as_echo "$ac_try_echo") >&5 2657 (eval "$ac_link") 2>&5 2060 2658 ac_status=$? 2061 echo "$as_me:$LINENO: \$? = $ac_status" >&52659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2062 2660 (exit $ac_status); }; then 2063 2661 # If both `conftest.exe' and `conftest' are `present' (well, observable) … … 2068 2666 test -f "$ac_file" || continue 2069 2667 case $ac_file in 2070 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2668 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2071 2669 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2072 export ac_cv_exeext2073 2670 break;; 2074 2671 * ) break;; … … 2076 2673 done 2077 2674 else 2078 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2675 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2677 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2079 2678 See \`config.log' for more details." >&5 2080 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link2679 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2081 2680 See \`config.log' for more details." >&2;} 2082 { (exit 1); exit 1; }; } 2681 { (exit 1); exit 1; }; }; } 2083 2682 fi 2084 2683 2085 2684 rm -f conftest$ac_cv_exeext 2086 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52087 echo "${ECHO_T}$ac_cv_exeext" >&6 2685 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2686 $as_echo "$ac_cv_exeext" >&6; } 2088 2687 2089 2688 rm -f conftest.$ac_ext 2090 2689 EXEEXT=$ac_cv_exeext 2091 2690 ac_exeext=$EXEEXT 2092 echo "$as_me:$LINENO: checking for suffix of object files" >&52093 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2691 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2692 $as_echo_n "checking for suffix of object files... " >&6; } 2094 2693 if test "${ac_cv_objext+set}" = set; then 2095 echo $ECHO_N "(cached) $ECHO_C" >&62694 $as_echo_n "(cached) " >&6 2096 2695 else 2097 2696 cat >conftest.$ac_ext <<_ACEOF … … 2111 2710 _ACEOF 2112 2711 rm -f conftest.o conftest.obj 2113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2114 (eval $ac_compile) 2>&5 2712 if { (ac_try="$ac_compile" 2713 case "(($ac_try" in 2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2715 *) ac_try_echo=$ac_try;; 2716 esac 2717 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2718 $as_echo "$ac_try_echo") >&5 2719 (eval "$ac_compile") 2>&5 2115 2720 ac_status=$? 2116 echo "$as_me:$LINENO: \$? = $ac_status" >&52721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2117 2722 (exit $ac_status); }; then 2118 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2723 for ac_file in conftest.o conftest.obj conftest.*; do 2724 test -f "$ac_file" || continue; 2119 2725 case $ac_file in 2120 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2726 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2121 2727 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2122 2728 break;; … … 2124 2730 done 2125 2731 else 2126 echo "$as_me: failed program was:" >&52732 $as_echo "$as_me: failed program was:" >&5 2127 2733 sed 's/^/| /' conftest.$ac_ext >&5 2128 2734 2129 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2735 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2736 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2737 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2130 2738 See \`config.log' for more details." >&5 2131 echo "$as_me: error: cannot compute suffix of object files: cannot compile2739 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2132 2740 See \`config.log' for more details." >&2;} 2133 { (exit 1); exit 1; }; } 2741 { (exit 1); exit 1; }; }; } 2134 2742 fi 2135 2743 2136 2744 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2137 2745 fi 2138 echo "$as_me:$LINENO: result: $ac_cv_objext" >&52139 echo "${ECHO_T}$ac_cv_objext" >&6 2746 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2747 $as_echo "$ac_cv_objext" >&6; } 2140 2748 OBJEXT=$ac_cv_objext 2141 2749 ac_objext=$OBJEXT 2142 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52143 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2750 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2751 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2144 2752 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2145 echo $ECHO_N "(cached) $ECHO_C" >&62753 $as_echo_n "(cached) " >&6 2146 2754 else 2147 2755 cat >conftest.$ac_ext <<_ACEOF … … 2164 2772 _ACEOF 2165 2773 rm -f conftest.$ac_objext 2166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2167 (eval $ac_compile) 2>conftest.er1 2774 if { (ac_try="$ac_compile" 2775 case "(($ac_try" in 2776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2777 *) ac_try_echo=$ac_try;; 2778 esac 2779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2780 $as_echo "$ac_try_echo") >&5 2781 (eval "$ac_compile") 2>conftest.er1 2168 2782 ac_status=$? 2169 2783 grep -v '^ *+' conftest.er1 >conftest.err 2170 2784 rm -f conftest.er1 2171 2785 cat conftest.err >&5 2172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2173 (exit $ac_status); } && 2174 { ac_try='test -z "$ac_c_werror_flag" 2175 || test ! -s conftest.err' 2176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2177 (eval $ac_try) 2>&5 2178 ac_status=$? 2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2180 (exit $ac_status); }; } && 2181 { ac_try='test -s conftest.$ac_objext' 2182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2183 (eval $ac_try) 2>&5 2184 ac_status=$? 2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2186 (exit $ac_status); }; }; then 2786 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2787 (exit $ac_status); } && { 2788 test -z "$ac_c_werror_flag" || 2789 test ! -s conftest.err 2790 } && test -s conftest.$ac_objext; then 2187 2791 ac_compiler_gnu=yes 2188 2792 else 2189 echo "$as_me: failed program was:" >&52793 $as_echo "$as_me: failed program was:" >&5 2190 2794 sed 's/^/| /' conftest.$ac_ext >&5 2191 2795 2192 ac_compiler_gnu=no 2193 fi 2194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2796 ac_compiler_gnu=no 2797 fi 2798 2799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2195 2800 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2196 2801 2197 2802 fi 2198 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2199 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2200 GCC=`test $ac_compiler_gnu = yes && echo yes` 2803 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2804 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2805 if test $ac_compiler_gnu = yes; then 2806 GCC=yes 2807 else 2808 GCC= 2809 fi 2201 2810 ac_test_CFLAGS=${CFLAGS+set} 2202 2811 ac_save_CFLAGS=$CFLAGS 2203 CFLAGS="-g" 2204 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2205 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2812 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2813 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2206 2814 if test "${ac_cv_prog_cc_g+set}" = set; then 2207 echo $ECHO_N "(cached) $ECHO_C" >&6 2208 else 2209 cat >conftest.$ac_ext <<_ACEOF 2815 $as_echo_n "(cached) " >&6 2816 else 2817 ac_save_c_werror_flag=$ac_c_werror_flag 2818 ac_c_werror_flag=yes 2819 ac_cv_prog_cc_g=no 2820 CFLAGS="-g" 2821 cat >conftest.$ac_ext <<_ACEOF 2210 2822 /* confdefs.h. */ 2211 2823 _ACEOF … … 2223 2835 _ACEOF 2224 2836 rm -f conftest.$ac_objext 2225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2226 (eval $ac_compile) 2>conftest.er1 2837 if { (ac_try="$ac_compile" 2838 case "(($ac_try" in 2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2840 *) ac_try_echo=$ac_try;; 2841 esac 2842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2843 $as_echo "$ac_try_echo") >&5 2844 (eval "$ac_compile") 2>conftest.er1 2227 2845 ac_status=$? 2228 2846 grep -v '^ *+' conftest.er1 >conftest.err 2229 2847 rm -f conftest.er1 2230 2848 cat conftest.err >&5 2231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2232 (exit $ac_status); } && 2233 { ac_try='test -z "$ac_c_werror_flag" 2234 || test ! -s conftest.err' 2235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2236 (eval $ac_try) 2>&5 2849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2850 (exit $ac_status); } && { 2851 test -z "$ac_c_werror_flag" || 2852 test ! -s conftest.err 2853 } && test -s conftest.$ac_objext; then 2854 ac_cv_prog_cc_g=yes 2855 else 2856 $as_echo "$as_me: failed program was:" >&5 2857 sed 's/^/| /' conftest.$ac_ext >&5 2858 2859 CFLAGS="" 2860 cat >conftest.$ac_ext <<_ACEOF 2861 /* confdefs.h. */ 2862 _ACEOF 2863 cat confdefs.h >>conftest.$ac_ext 2864 cat >>conftest.$ac_ext <<_ACEOF 2865 /* end confdefs.h. */ 2866 2867 int 2868 main () 2869 { 2870 2871 ; 2872 return 0; 2873 } 2874 _ACEOF 2875 rm -f conftest.$ac_objext 2876 if { (ac_try="$ac_compile" 2877 case "(($ac_try" in 2878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2879 *) ac_try_echo=$ac_try;; 2880 esac 2881 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2882 $as_echo "$ac_try_echo") >&5 2883 (eval "$ac_compile") 2>conftest.er1 2237 2884 ac_status=$? 2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2239 (exit $ac_status); }; } && 2240 { ac_try='test -s conftest.$ac_objext' 2241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2242 (eval $ac_try) 2>&5 2885 grep -v '^ *+' conftest.er1 >conftest.err 2886 rm -f conftest.er1 2887 cat conftest.err >&5 2888 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2889 (exit $ac_status); } && { 2890 test -z "$ac_c_werror_flag" || 2891 test ! -s conftest.err 2892 } && test -s conftest.$ac_objext; then 2893 : 2894 else 2895 $as_echo "$as_me: failed program was:" >&5 2896 sed 's/^/| /' conftest.$ac_ext >&5 2897 2898 ac_c_werror_flag=$ac_save_c_werror_flag 2899 CFLAGS="-g" 2900 cat >conftest.$ac_ext <<_ACEOF 2901 /* confdefs.h. */ 2902 _ACEOF 2903 cat confdefs.h >>conftest.$ac_ext 2904 cat >>conftest.$ac_ext <<_ACEOF 2905 /* end confdefs.h. */ 2906 2907 int 2908 main () 2909 { 2910 2911 ; 2912 return 0; 2913 } 2914 _ACEOF 2915 rm -f conftest.$ac_objext 2916 if { (ac_try="$ac_compile" 2917 case "(($ac_try" in 2918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2919 *) ac_try_echo=$ac_try;; 2920 esac 2921 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2922 $as_echo "$ac_try_echo") >&5 2923 (eval "$ac_compile") 2>conftest.er1 2243 2924 ac_status=$? 2244 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2245 (exit $ac_status); }; }; then 2925 grep -v '^ *+' conftest.er1 >conftest.err 2926 rm -f conftest.er1 2927 cat conftest.err >&5 2928 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2929 (exit $ac_status); } && { 2930 test -z "$ac_c_werror_flag" || 2931 test ! -s conftest.err 2932 } && test -s conftest.$ac_objext; then 2246 2933 ac_cv_prog_cc_g=yes 2247 2934 else 2248 echo "$as_me: failed program was:" >&52935 $as_echo "$as_me: failed program was:" >&5 2249 2936 sed 's/^/| /' conftest.$ac_ext >&5 2250 2937 2251 ac_cv_prog_cc_g=no 2252 fi 2253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2254 fi 2255 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2256 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2938 2939 fi 2940 2941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2942 fi 2943 2944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2945 fi 2946 2947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2948 ac_c_werror_flag=$ac_save_c_werror_flag 2949 fi 2950 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2951 $as_echo "$ac_cv_prog_cc_g" >&6; } 2257 2952 if test "$ac_test_CFLAGS" = set; then 2258 2953 CFLAGS=$ac_save_CFLAGS … … 2270 2965 fi 2271 2966 fi 2272 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52273 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2274 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2275 echo $ECHO_N "(cached) $ECHO_C" >&62276 else 2277 ac_cv_prog_cc_ stdc=no2967 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2968 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2969 if test "${ac_cv_prog_cc_c89+set}" = set; then 2970 $as_echo_n "(cached) " >&6 2971 else 2972 ac_cv_prog_cc_c89=no 2278 2973 ac_save_CC=$CC 2279 2974 cat >conftest.$ac_ext <<_ACEOF … … 2309 3004 function prototypes and stuff, but not '\xHH' hex character constants. 2310 3005 These don't provoke an error unfortunately, instead are silently treated 2311 as 'x'. The following induces an error, until -std 1is added to get3006 as 'x'. The following induces an error, until -std is added to get 2312 3007 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2313 3008 array size at least. It's necessary to write '\x00'==0 to get something 2314 that's true only with -std 1. */3009 that's true only with -std. */ 2315 3010 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3011 3012 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3013 inside strings and character constants. */ 3014 #define FOO(x) 'x' 3015 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2316 3016 2317 3017 int test (int i, double x); … … 2329 3029 } 2330 3030 _ACEOF 2331 # Don't try gcc -ansi; that turns off useful extensions and 2332 # breaks some systems' header files. 2333 # AIX -qlanglvl=ansi 2334 # Ultrix and OSF/1 -std1 2335 # HP-UX 10.20 and later -Ae 2336 # HP-UX older versions -Aa -D_HPUX_SOURCE 2337 # SVR4 -Xc -D__EXTENSIONS__ 2338 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3031 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3032 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2339 3033 do 2340 3034 CC="$ac_save_CC $ac_arg" 2341 3035 rm -f conftest.$ac_objext 2342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2343 (eval $ac_compile) 2>conftest.er1 3036 if { (ac_try="$ac_compile" 3037 case "(($ac_try" in 3038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3039 *) ac_try_echo=$ac_try;; 3040 esac 3041 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3042 $as_echo "$ac_try_echo") >&5 3043 (eval "$ac_compile") 2>conftest.er1 2344 3044 ac_status=$? 2345 3045 grep -v '^ *+' conftest.er1 >conftest.err 2346 3046 rm -f conftest.er1 2347 3047 cat conftest.err >&5 2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2349 (exit $ac_status); } && 2350 { ac_try='test -z "$ac_c_werror_flag" 2351 || test ! -s conftest.err' 2352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2353 (eval $ac_try) 2>&5 2354 ac_status=$? 2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2356 (exit $ac_status); }; } && 2357 { ac_try='test -s conftest.$ac_objext' 2358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2359 (eval $ac_try) 2>&5 2360 ac_status=$? 2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2362 (exit $ac_status); }; }; then 2363 ac_cv_prog_cc_stdc=$ac_arg 2364 break 2365 else 2366 echo "$as_me: failed program was:" >&5 3048 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3049 (exit $ac_status); } && { 3050 test -z "$ac_c_werror_flag" || 3051 test ! -s conftest.err 3052 } && test -s conftest.$ac_objext; then 3053 ac_cv_prog_cc_c89=$ac_arg 3054 else 3055 $as_echo "$as_me: failed program was:" >&5 2367 3056 sed 's/^/| /' conftest.$ac_ext >&5 2368 3057 2369 fi 2370 rm -f conftest.err conftest.$ac_objext 3058 3059 fi 3060 3061 rm -f core conftest.err conftest.$ac_objext 3062 test "x$ac_cv_prog_cc_c89" != "xno" && break 2371 3063 done 2372 rm -f conftest.$ac_ext conftest.$ac_objext3064 rm -f conftest.$ac_ext 2373 3065 CC=$ac_save_CC 2374 3066 2375 3067 fi 2376 2377 case "x$ac_cv_prog_cc_stdc" in 2378 x|xno) 2379 echo "$as_me:$LINENO: result: none needed" >&5 2380 echo "${ECHO_T}none needed" >&6 ;; 3068 # AC_CACHE_VAL 3069 case "x$ac_cv_prog_cc_c89" in 3070 x) 3071 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3072 $as_echo "none needed" >&6; } ;; 3073 xno) 3074 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3075 $as_echo "unsupported" >&6; } ;; 2381 3076 *) 2382 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2383 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2384 CC="$CC $ac_cv_prog_cc_stdc" ;; 2385 esac 2386 2387 # Some people use a C++ compiler to compile C. Since we use `exit', 2388 # in C++ we need to declare it. In case someone uses the same compiler 2389 # for both compiling C and C++ we need to have the C++ compiler decide 2390 # the declaration of exit, since it's the most demanding environment. 2391 cat >conftest.$ac_ext <<_ACEOF 2392 #ifndef __cplusplus 2393 choke me 2394 #endif 2395 _ACEOF 2396 rm -f conftest.$ac_objext 2397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2398 (eval $ac_compile) 2>conftest.er1 2399 ac_status=$? 2400 grep -v '^ *+' conftest.er1 >conftest.err 2401 rm -f conftest.er1 2402 cat conftest.err >&5 2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2404 (exit $ac_status); } && 2405 { ac_try='test -z "$ac_c_werror_flag" 2406 || test ! -s conftest.err' 2407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2408 (eval $ac_try) 2>&5 2409 ac_status=$? 2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2411 (exit $ac_status); }; } && 2412 { ac_try='test -s conftest.$ac_objext' 2413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2414 (eval $ac_try) 2>&5 2415 ac_status=$? 2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2417 (exit $ac_status); }; }; then 2418 for ac_declaration in \ 2419 '' \ 2420 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2421 'extern "C" void std::exit (int); using std::exit;' \ 2422 'extern "C" void exit (int) throw ();' \ 2423 'extern "C" void exit (int);' \ 2424 'void exit (int);' 2425 do 2426 cat >conftest.$ac_ext <<_ACEOF 2427 /* confdefs.h. */ 2428 _ACEOF 2429 cat confdefs.h >>conftest.$ac_ext 2430 cat >>conftest.$ac_ext <<_ACEOF 2431 /* end confdefs.h. */ 2432 $ac_declaration 2433 #include <stdlib.h> 2434 int 2435 main () 2436 { 2437 exit (42); 2438 ; 2439 return 0; 2440 } 2441 _ACEOF 2442 rm -f conftest.$ac_objext 2443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2444 (eval $ac_compile) 2>conftest.er1 2445 ac_status=$? 2446 grep -v '^ *+' conftest.er1 >conftest.err 2447 rm -f conftest.er1 2448 cat conftest.err >&5 2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2450 (exit $ac_status); } && 2451 { ac_try='test -z "$ac_c_werror_flag" 2452 || test ! -s conftest.err' 2453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2454 (eval $ac_try) 2>&5 2455 ac_status=$? 2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2457 (exit $ac_status); }; } && 2458 { ac_try='test -s conftest.$ac_objext' 2459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2460 (eval $ac_try) 2>&5 2461 ac_status=$? 2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2463 (exit $ac_status); }; }; then 2464 : 2465 else 2466 echo "$as_me: failed program was:" >&5 2467 sed 's/^/| /' conftest.$ac_ext >&5 2468 2469 continue 2470 fi 2471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2472 cat >conftest.$ac_ext <<_ACEOF 2473 /* confdefs.h. */ 2474 _ACEOF 2475 cat confdefs.h >>conftest.$ac_ext 2476 cat >>conftest.$ac_ext <<_ACEOF 2477 /* end confdefs.h. */ 2478 $ac_declaration 2479 int 2480 main () 2481 { 2482 exit (42); 2483 ; 2484 return 0; 2485 } 2486 _ACEOF 2487 rm -f conftest.$ac_objext 2488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2489 (eval $ac_compile) 2>conftest.er1 2490 ac_status=$? 2491 grep -v '^ *+' conftest.er1 >conftest.err 2492 rm -f conftest.er1 2493 cat conftest.err >&5 2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2495 (exit $ac_status); } && 2496 { ac_try='test -z "$ac_c_werror_flag" 2497 || test ! -s conftest.err' 2498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2499 (eval $ac_try) 2>&5 2500 ac_status=$? 2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2502 (exit $ac_status); }; } && 2503 { ac_try='test -s conftest.$ac_objext' 2504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2505 (eval $ac_try) 2>&5 2506 ac_status=$? 2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2508 (exit $ac_status); }; }; then 2509 break 2510 else 2511 echo "$as_me: failed program was:" >&5 2512 sed 's/^/| /' conftest.$ac_ext >&5 2513 2514 fi 2515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2516 done 2517 rm -f conftest* 2518 if test -n "$ac_declaration"; then 2519 echo '#ifdef __cplusplus' >>confdefs.h 2520 echo $ac_declaration >>confdefs.h 2521 echo '#endif' >>confdefs.h 2522 fi 2523 2524 else 2525 echo "$as_me: failed program was:" >&5 2526 sed 's/^/| /' conftest.$ac_ext >&5 2527 2528 fi 2529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3077 CC="$CC $ac_cv_prog_cc_c89" 3078 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3079 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3080 esac 3081 3082 2530 3083 ac_ext=c 2531 3084 ac_cpp='$CPP $CPPFLAGS' … … 2534 3087 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2535 3088 2536 ac_ext=c c3089 ac_ext=cpp 2537 3090 ac_cpp='$CXXCPP $CPPFLAGS' 2538 3091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2539 3092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2540 3093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2541 if test -n "$ac_tool_prefix"; then 2542 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 3094 if test -z "$CXX"; then 3095 if test -n "$CCC"; then 3096 CXX=$CCC 3097 else 3098 if test -n "$ac_tool_prefix"; then 3099 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2543 3100 do 2544 3101 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2545 3102 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2546 echo "$as_me:$LINENO: checking for $ac_word" >&52547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3103 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3104 $as_echo_n "checking for $ac_word... " >&6; } 2548 3105 if test "${ac_cv_prog_CXX+set}" = set; then 2549 echo $ECHO_N "(cached) $ECHO_C" >&63106 $as_echo_n "(cached) " >&6 2550 3107 else 2551 3108 if test -n "$CXX"; then … … 2558 3115 test -z "$as_dir" && as_dir=. 2559 3116 for ac_exec_ext in '' $ac_executable_extensions; do 2560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2561 3118 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53119 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2563 3120 break 2 2564 3121 fi 2565 3122 done 2566 3123 done 3124 IFS=$as_save_IFS 2567 3125 2568 3126 fi … … 2570 3128 CXX=$ac_cv_prog_CXX 2571 3129 if test -n "$CXX"; then 2572 echo "$as_me:$LINENO: result: $CXX" >&5 2573 echo "${ECHO_T}$CXX" >&6 2574 else 2575 echo "$as_me:$LINENO: result: no" >&5 2576 echo "${ECHO_T}no" >&6 2577 fi 3130 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 3131 $as_echo "$CXX" >&6; } 3132 else 3133 { $as_echo "$as_me:$LINENO: result: no" >&5 3134 $as_echo "no" >&6; } 3135 fi 3136 2578 3137 2579 3138 test -n "$CXX" && break … … 2582 3141 if test -z "$CXX"; then 2583 3142 ac_ct_CXX=$CXX 2584 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ clFCC KCC RCC xlC_r xlC3143 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2585 3144 do 2586 3145 # Extract the first word of "$ac_prog", so it can be a program name with args. 2587 3146 set dummy $ac_prog; ac_word=$2 2588 echo "$as_me:$LINENO: checking for $ac_word" >&52589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3147 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3148 $as_echo_n "checking for $ac_word... " >&6; } 2590 3149 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2591 echo $ECHO_N "(cached) $ECHO_C" >&63150 $as_echo_n "(cached) " >&6 2592 3151 else 2593 3152 if test -n "$ac_ct_CXX"; then … … 2600 3159 test -z "$as_dir" && as_dir=. 2601 3160 for ac_exec_ext in '' $ac_executable_extensions; do 2602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2603 3162 ac_cv_prog_ac_ct_CXX="$ac_prog" 2604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53163 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2605 3164 break 2 2606 3165 fi 2607 3166 done 2608 3167 done 3168 IFS=$as_save_IFS 2609 3169 2610 3170 fi … … 2612 3172 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2613 3173 if test -n "$ac_ct_CXX"; then 2614 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2615 echo "${ECHO_T}$ac_ct_CXX" >&6 2616 else 2617 echo "$as_me:$LINENO: result: no" >&5 2618 echo "${ECHO_T}no" >&6 2619 fi 3174 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 3175 $as_echo "$ac_ct_CXX" >&6; } 3176 else 3177 { $as_echo "$as_me:$LINENO: result: no" >&5 3178 $as_echo "no" >&6; } 3179 fi 3180 2620 3181 2621 3182 test -n "$ac_ct_CXX" && break 2622 3183 done 2623 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2624 2625 CXX=$ac_ct_CXX 2626 fi 2627 2628 3184 3185 if test "x$ac_ct_CXX" = x; then 3186 CXX="g++" 3187 else 3188 case $cross_compiling:$ac_tool_warned in 3189 yes:) 3190 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3192 ac_tool_warned=yes ;; 3193 esac 3194 CXX=$ac_ct_CXX 3195 fi 3196 fi 3197 3198 fi 3199 fi 2629 3200 # Provide some information about the compiler. 2630 echo "$as_me:$LINENO:" \ 2631 "checking for C++ compiler version" >&5 2632 ac_compiler=`set X $ac_compile; echo $2` 2633 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2634 (eval $ac_compiler --version </dev/null >&5) 2>&5 3201 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3202 set X $ac_compile 3203 ac_compiler=$2 3204 { (ac_try="$ac_compiler --version >&5" 3205 case "(($ac_try" in 3206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3207 *) ac_try_echo=$ac_try;; 3208 esac 3209 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3210 $as_echo "$ac_try_echo") >&5 3211 (eval "$ac_compiler --version >&5") 2>&5 2635 3212 ac_status=$? 2636 echo "$as_me:$LINENO: \$? = $ac_status" >&53213 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2637 3214 (exit $ac_status); } 2638 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2639 (eval $ac_compiler -v </dev/null >&5) 2>&5 3215 { (ac_try="$ac_compiler -v >&5" 3216 case "(($ac_try" in 3217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3218 *) ac_try_echo=$ac_try;; 3219 esac 3220 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3221 $as_echo "$ac_try_echo") >&5 3222 (eval "$ac_compiler -v >&5") 2>&5 2640 3223 ac_status=$? 2641 echo "$as_me:$LINENO: \$? = $ac_status" >&53224 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2642 3225 (exit $ac_status); } 2643 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2644 (eval $ac_compiler -V </dev/null >&5) 2>&5 3226 { (ac_try="$ac_compiler -V >&5" 3227 case "(($ac_try" in 3228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3229 *) ac_try_echo=$ac_try;; 3230 esac 3231 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3232 $as_echo "$ac_try_echo") >&5 3233 (eval "$ac_compiler -V >&5") 2>&5 2645 3234 ac_status=$? 2646 echo "$as_me:$LINENO: \$? = $ac_status" >&53235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2647 3236 (exit $ac_status); } 2648 3237 2649 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&52650 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 3238 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3239 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 2651 3240 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2652 echo $ECHO_N "(cached) $ECHO_C" >&63241 $as_echo_n "(cached) " >&6 2653 3242 else 2654 3243 cat >conftest.$ac_ext <<_ACEOF … … 2671 3260 _ACEOF 2672 3261 rm -f conftest.$ac_objext 2673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2674 (eval $ac_compile) 2>conftest.er1 3262 if { (ac_try="$ac_compile" 3263 case "(($ac_try" in 3264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3265 *) ac_try_echo=$ac_try;; 3266 esac 3267 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3268 $as_echo "$ac_try_echo") >&5 3269 (eval "$ac_compile") 2>conftest.er1 2675 3270 ac_status=$? 2676 3271 grep -v '^ *+' conftest.er1 >conftest.err 2677 3272 rm -f conftest.er1 2678 3273 cat conftest.err >&5 2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2680 (exit $ac_status); } && 2681 { ac_try='test -z "$ac_cxx_werror_flag" 2682 || test ! -s conftest.err' 2683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2684 (eval $ac_try) 2>&5 2685 ac_status=$? 2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2687 (exit $ac_status); }; } && 2688 { ac_try='test -s conftest.$ac_objext' 2689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2690 (eval $ac_try) 2>&5 2691 ac_status=$? 2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2693 (exit $ac_status); }; }; then 3274 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3275 (exit $ac_status); } && { 3276 test -z "$ac_cxx_werror_flag" || 3277 test ! -s conftest.err 3278 } && test -s conftest.$ac_objext; then 2694 3279 ac_compiler_gnu=yes 2695 3280 else 2696 echo "$as_me: failed program was:" >&53281 $as_echo "$as_me: failed program was:" >&5 2697 3282 sed 's/^/| /' conftest.$ac_ext >&5 2698 3283 2699 ac_compiler_gnu=no 2700 fi 2701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3284 ac_compiler_gnu=no 3285 fi 3286 3287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2702 3288 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2703 3289 2704 3290 fi 2705 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2706 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2707 GXX=`test $ac_compiler_gnu = yes && echo yes` 3291 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3292 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3293 if test $ac_compiler_gnu = yes; then 3294 GXX=yes 3295 else 3296 GXX= 3297 fi 2708 3298 ac_test_CXXFLAGS=${CXXFLAGS+set} 2709 3299 ac_save_CXXFLAGS=$CXXFLAGS 2710 CXXFLAGS="-g" 2711 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2712 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 3300 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3301 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 2713 3302 if test "${ac_cv_prog_cxx_g+set}" = set; then 2714 echo $ECHO_N "(cached) $ECHO_C" >&6 2715 else 2716 cat >conftest.$ac_ext <<_ACEOF 3303 $as_echo_n "(cached) " >&6 3304 else 3305 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3306 ac_cxx_werror_flag=yes 3307 ac_cv_prog_cxx_g=no 3308 CXXFLAGS="-g" 3309 cat >conftest.$ac_ext <<_ACEOF 2717 3310 /* confdefs.h. */ 2718 3311 _ACEOF … … 2730 3323 _ACEOF 2731 3324 rm -f conftest.$ac_objext 2732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2733 (eval $ac_compile) 2>conftest.er1 3325 if { (ac_try="$ac_compile" 3326 case "(($ac_try" in 3327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3328 *) ac_try_echo=$ac_try;; 3329 esac 3330 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3331 $as_echo "$ac_try_echo") >&5 3332 (eval "$ac_compile") 2>conftest.er1 2734 3333 ac_status=$? 2735 3334 grep -v '^ *+' conftest.er1 >conftest.err 2736 3335 rm -f conftest.er1 2737 3336 cat conftest.err >&5 2738 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2739 (exit $ac_status); } && 2740 { ac_try='test -z "$ac_cxx_werror_flag" 2741 || test ! -s conftest.err' 2742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2743 (eval $ac_try) 2>&5 3337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3338 (exit $ac_status); } && { 3339 test -z "$ac_cxx_werror_flag" || 3340 test ! -s conftest.err 3341 } && test -s conftest.$ac_objext; then 3342 ac_cv_prog_cxx_g=yes 3343 else 3344 $as_echo "$as_me: failed program was:" >&5 3345 sed 's/^/| /' conftest.$ac_ext >&5 3346 3347 CXXFLAGS="" 3348 cat >conftest.$ac_ext <<_ACEOF 3349 /* confdefs.h. */ 3350 _ACEOF 3351 cat confdefs.h >>conftest.$ac_ext 3352 cat >>conftest.$ac_ext <<_ACEOF 3353 /* end confdefs.h. */ 3354 3355 int 3356 main () 3357 { 3358 3359 ; 3360 return 0; 3361 } 3362 _ACEOF 3363 rm -f conftest.$ac_objext 3364 if { (ac_try="$ac_compile" 3365 case "(($ac_try" in 3366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3367 *) ac_try_echo=$ac_try;; 3368 esac 3369 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3370 $as_echo "$ac_try_echo") >&5 3371 (eval "$ac_compile") 2>conftest.er1 2744 3372 ac_status=$? 2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2746 (exit $ac_status); }; } && 2747 { ac_try='test -s conftest.$ac_objext' 2748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2749 (eval $ac_try) 2>&5 3373 grep -v '^ *+' conftest.er1 >conftest.err 3374 rm -f conftest.er1 3375 cat conftest.err >&5 3376 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3377 (exit $ac_status); } && { 3378 test -z "$ac_cxx_werror_flag" || 3379 test ! -s conftest.err 3380 } && test -s conftest.$ac_objext; then 3381 : 3382 else 3383 $as_echo "$as_me: failed program was:" >&5 3384 sed 's/^/| /' conftest.$ac_ext >&5 3385 3386 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3387 CXXFLAGS="-g" 3388 cat >conftest.$ac_ext <<_ACEOF 3389 /* confdefs.h. */ 3390 _ACEOF 3391 cat confdefs.h >>conftest.$ac_ext 3392 cat >>conftest.$ac_ext <<_ACEOF 3393 /* end confdefs.h. */ 3394 3395 int 3396 main () 3397 { 3398 3399 ; 3400 return 0; 3401 } 3402 _ACEOF 3403 rm -f conftest.$ac_objext 3404 if { (ac_try="$ac_compile" 3405 case "(($ac_try" in 3406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3407 *) ac_try_echo=$ac_try;; 3408 esac 3409 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3410 $as_echo "$ac_try_echo") >&5 3411 (eval "$ac_compile") 2>conftest.er1 2750 3412 ac_status=$? 2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2752 (exit $ac_status); }; }; then 3413 grep -v '^ *+' conftest.er1 >conftest.err 3414 rm -f conftest.er1 3415 cat conftest.err >&5 3416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3417 (exit $ac_status); } && { 3418 test -z "$ac_cxx_werror_flag" || 3419 test ! -s conftest.err 3420 } && test -s conftest.$ac_objext; then 2753 3421 ac_cv_prog_cxx_g=yes 2754 3422 else 2755 echo "$as_me: failed program was:" >&53423 $as_echo "$as_me: failed program was:" >&5 2756 3424 sed 's/^/| /' conftest.$ac_ext >&5 2757 3425 2758 ac_cv_prog_cxx_g=no 2759 fi 2760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2761 fi 2762 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2763 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3426 3427 fi 3428 3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3430 fi 3431 3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3433 fi 3434 3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3436 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3437 fi 3438 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3439 $as_echo "$ac_cv_prog_cxx_g" >&6; } 2764 3440 if test "$ac_test_CXXFLAGS" = set; then 2765 3441 CXXFLAGS=$ac_save_CXXFLAGS … … 2777 3453 fi 2778 3454 fi 2779 for ac_declaration in \2780 '' \2781 'extern "C" void std::exit (int) throw (); using std::exit;' \2782 'extern "C" void std::exit (int); using std::exit;' \2783 'extern "C" void exit (int) throw ();' \2784 'extern "C" void exit (int);' \2785 'void exit (int);'2786 do2787 cat >conftest.$ac_ext <<_ACEOF2788 /* confdefs.h. */2789 _ACEOF2790 cat confdefs.h >>conftest.$ac_ext2791 cat >>conftest.$ac_ext <<_ACEOF2792 /* end confdefs.h. */2793 $ac_declaration2794 #include <stdlib.h>2795 int2796 main ()2797 {2798 exit (42);2799 ;2800 return 0;2801 }2802 _ACEOF2803 rm -f conftest.$ac_objext2804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52805 (eval $ac_compile) 2>conftest.er12806 ac_status=$?2807 grep -v '^ *+' conftest.er1 >conftest.err2808 rm -f conftest.er12809 cat conftest.err >&52810 echo "$as_me:$LINENO: \$? = $ac_status" >&52811 (exit $ac_status); } &&2812 { ac_try='test -z "$ac_cxx_werror_flag"2813 || test ! -s conftest.err'2814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52815 (eval $ac_try) 2>&52816 ac_status=$?2817 echo "$as_me:$LINENO: \$? = $ac_status" >&52818 (exit $ac_status); }; } &&2819 { ac_try='test -s conftest.$ac_objext'2820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52821 (eval $ac_try) 2>&52822 ac_status=$?2823 echo "$as_me:$LINENO: \$? = $ac_status" >&52824 (exit $ac_status); }; }; then2825 :2826 else2827 echo "$as_me: failed program was:" >&52828 sed 's/^/| /' conftest.$ac_ext >&52829 2830 continue2831 fi2832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2833 cat >conftest.$ac_ext <<_ACEOF2834 /* confdefs.h. */2835 _ACEOF2836 cat confdefs.h >>conftest.$ac_ext2837 cat >>conftest.$ac_ext <<_ACEOF2838 /* end confdefs.h. */2839 $ac_declaration2840 int2841 main ()2842 {2843 exit (42);2844 ;2845 return 0;2846 }2847 _ACEOF2848 rm -f conftest.$ac_objext2849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52850 (eval $ac_compile) 2>conftest.er12851 ac_status=$?2852 grep -v '^ *+' conftest.er1 >conftest.err2853 rm -f conftest.er12854 cat conftest.err >&52855 echo "$as_me:$LINENO: \$? = $ac_status" >&52856 (exit $ac_status); } &&2857 { ac_try='test -z "$ac_cxx_werror_flag"2858 || test ! -s conftest.err'2859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52860 (eval $ac_try) 2>&52861 ac_status=$?2862 echo "$as_me:$LINENO: \$? = $ac_status" >&52863 (exit $ac_status); }; } &&2864 { ac_try='test -s conftest.$ac_objext'2865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52866 (eval $ac_try) 2>&52867 ac_status=$?2868 echo "$as_me:$LINENO: \$? = $ac_status" >&52869 (exit $ac_status); }; }; then2870 break2871 else2872 echo "$as_me: failed program was:" >&52873 sed 's/^/| /' conftest.$ac_ext >&52874 2875 fi2876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2877 done2878 rm -f conftest*2879 if test -n "$ac_declaration"; then2880 echo '#ifdef __cplusplus' >>confdefs.h2881 echo $ac_declaration >>confdefs.h2882 echo '#endif' >>confdefs.h2883 fi2884 2885 3455 ac_ext=c 2886 3456 ac_cpp='$CPP $CPPFLAGS' … … 2898 3468 # Extract the first word of "$ac_prog", so it can be a program name with args. 2899 3469 set dummy $ac_prog; ac_word=$2 2900 echo "$as_me:$LINENO: checking for $ac_word" >&52901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3470 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3471 $as_echo_n "checking for $ac_word... " >&6; } 2902 3472 if test "${ac_cv_prog_JAVA+set}" = set; then 2903 echo $ECHO_N "(cached) $ECHO_C" >&63473 $as_echo_n "(cached) " >&6 2904 3474 else 2905 3475 if test -n "$JAVA"; then … … 2912 3482 test -z "$as_dir" && as_dir=. 2913 3483 for ac_exec_ext in '' $ac_executable_extensions; do 2914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2915 3485 ac_cv_prog_JAVA="$ac_prog" 2916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53486 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2917 3487 break 2 2918 3488 fi 2919 3489 done 2920 3490 done 3491 IFS=$as_save_IFS 2921 3492 2922 3493 fi … … 2924 3495 JAVA=$ac_cv_prog_JAVA 2925 3496 if test -n "$JAVA"; then 2926 echo "$as_me:$LINENO: result: $JAVA" >&5 2927 echo "${ECHO_T}$JAVA" >&6 2928 else 2929 echo "$as_me:$LINENO: result: no" >&5 2930 echo "${ECHO_T}no" >&6 2931 fi 3497 { $as_echo "$as_me:$LINENO: result: $JAVA" >&5 3498 $as_echo "$JAVA" >&6; } 3499 else 3500 { $as_echo "$as_me:$LINENO: result: no" >&5 3501 $as_echo "no" >&6; } 3502 fi 3503 2932 3504 2933 3505 test -n "$JAVA" && break … … 2939 3511 # Extract the first word of "$ac_prog", so it can be a program name with args. 2940 3512 set dummy $ac_prog; ac_word=$2 2941 echo "$as_me:$LINENO: checking for $ac_word" >&52942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3513 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3514 $as_echo_n "checking for $ac_word... " >&6; } 2943 3515 if test "${ac_cv_prog_JAVA+set}" = set; then 2944 echo $ECHO_N "(cached) $ECHO_C" >&63516 $as_echo_n "(cached) " >&6 2945 3517 else 2946 3518 if test -n "$JAVA"; then … … 2953 3525 test -z "$as_dir" && as_dir=. 2954 3526 for ac_exec_ext in '' $ac_executable_extensions; do 2955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2956 3528 ac_cv_prog_JAVA="$ac_prog" 2957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53529 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2958 3530 break 2 2959 3531 fi 2960 3532 done 2961 3533 done 3534 IFS=$as_save_IFS 2962 3535 2963 3536 fi … … 2965 3538 JAVA=$ac_cv_prog_JAVA 2966 3539 if test -n "$JAVA"; then 2967 echo "$as_me:$LINENO: result: $JAVA" >&5 2968 echo "${ECHO_T}$JAVA" >&6 2969 else 2970 echo "$as_me:$LINENO: result: no" >&5 2971 echo "${ECHO_T}no" >&6 2972 fi 3540 { $as_echo "$as_me:$LINENO: result: $JAVA" >&5 3541 $as_echo "$JAVA" >&6; } 3542 else 3543 { $as_echo "$as_me:$LINENO: result: no" >&5 3544 $as_echo "no" >&6; } 3545 fi 3546 2973 3547 2974 3548 test -n "$JAVA" && break … … 2977 3551 2978 3552 fi 2979 test x$JAVA = x && { { echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&52980 echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;}3553 test x$JAVA = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5 3554 $as_echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;} 2981 3555 { (exit 1); exit 1; }; } 2982 3556 fi … … 2985 3559 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args. 2986 3560 set dummy uudecode$EXEEXT; ac_word=$2 2987 echo "$as_me:$LINENO: checking for $ac_word" >&52988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3561 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3562 $as_echo_n "checking for $ac_word... " >&6; } 2989 3563 if test "${ac_cv_prog_uudecode+set}" = set; then 2990 echo $ECHO_N "(cached) $ECHO_C" >&63564 $as_echo_n "(cached) " >&6 2991 3565 else 2992 3566 if test -n "$uudecode"; then … … 2999 3573 test -z "$as_dir" && as_dir=. 3000 3574 for ac_exec_ext in '' $ac_executable_extensions; do 3001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3002 3576 ac_cv_prog_uudecode="yes" 3003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53577 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3004 3578 break 2 3005 3579 fi 3006 3580 done 3007 3581 done 3582 IFS=$as_save_IFS 3008 3583 3009 3584 fi … … 3011 3586 uudecode=$ac_cv_prog_uudecode 3012 3587 if test -n "$uudecode"; then 3013 echo "$as_me:$LINENO: result: $uudecode" >&5 3014 echo "${ECHO_T}$uudecode" >&6 3015 else 3016 echo "$as_me:$LINENO: result: no" >&5 3017 echo "${ECHO_T}no" >&6 3018 fi 3588 { $as_echo "$as_me:$LINENO: result: $uudecode" >&5 3589 $as_echo "$uudecode" >&6; } 3590 else 3591 { $as_echo "$as_me:$LINENO: result: no" >&5 3592 $as_echo "no" >&6; } 3593 fi 3594 3019 3595 3020 3596 if test x$uudecode = xyes; then 3021 echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&53022 echo $ECHO_N "checking if uudecode can decode base 64 file... $ECHO_C" >&6 3597 { $as_echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5 3598 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; } 3023 3599 if test "${ac_cv_prog_uudecode_base64+set}" = set; then 3024 echo $ECHO_N "(cached) $ECHO_C" >&63600 $as_echo_n "(cached) " >&6 3025 3601 else 3026 3602 … … 3039 3615 ac_cv_prog_uudecode_base64=yes 3040 3616 else 3041 echo "configure: 3 041: uudecode had trouble decoding base 64 file 'Test.uue'" >&53617 echo "configure: 3617: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 3042 3618 echo "configure: failed file was:" >&5 3043 3619 cat Test.uue >&5 … … 3046 3622 rm -f Test.uue 3047 3623 fi 3048 echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&53049 echo "${ECHO_T}$ac_cv_prog_uudecode_base64" >&6 3624 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5 3625 $as_echo "$ac_cv_prog_uudecode_base64" >&6; } 3050 3626 fi 3051 3627 if test x$ac_cv_prog_uudecode_base64 != xyes; then 3052 3628 rm -f Test.class 3053 { echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&53054 echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}3629 { $as_echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5 3630 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;} 3055 3631 if test x$ac_cv_prog_javac_works = xno; then 3056 { { echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&53057 echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;}3632 { { $as_echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5 3633 $as_echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;} 3058 3634 { (exit 1); exit 1; }; } 3059 3635 fi … … 3066 3642 # Extract the first word of "$ac_prog", so it can be a program name with args. 3067 3643 set dummy $ac_prog; ac_word=$2 3068 echo "$as_me:$LINENO: checking for $ac_word" >&53069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3644 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3645 $as_echo_n "checking for $ac_word... " >&6; } 3070 3646 if test "${ac_cv_prog_JAVAC+set}" = set; then 3071 echo $ECHO_N "(cached) $ECHO_C" >&63647 $as_echo_n "(cached) " >&6 3072 3648 else 3073 3649 if test -n "$JAVAC"; then … … 3080 3656 test -z "$as_dir" && as_dir=. 3081 3657 for ac_exec_ext in '' $ac_executable_extensions; do 3082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3083 3659 ac_cv_prog_JAVAC="$ac_prog" 3084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53660 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3085 3661 break 2 3086 3662 fi 3087 3663 done 3088 3664 done 3665 IFS=$as_save_IFS 3089 3666 3090 3667 fi … … 3092 3669 JAVAC=$ac_cv_prog_JAVAC 3093 3670 if test -n "$JAVAC"; then 3094 echo "$as_me:$LINENO: result: $JAVAC" >&5 3095 echo "${ECHO_T}$JAVAC" >&6 3096 else 3097 echo "$as_me:$LINENO: result: no" >&5 3098 echo "${ECHO_T}no" >&6 3099 fi 3671 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3672 $as_echo "$JAVAC" >&6; } 3673 else 3674 { $as_echo "$as_me:$LINENO: result: no" >&5 3675 $as_echo "no" >&6; } 3676 fi 3677 3100 3678 3101 3679 test -n "$JAVAC" && break … … 3107 3685 # Extract the first word of "$ac_prog", so it can be a program name with args. 3108 3686 set dummy $ac_prog; ac_word=$2 3109 echo "$as_me:$LINENO: checking for $ac_word" >&53110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3687 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3688 $as_echo_n "checking for $ac_word... " >&6; } 3111 3689 if test "${ac_cv_prog_JAVAC+set}" = set; then 3112 echo $ECHO_N "(cached) $ECHO_C" >&63690 $as_echo_n "(cached) " >&6 3113 3691 else 3114 3692 if test -n "$JAVAC"; then … … 3121 3699 test -z "$as_dir" && as_dir=. 3122 3700 for ac_exec_ext in '' $ac_executable_extensions; do 3123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3124 3702 ac_cv_prog_JAVAC="$ac_prog" 3125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53703 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3126 3704 break 2 3127 3705 fi 3128 3706 done 3129 3707 done 3708 IFS=$as_save_IFS 3130 3709 3131 3710 fi … … 3133 3712 JAVAC=$ac_cv_prog_JAVAC 3134 3713 if test -n "$JAVAC"; then 3135 echo "$as_me:$LINENO: result: $JAVAC" >&5 3136 echo "${ECHO_T}$JAVAC" >&6 3137 else 3138 echo "$as_me:$LINENO: result: no" >&5 3139 echo "${ECHO_T}no" >&6 3140 fi 3714 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3715 $as_echo "$JAVAC" >&6; } 3716 else 3717 { $as_echo "$as_me:$LINENO: result: no" >&5 3718 $as_echo "no" >&6; } 3719 fi 3720 3141 3721 3142 3722 test -n "$JAVAC" && break … … 3145 3725 3146 3726 fi 3147 test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&53148 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}3727 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3728 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 3149 3729 { (exit 1); exit 1; }; } 3150 3730 else … … 3153 3733 3154 3734 3155 echo "$as_me:$LINENO: checking if $JAVAC works" >&53156 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6 3735 { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5 3736 $as_echo_n "checking if $JAVAC works... " >&6; } 3157 3737 if test "${ac_cv_prog_javac_works+set}" = set; then 3158 echo $ECHO_N "(cached) $ECHO_C" >&63738 $as_echo_n "(cached) " >&6 3159 3739 else 3160 3740 … … 3162 3742 CLASS_TEST=Test.class 3163 3743 cat << \EOF > $JAVA_TEST 3164 /* #line 3 164 "configure" */3744 /* #line 3744 "configure" */ 3165 3745 public class Test { 3166 3746 } … … 3170 3750 (eval $ac_try) 2>&5 3171 3751 ac_status=$? 3172 echo "$as_me:$LINENO: \$? = $ac_status" >&53752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3173 3753 (exit $ac_status); }; } >/dev/null 2>&1; then 3174 3754 ac_cv_prog_javac_works=yes 3175 3755 else 3176 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&53177 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}3756 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3757 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3178 3758 { (exit 1); exit 1; }; } 3179 3759 echo "configure: failed program was:" >&5 … … 3183 3763 3184 3764 fi 3185 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&53186 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6 3765 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 3766 $as_echo "$ac_cv_prog_javac_works" >&6; } 3187 3767 if test "x$JAVACFLAGS" = x ; then 3188 3768 JAVACFLAGS="-source 1.4 -target 1.4" … … 3193 3773 fi 3194 3774 fi 3195 echo "$as_me:$LINENO: checking if $JAVA works" >&53196 echo $ECHO_N "checking if $JAVA works... $ECHO_C" >&6 3775 { $as_echo "$as_me:$LINENO: checking if $JAVA works" >&5 3776 $as_echo_n "checking if $JAVA works... " >&6; } 3197 3777 if test "${ac_cv_prog_java_works+set}" = set; then 3198 echo $ECHO_N "(cached) $ECHO_C" >&63778 $as_echo_n "(cached) " >&6 3199 3779 else 3200 3780 … … 3203 3783 TEST=Test 3204 3784 cat << \EOF > $JAVA_TEST 3205 /* [#]line 3 205 "configure" */3785 /* [#]line 3785 "configure" */ 3206 3786 public class Test { 3207 3787 public static void main (String args[]) { … … 3214 3794 (eval $ac_try) 2>&5 3215 3795 ac_status=$? 3216 echo "$as_me:$LINENO: \$? = $ac_status" >&53796 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3217 3797 (exit $ac_status); }; } && test -s $CLASS_TEST; then 3218 3798 : … … 3220 3800 echo "configure: failed program was:" >&5 3221 3801 cat $JAVA_TEST >&5 3222 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&53223 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}3802 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3803 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3224 3804 { (exit 1); exit 1; }; } 3225 3805 fi … … 3229 3809 (eval $ac_try) 2>&5 3230 3810 ac_status=$? 3231 echo "$as_me:$LINENO: \$? = $ac_status" >&53811 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3232 3812 (exit $ac_status); }; } >/dev/null 2>&1; then 3233 3813 ac_cv_prog_java_works=yes … … 3235 3815 echo "configure: failed program was:" >&5 3236 3816 cat $JAVA_TEST >&5 3237 { { echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&53238 echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;}3817 { { $as_echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5 3818 $as_echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;} 3239 3819 { (exit 1); exit 1; }; } 3240 3820 fi … … 3242 3822 3243 3823 fi 3244 echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&53245 echo "${ECHO_T}$ac_cv_prog_java_works" >&6 3824 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5 3825 $as_echo "$ac_cv_prog_java_works" >&6; } 3246 3826 3247 3827 … … 3254 3834 # Extract the first word of "$ac_prog", so it can be a program name with args. 3255 3835 set dummy $ac_prog; ac_word=$2 3256 echo "$as_me:$LINENO: checking for $ac_word" >&53257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3836 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3837 $as_echo_n "checking for $ac_word... " >&6; } 3258 3838 if test "${ac_cv_prog_JAVAC+set}" = set; then 3259 echo $ECHO_N "(cached) $ECHO_C" >&63839 $as_echo_n "(cached) " >&6 3260 3840 else 3261 3841 if test -n "$JAVAC"; then … … 3268 3848 test -z "$as_dir" && as_dir=. 3269 3849 for ac_exec_ext in '' $ac_executable_extensions; do 3270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3271 3851 ac_cv_prog_JAVAC="$ac_prog" 3272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53852 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3273 3853 break 2 3274 3854 fi 3275 3855 done 3276 3856 done 3857 IFS=$as_save_IFS 3277 3858 3278 3859 fi … … 3280 3861 JAVAC=$ac_cv_prog_JAVAC 3281 3862 if test -n "$JAVAC"; then 3282 echo "$as_me:$LINENO: result: $JAVAC" >&5 3283 echo "${ECHO_T}$JAVAC" >&6 3284 else 3285 echo "$as_me:$LINENO: result: no" >&5 3286 echo "${ECHO_T}no" >&6 3287 fi 3863 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3864 $as_echo "$JAVAC" >&6; } 3865 else 3866 { $as_echo "$as_me:$LINENO: result: no" >&5 3867 $as_echo "no" >&6; } 3868 fi 3869 3288 3870 3289 3871 test -n "$JAVAC" && break … … 3295 3877 # Extract the first word of "$ac_prog", so it can be a program name with args. 3296 3878 set dummy $ac_prog; ac_word=$2 3297 echo "$as_me:$LINENO: checking for $ac_word" >&53298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3879 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3880 $as_echo_n "checking for $ac_word... " >&6; } 3299 3881 if test "${ac_cv_prog_JAVAC+set}" = set; then 3300 echo $ECHO_N "(cached) $ECHO_C" >&63882 $as_echo_n "(cached) " >&6 3301 3883 else 3302 3884 if test -n "$JAVAC"; then … … 3309 3891 test -z "$as_dir" && as_dir=. 3310 3892 for ac_exec_ext in '' $ac_executable_extensions; do 3311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3312 3894 ac_cv_prog_JAVAC="$ac_prog" 3313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53895 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3314 3896 break 2 3315 3897 fi 3316 3898 done 3317 3899 done 3900 IFS=$as_save_IFS 3318 3901 3319 3902 fi … … 3321 3904 JAVAC=$ac_cv_prog_JAVAC 3322 3905 if test -n "$JAVAC"; then 3323 echo "$as_me:$LINENO: result: $JAVAC" >&5 3324 echo "${ECHO_T}$JAVAC" >&6 3325 else 3326 echo "$as_me:$LINENO: result: no" >&5 3327 echo "${ECHO_T}no" >&6 3328 fi 3906 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3907 $as_echo "$JAVAC" >&6; } 3908 else 3909 { $as_echo "$as_me:$LINENO: result: no" >&5 3910 $as_echo "no" >&6; } 3911 fi 3912 3329 3913 3330 3914 test -n "$JAVAC" && break … … 3333 3917 3334 3918 fi 3335 test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&53336 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}3919 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3920 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 3337 3921 { (exit 1); exit 1; }; } 3338 3922 else … … 3341 3925 3342 3926 3343 echo "$as_me:$LINENO: checking if $JAVAC works" >&53344 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6 3927 { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5 3928 $as_echo_n "checking if $JAVAC works... " >&6; } 3345 3929 if test "${ac_cv_prog_javac_works+set}" = set; then 3346 echo $ECHO_N "(cached) $ECHO_C" >&63930 $as_echo_n "(cached) " >&6 3347 3931 else 3348 3932 … … 3350 3934 CLASS_TEST=Test.class 3351 3935 cat << \EOF > $JAVA_TEST 3352 /* #line 3 352"configure" */3936 /* #line 3936 "configure" */ 3353 3937 public class Test { 3354 3938 } … … 3358 3942 (eval $ac_try) 2>&5 3359 3943 ac_status=$? 3360 echo "$as_me:$LINENO: \$? = $ac_status" >&53944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3361 3945 (exit $ac_status); }; } >/dev/null 2>&1; then 3362 3946 ac_cv_prog_javac_works=yes 3363 3947 else 3364 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&53365 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}3948 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3949 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3366 3950 { (exit 1); exit 1; }; } 3367 3951 echo "configure: failed program was:" >&5 … … 3371 3955 3372 3956 fi 3373 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&53374 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6 3957 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 3958 $as_echo "$ac_cv_prog_javac_works" >&6; } 3375 3959 if test "x$JAVACFLAGS" = x ; then 3376 3960 JAVACFLAGS="-source 1.4 -target 1.4" … … 3384 3968 # Extract the first word of "$ac_prog", so it can be a program name with args. 3385 3969 set dummy $ac_prog; ac_word=$2 3386 echo "$as_me:$LINENO: checking for $ac_word" >&53387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3970 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3971 $as_echo_n "checking for $ac_word... " >&6; } 3388 3972 if test "${ac_cv_prog_AWK+set}" = set; then 3389 echo $ECHO_N "(cached) $ECHO_C" >&63973 $as_echo_n "(cached) " >&6 3390 3974 else 3391 3975 if test -n "$AWK"; then … … 3398 3982 test -z "$as_dir" && as_dir=. 3399 3983 for ac_exec_ext in '' $ac_executable_extensions; do 3400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3401 3985 ac_cv_prog_AWK="$ac_prog" 3402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53986 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3403 3987 break 2 3404 3988 fi 3405 3989 done 3406 3990 done 3991 IFS=$as_save_IFS 3407 3992 3408 3993 fi … … 3410 3995 AWK=$ac_cv_prog_AWK 3411 3996 if test -n "$AWK"; then 3412 echo "$as_me:$LINENO: result: $AWK" >&5 3413 echo "${ECHO_T}$AWK" >&6 3414 else 3415 echo "$as_me:$LINENO: result: no" >&5 3416 echo "${ECHO_T}no" >&6 3417 fi 3997 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 3998 $as_echo "$AWK" >&6; } 3999 else 4000 { $as_echo "$as_me:$LINENO: result: no" >&5 4001 $as_echo "no" >&6; } 4002 fi 4003 3418 4004 3419 4005 test -n "$AWK" && break … … 3424 4010 # Extract the first word of "$ac_prog", so it can be a program name with args. 3425 4011 set dummy $ac_prog; ac_word=$2 3426 echo "$as_me:$LINENO: checking for $ac_word" >&53427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4012 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4013 $as_echo_n "checking for $ac_word... " >&6; } 3428 4014 if test "${ac_cv_prog_YACC+set}" = set; then 3429 echo $ECHO_N "(cached) $ECHO_C" >&64015 $as_echo_n "(cached) " >&6 3430 4016 else 3431 4017 if test -n "$YACC"; then … … 3438 4024 test -z "$as_dir" && as_dir=. 3439 4025 for ac_exec_ext in '' $ac_executable_extensions; do 3440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3441 4027 ac_cv_prog_YACC="$ac_prog" 3442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54028 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3443 4029 break 2 3444 4030 fi 3445 4031 done 3446 4032 done 4033 IFS=$as_save_IFS 3447 4034 3448 4035 fi … … 3450 4037 YACC=$ac_cv_prog_YACC 3451 4038 if test -n "$YACC"; then 3452 echo "$as_me:$LINENO: result: $YACC" >&5 3453 echo "${ECHO_T}$YACC" >&6 3454 else 3455 echo "$as_me:$LINENO: result: no" >&5 3456 echo "${ECHO_T}no" >&6 3457 fi 4039 { $as_echo "$as_me:$LINENO: result: $YACC" >&5 4040 $as_echo "$YACC" >&6; } 4041 else 4042 { $as_echo "$as_me:$LINENO: result: no" >&5 4043 $as_echo "no" >&6; } 4044 fi 4045 3458 4046 3459 4047 test -n "$YACC" && break … … 3462 4050 3463 4051 ac_aux_dir= 3464 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do3465 if test -f $ac_dir/install-sh; then4052 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 4053 if test -f "$ac_dir/install-sh"; then 3466 4054 ac_aux_dir=$ac_dir 3467 4055 ac_install_sh="$ac_aux_dir/install-sh -c" 3468 4056 break 3469 elif test -f $ac_dir/install.sh; then4057 elif test -f "$ac_dir/install.sh"; then 3470 4058 ac_aux_dir=$ac_dir 3471 4059 ac_install_sh="$ac_aux_dir/install.sh -c" 3472 4060 break 3473 elif test -f $ac_dir/shtool; then4061 elif test -f "$ac_dir/shtool"; then 3474 4062 ac_aux_dir=$ac_dir 3475 4063 ac_install_sh="$ac_aux_dir/shtool install -c" … … 3478 4066 done 3479 4067 if test -z "$ac_aux_dir"; then 3480 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&53481 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}4068 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 4069 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 3482 4070 { (exit 1); exit 1; }; } 3483 4071 fi 3484 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 3485 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 3486 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 4072 4073 # These three variables are undocumented and unsupported, 4074 # and are intended to be withdrawn in a future Autoconf release. 4075 # They can cause serious problems if a builder's source tree is in a directory 4076 # whose full name contains unusual characters. 4077 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 4078 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 4079 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 4080 3487 4081 3488 4082 # Make sure we can run config.sub. 3489 $ ac_config_subsun4 >/dev/null 2>&1 ||3490 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&53491 echo "$as_me: error: cannot run $ac_config_sub" >&2;}4083 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4084 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 4085 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 3492 4086 { (exit 1); exit 1; }; } 3493 4087 3494 echo "$as_me:$LINENO: checking build system type" >&53495 echo $ECHO_N "checking build system type... $ECHO_C" >&6 4088 { $as_echo "$as_me:$LINENO: checking build system type" >&5 4089 $as_echo_n "checking build system type... " >&6; } 3496 4090 if test "${ac_cv_build+set}" = set; then 3497 echo $ECHO_N "(cached) $ECHO_C" >&63498 else 3499 ac_ cv_build_alias=$build_alias3500 test -z "$ac_cv_build_alias"&&3501 ac_ cv_build_alias=`$ac_config_guess`3502 test -z "$ac_cv_build_alias"&&3503 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&53504 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}4091 $as_echo_n "(cached) " >&6 4092 else 4093 ac_build_alias=$build_alias 4094 test "x$ac_build_alias" = x && 4095 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4096 test "x$ac_build_alias" = x && 4097 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 4098 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3505 4099 { (exit 1); exit 1; }; } 3506 ac_cv_build=`$ ac_config_sub $ac_cv_build_alias` ||3507 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&53508 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}4100 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4101 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 4102 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 3509 4103 { (exit 1); exit 1; }; } 3510 4104 3511 4105 fi 3512 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3513 echo "${ECHO_T}$ac_cv_build" >&6 4106 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 4107 $as_echo "$ac_cv_build" >&6; } 4108 case $ac_cv_build in 4109 *-*-*) ;; 4110 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 4111 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 4112 { (exit 1); exit 1; }; };; 4113 esac 3514 4114 build=$ac_cv_build 3515 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3516 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3517 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3518 3519 3520 echo "$as_me:$LINENO: checking host system type" >&5 3521 echo $ECHO_N "checking host system type... $ECHO_C" >&6 4115 ac_save_IFS=$IFS; IFS='-' 4116 set x $ac_cv_build 4117 shift 4118 build_cpu=$1 4119 build_vendor=$2 4120 shift; shift 4121 # Remember, the first character of IFS is used to create $*, 4122 # except with old shells: 4123 build_os=$* 4124 IFS=$ac_save_IFS 4125 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4126 4127 4128 { $as_echo "$as_me:$LINENO: checking host system type" >&5 4129 $as_echo_n "checking host system type... " >&6; } 3522 4130 if test "${ac_cv_host+set}" = set; then 3523 echo $ECHO_N "(cached) $ECHO_C" >&63524 else 3525 ac_cv_host_alias=$host_alias3526 test -z "$ac_cv_host_alias" && 3527 ac_cv_host_alias=$ac_cv_build_alias 3528 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||3529 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&53530 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}4131 $as_echo_n "(cached) " >&6 4132 else 4133 if test "x$host_alias" = x; then 4134 ac_cv_host=$ac_cv_build 4135 else 4136 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4137 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 4138 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 3531 4139 { (exit 1); exit 1; }; } 3532 3533 fi 3534 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3535 echo "${ECHO_T}$ac_cv_host" >&6 4140 fi 4141 4142 fi 4143 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 4144 $as_echo "$ac_cv_host" >&6; } 4145 case $ac_cv_host in 4146 *-*-*) ;; 4147 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 4148 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 4149 { (exit 1); exit 1; }; };; 4150 esac 3536 4151 host=$ac_cv_host 3537 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3538 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3539 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3540 3541 3542 echo "$as_me:$LINENO: checking target system type" >&5 3543 echo $ECHO_N "checking target system type... $ECHO_C" >&6 4152 ac_save_IFS=$IFS; IFS='-' 4153 set x $ac_cv_host 4154 shift 4155 host_cpu=$1 4156 host_vendor=$2 4157 shift; shift 4158 # Remember, the first character of IFS is used to create $*, 4159 # except with old shells: 4160 host_os=$* 4161 IFS=$ac_save_IFS 4162 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4163 4164 4165 { $as_echo "$as_me:$LINENO: checking target system type" >&5 4166 $as_echo_n "checking target system type... " >&6; } 3544 4167 if test "${ac_cv_target+set}" = set; then 3545 echo $ECHO_N "(cached) $ECHO_C" >&63546 else 3547 ac_cv_target_alias=$target_alias3548 test "x$ac_cv_target_alias" = "x" && 3549 ac_cv_target_alias=$ac_cv_host_alias 3550 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||3551 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&53552 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}4168 $as_echo_n "(cached) " >&6 4169 else 4170 if test "x$target_alias" = x; then 4171 ac_cv_target=$ac_cv_host 4172 else 4173 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 4174 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 4175 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 3553 4176 { (exit 1); exit 1; }; } 3554 3555 fi 3556 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 3557 echo "${ECHO_T}$ac_cv_target" >&6 4177 fi 4178 4179 fi 4180 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 4181 $as_echo "$ac_cv_target" >&6; } 4182 case $ac_cv_target in 4183 *-*-*) ;; 4184 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 4185 $as_echo "$as_me: error: invalid value of canonical target" >&2;} 4186 { (exit 1); exit 1; }; };; 4187 esac 3558 4188 target=$ac_cv_target 3559 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3560 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3561 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 4189 ac_save_IFS=$IFS; IFS='-' 4190 set x $ac_cv_target 4191 shift 4192 target_cpu=$1 4193 target_vendor=$2 4194 shift; shift 4195 # Remember, the first character of IFS is used to create $*, 4196 # except with old shells: 4197 target_os=$* 4198 IFS=$ac_save_IFS 4199 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 3562 4200 3563 4201 … … 3581 4219 # OS/2's system install, which has a completely different semantic 3582 4220 # ./install, which can be erroneously created by make from ./install.sh. 3583 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3584 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 4221 # Reject install programs that cannot install multiple files. 4222 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 4223 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3585 4224 if test -z "$INSTALL"; then 3586 4225 if test "${ac_cv_path_install+set}" = set; then 3587 echo $ECHO_N "(cached) $ECHO_C" >&64226 $as_echo_n "(cached) " >&6 3588 4227 else 3589 4228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 3604 4243 for ac_prog in ginstall scoinst install; do 3605 4244 for ac_exec_ext in '' $ac_executable_extensions; do 3606 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then4245 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3607 4246 if test $ac_prog = install && 3608 4247 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 3614 4253 : 3615 4254 else 3616 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3617 break 3 4255 rm -rf conftest.one conftest.two conftest.dir 4256 echo one > conftest.one 4257 echo two > conftest.two 4258 mkdir conftest.dir 4259 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 4260 test -s conftest.one && test -s conftest.two && 4261 test -s conftest.dir/conftest.one && 4262 test -s conftest.dir/conftest.two 4263 then 4264 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 4265 break 3 4266 fi 3618 4267 fi 3619 4268 fi … … 3622 4271 ;; 3623 4272 esac 4273 3624 4274 done 3625 4275 IFS=$as_save_IFS 4276 4277 rm -rf conftest.one conftest.two conftest.dir 3626 4278 3627 4279 fi … … 3629 4281 INSTALL=$ac_cv_path_install 3630 4282 else 3631 # As a last resort, use the slow shell script. We don't cache a3632 # pathfor INSTALL within a source directory, because that will4283 # As a last resort, use the slow shell script. Don't cache a 4284 # value for INSTALL within a source directory, because that will 3633 4285 # break other packages using the cache if that directory is 3634 # removed, or if the path is relative.4286 # removed, or if the value is a relative name. 3635 4287 INSTALL=$ac_install_sh 3636 4288 fi 3637 4289 fi 3638 echo "$as_me:$LINENO: result: $INSTALL" >&53639 echo "${ECHO_T}$INSTALL" >&6 4290 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 4291 $as_echo "$INSTALL" >&6; } 3640 4292 3641 4293 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 3647 4299 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3648 4300 3649 echo "$as_me:$LINENO: checking whether ln -s works" >&53650 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 4301 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 4302 $as_echo_n "checking whether ln -s works... " >&6; } 3651 4303 LN_S=$as_ln_s 3652 4304 if test "$LN_S" = "ln -s"; then 3653 echo "$as_me:$LINENO: result: yes" >&5 3654 echo "${ECHO_T}yes" >&6 3655 else 3656 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3657 echo "${ECHO_T}no, using $LN_S" >&6 3658 fi 3659 3660 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3661 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3662 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 3663 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 3664 echo $ECHO_N "(cached) $ECHO_C" >&6 4305 { $as_echo "$as_me:$LINENO: result: yes" >&5 4306 $as_echo "yes" >&6; } 4307 else 4308 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4309 $as_echo "no, using $LN_S" >&6; } 4310 fi 4311 4312 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4313 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4314 set x ${MAKE-make} 4315 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4316 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 4317 $as_echo_n "(cached) " >&6 3665 4318 else 3666 4319 cat >conftest.make <<\_ACEOF 4320 SHELL = /bin/sh 3667 4321 all: 3668 @echo ' ac_maketemp="$(MAKE)"'4322 @echo '@@@%%%=$(MAKE)=@@@%%%' 3669 4323 _ACEOF 3670 4324 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3671 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3672 if test -n "$ac_maketemp"; then 3673 eval ac_cv_prog_make_${ac_make}_set=yes3674 else 3675 eval ac_cv_prog_make_${ac_make}_set=no3676 fi 4325 case `${MAKE-make} -f conftest.make 2>/dev/null` in 4326 *@@@%%%=?*=@@@%%%*) 4327 eval ac_cv_prog_make_${ac_make}_set=yes;; 4328 *) 4329 eval ac_cv_prog_make_${ac_make}_set=no;; 4330 esac 3677 4331 rm -f conftest.make 3678 4332 fi 3679 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then3680 echo "$as_me:$LINENO: result: yes" >&53681 echo "${ECHO_T}yes" >&6 4333 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 4334 { $as_echo "$as_me:$LINENO: result: yes" >&5 4335 $as_echo "yes" >&6; } 3682 4336 SET_MAKE= 3683 4337 else 3684 echo "$as_me:$LINENO: result: no" >&53685 echo "${ECHO_T}no" >&6 4338 { $as_echo "$as_me:$LINENO: result: no" >&5 4339 $as_echo "no" >&6; } 3686 4340 SET_MAKE="MAKE=${MAKE-make}" 3687 4341 fi … … 3690 4344 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3691 4345 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3692 echo "$as_me:$LINENO: checking for $ac_word" >&53693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4346 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4347 $as_echo_n "checking for $ac_word... " >&6; } 3694 4348 if test "${ac_cv_prog_RANLIB+set}" = set; then 3695 echo $ECHO_N "(cached) $ECHO_C" >&64349 $as_echo_n "(cached) " >&6 3696 4350 else 3697 4351 if test -n "$RANLIB"; then … … 3704 4358 test -z "$as_dir" && as_dir=. 3705 4359 for ac_exec_ext in '' $ac_executable_extensions; do 3706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3707 4361 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54362 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3709 4363 break 2 3710 4364 fi 3711 4365 done 3712 4366 done 4367 IFS=$as_save_IFS 3713 4368 3714 4369 fi … … 3716 4371 RANLIB=$ac_cv_prog_RANLIB 3717 4372 if test -n "$RANLIB"; then 3718 echo "$as_me:$LINENO: result: $RANLIB" >&5 3719 echo "${ECHO_T}$RANLIB" >&6 3720 else 3721 echo "$as_me:$LINENO: result: no" >&5 3722 echo "${ECHO_T}no" >&6 3723 fi 4373 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 4374 $as_echo "$RANLIB" >&6; } 4375 else 4376 { $as_echo "$as_me:$LINENO: result: no" >&5 4377 $as_echo "no" >&6; } 4378 fi 4379 3724 4380 3725 4381 fi … … 3728 4384 # Extract the first word of "ranlib", so it can be a program name with args. 3729 4385 set dummy ranlib; ac_word=$2 3730 echo "$as_me:$LINENO: checking for $ac_word" >&53731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4386 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4387 $as_echo_n "checking for $ac_word... " >&6; } 3732 4388 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3733 echo $ECHO_N "(cached) $ECHO_C" >&64389 $as_echo_n "(cached) " >&6 3734 4390 else 3735 4391 if test -n "$ac_ct_RANLIB"; then … … 3742 4398 test -z "$as_dir" && as_dir=. 3743 4399 for ac_exec_ext in '' $ac_executable_extensions; do 3744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3745 4401 ac_cv_prog_ac_ct_RANLIB="ranlib" 3746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54402 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3747 4403 break 2 3748 4404 fi 3749 4405 done 3750 4406 done 3751 3752 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 4407 IFS=$as_save_IFS 4408 3753 4409 fi 3754 4410 fi 3755 4411 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3756 4412 if test -n "$ac_ct_RANLIB"; then 3757 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3758 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3759 else 3760 echo "$as_me:$LINENO: result: no" >&5 3761 echo "${ECHO_T}no" >&6 3762 fi 3763 3764 RANLIB=$ac_ct_RANLIB 4413 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 4414 $as_echo "$ac_ct_RANLIB" >&6; } 4415 else 4416 { $as_echo "$as_me:$LINENO: result: no" >&5 4417 $as_echo "no" >&6; } 4418 fi 4419 4420 if test "x$ac_ct_RANLIB" = x; then 4421 RANLIB=":" 4422 else 4423 case $cross_compiling:$ac_tool_warned in 4424 yes:) 4425 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4427 ac_tool_warned=yes ;; 4428 esac 4429 RANLIB=$ac_ct_RANLIB 4430 fi 3765 4431 else 3766 4432 RANLIB="$ac_cv_prog_RANLIB" … … 3768 4434 3769 4435 3770 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&53771 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 4436 { $as_echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 4437 $as_echo_n "checking to see if architecture is 64-bit... " >&6; } 3772 4438 arch_64bit=no 3773 4439 case "$host_cpu" in … … 3776 4442 3777 4443 if test "$arch_64bit" = yes; then 3778 echo "$as_me:$LINENO: result: yes" >&53779 echo "${ECHO_T}yes" >&6 3780 if test -z "$ COMPAT32BITFLAGS" ; then3781 COMPAT32BITFLAGS="-m32"4444 { $as_echo "$as_me:$LINENO: result: yes" >&5 4445 $as_echo "yes" >&6; } 4446 if test -z "$ARCH_DEP_FLAGS" ; then 4447 ARCH_DEP_FLAGS="-fPIC" 3782 4448 gsdlarch='64' 3783 4449 fi 3784 4450 else 3785 echo "$as_me:$LINENO: result: no" >&53786 echo "${ECHO_T}no" >&6 3787 if test -z "$ COMPAT32BITFLAGS" ; then3788 COMPAT32BITFLAGS=4451 { $as_echo "$as_me:$LINENO: result: no" >&5 4452 $as_echo "no" >&6; } 4453 if test -z "$ARCH_DEP_FLAGS" ; then 4454 ARCH_DEP_FLAGS= 3789 4455 gsdlarch='32' 3790 4456 fi 3791 4457 fi 3792 4458 3793 # Only need compat32bitflag if using MG or MGPP 3794 if test "$ENABLE_MG" = "0" ; then 3795 COMPAT32BITFLAGS= 3796 else 3797 if test "$ENABLE_MGPP" = "0" ; then 3798 COMPAT32BITFLAGS= 3799 fi 3800 fi 3801 3802 export COMPAT32BITFLAGS 4459 export ARCH_DEP_FLAGS 3803 4460 3804 4461 … … 3842 4499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3843 4500 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3844 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53845 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 4501 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4502 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3846 4503 # On Suns, sometimes $CPP names a directory. 3847 4504 if test -n "$CPP" && test -d "$CPP"; then … … 3850 4507 if test -z "$CPP"; then 3851 4508 if test "${ac_cv_prog_CPP+set}" = set; then 3852 echo $ECHO_N "(cached) $ECHO_C" >&64509 $as_echo_n "(cached) " >&6 3853 4510 else 3854 4511 # Double quotes because CPP needs to be expanded … … 3877 4534 Syntax error 3878 4535 _ACEOF 3879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3880 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4536 if { (ac_try="$ac_cpp conftest.$ac_ext" 4537 case "(($ac_try" in 4538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4539 *) ac_try_echo=$ac_try;; 4540 esac 4541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4542 $as_echo "$ac_try_echo") >&5 4543 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3881 4544 ac_status=$? 3882 4545 grep -v '^ *+' conftest.er1 >conftest.err 3883 4546 rm -f conftest.er1 3884 4547 cat conftest.err >&5 3885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3886 (exit $ac_status); } >/dev/null; then 3887 if test -s conftest.err; then 3888 ac_cpp_err=$ac_c_preproc_warn_flag 3889 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3890 else 3891 ac_cpp_err= 3892 fi 3893 else 3894 ac_cpp_err=yes 3895 fi 3896 if test -z "$ac_cpp_err"; then 4548 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4549 (exit $ac_status); } >/dev/null && { 4550 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4551 test ! -s conftest.err 4552 }; then 3897 4553 : 3898 4554 else 3899 echo "$as_me: failed program was:" >&54555 $as_echo "$as_me: failed program was:" >&5 3900 4556 sed 's/^/| /' conftest.$ac_ext >&5 3901 4557 … … 3903 4559 continue 3904 4560 fi 4561 3905 4562 rm -f conftest.err conftest.$ac_ext 3906 4563 3907 # OK, works on sane cases. Now check whether non -existent headers4564 # OK, works on sane cases. Now check whether nonexistent headers 3908 4565 # can be detected and how. 3909 4566 cat >conftest.$ac_ext <<_ACEOF … … 3915 4572 #include <ac_nonexistent.h> 3916 4573 _ACEOF 3917 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3918 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4574 if { (ac_try="$ac_cpp conftest.$ac_ext" 4575 case "(($ac_try" in 4576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4577 *) ac_try_echo=$ac_try;; 4578 esac 4579 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4580 $as_echo "$ac_try_echo") >&5 4581 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3919 4582 ac_status=$? 3920 4583 grep -v '^ *+' conftest.er1 >conftest.err 3921 4584 rm -f conftest.er1 3922 4585 cat conftest.err >&5 3923 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3924 (exit $ac_status); } >/dev/null; then 3925 if test -s conftest.err; then 3926 ac_cpp_err=$ac_c_preproc_warn_flag 3927 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3928 else 3929 ac_cpp_err= 3930 fi 3931 else 3932 ac_cpp_err=yes 3933 fi 3934 if test -z "$ac_cpp_err"; then 4586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4587 (exit $ac_status); } >/dev/null && { 4588 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4589 test ! -s conftest.err 4590 }; then 3935 4591 # Broken: success on invalid input. 3936 4592 continue 3937 4593 else 3938 echo "$as_me: failed program was:" >&54594 $as_echo "$as_me: failed program was:" >&5 3939 4595 sed 's/^/| /' conftest.$ac_ext >&5 3940 4596 … … 3943 4599 break 3944 4600 fi 4601 3945 4602 rm -f conftest.err conftest.$ac_ext 3946 4603 … … 3960 4617 ac_cv_prog_CPP=$CPP 3961 4618 fi 3962 echo "$as_me:$LINENO: result: $CPP" >&53963 echo "${ECHO_T}$CPP" >&6 4619 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 4620 $as_echo "$CPP" >&6; } 3964 4621 ac_preproc_ok=false 3965 4622 for ac_c_preproc_warn_flag in '' yes … … 3984 4641 Syntax error 3985 4642 _ACEOF 3986 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3987 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4643 if { (ac_try="$ac_cpp conftest.$ac_ext" 4644 case "(($ac_try" in 4645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4646 *) ac_try_echo=$ac_try;; 4647 esac 4648 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4649 $as_echo "$ac_try_echo") >&5 4650 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3988 4651 ac_status=$? 3989 4652 grep -v '^ *+' conftest.er1 >conftest.err 3990 4653 rm -f conftest.er1 3991 4654 cat conftest.err >&5 3992 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3993 (exit $ac_status); } >/dev/null; then 3994 if test -s conftest.err; then 3995 ac_cpp_err=$ac_c_preproc_warn_flag 3996 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3997 else 3998 ac_cpp_err= 3999 fi 4000 else 4001 ac_cpp_err=yes 4002 fi 4003 if test -z "$ac_cpp_err"; then 4655 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4656 (exit $ac_status); } >/dev/null && { 4657 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4658 test ! -s conftest.err 4659 }; then 4004 4660 : 4005 4661 else 4006 echo "$as_me: failed program was:" >&54662 $as_echo "$as_me: failed program was:" >&5 4007 4663 sed 's/^/| /' conftest.$ac_ext >&5 4008 4664 … … 4010 4666 continue 4011 4667 fi 4668 4012 4669 rm -f conftest.err conftest.$ac_ext 4013 4670 4014 # OK, works on sane cases. Now check whether non -existent headers4671 # OK, works on sane cases. Now check whether nonexistent headers 4015 4672 # can be detected and how. 4016 4673 cat >conftest.$ac_ext <<_ACEOF … … 4022 4679 #include <ac_nonexistent.h> 4023 4680 _ACEOF 4024 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4025 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4681 if { (ac_try="$ac_cpp conftest.$ac_ext" 4682 case "(($ac_try" in 4683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4684 *) ac_try_echo=$ac_try;; 4685 esac 4686 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4687 $as_echo "$ac_try_echo") >&5 4688 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4026 4689 ac_status=$? 4027 4690 grep -v '^ *+' conftest.er1 >conftest.err 4028 4691 rm -f conftest.er1 4029 4692 cat conftest.err >&5 4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4031 (exit $ac_status); } >/dev/null; then 4032 if test -s conftest.err; then 4033 ac_cpp_err=$ac_c_preproc_warn_flag 4034 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4035 else 4036 ac_cpp_err= 4037 fi 4038 else 4039 ac_cpp_err=yes 4040 fi 4041 if test -z "$ac_cpp_err"; then 4693 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4694 (exit $ac_status); } >/dev/null && { 4695 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4696 test ! -s conftest.err 4697 }; then 4042 4698 # Broken: success on invalid input. 4043 4699 continue 4044 4700 else 4045 echo "$as_me: failed program was:" >&54701 $as_echo "$as_me: failed program was:" >&5 4046 4702 sed 's/^/| /' conftest.$ac_ext >&5 4047 4703 … … 4050 4706 break 4051 4707 fi 4708 4052 4709 rm -f conftest.err conftest.$ac_ext 4053 4710 … … 4058 4715 : 4059 4716 else 4060 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4717 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 4718 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4719 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4061 4720 See \`config.log' for more details." >&5 4062 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check4721 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4063 4722 See \`config.log' for more details." >&2;} 4064 { (exit 1); exit 1; }; } 4723 { (exit 1); exit 1; }; }; } 4065 4724 fi 4066 4725 … … 4072 4731 4073 4732 4074 echo "$as_me:$LINENO: checking for egrep" >&5 4075 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 4076 if test "${ac_cv_prog_egrep+set}" = set; then 4077 echo $ECHO_N "(cached) $ECHO_C" >&6 4078 else 4079 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 4080 then ac_cv_prog_egrep='grep -E' 4081 else ac_cv_prog_egrep='egrep' 4733 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4734 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4735 if test "${ac_cv_path_GREP+set}" = set; then 4736 $as_echo_n "(cached) " >&6 4737 else 4738 if test -z "$GREP"; then 4739 ac_path_GREP_found=false 4740 # Loop through the user's path and test for each of PROGNAME-LIST 4741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4742 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4743 do 4744 IFS=$as_save_IFS 4745 test -z "$as_dir" && as_dir=. 4746 for ac_prog in grep ggrep; do 4747 for ac_exec_ext in '' $ac_executable_extensions; do 4748 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4749 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4750 # Check for GNU ac_path_GREP and select it if it is found. 4751 # Check for GNU $ac_path_GREP 4752 case `"$ac_path_GREP" --version 2>&1` in 4753 *GNU*) 4754 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4755 *) 4756 ac_count=0 4757 $as_echo_n 0123456789 >"conftest.in" 4758 while : 4759 do 4760 cat "conftest.in" "conftest.in" >"conftest.tmp" 4761 mv "conftest.tmp" "conftest.in" 4762 cp "conftest.in" "conftest.nl" 4763 $as_echo 'GREP' >> "conftest.nl" 4764 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4765 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4766 ac_count=`expr $ac_count + 1` 4767 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4768 # Best one so far, save it but keep looking for a better one 4769 ac_cv_path_GREP="$ac_path_GREP" 4770 ac_path_GREP_max=$ac_count 4082 4771 fi 4083 fi 4084 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 4085 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 4086 EGREP=$ac_cv_prog_egrep 4087 4088 4089 4090 echo "$as_me:$LINENO: checking for AIX" >&5 4091 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 4092 cat >conftest.$ac_ext <<_ACEOF 4093 /* confdefs.h. */ 4094 _ACEOF 4095 cat confdefs.h >>conftest.$ac_ext 4096 cat >>conftest.$ac_ext <<_ACEOF 4097 /* end confdefs.h. */ 4098 #ifdef _AIX 4099 yes 4100 #endif 4101 4102 _ACEOF 4103 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4104 $EGREP "yes" >/dev/null 2>&1; then 4105 echo "$as_me:$LINENO: result: yes" >&5 4106 echo "${ECHO_T}yes" >&6 4107 cat >>confdefs.h <<\_ACEOF 4108 #define _ALL_SOURCE 1 4109 _ACEOF 4110 4111 else 4112 echo "$as_me:$LINENO: result: no" >&5 4113 echo "${ECHO_T}no" >&6 4114 fi 4115 rm -f conftest* 4116 4117 4118 echo "$as_me:$LINENO: checking for library containing strerror" >&5 4119 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 4120 if test "${ac_cv_search_strerror+set}" = set; then 4121 echo $ECHO_N "(cached) $ECHO_C" >&6 4122 else 4123 ac_func_search_save_LIBS=$LIBS 4124 ac_cv_search_strerror=no 4125 cat >conftest.$ac_ext <<_ACEOF 4126 /* confdefs.h. */ 4127 _ACEOF 4128 cat confdefs.h >>conftest.$ac_ext 4129 cat >>conftest.$ac_ext <<_ACEOF 4130 /* end confdefs.h. */ 4131 4132 /* Override any gcc2 internal prototype to avoid an error. */ 4133 #ifdef __cplusplus 4134 extern "C" 4135 #endif 4136 /* We use char because int might match the return type of a gcc2 4137 builtin and then its argument prototype would still apply. */ 4138 char strerror (); 4139 int 4140 main () 4141 { 4142 strerror (); 4143 ; 4144 return 0; 4145 } 4146 _ACEOF 4147 rm -f conftest.$ac_objext conftest$ac_exeext 4148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4149 (eval $ac_link) 2>conftest.er1 4150 ac_status=$? 4151 grep -v '^ *+' conftest.er1 >conftest.err 4152 rm -f conftest.er1 4153 cat conftest.err >&5 4154 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4155 (exit $ac_status); } && 4156 { ac_try='test -z "$ac_c_werror_flag" 4157 || test ! -s conftest.err' 4158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4159 (eval $ac_try) 2>&5 4160 ac_status=$? 4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4162 (exit $ac_status); }; } && 4163 { ac_try='test -s conftest$ac_exeext' 4164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4165 (eval $ac_try) 2>&5 4166 ac_status=$? 4167 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4168 (exit $ac_status); }; }; then 4169 ac_cv_search_strerror="none required" 4170 else 4171 echo "$as_me: failed program was:" >&5 4172 sed 's/^/| /' conftest.$ac_ext >&5 4173 4174 fi 4175 rm -f conftest.err conftest.$ac_objext \ 4176 conftest$ac_exeext conftest.$ac_ext 4177 if test "$ac_cv_search_strerror" = no; then 4178 for ac_lib in cposix; do 4179 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4180 cat >conftest.$ac_ext <<_ACEOF 4181 /* confdefs.h. */ 4182 _ACEOF 4183 cat confdefs.h >>conftest.$ac_ext 4184 cat >>conftest.$ac_ext <<_ACEOF 4185 /* end confdefs.h. */ 4186 4187 /* Override any gcc2 internal prototype to avoid an error. */ 4188 #ifdef __cplusplus 4189 extern "C" 4190 #endif 4191 /* We use char because int might match the return type of a gcc2 4192 builtin and then its argument prototype would still apply. */ 4193 char strerror (); 4194 int 4195 main () 4196 { 4197 strerror (); 4198 ; 4199 return 0; 4200 } 4201 _ACEOF 4202 rm -f conftest.$ac_objext conftest$ac_exeext 4203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4204 (eval $ac_link) 2>conftest.er1 4205 ac_status=$? 4206 grep -v '^ *+' conftest.er1 >conftest.err 4207 rm -f conftest.er1 4208 cat conftest.err >&5 4209 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4210 (exit $ac_status); } && 4211 { ac_try='test -z "$ac_c_werror_flag" 4212 || test ! -s conftest.err' 4213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4214 (eval $ac_try) 2>&5 4215 ac_status=$? 4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4217 (exit $ac_status); }; } && 4218 { ac_try='test -s conftest$ac_exeext' 4219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4220 (eval $ac_try) 2>&5 4221 ac_status=$? 4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4223 (exit $ac_status); }; }; then 4224 ac_cv_search_strerror="-l$ac_lib" 4225 break 4226 else 4227 echo "$as_me: failed program was:" >&5 4228 sed 's/^/| /' conftest.$ac_ext >&5 4229 4230 fi 4231 rm -f conftest.err conftest.$ac_objext \ 4232 conftest$ac_exeext conftest.$ac_ext 4772 # 10*(2^10) chars as input seems more than enough 4773 test $ac_count -gt 10 && break 4233 4774 done 4234 fi 4235 LIBS=$ac_func_search_save_LIBS 4236 fi 4237 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 4238 echo "${ECHO_T}$ac_cv_search_strerror" >&6 4239 if test "$ac_cv_search_strerror" != no; then 4240 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 4241 4242 fi 4243 4244 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4245 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4775 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4776 esac 4777 4778 $ac_path_GREP_found && break 3 4779 done 4780 done 4781 done 4782 IFS=$as_save_IFS 4783 if test -z "$ac_cv_path_GREP"; then 4784 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4785 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4786 { (exit 1); exit 1; }; } 4787 fi 4788 else 4789 ac_cv_path_GREP=$GREP 4790 fi 4791 4792 fi 4793 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4794 $as_echo "$ac_cv_path_GREP" >&6; } 4795 GREP="$ac_cv_path_GREP" 4796 4797 4798 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 4799 $as_echo_n "checking for egrep... " >&6; } 4800 if test "${ac_cv_path_EGREP+set}" = set; then 4801 $as_echo_n "(cached) " >&6 4802 else 4803 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4804 then ac_cv_path_EGREP="$GREP -E" 4805 else 4806 if test -z "$EGREP"; then 4807 ac_path_EGREP_found=false 4808 # Loop through the user's path and test for each of PROGNAME-LIST 4809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4810 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4811 do 4812 IFS=$as_save_IFS 4813 test -z "$as_dir" && as_dir=. 4814 for ac_prog in egrep; do 4815 for ac_exec_ext in '' $ac_executable_extensions; do 4816 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4817 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4818 # Check for GNU ac_path_EGREP and select it if it is found. 4819 # Check for GNU $ac_path_EGREP 4820 case `"$ac_path_EGREP" --version 2>&1` in 4821 *GNU*) 4822 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4823 *) 4824 ac_count=0 4825 $as_echo_n 0123456789 >"conftest.in" 4826 while : 4827 do 4828 cat "conftest.in" "conftest.in" >"conftest.tmp" 4829 mv "conftest.tmp" "conftest.in" 4830 cp "conftest.in" "conftest.nl" 4831 $as_echo 'EGREP' >> "conftest.nl" 4832 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4833 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4834 ac_count=`expr $ac_count + 1` 4835 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4836 # Best one so far, save it but keep looking for a better one 4837 ac_cv_path_EGREP="$ac_path_EGREP" 4838 ac_path_EGREP_max=$ac_count 4839 fi 4840 # 10*(2^10) chars as input seems more than enough 4841 test $ac_count -gt 10 && break 4842 done 4843 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4844 esac 4845 4846 $ac_path_EGREP_found && break 3 4847 done 4848 done 4849 done 4850 IFS=$as_save_IFS 4851 if test -z "$ac_cv_path_EGREP"; then 4852 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4853 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4854 { (exit 1); exit 1; }; } 4855 fi 4856 else 4857 ac_cv_path_EGREP=$EGREP 4858 fi 4859 4860 fi 4861 fi 4862 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4863 $as_echo "$ac_cv_path_EGREP" >&6; } 4864 EGREP="$ac_cv_path_EGREP" 4865 4866 4867 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4868 $as_echo_n "checking for ANSI C header files... " >&6; } 4246 4869 if test "${ac_cv_header_stdc+set}" = set; then 4247 echo $ECHO_N "(cached) $ECHO_C" >&64870 $as_echo_n "(cached) " >&6 4248 4871 else 4249 4872 cat >conftest.$ac_ext <<_ACEOF … … 4267 4890 _ACEOF 4268 4891 rm -f conftest.$ac_objext 4269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4270 (eval $ac_compile) 2>conftest.er1 4892 if { (ac_try="$ac_compile" 4893 case "(($ac_try" in 4894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4895 *) ac_try_echo=$ac_try;; 4896 esac 4897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4898 $as_echo "$ac_try_echo") >&5 4899 (eval "$ac_compile") 2>conftest.er1 4271 4900 ac_status=$? 4272 4901 grep -v '^ *+' conftest.er1 >conftest.err 4273 4902 rm -f conftest.er1 4274 4903 cat conftest.err >&5 4275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4276 (exit $ac_status); } && 4277 { ac_try='test -z "$ac_c_werror_flag" 4278 || test ! -s conftest.err' 4279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4280 (eval $ac_try) 2>&5 4281 ac_status=$? 4282 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4283 (exit $ac_status); }; } && 4284 { ac_try='test -s conftest.$ac_objext' 4285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4286 (eval $ac_try) 2>&5 4287 ac_status=$? 4288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4289 (exit $ac_status); }; }; then 4904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4905 (exit $ac_status); } && { 4906 test -z "$ac_c_werror_flag" || 4907 test ! -s conftest.err 4908 } && test -s conftest.$ac_objext; then 4290 4909 ac_cv_header_stdc=yes 4291 4910 else 4292 echo "$as_me: failed program was:" >&54911 $as_echo "$as_me: failed program was:" >&5 4293 4912 sed 's/^/| /' conftest.$ac_ext >&5 4294 4913 4295 ac_cv_header_stdc=no 4296 fi 4297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4914 ac_cv_header_stdc=no 4915 fi 4916 4917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4298 4918 4299 4919 if test $ac_cv_header_stdc = yes; then … … 4351 4971 /* end confdefs.h. */ 4352 4972 #include <ctype.h> 4973 #include <stdlib.h> 4353 4974 #if ((' ' & 0x0FF) == 0x020) 4354 4975 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 4370 4991 if (XOR (islower (i), ISLOWER (i)) 4371 4992 || toupper (i) != TOUPPER (i)) 4372 exit(2);4373 exit (0);4993 return 2; 4994 return 0; 4374 4995 } 4375 4996 _ACEOF 4376 4997 rm -f conftest$ac_exeext 4377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4378 (eval $ac_link) 2>&5 4998 if { (ac_try="$ac_link" 4999 case "(($ac_try" in 5000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5001 *) ac_try_echo=$ac_try;; 5002 esac 5003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5004 $as_echo "$ac_try_echo") >&5 5005 (eval "$ac_link") 2>&5 4379 5006 ac_status=$? 4380 echo "$as_me:$LINENO: \$? = $ac_status" >&55007 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4381 5008 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4383 (eval $ac_try) 2>&5 5009 { (case "(($ac_try" in 5010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5011 *) ac_try_echo=$ac_try;; 5012 esac 5013 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5014 $as_echo "$ac_try_echo") >&5 5015 (eval "$ac_try") 2>&5 4384 5016 ac_status=$? 4385 echo "$as_me:$LINENO: \$? = $ac_status" >&55017 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4386 5018 (exit $ac_status); }; }; then 4387 5019 : 4388 5020 else 4389 echo "$as_me: program exited with status $ac_status" >&54390 echo "$as_me: failed program was:" >&55021 $as_echo "$as_me: program exited with status $ac_status" >&5 5022 $as_echo "$as_me: failed program was:" >&5 4391 5023 sed 's/^/| /' conftest.$ac_ext >&5 4392 5024 … … 4394 5026 ac_cv_header_stdc=no 4395 5027 fi 4396 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4397 fi 4398 fi 4399 fi 4400 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4401 echo "${ECHO_T}$ac_cv_header_stdc" >&6 5028 rm -rf conftest.dSYM 5029 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5030 fi 5031 5032 5033 fi 5034 fi 5035 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5036 $as_echo "$ac_cv_header_stdc" >&6; } 4402 5037 if test $ac_cv_header_stdc = yes; then 4403 5038 … … 4421 5056 inttypes.h stdint.h unistd.h 4422 5057 do 4423 as_ac_Header=` echo "ac_cv_header_$ac_header" | $as_tr_sh`4424 echo "$as_me:$LINENO: checking for $ac_header" >&54425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4426 if eval "test \"\${$as_ac_Header+set}\" = set"; then4427 echo $ECHO_N "(cached) $ECHO_C" >&65058 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5059 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5060 $as_echo_n "checking for $ac_header... " >&6; } 5061 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5062 $as_echo_n "(cached) " >&6 4428 5063 else 4429 5064 cat >conftest.$ac_ext <<_ACEOF … … 4438 5073 _ACEOF 4439 5074 rm -f conftest.$ac_objext 4440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4441 (eval $ac_compile) 2>conftest.er1 5075 if { (ac_try="$ac_compile" 5076 case "(($ac_try" in 5077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5078 *) ac_try_echo=$ac_try;; 5079 esac 5080 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5081 $as_echo "$ac_try_echo") >&5 5082 (eval "$ac_compile") 2>conftest.er1 4442 5083 ac_status=$? 4443 5084 grep -v '^ *+' conftest.er1 >conftest.err 4444 5085 rm -f conftest.er1 4445 5086 cat conftest.err >&5 4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4447 (exit $ac_status); } && 4448 { ac_try='test -z "$ac_c_werror_flag" 4449 || test ! -s conftest.err' 4450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4451 (eval $ac_try) 2>&5 4452 ac_status=$? 4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4454 (exit $ac_status); }; } && 4455 { ac_try='test -s conftest.$ac_objext' 4456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4457 (eval $ac_try) 2>&5 4458 ac_status=$? 4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4460 (exit $ac_status); }; }; then 5087 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5088 (exit $ac_status); } && { 5089 test -z "$ac_c_werror_flag" || 5090 test ! -s conftest.err 5091 } && test -s conftest.$ac_objext; then 4461 5092 eval "$as_ac_Header=yes" 4462 5093 else 4463 echo "$as_me: failed program was:" >&55094 $as_echo "$as_me: failed program was:" >&5 4464 5095 sed 's/^/| /' conftest.$ac_ext >&5 4465 5096 4466 eval "$as_ac_Header=no" 4467 fi 4468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4469 fi 4470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4472 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5097 eval "$as_ac_Header=no" 5098 fi 5099 5100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5101 fi 5102 ac_res=`eval 'as_val=${'$as_ac_Header'} 5103 $as_echo "$as_val"'` 5104 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5105 $as_echo "$ac_res" >&6; } 5106 as_val=`eval 'as_val=${'$as_ac_Header'} 5107 $as_echo "$as_val"'` 5108 if test "x$as_val" = x""yes; then 4473 5109 cat >>confdefs.h <<_ACEOF 4474 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 15110 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4475 5111 _ACEOF 4476 5112 … … 4480 5116 4481 5117 5118 5119 if test "${ac_cv_header_minix_config_h+set}" = set; then 5120 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5121 $as_echo_n "checking for minix/config.h... " >&6; } 4482 5122 if test "${ac_cv_header_minix_config_h+set}" = set; then 4483 echo "$as_me:$LINENO: checking for minix/config.h" >&5 4484 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4485 if test "${ac_cv_header_minix_config_h+set}" = set; then 4486 echo $ECHO_N "(cached) $ECHO_C" >&6 4487 fi 4488 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4489 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 5123 $as_echo_n "(cached) " >&6 5124 fi 5125 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5126 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4490 5127 else 4491 5128 # Is the header compilable? 4492 echo "$as_me:$LINENO: checking minix/config.h usability" >&54493 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 5129 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 5130 $as_echo_n "checking minix/config.h usability... " >&6; } 4494 5131 cat >conftest.$ac_ext <<_ACEOF 4495 5132 /* confdefs.h. */ … … 4502 5139 _ACEOF 4503 5140 rm -f conftest.$ac_objext 4504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4505 (eval $ac_compile) 2>conftest.er1 5141 if { (ac_try="$ac_compile" 5142 case "(($ac_try" in 5143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5144 *) ac_try_echo=$ac_try;; 5145 esac 5146 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5147 $as_echo "$ac_try_echo") >&5 5148 (eval "$ac_compile") 2>conftest.er1 4506 5149 ac_status=$? 4507 5150 grep -v '^ *+' conftest.er1 >conftest.err 4508 5151 rm -f conftest.er1 4509 5152 cat conftest.err >&5 4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4511 (exit $ac_status); } && 4512 { ac_try='test -z "$ac_c_werror_flag" 4513 || test ! -s conftest.err' 4514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4515 (eval $ac_try) 2>&5 4516 ac_status=$? 4517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4518 (exit $ac_status); }; } && 4519 { ac_try='test -s conftest.$ac_objext' 4520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4521 (eval $ac_try) 2>&5 4522 ac_status=$? 4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4524 (exit $ac_status); }; }; then 5153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5154 (exit $ac_status); } && { 5155 test -z "$ac_c_werror_flag" || 5156 test ! -s conftest.err 5157 } && test -s conftest.$ac_objext; then 4525 5158 ac_header_compiler=yes 4526 5159 else 4527 echo "$as_me: failed program was:" >&55160 $as_echo "$as_me: failed program was:" >&5 4528 5161 sed 's/^/| /' conftest.$ac_ext >&5 4529 5162 4530 ac_header_compiler=no 4531 fi 4532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4533 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4534 echo "${ECHO_T}$ac_header_compiler" >&6 5163 ac_header_compiler=no 5164 fi 5165 5166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5167 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5168 $as_echo "$ac_header_compiler" >&6; } 4535 5169 4536 5170 # Is the header present? 4537 echo "$as_me:$LINENO: checking minix/config.h presence" >&54538 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 5171 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 5172 $as_echo_n "checking minix/config.h presence... " >&6; } 4539 5173 cat >conftest.$ac_ext <<_ACEOF 4540 5174 /* confdefs.h. */ … … 4545 5179 #include <minix/config.h> 4546 5180 _ACEOF 4547 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4548 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5181 if { (ac_try="$ac_cpp conftest.$ac_ext" 5182 case "(($ac_try" in 5183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5184 *) ac_try_echo=$ac_try;; 5185 esac 5186 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5187 $as_echo "$ac_try_echo") >&5 5188 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4549 5189 ac_status=$? 4550 5190 grep -v '^ *+' conftest.er1 >conftest.err 4551 5191 rm -f conftest.er1 4552 5192 cat conftest.err >&5 4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4554 (exit $ac_status); } >/dev/null; then 4555 if test -s conftest.err; then 4556 ac_cpp_err=$ac_c_preproc_warn_flag 4557 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4558 else 4559 ac_cpp_err= 4560 fi 4561 else 4562 ac_cpp_err=yes 4563 fi 4564 if test -z "$ac_cpp_err"; then 5193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5194 (exit $ac_status); } >/dev/null && { 5195 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5196 test ! -s conftest.err 5197 }; then 4565 5198 ac_header_preproc=yes 4566 5199 else 4567 echo "$as_me: failed program was:" >&55200 $as_echo "$as_me: failed program was:" >&5 4568 5201 sed 's/^/| /' conftest.$ac_ext >&5 4569 5202 4570 5203 ac_header_preproc=no 4571 5204 fi 5205 4572 5206 rm -f conftest.err conftest.$ac_ext 4573 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54574 echo "${ECHO_T}$ac_header_preproc" >&6 5207 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5208 $as_echo "$ac_header_preproc" >&6; } 4575 5209 4576 5210 # So? What about this header? 4577 5211 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4578 5212 yes:no: ) 4579 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&54580 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}4581 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&54582 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}5213 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 5214 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5215 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 5216 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 4583 5217 ac_header_preproc=yes 4584 5218 ;; 4585 5219 no:yes:* ) 4586 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 4587 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 4588 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 4589 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 4590 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 4591 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 4592 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 4593 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 4594 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 4595 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 4596 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4597 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4598 ( 4599 cat <<\_ASBOX 4600 ## ------------------------------------------ ## 4601 ## Report this to the AC_PACKAGE_NAME lists. ## 4602 ## ------------------------------------------ ## 4603 _ASBOX 4604 ) | 4605 sed "s/^/$as_me: WARNING: /" >&2 5220 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 5221 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 5222 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 5223 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 5224 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 5225 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 5226 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 5227 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 5228 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 5229 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 5230 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 5231 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 5232 4606 5233 ;; 4607 5234 esac 4608 echo "$as_me:$LINENO: checking for minix/config.h" >&54609 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 5235 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5236 $as_echo_n "checking for minix/config.h... " >&6; } 4610 5237 if test "${ac_cv_header_minix_config_h+set}" = set; then 4611 echo $ECHO_N "(cached) $ECHO_C" >&65238 $as_echo_n "(cached) " >&6 4612 5239 else 4613 5240 ac_cv_header_minix_config_h=$ac_header_preproc 4614 5241 fi 4615 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&54616 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4617 4618 fi 4619 if test $ac_cv_header_minix_config_h =yes; then5242 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5243 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5244 5245 fi 5246 if test "x$ac_cv_header_minix_config_h" = x""yes; then 4620 5247 MINIX=yes 4621 5248 else … … 4624 5251 4625 5252 4626 if test "$MINIX" = yes; then5253 if test "$MINIX" = yes; then 4627 5254 4628 5255 cat >>confdefs.h <<\_ACEOF … … 4640 5267 _ACEOF 4641 5268 4642 fi 4643 4644 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 4645 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 5269 fi 5270 5271 5272 5273 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 5274 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5275 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 5276 $as_echo_n "(cached) " >&6 5277 else 5278 cat >conftest.$ac_ext <<_ACEOF 5279 /* confdefs.h. */ 5280 _ACEOF 5281 cat confdefs.h >>conftest.$ac_ext 5282 cat >>conftest.$ac_ext <<_ACEOF 5283 /* end confdefs.h. */ 5284 5285 # define __EXTENSIONS__ 1 5286 $ac_includes_default 5287 int 5288 main () 5289 { 5290 5291 ; 5292 return 0; 5293 } 5294 _ACEOF 5295 rm -f conftest.$ac_objext 5296 if { (ac_try="$ac_compile" 5297 case "(($ac_try" in 5298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5299 *) ac_try_echo=$ac_try;; 5300 esac 5301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5302 $as_echo "$ac_try_echo") >&5 5303 (eval "$ac_compile") 2>conftest.er1 5304 ac_status=$? 5305 grep -v '^ *+' conftest.er1 >conftest.err 5306 rm -f conftest.er1 5307 cat conftest.err >&5 5308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5309 (exit $ac_status); } && { 5310 test -z "$ac_c_werror_flag" || 5311 test ! -s conftest.err 5312 } && test -s conftest.$ac_objext; then 5313 ac_cv_safe_to_define___extensions__=yes 5314 else 5315 $as_echo "$as_me: failed program was:" >&5 5316 sed 's/^/| /' conftest.$ac_ext >&5 5317 5318 ac_cv_safe_to_define___extensions__=no 5319 fi 5320 5321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5322 fi 5323 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 5324 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5325 test $ac_cv_safe_to_define___extensions__ = yes && 5326 cat >>confdefs.h <<\_ACEOF 5327 #define __EXTENSIONS__ 1 5328 _ACEOF 5329 5330 cat >>confdefs.h <<\_ACEOF 5331 #define _ALL_SOURCE 1 5332 _ACEOF 5333 5334 cat >>confdefs.h <<\_ACEOF 5335 #define _GNU_SOURCE 1 5336 _ACEOF 5337 5338 cat >>confdefs.h <<\_ACEOF 5339 #define _POSIX_PTHREAD_SEMANTICS 1 5340 _ACEOF 5341 5342 cat >>confdefs.h <<\_ACEOF 5343 #define _TANDEM_SOURCE 1 5344 _ACEOF 5345 5346 5347 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5 5348 $as_echo_n "checking for library containing strerror... " >&6; } 5349 if test "${ac_cv_search_strerror+set}" = set; then 5350 $as_echo_n "(cached) " >&6 5351 else 5352 ac_func_search_save_LIBS=$LIBS 5353 cat >conftest.$ac_ext <<_ACEOF 5354 /* confdefs.h. */ 5355 _ACEOF 5356 cat confdefs.h >>conftest.$ac_ext 5357 cat >>conftest.$ac_ext <<_ACEOF 5358 /* end confdefs.h. */ 5359 5360 /* Override any GCC internal prototype to avoid an error. 5361 Use char because int might match the return type of a GCC 5362 builtin and then its argument prototype would still apply. */ 5363 #ifdef __cplusplus 5364 extern "C" 5365 #endif 5366 char strerror (); 5367 int 5368 main () 5369 { 5370 return strerror (); 5371 ; 5372 return 0; 5373 } 5374 _ACEOF 5375 for ac_lib in '' cposix; do 5376 if test -z "$ac_lib"; then 5377 ac_res="none required" 5378 else 5379 ac_res=-l$ac_lib 5380 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5381 fi 5382 rm -f conftest.$ac_objext conftest$ac_exeext 5383 if { (ac_try="$ac_link" 5384 case "(($ac_try" in 5385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5386 *) ac_try_echo=$ac_try;; 5387 esac 5388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5389 $as_echo "$ac_try_echo") >&5 5390 (eval "$ac_link") 2>conftest.er1 5391 ac_status=$? 5392 grep -v '^ *+' conftest.er1 >conftest.err 5393 rm -f conftest.er1 5394 cat conftest.err >&5 5395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5396 (exit $ac_status); } && { 5397 test -z "$ac_c_werror_flag" || 5398 test ! -s conftest.err 5399 } && test -s conftest$ac_exeext && { 5400 test "$cross_compiling" = yes || 5401 $as_test_x conftest$ac_exeext 5402 }; then 5403 ac_cv_search_strerror=$ac_res 5404 else 5405 $as_echo "$as_me: failed program was:" >&5 5406 sed 's/^/| /' conftest.$ac_ext >&5 5407 5408 5409 fi 5410 5411 rm -rf conftest.dSYM 5412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5413 conftest$ac_exeext 5414 if test "${ac_cv_search_strerror+set}" = set; then 5415 break 5416 fi 5417 done 5418 if test "${ac_cv_search_strerror+set}" = set; then 5419 : 5420 else 5421 ac_cv_search_strerror=no 5422 fi 5423 rm conftest.$ac_ext 5424 LIBS=$ac_func_search_save_LIBS 5425 fi 5426 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 5427 $as_echo "$ac_cv_search_strerror" >&6; } 5428 ac_res=$ac_cv_search_strerror 5429 if test "$ac_res" != no; then 5430 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5431 5432 fi 5433 5434 5435 if test "${ac_cv_header_minix_config_h+set}" = set; then 5436 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5437 $as_echo_n "checking for minix/config.h... " >&6; } 5438 if test "${ac_cv_header_minix_config_h+set}" = set; then 5439 $as_echo_n "(cached) " >&6 5440 fi 5441 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5442 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5443 else 5444 # Is the header compilable? 5445 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 5446 $as_echo_n "checking minix/config.h usability... " >&6; } 5447 cat >conftest.$ac_ext <<_ACEOF 5448 /* confdefs.h. */ 5449 _ACEOF 5450 cat confdefs.h >>conftest.$ac_ext 5451 cat >>conftest.$ac_ext <<_ACEOF 5452 /* end confdefs.h. */ 5453 $ac_includes_default 5454 #include <minix/config.h> 5455 _ACEOF 5456 rm -f conftest.$ac_objext 5457 if { (ac_try="$ac_compile" 5458 case "(($ac_try" in 5459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5460 *) ac_try_echo=$ac_try;; 5461 esac 5462 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5463 $as_echo "$ac_try_echo") >&5 5464 (eval "$ac_compile") 2>conftest.er1 5465 ac_status=$? 5466 grep -v '^ *+' conftest.er1 >conftest.err 5467 rm -f conftest.er1 5468 cat conftest.err >&5 5469 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5470 (exit $ac_status); } && { 5471 test -z "$ac_c_werror_flag" || 5472 test ! -s conftest.err 5473 } && test -s conftest.$ac_objext; then 5474 ac_header_compiler=yes 5475 else 5476 $as_echo "$as_me: failed program was:" >&5 5477 sed 's/^/| /' conftest.$ac_ext >&5 5478 5479 ac_header_compiler=no 5480 fi 5481 5482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5483 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5484 $as_echo "$ac_header_compiler" >&6; } 5485 5486 # Is the header present? 5487 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 5488 $as_echo_n "checking minix/config.h presence... " >&6; } 5489 cat >conftest.$ac_ext <<_ACEOF 5490 /* confdefs.h. */ 5491 _ACEOF 5492 cat confdefs.h >>conftest.$ac_ext 5493 cat >>conftest.$ac_ext <<_ACEOF 5494 /* end confdefs.h. */ 5495 #include <minix/config.h> 5496 _ACEOF 5497 if { (ac_try="$ac_cpp conftest.$ac_ext" 5498 case "(($ac_try" in 5499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5500 *) ac_try_echo=$ac_try;; 5501 esac 5502 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5503 $as_echo "$ac_try_echo") >&5 5504 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5505 ac_status=$? 5506 grep -v '^ *+' conftest.er1 >conftest.err 5507 rm -f conftest.er1 5508 cat conftest.err >&5 5509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5510 (exit $ac_status); } >/dev/null && { 5511 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5512 test ! -s conftest.err 5513 }; then 5514 ac_header_preproc=yes 5515 else 5516 $as_echo "$as_me: failed program was:" >&5 5517 sed 's/^/| /' conftest.$ac_ext >&5 5518 5519 ac_header_preproc=no 5520 fi 5521 5522 rm -f conftest.err conftest.$ac_ext 5523 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5524 $as_echo "$ac_header_preproc" >&6; } 5525 5526 # So? What about this header? 5527 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5528 yes:no: ) 5529 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 5530 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5531 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 5532 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 5533 ac_header_preproc=yes 5534 ;; 5535 no:yes:* ) 5536 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 5537 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 5538 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 5539 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 5540 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 5541 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 5542 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 5543 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 5544 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 5545 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 5546 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 5547 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 5548 5549 ;; 5550 esac 5551 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5552 $as_echo_n "checking for minix/config.h... " >&6; } 5553 if test "${ac_cv_header_minix_config_h+set}" = set; then 5554 $as_echo_n "(cached) " >&6 5555 else 5556 ac_cv_header_minix_config_h=$ac_header_preproc 5557 fi 5558 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5559 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5560 5561 fi 5562 if test "x$ac_cv_header_minix_config_h" = x""yes; then 5563 MINIX=yes 5564 else 5565 MINIX= 5566 fi 5567 5568 5569 if test "$MINIX" = yes; then 5570 5571 cat >>confdefs.h <<\_ACEOF 5572 #define _POSIX_SOURCE 1 5573 _ACEOF 5574 5575 5576 cat >>confdefs.h <<\_ACEOF 5577 #define _POSIX_1_SOURCE 2 5578 _ACEOF 5579 5580 5581 cat >>confdefs.h <<\_ACEOF 5582 #define _MINIX 1 5583 _ACEOF 5584 5585 fi 5586 5587 5588 5589 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 5590 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5591 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 5592 $as_echo_n "(cached) " >&6 5593 else 5594 cat >conftest.$ac_ext <<_ACEOF 5595 /* confdefs.h. */ 5596 _ACEOF 5597 cat confdefs.h >>conftest.$ac_ext 5598 cat >>conftest.$ac_ext <<_ACEOF 5599 /* end confdefs.h. */ 5600 5601 # define __EXTENSIONS__ 1 5602 $ac_includes_default 5603 int 5604 main () 5605 { 5606 5607 ; 5608 return 0; 5609 } 5610 _ACEOF 5611 rm -f conftest.$ac_objext 5612 if { (ac_try="$ac_compile" 5613 case "(($ac_try" in 5614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5615 *) ac_try_echo=$ac_try;; 5616 esac 5617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5618 $as_echo "$ac_try_echo") >&5 5619 (eval "$ac_compile") 2>conftest.er1 5620 ac_status=$? 5621 grep -v '^ *+' conftest.er1 >conftest.err 5622 rm -f conftest.er1 5623 cat conftest.err >&5 5624 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5625 (exit $ac_status); } && { 5626 test -z "$ac_c_werror_flag" || 5627 test ! -s conftest.err 5628 } && test -s conftest.$ac_objext; then 5629 ac_cv_safe_to_define___extensions__=yes 5630 else 5631 $as_echo "$as_me: failed program was:" >&5 5632 sed 's/^/| /' conftest.$ac_ext >&5 5633 5634 ac_cv_safe_to_define___extensions__=no 5635 fi 5636 5637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5638 fi 5639 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 5640 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5641 test $ac_cv_safe_to_define___extensions__ = yes && 5642 cat >>confdefs.h <<\_ACEOF 5643 #define __EXTENSIONS__ 1 5644 _ACEOF 5645 5646 cat >>confdefs.h <<\_ACEOF 5647 #define _ALL_SOURCE 1 5648 _ACEOF 5649 5650 cat >>confdefs.h <<\_ACEOF 5651 #define _GNU_SOURCE 1 5652 _ACEOF 5653 5654 cat >>confdefs.h <<\_ACEOF 5655 #define _POSIX_PTHREAD_SEMANTICS 1 5656 _ACEOF 5657 5658 cat >>confdefs.h <<\_ACEOF 5659 #define _TANDEM_SOURCE 1 5660 _ACEOF 5661 5662 5663 { $as_echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 5664 $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; } 4646 5665 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4647 echo $ECHO_N "(cached) $ECHO_C" >&65666 $as_echo_n "(cached) " >&6 4648 5667 else 4649 5668 ac_cv_prog_cc_stdc=no … … 4679 5698 _ACEOF 4680 5699 rm -f conftest.$ac_objext 4681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4682 (eval $ac_compile) 2>conftest.er1 5700 if { (ac_try="$ac_compile" 5701 case "(($ac_try" in 5702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5703 *) ac_try_echo=$ac_try;; 5704 esac 5705 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5706 $as_echo "$ac_try_echo") >&5 5707 (eval "$ac_compile") 2>conftest.er1 4683 5708 ac_status=$? 4684 5709 grep -v '^ *+' conftest.er1 >conftest.err 4685 5710 rm -f conftest.er1 4686 5711 cat conftest.err >&5 4687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4688 (exit $ac_status); } && 4689 { ac_try='test -z "$ac_c_werror_flag" 4690 || test ! -s conftest.err' 4691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4692 (eval $ac_try) 2>&5 4693 ac_status=$? 4694 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4695 (exit $ac_status); }; } && 4696 { ac_try='test -s conftest.$ac_objext' 4697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4698 (eval $ac_try) 2>&5 4699 ac_status=$? 4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4701 (exit $ac_status); }; }; then 5712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5713 (exit $ac_status); } && { 5714 test -z "$ac_c_werror_flag" || 5715 test ! -s conftest.err 5716 } && test -s conftest.$ac_objext; then 4702 5717 ac_cv_prog_cc_stdc="$ac_arg"; break 4703 5718 else 4704 echo "$as_me: failed program was:" >&55719 $as_echo "$as_me: failed program was:" >&5 4705 5720 sed 's/^/| /' conftest.$ac_ext >&5 4706 5721 4707 fi 4708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5722 5723 fi 5724 5725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4709 5726 done 4710 5727 CFLAGS="$ac_save_CFLAGS" … … 4712 5729 fi 4713 5730 4714 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&54715 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 5731 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 5732 $as_echo "$ac_cv_prog_cc_stdc" >&6; } 4716 5733 case "x$ac_cv_prog_cc_stdc" in 4717 5734 x|xno) ;; … … 4720 5737 4721 5738 4722 echo "$as_me:$LINENO: checking for function prototypes" >&54723 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 5739 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5 5740 $as_echo_n "checking for function prototypes... " >&6; } 4724 5741 if test "$ac_cv_prog_cc_stdc" != no; then 4725 echo "$as_me:$LINENO: result: yes" >&54726 echo "${ECHO_T}yes" >&6 5742 { $as_echo "$as_me:$LINENO: result: yes" >&5 5743 $as_echo "yes" >&6; } 4727 5744 cat >>confdefs.h <<\_ACEOF 4728 5745 #define PROTOTYPES 1 … … 4731 5748 U= ANSI2KNR= 4732 5749 else 4733 echo "$as_me:$LINENO: result: no" >&54734 echo "${ECHO_T}no" >&6 5750 { $as_echo "$as_me:$LINENO: result: no" >&5 5751 $as_echo "no" >&6; } 4735 5752 U=_ ANSI2KNR=ansi2knr 4736 5753 fi 4737 5754 4738 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&54739 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 5755 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 5756 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 4740 5757 if test "${ac_cv_c_const+set}" = set; then 4741 echo $ECHO_N "(cached) $ECHO_C" >&65758 $as_echo_n "(cached) " >&6 4742 5759 else 4743 5760 cat >conftest.$ac_ext <<_ACEOF … … 4755 5772 /* Ultrix mips cc rejects this. */ 4756 5773 typedef int charset[2]; 4757 const charset x;5774 const charset cs; 4758 5775 /* SunOS 4.1.1 cc rejects this. */ 4759 char const *const * ccp;4760 char **p ;5776 char const *const *pcpcc; 5777 char **ppc; 4761 5778 /* NEC SVR4.0.2 mips cc rejects this. */ 4762 5779 struct point {int x, y;}; … … 4767 5784 expression */ 4768 5785 const char *g = "string"; 4769 ccp= &g + (g ? g-g : 0);5786 pcpcc = &g + (g ? g-g : 0); 4770 5787 /* HPUX 7.0 cc rejects these. */ 4771 ++ ccp;4772 p = (char**) ccp;4773 ccp = (char const *const *) p;5788 ++pcpcc; 5789 ppc = (char**) pcpcc; 5790 pcpcc = (char const *const *) ppc; 4774 5791 { /* SCO 3.2v4 cc rejects this. */ 4775 5792 char *t; … … 4777 5794 4778 5795 *t++ = 0; 5796 if (s) return 0; 4779 5797 } 4780 5798 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 4795 5813 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4796 5814 const int foo = 10; 5815 if (!foo) return 0; 4797 5816 } 5817 return !cs[0] && !zero.x; 4798 5818 #endif 4799 5819 … … 4803 5823 _ACEOF 4804 5824 rm -f conftest.$ac_objext 4805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4806 (eval $ac_compile) 2>conftest.er1 5825 if { (ac_try="$ac_compile" 5826 case "(($ac_try" in 5827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5828 *) ac_try_echo=$ac_try;; 5829 esac 5830 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5831 $as_echo "$ac_try_echo") >&5 5832 (eval "$ac_compile") 2>conftest.er1 4807 5833 ac_status=$? 4808 5834 grep -v '^ *+' conftest.er1 >conftest.err 4809 5835 rm -f conftest.er1 4810 5836 cat conftest.err >&5 4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4812 (exit $ac_status); } && 4813 { ac_try='test -z "$ac_c_werror_flag" 4814 || test ! -s conftest.err' 4815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4816 (eval $ac_try) 2>&5 4817 ac_status=$? 4818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4819 (exit $ac_status); }; } && 4820 { ac_try='test -s conftest.$ac_objext' 4821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4822 (eval $ac_try) 2>&5 4823 ac_status=$? 4824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4825 (exit $ac_status); }; }; then 5837 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5838 (exit $ac_status); } && { 5839 test -z "$ac_c_werror_flag" || 5840 test ! -s conftest.err 5841 } && test -s conftest.$ac_objext; then 4826 5842 ac_cv_c_const=yes 4827 5843 else 4828 echo "$as_me: failed program was:" >&55844 $as_echo "$as_me: failed program was:" >&5 4829 5845 sed 's/^/| /' conftest.$ac_ext >&5 4830 5846 4831 ac_cv_c_const=no 4832 fi 4833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4834 fi 4835 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4836 echo "${ECHO_T}$ac_cv_c_const" >&6 5847 ac_cv_c_const=no 5848 fi 5849 5850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5851 fi 5852 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 5853 $as_echo "$ac_cv_c_const" >&6; } 4837 5854 if test $ac_cv_c_const = no; then 4838 5855 4839 5856 cat >>confdefs.h <<\_ACEOF 4840 #define const 4841 _ACEOF 4842 4843 fi 4844 4845 echo "$as_me:$LINENO: checking for off_t" >&54846 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 5857 #define const /**/ 5858 _ACEOF 5859 5860 fi 5861 5862 { $as_echo "$as_me:$LINENO: checking for off_t" >&5 5863 $as_echo_n "checking for off_t... " >&6; } 4847 5864 if test "${ac_cv_type_off_t+set}" = set; then 4848 echo $ECHO_N "(cached) $ECHO_C" >&6 4849 else 4850 cat >conftest.$ac_ext <<_ACEOF 5865 $as_echo_n "(cached) " >&6 5866 else 5867 ac_cv_type_off_t=no 5868 cat >conftest.$ac_ext <<_ACEOF 4851 5869 /* confdefs.h. */ 4852 5870 _ACEOF … … 4858 5876 main () 4859 5877 { 4860 if ((off_t *) 0)4861 return 0;4862 5878 if (sizeof (off_t)) 4863 return 0;5879 return 0; 4864 5880 ; 4865 5881 return 0; … … 4867 5883 _ACEOF 4868 5884 rm -f conftest.$ac_objext 4869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4870 (eval $ac_compile) 2>conftest.er1 5885 if { (ac_try="$ac_compile" 5886 case "(($ac_try" in 5887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5888 *) ac_try_echo=$ac_try;; 5889 esac 5890 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5891 $as_echo "$ac_try_echo") >&5 5892 (eval "$ac_compile") 2>conftest.er1 4871 5893 ac_status=$? 4872 5894 grep -v '^ *+' conftest.er1 >conftest.err 4873 5895 rm -f conftest.er1 4874 5896 cat conftest.err >&5 4875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4876 (exit $ac_status); } && 4877 { ac_try='test -z "$ac_c_werror_flag" 4878 || test ! -s conftest.err' 4879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4880 (eval $ac_try) 2>&5 4881 ac_status=$? 4882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4883 (exit $ac_status); }; } && 4884 { ac_try='test -s conftest.$ac_objext' 4885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4886 (eval $ac_try) 2>&5 4887 ac_status=$? 4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4889 (exit $ac_status); }; }; then 4890 ac_cv_type_off_t=yes 4891 else 4892 echo "$as_me: failed program was:" >&5 4893 sed 's/^/| /' conftest.$ac_ext >&5 4894 4895 ac_cv_type_off_t=no 4896 fi 4897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4898 fi 4899 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4900 echo "${ECHO_T}$ac_cv_type_off_t" >&6 4901 if test $ac_cv_type_off_t = yes; then 4902 : 4903 else 4904 4905 cat >>confdefs.h <<_ACEOF 4906 #define off_t long 4907 _ACEOF 4908 4909 fi 4910 4911 echo "$as_me:$LINENO: checking for size_t" >&5 4912 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 4913 if test "${ac_cv_type_size_t+set}" = set; then 4914 echo $ECHO_N "(cached) $ECHO_C" >&6 4915 else 5897 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5898 (exit $ac_status); } && { 5899 test -z "$ac_c_werror_flag" || 5900 test ! -s conftest.err 5901 } && test -s conftest.$ac_objext; then 4916 5902 cat >conftest.$ac_ext <<_ACEOF 4917 5903 /* confdefs.h. */ … … 4924 5910 main () 4925 5911 { 4926 if ((size_t *) 0) 4927 return 0; 4928 if (sizeof (size_t)) 4929 return 0; 5912 if (sizeof ((off_t))) 5913 return 0; 4930 5914 ; 4931 5915 return 0; … … 4933 5917 _ACEOF 4934 5918 rm -f conftest.$ac_objext 4935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4936 (eval $ac_compile) 2>conftest.er1 5919 if { (ac_try="$ac_compile" 5920 case "(($ac_try" in 5921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5922 *) ac_try_echo=$ac_try;; 5923 esac 5924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5925 $as_echo "$ac_try_echo") >&5 5926 (eval "$ac_compile") 2>conftest.er1 4937 5927 ac_status=$? 4938 5928 grep -v '^ *+' conftest.er1 >conftest.err 4939 5929 rm -f conftest.er1 4940 5930 cat conftest.err >&5 4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4942 (exit $ac_status); } && 4943 { ac_try='test -z "$ac_c_werror_flag" 4944 || test ! -s conftest.err' 4945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4946 (eval $ac_try) 2>&5 5931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5932 (exit $ac_status); } && { 5933 test -z "$ac_c_werror_flag" || 5934 test ! -s conftest.err 5935 } && test -s conftest.$ac_objext; then 5936 : 5937 else 5938 $as_echo "$as_me: failed program was:" >&5 5939 sed 's/^/| /' conftest.$ac_ext >&5 5940 5941 ac_cv_type_off_t=yes 5942 fi 5943 5944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5945 else 5946 $as_echo "$as_me: failed program was:" >&5 5947 sed 's/^/| /' conftest.$ac_ext >&5 5948 5949 5950 fi 5951 5952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5953 fi 5954 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 5955 $as_echo "$ac_cv_type_off_t" >&6; } 5956 if test "x$ac_cv_type_off_t" = x""yes; then 5957 : 5958 else 5959 5960 cat >>confdefs.h <<_ACEOF 5961 #define off_t long int 5962 _ACEOF 5963 5964 fi 5965 5966 { $as_echo "$as_me:$LINENO: checking for size_t" >&5 5967 $as_echo_n "checking for size_t... " >&6; } 5968 if test "${ac_cv_type_size_t+set}" = set; then 5969 $as_echo_n "(cached) " >&6 5970 else 5971 ac_cv_type_size_t=no 5972 cat >conftest.$ac_ext <<_ACEOF 5973 /* confdefs.h. */ 5974 _ACEOF 5975 cat confdefs.h >>conftest.$ac_ext 5976 cat >>conftest.$ac_ext <<_ACEOF 5977 /* end confdefs.h. */ 5978 $ac_includes_default 5979 int 5980 main () 5981 { 5982 if (sizeof (size_t)) 5983 return 0; 5984 ; 5985 return 0; 5986 } 5987 _ACEOF 5988 rm -f conftest.$ac_objext 5989 if { (ac_try="$ac_compile" 5990 case "(($ac_try" in 5991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5992 *) ac_try_echo=$ac_try;; 5993 esac 5994 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5995 $as_echo "$ac_try_echo") >&5 5996 (eval "$ac_compile") 2>conftest.er1 4947 5997 ac_status=$? 4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4949 (exit $ac_status); }; } && 4950 { ac_try='test -s conftest.$ac_objext' 4951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4952 (eval $ac_try) 2>&5 5998 grep -v '^ *+' conftest.er1 >conftest.err 5999 rm -f conftest.er1 6000 cat conftest.err >&5 6001 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6002 (exit $ac_status); } && { 6003 test -z "$ac_c_werror_flag" || 6004 test ! -s conftest.err 6005 } && test -s conftest.$ac_objext; then 6006 cat >conftest.$ac_ext <<_ACEOF 6007 /* confdefs.h. */ 6008 _ACEOF 6009 cat confdefs.h >>conftest.$ac_ext 6010 cat >>conftest.$ac_ext <<_ACEOF 6011 /* end confdefs.h. */ 6012 $ac_includes_default 6013 int 6014 main () 6015 { 6016 if (sizeof ((size_t))) 6017 return 0; 6018 ; 6019 return 0; 6020 } 6021 _ACEOF 6022 rm -f conftest.$ac_objext 6023 if { (ac_try="$ac_compile" 6024 case "(($ac_try" in 6025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6026 *) ac_try_echo=$ac_try;; 6027 esac 6028 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6029 $as_echo "$ac_try_echo") >&5 6030 (eval "$ac_compile") 2>conftest.er1 4953 6031 ac_status=$? 4954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4955 (exit $ac_status); }; }; then 4956 ac_cv_type_size_t=yes 4957 else 4958 echo "$as_me: failed program was:" >&5 6032 grep -v '^ *+' conftest.er1 >conftest.err 6033 rm -f conftest.er1 6034 cat conftest.err >&5 6035 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6036 (exit $ac_status); } && { 6037 test -z "$ac_c_werror_flag" || 6038 test ! -s conftest.err 6039 } && test -s conftest.$ac_objext; then 6040 : 6041 else 6042 $as_echo "$as_me: failed program was:" >&5 4959 6043 sed 's/^/| /' conftest.$ac_ext >&5 4960 6044 4961 ac_cv_type_size_t=no 4962 fi 4963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4964 fi 4965 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4966 echo "${ECHO_T}$ac_cv_type_size_t" >&6 4967 if test $ac_cv_type_size_t = yes; then 6045 ac_cv_type_size_t=yes 6046 fi 6047 6048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6049 else 6050 $as_echo "$as_me: failed program was:" >&5 6051 sed 's/^/| /' conftest.$ac_ext >&5 6052 6053 6054 fi 6055 6056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6057 fi 6058 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 6059 $as_echo "$ac_cv_type_size_t" >&6; } 6060 if test "x$ac_cv_type_size_t" = x""yes; then 4968 6061 : 4969 6062 else 4970 6063 4971 6064 cat >>confdefs.h <<_ACEOF 4972 #define size_t unsigned 4973 _ACEOF 4974 4975 fi 4976 4977 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&54978 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 6065 #define size_t unsigned int 6066 _ACEOF 6067 6068 fi 6069 6070 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 6071 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 4979 6072 if test "${ac_cv_header_time+set}" = set; then 4980 echo $ECHO_N "(cached) $ECHO_C" >&66073 $as_echo_n "(cached) " >&6 4981 6074 else 4982 6075 cat >conftest.$ac_ext <<_ACEOF … … 5000 6093 _ACEOF 5001 6094 rm -f conftest.$ac_objext 5002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5003 (eval $ac_compile) 2>conftest.er1 6095 if { (ac_try="$ac_compile" 6096 case "(($ac_try" in 6097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6098 *) ac_try_echo=$ac_try;; 6099 esac 6100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6101 $as_echo "$ac_try_echo") >&5 6102 (eval "$ac_compile") 2>conftest.er1 5004 6103 ac_status=$? 5005 6104 grep -v '^ *+' conftest.er1 >conftest.err 5006 6105 rm -f conftest.er1 5007 6106 cat conftest.err >&5 5008 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5009 (exit $ac_status); } && 5010 { ac_try='test -z "$ac_c_werror_flag" 5011 || test ! -s conftest.err' 5012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5013 (eval $ac_try) 2>&5 5014 ac_status=$? 5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5016 (exit $ac_status); }; } && 5017 { ac_try='test -s conftest.$ac_objext' 5018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5019 (eval $ac_try) 2>&5 5020 ac_status=$? 5021 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5022 (exit $ac_status); }; }; then 6107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6108 (exit $ac_status); } && { 6109 test -z "$ac_c_werror_flag" || 6110 test ! -s conftest.err 6111 } && test -s conftest.$ac_objext; then 5023 6112 ac_cv_header_time=yes 5024 6113 else 5025 echo "$as_me: failed program was:" >&56114 $as_echo "$as_me: failed program was:" >&5 5026 6115 sed 's/^/| /' conftest.$ac_ext >&5 5027 6116 5028 ac_cv_header_time=no 5029 fi 5030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5031 fi 5032 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 5033 echo "${ECHO_T}$ac_cv_header_time" >&6 6117 ac_cv_header_time=no 6118 fi 6119 6120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6121 fi 6122 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 6123 $as_echo "$ac_cv_header_time" >&6; } 5034 6124 if test $ac_cv_header_time = yes; then 5035 6125 … … 5040 6130 fi 5041 6131 5042 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&55043 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 6132 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 6133 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 5044 6134 if test "${ac_cv_struct_tm+set}" = set; then 5045 echo $ECHO_N "(cached) $ECHO_C" >&66135 $as_echo_n "(cached) " >&6 5046 6136 else 5047 6137 cat >conftest.$ac_ext <<_ACEOF … … 5057 6147 main () 5058 6148 { 5059 struct tm *tp; tp->tm_sec; 6149 struct tm tm; 6150 int *p = &tm.tm_sec; 6151 return !p; 5060 6152 ; 5061 6153 return 0; … … 5063 6155 _ACEOF 5064 6156 rm -f conftest.$ac_objext 5065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5066 (eval $ac_compile) 2>conftest.er1 6157 if { (ac_try="$ac_compile" 6158 case "(($ac_try" in 6159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6160 *) ac_try_echo=$ac_try;; 6161 esac 6162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6163 $as_echo "$ac_try_echo") >&5 6164 (eval "$ac_compile") 2>conftest.er1 5067 6165 ac_status=$? 5068 6166 grep -v '^ *+' conftest.er1 >conftest.err 5069 6167 rm -f conftest.er1 5070 6168 cat conftest.err >&5 5071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5072 (exit $ac_status); } && 5073 { ac_try='test -z "$ac_c_werror_flag" 5074 || test ! -s conftest.err' 5075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5076 (eval $ac_try) 2>&5 5077 ac_status=$? 5078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5079 (exit $ac_status); }; } && 5080 { ac_try='test -s conftest.$ac_objext' 5081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5082 (eval $ac_try) 2>&5 5083 ac_status=$? 5084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5085 (exit $ac_status); }; }; then 6169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6170 (exit $ac_status); } && { 6171 test -z "$ac_c_werror_flag" || 6172 test ! -s conftest.err 6173 } && test -s conftest.$ac_objext; then 5086 6174 ac_cv_struct_tm=time.h 5087 6175 else 5088 echo "$as_me: failed program was:" >&56176 $as_echo "$as_me: failed program was:" >&5 5089 6177 sed 's/^/| /' conftest.$ac_ext >&5 5090 6178 5091 ac_cv_struct_tm=sys/time.h 5092 fi 5093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5094 fi 5095 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 5096 echo "${ECHO_T}$ac_cv_struct_tm" >&6 6179 ac_cv_struct_tm=sys/time.h 6180 fi 6181 6182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6183 fi 6184 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 6185 $as_echo "$ac_cv_struct_tm" >&6; } 5097 6186 if test $ac_cv_struct_tm = sys/time.h; then 5098 6187 … … 5122 6211 _ACEOF 5123 6212 rm -f conftest.$ac_objext 5124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5125 (eval $ac_compile) 2>conftest.er1 6213 if { (ac_try="$ac_compile" 6214 case "(($ac_try" in 6215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6216 *) ac_try_echo=$ac_try;; 6217 esac 6218 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6219 $as_echo "$ac_try_echo") >&5 6220 (eval "$ac_compile") 2>conftest.er1 5126 6221 ac_status=$? 5127 6222 grep -v '^ *+' conftest.er1 >conftest.err 5128 6223 rm -f conftest.er1 5129 6224 cat conftest.err >&5 5130 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5131 (exit $ac_status); } && 5132 { ac_try='test -z "$ac_c_werror_flag" 5133 || test ! -s conftest.err' 5134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5135 (eval $ac_try) 2>&5 5136 ac_status=$? 5137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5138 (exit $ac_status); }; } && 5139 { ac_try='test -s conftest.$ac_objext' 5140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5141 (eval $ac_try) 2>&5 5142 ac_status=$? 5143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5144 (exit $ac_status); }; }; then 6225 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6226 (exit $ac_status); } && { 6227 test -z "$ac_c_werror_flag" || 6228 test ! -s conftest.err 6229 } && test -s conftest.$ac_objext; then 5145 6230 : 5146 6231 else 5147 echo "$as_me: failed program was:" >&56232 $as_echo "$as_me: failed program was:" >&5 5148 6233 sed 's/^/| /' conftest.$ac_ext >&5 5149 6234 5150 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5151 fi 5152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5153 fi 5154 5155 5156 5157 echo "$as_me:$LINENO: checking for main in -lg" >&5 5158 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6 6235 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 6236 fi 6237 6238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6239 fi 6240 6241 6242 6243 { $as_echo "$as_me:$LINENO: checking for main in -lg" >&5 6244 $as_echo_n "checking for main in -lg... " >&6; } 5159 6245 if test "${ac_cv_lib_g_main+set}" = set; then 5160 echo $ECHO_N "(cached) $ECHO_C" >&66246 $as_echo_n "(cached) " >&6 5161 6247 else 5162 6248 ac_check_lib_save_LIBS=$LIBS … … 5173 6259 main () 5174 6260 { 5175 main ();6261 return main (); 5176 6262 ; 5177 6263 return 0; … … 5179 6265 _ACEOF 5180 6266 rm -f conftest.$ac_objext conftest$ac_exeext 5181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5182 (eval $ac_link) 2>conftest.er1 6267 if { (ac_try="$ac_link" 6268 case "(($ac_try" in 6269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6270 *) ac_try_echo=$ac_try;; 6271 esac 6272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6273 $as_echo "$ac_try_echo") >&5 6274 (eval "$ac_link") 2>conftest.er1 5183 6275 ac_status=$? 5184 6276 grep -v '^ *+' conftest.er1 >conftest.err 5185 6277 rm -f conftest.er1 5186 6278 cat conftest.err >&5 5187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5188 (exit $ac_status); } && 5189 { ac_try='test -z "$ac_c_werror_flag" 5190 || test ! -s conftest.err' 5191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5192 (eval $ac_try) 2>&5 5193 ac_status=$? 5194 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5195 (exit $ac_status); }; } && 5196 { ac_try='test -s conftest$ac_exeext' 5197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5198 (eval $ac_try) 2>&5 5199 ac_status=$? 5200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5201 (exit $ac_status); }; }; then 6279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6280 (exit $ac_status); } && { 6281 test -z "$ac_c_werror_flag" || 6282 test ! -s conftest.err 6283 } && test -s conftest$ac_exeext && { 6284 test "$cross_compiling" = yes || 6285 $as_test_x conftest$ac_exeext 6286 }; then 5202 6287 ac_cv_lib_g_main=yes 5203 6288 else 5204 echo "$as_me: failed program was:" >&56289 $as_echo "$as_me: failed program was:" >&5 5205 6290 sed 's/^/| /' conftest.$ac_ext >&5 5206 6291 5207 ac_cv_lib_g_main=no 5208 fi 5209 rm -f conftest.err conftest.$ac_objext \ 6292 ac_cv_lib_g_main=no 6293 fi 6294 6295 rm -rf conftest.dSYM 6296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5210 6297 conftest$ac_exeext conftest.$ac_ext 5211 6298 LIBS=$ac_check_lib_save_LIBS 5212 6299 fi 5213 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&55214 echo "${ECHO_T}$ac_cv_lib_g_main" >&6 5215 if test $ac_cv_lib_g_main =yes; then6300 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5 6301 $as_echo "$ac_cv_lib_g_main" >&6; } 6302 if test "x$ac_cv_lib_g_main" = x""yes; then 5216 6303 cat >>confdefs.h <<_ACEOF 5217 6304 #define HAVE_LIBG 1 … … 5224 6311 5225 6312 5226 echo "$as_me:$LINENO: checking for main in -lm" >&55227 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 6313 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5 6314 $as_echo_n "checking for main in -lm... " >&6; } 5228 6315 if test "${ac_cv_lib_m_main+set}" = set; then 5229 echo $ECHO_N "(cached) $ECHO_C" >&66316 $as_echo_n "(cached) " >&6 5230 6317 else 5231 6318 ac_check_lib_save_LIBS=$LIBS … … 5242 6329 main () 5243 6330 { 5244 main ();6331 return main (); 5245 6332 ; 5246 6333 return 0; … … 5248 6335 _ACEOF 5249 6336 rm -f conftest.$ac_objext conftest$ac_exeext 5250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5251 (eval $ac_link) 2>conftest.er1 6337 if { (ac_try="$ac_link" 6338 case "(($ac_try" in 6339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6340 *) ac_try_echo=$ac_try;; 6341 esac 6342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6343 $as_echo "$ac_try_echo") >&5 6344 (eval "$ac_link") 2>conftest.er1 5252 6345 ac_status=$? 5253 6346 grep -v '^ *+' conftest.er1 >conftest.err 5254 6347 rm -f conftest.er1 5255 6348 cat conftest.err >&5 5256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5257 (exit $ac_status); } && 5258 { ac_try='test -z "$ac_c_werror_flag" 5259 || test ! -s conftest.err' 5260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5261 (eval $ac_try) 2>&5 5262 ac_status=$? 5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5264 (exit $ac_status); }; } && 5265 { ac_try='test -s conftest$ac_exeext' 5266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5267 (eval $ac_try) 2>&5 5268 ac_status=$? 5269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5270 (exit $ac_status); }; }; then 6349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6350 (exit $ac_status); } && { 6351 test -z "$ac_c_werror_flag" || 6352 test ! -s conftest.err 6353 } && test -s conftest$ac_exeext && { 6354 test "$cross_compiling" = yes || 6355 $as_test_x conftest$ac_exeext 6356 }; then 5271 6357 ac_cv_lib_m_main=yes 5272 6358 else 5273 echo "$as_me: failed program was:" >&56359 $as_echo "$as_me: failed program was:" >&5 5274 6360 sed 's/^/| /' conftest.$ac_ext >&5 5275 6361 5276 ac_cv_lib_m_main=no 5277 fi 5278 rm -f conftest.err conftest.$ac_objext \ 6362 ac_cv_lib_m_main=no 6363 fi 6364 6365 rm -rf conftest.dSYM 6366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5279 6367 conftest$ac_exeext conftest.$ac_ext 5280 6368 LIBS=$ac_check_lib_save_LIBS 5281 6369 fi 5282 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&55283 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 5284 if test $ac_cv_lib_m_main =yes; then6370 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 6371 $as_echo "$ac_cv_lib_m_main" >&6; } 6372 if test "x$ac_cv_lib_m_main" = x""yes; then 5285 6373 cat >>confdefs.h <<_ACEOF 5286 6374 #define HAVE_LIBM 1 … … 5293 6381 5294 6382 5295 echo "$as_me:$LINENO: checking for main in -lcrypt" >&55296 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 6383 { $as_echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 6384 $as_echo_n "checking for main in -lcrypt... " >&6; } 5297 6385 if test "${ac_cv_lib_crypt_main+set}" = set; then 5298 echo $ECHO_N "(cached) $ECHO_C" >&66386 $as_echo_n "(cached) " >&6 5299 6387 else 5300 6388 ac_check_lib_save_LIBS=$LIBS … … 5311 6399 main () 5312 6400 { 5313 main ();6401 return main (); 5314 6402 ; 5315 6403 return 0; … … 5317 6405 _ACEOF 5318 6406 rm -f conftest.$ac_objext conftest$ac_exeext 5319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5320 (eval $ac_link) 2>conftest.er1 6407 if { (ac_try="$ac_link" 6408 case "(($ac_try" in 6409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6410 *) ac_try_echo=$ac_try;; 6411 esac 6412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6413 $as_echo "$ac_try_echo") >&5 6414 (eval "$ac_link") 2>conftest.er1 5321 6415 ac_status=$? 5322 6416 grep -v '^ *+' conftest.er1 >conftest.err 5323 6417 rm -f conftest.er1 5324 6418 cat conftest.err >&5 5325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5326 (exit $ac_status); } && 5327 { ac_try='test -z "$ac_c_werror_flag" 5328 || test ! -s conftest.err' 5329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5330 (eval $ac_try) 2>&5 5331 ac_status=$? 5332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5333 (exit $ac_status); }; } && 5334 { ac_try='test -s conftest$ac_exeext' 5335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5336 (eval $ac_try) 2>&5 5337 ac_status=$? 5338 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5339 (exit $ac_status); }; }; then 6419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6420 (exit $ac_status); } && { 6421 test -z "$ac_c_werror_flag" || 6422 test ! -s conftest.err 6423 } && test -s conftest$ac_exeext && { 6424 test "$cross_compiling" = yes || 6425 $as_test_x conftest$ac_exeext 6426 }; then 5340 6427 ac_cv_lib_crypt_main=yes 5341 6428 else 5342 echo "$as_me: failed program was:" >&56429 $as_echo "$as_me: failed program was:" >&5 5343 6430 sed 's/^/| /' conftest.$ac_ext >&5 5344 6431 5345 ac_cv_lib_crypt_main=no 5346 fi 5347 rm -f conftest.err conftest.$ac_objext \ 6432 ac_cv_lib_crypt_main=no 6433 fi 6434 6435 rm -rf conftest.dSYM 6436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5348 6437 conftest$ac_exeext conftest.$ac_ext 5349 6438 LIBS=$ac_check_lib_save_LIBS 5350 6439 fi 5351 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&55352 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 5353 if test $ac_cv_lib_crypt_main =yes; then6440 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5 6441 $as_echo "$ac_cv_lib_crypt_main" >&6; } 6442 if test "x$ac_cv_lib_crypt_main" = x""yes; then 5354 6443 cat >>confdefs.h <<_ACEOF 5355 6444 #define HAVE_LIBCRYPT 1 … … 5372 6461 ac_header_dirent=no 5373 6462 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 5374 as_ac_Header=` echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`5375 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&55376 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 5377 if eval "test \"\${$as_ac_Header+set}\" = set"; then5378 echo $ECHO_N "(cached) $ECHO_C" >&66463 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 6464 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 6465 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 6466 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6467 $as_echo_n "(cached) " >&6 5379 6468 else 5380 6469 cat >conftest.$ac_ext <<_ACEOF … … 5397 6486 _ACEOF 5398 6487 rm -f conftest.$ac_objext 5399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5400 (eval $ac_compile) 2>conftest.er1 6488 if { (ac_try="$ac_compile" 6489 case "(($ac_try" in 6490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6491 *) ac_try_echo=$ac_try;; 6492 esac 6493 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6494 $as_echo "$ac_try_echo") >&5 6495 (eval "$ac_compile") 2>conftest.er1 5401 6496 ac_status=$? 5402 6497 grep -v '^ *+' conftest.er1 >conftest.err 5403 6498 rm -f conftest.er1 5404 6499 cat conftest.err >&5 5405 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5406 (exit $ac_status); } && 5407 { ac_try='test -z "$ac_c_werror_flag" 5408 || test ! -s conftest.err' 5409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5410 (eval $ac_try) 2>&5 5411 ac_status=$? 5412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5413 (exit $ac_status); }; } && 5414 { ac_try='test -s conftest.$ac_objext' 5415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5416 (eval $ac_try) 2>&5 5417 ac_status=$? 5418 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5419 (exit $ac_status); }; }; then 6500 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6501 (exit $ac_status); } && { 6502 test -z "$ac_c_werror_flag" || 6503 test ! -s conftest.err 6504 } && test -s conftest.$ac_objext; then 5420 6505 eval "$as_ac_Header=yes" 5421 6506 else 5422 echo "$as_me: failed program was:" >&56507 $as_echo "$as_me: failed program was:" >&5 5423 6508 sed 's/^/| /' conftest.$ac_ext >&5 5424 6509 5425 eval "$as_ac_Header=no" 5426 fi 5427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5428 fi 5429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5431 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6510 eval "$as_ac_Header=no" 6511 fi 6512 6513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6514 fi 6515 ac_res=`eval 'as_val=${'$as_ac_Header'} 6516 $as_echo "$as_val"'` 6517 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6518 $as_echo "$ac_res" >&6; } 6519 as_val=`eval 'as_val=${'$as_ac_Header'} 6520 $as_echo "$as_val"'` 6521 if test "x$as_val" = x""yes; then 5432 6522 cat >>confdefs.h <<_ACEOF 5433 #define ` echo "HAVE_$ac_hdr" | $as_tr_cpp` 16523 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 5434 6524 _ACEOF 5435 6525 … … 5440 6530 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 5441 6531 if test $ac_header_dirent = dirent.h; then 5442 echo "$as_me:$LINENO: checking for library containing opendir" >&55443 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 6532 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 6533 $as_echo_n "checking for library containing opendir... " >&6; } 5444 6534 if test "${ac_cv_search_opendir+set}" = set; then 5445 echo $ECHO_N "(cached) $ECHO_C" >&66535 $as_echo_n "(cached) " >&6 5446 6536 else 5447 6537 ac_func_search_save_LIBS=$LIBS 5448 ac_cv_search_opendir=no5449 6538 cat >conftest.$ac_ext <<_ACEOF 5450 6539 /* confdefs.h. */ … … 5454 6543 /* end confdefs.h. */ 5455 6544 5456 /* Override any gcc2 internal prototype to avoid an error. */ 6545 /* Override any GCC internal prototype to avoid an error. 6546 Use char because int might match the return type of a GCC 6547 builtin and then its argument prototype would still apply. */ 5457 6548 #ifdef __cplusplus 5458 6549 extern "C" 5459 6550 #endif 5460 /* We use char because int might match the return type of a gcc25461 builtin and then its argument prototype would still apply. */5462 6551 char opendir (); 5463 6552 int 5464 6553 main () 5465 6554 { 5466 opendir ();6555 return opendir (); 5467 6556 ; 5468 6557 return 0; 5469 6558 } 5470 6559 _ACEOF 5471 rm -f conftest.$ac_objext conftest$ac_exeext 5472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5473 (eval $ac_link) 2>conftest.er1 6560 for ac_lib in '' dir; do 6561 if test -z "$ac_lib"; then 6562 ac_res="none required" 6563 else 6564 ac_res=-l$ac_lib 6565 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6566 fi 6567 rm -f conftest.$ac_objext conftest$ac_exeext 6568 if { (ac_try="$ac_link" 6569 case "(($ac_try" in 6570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6571 *) ac_try_echo=$ac_try;; 6572 esac 6573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6574 $as_echo "$ac_try_echo") >&5 6575 (eval "$ac_link") 2>conftest.er1 5474 6576 ac_status=$? 5475 6577 grep -v '^ *+' conftest.er1 >conftest.err 5476 6578 rm -f conftest.er1 5477 6579 cat conftest.err >&5 5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5479 (exit $ac_status); } && 5480 { ac_try='test -z "$ac_c_werror_flag" 5481 || test ! -s conftest.err' 5482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5483 (eval $ac_try) 2>&5 5484 ac_status=$? 5485 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5486 (exit $ac_status); }; } && 5487 { ac_try='test -s conftest$ac_exeext' 5488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5489 (eval $ac_try) 2>&5 5490 ac_status=$? 5491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5492 (exit $ac_status); }; }; then 5493 ac_cv_search_opendir="none required" 5494 else 5495 echo "$as_me: failed program was:" >&5 6580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6581 (exit $ac_status); } && { 6582 test -z "$ac_c_werror_flag" || 6583 test ! -s conftest.err 6584 } && test -s conftest$ac_exeext && { 6585 test "$cross_compiling" = yes || 6586 $as_test_x conftest$ac_exeext 6587 }; then 6588 ac_cv_search_opendir=$ac_res 6589 else 6590 $as_echo "$as_me: failed program was:" >&5 5496 6591 sed 's/^/| /' conftest.$ac_ext >&5 5497 6592 5498 fi 5499 rm -f conftest.err conftest.$ac_objext \ 5500 conftest$ac_exeext conftest.$ac_ext 5501 if test "$ac_cv_search_opendir" = no; then 5502 for ac_lib in dir; do 5503 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5504 cat >conftest.$ac_ext <<_ACEOF 6593 6594 fi 6595 6596 rm -rf conftest.dSYM 6597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6598 conftest$ac_exeext 6599 if test "${ac_cv_search_opendir+set}" = set; then 6600 break 6601 fi 6602 done 6603 if test "${ac_cv_search_opendir+set}" = set; then 6604 : 6605 else 6606 ac_cv_search_opendir=no 6607 fi 6608 rm conftest.$ac_ext 6609 LIBS=$ac_func_search_save_LIBS 6610 fi 6611 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 6612 $as_echo "$ac_cv_search_opendir" >&6; } 6613 ac_res=$ac_cv_search_opendir 6614 if test "$ac_res" != no; then 6615 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6616 6617 fi 6618 6619 else 6620 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 6621 $as_echo_n "checking for library containing opendir... " >&6; } 6622 if test "${ac_cv_search_opendir+set}" = set; then 6623 $as_echo_n "(cached) " >&6 6624 else 6625 ac_func_search_save_LIBS=$LIBS 6626 cat >conftest.$ac_ext <<_ACEOF 5505 6627 /* confdefs.h. */ 5506 6628 _ACEOF … … 5509 6631 /* end confdefs.h. */ 5510 6632 5511 /* Override any gcc2 internal prototype to avoid an error. */ 6633 /* Override any GCC internal prototype to avoid an error. 6634 Use char because int might match the return type of a GCC 6635 builtin and then its argument prototype would still apply. */ 5512 6636 #ifdef __cplusplus 5513 6637 extern "C" 5514 6638 #endif 5515 /* We use char because int might match the return type of a gcc25516 builtin and then its argument prototype would still apply. */5517 6639 char opendir (); 5518 6640 int 5519 6641 main () 5520 6642 { 5521 opendir ();6643 return opendir (); 5522 6644 ; 5523 6645 return 0; 5524 6646 } 5525 6647 _ACEOF 5526 rm -f conftest.$ac_objext conftest$ac_exeext 5527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5528 (eval $ac_link) 2>conftest.er1 6648 for ac_lib in '' x; do 6649 if test -z "$ac_lib"; then 6650 ac_res="none required" 6651 else 6652 ac_res=-l$ac_lib 6653 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6654 fi 6655 rm -f conftest.$ac_objext conftest$ac_exeext 6656 if { (ac_try="$ac_link" 6657 case "(($ac_try" in 6658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6659 *) ac_try_echo=$ac_try;; 6660 esac 6661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6662 $as_echo "$ac_try_echo") >&5 6663 (eval "$ac_link") 2>conftest.er1 5529 6664 ac_status=$? 5530 6665 grep -v '^ *+' conftest.er1 >conftest.err 5531 6666 rm -f conftest.er1 5532 6667 cat conftest.err >&5 5533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5534 (exit $ac_status); } && 5535 { ac_try='test -z "$ac_c_werror_flag" 5536 || test ! -s conftest.err' 5537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5538 (eval $ac_try) 2>&5 5539 ac_status=$? 5540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5541 (exit $ac_status); }; } && 5542 { ac_try='test -s conftest$ac_exeext' 5543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5544 (eval $ac_try) 2>&5 5545 ac_status=$? 5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5547 (exit $ac_status); }; }; then 5548 ac_cv_search_opendir="-l$ac_lib" 5549 break 5550 else 5551 echo "$as_me: failed program was:" >&5 6668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6669 (exit $ac_status); } && { 6670 test -z "$ac_c_werror_flag" || 6671 test ! -s conftest.err 6672 } && test -s conftest$ac_exeext && { 6673 test "$cross_compiling" = yes || 6674 $as_test_x conftest$ac_exeext 6675 }; then 6676 ac_cv_search_opendir=$ac_res 6677 else 6678 $as_echo "$as_me: failed program was:" >&5 5552 6679 sed 's/^/| /' conftest.$ac_ext >&5 5553 6680 5554 fi 5555 rm -f conftest.err conftest.$ac_objext \ 5556 conftest$ac_exeext conftest.$ac_ext 5557 done 5558 fi 6681 6682 fi 6683 6684 rm -rf conftest.dSYM 6685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6686 conftest$ac_exeext 6687 if test "${ac_cv_search_opendir+set}" = set; then 6688 break 6689 fi 6690 done 6691 if test "${ac_cv_search_opendir+set}" = set; then 6692 : 6693 else 6694 ac_cv_search_opendir=no 6695 fi 6696 rm conftest.$ac_ext 5559 6697 LIBS=$ac_func_search_save_LIBS 5560 6698 fi 5561 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5562 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5563 if test "$ac_cv_search_opendir" != no; then 5564 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5565 5566 fi 5567 5568 else 5569 echo "$as_me:$LINENO: checking for library containing opendir" >&5 5570 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5571 if test "${ac_cv_search_opendir+set}" = set; then 5572 echo $ECHO_N "(cached) $ECHO_C" >&6 5573 else 5574 ac_func_search_save_LIBS=$LIBS 5575 ac_cv_search_opendir=no 5576 cat >conftest.$ac_ext <<_ACEOF 5577 /* confdefs.h. */ 5578 _ACEOF 5579 cat confdefs.h >>conftest.$ac_ext 5580 cat >>conftest.$ac_ext <<_ACEOF 5581 /* end confdefs.h. */ 5582 5583 /* Override any gcc2 internal prototype to avoid an error. */ 5584 #ifdef __cplusplus 5585 extern "C" 5586 #endif 5587 /* We use char because int might match the return type of a gcc2 5588 builtin and then its argument prototype would still apply. */ 5589 char opendir (); 5590 int 5591 main () 5592 { 5593 opendir (); 5594 ; 5595 return 0; 5596 } 5597 _ACEOF 5598 rm -f conftest.$ac_objext conftest$ac_exeext 5599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5600 (eval $ac_link) 2>conftest.er1 5601 ac_status=$? 5602 grep -v '^ *+' conftest.er1 >conftest.err 5603 rm -f conftest.er1 5604 cat conftest.err >&5 5605 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5606 (exit $ac_status); } && 5607 { ac_try='test -z "$ac_c_werror_flag" 5608 || test ! -s conftest.err' 5609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5610 (eval $ac_try) 2>&5 5611 ac_status=$? 5612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5613 (exit $ac_status); }; } && 5614 { ac_try='test -s conftest$ac_exeext' 5615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5616 (eval $ac_try) 2>&5 5617 ac_status=$? 5618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5619 (exit $ac_status); }; }; then 5620 ac_cv_search_opendir="none required" 5621 else 5622 echo "$as_me: failed program was:" >&5 5623 sed 's/^/| /' conftest.$ac_ext >&5 5624 5625 fi 5626 rm -f conftest.err conftest.$ac_objext \ 5627 conftest$ac_exeext conftest.$ac_ext 5628 if test "$ac_cv_search_opendir" = no; then 5629 for ac_lib in x; do 5630 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5631 cat >conftest.$ac_ext <<_ACEOF 5632 /* confdefs.h. */ 5633 _ACEOF 5634 cat confdefs.h >>conftest.$ac_ext 5635 cat >>conftest.$ac_ext <<_ACEOF 5636 /* end confdefs.h. */ 5637 5638 /* Override any gcc2 internal prototype to avoid an error. */ 5639 #ifdef __cplusplus 5640 extern "C" 5641 #endif 5642 /* We use char because int might match the return type of a gcc2 5643 builtin and then its argument prototype would still apply. */ 5644 char opendir (); 5645 int 5646 main () 5647 { 5648 opendir (); 5649 ; 5650 return 0; 5651 } 5652 _ACEOF 5653 rm -f conftest.$ac_objext conftest$ac_exeext 5654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5655 (eval $ac_link) 2>conftest.er1 5656 ac_status=$? 5657 grep -v '^ *+' conftest.er1 >conftest.err 5658 rm -f conftest.er1 5659 cat conftest.err >&5 5660 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5661 (exit $ac_status); } && 5662 { ac_try='test -z "$ac_c_werror_flag" 5663 || test ! -s conftest.err' 5664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5665 (eval $ac_try) 2>&5 5666 ac_status=$? 5667 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5668 (exit $ac_status); }; } && 5669 { ac_try='test -s conftest$ac_exeext' 5670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5671 (eval $ac_try) 2>&5 5672 ac_status=$? 5673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5674 (exit $ac_status); }; }; then 5675 ac_cv_search_opendir="-l$ac_lib" 5676 break 5677 else 5678 echo "$as_me: failed program was:" >&5 5679 sed 's/^/| /' conftest.$ac_ext >&5 5680 5681 fi 5682 rm -f conftest.err conftest.$ac_objext \ 5683 conftest$ac_exeext conftest.$ac_ext 5684 done 5685 fi 5686 LIBS=$ac_func_search_save_LIBS 5687 fi 5688 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5689 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5690 if test "$ac_cv_search_opendir" != no; then 5691 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5692 5693 fi 5694 5695 fi 5696 5697 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5698 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6699 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 6700 $as_echo "$ac_cv_search_opendir" >&6; } 6701 ac_res=$ac_cv_search_opendir 6702 if test "$ac_res" != no; then 6703 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6704 6705 fi 6706 6707 fi 6708 6709 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6710 $as_echo_n "checking for ANSI C header files... " >&6; } 5699 6711 if test "${ac_cv_header_stdc+set}" = set; then 5700 echo $ECHO_N "(cached) $ECHO_C" >&66712 $as_echo_n "(cached) " >&6 5701 6713 else 5702 6714 cat >conftest.$ac_ext <<_ACEOF … … 5720 6732 _ACEOF 5721 6733 rm -f conftest.$ac_objext 5722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5723 (eval $ac_compile) 2>conftest.er1 6734 if { (ac_try="$ac_compile" 6735 case "(($ac_try" in 6736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6737 *) ac_try_echo=$ac_try;; 6738 esac 6739 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6740 $as_echo "$ac_try_echo") >&5 6741 (eval "$ac_compile") 2>conftest.er1 5724 6742 ac_status=$? 5725 6743 grep -v '^ *+' conftest.er1 >conftest.err 5726 6744 rm -f conftest.er1 5727 6745 cat conftest.err >&5 5728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5729 (exit $ac_status); } && 5730 { ac_try='test -z "$ac_c_werror_flag" 5731 || test ! -s conftest.err' 5732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5733 (eval $ac_try) 2>&5 5734 ac_status=$? 5735 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5736 (exit $ac_status); }; } && 5737 { ac_try='test -s conftest.$ac_objext' 5738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5739 (eval $ac_try) 2>&5 5740 ac_status=$? 5741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5742 (exit $ac_status); }; }; then 6746 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6747 (exit $ac_status); } && { 6748 test -z "$ac_c_werror_flag" || 6749 test ! -s conftest.err 6750 } && test -s conftest.$ac_objext; then 5743 6751 ac_cv_header_stdc=yes 5744 6752 else 5745 echo "$as_me: failed program was:" >&56753 $as_echo "$as_me: failed program was:" >&5 5746 6754 sed 's/^/| /' conftest.$ac_ext >&5 5747 6755 5748 ac_cv_header_stdc=no 5749 fi 5750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6756 ac_cv_header_stdc=no 6757 fi 6758 6759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5751 6760 5752 6761 if test $ac_cv_header_stdc = yes; then … … 5804 6813 /* end confdefs.h. */ 5805 6814 #include <ctype.h> 6815 #include <stdlib.h> 5806 6816 #if ((' ' & 0x0FF) == 0x020) 5807 6817 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 5823 6833 if (XOR (islower (i), ISLOWER (i)) 5824 6834 || toupper (i) != TOUPPER (i)) 5825 exit(2);5826 exit (0);6835 return 2; 6836 return 0; 5827 6837 } 5828 6838 _ACEOF 5829 6839 rm -f conftest$ac_exeext 5830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5831 (eval $ac_link) 2>&5 6840 if { (ac_try="$ac_link" 6841 case "(($ac_try" in 6842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6843 *) ac_try_echo=$ac_try;; 6844 esac 6845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6846 $as_echo "$ac_try_echo") >&5 6847 (eval "$ac_link") 2>&5 5832 6848 ac_status=$? 5833 echo "$as_me:$LINENO: \$? = $ac_status" >&56849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5834 6850 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5836 (eval $ac_try) 2>&5 6851 { (case "(($ac_try" in 6852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6853 *) ac_try_echo=$ac_try;; 6854 esac 6855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6856 $as_echo "$ac_try_echo") >&5 6857 (eval "$ac_try") 2>&5 5837 6858 ac_status=$? 5838 echo "$as_me:$LINENO: \$? = $ac_status" >&56859 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5839 6860 (exit $ac_status); }; }; then 5840 6861 : 5841 6862 else 5842 echo "$as_me: program exited with status $ac_status" >&55843 echo "$as_me: failed program was:" >&56863 $as_echo "$as_me: program exited with status $ac_status" >&5 6864 $as_echo "$as_me: failed program was:" >&5 5844 6865 sed 's/^/| /' conftest.$ac_ext >&5 5845 6866 … … 5847 6868 ac_cv_header_stdc=no 5848 6869 fi 5849 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5850 fi 5851 fi 5852 fi 5853 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5854 echo "${ECHO_T}$ac_cv_header_stdc" >&6 6870 rm -rf conftest.dSYM 6871 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6872 fi 6873 6874 6875 fi 6876 fi 6877 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6878 $as_echo "$ac_cv_header_stdc" >&6; } 5855 6879 if test $ac_cv_header_stdc = yes; then 5856 6880 … … 5872 6896 for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h sys/stat.h 5873 6897 do 5874 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5875 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5876 echo "$as_me:$LINENO: checking for $ac_header" >&5 5877 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5878 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5879 echo $ECHO_N "(cached) $ECHO_C" >&6 5880 fi 5881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6898 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6899 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6900 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6901 $as_echo_n "checking for $ac_header... " >&6; } 6902 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6903 $as_echo_n "(cached) " >&6 6904 fi 6905 ac_res=`eval 'as_val=${'$as_ac_Header'} 6906 $as_echo "$as_val"'` 6907 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6908 $as_echo "$ac_res" >&6; } 5883 6909 else 5884 6910 # Is the header compilable? 5885 echo "$as_me:$LINENO: checking $ac_header usability" >&55886 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6911 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6912 $as_echo_n "checking $ac_header usability... " >&6; } 5887 6913 cat >conftest.$ac_ext <<_ACEOF 5888 6914 /* confdefs.h. */ … … 5895 6921 _ACEOF 5896 6922 rm -f conftest.$ac_objext 5897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5898 (eval $ac_compile) 2>conftest.er1 6923 if { (ac_try="$ac_compile" 6924 case "(($ac_try" in 6925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6926 *) ac_try_echo=$ac_try;; 6927 esac 6928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6929 $as_echo "$ac_try_echo") >&5 6930 (eval "$ac_compile") 2>conftest.er1 5899 6931 ac_status=$? 5900 6932 grep -v '^ *+' conftest.er1 >conftest.err 5901 6933 rm -f conftest.er1 5902 6934 cat conftest.err >&5 5903 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5904 (exit $ac_status); } && 5905 { ac_try='test -z "$ac_c_werror_flag" 5906 || test ! -s conftest.err' 5907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5908 (eval $ac_try) 2>&5 5909 ac_status=$? 5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5911 (exit $ac_status); }; } && 5912 { ac_try='test -s conftest.$ac_objext' 5913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5914 (eval $ac_try) 2>&5 5915 ac_status=$? 5916 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5917 (exit $ac_status); }; }; then 6935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6936 (exit $ac_status); } && { 6937 test -z "$ac_c_werror_flag" || 6938 test ! -s conftest.err 6939 } && test -s conftest.$ac_objext; then 5918 6940 ac_header_compiler=yes 5919 6941 else 5920 echo "$as_me: failed program was:" >&56942 $as_echo "$as_me: failed program was:" >&5 5921 6943 sed 's/^/| /' conftest.$ac_ext >&5 5922 6944 5923 ac_header_compiler=no 5924 fi 5925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5926 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5927 echo "${ECHO_T}$ac_header_compiler" >&6 6945 ac_header_compiler=no 6946 fi 6947 6948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6949 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6950 $as_echo "$ac_header_compiler" >&6; } 5928 6951 5929 6952 # Is the header present? 5930 echo "$as_me:$LINENO: checking $ac_header presence" >&55931 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6953 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6954 $as_echo_n "checking $ac_header presence... " >&6; } 5932 6955 cat >conftest.$ac_ext <<_ACEOF 5933 6956 /* confdefs.h. */ … … 5938 6961 #include <$ac_header> 5939 6962 _ACEOF 5940 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5941 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6963 if { (ac_try="$ac_cpp conftest.$ac_ext" 6964 case "(($ac_try" in 6965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6966 *) ac_try_echo=$ac_try;; 6967 esac 6968 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6969 $as_echo "$ac_try_echo") >&5 6970 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5942 6971 ac_status=$? 5943 6972 grep -v '^ *+' conftest.er1 >conftest.err 5944 6973 rm -f conftest.er1 5945 6974 cat conftest.err >&5 5946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5947 (exit $ac_status); } >/dev/null; then 5948 if test -s conftest.err; then 5949 ac_cpp_err=$ac_c_preproc_warn_flag 5950 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5951 else 5952 ac_cpp_err= 5953 fi 5954 else 5955 ac_cpp_err=yes 5956 fi 5957 if test -z "$ac_cpp_err"; then 6975 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6976 (exit $ac_status); } >/dev/null && { 6977 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6978 test ! -s conftest.err 6979 }; then 5958 6980 ac_header_preproc=yes 5959 6981 else 5960 echo "$as_me: failed program was:" >&56982 $as_echo "$as_me: failed program was:" >&5 5961 6983 sed 's/^/| /' conftest.$ac_ext >&5 5962 6984 5963 6985 ac_header_preproc=no 5964 6986 fi 6987 5965 6988 rm -f conftest.err conftest.$ac_ext 5966 echo "$as_me:$LINENO: result: $ac_header_preproc" >&55967 echo "${ECHO_T}$ac_header_preproc" >&6 6989 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6990 $as_echo "$ac_header_preproc" >&6; } 5968 6991 5969 6992 # So? What about this header? 5970 6993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5971 6994 yes:no: ) 5972 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&55973 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}5974 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&55975 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}6995 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6996 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6997 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6998 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5976 6999 ac_header_preproc=yes 5977 7000 ;; 5978 7001 no:yes:* ) 5979 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5980 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5981 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5982 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5983 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5984 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5985 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5986 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5987 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5988 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5989 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5990 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5991 ( 5992 cat <<\_ASBOX 5993 ## ------------------------------------------ ## 5994 ## Report this to the AC_PACKAGE_NAME lists. ## 5995 ## ------------------------------------------ ## 5996 _ASBOX 5997 ) | 5998 sed "s/^/$as_me: WARNING: /" >&2 7002 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7003 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7004 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7005 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7006 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7007 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7008 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7009 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7010 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7011 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7012 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7013 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7014 5999 7015 ;; 6000 7016 esac 6001 echo "$as_me:$LINENO: checking for $ac_header" >&56002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6003 if eval "test \"\${$as_ac_Header+set}\" = set"; then6004 echo $ECHO_N "(cached) $ECHO_C" >&67017 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7018 $as_echo_n "checking for $ac_header... " >&6; } 7019 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7020 $as_echo_n "(cached) " >&6 6005 7021 else 6006 7022 eval "$as_ac_Header=\$ac_header_preproc" 6007 7023 fi 6008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6009 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6010 6011 fi 6012 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7024 ac_res=`eval 'as_val=${'$as_ac_Header'} 7025 $as_echo "$as_val"'` 7026 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7027 $as_echo "$ac_res" >&6; } 7028 7029 fi 7030 as_val=`eval 'as_val=${'$as_ac_Header'} 7031 $as_echo "$as_val"'` 7032 if test "x$as_val" = x""yes; then 6013 7033 cat >>confdefs.h <<_ACEOF 6014 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 17034 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6015 7035 _ACEOF 6016 7036 … … 6076 7096 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 6077 7097 # for constant arguments. Useless! 6078 echo "$as_me:$LINENO: checking for working alloca.h" >&56079 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 7098 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 7099 $as_echo_n "checking for working alloca.h... " >&6; } 6080 7100 if test "${ac_cv_working_alloca_h+set}" = set; then 6081 echo $ECHO_N "(cached) $ECHO_C" >&67101 $as_echo_n "(cached) " >&6 6082 7102 else 6083 7103 cat >conftest.$ac_ext <<_ACEOF … … 6092 7112 { 6093 7113 char *p = (char *) alloca (2 * sizeof (int)); 7114 if (p) return 0; 6094 7115 ; 6095 7116 return 0; … … 6097 7118 _ACEOF 6098 7119 rm -f conftest.$ac_objext conftest$ac_exeext 6099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6100 (eval $ac_link) 2>conftest.er1 7120 if { (ac_try="$ac_link" 7121 case "(($ac_try" in 7122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7123 *) ac_try_echo=$ac_try;; 7124 esac 7125 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7126 $as_echo "$ac_try_echo") >&5 7127 (eval "$ac_link") 2>conftest.er1 6101 7128 ac_status=$? 6102 7129 grep -v '^ *+' conftest.er1 >conftest.err 6103 7130 rm -f conftest.er1 6104 7131 cat conftest.err >&5 6105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6106 (exit $ac_status); } && 6107 { ac_try='test -z "$ac_c_werror_flag" 6108 || test ! -s conftest.err' 6109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6110 (eval $ac_try) 2>&5 6111 ac_status=$? 6112 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6113 (exit $ac_status); }; } && 6114 { ac_try='test -s conftest$ac_exeext' 6115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6116 (eval $ac_try) 2>&5 6117 ac_status=$? 6118 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6119 (exit $ac_status); }; }; then 7132 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7133 (exit $ac_status); } && { 7134 test -z "$ac_c_werror_flag" || 7135 test ! -s conftest.err 7136 } && test -s conftest$ac_exeext && { 7137 test "$cross_compiling" = yes || 7138 $as_test_x conftest$ac_exeext 7139 }; then 6120 7140 ac_cv_working_alloca_h=yes 6121 7141 else 6122 echo "$as_me: failed program was:" >&57142 $as_echo "$as_me: failed program was:" >&5 6123 7143 sed 's/^/| /' conftest.$ac_ext >&5 6124 7144 6125 ac_cv_working_alloca_h=no 6126 fi 6127 rm -f conftest.err conftest.$ac_objext \ 7145 ac_cv_working_alloca_h=no 7146 fi 7147 7148 rm -rf conftest.dSYM 7149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6128 7150 conftest$ac_exeext conftest.$ac_ext 6129 7151 fi 6130 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&56131 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 7152 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 7153 $as_echo "$ac_cv_working_alloca_h" >&6; } 6132 7154 if test $ac_cv_working_alloca_h = yes; then 6133 7155 … … 6138 7160 fi 6139 7161 6140 echo "$as_me:$LINENO: checking for alloca" >&56141 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 7162 { $as_echo "$as_me:$LINENO: checking for alloca" >&5 7163 $as_echo_n "checking for alloca... " >&6; } 6142 7164 if test "${ac_cv_func_alloca_works+set}" = set; then 6143 echo $ECHO_N "(cached) $ECHO_C" >&67165 $as_echo_n "(cached) " >&6 6144 7166 else 6145 7167 cat >conftest.$ac_ext <<_ACEOF … … 6156 7178 # define alloca _alloca 6157 7179 # else 6158 # if HAVE_ALLOCA_H7180 # ifdef HAVE_ALLOCA_H 6159 7181 # include <alloca.h> 6160 7182 # else … … 6174 7196 { 6175 7197 char *p = (char *) alloca (1); 7198 if (p) return 0; 6176 7199 ; 6177 7200 return 0; … … 6179 7202 _ACEOF 6180 7203 rm -f conftest.$ac_objext conftest$ac_exeext 6181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6182 (eval $ac_link) 2>conftest.er1 7204 if { (ac_try="$ac_link" 7205 case "(($ac_try" in 7206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7207 *) ac_try_echo=$ac_try;; 7208 esac 7209 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7210 $as_echo "$ac_try_echo") >&5 7211 (eval "$ac_link") 2>conftest.er1 6183 7212 ac_status=$? 6184 7213 grep -v '^ *+' conftest.er1 >conftest.err 6185 7214 rm -f conftest.er1 6186 7215 cat conftest.err >&5 6187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6188 (exit $ac_status); } && 6189 { ac_try='test -z "$ac_c_werror_flag" 6190 || test ! -s conftest.err' 6191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6192 (eval $ac_try) 2>&5 6193 ac_status=$? 6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6195 (exit $ac_status); }; } && 6196 { ac_try='test -s conftest$ac_exeext' 6197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6198 (eval $ac_try) 2>&5 6199 ac_status=$? 6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6201 (exit $ac_status); }; }; then 7216 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7217 (exit $ac_status); } && { 7218 test -z "$ac_c_werror_flag" || 7219 test ! -s conftest.err 7220 } && test -s conftest$ac_exeext && { 7221 test "$cross_compiling" = yes || 7222 $as_test_x conftest$ac_exeext 7223 }; then 6202 7224 ac_cv_func_alloca_works=yes 6203 7225 else 6204 echo "$as_me: failed program was:" >&57226 $as_echo "$as_me: failed program was:" >&5 6205 7227 sed 's/^/| /' conftest.$ac_ext >&5 6206 7228 6207 ac_cv_func_alloca_works=no 6208 fi 6209 rm -f conftest.err conftest.$ac_objext \ 7229 ac_cv_func_alloca_works=no 7230 fi 7231 7232 rm -rf conftest.dSYM 7233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6210 7234 conftest$ac_exeext conftest.$ac_ext 6211 7235 fi 6212 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&56213 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 7236 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 7237 $as_echo "$ac_cv_func_alloca_works" >&6; } 6214 7238 6215 7239 if test $ac_cv_func_alloca_works = yes; then … … 6225 7249 # use ar to extract alloca.o from them instead of compiling alloca.c. 6226 7250 6227 ALLOCA= alloca.$ac_objext7251 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 6228 7252 6229 7253 cat >>confdefs.h <<\_ACEOF … … 6232 7256 6233 7257 6234 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&56235 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 7258 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 7259 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 6236 7260 if test "${ac_cv_os_cray+set}" = set; then 6237 echo $ECHO_N "(cached) $ECHO_C" >&67261 $as_echo_n "(cached) " >&6 6238 7262 else 6239 7263 cat >conftest.$ac_ext <<_ACEOF … … 6243 7267 cat >>conftest.$ac_ext <<_ACEOF 6244 7268 /* end confdefs.h. */ 6245 #if defined (CRAY) && ! defined(CRAY2)7269 #if defined CRAY && ! defined CRAY2 6246 7270 webecray 6247 7271 #else … … 6259 7283 6260 7284 fi 6261 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&56262 echo "${ECHO_T}$ac_cv_os_cray" >&6 7285 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 7286 $as_echo "$ac_cv_os_cray" >&6; } 6263 7287 if test $ac_cv_os_cray = yes; then 6264 7288 for ac_func in _getb67 GETB67 getb67; do 6265 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6266 echo "$as_me:$LINENO: checking for $ac_func" >&56267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6268 if eval "test \"\${$as_ac_var+set}\" = set"; then6269 echo $ECHO_N "(cached) $ECHO_C" >&67289 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7290 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7291 $as_echo_n "checking for $ac_func... " >&6; } 7292 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7293 $as_echo_n "(cached) " >&6 6270 7294 else 6271 7295 cat >conftest.$ac_ext <<_ACEOF … … 6292 7316 #undef $ac_func 6293 7317 6294 /* Override any gcc2 internal prototype to avoid an error. */ 7318 /* Override any GCC internal prototype to avoid an error. 7319 Use char because int might match the return type of a GCC 7320 builtin and then its argument prototype would still apply. */ 6295 7321 #ifdef __cplusplus 6296 7322 extern "C" 6297 {6298 7323 #endif 6299 /* We use char because int might match the return type of a gcc26300 builtin and then its argument prototype would still apply. */6301 7324 char $ac_func (); 6302 7325 /* The GNU C library defines this for functions which it implements 6303 7326 to always fail with ENOSYS. Some functions are actually named 6304 7327 something starting with __ and the normal name is an alias. */ 6305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7328 #if defined __stub_$ac_func || defined __stub___$ac_func 6306 7329 choke me 6307 #else6308 char (*f) () = $ac_func;6309 #endif6310 #ifdef __cplusplus6311 }6312 7330 #endif 6313 7331 … … 6315 7333 main () 6316 7334 { 6317 return f != $ac_func;7335 return $ac_func (); 6318 7336 ; 6319 7337 return 0; … … 6321 7339 _ACEOF 6322 7340 rm -f conftest.$ac_objext conftest$ac_exeext 6323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6324 (eval $ac_link) 2>conftest.er1 7341 if { (ac_try="$ac_link" 7342 case "(($ac_try" in 7343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7344 *) ac_try_echo=$ac_try;; 7345 esac 7346 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7347 $as_echo "$ac_try_echo") >&5 7348 (eval "$ac_link") 2>conftest.er1 6325 7349 ac_status=$? 6326 7350 grep -v '^ *+' conftest.er1 >conftest.err 6327 7351 rm -f conftest.er1 6328 7352 cat conftest.err >&5 6329 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6330 (exit $ac_status); } && 6331 { ac_try='test -z "$ac_c_werror_flag" 6332 || test ! -s conftest.err' 6333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6334 (eval $ac_try) 2>&5 6335 ac_status=$? 6336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6337 (exit $ac_status); }; } && 6338 { ac_try='test -s conftest$ac_exeext' 6339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6340 (eval $ac_try) 2>&5 6341 ac_status=$? 6342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6343 (exit $ac_status); }; }; then 7353 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7354 (exit $ac_status); } && { 7355 test -z "$ac_c_werror_flag" || 7356 test ! -s conftest.err 7357 } && test -s conftest$ac_exeext && { 7358 test "$cross_compiling" = yes || 7359 $as_test_x conftest$ac_exeext 7360 }; then 6344 7361 eval "$as_ac_var=yes" 6345 7362 else 6346 echo "$as_me: failed program was:" >&57363 $as_echo "$as_me: failed program was:" >&5 6347 7364 sed 's/^/| /' conftest.$ac_ext >&5 6348 7365 6349 eval "$as_ac_var=no" 6350 fi 6351 rm -f conftest.err conftest.$ac_objext \ 7366 eval "$as_ac_var=no" 7367 fi 7368 7369 rm -rf conftest.dSYM 7370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6352 7371 conftest$ac_exeext conftest.$ac_ext 6353 7372 fi 6354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6356 if test `eval echo '${'$as_ac_var'}'` = yes; then 7373 ac_res=`eval 'as_val=${'$as_ac_var'} 7374 $as_echo "$as_val"'` 7375 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7376 $as_echo "$ac_res" >&6; } 7377 as_val=`eval 'as_val=${'$as_ac_var'} 7378 $as_echo "$as_val"'` 7379 if test "x$as_val" = x""yes; then 6357 7380 6358 7381 cat >>confdefs.h <<_ACEOF … … 6366 7389 fi 6367 7390 6368 echo "$as_me:$LINENO: checking stack direction for C alloca" >&56369 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 7391 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 7392 $as_echo_n "checking stack direction for C alloca... " >&6; } 6370 7393 if test "${ac_cv_c_stack_direction+set}" = set; then 6371 echo $ECHO_N "(cached) $ECHO_C" >&67394 $as_echo_n "(cached) " >&6 6372 7395 else 6373 7396 if test "$cross_compiling" = yes; then … … 6380 7403 cat >>conftest.$ac_ext <<_ACEOF 6381 7404 /* end confdefs.h. */ 7405 $ac_includes_default 6382 7406 int 6383 7407 find_stack_direction () … … 6397 7421 main () 6398 7422 { 6399 exit (find_stack_direction () < 0);7423 return find_stack_direction () < 0; 6400 7424 } 6401 7425 _ACEOF 6402 7426 rm -f conftest$ac_exeext 6403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6404 (eval $ac_link) 2>&5 7427 if { (ac_try="$ac_link" 7428 case "(($ac_try" in 7429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7430 *) ac_try_echo=$ac_try;; 7431 esac 7432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7433 $as_echo "$ac_try_echo") >&5 7434 (eval "$ac_link") 2>&5 6405 7435 ac_status=$? 6406 echo "$as_me:$LINENO: \$? = $ac_status" >&57436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6407 7437 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6409 (eval $ac_try) 2>&5 7438 { (case "(($ac_try" in 7439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7440 *) ac_try_echo=$ac_try;; 7441 esac 7442 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7443 $as_echo "$ac_try_echo") >&5 7444 (eval "$ac_try") 2>&5 6410 7445 ac_status=$? 6411 echo "$as_me:$LINENO: \$? = $ac_status" >&57446 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6412 7447 (exit $ac_status); }; }; then 6413 7448 ac_cv_c_stack_direction=1 6414 7449 else 6415 echo "$as_me: program exited with status $ac_status" >&56416 echo "$as_me: failed program was:" >&57450 $as_echo "$as_me: program exited with status $ac_status" >&5 7451 $as_echo "$as_me: failed program was:" >&5 6417 7452 sed 's/^/| /' conftest.$ac_ext >&5 6418 7453 … … 6420 7455 ac_cv_c_stack_direction=-1 6421 7456 fi 6422 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6423 fi 6424 fi 6425 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 6426 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 7457 rm -rf conftest.dSYM 7458 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7459 fi 7460 7461 7462 fi 7463 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 7464 $as_echo "$ac_cv_c_stack_direction" >&6; } 6427 7465 6428 7466 cat >>confdefs.h <<_ACEOF … … 6434 7472 6435 7473 if test $ac_cv_c_compiler_gnu = yes; then 6436 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&56437 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 7474 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 7475 $as_echo_n "checking whether $CC needs -traditional... " >&6; } 6438 7476 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 6439 echo $ECHO_N "(cached) $ECHO_C" >&67477 $as_echo_n "(cached) " >&6 6440 7478 else 6441 7479 ac_pattern="Autoconf.*'x'" … … 6476 7514 fi 6477 7515 fi 6478 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&56479 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 7516 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 7517 $as_echo "$ac_cv_prog_gcc_traditional" >&6; } 6480 7518 if test $ac_cv_prog_gcc_traditional = yes; then 6481 7519 CC="$CC -traditional" … … 6483 7521 fi 6484 7522 6485 echo "$as_me:$LINENO: checking return type of signal handlers" >&56486 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 7523 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 7524 $as_echo_n "checking return type of signal handlers... " >&6; } 6487 7525 if test "${ac_cv_type_signal+set}" = set; then 6488 echo $ECHO_N "(cached) $ECHO_C" >&67526 $as_echo_n "(cached) " >&6 6489 7527 else 6490 7528 cat >conftest.$ac_ext <<_ACEOF … … 6496 7534 #include <sys/types.h> 6497 7535 #include <signal.h> 6498 #ifdef signal6499 # undef signal6500 #endif6501 #ifdef __cplusplus6502 extern "C" void (*signal (int, void (*)(int)))(int);6503 #else6504 void (*signal ()) ();6505 #endif6506 7536 6507 7537 int 6508 7538 main () 6509 7539 { 6510 int i;7540 return *(signal (0, 0)) (0) == 1; 6511 7541 ; 6512 7542 return 0; … … 6514 7544 _ACEOF 6515 7545 rm -f conftest.$ac_objext 6516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6517 (eval $ac_compile) 2>conftest.er1 7546 if { (ac_try="$ac_compile" 7547 case "(($ac_try" in 7548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7549 *) ac_try_echo=$ac_try;; 7550 esac 7551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7552 $as_echo "$ac_try_echo") >&5 7553 (eval "$ac_compile") 2>conftest.er1 6518 7554 ac_status=$? 6519 7555 grep -v '^ *+' conftest.er1 >conftest.err 6520 7556 rm -f conftest.er1 6521 7557 cat conftest.err >&5 6522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6523 (exit $ac_status); } && 6524 { ac_try='test -z "$ac_c_werror_flag" 6525 || test ! -s conftest.err' 6526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6527 (eval $ac_try) 2>&5 6528 ac_status=$? 6529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6530 (exit $ac_status); }; } && 6531 { ac_try='test -s conftest.$ac_objext' 6532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6533 (eval $ac_try) 2>&5 6534 ac_status=$? 6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6536 (exit $ac_status); }; }; then 6537 ac_cv_type_signal=void 6538 else 6539 echo "$as_me: failed program was:" >&5 7558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7559 (exit $ac_status); } && { 7560 test -z "$ac_c_werror_flag" || 7561 test ! -s conftest.err 7562 } && test -s conftest.$ac_objext; then 7563 ac_cv_type_signal=int 7564 else 7565 $as_echo "$as_me: failed program was:" >&5 6540 7566 sed 's/^/| /' conftest.$ac_ext >&5 6541 7567 6542 ac_cv_type_signal=int 6543 fi 6544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6545 fi 6546 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 6547 echo "${ECHO_T}$ac_cv_type_signal" >&6 7568 ac_cv_type_signal=void 7569 fi 7570 7571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7572 fi 7573 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 7574 $as_echo "$ac_cv_type_signal" >&6; } 6548 7575 6549 7576 cat >>confdefs.h <<_ACEOF … … 6555 7582 for ac_func in vprintf 6556 7583 do 6557 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6558 echo "$as_me:$LINENO: checking for $ac_func" >&56559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6560 if eval "test \"\${$as_ac_var+set}\" = set"; then6561 echo $ECHO_N "(cached) $ECHO_C" >&67584 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7585 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7586 $as_echo_n "checking for $ac_func... " >&6; } 7587 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7588 $as_echo_n "(cached) " >&6 6562 7589 else 6563 7590 cat >conftest.$ac_ext <<_ACEOF … … 6584 7611 #undef $ac_func 6585 7612 6586 /* Override any gcc2 internal prototype to avoid an error. */ 7613 /* Override any GCC internal prototype to avoid an error. 7614 Use char because int might match the return type of a GCC 7615 builtin and then its argument prototype would still apply. */ 6587 7616 #ifdef __cplusplus 6588 7617 extern "C" 6589 {6590 7618 #endif 6591 /* We use char because int might match the return type of a gcc26592 builtin and then its argument prototype would still apply. */6593 7619 char $ac_func (); 6594 7620 /* The GNU C library defines this for functions which it implements 6595 7621 to always fail with ENOSYS. Some functions are actually named 6596 7622 something starting with __ and the normal name is an alias. */ 6597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7623 #if defined __stub_$ac_func || defined __stub___$ac_func 6598 7624 choke me 6599 #else6600 char (*f) () = $ac_func;6601 #endif6602 #ifdef __cplusplus6603 }6604 7625 #endif 6605 7626 … … 6607 7628 main () 6608 7629 { 6609 return f != $ac_func;7630 return $ac_func (); 6610 7631 ; 6611 7632 return 0; … … 6613 7634 _ACEOF 6614 7635 rm -f conftest.$ac_objext conftest$ac_exeext 6615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6616 (eval $ac_link) 2>conftest.er1 7636 if { (ac_try="$ac_link" 7637 case "(($ac_try" in 7638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7639 *) ac_try_echo=$ac_try;; 7640 esac 7641 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7642 $as_echo "$ac_try_echo") >&5 7643 (eval "$ac_link") 2>conftest.er1 6617 7644 ac_status=$? 6618 7645 grep -v '^ *+' conftest.er1 >conftest.err 6619 7646 rm -f conftest.er1 6620 7647 cat conftest.err >&5 6621 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6622 (exit $ac_status); } && 6623 { ac_try='test -z "$ac_c_werror_flag" 6624 || test ! -s conftest.err' 6625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6626 (eval $ac_try) 2>&5 6627 ac_status=$? 6628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6629 (exit $ac_status); }; } && 6630 { ac_try='test -s conftest$ac_exeext' 6631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6632 (eval $ac_try) 2>&5 6633 ac_status=$? 6634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6635 (exit $ac_status); }; }; then 7648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7649 (exit $ac_status); } && { 7650 test -z "$ac_c_werror_flag" || 7651 test ! -s conftest.err 7652 } && test -s conftest$ac_exeext && { 7653 test "$cross_compiling" = yes || 7654 $as_test_x conftest$ac_exeext 7655 }; then 6636 7656 eval "$as_ac_var=yes" 6637 7657 else 6638 echo "$as_me: failed program was:" >&57658 $as_echo "$as_me: failed program was:" >&5 6639 7659 sed 's/^/| /' conftest.$ac_ext >&5 6640 7660 6641 eval "$as_ac_var=no" 6642 fi 6643 rm -f conftest.err conftest.$ac_objext \ 7661 eval "$as_ac_var=no" 7662 fi 7663 7664 rm -rf conftest.dSYM 7665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6644 7666 conftest$ac_exeext conftest.$ac_ext 6645 7667 fi 6646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6648 if test `eval echo '${'$as_ac_var'}'` = yes; then 7668 ac_res=`eval 'as_val=${'$as_ac_var'} 7669 $as_echo "$as_val"'` 7670 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7671 $as_echo "$ac_res" >&6; } 7672 as_val=`eval 'as_val=${'$as_ac_var'} 7673 $as_echo "$as_val"'` 7674 if test "x$as_val" = x""yes; then 6649 7675 cat >>confdefs.h <<_ACEOF 6650 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 16651 _ACEOF 6652 6653 echo "$as_me:$LINENO: checking for _doprnt" >&56654 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 7676 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7677 _ACEOF 7678 7679 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5 7680 $as_echo_n "checking for _doprnt... " >&6; } 6655 7681 if test "${ac_cv_func__doprnt+set}" = set; then 6656 echo $ECHO_N "(cached) $ECHO_C" >&67682 $as_echo_n "(cached) " >&6 6657 7683 else 6658 7684 cat >conftest.$ac_ext <<_ACEOF … … 6679 7705 #undef _doprnt 6680 7706 6681 /* Override any gcc2 internal prototype to avoid an error. */ 7707 /* Override any GCC internal prototype to avoid an error. 7708 Use char because int might match the return type of a GCC 7709 builtin and then its argument prototype would still apply. */ 6682 7710 #ifdef __cplusplus 6683 7711 extern "C" 6684 {6685 7712 #endif 6686 /* We use char because int might match the return type of a gcc26687 builtin and then its argument prototype would still apply. */6688 7713 char _doprnt (); 6689 7714 /* The GNU C library defines this for functions which it implements 6690 7715 to always fail with ENOSYS. Some functions are actually named 6691 7716 something starting with __ and the normal name is an alias. */ 6692 #if defined (__stub__doprnt) || defined (__stub____doprnt)7717 #if defined __stub__doprnt || defined __stub____doprnt 6693 7718 choke me 6694 #else6695 char (*f) () = _doprnt;6696 #endif6697 #ifdef __cplusplus6698 }6699 7719 #endif 6700 7720 … … 6702 7722 main () 6703 7723 { 6704 return f != _doprnt;7724 return _doprnt (); 6705 7725 ; 6706 7726 return 0; … … 6708 7728 _ACEOF 6709 7729 rm -f conftest.$ac_objext conftest$ac_exeext 6710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6711 (eval $ac_link) 2>conftest.er1 7730 if { (ac_try="$ac_link" 7731 case "(($ac_try" in 7732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7733 *) ac_try_echo=$ac_try;; 7734 esac 7735 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7736 $as_echo "$ac_try_echo") >&5 7737 (eval "$ac_link") 2>conftest.er1 6712 7738 ac_status=$? 6713 7739 grep -v '^ *+' conftest.er1 >conftest.err 6714 7740 rm -f conftest.er1 6715 7741 cat conftest.err >&5 6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6717 (exit $ac_status); } && 6718 { ac_try='test -z "$ac_c_werror_flag" 6719 || test ! -s conftest.err' 6720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6721 (eval $ac_try) 2>&5 6722 ac_status=$? 6723 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6724 (exit $ac_status); }; } && 6725 { ac_try='test -s conftest$ac_exeext' 6726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6727 (eval $ac_try) 2>&5 6728 ac_status=$? 6729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6730 (exit $ac_status); }; }; then 7742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7743 (exit $ac_status); } && { 7744 test -z "$ac_c_werror_flag" || 7745 test ! -s conftest.err 7746 } && test -s conftest$ac_exeext && { 7747 test "$cross_compiling" = yes || 7748 $as_test_x conftest$ac_exeext 7749 }; then 6731 7750 ac_cv_func__doprnt=yes 6732 7751 else 6733 echo "$as_me: failed program was:" >&57752 $as_echo "$as_me: failed program was:" >&5 6734 7753 sed 's/^/| /' conftest.$ac_ext >&5 6735 7754 6736 ac_cv_func__doprnt=no 6737 fi 6738 rm -f conftest.err conftest.$ac_objext \ 7755 ac_cv_func__doprnt=no 7756 fi 7757 7758 rm -rf conftest.dSYM 7759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6739 7760 conftest$ac_exeext conftest.$ac_ext 6740 7761 fi 6741 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&56742 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 6743 if test $ac_cv_func__doprnt =yes; then7762 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 7763 $as_echo "$ac_cv_func__doprnt" >&6; } 7764 if test "x$ac_cv_func__doprnt" = x""yes; then 6744 7765 6745 7766 cat >>confdefs.h <<\_ACEOF … … 6765 7786 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror 6766 7787 do 6767 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6768 echo "$as_me:$LINENO: checking for $ac_func" >&56769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6770 if eval "test \"\${$as_ac_var+set}\" = set"; then6771 echo $ECHO_N "(cached) $ECHO_C" >&67788 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7789 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7790 $as_echo_n "checking for $ac_func... " >&6; } 7791 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7792 $as_echo_n "(cached) " >&6 6772 7793 else 6773 7794 cat >conftest.$ac_ext <<_ACEOF … … 6794 7815 #undef $ac_func 6795 7816 6796 /* Override any gcc2 internal prototype to avoid an error. */ 7817 /* Override any GCC internal prototype to avoid an error. 7818 Use char because int might match the return type of a GCC 7819 builtin and then its argument prototype would still apply. */ 6797 7820 #ifdef __cplusplus 6798 7821 extern "C" 6799 {6800 7822 #endif 6801 /* We use char because int might match the return type of a gcc26802 builtin and then its argument prototype would still apply. */6803 7823 char $ac_func (); 6804 7824 /* The GNU C library defines this for functions which it implements 6805 7825 to always fail with ENOSYS. Some functions are actually named 6806 7826 something starting with __ and the normal name is an alias. */ 6807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7827 #if defined __stub_$ac_func || defined __stub___$ac_func 6808 7828 choke me 6809 #else6810 char (*f) () = $ac_func;6811 #endif6812 #ifdef __cplusplus6813 }6814 7829 #endif 6815 7830 … … 6817 7832 main () 6818 7833 { 6819 return f != $ac_func;7834 return $ac_func (); 6820 7835 ; 6821 7836 return 0; … … 6823 7838 _ACEOF 6824 7839 rm -f conftest.$ac_objext conftest$ac_exeext 6825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6826 (eval $ac_link) 2>conftest.er1 7840 if { (ac_try="$ac_link" 7841 case "(($ac_try" in 7842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7843 *) ac_try_echo=$ac_try;; 7844 esac 7845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7846 $as_echo "$ac_try_echo") >&5 7847 (eval "$ac_link") 2>conftest.er1 6827 7848 ac_status=$? 6828 7849 grep -v '^ *+' conftest.er1 >conftest.err 6829 7850 rm -f conftest.er1 6830 7851 cat conftest.err >&5 6831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6832 (exit $ac_status); } && 6833 { ac_try='test -z "$ac_c_werror_flag" 6834 || test ! -s conftest.err' 6835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6836 (eval $ac_try) 2>&5 6837 ac_status=$? 6838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6839 (exit $ac_status); }; } && 6840 { ac_try='test -s conftest$ac_exeext' 6841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6842 (eval $ac_try) 2>&5 6843 ac_status=$? 6844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6845 (exit $ac_status); }; }; then 7852 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7853 (exit $ac_status); } && { 7854 test -z "$ac_c_werror_flag" || 7855 test ! -s conftest.err 7856 } && test -s conftest$ac_exeext && { 7857 test "$cross_compiling" = yes || 7858 $as_test_x conftest$ac_exeext 7859 }; then 6846 7860 eval "$as_ac_var=yes" 6847 7861 else 6848 echo "$as_me: failed program was:" >&57862 $as_echo "$as_me: failed program was:" >&5 6849 7863 sed 's/^/| /' conftest.$ac_ext >&5 6850 7864 6851 eval "$as_ac_var=no" 6852 fi 6853 rm -f conftest.err conftest.$ac_objext \ 7865 eval "$as_ac_var=no" 7866 fi 7867 7868 rm -rf conftest.dSYM 7869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6854 7870 conftest$ac_exeext conftest.$ac_ext 6855 7871 fi 6856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6858 if test `eval echo '${'$as_ac_var'}'` = yes; then 7872 ac_res=`eval 'as_val=${'$as_ac_var'} 7873 $as_echo "$as_val"'` 7874 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7875 $as_echo "$ac_res" >&6; } 7876 as_val=`eval 'as_val=${'$as_ac_var'} 7877 $as_echo "$as_val"'` 7878 if test "x$as_val" = x""yes; then 6859 7879 cat >>confdefs.h <<_ACEOF 6860 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 17880 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6861 7881 _ACEOF 6862 7882 … … 6869 7889 for ac_func in ftruncate strstr strcasecmp 6870 7890 do 6871 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6872 echo "$as_me:$LINENO: checking for $ac_func" >&56873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6874 if eval "test \"\${$as_ac_var+set}\" = set"; then6875 echo $ECHO_N "(cached) $ECHO_C" >&67891 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7892 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7893 $as_echo_n "checking for $ac_func... " >&6; } 7894 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7895 $as_echo_n "(cached) " >&6 6876 7896 else 6877 7897 cat >conftest.$ac_ext <<_ACEOF … … 6898 7918 #undef $ac_func 6899 7919 6900 /* Override any gcc2 internal prototype to avoid an error. */ 7920 /* Override any GCC internal prototype to avoid an error. 7921 Use char because int might match the return type of a GCC 7922 builtin and then its argument prototype would still apply. */ 6901 7923 #ifdef __cplusplus 6902 7924 extern "C" 6903 {6904 7925 #endif 6905 /* We use char because int might match the return type of a gcc26906 builtin and then its argument prototype would still apply. */6907 7926 char $ac_func (); 6908 7927 /* The GNU C library defines this for functions which it implements 6909 7928 to always fail with ENOSYS. Some functions are actually named 6910 7929 something starting with __ and the normal name is an alias. */ 6911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7930 #if defined __stub_$ac_func || defined __stub___$ac_func 6912 7931 choke me 6913 #else6914 char (*f) () = $ac_func;6915 #endif6916 #ifdef __cplusplus6917 }6918 7932 #endif 6919 7933 … … 6921 7935 main () 6922 7936 { 6923 return f != $ac_func;7937 return $ac_func (); 6924 7938 ; 6925 7939 return 0; … … 6927 7941 _ACEOF 6928 7942 rm -f conftest.$ac_objext conftest$ac_exeext 6929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6930 (eval $ac_link) 2>conftest.er1 7943 if { (ac_try="$ac_link" 7944 case "(($ac_try" in 7945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7946 *) ac_try_echo=$ac_try;; 7947 esac 7948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7949 $as_echo "$ac_try_echo") >&5 7950 (eval "$ac_link") 2>conftest.er1 6931 7951 ac_status=$? 6932 7952 grep -v '^ *+' conftest.er1 >conftest.err 6933 7953 rm -f conftest.er1 6934 7954 cat conftest.err >&5 6935 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6936 (exit $ac_status); } && 6937 { ac_try='test -z "$ac_c_werror_flag" 6938 || test ! -s conftest.err' 6939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6940 (eval $ac_try) 2>&5 6941 ac_status=$? 6942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6943 (exit $ac_status); }; } && 6944 { ac_try='test -s conftest$ac_exeext' 6945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6946 (eval $ac_try) 2>&5 6947 ac_status=$? 6948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6949 (exit $ac_status); }; }; then 7955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7956 (exit $ac_status); } && { 7957 test -z "$ac_c_werror_flag" || 7958 test ! -s conftest.err 7959 } && test -s conftest$ac_exeext && { 7960 test "$cross_compiling" = yes || 7961 $as_test_x conftest$ac_exeext 7962 }; then 6950 7963 eval "$as_ac_var=yes" 6951 7964 else 6952 echo "$as_me: failed program was:" >&57965 $as_echo "$as_me: failed program was:" >&5 6953 7966 sed 's/^/| /' conftest.$ac_ext >&5 6954 7967 6955 eval "$as_ac_var=no" 6956 fi 6957 rm -f conftest.err conftest.$ac_objext \ 7968 eval "$as_ac_var=no" 7969 fi 7970 7971 rm -rf conftest.dSYM 7972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6958 7973 conftest$ac_exeext conftest.$ac_ext 6959 7974 fi 6960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6962 if test `eval echo '${'$as_ac_var'}'` = yes; then 7975 ac_res=`eval 'as_val=${'$as_ac_var'} 7976 $as_echo "$as_val"'` 7977 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7978 $as_echo "$ac_res" >&6; } 7979 as_val=`eval 'as_val=${'$as_ac_var'} 7980 $as_echo "$as_val"'` 7981 if test "x$as_val" = x""yes; then 6963 7982 cat >>confdefs.h <<_ACEOF 6964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6965 _ACEOF 6966 6967 else 6968 case $LIBOBJS in 6969 "$ac_func.$ac_objext" | \ 6970 *" $ac_func.$ac_objext" | \ 6971 "$ac_func.$ac_objext "* | \ 7983 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7984 _ACEOF 7985 7986 else 7987 case " $LIBOBJS " in 6972 7988 *" $ac_func.$ac_objext "* ) ;; 6973 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; 7989 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 7990 ;; 6974 7991 esac 6975 7992 … … 6979 7996 6980 7997 6981 echo "$as_me:$LINENO: checking for textdomain" >&56982 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6 7998 { $as_echo "$as_me:$LINENO: checking for textdomain" >&5 7999 $as_echo_n "checking for textdomain... " >&6; } 6983 8000 if test "${ac_cv_func_textdomain+set}" = set; then 6984 echo $ECHO_N "(cached) $ECHO_C" >&68001 $as_echo_n "(cached) " >&6 6985 8002 else 6986 8003 cat >conftest.$ac_ext <<_ACEOF … … 7007 8024 #undef textdomain 7008 8025 7009 /* Override any gcc2 internal prototype to avoid an error. */ 8026 /* Override any GCC internal prototype to avoid an error. 8027 Use char because int might match the return type of a GCC 8028 builtin and then its argument prototype would still apply. */ 7010 8029 #ifdef __cplusplus 7011 8030 extern "C" 7012 {7013 8031 #endif 7014 /* We use char because int might match the return type of a gcc27015 builtin and then its argument prototype would still apply. */7016 8032 char textdomain (); 7017 8033 /* The GNU C library defines this for functions which it implements 7018 8034 to always fail with ENOSYS. Some functions are actually named 7019 8035 something starting with __ and the normal name is an alias. */ 7020 #if defined (__stub_textdomain) || defined (__stub___textdomain)8036 #if defined __stub_textdomain || defined __stub___textdomain 7021 8037 choke me 7022 #else7023 char (*f) () = textdomain;7024 #endif7025 #ifdef __cplusplus7026 }7027 8038 #endif 7028 8039 … … 7030 8041 main () 7031 8042 { 7032 return f != textdomain;8043 return textdomain (); 7033 8044 ; 7034 8045 return 0; … … 7036 8047 _ACEOF 7037 8048 rm -f conftest.$ac_objext conftest$ac_exeext 7038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7039 (eval $ac_link) 2>conftest.er1 8049 if { (ac_try="$ac_link" 8050 case "(($ac_try" in 8051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8052 *) ac_try_echo=$ac_try;; 8053 esac 8054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8055 $as_echo "$ac_try_echo") >&5 8056 (eval "$ac_link") 2>conftest.er1 7040 8057 ac_status=$? 7041 8058 grep -v '^ *+' conftest.er1 >conftest.err 7042 8059 rm -f conftest.er1 7043 8060 cat conftest.err >&5 7044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7045 (exit $ac_status); } && 7046 { ac_try='test -z "$ac_c_werror_flag" 7047 || test ! -s conftest.err' 7048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7049 (eval $ac_try) 2>&5 7050 ac_status=$? 7051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7052 (exit $ac_status); }; } && 7053 { ac_try='test -s conftest$ac_exeext' 7054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7055 (eval $ac_try) 2>&5 7056 ac_status=$? 7057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7058 (exit $ac_status); }; }; then 8061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8062 (exit $ac_status); } && { 8063 test -z "$ac_c_werror_flag" || 8064 test ! -s conftest.err 8065 } && test -s conftest$ac_exeext && { 8066 test "$cross_compiling" = yes || 8067 $as_test_x conftest$ac_exeext 8068 }; then 7059 8069 ac_cv_func_textdomain=yes 7060 8070 else 7061 echo "$as_me: failed program was:" >&58071 $as_echo "$as_me: failed program was:" >&5 7062 8072 sed 's/^/| /' conftest.$ac_ext >&5 7063 8073 7064 ac_cv_func_textdomain=no 7065 fi 7066 rm -f conftest.err conftest.$ac_objext \ 8074 ac_cv_func_textdomain=no 8075 fi 8076 8077 rm -rf conftest.dSYM 8078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7067 8079 conftest$ac_exeext conftest.$ac_ext 7068 8080 fi 7069 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&57070 echo "${ECHO_T}$ac_cv_func_textdomain" >&6 7071 if test $ac_cv_func_textdomain =yes; then8081 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5 8082 $as_echo "$ac_cv_func_textdomain" >&6; } 8083 if test "x$ac_cv_func_textdomain" = x""yes; then 7072 8084 cat >>confdefs.h <<\_ACEOF 7073 8085 #define ENABLE_NLS 1 … … 7079 8091 # *** Custom checking (based on GNU tar configure.in) *** 7080 8092 # --------------------------------------------------------------------------- 7081 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&57082 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6 8093 { $as_echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5 8094 $as_echo_n "checking for HP-UX needing gmalloc... " >&6; } 7083 8095 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 7084 echo "$as_me:$LINENO: result: yes" >&5 7085 echo "${ECHO_T}yes" >&6 7086 case $LIBOBJS in 7087 "gmalloc.$ac_objext" | \ 7088 *" gmalloc.$ac_objext" | \ 7089 "gmalloc.$ac_objext "* | \ 8096 { $as_echo "$as_me:$LINENO: result: yes" >&5 8097 $as_echo "yes" >&6; } 8098 case " $LIBOBJS " in 7090 8099 *" gmalloc.$ac_objext "* ) ;; 7091 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;; 8100 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" 8101 ;; 7092 8102 esac 7093 8103 … … 7097 8107 7098 8108 else 7099 echo "$as_me:$LINENO: result: no" >&57100 echo "${ECHO_T}no" >&6 8109 { $as_echo "$as_me:$LINENO: result: no" >&5 8110 $as_echo "no" >&6; } 7101 8111 7102 8112 for ac_func in valloc 7103 8113 do 7104 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`7105 echo "$as_me:$LINENO: checking for $ac_func" >&57106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7107 if eval "test \"\${$as_ac_var+set}\" = set"; then7108 echo $ECHO_N "(cached) $ECHO_C" >&68114 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8115 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 8116 $as_echo_n "checking for $ac_func... " >&6; } 8117 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 8118 $as_echo_n "(cached) " >&6 7109 8119 else 7110 8120 cat >conftest.$ac_ext <<_ACEOF … … 7131 8141 #undef $ac_func 7132 8142 7133 /* Override any gcc2 internal prototype to avoid an error. */ 8143 /* Override any GCC internal prototype to avoid an error. 8144 Use char because int might match the return type of a GCC 8145 builtin and then its argument prototype would still apply. */ 7134 8146 #ifdef __cplusplus 7135 8147 extern "C" 7136 {7137 8148 #endif 7138 /* We use char because int might match the return type of a gcc27139 builtin and then its argument prototype would still apply. */7140 8149 char $ac_func (); 7141 8150 /* The GNU C library defines this for functions which it implements 7142 8151 to always fail with ENOSYS. Some functions are actually named 7143 8152 something starting with __ and the normal name is an alias. */ 7144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)8153 #if defined __stub_$ac_func || defined __stub___$ac_func 7145 8154 choke me 7146 #else7147 char (*f) () = $ac_func;7148 #endif7149 #ifdef __cplusplus7150 }7151 8155 #endif 7152 8156 … … 7154 8158 main () 7155 8159 { 7156 return f != $ac_func;8160 return $ac_func (); 7157 8161 ; 7158 8162 return 0; … … 7160 8164 _ACEOF 7161 8165 rm -f conftest.$ac_objext conftest$ac_exeext 7162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7163 (eval $ac_link) 2>conftest.er1 8166 if { (ac_try="$ac_link" 8167 case "(($ac_try" in 8168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8169 *) ac_try_echo=$ac_try;; 8170 esac 8171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8172 $as_echo "$ac_try_echo") >&5 8173 (eval "$ac_link") 2>conftest.er1 7164 8174 ac_status=$? 7165 8175 grep -v '^ *+' conftest.er1 >conftest.err 7166 8176 rm -f conftest.er1 7167 8177 cat conftest.err >&5 7168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7169 (exit $ac_status); } && 7170 { ac_try='test -z "$ac_c_werror_flag" 7171 || test ! -s conftest.err' 7172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7173 (eval $ac_try) 2>&5 7174 ac_status=$? 7175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7176 (exit $ac_status); }; } && 7177 { ac_try='test -s conftest$ac_exeext' 7178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7179 (eval $ac_try) 2>&5 7180 ac_status=$? 7181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7182 (exit $ac_status); }; }; then 8178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8179 (exit $ac_status); } && { 8180 test -z "$ac_c_werror_flag" || 8181 test ! -s conftest.err 8182 } && test -s conftest$ac_exeext && { 8183 test "$cross_compiling" = yes || 8184 $as_test_x conftest$ac_exeext 8185 }; then 7183 8186 eval "$as_ac_var=yes" 7184 8187 else 7185 echo "$as_me: failed program was:" >&58188 $as_echo "$as_me: failed program was:" >&5 7186 8189 sed 's/^/| /' conftest.$ac_ext >&5 7187 8190 7188 eval "$as_ac_var=no" 7189 fi 7190 rm -f conftest.err conftest.$ac_objext \ 8191 eval "$as_ac_var=no" 8192 fi 8193 8194 rm -rf conftest.dSYM 8195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7191 8196 conftest$ac_exeext conftest.$ac_ext 7192 8197 fi 7193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 7194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7195 if test `eval echo '${'$as_ac_var'}'` = yes; then 8198 ac_res=`eval 'as_val=${'$as_ac_var'} 8199 $as_echo "$as_val"'` 8200 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8201 $as_echo "$ac_res" >&6; } 8202 as_val=`eval 'as_val=${'$as_ac_var'} 8203 $as_echo "$as_val"'` 8204 if test "x$as_val" = x""yes; then 7196 8205 cat >>confdefs.h <<_ACEOF 7197 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 18206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7198 8207 _ACEOF 7199 8208 … … 7204 8213 7205 8214 # we cannot generate static libraries under Darwin 7206 echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&57207 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6 8215 { $as_echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5 8216 $as_echo_n "checking for Apple MacOS X/Darwin... " >&6; } 7208 8217 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 7209 echo "$as_me:$LINENO: result: yes" >&57210 echo "${ECHO_T}yes" >&6 8218 { $as_echo "$as_me:$LINENO: result: yes" >&5 8219 $as_echo "yes" >&6; } 7211 8220 STATIC="" 7212 8221 else 7213 echo "$as_me:$LINENO: result: no" >&57214 echo "${ECHO_T}no" >&6 8222 { $as_echo "$as_me:$LINENO: result: no" >&5 8223 $as_echo "no" >&6; } 7215 8224 STATIC="-static " 7216 8225 fi 7217 8226 7218 8227 7219 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&57220 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6 7221 7222 # Check whether --with-dmalloc or --without-dmallocwas given.8228 { $as_echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 8229 $as_echo_n "checking if malloc debugging is wanted... " >&6; } 8230 8231 # Check whether --with-dmalloc was given. 7223 8232 if test "${with_dmalloc+set}" = set; then 7224 withval="$with_dmalloc" 7225 if test "$withval" = yes; then 7226 echo "$as_me:$LINENO: result: yes" >&5 7227 echo "${ECHO_T}yes" >&6 8233 withval=$with_dmalloc; if test "$withval" = yes; then 8234 { $as_echo "$as_me:$LINENO: result: yes" >&5 8235 $as_echo "yes" >&6; } 7228 8236 cat >>confdefs.h <<\_ACEOF 7229 8237 #define WITH_DMALLOC 1 … … 7233 8241 LDFLAGS="$LDFLAGS -g" 7234 8242 else 7235 echo "$as_me:$LINENO: result: no" >&5 7236 echo "${ECHO_T}no" >&6 7237 fi 7238 else 7239 echo "$as_me:$LINENO: result: no" >&5 7240 echo "${ECHO_T}no" >&6 7241 fi; 7242 7243 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 7244 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6 7245 7246 # Check whether --with-regex or --without-regex was given. 8243 { $as_echo "$as_me:$LINENO: result: no" >&5 8244 $as_echo "no" >&6; } 8245 fi 8246 else 8247 { $as_echo "$as_me:$LINENO: result: no" >&5 8248 $as_echo "no" >&6; } 8249 fi 8250 8251 8252 { $as_echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 8253 $as_echo_n "checking which of rx or regex is wanted... " >&6; } 8254 8255 # Check whether --with-regex was given. 7247 8256 if test "${with_regex+set}" = set; then 7248 withval="$with_regex" 7249 if test "$withval" = yes; then 8257 withval=$with_regex; if test "$withval" = yes; then 7250 8258 ac_with_regex=1 7251 echo "$as_me:$LINENO: result: regex" >&57252 echo "${ECHO_T}regex" >&6 8259 { $as_echo "$as_me:$LINENO: result: regex" >&5 8260 $as_echo "regex" >&6; } 7253 8261 cat >>confdefs.h <<\_ACEOF 7254 8262 #define WITH_REGEX 1 7255 8263 _ACEOF 7256 8264 7257 case $LIBOBJS in 7258 "regex.$ac_objext" | \ 7259 *" regex.$ac_objext" | \ 7260 "regex.$ac_objext "* | \ 8265 case " $LIBOBJS " in 7261 8266 *" regex.$ac_objext "* ) ;; 7262 *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;; 7263 esac 7264 7265 fi 7266 fi; 8267 *) LIBOBJS="$LIBOBJS regex.$ac_objext" 8268 ;; 8269 esac 8270 8271 fi 8272 fi 8273 7267 8274 if test -z "$ac_with_regex"; then 7268 echo "$as_me:$LINENO: result: rx" >&57269 echo "${ECHO_T}rx" >&6 7270 echo "$as_me:$LINENO: checking for re_rx_search" >&57271 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6 8275 { $as_echo "$as_me:$LINENO: result: rx" >&5 8276 $as_echo "rx" >&6; } 8277 { $as_echo "$as_me:$LINENO: checking for re_rx_search" >&5 8278 $as_echo_n "checking for re_rx_search... " >&6; } 7272 8279 if test "${ac_cv_func_re_rx_search+set}" = set; then 7273 echo $ECHO_N "(cached) $ECHO_C" >&68280 $as_echo_n "(cached) " >&6 7274 8281 else 7275 8282 cat >conftest.$ac_ext <<_ACEOF … … 7296 8303 #undef re_rx_search 7297 8304 7298 /* Override any gcc2 internal prototype to avoid an error. */ 8305 /* Override any GCC internal prototype to avoid an error. 8306 Use char because int might match the return type of a GCC 8307 builtin and then its argument prototype would still apply. */ 7299 8308 #ifdef __cplusplus 7300 8309 extern "C" 7301 {7302 8310 #endif 7303 /* We use char because int might match the return type of a gcc27304 builtin and then its argument prototype would still apply. */7305 8311 char re_rx_search (); 7306 8312 /* The GNU C library defines this for functions which it implements 7307 8313 to always fail with ENOSYS. Some functions are actually named 7308 8314 something starting with __ and the normal name is an alias. */ 7309 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)8315 #if defined __stub_re_rx_search || defined __stub___re_rx_search 7310 8316 choke me 7311 #else7312 char (*f) () = re_rx_search;7313 #endif7314 #ifdef __cplusplus7315 }7316 8317 #endif 7317 8318 … … 7319 8320 main () 7320 8321 { 7321 return f != re_rx_search;8322 return re_rx_search (); 7322 8323 ; 7323 8324 return 0; … … 7325 8326 _ACEOF 7326 8327 rm -f conftest.$ac_objext conftest$ac_exeext 7327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7328 (eval $ac_link) 2>conftest.er1 8328 if { (ac_try="$ac_link" 8329 case "(($ac_try" in 8330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8331 *) ac_try_echo=$ac_try;; 8332 esac 8333 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8334 $as_echo "$ac_try_echo") >&5 8335 (eval "$ac_link") 2>conftest.er1 7329 8336 ac_status=$? 7330 8337 grep -v '^ *+' conftest.er1 >conftest.err 7331 8338 rm -f conftest.er1 7332 8339 cat conftest.err >&5 7333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7334 (exit $ac_status); } && 7335 { ac_try='test -z "$ac_c_werror_flag" 7336 || test ! -s conftest.err' 7337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7338 (eval $ac_try) 2>&5 7339 ac_status=$? 7340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7341 (exit $ac_status); }; } && 7342 { ac_try='test -s conftest$ac_exeext' 7343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7344 (eval $ac_try) 2>&5 7345 ac_status=$? 7346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7347 (exit $ac_status); }; }; then 8340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8341 (exit $ac_status); } && { 8342 test -z "$ac_c_werror_flag" || 8343 test ! -s conftest.err 8344 } && test -s conftest$ac_exeext && { 8345 test "$cross_compiling" = yes || 8346 $as_test_x conftest$ac_exeext 8347 }; then 7348 8348 ac_cv_func_re_rx_search=yes 7349 8349 else 7350 echo "$as_me: failed program was:" >&58350 $as_echo "$as_me: failed program was:" >&5 7351 8351 sed 's/^/| /' conftest.$ac_ext >&5 7352 8352 7353 ac_cv_func_re_rx_search=no 7354 fi 7355 rm -f conftest.err conftest.$ac_objext \ 8353 ac_cv_func_re_rx_search=no 8354 fi 8355 8356 rm -rf conftest.dSYM 8357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7356 8358 conftest$ac_exeext conftest.$ac_ext 7357 8359 fi 7358 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&57359 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6 7360 if test $ac_cv_func_re_rx_search =yes; then8360 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 8361 $as_echo "$ac_cv_func_re_rx_search" >&6; } 8362 if test "x$ac_cv_func_re_rx_search" = x""yes; then 7361 8363 : 7362 8364 else 7363 case $LIBOBJS in 7364 "rx.$ac_objext" | \ 7365 *" rx.$ac_objext" | \ 7366 "rx.$ac_objext "* | \ 8365 case " $LIBOBJS " in 7367 8366 *" rx.$ac_objext "* ) ;; 7368 *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;; 8367 *) LIBOBJS="$LIBOBJS rx.$ac_objext" 8368 ;; 7369 8369 esac 7370 8370 … … 7376 8376 # --------------------------------------------------------------------------- 7377 8377 if test "$ac_cv_func_alloca" = 'no'; then 7378 case $LIBOBJS in 7379 "xmalloc.$ac_objext" | \ 7380 *" xmalloc.$ac_objext" | \ 7381 "xmalloc.$ac_objext "* | \ 8378 case " $LIBOBJS " in 7382 8379 *" xmalloc.$ac_objext "* ) ;; 7383 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;; 7384 esac 7385 7386 case $LIBOBJS in 7387 "error.$ac_objext" | \ 7388 *" error.$ac_objext" | \ 7389 "error.$ac_objext "* | \ 8380 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" 8381 ;; 8382 esac 8383 8384 case " $LIBOBJS " in 7390 8385 *" error.$ac_objext "* ) ;; 7391 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 8386 *) LIBOBJS="$LIBOBJS error.$ac_objext" 8387 ;; 7392 8388 esac 7393 8389 … … 7397 8393 # --------------------------------------------------------------------------- 7398 8394 7399 ac_ext=c c8395 ac_ext=cpp 7400 8396 ac_cpp='$CXXCPP $CPPFLAGS' 7401 8397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 7405 8401 7406 8402 success=no 7407 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&57408 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6 8403 { $as_echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5 8404 $as_echo_n "checking \"whether STL library has known faults\"... " >&6; } 7409 8405 7410 8406 … … 7426 8422 _ACEOF 7427 8423 rm -f conftest.$ac_objext 7428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7429 (eval $ac_compile) 2>conftest.er1 8424 if { (ac_try="$ac_compile" 8425 case "(($ac_try" in 8426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8427 *) ac_try_echo=$ac_try;; 8428 esac 8429 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8430 $as_echo "$ac_try_echo") >&5 8431 (eval "$ac_compile") 2>conftest.er1 7430 8432 ac_status=$? 7431 8433 grep -v '^ *+' conftest.er1 >conftest.err 7432 8434 rm -f conftest.er1 7433 8435 cat conftest.err >&5 7434 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7435 (exit $ac_status); } && 7436 { ac_try='test -z "$ac_cxx_werror_flag" 7437 || test ! -s conftest.err' 7438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7439 (eval $ac_try) 2>&5 7440 ac_status=$? 7441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7442 (exit $ac_status); }; } && 7443 { ac_try='test -s conftest.$ac_objext' 7444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7445 (eval $ac_try) 2>&5 7446 ac_status=$? 7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7448 (exit $ac_status); }; }; then 8436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8437 (exit $ac_status); } && { 8438 test -z "$ac_cxx_werror_flag" || 8439 test ! -s conftest.err 8440 } && test -s conftest.$ac_objext; then 7449 8441 success=yes 7450 8442 else 7451 echo "$as_me: failed program was:" >&58443 $as_echo "$as_me: failed program was:" >&5 7452 8444 sed 's/^/| /' conftest.$ac_ext >&5 7453 8445 7454 fi 7455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8446 8447 fi 8448 8449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7456 8450 7457 8451 if test $success = "no"; then … … 7473 8467 _ACEOF 7474 8468 rm -f conftest.$ac_objext 7475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7476 (eval $ac_compile) 2>conftest.er1 8469 if { (ac_try="$ac_compile" 8470 case "(($ac_try" in 8471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8472 *) ac_try_echo=$ac_try;; 8473 esac 8474 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8475 $as_echo "$ac_try_echo") >&5 8476 (eval "$ac_compile") 2>conftest.er1 7477 8477 ac_status=$? 7478 8478 grep -v '^ *+' conftest.er1 >conftest.err 7479 8479 rm -f conftest.er1 7480 8480 cat conftest.err >&5 7481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7482 (exit $ac_status); } && 7483 { ac_try='test -z "$ac_cxx_werror_flag" 7484 || test ! -s conftest.err' 7485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7486 (eval $ac_try) 2>&5 7487 ac_status=$? 7488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7489 (exit $ac_status); }; } && 7490 { ac_try='test -s conftest.$ac_objext' 7491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7492 (eval $ac_try) 2>&5 7493 ac_status=$? 7494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7495 (exit $ac_status); }; }; then 8481 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8482 (exit $ac_status); } && { 8483 test -z "$ac_cxx_werror_flag" || 8484 test ! -s conftest.err 8485 } && test -s conftest.$ac_objext; then 7496 8486 success="yes" 7497 8487 else 7498 echo "$as_me: failed program was:" >&58488 $as_echo "$as_me: failed program was:" >&5 7499 8489 sed 's/^/| /' conftest.$ac_ext >&5 7500 8490 7501 fi 7502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8491 8492 fi 8493 8494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7503 8495 fi 7504 8496 … … 7521 8513 _ACEOF 7522 8514 rm -f conftest.$ac_objext 7523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7524 (eval $ac_compile) 2>conftest.er1 8515 if { (ac_try="$ac_compile" 8516 case "(($ac_try" in 8517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8518 *) ac_try_echo=$ac_try;; 8519 esac 8520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8521 $as_echo "$ac_try_echo") >&5 8522 (eval "$ac_compile") 2>conftest.er1 7525 8523 ac_status=$? 7526 8524 grep -v '^ *+' conftest.er1 >conftest.err 7527 8525 rm -f conftest.er1 7528 8526 cat conftest.err >&5 7529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7530 (exit $ac_status); } && 7531 { ac_try='test -z "$ac_cxx_werror_flag" 7532 || test ! -s conftest.err' 7533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7534 (eval $ac_try) 2>&5 7535 ac_status=$? 7536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7537 (exit $ac_status); }; } && 7538 { ac_try='test -s conftest.$ac_objext' 7539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7540 (eval $ac_try) 2>&5 7541 ac_status=$? 7542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7543 (exit $ac_status); }; }; then 8527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8528 (exit $ac_status); } && { 8529 test -z "$ac_cxx_werror_flag" || 8530 test ! -s conftest.err 8531 } && test -s conftest.$ac_objext; then 7544 8532 success="yes" 7545 8533 else 7546 echo "$as_me: failed program was:" >&58534 $as_echo "$as_me: failed program was:" >&5 7547 8535 sed 's/^/| /' conftest.$ac_ext >&5 7548 8536 7549 fi 7550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8537 8538 fi 8539 8540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7551 8541 fi 7552 8542 7553 8543 if test $success = yes; then 7554 echo "$as_me:$LINENO: result: \"no\"" >&57555 echo "${ECHO_T}\"no\"" >&6 7556 else 7557 echo "$as_me:$LINENO: result: \"yes\"" >&57558 echo "${ECHO_T}\"yes\"" >&6 7559 { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&57560 echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}8544 { $as_echo "$as_me:$LINENO: result: \"no\"" >&5 8545 $as_echo "\"no\"" >&6; } 8546 else 8547 { $as_echo "$as_me:$LINENO: result: \"yes\"" >&5 8548 $as_echo "\"yes\"" >&6; } 8549 { { $as_echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5 8550 $as_echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;} 7561 8551 { (exit 1); exit 1; }; } 7562 8552 fi … … 7579 8569 7580 8570 # check for endianness 7581 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7582 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 8571 8572 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 8573 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 7583 8574 if test "${ac_cv_c_bigendian+set}" = set; then 7584 echo $ECHO_N "(cached) $ECHO_C" >&6 7585 else 7586 # See if sys/param.h defines the BYTE_ORDER macro. 7587 cat >conftest.$ac_ext <<_ACEOF 8575 $as_echo_n "(cached) " >&6 8576 else 8577 ac_cv_c_bigendian=unknown 8578 # See if we're dealing with a universal compiler. 8579 cat >conftest.$ac_ext <<_ACEOF 8580 /* confdefs.h. */ 8581 _ACEOF 8582 cat confdefs.h >>conftest.$ac_ext 8583 cat >>conftest.$ac_ext <<_ACEOF 8584 /* end confdefs.h. */ 8585 #ifndef __APPLE_CC__ 8586 not a universal capable compiler 8587 #endif 8588 typedef int dummy; 8589 8590 _ACEOF 8591 rm -f conftest.$ac_objext 8592 if { (ac_try="$ac_compile" 8593 case "(($ac_try" in 8594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8595 *) ac_try_echo=$ac_try;; 8596 esac 8597 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8598 $as_echo "$ac_try_echo") >&5 8599 (eval "$ac_compile") 2>conftest.er1 8600 ac_status=$? 8601 grep -v '^ *+' conftest.er1 >conftest.err 8602 rm -f conftest.er1 8603 cat conftest.err >&5 8604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8605 (exit $ac_status); } && { 8606 test -z "$ac_cxx_werror_flag" || 8607 test ! -s conftest.err 8608 } && test -s conftest.$ac_objext; then 8609 8610 # Check for potential -arch flags. It is not universal unless 8611 # there are some -arch flags. Note that *ppc* also matches 8612 # ppc64. This check is also rather less than ideal. 8613 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 8614 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 8615 esac 8616 else 8617 $as_echo "$as_me: failed program was:" >&5 8618 sed 's/^/| /' conftest.$ac_ext >&5 8619 8620 8621 fi 8622 8623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8624 if test $ac_cv_c_bigendian = unknown; then 8625 # See if sys/param.h defines the BYTE_ORDER macro. 8626 cat >conftest.$ac_ext <<_ACEOF 7588 8627 /* confdefs.h. */ 7589 8628 _ACEOF … … 7592 8631 /* end confdefs.h. */ 7593 8632 #include <sys/types.h> 7594 #include <sys/param.h>8633 #include <sys/param.h> 7595 8634 7596 8635 int 7597 8636 main () 7598 8637 { 7599 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 7600 bogus endian macros 7601 #endif 8638 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 8639 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 8640 && LITTLE_ENDIAN) 8641 bogus endian macros 8642 #endif 7602 8643 7603 8644 ; … … 7606 8647 _ACEOF 7607 8648 rm -f conftest.$ac_objext 7608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7609 (eval $ac_compile) 2>conftest.er1 8649 if { (ac_try="$ac_compile" 8650 case "(($ac_try" in 8651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8652 *) ac_try_echo=$ac_try;; 8653 esac 8654 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8655 $as_echo "$ac_try_echo") >&5 8656 (eval "$ac_compile") 2>conftest.er1 7610 8657 ac_status=$? 7611 8658 grep -v '^ *+' conftest.er1 >conftest.err 7612 8659 rm -f conftest.er1 7613 8660 cat conftest.err >&5 7614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7615 (exit $ac_status); } && 7616 { ac_try='test -z "$ac_cxx_werror_flag" 7617 || test ! -s conftest.err' 7618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7619 (eval $ac_try) 2>&5 7620 ac_status=$? 7621 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7622 (exit $ac_status); }; } && 7623 { ac_try='test -s conftest.$ac_objext' 7624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7625 (eval $ac_try) 2>&5 7626 ac_status=$? 7627 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7628 (exit $ac_status); }; }; then 8661 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8662 (exit $ac_status); } && { 8663 test -z "$ac_cxx_werror_flag" || 8664 test ! -s conftest.err 8665 } && test -s conftest.$ac_objext; then 7629 8666 # It does; now see whether it defined to BIG_ENDIAN or not. 7630 cat >conftest.$ac_ext <<_ACEOF8667 cat >conftest.$ac_ext <<_ACEOF 7631 8668 /* confdefs.h. */ 7632 8669 _ACEOF … … 7635 8672 /* end confdefs.h. */ 7636 8673 #include <sys/types.h> 7637 #include <sys/param.h>8674 #include <sys/param.h> 7638 8675 7639 8676 int … … 7641 8678 { 7642 8679 #if BYTE_ORDER != BIG_ENDIAN 7643 not big endian7644 #endif8680 not big endian 8681 #endif 7645 8682 7646 8683 ; … … 7649 8686 _ACEOF 7650 8687 rm -f conftest.$ac_objext 7651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7652 (eval $ac_compile) 2>conftest.er1 8688 if { (ac_try="$ac_compile" 8689 case "(($ac_try" in 8690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8691 *) ac_try_echo=$ac_try;; 8692 esac 8693 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8694 $as_echo "$ac_try_echo") >&5 8695 (eval "$ac_compile") 2>conftest.er1 7653 8696 ac_status=$? 7654 8697 grep -v '^ *+' conftest.er1 >conftest.err 7655 8698 rm -f conftest.er1 7656 8699 cat conftest.err >&5 7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7658 (exit $ac_status); } && 7659 { ac_try='test -z "$ac_cxx_werror_flag" 7660 || test ! -s conftest.err' 7661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7662 (eval $ac_try) 2>&5 7663 ac_status=$? 7664 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7665 (exit $ac_status); }; } && 7666 { ac_try='test -s conftest.$ac_objext' 7667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7668 (eval $ac_try) 2>&5 7669 ac_status=$? 7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7671 (exit $ac_status); }; }; then 8700 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8701 (exit $ac_status); } && { 8702 test -z "$ac_cxx_werror_flag" || 8703 test ! -s conftest.err 8704 } && test -s conftest.$ac_objext; then 7672 8705 ac_cv_c_bigendian=yes 7673 8706 else 7674 echo "$as_me: failed program was:" >&58707 $as_echo "$as_me: failed program was:" >&5 7675 8708 sed 's/^/| /' conftest.$ac_ext >&5 7676 8709 7677 ac_cv_c_bigendian=no 7678 fi 7679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7680 else 7681 echo "$as_me: failed program was:" >&5 8710 ac_cv_c_bigendian=no 8711 fi 8712 8713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8714 else 8715 $as_echo "$as_me: failed program was:" >&5 7682 8716 sed 's/^/| /' conftest.$ac_ext >&5 7683 8717 7684 # It does not; compile a test program. 7685 if test "$cross_compiling" = yes; then 7686 # try to guess the endianness by grepping values into an object file 7687 ac_cv_c_bigendian=unknown 7688 cat >conftest.$ac_ext <<_ACEOF 8718 8719 fi 8720 8721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8722 fi 8723 if test $ac_cv_c_bigendian = unknown; then 8724 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 8725 cat >conftest.$ac_ext <<_ACEOF 7689 8726 /* confdefs.h. */ 7690 8727 _ACEOF … … 7692 8729 cat >>conftest.$ac_ext <<_ACEOF 7693 8730 /* end confdefs.h. */ 7694 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 7695 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 7696 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 7697 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 7698 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 7699 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 8731 #include <limits.h> 8732 7700 8733 int 7701 8734 main () 7702 8735 { 7703 _ascii (); _ebcdic (); 8736 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 8737 bogus endian macros 8738 #endif 8739 7704 8740 ; 7705 8741 return 0; … … 7707 8743 _ACEOF 7708 8744 rm -f conftest.$ac_objext 7709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7710 (eval $ac_compile) 2>conftest.er1 8745 if { (ac_try="$ac_compile" 8746 case "(($ac_try" in 8747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8748 *) ac_try_echo=$ac_try;; 8749 esac 8750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8751 $as_echo "$ac_try_echo") >&5 8752 (eval "$ac_compile") 2>conftest.er1 7711 8753 ac_status=$? 7712 8754 grep -v '^ *+' conftest.er1 >conftest.err 7713 8755 rm -f conftest.er1 7714 8756 cat conftest.err >&5 7715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7716 (exit $ac_status); } && 7717 { ac_try='test -z "$ac_cxx_werror_flag" 7718 || test ! -s conftest.err' 7719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7720 (eval $ac_try) 2>&5 7721 ac_status=$? 7722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7723 (exit $ac_status); }; } && 7724 { ac_try='test -s conftest.$ac_objext' 7725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7726 (eval $ac_try) 2>&5 7727 ac_status=$? 7728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7729 (exit $ac_status); }; }; then 7730 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 7731 ac_cv_c_bigendian=yes 7732 fi 7733 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 7734 if test "$ac_cv_c_bigendian" = unknown; then 7735 ac_cv_c_bigendian=no 7736 else 7737 # finding both strings is unlikely to happen, but who knows? 7738 ac_cv_c_bigendian=unknown 7739 fi 7740 fi 7741 else 7742 echo "$as_me: failed program was:" >&5 7743 sed 's/^/| /' conftest.$ac_ext >&5 7744 7745 fi 7746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7747 else 7748 cat >conftest.$ac_ext <<_ACEOF 8757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8758 (exit $ac_status); } && { 8759 test -z "$ac_cxx_werror_flag" || 8760 test ! -s conftest.err 8761 } && test -s conftest.$ac_objext; then 8762 # It does; now see whether it defined to _BIG_ENDIAN or not. 8763 cat >conftest.$ac_ext <<_ACEOF 7749 8764 /* confdefs.h. */ 7750 8765 _ACEOF … … 7752 8767 cat >>conftest.$ac_ext <<_ACEOF 7753 8768 /* end confdefs.h. */ 8769 #include <limits.h> 8770 7754 8771 int 7755 8772 main () 7756 8773 { 7757 /* Are we little or big endian? From Harbison&Steele. */ 7758 union 7759 { 7760 long l; 7761 char c[sizeof (long)]; 7762 } u; 7763 u.l = 1; 7764 exit (u.c[sizeof (long) - 1] == 1); 8774 #ifndef _BIG_ENDIAN 8775 not big endian 8776 #endif 8777 8778 ; 8779 return 0; 7765 8780 } 7766 8781 _ACEOF 8782 rm -f conftest.$ac_objext 8783 if { (ac_try="$ac_compile" 8784 case "(($ac_try" in 8785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8786 *) ac_try_echo=$ac_try;; 8787 esac 8788 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8789 $as_echo "$ac_try_echo") >&5 8790 (eval "$ac_compile") 2>conftest.er1 8791 ac_status=$? 8792 grep -v '^ *+' conftest.er1 >conftest.err 8793 rm -f conftest.er1 8794 cat conftest.err >&5 8795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8796 (exit $ac_status); } && { 8797 test -z "$ac_cxx_werror_flag" || 8798 test ! -s conftest.err 8799 } && test -s conftest.$ac_objext; then 8800 ac_cv_c_bigendian=yes 8801 else 8802 $as_echo "$as_me: failed program was:" >&5 8803 sed 's/^/| /' conftest.$ac_ext >&5 8804 8805 ac_cv_c_bigendian=no 8806 fi 8807 8808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8809 else 8810 $as_echo "$as_me: failed program was:" >&5 8811 sed 's/^/| /' conftest.$ac_ext >&5 8812 8813 8814 fi 8815 8816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8817 fi 8818 if test $ac_cv_c_bigendian = unknown; then 8819 # Compile a test program. 8820 if test "$cross_compiling" = yes; then 8821 # Try to guess by grepping values from an object file. 8822 cat >conftest.$ac_ext <<_ACEOF 8823 /* confdefs.h. */ 8824 _ACEOF 8825 cat confdefs.h >>conftest.$ac_ext 8826 cat >>conftest.$ac_ext <<_ACEOF 8827 /* end confdefs.h. */ 8828 short int ascii_mm[] = 8829 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 8830 short int ascii_ii[] = 8831 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 8832 int use_ascii (int i) { 8833 return ascii_mm[i] + ascii_ii[i]; 8834 } 8835 short int ebcdic_ii[] = 8836 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 8837 short int ebcdic_mm[] = 8838 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 8839 int use_ebcdic (int i) { 8840 return ebcdic_mm[i] + ebcdic_ii[i]; 8841 } 8842 extern int foo; 8843 8844 int 8845 main () 8846 { 8847 return use_ascii (foo) == use_ebcdic (foo); 8848 ; 8849 return 0; 8850 } 8851 _ACEOF 8852 rm -f conftest.$ac_objext 8853 if { (ac_try="$ac_compile" 8854 case "(($ac_try" in 8855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8856 *) ac_try_echo=$ac_try;; 8857 esac 8858 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8859 $as_echo "$ac_try_echo") >&5 8860 (eval "$ac_compile") 2>conftest.er1 8861 ac_status=$? 8862 grep -v '^ *+' conftest.er1 >conftest.err 8863 rm -f conftest.er1 8864 cat conftest.err >&5 8865 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8866 (exit $ac_status); } && { 8867 test -z "$ac_cxx_werror_flag" || 8868 test ! -s conftest.err 8869 } && test -s conftest.$ac_objext; then 8870 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 8871 ac_cv_c_bigendian=yes 8872 fi 8873 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 8874 if test "$ac_cv_c_bigendian" = unknown; then 8875 ac_cv_c_bigendian=no 8876 else 8877 # finding both strings is unlikely to happen, but who knows? 8878 ac_cv_c_bigendian=unknown 8879 fi 8880 fi 8881 else 8882 $as_echo "$as_me: failed program was:" >&5 8883 sed 's/^/| /' conftest.$ac_ext >&5 8884 8885 8886 fi 8887 8888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8889 else 8890 cat >conftest.$ac_ext <<_ACEOF 8891 /* confdefs.h. */ 8892 _ACEOF 8893 cat confdefs.h >>conftest.$ac_ext 8894 cat >>conftest.$ac_ext <<_ACEOF 8895 /* end confdefs.h. */ 8896 $ac_includes_default 8897 int 8898 main () 8899 { 8900 8901 /* Are we little or big endian? From Harbison&Steele. */ 8902 union 8903 { 8904 long int l; 8905 char c[sizeof (long int)]; 8906 } u; 8907 u.l = 1; 8908 return u.c[sizeof (long int) - 1] == 1; 8909 8910 ; 8911 return 0; 8912 } 8913 _ACEOF 7767 8914 rm -f conftest$ac_exeext 7768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7769 (eval $ac_link) 2>&5 8915 if { (ac_try="$ac_link" 8916 case "(($ac_try" in 8917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8918 *) ac_try_echo=$ac_try;; 8919 esac 8920 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8921 $as_echo "$ac_try_echo") >&5 8922 (eval "$ac_link") 2>&5 7770 8923 ac_status=$? 7771 echo "$as_me:$LINENO: \$? = $ac_status" >&58924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7772 8925 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7774 (eval $ac_try) 2>&5 8926 { (case "(($ac_try" in 8927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8928 *) ac_try_echo=$ac_try;; 8929 esac 8930 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8931 $as_echo "$ac_try_echo") >&5 8932 (eval "$ac_try") 2>&5 7775 8933 ac_status=$? 7776 echo "$as_me:$LINENO: \$? = $ac_status" >&58934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7777 8935 (exit $ac_status); }; }; then 7778 8936 ac_cv_c_bigendian=no 7779 8937 else 7780 echo "$as_me: program exited with status $ac_status" >&57781 echo "$as_me: failed program was:" >&58938 $as_echo "$as_me: program exited with status $ac_status" >&5 8939 $as_echo "$as_me: failed program was:" >&5 7782 8940 sed 's/^/| /' conftest.$ac_ext >&5 7783 8941 … … 7785 8943 ac_cv_c_bigendian=yes 7786 8944 fi 7787 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7788 fi 7789 fi 7790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7791 fi 7792 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7793 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 7794 case $ac_cv_c_bigendian in 7795 yes) 8945 rm -rf conftest.dSYM 8946 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8947 fi 8948 8949 8950 fi 8951 fi 8952 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 8953 $as_echo "$ac_cv_c_bigendian" >&6; } 8954 case $ac_cv_c_bigendian in #( 8955 yes) 8956 cat >>confdefs.h <<\_ACEOF 8957 #define WORDS_BIGENDIAN 1 8958 _ACEOF 8959 ;; #( 8960 no) 8961 ;; #( 8962 universal) 7796 8963 7797 8964 cat >>confdefs.h <<\_ACEOF 7798 #define WORDS_BIGENDIAN 1 7799 _ACEOF 7800 ;; 7801 no) 7802 ;; 7803 *) 7804 { { echo "$as_me:$LINENO: error: unknown endianness 7805 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 7806 echo "$as_me: error: unknown endianness 7807 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 8965 #define AC_APPLE_UNIVERSAL_BUILD 1 8966 _ACEOF 8967 8968 ;; #( 8969 *) 8970 { { $as_echo "$as_me:$LINENO: error: unknown endianness 8971 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 8972 $as_echo "$as_me: error: unknown endianness 8973 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 7808 8974 { (exit 1); exit 1; }; } ;; 7809 esac8975 esac 7810 8976 7811 8977 # --------------------------------------------------------------------------- 7812 8978 if test "$ac_cv_func_alloca" = 'no'; then 7813 case $LIBOBJS in 7814 "xmalloc.o.$ac_objext" | \ 7815 *" xmalloc.o.$ac_objext" | \ 7816 "xmalloc.o.$ac_objext "* | \ 8979 case " $LIBOBJS " in 7817 8980 *" xmalloc.o.$ac_objext "* ) ;; 7818 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;; 7819 esac 7820 7821 case $LIBOBJS in 7822 "error.$ac_objext" | \ 7823 *" error.$ac_objext" | \ 7824 "error.$ac_objext "* | \ 8981 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" 8982 ;; 8983 esac 8984 8985 case " $LIBOBJS " in 7825 8986 *" error.$ac_objext "* ) ;; 7826 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 8987 *) LIBOBJS="$LIBOBJS error.$ac_objext" 8988 ;; 7827 8989 esac 7828 8990 … … 7858 9020 commonsrcprefix=`pwd` 7859 9021 ac_configure_args="$ac_configure_args --with-libiconv-prefix=$commonsrcprefix/packages/iconv" 7860 7861 7862 9022 subdirs="$subdirs indexers" 7863 9023 … … 7875 9035 src/jdbmedit/Makefile" 7876 9036 7877 ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs" 9037 ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs" 9038 7878 9039 cat >confcache <<\_ACEOF 7879 9040 # This file is a shell script that caches the results of configure … … 7894 9055 # The following way of writing the cache mishandles newlines in values, 7895 9056 # but we know of no workaround that is simple, portable, and efficient. 7896 # So, don't put newlines in cache variables' values.9057 # So, we kill variables containing newlines. 7897 9058 # Ultrix sh set writes to stderr and can't be redirected directly, 7898 9059 # and sets the high bit in the cache file unless we assign to the vars. 7899 { 9060 ( 9061 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 9062 eval ac_val=\$$ac_var 9063 case $ac_val in #( 9064 *${as_nl}*) 9065 case $ac_var in #( 9066 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 9067 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 9068 esac 9069 case $ac_var in #( 9070 _ | IFS | as_nl) ;; #( 9071 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9072 *) $as_unset $ac_var ;; 9073 esac ;; 9074 esac 9075 done 9076 7900 9077 (set) 2>&1 | 7901 case `(ac_space=' '; set | grep ac_space) 2>&1` in7902 * ac_space=\ *)9078 case $as_nl`(ac_space=' '; set) 2>&1` in #( 9079 *${as_nl}ac_space=\ *) 7903 9080 # `set' does not quote correctly, so add quotes (double-quote 7904 9081 # substitution turns \\\\ into \\, and sed turns \\ into \). … … 7906 9083 "s/'/'\\\\''/g; 7907 9084 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7908 ;; 9085 ;; #( 7909 9086 *) 7910 9087 # `set' quotes correctly as required by POSIX, so do not add quotes. 7911 sed -n \ 7912 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 9088 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7913 9089 ;; 7914 esac; 7915 } | 9090 esac | 9091 sort 9092 ) | 7916 9093 sed ' 9094 /^ac_cv_env_/b end 7917 9095 t clear 7918 : 9096 :clear 7919 9097 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7920 9098 t end 7921 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7922 : end' >>confcache 7923 if diff $cache_file confcache >/dev/null 2>&1; then :; else 7924 if test -w $cache_file; then 7925 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 9099 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 9100 :end' >>confcache 9101 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 9102 if test -w "$cache_file"; then 9103 test "x$cache_file" != "x/dev/null" && 9104 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 9105 $as_echo "$as_me: updating cache $cache_file" >&6;} 7926 9106 cat confcache >$cache_file 7927 9107 else 7928 echo "not updating unwritable cache $cache_file" 9108 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 9109 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7929 9110 fi 7930 9111 fi … … 7934 9115 # Let make expand exec_prefix. 7935 9116 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7936 7937 # VPATH may cause trouble with some makes, so we remove $(srcdir),7938 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and7939 # trailing colons and then remove the whole line if VPATH becomes empty7940 # (actually we leave an empty line to preserve line numbers).7941 if test "x$srcdir" = x.; then7942 ac_vpsub='/^[ ]*VPATH[ ]*=/{7943 s/:*\$(srcdir):*/:/;7944 s/:*\${srcdir}:*/:/;7945 s/:*@srcdir@:*/:/;7946 s/^\([^=]*=[ ]*\):*/\1/;7947 s/:*$//;7948 s/^[^=]*=[ ]*$//;7949 }'7950 fi7951 9117 7952 9118 DEFS=-DHAVE_CONFIG_H … … 7956 9122 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7957 9123 # 1. Remove the extension, and $U if already installed. 7958 ac_i=`echo "$ac_i" | 7959 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 7960 # 2. Add them. 7961 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 7962 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 9124 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 9125 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 9126 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 9127 # will be set to the directory where LIBOBJS objects are built. 9128 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9129 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 7963 9130 done 7964 9131 LIBOBJS=$ac_libobjs … … 7968 9135 7969 9136 9137 7970 9138 : ${CONFIG_STATUS=./config.status} 9139 ac_write_fail=0 7971 9140 ac_clean_files_save=$ac_clean_files 7972 9141 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 7973 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&57974 echo "$as_me: creating $CONFIG_STATUS" >&6;}7975 cat >$CONFIG_STATUS <<_ACEOF 9142 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 9143 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9144 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7976 9145 #! $SHELL 7977 9146 # Generated by $as_me. … … 7986 9155 _ACEOF 7987 9156 7988 cat >>$CONFIG_STATUS <<\_ACEOF 9157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7989 9158 ## --------------------- ## 7990 9159 ## M4sh Initialization. ## 7991 9160 ## --------------------- ## 7992 9161 7993 # Be Bourne compatible 9162 # Be more Bourne compatible 9163 DUALCASE=1; export DUALCASE # for MKS sh 7994 9164 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 7995 9165 emulate sh 7996 9166 NULLCMD=: 7997 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which9167 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 7998 9168 # is contrary to our usage. Disable this feature. 7999 9169 alias -g '${1+"$@"}'='"$@"' 8000 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 8001 set -o posix 8002 fi 8003 DUALCASE=1; export DUALCASE # for MKS sh 8004 8005 # Support unset when possible. 8006 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8007 as_unset=unset 8008 else 8009 as_unset=false 8010 fi 8011 8012 8013 # Work around bugs in pre-3.0 UWIN ksh. 8014 $as_unset ENV MAIL MAILPATH 8015 PS1='$ ' 8016 PS2='> ' 8017 PS4='+ ' 8018 8019 # NLS nuisances. 8020 for as_var in \ 8021 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 8022 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 8023 LC_TELEPHONE LC_TIME 8024 do 8025 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 8026 eval $as_var=C; export $as_var 8027 else 8028 $as_unset $as_var 8029 fi 8030 done 8031 8032 # Required to use basename. 8033 if expr a : '\(a\)' >/dev/null 2>&1; then 8034 as_expr=expr 8035 else 8036 as_expr=false 8037 fi 8038 8039 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 8040 as_basename=basename 8041 else 8042 as_basename=false 8043 fi 8044 8045 8046 # Name of the executable. 8047 as_me=`$as_basename "$0" || 8048 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8049 X"$0" : 'X\(//\)$' \| \ 8050 X"$0" : 'X\(/\)$' \| \ 8051 . : '\(.\)' 2>/dev/null || 8052 echo X/"$0" | 8053 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 8054 /^X\/\(\/\/\)$/{ s//\1/; q; } 8055 /^X\/\(\/\).*/{ s//\1/; q; } 8056 s/.*/./; q'` 8057 8058 8059 # PATH needs CR, and LINENO needs CR and PATH. 9170 setopt NO_GLOB_SUBST 9171 else 9172 case `(set -o) 2>/dev/null` in 9173 *posix*) set -o posix ;; 9174 esac 9175 9176 fi 9177 9178 9179 9180 9181 # PATH needs CR 8060 9182 # Avoid depending upon Character Ranges. 8061 9183 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 8065 9187 as_cr_alnum=$as_cr_Letters$as_cr_digits 8066 9188 9189 as_nl=' 9190 ' 9191 export as_nl 9192 # Printing a long string crashes Solaris 7 /usr/bin/printf. 9193 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 9194 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9195 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9196 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9197 as_echo='printf %s\n' 9198 as_echo_n='printf %s' 9199 else 9200 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 9201 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 9202 as_echo_n='/usr/ucb/echo -n' 9203 else 9204 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 9205 as_echo_n_body='eval 9206 arg=$1; 9207 case $arg in 9208 *"$as_nl"*) 9209 expr "X$arg" : "X\\(.*\\)$as_nl"; 9210 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 9211 esac; 9212 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 9213 ' 9214 export as_echo_n_body 9215 as_echo_n='sh -c $as_echo_n_body as_echo' 9216 fi 9217 export as_echo_body 9218 as_echo='sh -c $as_echo_body as_echo' 9219 fi 9220 8067 9221 # The user is always right. 8068 9222 if test "${PATH_SEPARATOR+set}" != set; then 8069 echo "#! /bin/sh" >conf$$.sh 8070 echo "exit 0" >>conf$$.sh 8071 chmod +x conf$$.sh 8072 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 8073 PATH_SEPARATOR=';' 8074 else 8075 PATH_SEPARATOR=: 8076 fi 8077 rm -f conf$$.sh 8078 fi 8079 8080 8081 as_lineno_1=$LINENO 8082 as_lineno_2=$LINENO 8083 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8084 test "x$as_lineno_1" != "x$as_lineno_2" && 8085 test "x$as_lineno_3" = "x$as_lineno_2" || { 8086 # Find who we are. Look in the path if we contain no path at all 8087 # relative or not. 8088 case $0 in 8089 *[\\/]* ) as_myself=$0 ;; 8090 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9223 PATH_SEPARATOR=: 9224 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 9225 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 9226 PATH_SEPARATOR=';' 9227 } 9228 fi 9229 9230 # Support unset when possible. 9231 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 9232 as_unset=unset 9233 else 9234 as_unset=false 9235 fi 9236 9237 9238 # IFS 9239 # We need space, tab and new line, in precisely that order. Quoting is 9240 # there to prevent editors from complaining about space-tab. 9241 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 9242 # splitting by setting IFS to empty value.) 9243 IFS=" "" $as_nl" 9244 9245 # Find who we are. Look in the path if we contain no directory separator. 9246 case $0 in 9247 *[\\/]* ) as_myself=$0 ;; 9248 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8091 9249 for as_dir in $PATH 8092 9250 do … … 8095 9253 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8096 9254 done 8097 8098 ;; 8099 esac 8100 # We did not find ourselves, most probably we were run as `sh COMMAND' 8101 # in which case we are not to be found in the path. 8102 if test "x$as_myself" = x; then 8103 as_myself=$0 8104 fi 8105 if test ! -f "$as_myself"; then 8106 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 8107 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 8108 { (exit 1); exit 1; }; } 8109 fi 8110 case $CONFIG_SHELL in 8111 '') 8112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8113 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 8114 do 8115 IFS=$as_save_IFS 8116 test -z "$as_dir" && as_dir=. 8117 for as_base in sh bash ksh sh5; do 8118 case $as_dir in 8119 /*) 8120 if ("$as_dir/$as_base" -c ' 9255 IFS=$as_save_IFS 9256 9257 ;; 9258 esac 9259 # We did not find ourselves, most probably we were run as `sh COMMAND' 9260 # in which case we are not to be found in the path. 9261 if test "x$as_myself" = x; then 9262 as_myself=$0 9263 fi 9264 if test ! -f "$as_myself"; then 9265 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9266 { (exit 1); exit 1; } 9267 fi 9268 9269 # Work around bugs in pre-3.0 UWIN ksh. 9270 for as_var in ENV MAIL MAILPATH 9271 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9272 done 9273 PS1='$ ' 9274 PS2='> ' 9275 PS4='+ ' 9276 9277 # NLS nuisances. 9278 LC_ALL=C 9279 export LC_ALL 9280 LANGUAGE=C 9281 export LANGUAGE 9282 9283 # Required to use basename. 9284 if expr a : '\(a\)' >/dev/null 2>&1 && 9285 test "X`expr 00001 : '.*\(...\)'`" = X001; then 9286 as_expr=expr 9287 else 9288 as_expr=false 9289 fi 9290 9291 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 9292 as_basename=basename 9293 else 9294 as_basename=false 9295 fi 9296 9297 9298 # Name of the executable. 9299 as_me=`$as_basename -- "$0" || 9300 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 9301 X"$0" : 'X\(//\)$' \| \ 9302 X"$0" : 'X\(/\)' \| . 2>/dev/null || 9303 $as_echo X/"$0" | 9304 sed '/^.*\/\([^/][^/]*\)\/*$/{ 9305 s//\1/ 9306 q 9307 } 9308 /^X\/\(\/\/\)$/{ 9309 s//\1/ 9310 q 9311 } 9312 /^X\/\(\/\).*/{ 9313 s//\1/ 9314 q 9315 } 9316 s/.*/./; q'` 9317 9318 # CDPATH. 9319 $as_unset CDPATH 9320 9321 9322 8121 9323 as_lineno_1=$LINENO 8122 9324 as_lineno_2=$LINENO 8123 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`8124 9325 test "x$as_lineno_1" != "x$as_lineno_2" && 8125 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 8126 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 8127 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 8128 CONFIG_SHELL=$as_dir/$as_base 8129 export CONFIG_SHELL 8130 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 8131 fi;; 8132 esac 8133 done 8134 done 8135 ;; 8136 esac 9326 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 8137 9327 8138 9328 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 8139 9329 # uniformly replaced by the line number. The first 'sed' inserts a 8140 # line-number line before each line; the second 'sed' does the real 8141 # work. The second script uses 'N' to pair each line-number line 8142 # with the numbered line, and appends trailing '-' during 8143 # substitution so that $LINENO is not a special case at line end. 9330 # line-number line after each line using $LINENO; the second 'sed' 9331 # does the real work. The second script uses 'N' to pair each 9332 # line-number line with the line containing $LINENO, and appends 9333 # trailing '-' during substitution so that $LINENO is not a special 9334 # case at line end. 8144 9335 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 8145 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 8146 sed '=' <$as_myself | 9336 # scripts with optimization help from Paolo Bonzini. Blame Lee 9337 # E. McMahon (1931-1989) for sed's syntax. :-) 9338 sed -n ' 9339 p 9340 /[$]LINENO/= 9341 ' <$as_myself | 8147 9342 sed ' 9343 s/[$]LINENO.*/&-/ 9344 t lineno 9345 b 9346 :lineno 8148 9347 N 8149 s,$,-, 8150 : loop 8151 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 9348 :loop 9349 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 8152 9350 t loop 8153 s,-$,, 8154 s,^['$as_cr_digits']*\n,, 9351 s/-\n.*// 8155 9352 ' >$as_me.lineno && 8156 chmod +x $as_me.lineno || 8157 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 8158 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 9353 chmod +x "$as_me.lineno" || 9354 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 8159 9355 { (exit 1); exit 1; }; } 8160 9356 8161 9357 # Don't try to exec as it changes $[0], causing all sort of problems 8162 9358 # (the dirname of $[0] is not the place where we might find the 8163 # original and so on. Autoconf is especially sensi ble to this).8164 . ./$as_me.lineno9359 # original and so on. Autoconf is especially sensitive to this). 9360 . "./$as_me.lineno" 8165 9361 # Exit status is that of the last command. 8166 9362 exit … … 8168 9364 8169 9365 8170 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 8171 *c*,-n*) ECHO_N= ECHO_C=' 8172 ' ECHO_T=' ' ;; 8173 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 8174 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 8175 esac 8176 8177 if expr a : '\(a\)' >/dev/null 2>&1; then 9366 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9367 as_dirname=dirname 9368 else 9369 as_dirname=false 9370 fi 9371 9372 ECHO_C= ECHO_N= ECHO_T= 9373 case `echo -n x` in 9374 -n*) 9375 case `echo 'x\c'` in 9376 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 9377 *) ECHO_C='\c';; 9378 esac;; 9379 *) 9380 ECHO_N='-n';; 9381 esac 9382 if expr a : '\(a\)' >/dev/null 2>&1 && 9383 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8178 9384 as_expr=expr 8179 9385 else … … 8182 9388 8183 9389 rm -f conf$$ conf$$.exe conf$$.file 8184 echo >conf$$.file 8185 if ln -s conf$$.file conf$$ 2>/dev/null; then 8186 # We could just check for DJGPP; but this test a) works b) is more generic 8187 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 8188 if test -f conf$$.exe; then 8189 # Don't use ln at all; we don't have any links 9390 if test -d conf$$.dir; then 9391 rm -f conf$$.dir/conf$$.file 9392 else 9393 rm -f conf$$.dir 9394 mkdir conf$$.dir 2>/dev/null 9395 fi 9396 if (echo >conf$$.file) 2>/dev/null; then 9397 if ln -s conf$$.file conf$$ 2>/dev/null; then 9398 as_ln_s='ln -s' 9399 # ... but there are two gotchas: 9400 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 9401 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 9402 # In both cases, we have to default to `cp -p'. 9403 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9404 as_ln_s='cp -p' 9405 elif ln conf$$.file conf$$ 2>/dev/null; then 9406 as_ln_s=ln 9407 else 8190 9408 as_ln_s='cp -p' 8191 else8192 as_ln_s='ln -s'8193 9409 fi 8194 elif ln conf$$.file conf$$ 2>/dev/null; then8195 as_ln_s=ln8196 9410 else 8197 9411 as_ln_s='cp -p' 8198 9412 fi 8199 rm -f conf$$ conf$$.exe conf$$.file 9413 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 9414 rmdir conf$$.dir 2>/dev/null 8200 9415 8201 9416 if mkdir -p . 2>/dev/null; then … … 8206 9421 fi 8207 9422 8208 as_executable_p="test -f" 9423 if test -x / >/dev/null 2>&1; then 9424 as_test_x='test -x' 9425 else 9426 if ls -dL / >/dev/null 2>&1; then 9427 as_ls_L_option=L 9428 else 9429 as_ls_L_option= 9430 fi 9431 as_test_x=' 9432 eval sh -c '\'' 9433 if test -d "$1"; then 9434 test -d "$1/."; 9435 else 9436 case $1 in 9437 -*)set "./$1";; 9438 esac; 9439 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 9440 ???[sx]*):;;*)false;;esac;fi 9441 '\'' sh 9442 ' 9443 fi 9444 as_executable_p=$as_test_x 8209 9445 8210 9446 # Sed expression to map a string onto a valid CPP name. … … 8215 9451 8216 9452 8217 # IFS8218 # We need space, tab and new line, in precisely that order.8219 as_nl='8220 '8221 IFS=" $as_nl"8222 8223 # CDPATH.8224 $as_unset CDPATH8225 8226 9453 exec 6>&1 8227 9454 8228 # Open the log real soon, to keep \$[0] and so on meaningful, and to9455 # Save the log message, to keep $[0] and so on meaningful, and to 8229 9456 # report actual input values of CONFIG_FILES etc. instead of their 8230 # values after options handling. Logging --version etc. is OK. 9457 # values after options handling. 9458 ac_log=" 9459 This file was extended by $as_me, which was 9460 generated by GNU Autoconf 2.63. Invocation command line was 9461 9462 CONFIG_FILES = $CONFIG_FILES 9463 CONFIG_HEADERS = $CONFIG_HEADERS 9464 CONFIG_LINKS = $CONFIG_LINKS 9465 CONFIG_COMMANDS = $CONFIG_COMMANDS 9466 $ $0 $@ 9467 9468 on `(hostname || uname -n) 2>/dev/null | sed 1q` 9469 " 9470 9471 _ACEOF 9472 9473 case $ac_config_files in *" 9474 "*) set x $ac_config_files; shift; ac_config_files=$*;; 9475 esac 9476 9477 case $ac_config_headers in *" 9478 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 9479 esac 9480 9481 9482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9483 # Files that config.status was made for. 9484 config_files="$ac_config_files" 9485 config_headers="$ac_config_headers" 9486 9487 _ACEOF 9488 9489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9490 ac_cs_usage="\ 9491 \`$as_me' instantiates files from templates according to the 9492 current configuration. 9493 9494 Usage: $0 [OPTION]... [FILE]... 9495 9496 -h, --help print this help, then exit 9497 -V, --version print version number and configuration settings, then exit 9498 -q, --quiet, --silent 9499 do not print progress messages 9500 -d, --debug don't remove temporary files 9501 --recheck update $as_me by reconfiguring in the same conditions 9502 --file=FILE[:TEMPLATE] 9503 instantiate the configuration file FILE 9504 --header=FILE[:TEMPLATE] 9505 instantiate the configuration header FILE 9506 9507 Configuration files: 9508 $config_files 9509 9510 Configuration headers: 9511 $config_headers 9512 9513 Report bugs to <[email protected]>." 9514 9515 _ACEOF 9516 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9517 ac_cs_version="\\ 9518 config.status 9519 configured by $0, generated by GNU Autoconf 2.63, 9520 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 9521 9522 Copyright (C) 2008 Free Software Foundation, Inc. 9523 This config.status script is free software; the Free Software Foundation 9524 gives unlimited permission to copy, distribute and modify it." 9525 9526 ac_pwd='$ac_pwd' 9527 srcdir='$srcdir' 9528 INSTALL='$INSTALL' 9529 AWK='$AWK' 9530 test -n "\$AWK" || AWK=awk 9531 _ACEOF 9532 9533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9534 # The default lists apply if the user does not specify any file. 9535 ac_need_defaults=: 9536 while test $# != 0 9537 do 9538 case $1 in 9539 --*=*) 9540 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9541 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9542 ac_shift=: 9543 ;; 9544 *) 9545 ac_option=$1 9546 ac_optarg=$2 9547 ac_shift=shift 9548 ;; 9549 esac 9550 9551 case $ac_option in 9552 # Handling of the options. 9553 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 9554 ac_cs_recheck=: ;; 9555 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9556 $as_echo "$ac_cs_version"; exit ;; 9557 --debug | --debu | --deb | --de | --d | -d ) 9558 debug=: ;; 9559 --file | --fil | --fi | --f ) 9560 $ac_shift 9561 case $ac_optarg in 9562 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9563 esac 9564 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 9565 ac_need_defaults=false;; 9566 --header | --heade | --head | --hea ) 9567 $ac_shift 9568 case $ac_optarg in 9569 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9570 esac 9571 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 9572 ac_need_defaults=false;; 9573 --he | --h) 9574 # Conflict between --help and --header 9575 { $as_echo "$as_me: error: ambiguous option: $1 9576 Try \`$0 --help' for more information." >&2 9577 { (exit 1); exit 1; }; };; 9578 --help | --hel | -h ) 9579 $as_echo "$ac_cs_usage"; exit ;; 9580 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9581 | -silent | --silent | --silen | --sile | --sil | --si | --s) 9582 ac_cs_silent=: ;; 9583 9584 # This is an error. 9585 -*) { $as_echo "$as_me: error: unrecognized option: $1 9586 Try \`$0 --help' for more information." >&2 9587 { (exit 1); exit 1; }; } ;; 9588 9589 *) ac_config_targets="$ac_config_targets $1" 9590 ac_need_defaults=false ;; 9591 9592 esac 9593 shift 9594 done 9595 9596 ac_configure_extra_args= 9597 9598 if $ac_cs_silent; then 9599 exec 6>/dev/null 9600 ac_configure_extra_args="$ac_configure_extra_args --silent" 9601 fi 9602 9603 _ACEOF 9604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9605 if \$ac_cs_recheck; then 9606 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9607 shift 9608 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 9609 CONFIG_SHELL='$SHELL' 9610 export CONFIG_SHELL 9611 exec "\$@" 9612 fi 9613 9614 _ACEOF 9615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8231 9616 exec 5>>config.log 8232 9617 { … … 8235 9620 ## Running $as_me. ## 8236 9621 _ASBOX 9622 $as_echo "$ac_log" 8237 9623 } >&5 8238 cat >&5 <<_CSEOF 8239 8240 This file was extended by $as_me, which was 8241 generated by GNU Autoconf 2.59. Invocation command line was 8242 8243 CONFIG_FILES = $CONFIG_FILES 8244 CONFIG_HEADERS = $CONFIG_HEADERS 8245 CONFIG_LINKS = $CONFIG_LINKS 8246 CONFIG_COMMANDS = $CONFIG_COMMANDS 8247 $ $0 $@ 8248 8249 _CSEOF 8250 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 8251 echo >&5 8252 _ACEOF 8253 8254 # Files that config.status was made for. 8255 if test -n "$ac_config_files"; then 8256 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 8257 fi 8258 8259 if test -n "$ac_config_headers"; then 8260 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 8261 fi 8262 8263 if test -n "$ac_config_links"; then 8264 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 8265 fi 8266 8267 if test -n "$ac_config_commands"; then 8268 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 8269 fi 8270 8271 cat >>$CONFIG_STATUS <<\_ACEOF 8272 8273 ac_cs_usage="\ 8274 \`$as_me' instantiates files from templates according to the 8275 current configuration. 8276 8277 Usage: $0 [OPTIONS] [FILE]... 8278 8279 -h, --help print this help, then exit 8280 -V, --version print version number, then exit 8281 -q, --quiet do not print progress messages 8282 -d, --debug don't remove temporary files 8283 --recheck update $as_me by reconfiguring in the same conditions 8284 --file=FILE[:TEMPLATE] 8285 instantiate the configuration file FILE 8286 --header=FILE[:TEMPLATE] 8287 instantiate the configuration header FILE 8288 8289 Configuration files: 8290 $config_files 8291 8292 Configuration headers: 8293 $config_headers 8294 8295 Report bugs to <[email protected]>." 8296 _ACEOF 8297 8298 cat >>$CONFIG_STATUS <<_ACEOF 8299 ac_cs_version="\\ 8300 config.status 8301 configured by $0, generated by GNU Autoconf 2.59, 8302 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 8303 8304 Copyright (C) 2003 Free Software Foundation, Inc. 8305 This config.status script is free software; the Free Software Foundation 8306 gives unlimited permission to copy, distribute and modify it." 8307 srcdir=$srcdir 8308 INSTALL="$INSTALL" 8309 _ACEOF 8310 8311 cat >>$CONFIG_STATUS <<\_ACEOF 8312 # If no file are specified by the user, then we need to provide default 8313 # value. By we need to know if files were specified by the user. 8314 ac_need_defaults=: 8315 while test $# != 0 8316 do 8317 case $1 in 8318 --*=*) 8319 ac_option=`expr "x$1" : 'x\([^=]*\)='` 8320 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 8321 ac_shift=: 8322 ;; 8323 -*) 8324 ac_option=$1 8325 ac_optarg=$2 8326 ac_shift=shift 8327 ;; 8328 *) # This is not an option, so the user has probably given explicit 8329 # arguments. 8330 ac_option=$1 8331 ac_need_defaults=false;; 8332 esac 8333 8334 case $ac_option in 8335 # Handling of the options. 8336 _ACEOF 8337 cat >>$CONFIG_STATUS <<\_ACEOF 8338 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8339 ac_cs_recheck=: ;; 8340 --version | --vers* | -V ) 8341 echo "$ac_cs_version"; exit 0 ;; 8342 --he | --h) 8343 # Conflict between --help and --header 8344 { { echo "$as_me:$LINENO: error: ambiguous option: $1 8345 Try \`$0 --help' for more information." >&5 8346 echo "$as_me: error: ambiguous option: $1 8347 Try \`$0 --help' for more information." >&2;} 8348 { (exit 1); exit 1; }; };; 8349 --help | --hel | -h ) 8350 echo "$ac_cs_usage"; exit 0 ;; 8351 --debug | --d* | -d ) 8352 debug=: ;; 8353 --file | --fil | --fi | --f ) 8354 $ac_shift 8355 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 8356 ac_need_defaults=false;; 8357 --header | --heade | --head | --hea ) 8358 $ac_shift 8359 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 8360 ac_need_defaults=false;; 8361 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8362 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8363 ac_cs_silent=: ;; 8364 8365 # This is an error. 8366 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 8367 Try \`$0 --help' for more information." >&5 8368 echo "$as_me: error: unrecognized option: $1 8369 Try \`$0 --help' for more information." >&2;} 8370 { (exit 1); exit 1; }; } ;; 8371 8372 *) ac_config_targets="$ac_config_targets $1" ;; 8373 8374 esac 8375 shift 8376 done 8377 8378 ac_configure_extra_args= 8379 8380 if $ac_cs_silent; then 8381 exec 6>/dev/null 8382 ac_configure_extra_args="$ac_configure_extra_args --silent" 8383 fi 8384 8385 _ACEOF 8386 cat >>$CONFIG_STATUS <<_ACEOF 8387 if \$ac_cs_recheck; then 8388 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8389 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8390 fi 8391 8392 _ACEOF 8393 8394 8395 8396 8397 8398 cat >>$CONFIG_STATUS <<\_ACEOF 9624 9625 _ACEOF 9626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9627 _ACEOF 9628 9629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9630 9631 # Handling of arguments. 8399 9632 for ac_config_target in $ac_config_targets 8400 9633 do 8401 case "$ac_config_target"in8402 # Handling of arguments.8403 "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;8404 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;8405 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;8406 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;8407 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 8408 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&58409 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}9634 case $ac_config_target in 9635 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 9636 "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;; 9637 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 9638 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;; 9639 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 9640 9641 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 9642 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 8410 9643 { (exit 1); exit 1; }; };; 8411 9644 esac 8412 9645 done 9646 8413 9647 8414 9648 # If the user did not use the arguments to specify the items to instantiate, … … 8422 9656 8423 9657 # Have a temporary directory for convenience. Make it in the build tree 8424 # simply because there is no reason to putit here, and in addition,9658 # simply because there is no reason against having it here, and in addition, 8425 9659 # creating and moving files from /tmp can sometimes cause problems. 8426 # Create a temporary directory, and hook for its removal unless debugging. 9660 # Hook for its removal unless debugging. 9661 # Note that there is a small window in which the directory will not be cleaned: 9662 # after its creation but before its name has been assigned to `$tmp'. 8427 9663 $debug || 8428 9664 { 8429 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 9665 tmp= 9666 trap 'exit_status=$? 9667 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9668 ' 0 8430 9669 trap '{ (exit 1); exit 1; }' 1 2 13 15 8431 9670 } 8432 8433 9671 # Create a (secure) tmp directory for tmp files. 8434 9672 8435 9673 { 8436 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&9674 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8437 9675 test -n "$tmp" && test -d "$tmp" 8438 9676 } || 8439 9677 { 8440 tmp=./conf stat$$-$RANDOM8441 (umask 077 && mkdir $tmp)9678 tmp=./conf$$-$RANDOM 9679 (umask 077 && mkdir "$tmp") 8442 9680 } || 8443 9681 { 8444 echo "$me: cannot create a temporary directory in ." >&29682 $as_echo "$as_me: cannot create a temporary directory in ." >&2 8445 9683 { (exit 1); exit 1; } 8446 9684 } 8447 9685 8448 _ACEOF 8449 8450 cat >>$CONFIG_STATUS <<_ACEOF 8451 8452 # 8453 # CONFIG_FILES section. 8454 # 8455 8456 # No need to generate the scripts if there are no CONFIG_FILES. 8457 # This happens for instance when ./config.status config.h 8458 if test -n "\$CONFIG_FILES"; then 8459 # Protect against being on the right side of a sed subst in config.status. 8460 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 8461 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 8462 s,@SHELL@,$SHELL,;t t 8463 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 8464 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 8465 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 8466 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 8467 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 8468 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 8469 s,@exec_prefix@,$exec_prefix,;t t 8470 s,@prefix@,$prefix,;t t 8471 s,@program_transform_name@,$program_transform_name,;t t 8472 s,@bindir@,$bindir,;t t 8473 s,@sbindir@,$sbindir,;t t 8474 s,@libexecdir@,$libexecdir,;t t 8475 s,@datadir@,$datadir,;t t 8476 s,@sysconfdir@,$sysconfdir,;t t 8477 s,@sharedstatedir@,$sharedstatedir,;t t 8478 s,@localstatedir@,$localstatedir,;t t 8479 s,@libdir@,$libdir,;t t 8480 s,@includedir@,$includedir,;t t 8481 s,@oldincludedir@,$oldincludedir,;t t 8482 s,@infodir@,$infodir,;t t 8483 s,@mandir@,$mandir,;t t 8484 s,@build_alias@,$build_alias,;t t 8485 s,@host_alias@,$host_alias,;t t 8486 s,@target_alias@,$target_alias,;t t 8487 s,@DEFS@,$DEFS,;t t 8488 s,@ECHO_C@,$ECHO_C,;t t 8489 s,@ECHO_N@,$ECHO_N,;t t 8490 s,@ECHO_T@,$ECHO_T,;t t 8491 s,@LIBS@,$LIBS,;t t 8492 s,@PACKAGE@,$PACKAGE,;t t 8493 s,@VERSION@,$VERSION,;t t 8494 s,@USE_FASTCGI@,$USE_FASTCGI,;t t 8495 s,@USE_LANGACTION@,$USE_LANGACTION,;t t 8496 s,@USE_CORBA@,$USE_CORBA,;t t 8497 s,@MICO_DIR@,$MICO_DIR,;t t 8498 s,@USE_Z3950@,$USE_Z3950,;t t 8499 s,@USE_YAZ@,$USE_YAZ,;t t 8500 s,@ENABLE_JAVA@,$ENABLE_JAVA,;t t 8501 s,@USE_JDBM@,$USE_JDBM,;t t 8502 s,@USE_GDBM@,$USE_GDBM,;t t 8503 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 8504 s,@USE_SQLITE@,$USE_SQLITE,;t t 8505 s,@ENABLE_JNI@,$ENABLE_JNI,;t t 8506 s,@ENABLE_MG@,$ENABLE_MG,;t t 8507 s,@ENABLE_MGPP@,$ENABLE_MGPP,;t t 8508 s,@ENABLE_LUCENE@,$ENABLE_LUCENE,;t t 8509 s,@LDFLAGS@,$LDFLAGS,;t t 8510 s,@CFLAGS@,$CFLAGS,;t t 8511 s,@CC@,$CC,;t t 8512 s,@CPPFLAGS@,$CPPFLAGS,;t t 8513 s,@ac_ct_CC@,$ac_ct_CC,;t t 8514 s,@EXEEXT@,$EXEEXT,;t t 8515 s,@OBJEXT@,$OBJEXT,;t t 8516 s,@CXX@,$CXX,;t t 8517 s,@CXXFLAGS@,$CXXFLAGS,;t t 8518 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 8519 s,@JAVA@,$JAVA,;t t 8520 s,@uudecode@,$uudecode,;t t 8521 s,@JAVAC@,$JAVAC,;t t 8522 s,@JAVACFLAGS@,$JAVACFLAGS,;t t 8523 s,@AWK@,$AWK,;t t 8524 s,@YACC@,$YACC,;t t 8525 s,@build@,$build,;t t 8526 s,@build_cpu@,$build_cpu,;t t 8527 s,@build_vendor@,$build_vendor,;t t 8528 s,@build_os@,$build_os,;t t 8529 s,@host@,$host,;t t 8530 s,@host_cpu@,$host_cpu,;t t 8531 s,@host_vendor@,$host_vendor,;t t 8532 s,@host_os@,$host_os,;t t 8533 s,@target@,$target,;t t 8534 s,@target_cpu@,$target_cpu,;t t 8535 s,@target_vendor@,$target_vendor,;t t 8536 s,@target_os@,$target_os,;t t 8537 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 8538 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 8539 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 8540 s,@LN_S@,$LN_S,;t t 8541 s,@SET_MAKE@,$SET_MAKE,;t t 8542 s,@RANLIB@,$RANLIB,;t t 8543 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 8544 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 8545 s,@MICO_VER@,$MICO_VER,;t t 8546 s,@CPP@,$CPP,;t t 8547 s,@EGREP@,$EGREP,;t t 8548 s,@U@,$U,;t t 8549 s,@ANSI2KNR@,$ANSI2KNR,;t t 8550 s,@ALLOCA@,$ALLOCA,;t t 8551 s,@LIBOBJS@,$LIBOBJS,;t t 8552 s,@STATIC@,$STATIC,;t t 8553 s,@gsdlos@,$gsdlos,;t t 8554 s,@gsdlarch@,$gsdlarch,;t t 8555 s,@MODULEDIRS@,$MODULEDIRS,;t t 8556 s,@subdirs@,$subdirs,;t t 8557 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 8558 CEOF 8559 8560 _ACEOF 8561 8562 cat >>$CONFIG_STATUS <<\_ACEOF 8563 # Split the substitutions into bite-sized pieces for seds with 8564 # small command number limits, like on Digital OSF/1 and HP-UX. 8565 ac_max_sed_lines=48 8566 ac_sed_frag=1 # Number of current file. 8567 ac_beg=1 # First line for current file. 8568 ac_end=$ac_max_sed_lines # Line after last line for current file. 8569 ac_more_lines=: 8570 ac_sed_cmds= 8571 while $ac_more_lines; do 8572 if test $ac_beg -gt 1; then 8573 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8574 else 8575 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 9686 # Set up the scripts for CONFIG_FILES section. 9687 # No need to generate them if there are no CONFIG_FILES. 9688 # This happens for instance with `./config.status config.h'. 9689 if test -n "$CONFIG_FILES"; then 9690 9691 9692 ac_cr=' 9693 ' 9694 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 9695 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 9696 ac_cs_awk_cr='\\r' 9697 else 9698 ac_cs_awk_cr=$ac_cr 9699 fi 9700 9701 echo 'BEGIN {' >"$tmp/subs1.awk" && 9702 _ACEOF 9703 9704 9705 { 9706 echo "cat >conf$$subs.awk <<_ACEOF" && 9707 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 9708 echo "_ACEOF" 9709 } >conf$$subs.sh || 9710 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9711 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9712 { (exit 1); exit 1; }; } 9713 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 9714 ac_delim='%!_!# ' 9715 for ac_last_try in false false false false false :; do 9716 . ./conf$$subs.sh || 9717 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9718 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9719 { (exit 1); exit 1; }; } 9720 9721 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 9722 if test $ac_delim_n = $ac_delim_num; then 9723 break 9724 elif $ac_last_try; then 9725 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9726 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9727 { (exit 1); exit 1; }; } 9728 else 9729 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9730 fi 9731 done 9732 rm -f conf$$subs.sh 9733 9734 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9735 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 9736 _ACEOF 9737 sed -n ' 9738 h 9739 s/^/S["/; s/!.*/"]=/ 9740 p 9741 g 9742 s/^[^!]*!// 9743 :repl 9744 t repl 9745 s/'"$ac_delim"'$// 9746 t delim 9747 :nl 9748 h 9749 s/\(.\{148\}\).*/\1/ 9750 t more1 9751 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 9752 p 9753 n 9754 b repl 9755 :more1 9756 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9757 p 9758 g 9759 s/.\{148\}// 9760 t nl 9761 :delim 9762 h 9763 s/\(.\{148\}\).*/\1/ 9764 t more2 9765 s/["\\]/\\&/g; s/^/"/; s/$/"/ 9766 p 9767 b 9768 :more2 9769 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9770 p 9771 g 9772 s/.\{148\}// 9773 t delim 9774 ' <conf$$subs.awk | sed ' 9775 /^[^""]/{ 9776 N 9777 s/\n// 9778 } 9779 ' >>$CONFIG_STATUS || ac_write_fail=1 9780 rm -f conf$$subs.awk 9781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9782 _ACAWK 9783 cat >>"\$tmp/subs1.awk" <<_ACAWK && 9784 for (key in S) S_is_set[key] = 1 9785 FS = "" 9786 9787 } 9788 { 9789 line = $ 0 9790 nfields = split(line, field, "@") 9791 substed = 0 9792 len = length(field[1]) 9793 for (i = 2; i < nfields; i++) { 9794 key = field[i] 9795 keylen = length(key) 9796 if (S_is_set[key]) { 9797 value = S[key] 9798 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 9799 len += length(value) + length(field[++i]) 9800 substed = 1 9801 } else 9802 len += 1 + keylen 9803 } 9804 9805 print line 9806 } 9807 9808 _ACAWK 9809 _ACEOF 9810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9811 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9812 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 9813 else 9814 cat 9815 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 9816 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 9817 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 9818 { (exit 1); exit 1; }; } 9819 _ACEOF 9820 9821 # VPATH may cause trouble with some makes, so we remove $(srcdir), 9822 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9823 # trailing colons and then remove the whole line if VPATH becomes empty 9824 # (actually we leave an empty line to preserve line numbers). 9825 if test "x$srcdir" = x.; then 9826 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 9827 s/:*\$(srcdir):*/:/ 9828 s/:*\${srcdir}:*/:/ 9829 s/:*@srcdir@:*/:/ 9830 s/^\([^=]*=[ ]*\):*/\1/ 9831 s/:*$// 9832 s/^[^=]*=[ ]*$// 9833 }' 9834 fi 9835 9836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9837 fi # test -n "$CONFIG_FILES" 9838 9839 # Set up the scripts for CONFIG_HEADERS section. 9840 # No need to generate them if there are no CONFIG_HEADERS. 9841 # This happens for instance with `./config.status Makefile'. 9842 if test -n "$CONFIG_HEADERS"; then 9843 cat >"$tmp/defines.awk" <<\_ACAWK || 9844 BEGIN { 9845 _ACEOF 9846 9847 # Transform confdefs.h into an awk script `defines.awk', embedded as 9848 # here-document in config.status, that substitutes the proper values into 9849 # config.h.in to produce config.h. 9850 9851 # Create a delimiter string that does not exist in confdefs.h, to ease 9852 # handling of long lines. 9853 ac_delim='%!_!# ' 9854 for ac_last_try in false false :; do 9855 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 9856 if test -z "$ac_t"; then 9857 break 9858 elif $ac_last_try; then 9859 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 9860 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 9861 { (exit 1); exit 1; }; } 9862 else 9863 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9864 fi 9865 done 9866 9867 # For the awk script, D is an array of macro values keyed by name, 9868 # likewise P contains macro parameters if any. Preserve backslash 9869 # newline sequences. 9870 9871 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 9872 sed -n ' 9873 s/.\{148\}/&'"$ac_delim"'/g 9874 t rset 9875 :rset 9876 s/^[ ]*#[ ]*define[ ][ ]*/ / 9877 t def 9878 d 9879 :def 9880 s/\\$// 9881 t bsnl 9882 s/["\\]/\\&/g 9883 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9884 D["\1"]=" \3"/p 9885 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 9886 d 9887 :bsnl 9888 s/["\\]/\\&/g 9889 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9890 D["\1"]=" \3\\\\\\n"\\/p 9891 t cont 9892 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 9893 t cont 9894 d 9895 :cont 9896 n 9897 s/.\{148\}/&'"$ac_delim"'/g 9898 t clear 9899 :clear 9900 s/\\$// 9901 t bsnlc 9902 s/["\\]/\\&/g; s/^/"/; s/$/"/p 9903 d 9904 :bsnlc 9905 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 9906 b cont 9907 ' <confdefs.h | sed ' 9908 s/'"$ac_delim"'/"\\\ 9909 "/g' >>$CONFIG_STATUS || ac_write_fail=1 9910 9911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9912 for (key in D) D_is_set[key] = 1 9913 FS = "" 9914 } 9915 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 9916 line = \$ 0 9917 split(line, arg, " ") 9918 if (arg[1] == "#") { 9919 defundef = arg[2] 9920 mac1 = arg[3] 9921 } else { 9922 defundef = substr(arg[1], 2) 9923 mac1 = arg[2] 9924 } 9925 split(mac1, mac2, "(") #) 9926 macro = mac2[1] 9927 prefix = substr(line, 1, index(line, defundef) - 1) 9928 if (D_is_set[macro]) { 9929 # Preserve the white space surrounding the "#". 9930 print prefix "define", macro P[macro] D[macro] 9931 next 9932 } else { 9933 # Replace #undef with comments. This is necessary, for example, 9934 # in the case of _POSIX_SOURCE, which is predefined and required 9935 # on some systems where configure will not decide to define it. 9936 if (defundef == "undef") { 9937 print "/*", prefix defundef, macro, "*/" 9938 next 9939 } 9940 } 9941 } 9942 { print } 9943 _ACAWK 9944 _ACEOF 9945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9946 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 9947 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 9948 { (exit 1); exit 1; }; } 9949 fi # test -n "$CONFIG_HEADERS" 9950 9951 9952 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 9953 shift 9954 for ac_tag 9955 do 9956 case $ac_tag in 9957 :[FHLC]) ac_mode=$ac_tag; continue;; 9958 esac 9959 case $ac_mode$ac_tag in 9960 :[FHL]*:*);; 9961 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 9962 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 9963 { (exit 1); exit 1; }; };; 9964 :[FH]-) ac_tag=-:-;; 9965 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9966 esac 9967 ac_save_IFS=$IFS 9968 IFS=: 9969 set x $ac_tag 9970 IFS=$ac_save_IFS 9971 shift 9972 ac_file=$1 9973 shift 9974 9975 case $ac_mode in 9976 :L) ac_source=$1;; 9977 :[FH]) 9978 ac_file_inputs= 9979 for ac_f 9980 do 9981 case $ac_f in 9982 -) ac_f="$tmp/stdin";; 9983 *) # Look for the file first in the build tree, then in the source tree 9984 # (if the path is not absolute). The absolute path cannot be DOS-style, 9985 # because $ac_f cannot contain `:'. 9986 test -f "$ac_f" || 9987 case $ac_f in 9988 [\\/$]*) false;; 9989 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9990 esac || 9991 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 9992 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 9993 { (exit 1); exit 1; }; };; 9994 esac 9995 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9996 ac_file_inputs="$ac_file_inputs '$ac_f'" 9997 done 9998 9999 # Let's still pretend it is `configure' which instantiates (i.e., don't 10000 # use $as_me), people would be surprised to read: 10001 # /* config.h. Generated by config.status. */ 10002 configure_input='Generated from '` 10003 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 10004 `' by configure.' 10005 if test x"$ac_file" != x-; then 10006 configure_input="$ac_file. $configure_input" 10007 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 10008 $as_echo "$as_me: creating $ac_file" >&6;} 8576 10009 fi 8577 if test ! -s $tmp/subs.frag; then 8578 ac_more_lines=false 8579 else 8580 # The purpose of the label and of the branching condition is to 8581 # speed up the sed processing (if there are no `@' at all, there 8582 # is no need to browse any of the substitutions). 8583 # These are the two extra sed commands mentioned above. 8584 (echo ':t 8585 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 8586 if test -z "$ac_sed_cmds"; then 8587 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 8588 else 8589 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 8590 fi 8591 ac_sed_frag=`expr $ac_sed_frag + 1` 8592 ac_beg=$ac_end 8593 ac_end=`expr $ac_end + $ac_max_sed_lines` 8594 fi 8595 done 8596 if test -z "$ac_sed_cmds"; then 8597 ac_sed_cmds=cat 8598 fi 8599 fi # test -n "$CONFIG_FILES" 8600 8601 _ACEOF 8602 cat >>$CONFIG_STATUS <<\_ACEOF 8603 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 8604 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8605 case $ac_file in 8606 - | *:- | *:-:* ) # input from stdin 8607 cat >$tmp/stdin 8608 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8609 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8610 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8611 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8612 * ) ac_file_in=$ac_file.in ;; 10010 # Neutralize special characters interpreted by sed in replacement strings. 10011 case $configure_input in #( 10012 *\&* | *\|* | *\\* ) 10013 ac_sed_conf_input=`$as_echo "$configure_input" | 10014 sed 's/[\\\\&|]/\\\\&/g'`;; #( 10015 *) ac_sed_conf_input=$configure_input;; 10016 esac 10017 10018 case $ac_tag in 10019 *:-:* | *:-) cat >"$tmp/stdin" \ 10020 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10021 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10022 { (exit 1); exit 1; }; } ;; 10023 esac 10024 ;; 8613 10025 esac 8614 10026 8615 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 8616 ac_dir=`(dirname "$ac_file") 2>/dev/null || 10027 ac_dir=`$as_dirname -- "$ac_file" || 8617 10028 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8618 10029 X"$ac_file" : 'X\(//\)[^/]' \| \ 8619 10030 X"$ac_file" : 'X\(//\)$' \| \ 8620 X"$ac_file" : 'X\(/\)' \| \ 8621 . : '\(.\)' 2>/dev/null || 8622 echo X"$ac_file" | 8623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8624 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8625 /^X\(\/\/\)$/{ s//\1/; q; } 8626 /^X\(\/\).*/{ s//\1/; q; } 8627 s/.*/./; q'` 8628 { if $as_mkdir_p; then 8629 mkdir -p "$ac_dir" 8630 else 8631 as_dir="$ac_dir" 10031 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 10032 $as_echo X"$ac_file" | 10033 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10034 s//\1/ 10035 q 10036 } 10037 /^X\(\/\/\)[^/].*/{ 10038 s//\1/ 10039 q 10040 } 10041 /^X\(\/\/\)$/{ 10042 s//\1/ 10043 q 10044 } 10045 /^X\(\/\).*/{ 10046 s//\1/ 10047 q 10048 } 10049 s/.*/./; q'` 10050 { as_dir="$ac_dir" 10051 case $as_dir in #( 10052 -*) as_dir=./$as_dir;; 10053 esac 10054 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 8632 10055 as_dirs= 8633 while test ! -d "$as_dir"; do 8634 as_dirs="$as_dir $as_dirs" 8635 as_dir=`(dirname "$as_dir") 2>/dev/null || 10056 while :; do 10057 case $as_dir in #( 10058 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10059 *) as_qdir=$as_dir;; 10060 esac 10061 as_dirs="'$as_qdir' $as_dirs" 10062 as_dir=`$as_dirname -- "$as_dir" || 8636 10063 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8637 10064 X"$as_dir" : 'X\(//\)[^/]' \| \ 8638 10065 X"$as_dir" : 'X\(//\)$' \| \ 8639 X"$as_dir" : 'X\(/\)' \| \ 8640 . : '\(.\)' 2>/dev/null || 8641 echo X"$as_dir" | 8642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8643 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8644 /^X\(\/\/\)$/{ s//\1/; q; } 8645 /^X\(\/\).*/{ s//\1/; q; } 8646 s/.*/./; q'` 10066 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10067 $as_echo X"$as_dir" | 10068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10069 s//\1/ 10070 q 10071 } 10072 /^X\(\/\/\)[^/].*/{ 10073 s//\1/ 10074 q 10075 } 10076 /^X\(\/\/\)$/{ 10077 s//\1/ 10078 q 10079 } 10080 /^X\(\/\).*/{ 10081 s//\1/ 10082 q 10083 } 10084 s/.*/./; q'` 10085 test -d "$as_dir" && break 8647 10086 done 8648 test ! -n "$as_dirs" || mkdir $as_dirs8649 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&58650 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}10087 test -z "$as_dirs" || eval "mkdir $as_dirs" 10088 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10089 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 8651 10090 { (exit 1); exit 1; }; }; } 8652 8653 10091 ac_builddir=. 8654 10092 8655 if test "$ac_dir" != .; then 8656 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8657 # A "../" for each directory in $ac_dir_suffix. 8658 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8659 else 8660 ac_dir_suffix= ac_top_builddir= 8661 fi 10093 case "$ac_dir" in 10094 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10095 *) 10096 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 10097 # A ".." for each directory in $ac_dir_suffix. 10098 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 10099 case $ac_top_builddir_sub in 10100 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 10101 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 10102 esac ;; 10103 esac 10104 ac_abs_top_builddir=$ac_pwd 10105 ac_abs_builddir=$ac_pwd$ac_dir_suffix 10106 # for backward compatibility: 10107 ac_top_builddir=$ac_top_build_prefix 8662 10108 8663 10109 case $srcdir in 8664 .) # No --srcdir option.We are building in place.10110 .) # We are building in place. 8665 10111 ac_srcdir=. 8666 if test -z "$ac_top_builddir"; then 8667 ac_top_srcdir=. 8668 else 8669 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8670 fi ;; 8671 [\\/]* | ?:[\\/]* ) # Absolute path. 10112 ac_top_srcdir=$ac_top_builddir_sub 10113 ac_abs_top_srcdir=$ac_pwd ;; 10114 [\\/]* | ?:[\\/]* ) # Absolute name. 8672 10115 ac_srcdir=$srcdir$ac_dir_suffix; 8673 ac_top_srcdir=$srcdir ;; 8674 *) # Relative path. 8675 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8676 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8677 esac 8678 8679 # Do not use `cd foo && pwd` to compute absolute paths, because 8680 # the directories may not exist. 8681 case `pwd` in 8682 .) ac_abs_builddir="$ac_dir";; 8683 *) 8684 case "$ac_dir" in 8685 .) ac_abs_builddir=`pwd`;; 8686 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8687 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8688 esac;; 8689 esac 8690 case $ac_abs_builddir in 8691 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8692 *) 8693 case ${ac_top_builddir}. in 8694 .) ac_abs_top_builddir=$ac_abs_builddir;; 8695 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8696 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8697 esac;; 8698 esac 8699 case $ac_abs_builddir in 8700 .) ac_abs_srcdir=$ac_srcdir;; 8701 *) 8702 case $ac_srcdir in 8703 .) ac_abs_srcdir=$ac_abs_builddir;; 8704 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8705 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8706 esac;; 8707 esac 8708 case $ac_abs_builddir in 8709 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8710 *) 8711 case $ac_top_srcdir in 8712 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8713 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8714 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8715 esac;; 8716 esac 8717 10116 ac_top_srcdir=$srcdir 10117 ac_abs_top_srcdir=$srcdir ;; 10118 *) # Relative name. 10119 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 10120 ac_top_srcdir=$ac_top_build_prefix$srcdir 10121 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 10122 esac 10123 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 10124 10125 10126 case $ac_mode in 10127 :F) 10128 # 10129 # CONFIG_FILE 10130 # 8718 10131 8719 10132 case $INSTALL in 8720 10133 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 8721 *) ac_INSTALL=$ac_top_build dir$INSTALL ;;10134 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 8722 10135 esac 8723 8724 if test x"$ac_file" != x-; then 8725 { echo "$as_me:$LINENO: creating $ac_file" >&5 8726 echo "$as_me: creating $ac_file" >&6;} 8727 rm -f "$ac_file" 8728 fi 8729 # Let's still pretend it is `configure' which instantiates (i.e., don't 8730 # use $as_me), people would be surprised to read: 8731 # /* config.h. Generated by config.status. */ 8732 if test x"$ac_file" = x-; then 8733 configure_input= 8734 else 8735 configure_input="$ac_file. " 8736 fi 8737 configure_input=$configure_input"Generated from `echo $ac_file_in | 8738 sed 's,.*/,,'` by configure." 8739 8740 # First look for the input files in the build tree, otherwise in the 8741 # src tree. 8742 ac_file_inputs=`IFS=: 8743 for f in $ac_file_in; do 8744 case $f in 8745 -) echo $tmp/stdin ;; 8746 [\\/$]*) 8747 # Absolute (can't be DOS-style, as IFS=:) 8748 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8749 echo "$as_me: error: cannot find input file: $f" >&2;} 8750 { (exit 1); exit 1; }; } 8751 echo "$f";; 8752 *) # Relative 8753 if test -f "$f"; then 8754 # Build tree 8755 echo "$f" 8756 elif test -f "$srcdir/$f"; then 8757 # Source tree 8758 echo "$srcdir/$f" 8759 else 8760 # /dev/null tree 8761 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8762 echo "$as_me: error: cannot find input file: $f" >&2;} 8763 { (exit 1); exit 1; }; } 8764 fi;; 8765 esac 8766 done` || { (exit 1); exit 1; } 8767 _ACEOF 8768 cat >>$CONFIG_STATUS <<_ACEOF 8769 sed "$ac_vpsub 10136 _ACEOF 10137 10138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10139 # If the template does not know about datarootdir, expand it. 10140 # FIXME: This hack should be removed a few years after 2.60. 10141 ac_datarootdir_hack=; ac_datarootdir_seen= 10142 10143 ac_sed_dataroot=' 10144 /datarootdir/ { 10145 p 10146 q 10147 } 10148 /@datadir@/p 10149 /@docdir@/p 10150 /@infodir@/p 10151 /@localedir@/p 10152 /@mandir@/p 10153 ' 10154 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 10155 *datarootdir*) ac_datarootdir_seen=yes;; 10156 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 10157 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10158 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10159 _ACEOF 10160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10161 ac_datarootdir_hack=' 10162 s&@datadir@&$datadir&g 10163 s&@docdir@&$docdir&g 10164 s&@infodir@&$infodir&g 10165 s&@localedir@&$localedir&g 10166 s&@mandir@&$mandir&g 10167 s&\\\${datarootdir}&$datarootdir&g' ;; 10168 esac 10169 _ACEOF 10170 10171 # Neutralize VPATH when `$srcdir' = `.'. 10172 # Shell code in configure.ac might set extrasub. 10173 # FIXME: do we really want to maintain this feature? 10174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10175 ac_sed_extra="$ac_vpsub 8770 10176 $extrasub 8771 10177 _ACEOF 8772 cat >>$CONFIG_STATUS <<\_ACEOF 10178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8773 10179 :t 8774 10180 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8775 s,@configure_input@,$configure_input,;t t 8776 s,@srcdir@,$ac_srcdir,;t t 8777 s,@abs_srcdir@,$ac_abs_srcdir,;t t 8778 s,@top_srcdir@,$ac_top_srcdir,;t t 8779 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 8780 s,@builddir@,$ac_builddir,;t t 8781 s,@abs_builddir@,$ac_abs_builddir,;t t 8782 s,@top_builddir@,$ac_top_builddir,;t t 8783 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 8784 s,@INSTALL@,$ac_INSTALL,;t t 8785 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 8786 rm -f $tmp/stdin 10181 s|@configure_input@|$ac_sed_conf_input|;t t 10182 s&@top_builddir@&$ac_top_builddir_sub&;t t 10183 s&@top_build_prefix@&$ac_top_build_prefix&;t t 10184 s&@srcdir@&$ac_srcdir&;t t 10185 s&@abs_srcdir@&$ac_abs_srcdir&;t t 10186 s&@top_srcdir@&$ac_top_srcdir&;t t 10187 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 10188 s&@builddir@&$ac_builddir&;t t 10189 s&@abs_builddir@&$ac_abs_builddir&;t t 10190 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 10191 s&@INSTALL@&$ac_INSTALL&;t t 10192 $ac_datarootdir_hack 10193 " 10194 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 10195 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10196 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10197 { (exit 1); exit 1; }; } 10198 10199 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 10200 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 10201 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 10202 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10203 which seems to be undefined. Please make sure it is defined." >&5 10204 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10205 which seems to be undefined. Please make sure it is defined." >&2;} 10206 10207 rm -f "$tmp/stdin" 10208 case $ac_file in 10209 -) cat "$tmp/out" && rm -f "$tmp/out";; 10210 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 10211 esac \ 10212 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10213 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10214 { (exit 1); exit 1; }; } 10215 ;; 10216 :H) 10217 # 10218 # CONFIG_HEADER 10219 # 8787 10220 if test x"$ac_file" != x-; then 8788 mv $tmp/out $ac_file 8789 else 8790 cat $tmp/out 8791 rm -f $tmp/out 8792 fi 8793 8794 done 8795 _ACEOF 8796 cat >>$CONFIG_STATUS <<\_ACEOF 8797 8798 # 8799 # CONFIG_HEADER section. 8800 # 8801 8802 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 8803 # NAME is the cpp macro being defined and VALUE is the value it is being given. 8804 # 8805 # ac_d sets the value in "#define NAME VALUE" lines. 8806 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 8807 ac_dB='[ ].*$,\1#\2' 8808 ac_dC=' ' 8809 ac_dD=',;t' 8810 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 8811 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 8812 ac_uB='$,\1#\2define\3' 8813 ac_uC=' ' 8814 ac_uD=',;t' 8815 8816 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 8817 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8818 case $ac_file in 8819 - | *:- | *:-:* ) # input from stdin 8820 cat >$tmp/stdin 8821 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8822 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8823 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8824 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8825 * ) ac_file_in=$ac_file.in ;; 8826 esac 8827 8828 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 8829 echo "$as_me: creating $ac_file" >&6;} 8830 8831 # First look for the input files in the build tree, otherwise in the 8832 # src tree. 8833 ac_file_inputs=`IFS=: 8834 for f in $ac_file_in; do 8835 case $f in 8836 -) echo $tmp/stdin ;; 8837 [\\/$]*) 8838 # Absolute (can't be DOS-style, as IFS=:) 8839 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8840 echo "$as_me: error: cannot find input file: $f" >&2;} 10221 { 10222 $as_echo "/* $configure_input */" \ 10223 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 10224 } >"$tmp/config.h" \ 10225 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10226 $as_echo "$as_me: error: could not create $ac_file" >&2;} 8841 10227 { (exit 1); exit 1; }; } 8842 # Do quote $f, to prevent DOS paths from being IFS'd. 8843 echo "$f";; 8844 *) # Relative 8845 if test -f "$f"; then 8846 # Build tree 8847 echo "$f" 8848 elif test -f "$srcdir/$f"; then 8849 # Source tree 8850 echo "$srcdir/$f" 8851 else 8852 # /dev/null tree 8853 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8854 echo "$as_me: error: cannot find input file: $f" >&2;} 10228 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 10229 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 10230 $as_echo "$as_me: $ac_file is unchanged" >&6;} 10231 else 10232 rm -f "$ac_file" 10233 mv "$tmp/config.h" "$ac_file" \ 10234 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10235 $as_echo "$as_me: error: could not create $ac_file" >&2;} 8855 10236 { (exit 1); exit 1; }; } 8856 fi;;8857 esac8858 done` || { (exit 1); exit 1; }8859 # Remove the trailing spaces.8860 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in8861 8862 _ACEOF8863 8864 # Transform confdefs.h into two sed scripts, `conftest.defines' and8865 # `conftest.undefs', that substitutes the proper values into8866 # config.h.in to produce config.h. The first handles `#define'8867 # templates, and the second `#undef' templates.8868 # And first: Protect against being on the right side of a sed subst in8869 # config.status. Protect against being in an unquoted here document8870 # in config.status.8871 rm -f conftest.defines conftest.undefs8872 # Using a here document instead of a string reduces the quoting nightmare.8873 # Putting comments in sed scripts is not portable.8874 #8875 # `end' is used to avoid that the second main sed command (meant for8876 # 0-ary CPP macros) applies to n-ary macro definitions.8877 # See the Autoconf documentation for `clear'.8878 cat >confdef2sed.sed <<\_ACEOF8879 s/[\\&,]/\\&/g8880 s,[\\$`],\\&,g8881 t clear8882 : clear8883 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp8884 t end8885 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp8886 : end8887 _ACEOF8888 # If some macros were called several times there might be several times8889 # the same #defines, which is useless. Nevertheless, we may not want to8890 # sort them, since we want the *last* AC-DEFINE to be honored.8891 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines8892 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs8893 rm -f confdef2sed.sed8894 8895 # This sed command replaces #undef with comments. This is necessary, for8896 # example, in the case of _POSIX_SOURCE, which is predefined and required8897 # on some systems where configure will not decide to define it.8898 cat >>conftest.undefs <<\_ACEOF8899 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,8900 _ACEOF8901 8902 # Break up conftest.defines because some shells have a limit on the size8903 # of here documents, and old seds have small limits too (100 cmds).8904 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS8905 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS8906 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS8907 echo ' :' >>$CONFIG_STATUS8908 rm -f conftest.tail8909 while grep . conftest.defines >/dev/null8910 do8911 # Write a limited-size here document to $tmp/defines.sed.8912 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS8913 # Speed up: don't consider the non `#define' lines.8914 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS8915 # Work around the forget-to-reset-the-flag bug.8916 echo 't clr' >>$CONFIG_STATUS8917 echo ': clr' >>$CONFIG_STATUS8918 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS8919 echo 'CEOF8920 sed -f $tmp/defines.sed $tmp/in >$tmp/out8921 rm -f $tmp/in8922 mv $tmp/out $tmp/in8923 ' >>$CONFIG_STATUS8924 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail8925 rm -f conftest.defines8926 mv conftest.tail conftest.defines8927 done8928 rm -f conftest.defines8929 echo ' fi # grep' >>$CONFIG_STATUS8930 echo >>$CONFIG_STATUS8931 8932 # Break up conftest.undefs because some shells have a limit on the size8933 # of here documents, and old seds have small limits too (100 cmds).8934 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS8935 rm -f conftest.tail8936 while grep . conftest.undefs >/dev/null8937 do8938 # Write a limited-size here document to $tmp/undefs.sed.8939 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS8940 # Speed up: don't consider the non `#undef'8941 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS8942 # Work around the forget-to-reset-the-flag bug.8943 echo 't clr' >>$CONFIG_STATUS8944 echo ': clr' >>$CONFIG_STATUS8945 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS8946 echo 'CEOF8947 sed -f $tmp/undefs.sed $tmp/in >$tmp/out8948 rm -f $tmp/in8949 mv $tmp/out $tmp/in8950 ' >>$CONFIG_STATUS8951 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail8952 rm -f conftest.undefs8953 mv conftest.tail conftest.undefs8954 done8955 rm -f conftest.undefs8956 8957 cat >>$CONFIG_STATUS <<\_ACEOF8958 # Let's still pretend it is `configure' which instantiates (i.e., don't8959 # use $as_me), people would be surprised to read:8960 # /* config.h. Generated by config.status. */8961 if test x"$ac_file" = x-; then8962 echo "/* Generated by configure. */" >$tmp/config.h8963 else8964 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h8965 fi8966 cat $tmp/in >>$tmp/config.h8967 rm -f $tmp/in8968 if test x"$ac_file" != x-; then8969 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then8970 { echo "$as_me:$LINENO: $ac_file is unchanged" >&58971 echo "$as_me: $ac_file is unchanged" >&6;}8972 else8973 ac_dir=`(dirname "$ac_file") 2>/dev/null ||8974 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \8975 X"$ac_file" : 'X\(//\)[^/]' \| \8976 X"$ac_file" : 'X\(//\)$' \| \8977 X"$ac_file" : 'X\(/\)' \| \8978 . : '\(.\)' 2>/dev/null ||8979 echo X"$ac_file" |8980 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }8981 /^X\(\/\/\)[^/].*/{ s//\1/; q; }8982 /^X\(\/\/\)$/{ s//\1/; q; }8983 /^X\(\/\).*/{ s//\1/; q; }8984 s/.*/./; q'`8985 { if $as_mkdir_p; then8986 mkdir -p "$ac_dir"8987 else8988 as_dir="$ac_dir"8989 as_dirs=8990 while test ! -d "$as_dir"; do8991 as_dirs="$as_dir $as_dirs"8992 as_dir=`(dirname "$as_dir") 2>/dev/null ||8993 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \8994 X"$as_dir" : 'X\(//\)[^/]' \| \8995 X"$as_dir" : 'X\(//\)$' \| \8996 X"$as_dir" : 'X\(/\)' \| \8997 . : '\(.\)' 2>/dev/null ||8998 echo X"$as_dir" |8999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }9000 /^X\(\/\/\)[^/].*/{ s//\1/; q; }9001 /^X\(\/\/\)$/{ s//\1/; q; }9002 /^X\(\/\).*/{ s//\1/; q; }9003 s/.*/./; q'`9004 done9005 test ! -n "$as_dirs" || mkdir $as_dirs9006 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&59007 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}9008 { (exit 1); exit 1; }; }; }9009 9010 rm -f $ac_file9011 mv $tmp/config.h $ac_file9012 10237 fi 9013 10238 else 9014 cat $tmp/config.h 9015 rm -f $tmp/config.h 10239 $as_echo "/* $configure_input */" \ 10240 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 10241 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 10242 $as_echo "$as_me: error: could not create -" >&2;} 10243 { (exit 1); exit 1; }; } 9016 10244 fi 9017 done 9018 _ACEOF 9019 9020 cat >>$CONFIG_STATUS <<\_ACEOF 10245 ;; 10246 10247 10248 esac 10249 10250 done # for ac_tag 10251 9021 10252 9022 10253 { (exit 0); exit 0; } … … 9024 10255 chmod +x $CONFIG_STATUS 9025 10256 ac_clean_files=$ac_clean_files_save 10257 10258 test $ac_write_fail = 0 || 10259 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 10260 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 10261 { (exit 1); exit 1; }; } 9026 10262 9027 10263 … … 9052 10288 if test "$no_recursion" != yes; then 9053 10289 9054 # Remove --cache-file and --srcdir arguments so they do not pile up. 10290 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 10291 # so they do not pile up. 9055 10292 ac_sub_configure_args= 9056 10293 ac_prev= 9057 for ac_arg in $ac_configure_args; do 10294 eval "set x $ac_configure_args" 10295 shift 10296 for ac_arg 10297 do 9058 10298 if test -n "$ac_prev"; then 9059 10299 ac_prev= … … 9078 10318 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 9079 10319 ;; 9080 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; 10320 --disable-option-checking) 10321 ;; 10322 *) 10323 case $ac_arg in 10324 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 10325 esac 10326 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; 9081 10327 esac 9082 10328 done … … 9084 10330 # Always prepend --prefix to ensure using the same prefix 9085 10331 # in subdir configurations. 9086 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" 10332 ac_arg="--prefix=$prefix" 10333 case $ac_arg in 10334 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 10335 esac 10336 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 10337 10338 # Pass --silent 10339 if test "$silent" = yes; then 10340 ac_sub_configure_args="--silent $ac_sub_configure_args" 10341 fi 10342 10343 # Always prepend --disable-option-checking to silence warnings, since 10344 # different subdirs can have different --enable and --with options. 10345 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 9087 10346 9088 10347 ac_popdir=`pwd` … … 9091 10350 # Do not complain, so a configure script can configure whichever 9092 10351 # parts of a large source tree are present. 9093 test -d $srcdir/$ac_dir || continue 9094 9095 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 9096 echo "$as_me: configuring in $ac_dir" >&6;} 9097 { if $as_mkdir_p; then 9098 mkdir -p "$ac_dir" 9099 else 9100 as_dir="$ac_dir" 10352 test -d "$srcdir/$ac_dir" || continue 10353 10354 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 10355 $as_echo "$as_me:$LINENO: $ac_msg" >&5 10356 $as_echo "$ac_msg" >&6 10357 { as_dir="$ac_dir" 10358 case $as_dir in #( 10359 -*) as_dir=./$as_dir;; 10360 esac 10361 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 9101 10362 as_dirs= 9102 while test ! -d "$as_dir"; do 9103 as_dirs="$as_dir $as_dirs" 9104 as_dir=`(dirname "$as_dir") 2>/dev/null || 10363 while :; do 10364 case $as_dir in #( 10365 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10366 *) as_qdir=$as_dir;; 10367 esac 10368 as_dirs="'$as_qdir' $as_dirs" 10369 as_dir=`$as_dirname -- "$as_dir" || 9105 10370 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9106 10371 X"$as_dir" : 'X\(//\)[^/]' \| \ 9107 10372 X"$as_dir" : 'X\(//\)$' \| \ 9108 X"$as_dir" : 'X\(/\)' \| \ 9109 . : '\(.\)' 2>/dev/null || 9110 echo X"$as_dir" | 9111 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9112 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9113 /^X\(\/\/\)$/{ s//\1/; q; } 9114 /^X\(\/\).*/{ s//\1/; q; } 9115 s/.*/./; q'` 10373 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10374 $as_echo X"$as_dir" | 10375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10376 s//\1/ 10377 q 10378 } 10379 /^X\(\/\/\)[^/].*/{ 10380 s//\1/ 10381 q 10382 } 10383 /^X\(\/\/\)$/{ 10384 s//\1/ 10385 q 10386 } 10387 /^X\(\/\).*/{ 10388 s//\1/ 10389 q 10390 } 10391 s/.*/./; q'` 10392 test -d "$as_dir" && break 9116 10393 done 9117 test ! -n "$as_dirs" || mkdir $as_dirs9118 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&59119 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}10394 test -z "$as_dirs" || eval "mkdir $as_dirs" 10395 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10396 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 9120 10397 { (exit 1); exit 1; }; }; } 9121 9122 10398 ac_builddir=. 9123 10399 9124 if test "$ac_dir" != .; then 9125 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 9126 # A "../" for each directory in $ac_dir_suffix. 9127 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 9128 else 9129 ac_dir_suffix= ac_top_builddir= 9130 fi 10400 case "$ac_dir" in 10401 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10402 *) 10403 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 10404 # A ".." for each directory in $ac_dir_suffix. 10405 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 10406 case $ac_top_builddir_sub in 10407 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 10408 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 10409 esac ;; 10410 esac 10411 ac_abs_top_builddir=$ac_pwd 10412 ac_abs_builddir=$ac_pwd$ac_dir_suffix 10413 # for backward compatibility: 10414 ac_top_builddir=$ac_top_build_prefix 9131 10415 9132 10416 case $srcdir in 9133 .) # No --srcdir option.We are building in place.10417 .) # We are building in place. 9134 10418 ac_srcdir=. 9135 if test -z "$ac_top_builddir"; then 9136 ac_top_srcdir=. 10419 ac_top_srcdir=$ac_top_builddir_sub 10420 ac_abs_top_srcdir=$ac_pwd ;; 10421 [\\/]* | ?:[\\/]* ) # Absolute name. 10422 ac_srcdir=$srcdir$ac_dir_suffix; 10423 ac_top_srcdir=$srcdir 10424 ac_abs_top_srcdir=$srcdir ;; 10425 *) # Relative name. 10426 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 10427 ac_top_srcdir=$ac_top_build_prefix$srcdir 10428 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 10429 esac 10430 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 10431 10432 10433 cd "$ac_dir" 10434 10435 # Check for guested configure; otherwise get Cygnus style configure. 10436 if test -f "$ac_srcdir/configure.gnu"; then 10437 ac_sub_configure=$ac_srcdir/configure.gnu 10438 elif test -f "$ac_srcdir/configure"; then 10439 ac_sub_configure=$ac_srcdir/configure 10440 elif test -f "$ac_srcdir/configure.in"; then 10441 # This should be Cygnus configure. 10442 ac_sub_configure=$ac_aux_dir/configure 9137 10443 else 9138 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 9139 fi ;; 9140 [\\/]* | ?:[\\/]* ) # Absolute path. 9141 ac_srcdir=$srcdir$ac_dir_suffix; 9142 ac_top_srcdir=$srcdir ;; 9143 *) # Relative path. 9144 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 9145 ac_top_srcdir=$ac_top_builddir$srcdir ;; 9146 esac 9147 9148 # Do not use `cd foo && pwd` to compute absolute paths, because 9149 # the directories may not exist. 9150 case `pwd` in 9151 .) ac_abs_builddir="$ac_dir";; 9152 *) 9153 case "$ac_dir" in 9154 .) ac_abs_builddir=`pwd`;; 9155 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 9156 *) ac_abs_builddir=`pwd`/"$ac_dir";; 9157 esac;; 9158 esac 9159 case $ac_abs_builddir in 9160 .) ac_abs_top_builddir=${ac_top_builddir}.;; 9161 *) 9162 case ${ac_top_builddir}. in 9163 .) ac_abs_top_builddir=$ac_abs_builddir;; 9164 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 9165 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 9166 esac;; 9167 esac 9168 case $ac_abs_builddir in 9169 .) ac_abs_srcdir=$ac_srcdir;; 9170 *) 9171 case $ac_srcdir in 9172 .) ac_abs_srcdir=$ac_abs_builddir;; 9173 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 9174 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 9175 esac;; 9176 esac 9177 case $ac_abs_builddir in 9178 .) ac_abs_top_srcdir=$ac_top_srcdir;; 9179 *) 9180 case $ac_top_srcdir in 9181 .) ac_abs_top_srcdir=$ac_abs_builddir;; 9182 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 9183 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 9184 esac;; 9185 esac 9186 9187 9188 cd $ac_dir 9189 9190 # Check for guested configure; otherwise get Cygnus style configure. 9191 if test -f $ac_srcdir/configure.gnu; then 9192 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" 9193 elif test -f $ac_srcdir/configure; then 9194 ac_sub_configure="$SHELL '$ac_srcdir/configure'" 9195 elif test -f $ac_srcdir/configure.in; then 9196 ac_sub_configure=$ac_configure 9197 else 9198 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 9199 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 10444 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 10445 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 9200 10446 ac_sub_configure= 9201 10447 fi … … 9206 10452 case $cache_file in 9207 10453 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 9208 *) # Relative path.9209 ac_sub_cache_file=$ac_top_build dir$cache_file ;;10454 *) # Relative name. 10455 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; 9210 10456 esac 9211 10457 9212 { echo "$as_me:$LINENO: running$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&59213 echo "$as_me: running$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}10458 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 10459 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 9214 10460 # The eval makes quoting arguments work. 9215 eval $ac_sub_configure$ac_sub_configure_args \9216 --cache-file= $ac_sub_cache_file --srcdir=$ac_srcdir||9217 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&59218 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}10461 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 10462 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 10463 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 10464 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 9219 10465 { (exit 1); exit 1; }; } 9220 10466 fi 9221 10467 9222 cd $ac_popdir10468 cd "$ac_popdir" 9223 10469 done 9224 10470 fi 9225 9226 9227 10471 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 10472 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 10473 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 10474 fi 10475 10476 10477 -
main/trunk/greenstone2/common-src/configure.in
r24901 r25149 224 224 if test "$arch_64bit" = yes; then 225 225 AC_MSG_RESULT(yes) 226 if test -z "$ COMPAT32BITFLAGS" ; then227 COMPAT32BITFLAGS="-m32"226 if test -z "$ARCH_DEP_FLAGS" ; then 227 ARCH_DEP_FLAGS="-fPIC" 228 228 gsdlarch='64' 229 229 fi 230 230 else 231 231 AC_MSG_RESULT(no) 232 if test -z "$ COMPAT32BITFLAGS" ; then233 COMPAT32BITFLAGS=232 if test -z "$ARCH_DEP_FLAGS" ; then 233 ARCH_DEP_FLAGS= 234 234 gsdlarch='32' 235 235 fi 236 236 fi 237 237 238 # Only need compat32bitflag if using MG or MGPP 239 if test "$ENABLE_MG" = "0" ; then 240 COMPAT32BITFLAGS= 241 else 242 if test "$ENABLE_MGPP" = "0" ; then 243 COMPAT32BITFLAGS= 244 fi 245 fi 246 247 export COMPAT32BITFLAGS 248 AC_SUBST(COMPAT32BITFLAGS) 238 export ARCH_DEP_FLAGS 239 AC_SUBST(ARCH_DEP_FLAGS) 249 240 250 241 -
main/trunk/greenstone2/common-src/packages/configure
r24075 r25149 155 155 fi 156 156 157 #Configure and compile 32-bitexpat158 echo CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --with-pic --prefix=$PACKAGES/expat --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT159 CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --with-pic --prefix=$PACKAGES/expat --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT160 161 echo CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make $ENVIRONMENT162 CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make $ENVIRONMENT163 164 echo CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make install $ENVIRONMENT165 CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make install $ENVIRONMENT157 #Configure and compile expat 158 echo CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" ./configure $CACHE_FILE --disable-shared --with-pic --prefix=$PACKAGES/expat --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT 159 CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" ./configure $CACHE_FILE --disable-shared --with-pic --prefix=$PACKAGES/expat --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT 160 161 echo CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" make $ENVIRONMENT 162 CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" make $ENVIRONMENT 163 164 echo CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" make install $ENVIRONMENT 165 CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" make install $ENVIRONMENT 166 166 167 167 echo make distclean && \ 168 168 make distclean 169 170 if test ! -z "$COMPAT32BITFLAGS" ; then171 echo "Generating native 64-bit version of expat"172 #Configure and compile 64-bit expat173 echo ./configure $CACHE_FILE --disable-shared --with-pic --prefix=$PACKAGES/expat --bindir="$bindir" --libdir="$PACKAGES/expat/lib64" $HOSTTARGETFLAGS $ENVIRONMENT174 ./configure $CACHE_FILE --disable-shared --with-pic --prefix=$PACKAGES/expat --bindir="$bindir" --libdir="$PACKAGES/expat/lib64" $HOSTTARGETFLAGS $ENVIRONMENT175 176 echo make $ENVIRONMENT177 make $ENVIRONMENT178 179 echo make install $ENVIRONMENT180 make install $ENVIRONMENT181 182 echo make distclean && \183 make distclean184 fi185 169 186 170 # configure and compile libiconv during configuration stage … … 204 188 205 189 # configure 206 echo CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT207 CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT190 echo CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT 191 CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT 208 192 else 209 193 if test ! -d libiconv-1.11 ; then … … 218 202 219 203 # configure 220 echo CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT221 CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT204 echo CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" ./configure $CACHE_FILE --disable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT 205 CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" ./configure $CACHE_FILE --disable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT 222 206 fi 223 207 224 208 # make 225 echo CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make $ENVIRONMENT226 CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make $ENVIRONMENT209 echo CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" make $ENVIRONMENT 210 CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" make $ENVIRONMENT 227 211 228 212 # make install 229 echo CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make install $ENVIRONMENT 230 CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make install $ENVIRONMENT 231 232 if test ! -z "$COMPAT32BITFLAGS" ; then 233 echo "Generating native 64-bit version of iconv" 234 # used in apache web server, for example 235 236 # distclean 237 echo make distclean && \ 238 make distclean 239 240 # configure 241 echo ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT 242 ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" --libdir="$PACKAGES/iconv/lib64" $HOSTTARGETFLAGS $ENVIRONMENT 243 244 # make 245 echo make $ENVIRONMENT 246 make $ENVIRONMENT 247 248 # make install 249 echo make install $ENVIRONMENT 250 make install $ENVIRONMENT 251 fi 213 echo CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" make install $ENVIRONMENT 214 CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" make install $ENVIRONMENT 252 215 253 216 echo make distclean && \ 254 217 make distclean 255 218 256 #./configure $CACHE_FILE --prefix="$PACKAGES/iconv" --disable-shared $HOSTTARGETFLAGS&&257 #make && make install258 259 219 260 220 # configure GDBM … … 266 226 cd "$PACKAGES/gdbm" 267 227 268 echo CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --prefix=$PACKAGES/gdbm $HOSTTARGETFLAGS $ENVIRONMENT228 echo CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" ./configure $CACHE_FILE --disable-shared --prefix=$PACKAGES/gdbm $HOSTTARGETFLAGS $ENVIRONMENT 269 229 270 230 cd "$PACKAGES/gdbm/gdbm-1.8.3" && \ 271 CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --prefix=$PACKAGES/gdbm $HOSTTARGETFLAGS $ENVIRONMENT231 CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" ./configure $CACHE_FILE --disable-shared --prefix=$PACKAGES/gdbm $HOSTTARGETFLAGS $ENVIRONMENT 272 232 else 273 233 echo " GDBM support disabled." … … 321 281 fi 322 282 323 echo CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --prefix="$PACKAGES/sqlite" --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT283 echo CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" ./configure $CACHE_FILE --prefix="$PACKAGES/sqlite" --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT 324 284 325 285 cd "$PACKAGES/sqlite/sqlite-autoconf-3070602" && \ 326 CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --prefix="$PACKAGES/sqlite" --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT286 CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" ./configure $CACHE_FILE --prefix="$PACKAGES/sqlite" --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT 327 287 else 328 288 echo "SQLite support disabled." … … 337 297 cd "$PACKAGES/search4j" 338 298 339 #echo CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure --bindir="$GSDLHOME/bin/$GSDLOS" $CACHE_FILE $HOSTTARGETFLAGS $ENVIRONMENT299 #echo CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" ./configure --bindir="$GSDLHOME/bin/$GSDLOS" $CACHE_FILE $HOSTTARGETFLAGS $ENVIRONMENT 340 300 echo ./configure --bindir="$GSDLHOME/bin/$GSDLOS" $CACHE_FILE $HOSTTARGETFLAGS $ENVIRONMENT 341 301 342 302 cd "$PACKAGES/search4j" && \ 343 303 ./configure --bindir="$GSDLHOME/bin/$GSDLOS" $CACHE_FILE $HOSTTARGETFLAGS $ENVIRONMENT 344 # CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure --bindir="$GSDLHOME/bin/$GSDLOS" $CACHE_FILE $HOSTTARGETFLAGS $ENVIRONMENT304 # CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" ./configure --bindir="$GSDLHOME/bin/$GSDLOS" $CACHE_FILE $HOSTTARGETFLAGS $ENVIRONMENT -
main/trunk/greenstone2/common-src/packages/gdbm/gdbm-1.8.3/Makefile.in
r22259 r25149 27 27 LIBS = @LIBS@ -lc 28 28 29 CFLAGS = @CFLAGS@ @ COMPAT32BITFLAGS@30 LDFLAGS = @LDFLAGS@ @ COMPAT32BITFLAGS@29 CFLAGS = @CFLAGS@ @ARCH_DEP_FLAGS@ 30 LDFLAGS = @LDFLAGS@ @ARCH_DEP_FLAGS@ 31 31 32 32 ifeq ($(GSDLOS), "windows") -
main/trunk/greenstone2/common-src/packages/gdbm/gdbm-1.8.3/configure
r21432 r25149 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59for gdbm 1.8.3.3 # Generated by GNU Autoconf 2.63 for gdbm 1.8.3. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 6 7 # This configure script is free software; the Free Software Foundation 7 8 # gives unlimited permission to copy, distribute and modify it. … … 10 11 ## --------------------- ## 11 12 12 # Be Bourne compatible 13 # Be more Bourne compatible 14 DUALCASE=1; export DUALCASE # for MKS sh 13 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 16 emulate sh 15 17 NULLCMD=: 16 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17 19 # is contrary to our usage. Disable this feature. 18 20 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 21 setopt NO_GLOB_SUBST 22 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 79 33 # Avoid depending upon Character Ranges. 80 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 84 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 39 40 as_nl=' 41 ' 42 export as_nl 43 # Printing a long string crashes Solaris 7 /usr/bin/printf. 44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50 else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70 fi 71 86 72 # The user is always right. 87 73 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79 fi 80 81 # Support unset when possible. 82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 83 as_unset=unset 84 else 85 as_unset=false 86 fi 87 88 89 # IFS 90 # We need space, tab and new line, in precisely that order. Quoting is 91 # there to prevent editors from complaining about space-tab. 92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 93 # splitting by setting IFS to empty value.) 94 IFS=" "" $as_nl" 95 96 # Find who we are. Look in the path if we contain no directory separator. 97 case $0 in 98 *[\\/]* ) as_myself=$0 ;; 99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 100 for as_dir in $PATH 111 101 do … … 114 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 105 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 106 IFS=$as_save_IFS 107 108 ;; 109 esac 110 # We did not find ourselves, most probably we were run as `sh COMMAND' 111 # in which case we are not to be found in the path. 112 if test "x$as_myself" = x; then 113 as_myself=$0 114 fi 115 if test ! -f "$as_myself"; then 116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 117 { (exit 1); exit 1; } 118 fi 119 120 # Work around bugs in pre-3.0 UWIN ksh. 121 for as_var in ENV MAIL MAILPATH 122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 123 done 124 PS1='$ ' 125 PS2='> ' 126 PS4='+ ' 127 128 # NLS nuisances. 129 LC_ALL=C 130 export LC_ALL 131 LANGUAGE=C 132 export LANGUAGE 133 134 # Required to use basename. 135 if expr a : '\(a\)' >/dev/null 2>&1 && 136 test "X`expr 00001 : '.*\(...\)'`" = X001; then 137 as_expr=expr 138 else 139 as_expr=false 140 fi 141 142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 143 as_basename=basename 144 else 145 as_basename=false 146 fi 147 148 149 # Name of the executable. 150 as_me=`$as_basename -- "$0" || 151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 152 X"$0" : 'X\(//\)$' \| \ 153 X"$0" : 'X\(/\)' \| . 2>/dev/null || 154 $as_echo X/"$0" | 155 sed '/^.*\/\([^/][^/]*\)\/*$/{ 156 s//\1/ 157 q 158 } 159 /^X\/\(\/\/\)$/{ 160 s//\1/ 161 q 162 } 163 /^X\/\(\/\).*/{ 164 s//\1/ 165 q 166 } 167 s/.*/./; q'` 168 169 # CDPATH. 170 $as_unset CDPATH 171 172 173 if test "x$CONFIG_SHELL" = x; then 174 if (eval ":") 2>/dev/null; then 175 as_have_required=yes 176 else 177 as_have_required=no 178 fi 179 180 if test $as_have_required = yes && (eval ": 181 (as_func_return () { 182 (exit \$1) 183 } 184 as_func_success () { 185 as_func_return 0 186 } 187 as_func_failure () { 188 as_func_return 1 189 } 190 as_func_ret_success () { 191 return 0 192 } 193 as_func_ret_failure () { 194 return 1 195 } 196 197 exitcode=0 198 if as_func_success; then 199 : 200 else 201 exitcode=1 202 echo as_func_success failed. 203 fi 204 205 if as_func_failure; then 206 exitcode=1 207 echo as_func_failure succeeded. 208 fi 209 210 if as_func_ret_success; then 211 : 212 else 213 exitcode=1 214 echo as_func_ret_success failed. 215 fi 216 217 if as_func_ret_failure; then 218 exitcode=1 219 echo as_func_ret_failure succeeded. 220 fi 221 222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 223 : 224 else 225 exitcode=1 226 echo positional parameters were not saved. 227 fi 228 229 test \$exitcode = 0) || { (exit 1); exit 1; } 230 231 ( 232 as_lineno_1=\$LINENO 233 as_lineno_2=\$LINENO 234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 236 ") 2> /dev/null; then 237 : 238 else 239 as_candidate_shells= 130 240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 133 243 IFS=$as_save_IFS 134 244 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 245 case $as_dir in 137 246 /*) 138 if ("$as_dir/$as_base" -c ' 247 for as_base in sh bash ksh sh5; do 248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 249 done;; 250 esac 251 done 252 IFS=$as_save_IFS 253 254 255 for as_shell in $as_candidate_shells $SHELL; do 256 # Try only shells that exist, to save several forks. 257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 258 { ("$as_shell") 2> /dev/null <<\_ASEOF 259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 260 emulate sh 261 NULLCMD=: 262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 263 # is contrary to our usage. Disable this feature. 264 alias -g '${1+"$@"}'='"$@"' 265 setopt NO_GLOB_SUBST 266 else 267 case `(set -o) 2>/dev/null` in 268 *posix*) set -o posix ;; 269 esac 270 271 fi 272 273 274 : 275 _ASEOF 276 }; then 277 CONFIG_SHELL=$as_shell 278 as_have_required=yes 279 if { "$as_shell" 2> /dev/null <<\_ASEOF 280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 281 emulate sh 282 NULLCMD=: 283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 284 # is contrary to our usage. Disable this feature. 285 alias -g '${1+"$@"}'='"$@"' 286 setopt NO_GLOB_SUBST 287 else 288 case `(set -o) 2>/dev/null` in 289 *posix*) set -o posix ;; 290 esac 291 292 fi 293 294 295 : 296 (as_func_return () { 297 (exit $1) 298 } 299 as_func_success () { 300 as_func_return 0 301 } 302 as_func_failure () { 303 as_func_return 1 304 } 305 as_func_ret_success () { 306 return 0 307 } 308 as_func_ret_failure () { 309 return 1 310 } 311 312 exitcode=0 313 if as_func_success; then 314 : 315 else 316 exitcode=1 317 echo as_func_success failed. 318 fi 319 320 if as_func_failure; then 321 exitcode=1 322 echo as_func_failure succeeded. 323 fi 324 325 if as_func_ret_success; then 326 : 327 else 328 exitcode=1 329 echo as_func_ret_success failed. 330 fi 331 332 if as_func_ret_failure; then 333 exitcode=1 334 echo as_func_ret_failure succeeded. 335 fi 336 337 if ( set x; as_func_ret_success y && test x = "$1" ); then 338 : 339 else 340 exitcode=1 341 echo positional parameters were not saved. 342 fi 343 344 test $exitcode = 0) || { (exit 1); exit 1; } 345 346 ( 139 347 as_lineno_1=$LINENO 140 348 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`142 349 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 351 352 _ASEOF 353 }; then 354 break 355 fi 356 357 fi 358 359 done 360 361 if test "x$CONFIG_SHELL" != x; then 362 for as_var in BASH_ENV ENV 363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 364 done 365 export CONFIG_SHELL 366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 367 fi 368 369 370 if test $as_have_required = no; then 371 echo This script requires a shell more modern than all the 372 echo shells that I found on your system. Please install a 373 echo modern shell, or manually run the script under such a 374 echo shell if you do have one. 375 { (exit 1); exit 1; } 376 fi 377 378 379 fi 380 381 fi 382 383 384 385 (eval "as_func_return () { 386 (exit \$1) 387 } 388 as_func_success () { 389 as_func_return 0 390 } 391 as_func_failure () { 392 as_func_return 1 393 } 394 as_func_ret_success () { 395 return 0 396 } 397 as_func_ret_failure () { 398 return 1 399 } 400 401 exitcode=0 402 if as_func_success; then 403 : 404 else 405 exitcode=1 406 echo as_func_success failed. 407 fi 408 409 if as_func_failure; then 410 exitcode=1 411 echo as_func_failure succeeded. 412 fi 413 414 if as_func_ret_success; then 415 : 416 else 417 exitcode=1 418 echo as_func_ret_success failed. 419 fi 420 421 if as_func_ret_failure; then 422 exitcode=1 423 echo as_func_ret_failure succeeded. 424 fi 425 426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 427 : 428 else 429 exitcode=1 430 echo positional parameters were not saved. 431 fi 432 433 test \$exitcode = 0") || { 434 echo No shell found that supports shell functions. 435 echo Please tell [email protected] about your system, 436 echo including any error possibly output before this message. 437 echo This can help us improve future autoconf versions. 438 echo Configuration will now proceed without shell functions. 439 } 440 441 442 443 as_lineno_1=$LINENO 444 as_lineno_2=$LINENO 445 test "x$as_lineno_1" != "x$as_lineno_2" && 446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 155 447 156 448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 449 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 450 # line-number line after each line using $LINENO; the second 'sed' 451 # does the real work. The second script uses 'N' to pair each 452 # line-number line with the line containing $LINENO, and appends 453 # trailing '-' during substitution so that $LINENO is not a special 454 # case at line end. 162 455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 456 # scripts with optimization help from Paolo Bonzini. Blame Lee 457 # E. McMahon (1931-1989) for sed's syntax. :-) 458 sed -n ' 459 p 460 /[$]LINENO/= 461 ' <$as_myself | 165 462 sed ' 463 s/[$]LINENO.*/&-/ 464 t lineno 465 b 466 :lineno 166 467 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 468 :loop 469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 170 470 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 471 s/-\n.*// 173 472 ' >$as_me.lineno && 174 chmod +x $as_me.lineno||175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2473 chmod +x "$as_me.lineno" || 474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 475 { (exit 1); exit 1; }; } 177 476 178 477 # Don't try to exec as it changes $[0], causing all sort of problems 179 478 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensi ble to this).181 . ./$as_me.lineno479 # original and so on. Autoconf is especially sensitive to this). 480 . "./$as_me.lineno" 182 481 # Exit status is that of the last command. 183 482 exit … … 185 484 186 485 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 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';; 192 501 esac 193 194 if expr a : '\(a\)' >/dev/null 2>&1; then502 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. … … 231 570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 232 571 233 234 # IFS235 # 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 CDPATH242 572 243 573 … … 401 731 402 732 733 exec 7<&0 </dev/null 6>&1 734 403 735 # Name of the host. 404 736 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, … … 406 738 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 407 739 408 exec 6>&1409 410 740 # 411 741 # Initializations. 412 742 # 413 743 ac_default_prefix=/usr/local 744 ac_clean_files= 414 745 ac_config_libobj_dir=. 746 LIBOBJS= 415 747 cross_compiling=no 416 748 subdirs= … … 418 750 MAKEFLAGS= 419 751 SHELL=${CONFIG_SHELL-/bin/sh} 420 421 # Maximum number of lines to put in a shell here document.422 # This variable seems obsolete. It should probably be removed, and423 # only ac_max_sed_lines should be used.424 : ${ac_max_here_lines=38}425 752 426 753 # Identity of this package. … … 435 762 ac_includes_default="\ 436 763 #include <stdio.h> 437 #if HAVE_SYS_TYPES_H764 #ifdef HAVE_SYS_TYPES_H 438 765 # include <sys/types.h> 439 766 #endif 440 #if HAVE_SYS_STAT_H767 #ifdef HAVE_SYS_STAT_H 441 768 # include <sys/stat.h> 442 769 #endif 443 #if STDC_HEADERS770 #ifdef STDC_HEADERS 444 771 # include <stdlib.h> 445 772 # include <stddef.h> 446 773 #else 447 # if HAVE_STDLIB_H774 # ifdef HAVE_STDLIB_H 448 775 # include <stdlib.h> 449 776 # endif 450 777 #endif 451 #if HAVE_STRING_H452 # if ! STDC_HEADERS &&HAVE_MEMORY_H778 #ifdef HAVE_STRING_H 779 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 453 780 # include <memory.h> 454 781 # endif 455 782 # include <string.h> 456 783 #endif 457 #if HAVE_STRINGS_H784 #ifdef HAVE_STRINGS_H 458 785 # include <strings.h> 459 786 #endif 460 #if HAVE_INTTYPES_H787 #ifdef HAVE_INTTYPES_H 461 788 # include <inttypes.h> 462 #else463 # if HAVE_STDINT_H464 # include <stdint.h>465 # endif466 789 #endif 467 #if HAVE_UNISTD_H 790 #ifdef HAVE_STDINT_H 791 # include <stdint.h> 792 #endif 793 #ifdef HAVE_UNISTD_H 468 794 # include <unistd.h> 469 795 #endif" 470 796 471 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP EGREP LIBTOOL COMPAT32BITFLAGS LIBOBJS LTLIBOBJS' 797 ac_subst_vars='LTLIBOBJS 798 LIBOBJS 799 ARCH_DEP_FLAGS 800 LIBTOOL 801 EGREP 802 GREP 803 STRIP 804 RANLIB 805 ECHO 806 LN_S 807 INSTALL_DATA 808 INSTALL_SCRIPT 809 INSTALL_PROGRAM 810 CPP 811 OBJEXT 812 EXEEXT 813 ac_ct_CC 814 CPPFLAGS 815 LDFLAGS 816 CFLAGS 817 CC 818 target_os 819 target_vendor 820 target_cpu 821 target 822 host_os 823 host_vendor 824 host_cpu 825 host 826 build_os 827 build_vendor 828 build_cpu 829 build 830 target_alias 831 host_alias 832 build_alias 833 LIBS 834 ECHO_T 835 ECHO_N 836 ECHO_C 837 DEFS 838 mandir 839 localedir 840 libdir 841 psdir 842 pdfdir 843 dvidir 844 htmldir 845 infodir 846 docdir 847 oldincludedir 848 includedir 849 localstatedir 850 sharedstatedir 851 sysconfdir 852 datadir 853 datarootdir 854 libexecdir 855 sbindir 856 bindir 857 program_transform_name 858 prefix 859 exec_prefix 860 PACKAGE_BUGREPORT 861 PACKAGE_STRING 862 PACKAGE_VERSION 863 PACKAGE_TARNAME 864 PACKAGE_NAME 865 PATH_SEPARATOR 866 SHELL' 472 867 ac_subst_files='' 868 ac_user_opts=' 869 enable_option_checking 870 enable_shared 871 enable_static 872 enable_fast_install 873 with_gnu_ld 874 enable_libtool_lock 875 with_pic 876 ' 877 ac_precious_vars='build_alias 878 host_alias 879 target_alias 880 CC 881 CFLAGS 882 LDFLAGS 883 LIBS 884 CPPFLAGS 885 CPP' 886 473 887 474 888 # Initialize some variables set by options. 475 889 ac_init_help= 476 890 ac_init_version=false 891 ac_unrecognized_opts= 892 ac_unrecognized_sep= 477 893 # The variables have the same names as the options, with 478 894 # dashes changed to underlines. … … 497 913 # by default will actually change. 498 914 # Use braces instead of parens because sh, perl, etc. also accept them. 915 # (The list follows the same order as the GNU Coding Standards.) 499 916 bindir='${exec_prefix}/bin' 500 917 sbindir='${exec_prefix}/sbin' 501 918 libexecdir='${exec_prefix}/libexec' 502 datadir='${prefix}/share' 919 datarootdir='${prefix}/share' 920 datadir='${datarootdir}' 503 921 sysconfdir='${prefix}/etc' 504 922 sharedstatedir='${prefix}/com' 505 923 localstatedir='${prefix}/var' 506 libdir='${exec_prefix}/lib'507 924 includedir='${prefix}/include' 508 925 oldincludedir='/usr/include' 509 infodir='${prefix}/info' 510 mandir='${prefix}/man' 926 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 927 infodir='${datarootdir}/info' 928 htmldir='${docdir}' 929 dvidir='${docdir}' 930 pdfdir='${docdir}' 931 psdir='${docdir}' 932 libdir='${exec_prefix}/lib' 933 localedir='${datarootdir}/locale' 934 mandir='${datarootdir}/man' 511 935 512 936 ac_prev= 937 ac_dashdash= 513 938 for ac_option 514 939 do 515 940 # If the previous option needs an argument, assign it. 516 941 if test -n "$ac_prev"; then 517 eval "$ac_prev=\$ac_option"942 eval $ac_prev=\$ac_option 518 943 ac_prev= 519 944 continue 520 945 fi 521 946 522 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 947 case $ac_option in 948 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 949 *) ac_optarg=yes ;; 950 esac 523 951 524 952 # Accept the important Cygnus configure options, so we can diagnose typos. 525 953 526 case $ac_option in 954 case $ac_dashdash$ac_option in 955 --) 956 ac_dashdash=yes ;; 527 957 528 958 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 546 976 cache_file=config.cache ;; 547 977 548 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)978 -datadir | --datadir | --datadi | --datad) 549 979 ac_prev=datadir ;; 550 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 551 | --da=*) 980 -datadir=* | --datadir=* | --datadi=* | --datad=*) 552 981 datadir=$ac_optarg ;; 553 982 983 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 984 | --dataroo | --dataro | --datar) 985 ac_prev=datarootdir ;; 986 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 987 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 988 datarootdir=$ac_optarg ;; 989 554 990 -disable-* | --disable-*) 555 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`991 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 556 992 # Reject names that are not valid shell variable names. 557 expr "x$ac_ feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 994 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 559 995 { (exit 1); exit 1; }; } 560 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 561 eval "enable_$ac_feature=no" ;; 996 ac_useropt_orig=$ac_useropt 997 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 998 case $ac_user_opts in 999 *" 1000 "enable_$ac_useropt" 1001 "*) ;; 1002 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1003 ac_unrecognized_sep=', ';; 1004 esac 1005 eval enable_$ac_useropt=no ;; 1006 1007 -docdir | --docdir | --docdi | --doc | --do) 1008 ac_prev=docdir ;; 1009 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1010 docdir=$ac_optarg ;; 1011 1012 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1013 ac_prev=dvidir ;; 1014 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1015 dvidir=$ac_optarg ;; 562 1016 563 1017 -enable-* | --enable-*) 564 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`1018 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 565 1019 # Reject names that are not valid shell variable names. 566 expr "x$ac_ feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&567 { echo "$as_me: error: invalid feature name: $ac_feature" >&21020 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1021 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 568 1022 { (exit 1); exit 1; }; } 569 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 570 case $ac_option in 571 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 572 *) ac_optarg=yes ;; 1023 ac_useropt_orig=$ac_useropt 1024 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1025 case $ac_user_opts in 1026 *" 1027 "enable_$ac_useropt" 1028 "*) ;; 1029 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1030 ac_unrecognized_sep=', ';; 573 1031 esac 574 eval "enable_$ac_feature='$ac_optarg'";;1032 eval enable_$ac_useropt=\$ac_optarg ;; 575 1033 576 1034 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 599 1057 host_alias=$ac_optarg ;; 600 1058 1059 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1060 ac_prev=htmldir ;; 1061 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1062 | --ht=*) 1063 htmldir=$ac_optarg ;; 1064 601 1065 -includedir | --includedir | --includedi | --included | --include \ 602 1066 | --includ | --inclu | --incl | --inc) … … 623 1087 libexecdir=$ac_optarg ;; 624 1088 1089 -localedir | --localedir | --localedi | --localed | --locale) 1090 ac_prev=localedir ;; 1091 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1092 localedir=$ac_optarg ;; 1093 625 1094 -localstatedir | --localstatedir | --localstatedi | --localstated \ 626 | --localstate | --localstat | --localsta | --localst \ 627 | --locals | --local | --loca | --loc | --lo) 1095 | --localstate | --localstat | --localsta | --localst | --locals) 628 1096 ac_prev=localstatedir ;; 629 1097 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 630 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 631 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 1098 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 632 1099 localstatedir=$ac_optarg ;; 633 1100 … … 694 1161 program_transform_name=$ac_optarg ;; 695 1162 1163 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1164 ac_prev=pdfdir ;; 1165 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1166 pdfdir=$ac_optarg ;; 1167 1168 -psdir | --psdir | --psdi | --psd | --ps) 1169 ac_prev=psdir ;; 1170 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1171 psdir=$ac_optarg ;; 1172 696 1173 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 697 1174 | -silent | --silent | --silen | --sile | --sil) … … 744 1221 745 1222 -with-* | --with-*) 746 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1223 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 747 1224 # Reject names that are not valid shell variable names. 748 expr "x$ac_ package" : ".*[^-_$as_cr_alnum]" >/dev/null &&749 { echo "$as_me: error: invalid package name: $ac_package" >&21225 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1226 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 750 1227 { (exit 1); exit 1; }; } 751 ac_package=`echo $ac_package| sed 's/-/_/g'` 752 case $ac_option in 753 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 754 *) ac_optarg=yes ;; 1228 ac_useropt_orig=$ac_useropt 1229 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1230 case $ac_user_opts in 1231 *" 1232 "with_$ac_useropt" 1233 "*) ;; 1234 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1235 ac_unrecognized_sep=', ';; 755 1236 esac 756 eval "with_$ac_package='$ac_optarg'";;1237 eval with_$ac_useropt=\$ac_optarg ;; 757 1238 758 1239 -without-* | --without-*) 759 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1240 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 760 1241 # Reject names that are not valid shell variable names. 761 expr "x$ac_ package" : ".*[^-_$as_cr_alnum]" >/dev/null &&762 { echo "$as_me: error: invalid package name: $ac_package" >&21242 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1243 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 763 1244 { (exit 1); exit 1; }; } 764 ac_package=`echo $ac_package | sed 's/-/_/g'` 765 eval "with_$ac_package=no" ;; 1245 ac_useropt_orig=$ac_useropt 1246 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1247 case $ac_user_opts in 1248 *" 1249 "with_$ac_useropt" 1250 "*) ;; 1251 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1252 ac_unrecognized_sep=', ';; 1253 esac 1254 eval with_$ac_useropt=no ;; 766 1255 767 1256 --x) … … 783 1272 x_libraries=$ac_optarg ;; 784 1273 785 -*) { echo "$as_me: error: unrecognized option: $ac_option1274 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 786 1275 Try \`$0 --help' for more information." >&2 787 1276 { (exit 1); exit 1; }; } … … 792 1281 # Reject names that are not valid shell variable names. 793 1282 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 794 { echo "$as_me: error: invalid variable name: $ac_envvar" >&21283 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 795 1284 { (exit 1); exit 1; }; } 796 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 797 eval "$ac_envvar='$ac_optarg'" 1285 eval $ac_envvar=\$ac_optarg 798 1286 export $ac_envvar ;; 799 1287 800 1288 *) 801 1289 # FIXME: should be removed in autoconf 3.0. 802 echo "$as_me: WARNING: you should use --build, --host, --target" >&21290 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 803 1291 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 804 echo "$as_me: WARNING: invalid host type: $ac_option" >&21292 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 805 1293 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 806 1294 ;; … … 811 1299 if test -n "$ac_prev"; then 812 1300 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 813 { echo "$as_me: error: missing argument to $ac_option" >&21301 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 814 1302 { (exit 1); exit 1; }; } 815 1303 fi 816 1304 817 # Be sure to have absolute paths. 818 for ac_var in exec_prefix prefix 1305 if test -n "$ac_unrecognized_opts"; then 1306 case $enable_option_checking in 1307 no) ;; 1308 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1309 { (exit 1); exit 1; }; } ;; 1310 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1311 esac 1312 fi 1313 1314 # Check all directory arguments for consistency. 1315 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1316 datadir sysconfdir sharedstatedir localstatedir includedir \ 1317 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1318 libdir localedir mandir 819 1319 do 820 eval ac_val=$`echo $ac_var` 1320 eval ac_val=\$$ac_var 1321 # Remove trailing slashes. 821 1322 case $ac_val in 822 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;823 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2824 { (exit 1); exit 1; }; };;1323 */ ) 1324 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1325 eval $ac_var=\$ac_val;; 825 1326 esac 826 done 827 828 # Be sure to have absolute paths. 829 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 830 localstatedir libdir includedir oldincludedir infodir mandir 831 do 832 eval ac_val=$`echo $ac_var` 1327 # Be sure to have absolute directory names. 833 1328 case $ac_val in 834 [\\/$]* | ?:[\\/]* ) ;; 835 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 836 { (exit 1); exit 1; }; };; 1329 [\\/$]* | ?:[\\/]* ) continue;; 1330 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 837 1331 esac 1332 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1333 { (exit 1); exit 1; }; } 838 1334 done 839 1335 … … 849 1345 if test "x$build_alias" = x; then 850 1346 cross_compiling=maybe 851 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1347 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 852 1348 If a cross compiler is detected then cross compile mode will be used." >&2 853 1349 elif test "x$build_alias" != "x$host_alias"; then … … 862 1358 863 1359 1360 ac_pwd=`pwd` && test -n "$ac_pwd" && 1361 ac_ls_di=`ls -di .` && 1362 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1363 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1364 { (exit 1); exit 1; }; } 1365 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1366 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1367 { (exit 1); exit 1; }; } 1368 1369 864 1370 # Find the source files, if location was not specified. 865 1371 if test -z "$srcdir"; then 866 1372 ac_srcdir_defaulted=yes 867 # Try the directory containing this script, then its parent. 868 ac_confdir=`(dirname "$0") 2>/dev/null || 869 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 870 X"$0" : 'X\(//\)[^/]' \| \ 871 X"$0" : 'X\(//\)$' \| \ 872 X"$0" : 'X\(/\)' \| \ 873 . : '\(.\)' 2>/dev/null || 874 echo X"$0" | 875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 876 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 877 /^X\(\/\/\)$/{ s//\1/; q; } 878 /^X\(\/\).*/{ s//\1/; q; } 879 s/.*/./; q'` 1373 # Try the directory containing this script, then the parent directory. 1374 ac_confdir=`$as_dirname -- "$as_myself" || 1375 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1376 X"$as_myself" : 'X\(//\)[^/]' \| \ 1377 X"$as_myself" : 'X\(//\)$' \| \ 1378 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1379 $as_echo X"$as_myself" | 1380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1381 s//\1/ 1382 q 1383 } 1384 /^X\(\/\/\)[^/].*/{ 1385 s//\1/ 1386 q 1387 } 1388 /^X\(\/\/\)$/{ 1389 s//\1/ 1390 q 1391 } 1392 /^X\(\/\).*/{ 1393 s//\1/ 1394 q 1395 } 1396 s/.*/./; q'` 880 1397 srcdir=$ac_confdir 881 if test ! -r $srcdir/$ac_unique_file; then1398 if test ! -r "$srcdir/$ac_unique_file"; then 882 1399 srcdir=.. 883 1400 fi … … 885 1402 ac_srcdir_defaulted=no 886 1403 fi 887 if test ! -r $srcdir/$ac_unique_file; then888 if test "$ac_srcdir_defaulted" = yes; then889 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&21404 if test ! -r "$srcdir/$ac_unique_file"; then 1405 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1406 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 890 1407 { (exit 1); exit 1; }; } 891 else 892 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1408 fi 1409 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1410 ac_abs_confdir=`( 1411 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 893 1412 { (exit 1); exit 1; }; } 894 fi 895 fi 896 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 897 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 898 { (exit 1); exit 1; }; } 899 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 900 ac_env_build_alias_set=${build_alias+set} 901 ac_env_build_alias_value=$build_alias 902 ac_cv_env_build_alias_set=${build_alias+set} 903 ac_cv_env_build_alias_value=$build_alias 904 ac_env_host_alias_set=${host_alias+set} 905 ac_env_host_alias_value=$host_alias 906 ac_cv_env_host_alias_set=${host_alias+set} 907 ac_cv_env_host_alias_value=$host_alias 908 ac_env_target_alias_set=${target_alias+set} 909 ac_env_target_alias_value=$target_alias 910 ac_cv_env_target_alias_set=${target_alias+set} 911 ac_cv_env_target_alias_value=$target_alias 912 ac_env_CC_set=${CC+set} 913 ac_env_CC_value=$CC 914 ac_cv_env_CC_set=${CC+set} 915 ac_cv_env_CC_value=$CC 916 ac_env_CFLAGS_set=${CFLAGS+set} 917 ac_env_CFLAGS_value=$CFLAGS 918 ac_cv_env_CFLAGS_set=${CFLAGS+set} 919 ac_cv_env_CFLAGS_value=$CFLAGS 920 ac_env_LDFLAGS_set=${LDFLAGS+set} 921 ac_env_LDFLAGS_value=$LDFLAGS 922 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 923 ac_cv_env_LDFLAGS_value=$LDFLAGS 924 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 925 ac_env_CPPFLAGS_value=$CPPFLAGS 926 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 927 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 928 ac_env_CPP_set=${CPP+set} 929 ac_env_CPP_value=$CPP 930 ac_cv_env_CPP_set=${CPP+set} 931 ac_cv_env_CPP_value=$CPP 1413 pwd)` 1414 # When building in place, set srcdir=. 1415 if test "$ac_abs_confdir" = "$ac_pwd"; then 1416 srcdir=. 1417 fi 1418 # Remove unnecessary trailing slashes from srcdir. 1419 # Double slashes in file names in object file debugging info 1420 # mess up M-x gdb in Emacs. 1421 case $srcdir in 1422 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1423 esac 1424 for ac_var in $ac_precious_vars; do 1425 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1426 eval ac_env_${ac_var}_value=\$${ac_var} 1427 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1428 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1429 done 932 1430 933 1431 # … … 958 1456 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 959 1457 960 _ACEOF961 962 cat <<_ACEOF963 1458 Installation directories: 964 1459 --prefix=PREFIX install architecture-independent files in PREFIX 965 1460 [$ac_default_prefix] 966 1461 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 967 1462 [PREFIX] 968 1463 969 1464 By default, \`make install' will install all the files in … … 975 1470 976 1471 Fine tuning of the installation directories: 977 --bindir=DIR user executables [EPREFIX/bin] 978 --sbindir=DIR system admin executables [EPREFIX/sbin] 979 --libexecdir=DIR program executables [EPREFIX/libexec] 980 --datadir=DIR read-only architecture-independent data [PREFIX/share] 981 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 982 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 983 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 984 --libdir=DIR object code libraries [EPREFIX/lib] 985 --includedir=DIR C header files [PREFIX/include] 986 --oldincludedir=DIR C header files for non-gcc [/usr/include] 987 --infodir=DIR info documentation [PREFIX/info] 988 --mandir=DIR man documentation [PREFIX/man] 1472 --bindir=DIR user executables [EPREFIX/bin] 1473 --sbindir=DIR system admin executables [EPREFIX/sbin] 1474 --libexecdir=DIR program executables [EPREFIX/libexec] 1475 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1476 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1477 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1478 --libdir=DIR object code libraries [EPREFIX/lib] 1479 --includedir=DIR C header files [PREFIX/include] 1480 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1481 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1482 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1483 --infodir=DIR info documentation [DATAROOTDIR/info] 1484 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1485 --mandir=DIR man documentation [DATAROOTDIR/man] 1486 --docdir=DIR documentation root [DATAROOTDIR/doc/gdbm] 1487 --htmldir=DIR html documentation [DOCDIR] 1488 --dvidir=DIR dvi documentation [DOCDIR] 1489 --pdfdir=DIR pdf documentation [DOCDIR] 1490 --psdir=DIR ps documentation [DOCDIR] 989 1491 _ACEOF 990 1492 … … 1005 1507 1006 1508 Optional Features: 1509 --disable-option-checking ignore unrecognized --enable/--with options 1007 1510 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1008 1511 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1023 1526 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1024 1527 nonstandard directory <lib dir> 1025 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 1026 headers in a nonstandard directory <include dir> 1528 LIBS libraries to pass to the linker, e.g. -l<library> 1529 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1530 you have headers in a nonstandard directory <include dir> 1027 1531 CPP C preprocessor 1028 1532 … … 1031 1535 1032 1536 _ACEOF 1537 ac_status=$? 1033 1538 fi 1034 1539 1035 1540 if test "$ac_init_help" = "recursive"; then 1036 1541 # If there are subdirs, report their specific --help. 1037 ac_popdir=`pwd`1038 1542 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1039 test -d $ac_dir || continue 1543 test -d "$ac_dir" || 1544 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1545 continue 1040 1546 ac_builddir=. 1041 1547 1042 if test "$ac_dir" != .; then 1043 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1044 # A "../" for each directory in $ac_dir_suffix. 1045 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 1046 else 1047 ac_dir_suffix= ac_top_builddir= 1048 fi 1548 case "$ac_dir" in 1549 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1550 *) 1551 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1552 # A ".." for each directory in $ac_dir_suffix. 1553 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1554 case $ac_top_builddir_sub in 1555 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1556 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1557 esac ;; 1558 esac 1559 ac_abs_top_builddir=$ac_pwd 1560 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1561 # for backward compatibility: 1562 ac_top_builddir=$ac_top_build_prefix 1049 1563 1050 1564 case $srcdir in 1051 .) # No --srcdir option.We are building in place.1565 .) # We are building in place. 1052 1566 ac_srcdir=. 1053 if test -z "$ac_top_builddir"; then 1054 ac_top_srcdir=. 1567 ac_top_srcdir=$ac_top_builddir_sub 1568 ac_abs_top_srcdir=$ac_pwd ;; 1569 [\\/]* | ?:[\\/]* ) # Absolute name. 1570 ac_srcdir=$srcdir$ac_dir_suffix; 1571 ac_top_srcdir=$srcdir 1572 ac_abs_top_srcdir=$srcdir ;; 1573 *) # Relative name. 1574 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1575 ac_top_srcdir=$ac_top_build_prefix$srcdir 1576 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1577 esac 1578 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1579 1580 cd "$ac_dir" || { ac_status=$?; continue; } 1581 # Check for guested configure. 1582 if test -f "$ac_srcdir/configure.gnu"; then 1583 echo && 1584 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1585 elif test -f "$ac_srcdir/configure"; then 1586 echo && 1587 $SHELL "$ac_srcdir/configure" --help=recursive 1055 1588 else 1056 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 1057 fi ;; 1058 [\\/]* | ?:[\\/]* ) # Absolute path. 1059 ac_srcdir=$srcdir$ac_dir_suffix; 1060 ac_top_srcdir=$srcdir ;; 1061 *) # Relative path. 1062 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 1063 ac_top_srcdir=$ac_top_builddir$srcdir ;; 1064 esac 1065 1066 # Do not use `cd foo && pwd` to compute absolute paths, because 1067 # the directories may not exist. 1068 case `pwd` in 1069 .) ac_abs_builddir="$ac_dir";; 1070 *) 1071 case "$ac_dir" in 1072 .) ac_abs_builddir=`pwd`;; 1073 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 1074 *) ac_abs_builddir=`pwd`/"$ac_dir";; 1075 esac;; 1076 esac 1077 case $ac_abs_builddir in 1078 .) ac_abs_top_builddir=${ac_top_builddir}.;; 1079 *) 1080 case ${ac_top_builddir}. in 1081 .) ac_abs_top_builddir=$ac_abs_builddir;; 1082 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 1083 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 1084 esac;; 1085 esac 1086 case $ac_abs_builddir in 1087 .) ac_abs_srcdir=$ac_srcdir;; 1088 *) 1089 case $ac_srcdir in 1090 .) ac_abs_srcdir=$ac_abs_builddir;; 1091 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 1092 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 1093 esac;; 1094 esac 1095 case $ac_abs_builddir in 1096 .) ac_abs_top_srcdir=$ac_top_srcdir;; 1097 *) 1098 case $ac_top_srcdir in 1099 .) ac_abs_top_srcdir=$ac_abs_builddir;; 1100 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 1101 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 1102 esac;; 1103 esac 1104 1105 cd $ac_dir 1106 # Check for guested configure; otherwise get Cygnus style configure. 1107 if test -f $ac_srcdir/configure.gnu; then 1108 echo 1109 $SHELL $ac_srcdir/configure.gnu --help=recursive 1110 elif test -f $ac_srcdir/configure; then 1111 echo 1112 $SHELL $ac_srcdir/configure --help=recursive 1113 elif test -f $ac_srcdir/configure.ac || 1114 test -f $ac_srcdir/configure.in; then 1115 echo 1116 $ac_configure --help 1117 else 1118 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1119 fi 1120 cd $ac_popdir 1589 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1590 fi || ac_status=$? 1591 cd "$ac_pwd" || { ac_status=$?; break; } 1121 1592 done 1122 1593 fi 1123 1594 1124 test -n "$ac_init_help" && exit 01595 test -n "$ac_init_help" && exit $ac_status 1125 1596 if $ac_init_version; then 1126 1597 cat <<\_ACEOF 1127 1598 gdbm configure 1.8.3 1128 generated by GNU Autoconf 2.59 1129 1130 Copyright (C) 2003 Free Software Foundation, Inc. 1599 generated by GNU Autoconf 2.63 1600 1601 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1602 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1131 1603 This configure script is free software; the Free Software Foundation 1132 1604 gives unlimited permission to copy, distribute and modify it. 1133 1605 _ACEOF 1134 exit 0 1135 fi 1136 exec 5>config.log 1137 cat >&5 <<_ACEOF 1606 exit 1607 fi 1608 cat >config.log <<_ACEOF 1138 1609 This file contains any messages produced by compilers while 1139 1610 running configure, to aid debugging if configure makes a mistake. 1140 1611 1141 1612 It was created by gdbm $as_me 1.8.3, which was 1142 generated by GNU Autoconf 2. 59. Invocation command line was1613 generated by GNU Autoconf 2.63. Invocation command line was 1143 1614 1144 1615 $ $0 $@ 1145 1616 1146 1617 _ACEOF 1618 exec 5>>config.log 1147 1619 { 1148 1620 cat <<_ASUNAME … … 1163 1635 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1164 1636 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1165 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1637 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1166 1638 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1167 1639 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1175 1647 IFS=$as_save_IFS 1176 1648 test -z "$as_dir" && as_dir=. 1177 echo "PATH: $as_dir"1649 $as_echo "PATH: $as_dir" 1178 1650 done 1651 IFS=$as_save_IFS 1179 1652 1180 1653 } >&5 … … 1198 1671 ac_configure_args0= 1199 1672 ac_configure_args1= 1200 ac_sep=1201 1673 ac_must_keep_next=false 1202 1674 for ac_pass in 1 2 … … 1209 1681 | -silent | --silent | --silen | --sile | --sil) 1210 1682 continue ;; 1211 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1212 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1683 *\'*) 1684 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1213 1685 esac 1214 1686 case $ac_pass in … … 1231 1703 esac 1232 1704 fi 1233 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1234 # Get rid of the leading space. 1235 ac_sep=" " 1705 ac_configure_args="$ac_configure_args '$ac_arg'" 1236 1706 ;; 1237 1707 esac … … 1244 1714 # config.log. We remove comments because anyway the quotes in there 1245 1715 # would cause problems or look ugly. 1246 # WARNING: Be sure not to use single quotes in there, as some shells,1247 # such as our DU 5.0 friend, will then `close' the trap.1716 # WARNING: Use '\'' to represent an apostrophe within the trap. 1717 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1248 1718 trap 'exit_status=$? 1249 1719 # Save into config.log some information that might help in debugging. … … 1258 1728 echo 1259 1729 # The following way of writing the cache mishandles newlines in values, 1260 { 1730 ( 1731 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1732 eval ac_val=\$$ac_var 1733 case $ac_val in #( 1734 *${as_nl}*) 1735 case $ac_var in #( 1736 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1737 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1738 esac 1739 case $ac_var in #( 1740 _ | IFS | as_nl) ;; #( 1741 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1742 *) $as_unset $ac_var ;; 1743 esac ;; 1744 esac 1745 done 1261 1746 (set) 2>&1 | 1262 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1263 * ac_space=\ *)1747 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1748 *${as_nl}ac_space=\ *) 1264 1749 sed -n \ 1265 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1266 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1750 "s/'\''/'\''\\\\'\'''\''/g; 1751 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1752 ;; #( 1753 *) 1754 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1267 1755 ;; 1268 *) 1269 sed -n \ 1270 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1271 ;; 1272 esac; 1273 } 1756 esac | 1757 sort 1758 ) 1274 1759 echo 1275 1760 … … 1282 1767 for ac_var in $ac_subst_vars 1283 1768 do 1284 eval ac_val=$`echo $ac_var` 1285 echo "$ac_var='"'"'$ac_val'"'"'" 1769 eval ac_val=\$$ac_var 1770 case $ac_val in 1771 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1772 esac 1773 $as_echo "$ac_var='\''$ac_val'\''" 1286 1774 done | sort 1287 1775 echo … … 1289 1777 if test -n "$ac_subst_files"; then 1290 1778 cat <<\_ASBOX 1291 ## ------------- ##1292 ## Output files. ##1293 ## ------------- ##1779 ## ------------------- ## 1780 ## File substitutions. ## 1781 ## ------------------- ## 1294 1782 _ASBOX 1295 1783 echo 1296 1784 for ac_var in $ac_subst_files 1297 1785 do 1298 eval ac_val=$`echo $ac_var` 1299 echo "$ac_var='"'"'$ac_val'"'"'" 1786 eval ac_val=\$$ac_var 1787 case $ac_val in 1788 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1789 esac 1790 $as_echo "$ac_var='\''$ac_val'\''" 1300 1791 done | sort 1301 1792 echo … … 1309 1800 _ASBOX 1310 1801 echo 1311 sed "/^$/d" confdefs.h | sort1802 cat confdefs.h 1312 1803 echo 1313 1804 fi 1314 1805 test "$ac_signal" != 0 && 1315 echo "$as_me: caught signal $ac_signal"1316 echo "$as_me: exit $exit_status"1806 $as_echo "$as_me: caught signal $ac_signal" 1807 $as_echo "$as_me: exit $exit_status" 1317 1808 } >&5 1318 rm -f core *.core &&1319 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1809 rm -f core *.core core.conftest.* && 1810 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1320 1811 exit $exit_status 1321 1812 ' 0 1322 1813 for ac_signal in 1 2 13 15; do 1323 1814 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1326 1817 1327 1818 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1328 rm -rf conftest* confdefs.h 1329 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1330 echo >confdefs.h 1819 rm -f -r conftest* confdefs.h 1331 1820 1332 1821 # Predefined preprocessor variables. … … 1358 1847 1359 1848 # Let the site file select an alternate cache file if it wants to. 1360 # Prefer explicitly selected file to automatically selected ones. 1361 if test -z "$CONFIG_SITE"; then 1362 if test "x$prefix" != xNONE; then 1363 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1364 else 1365 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1366 fi 1367 fi 1368 for ac_site_file in $CONFIG_SITE; do 1849 # Prefer an explicitly selected file to automatically selected ones. 1850 ac_site_file1=NONE 1851 ac_site_file2=NONE 1852 if test -n "$CONFIG_SITE"; then 1853 ac_site_file1=$CONFIG_SITE 1854 elif test "x$prefix" != xNONE; then 1855 ac_site_file1=$prefix/share/config.site 1856 ac_site_file2=$prefix/etc/config.site 1857 else 1858 ac_site_file1=$ac_default_prefix/share/config.site 1859 ac_site_file2=$ac_default_prefix/etc/config.site 1860 fi 1861 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1862 do 1863 test "x$ac_site_file" = xNONE && continue 1369 1864 if test -r "$ac_site_file"; then 1370 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&51371 echo "$as_me: loading site script $ac_site_file" >&6;}1865 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1866 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1372 1867 sed 's/^/| /' "$ac_site_file" >&5 1373 1868 . "$ac_site_file" … … 1379 1874 # files actually), so we avoid doing that. 1380 1875 if test -f "$cache_file"; then 1381 { echo "$as_me:$LINENO: loading cache $cache_file" >&51382 echo "$as_me: loading cache $cache_file" >&6;}1876 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1877 $as_echo "$as_me: loading cache $cache_file" >&6;} 1383 1878 case $cache_file in 1384 [\\/]* | ?:[\\/]* ) . $cache_file;;1385 *) . ./$cache_file;;1879 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1880 *) . "./$cache_file";; 1386 1881 esac 1387 1882 fi 1388 1883 else 1389 { echo "$as_me:$LINENO: creating cache $cache_file" >&51390 echo "$as_me: creating cache $cache_file" >&6;}1884 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1885 $as_echo "$as_me: creating cache $cache_file" >&6;} 1391 1886 >$cache_file 1392 1887 fi … … 1395 1890 # value. 1396 1891 ac_cache_corrupted=false 1397 for ac_var in `(set) 2>&1 | 1398 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1892 for ac_var in $ac_precious_vars; do 1399 1893 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1400 1894 eval ac_new_set=\$ac_env_${ac_var}_set 1401 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1402 eval ac_new_val= "\$ac_env_${ac_var}_value"1895 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1896 eval ac_new_val=\$ac_env_${ac_var}_value 1403 1897 case $ac_old_set,$ac_new_set in 1404 1898 set,) 1405 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51406 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1899 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1900 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1407 1901 ac_cache_corrupted=: ;; 1408 1902 ,set) 1409 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51410 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1903 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1904 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1411 1905 ac_cache_corrupted=: ;; 1412 1906 ,);; 1413 1907 *) 1414 1908 if test "x$ac_old_val" != "x$ac_new_val"; then 1415 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1416 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1417 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1418 echo "$as_me: former value: $ac_old_val" >&2;} 1419 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1420 echo "$as_me: current value: $ac_new_val" >&2;} 1421 ac_cache_corrupted=: 1909 # differences in whitespace do not lead to failure. 1910 ac_old_val_w=`echo x $ac_old_val` 1911 ac_new_val_w=`echo x $ac_new_val` 1912 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1913 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1914 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1915 ac_cache_corrupted=: 1916 else 1917 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1918 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1919 eval $ac_var=\$ac_old_val 1920 fi 1921 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1922 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1923 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1924 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1422 1925 fi;; 1423 1926 esac … … 1425 1928 if test "$ac_new_set" = set; then 1426 1929 case $ac_new_val in 1427 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1428 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1930 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1429 1931 *) ac_arg=$ac_var=$ac_new_val ;; 1430 1932 esac … … 1436 1938 done 1437 1939 if $ac_cache_corrupted; then 1438 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1439 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1440 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1441 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1940 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 1941 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1942 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1943 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1944 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1945 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1442 1946 { (exit 1); exit 1; }; } 1443 1947 fi 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1444 1972 1445 1973 ac_ext=c … … 1452 1980 1453 1981 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 ac_config_headers="$ac_config_headers autoconf.h" 1982 ac_config_headers="$ac_config_headers autoconf.h" 1480 1983 1481 1984 1482 1985 ac_aux_dir= 1483 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do1484 if test -f $ac_dir/install-sh; then1986 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1987 if test -f "$ac_dir/install-sh"; then 1485 1988 ac_aux_dir=$ac_dir 1486 1989 ac_install_sh="$ac_aux_dir/install-sh -c" 1487 1990 break 1488 elif test -f $ac_dir/install.sh; then1991 elif test -f "$ac_dir/install.sh"; then 1489 1992 ac_aux_dir=$ac_dir 1490 1993 ac_install_sh="$ac_aux_dir/install.sh -c" 1491 1994 break 1492 elif test -f $ac_dir/shtool; then1995 elif test -f "$ac_dir/shtool"; then 1493 1996 ac_aux_dir=$ac_dir 1494 1997 ac_install_sh="$ac_aux_dir/shtool install -c" … … 1497 2000 done 1498 2001 if test -z "$ac_aux_dir"; then 1499 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&51500 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}2002 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 2003 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1501 2004 { (exit 1); exit 1; }; } 1502 2005 fi 1503 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1504 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1505 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 2006 2007 # These three variables are undocumented and unsupported, 2008 # and are intended to be withdrawn in a future Autoconf release. 2009 # They can cause serious problems if a builder's source tree is in a directory 2010 # whose full name contains unusual characters. 2011 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2012 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2013 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2014 1506 2015 1507 2016 # Make sure we can run config.sub. 1508 $ ac_config_subsun4 >/dev/null 2>&1 ||1509 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&51510 echo "$as_me: error: cannot run $ac_config_sub" >&2;}2017 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2018 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 2019 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1511 2020 { (exit 1); exit 1; }; } 1512 2021 1513 echo "$as_me:$LINENO: checking build system type" >&51514 echo $ECHO_N "checking build system type... $ECHO_C" >&6 2022 { $as_echo "$as_me:$LINENO: checking build system type" >&5 2023 $as_echo_n "checking build system type... " >&6; } 1515 2024 if test "${ac_cv_build+set}" = set; then 1516 echo $ECHO_N "(cached) $ECHO_C" >&61517 else 1518 ac_ cv_build_alias=$build_alias1519 test -z "$ac_cv_build_alias"&&1520 ac_ cv_build_alias=`$ac_config_guess`1521 test -z "$ac_cv_build_alias"&&1522 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&51523 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}2025 $as_echo_n "(cached) " >&6 2026 else 2027 ac_build_alias=$build_alias 2028 test "x$ac_build_alias" = x && 2029 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2030 test "x$ac_build_alias" = x && 2031 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2032 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1524 2033 { (exit 1); exit 1; }; } 1525 ac_cv_build=`$ ac_config_sub $ac_cv_build_alias` ||1526 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&51527 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}2034 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2035 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 2036 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1528 2037 { (exit 1); exit 1; }; } 1529 2038 1530 2039 fi 1531 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1532 echo "${ECHO_T}$ac_cv_build" >&6 2040 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2041 $as_echo "$ac_cv_build" >&6; } 2042 case $ac_cv_build in 2043 *-*-*) ;; 2044 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 2045 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 2046 { (exit 1); exit 1; }; };; 2047 esac 1533 2048 build=$ac_cv_build 1534 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1535 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1536 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1537 1538 1539 echo "$as_me:$LINENO: checking host system type" >&5 1540 echo $ECHO_N "checking host system type... $ECHO_C" >&6 2049 ac_save_IFS=$IFS; IFS='-' 2050 set x $ac_cv_build 2051 shift 2052 build_cpu=$1 2053 build_vendor=$2 2054 shift; shift 2055 # Remember, the first character of IFS is used to create $*, 2056 # except with old shells: 2057 build_os=$* 2058 IFS=$ac_save_IFS 2059 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2060 2061 2062 { $as_echo "$as_me:$LINENO: checking host system type" >&5 2063 $as_echo_n "checking host system type... " >&6; } 1541 2064 if test "${ac_cv_host+set}" = set; then 1542 echo $ECHO_N "(cached) $ECHO_C" >&61543 else 1544 ac_cv_host_alias=$host_alias1545 test -z "$ac_cv_host_alias" && 1546 ac_cv_host_alias=$ac_cv_build_alias 1547 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||1548 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&51549 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}2065 $as_echo_n "(cached) " >&6 2066 else 2067 if test "x$host_alias" = x; then 2068 ac_cv_host=$ac_cv_build 2069 else 2070 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2071 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 2072 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1550 2073 { (exit 1); exit 1; }; } 1551 1552 fi 1553 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1554 echo "${ECHO_T}$ac_cv_host" >&6 2074 fi 2075 2076 fi 2077 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2078 $as_echo "$ac_cv_host" >&6; } 2079 case $ac_cv_host in 2080 *-*-*) ;; 2081 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 2082 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 2083 { (exit 1); exit 1; }; };; 2084 esac 1555 2085 host=$ac_cv_host 1556 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1557 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1558 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1559 1560 1561 echo "$as_me:$LINENO: checking target system type" >&5 1562 echo $ECHO_N "checking target system type... $ECHO_C" >&6 2086 ac_save_IFS=$IFS; IFS='-' 2087 set x $ac_cv_host 2088 shift 2089 host_cpu=$1 2090 host_vendor=$2 2091 shift; shift 2092 # Remember, the first character of IFS is used to create $*, 2093 # except with old shells: 2094 host_os=$* 2095 IFS=$ac_save_IFS 2096 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2097 2098 2099 { $as_echo "$as_me:$LINENO: checking target system type" >&5 2100 $as_echo_n "checking target system type... " >&6; } 1563 2101 if test "${ac_cv_target+set}" = set; then 1564 echo $ECHO_N "(cached) $ECHO_C" >&61565 else 1566 ac_cv_target_alias=$target_alias1567 test "x$ac_cv_target_alias" = "x" && 1568 ac_cv_target_alias=$ac_cv_host_alias 1569 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||1570 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&51571 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}2102 $as_echo_n "(cached) " >&6 2103 else 2104 if test "x$target_alias" = x; then 2105 ac_cv_target=$ac_cv_host 2106 else 2107 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2108 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 2109 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1572 2110 { (exit 1); exit 1; }; } 1573 1574 fi 1575 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1576 echo "${ECHO_T}$ac_cv_target" >&6 2111 fi 2112 2113 fi 2114 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 2115 $as_echo "$ac_cv_target" >&6; } 2116 case $ac_cv_target in 2117 *-*-*) ;; 2118 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 2119 $as_echo "$as_me: error: invalid value of canonical target" >&2;} 2120 { (exit 1); exit 1; }; };; 2121 esac 1577 2122 target=$ac_cv_target 1578 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1579 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1580 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2123 ac_save_IFS=$IFS; IFS='-' 2124 set x $ac_cv_target 2125 shift 2126 target_cpu=$1 2127 target_vendor=$2 2128 shift; shift 2129 # Remember, the first character of IFS is used to create $*, 2130 # except with old shells: 2131 target_os=$* 2132 IFS=$ac_save_IFS 2133 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 1581 2134 1582 2135 … … 1596 2149 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1597 2150 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1598 echo "$as_me:$LINENO: checking for $ac_word" >&51599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2151 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2152 $as_echo_n "checking for $ac_word... " >&6; } 1600 2153 if test "${ac_cv_prog_CC+set}" = set; then 1601 echo $ECHO_N "(cached) $ECHO_C" >&62154 $as_echo_n "(cached) " >&6 1602 2155 else 1603 2156 if test -n "$CC"; then … … 1610 2163 test -z "$as_dir" && as_dir=. 1611 2164 for ac_exec_ext in '' $ac_executable_extensions; do 1612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1613 2166 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52167 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1615 2168 break 2 1616 2169 fi 1617 2170 done 1618 2171 done 2172 IFS=$as_save_IFS 1619 2173 1620 2174 fi … … 1622 2176 CC=$ac_cv_prog_CC 1623 2177 if test -n "$CC"; then 1624 echo "$as_me:$LINENO: result: $CC" >&5 1625 echo "${ECHO_T}$CC" >&6 1626 else 1627 echo "$as_me:$LINENO: result: no" >&5 1628 echo "${ECHO_T}no" >&6 1629 fi 2178 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2179 $as_echo "$CC" >&6; } 2180 else 2181 { $as_echo "$as_me:$LINENO: result: no" >&5 2182 $as_echo "no" >&6; } 2183 fi 2184 1630 2185 1631 2186 fi … … 1634 2189 # Extract the first word of "gcc", so it can be a program name with args. 1635 2190 set dummy gcc; ac_word=$2 1636 echo "$as_me:$LINENO: checking for $ac_word" >&51637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2191 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2192 $as_echo_n "checking for $ac_word... " >&6; } 1638 2193 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1639 echo $ECHO_N "(cached) $ECHO_C" >&62194 $as_echo_n "(cached) " >&6 1640 2195 else 1641 2196 if test -n "$ac_ct_CC"; then … … 1648 2203 test -z "$as_dir" && as_dir=. 1649 2204 for ac_exec_ext in '' $ac_executable_extensions; do 1650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1651 2206 ac_cv_prog_ac_ct_CC="gcc" 1652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52207 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1653 2208 break 2 1654 2209 fi 1655 2210 done 1656 2211 done 2212 IFS=$as_save_IFS 1657 2213 1658 2214 fi … … 1660 2216 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1661 2217 if test -n "$ac_ct_CC"; then 1662 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1663 echo "${ECHO_T}$ac_ct_CC" >&6 1664 else 1665 echo "$as_me:$LINENO: result: no" >&5 1666 echo "${ECHO_T}no" >&6 1667 fi 1668 1669 CC=$ac_ct_CC 2218 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2219 $as_echo "$ac_ct_CC" >&6; } 2220 else 2221 { $as_echo "$as_me:$LINENO: result: no" >&5 2222 $as_echo "no" >&6; } 2223 fi 2224 2225 if test "x$ac_ct_CC" = x; then 2226 CC="" 2227 else 2228 case $cross_compiling:$ac_tool_warned in 2229 yes:) 2230 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2232 ac_tool_warned=yes ;; 2233 esac 2234 CC=$ac_ct_CC 2235 fi 1670 2236 else 1671 2237 CC="$ac_cv_prog_CC" … … 1673 2239 1674 2240 if test -z "$CC"; then 1675 if test -n "$ac_tool_prefix"; then1676 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2241 if test -n "$ac_tool_prefix"; then 2242 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1677 2243 set dummy ${ac_tool_prefix}cc; ac_word=$2 1678 echo "$as_me:$LINENO: checking for $ac_word" >&51679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2244 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2245 $as_echo_n "checking for $ac_word... " >&6; } 1680 2246 if test "${ac_cv_prog_CC+set}" = set; then 1681 echo $ECHO_N "(cached) $ECHO_C" >&62247 $as_echo_n "(cached) " >&6 1682 2248 else 1683 2249 if test -n "$CC"; then … … 1690 2256 test -z "$as_dir" && as_dir=. 1691 2257 for ac_exec_ext in '' $ac_executable_extensions; do 1692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1693 2259 ac_cv_prog_CC="${ac_tool_prefix}cc" 1694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52260 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1695 2261 break 2 1696 2262 fi 1697 2263 done 1698 2264 done 2265 IFS=$as_save_IFS 1699 2266 1700 2267 fi … … 1702 2269 CC=$ac_cv_prog_CC 1703 2270 if test -n "$CC"; then 1704 echo "$as_me:$LINENO: result: $CC" >&5 1705 echo "${ECHO_T}$CC" >&6 1706 else 1707 echo "$as_me:$LINENO: result: no" >&5 1708 echo "${ECHO_T}no" >&6 1709 fi 1710 1711 fi 1712 if test -z "$ac_cv_prog_CC"; then 1713 ac_ct_CC=$CC 1714 # Extract the first word of "cc", so it can be a program name with args. 1715 set dummy cc; ac_word=$2 1716 echo "$as_me:$LINENO: checking for $ac_word" >&5 1717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1718 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1719 echo $ECHO_N "(cached) $ECHO_C" >&6 1720 else 1721 if test -n "$ac_ct_CC"; then 1722 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1723 else 1724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1725 for as_dir in $PATH 1726 do 1727 IFS=$as_save_IFS 1728 test -z "$as_dir" && as_dir=. 1729 for ac_exec_ext in '' $ac_executable_extensions; do 1730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1731 ac_cv_prog_ac_ct_CC="cc" 1732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1733 break 2 2271 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2272 $as_echo "$CC" >&6; } 2273 else 2274 { $as_echo "$as_me:$LINENO: result: no" >&5 2275 $as_echo "no" >&6; } 2276 fi 2277 2278 1734 2279 fi 1735 done1736 done1737 1738 fi1739 fi1740 ac_ct_CC=$ac_cv_prog_ac_ct_CC1741 if test -n "$ac_ct_CC"; then1742 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51743 echo "${ECHO_T}$ac_ct_CC" >&61744 else1745 echo "$as_me:$LINENO: result: no" >&51746 echo "${ECHO_T}no" >&61747 fi1748 1749 CC=$ac_ct_CC1750 else1751 CC="$ac_cv_prog_CC"1752 fi1753 1754 2280 fi 1755 2281 if test -z "$CC"; then 1756 2282 # Extract the first word of "cc", so it can be a program name with args. 1757 2283 set dummy cc; ac_word=$2 1758 echo "$as_me:$LINENO: checking for $ac_word" >&51759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2284 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2285 $as_echo_n "checking for $ac_word... " >&6; } 1760 2286 if test "${ac_cv_prog_CC+set}" = set; then 1761 echo $ECHO_N "(cached) $ECHO_C" >&62287 $as_echo_n "(cached) " >&6 1762 2288 else 1763 2289 if test -n "$CC"; then … … 1771 2297 test -z "$as_dir" && as_dir=. 1772 2298 for ac_exec_ext in '' $ac_executable_extensions; do 1773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1774 2300 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1775 2301 ac_prog_rejected=yes … … 1777 2303 fi 1778 2304 ac_cv_prog_CC="cc" 1779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52305 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1780 2306 break 2 1781 2307 fi 1782 2308 done 1783 2309 done 2310 IFS=$as_save_IFS 1784 2311 1785 2312 if test $ac_prog_rejected = yes; then … … 1799 2326 CC=$ac_cv_prog_CC 1800 2327 if test -n "$CC"; then 1801 echo "$as_me:$LINENO: result: $CC" >&5 1802 echo "${ECHO_T}$CC" >&6 1803 else 1804 echo "$as_me:$LINENO: result: no" >&5 1805 echo "${ECHO_T}no" >&6 1806 fi 2328 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2329 $as_echo "$CC" >&6; } 2330 else 2331 { $as_echo "$as_me:$LINENO: result: no" >&5 2332 $as_echo "no" >&6; } 2333 fi 2334 1807 2335 1808 2336 fi 1809 2337 if test -z "$CC"; then 1810 2338 if test -n "$ac_tool_prefix"; then 1811 for ac_prog in cl 2339 for ac_prog in cl.exe 1812 2340 do 1813 2341 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1814 2342 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1815 echo "$as_me:$LINENO: checking for $ac_word" >&51816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2343 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2344 $as_echo_n "checking for $ac_word... " >&6; } 1817 2345 if test "${ac_cv_prog_CC+set}" = set; then 1818 echo $ECHO_N "(cached) $ECHO_C" >&62346 $as_echo_n "(cached) " >&6 1819 2347 else 1820 2348 if test -n "$CC"; then … … 1827 2355 test -z "$as_dir" && as_dir=. 1828 2356 for ac_exec_ext in '' $ac_executable_extensions; do 1829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1830 2358 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52359 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1832 2360 break 2 1833 2361 fi 1834 2362 done 1835 2363 done 2364 IFS=$as_save_IFS 1836 2365 1837 2366 fi … … 1839 2368 CC=$ac_cv_prog_CC 1840 2369 if test -n "$CC"; then 1841 echo "$as_me:$LINENO: result: $CC" >&5 1842 echo "${ECHO_T}$CC" >&6 1843 else 1844 echo "$as_me:$LINENO: result: no" >&5 1845 echo "${ECHO_T}no" >&6 1846 fi 2370 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2371 $as_echo "$CC" >&6; } 2372 else 2373 { $as_echo "$as_me:$LINENO: result: no" >&5 2374 $as_echo "no" >&6; } 2375 fi 2376 1847 2377 1848 2378 test -n "$CC" && break … … 1851 2381 if test -z "$CC"; then 1852 2382 ac_ct_CC=$CC 1853 for ac_prog in cl 2383 for ac_prog in cl.exe 1854 2384 do 1855 2385 # Extract the first word of "$ac_prog", so it can be a program name with args. 1856 2386 set dummy $ac_prog; ac_word=$2 1857 echo "$as_me:$LINENO: checking for $ac_word" >&51858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2387 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2388 $as_echo_n "checking for $ac_word... " >&6; } 1859 2389 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1860 echo $ECHO_N "(cached) $ECHO_C" >&62390 $as_echo_n "(cached) " >&6 1861 2391 else 1862 2392 if test -n "$ac_ct_CC"; then … … 1869 2399 test -z "$as_dir" && as_dir=. 1870 2400 for ac_exec_ext in '' $ac_executable_extensions; do 1871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1872 2402 ac_cv_prog_ac_ct_CC="$ac_prog" 1873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52403 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1874 2404 break 2 1875 2405 fi 1876 2406 done 1877 2407 done 2408 IFS=$as_save_IFS 1878 2409 1879 2410 fi … … 1881 2412 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1882 2413 if test -n "$ac_ct_CC"; then 1883 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1884 echo "${ECHO_T}$ac_ct_CC" >&6 1885 else 1886 echo "$as_me:$LINENO: result: no" >&5 1887 echo "${ECHO_T}no" >&6 1888 fi 2414 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2415 $as_echo "$ac_ct_CC" >&6; } 2416 else 2417 { $as_echo "$as_me:$LINENO: result: no" >&5 2418 $as_echo "no" >&6; } 2419 fi 2420 1889 2421 1890 2422 test -n "$ac_ct_CC" && break 1891 2423 done 1892 2424 1893 CC=$ac_ct_CC 1894 fi 1895 1896 fi 1897 1898 1899 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2425 if test "x$ac_ct_CC" = x; then 2426 CC="" 2427 else 2428 case $cross_compiling:$ac_tool_warned in 2429 yes:) 2430 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2432 ac_tool_warned=yes ;; 2433 esac 2434 CC=$ac_ct_CC 2435 fi 2436 fi 2437 2438 fi 2439 2440 2441 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2443 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1900 2444 See \`config.log' for more details." >&5 1901 echo "$as_me: error: no acceptable C compiler found in \$PATH2445 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 1902 2446 See \`config.log' for more details." >&2;} 1903 { (exit 1); exit 1; }; } 2447 { (exit 1); exit 1; }; }; } 1904 2448 1905 2449 # Provide some information about the compiler. 1906 echo "$as_me:$LINENO:" \ 1907 "checking for C compiler version" >&5 1908 ac_compiler=`set X $ac_compile; echo $2` 1909 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1910 (eval $ac_compiler --version </dev/null >&5) 2>&5 2450 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2451 set X $ac_compile 2452 ac_compiler=$2 2453 { (ac_try="$ac_compiler --version >&5" 2454 case "(($ac_try" in 2455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2456 *) ac_try_echo=$ac_try;; 2457 esac 2458 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2459 $as_echo "$ac_try_echo") >&5 2460 (eval "$ac_compiler --version >&5") 2>&5 1911 2461 ac_status=$? 1912 echo "$as_me:$LINENO: \$? = $ac_status" >&52462 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1913 2463 (exit $ac_status); } 1914 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1915 (eval $ac_compiler -v </dev/null >&5) 2>&5 2464 { (ac_try="$ac_compiler -v >&5" 2465 case "(($ac_try" in 2466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2467 *) ac_try_echo=$ac_try;; 2468 esac 2469 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2470 $as_echo "$ac_try_echo") >&5 2471 (eval "$ac_compiler -v >&5") 2>&5 1916 2472 ac_status=$? 1917 echo "$as_me:$LINENO: \$? = $ac_status" >&52473 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1918 2474 (exit $ac_status); } 1919 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1920 (eval $ac_compiler -V </dev/null >&5) 2>&5 2475 { (ac_try="$ac_compiler -V >&5" 2476 case "(($ac_try" in 2477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2478 *) ac_try_echo=$ac_try;; 2479 esac 2480 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2481 $as_echo "$ac_try_echo") >&5 2482 (eval "$ac_compiler -V >&5") 2>&5 1921 2483 ac_status=$? 1922 echo "$as_me:$LINENO: \$? = $ac_status" >&52484 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1923 2485 (exit $ac_status); } 1924 2486 … … 1939 2501 _ACEOF 1940 2502 ac_clean_files_save=$ac_clean_files 1941 ac_clean_files="$ac_clean_files a.out a. exe b.out"2503 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 1942 2504 # Try to create an executable without -o first, disregard a.out. 1943 2505 # It will help us diagnose broken compilers, and finding out an intuition 1944 2506 # of exeext. 1945 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1946 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1947 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1948 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1949 (eval $ac_link_default) 2>&5 2507 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2508 $as_echo_n "checking for C compiler default output file name... " >&6; } 2509 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2510 2511 # The possible output files: 2512 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2513 2514 ac_rmfiles= 2515 for ac_file in $ac_files 2516 do 2517 case $ac_file in 2518 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2519 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2520 esac 2521 done 2522 rm -f $ac_rmfiles 2523 2524 if { (ac_try="$ac_link_default" 2525 case "(($ac_try" in 2526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2527 *) ac_try_echo=$ac_try;; 2528 esac 2529 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2530 $as_echo "$ac_try_echo") >&5 2531 (eval "$ac_link_default") 2>&5 1950 2532 ac_status=$? 1951 echo "$as_me:$LINENO: \$? = $ac_status" >&52533 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1952 2534 (exit $ac_status); }; then 1953 # Find the output, starting from the most likely. This scheme is 1954 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1955 # resort. 1956 1957 # Be careful to initialize this variable, since it used to be cached. 1958 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1959 ac_cv_exeext= 1960 # b.out is created by i960 compilers. 1961 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2535 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2536 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2537 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2538 # so that the user can short-circuit this test for compilers unknown to 2539 # Autoconf. 2540 for ac_file in $ac_files '' 1962 2541 do 1963 2542 test -f "$ac_file" || continue 1964 2543 case $ac_file in 1965 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1966 ;; 1967 conftest.$ac_ext ) 1968 # This is the source file. 2544 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 1969 2545 ;; 1970 2546 [ab].out ) … … 1973 2549 break;; 1974 2550 *.* ) 1975 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1976 # FIXME: I believe we export ac_cv_exeext for Libtool, 1977 # but it would be cool to find out if it's true. Does anybody 1978 # maintain Libtool? --akim. 1979 export ac_cv_exeext 2551 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2552 then :; else 2553 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2554 fi 2555 # We set ac_cv_exeext here because the later test for it is not 2556 # safe: cross compilers may not add the suffix if given an `-o' 2557 # argument, so we may need to know it at that point already. 2558 # Even if this section looks crufty: it has the advantage of 2559 # actually working. 1980 2560 break;; 1981 2561 * ) … … 1983 2563 esac 1984 2564 done 1985 else 1986 echo "$as_me: failed program was:" >&5 2565 test "$ac_cv_exeext" = no && ac_cv_exeext= 2566 2567 else 2568 ac_file='' 2569 fi 2570 2571 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2572 $as_echo "$ac_file" >&6; } 2573 if test -z "$ac_file"; then 2574 $as_echo "$as_me: failed program was:" >&5 1987 2575 sed 's/^/| /' conftest.$ac_ext >&5 1988 2576 1989 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2577 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2579 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 1990 2580 See \`config.log' for more details." >&5 1991 echo "$as_me: error: C compiler cannot create executables2581 $as_echo "$as_me: error: C compiler cannot create executables 1992 2582 See \`config.log' for more details." >&2;} 1993 { (exit 77); exit 77; }; } 2583 { (exit 77); exit 77; }; }; } 1994 2584 fi 1995 2585 1996 2586 ac_exeext=$ac_cv_exeext 1997 echo "$as_me:$LINENO: result: $ac_file" >&5 1998 echo "${ECHO_T}$ac_file" >&6 1999 2000 # Check the compiler produces executables we can run. If not, either 2587 2588 # Check that the compiler produces executables we can run. If not, either 2001 2589 # the compiler is broken, or we cross compile. 2002 echo "$as_me:$LINENO: checking whether the C compiler works" >&52003 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2590 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2591 $as_echo_n "checking whether the C compiler works... " >&6; } 2004 2592 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2005 2593 # If not cross compiling, check that we can run a simple program. 2006 2594 if test "$cross_compiling" != yes; then 2007 2595 if { ac_try='./$ac_file' 2008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2009 (eval $ac_try) 2>&5 2596 { (case "(($ac_try" in 2597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2598 *) ac_try_echo=$ac_try;; 2599 esac 2600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2601 $as_echo "$ac_try_echo") >&5 2602 (eval "$ac_try") 2>&5 2010 2603 ac_status=$? 2011 echo "$as_me:$LINENO: \$? = $ac_status" >&52604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2012 2605 (exit $ac_status); }; }; then 2013 2606 cross_compiling=no … … 2016 2609 cross_compiling=yes 2017 2610 else 2018 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2611 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2612 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2613 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2019 2614 If you meant to cross compile, use \`--host'. 2020 2615 See \`config.log' for more details." >&5 2021 echo "$as_me: error: cannot run C compiled programs.2616 $as_echo "$as_me: error: cannot run C compiled programs. 2022 2617 If you meant to cross compile, use \`--host'. 2023 2618 See \`config.log' for more details." >&2;} 2024 { (exit 1); exit 1; }; } 2619 { (exit 1); exit 1; }; }; } 2025 2620 fi 2026 2621 fi 2027 2622 fi 2028 echo "$as_me:$LINENO: result: yes" >&52029 echo "${ECHO_T}yes" >&6 2030 2031 rm -f a.outa.exe conftest$ac_cv_exeext b.out2623 { $as_echo "$as_me:$LINENO: result: yes" >&5 2624 $as_echo "yes" >&6; } 2625 2626 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2032 2627 ac_clean_files=$ac_clean_files_save 2033 # Check th e compiler produces executables we can run. If not, either2628 # Check that the compiler produces executables we can run. If not, either 2034 2629 # the compiler is broken, or we cross compile. 2035 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2036 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2037 echo "$as_me:$LINENO: result: $cross_compiling" >&5 2038 echo "${ECHO_T}$cross_compiling" >&6 2039 2040 echo "$as_me:$LINENO: checking for suffix of executables" >&5 2041 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2043 (eval $ac_link) 2>&5 2630 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2631 $as_echo_n "checking whether we are cross compiling... " >&6; } 2632 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2633 $as_echo "$cross_compiling" >&6; } 2634 2635 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2636 $as_echo_n "checking for suffix of executables... " >&6; } 2637 if { (ac_try="$ac_link" 2638 case "(($ac_try" in 2639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2640 *) ac_try_echo=$ac_try;; 2641 esac 2642 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2643 $as_echo "$ac_try_echo") >&5 2644 (eval "$ac_link") 2>&5 2044 2645 ac_status=$? 2045 echo "$as_me:$LINENO: \$? = $ac_status" >&52646 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2046 2647 (exit $ac_status); }; then 2047 2648 # If both `conftest.exe' and `conftest' are `present' (well, observable) … … 2052 2653 test -f "$ac_file" || continue 2053 2654 case $ac_file in 2054 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2655 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2055 2656 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2056 export ac_cv_exeext2057 2657 break;; 2058 2658 * ) break;; … … 2060 2660 done 2061 2661 else 2062 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2662 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2664 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2063 2665 See \`config.log' for more details." >&5 2064 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link2666 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2065 2667 See \`config.log' for more details." >&2;} 2066 { (exit 1); exit 1; }; } 2668 { (exit 1); exit 1; }; }; } 2067 2669 fi 2068 2670 2069 2671 rm -f conftest$ac_cv_exeext 2070 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52071 echo "${ECHO_T}$ac_cv_exeext" >&6 2672 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2673 $as_echo "$ac_cv_exeext" >&6; } 2072 2674 2073 2675 rm -f conftest.$ac_ext 2074 2676 EXEEXT=$ac_cv_exeext 2075 2677 ac_exeext=$EXEEXT 2076 echo "$as_me:$LINENO: checking for suffix of object files" >&52077 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2678 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2679 $as_echo_n "checking for suffix of object files... " >&6; } 2078 2680 if test "${ac_cv_objext+set}" = set; then 2079 echo $ECHO_N "(cached) $ECHO_C" >&62681 $as_echo_n "(cached) " >&6 2080 2682 else 2081 2683 cat >conftest.$ac_ext <<_ACEOF … … 2095 2697 _ACEOF 2096 2698 rm -f conftest.o conftest.obj 2097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2098 (eval $ac_compile) 2>&5 2699 if { (ac_try="$ac_compile" 2700 case "(($ac_try" in 2701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2702 *) ac_try_echo=$ac_try;; 2703 esac 2704 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2705 $as_echo "$ac_try_echo") >&5 2706 (eval "$ac_compile") 2>&5 2099 2707 ac_status=$? 2100 echo "$as_me:$LINENO: \$? = $ac_status" >&52708 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2101 2709 (exit $ac_status); }; then 2102 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2710 for ac_file in conftest.o conftest.obj conftest.*; do 2711 test -f "$ac_file" || continue; 2103 2712 case $ac_file in 2104 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2713 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2105 2714 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2106 2715 break;; … … 2108 2717 done 2109 2718 else 2110 echo "$as_me: failed program was:" >&52719 $as_echo "$as_me: failed program was:" >&5 2111 2720 sed 's/^/| /' conftest.$ac_ext >&5 2112 2721 2113 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2722 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2724 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2114 2725 See \`config.log' for more details." >&5 2115 echo "$as_me: error: cannot compute suffix of object files: cannot compile2726 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2116 2727 See \`config.log' for more details." >&2;} 2117 { (exit 1); exit 1; }; } 2728 { (exit 1); exit 1; }; }; } 2118 2729 fi 2119 2730 2120 2731 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2121 2732 fi 2122 echo "$as_me:$LINENO: result: $ac_cv_objext" >&52123 echo "${ECHO_T}$ac_cv_objext" >&6 2733 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2734 $as_echo "$ac_cv_objext" >&6; } 2124 2735 OBJEXT=$ac_cv_objext 2125 2736 ac_objext=$OBJEXT 2126 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52127 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2737 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2738 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2128 2739 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2129 echo $ECHO_N "(cached) $ECHO_C" >&62740 $as_echo_n "(cached) " >&6 2130 2741 else 2131 2742 cat >conftest.$ac_ext <<_ACEOF … … 2148 2759 _ACEOF 2149 2760 rm -f conftest.$ac_objext 2150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2151 (eval $ac_compile) 2>conftest.er1 2761 if { (ac_try="$ac_compile" 2762 case "(($ac_try" in 2763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2764 *) ac_try_echo=$ac_try;; 2765 esac 2766 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2767 $as_echo "$ac_try_echo") >&5 2768 (eval "$ac_compile") 2>conftest.er1 2152 2769 ac_status=$? 2153 2770 grep -v '^ *+' conftest.er1 >conftest.err 2154 2771 rm -f conftest.er1 2155 2772 cat conftest.err >&5 2156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2157 (exit $ac_status); } && 2158 { ac_try='test -z "$ac_c_werror_flag" 2159 || test ! -s conftest.err' 2160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2161 (eval $ac_try) 2>&5 2162 ac_status=$? 2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2164 (exit $ac_status); }; } && 2165 { ac_try='test -s conftest.$ac_objext' 2166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2167 (eval $ac_try) 2>&5 2168 ac_status=$? 2169 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2170 (exit $ac_status); }; }; then 2773 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2774 (exit $ac_status); } && { 2775 test -z "$ac_c_werror_flag" || 2776 test ! -s conftest.err 2777 } && test -s conftest.$ac_objext; then 2171 2778 ac_compiler_gnu=yes 2172 2779 else 2173 echo "$as_me: failed program was:" >&52780 $as_echo "$as_me: failed program was:" >&5 2174 2781 sed 's/^/| /' conftest.$ac_ext >&5 2175 2782 2176 ac_compiler_gnu=no 2177 fi 2178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2783 ac_compiler_gnu=no 2784 fi 2785 2786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2179 2787 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2180 2788 2181 2789 fi 2182 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2183 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2184 GCC=`test $ac_compiler_gnu = yes && echo yes` 2790 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2791 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2792 if test $ac_compiler_gnu = yes; then 2793 GCC=yes 2794 else 2795 GCC= 2796 fi 2185 2797 ac_test_CFLAGS=${CFLAGS+set} 2186 2798 ac_save_CFLAGS=$CFLAGS 2187 CFLAGS="-g" 2188 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2189 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2799 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2800 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2190 2801 if test "${ac_cv_prog_cc_g+set}" = set; then 2191 echo $ECHO_N "(cached) $ECHO_C" >&6 2192 else 2193 cat >conftest.$ac_ext <<_ACEOF 2802 $as_echo_n "(cached) " >&6 2803 else 2804 ac_save_c_werror_flag=$ac_c_werror_flag 2805 ac_c_werror_flag=yes 2806 ac_cv_prog_cc_g=no 2807 CFLAGS="-g" 2808 cat >conftest.$ac_ext <<_ACEOF 2194 2809 /* confdefs.h. */ 2195 2810 _ACEOF … … 2207 2822 _ACEOF 2208 2823 rm -f conftest.$ac_objext 2209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2210 (eval $ac_compile) 2>conftest.er1 2824 if { (ac_try="$ac_compile" 2825 case "(($ac_try" in 2826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2827 *) ac_try_echo=$ac_try;; 2828 esac 2829 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2830 $as_echo "$ac_try_echo") >&5 2831 (eval "$ac_compile") 2>conftest.er1 2211 2832 ac_status=$? 2212 2833 grep -v '^ *+' conftest.er1 >conftest.err 2213 2834 rm -f conftest.er1 2214 2835 cat conftest.err >&5 2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2216 (exit $ac_status); } && 2217 { ac_try='test -z "$ac_c_werror_flag" 2218 || test ! -s conftest.err' 2219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2220 (eval $ac_try) 2>&5 2836 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2837 (exit $ac_status); } && { 2838 test -z "$ac_c_werror_flag" || 2839 test ! -s conftest.err 2840 } && test -s conftest.$ac_objext; then 2841 ac_cv_prog_cc_g=yes 2842 else 2843 $as_echo "$as_me: failed program was:" >&5 2844 sed 's/^/| /' conftest.$ac_ext >&5 2845 2846 CFLAGS="" 2847 cat >conftest.$ac_ext <<_ACEOF 2848 /* confdefs.h. */ 2849 _ACEOF 2850 cat confdefs.h >>conftest.$ac_ext 2851 cat >>conftest.$ac_ext <<_ACEOF 2852 /* end confdefs.h. */ 2853 2854 int 2855 main () 2856 { 2857 2858 ; 2859 return 0; 2860 } 2861 _ACEOF 2862 rm -f conftest.$ac_objext 2863 if { (ac_try="$ac_compile" 2864 case "(($ac_try" in 2865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2866 *) ac_try_echo=$ac_try;; 2867 esac 2868 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2869 $as_echo "$ac_try_echo") >&5 2870 (eval "$ac_compile") 2>conftest.er1 2221 2871 ac_status=$? 2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2223 (exit $ac_status); }; } && 2224 { ac_try='test -s conftest.$ac_objext' 2225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2226 (eval $ac_try) 2>&5 2872 grep -v '^ *+' conftest.er1 >conftest.err 2873 rm -f conftest.er1 2874 cat conftest.err >&5 2875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2876 (exit $ac_status); } && { 2877 test -z "$ac_c_werror_flag" || 2878 test ! -s conftest.err 2879 } && test -s conftest.$ac_objext; then 2880 : 2881 else 2882 $as_echo "$as_me: failed program was:" >&5 2883 sed 's/^/| /' conftest.$ac_ext >&5 2884 2885 ac_c_werror_flag=$ac_save_c_werror_flag 2886 CFLAGS="-g" 2887 cat >conftest.$ac_ext <<_ACEOF 2888 /* confdefs.h. */ 2889 _ACEOF 2890 cat confdefs.h >>conftest.$ac_ext 2891 cat >>conftest.$ac_ext <<_ACEOF 2892 /* end confdefs.h. */ 2893 2894 int 2895 main () 2896 { 2897 2898 ; 2899 return 0; 2900 } 2901 _ACEOF 2902 rm -f conftest.$ac_objext 2903 if { (ac_try="$ac_compile" 2904 case "(($ac_try" in 2905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2906 *) ac_try_echo=$ac_try;; 2907 esac 2908 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2909 $as_echo "$ac_try_echo") >&5 2910 (eval "$ac_compile") 2>conftest.er1 2227 2911 ac_status=$? 2228 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2229 (exit $ac_status); }; }; then 2912 grep -v '^ *+' conftest.er1 >conftest.err 2913 rm -f conftest.er1 2914 cat conftest.err >&5 2915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2916 (exit $ac_status); } && { 2917 test -z "$ac_c_werror_flag" || 2918 test ! -s conftest.err 2919 } && test -s conftest.$ac_objext; then 2230 2920 ac_cv_prog_cc_g=yes 2231 2921 else 2232 echo "$as_me: failed program was:" >&52922 $as_echo "$as_me: failed program was:" >&5 2233 2923 sed 's/^/| /' conftest.$ac_ext >&5 2234 2924 2235 ac_cv_prog_cc_g=no 2236 fi 2237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2238 fi 2239 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2240 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2925 2926 fi 2927 2928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2929 fi 2930 2931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2932 fi 2933 2934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2935 ac_c_werror_flag=$ac_save_c_werror_flag 2936 fi 2937 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2938 $as_echo "$ac_cv_prog_cc_g" >&6; } 2241 2939 if test "$ac_test_CFLAGS" = set; then 2242 2940 CFLAGS=$ac_save_CFLAGS … … 2254 2952 fi 2255 2953 fi 2256 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52257 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2258 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2259 echo $ECHO_N "(cached) $ECHO_C" >&62260 else 2261 ac_cv_prog_cc_ stdc=no2954 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2955 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2956 if test "${ac_cv_prog_cc_c89+set}" = set; then 2957 $as_echo_n "(cached) " >&6 2958 else 2959 ac_cv_prog_cc_c89=no 2262 2960 ac_save_CC=$CC 2263 2961 cat >conftest.$ac_ext <<_ACEOF … … 2293 2991 function prototypes and stuff, but not '\xHH' hex character constants. 2294 2992 These don't provoke an error unfortunately, instead are silently treated 2295 as 'x'. The following induces an error, until -std 1is added to get2993 as 'x'. The following induces an error, until -std is added to get 2296 2994 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2297 2995 array size at least. It's necessary to write '\x00'==0 to get something 2298 that's true only with -std 1. */2996 that's true only with -std. */ 2299 2997 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2998 2999 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3000 inside strings and character constants. */ 3001 #define FOO(x) 'x' 3002 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2300 3003 2301 3004 int test (int i, double x); … … 2313 3016 } 2314 3017 _ACEOF 2315 # Don't try gcc -ansi; that turns off useful extensions and 2316 # breaks some systems' header files. 2317 # AIX -qlanglvl=ansi 2318 # Ultrix and OSF/1 -std1 2319 # HP-UX 10.20 and later -Ae 2320 # HP-UX older versions -Aa -D_HPUX_SOURCE 2321 # SVR4 -Xc -D__EXTENSIONS__ 2322 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3018 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3019 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2323 3020 do 2324 3021 CC="$ac_save_CC $ac_arg" 2325 3022 rm -f conftest.$ac_objext 2326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2327 (eval $ac_compile) 2>conftest.er1 3023 if { (ac_try="$ac_compile" 3024 case "(($ac_try" in 3025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3026 *) ac_try_echo=$ac_try;; 3027 esac 3028 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3029 $as_echo "$ac_try_echo") >&5 3030 (eval "$ac_compile") 2>conftest.er1 2328 3031 ac_status=$? 2329 3032 grep -v '^ *+' conftest.er1 >conftest.err 2330 3033 rm -f conftest.er1 2331 3034 cat conftest.err >&5 2332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2333 (exit $ac_status); } && 2334 { ac_try='test -z "$ac_c_werror_flag" 2335 || test ! -s conftest.err' 2336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2337 (eval $ac_try) 2>&5 2338 ac_status=$? 2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2340 (exit $ac_status); }; } && 2341 { ac_try='test -s conftest.$ac_objext' 2342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2343 (eval $ac_try) 2>&5 2344 ac_status=$? 2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2346 (exit $ac_status); }; }; then 2347 ac_cv_prog_cc_stdc=$ac_arg 2348 break 2349 else 2350 echo "$as_me: failed program was:" >&5 3035 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3036 (exit $ac_status); } && { 3037 test -z "$ac_c_werror_flag" || 3038 test ! -s conftest.err 3039 } && test -s conftest.$ac_objext; then 3040 ac_cv_prog_cc_c89=$ac_arg 3041 else 3042 $as_echo "$as_me: failed program was:" >&5 2351 3043 sed 's/^/| /' conftest.$ac_ext >&5 2352 3044 2353 fi 2354 rm -f conftest.err conftest.$ac_objext 3045 3046 fi 3047 3048 rm -f core conftest.err conftest.$ac_objext 3049 test "x$ac_cv_prog_cc_c89" != "xno" && break 2355 3050 done 2356 rm -f conftest.$ac_ext conftest.$ac_objext3051 rm -f conftest.$ac_ext 2357 3052 CC=$ac_save_CC 2358 3053 2359 3054 fi 2360 2361 case "x$ac_cv_prog_cc_stdc" in 2362 x|xno) 2363 echo "$as_me:$LINENO: result: none needed" >&5 2364 echo "${ECHO_T}none needed" >&6 ;; 3055 # AC_CACHE_VAL 3056 case "x$ac_cv_prog_cc_c89" in 3057 x) 3058 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3059 $as_echo "none needed" >&6; } ;; 3060 xno) 3061 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3062 $as_echo "unsupported" >&6; } ;; 2365 3063 *) 2366 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&52367 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2368 CC="$CC $ac_cv_prog_cc_stdc";;3064 CC="$CC $ac_cv_prog_cc_c89" 3065 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3066 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2369 3067 esac 2370 3068 2371 # Some people use a C++ compiler to compile C. Since we use `exit', 2372 # in C++ we need to declare it. In case someone uses the same compiler 2373 # for both compiling C and C++ we need to have the C++ compiler decide 2374 # the declaration of exit, since it's the most demanding environment. 2375 cat >conftest.$ac_ext <<_ACEOF 2376 #ifndef __cplusplus 2377 choke me 2378 #endif 2379 _ACEOF 2380 rm -f conftest.$ac_objext 2381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2382 (eval $ac_compile) 2>conftest.er1 2383 ac_status=$? 2384 grep -v '^ *+' conftest.er1 >conftest.err 2385 rm -f conftest.er1 2386 cat conftest.err >&5 2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2388 (exit $ac_status); } && 2389 { ac_try='test -z "$ac_c_werror_flag" 2390 || test ! -s conftest.err' 2391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2392 (eval $ac_try) 2>&5 2393 ac_status=$? 2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2395 (exit $ac_status); }; } && 2396 { ac_try='test -s conftest.$ac_objext' 2397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2398 (eval $ac_try) 2>&5 2399 ac_status=$? 2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2401 (exit $ac_status); }; }; then 2402 for ac_declaration in \ 2403 '' \ 2404 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2405 'extern "C" void std::exit (int); using std::exit;' \ 2406 'extern "C" void exit (int) throw ();' \ 2407 'extern "C" void exit (int);' \ 2408 'void exit (int);' 2409 do 2410 cat >conftest.$ac_ext <<_ACEOF 2411 /* confdefs.h. */ 2412 _ACEOF 2413 cat confdefs.h >>conftest.$ac_ext 2414 cat >>conftest.$ac_ext <<_ACEOF 2415 /* end confdefs.h. */ 2416 $ac_declaration 2417 #include <stdlib.h> 2418 int 2419 main () 2420 { 2421 exit (42); 2422 ; 2423 return 0; 2424 } 2425 _ACEOF 2426 rm -f conftest.$ac_objext 2427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2428 (eval $ac_compile) 2>conftest.er1 2429 ac_status=$? 2430 grep -v '^ *+' conftest.er1 >conftest.err 2431 rm -f conftest.er1 2432 cat conftest.err >&5 2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2434 (exit $ac_status); } && 2435 { ac_try='test -z "$ac_c_werror_flag" 2436 || test ! -s conftest.err' 2437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2438 (eval $ac_try) 2>&5 2439 ac_status=$? 2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2441 (exit $ac_status); }; } && 2442 { ac_try='test -s conftest.$ac_objext' 2443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2444 (eval $ac_try) 2>&5 2445 ac_status=$? 2446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2447 (exit $ac_status); }; }; then 2448 : 2449 else 2450 echo "$as_me: failed program was:" >&5 2451 sed 's/^/| /' conftest.$ac_ext >&5 2452 2453 continue 2454 fi 2455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2456 cat >conftest.$ac_ext <<_ACEOF 2457 /* confdefs.h. */ 2458 _ACEOF 2459 cat confdefs.h >>conftest.$ac_ext 2460 cat >>conftest.$ac_ext <<_ACEOF 2461 /* end confdefs.h. */ 2462 $ac_declaration 2463 int 2464 main () 2465 { 2466 exit (42); 2467 ; 2468 return 0; 2469 } 2470 _ACEOF 2471 rm -f conftest.$ac_objext 2472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2473 (eval $ac_compile) 2>conftest.er1 2474 ac_status=$? 2475 grep -v '^ *+' conftest.er1 >conftest.err 2476 rm -f conftest.er1 2477 cat conftest.err >&5 2478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2479 (exit $ac_status); } && 2480 { ac_try='test -z "$ac_c_werror_flag" 2481 || test ! -s conftest.err' 2482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2483 (eval $ac_try) 2>&5 2484 ac_status=$? 2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2486 (exit $ac_status); }; } && 2487 { ac_try='test -s conftest.$ac_objext' 2488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2489 (eval $ac_try) 2>&5 2490 ac_status=$? 2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2492 (exit $ac_status); }; }; then 2493 break 2494 else 2495 echo "$as_me: failed program was:" >&5 2496 sed 's/^/| /' conftest.$ac_ext >&5 2497 2498 fi 2499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2500 done 2501 rm -f conftest* 2502 if test -n "$ac_declaration"; then 2503 echo '#ifdef __cplusplus' >>confdefs.h 2504 echo $ac_declaration >>confdefs.h 2505 echo '#endif' >>confdefs.h 2506 fi 2507 2508 else 2509 echo "$as_me: failed program was:" >&5 2510 sed 's/^/| /' conftest.$ac_ext >&5 2511 2512 fi 2513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3069 2514 3070 ac_ext=c 2515 3071 ac_cpp='$CPP $CPPFLAGS' … … 2523 3079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2524 3080 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2525 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&52526 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3081 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3082 $as_echo_n "checking how to run the C preprocessor... " >&6; } 2527 3083 # On Suns, sometimes $CPP names a directory. 2528 3084 if test -n "$CPP" && test -d "$CPP"; then … … 2531 3087 if test -z "$CPP"; then 2532 3088 if test "${ac_cv_prog_CPP+set}" = set; then 2533 echo $ECHO_N "(cached) $ECHO_C" >&63089 $as_echo_n "(cached) " >&6 2534 3090 else 2535 3091 # Double quotes because CPP needs to be expanded … … 2558 3114 Syntax error 2559 3115 _ACEOF 2560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2561 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3116 if { (ac_try="$ac_cpp conftest.$ac_ext" 3117 case "(($ac_try" in 3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3119 *) ac_try_echo=$ac_try;; 3120 esac 3121 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3122 $as_echo "$ac_try_echo") >&5 3123 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2562 3124 ac_status=$? 2563 3125 grep -v '^ *+' conftest.er1 >conftest.err 2564 3126 rm -f conftest.er1 2565 3127 cat conftest.err >&5 2566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2567 (exit $ac_status); } >/dev/null; then 2568 if test -s conftest.err; then 2569 ac_cpp_err=$ac_c_preproc_warn_flag 2570 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2571 else 2572 ac_cpp_err= 2573 fi 2574 else 2575 ac_cpp_err=yes 2576 fi 2577 if test -z "$ac_cpp_err"; then 3128 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3129 (exit $ac_status); } >/dev/null && { 3130 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3131 test ! -s conftest.err 3132 }; then 2578 3133 : 2579 3134 else 2580 echo "$as_me: failed program was:" >&53135 $as_echo "$as_me: failed program was:" >&5 2581 3136 sed 's/^/| /' conftest.$ac_ext >&5 2582 3137 … … 2584 3139 continue 2585 3140 fi 3141 2586 3142 rm -f conftest.err conftest.$ac_ext 2587 3143 2588 # OK, works on sane cases. Now check whether non -existent headers3144 # OK, works on sane cases. Now check whether nonexistent headers 2589 3145 # can be detected and how. 2590 3146 cat >conftest.$ac_ext <<_ACEOF … … 2596 3152 #include <ac_nonexistent.h> 2597 3153 _ACEOF 2598 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2599 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3154 if { (ac_try="$ac_cpp conftest.$ac_ext" 3155 case "(($ac_try" in 3156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3157 *) ac_try_echo=$ac_try;; 3158 esac 3159 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3160 $as_echo "$ac_try_echo") >&5 3161 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2600 3162 ac_status=$? 2601 3163 grep -v '^ *+' conftest.er1 >conftest.err 2602 3164 rm -f conftest.er1 2603 3165 cat conftest.err >&5 2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2605 (exit $ac_status); } >/dev/null; then 2606 if test -s conftest.err; then 2607 ac_cpp_err=$ac_c_preproc_warn_flag 2608 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2609 else 2610 ac_cpp_err= 2611 fi 2612 else 2613 ac_cpp_err=yes 2614 fi 2615 if test -z "$ac_cpp_err"; then 3166 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3167 (exit $ac_status); } >/dev/null && { 3168 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3169 test ! -s conftest.err 3170 }; then 2616 3171 # Broken: success on invalid input. 2617 3172 continue 2618 3173 else 2619 echo "$as_me: failed program was:" >&53174 $as_echo "$as_me: failed program was:" >&5 2620 3175 sed 's/^/| /' conftest.$ac_ext >&5 2621 3176 … … 2624 3179 break 2625 3180 fi 3181 2626 3182 rm -f conftest.err conftest.$ac_ext 2627 3183 … … 2641 3197 ac_cv_prog_CPP=$CPP 2642 3198 fi 2643 echo "$as_me:$LINENO: result: $CPP" >&52644 echo "${ECHO_T}$CPP" >&6 3199 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 3200 $as_echo "$CPP" >&6; } 2645 3201 ac_preproc_ok=false 2646 3202 for ac_c_preproc_warn_flag in '' yes … … 2665 3221 Syntax error 2666 3222 _ACEOF 2667 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2668 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3223 if { (ac_try="$ac_cpp conftest.$ac_ext" 3224 case "(($ac_try" in 3225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3226 *) ac_try_echo=$ac_try;; 3227 esac 3228 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3229 $as_echo "$ac_try_echo") >&5 3230 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2669 3231 ac_status=$? 2670 3232 grep -v '^ *+' conftest.er1 >conftest.err 2671 3233 rm -f conftest.er1 2672 3234 cat conftest.err >&5 2673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2674 (exit $ac_status); } >/dev/null; then 2675 if test -s conftest.err; then 2676 ac_cpp_err=$ac_c_preproc_warn_flag 2677 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2678 else 2679 ac_cpp_err= 2680 fi 2681 else 2682 ac_cpp_err=yes 2683 fi 2684 if test -z "$ac_cpp_err"; then 3235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3236 (exit $ac_status); } >/dev/null && { 3237 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3238 test ! -s conftest.err 3239 }; then 2685 3240 : 2686 3241 else 2687 echo "$as_me: failed program was:" >&53242 $as_echo "$as_me: failed program was:" >&5 2688 3243 sed 's/^/| /' conftest.$ac_ext >&5 2689 3244 … … 2691 3246 continue 2692 3247 fi 3248 2693 3249 rm -f conftest.err conftest.$ac_ext 2694 3250 2695 # OK, works on sane cases. Now check whether non -existent headers3251 # OK, works on sane cases. Now check whether nonexistent headers 2696 3252 # can be detected and how. 2697 3253 cat >conftest.$ac_ext <<_ACEOF … … 2703 3259 #include <ac_nonexistent.h> 2704 3260 _ACEOF 2705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2706 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3261 if { (ac_try="$ac_cpp conftest.$ac_ext" 3262 case "(($ac_try" in 3263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3264 *) ac_try_echo=$ac_try;; 3265 esac 3266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3267 $as_echo "$ac_try_echo") >&5 3268 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2707 3269 ac_status=$? 2708 3270 grep -v '^ *+' conftest.er1 >conftest.err 2709 3271 rm -f conftest.er1 2710 3272 cat conftest.err >&5 2711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2712 (exit $ac_status); } >/dev/null; then 2713 if test -s conftest.err; then 2714 ac_cpp_err=$ac_c_preproc_warn_flag 2715 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2716 else 2717 ac_cpp_err= 2718 fi 2719 else 2720 ac_cpp_err=yes 2721 fi 2722 if test -z "$ac_cpp_err"; then 3273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3274 (exit $ac_status); } >/dev/null && { 3275 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3276 test ! -s conftest.err 3277 }; then 2723 3278 # Broken: success on invalid input. 2724 3279 continue 2725 3280 else 2726 echo "$as_me: failed program was:" >&53281 $as_echo "$as_me: failed program was:" >&5 2727 3282 sed 's/^/| /' conftest.$ac_ext >&5 2728 3283 … … 2731 3286 break 2732 3287 fi 3288 2733 3289 rm -f conftest.err conftest.$ac_ext 2734 3290 … … 2739 3295 : 2740 3296 else 2741 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3297 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3299 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 2742 3300 See \`config.log' for more details." >&5 2743 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check3301 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 2744 3302 See \`config.log' for more details." >&2;} 2745 { (exit 1); exit 1; }; } 3303 { (exit 1); exit 1; }; }; } 2746 3304 fi 2747 3305 … … 2765 3323 # OS/2's system install, which has a completely different semantic 2766 3324 # ./install, which can be erroneously created by make from ./install.sh. 2767 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2768 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3325 # Reject install programs that cannot install multiple files. 3326 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3327 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2769 3328 if test -z "$INSTALL"; then 2770 3329 if test "${ac_cv_path_install+set}" = set; then 2771 echo $ECHO_N "(cached) $ECHO_C" >&63330 $as_echo_n "(cached) " >&6 2772 3331 else 2773 3332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 2788 3347 for ac_prog in ginstall scoinst install; do 2789 3348 for ac_exec_ext in '' $ac_executable_extensions; do 2790 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then3349 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2791 3350 if test $ac_prog = install && 2792 3351 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 2798 3357 : 2799 3358 else 2800 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2801 break 3 3359 rm -rf conftest.one conftest.two conftest.dir 3360 echo one > conftest.one 3361 echo two > conftest.two 3362 mkdir conftest.dir 3363 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3364 test -s conftest.one && test -s conftest.two && 3365 test -s conftest.dir/conftest.one && 3366 test -s conftest.dir/conftest.two 3367 then 3368 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3369 break 3 3370 fi 2802 3371 fi 2803 3372 fi … … 2806 3375 ;; 2807 3376 esac 3377 2808 3378 done 2809 3379 IFS=$as_save_IFS 3380 3381 rm -rf conftest.one conftest.two conftest.dir 2810 3382 2811 3383 fi … … 2813 3385 INSTALL=$ac_cv_path_install 2814 3386 else 2815 # As a last resort, use the slow shell script. We don't cache a2816 # pathfor INSTALL within a source directory, because that will3387 # As a last resort, use the slow shell script. Don't cache a 3388 # value for INSTALL within a source directory, because that will 2817 3389 # break other packages using the cache if that directory is 2818 # removed, or if the path is relative.3390 # removed, or if the value is a relative name. 2819 3391 INSTALL=$ac_install_sh 2820 3392 fi 2821 3393 fi 2822 echo "$as_me:$LINENO: result: $INSTALL" >&52823 echo "${ECHO_T}$INSTALL" >&6 3394 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 3395 $as_echo "$INSTALL" >&6; } 2824 3396 2825 3397 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 2831 3403 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2832 3404 2833 # Check whether --enable-shared or --disable-sharedwas given.3405 # Check whether --enable-shared was given. 2834 3406 if test "${enable_shared+set}" = set; then 2835 enableval="$enable_shared" 2836 p=${PACKAGE-default} 3407 enableval=$enable_shared; p=${PACKAGE-default} 2837 3408 case $enableval in 2838 3409 yes) enable_shared=yes ;; … … 2852 3423 else 2853 3424 enable_shared=yes 2854 fi; 2855 # Check whether --enable-static or --disable-static was given. 3425 fi 3426 3427 # Check whether --enable-static was given. 2856 3428 if test "${enable_static+set}" = set; then 2857 enableval="$enable_static" 2858 p=${PACKAGE-default} 3429 enableval=$enable_static; p=${PACKAGE-default} 2859 3430 case $enableval in 2860 3431 yes) enable_static=yes ;; … … 2874 3445 else 2875 3446 enable_static=yes 2876 fi; 2877 # Check whether --enable-fast-install or --disable-fast-install was given. 3447 fi 3448 3449 # Check whether --enable-fast-install was given. 2878 3450 if test "${enable_fast_install+set}" = set; then 2879 enableval="$enable_fast_install" 2880 p=${PACKAGE-default} 3451 enableval=$enable_fast_install; p=${PACKAGE-default} 2881 3452 case $enableval in 2882 3453 yes) enable_fast_install=yes ;; … … 2896 3467 else 2897 3468 enable_fast_install=yes 2898 fi; 3469 fi 3470 2899 3471 # Find the correct PATH separator. Usually this is `:', but 2900 3472 # DJGPP uses `;' like DOS. … … 2909 3481 2910 3482 2911 # Check whether --with-gnu-ld or --without-gnu-ldwas given.3483 # Check whether --with-gnu-ld was given. 2912 3484 if test "${with_gnu_ld+set}" = set; then 2913 withval="$with_gnu_ld" 2914 test "$withval" = no || with_gnu_ld=yes 3485 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 2915 3486 else 2916 3487 with_gnu_ld=no 2917 fi; 3488 fi 3489 2918 3490 ac_prog=ld 2919 3491 if test "$GCC" = yes; then 2920 3492 # Check if gcc -print-prog-name=ld gives a path. 2921 echo "$as_me:$LINENO: checking for ld used by GCC" >&52922 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 3493 { $as_echo "$as_me:$LINENO: checking for ld used by GCC" >&5 3494 $as_echo_n "checking for ld used by GCC... " >&6; } 2923 3495 case $host in 2924 3496 *-*-mingw*) … … 2949 3521 esac 2950 3522 elif test "$with_gnu_ld" = yes; then 2951 echo "$as_me:$LINENO: checking for GNU ld" >&52952 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 2953 else 2954 echo "$as_me:$LINENO: checking for non-GNU ld" >&52955 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 3523 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 3524 $as_echo_n "checking for GNU ld... " >&6; } 3525 else 3526 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 3527 $as_echo_n "checking for non-GNU ld... " >&6; } 2956 3528 fi 2957 3529 if test "${lt_cv_path_LD+set}" = set; then 2958 echo $ECHO_N "(cached) $ECHO_C" >&63530 $as_echo_n "(cached) " >&6 2959 3531 else 2960 3532 if test -z "$LD"; then … … 2982 3554 LD="$lt_cv_path_LD" 2983 3555 if test -n "$LD"; then 2984 echo "$as_me:$LINENO: result: $LD" >&52985 echo "${ECHO_T}$LD" >&6 2986 else 2987 echo "$as_me:$LINENO: result: no" >&52988 echo "${ECHO_T}no" >&6 2989 fi 2990 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&52991 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}3556 { $as_echo "$as_me:$LINENO: result: $LD" >&5 3557 $as_echo "$LD" >&6; } 3558 else 3559 { $as_echo "$as_me:$LINENO: result: no" >&5 3560 $as_echo "no" >&6; } 3561 fi 3562 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 3563 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 2992 3564 { (exit 1); exit 1; }; } 2993 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&52994 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 3565 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 3566 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 2995 3567 if test "${lt_cv_prog_gnu_ld+set}" = set; then 2996 echo $ECHO_N "(cached) $ECHO_C" >&63568 $as_echo_n "(cached) " >&6 2997 3569 else 2998 3570 # I'd rather use --version here, but apparently some GNU ld's only accept -v. … … 3003 3575 fi 3004 3576 fi 3005 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&53006 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 3577 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 3578 $as_echo "$lt_cv_prog_gnu_ld" >&6; } 3007 3579 with_gnu_ld=$lt_cv_prog_gnu_ld 3008 3580 3009 3581 3010 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&53011 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 3582 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 3583 $as_echo_n "checking for $LD option to reload object files... " >&6; } 3012 3584 if test "${lt_cv_ld_reload_flag+set}" = set; then 3013 echo $ECHO_N "(cached) $ECHO_C" >&63585 $as_echo_n "(cached) " >&6 3014 3586 else 3015 3587 lt_cv_ld_reload_flag='-r' 3016 3588 fi 3017 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&53018 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 3589 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 3590 $as_echo "$lt_cv_ld_reload_flag" >&6; } 3019 3591 reload_flag=$lt_cv_ld_reload_flag 3020 3592 test -n "$reload_flag" && reload_flag=" $reload_flag" 3021 3593 3022 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&53023 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 3594 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 3595 $as_echo_n "checking for BSD-compatible nm... " >&6; } 3024 3596 if test "${lt_cv_path_NM+set}" = set; then 3025 echo $ECHO_N "(cached) $ECHO_C" >&63597 $as_echo_n "(cached) " >&6 3026 3598 else 3027 3599 if test -n "$NM"; then … … 3056 3628 3057 3629 NM="$lt_cv_path_NM" 3058 echo "$as_me:$LINENO: result: $NM" >&53059 echo "${ECHO_T}$NM" >&6 3060 3061 echo "$as_me:$LINENO: checking whether ln -s works" >&53062 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3630 { $as_echo "$as_me:$LINENO: result: $NM" >&5 3631 $as_echo "$NM" >&6; } 3632 3633 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 3634 $as_echo_n "checking whether ln -s works... " >&6; } 3063 3635 LN_S=$as_ln_s 3064 3636 if test "$LN_S" = "ln -s"; then 3065 echo "$as_me:$LINENO: result: yes" >&53066 echo "${ECHO_T}yes" >&6 3067 else 3068 echo "$as_me:$LINENO: result: no, using $LN_S" >&53069 echo "${ECHO_T}no, using $LN_S" >&6 3070 fi 3071 3072 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&53073 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 3637 { $as_echo "$as_me:$LINENO: result: yes" >&5 3638 $as_echo "yes" >&6; } 3639 else 3640 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3641 $as_echo "no, using $LN_S" >&6; } 3642 fi 3643 3644 { $as_echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5 3645 $as_echo_n "checking how to recognise dependant libraries... " >&6; } 3074 3646 if test "${lt_cv_deplibs_check_method+set}" = set; then 3075 echo $ECHO_N "(cached) $ECHO_C" >&63647 $as_echo_n "(cached) " >&6 3076 3648 else 3077 3649 lt_cv_file_magic_cmd='$MAGIC_CMD' … … 3248 3820 3249 3821 fi 3250 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&53251 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 3822 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 3823 $as_echo "$lt_cv_deplibs_check_method" >&6; } 3252 3824 file_magic_cmd=$lt_cv_file_magic_cmd 3253 3825 deplibs_check_method=$lt_cv_deplibs_check_method … … 3261 3833 3262 3834 # Check for command to grab the raw symbol name followed by C symbol from nm. 3263 echo "$as_me:$LINENO: checking command to parse $NM output" >&53264 echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 3835 { $as_echo "$as_me:$LINENO: checking command to parse $NM output" >&5 3836 $as_echo_n "checking command to parse $NM output... " >&6; } 3265 3837 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 3266 echo $ECHO_N "(cached) $ECHO_C" >&63838 $as_echo_n "(cached) " >&6 3267 3839 else 3268 3840 … … 3345 3917 (eval $ac_compile) 2>&5 3346 3918 ac_status=$? 3347 echo "$as_me:$LINENO: \$? = $ac_status" >&53919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3348 3920 (exit $ac_status); }; then 3349 3921 # Now try to grab the symbols. … … 3352 3924 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 3353 3925 ac_status=$? 3354 echo "$as_me:$LINENO: \$? = $ac_status" >&53926 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3355 3927 (exit $ac_status); } && test -s "$nlist"; then 3356 3928 # Try sorting and uniquifying the output. … … 3407 3979 (eval $ac_link) 2>&5 3408 3980 ac_status=$? 3409 echo "$as_me:$LINENO: \$? = $ac_status" >&53981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3410 3982 (exit $ac_status); } && test -s conftest; then 3411 3983 pipe_works=yes … … 3448 4020 if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; 3449 4021 then 3450 echo "$as_me:$LINENO: result: failed" >&5 3451 echo "${ECHO_T}failed" >&6 3452 else 3453 echo "$as_me:$LINENO: result: ok" >&5 3454 echo "${ECHO_T}ok" >&6 3455 fi 3456 3457 3458 echo "$as_me:$LINENO: checking for egrep" >&5 3459 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3460 if test "${ac_cv_prog_egrep+set}" = set; then 3461 echo $ECHO_N "(cached) $ECHO_C" >&6 3462 else 3463 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3464 then ac_cv_prog_egrep='grep -E' 3465 else ac_cv_prog_egrep='egrep' 4022 { $as_echo "$as_me:$LINENO: result: failed" >&5 4023 $as_echo "failed" >&6; } 4024 else 4025 { $as_echo "$as_me:$LINENO: result: ok" >&5 4026 $as_echo "ok" >&6; } 4027 fi 4028 4029 4030 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4031 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4032 if test "${ac_cv_path_GREP+set}" = set; then 4033 $as_echo_n "(cached) " >&6 4034 else 4035 if test -z "$GREP"; then 4036 ac_path_GREP_found=false 4037 # Loop through the user's path and test for each of PROGNAME-LIST 4038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4039 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4040 do 4041 IFS=$as_save_IFS 4042 test -z "$as_dir" && as_dir=. 4043 for ac_prog in grep ggrep; do 4044 for ac_exec_ext in '' $ac_executable_extensions; do 4045 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4046 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4047 # Check for GNU ac_path_GREP and select it if it is found. 4048 # Check for GNU $ac_path_GREP 4049 case `"$ac_path_GREP" --version 2>&1` in 4050 *GNU*) 4051 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4052 *) 4053 ac_count=0 4054 $as_echo_n 0123456789 >"conftest.in" 4055 while : 4056 do 4057 cat "conftest.in" "conftest.in" >"conftest.tmp" 4058 mv "conftest.tmp" "conftest.in" 4059 cp "conftest.in" "conftest.nl" 4060 $as_echo 'GREP' >> "conftest.nl" 4061 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4062 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4063 ac_count=`expr $ac_count + 1` 4064 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4065 # Best one so far, save it but keep looking for a better one 4066 ac_cv_path_GREP="$ac_path_GREP" 4067 ac_path_GREP_max=$ac_count 3466 4068 fi 3467 fi 3468 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3469 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3470 EGREP=$ac_cv_prog_egrep 3471 3472 3473 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3474 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4069 # 10*(2^10) chars as input seems more than enough 4070 test $ac_count -gt 10 && break 4071 done 4072 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4073 esac 4074 4075 $ac_path_GREP_found && break 3 4076 done 4077 done 4078 done 4079 IFS=$as_save_IFS 4080 if test -z "$ac_cv_path_GREP"; then 4081 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4082 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4083 { (exit 1); exit 1; }; } 4084 fi 4085 else 4086 ac_cv_path_GREP=$GREP 4087 fi 4088 4089 fi 4090 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4091 $as_echo "$ac_cv_path_GREP" >&6; } 4092 GREP="$ac_cv_path_GREP" 4093 4094 4095 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 4096 $as_echo_n "checking for egrep... " >&6; } 4097 if test "${ac_cv_path_EGREP+set}" = set; then 4098 $as_echo_n "(cached) " >&6 4099 else 4100 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4101 then ac_cv_path_EGREP="$GREP -E" 4102 else 4103 if test -z "$EGREP"; then 4104 ac_path_EGREP_found=false 4105 # Loop through the user's path and test for each of PROGNAME-LIST 4106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4107 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4108 do 4109 IFS=$as_save_IFS 4110 test -z "$as_dir" && as_dir=. 4111 for ac_prog in egrep; do 4112 for ac_exec_ext in '' $ac_executable_extensions; do 4113 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4114 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4115 # Check for GNU ac_path_EGREP and select it if it is found. 4116 # Check for GNU $ac_path_EGREP 4117 case `"$ac_path_EGREP" --version 2>&1` in 4118 *GNU*) 4119 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4120 *) 4121 ac_count=0 4122 $as_echo_n 0123456789 >"conftest.in" 4123 while : 4124 do 4125 cat "conftest.in" "conftest.in" >"conftest.tmp" 4126 mv "conftest.tmp" "conftest.in" 4127 cp "conftest.in" "conftest.nl" 4128 $as_echo 'EGREP' >> "conftest.nl" 4129 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4130 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4131 ac_count=`expr $ac_count + 1` 4132 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4133 # Best one so far, save it but keep looking for a better one 4134 ac_cv_path_EGREP="$ac_path_EGREP" 4135 ac_path_EGREP_max=$ac_count 4136 fi 4137 # 10*(2^10) chars as input seems more than enough 4138 test $ac_count -gt 10 && break 4139 done 4140 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4141 esac 4142 4143 $ac_path_EGREP_found && break 3 4144 done 4145 done 4146 done 4147 IFS=$as_save_IFS 4148 if test -z "$ac_cv_path_EGREP"; then 4149 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4150 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4151 { (exit 1); exit 1; }; } 4152 fi 4153 else 4154 ac_cv_path_EGREP=$EGREP 4155 fi 4156 4157 fi 4158 fi 4159 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4160 $as_echo "$ac_cv_path_EGREP" >&6; } 4161 EGREP="$ac_cv_path_EGREP" 4162 4163 4164 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4165 $as_echo_n "checking for ANSI C header files... " >&6; } 3475 4166 if test "${ac_cv_header_stdc+set}" = set; then 3476 echo $ECHO_N "(cached) $ECHO_C" >&64167 $as_echo_n "(cached) " >&6 3477 4168 else 3478 4169 cat >conftest.$ac_ext <<_ACEOF … … 3496 4187 _ACEOF 3497 4188 rm -f conftest.$ac_objext 3498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3499 (eval $ac_compile) 2>conftest.er1 4189 if { (ac_try="$ac_compile" 4190 case "(($ac_try" in 4191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4192 *) ac_try_echo=$ac_try;; 4193 esac 4194 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4195 $as_echo "$ac_try_echo") >&5 4196 (eval "$ac_compile") 2>conftest.er1 3500 4197 ac_status=$? 3501 4198 grep -v '^ *+' conftest.er1 >conftest.err 3502 4199 rm -f conftest.er1 3503 4200 cat conftest.err >&5 3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3505 (exit $ac_status); } && 3506 { ac_try='test -z "$ac_c_werror_flag" 3507 || test ! -s conftest.err' 3508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3509 (eval $ac_try) 2>&5 3510 ac_status=$? 3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3512 (exit $ac_status); }; } && 3513 { ac_try='test -s conftest.$ac_objext' 3514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3515 (eval $ac_try) 2>&5 3516 ac_status=$? 3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3518 (exit $ac_status); }; }; then 4201 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4202 (exit $ac_status); } && { 4203 test -z "$ac_c_werror_flag" || 4204 test ! -s conftest.err 4205 } && test -s conftest.$ac_objext; then 3519 4206 ac_cv_header_stdc=yes 3520 4207 else 3521 echo "$as_me: failed program was:" >&54208 $as_echo "$as_me: failed program was:" >&5 3522 4209 sed 's/^/| /' conftest.$ac_ext >&5 3523 4210 3524 ac_cv_header_stdc=no 3525 fi 3526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4211 ac_cv_header_stdc=no 4212 fi 4213 4214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3527 4215 3528 4216 if test $ac_cv_header_stdc = yes; then … … 3580 4268 /* end confdefs.h. */ 3581 4269 #include <ctype.h> 4270 #include <stdlib.h> 3582 4271 #if ((' ' & 0x0FF) == 0x020) 3583 4272 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 3599 4288 if (XOR (islower (i), ISLOWER (i)) 3600 4289 || toupper (i) != TOUPPER (i)) 3601 exit(2);3602 exit (0);4290 return 2; 4291 return 0; 3603 4292 } 3604 4293 _ACEOF 3605 4294 rm -f conftest$ac_exeext 3606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3607 (eval $ac_link) 2>&5 4295 if { (ac_try="$ac_link" 4296 case "(($ac_try" in 4297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4298 *) ac_try_echo=$ac_try;; 4299 esac 4300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4301 $as_echo "$ac_try_echo") >&5 4302 (eval "$ac_link") 2>&5 3608 4303 ac_status=$? 3609 echo "$as_me:$LINENO: \$? = $ac_status" >&54304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3610 4305 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3612 (eval $ac_try) 2>&5 4306 { (case "(($ac_try" in 4307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4308 *) ac_try_echo=$ac_try;; 4309 esac 4310 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4311 $as_echo "$ac_try_echo") >&5 4312 (eval "$ac_try") 2>&5 3613 4313 ac_status=$? 3614 echo "$as_me:$LINENO: \$? = $ac_status" >&54314 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3615 4315 (exit $ac_status); }; }; then 3616 4316 : 3617 4317 else 3618 echo "$as_me: program exited with status $ac_status" >&53619 echo "$as_me: failed program was:" >&54318 $as_echo "$as_me: program exited with status $ac_status" >&5 4319 $as_echo "$as_me: failed program was:" >&5 3620 4320 sed 's/^/| /' conftest.$ac_ext >&5 3621 4321 … … 3623 4323 ac_cv_header_stdc=no 3624 4324 fi 3625 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3626 fi 3627 fi 3628 fi 3629 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3630 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4325 rm -rf conftest.dSYM 4326 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4327 fi 4328 4329 4330 fi 4331 fi 4332 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4333 $as_echo "$ac_cv_header_stdc" >&6; } 3631 4334 if test $ac_cv_header_stdc = yes; then 3632 4335 … … 3650 4353 inttypes.h stdint.h unistd.h 3651 4354 do 3652 as_ac_Header=` echo "ac_cv_header_$ac_header" | $as_tr_sh`3653 echo "$as_me:$LINENO: checking for $ac_header" >&53654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3655 if eval "test \"\${$as_ac_Header+set}\" = set"; then3656 echo $ECHO_N "(cached) $ECHO_C" >&64355 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4356 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4357 $as_echo_n "checking for $ac_header... " >&6; } 4358 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4359 $as_echo_n "(cached) " >&6 3657 4360 else 3658 4361 cat >conftest.$ac_ext <<_ACEOF … … 3667 4370 _ACEOF 3668 4371 rm -f conftest.$ac_objext 3669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3670 (eval $ac_compile) 2>conftest.er1 4372 if { (ac_try="$ac_compile" 4373 case "(($ac_try" in 4374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4375 *) ac_try_echo=$ac_try;; 4376 esac 4377 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4378 $as_echo "$ac_try_echo") >&5 4379 (eval "$ac_compile") 2>conftest.er1 3671 4380 ac_status=$? 3672 4381 grep -v '^ *+' conftest.er1 >conftest.err 3673 4382 rm -f conftest.er1 3674 4383 cat conftest.err >&5 3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3676 (exit $ac_status); } && 3677 { ac_try='test -z "$ac_c_werror_flag" 3678 || test ! -s conftest.err' 3679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3680 (eval $ac_try) 2>&5 3681 ac_status=$? 3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3683 (exit $ac_status); }; } && 3684 { ac_try='test -s conftest.$ac_objext' 3685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3686 (eval $ac_try) 2>&5 3687 ac_status=$? 3688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3689 (exit $ac_status); }; }; then 4384 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4385 (exit $ac_status); } && { 4386 test -z "$ac_c_werror_flag" || 4387 test ! -s conftest.err 4388 } && test -s conftest.$ac_objext; then 3690 4389 eval "$as_ac_Header=yes" 3691 4390 else 3692 echo "$as_me: failed program was:" >&54391 $as_echo "$as_me: failed program was:" >&5 3693 4392 sed 's/^/| /' conftest.$ac_ext >&5 3694 4393 3695 eval "$as_ac_Header=no" 3696 fi 3697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3698 fi 3699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3701 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4394 eval "$as_ac_Header=no" 4395 fi 4396 4397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4398 fi 4399 ac_res=`eval 'as_val=${'$as_ac_Header'} 4400 $as_echo "$as_val"'` 4401 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4402 $as_echo "$ac_res" >&6; } 4403 as_val=`eval 'as_val=${'$as_ac_Header'} 4404 $as_echo "$as_val"'` 4405 if test "x$as_val" = x""yes; then 3702 4406 cat >>confdefs.h <<_ACEOF 3703 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 14407 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3704 4408 _ACEOF 3705 4409 … … 3712 4416 for ac_header in dlfcn.h 3713 4417 do 3714 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3715 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3716 echo "$as_me:$LINENO: checking for $ac_header" >&5 3717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3718 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3719 echo $ECHO_N "(cached) $ECHO_C" >&6 3720 fi 3721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4418 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4419 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4420 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4421 $as_echo_n "checking for $ac_header... " >&6; } 4422 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4423 $as_echo_n "(cached) " >&6 4424 fi 4425 ac_res=`eval 'as_val=${'$as_ac_Header'} 4426 $as_echo "$as_val"'` 4427 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4428 $as_echo "$ac_res" >&6; } 3723 4429 else 3724 4430 # Is the header compilable? 3725 echo "$as_me:$LINENO: checking $ac_header usability" >&53726 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4431 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 4432 $as_echo_n "checking $ac_header usability... " >&6; } 3727 4433 cat >conftest.$ac_ext <<_ACEOF 3728 4434 /* confdefs.h. */ … … 3735 4441 _ACEOF 3736 4442 rm -f conftest.$ac_objext 3737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3738 (eval $ac_compile) 2>conftest.er1 4443 if { (ac_try="$ac_compile" 4444 case "(($ac_try" in 4445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4446 *) ac_try_echo=$ac_try;; 4447 esac 4448 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4449 $as_echo "$ac_try_echo") >&5 4450 (eval "$ac_compile") 2>conftest.er1 3739 4451 ac_status=$? 3740 4452 grep -v '^ *+' conftest.er1 >conftest.err 3741 4453 rm -f conftest.er1 3742 4454 cat conftest.err >&5 3743 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3744 (exit $ac_status); } && 3745 { ac_try='test -z "$ac_c_werror_flag" 3746 || test ! -s conftest.err' 3747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3748 (eval $ac_try) 2>&5 3749 ac_status=$? 3750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3751 (exit $ac_status); }; } && 3752 { ac_try='test -s conftest.$ac_objext' 3753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3754 (eval $ac_try) 2>&5 3755 ac_status=$? 3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3757 (exit $ac_status); }; }; then 4455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4456 (exit $ac_status); } && { 4457 test -z "$ac_c_werror_flag" || 4458 test ! -s conftest.err 4459 } && test -s conftest.$ac_objext; then 3758 4460 ac_header_compiler=yes 3759 4461 else 3760 echo "$as_me: failed program was:" >&54462 $as_echo "$as_me: failed program was:" >&5 3761 4463 sed 's/^/| /' conftest.$ac_ext >&5 3762 4464 3763 ac_header_compiler=no 3764 fi 3765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3766 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3767 echo "${ECHO_T}$ac_header_compiler" >&6 4465 ac_header_compiler=no 4466 fi 4467 4468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4469 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4470 $as_echo "$ac_header_compiler" >&6; } 3768 4471 3769 4472 # Is the header present? 3770 echo "$as_me:$LINENO: checking $ac_header presence" >&53771 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4473 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 4474 $as_echo_n "checking $ac_header presence... " >&6; } 3772 4475 cat >conftest.$ac_ext <<_ACEOF 3773 4476 /* confdefs.h. */ … … 3778 4481 #include <$ac_header> 3779 4482 _ACEOF 3780 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3781 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4483 if { (ac_try="$ac_cpp conftest.$ac_ext" 4484 case "(($ac_try" in 4485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4486 *) ac_try_echo=$ac_try;; 4487 esac 4488 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4489 $as_echo "$ac_try_echo") >&5 4490 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3782 4491 ac_status=$? 3783 4492 grep -v '^ *+' conftest.er1 >conftest.err 3784 4493 rm -f conftest.er1 3785 4494 cat conftest.err >&5 3786 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3787 (exit $ac_status); } >/dev/null; then 3788 if test -s conftest.err; then 3789 ac_cpp_err=$ac_c_preproc_warn_flag 3790 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3791 else 3792 ac_cpp_err= 3793 fi 3794 else 3795 ac_cpp_err=yes 3796 fi 3797 if test -z "$ac_cpp_err"; then 4495 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4496 (exit $ac_status); } >/dev/null && { 4497 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4498 test ! -s conftest.err 4499 }; then 3798 4500 ac_header_preproc=yes 3799 4501 else 3800 echo "$as_me: failed program was:" >&54502 $as_echo "$as_me: failed program was:" >&5 3801 4503 sed 's/^/| /' conftest.$ac_ext >&5 3802 4504 3803 4505 ac_header_preproc=no 3804 4506 fi 4507 3805 4508 rm -f conftest.err conftest.$ac_ext 3806 echo "$as_me:$LINENO: result: $ac_header_preproc" >&53807 echo "${ECHO_T}$ac_header_preproc" >&6 4509 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4510 $as_echo "$ac_header_preproc" >&6; } 3808 4511 3809 4512 # So? What about this header? 3810 4513 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3811 4514 yes:no: ) 3812 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&53813 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}3814 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&53815 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}4515 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4516 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4517 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4518 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3816 4519 ac_header_preproc=yes 3817 4520 ;; 3818 4521 no:yes:* ) 3819 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3820 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3821 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3822 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3823 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3824 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3825 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3826 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3828 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3829 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3830 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3831 ( 3832 cat <<\_ASBOX 3833 ## ------------------------------- ## 3834 ## Report this to the gdbm lists. ## 3835 ## ------------------------------- ## 3836 _ASBOX 3837 ) | 3838 sed "s/^/$as_me: WARNING: /" >&2 4522 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4523 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4524 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4525 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4526 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4527 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4528 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4529 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4530 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4531 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4532 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4533 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4534 3839 4535 ;; 3840 4536 esac 3841 echo "$as_me:$LINENO: checking for $ac_header" >&53842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3843 if eval "test \"\${$as_ac_Header+set}\" = set"; then3844 echo $ECHO_N "(cached) $ECHO_C" >&64537 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4538 $as_echo_n "checking for $ac_header... " >&6; } 4539 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4540 $as_echo_n "(cached) " >&6 3845 4541 else 3846 4542 eval "$as_ac_Header=\$ac_header_preproc" 3847 4543 fi 3848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3850 3851 fi 3852 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4544 ac_res=`eval 'as_val=${'$as_ac_Header'} 4545 $as_echo "$as_val"'` 4546 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4547 $as_echo "$ac_res" >&6; } 4548 4549 fi 4550 as_val=`eval 'as_val=${'$as_ac_Header'} 4551 $as_echo "$as_val"'` 4552 if test "x$as_val" = x""yes; then 3853 4553 cat >>confdefs.h <<_ACEOF 3854 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 14554 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3855 4555 _ACEOF 3856 4556 … … 3867 4567 file_magic*) 3868 4568 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 3869 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&53870 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 4569 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 4570 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 3871 4571 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 3872 echo $ECHO_N "(cached) $ECHO_C" >&64572 $as_echo_n "(cached) " >&6 3873 4573 else 3874 4574 case $MAGIC_CMD in … … 3922 4622 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 3923 4623 if test -n "$MAGIC_CMD"; then 3924 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&53925 echo "${ECHO_T}$MAGIC_CMD" >&6 3926 else 3927 echo "$as_me:$LINENO: result: no" >&53928 echo "${ECHO_T}no" >&6 4624 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 4625 $as_echo "$MAGIC_CMD" >&6; } 4626 else 4627 { $as_echo "$as_me:$LINENO: result: no" >&5 4628 $as_echo "no" >&6; } 3929 4629 fi 3930 4630 3931 4631 if test -z "$lt_cv_path_MAGIC_CMD"; then 3932 4632 if test -n "$ac_tool_prefix"; then 3933 echo "$as_me:$LINENO: checking for file" >&53934 echo $ECHO_N "checking for file... $ECHO_C" >&6 4633 { $as_echo "$as_me:$LINENO: checking for file" >&5 4634 $as_echo_n "checking for file... " >&6; } 3935 4635 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 3936 echo $ECHO_N "(cached) $ECHO_C" >&64636 $as_echo_n "(cached) " >&6 3937 4637 else 3938 4638 case $MAGIC_CMD in … … 3986 4686 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 3987 4687 if test -n "$MAGIC_CMD"; then 3988 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&53989 echo "${ECHO_T}$MAGIC_CMD" >&6 3990 else 3991 echo "$as_me:$LINENO: result: no" >&53992 echo "${ECHO_T}no" >&6 4688 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 4689 $as_echo "$MAGIC_CMD" >&6; } 4690 else 4691 { $as_echo "$as_me:$LINENO: result: no" >&5 4692 $as_echo "no" >&6; } 3993 4693 fi 3994 4694 … … 4005 4705 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4006 4706 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4007 echo "$as_me:$LINENO: checking for $ac_word" >&54008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4707 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4708 $as_echo_n "checking for $ac_word... " >&6; } 4009 4709 if test "${ac_cv_prog_RANLIB+set}" = set; then 4010 echo $ECHO_N "(cached) $ECHO_C" >&64710 $as_echo_n "(cached) " >&6 4011 4711 else 4012 4712 if test -n "$RANLIB"; then … … 4019 4719 test -z "$as_dir" && as_dir=. 4020 4720 for ac_exec_ext in '' $ac_executable_extensions; do 4021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4022 4722 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54723 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4024 4724 break 2 4025 4725 fi 4026 4726 done 4027 4727 done 4728 IFS=$as_save_IFS 4028 4729 4029 4730 fi … … 4031 4732 RANLIB=$ac_cv_prog_RANLIB 4032 4733 if test -n "$RANLIB"; then 4033 echo "$as_me:$LINENO: result: $RANLIB" >&5 4034 echo "${ECHO_T}$RANLIB" >&6 4035 else 4036 echo "$as_me:$LINENO: result: no" >&5 4037 echo "${ECHO_T}no" >&6 4038 fi 4734 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 4735 $as_echo "$RANLIB" >&6; } 4736 else 4737 { $as_echo "$as_me:$LINENO: result: no" >&5 4738 $as_echo "no" >&6; } 4739 fi 4740 4039 4741 4040 4742 fi … … 4043 4745 # Extract the first word of "ranlib", so it can be a program name with args. 4044 4746 set dummy ranlib; ac_word=$2 4045 echo "$as_me:$LINENO: checking for $ac_word" >&54046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4747 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4748 $as_echo_n "checking for $ac_word... " >&6; } 4047 4749 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 4048 echo $ECHO_N "(cached) $ECHO_C" >&64750 $as_echo_n "(cached) " >&6 4049 4751 else 4050 4752 if test -n "$ac_ct_RANLIB"; then … … 4057 4759 test -z "$as_dir" && as_dir=. 4058 4760 for ac_exec_ext in '' $ac_executable_extensions; do 4059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4060 4762 ac_cv_prog_ac_ct_RANLIB="ranlib" 4061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54763 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4062 4764 break 2 4063 4765 fi 4064 4766 done 4065 4767 done 4066 4067 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 4768 IFS=$as_save_IFS 4769 4068 4770 fi 4069 4771 fi 4070 4772 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4071 4773 if test -n "$ac_ct_RANLIB"; then 4072 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 4073 echo "${ECHO_T}$ac_ct_RANLIB" >&6 4074 else 4075 echo "$as_me:$LINENO: result: no" >&5 4076 echo "${ECHO_T}no" >&6 4077 fi 4078 4079 RANLIB=$ac_ct_RANLIB 4774 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 4775 $as_echo "$ac_ct_RANLIB" >&6; } 4776 else 4777 { $as_echo "$as_me:$LINENO: result: no" >&5 4778 $as_echo "no" >&6; } 4779 fi 4780 4781 if test "x$ac_ct_RANLIB" = x; then 4782 RANLIB=":" 4783 else 4784 case $cross_compiling:$ac_tool_warned in 4785 yes:) 4786 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4788 ac_tool_warned=yes ;; 4789 esac 4790 RANLIB=$ac_ct_RANLIB 4791 fi 4080 4792 else 4081 4793 RANLIB="$ac_cv_prog_RANLIB" … … 4085 4797 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 4086 4798 set dummy ${ac_tool_prefix}strip; ac_word=$2 4087 echo "$as_me:$LINENO: checking for $ac_word" >&54088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4799 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4800 $as_echo_n "checking for $ac_word... " >&6; } 4089 4801 if test "${ac_cv_prog_STRIP+set}" = set; then 4090 echo $ECHO_N "(cached) $ECHO_C" >&64802 $as_echo_n "(cached) " >&6 4091 4803 else 4092 4804 if test -n "$STRIP"; then … … 4099 4811 test -z "$as_dir" && as_dir=. 4100 4812 for ac_exec_ext in '' $ac_executable_extensions; do 4101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4102 4814 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 4103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54815 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4104 4816 break 2 4105 4817 fi 4106 4818 done 4107 4819 done 4820 IFS=$as_save_IFS 4108 4821 4109 4822 fi … … 4111 4824 STRIP=$ac_cv_prog_STRIP 4112 4825 if test -n "$STRIP"; then 4113 echo "$as_me:$LINENO: result: $STRIP" >&5 4114 echo "${ECHO_T}$STRIP" >&6 4115 else 4116 echo "$as_me:$LINENO: result: no" >&5 4117 echo "${ECHO_T}no" >&6 4118 fi 4826 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 4827 $as_echo "$STRIP" >&6; } 4828 else 4829 { $as_echo "$as_me:$LINENO: result: no" >&5 4830 $as_echo "no" >&6; } 4831 fi 4832 4119 4833 4120 4834 fi … … 4123 4837 # Extract the first word of "strip", so it can be a program name with args. 4124 4838 set dummy strip; ac_word=$2 4125 echo "$as_me:$LINENO: checking for $ac_word" >&54126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4839 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4840 $as_echo_n "checking for $ac_word... " >&6; } 4127 4841 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 4128 echo $ECHO_N "(cached) $ECHO_C" >&64842 $as_echo_n "(cached) " >&6 4129 4843 else 4130 4844 if test -n "$ac_ct_STRIP"; then … … 4137 4851 test -z "$as_dir" && as_dir=. 4138 4852 for ac_exec_ext in '' $ac_executable_extensions; do 4139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4140 4854 ac_cv_prog_ac_ct_STRIP="strip" 4141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54855 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4142 4856 break 2 4143 4857 fi 4144 4858 done 4145 4859 done 4146 4147 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 4860 IFS=$as_save_IFS 4861 4148 4862 fi 4149 4863 fi 4150 4864 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 4151 4865 if test -n "$ac_ct_STRIP"; then 4152 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 4153 echo "${ECHO_T}$ac_ct_STRIP" >&6 4154 else 4155 echo "$as_me:$LINENO: result: no" >&5 4156 echo "${ECHO_T}no" >&6 4157 fi 4158 4159 STRIP=$ac_ct_STRIP 4866 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 4867 $as_echo "$ac_ct_STRIP" >&6; } 4868 else 4869 { $as_echo "$as_me:$LINENO: result: no" >&5 4870 $as_echo "no" >&6; } 4871 fi 4872 4873 if test "x$ac_ct_STRIP" = x; then 4874 STRIP=":" 4875 else 4876 case $cross_compiling:$ac_tool_warned in 4877 yes:) 4878 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4879 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4880 ac_tool_warned=yes ;; 4881 esac 4882 STRIP=$ac_ct_STRIP 4883 fi 4160 4884 else 4161 4885 STRIP="$ac_cv_prog_STRIP" … … 4166 4890 enable_win32_dll=no 4167 4891 4168 # Check whether --enable-libtool-lock or --disable-libtool-lockwas given.4892 # Check whether --enable-libtool-lock was given. 4169 4893 if test "${enable_libtool_lock+set}" = set; then 4170 enableval= "$enable_libtool_lock"4171 4172 fi; 4894 enableval=$enable_libtool_lock; 4895 fi 4896 4173 4897 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 4174 4898 … … 4178 4902 *-*-irix6*) 4179 4903 # Find out which ABI we are using. 4180 echo '#line 4 180"configure"' > conftest.$ac_ext4904 echo '#line 4904 "configure"' > conftest.$ac_ext 4181 4905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4182 4906 (eval $ac_compile) 2>&5 4183 4907 ac_status=$? 4184 echo "$as_me:$LINENO: \$? = $ac_status" >&54908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4185 4909 (exit $ac_status); }; then 4186 4910 case `/usr/bin/file conftest.$ac_objext` in … … 4203 4927 SAVE_CFLAGS="$CFLAGS" 4204 4928 CFLAGS="$CFLAGS -belf" 4205 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&54206 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 4929 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 4930 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } 4207 4931 if test "${lt_cv_cc_needs_belf+set}" = set; then 4208 echo $ECHO_N "(cached) $ECHO_C" >&6 4209 else 4210 4932 $as_echo_n "(cached) " >&6 4933 else 4211 4934 4212 4935 ac_ext=c … … 4232 4955 _ACEOF 4233 4956 rm -f conftest.$ac_objext conftest$ac_exeext 4234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4235 (eval $ac_link) 2>conftest.er1 4957 if { (ac_try="$ac_link" 4958 case "(($ac_try" in 4959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4960 *) ac_try_echo=$ac_try;; 4961 esac 4962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4963 $as_echo "$ac_try_echo") >&5 4964 (eval "$ac_link") 2>conftest.er1 4236 4965 ac_status=$? 4237 4966 grep -v '^ *+' conftest.er1 >conftest.err 4238 4967 rm -f conftest.er1 4239 4968 cat conftest.err >&5 4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4241 (exit $ac_status); } && 4242 { ac_try='test -z "$ac_c_werror_flag" 4243 || test ! -s conftest.err' 4244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4245 (eval $ac_try) 2>&5 4246 ac_status=$? 4247 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4248 (exit $ac_status); }; } && 4249 { ac_try='test -s conftest$ac_exeext' 4250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4251 (eval $ac_try) 2>&5 4252 ac_status=$? 4253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4254 (exit $ac_status); }; }; then 4969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4970 (exit $ac_status); } && { 4971 test -z "$ac_c_werror_flag" || 4972 test ! -s conftest.err 4973 } && test -s conftest$ac_exeext && { 4974 test "$cross_compiling" = yes || 4975 $as_test_x conftest$ac_exeext 4976 }; then 4255 4977 lt_cv_cc_needs_belf=yes 4256 4978 else 4257 echo "$as_me: failed program was:" >&54979 $as_echo "$as_me: failed program was:" >&5 4258 4980 sed 's/^/| /' conftest.$ac_ext >&5 4259 4981 4260 lt_cv_cc_needs_belf=no 4261 fi 4262 rm -f conftest.err conftest.$ac_objext \ 4982 lt_cv_cc_needs_belf=no 4983 fi 4984 4985 rm -rf conftest.dSYM 4986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4263 4987 conftest$ac_exeext conftest.$ac_ext 4264 4988 ac_ext=c … … 4269 4993 4270 4994 fi 4271 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&54272 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 4995 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 4996 $as_echo "$lt_cv_cc_needs_belf" >&6; } 4273 4997 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 4274 4998 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf … … 4372 5096 ## FIXME: this should be a separate macro 4373 5097 ## 4374 echo "$as_me:$LINENO: checking for objdir" >&54375 echo $ECHO_N "checking for objdir... $ECHO_C" >&6 5098 { $as_echo "$as_me:$LINENO: checking for objdir" >&5 5099 $as_echo_n "checking for objdir... " >&6; } 4376 5100 rm -f .libs 2>/dev/null 4377 5101 mkdir .libs 2>/dev/null … … 4383 5107 fi 4384 5108 rmdir .libs 2>/dev/null 4385 echo "$as_me:$LINENO: result: $objdir" >&54386 echo "${ECHO_T}$objdir" >&6 5109 { $as_echo "$as_me:$LINENO: result: $objdir" >&5 5110 $as_echo "$objdir" >&6; } 4387 5111 ## 4388 5112 ## END FIXME … … 4392 5116 ## 4393 5117 4394 # Check whether --with-pic or --without-picwas given.5118 # Check whether --with-pic was given. 4395 5119 if test "${with_pic+set}" = set; then 4396 withval="$with_pic" 4397 pic_mode="$withval" 5120 withval=$with_pic; pic_mode="$withval" 4398 5121 else 4399 5122 pic_mode=default 4400 fi; 5123 fi 5124 4401 5125 test -z "$pic_mode" && pic_mode=default 4402 5126 … … 4404 5128 # in isolation, and that seeing it set (from the cache) indicates that 4405 5129 # the associated values are set (in the cache) correctly too. 4406 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&54407 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 5130 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 5131 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 4408 5132 if test "${lt_cv_prog_cc_pic+set}" = set; then 4409 echo $ECHO_N "(cached) $ECHO_C" >&65133 $as_echo_n "(cached) " >&6 4410 5134 else 4411 5135 lt_cv_prog_cc_pic= … … 4551 5275 4552 5276 if test -z "$lt_cv_prog_cc_pic"; then 4553 echo "$as_me:$LINENO: result: none" >&54554 echo "${ECHO_T}none" >&6 4555 else 4556 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&54557 echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6 5277 { $as_echo "$as_me:$LINENO: result: none" >&5 5278 $as_echo "none" >&6; } 5279 else 5280 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5 5281 $as_echo "$lt_cv_prog_cc_pic" >&6; } 4558 5282 4559 5283 # Check to make sure the pic_flag actually works. 4560 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&54561 echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6 5284 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 5285 $as_echo_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... " >&6; } 4562 5286 if test "${lt_cv_prog_cc_pic_works+set}" = set; then 4563 echo $ECHO_N "(cached) $ECHO_C" >&65287 $as_echo_n "(cached) " >&6 4564 5288 else 4565 5289 save_CFLAGS="$CFLAGS" … … 4581 5305 _ACEOF 4582 5306 rm -f conftest.$ac_objext 4583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4584 (eval $ac_compile) 2>conftest.er1 5307 if { (ac_try="$ac_compile" 5308 case "(($ac_try" in 5309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5310 *) ac_try_echo=$ac_try;; 5311 esac 5312 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5313 $as_echo "$ac_try_echo") >&5 5314 (eval "$ac_compile") 2>conftest.er1 4585 5315 ac_status=$? 4586 5316 grep -v '^ *+' conftest.er1 >conftest.err 4587 5317 rm -f conftest.er1 4588 5318 cat conftest.err >&5 4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4590 (exit $ac_status); } && 4591 { ac_try='test -z "$ac_c_werror_flag" 4592 || test ! -s conftest.err' 4593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4594 (eval $ac_try) 2>&5 4595 ac_status=$? 4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4597 (exit $ac_status); }; } && 4598 { ac_try='test -s conftest.$ac_objext' 4599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4600 (eval $ac_try) 2>&5 4601 ac_status=$? 4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4603 (exit $ac_status); }; }; then 5319 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5320 (exit $ac_status); } && { 5321 test -z "$ac_c_werror_flag" || 5322 test ! -s conftest.err 5323 } && test -s conftest.$ac_objext; then 4604 5324 case $host_os in 4605 5325 hpux9* | hpux10* | hpux11*) … … 4619 5339 4620 5340 else 4621 echo "$as_me: failed program was:" >&55341 $as_echo "$as_me: failed program was:" >&5 4622 5342 sed 's/^/| /' conftest.$ac_ext >&5 4623 5343 4624 lt_cv_prog_cc_pic_works=no 4625 4626 fi 4627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5344 lt_cv_prog_cc_pic_works=no 5345 5346 fi 5347 5348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4628 5349 CFLAGS="$save_CFLAGS" 4629 5350 … … 4638 5359 fi 4639 5360 4640 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&54641 echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6 5361 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5 5362 $as_echo "$lt_cv_prog_cc_pic_works" >&6; } 4642 5363 fi 4643 5364 ## … … 4646 5367 # Check for any special shared library compilation flags. 4647 5368 if test -n "$lt_cv_prog_cc_shlib"; then 4648 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&54649 echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}5369 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5 5370 $as_echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;} 4650 5371 if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then : 4651 5372 else 4652 { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&54653 echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}5373 { $as_echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 5374 $as_echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} 4654 5375 lt_cv_prog_cc_can_build_shared=no 4655 5376 fi … … 4658 5379 ## FIXME: this should be a separate macro 4659 5380 ## 4660 echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&54661 echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6 5381 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 5382 $as_echo_n "checking if $compiler static flag $lt_cv_prog_cc_static works... " >&6; } 4662 5383 if test "${lt_cv_prog_cc_static_works+set}" = set; then 4663 echo $ECHO_N "(cached) $ECHO_C" >&65384 $as_echo_n "(cached) " >&6 4664 5385 else 4665 5386 lt_cv_prog_cc_static_works=no … … 4682 5403 _ACEOF 4683 5404 rm -f conftest.$ac_objext conftest$ac_exeext 4684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4685 (eval $ac_link) 2>conftest.er1 5405 if { (ac_try="$ac_link" 5406 case "(($ac_try" in 5407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5408 *) ac_try_echo=$ac_try;; 5409 esac 5410 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5411 $as_echo "$ac_try_echo") >&5 5412 (eval "$ac_link") 2>conftest.er1 4686 5413 ac_status=$? 4687 5414 grep -v '^ *+' conftest.er1 >conftest.err 4688 5415 rm -f conftest.er1 4689 5416 cat conftest.err >&5 4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4691 (exit $ac_status); } && 4692 { ac_try='test -z "$ac_c_werror_flag" 4693 || test ! -s conftest.err' 4694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4695 (eval $ac_try) 2>&5 4696 ac_status=$? 4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4698 (exit $ac_status); }; } && 4699 { ac_try='test -s conftest$ac_exeext' 4700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4701 (eval $ac_try) 2>&5 4702 ac_status=$? 4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4704 (exit $ac_status); }; }; then 5417 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5418 (exit $ac_status); } && { 5419 test -z "$ac_c_werror_flag" || 5420 test ! -s conftest.err 5421 } && test -s conftest$ac_exeext && { 5422 test "$cross_compiling" = yes || 5423 $as_test_x conftest$ac_exeext 5424 }; then 4705 5425 lt_cv_prog_cc_static_works=yes 4706 5426 else 4707 echo "$as_me: failed program was:" >&55427 $as_echo "$as_me: failed program was:" >&5 4708 5428 sed 's/^/| /' conftest.$ac_ext >&5 4709 5429 4710 fi 4711 rm -f conftest.err conftest.$ac_objext \ 5430 5431 fi 5432 5433 rm -rf conftest.dSYM 5434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4712 5435 conftest$ac_exeext conftest.$ac_ext 4713 5436 LDFLAGS="$save_LDFLAGS" … … 4718 5441 # Belt *and* braces to stop my trousers falling down: 4719 5442 test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= 4720 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&54721 echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6 5443 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5 5444 $as_echo "$lt_cv_prog_cc_static_works" >&6; } 4722 5445 4723 5446 pic_flag="$lt_cv_prog_cc_pic" … … 4734 5457 ## 4735 5458 # Check to see if options -o and -c are simultaneously supported by compiler 4736 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&54737 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 5459 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 5460 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 4738 5461 if test "${lt_cv_compiler_c_o+set}" = set; then 4739 echo $ECHO_N "(cached) $ECHO_C" >&65462 $as_echo_n "(cached) " >&6 4740 5463 else 4741 5464 … … 4754 5477 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 4755 5478 compiler_c_o=no 4756 if { (eval echo configure: 4756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then5479 if { (eval echo configure:5479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then 4757 5480 # The compiler can only warn and ignore the option if not recognized 4758 5481 # So say no if there are warnings … … 4778 5501 4779 5502 compiler_c_o=$lt_cv_compiler_c_o 4780 echo "$as_me:$LINENO: result: $compiler_c_o" >&54781 echo "${ECHO_T}$compiler_c_o" >&6 5503 { $as_echo "$as_me:$LINENO: result: $compiler_c_o" >&5 5504 $as_echo "$compiler_c_o" >&6; } 4782 5505 4783 5506 if test x"$compiler_c_o" = x"yes"; then 4784 5507 # Check to see if we can write to a .lo 4785 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&54786 echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6 5508 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5 5509 $as_echo_n "checking if $compiler supports -c -o file.lo... " >&6; } 4787 5510 if test "${lt_cv_compiler_o_lo+set}" = set; then 4788 echo $ECHO_N "(cached) $ECHO_C" >&65511 $as_echo_n "(cached) " >&6 4789 5512 else 4790 5513 … … 4810 5533 _ACEOF 4811 5534 rm -f conftest.$ac_objext 4812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4813 (eval $ac_compile) 2>conftest.er1 5535 if { (ac_try="$ac_compile" 5536 case "(($ac_try" in 5537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5538 *) ac_try_echo=$ac_try;; 5539 esac 5540 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5541 $as_echo "$ac_try_echo") >&5 5542 (eval "$ac_compile") 2>conftest.er1 4814 5543 ac_status=$? 4815 5544 grep -v '^ *+' conftest.er1 >conftest.err 4816 5545 rm -f conftest.er1 4817 5546 cat conftest.err >&5 4818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4819 (exit $ac_status); } && 4820 { ac_try='test -z "$ac_c_werror_flag" 4821 || test ! -s conftest.err' 4822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4823 (eval $ac_try) 2>&5 4824 ac_status=$? 4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4826 (exit $ac_status); }; } && 4827 { ac_try='test -s conftest.$ac_objext' 4828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4829 (eval $ac_try) 2>&5 4830 ac_status=$? 4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4832 (exit $ac_status); }; }; then 5547 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5548 (exit $ac_status); } && { 5549 test -z "$ac_c_werror_flag" || 5550 test ! -s conftest.err 5551 } && test -s conftest.$ac_objext; then 4833 5552 # The compiler can only warn and ignore the option if not recognized 4834 5553 # So say no if there are warnings … … 4840 5559 4841 5560 else 4842 echo "$as_me: failed program was:" >&55561 $as_echo "$as_me: failed program was:" >&5 4843 5562 sed 's/^/| /' conftest.$ac_ext >&5 4844 5563 4845 fi 4846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5564 5565 fi 5566 5567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4847 5568 ac_objext="$save_objext" 4848 5569 CFLAGS="$save_CFLAGS" … … 4851 5572 4852 5573 compiler_o_lo=$lt_cv_compiler_o_lo 4853 echo "$as_me:$LINENO: result: $compiler_o_lo" >&54854 echo "${ECHO_T}$compiler_o_lo" >&6 5574 { $as_echo "$as_me:$LINENO: result: $compiler_o_lo" >&5 5575 $as_echo "$compiler_o_lo" >&6; } 4855 5576 else 4856 5577 compiler_o_lo=no … … 4865 5586 if test "$compiler_c_o" = no && test "$need_locks" != no; then 4866 5587 # do not overwrite the value of need_locks provided by the user 4867 echo "$as_me:$LINENO: checking if we can lock with hard links" >&54868 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 5588 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 5589 $as_echo_n "checking if we can lock with hard links... " >&6; } 4869 5590 hard_links=yes 4870 5591 $rm conftest* … … 4873 5594 ln conftest.a conftest.b 2>&5 || hard_links=no 4874 5595 ln conftest.a conftest.b 2>/dev/null && hard_links=no 4875 echo "$as_me:$LINENO: result: $hard_links" >&54876 echo "${ECHO_T}$hard_links" >&6 5596 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 5597 $as_echo "$hard_links" >&6; } 4877 5598 if test "$hard_links" = no; then 4878 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&54879 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}5599 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 5600 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 4880 5601 need_locks=warn 4881 5602 fi … … 4890 5611 if test "$GCC" = yes; then 4891 5612 # Check to see if options -fno-rtti -fno-exceptions are supported by compiler 4892 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&54893 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 5613 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 5614 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 4894 5615 echo "int some_variable = 0;" > conftest.$ac_ext 4895 5616 save_CFLAGS="$CFLAGS" … … 4912 5633 _ACEOF 4913 5634 rm -f conftest.$ac_objext 4914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4915 (eval $ac_compile) 2>conftest.er1 5635 if { (ac_try="$ac_compile" 5636 case "(($ac_try" in 5637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5638 *) ac_try_echo=$ac_try;; 5639 esac 5640 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5641 $as_echo "$ac_try_echo") >&5 5642 (eval "$ac_compile") 2>conftest.er1 4916 5643 ac_status=$? 4917 5644 grep -v '^ *+' conftest.er1 >conftest.err 4918 5645 rm -f conftest.er1 4919 5646 cat conftest.err >&5 4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4921 (exit $ac_status); } && 4922 { ac_try='test -z "$ac_c_werror_flag" 4923 || test ! -s conftest.err' 4924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4925 (eval $ac_try) 2>&5 4926 ac_status=$? 4927 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4928 (exit $ac_status); }; } && 4929 { ac_try='test -s conftest.$ac_objext' 4930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4931 (eval $ac_try) 2>&5 4932 ac_status=$? 4933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4934 (exit $ac_status); }; }; then 5647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5648 (exit $ac_status); } && { 5649 test -z "$ac_c_werror_flag" || 5650 test ! -s conftest.err 5651 } && test -s conftest.$ac_objext; then 4935 5652 # The compiler can only warn and ignore the option if not recognized 4936 5653 # So say no if there are warnings … … 4942 5659 4943 5660 else 4944 echo "$as_me: failed program was:" >&55661 $as_echo "$as_me: failed program was:" >&5 4945 5662 sed 's/^/| /' conftest.$ac_ext >&5 4946 5663 4947 fi 4948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5664 5665 fi 5666 5667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4949 5668 CFLAGS="$save_CFLAGS" 4950 echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&54951 echo "${ECHO_T}$compiler_rtti_exceptions" >&6 5669 { $as_echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5 5670 $as_echo "$compiler_rtti_exceptions" >&6; } 4952 5671 4953 5672 if test "$compiler_rtti_exceptions" = "yes"; then … … 4963 5682 ## 4964 5683 # See if the linker supports building shared libraries. 4965 echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&54966 echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6 5684 { $as_echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5 5685 $as_echo_n "checking whether the linker ($LD) supports shared libraries... " >&6; } 4967 5686 4968 5687 allow_undefined_flag= … … 5643 6362 esac 5644 6363 fi 5645 echo "$as_me:$LINENO: result: $ld_shlibs" >&55646 echo "${ECHO_T}$ld_shlibs" >&6 6364 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 6365 $as_echo "$ld_shlibs" >&6; } 5647 6366 test "$ld_shlibs" = no && can_build_shared=no 5648 6367 ## … … 5652 6371 ## 5653 6372 # Check hardcoding attributes. 5654 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&55655 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 6373 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 6374 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } 5656 6375 hardcode_action= 5657 6376 if test -n "$hardcode_libdir_flag_spec" || \ … … 5676 6395 hardcode_action=unsupported 5677 6396 fi 5678 echo "$as_me:$LINENO: result: $hardcode_action" >&55679 echo "${ECHO_T}$hardcode_action" >&6 6397 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 6398 $as_echo "$hardcode_action" >&6; } 5680 6399 ## 5681 6400 ## END FIXME … … 5685 6404 striplib= 5686 6405 old_striplib= 5687 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&55688 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 6406 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 6407 $as_echo_n "checking whether stripping libraries is possible... " >&6; } 5689 6408 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 5690 6409 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 5691 6410 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 5692 echo "$as_me:$LINENO: result: yes" >&55693 echo "${ECHO_T}yes" >&6 5694 else 5695 echo "$as_me:$LINENO: result: no" >&55696 echo "${ECHO_T}no" >&6 6411 { $as_echo "$as_me:$LINENO: result: yes" >&5 6412 $as_echo "yes" >&6; } 6413 else 6414 { $as_echo "$as_me:$LINENO: result: no" >&5 6415 $as_echo "no" >&6; } 5697 6416 fi 5698 6417 ## … … 5705 6424 ## 5706 6425 # PORTME Fill in your ld.so characteristics 5707 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&55708 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 6426 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 6427 $as_echo_n "checking dynamic linker characteristics... " >&6; } 5709 6428 library_names_spec= 5710 6429 libname_spec='lib$name' … … 6098 6817 ;; 6099 6818 esac 6100 echo "$as_me:$LINENO: result: $dynamic_linker" >&56101 echo "${ECHO_T}$dynamic_linker" >&6 6819 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 6820 $as_echo "$dynamic_linker" >&6; } 6102 6821 test "$dynamic_linker" = no && can_build_shared=no 6103 6822 ## … … 6107 6826 ## 6108 6827 # Report the final consequences. 6109 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&56110 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 6111 echo "$as_me:$LINENO: result: $can_build_shared" >&56112 echo "${ECHO_T}$can_build_shared" >&6 6828 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 6829 $as_echo_n "checking if libtool supports shared libraries... " >&6; } 6830 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 6831 $as_echo "$can_build_shared" >&6; } 6113 6832 ## 6114 6833 ## END FIXME … … 6116 6835 ## FIXME: this should be a separate macro 6117 6836 ## 6118 echo "$as_me:$LINENO: checking whether to build shared libraries" >&56119 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 6837 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 6838 $as_echo_n "checking whether to build shared libraries... " >&6; } 6120 6839 test "$can_build_shared" = "no" && enable_shared=no 6121 6840 … … 6137 6856 ;; 6138 6857 esac 6139 echo "$as_me:$LINENO: result: $enable_shared" >&56140 echo "${ECHO_T}$enable_shared" >&6 6858 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 6859 $as_echo "$enable_shared" >&6; } 6141 6860 ## 6142 6861 ## END FIXME … … 6144 6863 ## FIXME: this should be a separate macro 6145 6864 ## 6146 echo "$as_me:$LINENO: checking whether to build static libraries" >&56147 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 6865 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 6866 $as_echo_n "checking whether to build static libraries... " >&6; } 6148 6867 # Make sure either enable_shared or enable_static is yes. 6149 6868 test "$enable_shared" = yes || enable_static=yes 6150 echo "$as_me:$LINENO: result: $enable_static" >&56151 echo "${ECHO_T}$enable_static" >&6 6869 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5 6870 $as_echo "$enable_static" >&6; } 6152 6871 ## 6153 6872 ## END FIXME … … 6188 6907 6189 6908 *) 6190 echo "$as_me:$LINENO: checking for shl_load" >&56191 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 6909 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5 6910 $as_echo_n "checking for shl_load... " >&6; } 6192 6911 if test "${ac_cv_func_shl_load+set}" = set; then 6193 echo $ECHO_N "(cached) $ECHO_C" >&66912 $as_echo_n "(cached) " >&6 6194 6913 else 6195 6914 cat >conftest.$ac_ext <<_ACEOF … … 6216 6935 #undef shl_load 6217 6936 6218 /* Override any gcc2 internal prototype to avoid an error. */ 6937 /* Override any GCC internal prototype to avoid an error. 6938 Use char because int might match the return type of a GCC 6939 builtin and then its argument prototype would still apply. */ 6219 6940 #ifdef __cplusplus 6220 6941 extern "C" 6221 {6222 6942 #endif 6223 /* We use char because int might match the return type of a gcc26224 builtin and then its argument prototype would still apply. */6225 6943 char shl_load (); 6226 6944 /* The GNU C library defines this for functions which it implements 6227 6945 to always fail with ENOSYS. Some functions are actually named 6228 6946 something starting with __ and the normal name is an alias. */ 6229 #if defined (__stub_shl_load) || defined (__stub___shl_load)6947 #if defined __stub_shl_load || defined __stub___shl_load 6230 6948 choke me 6231 #else6232 char (*f) () = shl_load;6233 #endif6234 #ifdef __cplusplus6235 }6236 6949 #endif 6237 6950 … … 6239 6952 main () 6240 6953 { 6241 return f != shl_load;6954 return shl_load (); 6242 6955 ; 6243 6956 return 0; … … 6245 6958 _ACEOF 6246 6959 rm -f conftest.$ac_objext conftest$ac_exeext 6247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6248 (eval $ac_link) 2>conftest.er1 6960 if { (ac_try="$ac_link" 6961 case "(($ac_try" in 6962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6963 *) ac_try_echo=$ac_try;; 6964 esac 6965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6966 $as_echo "$ac_try_echo") >&5 6967 (eval "$ac_link") 2>conftest.er1 6249 6968 ac_status=$? 6250 6969 grep -v '^ *+' conftest.er1 >conftest.err 6251 6970 rm -f conftest.er1 6252 6971 cat conftest.err >&5 6253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6254 (exit $ac_status); } && 6255 { ac_try='test -z "$ac_c_werror_flag" 6256 || test ! -s conftest.err' 6257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6258 (eval $ac_try) 2>&5 6259 ac_status=$? 6260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6261 (exit $ac_status); }; } && 6262 { ac_try='test -s conftest$ac_exeext' 6263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6264 (eval $ac_try) 2>&5 6265 ac_status=$? 6266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6267 (exit $ac_status); }; }; then 6972 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6973 (exit $ac_status); } && { 6974 test -z "$ac_c_werror_flag" || 6975 test ! -s conftest.err 6976 } && test -s conftest$ac_exeext && { 6977 test "$cross_compiling" = yes || 6978 $as_test_x conftest$ac_exeext 6979 }; then 6268 6980 ac_cv_func_shl_load=yes 6269 6981 else 6270 echo "$as_me: failed program was:" >&56982 $as_echo "$as_me: failed program was:" >&5 6271 6983 sed 's/^/| /' conftest.$ac_ext >&5 6272 6984 6273 ac_cv_func_shl_load=no 6274 fi 6275 rm -f conftest.err conftest.$ac_objext \ 6985 ac_cv_func_shl_load=no 6986 fi 6987 6988 rm -rf conftest.dSYM 6989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6276 6990 conftest$ac_exeext conftest.$ac_ext 6277 6991 fi 6278 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&56279 echo "${ECHO_T}$ac_cv_func_shl_load" >&6 6280 if test $ac_cv_func_shl_load =yes; then6992 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 6993 $as_echo "$ac_cv_func_shl_load" >&6; } 6994 if test "x$ac_cv_func_shl_load" = x""yes; then 6281 6995 lt_cv_dlopen="shl_load" 6282 6996 else 6283 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&56284 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 6997 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 6998 $as_echo_n "checking for shl_load in -ldld... " >&6; } 6285 6999 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 6286 echo $ECHO_N "(cached) $ECHO_C" >&67000 $as_echo_n "(cached) " >&6 6287 7001 else 6288 7002 ac_check_lib_save_LIBS=$LIBS … … 6295 7009 /* end confdefs.h. */ 6296 7010 6297 /* Override any gcc2 internal prototype to avoid an error. */ 7011 /* Override any GCC internal prototype to avoid an error. 7012 Use char because int might match the return type of a GCC 7013 builtin and then its argument prototype would still apply. */ 6298 7014 #ifdef __cplusplus 6299 7015 extern "C" 6300 7016 #endif 6301 /* We use char because int might match the return type of a gcc26302 builtin and then its argument prototype would still apply. */6303 7017 char shl_load (); 6304 7018 int 6305 7019 main () 6306 7020 { 6307 shl_load ();7021 return shl_load (); 6308 7022 ; 6309 7023 return 0; … … 6311 7025 _ACEOF 6312 7026 rm -f conftest.$ac_objext conftest$ac_exeext 6313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6314 (eval $ac_link) 2>conftest.er1 7027 if { (ac_try="$ac_link" 7028 case "(($ac_try" in 7029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7030 *) ac_try_echo=$ac_try;; 7031 esac 7032 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7033 $as_echo "$ac_try_echo") >&5 7034 (eval "$ac_link") 2>conftest.er1 6315 7035 ac_status=$? 6316 7036 grep -v '^ *+' conftest.er1 >conftest.err 6317 7037 rm -f conftest.er1 6318 7038 cat conftest.err >&5 6319 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6320 (exit $ac_status); } && 6321 { ac_try='test -z "$ac_c_werror_flag" 6322 || test ! -s conftest.err' 6323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6324 (eval $ac_try) 2>&5 6325 ac_status=$? 6326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6327 (exit $ac_status); }; } && 6328 { ac_try='test -s conftest$ac_exeext' 6329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6330 (eval $ac_try) 2>&5 6331 ac_status=$? 6332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6333 (exit $ac_status); }; }; then 7039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7040 (exit $ac_status); } && { 7041 test -z "$ac_c_werror_flag" || 7042 test ! -s conftest.err 7043 } && test -s conftest$ac_exeext && { 7044 test "$cross_compiling" = yes || 7045 $as_test_x conftest$ac_exeext 7046 }; then 6334 7047 ac_cv_lib_dld_shl_load=yes 6335 7048 else 6336 echo "$as_me: failed program was:" >&57049 $as_echo "$as_me: failed program was:" >&5 6337 7050 sed 's/^/| /' conftest.$ac_ext >&5 6338 7051 6339 ac_cv_lib_dld_shl_load=no 6340 fi 6341 rm -f conftest.err conftest.$ac_objext \ 7052 ac_cv_lib_dld_shl_load=no 7053 fi 7054 7055 rm -rf conftest.dSYM 7056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6342 7057 conftest$ac_exeext conftest.$ac_ext 6343 7058 LIBS=$ac_check_lib_save_LIBS 6344 7059 fi 6345 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&56346 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 6347 if test $ac_cv_lib_dld_shl_load =yes; then7060 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 7061 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 7062 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 6348 7063 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" 6349 7064 else 6350 echo "$as_me:$LINENO: checking for dlopen" >&56351 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 7065 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5 7066 $as_echo_n "checking for dlopen... " >&6; } 6352 7067 if test "${ac_cv_func_dlopen+set}" = set; then 6353 echo $ECHO_N "(cached) $ECHO_C" >&67068 $as_echo_n "(cached) " >&6 6354 7069 else 6355 7070 cat >conftest.$ac_ext <<_ACEOF … … 6376 7091 #undef dlopen 6377 7092 6378 /* Override any gcc2 internal prototype to avoid an error. */ 7093 /* Override any GCC internal prototype to avoid an error. 7094 Use char because int might match the return type of a GCC 7095 builtin and then its argument prototype would still apply. */ 6379 7096 #ifdef __cplusplus 6380 7097 extern "C" 6381 {6382 7098 #endif 6383 /* We use char because int might match the return type of a gcc26384 builtin and then its argument prototype would still apply. */6385 7099 char dlopen (); 6386 7100 /* The GNU C library defines this for functions which it implements 6387 7101 to always fail with ENOSYS. Some functions are actually named 6388 7102 something starting with __ and the normal name is an alias. */ 6389 #if defined (__stub_dlopen) || defined (__stub___dlopen)7103 #if defined __stub_dlopen || defined __stub___dlopen 6390 7104 choke me 6391 #else6392 char (*f) () = dlopen;6393 #endif6394 #ifdef __cplusplus6395 }6396 7105 #endif 6397 7106 … … 6399 7108 main () 6400 7109 { 6401 return f != dlopen;7110 return dlopen (); 6402 7111 ; 6403 7112 return 0; … … 6405 7114 _ACEOF 6406 7115 rm -f conftest.$ac_objext conftest$ac_exeext 6407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6408 (eval $ac_link) 2>conftest.er1 7116 if { (ac_try="$ac_link" 7117 case "(($ac_try" in 7118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7119 *) ac_try_echo=$ac_try;; 7120 esac 7121 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7122 $as_echo "$ac_try_echo") >&5 7123 (eval "$ac_link") 2>conftest.er1 6409 7124 ac_status=$? 6410 7125 grep -v '^ *+' conftest.er1 >conftest.err 6411 7126 rm -f conftest.er1 6412 7127 cat conftest.err >&5 6413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6414 (exit $ac_status); } && 6415 { ac_try='test -z "$ac_c_werror_flag" 6416 || test ! -s conftest.err' 6417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6418 (eval $ac_try) 2>&5 6419 ac_status=$? 6420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6421 (exit $ac_status); }; } && 6422 { ac_try='test -s conftest$ac_exeext' 6423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6424 (eval $ac_try) 2>&5 6425 ac_status=$? 6426 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6427 (exit $ac_status); }; }; then 7128 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7129 (exit $ac_status); } && { 7130 test -z "$ac_c_werror_flag" || 7131 test ! -s conftest.err 7132 } && test -s conftest$ac_exeext && { 7133 test "$cross_compiling" = yes || 7134 $as_test_x conftest$ac_exeext 7135 }; then 6428 7136 ac_cv_func_dlopen=yes 6429 7137 else 6430 echo "$as_me: failed program was:" >&57138 $as_echo "$as_me: failed program was:" >&5 6431 7139 sed 's/^/| /' conftest.$ac_ext >&5 6432 7140 6433 ac_cv_func_dlopen=no 6434 fi 6435 rm -f conftest.err conftest.$ac_objext \ 7141 ac_cv_func_dlopen=no 7142 fi 7143 7144 rm -rf conftest.dSYM 7145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6436 7146 conftest$ac_exeext conftest.$ac_ext 6437 7147 fi 6438 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&56439 echo "${ECHO_T}$ac_cv_func_dlopen" >&6 6440 if test $ac_cv_func_dlopen =yes; then7148 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 7149 $as_echo "$ac_cv_func_dlopen" >&6; } 7150 if test "x$ac_cv_func_dlopen" = x""yes; then 6441 7151 lt_cv_dlopen="dlopen" 6442 7152 else 6443 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&56444 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 7153 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 7154 $as_echo_n "checking for dlopen in -ldl... " >&6; } 6445 7155 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 6446 echo $ECHO_N "(cached) $ECHO_C" >&67156 $as_echo_n "(cached) " >&6 6447 7157 else 6448 7158 ac_check_lib_save_LIBS=$LIBS … … 6455 7165 /* end confdefs.h. */ 6456 7166 6457 /* Override any gcc2 internal prototype to avoid an error. */ 7167 /* Override any GCC internal prototype to avoid an error. 7168 Use char because int might match the return type of a GCC 7169 builtin and then its argument prototype would still apply. */ 6458 7170 #ifdef __cplusplus 6459 7171 extern "C" 6460 7172 #endif 6461 /* We use char because int might match the return type of a gcc26462 builtin and then its argument prototype would still apply. */6463 7173 char dlopen (); 6464 7174 int 6465 7175 main () 6466 7176 { 6467 dlopen ();7177 return dlopen (); 6468 7178 ; 6469 7179 return 0; … … 6471 7181 _ACEOF 6472 7182 rm -f conftest.$ac_objext conftest$ac_exeext 6473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6474 (eval $ac_link) 2>conftest.er1 7183 if { (ac_try="$ac_link" 7184 case "(($ac_try" in 7185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7186 *) ac_try_echo=$ac_try;; 7187 esac 7188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7189 $as_echo "$ac_try_echo") >&5 7190 (eval "$ac_link") 2>conftest.er1 6475 7191 ac_status=$? 6476 7192 grep -v '^ *+' conftest.er1 >conftest.err 6477 7193 rm -f conftest.er1 6478 7194 cat conftest.err >&5 6479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6480 (exit $ac_status); } && 6481 { ac_try='test -z "$ac_c_werror_flag" 6482 || test ! -s conftest.err' 6483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6484 (eval $ac_try) 2>&5 6485 ac_status=$? 6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6487 (exit $ac_status); }; } && 6488 { ac_try='test -s conftest$ac_exeext' 6489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6490 (eval $ac_try) 2>&5 6491 ac_status=$? 6492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6493 (exit $ac_status); }; }; then 7195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7196 (exit $ac_status); } && { 7197 test -z "$ac_c_werror_flag" || 7198 test ! -s conftest.err 7199 } && test -s conftest$ac_exeext && { 7200 test "$cross_compiling" = yes || 7201 $as_test_x conftest$ac_exeext 7202 }; then 6494 7203 ac_cv_lib_dl_dlopen=yes 6495 7204 else 6496 echo "$as_me: failed program was:" >&57205 $as_echo "$as_me: failed program was:" >&5 6497 7206 sed 's/^/| /' conftest.$ac_ext >&5 6498 7207 6499 ac_cv_lib_dl_dlopen=no 6500 fi 6501 rm -f conftest.err conftest.$ac_objext \ 7208 ac_cv_lib_dl_dlopen=no 7209 fi 7210 7211 rm -rf conftest.dSYM 7212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6502 7213 conftest$ac_exeext conftest.$ac_ext 6503 7214 LIBS=$ac_check_lib_save_LIBS 6504 7215 fi 6505 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&56506 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 6507 if test $ac_cv_lib_dl_dlopen =yes; then7216 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 7217 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 7218 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 6508 7219 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 6509 7220 else 6510 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&56511 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 7221 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 7222 $as_echo_n "checking for dlopen in -lsvld... " >&6; } 6512 7223 if test "${ac_cv_lib_svld_dlopen+set}" = set; then 6513 echo $ECHO_N "(cached) $ECHO_C" >&67224 $as_echo_n "(cached) " >&6 6514 7225 else 6515 7226 ac_check_lib_save_LIBS=$LIBS … … 6522 7233 /* end confdefs.h. */ 6523 7234 6524 /* Override any gcc2 internal prototype to avoid an error. */ 7235 /* Override any GCC internal prototype to avoid an error. 7236 Use char because int might match the return type of a GCC 7237 builtin and then its argument prototype would still apply. */ 6525 7238 #ifdef __cplusplus 6526 7239 extern "C" 6527 7240 #endif 6528 /* We use char because int might match the return type of a gcc26529 builtin and then its argument prototype would still apply. */6530 7241 char dlopen (); 6531 7242 int 6532 7243 main () 6533 7244 { 6534 dlopen ();7245 return dlopen (); 6535 7246 ; 6536 7247 return 0; … … 6538 7249 _ACEOF 6539 7250 rm -f conftest.$ac_objext conftest$ac_exeext 6540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6541 (eval $ac_link) 2>conftest.er1 7251 if { (ac_try="$ac_link" 7252 case "(($ac_try" in 7253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7254 *) ac_try_echo=$ac_try;; 7255 esac 7256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7257 $as_echo "$ac_try_echo") >&5 7258 (eval "$ac_link") 2>conftest.er1 6542 7259 ac_status=$? 6543 7260 grep -v '^ *+' conftest.er1 >conftest.err 6544 7261 rm -f conftest.er1 6545 7262 cat conftest.err >&5 6546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6547 (exit $ac_status); } && 6548 { ac_try='test -z "$ac_c_werror_flag" 6549 || test ! -s conftest.err' 6550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6551 (eval $ac_try) 2>&5 6552 ac_status=$? 6553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6554 (exit $ac_status); }; } && 6555 { ac_try='test -s conftest$ac_exeext' 6556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6557 (eval $ac_try) 2>&5 6558 ac_status=$? 6559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6560 (exit $ac_status); }; }; then 7263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7264 (exit $ac_status); } && { 7265 test -z "$ac_c_werror_flag" || 7266 test ! -s conftest.err 7267 } && test -s conftest$ac_exeext && { 7268 test "$cross_compiling" = yes || 7269 $as_test_x conftest$ac_exeext 7270 }; then 6561 7271 ac_cv_lib_svld_dlopen=yes 6562 7272 else 6563 echo "$as_me: failed program was:" >&57273 $as_echo "$as_me: failed program was:" >&5 6564 7274 sed 's/^/| /' conftest.$ac_ext >&5 6565 7275 6566 ac_cv_lib_svld_dlopen=no 6567 fi 6568 rm -f conftest.err conftest.$ac_objext \ 7276 ac_cv_lib_svld_dlopen=no 7277 fi 7278 7279 rm -rf conftest.dSYM 7280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6569 7281 conftest$ac_exeext conftest.$ac_ext 6570 7282 LIBS=$ac_check_lib_save_LIBS 6571 7283 fi 6572 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&56573 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 6574 if test $ac_cv_lib_svld_dlopen =yes; then7284 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 7285 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } 7286 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then 6575 7287 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 6576 7288 else 6577 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&56578 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 7289 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 7290 $as_echo_n "checking for dld_link in -ldld... " >&6; } 6579 7291 if test "${ac_cv_lib_dld_dld_link+set}" = set; then 6580 echo $ECHO_N "(cached) $ECHO_C" >&67292 $as_echo_n "(cached) " >&6 6581 7293 else 6582 7294 ac_check_lib_save_LIBS=$LIBS … … 6589 7301 /* end confdefs.h. */ 6590 7302 6591 /* Override any gcc2 internal prototype to avoid an error. */ 7303 /* Override any GCC internal prototype to avoid an error. 7304 Use char because int might match the return type of a GCC 7305 builtin and then its argument prototype would still apply. */ 6592 7306 #ifdef __cplusplus 6593 7307 extern "C" 6594 7308 #endif 6595 /* We use char because int might match the return type of a gcc26596 builtin and then its argument prototype would still apply. */6597 7309 char dld_link (); 6598 7310 int 6599 7311 main () 6600 7312 { 6601 dld_link ();7313 return dld_link (); 6602 7314 ; 6603 7315 return 0; … … 6605 7317 _ACEOF 6606 7318 rm -f conftest.$ac_objext conftest$ac_exeext 6607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6608 (eval $ac_link) 2>conftest.er1 7319 if { (ac_try="$ac_link" 7320 case "(($ac_try" in 7321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7322 *) ac_try_echo=$ac_try;; 7323 esac 7324 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7325 $as_echo "$ac_try_echo") >&5 7326 (eval "$ac_link") 2>conftest.er1 6609 7327 ac_status=$? 6610 7328 grep -v '^ *+' conftest.er1 >conftest.err 6611 7329 rm -f conftest.er1 6612 7330 cat conftest.err >&5 6613 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6614 (exit $ac_status); } && 6615 { ac_try='test -z "$ac_c_werror_flag" 6616 || test ! -s conftest.err' 6617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6618 (eval $ac_try) 2>&5 6619 ac_status=$? 6620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6621 (exit $ac_status); }; } && 6622 { ac_try='test -s conftest$ac_exeext' 6623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6624 (eval $ac_try) 2>&5 6625 ac_status=$? 6626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6627 (exit $ac_status); }; }; then 7331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7332 (exit $ac_status); } && { 7333 test -z "$ac_c_werror_flag" || 7334 test ! -s conftest.err 7335 } && test -s conftest$ac_exeext && { 7336 test "$cross_compiling" = yes || 7337 $as_test_x conftest$ac_exeext 7338 }; then 6628 7339 ac_cv_lib_dld_dld_link=yes 6629 7340 else 6630 echo "$as_me: failed program was:" >&57341 $as_echo "$as_me: failed program was:" >&5 6631 7342 sed 's/^/| /' conftest.$ac_ext >&5 6632 7343 6633 ac_cv_lib_dld_dld_link=no 6634 fi 6635 rm -f conftest.err conftest.$ac_objext \ 7344 ac_cv_lib_dld_dld_link=no 7345 fi 7346 7347 rm -rf conftest.dSYM 7348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6636 7349 conftest$ac_exeext conftest.$ac_ext 6637 7350 LIBS=$ac_check_lib_save_LIBS 6638 7351 fi 6639 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&56640 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 6641 if test $ac_cv_lib_dld_dld_link =yes; then7352 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 7353 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } 7354 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then 6642 7355 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" 6643 7356 fi … … 6678 7391 LIBS="$lt_cv_dlopen_libs $LIBS" 6679 7392 6680 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&56681 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 7393 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 7394 $as_echo_n "checking whether a program can dlopen itself... " >&6; } 6682 7395 if test "${lt_cv_dlopen_self+set}" = set; then 6683 echo $ECHO_N "(cached) $ECHO_C" >&67396 $as_echo_n "(cached) " >&6 6684 7397 else 6685 7398 if test "$cross_compiling" = yes; then : … … 6689 7402 lt_status=$lt_dlunknown 6690 7403 cat > conftest.$ac_ext <<EOF 6691 #line 6691"configure"7404 #line 7404 "configure" 6692 7405 #include "confdefs.h" 6693 7406 … … 6753 7466 (eval $ac_link) 2>&5 6754 7467 ac_status=$? 6755 echo "$as_me:$LINENO: \$? = $ac_status" >&57468 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6756 7469 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 6757 7470 (./conftest; exit; ) 2>/dev/null … … 6771 7484 6772 7485 fi 6773 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&56774 echo "${ECHO_T}$lt_cv_dlopen_self" >&6 7486 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 7487 $as_echo "$lt_cv_dlopen_self" >&6; } 6775 7488 6776 7489 if test "x$lt_cv_dlopen_self" = xyes; then 6777 7490 LDFLAGS="$LDFLAGS $link_static_flag" 6778 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&56779 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 7491 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 7492 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 6780 7493 if test "${lt_cv_dlopen_self_static+set}" = set; then 6781 echo $ECHO_N "(cached) $ECHO_C" >&67494 $as_echo_n "(cached) " >&6 6782 7495 else 6783 7496 if test "$cross_compiling" = yes; then : … … 6787 7500 lt_status=$lt_dlunknown 6788 7501 cat > conftest.$ac_ext <<EOF 6789 #line 6789"configure"7502 #line 7502 "configure" 6790 7503 #include "confdefs.h" 6791 7504 … … 6851 7564 (eval $ac_link) 2>&5 6852 7565 ac_status=$? 6853 echo "$as_me:$LINENO: \$? = $ac_status" >&57566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6854 7567 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 6855 7568 (./conftest; exit; ) 2>/dev/null … … 6869 7582 6870 7583 fi 6871 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&56872 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 7584 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 7585 $as_echo "$lt_cv_dlopen_self_static" >&6; } 6873 7586 fi 6874 7587 … … 6902 7615 # systems, -lgcc has to come before -lc. If gcc already passes -lc 6903 7616 # to ld, don't add -lc before -lgcc. 6904 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&56905 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 7617 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 7618 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 6906 7619 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then 6907 echo $ECHO_N "(cached) $ECHO_C" >&67620 $as_echo_n "(cached) " >&6 6908 7621 else 6909 7622 $rm conftest* … … 6913 7626 (eval $ac_compile) 2>&5 6914 7627 ac_status=$? 6915 echo "$as_me:$LINENO: \$? = $ac_status" >&57628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6916 7629 (exit $ac_status); }; then 6917 7630 soname=conftest … … 6930 7643 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 6931 7644 ac_status=$? 6932 echo "$as_me:$LINENO: \$? = $ac_status" >&57645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6933 7646 (exit $ac_status); } 6934 7647 then … … 6943 7656 fi 6944 7657 6945 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&56946 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 7658 { $as_echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5 7659 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 6947 7660 ;; 6948 7661 esac … … 7520 8233 7521 8234 7522 7523 7524 8235 cat >>confdefs.h <<_ACEOF 7525 #define COMPAT32BITFLAGS $COMPAT32BITFLAGS7526 _ACEOF 7527 7528 7529 7530 7531 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&57532 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 8236 #define ARCH_DEP_FLAGS $ARCH_DEP_FLAGS 8237 _ACEOF 8238 8239 8240 8241 8242 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 8243 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 7533 8244 if test "${ac_cv_c_const+set}" = set; then 7534 echo $ECHO_N "(cached) $ECHO_C" >&68245 $as_echo_n "(cached) " >&6 7535 8246 else 7536 8247 cat >conftest.$ac_ext <<_ACEOF … … 7548 8259 /* Ultrix mips cc rejects this. */ 7549 8260 typedef int charset[2]; 7550 const charset x;8261 const charset cs; 7551 8262 /* SunOS 4.1.1 cc rejects this. */ 7552 char const *const * ccp;7553 char **p ;8263 char const *const *pcpcc; 8264 char **ppc; 7554 8265 /* NEC SVR4.0.2 mips cc rejects this. */ 7555 8266 struct point {int x, y;}; … … 7560 8271 expression */ 7561 8272 const char *g = "string"; 7562 ccp= &g + (g ? g-g : 0);8273 pcpcc = &g + (g ? g-g : 0); 7563 8274 /* HPUX 7.0 cc rejects these. */ 7564 ++ ccp;7565 p = (char**) ccp;7566 ccp = (char const *const *) p;8275 ++pcpcc; 8276 ppc = (char**) pcpcc; 8277 pcpcc = (char const *const *) ppc; 7567 8278 { /* SCO 3.2v4 cc rejects this. */ 7568 8279 char *t; … … 7570 8281 7571 8282 *t++ = 0; 8283 if (s) return 0; 7572 8284 } 7573 8285 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 7588 8300 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 7589 8301 const int foo = 10; 8302 if (!foo) return 0; 7590 8303 } 8304 return !cs[0] && !zero.x; 7591 8305 #endif 7592 8306 … … 7596 8310 _ACEOF 7597 8311 rm -f conftest.$ac_objext 7598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7599 (eval $ac_compile) 2>conftest.er1 8312 if { (ac_try="$ac_compile" 8313 case "(($ac_try" in 8314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8315 *) ac_try_echo=$ac_try;; 8316 esac 8317 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8318 $as_echo "$ac_try_echo") >&5 8319 (eval "$ac_compile") 2>conftest.er1 7600 8320 ac_status=$? 7601 8321 grep -v '^ *+' conftest.er1 >conftest.err 7602 8322 rm -f conftest.er1 7603 8323 cat conftest.err >&5 7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7605 (exit $ac_status); } && 7606 { ac_try='test -z "$ac_c_werror_flag" 7607 || test ! -s conftest.err' 7608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7609 (eval $ac_try) 2>&5 7610 ac_status=$? 7611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7612 (exit $ac_status); }; } && 7613 { ac_try='test -s conftest.$ac_objext' 7614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7615 (eval $ac_try) 2>&5 7616 ac_status=$? 7617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7618 (exit $ac_status); }; }; then 8324 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8325 (exit $ac_status); } && { 8326 test -z "$ac_c_werror_flag" || 8327 test ! -s conftest.err 8328 } && test -s conftest.$ac_objext; then 7619 8329 ac_cv_c_const=yes 7620 8330 else 7621 echo "$as_me: failed program was:" >&58331 $as_echo "$as_me: failed program was:" >&5 7622 8332 sed 's/^/| /' conftest.$ac_ext >&5 7623 8333 7624 ac_cv_c_const=no 7625 fi 7626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7627 fi 7628 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 7629 echo "${ECHO_T}$ac_cv_c_const" >&6 8334 ac_cv_c_const=no 8335 fi 8336 8337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8338 fi 8339 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 8340 $as_echo "$ac_cv_c_const" >&6; } 7630 8341 if test $ac_cv_c_const = no; then 7631 8342 7632 8343 cat >>confdefs.h <<\_ACEOF 7633 #define const 8344 #define const /**/ 7634 8345 _ACEOF 7635 8346 … … 7645 8356 for ac_header in stdlib.h string.h sys/file.h unistd.h fcntl.h sys/types.h memory.y 7646 8357 do 7647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7648 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7649 echo "$as_me:$LINENO: checking for $ac_header" >&5 7650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7651 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7652 echo $ECHO_N "(cached) $ECHO_C" >&6 7653 fi 7654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7655 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8358 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8359 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8360 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8361 $as_echo_n "checking for $ac_header... " >&6; } 8362 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8363 $as_echo_n "(cached) " >&6 8364 fi 8365 ac_res=`eval 'as_val=${'$as_ac_Header'} 8366 $as_echo "$as_val"'` 8367 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8368 $as_echo "$ac_res" >&6; } 7656 8369 else 7657 8370 # Is the header compilable? 7658 echo "$as_me:$LINENO: checking $ac_header usability" >&57659 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 8371 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 8372 $as_echo_n "checking $ac_header usability... " >&6; } 7660 8373 cat >conftest.$ac_ext <<_ACEOF 7661 8374 /* confdefs.h. */ … … 7668 8381 _ACEOF 7669 8382 rm -f conftest.$ac_objext 7670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7671 (eval $ac_compile) 2>conftest.er1 8383 if { (ac_try="$ac_compile" 8384 case "(($ac_try" in 8385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8386 *) ac_try_echo=$ac_try;; 8387 esac 8388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8389 $as_echo "$ac_try_echo") >&5 8390 (eval "$ac_compile") 2>conftest.er1 7672 8391 ac_status=$? 7673 8392 grep -v '^ *+' conftest.er1 >conftest.err 7674 8393 rm -f conftest.er1 7675 8394 cat conftest.err >&5 7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7677 (exit $ac_status); } && 7678 { ac_try='test -z "$ac_c_werror_flag" 7679 || test ! -s conftest.err' 7680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7681 (eval $ac_try) 2>&5 7682 ac_status=$? 7683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7684 (exit $ac_status); }; } && 7685 { ac_try='test -s conftest.$ac_objext' 7686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7687 (eval $ac_try) 2>&5 7688 ac_status=$? 7689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7690 (exit $ac_status); }; }; then 8395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8396 (exit $ac_status); } && { 8397 test -z "$ac_c_werror_flag" || 8398 test ! -s conftest.err 8399 } && test -s conftest.$ac_objext; then 7691 8400 ac_header_compiler=yes 7692 8401 else 7693 echo "$as_me: failed program was:" >&58402 $as_echo "$as_me: failed program was:" >&5 7694 8403 sed 's/^/| /' conftest.$ac_ext >&5 7695 8404 7696 ac_header_compiler=no 7697 fi 7698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7699 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7700 echo "${ECHO_T}$ac_header_compiler" >&6 8405 ac_header_compiler=no 8406 fi 8407 8408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8409 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8410 $as_echo "$ac_header_compiler" >&6; } 7701 8411 7702 8412 # Is the header present? 7703 echo "$as_me:$LINENO: checking $ac_header presence" >&57704 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 8413 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 8414 $as_echo_n "checking $ac_header presence... " >&6; } 7705 8415 cat >conftest.$ac_ext <<_ACEOF 7706 8416 /* confdefs.h. */ … … 7711 8421 #include <$ac_header> 7712 8422 _ACEOF 7713 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7714 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8423 if { (ac_try="$ac_cpp conftest.$ac_ext" 8424 case "(($ac_try" in 8425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8426 *) ac_try_echo=$ac_try;; 8427 esac 8428 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8429 $as_echo "$ac_try_echo") >&5 8430 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7715 8431 ac_status=$? 7716 8432 grep -v '^ *+' conftest.er1 >conftest.err 7717 8433 rm -f conftest.er1 7718 8434 cat conftest.err >&5 7719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7720 (exit $ac_status); } >/dev/null; then 7721 if test -s conftest.err; then 7722 ac_cpp_err=$ac_c_preproc_warn_flag 7723 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7724 else 7725 ac_cpp_err= 7726 fi 7727 else 7728 ac_cpp_err=yes 7729 fi 7730 if test -z "$ac_cpp_err"; then 8435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8436 (exit $ac_status); } >/dev/null && { 8437 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8438 test ! -s conftest.err 8439 }; then 7731 8440 ac_header_preproc=yes 7732 8441 else 7733 echo "$as_me: failed program was:" >&58442 $as_echo "$as_me: failed program was:" >&5 7734 8443 sed 's/^/| /' conftest.$ac_ext >&5 7735 8444 7736 8445 ac_header_preproc=no 7737 8446 fi 8447 7738 8448 rm -f conftest.err conftest.$ac_ext 7739 echo "$as_me:$LINENO: result: $ac_header_preproc" >&57740 echo "${ECHO_T}$ac_header_preproc" >&6 8449 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8450 $as_echo "$ac_header_preproc" >&6; } 7741 8451 7742 8452 # So? What about this header? 7743 8453 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7744 8454 yes:no: ) 7745 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&57746 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}7747 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&57748 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}8455 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8456 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8457 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8458 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7749 8459 ac_header_preproc=yes 7750 8460 ;; 7751 8461 no:yes:* ) 7752 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7753 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7754 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7755 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7756 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7757 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7758 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7759 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7760 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7761 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7762 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7763 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7764 ( 7765 cat <<\_ASBOX 7766 ## ------------------------------- ## 7767 ## Report this to the gdbm lists. ## 7768 ## ------------------------------- ## 7769 _ASBOX 7770 ) | 7771 sed "s/^/$as_me: WARNING: /" >&2 8462 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8463 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8464 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8465 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8466 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8467 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8468 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8469 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8470 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8471 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8472 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8473 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8474 7772 8475 ;; 7773 8476 esac 7774 echo "$as_me:$LINENO: checking for $ac_header" >&57775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7776 if eval "test \"\${$as_ac_Header+set}\" = set"; then7777 echo $ECHO_N "(cached) $ECHO_C" >&68477 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8478 $as_echo_n "checking for $ac_header... " >&6; } 8479 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8480 $as_echo_n "(cached) " >&6 7778 8481 else 7779 8482 eval "$as_ac_Header=\$ac_header_preproc" 7780 8483 fi 7781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7783 7784 fi 7785 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8484 ac_res=`eval 'as_val=${'$as_ac_Header'} 8485 $as_echo "$as_val"'` 8486 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8487 $as_echo "$ac_res" >&6; } 8488 8489 fi 8490 as_val=`eval 'as_val=${'$as_ac_Header'} 8491 $as_echo "$as_val"'` 8492 if test "x$as_val" = x""yes; then 7786 8493 cat >>confdefs.h <<_ACEOF 7787 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 18494 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7788 8495 _ACEOF 7789 8496 … … 7793 8500 7794 8501 7795 echo "$as_me:$LINENO: checking for main in -ldbm" >&57796 echo $ECHO_N "checking for main in -ldbm... $ECHO_C" >&6 8502 { $as_echo "$as_me:$LINENO: checking for main in -ldbm" >&5 8503 $as_echo_n "checking for main in -ldbm... " >&6; } 7797 8504 if test "${ac_cv_lib_dbm_main+set}" = set; then 7798 echo $ECHO_N "(cached) $ECHO_C" >&68505 $as_echo_n "(cached) " >&6 7799 8506 else 7800 8507 ac_check_lib_save_LIBS=$LIBS … … 7811 8518 main () 7812 8519 { 7813 main ();8520 return main (); 7814 8521 ; 7815 8522 return 0; … … 7817 8524 _ACEOF 7818 8525 rm -f conftest.$ac_objext conftest$ac_exeext 7819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7820 (eval $ac_link) 2>conftest.er1 8526 if { (ac_try="$ac_link" 8527 case "(($ac_try" in 8528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8529 *) ac_try_echo=$ac_try;; 8530 esac 8531 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8532 $as_echo "$ac_try_echo") >&5 8533 (eval "$ac_link") 2>conftest.er1 7821 8534 ac_status=$? 7822 8535 grep -v '^ *+' conftest.er1 >conftest.err 7823 8536 rm -f conftest.er1 7824 8537 cat conftest.err >&5 7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7826 (exit $ac_status); } && 7827 { ac_try='test -z "$ac_c_werror_flag" 7828 || test ! -s conftest.err' 7829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7830 (eval $ac_try) 2>&5 7831 ac_status=$? 7832 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7833 (exit $ac_status); }; } && 7834 { ac_try='test -s conftest$ac_exeext' 7835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7836 (eval $ac_try) 2>&5 7837 ac_status=$? 7838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7839 (exit $ac_status); }; }; then 8538 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8539 (exit $ac_status); } && { 8540 test -z "$ac_c_werror_flag" || 8541 test ! -s conftest.err 8542 } && test -s conftest$ac_exeext && { 8543 test "$cross_compiling" = yes || 8544 $as_test_x conftest$ac_exeext 8545 }; then 7840 8546 ac_cv_lib_dbm_main=yes 7841 8547 else 7842 echo "$as_me: failed program was:" >&58548 $as_echo "$as_me: failed program was:" >&5 7843 8549 sed 's/^/| /' conftest.$ac_ext >&5 7844 8550 7845 ac_cv_lib_dbm_main=no 7846 fi 7847 rm -f conftest.err conftest.$ac_objext \ 8551 ac_cv_lib_dbm_main=no 8552 fi 8553 8554 rm -rf conftest.dSYM 8555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7848 8556 conftest$ac_exeext conftest.$ac_ext 7849 8557 LIBS=$ac_check_lib_save_LIBS 7850 8558 fi 7851 echo "$as_me:$LINENO: result: $ac_cv_lib_dbm_main" >&57852 echo "${ECHO_T}$ac_cv_lib_dbm_main" >&6 7853 if test $ac_cv_lib_dbm_main =yes; then8559 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dbm_main" >&5 8560 $as_echo "$ac_cv_lib_dbm_main" >&6; } 8561 if test "x$ac_cv_lib_dbm_main" = x""yes; then 7854 8562 cat >>confdefs.h <<_ACEOF 7855 8563 #define HAVE_LIBDBM 1 … … 7861 8569 7862 8570 7863 echo "$as_me:$LINENO: checking for main in -lndbm" >&57864 echo $ECHO_N "checking for main in -lndbm... $ECHO_C" >&6 8571 { $as_echo "$as_me:$LINENO: checking for main in -lndbm" >&5 8572 $as_echo_n "checking for main in -lndbm... " >&6; } 7865 8573 if test "${ac_cv_lib_ndbm_main+set}" = set; then 7866 echo $ECHO_N "(cached) $ECHO_C" >&68574 $as_echo_n "(cached) " >&6 7867 8575 else 7868 8576 ac_check_lib_save_LIBS=$LIBS … … 7879 8587 main () 7880 8588 { 7881 main ();8589 return main (); 7882 8590 ; 7883 8591 return 0; … … 7885 8593 _ACEOF 7886 8594 rm -f conftest.$ac_objext conftest$ac_exeext 7887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7888 (eval $ac_link) 2>conftest.er1 8595 if { (ac_try="$ac_link" 8596 case "(($ac_try" in 8597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8598 *) ac_try_echo=$ac_try;; 8599 esac 8600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8601 $as_echo "$ac_try_echo") >&5 8602 (eval "$ac_link") 2>conftest.er1 7889 8603 ac_status=$? 7890 8604 grep -v '^ *+' conftest.er1 >conftest.err 7891 8605 rm -f conftest.er1 7892 8606 cat conftest.err >&5 7893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7894 (exit $ac_status); } && 7895 { ac_try='test -z "$ac_c_werror_flag" 7896 || test ! -s conftest.err' 7897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7898 (eval $ac_try) 2>&5 7899 ac_status=$? 7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7901 (exit $ac_status); }; } && 7902 { ac_try='test -s conftest$ac_exeext' 7903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7904 (eval $ac_try) 2>&5 7905 ac_status=$? 7906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7907 (exit $ac_status); }; }; then 8607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8608 (exit $ac_status); } && { 8609 test -z "$ac_c_werror_flag" || 8610 test ! -s conftest.err 8611 } && test -s conftest$ac_exeext && { 8612 test "$cross_compiling" = yes || 8613 $as_test_x conftest$ac_exeext 8614 }; then 7908 8615 ac_cv_lib_ndbm_main=yes 7909 8616 else 7910 echo "$as_me: failed program was:" >&58617 $as_echo "$as_me: failed program was:" >&5 7911 8618 sed 's/^/| /' conftest.$ac_ext >&5 7912 8619 7913 ac_cv_lib_ndbm_main=no 7914 fi 7915 rm -f conftest.err conftest.$ac_objext \ 8620 ac_cv_lib_ndbm_main=no 8621 fi 8622 8623 rm -rf conftest.dSYM 8624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7916 8625 conftest$ac_exeext conftest.$ac_ext 7917 8626 LIBS=$ac_check_lib_save_LIBS 7918 8627 fi 7919 echo "$as_me:$LINENO: result: $ac_cv_lib_ndbm_main" >&57920 echo "${ECHO_T}$ac_cv_lib_ndbm_main" >&6 7921 if test $ac_cv_lib_ndbm_main =yes; then8628 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ndbm_main" >&5 8629 $as_echo "$ac_cv_lib_ndbm_main" >&6; } 8630 if test "x$ac_cv_lib_ndbm_main" = x""yes; then 7922 8631 cat >>confdefs.h <<_ACEOF 7923 8632 #define HAVE_LIBNDBM 1 … … 7935 8644 for ac_func in rename ftruncate flock bcopy fsync 7936 8645 do 7937 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`7938 echo "$as_me:$LINENO: checking for $ac_func" >&57939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7940 if eval "test \"\${$as_ac_var+set}\" = set"; then7941 echo $ECHO_N "(cached) $ECHO_C" >&68646 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8647 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 8648 $as_echo_n "checking for $ac_func... " >&6; } 8649 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 8650 $as_echo_n "(cached) " >&6 7942 8651 else 7943 8652 cat >conftest.$ac_ext <<_ACEOF … … 7964 8673 #undef $ac_func 7965 8674 7966 /* Override any gcc2 internal prototype to avoid an error. */ 8675 /* Override any GCC internal prototype to avoid an error. 8676 Use char because int might match the return type of a GCC 8677 builtin and then its argument prototype would still apply. */ 7967 8678 #ifdef __cplusplus 7968 8679 extern "C" 7969 {7970 8680 #endif 7971 /* We use char because int might match the return type of a gcc27972 builtin and then its argument prototype would still apply. */7973 8681 char $ac_func (); 7974 8682 /* The GNU C library defines this for functions which it implements 7975 8683 to always fail with ENOSYS. Some functions are actually named 7976 8684 something starting with __ and the normal name is an alias. */ 7977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)8685 #if defined __stub_$ac_func || defined __stub___$ac_func 7978 8686 choke me 7979 #else7980 char (*f) () = $ac_func;7981 #endif7982 #ifdef __cplusplus7983 }7984 8687 #endif 7985 8688 … … 7987 8690 main () 7988 8691 { 7989 return f != $ac_func;8692 return $ac_func (); 7990 8693 ; 7991 8694 return 0; … … 7993 8696 _ACEOF 7994 8697 rm -f conftest.$ac_objext conftest$ac_exeext 7995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7996 (eval $ac_link) 2>conftest.er1 8698 if { (ac_try="$ac_link" 8699 case "(($ac_try" in 8700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8701 *) ac_try_echo=$ac_try;; 8702 esac 8703 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8704 $as_echo "$ac_try_echo") >&5 8705 (eval "$ac_link") 2>conftest.er1 7997 8706 ac_status=$? 7998 8707 grep -v '^ *+' conftest.er1 >conftest.err 7999 8708 rm -f conftest.er1 8000 8709 cat conftest.err >&5 8001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8002 (exit $ac_status); } && 8003 { ac_try='test -z "$ac_c_werror_flag" 8004 || test ! -s conftest.err' 8005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8006 (eval $ac_try) 2>&5 8007 ac_status=$? 8008 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8009 (exit $ac_status); }; } && 8010 { ac_try='test -s conftest$ac_exeext' 8011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8012 (eval $ac_try) 2>&5 8013 ac_status=$? 8014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8015 (exit $ac_status); }; }; then 8710 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8711 (exit $ac_status); } && { 8712 test -z "$ac_c_werror_flag" || 8713 test ! -s conftest.err 8714 } && test -s conftest$ac_exeext && { 8715 test "$cross_compiling" = yes || 8716 $as_test_x conftest$ac_exeext 8717 }; then 8016 8718 eval "$as_ac_var=yes" 8017 8719 else 8018 echo "$as_me: failed program was:" >&58720 $as_echo "$as_me: failed program was:" >&5 8019 8721 sed 's/^/| /' conftest.$ac_ext >&5 8020 8722 8021 eval "$as_ac_var=no" 8022 fi 8023 rm -f conftest.err conftest.$ac_objext \ 8723 eval "$as_ac_var=no" 8724 fi 8725 8726 rm -rf conftest.dSYM 8727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8024 8728 conftest$ac_exeext conftest.$ac_ext 8025 8729 fi 8026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8028 if test `eval echo '${'$as_ac_var'}'` = yes; then 8730 ac_res=`eval 'as_val=${'$as_ac_var'} 8731 $as_echo "$as_val"'` 8732 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8733 $as_echo "$ac_res" >&6; } 8734 as_val=`eval 'as_val=${'$as_ac_var'} 8735 $as_echo "$as_val"'` 8736 if test "x$as_val" = x""yes; then 8029 8737 cat >>confdefs.h <<_ACEOF 8030 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 18738 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8031 8739 _ACEOF 8032 8740 … … 8037 8745 for ac_func in getopt 8038 8746 do 8039 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`8040 echo "$as_me:$LINENO: checking for $ac_func" >&58041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8042 if eval "test \"\${$as_ac_var+set}\" = set"; then8043 echo $ECHO_N "(cached) $ECHO_C" >&68747 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8748 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 8749 $as_echo_n "checking for $ac_func... " >&6; } 8750 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 8751 $as_echo_n "(cached) " >&6 8044 8752 else 8045 8753 cat >conftest.$ac_ext <<_ACEOF … … 8066 8774 #undef $ac_func 8067 8775 8068 /* Override any gcc2 internal prototype to avoid an error. */ 8776 /* Override any GCC internal prototype to avoid an error. 8777 Use char because int might match the return type of a GCC 8778 builtin and then its argument prototype would still apply. */ 8069 8779 #ifdef __cplusplus 8070 8780 extern "C" 8071 {8072 8781 #endif 8073 /* We use char because int might match the return type of a gcc28074 builtin and then its argument prototype would still apply. */8075 8782 char $ac_func (); 8076 8783 /* The GNU C library defines this for functions which it implements 8077 8784 to always fail with ENOSYS. Some functions are actually named 8078 8785 something starting with __ and the normal name is an alias. */ 8079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)8786 #if defined __stub_$ac_func || defined __stub___$ac_func 8080 8787 choke me 8081 #else8082 char (*f) () = $ac_func;8083 #endif8084 #ifdef __cplusplus8085 }8086 8788 #endif 8087 8789 … … 8089 8791 main () 8090 8792 { 8091 return f != $ac_func;8793 return $ac_func (); 8092 8794 ; 8093 8795 return 0; … … 8095 8797 _ACEOF 8096 8798 rm -f conftest.$ac_objext conftest$ac_exeext 8097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8098 (eval $ac_link) 2>conftest.er1 8799 if { (ac_try="$ac_link" 8800 case "(($ac_try" in 8801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8802 *) ac_try_echo=$ac_try;; 8803 esac 8804 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8805 $as_echo "$ac_try_echo") >&5 8806 (eval "$ac_link") 2>conftest.er1 8099 8807 ac_status=$? 8100 8808 grep -v '^ *+' conftest.er1 >conftest.err 8101 8809 rm -f conftest.er1 8102 8810 cat conftest.err >&5 8103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8104 (exit $ac_status); } && 8105 { ac_try='test -z "$ac_c_werror_flag" 8106 || test ! -s conftest.err' 8107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8108 (eval $ac_try) 2>&5 8109 ac_status=$? 8110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8111 (exit $ac_status); }; } && 8112 { ac_try='test -s conftest$ac_exeext' 8113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8114 (eval $ac_try) 2>&5 8115 ac_status=$? 8116 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8117 (exit $ac_status); }; }; then 8811 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8812 (exit $ac_status); } && { 8813 test -z "$ac_c_werror_flag" || 8814 test ! -s conftest.err 8815 } && test -s conftest$ac_exeext && { 8816 test "$cross_compiling" = yes || 8817 $as_test_x conftest$ac_exeext 8818 }; then 8118 8819 eval "$as_ac_var=yes" 8119 8820 else 8120 echo "$as_me: failed program was:" >&58821 $as_echo "$as_me: failed program was:" >&5 8121 8822 sed 's/^/| /' conftest.$ac_ext >&5 8122 8823 8123 eval "$as_ac_var=no" 8124 fi 8125 rm -f conftest.err conftest.$ac_objext \ 8824 eval "$as_ac_var=no" 8825 fi 8826 8827 rm -rf conftest.dSYM 8828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8126 8829 conftest$ac_exeext conftest.$ac_ext 8127 8830 fi 8128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8130 if test `eval echo '${'$as_ac_var'}'` = yes; then 8831 ac_res=`eval 'as_val=${'$as_ac_var'} 8832 $as_echo "$as_val"'` 8833 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8834 $as_echo "$ac_res" >&6; } 8835 as_val=`eval 'as_val=${'$as_ac_var'} 8836 $as_echo "$as_val"'` 8837 if test "x$as_val" = x""yes; then 8131 8838 cat >>confdefs.h <<_ACEOF 8132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8133 _ACEOF 8134 8135 else 8136 case $LIBOBJS in 8137 "$ac_func.$ac_objext" | \ 8138 *" $ac_func.$ac_objext" | \ 8139 "$ac_func.$ac_objext "* | \ 8839 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8840 _ACEOF 8841 8842 else 8843 case " $LIBOBJS " in 8140 8844 *" $ac_func.$ac_objext "* ) ;; 8141 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; 8845 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 8846 ;; 8142 8847 esac 8143 8848 … … 8146 8851 8147 8852 8148 echo "$as_me:$LINENO: checking for off_t" >&58149 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 8853 { $as_echo "$as_me:$LINENO: checking for off_t" >&5 8854 $as_echo_n "checking for off_t... " >&6; } 8150 8855 if test "${ac_cv_type_off_t+set}" = set; then 8151 echo $ECHO_N "(cached) $ECHO_C" >&6 8152 else 8153 cat >conftest.$ac_ext <<_ACEOF 8856 $as_echo_n "(cached) " >&6 8857 else 8858 ac_cv_type_off_t=no 8859 cat >conftest.$ac_ext <<_ACEOF 8154 8860 /* confdefs.h. */ 8155 8861 _ACEOF … … 8161 8867 main () 8162 8868 { 8163 if ((off_t *) 0)8164 return 0;8165 8869 if (sizeof (off_t)) 8166 return 0;8870 return 0; 8167 8871 ; 8168 8872 return 0; … … 8170 8874 _ACEOF 8171 8875 rm -f conftest.$ac_objext 8172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8173 (eval $ac_compile) 2>conftest.er1 8876 if { (ac_try="$ac_compile" 8877 case "(($ac_try" in 8878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8879 *) ac_try_echo=$ac_try;; 8880 esac 8881 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8882 $as_echo "$ac_try_echo") >&5 8883 (eval "$ac_compile") 2>conftest.er1 8174 8884 ac_status=$? 8175 8885 grep -v '^ *+' conftest.er1 >conftest.err 8176 8886 rm -f conftest.er1 8177 8887 cat conftest.err >&5 8178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8179 (exit $ac_status); } && 8180 { ac_try='test -z "$ac_c_werror_flag" 8181 || test ! -s conftest.err' 8182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8183 (eval $ac_try) 2>&5 8888 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8889 (exit $ac_status); } && { 8890 test -z "$ac_c_werror_flag" || 8891 test ! -s conftest.err 8892 } && test -s conftest.$ac_objext; then 8893 cat >conftest.$ac_ext <<_ACEOF 8894 /* confdefs.h. */ 8895 _ACEOF 8896 cat confdefs.h >>conftest.$ac_ext 8897 cat >>conftest.$ac_ext <<_ACEOF 8898 /* end confdefs.h. */ 8899 $ac_includes_default 8900 int 8901 main () 8902 { 8903 if (sizeof ((off_t))) 8904 return 0; 8905 ; 8906 return 0; 8907 } 8908 _ACEOF 8909 rm -f conftest.$ac_objext 8910 if { (ac_try="$ac_compile" 8911 case "(($ac_try" in 8912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8913 *) ac_try_echo=$ac_try;; 8914 esac 8915 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8916 $as_echo "$ac_try_echo") >&5 8917 (eval "$ac_compile") 2>conftest.er1 8184 8918 ac_status=$? 8185 echo "$as_me:$LINENO: \$? = $ac_status" >&58186 (exit $ac_status); }; } &&8187 { ac_try='test -s conftest.$ac_objext' 8188 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&58189 (e val $ac_try) 2>&58190 ac_status=$? 8191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8192 (exit $ac_status); }; }; then8193 ac_cv_type_off_t=yes8194 else 8195 echo "$as_me: failed program was:" >&58919 grep -v '^ *+' conftest.er1 >conftest.err 8920 rm -f conftest.er1 8921 cat conftest.err >&5 8922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8923 (exit $ac_status); } && { 8924 test -z "$ac_c_werror_flag" || 8925 test ! -s conftest.err 8926 } && test -s conftest.$ac_objext; then 8927 : 8928 else 8929 $as_echo "$as_me: failed program was:" >&5 8196 8930 sed 's/^/| /' conftest.$ac_ext >&5 8197 8931 8198 ac_cv_type_off_t=no 8199 fi 8200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8201 fi 8202 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 8203 echo "${ECHO_T}$ac_cv_type_off_t" >&6 8204 if test $ac_cv_type_off_t = yes; then 8932 ac_cv_type_off_t=yes 8933 fi 8934 8935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8936 else 8937 $as_echo "$as_me: failed program was:" >&5 8938 sed 's/^/| /' conftest.$ac_ext >&5 8939 8940 8941 fi 8942 8943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8944 fi 8945 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 8946 $as_echo "$ac_cv_type_off_t" >&6; } 8947 if test "x$ac_cv_type_off_t" = x""yes; then 8205 8948 : 8206 8949 else 8207 8950 8208 8951 cat >>confdefs.h <<_ACEOF 8209 #define off_t long 8210 _ACEOF 8211 8212 fi 8213 8214 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&58215 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6 8952 #define off_t long int 8953 _ACEOF 8954 8955 fi 8956 8957 { $as_echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5 8958 $as_echo_n "checking for struct stat.st_blksize... " >&6; } 8216 8959 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then 8217 echo $ECHO_N "(cached) $ECHO_C" >&68960 $as_echo_n "(cached) " >&6 8218 8961 else 8219 8962 cat >conftest.$ac_ext <<_ACEOF … … 8235 8978 _ACEOF 8236 8979 rm -f conftest.$ac_objext 8237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8238 (eval $ac_compile) 2>conftest.er1 8980 if { (ac_try="$ac_compile" 8981 case "(($ac_try" in 8982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8983 *) ac_try_echo=$ac_try;; 8984 esac 8985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8986 $as_echo "$ac_try_echo") >&5 8987 (eval "$ac_compile") 2>conftest.er1 8239 8988 ac_status=$? 8240 8989 grep -v '^ *+' conftest.er1 >conftest.err 8241 8990 rm -f conftest.er1 8242 8991 cat conftest.err >&5 8243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8244 (exit $ac_status); } && 8245 { ac_try='test -z "$ac_c_werror_flag" 8246 || test ! -s conftest.err' 8247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8248 (eval $ac_try) 2>&5 8249 ac_status=$? 8250 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8251 (exit $ac_status); }; } && 8252 { ac_try='test -s conftest.$ac_objext' 8253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8254 (eval $ac_try) 2>&5 8255 ac_status=$? 8256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8257 (exit $ac_status); }; }; then 8992 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8993 (exit $ac_status); } && { 8994 test -z "$ac_c_werror_flag" || 8995 test ! -s conftest.err 8996 } && test -s conftest.$ac_objext; then 8258 8997 ac_cv_member_struct_stat_st_blksize=yes 8259 8998 else 8260 echo "$as_me: failed program was:" >&58999 $as_echo "$as_me: failed program was:" >&5 8261 9000 sed 's/^/| /' conftest.$ac_ext >&5 8262 9001 8263 cat >conftest.$ac_ext <<_ACEOF9002 cat >conftest.$ac_ext <<_ACEOF 8264 9003 /* confdefs.h. */ 8265 9004 _ACEOF … … 8279 9018 _ACEOF 8280 9019 rm -f conftest.$ac_objext 8281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8282 (eval $ac_compile) 2>conftest.er1 9020 if { (ac_try="$ac_compile" 9021 case "(($ac_try" in 9022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9023 *) ac_try_echo=$ac_try;; 9024 esac 9025 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9026 $as_echo "$ac_try_echo") >&5 9027 (eval "$ac_compile") 2>conftest.er1 8283 9028 ac_status=$? 8284 9029 grep -v '^ *+' conftest.er1 >conftest.err 8285 9030 rm -f conftest.er1 8286 9031 cat conftest.err >&5 8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8288 (exit $ac_status); } && 8289 { ac_try='test -z "$ac_c_werror_flag" 8290 || test ! -s conftest.err' 8291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8292 (eval $ac_try) 2>&5 8293 ac_status=$? 8294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8295 (exit $ac_status); }; } && 8296 { ac_try='test -s conftest.$ac_objext' 8297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8298 (eval $ac_try) 2>&5 8299 ac_status=$? 8300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8301 (exit $ac_status); }; }; then 9032 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9033 (exit $ac_status); } && { 9034 test -z "$ac_c_werror_flag" || 9035 test ! -s conftest.err 9036 } && test -s conftest.$ac_objext; then 8302 9037 ac_cv_member_struct_stat_st_blksize=yes 8303 9038 else 8304 echo "$as_me: failed program was:" >&59039 $as_echo "$as_me: failed program was:" >&5 8305 9040 sed 's/^/| /' conftest.$ac_ext >&5 8306 9041 8307 ac_cv_member_struct_stat_st_blksize=no 8308 fi 8309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8310 fi 8311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8312 fi 8313 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5 8314 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6 8315 if test $ac_cv_member_struct_stat_st_blksize = yes; then 9042 ac_cv_member_struct_stat_st_blksize=no 9043 fi 9044 9045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9046 fi 9047 9048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9049 fi 9050 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5 9051 $as_echo "$ac_cv_member_struct_stat_st_blksize" >&6; } 9052 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then 8316 9053 8317 9054 cat >>confdefs.h <<_ACEOF … … 8322 9059 fi 8323 9060 8324 9061 ac_config_files="$ac_config_files Makefile" 8325 9062 8326 9063 cat >confcache <<\_ACEOF … … 8342 9079 # The following way of writing the cache mishandles newlines in values, 8343 9080 # but we know of no workaround that is simple, portable, and efficient. 8344 # So, don't put newlines in cache variables' values.9081 # So, we kill variables containing newlines. 8345 9082 # Ultrix sh set writes to stderr and can't be redirected directly, 8346 9083 # and sets the high bit in the cache file unless we assign to the vars. 8347 { 9084 ( 9085 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 9086 eval ac_val=\$$ac_var 9087 case $ac_val in #( 9088 *${as_nl}*) 9089 case $ac_var in #( 9090 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 9091 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 9092 esac 9093 case $ac_var in #( 9094 _ | IFS | as_nl) ;; #( 9095 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9096 *) $as_unset $ac_var ;; 9097 esac ;; 9098 esac 9099 done 9100 8348 9101 (set) 2>&1 | 8349 case `(ac_space=' '; set | grep ac_space) 2>&1` in8350 * ac_space=\ *)9102 case $as_nl`(ac_space=' '; set) 2>&1` in #( 9103 *${as_nl}ac_space=\ *) 8351 9104 # `set' does not quote correctly, so add quotes (double-quote 8352 9105 # substitution turns \\\\ into \\, and sed turns \\ into \). … … 8354 9107 "s/'/'\\\\''/g; 8355 9108 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 8356 ;; 9109 ;; #( 8357 9110 *) 8358 9111 # `set' quotes correctly as required by POSIX, so do not add quotes. 8359 sed -n \ 8360 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 9112 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 8361 9113 ;; 8362 esac; 8363 } | 9114 esac | 9115 sort 9116 ) | 8364 9117 sed ' 9118 /^ac_cv_env_/b end 8365 9119 t clear 8366 : 9120 :clear 8367 9121 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 8368 9122 t end 8369 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8370 : end' >>confcache 8371 if diff $cache_file confcache >/dev/null 2>&1; then :; else 8372 if test -w $cache_file; then 8373 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 9123 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 9124 :end' >>confcache 9125 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 9126 if test -w "$cache_file"; then 9127 test "x$cache_file" != "x/dev/null" && 9128 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 9129 $as_echo "$as_me: updating cache $cache_file" >&6;} 8374 9130 cat confcache >$cache_file 8375 9131 else 8376 echo "not updating unwritable cache $cache_file" 9132 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 9133 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8377 9134 fi 8378 9135 fi … … 8382 9139 # Let make expand exec_prefix. 8383 9140 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 8384 8385 # VPATH may cause trouble with some makes, so we remove $(srcdir),8386 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and8387 # trailing colons and then remove the whole line if VPATH becomes empty8388 # (actually we leave an empty line to preserve line numbers).8389 if test "x$srcdir" = x.; then8390 ac_vpsub='/^[ ]*VPATH[ ]*=/{8391 s/:*\$(srcdir):*/:/;8392 s/:*\${srcdir}:*/:/;8393 s/:*@srcdir@:*/:/;8394 s/^\([^=]*=[ ]*\):*/\1/;8395 s/:*$//;8396 s/^[^=]*=[ ]*$//;8397 }'8398 fi8399 9141 8400 9142 DEFS=-DHAVE_CONFIG_H … … 8404 9146 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 8405 9147 # 1. Remove the extension, and $U if already installed. 8406 ac_i=`echo "$ac_i" | 8407 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 8408 # 2. Add them. 8409 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 8410 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 9148 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 9149 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 9150 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 9151 # will be set to the directory where LIBOBJS objects are built. 9152 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9153 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 8411 9154 done 8412 9155 LIBOBJS=$ac_libobjs … … 8417 9160 8418 9161 : ${CONFIG_STATUS=./config.status} 9162 ac_write_fail=0 8419 9163 ac_clean_files_save=$ac_clean_files 8420 9164 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8421 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&58422 echo "$as_me: creating $CONFIG_STATUS" >&6;}8423 cat >$CONFIG_STATUS <<_ACEOF 9165 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 9166 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9167 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8424 9168 #! $SHELL 8425 9169 # Generated by $as_me. … … 8434 9178 _ACEOF 8435 9179 8436 cat >>$CONFIG_STATUS <<\_ACEOF 9180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8437 9181 ## --------------------- ## 8438 9182 ## M4sh Initialization. ## 8439 9183 ## --------------------- ## 8440 9184 8441 # Be Bourne compatible 9185 # Be more Bourne compatible 9186 DUALCASE=1; export DUALCASE # for MKS sh 8442 9187 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 8443 9188 emulate sh 8444 9189 NULLCMD=: 8445 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which9190 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 8446 9191 # is contrary to our usage. Disable this feature. 8447 9192 alias -g '${1+"$@"}'='"$@"' 8448 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 8449 set -o posix 8450 fi 8451 DUALCASE=1; export DUALCASE # for MKS sh 8452 8453 # Support unset when possible. 8454 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8455 as_unset=unset 8456 else 8457 as_unset=false 8458 fi 8459 8460 8461 # Work around bugs in pre-3.0 UWIN ksh. 8462 $as_unset ENV MAIL MAILPATH 8463 PS1='$ ' 8464 PS2='> ' 8465 PS4='+ ' 8466 8467 # NLS nuisances. 8468 for as_var in \ 8469 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 8470 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 8471 LC_TELEPHONE LC_TIME 8472 do 8473 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 8474 eval $as_var=C; export $as_var 8475 else 8476 $as_unset $as_var 8477 fi 8478 done 8479 8480 # Required to use basename. 8481 if expr a : '\(a\)' >/dev/null 2>&1; then 8482 as_expr=expr 8483 else 8484 as_expr=false 8485 fi 8486 8487 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 8488 as_basename=basename 8489 else 8490 as_basename=false 8491 fi 8492 8493 8494 # Name of the executable. 8495 as_me=`$as_basename "$0" || 8496 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8497 X"$0" : 'X\(//\)$' \| \ 8498 X"$0" : 'X\(/\)$' \| \ 8499 . : '\(.\)' 2>/dev/null || 8500 echo X/"$0" | 8501 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 8502 /^X\/\(\/\/\)$/{ s//\1/; q; } 8503 /^X\/\(\/\).*/{ s//\1/; q; } 8504 s/.*/./; q'` 8505 8506 8507 # PATH needs CR, and LINENO needs CR and PATH. 9193 setopt NO_GLOB_SUBST 9194 else 9195 case `(set -o) 2>/dev/null` in 9196 *posix*) set -o posix ;; 9197 esac 9198 9199 fi 9200 9201 9202 9203 9204 # PATH needs CR 8508 9205 # Avoid depending upon Character Ranges. 8509 9206 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 8513 9210 as_cr_alnum=$as_cr_Letters$as_cr_digits 8514 9211 9212 as_nl=' 9213 ' 9214 export as_nl 9215 # Printing a long string crashes Solaris 7 /usr/bin/printf. 9216 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 9217 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9218 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9219 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9220 as_echo='printf %s\n' 9221 as_echo_n='printf %s' 9222 else 9223 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 9224 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 9225 as_echo_n='/usr/ucb/echo -n' 9226 else 9227 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 9228 as_echo_n_body='eval 9229 arg=$1; 9230 case $arg in 9231 *"$as_nl"*) 9232 expr "X$arg" : "X\\(.*\\)$as_nl"; 9233 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 9234 esac; 9235 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 9236 ' 9237 export as_echo_n_body 9238 as_echo_n='sh -c $as_echo_n_body as_echo' 9239 fi 9240 export as_echo_body 9241 as_echo='sh -c $as_echo_body as_echo' 9242 fi 9243 8515 9244 # The user is always right. 8516 9245 if test "${PATH_SEPARATOR+set}" != set; then 8517 echo "#! /bin/sh" >conf$$.sh 8518 echo "exit 0" >>conf$$.sh 8519 chmod +x conf$$.sh 8520 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 8521 PATH_SEPARATOR=';' 8522 else 8523 PATH_SEPARATOR=: 8524 fi 8525 rm -f conf$$.sh 8526 fi 8527 8528 8529 as_lineno_1=$LINENO 8530 as_lineno_2=$LINENO 8531 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8532 test "x$as_lineno_1" != "x$as_lineno_2" && 8533 test "x$as_lineno_3" = "x$as_lineno_2" || { 8534 # Find who we are. Look in the path if we contain no path at all 8535 # relative or not. 8536 case $0 in 8537 *[\\/]* ) as_myself=$0 ;; 8538 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9246 PATH_SEPARATOR=: 9247 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 9248 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 9249 PATH_SEPARATOR=';' 9250 } 9251 fi 9252 9253 # Support unset when possible. 9254 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 9255 as_unset=unset 9256 else 9257 as_unset=false 9258 fi 9259 9260 9261 # IFS 9262 # We need space, tab and new line, in precisely that order. Quoting is 9263 # there to prevent editors from complaining about space-tab. 9264 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 9265 # splitting by setting IFS to empty value.) 9266 IFS=" "" $as_nl" 9267 9268 # Find who we are. Look in the path if we contain no directory separator. 9269 case $0 in 9270 *[\\/]* ) as_myself=$0 ;; 9271 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8539 9272 for as_dir in $PATH 8540 9273 do … … 8543 9276 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8544 9277 done 8545 8546 ;; 8547 esac 8548 # We did not find ourselves, most probably we were run as `sh COMMAND' 8549 # in which case we are not to be found in the path. 8550 if test "x$as_myself" = x; then 8551 as_myself=$0 8552 fi 8553 if test ! -f "$as_myself"; then 8554 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 8555 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 8556 { (exit 1); exit 1; }; } 8557 fi 8558 case $CONFIG_SHELL in 8559 '') 8560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8561 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 8562 do 8563 IFS=$as_save_IFS 8564 test -z "$as_dir" && as_dir=. 8565 for as_base in sh bash ksh sh5; do 8566 case $as_dir in 8567 /*) 8568 if ("$as_dir/$as_base" -c ' 9278 IFS=$as_save_IFS 9279 9280 ;; 9281 esac 9282 # We did not find ourselves, most probably we were run as `sh COMMAND' 9283 # in which case we are not to be found in the path. 9284 if test "x$as_myself" = x; then 9285 as_myself=$0 9286 fi 9287 if test ! -f "$as_myself"; then 9288 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9289 { (exit 1); exit 1; } 9290 fi 9291 9292 # Work around bugs in pre-3.0 UWIN ksh. 9293 for as_var in ENV MAIL MAILPATH 9294 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9295 done 9296 PS1='$ ' 9297 PS2='> ' 9298 PS4='+ ' 9299 9300 # NLS nuisances. 9301 LC_ALL=C 9302 export LC_ALL 9303 LANGUAGE=C 9304 export LANGUAGE 9305 9306 # Required to use basename. 9307 if expr a : '\(a\)' >/dev/null 2>&1 && 9308 test "X`expr 00001 : '.*\(...\)'`" = X001; then 9309 as_expr=expr 9310 else 9311 as_expr=false 9312 fi 9313 9314 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 9315 as_basename=basename 9316 else 9317 as_basename=false 9318 fi 9319 9320 9321 # Name of the executable. 9322 as_me=`$as_basename -- "$0" || 9323 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 9324 X"$0" : 'X\(//\)$' \| \ 9325 X"$0" : 'X\(/\)' \| . 2>/dev/null || 9326 $as_echo X/"$0" | 9327 sed '/^.*\/\([^/][^/]*\)\/*$/{ 9328 s//\1/ 9329 q 9330 } 9331 /^X\/\(\/\/\)$/{ 9332 s//\1/ 9333 q 9334 } 9335 /^X\/\(\/\).*/{ 9336 s//\1/ 9337 q 9338 } 9339 s/.*/./; q'` 9340 9341 # CDPATH. 9342 $as_unset CDPATH 9343 9344 9345 8569 9346 as_lineno_1=$LINENO 8570 9347 as_lineno_2=$LINENO 8571 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`8572 9348 test "x$as_lineno_1" != "x$as_lineno_2" && 8573 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 8574 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 8575 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 8576 CONFIG_SHELL=$as_dir/$as_base 8577 export CONFIG_SHELL 8578 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 8579 fi;; 8580 esac 8581 done 8582 done 8583 ;; 8584 esac 9349 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 8585 9350 8586 9351 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 8587 9352 # uniformly replaced by the line number. The first 'sed' inserts a 8588 # line-number line before each line; the second 'sed' does the real 8589 # work. The second script uses 'N' to pair each line-number line 8590 # with the numbered line, and appends trailing '-' during 8591 # substitution so that $LINENO is not a special case at line end. 9353 # line-number line after each line using $LINENO; the second 'sed' 9354 # does the real work. The second script uses 'N' to pair each 9355 # line-number line with the line containing $LINENO, and appends 9356 # trailing '-' during substitution so that $LINENO is not a special 9357 # case at line end. 8592 9358 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 8593 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 8594 sed '=' <$as_myself | 9359 # scripts with optimization help from Paolo Bonzini. Blame Lee 9360 # E. McMahon (1931-1989) for sed's syntax. :-) 9361 sed -n ' 9362 p 9363 /[$]LINENO/= 9364 ' <$as_myself | 8595 9365 sed ' 9366 s/[$]LINENO.*/&-/ 9367 t lineno 9368 b 9369 :lineno 8596 9370 N 8597 s,$,-, 8598 : loop 8599 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 9371 :loop 9372 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 8600 9373 t loop 8601 s,-$,, 8602 s,^['$as_cr_digits']*\n,, 9374 s/-\n.*// 8603 9375 ' >$as_me.lineno && 8604 chmod +x $as_me.lineno || 8605 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 8606 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 9376 chmod +x "$as_me.lineno" || 9377 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 8607 9378 { (exit 1); exit 1; }; } 8608 9379 8609 9380 # Don't try to exec as it changes $[0], causing all sort of problems 8610 9381 # (the dirname of $[0] is not the place where we might find the 8611 # original and so on. Autoconf is especially sensi ble to this).8612 . ./$as_me.lineno9382 # original and so on. Autoconf is especially sensitive to this). 9383 . "./$as_me.lineno" 8613 9384 # Exit status is that of the last command. 8614 9385 exit … … 8616 9387 8617 9388 8618 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 8619 *c*,-n*) ECHO_N= ECHO_C=' 8620 ' ECHO_T=' ' ;; 8621 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 8622 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 9389 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9390 as_dirname=dirname 9391 else 9392 as_dirname=false 9393 fi 9394 9395 ECHO_C= ECHO_N= ECHO_T= 9396 case `echo -n x` in 9397 -n*) 9398 case `echo 'x\c'` in 9399 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 9400 *) ECHO_C='\c';; 9401 esac;; 9402 *) 9403 ECHO_N='-n';; 8623 9404 esac 8624 8625 if expr a : '\(a\)' >/dev/null 2>&1; then9405 if expr a : '\(a\)' >/dev/null 2>&1 && 9406 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8626 9407 as_expr=expr 8627 9408 else … … 8630 9411 8631 9412 rm -f conf$$ conf$$.exe conf$$.file 8632 echo >conf$$.file 8633 if ln -s conf$$.file conf$$ 2>/dev/null; then 8634 # We could just check for DJGPP; but this test a) works b) is more generic 8635 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 8636 if test -f conf$$.exe; then 8637 # Don't use ln at all; we don't have any links 9413 if test -d conf$$.dir; then 9414 rm -f conf$$.dir/conf$$.file 9415 else 9416 rm -f conf$$.dir 9417 mkdir conf$$.dir 2>/dev/null 9418 fi 9419 if (echo >conf$$.file) 2>/dev/null; then 9420 if ln -s conf$$.file conf$$ 2>/dev/null; then 9421 as_ln_s='ln -s' 9422 # ... but there are two gotchas: 9423 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 9424 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 9425 # In both cases, we have to default to `cp -p'. 9426 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9427 as_ln_s='cp -p' 9428 elif ln conf$$.file conf$$ 2>/dev/null; then 9429 as_ln_s=ln 9430 else 8638 9431 as_ln_s='cp -p' 8639 else8640 as_ln_s='ln -s'8641 9432 fi 8642 elif ln conf$$.file conf$$ 2>/dev/null; then8643 as_ln_s=ln8644 9433 else 8645 9434 as_ln_s='cp -p' 8646 9435 fi 8647 rm -f conf$$ conf$$.exe conf$$.file 9436 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 9437 rmdir conf$$.dir 2>/dev/null 8648 9438 8649 9439 if mkdir -p . 2>/dev/null; then … … 8654 9444 fi 8655 9445 8656 as_executable_p="test -f" 9446 if test -x / >/dev/null 2>&1; then 9447 as_test_x='test -x' 9448 else 9449 if ls -dL / >/dev/null 2>&1; then 9450 as_ls_L_option=L 9451 else 9452 as_ls_L_option= 9453 fi 9454 as_test_x=' 9455 eval sh -c '\'' 9456 if test -d "$1"; then 9457 test -d "$1/."; 9458 else 9459 case $1 in 9460 -*)set "./$1";; 9461 esac; 9462 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 9463 ???[sx]*):;;*)false;;esac;fi 9464 '\'' sh 9465 ' 9466 fi 9467 as_executable_p=$as_test_x 8657 9468 8658 9469 # Sed expression to map a string onto a valid CPP name. … … 8663 9474 8664 9475 8665 # IFS8666 # We need space, tab and new line, in precisely that order.8667 as_nl='8668 '8669 IFS=" $as_nl"8670 8671 # CDPATH.8672 $as_unset CDPATH8673 8674 9476 exec 6>&1 8675 9477 8676 # Open the log real soon, to keep \$[0] and so on meaningful, and to9478 # Save the log message, to keep $[0] and so on meaningful, and to 8677 9479 # report actual input values of CONFIG_FILES etc. instead of their 8678 # values after options handling. Logging --version etc. is OK. 9480 # values after options handling. 9481 ac_log=" 9482 This file was extended by gdbm $as_me 1.8.3, which was 9483 generated by GNU Autoconf 2.63. Invocation command line was 9484 9485 CONFIG_FILES = $CONFIG_FILES 9486 CONFIG_HEADERS = $CONFIG_HEADERS 9487 CONFIG_LINKS = $CONFIG_LINKS 9488 CONFIG_COMMANDS = $CONFIG_COMMANDS 9489 $ $0 $@ 9490 9491 on `(hostname || uname -n) 2>/dev/null | sed 1q` 9492 " 9493 9494 _ACEOF 9495 9496 case $ac_config_files in *" 9497 "*) set x $ac_config_files; shift; ac_config_files=$*;; 9498 esac 9499 9500 case $ac_config_headers in *" 9501 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 9502 esac 9503 9504 9505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9506 # Files that config.status was made for. 9507 config_files="$ac_config_files" 9508 config_headers="$ac_config_headers" 9509 9510 _ACEOF 9511 9512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9513 ac_cs_usage="\ 9514 \`$as_me' instantiates files from templates according to the 9515 current configuration. 9516 9517 Usage: $0 [OPTION]... [FILE]... 9518 9519 -h, --help print this help, then exit 9520 -V, --version print version number and configuration settings, then exit 9521 -q, --quiet, --silent 9522 do not print progress messages 9523 -d, --debug don't remove temporary files 9524 --recheck update $as_me by reconfiguring in the same conditions 9525 --file=FILE[:TEMPLATE] 9526 instantiate the configuration file FILE 9527 --header=FILE[:TEMPLATE] 9528 instantiate the configuration header FILE 9529 9530 Configuration files: 9531 $config_files 9532 9533 Configuration headers: 9534 $config_headers 9535 9536 Report bugs to <[email protected]>." 9537 9538 _ACEOF 9539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9540 ac_cs_version="\\ 9541 gdbm config.status 1.8.3 9542 configured by $0, generated by GNU Autoconf 2.63, 9543 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 9544 9545 Copyright (C) 2008 Free Software Foundation, Inc. 9546 This config.status script is free software; the Free Software Foundation 9547 gives unlimited permission to copy, distribute and modify it." 9548 9549 ac_pwd='$ac_pwd' 9550 srcdir='$srcdir' 9551 INSTALL='$INSTALL' 9552 test -n "\$AWK" || AWK=awk 9553 _ACEOF 9554 9555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9556 # The default lists apply if the user does not specify any file. 9557 ac_need_defaults=: 9558 while test $# != 0 9559 do 9560 case $1 in 9561 --*=*) 9562 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9563 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9564 ac_shift=: 9565 ;; 9566 *) 9567 ac_option=$1 9568 ac_optarg=$2 9569 ac_shift=shift 9570 ;; 9571 esac 9572 9573 case $ac_option in 9574 # Handling of the options. 9575 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 9576 ac_cs_recheck=: ;; 9577 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9578 $as_echo "$ac_cs_version"; exit ;; 9579 --debug | --debu | --deb | --de | --d | -d ) 9580 debug=: ;; 9581 --file | --fil | --fi | --f ) 9582 $ac_shift 9583 case $ac_optarg in 9584 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9585 esac 9586 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 9587 ac_need_defaults=false;; 9588 --header | --heade | --head | --hea ) 9589 $ac_shift 9590 case $ac_optarg in 9591 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9592 esac 9593 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 9594 ac_need_defaults=false;; 9595 --he | --h) 9596 # Conflict between --help and --header 9597 { $as_echo "$as_me: error: ambiguous option: $1 9598 Try \`$0 --help' for more information." >&2 9599 { (exit 1); exit 1; }; };; 9600 --help | --hel | -h ) 9601 $as_echo "$ac_cs_usage"; exit ;; 9602 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9603 | -silent | --silent | --silen | --sile | --sil | --si | --s) 9604 ac_cs_silent=: ;; 9605 9606 # This is an error. 9607 -*) { $as_echo "$as_me: error: unrecognized option: $1 9608 Try \`$0 --help' for more information." >&2 9609 { (exit 1); exit 1; }; } ;; 9610 9611 *) ac_config_targets="$ac_config_targets $1" 9612 ac_need_defaults=false ;; 9613 9614 esac 9615 shift 9616 done 9617 9618 ac_configure_extra_args= 9619 9620 if $ac_cs_silent; then 9621 exec 6>/dev/null 9622 ac_configure_extra_args="$ac_configure_extra_args --silent" 9623 fi 9624 9625 _ACEOF 9626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9627 if \$ac_cs_recheck; then 9628 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9629 shift 9630 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 9631 CONFIG_SHELL='$SHELL' 9632 export CONFIG_SHELL 9633 exec "\$@" 9634 fi 9635 9636 _ACEOF 9637 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8679 9638 exec 5>>config.log 8680 9639 { … … 8683 9642 ## Running $as_me. ## 8684 9643 _ASBOX 9644 $as_echo "$ac_log" 8685 9645 } >&5 8686 cat >&5 <<_CSEOF 8687 8688 This file was extended by gdbm $as_me 1.8.3, which was 8689 generated by GNU Autoconf 2.59. Invocation command line was 8690 8691 CONFIG_FILES = $CONFIG_FILES 8692 CONFIG_HEADERS = $CONFIG_HEADERS 8693 CONFIG_LINKS = $CONFIG_LINKS 8694 CONFIG_COMMANDS = $CONFIG_COMMANDS 8695 $ $0 $@ 8696 8697 _CSEOF 8698 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 8699 echo >&5 8700 _ACEOF 8701 8702 # Files that config.status was made for. 8703 if test -n "$ac_config_files"; then 8704 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 8705 fi 8706 8707 if test -n "$ac_config_headers"; then 8708 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 8709 fi 8710 8711 if test -n "$ac_config_links"; then 8712 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 8713 fi 8714 8715 if test -n "$ac_config_commands"; then 8716 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 8717 fi 8718 8719 cat >>$CONFIG_STATUS <<\_ACEOF 8720 8721 ac_cs_usage="\ 8722 \`$as_me' instantiates files from templates according to the 8723 current configuration. 8724 8725 Usage: $0 [OPTIONS] [FILE]... 8726 8727 -h, --help print this help, then exit 8728 -V, --version print version number, then exit 8729 -q, --quiet do not print progress messages 8730 -d, --debug don't remove temporary files 8731 --recheck update $as_me by reconfiguring in the same conditions 8732 --file=FILE[:TEMPLATE] 8733 instantiate the configuration file FILE 8734 --header=FILE[:TEMPLATE] 8735 instantiate the configuration header FILE 8736 8737 Configuration files: 8738 $config_files 8739 8740 Configuration headers: 8741 $config_headers 8742 8743 Report bugs to <[email protected]>." 8744 _ACEOF 8745 8746 cat >>$CONFIG_STATUS <<_ACEOF 8747 ac_cs_version="\\ 8748 gdbm config.status 1.8.3 8749 configured by $0, generated by GNU Autoconf 2.59, 8750 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 8751 8752 Copyright (C) 2003 Free Software Foundation, Inc. 8753 This config.status script is free software; the Free Software Foundation 8754 gives unlimited permission to copy, distribute and modify it." 8755 srcdir=$srcdir 8756 INSTALL="$INSTALL" 8757 _ACEOF 8758 8759 cat >>$CONFIG_STATUS <<\_ACEOF 8760 # If no file are specified by the user, then we need to provide default 8761 # value. By we need to know if files were specified by the user. 8762 ac_need_defaults=: 8763 while test $# != 0 8764 do 8765 case $1 in 8766 --*=*) 8767 ac_option=`expr "x$1" : 'x\([^=]*\)='` 8768 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 8769 ac_shift=: 8770 ;; 8771 -*) 8772 ac_option=$1 8773 ac_optarg=$2 8774 ac_shift=shift 8775 ;; 8776 *) # This is not an option, so the user has probably given explicit 8777 # arguments. 8778 ac_option=$1 8779 ac_need_defaults=false;; 8780 esac 8781 8782 case $ac_option in 8783 # Handling of the options. 8784 _ACEOF 8785 cat >>$CONFIG_STATUS <<\_ACEOF 8786 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8787 ac_cs_recheck=: ;; 8788 --version | --vers* | -V ) 8789 echo "$ac_cs_version"; exit 0 ;; 8790 --he | --h) 8791 # Conflict between --help and --header 8792 { { echo "$as_me:$LINENO: error: ambiguous option: $1 8793 Try \`$0 --help' for more information." >&5 8794 echo "$as_me: error: ambiguous option: $1 8795 Try \`$0 --help' for more information." >&2;} 8796 { (exit 1); exit 1; }; };; 8797 --help | --hel | -h ) 8798 echo "$ac_cs_usage"; exit 0 ;; 8799 --debug | --d* | -d ) 8800 debug=: ;; 8801 --file | --fil | --fi | --f ) 8802 $ac_shift 8803 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 8804 ac_need_defaults=false;; 8805 --header | --heade | --head | --hea ) 8806 $ac_shift 8807 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 8808 ac_need_defaults=false;; 8809 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8810 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8811 ac_cs_silent=: ;; 8812 8813 # This is an error. 8814 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 8815 Try \`$0 --help' for more information." >&5 8816 echo "$as_me: error: unrecognized option: $1 8817 Try \`$0 --help' for more information." >&2;} 8818 { (exit 1); exit 1; }; } ;; 8819 8820 *) ac_config_targets="$ac_config_targets $1" ;; 8821 8822 esac 8823 shift 8824 done 8825 8826 ac_configure_extra_args= 8827 8828 if $ac_cs_silent; then 8829 exec 6>/dev/null 8830 ac_configure_extra_args="$ac_configure_extra_args --silent" 8831 fi 8832 8833 _ACEOF 8834 cat >>$CONFIG_STATUS <<_ACEOF 8835 if \$ac_cs_recheck; then 8836 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8837 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8838 fi 8839 8840 _ACEOF 8841 8842 8843 8844 8845 8846 cat >>$CONFIG_STATUS <<\_ACEOF 9646 9647 _ACEOF 9648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9649 _ACEOF 9650 9651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9652 9653 # Handling of arguments. 8847 9654 for ac_config_target in $ac_config_targets 8848 9655 do 8849 case "$ac_config_target"in8850 # Handling of arguments.8851 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;8852 "autoconf.h" ) CONFIG_HEADERS="$CONFIG_HEADERS autoconf.h" ;; 8853 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&58854 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}9656 case $ac_config_target in 9657 "autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS autoconf.h" ;; 9658 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 9659 9660 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 9661 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 8855 9662 { (exit 1); exit 1; }; };; 8856 9663 esac 8857 9664 done 9665 8858 9666 8859 9667 # If the user did not use the arguments to specify the items to instantiate, … … 8867 9675 8868 9676 # Have a temporary directory for convenience. Make it in the build tree 8869 # simply because there is no reason to putit here, and in addition,9677 # simply because there is no reason against having it here, and in addition, 8870 9678 # creating and moving files from /tmp can sometimes cause problems. 8871 # Create a temporary directory, and hook for its removal unless debugging. 9679 # Hook for its removal unless debugging. 9680 # Note that there is a small window in which the directory will not be cleaned: 9681 # after its creation but before its name has been assigned to `$tmp'. 8872 9682 $debug || 8873 9683 { 8874 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 9684 tmp= 9685 trap 'exit_status=$? 9686 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9687 ' 0 8875 9688 trap '{ (exit 1); exit 1; }' 1 2 13 15 8876 9689 } 8877 8878 9690 # Create a (secure) tmp directory for tmp files. 8879 9691 8880 9692 { 8881 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&9693 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8882 9694 test -n "$tmp" && test -d "$tmp" 8883 9695 } || 8884 9696 { 8885 tmp=./conf stat$$-$RANDOM8886 (umask 077 && mkdir $tmp)9697 tmp=./conf$$-$RANDOM 9698 (umask 077 && mkdir "$tmp") 8887 9699 } || 8888 9700 { 8889 echo "$me: cannot create a temporary directory in ." >&29701 $as_echo "$as_me: cannot create a temporary directory in ." >&2 8890 9702 { (exit 1); exit 1; } 8891 9703 } 8892 9704 8893 _ACEOF 8894 8895 cat >>$CONFIG_STATUS <<_ACEOF 8896 8897 # 8898 # CONFIG_FILES section. 8899 # 8900 8901 # No need to generate the scripts if there are no CONFIG_FILES. 8902 # This happens for instance when ./config.status config.h 8903 if test -n "\$CONFIG_FILES"; then 8904 # Protect against being on the right side of a sed subst in config.status. 8905 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 8906 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 8907 s,@SHELL@,$SHELL,;t t 8908 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 8909 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 8910 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 8911 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 8912 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 8913 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 8914 s,@exec_prefix@,$exec_prefix,;t t 8915 s,@prefix@,$prefix,;t t 8916 s,@program_transform_name@,$program_transform_name,;t t 8917 s,@bindir@,$bindir,;t t 8918 s,@sbindir@,$sbindir,;t t 8919 s,@libexecdir@,$libexecdir,;t t 8920 s,@datadir@,$datadir,;t t 8921 s,@sysconfdir@,$sysconfdir,;t t 8922 s,@sharedstatedir@,$sharedstatedir,;t t 8923 s,@localstatedir@,$localstatedir,;t t 8924 s,@libdir@,$libdir,;t t 8925 s,@includedir@,$includedir,;t t 8926 s,@oldincludedir@,$oldincludedir,;t t 8927 s,@infodir@,$infodir,;t t 8928 s,@mandir@,$mandir,;t t 8929 s,@build_alias@,$build_alias,;t t 8930 s,@host_alias@,$host_alias,;t t 8931 s,@target_alias@,$target_alias,;t t 8932 s,@DEFS@,$DEFS,;t t 8933 s,@ECHO_C@,$ECHO_C,;t t 8934 s,@ECHO_N@,$ECHO_N,;t t 8935 s,@ECHO_T@,$ECHO_T,;t t 8936 s,@LIBS@,$LIBS,;t t 8937 s,@build@,$build,;t t 8938 s,@build_cpu@,$build_cpu,;t t 8939 s,@build_vendor@,$build_vendor,;t t 8940 s,@build_os@,$build_os,;t t 8941 s,@host@,$host,;t t 8942 s,@host_cpu@,$host_cpu,;t t 8943 s,@host_vendor@,$host_vendor,;t t 8944 s,@host_os@,$host_os,;t t 8945 s,@target@,$target,;t t 8946 s,@target_cpu@,$target_cpu,;t t 8947 s,@target_vendor@,$target_vendor,;t t 8948 s,@target_os@,$target_os,;t t 8949 s,@CC@,$CC,;t t 8950 s,@CFLAGS@,$CFLAGS,;t t 8951 s,@LDFLAGS@,$LDFLAGS,;t t 8952 s,@CPPFLAGS@,$CPPFLAGS,;t t 8953 s,@ac_ct_CC@,$ac_ct_CC,;t t 8954 s,@EXEEXT@,$EXEEXT,;t t 8955 s,@OBJEXT@,$OBJEXT,;t t 8956 s,@CPP@,$CPP,;t t 8957 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 8958 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 8959 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 8960 s,@LN_S@,$LN_S,;t t 8961 s,@ECHO@,$ECHO,;t t 8962 s,@RANLIB@,$RANLIB,;t t 8963 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 8964 s,@STRIP@,$STRIP,;t t 8965 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 8966 s,@EGREP@,$EGREP,;t t 8967 s,@LIBTOOL@,$LIBTOOL,;t t 8968 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 8969 s,@LIBOBJS@,$LIBOBJS,;t t 8970 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 8971 CEOF 8972 8973 _ACEOF 8974 8975 cat >>$CONFIG_STATUS <<\_ACEOF 8976 # Split the substitutions into bite-sized pieces for seds with 8977 # small command number limits, like on Digital OSF/1 and HP-UX. 8978 ac_max_sed_lines=48 8979 ac_sed_frag=1 # Number of current file. 8980 ac_beg=1 # First line for current file. 8981 ac_end=$ac_max_sed_lines # Line after last line for current file. 8982 ac_more_lines=: 8983 ac_sed_cmds= 8984 while $ac_more_lines; do 8985 if test $ac_beg -gt 1; then 8986 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8987 else 8988 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 9705 # Set up the scripts for CONFIG_FILES section. 9706 # No need to generate them if there are no CONFIG_FILES. 9707 # This happens for instance with `./config.status config.h'. 9708 if test -n "$CONFIG_FILES"; then 9709 9710 9711 ac_cr=' 9712 ' 9713 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 9714 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 9715 ac_cs_awk_cr='\\r' 9716 else 9717 ac_cs_awk_cr=$ac_cr 9718 fi 9719 9720 echo 'BEGIN {' >"$tmp/subs1.awk" && 9721 _ACEOF 9722 9723 9724 { 9725 echo "cat >conf$$subs.awk <<_ACEOF" && 9726 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 9727 echo "_ACEOF" 9728 } >conf$$subs.sh || 9729 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9730 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9731 { (exit 1); exit 1; }; } 9732 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 9733 ac_delim='%!_!# ' 9734 for ac_last_try in false false false false false :; do 9735 . ./conf$$subs.sh || 9736 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9737 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9738 { (exit 1); exit 1; }; } 9739 9740 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 9741 if test $ac_delim_n = $ac_delim_num; then 9742 break 9743 elif $ac_last_try; then 9744 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9745 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9746 { (exit 1); exit 1; }; } 9747 else 9748 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9749 fi 9750 done 9751 rm -f conf$$subs.sh 9752 9753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9754 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 9755 _ACEOF 9756 sed -n ' 9757 h 9758 s/^/S["/; s/!.*/"]=/ 9759 p 9760 g 9761 s/^[^!]*!// 9762 :repl 9763 t repl 9764 s/'"$ac_delim"'$// 9765 t delim 9766 :nl 9767 h 9768 s/\(.\{148\}\).*/\1/ 9769 t more1 9770 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 9771 p 9772 n 9773 b repl 9774 :more1 9775 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9776 p 9777 g 9778 s/.\{148\}// 9779 t nl 9780 :delim 9781 h 9782 s/\(.\{148\}\).*/\1/ 9783 t more2 9784 s/["\\]/\\&/g; s/^/"/; s/$/"/ 9785 p 9786 b 9787 :more2 9788 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9789 p 9790 g 9791 s/.\{148\}// 9792 t delim 9793 ' <conf$$subs.awk | sed ' 9794 /^[^""]/{ 9795 N 9796 s/\n// 9797 } 9798 ' >>$CONFIG_STATUS || ac_write_fail=1 9799 rm -f conf$$subs.awk 9800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9801 _ACAWK 9802 cat >>"\$tmp/subs1.awk" <<_ACAWK && 9803 for (key in S) S_is_set[key] = 1 9804 FS = "" 9805 9806 } 9807 { 9808 line = $ 0 9809 nfields = split(line, field, "@") 9810 substed = 0 9811 len = length(field[1]) 9812 for (i = 2; i < nfields; i++) { 9813 key = field[i] 9814 keylen = length(key) 9815 if (S_is_set[key]) { 9816 value = S[key] 9817 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 9818 len += length(value) + length(field[++i]) 9819 substed = 1 9820 } else 9821 len += 1 + keylen 9822 } 9823 9824 print line 9825 } 9826 9827 _ACAWK 9828 _ACEOF 9829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9830 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9831 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 9832 else 9833 cat 9834 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 9835 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 9836 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 9837 { (exit 1); exit 1; }; } 9838 _ACEOF 9839 9840 # VPATH may cause trouble with some makes, so we remove $(srcdir), 9841 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9842 # trailing colons and then remove the whole line if VPATH becomes empty 9843 # (actually we leave an empty line to preserve line numbers). 9844 if test "x$srcdir" = x.; then 9845 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 9846 s/:*\$(srcdir):*/:/ 9847 s/:*\${srcdir}:*/:/ 9848 s/:*@srcdir@:*/:/ 9849 s/^\([^=]*=[ ]*\):*/\1/ 9850 s/:*$// 9851 s/^[^=]*=[ ]*$// 9852 }' 9853 fi 9854 9855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9856 fi # test -n "$CONFIG_FILES" 9857 9858 # Set up the scripts for CONFIG_HEADERS section. 9859 # No need to generate them if there are no CONFIG_HEADERS. 9860 # This happens for instance with `./config.status Makefile'. 9861 if test -n "$CONFIG_HEADERS"; then 9862 cat >"$tmp/defines.awk" <<\_ACAWK || 9863 BEGIN { 9864 _ACEOF 9865 9866 # Transform confdefs.h into an awk script `defines.awk', embedded as 9867 # here-document in config.status, that substitutes the proper values into 9868 # config.h.in to produce config.h. 9869 9870 # Create a delimiter string that does not exist in confdefs.h, to ease 9871 # handling of long lines. 9872 ac_delim='%!_!# ' 9873 for ac_last_try in false false :; do 9874 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 9875 if test -z "$ac_t"; then 9876 break 9877 elif $ac_last_try; then 9878 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 9879 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 9880 { (exit 1); exit 1; }; } 9881 else 9882 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9883 fi 9884 done 9885 9886 # For the awk script, D is an array of macro values keyed by name, 9887 # likewise P contains macro parameters if any. Preserve backslash 9888 # newline sequences. 9889 9890 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 9891 sed -n ' 9892 s/.\{148\}/&'"$ac_delim"'/g 9893 t rset 9894 :rset 9895 s/^[ ]*#[ ]*define[ ][ ]*/ / 9896 t def 9897 d 9898 :def 9899 s/\\$// 9900 t bsnl 9901 s/["\\]/\\&/g 9902 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9903 D["\1"]=" \3"/p 9904 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 9905 d 9906 :bsnl 9907 s/["\\]/\\&/g 9908 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9909 D["\1"]=" \3\\\\\\n"\\/p 9910 t cont 9911 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 9912 t cont 9913 d 9914 :cont 9915 n 9916 s/.\{148\}/&'"$ac_delim"'/g 9917 t clear 9918 :clear 9919 s/\\$// 9920 t bsnlc 9921 s/["\\]/\\&/g; s/^/"/; s/$/"/p 9922 d 9923 :bsnlc 9924 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 9925 b cont 9926 ' <confdefs.h | sed ' 9927 s/'"$ac_delim"'/"\\\ 9928 "/g' >>$CONFIG_STATUS || ac_write_fail=1 9929 9930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9931 for (key in D) D_is_set[key] = 1 9932 FS = "" 9933 } 9934 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 9935 line = \$ 0 9936 split(line, arg, " ") 9937 if (arg[1] == "#") { 9938 defundef = arg[2] 9939 mac1 = arg[3] 9940 } else { 9941 defundef = substr(arg[1], 2) 9942 mac1 = arg[2] 9943 } 9944 split(mac1, mac2, "(") #) 9945 macro = mac2[1] 9946 prefix = substr(line, 1, index(line, defundef) - 1) 9947 if (D_is_set[macro]) { 9948 # Preserve the white space surrounding the "#". 9949 print prefix "define", macro P[macro] D[macro] 9950 next 9951 } else { 9952 # Replace #undef with comments. This is necessary, for example, 9953 # in the case of _POSIX_SOURCE, which is predefined and required 9954 # on some systems where configure will not decide to define it. 9955 if (defundef == "undef") { 9956 print "/*", prefix defundef, macro, "*/" 9957 next 9958 } 9959 } 9960 } 9961 { print } 9962 _ACAWK 9963 _ACEOF 9964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9965 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 9966 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 9967 { (exit 1); exit 1; }; } 9968 fi # test -n "$CONFIG_HEADERS" 9969 9970 9971 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 9972 shift 9973 for ac_tag 9974 do 9975 case $ac_tag in 9976 :[FHLC]) ac_mode=$ac_tag; continue;; 9977 esac 9978 case $ac_mode$ac_tag in 9979 :[FHL]*:*);; 9980 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 9981 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 9982 { (exit 1); exit 1; }; };; 9983 :[FH]-) ac_tag=-:-;; 9984 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9985 esac 9986 ac_save_IFS=$IFS 9987 IFS=: 9988 set x $ac_tag 9989 IFS=$ac_save_IFS 9990 shift 9991 ac_file=$1 9992 shift 9993 9994 case $ac_mode in 9995 :L) ac_source=$1;; 9996 :[FH]) 9997 ac_file_inputs= 9998 for ac_f 9999 do 10000 case $ac_f in 10001 -) ac_f="$tmp/stdin";; 10002 *) # Look for the file first in the build tree, then in the source tree 10003 # (if the path is not absolute). The absolute path cannot be DOS-style, 10004 # because $ac_f cannot contain `:'. 10005 test -f "$ac_f" || 10006 case $ac_f in 10007 [\\/$]*) false;; 10008 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 10009 esac || 10010 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 10011 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 10012 { (exit 1); exit 1; }; };; 10013 esac 10014 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 10015 ac_file_inputs="$ac_file_inputs '$ac_f'" 10016 done 10017 10018 # Let's still pretend it is `configure' which instantiates (i.e., don't 10019 # use $as_me), people would be surprised to read: 10020 # /* config.h. Generated by config.status. */ 10021 configure_input='Generated from '` 10022 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 10023 `' by configure.' 10024 if test x"$ac_file" != x-; then 10025 configure_input="$ac_file. $configure_input" 10026 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 10027 $as_echo "$as_me: creating $ac_file" >&6;} 8989 10028 fi 8990 if test ! -s $tmp/subs.frag; then 8991 ac_more_lines=false 8992 else 8993 # The purpose of the label and of the branching condition is to 8994 # speed up the sed processing (if there are no `@' at all, there 8995 # is no need to browse any of the substitutions). 8996 # These are the two extra sed commands mentioned above. 8997 (echo ':t 8998 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 8999 if test -z "$ac_sed_cmds"; then 9000 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 9001 else 9002 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 9003 fi 9004 ac_sed_frag=`expr $ac_sed_frag + 1` 9005 ac_beg=$ac_end 9006 ac_end=`expr $ac_end + $ac_max_sed_lines` 9007 fi 9008 done 9009 if test -z "$ac_sed_cmds"; then 9010 ac_sed_cmds=cat 9011 fi 9012 fi # test -n "$CONFIG_FILES" 9013 9014 _ACEOF 9015 cat >>$CONFIG_STATUS <<\_ACEOF 9016 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 9017 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 9018 case $ac_file in 9019 - | *:- | *:-:* ) # input from stdin 9020 cat >$tmp/stdin 9021 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9022 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 9023 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9024 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 9025 * ) ac_file_in=$ac_file.in ;; 10029 # Neutralize special characters interpreted by sed in replacement strings. 10030 case $configure_input in #( 10031 *\&* | *\|* | *\\* ) 10032 ac_sed_conf_input=`$as_echo "$configure_input" | 10033 sed 's/[\\\\&|]/\\\\&/g'`;; #( 10034 *) ac_sed_conf_input=$configure_input;; 10035 esac 10036 10037 case $ac_tag in 10038 *:-:* | *:-) cat >"$tmp/stdin" \ 10039 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10040 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10041 { (exit 1); exit 1; }; } ;; 10042 esac 10043 ;; 9026 10044 esac 9027 10045 9028 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 9029 ac_dir=`(dirname "$ac_file") 2>/dev/null || 10046 ac_dir=`$as_dirname -- "$ac_file" || 9030 10047 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9031 10048 X"$ac_file" : 'X\(//\)[^/]' \| \ 9032 10049 X"$ac_file" : 'X\(//\)$' \| \ 9033 X"$ac_file" : 'X\(/\)' \| \ 9034 . : '\(.\)' 2>/dev/null || 9035 echo X"$ac_file" | 9036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9037 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9038 /^X\(\/\/\)$/{ s//\1/; q; } 9039 /^X\(\/\).*/{ s//\1/; q; } 9040 s/.*/./; q'` 9041 { if $as_mkdir_p; then 9042 mkdir -p "$ac_dir" 9043 else 9044 as_dir="$ac_dir" 10050 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 10051 $as_echo X"$ac_file" | 10052 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10053 s//\1/ 10054 q 10055 } 10056 /^X\(\/\/\)[^/].*/{ 10057 s//\1/ 10058 q 10059 } 10060 /^X\(\/\/\)$/{ 10061 s//\1/ 10062 q 10063 } 10064 /^X\(\/\).*/{ 10065 s//\1/ 10066 q 10067 } 10068 s/.*/./; q'` 10069 { as_dir="$ac_dir" 10070 case $as_dir in #( 10071 -*) as_dir=./$as_dir;; 10072 esac 10073 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 9045 10074 as_dirs= 9046 while test ! -d "$as_dir"; do 9047 as_dirs="$as_dir $as_dirs" 9048 as_dir=`(dirname "$as_dir") 2>/dev/null || 10075 while :; do 10076 case $as_dir in #( 10077 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10078 *) as_qdir=$as_dir;; 10079 esac 10080 as_dirs="'$as_qdir' $as_dirs" 10081 as_dir=`$as_dirname -- "$as_dir" || 9049 10082 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9050 10083 X"$as_dir" : 'X\(//\)[^/]' \| \ 9051 10084 X"$as_dir" : 'X\(//\)$' \| \ 9052 X"$as_dir" : 'X\(/\)' \| \ 9053 . : '\(.\)' 2>/dev/null || 9054 echo X"$as_dir" | 9055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9056 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9057 /^X\(\/\/\)$/{ s//\1/; q; } 9058 /^X\(\/\).*/{ s//\1/; q; } 9059 s/.*/./; q'` 10085 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10086 $as_echo X"$as_dir" | 10087 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10088 s//\1/ 10089 q 10090 } 10091 /^X\(\/\/\)[^/].*/{ 10092 s//\1/ 10093 q 10094 } 10095 /^X\(\/\/\)$/{ 10096 s//\1/ 10097 q 10098 } 10099 /^X\(\/\).*/{ 10100 s//\1/ 10101 q 10102 } 10103 s/.*/./; q'` 10104 test -d "$as_dir" && break 9060 10105 done 9061 test ! -n "$as_dirs" || mkdir $as_dirs9062 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&59063 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}10106 test -z "$as_dirs" || eval "mkdir $as_dirs" 10107 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10108 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 9064 10109 { (exit 1); exit 1; }; }; } 9065 9066 10110 ac_builddir=. 9067 10111 9068 if test "$ac_dir" != .; then 9069 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 9070 # A "../" for each directory in $ac_dir_suffix. 9071 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 9072 else 9073 ac_dir_suffix= ac_top_builddir= 9074 fi 10112 case "$ac_dir" in 10113 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10114 *) 10115 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 10116 # A ".." for each directory in $ac_dir_suffix. 10117 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 10118 case $ac_top_builddir_sub in 10119 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 10120 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 10121 esac ;; 10122 esac 10123 ac_abs_top_builddir=$ac_pwd 10124 ac_abs_builddir=$ac_pwd$ac_dir_suffix 10125 # for backward compatibility: 10126 ac_top_builddir=$ac_top_build_prefix 9075 10127 9076 10128 case $srcdir in 9077 .) # No --srcdir option.We are building in place.10129 .) # We are building in place. 9078 10130 ac_srcdir=. 9079 if test -z "$ac_top_builddir"; then 9080 ac_top_srcdir=. 9081 else 9082 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 9083 fi ;; 9084 [\\/]* | ?:[\\/]* ) # Absolute path. 10131 ac_top_srcdir=$ac_top_builddir_sub 10132 ac_abs_top_srcdir=$ac_pwd ;; 10133 [\\/]* | ?:[\\/]* ) # Absolute name. 9085 10134 ac_srcdir=$srcdir$ac_dir_suffix; 9086 ac_top_srcdir=$srcdir ;; 9087 *) # Relative path. 9088 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 9089 ac_top_srcdir=$ac_top_builddir$srcdir ;; 10135 ac_top_srcdir=$srcdir 10136 ac_abs_top_srcdir=$srcdir ;; 10137 *) # Relative name. 10138 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 10139 ac_top_srcdir=$ac_top_build_prefix$srcdir 10140 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 9090 10141 esac 9091 9092 # Do not use `cd foo && pwd` to compute absolute paths, because 9093 # the directories may not exist. 9094 case `pwd` in 9095 .) ac_abs_builddir="$ac_dir";; 9096 *) 9097 case "$ac_dir" in 9098 .) ac_abs_builddir=`pwd`;; 9099 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 9100 *) ac_abs_builddir=`pwd`/"$ac_dir";; 9101 esac;; 9102 esac 9103 case $ac_abs_builddir in 9104 .) ac_abs_top_builddir=${ac_top_builddir}.;; 9105 *) 9106 case ${ac_top_builddir}. in 9107 .) ac_abs_top_builddir=$ac_abs_builddir;; 9108 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 9109 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 9110 esac;; 9111 esac 9112 case $ac_abs_builddir in 9113 .) ac_abs_srcdir=$ac_srcdir;; 9114 *) 9115 case $ac_srcdir in 9116 .) ac_abs_srcdir=$ac_abs_builddir;; 9117 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 9118 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 9119 esac;; 9120 esac 9121 case $ac_abs_builddir in 9122 .) ac_abs_top_srcdir=$ac_top_srcdir;; 9123 *) 9124 case $ac_top_srcdir in 9125 .) ac_abs_top_srcdir=$ac_abs_builddir;; 9126 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 9127 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 9128 esac;; 9129 esac 9130 10142 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 10143 10144 10145 case $ac_mode in 10146 :F) 10147 # 10148 # CONFIG_FILE 10149 # 9131 10150 9132 10151 case $INSTALL in 9133 10152 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 9134 *) ac_INSTALL=$ac_top_build dir$INSTALL ;;10153 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 9135 10154 esac 9136 9137 if test x"$ac_file" != x-; then 9138 { echo "$as_me:$LINENO: creating $ac_file" >&5 9139 echo "$as_me: creating $ac_file" >&6;} 9140 rm -f "$ac_file" 9141 fi 9142 # Let's still pretend it is `configure' which instantiates (i.e., don't 9143 # use $as_me), people would be surprised to read: 9144 # /* config.h. Generated by config.status. */ 9145 if test x"$ac_file" = x-; then 9146 configure_input= 9147 else 9148 configure_input="$ac_file. " 9149 fi 9150 configure_input=$configure_input"Generated from `echo $ac_file_in | 9151 sed 's,.*/,,'` by configure." 9152 9153 # First look for the input files in the build tree, otherwise in the 9154 # src tree. 9155 ac_file_inputs=`IFS=: 9156 for f in $ac_file_in; do 9157 case $f in 9158 -) echo $tmp/stdin ;; 9159 [\\/$]*) 9160 # Absolute (can't be DOS-style, as IFS=:) 9161 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 9162 echo "$as_me: error: cannot find input file: $f" >&2;} 9163 { (exit 1); exit 1; }; } 9164 echo "$f";; 9165 *) # Relative 9166 if test -f "$f"; then 9167 # Build tree 9168 echo "$f" 9169 elif test -f "$srcdir/$f"; then 9170 # Source tree 9171 echo "$srcdir/$f" 9172 else 9173 # /dev/null tree 9174 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 9175 echo "$as_me: error: cannot find input file: $f" >&2;} 9176 { (exit 1); exit 1; }; } 9177 fi;; 9178 esac 9179 done` || { (exit 1); exit 1; } 9180 _ACEOF 9181 cat >>$CONFIG_STATUS <<_ACEOF 9182 sed "$ac_vpsub 10155 _ACEOF 10156 10157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10158 # If the template does not know about datarootdir, expand it. 10159 # FIXME: This hack should be removed a few years after 2.60. 10160 ac_datarootdir_hack=; ac_datarootdir_seen= 10161 10162 ac_sed_dataroot=' 10163 /datarootdir/ { 10164 p 10165 q 10166 } 10167 /@datadir@/p 10168 /@docdir@/p 10169 /@infodir@/p 10170 /@localedir@/p 10171 /@mandir@/p 10172 ' 10173 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 10174 *datarootdir*) ac_datarootdir_seen=yes;; 10175 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 10176 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10177 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10178 _ACEOF 10179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10180 ac_datarootdir_hack=' 10181 s&@datadir@&$datadir&g 10182 s&@docdir@&$docdir&g 10183 s&@infodir@&$infodir&g 10184 s&@localedir@&$localedir&g 10185 s&@mandir@&$mandir&g 10186 s&\\\${datarootdir}&$datarootdir&g' ;; 10187 esac 10188 _ACEOF 10189 10190 # Neutralize VPATH when `$srcdir' = `.'. 10191 # Shell code in configure.ac might set extrasub. 10192 # FIXME: do we really want to maintain this feature? 10193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10194 ac_sed_extra="$ac_vpsub 9183 10195 $extrasub 9184 10196 _ACEOF 9185 cat >>$CONFIG_STATUS <<\_ACEOF 10197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9186 10198 :t 9187 10199 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 9188 s,@configure_input@,$configure_input,;t t 9189 s,@srcdir@,$ac_srcdir,;t t 9190 s,@abs_srcdir@,$ac_abs_srcdir,;t t 9191 s,@top_srcdir@,$ac_top_srcdir,;t t 9192 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 9193 s,@builddir@,$ac_builddir,;t t 9194 s,@abs_builddir@,$ac_abs_builddir,;t t 9195 s,@top_builddir@,$ac_top_builddir,;t t 9196 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 9197 s,@INSTALL@,$ac_INSTALL,;t t 9198 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 9199 rm -f $tmp/stdin 10200 s|@configure_input@|$ac_sed_conf_input|;t t 10201 s&@top_builddir@&$ac_top_builddir_sub&;t t 10202 s&@top_build_prefix@&$ac_top_build_prefix&;t t 10203 s&@srcdir@&$ac_srcdir&;t t 10204 s&@abs_srcdir@&$ac_abs_srcdir&;t t 10205 s&@top_srcdir@&$ac_top_srcdir&;t t 10206 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 10207 s&@builddir@&$ac_builddir&;t t 10208 s&@abs_builddir@&$ac_abs_builddir&;t t 10209 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 10210 s&@INSTALL@&$ac_INSTALL&;t t 10211 $ac_datarootdir_hack 10212 " 10213 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 10214 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10215 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10216 { (exit 1); exit 1; }; } 10217 10218 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 10219 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 10220 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 10221 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10222 which seems to be undefined. Please make sure it is defined." >&5 10223 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10224 which seems to be undefined. Please make sure it is defined." >&2;} 10225 10226 rm -f "$tmp/stdin" 10227 case $ac_file in 10228 -) cat "$tmp/out" && rm -f "$tmp/out";; 10229 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 10230 esac \ 10231 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10232 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10233 { (exit 1); exit 1; }; } 10234 ;; 10235 :H) 10236 # 10237 # CONFIG_HEADER 10238 # 9200 10239 if test x"$ac_file" != x-; then 9201 mv $tmp/out $ac_file 9202 else 9203 cat $tmp/out 9204 rm -f $tmp/out 9205 fi 9206 9207 done 9208 _ACEOF 9209 cat >>$CONFIG_STATUS <<\_ACEOF 9210 9211 # 9212 # CONFIG_HEADER section. 9213 # 9214 9215 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 9216 # NAME is the cpp macro being defined and VALUE is the value it is being given. 9217 # 9218 # ac_d sets the value in "#define NAME VALUE" lines. 9219 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 9220 ac_dB='[ ].*$,\1#\2' 9221 ac_dC=' ' 9222 ac_dD=',;t' 9223 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 9224 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 9225 ac_uB='$,\1#\2define\3' 9226 ac_uC=' ' 9227 ac_uD=',;t' 9228 9229 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 9230 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 9231 case $ac_file in 9232 - | *:- | *:-:* ) # input from stdin 9233 cat >$tmp/stdin 9234 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9235 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 9236 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9237 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 9238 * ) ac_file_in=$ac_file.in ;; 9239 esac 9240 9241 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 9242 echo "$as_me: creating $ac_file" >&6;} 9243 9244 # First look for the input files in the build tree, otherwise in the 9245 # src tree. 9246 ac_file_inputs=`IFS=: 9247 for f in $ac_file_in; do 9248 case $f in 9249 -) echo $tmp/stdin ;; 9250 [\\/$]*) 9251 # Absolute (can't be DOS-style, as IFS=:) 9252 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 9253 echo "$as_me: error: cannot find input file: $f" >&2;} 10240 { 10241 $as_echo "/* $configure_input */" \ 10242 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 10243 } >"$tmp/config.h" \ 10244 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10245 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9254 10246 { (exit 1); exit 1; }; } 9255 # Do quote $f, to prevent DOS paths from being IFS'd. 9256 echo "$f";; 9257 *) # Relative 9258 if test -f "$f"; then 9259 # Build tree 9260 echo "$f" 9261 elif test -f "$srcdir/$f"; then 9262 # Source tree 9263 echo "$srcdir/$f" 9264 else 9265 # /dev/null tree 9266 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 9267 echo "$as_me: error: cannot find input file: $f" >&2;} 10247 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 10248 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 10249 $as_echo "$as_me: $ac_file is unchanged" >&6;} 10250 else 10251 rm -f "$ac_file" 10252 mv "$tmp/config.h" "$ac_file" \ 10253 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10254 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9268 10255 { (exit 1); exit 1; }; } 9269 fi;;9270 esac9271 done` || { (exit 1); exit 1; }9272 # Remove the trailing spaces.9273 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in9274 9275 _ACEOF9276 9277 # Transform confdefs.h into two sed scripts, `conftest.defines' and9278 # `conftest.undefs', that substitutes the proper values into9279 # config.h.in to produce config.h. The first handles `#define'9280 # templates, and the second `#undef' templates.9281 # And first: Protect against being on the right side of a sed subst in9282 # config.status. Protect against being in an unquoted here document9283 # in config.status.9284 rm -f conftest.defines conftest.undefs9285 # Using a here document instead of a string reduces the quoting nightmare.9286 # Putting comments in sed scripts is not portable.9287 #9288 # `end' is used to avoid that the second main sed command (meant for9289 # 0-ary CPP macros) applies to n-ary macro definitions.9290 # See the Autoconf documentation for `clear'.9291 cat >confdef2sed.sed <<\_ACEOF9292 s/[\\&,]/\\&/g9293 s,[\\$`],\\&,g9294 t clear9295 : clear9296 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp9297 t end9298 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp9299 : end9300 _ACEOF9301 # If some macros were called several times there might be several times9302 # the same #defines, which is useless. Nevertheless, we may not want to9303 # sort them, since we want the *last* AC-DEFINE to be honored.9304 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines9305 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs9306 rm -f confdef2sed.sed9307 9308 # This sed command replaces #undef with comments. This is necessary, for9309 # example, in the case of _POSIX_SOURCE, which is predefined and required9310 # on some systems where configure will not decide to define it.9311 cat >>conftest.undefs <<\_ACEOF9312 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,9313 _ACEOF9314 9315 # Break up conftest.defines because some shells have a limit on the size9316 # of here documents, and old seds have small limits too (100 cmds).9317 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS9318 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS9319 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS9320 echo ' :' >>$CONFIG_STATUS9321 rm -f conftest.tail9322 while grep . conftest.defines >/dev/null9323 do9324 # Write a limited-size here document to $tmp/defines.sed.9325 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS9326 # Speed up: don't consider the non `#define' lines.9327 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS9328 # Work around the forget-to-reset-the-flag bug.9329 echo 't clr' >>$CONFIG_STATUS9330 echo ': clr' >>$CONFIG_STATUS9331 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS9332 echo 'CEOF9333 sed -f $tmp/defines.sed $tmp/in >$tmp/out9334 rm -f $tmp/in9335 mv $tmp/out $tmp/in9336 ' >>$CONFIG_STATUS9337 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail9338 rm -f conftest.defines9339 mv conftest.tail conftest.defines9340 done9341 rm -f conftest.defines9342 echo ' fi # grep' >>$CONFIG_STATUS9343 echo >>$CONFIG_STATUS9344 9345 # Break up conftest.undefs because some shells have a limit on the size9346 # of here documents, and old seds have small limits too (100 cmds).9347 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS9348 rm -f conftest.tail9349 while grep . conftest.undefs >/dev/null9350 do9351 # Write a limited-size here document to $tmp/undefs.sed.9352 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS9353 # Speed up: don't consider the non `#undef'9354 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS9355 # Work around the forget-to-reset-the-flag bug.9356 echo 't clr' >>$CONFIG_STATUS9357 echo ': clr' >>$CONFIG_STATUS9358 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS9359 echo 'CEOF9360 sed -f $tmp/undefs.sed $tmp/in >$tmp/out9361 rm -f $tmp/in9362 mv $tmp/out $tmp/in9363 ' >>$CONFIG_STATUS9364 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail9365 rm -f conftest.undefs9366 mv conftest.tail conftest.undefs9367 done9368 rm -f conftest.undefs9369 9370 cat >>$CONFIG_STATUS <<\_ACEOF9371 # Let's still pretend it is `configure' which instantiates (i.e., don't9372 # use $as_me), people would be surprised to read:9373 # /* config.h. Generated by config.status. */9374 if test x"$ac_file" = x-; then9375 echo "/* Generated by configure. */" >$tmp/config.h9376 else9377 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h9378 fi9379 cat $tmp/in >>$tmp/config.h9380 rm -f $tmp/in9381 if test x"$ac_file" != x-; then9382 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then9383 { echo "$as_me:$LINENO: $ac_file is unchanged" >&59384 echo "$as_me: $ac_file is unchanged" >&6;}9385 else9386 ac_dir=`(dirname "$ac_file") 2>/dev/null ||9387 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \9388 X"$ac_file" : 'X\(//\)[^/]' \| \9389 X"$ac_file" : 'X\(//\)$' \| \9390 X"$ac_file" : 'X\(/\)' \| \9391 . : '\(.\)' 2>/dev/null ||9392 echo X"$ac_file" |9393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }9394 /^X\(\/\/\)[^/].*/{ s//\1/; q; }9395 /^X\(\/\/\)$/{ s//\1/; q; }9396 /^X\(\/\).*/{ s//\1/; q; }9397 s/.*/./; q'`9398 { if $as_mkdir_p; then9399 mkdir -p "$ac_dir"9400 else9401 as_dir="$ac_dir"9402 as_dirs=9403 while test ! -d "$as_dir"; do9404 as_dirs="$as_dir $as_dirs"9405 as_dir=`(dirname "$as_dir") 2>/dev/null ||9406 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \9407 X"$as_dir" : 'X\(//\)[^/]' \| \9408 X"$as_dir" : 'X\(//\)$' \| \9409 X"$as_dir" : 'X\(/\)' \| \9410 . : '\(.\)' 2>/dev/null ||9411 echo X"$as_dir" |9412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }9413 /^X\(\/\/\)[^/].*/{ s//\1/; q; }9414 /^X\(\/\/\)$/{ s//\1/; q; }9415 /^X\(\/\).*/{ s//\1/; q; }9416 s/.*/./; q'`9417 done9418 test ! -n "$as_dirs" || mkdir $as_dirs9419 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&59420 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}9421 { (exit 1); exit 1; }; }; }9422 9423 rm -f $ac_file9424 mv $tmp/config.h $ac_file9425 10256 fi 9426 10257 else 9427 cat $tmp/config.h 9428 rm -f $tmp/config.h 10258 $as_echo "/* $configure_input */" \ 10259 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 10260 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 10261 $as_echo "$as_me: error: could not create -" >&2;} 10262 { (exit 1); exit 1; }; } 9429 10263 fi 9430 done 9431 _ACEOF 9432 9433 cat >>$CONFIG_STATUS <<\_ACEOF 10264 ;; 10265 10266 10267 esac 10268 10269 done # for ac_tag 10270 9434 10271 9435 10272 { (exit 0); exit 0; } … … 9437 10274 chmod +x $CONFIG_STATUS 9438 10275 ac_clean_files=$ac_clean_files_save 10276 10277 test $ac_write_fail = 0 || 10278 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 10279 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 10280 { (exit 1); exit 1; }; } 9439 10281 9440 10282 … … 9459 10301 $ac_cs_success || { (exit 1); exit 1; } 9460 10302 fi 9461 10303 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 10304 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 10305 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 10306 fi 10307 -
main/trunk/greenstone2/common-src/packages/gdbm/gdbm-1.8.3/configure.in
r21432 r25149 16 16 dnl AC_C_BIGENDIAN([]) 17 17 18 dnl AC_MSG_CHECKING(to see if architecture is 64-bit) 19 dnl arch_64bit=no 20 dnl case "$host_cpu" in 21 dnl x86_64) arch_64bit=yes ;; 22 dnl esac 23 dnl 24 dnl if test "$arch_64bit" = yes; then 25 dnl AC_MSG_RESULT(yes) 26 dnl if test -z "$COMPAT32BITFLAGS" ; then 27 dnl COMPAT32BITFLAGS="-m32" 28 dnl LIBTOOLCOMPAT32BITFLAGS="-Wl,-m32" 29 dnl fi 30 dnl else 31 dnl AC_MSG_RESULT(no) 32 dnl if test -z "$COMPAT32BITFLAGS" ; then 33 dnl COMPAT32BITFLAGS= 34 dnl LIBTOOLCOMPAT32BITFLAGS= 35 dnl fi 36 dnl fi 37 dnl export COMPAT32BITFLAGS 38 dnl AC_SUBST(COMPAT32BITFLAGS) 39 40 41 AC_DEFINE_UNQUOTED(COMPAT32BITFLAGS, $COMPAT32BITFLAGS) 42 AC_SUBST(COMPAT32BITFLAGS) 18 AC_DEFINE_UNQUOTED(ARCH_DEP_FLAGS, $ARCH_DEP_FLAGS) 19 AC_SUBST(ARCH_DEP_FLAGS) 43 20 44 21 -
main/trunk/greenstone2/common-src/src/gdbmedit/db2txt/Makefile.in
r22077 r25149 31 31 32 32 CXX = @CXX@ 33 CXXFLAGS = @CXXFLAGS@ @ COMPAT32BITFLAGS@33 CXXFLAGS = @CXXFLAGS@ @ARCH_DEP_FLAGS@ 34 34 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 35 35 GSDLOS = @gsdlos@ 36 36 INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib 37 37 INSTALL = @INSTALL@ 38 LDFLAGS = @LDFLAGS@ @ COMPAT32BITFLAGS@38 LDFLAGS = @LDFLAGS@ @ARCH_DEP_FLAGS@ 39 39 LIBS = @LIBS@ $(COMMON_PACKAGES_DIR)/gdbm/lib/libgdbm.a 40 40 -
main/trunk/greenstone2/common-src/src/gdbmedit/gdbmdel/Makefile.in
r22077 r25149 31 31 32 32 CXX = @CXX@ 33 CXXFLAGS = @CXXFLAGS@ @ COMPAT32BITFLAGS@33 CXXFLAGS = @CXXFLAGS@ @ARCH_DEP_FLAGS@ 34 34 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 35 35 GSDLOS = @gsdlos@ 36 36 INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib 37 37 INSTALL = @INSTALL@ 38 LDFLAGS = @LDFLAGS@ @ COMPAT32BITFLAGS@38 LDFLAGS = @LDFLAGS@ @ARCH_DEP_FLAGS@ 39 39 LIBS = @LIBS@ $(COMMON_PACKAGES_DIR)/gdbm/lib/libgdbm.a 40 40 -
main/trunk/greenstone2/common-src/src/gdbmedit/gdbmget/Makefile.in
r22077 r25149 31 31 32 32 CXX = @CXX@ 33 CXXFLAGS = @CXXFLAGS@ @ COMPAT32BITFLAGS@33 CXXFLAGS = @CXXFLAGS@ @ARCH_DEP_FLAGS@ 34 34 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 35 35 GSDLOS = @gsdlos@ 36 36 INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib 37 37 INSTALL = @INSTALL@ 38 LDFLAGS = @LDFLAGS@ @ COMPAT32BITFLAGS@38 LDFLAGS = @LDFLAGS@ @ARCH_DEP_FLAGS@ 39 39 LIBS = @LIBS@ $(COMMON_PACKAGES_DIR)/gdbm/lib/libgdbm.a 40 40 -
main/trunk/greenstone2/common-src/src/gdbmedit/gdbmkeys/Makefile.in
r22077 r25149 31 31 32 32 CXX = @CXX@ 33 CXXFLAGS = @CXXFLAGS@ @ COMPAT32BITFLAGS@33 CXXFLAGS = @CXXFLAGS@ @ARCH_DEP_FLAGS@ 34 34 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 35 35 GSDLOS = @gsdlos@ 36 36 INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib 37 37 INSTALL = @INSTALL@ 38 LDFLAGS = @LDFLAGS@ @ COMPAT32BITFLAGS@38 LDFLAGS = @LDFLAGS@ @ARCH_DEP_FLAGS@ 39 39 LIBS = @LIBS@ $(COMMON_PACKAGES_DIR)/gdbm/lib/libgdbm.a 40 40 -
main/trunk/greenstone2/common-src/src/gdbmedit/gdbmset/Makefile.in
r22077 r25149 31 31 32 32 CXX = @CXX@ 33 CXXFLAGS = @CXXFLAGS@ @ COMPAT32BITFLAGS@33 CXXFLAGS = @CXXFLAGS@ @ARCH_DEP_FLAGS@ 34 34 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 35 35 GSDLOS = @gsdlos@ 36 36 INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib 37 37 INSTALL = @INSTALL@ 38 LDFLAGS = @LDFLAGS@ @ COMPAT32BITFLAGS@38 LDFLAGS = @LDFLAGS@ @ARCH_DEP_FLAGS@ 39 39 LIBS = @LIBS@ $(COMMON_PACKAGES_DIR)/gdbm/lib/libgdbm.a 40 40 -
main/trunk/greenstone2/common-src/src/gdbmedit/txt2db/Makefile.in
r22077 r25149 31 31 32 32 CXX = @CXX@ 33 CXXFLAGS = @CXXFLAGS@ @ COMPAT32BITFLAGS@33 CXXFLAGS = @CXXFLAGS@ @ARCH_DEP_FLAGS@ 34 34 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 35 35 GSDLOS = @gsdlos@ 36 36 INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib 37 37 INSTALL = @INSTALL@ 38 LDFLAGS = @LDFLAGS@ @ COMPAT32BITFLAGS@38 LDFLAGS = @LDFLAGS@ @ARCH_DEP_FLAGS@ 39 39 LIBS = @LIBS@ $(COMMON_PACKAGES_DIR)/gdbm/lib/libgdbm.a 40 40 -
main/trunk/greenstone2/common-src/src/getpw/Makefile.in
r19875 r25149 28 28 29 29 CXX = @CXX@ 30 CXXFLAGS = @CXXFLAGS@ @ COMPAT32BITFLAGS@30 CXXFLAGS = @CXXFLAGS@ @ARCH_DEP_FLAGS@ 31 31 DEFS = @DEFS@ 32 32 GSDLOS = @gsdlos@ 33 33 INCLUDES = -I$(COMMON_DIR) -I$(COMMON_DIR)/src/lib 34 34 INSTALL = @INSTALL@ 35 LDFLAGS = @LDFLAGS@ @ COMPAT32BITFLAGS@35 LDFLAGS = @LDFLAGS@ @ARCH_DEP_FLAGS@ 36 36 LIBS = @LIBS@ 37 37 -
main/trunk/greenstone2/common-src/src/lib/Makefile.in
r22793 r25149 71 71 AR = ar 72 72 CXX = @CXX@ 73 CXXFLAGS = @CXXFLAGS@ @ COMPAT32BITFLAGS@73 CXXFLAGS = @CXXFLAGS@ @ARCH_DEP_FLAGS@ 74 74 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 75 75 INCLUDES = -I. -I$(COMMON_DIR) $(GDBM_INCLUDES) $(SQLITE_INCLUDES) -
main/trunk/greenstone2/configure
r24958 r25149 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59.3 # Generated by GNU Autoconf 2.63. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 6 7 # This configure script is free software; the Free Software Foundation 7 8 # gives unlimited permission to copy, distribute and modify it. … … 10 11 ## --------------------- ## 11 12 12 # Be Bourne compatible 13 # Be more Bourne compatible 14 DUALCASE=1; export DUALCASE # for MKS sh 13 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 16 emulate sh 15 17 NULLCMD=: 16 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17 19 # is contrary to our usage. Disable this feature. 18 20 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 21 setopt NO_GLOB_SUBST 22 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 79 33 # Avoid depending upon Character Ranges. 80 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 84 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 39 40 as_nl=' 41 ' 42 export as_nl 43 # Printing a long string crashes Solaris 7 /usr/bin/printf. 44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50 else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70 fi 71 86 72 # The user is always right. 87 73 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79 fi 80 81 # Support unset when possible. 82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 83 as_unset=unset 84 else 85 as_unset=false 86 fi 87 88 89 # IFS 90 # We need space, tab and new line, in precisely that order. Quoting is 91 # there to prevent editors from complaining about space-tab. 92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 93 # splitting by setting IFS to empty value.) 94 IFS=" "" $as_nl" 95 96 # Find who we are. Look in the path if we contain no directory separator. 97 case $0 in 98 *[\\/]* ) as_myself=$0 ;; 99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 100 for as_dir in $PATH 111 101 do … … 114 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 105 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 106 IFS=$as_save_IFS 107 108 ;; 109 esac 110 # We did not find ourselves, most probably we were run as `sh COMMAND' 111 # in which case we are not to be found in the path. 112 if test "x$as_myself" = x; then 113 as_myself=$0 114 fi 115 if test ! -f "$as_myself"; then 116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 117 { (exit 1); exit 1; } 118 fi 119 120 # Work around bugs in pre-3.0 UWIN ksh. 121 for as_var in ENV MAIL MAILPATH 122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 123 done 124 PS1='$ ' 125 PS2='> ' 126 PS4='+ ' 127 128 # NLS nuisances. 129 LC_ALL=C 130 export LC_ALL 131 LANGUAGE=C 132 export LANGUAGE 133 134 # Required to use basename. 135 if expr a : '\(a\)' >/dev/null 2>&1 && 136 test "X`expr 00001 : '.*\(...\)'`" = X001; then 137 as_expr=expr 138 else 139 as_expr=false 140 fi 141 142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 143 as_basename=basename 144 else 145 as_basename=false 146 fi 147 148 149 # Name of the executable. 150 as_me=`$as_basename -- "$0" || 151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 152 X"$0" : 'X\(//\)$' \| \ 153 X"$0" : 'X\(/\)' \| . 2>/dev/null || 154 $as_echo X/"$0" | 155 sed '/^.*\/\([^/][^/]*\)\/*$/{ 156 s//\1/ 157 q 158 } 159 /^X\/\(\/\/\)$/{ 160 s//\1/ 161 q 162 } 163 /^X\/\(\/\).*/{ 164 s//\1/ 165 q 166 } 167 s/.*/./; q'` 168 169 # CDPATH. 170 $as_unset CDPATH 171 172 173 if test "x$CONFIG_SHELL" = x; then 174 if (eval ":") 2>/dev/null; then 175 as_have_required=yes 176 else 177 as_have_required=no 178 fi 179 180 if test $as_have_required = yes && (eval ": 181 (as_func_return () { 182 (exit \$1) 183 } 184 as_func_success () { 185 as_func_return 0 186 } 187 as_func_failure () { 188 as_func_return 1 189 } 190 as_func_ret_success () { 191 return 0 192 } 193 as_func_ret_failure () { 194 return 1 195 } 196 197 exitcode=0 198 if as_func_success; then 199 : 200 else 201 exitcode=1 202 echo as_func_success failed. 203 fi 204 205 if as_func_failure; then 206 exitcode=1 207 echo as_func_failure succeeded. 208 fi 209 210 if as_func_ret_success; then 211 : 212 else 213 exitcode=1 214 echo as_func_ret_success failed. 215 fi 216 217 if as_func_ret_failure; then 218 exitcode=1 219 echo as_func_ret_failure succeeded. 220 fi 221 222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 223 : 224 else 225 exitcode=1 226 echo positional parameters were not saved. 227 fi 228 229 test \$exitcode = 0) || { (exit 1); exit 1; } 230 231 ( 232 as_lineno_1=\$LINENO 233 as_lineno_2=\$LINENO 234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 236 ") 2> /dev/null; then 237 : 238 else 239 as_candidate_shells= 130 240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 133 243 IFS=$as_save_IFS 134 244 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 245 case $as_dir in 137 246 /*) 138 if ("$as_dir/$as_base" -c ' 247 for as_base in sh bash ksh sh5; do 248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 249 done;; 250 esac 251 done 252 IFS=$as_save_IFS 253 254 255 for as_shell in $as_candidate_shells $SHELL; do 256 # Try only shells that exist, to save several forks. 257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 258 { ("$as_shell") 2> /dev/null <<\_ASEOF 259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 260 emulate sh 261 NULLCMD=: 262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 263 # is contrary to our usage. Disable this feature. 264 alias -g '${1+"$@"}'='"$@"' 265 setopt NO_GLOB_SUBST 266 else 267 case `(set -o) 2>/dev/null` in 268 *posix*) set -o posix ;; 269 esac 270 271 fi 272 273 274 : 275 _ASEOF 276 }; then 277 CONFIG_SHELL=$as_shell 278 as_have_required=yes 279 if { "$as_shell" 2> /dev/null <<\_ASEOF 280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 281 emulate sh 282 NULLCMD=: 283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 284 # is contrary to our usage. Disable this feature. 285 alias -g '${1+"$@"}'='"$@"' 286 setopt NO_GLOB_SUBST 287 else 288 case `(set -o) 2>/dev/null` in 289 *posix*) set -o posix ;; 290 esac 291 292 fi 293 294 295 : 296 (as_func_return () { 297 (exit $1) 298 } 299 as_func_success () { 300 as_func_return 0 301 } 302 as_func_failure () { 303 as_func_return 1 304 } 305 as_func_ret_success () { 306 return 0 307 } 308 as_func_ret_failure () { 309 return 1 310 } 311 312 exitcode=0 313 if as_func_success; then 314 : 315 else 316 exitcode=1 317 echo as_func_success failed. 318 fi 319 320 if as_func_failure; then 321 exitcode=1 322 echo as_func_failure succeeded. 323 fi 324 325 if as_func_ret_success; then 326 : 327 else 328 exitcode=1 329 echo as_func_ret_success failed. 330 fi 331 332 if as_func_ret_failure; then 333 exitcode=1 334 echo as_func_ret_failure succeeded. 335 fi 336 337 if ( set x; as_func_ret_success y && test x = "$1" ); then 338 : 339 else 340 exitcode=1 341 echo positional parameters were not saved. 342 fi 343 344 test $exitcode = 0) || { (exit 1); exit 1; } 345 346 ( 139 347 as_lineno_1=$LINENO 140 348 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`142 349 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 351 352 _ASEOF 353 }; then 354 break 355 fi 356 357 fi 358 359 done 360 361 if test "x$CONFIG_SHELL" != x; then 362 for as_var in BASH_ENV ENV 363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 364 done 365 export CONFIG_SHELL 366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 367 fi 368 369 370 if test $as_have_required = no; then 371 echo This script requires a shell more modern than all the 372 echo shells that I found on your system. Please install a 373 echo modern shell, or manually run the script under such a 374 echo shell if you do have one. 375 { (exit 1); exit 1; } 376 fi 377 378 379 fi 380 381 fi 382 383 384 385 (eval "as_func_return () { 386 (exit \$1) 387 } 388 as_func_success () { 389 as_func_return 0 390 } 391 as_func_failure () { 392 as_func_return 1 393 } 394 as_func_ret_success () { 395 return 0 396 } 397 as_func_ret_failure () { 398 return 1 399 } 400 401 exitcode=0 402 if as_func_success; then 403 : 404 else 405 exitcode=1 406 echo as_func_success failed. 407 fi 408 409 if as_func_failure; then 410 exitcode=1 411 echo as_func_failure succeeded. 412 fi 413 414 if as_func_ret_success; then 415 : 416 else 417 exitcode=1 418 echo as_func_ret_success failed. 419 fi 420 421 if as_func_ret_failure; then 422 exitcode=1 423 echo as_func_ret_failure succeeded. 424 fi 425 426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 427 : 428 else 429 exitcode=1 430 echo positional parameters were not saved. 431 fi 432 433 test \$exitcode = 0") || { 434 echo No shell found that supports shell functions. 435 echo Please tell [email protected] about your system, 436 echo including any error possibly output before this message. 437 echo This can help us improve future autoconf versions. 438 echo Configuration will now proceed without shell functions. 439 } 440 441 442 443 as_lineno_1=$LINENO 444 as_lineno_2=$LINENO 445 test "x$as_lineno_1" != "x$as_lineno_2" && 446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 155 447 156 448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 449 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 450 # line-number line after each line using $LINENO; the second 'sed' 451 # does the real work. The second script uses 'N' to pair each 452 # line-number line with the line containing $LINENO, and appends 453 # trailing '-' during substitution so that $LINENO is not a special 454 # case at line end. 162 455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 456 # scripts with optimization help from Paolo Bonzini. Blame Lee 457 # E. McMahon (1931-1989) for sed's syntax. :-) 458 sed -n ' 459 p 460 /[$]LINENO/= 461 ' <$as_myself | 165 462 sed ' 463 s/[$]LINENO.*/&-/ 464 t lineno 465 b 466 :lineno 166 467 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 468 :loop 469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 170 470 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 471 s/-\n.*// 173 472 ' >$as_me.lineno && 174 chmod +x $as_me.lineno||175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2473 chmod +x "$as_me.lineno" || 474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 475 { (exit 1); exit 1; }; } 177 476 178 477 # Don't try to exec as it changes $[0], causing all sort of problems 179 478 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensi ble to this).181 . ./$as_me.lineno479 # original and so on. Autoconf is especially sensitive to this). 480 . "./$as_me.lineno" 182 481 # Exit status is that of the last command. 183 482 exit … … 185 484 186 485 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192 esac 193 194 if expr a : '\(a\)' >/dev/null 2>&1; then 486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 487 as_dirname=dirname 488 else 489 as_dirname=false 490 fi 491 492 ECHO_C= ECHO_N= ECHO_T= 493 case `echo -n x` in 494 -n*) 495 case `echo 'x\c'` in 496 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 497 *) ECHO_C='\c';; 498 esac;; 499 *) 500 ECHO_N='-n';; 501 esac 502 if expr a : '\(a\)' >/dev/null 2>&1 && 503 test "X`expr 00001 : '.*\(...\)'`" = X001; then 195 504 as_expr=expr 196 505 else … … 199 508 200 509 rm -f conf$$ conf$$.exe conf$$.file 201 echo >conf$$.file 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 510 if test -d conf$$.dir; then 511 rm -f conf$$.dir/conf$$.file 512 else 513 rm -f conf$$.dir 514 mkdir conf$$.dir 2>/dev/null 515 fi 516 if (echo >conf$$.file) 2>/dev/null; then 517 if ln -s conf$$.file conf$$ 2>/dev/null; then 518 as_ln_s='ln -s' 519 # ... but there are two gotchas: 520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 522 # In both cases, we have to default to `cp -p'. 523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 524 as_ln_s='cp -p' 525 elif ln conf$$.file conf$$ 2>/dev/null; then 526 as_ln_s=ln 527 else 207 528 as_ln_s='cp -p' 208 else209 as_ln_s='ln -s'210 529 fi 211 elif ln conf$$.file conf$$ 2>/dev/null; then212 as_ln_s=ln213 530 else 214 531 as_ln_s='cp -p' 215 532 fi 216 rm -f conf$$ conf$$.exe conf$$.file 533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 534 rmdir conf$$.dir 2>/dev/null 217 535 218 536 if mkdir -p . 2>/dev/null; then … … 223 541 fi 224 542 225 as_executable_p="test -f" 543 if test -x / >/dev/null 2>&1; then 544 as_test_x='test -x' 545 else 546 if ls -dL / >/dev/null 2>&1; then 547 as_ls_L_option=L 548 else 549 as_ls_L_option= 550 fi 551 as_test_x=' 552 eval sh -c '\'' 553 if test -d "$1"; then 554 test -d "$1/."; 555 else 556 case $1 in 557 -*)set "./$1";; 558 esac; 559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 560 ???[sx]*):;;*)false;;esac;fi 561 '\'' sh 562 ' 563 fi 564 as_executable_p=$as_test_x 226 565 227 566 # Sed expression to map a string onto a valid CPP name. … … 232 571 233 572 234 # IFS 235 # We need space, tab and new line, in precisely that order. 236 as_nl=' 237 ' 238 IFS=" $as_nl" 239 240 # CDPATH. 241 $as_unset CDPATH 242 573 574 exec 7<&0 </dev/null 6>&1 243 575 244 576 # Name of the host. … … 247 579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 580 249 exec 6>&1250 251 581 # 252 582 # Initializations. 253 583 # 254 584 ac_default_prefix=/usr/local 585 ac_clean_files= 255 586 ac_config_libobj_dir=. 587 LIBOBJS= 256 588 cross_compiling=no 257 589 subdirs= … … 259 591 MAKEFLAGS= 260 592 SHELL=${CONFIG_SHELL-/bin/sh} 261 262 # Maximum number of lines to put in a shell here document.263 # This variable seems obsolete. It should probably be removed, and264 # only ac_max_sed_lines should be used.265 : ${ac_max_here_lines=38}266 593 267 594 # Identity of this package. … … 275 602 ac_includes_default="\ 276 603 #include <stdio.h> 277 #if HAVE_SYS_TYPES_H604 #ifdef HAVE_SYS_TYPES_H 278 605 # include <sys/types.h> 279 606 #endif 280 #if HAVE_SYS_STAT_H607 #ifdef HAVE_SYS_STAT_H 281 608 # include <sys/stat.h> 282 609 #endif 283 #if STDC_HEADERS610 #ifdef STDC_HEADERS 284 611 # include <stdlib.h> 285 612 # include <stddef.h> 286 613 #else 287 # if HAVE_STDLIB_H614 # ifdef HAVE_STDLIB_H 288 615 # include <stdlib.h> 289 616 # endif 290 617 #endif 291 #if HAVE_STRING_H292 # if ! STDC_HEADERS &&HAVE_MEMORY_H618 #ifdef HAVE_STRING_H 619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 293 620 # include <memory.h> 294 621 # endif 295 622 # include <string.h> 296 623 #endif 297 #if HAVE_STRINGS_H624 #ifdef HAVE_STRINGS_H 298 625 # include <strings.h> 299 626 #endif 300 #if HAVE_INTTYPES_H627 #ifdef HAVE_INTTYPES_H 301 628 # include <inttypes.h> 302 #else303 # if HAVE_STDINT_H304 # include <stdint.h>305 # endif306 629 #endif 307 #if HAVE_UNISTD_H 630 #ifdef HAVE_STDINT_H 631 # include <stdint.h> 632 #endif 633 #ifdef HAVE_UNISTD_H 308 634 # include <unistd.h> 309 635 #endif" 310 636 311 ac_subdirs_all="$ac_subdirs_all common-src" 312 ac_subdirs_all="$ac_subdirs_all build-src" 313 ac_subdirs_all="$ac_subdirs_all runtime-src" 314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR ENABLE_JAVA USE_Z3950 USE_YAZ USE_WVWARE USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE USE_RSS USE_APACHE_HTTPD ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX 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 MODULEDIRS subdirs LTLIBOBJS' 637 enable_option_checking=no 638 ac_subst_vars='LTLIBOBJS 639 subdirs 640 MODULEDIRS 641 gsdlos 642 STATIC 643 LIBOBJS 644 ALLOCA 645 ANSI2KNR 646 U 647 EGREP 648 GREP 649 CPP 650 MICO_VER 651 ARCH_DEP_FLAGS 652 RANLIB 653 SET_MAKE 654 LN_S 655 INSTALL_DATA 656 INSTALL_SCRIPT 657 INSTALL_PROGRAM 658 target_os 659 target_vendor 660 target_cpu 661 target 662 host_os 663 host_vendor 664 host_cpu 665 host 666 build_os 667 build_vendor 668 build_cpu 669 build 670 YFLAGS 671 YACC 672 AWK 673 ac_ct_CXX 674 CXXFLAGS 675 CXX 676 OBJEXT 677 EXEEXT 678 ac_ct_CC 679 CPPFLAGS 680 CC 681 CFLAGS 682 LDFLAGS 683 ENABLE_LUCENE 684 ENABLE_MGPP 685 ENABLE_MG 686 ENABLE_JNI 687 USE_APACHE_HTTPD 688 USE_RSS 689 USE_SQLITE 690 ENABLE_ACCENTFOLD 691 USE_GDBM 692 USE_JDBM 693 USE_WVWARE 694 USE_YAZ 695 USE_Z3950 696 ENABLE_JAVA 697 MICO_DIR 698 USE_CORBA 699 USE_LANGACTION 700 USE_FASTCGI 701 VERSION 702 PACKAGE 703 target_alias 704 host_alias 705 build_alias 706 LIBS 707 ECHO_T 708 ECHO_N 709 ECHO_C 710 DEFS 711 mandir 712 localedir 713 libdir 714 psdir 715 pdfdir 716 dvidir 717 htmldir 718 infodir 719 docdir 720 oldincludedir 721 includedir 722 localstatedir 723 sharedstatedir 724 sysconfdir 725 datadir 726 datarootdir 727 libexecdir 728 sbindir 729 bindir 730 program_transform_name 731 prefix 732 exec_prefix 733 PACKAGE_BUGREPORT 734 PACKAGE_STRING 735 PACKAGE_VERSION 736 PACKAGE_TARNAME 737 PACKAGE_NAME 738 PATH_SEPARATOR 739 SHELL' 315 740 ac_subst_files='' 741 ac_user_opts=' 742 enable_option_checking 743 enable_corba 744 with_micodir 745 enable_java 746 enable_z3950 747 enable_yaz 748 enable_wvware 749 enable_jdbm 750 enable_gdbm 751 enable_accentfold 752 enable_sqlite 753 enable_rss 754 enable_apache_httpd 755 enable_jni 756 enable_mg 757 enable_mgpp 758 enable_lucene 759 with_dmalloc 760 with_regex 761 ' 762 ac_precious_vars='build_alias 763 host_alias 764 target_alias 765 CC 766 CFLAGS 767 LDFLAGS 768 LIBS 769 CPPFLAGS 770 CXX 771 CXXFLAGS 772 CCC 773 YACC 774 YFLAGS 775 CPP' 776 ac_subdirs_all='common-src 777 build-src 778 runtime-src' 316 779 317 780 # Initialize some variables set by options. 318 781 ac_init_help= 319 782 ac_init_version=false 783 ac_unrecognized_opts= 784 ac_unrecognized_sep= 320 785 # The variables have the same names as the options, with 321 786 # dashes changed to underlines. … … 340 805 # by default will actually change. 341 806 # Use braces instead of parens because sh, perl, etc. also accept them. 807 # (The list follows the same order as the GNU Coding Standards.) 342 808 bindir='${exec_prefix}/bin' 343 809 sbindir='${exec_prefix}/sbin' 344 810 libexecdir='${exec_prefix}/libexec' 345 datadir='${prefix}/share' 811 datarootdir='${prefix}/share' 812 datadir='${datarootdir}' 346 813 sysconfdir='${prefix}/etc' 347 814 sharedstatedir='${prefix}/com' 348 815 localstatedir='${prefix}/var' 349 libdir='${exec_prefix}/lib'350 816 includedir='${prefix}/include' 351 817 oldincludedir='/usr/include' 352 infodir='${prefix}/info' 353 mandir='${prefix}/man' 818 docdir='${datarootdir}/doc/${PACKAGE}' 819 infodir='${datarootdir}/info' 820 htmldir='${docdir}' 821 dvidir='${docdir}' 822 pdfdir='${docdir}' 823 psdir='${docdir}' 824 libdir='${exec_prefix}/lib' 825 localedir='${datarootdir}/locale' 826 mandir='${datarootdir}/man' 354 827 355 828 ac_prev= 829 ac_dashdash= 356 830 for ac_option 357 831 do 358 832 # If the previous option needs an argument, assign it. 359 833 if test -n "$ac_prev"; then 360 eval "$ac_prev=\$ac_option"834 eval $ac_prev=\$ac_option 361 835 ac_prev= 362 836 continue 363 837 fi 364 838 365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 839 case $ac_option in 840 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 841 *) ac_optarg=yes ;; 842 esac 366 843 367 844 # Accept the important Cygnus configure options, so we can diagnose typos. 368 845 369 case $ac_option in 846 case $ac_dashdash$ac_option in 847 --) 848 ac_dashdash=yes ;; 370 849 371 850 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 389 868 cache_file=config.cache ;; 390 869 391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)870 -datadir | --datadir | --datadi | --datad) 392 871 ac_prev=datadir ;; 393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 394 | --da=*) 872 -datadir=* | --datadir=* | --datadi=* | --datad=*) 395 873 datadir=$ac_optarg ;; 396 874 875 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 876 | --dataroo | --dataro | --datar) 877 ac_prev=datarootdir ;; 878 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 879 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 880 datarootdir=$ac_optarg ;; 881 397 882 -disable-* | --disable-*) 398 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`883 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 399 884 # Reject names that are not valid shell variable names. 400 expr "x$ac_ feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 886 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 402 887 { (exit 1); exit 1; }; } 403 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 404 eval "enable_$ac_feature=no" ;; 888 ac_useropt_orig=$ac_useropt 889 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 890 case $ac_user_opts in 891 *" 892 "enable_$ac_useropt" 893 "*) ;; 894 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 895 ac_unrecognized_sep=', ';; 896 esac 897 eval enable_$ac_useropt=no ;; 898 899 -docdir | --docdir | --docdi | --doc | --do) 900 ac_prev=docdir ;; 901 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 902 docdir=$ac_optarg ;; 903 904 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 905 ac_prev=dvidir ;; 906 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 907 dvidir=$ac_optarg ;; 405 908 406 909 -enable-* | --enable-*) 407 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`910 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 408 911 # Reject names that are not valid shell variable names. 409 expr "x$ac_ feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2912 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 913 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 411 914 { (exit 1); exit 1; }; } 412 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 413 case $ac_option in 414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 415 *) ac_optarg=yes ;; 915 ac_useropt_orig=$ac_useropt 916 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 917 case $ac_user_opts in 918 *" 919 "enable_$ac_useropt" 920 "*) ;; 921 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 922 ac_unrecognized_sep=', ';; 416 923 esac 417 eval "enable_$ac_feature='$ac_optarg'";;924 eval enable_$ac_useropt=\$ac_optarg ;; 418 925 419 926 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 442 949 host_alias=$ac_optarg ;; 443 950 951 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 952 ac_prev=htmldir ;; 953 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 954 | --ht=*) 955 htmldir=$ac_optarg ;; 956 444 957 -includedir | --includedir | --includedi | --included | --include \ 445 958 | --includ | --inclu | --incl | --inc) … … 466 979 libexecdir=$ac_optarg ;; 467 980 981 -localedir | --localedir | --localedi | --localed | --locale) 982 ac_prev=localedir ;; 983 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 984 localedir=$ac_optarg ;; 985 468 986 -localstatedir | --localstatedir | --localstatedi | --localstated \ 469 | --localstate | --localstat | --localsta | --localst \ 470 | --locals | --local | --loca | --loc | --lo) 987 | --localstate | --localstat | --localsta | --localst | --locals) 471 988 ac_prev=localstatedir ;; 472 989 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 990 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 475 991 localstatedir=$ac_optarg ;; 476 992 … … 537 1053 program_transform_name=$ac_optarg ;; 538 1054 1055 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1056 ac_prev=pdfdir ;; 1057 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1058 pdfdir=$ac_optarg ;; 1059 1060 -psdir | --psdir | --psdi | --psd | --ps) 1061 ac_prev=psdir ;; 1062 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1063 psdir=$ac_optarg ;; 1064 539 1065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 540 1066 | -silent | --silent | --silen | --sile | --sil) … … 587 1113 588 1114 -with-* | --with-*) 589 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1115 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 590 1116 # Reject names that are not valid shell variable names. 591 expr "x$ac_ package" : ".*[^-_$as_cr_alnum]" >/dev/null &&592 { echo "$as_me: error: invalid package name: $ac_package" >&21117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1118 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 593 1119 { (exit 1); exit 1; }; } 594 ac_package=`echo $ac_package| sed 's/-/_/g'` 595 case $ac_option in 596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 597 *) ac_optarg=yes ;; 1120 ac_useropt_orig=$ac_useropt 1121 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1122 case $ac_user_opts in 1123 *" 1124 "with_$ac_useropt" 1125 "*) ;; 1126 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1127 ac_unrecognized_sep=', ';; 598 1128 esac 599 eval "with_$ac_package='$ac_optarg'";;1129 eval with_$ac_useropt=\$ac_optarg ;; 600 1130 601 1131 -without-* | --without-*) 602 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1132 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 603 1133 # Reject names that are not valid shell variable names. 604 expr "x$ac_ package" : ".*[^-_$as_cr_alnum]" >/dev/null &&605 { echo "$as_me: error: invalid package name: $ac_package" >&21134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1135 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 606 1136 { (exit 1); exit 1; }; } 607 ac_package=`echo $ac_package | sed 's/-/_/g'` 608 eval "with_$ac_package=no" ;; 1137 ac_useropt_orig=$ac_useropt 1138 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1139 case $ac_user_opts in 1140 *" 1141 "with_$ac_useropt" 1142 "*) ;; 1143 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1144 ac_unrecognized_sep=', ';; 1145 esac 1146 eval with_$ac_useropt=no ;; 609 1147 610 1148 --x) … … 626 1164 x_libraries=$ac_optarg ;; 627 1165 628 -*) { echo "$as_me: error: unrecognized option: $ac_option1166 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 629 1167 Try \`$0 --help' for more information." >&2 630 1168 { (exit 1); exit 1; }; } … … 635 1173 # Reject names that are not valid shell variable names. 636 1174 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&21175 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 638 1176 { (exit 1); exit 1; }; } 639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 640 eval "$ac_envvar='$ac_optarg'" 1177 eval $ac_envvar=\$ac_optarg 641 1178 export $ac_envvar ;; 642 1179 643 1180 *) 644 1181 # FIXME: should be removed in autoconf 3.0. 645 echo "$as_me: WARNING: you should use --build, --host, --target" >&21182 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 646 1183 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 647 echo "$as_me: WARNING: invalid host type: $ac_option" >&21184 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 648 1185 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 649 1186 ;; … … 654 1191 if test -n "$ac_prev"; then 655 1192 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 656 { echo "$as_me: error: missing argument to $ac_option" >&21193 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 657 1194 { (exit 1); exit 1; }; } 658 1195 fi 659 1196 660 # Be sure to have absolute paths. 661 for ac_var in exec_prefix prefix 1197 if test -n "$ac_unrecognized_opts"; then 1198 case $enable_option_checking in 1199 no) ;; 1200 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1201 { (exit 1); exit 1; }; } ;; 1202 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1203 esac 1204 fi 1205 1206 # Check all directory arguments for consistency. 1207 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1208 datadir sysconfdir sharedstatedir localstatedir includedir \ 1209 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1210 libdir localedir mandir 662 1211 do 663 eval ac_val=$`echo $ac_var` 1212 eval ac_val=\$$ac_var 1213 # Remove trailing slashes. 664 1214 case $ac_val in 665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2667 { (exit 1); exit 1; }; };;1215 */ ) 1216 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1217 eval $ac_var=\$ac_val;; 668 1218 esac 669 done 670 671 # Be sure to have absolute paths. 672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 673 localstatedir libdir includedir oldincludedir infodir mandir 674 do 675 eval ac_val=$`echo $ac_var` 1219 # Be sure to have absolute directory names. 676 1220 case $ac_val in 677 [\\/$]* | ?:[\\/]* ) ;; 678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 679 { (exit 1); exit 1; }; };; 1221 [\\/$]* | ?:[\\/]* ) continue;; 1222 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 680 1223 esac 1224 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1225 { (exit 1); exit 1; }; } 681 1226 done 682 1227 … … 692 1237 if test "x$build_alias" = x; then 693 1238 cross_compiling=maybe 694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1239 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 695 1240 If a cross compiler is detected then cross compile mode will be used." >&2 696 1241 elif test "x$build_alias" != "x$host_alias"; then … … 705 1250 706 1251 1252 ac_pwd=`pwd` && test -n "$ac_pwd" && 1253 ac_ls_di=`ls -di .` && 1254 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1255 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1256 { (exit 1); exit 1; }; } 1257 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1258 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1259 { (exit 1); exit 1; }; } 1260 1261 707 1262 # Find the source files, if location was not specified. 708 1263 if test -z "$srcdir"; then 709 1264 ac_srcdir_defaulted=yes 710 # Try the directory containing this script, then its parent. 711 ac_confdir=`(dirname "$0") 2>/dev/null || 712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 713 X"$0" : 'X\(//\)[^/]' \| \ 714 X"$0" : 'X\(//\)$' \| \ 715 X"$0" : 'X\(/\)' \| \ 716 . : '\(.\)' 2>/dev/null || 717 echo X"$0" | 718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 719 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 720 /^X\(\/\/\)$/{ s//\1/; q; } 721 /^X\(\/\).*/{ s//\1/; q; } 722 s/.*/./; q'` 1265 # Try the directory containing this script, then the parent directory. 1266 ac_confdir=`$as_dirname -- "$as_myself" || 1267 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1268 X"$as_myself" : 'X\(//\)[^/]' \| \ 1269 X"$as_myself" : 'X\(//\)$' \| \ 1270 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1271 $as_echo X"$as_myself" | 1272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1273 s//\1/ 1274 q 1275 } 1276 /^X\(\/\/\)[^/].*/{ 1277 s//\1/ 1278 q 1279 } 1280 /^X\(\/\/\)$/{ 1281 s//\1/ 1282 q 1283 } 1284 /^X\(\/\).*/{ 1285 s//\1/ 1286 q 1287 } 1288 s/.*/./; q'` 723 1289 srcdir=$ac_confdir 724 if test ! -r $srcdir/$ac_unique_file; then1290 if test ! -r "$srcdir/$ac_unique_file"; then 725 1291 srcdir=.. 726 1292 fi … … 728 1294 ac_srcdir_defaulted=no 729 1295 fi 730 if test ! -r $srcdir/$ac_unique_file; then731 if test "$ac_srcdir_defaulted" = yes; then732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&21296 if test ! -r "$srcdir/$ac_unique_file"; then 1297 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1298 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 733 1299 { (exit 1); exit 1; }; } 734 else 735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1300 fi 1301 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1302 ac_abs_confdir=`( 1303 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 736 1304 { (exit 1); exit 1; }; } 737 fi 738 fi 739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 741 { (exit 1); exit 1; }; } 742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 743 ac_env_build_alias_set=${build_alias+set} 744 ac_env_build_alias_value=$build_alias 745 ac_cv_env_build_alias_set=${build_alias+set} 746 ac_cv_env_build_alias_value=$build_alias 747 ac_env_host_alias_set=${host_alias+set} 748 ac_env_host_alias_value=$host_alias 749 ac_cv_env_host_alias_set=${host_alias+set} 750 ac_cv_env_host_alias_value=$host_alias 751 ac_env_target_alias_set=${target_alias+set} 752 ac_env_target_alias_value=$target_alias 753 ac_cv_env_target_alias_set=${target_alias+set} 754 ac_cv_env_target_alias_value=$target_alias 755 ac_env_CC_set=${CC+set} 756 ac_env_CC_value=$CC 757 ac_cv_env_CC_set=${CC+set} 758 ac_cv_env_CC_value=$CC 759 ac_env_CFLAGS_set=${CFLAGS+set} 760 ac_env_CFLAGS_value=$CFLAGS 761 ac_cv_env_CFLAGS_set=${CFLAGS+set} 762 ac_cv_env_CFLAGS_value=$CFLAGS 763 ac_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_env_LDFLAGS_value=$LDFLAGS 765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 766 ac_cv_env_LDFLAGS_value=$LDFLAGS 767 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_env_CPPFLAGS_value=$CPPFLAGS 769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 771 ac_env_CXX_set=${CXX+set} 772 ac_env_CXX_value=$CXX 773 ac_cv_env_CXX_set=${CXX+set} 774 ac_cv_env_CXX_value=$CXX 775 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 776 ac_env_CXXFLAGS_value=$CXXFLAGS 777 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 778 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 779 ac_env_CPP_set=${CPP+set} 780 ac_env_CPP_value=$CPP 781 ac_cv_env_CPP_set=${CPP+set} 782 ac_cv_env_CPP_value=$CPP 1305 pwd)` 1306 # When building in place, set srcdir=. 1307 if test "$ac_abs_confdir" = "$ac_pwd"; then 1308 srcdir=. 1309 fi 1310 # Remove unnecessary trailing slashes from srcdir. 1311 # Double slashes in file names in object file debugging info 1312 # mess up M-x gdb in Emacs. 1313 case $srcdir in 1314 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1315 esac 1316 for ac_var in $ac_precious_vars; do 1317 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1318 eval ac_env_${ac_var}_value=\$${ac_var} 1319 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1320 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1321 done 783 1322 784 1323 # … … 809 1348 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 810 1349 811 _ACEOF812 813 cat <<_ACEOF814 1350 Installation directories: 815 1351 --prefix=PREFIX install architecture-independent files in PREFIX 816 1352 [$ac_default_prefix] 817 1353 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 818 1354 [PREFIX] 819 1355 820 1356 By default, \`make install' will install all the files in … … 826 1362 827 1363 Fine tuning of the installation directories: 828 --bindir=DIR user executables [EPREFIX/bin] 829 --sbindir=DIR system admin executables [EPREFIX/sbin] 830 --libexecdir=DIR program executables [EPREFIX/libexec] 831 --datadir=DIR read-only architecture-independent data [PREFIX/share] 832 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 833 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 834 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 835 --libdir=DIR object code libraries [EPREFIX/lib] 836 --includedir=DIR C header files [PREFIX/include] 837 --oldincludedir=DIR C header files for non-gcc [/usr/include] 838 --infodir=DIR info documentation [PREFIX/info] 839 --mandir=DIR man documentation [PREFIX/man] 1364 --bindir=DIR user executables [EPREFIX/bin] 1365 --sbindir=DIR system admin executables [EPREFIX/sbin] 1366 --libexecdir=DIR program executables [EPREFIX/libexec] 1367 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1368 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1369 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1370 --libdir=DIR object code libraries [EPREFIX/lib] 1371 --includedir=DIR C header files [PREFIX/include] 1372 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1373 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1374 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1375 --infodir=DIR info documentation [DATAROOTDIR/info] 1376 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1377 --mandir=DIR man documentation [DATAROOTDIR/man] 1378 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1379 --htmldir=DIR html documentation [DOCDIR] 1380 --dvidir=DIR dvi documentation [DOCDIR] 1381 --pdfdir=DIR pdf documentation [DOCDIR] 1382 --psdir=DIR ps documentation [DOCDIR] 840 1383 _ACEOF 841 1384 … … 854 1397 855 1398 Optional Features: 1399 --disable-option-checking ignore unrecognized --enable/--with options 856 1400 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 857 1401 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 885 1429 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 886 1430 nonstandard directory <lib dir> 887 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 888 headers in a nonstandard directory <include dir> 1431 LIBS libraries to pass to the linker, e.g. -l<library> 1432 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1433 you have headers in a nonstandard directory <include dir> 889 1434 CXX C++ compiler command 890 1435 CXXFLAGS C++ compiler flags 1436 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1437 the first program found out of: `bison -y', `byacc', `yacc'. 1438 YFLAGS The list of arguments that will be passed by default to $YACC. 1439 This script will default YFLAGS to the empty string to avoid a 1440 default value of `-d' given by some make applications. 891 1441 CPP C preprocessor 892 1442 … … 895 1445 896 1446 _ACEOF 1447 ac_status=$? 897 1448 fi 898 1449 899 1450 if test "$ac_init_help" = "recursive"; then 900 1451 # If there are subdirs, report their specific --help. 901 ac_popdir=`pwd`902 1452 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 903 test -d $ac_dir || continue 1453 test -d "$ac_dir" || 1454 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1455 continue 904 1456 ac_builddir=. 905 1457 906 if test "$ac_dir" != .; then 907 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 908 # A "../" for each directory in $ac_dir_suffix. 909 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 910 else 911 ac_dir_suffix= ac_top_builddir= 912 fi 1458 case "$ac_dir" in 1459 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1460 *) 1461 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1462 # A ".." for each directory in $ac_dir_suffix. 1463 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1464 case $ac_top_builddir_sub in 1465 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1466 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1467 esac ;; 1468 esac 1469 ac_abs_top_builddir=$ac_pwd 1470 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1471 # for backward compatibility: 1472 ac_top_builddir=$ac_top_build_prefix 913 1473 914 1474 case $srcdir in 915 .) # No --srcdir option.We are building in place.1475 .) # We are building in place. 916 1476 ac_srcdir=. 917 if test -z "$ac_top_builddir"; then 918 ac_top_srcdir=. 1477 ac_top_srcdir=$ac_top_builddir_sub 1478 ac_abs_top_srcdir=$ac_pwd ;; 1479 [\\/]* | ?:[\\/]* ) # Absolute name. 1480 ac_srcdir=$srcdir$ac_dir_suffix; 1481 ac_top_srcdir=$srcdir 1482 ac_abs_top_srcdir=$srcdir ;; 1483 *) # Relative name. 1484 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1485 ac_top_srcdir=$ac_top_build_prefix$srcdir 1486 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1487 esac 1488 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1489 1490 cd "$ac_dir" || { ac_status=$?; continue; } 1491 # Check for guested configure. 1492 if test -f "$ac_srcdir/configure.gnu"; then 1493 echo && 1494 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1495 elif test -f "$ac_srcdir/configure"; then 1496 echo && 1497 $SHELL "$ac_srcdir/configure" --help=recursive 919 1498 else 920 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 921 fi ;; 922 [\\/]* | ?:[\\/]* ) # Absolute path. 923 ac_srcdir=$srcdir$ac_dir_suffix; 924 ac_top_srcdir=$srcdir ;; 925 *) # Relative path. 926 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 927 ac_top_srcdir=$ac_top_builddir$srcdir ;; 928 esac 929 930 # Do not use `cd foo && pwd` to compute absolute paths, because 931 # the directories may not exist. 932 case `pwd` in 933 .) ac_abs_builddir="$ac_dir";; 934 *) 935 case "$ac_dir" in 936 .) ac_abs_builddir=`pwd`;; 937 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 938 *) ac_abs_builddir=`pwd`/"$ac_dir";; 939 esac;; 940 esac 941 case $ac_abs_builddir in 942 .) ac_abs_top_builddir=${ac_top_builddir}.;; 943 *) 944 case ${ac_top_builddir}. in 945 .) ac_abs_top_builddir=$ac_abs_builddir;; 946 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 947 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 948 esac;; 949 esac 950 case $ac_abs_builddir in 951 .) ac_abs_srcdir=$ac_srcdir;; 952 *) 953 case $ac_srcdir in 954 .) ac_abs_srcdir=$ac_abs_builddir;; 955 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 956 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 957 esac;; 958 esac 959 case $ac_abs_builddir in 960 .) ac_abs_top_srcdir=$ac_top_srcdir;; 961 *) 962 case $ac_top_srcdir in 963 .) ac_abs_top_srcdir=$ac_abs_builddir;; 964 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 965 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 966 esac;; 967 esac 968 969 cd $ac_dir 970 # Check for guested configure; otherwise get Cygnus style configure. 971 if test -f $ac_srcdir/configure.gnu; then 972 echo 973 $SHELL $ac_srcdir/configure.gnu --help=recursive 974 elif test -f $ac_srcdir/configure; then 975 echo 976 $SHELL $ac_srcdir/configure --help=recursive 977 elif test -f $ac_srcdir/configure.ac || 978 test -f $ac_srcdir/configure.in; then 979 echo 980 $ac_configure --help 981 else 982 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 983 fi 984 cd $ac_popdir 1499 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1500 fi || ac_status=$? 1501 cd "$ac_pwd" || { ac_status=$?; break; } 985 1502 done 986 1503 fi 987 1504 988 test -n "$ac_init_help" && exit 01505 test -n "$ac_init_help" && exit $ac_status 989 1506 if $ac_init_version; then 990 1507 cat <<\_ACEOF 991 992 Copyright (C) 2003 Free Software Foundation, Inc. 1508 configure 1509 generated by GNU Autoconf 2.63 1510 1511 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1512 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 993 1513 This configure script is free software; the Free Software Foundation 994 1514 gives unlimited permission to copy, distribute and modify it. 995 1515 _ACEOF 996 exit 0 997 fi 998 exec 5>config.log 999 cat >&5 <<_ACEOF 1516 exit 1517 fi 1518 cat >config.log <<_ACEOF 1000 1519 This file contains any messages produced by compilers while 1001 1520 running configure, to aid debugging if configure makes a mistake. 1002 1521 1003 1522 It was created by $as_me, which was 1004 generated by GNU Autoconf 2. 59. Invocation command line was1523 generated by GNU Autoconf 2.63. Invocation command line was 1005 1524 1006 1525 $ $0 $@ 1007 1526 1008 1527 _ACEOF 1528 exec 5>>config.log 1009 1529 { 1010 1530 cat <<_ASUNAME … … 1025 1545 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1026 1546 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1027 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1547 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1028 1548 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1029 1549 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1037 1557 IFS=$as_save_IFS 1038 1558 test -z "$as_dir" && as_dir=. 1039 echo "PATH: $as_dir"1559 $as_echo "PATH: $as_dir" 1040 1560 done 1561 IFS=$as_save_IFS 1041 1562 1042 1563 } >&5 … … 1060 1581 ac_configure_args0= 1061 1582 ac_configure_args1= 1062 ac_sep=1063 1583 ac_must_keep_next=false 1064 1584 for ac_pass in 1 2 … … 1071 1591 | -silent | --silent | --silen | --sile | --sil) 1072 1592 continue ;; 1073 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1074 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1593 *\'*) 1594 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1075 1595 esac 1076 1596 case $ac_pass in … … 1093 1613 esac 1094 1614 fi 1095 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1096 # Get rid of the leading space. 1097 ac_sep=" " 1615 ac_configure_args="$ac_configure_args '$ac_arg'" 1098 1616 ;; 1099 1617 esac … … 1106 1624 # config.log. We remove comments because anyway the quotes in there 1107 1625 # would cause problems or look ugly. 1108 # WARNING: Be sure not to use single quotes in there, as some shells,1109 # such as our DU 5.0 friend, will then `close' the trap.1626 # WARNING: Use '\'' to represent an apostrophe within the trap. 1627 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1110 1628 trap 'exit_status=$? 1111 1629 # Save into config.log some information that might help in debugging. … … 1120 1638 echo 1121 1639 # The following way of writing the cache mishandles newlines in values, 1122 { 1640 ( 1641 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1642 eval ac_val=\$$ac_var 1643 case $ac_val in #( 1644 *${as_nl}*) 1645 case $ac_var in #( 1646 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1647 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1648 esac 1649 case $ac_var in #( 1650 _ | IFS | as_nl) ;; #( 1651 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1652 *) $as_unset $ac_var ;; 1653 esac ;; 1654 esac 1655 done 1123 1656 (set) 2>&1 | 1124 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1125 * ac_space=\ *)1657 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1658 *${as_nl}ac_space=\ *) 1126 1659 sed -n \ 1127 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1128 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1660 "s/'\''/'\''\\\\'\'''\''/g; 1661 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1662 ;; #( 1663 *) 1664 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1129 1665 ;; 1130 *) 1131 sed -n \ 1132 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1133 ;; 1134 esac; 1135 } 1666 esac | 1667 sort 1668 ) 1136 1669 echo 1137 1670 … … 1144 1677 for ac_var in $ac_subst_vars 1145 1678 do 1146 eval ac_val=$`echo $ac_var` 1147 echo "$ac_var='"'"'$ac_val'"'"'" 1679 eval ac_val=\$$ac_var 1680 case $ac_val in 1681 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1682 esac 1683 $as_echo "$ac_var='\''$ac_val'\''" 1148 1684 done | sort 1149 1685 echo … … 1151 1687 if test -n "$ac_subst_files"; then 1152 1688 cat <<\_ASBOX 1153 ## ------------- ##1154 ## Output files. ##1155 ## ------------- ##1689 ## ------------------- ## 1690 ## File substitutions. ## 1691 ## ------------------- ## 1156 1692 _ASBOX 1157 1693 echo 1158 1694 for ac_var in $ac_subst_files 1159 1695 do 1160 eval ac_val=$`echo $ac_var` 1161 echo "$ac_var='"'"'$ac_val'"'"'" 1696 eval ac_val=\$$ac_var 1697 case $ac_val in 1698 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1699 esac 1700 $as_echo "$ac_var='\''$ac_val'\''" 1162 1701 done | sort 1163 1702 echo … … 1171 1710 _ASBOX 1172 1711 echo 1173 sed "/^$/d" confdefs.h | sort1712 cat confdefs.h 1174 1713 echo 1175 1714 fi 1176 1715 test "$ac_signal" != 0 && 1177 echo "$as_me: caught signal $ac_signal"1178 echo "$as_me: exit $exit_status"1716 $as_echo "$as_me: caught signal $ac_signal" 1717 $as_echo "$as_me: exit $exit_status" 1179 1718 } >&5 1180 rm -f core *.core &&1181 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1719 rm -f core *.core core.conftest.* && 1720 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1182 1721 exit $exit_status 1183 1722 ' 0 1184 1723 for ac_signal in 1 2 13 15; do 1185 1724 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1188 1727 1189 1728 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1190 rm -rf conftest* confdefs.h 1191 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1192 echo >confdefs.h 1729 rm -f -r conftest* confdefs.h 1193 1730 1194 1731 # Predefined preprocessor variables. … … 1220 1757 1221 1758 # Let the site file select an alternate cache file if it wants to. 1222 # Prefer explicitly selected file to automatically selected ones. 1223 if test -z "$CONFIG_SITE"; then 1224 if test "x$prefix" != xNONE; then 1225 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1226 else 1227 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1228 fi 1229 fi 1230 for ac_site_file in $CONFIG_SITE; do 1759 # Prefer an explicitly selected file to automatically selected ones. 1760 ac_site_file1=NONE 1761 ac_site_file2=NONE 1762 if test -n "$CONFIG_SITE"; then 1763 ac_site_file1=$CONFIG_SITE 1764 elif test "x$prefix" != xNONE; then 1765 ac_site_file1=$prefix/share/config.site 1766 ac_site_file2=$prefix/etc/config.site 1767 else 1768 ac_site_file1=$ac_default_prefix/share/config.site 1769 ac_site_file2=$ac_default_prefix/etc/config.site 1770 fi 1771 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1772 do 1773 test "x$ac_site_file" = xNONE && continue 1231 1774 if test -r "$ac_site_file"; then 1232 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&51233 echo "$as_me: loading site script $ac_site_file" >&6;}1775 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1776 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1234 1777 sed 's/^/| /' "$ac_site_file" >&5 1235 1778 . "$ac_site_file" … … 1241 1784 # files actually), so we avoid doing that. 1242 1785 if test -f "$cache_file"; then 1243 { echo "$as_me:$LINENO: loading cache $cache_file" >&51244 echo "$as_me: loading cache $cache_file" >&6;}1786 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1787 $as_echo "$as_me: loading cache $cache_file" >&6;} 1245 1788 case $cache_file in 1246 [\\/]* | ?:[\\/]* ) . $cache_file;;1247 *) . ./$cache_file;;1789 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1790 *) . "./$cache_file";; 1248 1791 esac 1249 1792 fi 1250 1793 else 1251 { echo "$as_me:$LINENO: creating cache $cache_file" >&51252 echo "$as_me: creating cache $cache_file" >&6;}1794 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1795 $as_echo "$as_me: creating cache $cache_file" >&6;} 1253 1796 >$cache_file 1254 1797 fi … … 1257 1800 # value. 1258 1801 ac_cache_corrupted=false 1259 for ac_var in `(set) 2>&1 | 1260 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1802 for ac_var in $ac_precious_vars; do 1261 1803 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1262 1804 eval ac_new_set=\$ac_env_${ac_var}_set 1263 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1264 eval ac_new_val= "\$ac_env_${ac_var}_value"1805 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1806 eval ac_new_val=\$ac_env_${ac_var}_value 1265 1807 case $ac_old_set,$ac_new_set in 1266 1808 set,) 1267 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51268 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1809 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1810 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1269 1811 ac_cache_corrupted=: ;; 1270 1812 ,set) 1271 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51272 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1813 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1814 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1273 1815 ac_cache_corrupted=: ;; 1274 1816 ,);; 1275 1817 *) 1276 1818 if test "x$ac_old_val" != "x$ac_new_val"; then 1277 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1278 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1279 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1280 echo "$as_me: former value: $ac_old_val" >&2;} 1281 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1282 echo "$as_me: current value: $ac_new_val" >&2;} 1283 ac_cache_corrupted=: 1819 # differences in whitespace do not lead to failure. 1820 ac_old_val_w=`echo x $ac_old_val` 1821 ac_new_val_w=`echo x $ac_new_val` 1822 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1823 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1824 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1825 ac_cache_corrupted=: 1826 else 1827 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1828 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1829 eval $ac_var=\$ac_old_val 1830 fi 1831 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1832 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1833 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1834 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1284 1835 fi;; 1285 1836 esac … … 1287 1838 if test "$ac_new_set" = set; then 1288 1839 case $ac_new_val in 1289 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1290 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1840 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1291 1841 *) ac_arg=$ac_var=$ac_new_val ;; 1292 1842 esac … … 1298 1848 done 1299 1849 if $ac_cache_corrupted; then 1300 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1301 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1302 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1303 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1850 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 1851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1852 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1853 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1854 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1855 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1304 1856 { (exit 1); exit 1; }; } 1305 1857 fi 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1306 1874 1307 1875 ac_ext=c … … 1312 1880 1313 1881 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 ac_config_headers="$ac_config_headers config.h" 1882 ac_config_headers="$ac_config_headers config.h" 1332 1883 1333 1884 … … 1363 1914 fi 1364 1915 1365 # Check whether --enable-corba or --disable-corbawas given.1916 # Check whether --enable-corba was given. 1366 1917 if test "${enable_corba+set}" = set; then 1367 enableval="$enable_corba" 1368 USE_CORBA=$enableval 1918 enableval=$enable_corba; USE_CORBA=$enableval 1369 1919 else 1370 1920 USE_CORBA=no 1371 fi; 1921 fi 1922 1372 1923 if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then 1373 1924 USE_CORBA=1 1374 1925 cat >>confdefs.h <<\_ACEOF 1375 #define USE_CORBA 1926 #define USE_CORBA /**/ 1376 1927 _ACEOF 1377 1928 … … 1382 1933 1383 1934 1384 # Check whether --with-micodir or --without-micodirwas given.1935 # Check whether --with-micodir was given. 1385 1936 if test "${with_micodir+set}" = set; then 1386 withval="$with_micodir" 1387 MICO_DIR=$withval 1937 withval=$with_micodir; MICO_DIR=$withval 1388 1938 else 1389 1939 MICO_DIR="default" 1390 fi; 1940 fi 1941 1391 1942 cat >>confdefs.h <<_ACEOF 1392 1943 #define MICO_DIR "$MICO_DIR" … … 1395 1946 1396 1947 1397 # Check whether --enable-java or --disable-javawas given.1948 # Check whether --enable-java was given. 1398 1949 if test "${enable_java+set}" = set; then 1399 enableval="$enable_java" 1400 ENABLE_JAVA=$enableval 1950 enableval=$enable_java; ENABLE_JAVA=$enableval 1401 1951 else 1402 1952 ENABLE_JAVA=yes 1403 fi; 1953 fi 1954 1404 1955 if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then 1405 1956 ENABLE_JAVA=1 … … 1415 1966 1416 1967 1417 # Check whether --enable-z3950 or --disable-z3950was given.1968 # Check whether --enable-z3950 was given. 1418 1969 if test "${enable_z3950+set}" = set; then 1419 enableval="$enable_z3950" 1420 USE_Z3950=$enableval 1970 enableval=$enable_z3950; USE_Z3950=$enableval 1421 1971 else 1422 1972 USE_Z3950=no 1423 fi; 1973 fi 1974 1424 1975 if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then 1425 1976 USE_Z3950=1 1426 1977 cat >>confdefs.h <<\_ACEOF 1427 #define USE_Z3950 1978 #define USE_Z3950 /**/ 1428 1979 _ACEOF 1429 1980 … … 1433 1984 1434 1985 1435 # Check whether --enable-yaz or --disable-yazwas given.1986 # Check whether --enable-yaz was given. 1436 1987 if test "${enable_yaz+set}" = set; then 1437 enableval="$enable_yaz" 1438 USE_YAZ=$enableval 1988 enableval=$enable_yaz; USE_YAZ=$enableval 1439 1989 else 1440 1990 USE_YAZ=yes 1441 fi; 1991 fi 1992 1442 1993 if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then 1443 1994 USE_YAZ=1 1444 1995 cat >>confdefs.h <<\_ACEOF 1445 #define USE_YAZ 1996 #define USE_YAZ /**/ 1446 1997 _ACEOF 1447 1998 … … 1451 2002 1452 2003 1453 # Check whether --enable-wvware or --disable-wvwarewas given.2004 # Check whether --enable-wvware was given. 1454 2005 if test "${enable_wvware+set}" = set; then 1455 enableval="$enable_wvware" 1456 USE_WVWARE=$enableval 2006 enableval=$enable_wvware; USE_WVWARE=$enableval 1457 2007 else 1458 2008 USE_WVWARE=yes 1459 fi; 2009 fi 2010 1460 2011 if test $USE_WVWARE = "yes" -o $USE_WVWARE = "1" ; then 1461 2012 USE_WVWARE=1 1462 2013 cat >>confdefs.h <<\_ACEOF 1463 #define USE_WVWARE 2014 #define USE_WVWARE /**/ 1464 2015 _ACEOF 1465 2016 … … 1469 2020 1470 2021 1471 # Check whether --enable-jdbm or --disable-jdbmwas given.2022 # Check whether --enable-jdbm was given. 1472 2023 if test "${enable_jdbm+set}" = set; then 1473 enableval="$enable_jdbm" 1474 USE_JDBM=$enableval 2024 enableval=$enable_jdbm; USE_JDBM=$enableval 1475 2025 else 1476 2026 USE_JDBM=yes 1477 fi; 2027 fi 2028 1478 2029 if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then 1479 2030 USE_JDBM=1 1480 2031 cat >>confdefs.h <<\_ACEOF 1481 #define USE_JDBM 2032 #define USE_JDBM /**/ 1482 2033 _ACEOF 1483 2034 … … 1487 2038 1488 2039 1489 # Check whether --enable-gdbm or --disable-gdbmwas given.2040 # Check whether --enable-gdbm was given. 1490 2041 if test "${enable_gdbm+set}" = set; then 1491 enableval="$enable_gdbm" 1492 USE_GDBM=$enableval 2042 enableval=$enable_gdbm; USE_GDBM=$enableval 1493 2043 else 1494 2044 USE_GDBM=yes 1495 fi; 2045 fi 2046 1496 2047 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 1497 2048 USE_GDBM=1 1498 2049 cat >>confdefs.h <<\_ACEOF 1499 #define USE_GDBM 2050 #define USE_GDBM /**/ 1500 2051 _ACEOF 1501 2052 … … 1505 2056 1506 2057 1507 # Check whether --enable-accentfold or --disable-accentfoldwas given.2058 # Check whether --enable-accentfold was given. 1508 2059 if test "${enable_accentfold+set}" = set; then 1509 enableval="$enable_accentfold" 1510 ENABLE_ACCENTFOLD=$enableval 2060 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval 1511 2061 else 1512 2062 ENABLE_ACCENTFOLD=yes 1513 fi; 2063 fi 2064 1514 2065 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 1515 2066 ENABLE_ACCENTFOLD=1 1516 2067 cat >>confdefs.h <<\_ACEOF 1517 #define ENABLE_ACCENTFOLD 2068 #define ENABLE_ACCENTFOLD /**/ 1518 2069 _ACEOF 1519 2070 … … 1523 2074 1524 2075 1525 # Check whether --enable-sqlite or --disable-sqlitewas given.2076 # Check whether --enable-sqlite was given. 1526 2077 if test "${enable_sqlite+set}" = set; then 1527 enableval="$enable_sqlite" 1528 USE_SQLITE=$enableval 2078 enableval=$enable_sqlite; USE_SQLITE=$enableval 1529 2079 else 1530 2080 USE_SQLITE=yes 1531 fi; 2081 fi 2082 1532 2083 if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then 1533 2084 USE_SQLITE=1 1534 2085 cat >>confdefs.h <<\_ACEOF 1535 #define USE_SQLITE 2086 #define USE_SQLITE /**/ 1536 2087 _ACEOF 1537 2088 … … 1541 2092 1542 2093 1543 # Check whether --enable-rss or --disable-rsswas given.2094 # Check whether --enable-rss was given. 1544 2095 if test "${enable_rss+set}" = set; then 1545 enableval="$enable_rss" 1546 USE_RSS=$enableval 2096 enableval=$enable_rss; USE_RSS=$enableval 1547 2097 else 1548 2098 USE_RSS=yes 1549 fi; 2099 fi 2100 1550 2101 if test $USE_RSS = "yes" -o $USE_RSS = "1" ; then 1551 2102 USE_RSS=1 1552 2103 cat >>confdefs.h <<\_ACEOF 1553 #define USE_RSS 2104 #define USE_RSS /**/ 1554 2105 _ACEOF 1555 2106 … … 1561 2112 1562 2113 if test -d runtime-src; then 1563 # Check whether --enable-apache-httpd or --disable-apache-httpdwas given.2114 # Check whether --enable-apache-httpd was given. 1564 2115 if test "${enable_apache_httpd+set}" = set; then 1565 enableval="$enable_apache_httpd" 1566 USE_APACHE_HTTPD=$enableval 2116 enableval=$enable_apache_httpd; USE_APACHE_HTTPD=$enableval 1567 2117 else 1568 2118 USE_APACHE_HTTPD=no 1569 fi; 2119 fi 2120 1570 2121 if test $USE_APACHE_HTTPD = "yes" -o $USE_APACHE_HTTPD = "1" ; then 1571 2122 USE_APACHE_HTTPD=1 1572 2123 cat >>confdefs.h <<\_ACEOF 1573 #define USE_APACHE_HTTPD 2124 #define USE_APACHE_HTTPD /**/ 1574 2125 _ACEOF 1575 2126 … … 1580 2131 fi 1581 2132 1582 # Check whether --enable-jni or --disable-jniwas given.2133 # Check whether --enable-jni was given. 1583 2134 if test "${enable_jni+set}" = set; then 1584 enableval="$enable_jni" 1585 ENABLE_JNI=$enableval 2135 enableval=$enable_jni; ENABLE_JNI=$enableval 1586 2136 else 1587 2137 ENABLE_JNI=no 1588 fi; 2138 fi 2139 1589 2140 if test $ENABLE_JAVA = "1" -a \( $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" \) ; then 1590 2141 ENABLE_JNI=1 1591 2142 cat >>confdefs.h <<\_ACEOF 1592 #define ENABLE_JNI 2143 #define ENABLE_JNI /**/ 1593 2144 _ACEOF 1594 2145 … … 1598 2149 1599 2150 1600 # Check whether --enable-mg or --disable-mgwas given.2151 # Check whether --enable-mg was given. 1601 2152 if test "${enable_mg+set}" = set; then 1602 enableval="$enable_mg" 1603 ENABLE_MG=$enableval 2153 enableval=$enable_mg; ENABLE_MG=$enableval 1604 2154 else 1605 2155 ENABLE_MG=yes 1606 fi; 2156 fi 2157 1607 2158 if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then 1608 2159 ENABLE_MG=1 1609 2160 cat >>confdefs.h <<\_ACEOF 1610 #define ENABLE_MG 2161 #define ENABLE_MG /**/ 1611 2162 _ACEOF 1612 2163 … … 1617 2168 1618 2169 1619 # Check whether --enable-mgpp or --disable-mgppwas given.2170 # Check whether --enable-mgpp was given. 1620 2171 if test "${enable_mgpp+set}" = set; then 1621 enableval="$enable_mgpp" 1622 ENABLE_MGPP=$enableval 2172 enableval=$enable_mgpp; ENABLE_MGPP=$enableval 1623 2173 else 1624 2174 ENABLE_MGPP=yes 1625 fi; 2175 fi 2176 1626 2177 if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then 1627 2178 ENABLE_MGPP=1 1628 2179 cat >>confdefs.h <<\_ACEOF 1629 #define ENABLE_MGPP 2180 #define ENABLE_MGPP /**/ 1630 2181 _ACEOF 1631 2182 … … 1635 2186 1636 2187 1637 # Check whether --enable-lucene or --disable-lucenewas given.2188 # Check whether --enable-lucene was given. 1638 2189 if test "${enable_lucene+set}" = set; then 1639 enableval="$enable_lucene" 1640 ENABLE_LUCENE=$enableval 2190 enableval=$enable_lucene; ENABLE_LUCENE=$enableval 1641 2191 else 1642 2192 ENABLE_LUCENE=yes 1643 fi; 2193 fi 2194 1644 2195 if test $ENABLE_JAVA = "1" -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then 1645 2196 ENABLE_LUCENE=1 1646 2197 cat >>confdefs.h <<\_ACEOF 1647 #define ENABLE_LUCENE 2198 #define ENABLE_LUCENE /**/ 1648 2199 _ACEOF 1649 2200 … … 1670 2221 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1671 2222 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1672 echo "$as_me:$LINENO: checking for $ac_word" >&51673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2223 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2224 $as_echo_n "checking for $ac_word... " >&6; } 1674 2225 if test "${ac_cv_prog_CC+set}" = set; then 1675 echo $ECHO_N "(cached) $ECHO_C" >&62226 $as_echo_n "(cached) " >&6 1676 2227 else 1677 2228 if test -n "$CC"; then … … 1684 2235 test -z "$as_dir" && as_dir=. 1685 2236 for ac_exec_ext in '' $ac_executable_extensions; do 1686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1687 2238 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52239 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1689 2240 break 2 1690 2241 fi 1691 2242 done 1692 2243 done 2244 IFS=$as_save_IFS 1693 2245 1694 2246 fi … … 1696 2248 CC=$ac_cv_prog_CC 1697 2249 if test -n "$CC"; then 1698 echo "$as_me:$LINENO: result: $CC" >&5 1699 echo "${ECHO_T}$CC" >&6 1700 else 1701 echo "$as_me:$LINENO: result: no" >&5 1702 echo "${ECHO_T}no" >&6 1703 fi 2250 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2251 $as_echo "$CC" >&6; } 2252 else 2253 { $as_echo "$as_me:$LINENO: result: no" >&5 2254 $as_echo "no" >&6; } 2255 fi 2256 1704 2257 1705 2258 fi … … 1708 2261 # Extract the first word of "gcc", so it can be a program name with args. 1709 2262 set dummy gcc; ac_word=$2 1710 echo "$as_me:$LINENO: checking for $ac_word" >&51711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2263 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2264 $as_echo_n "checking for $ac_word... " >&6; } 1712 2265 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1713 echo $ECHO_N "(cached) $ECHO_C" >&62266 $as_echo_n "(cached) " >&6 1714 2267 else 1715 2268 if test -n "$ac_ct_CC"; then … … 1722 2275 test -z "$as_dir" && as_dir=. 1723 2276 for ac_exec_ext in '' $ac_executable_extensions; do 1724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1725 2278 ac_cv_prog_ac_ct_CC="gcc" 1726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52279 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1727 2280 break 2 1728 2281 fi 1729 2282 done 1730 2283 done 2284 IFS=$as_save_IFS 1731 2285 1732 2286 fi … … 1734 2288 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1735 2289 if test -n "$ac_ct_CC"; then 1736 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1737 echo "${ECHO_T}$ac_ct_CC" >&6 1738 else 1739 echo "$as_me:$LINENO: result: no" >&5 1740 echo "${ECHO_T}no" >&6 1741 fi 1742 1743 CC=$ac_ct_CC 2290 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2291 $as_echo "$ac_ct_CC" >&6; } 2292 else 2293 { $as_echo "$as_me:$LINENO: result: no" >&5 2294 $as_echo "no" >&6; } 2295 fi 2296 2297 if test "x$ac_ct_CC" = x; then 2298 CC="" 2299 else 2300 case $cross_compiling:$ac_tool_warned in 2301 yes:) 2302 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2304 ac_tool_warned=yes ;; 2305 esac 2306 CC=$ac_ct_CC 2307 fi 1744 2308 else 1745 2309 CC="$ac_cv_prog_CC" … … 1747 2311 1748 2312 if test -z "$CC"; then 1749 if test -n "$ac_tool_prefix"; then1750 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2313 if test -n "$ac_tool_prefix"; then 2314 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1751 2315 set dummy ${ac_tool_prefix}cc; ac_word=$2 1752 echo "$as_me:$LINENO: checking for $ac_word" >&51753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2316 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2317 $as_echo_n "checking for $ac_word... " >&6; } 1754 2318 if test "${ac_cv_prog_CC+set}" = set; then 1755 echo $ECHO_N "(cached) $ECHO_C" >&62319 $as_echo_n "(cached) " >&6 1756 2320 else 1757 2321 if test -n "$CC"; then … … 1764 2328 test -z "$as_dir" && as_dir=. 1765 2329 for ac_exec_ext in '' $ac_executable_extensions; do 1766 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 1767 2331 ac_cv_prog_CC="${ac_tool_prefix}cc" 1768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52332 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1769 2333 break 2 1770 2334 fi 1771 2335 done 1772 2336 done 2337 IFS=$as_save_IFS 1773 2338 1774 2339 fi … … 1776 2341 CC=$ac_cv_prog_CC 1777 2342 if test -n "$CC"; then 1778 echo "$as_me:$LINENO: result: $CC" >&5 1779 echo "${ECHO_T}$CC" >&6 1780 else 1781 echo "$as_me:$LINENO: result: no" >&5 1782 echo "${ECHO_T}no" >&6 1783 fi 1784 1785 fi 1786 if test -z "$ac_cv_prog_CC"; then 1787 ac_ct_CC=$CC 1788 # Extract the first word of "cc", so it can be a program name with args. 1789 set dummy cc; ac_word=$2 1790 echo "$as_me:$LINENO: checking for $ac_word" >&5 1791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1792 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1793 echo $ECHO_N "(cached) $ECHO_C" >&6 1794 else 1795 if test -n "$ac_ct_CC"; then 1796 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1797 else 1798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1799 for as_dir in $PATH 1800 do 1801 IFS=$as_save_IFS 1802 test -z "$as_dir" && as_dir=. 1803 for ac_exec_ext in '' $ac_executable_extensions; do 1804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1805 ac_cv_prog_ac_ct_CC="cc" 1806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1807 break 2 2343 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2344 $as_echo "$CC" >&6; } 2345 else 2346 { $as_echo "$as_me:$LINENO: result: no" >&5 2347 $as_echo "no" >&6; } 2348 fi 2349 2350 1808 2351 fi 1809 done1810 done1811 1812 fi1813 fi1814 ac_ct_CC=$ac_cv_prog_ac_ct_CC1815 if test -n "$ac_ct_CC"; then1816 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51817 echo "${ECHO_T}$ac_ct_CC" >&61818 else1819 echo "$as_me:$LINENO: result: no" >&51820 echo "${ECHO_T}no" >&61821 fi1822 1823 CC=$ac_ct_CC1824 else1825 CC="$ac_cv_prog_CC"1826 fi1827 1828 2352 fi 1829 2353 if test -z "$CC"; then 1830 2354 # Extract the first word of "cc", so it can be a program name with args. 1831 2355 set dummy cc; ac_word=$2 1832 echo "$as_me:$LINENO: checking for $ac_word" >&51833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2356 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2357 $as_echo_n "checking for $ac_word... " >&6; } 1834 2358 if test "${ac_cv_prog_CC+set}" = set; then 1835 echo $ECHO_N "(cached) $ECHO_C" >&62359 $as_echo_n "(cached) " >&6 1836 2360 else 1837 2361 if test -n "$CC"; then … … 1845 2369 test -z "$as_dir" && as_dir=. 1846 2370 for ac_exec_ext in '' $ac_executable_extensions; do 1847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1848 2372 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1849 2373 ac_prog_rejected=yes … … 1851 2375 fi 1852 2376 ac_cv_prog_CC="cc" 1853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52377 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1854 2378 break 2 1855 2379 fi 1856 2380 done 1857 2381 done 2382 IFS=$as_save_IFS 1858 2383 1859 2384 if test $ac_prog_rejected = yes; then … … 1873 2398 CC=$ac_cv_prog_CC 1874 2399 if test -n "$CC"; then 1875 echo "$as_me:$LINENO: result: $CC" >&5 1876 echo "${ECHO_T}$CC" >&6 1877 else 1878 echo "$as_me:$LINENO: result: no" >&5 1879 echo "${ECHO_T}no" >&6 1880 fi 2400 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2401 $as_echo "$CC" >&6; } 2402 else 2403 { $as_echo "$as_me:$LINENO: result: no" >&5 2404 $as_echo "no" >&6; } 2405 fi 2406 1881 2407 1882 2408 fi 1883 2409 if test -z "$CC"; then 1884 2410 if test -n "$ac_tool_prefix"; then 1885 for ac_prog in cl 2411 for ac_prog in cl.exe 1886 2412 do 1887 2413 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1888 2414 set dummy $ac_tool_prefix$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 2415 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2416 $as_echo_n "checking for $ac_word... " >&6; } 1891 2417 if test "${ac_cv_prog_CC+set}" = set; then 1892 echo $ECHO_N "(cached) $ECHO_C" >&62418 $as_echo_n "(cached) " >&6 1893 2419 else 1894 2420 if test -n "$CC"; then … … 1901 2427 test -z "$as_dir" && as_dir=. 1902 2428 for ac_exec_ext in '' $ac_executable_extensions; do 1903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1904 2430 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52431 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1906 2432 break 2 1907 2433 fi 1908 2434 done 1909 2435 done 2436 IFS=$as_save_IFS 1910 2437 1911 2438 fi … … 1913 2440 CC=$ac_cv_prog_CC 1914 2441 if test -n "$CC"; then 1915 echo "$as_me:$LINENO: result: $CC" >&5 1916 echo "${ECHO_T}$CC" >&6 1917 else 1918 echo "$as_me:$LINENO: result: no" >&5 1919 echo "${ECHO_T}no" >&6 1920 fi 2442 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2443 $as_echo "$CC" >&6; } 2444 else 2445 { $as_echo "$as_me:$LINENO: result: no" >&5 2446 $as_echo "no" >&6; } 2447 fi 2448 1921 2449 1922 2450 test -n "$CC" && break … … 1925 2453 if test -z "$CC"; then 1926 2454 ac_ct_CC=$CC 1927 for ac_prog in cl 2455 for ac_prog in cl.exe 1928 2456 do 1929 2457 # Extract the first word of "$ac_prog", so it can be a program name with args. 1930 2458 set dummy $ac_prog; ac_word=$2 1931 echo "$as_me:$LINENO: checking for $ac_word" >&51932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2459 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2460 $as_echo_n "checking for $ac_word... " >&6; } 1933 2461 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1934 echo $ECHO_N "(cached) $ECHO_C" >&62462 $as_echo_n "(cached) " >&6 1935 2463 else 1936 2464 if test -n "$ac_ct_CC"; then … … 1943 2471 test -z "$as_dir" && as_dir=. 1944 2472 for ac_exec_ext in '' $ac_executable_extensions; do 1945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1946 2474 ac_cv_prog_ac_ct_CC="$ac_prog" 1947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52475 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1948 2476 break 2 1949 2477 fi 1950 2478 done 1951 2479 done 2480 IFS=$as_save_IFS 1952 2481 1953 2482 fi … … 1955 2484 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1956 2485 if test -n "$ac_ct_CC"; then 1957 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1958 echo "${ECHO_T}$ac_ct_CC" >&6 1959 else 1960 echo "$as_me:$LINENO: result: no" >&5 1961 echo "${ECHO_T}no" >&6 1962 fi 2486 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2487 $as_echo "$ac_ct_CC" >&6; } 2488 else 2489 { $as_echo "$as_me:$LINENO: result: no" >&5 2490 $as_echo "no" >&6; } 2491 fi 2492 1963 2493 1964 2494 test -n "$ac_ct_CC" && break 1965 2495 done 1966 2496 1967 CC=$ac_ct_CC 1968 fi 1969 1970 fi 1971 1972 1973 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2497 if test "x$ac_ct_CC" = x; then 2498 CC="" 2499 else 2500 case $cross_compiling:$ac_tool_warned in 2501 yes:) 2502 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2504 ac_tool_warned=yes ;; 2505 esac 2506 CC=$ac_ct_CC 2507 fi 2508 fi 2509 2510 fi 2511 2512 2513 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2514 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2515 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1974 2516 See \`config.log' for more details." >&5 1975 echo "$as_me: error: no acceptable C compiler found in \$PATH2517 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 1976 2518 See \`config.log' for more details." >&2;} 1977 { (exit 1); exit 1; }; } 2519 { (exit 1); exit 1; }; }; } 1978 2520 1979 2521 # Provide some information about the compiler. 1980 echo "$as_me:$LINENO:" \ 1981 "checking for C compiler version" >&5 1982 ac_compiler=`set X $ac_compile; echo $2` 1983 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1984 (eval $ac_compiler --version </dev/null >&5) 2>&5 2522 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2523 set X $ac_compile 2524 ac_compiler=$2 2525 { (ac_try="$ac_compiler --version >&5" 2526 case "(($ac_try" in 2527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2528 *) ac_try_echo=$ac_try;; 2529 esac 2530 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2531 $as_echo "$ac_try_echo") >&5 2532 (eval "$ac_compiler --version >&5") 2>&5 1985 2533 ac_status=$? 1986 echo "$as_me:$LINENO: \$? = $ac_status" >&52534 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1987 2535 (exit $ac_status); } 1988 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1989 (eval $ac_compiler -v </dev/null >&5) 2>&5 2536 { (ac_try="$ac_compiler -v >&5" 2537 case "(($ac_try" in 2538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2539 *) ac_try_echo=$ac_try;; 2540 esac 2541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2542 $as_echo "$ac_try_echo") >&5 2543 (eval "$ac_compiler -v >&5") 2>&5 1990 2544 ac_status=$? 1991 echo "$as_me:$LINENO: \$? = $ac_status" >&52545 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1992 2546 (exit $ac_status); } 1993 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1994 (eval $ac_compiler -V </dev/null >&5) 2>&5 2547 { (ac_try="$ac_compiler -V >&5" 2548 case "(($ac_try" in 2549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2550 *) ac_try_echo=$ac_try;; 2551 esac 2552 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2553 $as_echo "$ac_try_echo") >&5 2554 (eval "$ac_compiler -V >&5") 2>&5 1995 2555 ac_status=$? 1996 echo "$as_me:$LINENO: \$? = $ac_status" >&52556 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1997 2557 (exit $ac_status); } 1998 2558 … … 2013 2573 _ACEOF 2014 2574 ac_clean_files_save=$ac_clean_files 2015 ac_clean_files="$ac_clean_files a.out a. exe b.out"2575 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2016 2576 # Try to create an executable without -o first, disregard a.out. 2017 2577 # It will help us diagnose broken compilers, and finding out an intuition 2018 2578 # of exeext. 2019 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2020 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2021 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2022 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2023 (eval $ac_link_default) 2>&5 2579 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2580 $as_echo_n "checking for C compiler default output file name... " >&6; } 2581 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2582 2583 # The possible output files: 2584 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2585 2586 ac_rmfiles= 2587 for ac_file in $ac_files 2588 do 2589 case $ac_file in 2590 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2591 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2592 esac 2593 done 2594 rm -f $ac_rmfiles 2595 2596 if { (ac_try="$ac_link_default" 2597 case "(($ac_try" in 2598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2599 *) ac_try_echo=$ac_try;; 2600 esac 2601 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2602 $as_echo "$ac_try_echo") >&5 2603 (eval "$ac_link_default") 2>&5 2024 2604 ac_status=$? 2025 echo "$as_me:$LINENO: \$? = $ac_status" >&52605 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2026 2606 (exit $ac_status); }; then 2027 # Find the output, starting from the most likely. This scheme is 2028 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 2029 # resort. 2030 2031 # Be careful to initialize this variable, since it used to be cached. 2032 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 2033 ac_cv_exeext= 2034 # b.out is created by i960 compilers. 2035 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2607 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2608 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2609 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2610 # so that the user can short-circuit this test for compilers unknown to 2611 # Autoconf. 2612 for ac_file in $ac_files '' 2036 2613 do 2037 2614 test -f "$ac_file" || continue 2038 2615 case $ac_file in 2039 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2040 ;; 2041 conftest.$ac_ext ) 2042 # This is the source file. 2616 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2043 2617 ;; 2044 2618 [ab].out ) … … 2047 2621 break;; 2048 2622 *.* ) 2049 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2050 # FIXME: I believe we export ac_cv_exeext for Libtool, 2051 # but it would be cool to find out if it's true. Does anybody 2052 # maintain Libtool? --akim. 2053 export ac_cv_exeext 2623 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2624 then :; else 2625 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2626 fi 2627 # We set ac_cv_exeext here because the later test for it is not 2628 # safe: cross compilers may not add the suffix if given an `-o' 2629 # argument, so we may need to know it at that point already. 2630 # Even if this section looks crufty: it has the advantage of 2631 # actually working. 2054 2632 break;; 2055 2633 * ) … … 2057 2635 esac 2058 2636 done 2059 else 2060 echo "$as_me: failed program was:" >&5 2637 test "$ac_cv_exeext" = no && ac_cv_exeext= 2638 2639 else 2640 ac_file='' 2641 fi 2642 2643 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2644 $as_echo "$ac_file" >&6; } 2645 if test -z "$ac_file"; then 2646 $as_echo "$as_me: failed program was:" >&5 2061 2647 sed 's/^/| /' conftest.$ac_ext >&5 2062 2648 2063 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2649 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2651 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2064 2652 See \`config.log' for more details." >&5 2065 echo "$as_me: error: C compiler cannot create executables2653 $as_echo "$as_me: error: C compiler cannot create executables 2066 2654 See \`config.log' for more details." >&2;} 2067 { (exit 77); exit 77; }; } 2655 { (exit 77); exit 77; }; }; } 2068 2656 fi 2069 2657 2070 2658 ac_exeext=$ac_cv_exeext 2071 echo "$as_me:$LINENO: result: $ac_file" >&5 2072 echo "${ECHO_T}$ac_file" >&6 2073 2074 # Check the compiler produces executables we can run. If not, either 2659 2660 # Check that the compiler produces executables we can run. If not, either 2075 2661 # the compiler is broken, or we cross compile. 2076 echo "$as_me:$LINENO: checking whether the C compiler works" >&52077 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2662 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2663 $as_echo_n "checking whether the C compiler works... " >&6; } 2078 2664 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2079 2665 # If not cross compiling, check that we can run a simple program. 2080 2666 if test "$cross_compiling" != yes; then 2081 2667 if { ac_try='./$ac_file' 2082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2083 (eval $ac_try) 2>&5 2668 { (case "(($ac_try" in 2669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2670 *) ac_try_echo=$ac_try;; 2671 esac 2672 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2673 $as_echo "$ac_try_echo") >&5 2674 (eval "$ac_try") 2>&5 2084 2675 ac_status=$? 2085 echo "$as_me:$LINENO: \$? = $ac_status" >&52676 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2086 2677 (exit $ac_status); }; }; then 2087 2678 cross_compiling=no … … 2090 2681 cross_compiling=yes 2091 2682 else 2092 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2683 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2685 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2093 2686 If you meant to cross compile, use \`--host'. 2094 2687 See \`config.log' for more details." >&5 2095 echo "$as_me: error: cannot run C compiled programs.2688 $as_echo "$as_me: error: cannot run C compiled programs. 2096 2689 If you meant to cross compile, use \`--host'. 2097 2690 See \`config.log' for more details." >&2;} 2098 { (exit 1); exit 1; }; } 2691 { (exit 1); exit 1; }; }; } 2099 2692 fi 2100 2693 fi 2101 2694 fi 2102 echo "$as_me:$LINENO: result: yes" >&52103 echo "${ECHO_T}yes" >&6 2104 2105 rm -f a.outa.exe conftest$ac_cv_exeext b.out2695 { $as_echo "$as_me:$LINENO: result: yes" >&5 2696 $as_echo "yes" >&6; } 2697 2698 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2106 2699 ac_clean_files=$ac_clean_files_save 2107 # Check th e compiler produces executables we can run. If not, either2700 # Check that the compiler produces executables we can run. If not, either 2108 2701 # the compiler is broken, or we cross compile. 2109 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2110 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2111 echo "$as_me:$LINENO: result: $cross_compiling" >&5 2112 echo "${ECHO_T}$cross_compiling" >&6 2113 2114 echo "$as_me:$LINENO: checking for suffix of executables" >&5 2115 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2117 (eval $ac_link) 2>&5 2702 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2703 $as_echo_n "checking whether we are cross compiling... " >&6; } 2704 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2705 $as_echo "$cross_compiling" >&6; } 2706 2707 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2708 $as_echo_n "checking for suffix of executables... " >&6; } 2709 if { (ac_try="$ac_link" 2710 case "(($ac_try" in 2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2712 *) ac_try_echo=$ac_try;; 2713 esac 2714 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2715 $as_echo "$ac_try_echo") >&5 2716 (eval "$ac_link") 2>&5 2118 2717 ac_status=$? 2119 echo "$as_me:$LINENO: \$? = $ac_status" >&52718 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2120 2719 (exit $ac_status); }; then 2121 2720 # If both `conftest.exe' and `conftest' are `present' (well, observable) … … 2126 2725 test -f "$ac_file" || continue 2127 2726 case $ac_file in 2128 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2727 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2129 2728 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2130 export ac_cv_exeext2131 2729 break;; 2132 2730 * ) break;; … … 2134 2732 done 2135 2733 else 2136 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2734 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2736 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2137 2737 See \`config.log' for more details." >&5 2138 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link2738 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2139 2739 See \`config.log' for more details." >&2;} 2140 { (exit 1); exit 1; }; } 2740 { (exit 1); exit 1; }; }; } 2141 2741 fi 2142 2742 2143 2743 rm -f conftest$ac_cv_exeext 2144 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52145 echo "${ECHO_T}$ac_cv_exeext" >&6 2744 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2745 $as_echo "$ac_cv_exeext" >&6; } 2146 2746 2147 2747 rm -f conftest.$ac_ext 2148 2748 EXEEXT=$ac_cv_exeext 2149 2749 ac_exeext=$EXEEXT 2150 echo "$as_me:$LINENO: checking for suffix of object files" >&52151 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2750 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2751 $as_echo_n "checking for suffix of object files... " >&6; } 2152 2752 if test "${ac_cv_objext+set}" = set; then 2153 echo $ECHO_N "(cached) $ECHO_C" >&62753 $as_echo_n "(cached) " >&6 2154 2754 else 2155 2755 cat >conftest.$ac_ext <<_ACEOF … … 2169 2769 _ACEOF 2170 2770 rm -f conftest.o conftest.obj 2171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2172 (eval $ac_compile) 2>&5 2771 if { (ac_try="$ac_compile" 2772 case "(($ac_try" in 2773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2774 *) ac_try_echo=$ac_try;; 2775 esac 2776 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2777 $as_echo "$ac_try_echo") >&5 2778 (eval "$ac_compile") 2>&5 2173 2779 ac_status=$? 2174 echo "$as_me:$LINENO: \$? = $ac_status" >&52780 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2175 2781 (exit $ac_status); }; then 2176 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2782 for ac_file in conftest.o conftest.obj conftest.*; do 2783 test -f "$ac_file" || continue; 2177 2784 case $ac_file in 2178 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2785 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2179 2786 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2180 2787 break;; … … 2182 2789 done 2183 2790 else 2184 echo "$as_me: failed program was:" >&52791 $as_echo "$as_me: failed program was:" >&5 2185 2792 sed 's/^/| /' conftest.$ac_ext >&5 2186 2793 2187 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2794 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2795 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2796 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2188 2797 See \`config.log' for more details." >&5 2189 echo "$as_me: error: cannot compute suffix of object files: cannot compile2798 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2190 2799 See \`config.log' for more details." >&2;} 2191 { (exit 1); exit 1; }; } 2800 { (exit 1); exit 1; }; }; } 2192 2801 fi 2193 2802 2194 2803 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2195 2804 fi 2196 echo "$as_me:$LINENO: result: $ac_cv_objext" >&52197 echo "${ECHO_T}$ac_cv_objext" >&6 2805 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2806 $as_echo "$ac_cv_objext" >&6; } 2198 2807 OBJEXT=$ac_cv_objext 2199 2808 ac_objext=$OBJEXT 2200 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52201 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2809 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2810 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2202 2811 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2203 echo $ECHO_N "(cached) $ECHO_C" >&62812 $as_echo_n "(cached) " >&6 2204 2813 else 2205 2814 cat >conftest.$ac_ext <<_ACEOF … … 2222 2831 _ACEOF 2223 2832 rm -f conftest.$ac_objext 2224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2225 (eval $ac_compile) 2>conftest.er1 2833 if { (ac_try="$ac_compile" 2834 case "(($ac_try" in 2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2836 *) ac_try_echo=$ac_try;; 2837 esac 2838 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2839 $as_echo "$ac_try_echo") >&5 2840 (eval "$ac_compile") 2>conftest.er1 2226 2841 ac_status=$? 2227 2842 grep -v '^ *+' conftest.er1 >conftest.err 2228 2843 rm -f conftest.er1 2229 2844 cat conftest.err >&5 2230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2231 (exit $ac_status); } && 2232 { ac_try='test -z "$ac_c_werror_flag" 2233 || test ! -s conftest.err' 2234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2235 (eval $ac_try) 2>&5 2236 ac_status=$? 2237 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2238 (exit $ac_status); }; } && 2239 { ac_try='test -s conftest.$ac_objext' 2240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2241 (eval $ac_try) 2>&5 2242 ac_status=$? 2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2244 (exit $ac_status); }; }; then 2845 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2846 (exit $ac_status); } && { 2847 test -z "$ac_c_werror_flag" || 2848 test ! -s conftest.err 2849 } && test -s conftest.$ac_objext; then 2245 2850 ac_compiler_gnu=yes 2246 2851 else 2247 echo "$as_me: failed program was:" >&52852 $as_echo "$as_me: failed program was:" >&5 2248 2853 sed 's/^/| /' conftest.$ac_ext >&5 2249 2854 2250 ac_compiler_gnu=no 2251 fi 2252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2855 ac_compiler_gnu=no 2856 fi 2857 2858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2253 2859 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2254 2860 2255 2861 fi 2256 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2257 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2258 GCC=`test $ac_compiler_gnu = yes && echo yes` 2862 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2863 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2864 if test $ac_compiler_gnu = yes; then 2865 GCC=yes 2866 else 2867 GCC= 2868 fi 2259 2869 ac_test_CFLAGS=${CFLAGS+set} 2260 2870 ac_save_CFLAGS=$CFLAGS 2261 CFLAGS="-g" 2262 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2263 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2871 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2872 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2264 2873 if test "${ac_cv_prog_cc_g+set}" = set; then 2265 echo $ECHO_N "(cached) $ECHO_C" >&6 2266 else 2267 cat >conftest.$ac_ext <<_ACEOF 2874 $as_echo_n "(cached) " >&6 2875 else 2876 ac_save_c_werror_flag=$ac_c_werror_flag 2877 ac_c_werror_flag=yes 2878 ac_cv_prog_cc_g=no 2879 CFLAGS="-g" 2880 cat >conftest.$ac_ext <<_ACEOF 2268 2881 /* confdefs.h. */ 2269 2882 _ACEOF … … 2281 2894 _ACEOF 2282 2895 rm -f conftest.$ac_objext 2283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2284 (eval $ac_compile) 2>conftest.er1 2896 if { (ac_try="$ac_compile" 2897 case "(($ac_try" in 2898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2899 *) ac_try_echo=$ac_try;; 2900 esac 2901 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2902 $as_echo "$ac_try_echo") >&5 2903 (eval "$ac_compile") 2>conftest.er1 2285 2904 ac_status=$? 2286 2905 grep -v '^ *+' conftest.er1 >conftest.err 2287 2906 rm -f conftest.er1 2288 2907 cat conftest.err >&5 2289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2290 (exit $ac_status); } && 2291 { ac_try='test -z "$ac_c_werror_flag" 2292 || test ! -s conftest.err' 2293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2294 (eval $ac_try) 2>&5 2908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2909 (exit $ac_status); } && { 2910 test -z "$ac_c_werror_flag" || 2911 test ! -s conftest.err 2912 } && test -s conftest.$ac_objext; then 2913 ac_cv_prog_cc_g=yes 2914 else 2915 $as_echo "$as_me: failed program was:" >&5 2916 sed 's/^/| /' conftest.$ac_ext >&5 2917 2918 CFLAGS="" 2919 cat >conftest.$ac_ext <<_ACEOF 2920 /* confdefs.h. */ 2921 _ACEOF 2922 cat confdefs.h >>conftest.$ac_ext 2923 cat >>conftest.$ac_ext <<_ACEOF 2924 /* end confdefs.h. */ 2925 2926 int 2927 main () 2928 { 2929 2930 ; 2931 return 0; 2932 } 2933 _ACEOF 2934 rm -f conftest.$ac_objext 2935 if { (ac_try="$ac_compile" 2936 case "(($ac_try" in 2937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2938 *) ac_try_echo=$ac_try;; 2939 esac 2940 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2941 $as_echo "$ac_try_echo") >&5 2942 (eval "$ac_compile") 2>conftest.er1 2295 2943 ac_status=$? 2296 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2297 (exit $ac_status); }; } && 2298 { ac_try='test -s conftest.$ac_objext' 2299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2300 (eval $ac_try) 2>&5 2944 grep -v '^ *+' conftest.er1 >conftest.err 2945 rm -f conftest.er1 2946 cat conftest.err >&5 2947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2948 (exit $ac_status); } && { 2949 test -z "$ac_c_werror_flag" || 2950 test ! -s conftest.err 2951 } && test -s conftest.$ac_objext; then 2952 : 2953 else 2954 $as_echo "$as_me: failed program was:" >&5 2955 sed 's/^/| /' conftest.$ac_ext >&5 2956 2957 ac_c_werror_flag=$ac_save_c_werror_flag 2958 CFLAGS="-g" 2959 cat >conftest.$ac_ext <<_ACEOF 2960 /* confdefs.h. */ 2961 _ACEOF 2962 cat confdefs.h >>conftest.$ac_ext 2963 cat >>conftest.$ac_ext <<_ACEOF 2964 /* end confdefs.h. */ 2965 2966 int 2967 main () 2968 { 2969 2970 ; 2971 return 0; 2972 } 2973 _ACEOF 2974 rm -f conftest.$ac_objext 2975 if { (ac_try="$ac_compile" 2976 case "(($ac_try" in 2977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2978 *) ac_try_echo=$ac_try;; 2979 esac 2980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2981 $as_echo "$ac_try_echo") >&5 2982 (eval "$ac_compile") 2>conftest.er1 2301 2983 ac_status=$? 2302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2303 (exit $ac_status); }; }; then 2984 grep -v '^ *+' conftest.er1 >conftest.err 2985 rm -f conftest.er1 2986 cat conftest.err >&5 2987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2988 (exit $ac_status); } && { 2989 test -z "$ac_c_werror_flag" || 2990 test ! -s conftest.err 2991 } && test -s conftest.$ac_objext; then 2304 2992 ac_cv_prog_cc_g=yes 2305 2993 else 2306 echo "$as_me: failed program was:" >&52994 $as_echo "$as_me: failed program was:" >&5 2307 2995 sed 's/^/| /' conftest.$ac_ext >&5 2308 2996 2309 ac_cv_prog_cc_g=no 2310 fi 2311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2312 fi 2313 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2314 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2997 2998 fi 2999 3000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3001 fi 3002 3003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3004 fi 3005 3006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3007 ac_c_werror_flag=$ac_save_c_werror_flag 3008 fi 3009 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3010 $as_echo "$ac_cv_prog_cc_g" >&6; } 2315 3011 if test "$ac_test_CFLAGS" = set; then 2316 3012 CFLAGS=$ac_save_CFLAGS … … 2328 3024 fi 2329 3025 fi 2330 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52331 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2332 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2333 echo $ECHO_N "(cached) $ECHO_C" >&62334 else 2335 ac_cv_prog_cc_ stdc=no3026 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3027 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3028 if test "${ac_cv_prog_cc_c89+set}" = set; then 3029 $as_echo_n "(cached) " >&6 3030 else 3031 ac_cv_prog_cc_c89=no 2336 3032 ac_save_CC=$CC 2337 3033 cat >conftest.$ac_ext <<_ACEOF … … 2367 3063 function prototypes and stuff, but not '\xHH' hex character constants. 2368 3064 These don't provoke an error unfortunately, instead are silently treated 2369 as 'x'. The following induces an error, until -std 1is added to get3065 as 'x'. The following induces an error, until -std is added to get 2370 3066 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2371 3067 array size at least. It's necessary to write '\x00'==0 to get something 2372 that's true only with -std 1. */3068 that's true only with -std. */ 2373 3069 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3070 3071 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3072 inside strings and character constants. */ 3073 #define FOO(x) 'x' 3074 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2374 3075 2375 3076 int test (int i, double x); … … 2387 3088 } 2388 3089 _ACEOF 2389 # Don't try gcc -ansi; that turns off useful extensions and 2390 # breaks some systems' header files. 2391 # AIX -qlanglvl=ansi 2392 # Ultrix and OSF/1 -std1 2393 # HP-UX 10.20 and later -Ae 2394 # HP-UX older versions -Aa -D_HPUX_SOURCE 2395 # SVR4 -Xc -D__EXTENSIONS__ 2396 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3090 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3091 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2397 3092 do 2398 3093 CC="$ac_save_CC $ac_arg" 2399 3094 rm -f conftest.$ac_objext 2400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2401 (eval $ac_compile) 2>conftest.er1 3095 if { (ac_try="$ac_compile" 3096 case "(($ac_try" in 3097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3098 *) ac_try_echo=$ac_try;; 3099 esac 3100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3101 $as_echo "$ac_try_echo") >&5 3102 (eval "$ac_compile") 2>conftest.er1 2402 3103 ac_status=$? 2403 3104 grep -v '^ *+' conftest.er1 >conftest.err 2404 3105 rm -f conftest.er1 2405 3106 cat conftest.err >&5 2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2407 (exit $ac_status); } && 2408 { ac_try='test -z "$ac_c_werror_flag" 2409 || test ! -s conftest.err' 2410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2411 (eval $ac_try) 2>&5 2412 ac_status=$? 2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2414 (exit $ac_status); }; } && 2415 { ac_try='test -s conftest.$ac_objext' 2416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2417 (eval $ac_try) 2>&5 2418 ac_status=$? 2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2420 (exit $ac_status); }; }; then 2421 ac_cv_prog_cc_stdc=$ac_arg 2422 break 2423 else 2424 echo "$as_me: failed program was:" >&5 3107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3108 (exit $ac_status); } && { 3109 test -z "$ac_c_werror_flag" || 3110 test ! -s conftest.err 3111 } && test -s conftest.$ac_objext; then 3112 ac_cv_prog_cc_c89=$ac_arg 3113 else 3114 $as_echo "$as_me: failed program was:" >&5 2425 3115 sed 's/^/| /' conftest.$ac_ext >&5 2426 3116 2427 fi 2428 rm -f conftest.err conftest.$ac_objext 3117 3118 fi 3119 3120 rm -f core conftest.err conftest.$ac_objext 3121 test "x$ac_cv_prog_cc_c89" != "xno" && break 2429 3122 done 2430 rm -f conftest.$ac_ext conftest.$ac_objext3123 rm -f conftest.$ac_ext 2431 3124 CC=$ac_save_CC 2432 3125 2433 3126 fi 2434 2435 case "x$ac_cv_prog_cc_stdc" in 2436 x|xno) 2437 echo "$as_me:$LINENO: result: none needed" >&5 2438 echo "${ECHO_T}none needed" >&6 ;; 3127 # AC_CACHE_VAL 3128 case "x$ac_cv_prog_cc_c89" in 3129 x) 3130 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3131 $as_echo "none needed" >&6; } ;; 3132 xno) 3133 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3134 $as_echo "unsupported" >&6; } ;; 2439 3135 *) 2440 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2441 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2442 CC="$CC $ac_cv_prog_cc_stdc" ;; 2443 esac 2444 2445 # Some people use a C++ compiler to compile C. Since we use `exit', 2446 # in C++ we need to declare it. In case someone uses the same compiler 2447 # for both compiling C and C++ we need to have the C++ compiler decide 2448 # the declaration of exit, since it's the most demanding environment. 2449 cat >conftest.$ac_ext <<_ACEOF 2450 #ifndef __cplusplus 2451 choke me 2452 #endif 2453 _ACEOF 2454 rm -f conftest.$ac_objext 2455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2456 (eval $ac_compile) 2>conftest.er1 2457 ac_status=$? 2458 grep -v '^ *+' conftest.er1 >conftest.err 2459 rm -f conftest.er1 2460 cat conftest.err >&5 2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2462 (exit $ac_status); } && 2463 { ac_try='test -z "$ac_c_werror_flag" 2464 || test ! -s conftest.err' 2465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2466 (eval $ac_try) 2>&5 2467 ac_status=$? 2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2469 (exit $ac_status); }; } && 2470 { ac_try='test -s conftest.$ac_objext' 2471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2472 (eval $ac_try) 2>&5 2473 ac_status=$? 2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2475 (exit $ac_status); }; }; then 2476 for ac_declaration in \ 2477 '' \ 2478 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2479 'extern "C" void std::exit (int); using std::exit;' \ 2480 'extern "C" void exit (int) throw ();' \ 2481 'extern "C" void exit (int);' \ 2482 'void exit (int);' 2483 do 2484 cat >conftest.$ac_ext <<_ACEOF 2485 /* confdefs.h. */ 2486 _ACEOF 2487 cat confdefs.h >>conftest.$ac_ext 2488 cat >>conftest.$ac_ext <<_ACEOF 2489 /* end confdefs.h. */ 2490 $ac_declaration 2491 #include <stdlib.h> 2492 int 2493 main () 2494 { 2495 exit (42); 2496 ; 2497 return 0; 2498 } 2499 _ACEOF 2500 rm -f conftest.$ac_objext 2501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2502 (eval $ac_compile) 2>conftest.er1 2503 ac_status=$? 2504 grep -v '^ *+' conftest.er1 >conftest.err 2505 rm -f conftest.er1 2506 cat conftest.err >&5 2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2508 (exit $ac_status); } && 2509 { ac_try='test -z "$ac_c_werror_flag" 2510 || test ! -s conftest.err' 2511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2512 (eval $ac_try) 2>&5 2513 ac_status=$? 2514 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2515 (exit $ac_status); }; } && 2516 { ac_try='test -s conftest.$ac_objext' 2517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2518 (eval $ac_try) 2>&5 2519 ac_status=$? 2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2521 (exit $ac_status); }; }; then 2522 : 2523 else 2524 echo "$as_me: failed program was:" >&5 2525 sed 's/^/| /' conftest.$ac_ext >&5 2526 2527 continue 2528 fi 2529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2530 cat >conftest.$ac_ext <<_ACEOF 2531 /* confdefs.h. */ 2532 _ACEOF 2533 cat confdefs.h >>conftest.$ac_ext 2534 cat >>conftest.$ac_ext <<_ACEOF 2535 /* end confdefs.h. */ 2536 $ac_declaration 2537 int 2538 main () 2539 { 2540 exit (42); 2541 ; 2542 return 0; 2543 } 2544 _ACEOF 2545 rm -f conftest.$ac_objext 2546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2547 (eval $ac_compile) 2>conftest.er1 2548 ac_status=$? 2549 grep -v '^ *+' conftest.er1 >conftest.err 2550 rm -f conftest.er1 2551 cat conftest.err >&5 2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2553 (exit $ac_status); } && 2554 { ac_try='test -z "$ac_c_werror_flag" 2555 || test ! -s conftest.err' 2556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2557 (eval $ac_try) 2>&5 2558 ac_status=$? 2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2560 (exit $ac_status); }; } && 2561 { ac_try='test -s conftest.$ac_objext' 2562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2563 (eval $ac_try) 2>&5 2564 ac_status=$? 2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2566 (exit $ac_status); }; }; then 2567 break 2568 else 2569 echo "$as_me: failed program was:" >&5 2570 sed 's/^/| /' conftest.$ac_ext >&5 2571 2572 fi 2573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2574 done 2575 rm -f conftest* 2576 if test -n "$ac_declaration"; then 2577 echo '#ifdef __cplusplus' >>confdefs.h 2578 echo $ac_declaration >>confdefs.h 2579 echo '#endif' >>confdefs.h 2580 fi 2581 2582 else 2583 echo "$as_me: failed program was:" >&5 2584 sed 's/^/| /' conftest.$ac_ext >&5 2585 2586 fi 2587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3136 CC="$CC $ac_cv_prog_cc_c89" 3137 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3138 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3139 esac 3140 3141 2588 3142 ac_ext=c 2589 3143 ac_cpp='$CPP $CPPFLAGS' … … 2592 3146 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2593 3147 2594 ac_ext=c c3148 ac_ext=cpp 2595 3149 ac_cpp='$CXXCPP $CPPFLAGS' 2596 3150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2597 3151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2598 3152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2599 if test -n "$ac_tool_prefix"; then 2600 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 3153 if test -z "$CXX"; then 3154 if test -n "$CCC"; then 3155 CXX=$CCC 3156 else 3157 if test -n "$ac_tool_prefix"; then 3158 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2601 3159 do 2602 3160 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2603 3161 set dummy $ac_tool_prefix$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 3162 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3163 $as_echo_n "checking for $ac_word... " >&6; } 2606 3164 if test "${ac_cv_prog_CXX+set}" = set; then 2607 echo $ECHO_N "(cached) $ECHO_C" >&63165 $as_echo_n "(cached) " >&6 2608 3166 else 2609 3167 if test -n "$CXX"; then … … 2616 3174 test -z "$as_dir" && as_dir=. 2617 3175 for ac_exec_ext in '' $ac_executable_extensions; do 2618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2619 3177 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53178 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2621 3179 break 2 2622 3180 fi 2623 3181 done 2624 3182 done 3183 IFS=$as_save_IFS 2625 3184 2626 3185 fi … … 2628 3187 CXX=$ac_cv_prog_CXX 2629 3188 if test -n "$CXX"; then 2630 echo "$as_me:$LINENO: result: $CXX" >&5 2631 echo "${ECHO_T}$CXX" >&6 2632 else 2633 echo "$as_me:$LINENO: result: no" >&5 2634 echo "${ECHO_T}no" >&6 2635 fi 3189 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 3190 $as_echo "$CXX" >&6; } 3191 else 3192 { $as_echo "$as_me:$LINENO: result: no" >&5 3193 $as_echo "no" >&6; } 3194 fi 3195 2636 3196 2637 3197 test -n "$CXX" && break … … 2640 3200 if test -z "$CXX"; then 2641 3201 ac_ct_CXX=$CXX 2642 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ clFCC KCC RCC xlC_r xlC3202 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2643 3203 do 2644 3204 # Extract the first word of "$ac_prog", so it can be a program name with args. 2645 3205 set dummy $ac_prog; ac_word=$2 2646 echo "$as_me:$LINENO: checking for $ac_word" >&52647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3206 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3207 $as_echo_n "checking for $ac_word... " >&6; } 2648 3208 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2649 echo $ECHO_N "(cached) $ECHO_C" >&63209 $as_echo_n "(cached) " >&6 2650 3210 else 2651 3211 if test -n "$ac_ct_CXX"; then … … 2658 3218 test -z "$as_dir" && as_dir=. 2659 3219 for ac_exec_ext in '' $ac_executable_extensions; do 2660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2661 3221 ac_cv_prog_ac_ct_CXX="$ac_prog" 2662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53222 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2663 3223 break 2 2664 3224 fi 2665 3225 done 2666 3226 done 3227 IFS=$as_save_IFS 2667 3228 2668 3229 fi … … 2670 3231 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2671 3232 if test -n "$ac_ct_CXX"; then 2672 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2673 echo "${ECHO_T}$ac_ct_CXX" >&6 2674 else 2675 echo "$as_me:$LINENO: result: no" >&5 2676 echo "${ECHO_T}no" >&6 2677 fi 3233 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 3234 $as_echo "$ac_ct_CXX" >&6; } 3235 else 3236 { $as_echo "$as_me:$LINENO: result: no" >&5 3237 $as_echo "no" >&6; } 3238 fi 3239 2678 3240 2679 3241 test -n "$ac_ct_CXX" && break 2680 3242 done 2681 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2682 2683 CXX=$ac_ct_CXX 2684 fi 2685 2686 3243 3244 if test "x$ac_ct_CXX" = x; then 3245 CXX="g++" 3246 else 3247 case $cross_compiling:$ac_tool_warned in 3248 yes:) 3249 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3251 ac_tool_warned=yes ;; 3252 esac 3253 CXX=$ac_ct_CXX 3254 fi 3255 fi 3256 3257 fi 3258 fi 2687 3259 # Provide some information about the compiler. 2688 echo "$as_me:$LINENO:" \ 2689 "checking for C++ compiler version" >&5 2690 ac_compiler=`set X $ac_compile; echo $2` 2691 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2692 (eval $ac_compiler --version </dev/null >&5) 2>&5 3260 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3261 set X $ac_compile 3262 ac_compiler=$2 3263 { (ac_try="$ac_compiler --version >&5" 3264 case "(($ac_try" in 3265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3266 *) ac_try_echo=$ac_try;; 3267 esac 3268 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3269 $as_echo "$ac_try_echo") >&5 3270 (eval "$ac_compiler --version >&5") 2>&5 2693 3271 ac_status=$? 2694 echo "$as_me:$LINENO: \$? = $ac_status" >&53272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2695 3273 (exit $ac_status); } 2696 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2697 (eval $ac_compiler -v </dev/null >&5) 2>&5 3274 { (ac_try="$ac_compiler -v >&5" 3275 case "(($ac_try" in 3276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3277 *) ac_try_echo=$ac_try;; 3278 esac 3279 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3280 $as_echo "$ac_try_echo") >&5 3281 (eval "$ac_compiler -v >&5") 2>&5 2698 3282 ac_status=$? 2699 echo "$as_me:$LINENO: \$? = $ac_status" >&53283 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2700 3284 (exit $ac_status); } 2701 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2702 (eval $ac_compiler -V </dev/null >&5) 2>&5 3285 { (ac_try="$ac_compiler -V >&5" 3286 case "(($ac_try" in 3287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3288 *) ac_try_echo=$ac_try;; 3289 esac 3290 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3291 $as_echo "$ac_try_echo") >&5 3292 (eval "$ac_compiler -V >&5") 2>&5 2703 3293 ac_status=$? 2704 echo "$as_me:$LINENO: \$? = $ac_status" >&53294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2705 3295 (exit $ac_status); } 2706 3296 2707 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&52708 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 3297 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3298 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 2709 3299 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2710 echo $ECHO_N "(cached) $ECHO_C" >&63300 $as_echo_n "(cached) " >&6 2711 3301 else 2712 3302 cat >conftest.$ac_ext <<_ACEOF … … 2729 3319 _ACEOF 2730 3320 rm -f conftest.$ac_objext 2731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2732 (eval $ac_compile) 2>conftest.er1 3321 if { (ac_try="$ac_compile" 3322 case "(($ac_try" in 3323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3324 *) ac_try_echo=$ac_try;; 3325 esac 3326 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3327 $as_echo "$ac_try_echo") >&5 3328 (eval "$ac_compile") 2>conftest.er1 2733 3329 ac_status=$? 2734 3330 grep -v '^ *+' conftest.er1 >conftest.err 2735 3331 rm -f conftest.er1 2736 3332 cat conftest.err >&5 2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2738 (exit $ac_status); } && 2739 { ac_try='test -z "$ac_cxx_werror_flag" 2740 || test ! -s conftest.err' 2741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2742 (eval $ac_try) 2>&5 2743 ac_status=$? 2744 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2745 (exit $ac_status); }; } && 2746 { ac_try='test -s conftest.$ac_objext' 2747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2748 (eval $ac_try) 2>&5 2749 ac_status=$? 2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2751 (exit $ac_status); }; }; then 3333 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3334 (exit $ac_status); } && { 3335 test -z "$ac_cxx_werror_flag" || 3336 test ! -s conftest.err 3337 } && test -s conftest.$ac_objext; then 2752 3338 ac_compiler_gnu=yes 2753 3339 else 2754 echo "$as_me: failed program was:" >&53340 $as_echo "$as_me: failed program was:" >&5 2755 3341 sed 's/^/| /' conftest.$ac_ext >&5 2756 3342 2757 ac_compiler_gnu=no 2758 fi 2759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3343 ac_compiler_gnu=no 3344 fi 3345 3346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2760 3347 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2761 3348 2762 3349 fi 2763 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2764 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2765 GXX=`test $ac_compiler_gnu = yes && echo yes` 3350 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3351 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3352 if test $ac_compiler_gnu = yes; then 3353 GXX=yes 3354 else 3355 GXX= 3356 fi 2766 3357 ac_test_CXXFLAGS=${CXXFLAGS+set} 2767 3358 ac_save_CXXFLAGS=$CXXFLAGS 2768 CXXFLAGS="-g" 2769 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2770 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 3359 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3360 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 2771 3361 if test "${ac_cv_prog_cxx_g+set}" = set; then 2772 echo $ECHO_N "(cached) $ECHO_C" >&6 2773 else 2774 cat >conftest.$ac_ext <<_ACEOF 3362 $as_echo_n "(cached) " >&6 3363 else 3364 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3365 ac_cxx_werror_flag=yes 3366 ac_cv_prog_cxx_g=no 3367 CXXFLAGS="-g" 3368 cat >conftest.$ac_ext <<_ACEOF 2775 3369 /* confdefs.h. */ 2776 3370 _ACEOF … … 2788 3382 _ACEOF 2789 3383 rm -f conftest.$ac_objext 2790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2791 (eval $ac_compile) 2>conftest.er1 3384 if { (ac_try="$ac_compile" 3385 case "(($ac_try" in 3386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3387 *) ac_try_echo=$ac_try;; 3388 esac 3389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3390 $as_echo "$ac_try_echo") >&5 3391 (eval "$ac_compile") 2>conftest.er1 2792 3392 ac_status=$? 2793 3393 grep -v '^ *+' conftest.er1 >conftest.err 2794 3394 rm -f conftest.er1 2795 3395 cat conftest.err >&5 2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2797 (exit $ac_status); } && 2798 { ac_try='test -z "$ac_cxx_werror_flag" 2799 || test ! -s conftest.err' 2800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2801 (eval $ac_try) 2>&5 3396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3397 (exit $ac_status); } && { 3398 test -z "$ac_cxx_werror_flag" || 3399 test ! -s conftest.err 3400 } && test -s conftest.$ac_objext; then 3401 ac_cv_prog_cxx_g=yes 3402 else 3403 $as_echo "$as_me: failed program was:" >&5 3404 sed 's/^/| /' conftest.$ac_ext >&5 3405 3406 CXXFLAGS="" 3407 cat >conftest.$ac_ext <<_ACEOF 3408 /* confdefs.h. */ 3409 _ACEOF 3410 cat confdefs.h >>conftest.$ac_ext 3411 cat >>conftest.$ac_ext <<_ACEOF 3412 /* end confdefs.h. */ 3413 3414 int 3415 main () 3416 { 3417 3418 ; 3419 return 0; 3420 } 3421 _ACEOF 3422 rm -f conftest.$ac_objext 3423 if { (ac_try="$ac_compile" 3424 case "(($ac_try" in 3425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3426 *) ac_try_echo=$ac_try;; 3427 esac 3428 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3429 $as_echo "$ac_try_echo") >&5 3430 (eval "$ac_compile") 2>conftest.er1 2802 3431 ac_status=$? 2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2804 (exit $ac_status); }; } && 2805 { ac_try='test -s conftest.$ac_objext' 2806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2807 (eval $ac_try) 2>&5 3432 grep -v '^ *+' conftest.er1 >conftest.err 3433 rm -f conftest.er1 3434 cat conftest.err >&5 3435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3436 (exit $ac_status); } && { 3437 test -z "$ac_cxx_werror_flag" || 3438 test ! -s conftest.err 3439 } && test -s conftest.$ac_objext; then 3440 : 3441 else 3442 $as_echo "$as_me: failed program was:" >&5 3443 sed 's/^/| /' conftest.$ac_ext >&5 3444 3445 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3446 CXXFLAGS="-g" 3447 cat >conftest.$ac_ext <<_ACEOF 3448 /* confdefs.h. */ 3449 _ACEOF 3450 cat confdefs.h >>conftest.$ac_ext 3451 cat >>conftest.$ac_ext <<_ACEOF 3452 /* end confdefs.h. */ 3453 3454 int 3455 main () 3456 { 3457 3458 ; 3459 return 0; 3460 } 3461 _ACEOF 3462 rm -f conftest.$ac_objext 3463 if { (ac_try="$ac_compile" 3464 case "(($ac_try" in 3465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3466 *) ac_try_echo=$ac_try;; 3467 esac 3468 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3469 $as_echo "$ac_try_echo") >&5 3470 (eval "$ac_compile") 2>conftest.er1 2808 3471 ac_status=$? 2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2810 (exit $ac_status); }; }; then 3472 grep -v '^ *+' conftest.er1 >conftest.err 3473 rm -f conftest.er1 3474 cat conftest.err >&5 3475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3476 (exit $ac_status); } && { 3477 test -z "$ac_cxx_werror_flag" || 3478 test ! -s conftest.err 3479 } && test -s conftest.$ac_objext; then 2811 3480 ac_cv_prog_cxx_g=yes 2812 3481 else 2813 echo "$as_me: failed program was:" >&53482 $as_echo "$as_me: failed program was:" >&5 2814 3483 sed 's/^/| /' conftest.$ac_ext >&5 2815 3484 2816 ac_cv_prog_cxx_g=no 2817 fi 2818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2819 fi 2820 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2821 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3485 3486 fi 3487 3488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3489 fi 3490 3491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3492 fi 3493 3494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3495 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3496 fi 3497 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3498 $as_echo "$ac_cv_prog_cxx_g" >&6; } 2822 3499 if test "$ac_test_CXXFLAGS" = set; then 2823 3500 CXXFLAGS=$ac_save_CXXFLAGS … … 2835 3512 fi 2836 3513 fi 2837 for ac_declaration in \2838 '' \2839 'extern "C" void std::exit (int) throw (); using std::exit;' \2840 'extern "C" void std::exit (int); using std::exit;' \2841 'extern "C" void exit (int) throw ();' \2842 'extern "C" void exit (int);' \2843 'void exit (int);'2844 do2845 cat >conftest.$ac_ext <<_ACEOF2846 /* confdefs.h. */2847 _ACEOF2848 cat confdefs.h >>conftest.$ac_ext2849 cat >>conftest.$ac_ext <<_ACEOF2850 /* end confdefs.h. */2851 $ac_declaration2852 #include <stdlib.h>2853 int2854 main ()2855 {2856 exit (42);2857 ;2858 return 0;2859 }2860 _ACEOF2861 rm -f conftest.$ac_objext2862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52863 (eval $ac_compile) 2>conftest.er12864 ac_status=$?2865 grep -v '^ *+' conftest.er1 >conftest.err2866 rm -f conftest.er12867 cat conftest.err >&52868 echo "$as_me:$LINENO: \$? = $ac_status" >&52869 (exit $ac_status); } &&2870 { ac_try='test -z "$ac_cxx_werror_flag"2871 || test ! -s conftest.err'2872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52873 (eval $ac_try) 2>&52874 ac_status=$?2875 echo "$as_me:$LINENO: \$? = $ac_status" >&52876 (exit $ac_status); }; } &&2877 { ac_try='test -s conftest.$ac_objext'2878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52879 (eval $ac_try) 2>&52880 ac_status=$?2881 echo "$as_me:$LINENO: \$? = $ac_status" >&52882 (exit $ac_status); }; }; then2883 :2884 else2885 echo "$as_me: failed program was:" >&52886 sed 's/^/| /' conftest.$ac_ext >&52887 2888 continue2889 fi2890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2891 cat >conftest.$ac_ext <<_ACEOF2892 /* confdefs.h. */2893 _ACEOF2894 cat confdefs.h >>conftest.$ac_ext2895 cat >>conftest.$ac_ext <<_ACEOF2896 /* end confdefs.h. */2897 $ac_declaration2898 int2899 main ()2900 {2901 exit (42);2902 ;2903 return 0;2904 }2905 _ACEOF2906 rm -f conftest.$ac_objext2907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52908 (eval $ac_compile) 2>conftest.er12909 ac_status=$?2910 grep -v '^ *+' conftest.er1 >conftest.err2911 rm -f conftest.er12912 cat conftest.err >&52913 echo "$as_me:$LINENO: \$? = $ac_status" >&52914 (exit $ac_status); } &&2915 { ac_try='test -z "$ac_cxx_werror_flag"2916 || test ! -s conftest.err'2917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52918 (eval $ac_try) 2>&52919 ac_status=$?2920 echo "$as_me:$LINENO: \$? = $ac_status" >&52921 (exit $ac_status); }; } &&2922 { ac_try='test -s conftest.$ac_objext'2923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52924 (eval $ac_try) 2>&52925 ac_status=$?2926 echo "$as_me:$LINENO: \$? = $ac_status" >&52927 (exit $ac_status); }; }; then2928 break2929 else2930 echo "$as_me: failed program was:" >&52931 sed 's/^/| /' conftest.$ac_ext >&52932 2933 fi2934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2935 done2936 rm -f conftest*2937 if test -n "$ac_declaration"; then2938 echo '#ifdef __cplusplus' >>confdefs.h2939 echo $ac_declaration >>confdefs.h2940 echo '#endif' >>confdefs.h2941 fi2942 2943 3514 ac_ext=c 2944 3515 ac_cpp='$CPP $CPPFLAGS' … … 2951 3522 # Extract the first word of "$ac_prog", so it can be a program name with args. 2952 3523 set dummy $ac_prog; ac_word=$2 2953 echo "$as_me:$LINENO: checking for $ac_word" >&52954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3524 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3525 $as_echo_n "checking for $ac_word... " >&6; } 2955 3526 if test "${ac_cv_prog_AWK+set}" = set; then 2956 echo $ECHO_N "(cached) $ECHO_C" >&63527 $as_echo_n "(cached) " >&6 2957 3528 else 2958 3529 if test -n "$AWK"; then … … 2965 3536 test -z "$as_dir" && as_dir=. 2966 3537 for ac_exec_ext in '' $ac_executable_extensions; do 2967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2968 3539 ac_cv_prog_AWK="$ac_prog" 2969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53540 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2970 3541 break 2 2971 3542 fi 2972 3543 done 2973 3544 done 3545 IFS=$as_save_IFS 2974 3546 2975 3547 fi … … 2977 3549 AWK=$ac_cv_prog_AWK 2978 3550 if test -n "$AWK"; then 2979 echo "$as_me:$LINENO: result: $AWK" >&5 2980 echo "${ECHO_T}$AWK" >&6 2981 else 2982 echo "$as_me:$LINENO: result: no" >&5 2983 echo "${ECHO_T}no" >&6 2984 fi 3551 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 3552 $as_echo "$AWK" >&6; } 3553 else 3554 { $as_echo "$as_me:$LINENO: result: no" >&5 3555 $as_echo "no" >&6; } 3556 fi 3557 2985 3558 2986 3559 test -n "$AWK" && break … … 2991 3564 # Extract the first word of "$ac_prog", so it can be a program name with args. 2992 3565 set dummy $ac_prog; ac_word=$2 2993 echo "$as_me:$LINENO: checking for $ac_word" >&52994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3566 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3567 $as_echo_n "checking for $ac_word... " >&6; } 2995 3568 if test "${ac_cv_prog_YACC+set}" = set; then 2996 echo $ECHO_N "(cached) $ECHO_C" >&63569 $as_echo_n "(cached) " >&6 2997 3570 else 2998 3571 if test -n "$YACC"; then … … 3005 3578 test -z "$as_dir" && as_dir=. 3006 3579 for ac_exec_ext in '' $ac_executable_extensions; do 3007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3008 3581 ac_cv_prog_YACC="$ac_prog" 3009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53582 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3010 3583 break 2 3011 3584 fi 3012 3585 done 3013 3586 done 3587 IFS=$as_save_IFS 3014 3588 3015 3589 fi … … 3017 3591 YACC=$ac_cv_prog_YACC 3018 3592 if test -n "$YACC"; then 3019 echo "$as_me:$LINENO: result: $YACC" >&5 3020 echo "${ECHO_T}$YACC" >&6 3021 else 3022 echo "$as_me:$LINENO: result: no" >&5 3023 echo "${ECHO_T}no" >&6 3024 fi 3593 { $as_echo "$as_me:$LINENO: result: $YACC" >&5 3594 $as_echo "$YACC" >&6; } 3595 else 3596 { $as_echo "$as_me:$LINENO: result: no" >&5 3597 $as_echo "no" >&6; } 3598 fi 3599 3025 3600 3026 3601 test -n "$YACC" && break … … 3029 3604 3030 3605 ac_aux_dir= 3031 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do3032 if test -f $ac_dir/install-sh; then3606 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3607 if test -f "$ac_dir/install-sh"; then 3033 3608 ac_aux_dir=$ac_dir 3034 3609 ac_install_sh="$ac_aux_dir/install-sh -c" 3035 3610 break 3036 elif test -f $ac_dir/install.sh; then3611 elif test -f "$ac_dir/install.sh"; then 3037 3612 ac_aux_dir=$ac_dir 3038 3613 ac_install_sh="$ac_aux_dir/install.sh -c" 3039 3614 break 3040 elif test -f $ac_dir/shtool; then3615 elif test -f "$ac_dir/shtool"; then 3041 3616 ac_aux_dir=$ac_dir 3042 3617 ac_install_sh="$ac_aux_dir/shtool install -c" … … 3045 3620 done 3046 3621 if test -z "$ac_aux_dir"; then 3047 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&53048 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}3622 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 3623 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 3049 3624 { (exit 1); exit 1; }; } 3050 3625 fi 3051 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 3052 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 3053 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 3626 3627 # These three variables are undocumented and unsupported, 3628 # and are intended to be withdrawn in a future Autoconf release. 3629 # They can cause serious problems if a builder's source tree is in a directory 3630 # whose full name contains unusual characters. 3631 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3632 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3633 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3634 3054 3635 3055 3636 # Make sure we can run config.sub. 3056 $ ac_config_subsun4 >/dev/null 2>&1 ||3057 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&53058 echo "$as_me: error: cannot run $ac_config_sub" >&2;}3637 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3638 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 3639 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 3059 3640 { (exit 1); exit 1; }; } 3060 3641 3061 echo "$as_me:$LINENO: checking build system type" >&53062 echo $ECHO_N "checking build system type... $ECHO_C" >&6 3642 { $as_echo "$as_me:$LINENO: checking build system type" >&5 3643 $as_echo_n "checking build system type... " >&6; } 3063 3644 if test "${ac_cv_build+set}" = set; then 3064 echo $ECHO_N "(cached) $ECHO_C" >&63065 else 3066 ac_ cv_build_alias=$build_alias3067 test -z "$ac_cv_build_alias"&&3068 ac_ cv_build_alias=`$ac_config_guess`3069 test -z "$ac_cv_build_alias"&&3070 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&53071 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}3645 $as_echo_n "(cached) " >&6 3646 else 3647 ac_build_alias=$build_alias 3648 test "x$ac_build_alias" = x && 3649 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3650 test "x$ac_build_alias" = x && 3651 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3652 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3072 3653 { (exit 1); exit 1; }; } 3073 ac_cv_build=`$ ac_config_sub $ac_cv_build_alias` ||3074 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&53075 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}3654 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3655 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 3656 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 3076 3657 { (exit 1); exit 1; }; } 3077 3658 3078 3659 fi 3079 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3080 echo "${ECHO_T}$ac_cv_build" >&6 3660 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3661 $as_echo "$ac_cv_build" >&6; } 3662 case $ac_cv_build in 3663 *-*-*) ;; 3664 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3665 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 3666 { (exit 1); exit 1; }; };; 3667 esac 3081 3668 build=$ac_cv_build 3082 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3083 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3084 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3085 3086 3087 echo "$as_me:$LINENO: checking host system type" >&5 3088 echo $ECHO_N "checking host system type... $ECHO_C" >&6 3669 ac_save_IFS=$IFS; IFS='-' 3670 set x $ac_cv_build 3671 shift 3672 build_cpu=$1 3673 build_vendor=$2 3674 shift; shift 3675 # Remember, the first character of IFS is used to create $*, 3676 # except with old shells: 3677 build_os=$* 3678 IFS=$ac_save_IFS 3679 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3680 3681 3682 { $as_echo "$as_me:$LINENO: checking host system type" >&5 3683 $as_echo_n "checking host system type... " >&6; } 3089 3684 if test "${ac_cv_host+set}" = set; then 3090 echo $ECHO_N "(cached) $ECHO_C" >&63091 else 3092 ac_cv_host_alias=$host_alias3093 test -z "$ac_cv_host_alias" && 3094 ac_cv_host_alias=$ac_cv_build_alias 3095 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||3096 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&53097 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}3685 $as_echo_n "(cached) " >&6 3686 else 3687 if test "x$host_alias" = x; then 3688 ac_cv_host=$ac_cv_build 3689 else 3690 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3691 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 3692 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 3098 3693 { (exit 1); exit 1; }; } 3099 3100 fi 3101 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3102 echo "${ECHO_T}$ac_cv_host" >&6 3694 fi 3695 3696 fi 3697 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3698 $as_echo "$ac_cv_host" >&6; } 3699 case $ac_cv_host in 3700 *-*-*) ;; 3701 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 3702 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 3703 { (exit 1); exit 1; }; };; 3704 esac 3103 3705 host=$ac_cv_host 3104 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3105 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3106 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3107 3108 3109 echo "$as_me:$LINENO: checking target system type" >&5 3110 echo $ECHO_N "checking target system type... $ECHO_C" >&6 3706 ac_save_IFS=$IFS; IFS='-' 3707 set x $ac_cv_host 3708 shift 3709 host_cpu=$1 3710 host_vendor=$2 3711 shift; shift 3712 # Remember, the first character of IFS is used to create $*, 3713 # except with old shells: 3714 host_os=$* 3715 IFS=$ac_save_IFS 3716 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3717 3718 3719 { $as_echo "$as_me:$LINENO: checking target system type" >&5 3720 $as_echo_n "checking target system type... " >&6; } 3111 3721 if test "${ac_cv_target+set}" = set; then 3112 echo $ECHO_N "(cached) $ECHO_C" >&63113 else 3114 ac_cv_target_alias=$target_alias3115 test "x$ac_cv_target_alias" = "x" && 3116 ac_cv_target_alias=$ac_cv_host_alias 3117 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||3118 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&53119 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}3722 $as_echo_n "(cached) " >&6 3723 else 3724 if test "x$target_alias" = x; then 3725 ac_cv_target=$ac_cv_host 3726 else 3727 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 3728 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 3729 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 3120 3730 { (exit 1); exit 1; }; } 3121 3122 fi 3123 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 3124 echo "${ECHO_T}$ac_cv_target" >&6 3731 fi 3732 3733 fi 3734 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 3735 $as_echo "$ac_cv_target" >&6; } 3736 case $ac_cv_target in 3737 *-*-*) ;; 3738 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 3739 $as_echo "$as_me: error: invalid value of canonical target" >&2;} 3740 { (exit 1); exit 1; }; };; 3741 esac 3125 3742 target=$ac_cv_target 3126 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3127 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3128 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3743 ac_save_IFS=$IFS; IFS='-' 3744 set x $ac_cv_target 3745 shift 3746 target_cpu=$1 3747 target_vendor=$2 3748 shift; shift 3749 # Remember, the first character of IFS is used to create $*, 3750 # except with old shells: 3751 target_os=$* 3752 IFS=$ac_save_IFS 3753 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 3129 3754 3130 3755 … … 3148 3773 # OS/2's system install, which has a completely different semantic 3149 3774 # ./install, which can be erroneously created by make from ./install.sh. 3150 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3151 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3775 # Reject install programs that cannot install multiple files. 3776 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3777 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3152 3778 if test -z "$INSTALL"; then 3153 3779 if test "${ac_cv_path_install+set}" = set; then 3154 echo $ECHO_N "(cached) $ECHO_C" >&63780 $as_echo_n "(cached) " >&6 3155 3781 else 3156 3782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 3171 3797 for ac_prog in ginstall scoinst install; do 3172 3798 for ac_exec_ext in '' $ac_executable_extensions; do 3173 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then3799 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3174 3800 if test $ac_prog = install && 3175 3801 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 3181 3807 : 3182 3808 else 3183 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3184 break 3 3809 rm -rf conftest.one conftest.two conftest.dir 3810 echo one > conftest.one 3811 echo two > conftest.two 3812 mkdir conftest.dir 3813 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3814 test -s conftest.one && test -s conftest.two && 3815 test -s conftest.dir/conftest.one && 3816 test -s conftest.dir/conftest.two 3817 then 3818 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3819 break 3 3820 fi 3185 3821 fi 3186 3822 fi … … 3189 3825 ;; 3190 3826 esac 3827 3191 3828 done 3192 3829 IFS=$as_save_IFS 3830 3831 rm -rf conftest.one conftest.two conftest.dir 3193 3832 3194 3833 fi … … 3196 3835 INSTALL=$ac_cv_path_install 3197 3836 else 3198 # As a last resort, use the slow shell script. We don't cache a3199 # pathfor INSTALL within a source directory, because that will3837 # As a last resort, use the slow shell script. Don't cache a 3838 # value for INSTALL within a source directory, because that will 3200 3839 # break other packages using the cache if that directory is 3201 # removed, or if the path is relative.3840 # removed, or if the value is a relative name. 3202 3841 INSTALL=$ac_install_sh 3203 3842 fi 3204 3843 fi 3205 echo "$as_me:$LINENO: result: $INSTALL" >&53206 echo "${ECHO_T}$INSTALL" >&6 3844 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 3845 $as_echo "$INSTALL" >&6; } 3207 3846 3208 3847 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 3214 3853 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3215 3854 3216 echo "$as_me:$LINENO: checking whether ln -s works" >&53217 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3855 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 3856 $as_echo_n "checking whether ln -s works... " >&6; } 3218 3857 LN_S=$as_ln_s 3219 3858 if test "$LN_S" = "ln -s"; then 3220 echo "$as_me:$LINENO: result: yes" >&5 3221 echo "${ECHO_T}yes" >&6 3222 else 3223 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3224 echo "${ECHO_T}no, using $LN_S" >&6 3225 fi 3226 3227 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3228 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3229 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 3230 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 3231 echo $ECHO_N "(cached) $ECHO_C" >&6 3859 { $as_echo "$as_me:$LINENO: result: yes" >&5 3860 $as_echo "yes" >&6; } 3861 else 3862 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3863 $as_echo "no, using $LN_S" >&6; } 3864 fi 3865 3866 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3867 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3868 set x ${MAKE-make} 3869 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3870 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 3871 $as_echo_n "(cached) " >&6 3232 3872 else 3233 3873 cat >conftest.make <<\_ACEOF 3874 SHELL = /bin/sh 3234 3875 all: 3235 @echo ' ac_maketemp="$(MAKE)"'3876 @echo '@@@%%%=$(MAKE)=@@@%%%' 3236 3877 _ACEOF 3237 3878 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3238 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3239 if test -n "$ac_maketemp"; then 3240 eval ac_cv_prog_make_${ac_make}_set=yes3241 else 3242 eval ac_cv_prog_make_${ac_make}_set=no3243 fi 3879 case `${MAKE-make} -f conftest.make 2>/dev/null` in 3880 *@@@%%%=?*=@@@%%%*) 3881 eval ac_cv_prog_make_${ac_make}_set=yes;; 3882 *) 3883 eval ac_cv_prog_make_${ac_make}_set=no;; 3884 esac 3244 3885 rm -f conftest.make 3245 3886 fi 3246 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then3247 echo "$as_me:$LINENO: result: yes" >&53248 echo "${ECHO_T}yes" >&6 3887 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3888 { $as_echo "$as_me:$LINENO: result: yes" >&5 3889 $as_echo "yes" >&6; } 3249 3890 SET_MAKE= 3250 3891 else 3251 echo "$as_me:$LINENO: result: no" >&53252 echo "${ECHO_T}no" >&6 3892 { $as_echo "$as_me:$LINENO: result: no" >&5 3893 $as_echo "no" >&6; } 3253 3894 SET_MAKE="MAKE=${MAKE-make}" 3254 3895 fi … … 3257 3898 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3258 3899 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3259 echo "$as_me:$LINENO: checking for $ac_word" >&53260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3900 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3901 $as_echo_n "checking for $ac_word... " >&6; } 3261 3902 if test "${ac_cv_prog_RANLIB+set}" = set; then 3262 echo $ECHO_N "(cached) $ECHO_C" >&63903 $as_echo_n "(cached) " >&6 3263 3904 else 3264 3905 if test -n "$RANLIB"; then … … 3271 3912 test -z "$as_dir" && as_dir=. 3272 3913 for ac_exec_ext in '' $ac_executable_extensions; do 3273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3274 3915 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53916 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3276 3917 break 2 3277 3918 fi 3278 3919 done 3279 3920 done 3921 IFS=$as_save_IFS 3280 3922 3281 3923 fi … … 3283 3925 RANLIB=$ac_cv_prog_RANLIB 3284 3926 if test -n "$RANLIB"; then 3285 echo "$as_me:$LINENO: result: $RANLIB" >&5 3286 echo "${ECHO_T}$RANLIB" >&6 3287 else 3288 echo "$as_me:$LINENO: result: no" >&5 3289 echo "${ECHO_T}no" >&6 3290 fi 3927 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 3928 $as_echo "$RANLIB" >&6; } 3929 else 3930 { $as_echo "$as_me:$LINENO: result: no" >&5 3931 $as_echo "no" >&6; } 3932 fi 3933 3291 3934 3292 3935 fi … … 3295 3938 # Extract the first word of "ranlib", so it can be a program name with args. 3296 3939 set dummy ranlib; ac_word=$2 3297 echo "$as_me:$LINENO: checking for $ac_word" >&53298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3940 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3941 $as_echo_n "checking for $ac_word... " >&6; } 3299 3942 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3300 echo $ECHO_N "(cached) $ECHO_C" >&63943 $as_echo_n "(cached) " >&6 3301 3944 else 3302 3945 if test -n "$ac_ct_RANLIB"; then … … 3309 3952 test -z "$as_dir" && as_dir=. 3310 3953 for ac_exec_ext in '' $ac_executable_extensions; do 3311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3312 3955 ac_cv_prog_ac_ct_RANLIB="ranlib" 3313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53956 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3314 3957 break 2 3315 3958 fi 3316 3959 done 3317 3960 done 3318 3319 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3961 IFS=$as_save_IFS 3962 3320 3963 fi 3321 3964 fi 3322 3965 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3323 3966 if test -n "$ac_ct_RANLIB"; then 3324 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3325 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3326 else 3327 echo "$as_me:$LINENO: result: no" >&5 3328 echo "${ECHO_T}no" >&6 3329 fi 3330 3331 RANLIB=$ac_ct_RANLIB 3967 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3968 $as_echo "$ac_ct_RANLIB" >&6; } 3969 else 3970 { $as_echo "$as_me:$LINENO: result: no" >&5 3971 $as_echo "no" >&6; } 3972 fi 3973 3974 if test "x$ac_ct_RANLIB" = x; then 3975 RANLIB=":" 3976 else 3977 case $cross_compiling:$ac_tool_warned in 3978 yes:) 3979 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3981 ac_tool_warned=yes ;; 3982 esac 3983 RANLIB=$ac_ct_RANLIB 3984 fi 3332 3985 else 3333 3986 RANLIB="$ac_cv_prog_RANLIB" … … 3335 3988 3336 3989 3337 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&53338 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 3990 { $as_echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 3991 $as_echo_n "checking to see if architecture is 64-bit... " >&6; } 3339 3992 arch_64bit=no 3340 3993 case "$host_cpu" in … … 3343 3996 3344 3997 if test "$arch_64bit" = yes; then 3345 echo "$as_me:$LINENO: result: yes" >&5 3346 echo "${ECHO_T}yes" >&6 3347 if test -z "$COMPAT32BITFLAGS" ; then 3348 if test "$ENABLE_MG" = "1" -o "$ENABLE_MGPP" = "1" ; then 3349 COMPAT32BITFLAGS="-m32" 3350 fi 3998 { $as_echo "$as_me:$LINENO: result: yes" >&5 3999 $as_echo "yes" >&6; } 4000 if test -z "$ARCH_DEP_FLAGS" ; then 4001 ARCH_DEP_FLAGS=-fPIC 3351 4002 fi 3352 4003 else 3353 echo "$as_me:$LINENO: result: no" >&53354 echo "${ECHO_T}no" >&6 3355 if test -z "$ COMPAT32BITFLAGS" ; then3356 COMPAT32BITFLAGS=4004 { $as_echo "$as_me:$LINENO: result: no" >&5 4005 $as_echo "no" >&6; } 4006 if test -z "$ARCH_DEP_FLAGS" ; then 4007 ARCH_DEP_FLAGS= 3357 4008 fi 3358 4009 fi 3359 4010 3360 export COMPAT32BITFLAGS4011 export ARCH_DEP_FLAGS 3361 4012 3362 4013 … … 3400 4051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3401 4052 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3402 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53403 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 4053 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4054 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3404 4055 # On Suns, sometimes $CPP names a directory. 3405 4056 if test -n "$CPP" && test -d "$CPP"; then … … 3408 4059 if test -z "$CPP"; then 3409 4060 if test "${ac_cv_prog_CPP+set}" = set; then 3410 echo $ECHO_N "(cached) $ECHO_C" >&64061 $as_echo_n "(cached) " >&6 3411 4062 else 3412 4063 # Double quotes because CPP needs to be expanded … … 3435 4086 Syntax error 3436 4087 _ACEOF 3437 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3438 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4088 if { (ac_try="$ac_cpp conftest.$ac_ext" 4089 case "(($ac_try" in 4090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4091 *) ac_try_echo=$ac_try;; 4092 esac 4093 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4094 $as_echo "$ac_try_echo") >&5 4095 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3439 4096 ac_status=$? 3440 4097 grep -v '^ *+' conftest.er1 >conftest.err 3441 4098 rm -f conftest.er1 3442 4099 cat conftest.err >&5 3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3444 (exit $ac_status); } >/dev/null; then 3445 if test -s conftest.err; then 3446 ac_cpp_err=$ac_c_preproc_warn_flag 3447 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3448 else 3449 ac_cpp_err= 3450 fi 3451 else 3452 ac_cpp_err=yes 3453 fi 3454 if test -z "$ac_cpp_err"; then 4100 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4101 (exit $ac_status); } >/dev/null && { 4102 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4103 test ! -s conftest.err 4104 }; then 3455 4105 : 3456 4106 else 3457 echo "$as_me: failed program was:" >&54107 $as_echo "$as_me: failed program was:" >&5 3458 4108 sed 's/^/| /' conftest.$ac_ext >&5 3459 4109 … … 3461 4111 continue 3462 4112 fi 4113 3463 4114 rm -f conftest.err conftest.$ac_ext 3464 4115 3465 # OK, works on sane cases. Now check whether non -existent headers4116 # OK, works on sane cases. Now check whether nonexistent headers 3466 4117 # can be detected and how. 3467 4118 cat >conftest.$ac_ext <<_ACEOF … … 3473 4124 #include <ac_nonexistent.h> 3474 4125 _ACEOF 3475 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3476 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4126 if { (ac_try="$ac_cpp conftest.$ac_ext" 4127 case "(($ac_try" in 4128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4129 *) ac_try_echo=$ac_try;; 4130 esac 4131 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4132 $as_echo "$ac_try_echo") >&5 4133 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3477 4134 ac_status=$? 3478 4135 grep -v '^ *+' conftest.er1 >conftest.err 3479 4136 rm -f conftest.er1 3480 4137 cat conftest.err >&5 3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3482 (exit $ac_status); } >/dev/null; then 3483 if test -s conftest.err; then 3484 ac_cpp_err=$ac_c_preproc_warn_flag 3485 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3486 else 3487 ac_cpp_err= 3488 fi 3489 else 3490 ac_cpp_err=yes 3491 fi 3492 if test -z "$ac_cpp_err"; then 4138 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4139 (exit $ac_status); } >/dev/null && { 4140 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4141 test ! -s conftest.err 4142 }; then 3493 4143 # Broken: success on invalid input. 3494 4144 continue 3495 4145 else 3496 echo "$as_me: failed program was:" >&54146 $as_echo "$as_me: failed program was:" >&5 3497 4147 sed 's/^/| /' conftest.$ac_ext >&5 3498 4148 … … 3501 4151 break 3502 4152 fi 4153 3503 4154 rm -f conftest.err conftest.$ac_ext 3504 4155 … … 3518 4169 ac_cv_prog_CPP=$CPP 3519 4170 fi 3520 echo "$as_me:$LINENO: result: $CPP" >&53521 echo "${ECHO_T}$CPP" >&6 4171 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 4172 $as_echo "$CPP" >&6; } 3522 4173 ac_preproc_ok=false 3523 4174 for ac_c_preproc_warn_flag in '' yes … … 3542 4193 Syntax error 3543 4194 _ACEOF 3544 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3545 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4195 if { (ac_try="$ac_cpp conftest.$ac_ext" 4196 case "(($ac_try" in 4197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4198 *) ac_try_echo=$ac_try;; 4199 esac 4200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4201 $as_echo "$ac_try_echo") >&5 4202 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3546 4203 ac_status=$? 3547 4204 grep -v '^ *+' conftest.er1 >conftest.err 3548 4205 rm -f conftest.er1 3549 4206 cat conftest.err >&5 3550 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3551 (exit $ac_status); } >/dev/null; then 3552 if test -s conftest.err; then 3553 ac_cpp_err=$ac_c_preproc_warn_flag 3554 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3555 else 3556 ac_cpp_err= 3557 fi 3558 else 3559 ac_cpp_err=yes 3560 fi 3561 if test -z "$ac_cpp_err"; then 4207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4208 (exit $ac_status); } >/dev/null && { 4209 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4210 test ! -s conftest.err 4211 }; then 3562 4212 : 3563 4213 else 3564 echo "$as_me: failed program was:" >&54214 $as_echo "$as_me: failed program was:" >&5 3565 4215 sed 's/^/| /' conftest.$ac_ext >&5 3566 4216 … … 3568 4218 continue 3569 4219 fi 4220 3570 4221 rm -f conftest.err conftest.$ac_ext 3571 4222 3572 # OK, works on sane cases. Now check whether non -existent headers4223 # OK, works on sane cases. Now check whether nonexistent headers 3573 4224 # can be detected and how. 3574 4225 cat >conftest.$ac_ext <<_ACEOF … … 3580 4231 #include <ac_nonexistent.h> 3581 4232 _ACEOF 3582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4233 if { (ac_try="$ac_cpp conftest.$ac_ext" 4234 case "(($ac_try" in 4235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4236 *) ac_try_echo=$ac_try;; 4237 esac 4238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4239 $as_echo "$ac_try_echo") >&5 4240 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3584 4241 ac_status=$? 3585 4242 grep -v '^ *+' conftest.er1 >conftest.err 3586 4243 rm -f conftest.er1 3587 4244 cat conftest.err >&5 3588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3589 (exit $ac_status); } >/dev/null; then 3590 if test -s conftest.err; then 3591 ac_cpp_err=$ac_c_preproc_warn_flag 3592 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3593 else 3594 ac_cpp_err= 3595 fi 3596 else 3597 ac_cpp_err=yes 3598 fi 3599 if test -z "$ac_cpp_err"; then 4245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4246 (exit $ac_status); } >/dev/null && { 4247 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4248 test ! -s conftest.err 4249 }; then 3600 4250 # Broken: success on invalid input. 3601 4251 continue 3602 4252 else 3603 echo "$as_me: failed program was:" >&54253 $as_echo "$as_me: failed program was:" >&5 3604 4254 sed 's/^/| /' conftest.$ac_ext >&5 3605 4255 … … 3608 4258 break 3609 4259 fi 4260 3610 4261 rm -f conftest.err conftest.$ac_ext 3611 4262 … … 3616 4267 : 3617 4268 else 3618 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4269 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 4270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4271 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3619 4272 See \`config.log' for more details." >&5 3620 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check4273 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3621 4274 See \`config.log' for more details." >&2;} 3622 { (exit 1); exit 1; }; } 4275 { (exit 1); exit 1; }; }; } 3623 4276 fi 3624 4277 … … 3630 4283 3631 4284 3632 echo "$as_me:$LINENO: checking for egrep" >&5 3633 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3634 if test "${ac_cv_prog_egrep+set}" = set; then 3635 echo $ECHO_N "(cached) $ECHO_C" >&6 3636 else 3637 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3638 then ac_cv_prog_egrep='grep -E' 3639 else ac_cv_prog_egrep='egrep' 4285 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4286 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4287 if test "${ac_cv_path_GREP+set}" = set; then 4288 $as_echo_n "(cached) " >&6 4289 else 4290 if test -z "$GREP"; then 4291 ac_path_GREP_found=false 4292 # Loop through the user's path and test for each of PROGNAME-LIST 4293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4294 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4295 do 4296 IFS=$as_save_IFS 4297 test -z "$as_dir" && as_dir=. 4298 for ac_prog in grep ggrep; do 4299 for ac_exec_ext in '' $ac_executable_extensions; do 4300 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4301 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4302 # Check for GNU ac_path_GREP and select it if it is found. 4303 # Check for GNU $ac_path_GREP 4304 case `"$ac_path_GREP" --version 2>&1` in 4305 *GNU*) 4306 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4307 *) 4308 ac_count=0 4309 $as_echo_n 0123456789 >"conftest.in" 4310 while : 4311 do 4312 cat "conftest.in" "conftest.in" >"conftest.tmp" 4313 mv "conftest.tmp" "conftest.in" 4314 cp "conftest.in" "conftest.nl" 4315 $as_echo 'GREP' >> "conftest.nl" 4316 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4317 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4318 ac_count=`expr $ac_count + 1` 4319 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4320 # Best one so far, save it but keep looking for a better one 4321 ac_cv_path_GREP="$ac_path_GREP" 4322 ac_path_GREP_max=$ac_count 3640 4323 fi 3641 fi 3642 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3643 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3644 EGREP=$ac_cv_prog_egrep 3645 3646 3647 3648 echo "$as_me:$LINENO: checking for AIX" >&5 3649 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3650 cat >conftest.$ac_ext <<_ACEOF 3651 /* confdefs.h. */ 3652 _ACEOF 3653 cat confdefs.h >>conftest.$ac_ext 3654 cat >>conftest.$ac_ext <<_ACEOF 3655 /* end confdefs.h. */ 3656 #ifdef _AIX 3657 yes 3658 #endif 3659 3660 _ACEOF 3661 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3662 $EGREP "yes" >/dev/null 2>&1; then 3663 echo "$as_me:$LINENO: result: yes" >&5 3664 echo "${ECHO_T}yes" >&6 3665 cat >>confdefs.h <<\_ACEOF 3666 #define _ALL_SOURCE 1 3667 _ACEOF 3668 3669 else 3670 echo "$as_me:$LINENO: result: no" >&5 3671 echo "${ECHO_T}no" >&6 3672 fi 3673 rm -f conftest* 3674 3675 3676 echo "$as_me:$LINENO: checking for library containing strerror" >&5 3677 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 3678 if test "${ac_cv_search_strerror+set}" = set; then 3679 echo $ECHO_N "(cached) $ECHO_C" >&6 3680 else 3681 ac_func_search_save_LIBS=$LIBS 3682 ac_cv_search_strerror=no 3683 cat >conftest.$ac_ext <<_ACEOF 3684 /* confdefs.h. */ 3685 _ACEOF 3686 cat confdefs.h >>conftest.$ac_ext 3687 cat >>conftest.$ac_ext <<_ACEOF 3688 /* end confdefs.h. */ 3689 3690 /* Override any gcc2 internal prototype to avoid an error. */ 3691 #ifdef __cplusplus 3692 extern "C" 3693 #endif 3694 /* We use char because int might match the return type of a gcc2 3695 builtin and then its argument prototype would still apply. */ 3696 char strerror (); 3697 int 3698 main () 3699 { 3700 strerror (); 3701 ; 3702 return 0; 3703 } 3704 _ACEOF 3705 rm -f conftest.$ac_objext conftest$ac_exeext 3706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3707 (eval $ac_link) 2>conftest.er1 3708 ac_status=$? 3709 grep -v '^ *+' conftest.er1 >conftest.err 3710 rm -f conftest.er1 3711 cat conftest.err >&5 3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3713 (exit $ac_status); } && 3714 { ac_try='test -z "$ac_c_werror_flag" 3715 || test ! -s conftest.err' 3716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3717 (eval $ac_try) 2>&5 3718 ac_status=$? 3719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3720 (exit $ac_status); }; } && 3721 { ac_try='test -s conftest$ac_exeext' 3722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3723 (eval $ac_try) 2>&5 3724 ac_status=$? 3725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3726 (exit $ac_status); }; }; then 3727 ac_cv_search_strerror="none required" 3728 else 3729 echo "$as_me: failed program was:" >&5 3730 sed 's/^/| /' conftest.$ac_ext >&5 3731 3732 fi 3733 rm -f conftest.err conftest.$ac_objext \ 3734 conftest$ac_exeext conftest.$ac_ext 3735 if test "$ac_cv_search_strerror" = no; then 3736 for ac_lib in cposix; do 3737 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3738 cat >conftest.$ac_ext <<_ACEOF 3739 /* confdefs.h. */ 3740 _ACEOF 3741 cat confdefs.h >>conftest.$ac_ext 3742 cat >>conftest.$ac_ext <<_ACEOF 3743 /* end confdefs.h. */ 3744 3745 /* Override any gcc2 internal prototype to avoid an error. */ 3746 #ifdef __cplusplus 3747 extern "C" 3748 #endif 3749 /* We use char because int might match the return type of a gcc2 3750 builtin and then its argument prototype would still apply. */ 3751 char strerror (); 3752 int 3753 main () 3754 { 3755 strerror (); 3756 ; 3757 return 0; 3758 } 3759 _ACEOF 3760 rm -f conftest.$ac_objext conftest$ac_exeext 3761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3762 (eval $ac_link) 2>conftest.er1 3763 ac_status=$? 3764 grep -v '^ *+' conftest.er1 >conftest.err 3765 rm -f conftest.er1 3766 cat conftest.err >&5 3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3768 (exit $ac_status); } && 3769 { ac_try='test -z "$ac_c_werror_flag" 3770 || test ! -s conftest.err' 3771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3772 (eval $ac_try) 2>&5 3773 ac_status=$? 3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3775 (exit $ac_status); }; } && 3776 { ac_try='test -s conftest$ac_exeext' 3777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3778 (eval $ac_try) 2>&5 3779 ac_status=$? 3780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3781 (exit $ac_status); }; }; then 3782 ac_cv_search_strerror="-l$ac_lib" 3783 break 3784 else 3785 echo "$as_me: failed program was:" >&5 3786 sed 's/^/| /' conftest.$ac_ext >&5 3787 3788 fi 3789 rm -f conftest.err conftest.$ac_objext \ 3790 conftest$ac_exeext conftest.$ac_ext 4324 # 10*(2^10) chars as input seems more than enough 4325 test $ac_count -gt 10 && break 3791 4326 done 3792 fi 3793 LIBS=$ac_func_search_save_LIBS 3794 fi 3795 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3796 echo "${ECHO_T}$ac_cv_search_strerror" >&6 3797 if test "$ac_cv_search_strerror" != no; then 3798 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3799 3800 fi 3801 3802 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3803 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4327 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4328 esac 4329 4330 $ac_path_GREP_found && break 3 4331 done 4332 done 4333 done 4334 IFS=$as_save_IFS 4335 if test -z "$ac_cv_path_GREP"; then 4336 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4337 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4338 { (exit 1); exit 1; }; } 4339 fi 4340 else 4341 ac_cv_path_GREP=$GREP 4342 fi 4343 4344 fi 4345 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4346 $as_echo "$ac_cv_path_GREP" >&6; } 4347 GREP="$ac_cv_path_GREP" 4348 4349 4350 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 4351 $as_echo_n "checking for egrep... " >&6; } 4352 if test "${ac_cv_path_EGREP+set}" = set; then 4353 $as_echo_n "(cached) " >&6 4354 else 4355 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4356 then ac_cv_path_EGREP="$GREP -E" 4357 else 4358 if test -z "$EGREP"; then 4359 ac_path_EGREP_found=false 4360 # Loop through the user's path and test for each of PROGNAME-LIST 4361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4362 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4363 do 4364 IFS=$as_save_IFS 4365 test -z "$as_dir" && as_dir=. 4366 for ac_prog in egrep; do 4367 for ac_exec_ext in '' $ac_executable_extensions; do 4368 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4369 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4370 # Check for GNU ac_path_EGREP and select it if it is found. 4371 # Check for GNU $ac_path_EGREP 4372 case `"$ac_path_EGREP" --version 2>&1` in 4373 *GNU*) 4374 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4375 *) 4376 ac_count=0 4377 $as_echo_n 0123456789 >"conftest.in" 4378 while : 4379 do 4380 cat "conftest.in" "conftest.in" >"conftest.tmp" 4381 mv "conftest.tmp" "conftest.in" 4382 cp "conftest.in" "conftest.nl" 4383 $as_echo 'EGREP' >> "conftest.nl" 4384 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4385 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4386 ac_count=`expr $ac_count + 1` 4387 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4388 # Best one so far, save it but keep looking for a better one 4389 ac_cv_path_EGREP="$ac_path_EGREP" 4390 ac_path_EGREP_max=$ac_count 4391 fi 4392 # 10*(2^10) chars as input seems more than enough 4393 test $ac_count -gt 10 && break 4394 done 4395 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4396 esac 4397 4398 $ac_path_EGREP_found && break 3 4399 done 4400 done 4401 done 4402 IFS=$as_save_IFS 4403 if test -z "$ac_cv_path_EGREP"; then 4404 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4405 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4406 { (exit 1); exit 1; }; } 4407 fi 4408 else 4409 ac_cv_path_EGREP=$EGREP 4410 fi 4411 4412 fi 4413 fi 4414 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4415 $as_echo "$ac_cv_path_EGREP" >&6; } 4416 EGREP="$ac_cv_path_EGREP" 4417 4418 4419 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4420 $as_echo_n "checking for ANSI C header files... " >&6; } 3804 4421 if test "${ac_cv_header_stdc+set}" = set; then 3805 echo $ECHO_N "(cached) $ECHO_C" >&64422 $as_echo_n "(cached) " >&6 3806 4423 else 3807 4424 cat >conftest.$ac_ext <<_ACEOF … … 3825 4442 _ACEOF 3826 4443 rm -f conftest.$ac_objext 3827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3828 (eval $ac_compile) 2>conftest.er1 4444 if { (ac_try="$ac_compile" 4445 case "(($ac_try" in 4446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4447 *) ac_try_echo=$ac_try;; 4448 esac 4449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4450 $as_echo "$ac_try_echo") >&5 4451 (eval "$ac_compile") 2>conftest.er1 3829 4452 ac_status=$? 3830 4453 grep -v '^ *+' conftest.er1 >conftest.err 3831 4454 rm -f conftest.er1 3832 4455 cat conftest.err >&5 3833 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3834 (exit $ac_status); } && 3835 { ac_try='test -z "$ac_c_werror_flag" 3836 || test ! -s conftest.err' 3837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3838 (eval $ac_try) 2>&5 3839 ac_status=$? 3840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3841 (exit $ac_status); }; } && 3842 { ac_try='test -s conftest.$ac_objext' 3843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3844 (eval $ac_try) 2>&5 3845 ac_status=$? 3846 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3847 (exit $ac_status); }; }; then 4456 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4457 (exit $ac_status); } && { 4458 test -z "$ac_c_werror_flag" || 4459 test ! -s conftest.err 4460 } && test -s conftest.$ac_objext; then 3848 4461 ac_cv_header_stdc=yes 3849 4462 else 3850 echo "$as_me: failed program was:" >&54463 $as_echo "$as_me: failed program was:" >&5 3851 4464 sed 's/^/| /' conftest.$ac_ext >&5 3852 4465 3853 ac_cv_header_stdc=no 3854 fi 3855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4466 ac_cv_header_stdc=no 4467 fi 4468 4469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3856 4470 3857 4471 if test $ac_cv_header_stdc = yes; then … … 3909 4523 /* end confdefs.h. */ 3910 4524 #include <ctype.h> 4525 #include <stdlib.h> 3911 4526 #if ((' ' & 0x0FF) == 0x020) 3912 4527 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 3928 4543 if (XOR (islower (i), ISLOWER (i)) 3929 4544 || toupper (i) != TOUPPER (i)) 3930 exit(2);3931 exit (0);4545 return 2; 4546 return 0; 3932 4547 } 3933 4548 _ACEOF 3934 4549 rm -f conftest$ac_exeext 3935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3936 (eval $ac_link) 2>&5 4550 if { (ac_try="$ac_link" 4551 case "(($ac_try" in 4552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4553 *) ac_try_echo=$ac_try;; 4554 esac 4555 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4556 $as_echo "$ac_try_echo") >&5 4557 (eval "$ac_link") 2>&5 3937 4558 ac_status=$? 3938 echo "$as_me:$LINENO: \$? = $ac_status" >&54559 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3939 4560 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3941 (eval $ac_try) 2>&5 4561 { (case "(($ac_try" in 4562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4563 *) ac_try_echo=$ac_try;; 4564 esac 4565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4566 $as_echo "$ac_try_echo") >&5 4567 (eval "$ac_try") 2>&5 3942 4568 ac_status=$? 3943 echo "$as_me:$LINENO: \$? = $ac_status" >&54569 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3944 4570 (exit $ac_status); }; }; then 3945 4571 : 3946 4572 else 3947 echo "$as_me: program exited with status $ac_status" >&53948 echo "$as_me: failed program was:" >&54573 $as_echo "$as_me: program exited with status $ac_status" >&5 4574 $as_echo "$as_me: failed program was:" >&5 3949 4575 sed 's/^/| /' conftest.$ac_ext >&5 3950 4576 … … 3952 4578 ac_cv_header_stdc=no 3953 4579 fi 3954 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3955 fi 3956 fi 3957 fi 3958 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3959 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4580 rm -rf conftest.dSYM 4581 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4582 fi 4583 4584 4585 fi 4586 fi 4587 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4588 $as_echo "$ac_cv_header_stdc" >&6; } 3960 4589 if test $ac_cv_header_stdc = yes; then 3961 4590 … … 3979 4608 inttypes.h stdint.h unistd.h 3980 4609 do 3981 as_ac_Header=` echo "ac_cv_header_$ac_header" | $as_tr_sh`3982 echo "$as_me:$LINENO: checking for $ac_header" >&53983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3984 if eval "test \"\${$as_ac_Header+set}\" = set"; then3985 echo $ECHO_N "(cached) $ECHO_C" >&64610 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4611 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4612 $as_echo_n "checking for $ac_header... " >&6; } 4613 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4614 $as_echo_n "(cached) " >&6 3986 4615 else 3987 4616 cat >conftest.$ac_ext <<_ACEOF … … 3996 4625 _ACEOF 3997 4626 rm -f conftest.$ac_objext 3998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3999 (eval $ac_compile) 2>conftest.er1 4627 if { (ac_try="$ac_compile" 4628 case "(($ac_try" in 4629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4630 *) ac_try_echo=$ac_try;; 4631 esac 4632 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4633 $as_echo "$ac_try_echo") >&5 4634 (eval "$ac_compile") 2>conftest.er1 4000 4635 ac_status=$? 4001 4636 grep -v '^ *+' conftest.er1 >conftest.err 4002 4637 rm -f conftest.er1 4003 4638 cat conftest.err >&5 4004 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4005 (exit $ac_status); } && 4006 { ac_try='test -z "$ac_c_werror_flag" 4007 || test ! -s conftest.err' 4008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4009 (eval $ac_try) 2>&5 4010 ac_status=$? 4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4012 (exit $ac_status); }; } && 4013 { ac_try='test -s conftest.$ac_objext' 4014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4015 (eval $ac_try) 2>&5 4016 ac_status=$? 4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4018 (exit $ac_status); }; }; then 4639 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4640 (exit $ac_status); } && { 4641 test -z "$ac_c_werror_flag" || 4642 test ! -s conftest.err 4643 } && test -s conftest.$ac_objext; then 4019 4644 eval "$as_ac_Header=yes" 4020 4645 else 4021 echo "$as_me: failed program was:" >&54646 $as_echo "$as_me: failed program was:" >&5 4022 4647 sed 's/^/| /' conftest.$ac_ext >&5 4023 4648 4024 eval "$as_ac_Header=no" 4025 fi 4026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4027 fi 4028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4030 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4649 eval "$as_ac_Header=no" 4650 fi 4651 4652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4653 fi 4654 ac_res=`eval 'as_val=${'$as_ac_Header'} 4655 $as_echo "$as_val"'` 4656 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4657 $as_echo "$ac_res" >&6; } 4658 as_val=`eval 'as_val=${'$as_ac_Header'} 4659 $as_echo "$as_val"'` 4660 if test "x$as_val" = x""yes; then 4031 4661 cat >>confdefs.h <<_ACEOF 4032 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 14662 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4033 4663 _ACEOF 4034 4664 … … 4038 4668 4039 4669 4670 4671 if test "${ac_cv_header_minix_config_h+set}" = set; then 4672 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 4673 $as_echo_n "checking for minix/config.h... " >&6; } 4040 4674 if test "${ac_cv_header_minix_config_h+set}" = set; then 4041 echo "$as_me:$LINENO: checking for minix/config.h" >&5 4042 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4043 if test "${ac_cv_header_minix_config_h+set}" = set; then 4044 echo $ECHO_N "(cached) $ECHO_C" >&6 4045 fi 4046 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4047 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4675 $as_echo_n "(cached) " >&6 4676 fi 4677 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4678 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4048 4679 else 4049 4680 # Is the header compilable? 4050 echo "$as_me:$LINENO: checking minix/config.h usability" >&54051 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 4681 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 4682 $as_echo_n "checking minix/config.h usability... " >&6; } 4052 4683 cat >conftest.$ac_ext <<_ACEOF 4053 4684 /* confdefs.h. */ … … 4060 4691 _ACEOF 4061 4692 rm -f conftest.$ac_objext 4062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4063 (eval $ac_compile) 2>conftest.er1 4693 if { (ac_try="$ac_compile" 4694 case "(($ac_try" in 4695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4696 *) ac_try_echo=$ac_try;; 4697 esac 4698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4699 $as_echo "$ac_try_echo") >&5 4700 (eval "$ac_compile") 2>conftest.er1 4064 4701 ac_status=$? 4065 4702 grep -v '^ *+' conftest.er1 >conftest.err 4066 4703 rm -f conftest.er1 4067 4704 cat conftest.err >&5 4068 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4069 (exit $ac_status); } && 4070 { ac_try='test -z "$ac_c_werror_flag" 4071 || test ! -s conftest.err' 4072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4073 (eval $ac_try) 2>&5 4074 ac_status=$? 4075 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4076 (exit $ac_status); }; } && 4077 { ac_try='test -s conftest.$ac_objext' 4078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4079 (eval $ac_try) 2>&5 4080 ac_status=$? 4081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4082 (exit $ac_status); }; }; then 4705 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4706 (exit $ac_status); } && { 4707 test -z "$ac_c_werror_flag" || 4708 test ! -s conftest.err 4709 } && test -s conftest.$ac_objext; then 4083 4710 ac_header_compiler=yes 4084 4711 else 4085 echo "$as_me: failed program was:" >&54712 $as_echo "$as_me: failed program was:" >&5 4086 4713 sed 's/^/| /' conftest.$ac_ext >&5 4087 4714 4088 ac_header_compiler=no 4089 fi 4090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4091 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4092 echo "${ECHO_T}$ac_header_compiler" >&6 4715 ac_header_compiler=no 4716 fi 4717 4718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4719 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4720 $as_echo "$ac_header_compiler" >&6; } 4093 4721 4094 4722 # Is the header present? 4095 echo "$as_me:$LINENO: checking minix/config.h presence" >&54096 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 4723 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 4724 $as_echo_n "checking minix/config.h presence... " >&6; } 4097 4725 cat >conftest.$ac_ext <<_ACEOF 4098 4726 /* confdefs.h. */ … … 4103 4731 #include <minix/config.h> 4104 4732 _ACEOF 4105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4106 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4733 if { (ac_try="$ac_cpp conftest.$ac_ext" 4734 case "(($ac_try" in 4735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4736 *) ac_try_echo=$ac_try;; 4737 esac 4738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4739 $as_echo "$ac_try_echo") >&5 4740 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4107 4741 ac_status=$? 4108 4742 grep -v '^ *+' conftest.er1 >conftest.err 4109 4743 rm -f conftest.er1 4110 4744 cat conftest.err >&5 4111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4112 (exit $ac_status); } >/dev/null; then 4113 if test -s conftest.err; then 4114 ac_cpp_err=$ac_c_preproc_warn_flag 4115 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4116 else 4117 ac_cpp_err= 4118 fi 4119 else 4120 ac_cpp_err=yes 4121 fi 4122 if test -z "$ac_cpp_err"; then 4745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4746 (exit $ac_status); } >/dev/null && { 4747 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4748 test ! -s conftest.err 4749 }; then 4123 4750 ac_header_preproc=yes 4124 4751 else 4125 echo "$as_me: failed program was:" >&54752 $as_echo "$as_me: failed program was:" >&5 4126 4753 sed 's/^/| /' conftest.$ac_ext >&5 4127 4754 4128 4755 ac_header_preproc=no 4129 4756 fi 4757 4130 4758 rm -f conftest.err conftest.$ac_ext 4131 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54132 echo "${ECHO_T}$ac_header_preproc" >&6 4759 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4760 $as_echo "$ac_header_preproc" >&6; } 4133 4761 4134 4762 # So? What about this header? 4135 4763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4136 4764 yes:no: ) 4137 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&54138 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}4139 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&54140 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}4765 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 4766 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4767 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 4768 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 4141 4769 ac_header_preproc=yes 4142 4770 ;; 4143 4771 no:yes:* ) 4144 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 4145 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 4146 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 4147 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 4148 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 4149 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 4150 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 4151 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 4152 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 4153 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 4154 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4155 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4156 ( 4157 cat <<\_ASBOX 4158 ## ------------------------------------------ ## 4159 ## Report this to the AC_PACKAGE_NAME lists. ## 4160 ## ------------------------------------------ ## 4161 _ASBOX 4162 ) | 4163 sed "s/^/$as_me: WARNING: /" >&2 4772 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 4773 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 4774 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 4775 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 4776 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 4777 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 4778 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 4779 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 4780 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 4781 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 4782 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4783 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4784 4164 4785 ;; 4165 4786 esac 4166 echo "$as_me:$LINENO: checking for minix/config.h" >&54167 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4787 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 4788 $as_echo_n "checking for minix/config.h... " >&6; } 4168 4789 if test "${ac_cv_header_minix_config_h+set}" = set; then 4169 echo $ECHO_N "(cached) $ECHO_C" >&64790 $as_echo_n "(cached) " >&6 4170 4791 else 4171 4792 ac_cv_header_minix_config_h=$ac_header_preproc 4172 4793 fi 4173 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&54174 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4175 4176 fi 4177 if test $ac_cv_header_minix_config_h =yes; then4794 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4795 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4796 4797 fi 4798 if test "x$ac_cv_header_minix_config_h" = x""yes; then 4178 4799 MINIX=yes 4179 4800 else … … 4182 4803 4183 4804 4184 if test "$MINIX" = yes; then4805 if test "$MINIX" = yes; then 4185 4806 4186 4807 cat >>confdefs.h <<\_ACEOF … … 4198 4819 _ACEOF 4199 4820 4200 fi 4201 4202 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 4203 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 4821 fi 4822 4823 4824 4825 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 4826 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4827 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 4828 $as_echo_n "(cached) " >&6 4829 else 4830 cat >conftest.$ac_ext <<_ACEOF 4831 /* confdefs.h. */ 4832 _ACEOF 4833 cat confdefs.h >>conftest.$ac_ext 4834 cat >>conftest.$ac_ext <<_ACEOF 4835 /* end confdefs.h. */ 4836 4837 # define __EXTENSIONS__ 1 4838 $ac_includes_default 4839 int 4840 main () 4841 { 4842 4843 ; 4844 return 0; 4845 } 4846 _ACEOF 4847 rm -f conftest.$ac_objext 4848 if { (ac_try="$ac_compile" 4849 case "(($ac_try" in 4850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4851 *) ac_try_echo=$ac_try;; 4852 esac 4853 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4854 $as_echo "$ac_try_echo") >&5 4855 (eval "$ac_compile") 2>conftest.er1 4856 ac_status=$? 4857 grep -v '^ *+' conftest.er1 >conftest.err 4858 rm -f conftest.er1 4859 cat conftest.err >&5 4860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4861 (exit $ac_status); } && { 4862 test -z "$ac_c_werror_flag" || 4863 test ! -s conftest.err 4864 } && test -s conftest.$ac_objext; then 4865 ac_cv_safe_to_define___extensions__=yes 4866 else 4867 $as_echo "$as_me: failed program was:" >&5 4868 sed 's/^/| /' conftest.$ac_ext >&5 4869 4870 ac_cv_safe_to_define___extensions__=no 4871 fi 4872 4873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4874 fi 4875 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 4876 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 4877 test $ac_cv_safe_to_define___extensions__ = yes && 4878 cat >>confdefs.h <<\_ACEOF 4879 #define __EXTENSIONS__ 1 4880 _ACEOF 4881 4882 cat >>confdefs.h <<\_ACEOF 4883 #define _ALL_SOURCE 1 4884 _ACEOF 4885 4886 cat >>confdefs.h <<\_ACEOF 4887 #define _GNU_SOURCE 1 4888 _ACEOF 4889 4890 cat >>confdefs.h <<\_ACEOF 4891 #define _POSIX_PTHREAD_SEMANTICS 1 4892 _ACEOF 4893 4894 cat >>confdefs.h <<\_ACEOF 4895 #define _TANDEM_SOURCE 1 4896 _ACEOF 4897 4898 4899 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5 4900 $as_echo_n "checking for library containing strerror... " >&6; } 4901 if test "${ac_cv_search_strerror+set}" = set; then 4902 $as_echo_n "(cached) " >&6 4903 else 4904 ac_func_search_save_LIBS=$LIBS 4905 cat >conftest.$ac_ext <<_ACEOF 4906 /* confdefs.h. */ 4907 _ACEOF 4908 cat confdefs.h >>conftest.$ac_ext 4909 cat >>conftest.$ac_ext <<_ACEOF 4910 /* end confdefs.h. */ 4911 4912 /* Override any GCC internal prototype to avoid an error. 4913 Use char because int might match the return type of a GCC 4914 builtin and then its argument prototype would still apply. */ 4915 #ifdef __cplusplus 4916 extern "C" 4917 #endif 4918 char strerror (); 4919 int 4920 main () 4921 { 4922 return strerror (); 4923 ; 4924 return 0; 4925 } 4926 _ACEOF 4927 for ac_lib in '' cposix; do 4928 if test -z "$ac_lib"; then 4929 ac_res="none required" 4930 else 4931 ac_res=-l$ac_lib 4932 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4933 fi 4934 rm -f conftest.$ac_objext conftest$ac_exeext 4935 if { (ac_try="$ac_link" 4936 case "(($ac_try" in 4937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4938 *) ac_try_echo=$ac_try;; 4939 esac 4940 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4941 $as_echo "$ac_try_echo") >&5 4942 (eval "$ac_link") 2>conftest.er1 4943 ac_status=$? 4944 grep -v '^ *+' conftest.er1 >conftest.err 4945 rm -f conftest.er1 4946 cat conftest.err >&5 4947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4948 (exit $ac_status); } && { 4949 test -z "$ac_c_werror_flag" || 4950 test ! -s conftest.err 4951 } && test -s conftest$ac_exeext && { 4952 test "$cross_compiling" = yes || 4953 $as_test_x conftest$ac_exeext 4954 }; then 4955 ac_cv_search_strerror=$ac_res 4956 else 4957 $as_echo "$as_me: failed program was:" >&5 4958 sed 's/^/| /' conftest.$ac_ext >&5 4959 4960 4961 fi 4962 4963 rm -rf conftest.dSYM 4964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4965 conftest$ac_exeext 4966 if test "${ac_cv_search_strerror+set}" = set; then 4967 break 4968 fi 4969 done 4970 if test "${ac_cv_search_strerror+set}" = set; then 4971 : 4972 else 4973 ac_cv_search_strerror=no 4974 fi 4975 rm conftest.$ac_ext 4976 LIBS=$ac_func_search_save_LIBS 4977 fi 4978 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 4979 $as_echo "$ac_cv_search_strerror" >&6; } 4980 ac_res=$ac_cv_search_strerror 4981 if test "$ac_res" != no; then 4982 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4983 4984 fi 4985 4986 4987 if test "${ac_cv_header_minix_config_h+set}" = set; then 4988 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 4989 $as_echo_n "checking for minix/config.h... " >&6; } 4990 if test "${ac_cv_header_minix_config_h+set}" = set; then 4991 $as_echo_n "(cached) " >&6 4992 fi 4993 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4994 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4995 else 4996 # Is the header compilable? 4997 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 4998 $as_echo_n "checking minix/config.h usability... " >&6; } 4999 cat >conftest.$ac_ext <<_ACEOF 5000 /* confdefs.h. */ 5001 _ACEOF 5002 cat confdefs.h >>conftest.$ac_ext 5003 cat >>conftest.$ac_ext <<_ACEOF 5004 /* end confdefs.h. */ 5005 $ac_includes_default 5006 #include <minix/config.h> 5007 _ACEOF 5008 rm -f conftest.$ac_objext 5009 if { (ac_try="$ac_compile" 5010 case "(($ac_try" in 5011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5012 *) ac_try_echo=$ac_try;; 5013 esac 5014 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5015 $as_echo "$ac_try_echo") >&5 5016 (eval "$ac_compile") 2>conftest.er1 5017 ac_status=$? 5018 grep -v '^ *+' conftest.er1 >conftest.err 5019 rm -f conftest.er1 5020 cat conftest.err >&5 5021 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5022 (exit $ac_status); } && { 5023 test -z "$ac_c_werror_flag" || 5024 test ! -s conftest.err 5025 } && test -s conftest.$ac_objext; then 5026 ac_header_compiler=yes 5027 else 5028 $as_echo "$as_me: failed program was:" >&5 5029 sed 's/^/| /' conftest.$ac_ext >&5 5030 5031 ac_header_compiler=no 5032 fi 5033 5034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5035 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5036 $as_echo "$ac_header_compiler" >&6; } 5037 5038 # Is the header present? 5039 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 5040 $as_echo_n "checking minix/config.h presence... " >&6; } 5041 cat >conftest.$ac_ext <<_ACEOF 5042 /* confdefs.h. */ 5043 _ACEOF 5044 cat confdefs.h >>conftest.$ac_ext 5045 cat >>conftest.$ac_ext <<_ACEOF 5046 /* end confdefs.h. */ 5047 #include <minix/config.h> 5048 _ACEOF 5049 if { (ac_try="$ac_cpp conftest.$ac_ext" 5050 case "(($ac_try" in 5051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5052 *) ac_try_echo=$ac_try;; 5053 esac 5054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5055 $as_echo "$ac_try_echo") >&5 5056 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5057 ac_status=$? 5058 grep -v '^ *+' conftest.er1 >conftest.err 5059 rm -f conftest.er1 5060 cat conftest.err >&5 5061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5062 (exit $ac_status); } >/dev/null && { 5063 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5064 test ! -s conftest.err 5065 }; then 5066 ac_header_preproc=yes 5067 else 5068 $as_echo "$as_me: failed program was:" >&5 5069 sed 's/^/| /' conftest.$ac_ext >&5 5070 5071 ac_header_preproc=no 5072 fi 5073 5074 rm -f conftest.err conftest.$ac_ext 5075 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5076 $as_echo "$ac_header_preproc" >&6; } 5077 5078 # So? What about this header? 5079 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5080 yes:no: ) 5081 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 5082 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5083 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 5084 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 5085 ac_header_preproc=yes 5086 ;; 5087 no:yes:* ) 5088 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 5089 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 5090 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 5091 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 5092 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 5093 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 5094 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 5095 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 5096 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 5097 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 5098 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 5099 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 5100 5101 ;; 5102 esac 5103 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5104 $as_echo_n "checking for minix/config.h... " >&6; } 5105 if test "${ac_cv_header_minix_config_h+set}" = set; then 5106 $as_echo_n "(cached) " >&6 5107 else 5108 ac_cv_header_minix_config_h=$ac_header_preproc 5109 fi 5110 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5111 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5112 5113 fi 5114 if test "x$ac_cv_header_minix_config_h" = x""yes; then 5115 MINIX=yes 5116 else 5117 MINIX= 5118 fi 5119 5120 5121 if test "$MINIX" = yes; then 5122 5123 cat >>confdefs.h <<\_ACEOF 5124 #define _POSIX_SOURCE 1 5125 _ACEOF 5126 5127 5128 cat >>confdefs.h <<\_ACEOF 5129 #define _POSIX_1_SOURCE 2 5130 _ACEOF 5131 5132 5133 cat >>confdefs.h <<\_ACEOF 5134 #define _MINIX 1 5135 _ACEOF 5136 5137 fi 5138 5139 5140 5141 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 5142 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5143 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 5144 $as_echo_n "(cached) " >&6 5145 else 5146 cat >conftest.$ac_ext <<_ACEOF 5147 /* confdefs.h. */ 5148 _ACEOF 5149 cat confdefs.h >>conftest.$ac_ext 5150 cat >>conftest.$ac_ext <<_ACEOF 5151 /* end confdefs.h. */ 5152 5153 # define __EXTENSIONS__ 1 5154 $ac_includes_default 5155 int 5156 main () 5157 { 5158 5159 ; 5160 return 0; 5161 } 5162 _ACEOF 5163 rm -f conftest.$ac_objext 5164 if { (ac_try="$ac_compile" 5165 case "(($ac_try" in 5166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5167 *) ac_try_echo=$ac_try;; 5168 esac 5169 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5170 $as_echo "$ac_try_echo") >&5 5171 (eval "$ac_compile") 2>conftest.er1 5172 ac_status=$? 5173 grep -v '^ *+' conftest.er1 >conftest.err 5174 rm -f conftest.er1 5175 cat conftest.err >&5 5176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5177 (exit $ac_status); } && { 5178 test -z "$ac_c_werror_flag" || 5179 test ! -s conftest.err 5180 } && test -s conftest.$ac_objext; then 5181 ac_cv_safe_to_define___extensions__=yes 5182 else 5183 $as_echo "$as_me: failed program was:" >&5 5184 sed 's/^/| /' conftest.$ac_ext >&5 5185 5186 ac_cv_safe_to_define___extensions__=no 5187 fi 5188 5189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5190 fi 5191 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 5192 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5193 test $ac_cv_safe_to_define___extensions__ = yes && 5194 cat >>confdefs.h <<\_ACEOF 5195 #define __EXTENSIONS__ 1 5196 _ACEOF 5197 5198 cat >>confdefs.h <<\_ACEOF 5199 #define _ALL_SOURCE 1 5200 _ACEOF 5201 5202 cat >>confdefs.h <<\_ACEOF 5203 #define _GNU_SOURCE 1 5204 _ACEOF 5205 5206 cat >>confdefs.h <<\_ACEOF 5207 #define _POSIX_PTHREAD_SEMANTICS 1 5208 _ACEOF 5209 5210 cat >>confdefs.h <<\_ACEOF 5211 #define _TANDEM_SOURCE 1 5212 _ACEOF 5213 5214 5215 { $as_echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 5216 $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; } 4204 5217 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4205 echo $ECHO_N "(cached) $ECHO_C" >&65218 $as_echo_n "(cached) " >&6 4206 5219 else 4207 5220 ac_cv_prog_cc_stdc=no … … 4237 5250 _ACEOF 4238 5251 rm -f conftest.$ac_objext 4239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4240 (eval $ac_compile) 2>conftest.er1 5252 if { (ac_try="$ac_compile" 5253 case "(($ac_try" in 5254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5255 *) ac_try_echo=$ac_try;; 5256 esac 5257 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5258 $as_echo "$ac_try_echo") >&5 5259 (eval "$ac_compile") 2>conftest.er1 4241 5260 ac_status=$? 4242 5261 grep -v '^ *+' conftest.er1 >conftest.err 4243 5262 rm -f conftest.er1 4244 5263 cat conftest.err >&5 4245 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4246 (exit $ac_status); } && 4247 { ac_try='test -z "$ac_c_werror_flag" 4248 || test ! -s conftest.err' 4249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4250 (eval $ac_try) 2>&5 4251 ac_status=$? 4252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4253 (exit $ac_status); }; } && 4254 { ac_try='test -s conftest.$ac_objext' 4255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4256 (eval $ac_try) 2>&5 4257 ac_status=$? 4258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4259 (exit $ac_status); }; }; then 5264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5265 (exit $ac_status); } && { 5266 test -z "$ac_c_werror_flag" || 5267 test ! -s conftest.err 5268 } && test -s conftest.$ac_objext; then 4260 5269 ac_cv_prog_cc_stdc="$ac_arg"; break 4261 5270 else 4262 echo "$as_me: failed program was:" >&55271 $as_echo "$as_me: failed program was:" >&5 4263 5272 sed 's/^/| /' conftest.$ac_ext >&5 4264 5273 4265 fi 4266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5274 5275 fi 5276 5277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4267 5278 done 4268 5279 CFLAGS="$ac_save_CFLAGS" … … 4270 5281 fi 4271 5282 4272 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&54273 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 5283 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 5284 $as_echo "$ac_cv_prog_cc_stdc" >&6; } 4274 5285 case "x$ac_cv_prog_cc_stdc" in 4275 5286 x|xno) ;; … … 4278 5289 4279 5290 4280 echo "$as_me:$LINENO: checking for function prototypes" >&54281 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 5291 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5 5292 $as_echo_n "checking for function prototypes... " >&6; } 4282 5293 if test "$ac_cv_prog_cc_stdc" != no; then 4283 echo "$as_me:$LINENO: result: yes" >&54284 echo "${ECHO_T}yes" >&6 5294 { $as_echo "$as_me:$LINENO: result: yes" >&5 5295 $as_echo "yes" >&6; } 4285 5296 cat >>confdefs.h <<\_ACEOF 4286 5297 #define PROTOTYPES 1 … … 4289 5300 U= ANSI2KNR= 4290 5301 else 4291 echo "$as_me:$LINENO: result: no" >&54292 echo "${ECHO_T}no" >&6 5302 { $as_echo "$as_me:$LINENO: result: no" >&5 5303 $as_echo "no" >&6; } 4293 5304 U=_ ANSI2KNR=ansi2knr 4294 5305 fi 4295 5306 4296 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&54297 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 5307 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 5308 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 4298 5309 if test "${ac_cv_c_const+set}" = set; then 4299 echo $ECHO_N "(cached) $ECHO_C" >&65310 $as_echo_n "(cached) " >&6 4300 5311 else 4301 5312 cat >conftest.$ac_ext <<_ACEOF … … 4313 5324 /* Ultrix mips cc rejects this. */ 4314 5325 typedef int charset[2]; 4315 const charset x;5326 const charset cs; 4316 5327 /* SunOS 4.1.1 cc rejects this. */ 4317 char const *const * ccp;4318 char **p ;5328 char const *const *pcpcc; 5329 char **ppc; 4319 5330 /* NEC SVR4.0.2 mips cc rejects this. */ 4320 5331 struct point {int x, y;}; … … 4325 5336 expression */ 4326 5337 const char *g = "string"; 4327 ccp= &g + (g ? g-g : 0);5338 pcpcc = &g + (g ? g-g : 0); 4328 5339 /* HPUX 7.0 cc rejects these. */ 4329 ++ ccp;4330 p = (char**) ccp;4331 ccp = (char const *const *) p;5340 ++pcpcc; 5341 ppc = (char**) pcpcc; 5342 pcpcc = (char const *const *) ppc; 4332 5343 { /* SCO 3.2v4 cc rejects this. */ 4333 5344 char *t; … … 4335 5346 4336 5347 *t++ = 0; 5348 if (s) return 0; 4337 5349 } 4338 5350 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 4353 5365 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4354 5366 const int foo = 10; 5367 if (!foo) return 0; 4355 5368 } 5369 return !cs[0] && !zero.x; 4356 5370 #endif 4357 5371 … … 4361 5375 _ACEOF 4362 5376 rm -f conftest.$ac_objext 4363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4364 (eval $ac_compile) 2>conftest.er1 5377 if { (ac_try="$ac_compile" 5378 case "(($ac_try" in 5379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5380 *) ac_try_echo=$ac_try;; 5381 esac 5382 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5383 $as_echo "$ac_try_echo") >&5 5384 (eval "$ac_compile") 2>conftest.er1 4365 5385 ac_status=$? 4366 5386 grep -v '^ *+' conftest.er1 >conftest.err 4367 5387 rm -f conftest.er1 4368 5388 cat conftest.err >&5 4369 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4370 (exit $ac_status); } && 4371 { ac_try='test -z "$ac_c_werror_flag" 4372 || test ! -s conftest.err' 4373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4374 (eval $ac_try) 2>&5 4375 ac_status=$? 4376 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4377 (exit $ac_status); }; } && 4378 { ac_try='test -s conftest.$ac_objext' 4379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4380 (eval $ac_try) 2>&5 4381 ac_status=$? 4382 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4383 (exit $ac_status); }; }; then 5389 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5390 (exit $ac_status); } && { 5391 test -z "$ac_c_werror_flag" || 5392 test ! -s conftest.err 5393 } && test -s conftest.$ac_objext; then 4384 5394 ac_cv_c_const=yes 4385 5395 else 4386 echo "$as_me: failed program was:" >&55396 $as_echo "$as_me: failed program was:" >&5 4387 5397 sed 's/^/| /' conftest.$ac_ext >&5 4388 5398 4389 ac_cv_c_const=no 4390 fi 4391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4392 fi 4393 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4394 echo "${ECHO_T}$ac_cv_c_const" >&6 5399 ac_cv_c_const=no 5400 fi 5401 5402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5403 fi 5404 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 5405 $as_echo "$ac_cv_c_const" >&6; } 4395 5406 if test $ac_cv_c_const = no; then 4396 5407 4397 5408 cat >>confdefs.h <<\_ACEOF 4398 #define const 4399 _ACEOF 4400 4401 fi 4402 4403 echo "$as_me:$LINENO: checking for off_t" >&54404 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 5409 #define const /**/ 5410 _ACEOF 5411 5412 fi 5413 5414 { $as_echo "$as_me:$LINENO: checking for off_t" >&5 5415 $as_echo_n "checking for off_t... " >&6; } 4405 5416 if test "${ac_cv_type_off_t+set}" = set; then 4406 echo $ECHO_N "(cached) $ECHO_C" >&6 4407 else 4408 cat >conftest.$ac_ext <<_ACEOF 5417 $as_echo_n "(cached) " >&6 5418 else 5419 ac_cv_type_off_t=no 5420 cat >conftest.$ac_ext <<_ACEOF 4409 5421 /* confdefs.h. */ 4410 5422 _ACEOF … … 4416 5428 main () 4417 5429 { 4418 if ((off_t *) 0)4419 return 0;4420 5430 if (sizeof (off_t)) 4421 return 0;5431 return 0; 4422 5432 ; 4423 5433 return 0; … … 4425 5435 _ACEOF 4426 5436 rm -f conftest.$ac_objext 4427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4428 (eval $ac_compile) 2>conftest.er1 5437 if { (ac_try="$ac_compile" 5438 case "(($ac_try" in 5439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5440 *) ac_try_echo=$ac_try;; 5441 esac 5442 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5443 $as_echo "$ac_try_echo") >&5 5444 (eval "$ac_compile") 2>conftest.er1 4429 5445 ac_status=$? 4430 5446 grep -v '^ *+' conftest.er1 >conftest.err 4431 5447 rm -f conftest.er1 4432 5448 cat conftest.err >&5 4433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4434 (exit $ac_status); } && 4435 { ac_try='test -z "$ac_c_werror_flag" 4436 || test ! -s conftest.err' 4437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4438 (eval $ac_try) 2>&5 4439 ac_status=$? 4440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4441 (exit $ac_status); }; } && 4442 { ac_try='test -s conftest.$ac_objext' 4443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4444 (eval $ac_try) 2>&5 4445 ac_status=$? 4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4447 (exit $ac_status); }; }; then 4448 ac_cv_type_off_t=yes 4449 else 4450 echo "$as_me: failed program was:" >&5 4451 sed 's/^/| /' conftest.$ac_ext >&5 4452 4453 ac_cv_type_off_t=no 4454 fi 4455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4456 fi 4457 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4458 echo "${ECHO_T}$ac_cv_type_off_t" >&6 4459 if test $ac_cv_type_off_t = yes; then 4460 : 4461 else 4462 4463 cat >>confdefs.h <<_ACEOF 4464 #define off_t long 4465 _ACEOF 4466 4467 fi 4468 4469 echo "$as_me:$LINENO: checking for size_t" >&5 4470 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 4471 if test "${ac_cv_type_size_t+set}" = set; then 4472 echo $ECHO_N "(cached) $ECHO_C" >&6 4473 else 5449 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5450 (exit $ac_status); } && { 5451 test -z "$ac_c_werror_flag" || 5452 test ! -s conftest.err 5453 } && test -s conftest.$ac_objext; then 4474 5454 cat >conftest.$ac_ext <<_ACEOF 4475 5455 /* confdefs.h. */ … … 4482 5462 main () 4483 5463 { 4484 if ((size_t *) 0) 4485 return 0; 4486 if (sizeof (size_t)) 4487 return 0; 5464 if (sizeof ((off_t))) 5465 return 0; 4488 5466 ; 4489 5467 return 0; … … 4491 5469 _ACEOF 4492 5470 rm -f conftest.$ac_objext 4493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4494 (eval $ac_compile) 2>conftest.er1 5471 if { (ac_try="$ac_compile" 5472 case "(($ac_try" in 5473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5474 *) ac_try_echo=$ac_try;; 5475 esac 5476 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5477 $as_echo "$ac_try_echo") >&5 5478 (eval "$ac_compile") 2>conftest.er1 4495 5479 ac_status=$? 4496 5480 grep -v '^ *+' conftest.er1 >conftest.err 4497 5481 rm -f conftest.er1 4498 5482 cat conftest.err >&5 4499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4500 (exit $ac_status); } && 4501 { ac_try='test -z "$ac_c_werror_flag" 4502 || test ! -s conftest.err' 4503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4504 (eval $ac_try) 2>&5 5483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5484 (exit $ac_status); } && { 5485 test -z "$ac_c_werror_flag" || 5486 test ! -s conftest.err 5487 } && test -s conftest.$ac_objext; then 5488 : 5489 else 5490 $as_echo "$as_me: failed program was:" >&5 5491 sed 's/^/| /' conftest.$ac_ext >&5 5492 5493 ac_cv_type_off_t=yes 5494 fi 5495 5496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5497 else 5498 $as_echo "$as_me: failed program was:" >&5 5499 sed 's/^/| /' conftest.$ac_ext >&5 5500 5501 5502 fi 5503 5504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5505 fi 5506 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 5507 $as_echo "$ac_cv_type_off_t" >&6; } 5508 if test "x$ac_cv_type_off_t" = x""yes; then 5509 : 5510 else 5511 5512 cat >>confdefs.h <<_ACEOF 5513 #define off_t long int 5514 _ACEOF 5515 5516 fi 5517 5518 { $as_echo "$as_me:$LINENO: checking for size_t" >&5 5519 $as_echo_n "checking for size_t... " >&6; } 5520 if test "${ac_cv_type_size_t+set}" = set; then 5521 $as_echo_n "(cached) " >&6 5522 else 5523 ac_cv_type_size_t=no 5524 cat >conftest.$ac_ext <<_ACEOF 5525 /* confdefs.h. */ 5526 _ACEOF 5527 cat confdefs.h >>conftest.$ac_ext 5528 cat >>conftest.$ac_ext <<_ACEOF 5529 /* end confdefs.h. */ 5530 $ac_includes_default 5531 int 5532 main () 5533 { 5534 if (sizeof (size_t)) 5535 return 0; 5536 ; 5537 return 0; 5538 } 5539 _ACEOF 5540 rm -f conftest.$ac_objext 5541 if { (ac_try="$ac_compile" 5542 case "(($ac_try" in 5543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5544 *) ac_try_echo=$ac_try;; 5545 esac 5546 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5547 $as_echo "$ac_try_echo") >&5 5548 (eval "$ac_compile") 2>conftest.er1 4505 5549 ac_status=$? 4506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4507 (exit $ac_status); }; } && 4508 { ac_try='test -s conftest.$ac_objext' 4509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4510 (eval $ac_try) 2>&5 5550 grep -v '^ *+' conftest.er1 >conftest.err 5551 rm -f conftest.er1 5552 cat conftest.err >&5 5553 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5554 (exit $ac_status); } && { 5555 test -z "$ac_c_werror_flag" || 5556 test ! -s conftest.err 5557 } && test -s conftest.$ac_objext; then 5558 cat >conftest.$ac_ext <<_ACEOF 5559 /* confdefs.h. */ 5560 _ACEOF 5561 cat confdefs.h >>conftest.$ac_ext 5562 cat >>conftest.$ac_ext <<_ACEOF 5563 /* end confdefs.h. */ 5564 $ac_includes_default 5565 int 5566 main () 5567 { 5568 if (sizeof ((size_t))) 5569 return 0; 5570 ; 5571 return 0; 5572 } 5573 _ACEOF 5574 rm -f conftest.$ac_objext 5575 if { (ac_try="$ac_compile" 5576 case "(($ac_try" in 5577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5578 *) ac_try_echo=$ac_try;; 5579 esac 5580 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5581 $as_echo "$ac_try_echo") >&5 5582 (eval "$ac_compile") 2>conftest.er1 4511 5583 ac_status=$? 4512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4513 (exit $ac_status); }; }; then 4514 ac_cv_type_size_t=yes 4515 else 4516 echo "$as_me: failed program was:" >&5 5584 grep -v '^ *+' conftest.er1 >conftest.err 5585 rm -f conftest.er1 5586 cat conftest.err >&5 5587 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5588 (exit $ac_status); } && { 5589 test -z "$ac_c_werror_flag" || 5590 test ! -s conftest.err 5591 } && test -s conftest.$ac_objext; then 5592 : 5593 else 5594 $as_echo "$as_me: failed program was:" >&5 4517 5595 sed 's/^/| /' conftest.$ac_ext >&5 4518 5596 4519 ac_cv_type_size_t=no 4520 fi 4521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4522 fi 4523 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4524 echo "${ECHO_T}$ac_cv_type_size_t" >&6 4525 if test $ac_cv_type_size_t = yes; then 5597 ac_cv_type_size_t=yes 5598 fi 5599 5600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5601 else 5602 $as_echo "$as_me: failed program was:" >&5 5603 sed 's/^/| /' conftest.$ac_ext >&5 5604 5605 5606 fi 5607 5608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5609 fi 5610 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 5611 $as_echo "$ac_cv_type_size_t" >&6; } 5612 if test "x$ac_cv_type_size_t" = x""yes; then 4526 5613 : 4527 5614 else 4528 5615 4529 5616 cat >>confdefs.h <<_ACEOF 4530 #define size_t unsigned 4531 _ACEOF 4532 4533 fi 4534 4535 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&54536 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 5617 #define size_t unsigned int 5618 _ACEOF 5619 5620 fi 5621 5622 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 5623 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 4537 5624 if test "${ac_cv_header_time+set}" = set; then 4538 echo $ECHO_N "(cached) $ECHO_C" >&65625 $as_echo_n "(cached) " >&6 4539 5626 else 4540 5627 cat >conftest.$ac_ext <<_ACEOF … … 4558 5645 _ACEOF 4559 5646 rm -f conftest.$ac_objext 4560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4561 (eval $ac_compile) 2>conftest.er1 5647 if { (ac_try="$ac_compile" 5648 case "(($ac_try" in 5649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5650 *) ac_try_echo=$ac_try;; 5651 esac 5652 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5653 $as_echo "$ac_try_echo") >&5 5654 (eval "$ac_compile") 2>conftest.er1 4562 5655 ac_status=$? 4563 5656 grep -v '^ *+' conftest.er1 >conftest.err 4564 5657 rm -f conftest.er1 4565 5658 cat conftest.err >&5 4566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4567 (exit $ac_status); } && 4568 { ac_try='test -z "$ac_c_werror_flag" 4569 || test ! -s conftest.err' 4570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4571 (eval $ac_try) 2>&5 4572 ac_status=$? 4573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4574 (exit $ac_status); }; } && 4575 { ac_try='test -s conftest.$ac_objext' 4576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4577 (eval $ac_try) 2>&5 4578 ac_status=$? 4579 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4580 (exit $ac_status); }; }; then 5659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5660 (exit $ac_status); } && { 5661 test -z "$ac_c_werror_flag" || 5662 test ! -s conftest.err 5663 } && test -s conftest.$ac_objext; then 4581 5664 ac_cv_header_time=yes 4582 5665 else 4583 echo "$as_me: failed program was:" >&55666 $as_echo "$as_me: failed program was:" >&5 4584 5667 sed 's/^/| /' conftest.$ac_ext >&5 4585 5668 4586 ac_cv_header_time=no 4587 fi 4588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4589 fi 4590 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4591 echo "${ECHO_T}$ac_cv_header_time" >&6 5669 ac_cv_header_time=no 5670 fi 5671 5672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5673 fi 5674 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 5675 $as_echo "$ac_cv_header_time" >&6; } 4592 5676 if test $ac_cv_header_time = yes; then 4593 5677 … … 4598 5682 fi 4599 5683 4600 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&54601 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 5684 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 5685 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 4602 5686 if test "${ac_cv_struct_tm+set}" = set; then 4603 echo $ECHO_N "(cached) $ECHO_C" >&65687 $as_echo_n "(cached) " >&6 4604 5688 else 4605 5689 cat >conftest.$ac_ext <<_ACEOF … … 4615 5699 main () 4616 5700 { 4617 struct tm *tp; tp->tm_sec; 5701 struct tm tm; 5702 int *p = &tm.tm_sec; 5703 return !p; 4618 5704 ; 4619 5705 return 0; … … 4621 5707 _ACEOF 4622 5708 rm -f conftest.$ac_objext 4623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4624 (eval $ac_compile) 2>conftest.er1 5709 if { (ac_try="$ac_compile" 5710 case "(($ac_try" in 5711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5712 *) ac_try_echo=$ac_try;; 5713 esac 5714 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5715 $as_echo "$ac_try_echo") >&5 5716 (eval "$ac_compile") 2>conftest.er1 4625 5717 ac_status=$? 4626 5718 grep -v '^ *+' conftest.er1 >conftest.err 4627 5719 rm -f conftest.er1 4628 5720 cat conftest.err >&5 4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4630 (exit $ac_status); } && 4631 { ac_try='test -z "$ac_c_werror_flag" 4632 || test ! -s conftest.err' 4633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4634 (eval $ac_try) 2>&5 4635 ac_status=$? 4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4637 (exit $ac_status); }; } && 4638 { ac_try='test -s conftest.$ac_objext' 4639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4640 (eval $ac_try) 2>&5 4641 ac_status=$? 4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4643 (exit $ac_status); }; }; then 5721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5722 (exit $ac_status); } && { 5723 test -z "$ac_c_werror_flag" || 5724 test ! -s conftest.err 5725 } && test -s conftest.$ac_objext; then 4644 5726 ac_cv_struct_tm=time.h 4645 5727 else 4646 echo "$as_me: failed program was:" >&55728 $as_echo "$as_me: failed program was:" >&5 4647 5729 sed 's/^/| /' conftest.$ac_ext >&5 4648 5730 4649 ac_cv_struct_tm=sys/time.h 4650 fi 4651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4652 fi 4653 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 4654 echo "${ECHO_T}$ac_cv_struct_tm" >&6 5731 ac_cv_struct_tm=sys/time.h 5732 fi 5733 5734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5735 fi 5736 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 5737 $as_echo "$ac_cv_struct_tm" >&6; } 4655 5738 if test $ac_cv_struct_tm = sys/time.h; then 4656 5739 … … 4680 5763 _ACEOF 4681 5764 rm -f conftest.$ac_objext 4682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4683 (eval $ac_compile) 2>conftest.er1 5765 if { (ac_try="$ac_compile" 5766 case "(($ac_try" in 5767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5768 *) ac_try_echo=$ac_try;; 5769 esac 5770 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5771 $as_echo "$ac_try_echo") >&5 5772 (eval "$ac_compile") 2>conftest.er1 4684 5773 ac_status=$? 4685 5774 grep -v '^ *+' conftest.er1 >conftest.err 4686 5775 rm -f conftest.er1 4687 5776 cat conftest.err >&5 4688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4689 (exit $ac_status); } && 4690 { ac_try='test -z "$ac_c_werror_flag" 4691 || test ! -s conftest.err' 4692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4693 (eval $ac_try) 2>&5 4694 ac_status=$? 4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4696 (exit $ac_status); }; } && 4697 { ac_try='test -s conftest.$ac_objext' 4698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4699 (eval $ac_try) 2>&5 4700 ac_status=$? 4701 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4702 (exit $ac_status); }; }; then 5777 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5778 (exit $ac_status); } && { 5779 test -z "$ac_c_werror_flag" || 5780 test ! -s conftest.err 5781 } && test -s conftest.$ac_objext; then 4703 5782 : 4704 5783 else 4705 echo "$as_me: failed program was:" >&55784 $as_echo "$as_me: failed program was:" >&5 4706 5785 sed 's/^/| /' conftest.$ac_ext >&5 4707 5786 4708 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 4709 fi 4710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4711 fi 4712 4713 4714 4715 echo "$as_me:$LINENO: checking for main in -lg" >&5 4716 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6 5787 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5788 fi 5789 5790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5791 fi 5792 5793 5794 5795 { $as_echo "$as_me:$LINENO: checking for main in -lg" >&5 5796 $as_echo_n "checking for main in -lg... " >&6; } 4717 5797 if test "${ac_cv_lib_g_main+set}" = set; then 4718 echo $ECHO_N "(cached) $ECHO_C" >&65798 $as_echo_n "(cached) " >&6 4719 5799 else 4720 5800 ac_check_lib_save_LIBS=$LIBS … … 4731 5811 main () 4732 5812 { 4733 main ();5813 return main (); 4734 5814 ; 4735 5815 return 0; … … 4737 5817 _ACEOF 4738 5818 rm -f conftest.$ac_objext conftest$ac_exeext 4739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4740 (eval $ac_link) 2>conftest.er1 5819 if { (ac_try="$ac_link" 5820 case "(($ac_try" in 5821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5822 *) ac_try_echo=$ac_try;; 5823 esac 5824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5825 $as_echo "$ac_try_echo") >&5 5826 (eval "$ac_link") 2>conftest.er1 4741 5827 ac_status=$? 4742 5828 grep -v '^ *+' conftest.er1 >conftest.err 4743 5829 rm -f conftest.er1 4744 5830 cat conftest.err >&5 4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4746 (exit $ac_status); } && 4747 { ac_try='test -z "$ac_c_werror_flag" 4748 || test ! -s conftest.err' 4749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4750 (eval $ac_try) 2>&5 4751 ac_status=$? 4752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4753 (exit $ac_status); }; } && 4754 { ac_try='test -s conftest$ac_exeext' 4755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4756 (eval $ac_try) 2>&5 4757 ac_status=$? 4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4759 (exit $ac_status); }; }; then 5831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5832 (exit $ac_status); } && { 5833 test -z "$ac_c_werror_flag" || 5834 test ! -s conftest.err 5835 } && test -s conftest$ac_exeext && { 5836 test "$cross_compiling" = yes || 5837 $as_test_x conftest$ac_exeext 5838 }; then 4760 5839 ac_cv_lib_g_main=yes 4761 5840 else 4762 echo "$as_me: failed program was:" >&55841 $as_echo "$as_me: failed program was:" >&5 4763 5842 sed 's/^/| /' conftest.$ac_ext >&5 4764 5843 4765 ac_cv_lib_g_main=no 4766 fi 4767 rm -f conftest.err conftest.$ac_objext \ 5844 ac_cv_lib_g_main=no 5845 fi 5846 5847 rm -rf conftest.dSYM 5848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4768 5849 conftest$ac_exeext conftest.$ac_ext 4769 5850 LIBS=$ac_check_lib_save_LIBS 4770 5851 fi 4771 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&54772 echo "${ECHO_T}$ac_cv_lib_g_main" >&6 4773 if test $ac_cv_lib_g_main =yes; then5852 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5 5853 $as_echo "$ac_cv_lib_g_main" >&6; } 5854 if test "x$ac_cv_lib_g_main" = x""yes; then 4774 5855 cat >>confdefs.h <<_ACEOF 4775 5856 #define HAVE_LIBG 1 … … 4782 5863 4783 5864 4784 echo "$as_me:$LINENO: checking for main in -lm" >&54785 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 5865 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5 5866 $as_echo_n "checking for main in -lm... " >&6; } 4786 5867 if test "${ac_cv_lib_m_main+set}" = set; then 4787 echo $ECHO_N "(cached) $ECHO_C" >&65868 $as_echo_n "(cached) " >&6 4788 5869 else 4789 5870 ac_check_lib_save_LIBS=$LIBS … … 4800 5881 main () 4801 5882 { 4802 main ();5883 return main (); 4803 5884 ; 4804 5885 return 0; … … 4806 5887 _ACEOF 4807 5888 rm -f conftest.$ac_objext conftest$ac_exeext 4808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4809 (eval $ac_link) 2>conftest.er1 5889 if { (ac_try="$ac_link" 5890 case "(($ac_try" in 5891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5892 *) ac_try_echo=$ac_try;; 5893 esac 5894 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5895 $as_echo "$ac_try_echo") >&5 5896 (eval "$ac_link") 2>conftest.er1 4810 5897 ac_status=$? 4811 5898 grep -v '^ *+' conftest.er1 >conftest.err 4812 5899 rm -f conftest.er1 4813 5900 cat conftest.err >&5 4814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4815 (exit $ac_status); } && 4816 { ac_try='test -z "$ac_c_werror_flag" 4817 || test ! -s conftest.err' 4818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4819 (eval $ac_try) 2>&5 4820 ac_status=$? 4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4822 (exit $ac_status); }; } && 4823 { ac_try='test -s conftest$ac_exeext' 4824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4825 (eval $ac_try) 2>&5 4826 ac_status=$? 4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4828 (exit $ac_status); }; }; then 5901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5902 (exit $ac_status); } && { 5903 test -z "$ac_c_werror_flag" || 5904 test ! -s conftest.err 5905 } && test -s conftest$ac_exeext && { 5906 test "$cross_compiling" = yes || 5907 $as_test_x conftest$ac_exeext 5908 }; then 4829 5909 ac_cv_lib_m_main=yes 4830 5910 else 4831 echo "$as_me: failed program was:" >&55911 $as_echo "$as_me: failed program was:" >&5 4832 5912 sed 's/^/| /' conftest.$ac_ext >&5 4833 5913 4834 ac_cv_lib_m_main=no 4835 fi 4836 rm -f conftest.err conftest.$ac_objext \ 5914 ac_cv_lib_m_main=no 5915 fi 5916 5917 rm -rf conftest.dSYM 5918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4837 5919 conftest$ac_exeext conftest.$ac_ext 4838 5920 LIBS=$ac_check_lib_save_LIBS 4839 5921 fi 4840 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&54841 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 4842 if test $ac_cv_lib_m_main =yes; then5922 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 5923 $as_echo "$ac_cv_lib_m_main" >&6; } 5924 if test "x$ac_cv_lib_m_main" = x""yes; then 4843 5925 cat >>confdefs.h <<_ACEOF 4844 5926 #define HAVE_LIBM 1 … … 4851 5933 4852 5934 4853 echo "$as_me:$LINENO: checking for main in -lcrypt" >&54854 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 5935 { $as_echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 5936 $as_echo_n "checking for main in -lcrypt... " >&6; } 4855 5937 if test "${ac_cv_lib_crypt_main+set}" = set; then 4856 echo $ECHO_N "(cached) $ECHO_C" >&65938 $as_echo_n "(cached) " >&6 4857 5939 else 4858 5940 ac_check_lib_save_LIBS=$LIBS … … 4869 5951 main () 4870 5952 { 4871 main ();5953 return main (); 4872 5954 ; 4873 5955 return 0; … … 4875 5957 _ACEOF 4876 5958 rm -f conftest.$ac_objext conftest$ac_exeext 4877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4878 (eval $ac_link) 2>conftest.er1 5959 if { (ac_try="$ac_link" 5960 case "(($ac_try" in 5961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5962 *) ac_try_echo=$ac_try;; 5963 esac 5964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5965 $as_echo "$ac_try_echo") >&5 5966 (eval "$ac_link") 2>conftest.er1 4879 5967 ac_status=$? 4880 5968 grep -v '^ *+' conftest.er1 >conftest.err 4881 5969 rm -f conftest.er1 4882 5970 cat conftest.err >&5 4883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4884 (exit $ac_status); } && 4885 { ac_try='test -z "$ac_c_werror_flag" 4886 || test ! -s conftest.err' 4887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4888 (eval $ac_try) 2>&5 4889 ac_status=$? 4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4891 (exit $ac_status); }; } && 4892 { ac_try='test -s conftest$ac_exeext' 4893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4894 (eval $ac_try) 2>&5 4895 ac_status=$? 4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4897 (exit $ac_status); }; }; then 5971 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5972 (exit $ac_status); } && { 5973 test -z "$ac_c_werror_flag" || 5974 test ! -s conftest.err 5975 } && test -s conftest$ac_exeext && { 5976 test "$cross_compiling" = yes || 5977 $as_test_x conftest$ac_exeext 5978 }; then 4898 5979 ac_cv_lib_crypt_main=yes 4899 5980 else 4900 echo "$as_me: failed program was:" >&55981 $as_echo "$as_me: failed program was:" >&5 4901 5982 sed 's/^/| /' conftest.$ac_ext >&5 4902 5983 4903 ac_cv_lib_crypt_main=no 4904 fi 4905 rm -f conftest.err conftest.$ac_objext \ 5984 ac_cv_lib_crypt_main=no 5985 fi 5986 5987 rm -rf conftest.dSYM 5988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4906 5989 conftest$ac_exeext conftest.$ac_ext 4907 5990 LIBS=$ac_check_lib_save_LIBS 4908 5991 fi 4909 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&54910 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 4911 if test $ac_cv_lib_crypt_main =yes; then5992 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5 5993 $as_echo "$ac_cv_lib_crypt_main" >&6; } 5994 if test "x$ac_cv_lib_crypt_main" = x""yes; then 4912 5995 cat >>confdefs.h <<_ACEOF 4913 5996 #define HAVE_LIBCRYPT 1 … … 4930 6013 ac_header_dirent=no 4931 6014 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 4932 as_ac_Header=` echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`4933 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&54934 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 4935 if eval "test \"\${$as_ac_Header+set}\" = set"; then4936 echo $ECHO_N "(cached) $ECHO_C" >&66015 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 6016 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 6017 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 6018 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6019 $as_echo_n "(cached) " >&6 4937 6020 else 4938 6021 cat >conftest.$ac_ext <<_ACEOF … … 4955 6038 _ACEOF 4956 6039 rm -f conftest.$ac_objext 4957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4958 (eval $ac_compile) 2>conftest.er1 6040 if { (ac_try="$ac_compile" 6041 case "(($ac_try" in 6042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6043 *) ac_try_echo=$ac_try;; 6044 esac 6045 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6046 $as_echo "$ac_try_echo") >&5 6047 (eval "$ac_compile") 2>conftest.er1 4959 6048 ac_status=$? 4960 6049 grep -v '^ *+' conftest.er1 >conftest.err 4961 6050 rm -f conftest.er1 4962 6051 cat conftest.err >&5 4963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4964 (exit $ac_status); } && 4965 { ac_try='test -z "$ac_c_werror_flag" 4966 || test ! -s conftest.err' 4967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4968 (eval $ac_try) 2>&5 4969 ac_status=$? 4970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4971 (exit $ac_status); }; } && 4972 { ac_try='test -s conftest.$ac_objext' 4973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4974 (eval $ac_try) 2>&5 4975 ac_status=$? 4976 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4977 (exit $ac_status); }; }; then 6052 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6053 (exit $ac_status); } && { 6054 test -z "$ac_c_werror_flag" || 6055 test ! -s conftest.err 6056 } && test -s conftest.$ac_objext; then 4978 6057 eval "$as_ac_Header=yes" 4979 6058 else 4980 echo "$as_me: failed program was:" >&56059 $as_echo "$as_me: failed program was:" >&5 4981 6060 sed 's/^/| /' conftest.$ac_ext >&5 4982 6061 4983 eval "$as_ac_Header=no" 4984 fi 4985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4986 fi 4987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4988 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4989 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6062 eval "$as_ac_Header=no" 6063 fi 6064 6065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6066 fi 6067 ac_res=`eval 'as_val=${'$as_ac_Header'} 6068 $as_echo "$as_val"'` 6069 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6070 $as_echo "$ac_res" >&6; } 6071 as_val=`eval 'as_val=${'$as_ac_Header'} 6072 $as_echo "$as_val"'` 6073 if test "x$as_val" = x""yes; then 4990 6074 cat >>confdefs.h <<_ACEOF 4991 #define ` echo "HAVE_$ac_hdr" | $as_tr_cpp` 16075 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 4992 6076 _ACEOF 4993 6077 … … 4998 6082 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 4999 6083 if test $ac_header_dirent = dirent.h; then 5000 echo "$as_me:$LINENO: checking for library containing opendir" >&55001 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 6084 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 6085 $as_echo_n "checking for library containing opendir... " >&6; } 5002 6086 if test "${ac_cv_search_opendir+set}" = set; then 5003 echo $ECHO_N "(cached) $ECHO_C" >&66087 $as_echo_n "(cached) " >&6 5004 6088 else 5005 6089 ac_func_search_save_LIBS=$LIBS 5006 ac_cv_search_opendir=no5007 6090 cat >conftest.$ac_ext <<_ACEOF 5008 6091 /* confdefs.h. */ … … 5012 6095 /* end confdefs.h. */ 5013 6096 5014 /* Override any gcc2 internal prototype to avoid an error. */ 6097 /* Override any GCC internal prototype to avoid an error. 6098 Use char because int might match the return type of a GCC 6099 builtin and then its argument prototype would still apply. */ 5015 6100 #ifdef __cplusplus 5016 6101 extern "C" 5017 6102 #endif 5018 /* We use char because int might match the return type of a gcc25019 builtin and then its argument prototype would still apply. */5020 6103 char opendir (); 5021 6104 int 5022 6105 main () 5023 6106 { 5024 opendir ();6107 return opendir (); 5025 6108 ; 5026 6109 return 0; 5027 6110 } 5028 6111 _ACEOF 5029 rm -f conftest.$ac_objext conftest$ac_exeext 5030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5031 (eval $ac_link) 2>conftest.er1 6112 for ac_lib in '' dir; do 6113 if test -z "$ac_lib"; then 6114 ac_res="none required" 6115 else 6116 ac_res=-l$ac_lib 6117 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6118 fi 6119 rm -f conftest.$ac_objext conftest$ac_exeext 6120 if { (ac_try="$ac_link" 6121 case "(($ac_try" in 6122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6123 *) ac_try_echo=$ac_try;; 6124 esac 6125 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6126 $as_echo "$ac_try_echo") >&5 6127 (eval "$ac_link") 2>conftest.er1 5032 6128 ac_status=$? 5033 6129 grep -v '^ *+' conftest.er1 >conftest.err 5034 6130 rm -f conftest.er1 5035 6131 cat conftest.err >&5 5036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5037 (exit $ac_status); } && 5038 { ac_try='test -z "$ac_c_werror_flag" 5039 || test ! -s conftest.err' 5040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5041 (eval $ac_try) 2>&5 5042 ac_status=$? 5043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5044 (exit $ac_status); }; } && 5045 { ac_try='test -s conftest$ac_exeext' 5046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5047 (eval $ac_try) 2>&5 5048 ac_status=$? 5049 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5050 (exit $ac_status); }; }; then 5051 ac_cv_search_opendir="none required" 5052 else 5053 echo "$as_me: failed program was:" >&5 6132 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6133 (exit $ac_status); } && { 6134 test -z "$ac_c_werror_flag" || 6135 test ! -s conftest.err 6136 } && test -s conftest$ac_exeext && { 6137 test "$cross_compiling" = yes || 6138 $as_test_x conftest$ac_exeext 6139 }; then 6140 ac_cv_search_opendir=$ac_res 6141 else 6142 $as_echo "$as_me: failed program was:" >&5 5054 6143 sed 's/^/| /' conftest.$ac_ext >&5 5055 6144 5056 fi 5057 rm -f conftest.err conftest.$ac_objext \ 5058 conftest$ac_exeext conftest.$ac_ext 5059 if test "$ac_cv_search_opendir" = no; then 5060 for ac_lib in dir; do 5061 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5062 cat >conftest.$ac_ext <<_ACEOF 6145 6146 fi 6147 6148 rm -rf conftest.dSYM 6149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6150 conftest$ac_exeext 6151 if test "${ac_cv_search_opendir+set}" = set; then 6152 break 6153 fi 6154 done 6155 if test "${ac_cv_search_opendir+set}" = set; then 6156 : 6157 else 6158 ac_cv_search_opendir=no 6159 fi 6160 rm conftest.$ac_ext 6161 LIBS=$ac_func_search_save_LIBS 6162 fi 6163 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 6164 $as_echo "$ac_cv_search_opendir" >&6; } 6165 ac_res=$ac_cv_search_opendir 6166 if test "$ac_res" != no; then 6167 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6168 6169 fi 6170 6171 else 6172 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 6173 $as_echo_n "checking for library containing opendir... " >&6; } 6174 if test "${ac_cv_search_opendir+set}" = set; then 6175 $as_echo_n "(cached) " >&6 6176 else 6177 ac_func_search_save_LIBS=$LIBS 6178 cat >conftest.$ac_ext <<_ACEOF 5063 6179 /* confdefs.h. */ 5064 6180 _ACEOF … … 5067 6183 /* end confdefs.h. */ 5068 6184 5069 /* Override any gcc2 internal prototype to avoid an error. */ 6185 /* Override any GCC internal prototype to avoid an error. 6186 Use char because int might match the return type of a GCC 6187 builtin and then its argument prototype would still apply. */ 5070 6188 #ifdef __cplusplus 5071 6189 extern "C" 5072 6190 #endif 5073 /* We use char because int might match the return type of a gcc25074 builtin and then its argument prototype would still apply. */5075 6191 char opendir (); 5076 6192 int 5077 6193 main () 5078 6194 { 5079 opendir ();6195 return opendir (); 5080 6196 ; 5081 6197 return 0; 5082 6198 } 5083 6199 _ACEOF 5084 rm -f conftest.$ac_objext conftest$ac_exeext 5085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5086 (eval $ac_link) 2>conftest.er1 6200 for ac_lib in '' x; do 6201 if test -z "$ac_lib"; then 6202 ac_res="none required" 6203 else 6204 ac_res=-l$ac_lib 6205 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6206 fi 6207 rm -f conftest.$ac_objext conftest$ac_exeext 6208 if { (ac_try="$ac_link" 6209 case "(($ac_try" in 6210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6211 *) ac_try_echo=$ac_try;; 6212 esac 6213 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6214 $as_echo "$ac_try_echo") >&5 6215 (eval "$ac_link") 2>conftest.er1 5087 6216 ac_status=$? 5088 6217 grep -v '^ *+' conftest.er1 >conftest.err 5089 6218 rm -f conftest.er1 5090 6219 cat conftest.err >&5 5091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5092 (exit $ac_status); } && 5093 { ac_try='test -z "$ac_c_werror_flag" 5094 || test ! -s conftest.err' 5095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5096 (eval $ac_try) 2>&5 5097 ac_status=$? 5098 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5099 (exit $ac_status); }; } && 5100 { ac_try='test -s conftest$ac_exeext' 5101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5102 (eval $ac_try) 2>&5 5103 ac_status=$? 5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5105 (exit $ac_status); }; }; then 5106 ac_cv_search_opendir="-l$ac_lib" 5107 break 5108 else 5109 echo "$as_me: failed program was:" >&5 6220 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6221 (exit $ac_status); } && { 6222 test -z "$ac_c_werror_flag" || 6223 test ! -s conftest.err 6224 } && test -s conftest$ac_exeext && { 6225 test "$cross_compiling" = yes || 6226 $as_test_x conftest$ac_exeext 6227 }; then 6228 ac_cv_search_opendir=$ac_res 6229 else 6230 $as_echo "$as_me: failed program was:" >&5 5110 6231 sed 's/^/| /' conftest.$ac_ext >&5 5111 6232 5112 fi 5113 rm -f conftest.err conftest.$ac_objext \ 5114 conftest$ac_exeext conftest.$ac_ext 5115 done 5116 fi 6233 6234 fi 6235 6236 rm -rf conftest.dSYM 6237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6238 conftest$ac_exeext 6239 if test "${ac_cv_search_opendir+set}" = set; then 6240 break 6241 fi 6242 done 6243 if test "${ac_cv_search_opendir+set}" = set; then 6244 : 6245 else 6246 ac_cv_search_opendir=no 6247 fi 6248 rm conftest.$ac_ext 5117 6249 LIBS=$ac_func_search_save_LIBS 5118 6250 fi 5119 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5120 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5121 if test "$ac_cv_search_opendir" != no; then 5122 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5123 5124 fi 5125 5126 else 5127 echo "$as_me:$LINENO: checking for library containing opendir" >&5 5128 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5129 if test "${ac_cv_search_opendir+set}" = set; then 5130 echo $ECHO_N "(cached) $ECHO_C" >&6 5131 else 5132 ac_func_search_save_LIBS=$LIBS 5133 ac_cv_search_opendir=no 5134 cat >conftest.$ac_ext <<_ACEOF 5135 /* confdefs.h. */ 5136 _ACEOF 5137 cat confdefs.h >>conftest.$ac_ext 5138 cat >>conftest.$ac_ext <<_ACEOF 5139 /* end confdefs.h. */ 5140 5141 /* Override any gcc2 internal prototype to avoid an error. */ 5142 #ifdef __cplusplus 5143 extern "C" 5144 #endif 5145 /* We use char because int might match the return type of a gcc2 5146 builtin and then its argument prototype would still apply. */ 5147 char opendir (); 5148 int 5149 main () 5150 { 5151 opendir (); 5152 ; 5153 return 0; 5154 } 5155 _ACEOF 5156 rm -f conftest.$ac_objext conftest$ac_exeext 5157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5158 (eval $ac_link) 2>conftest.er1 5159 ac_status=$? 5160 grep -v '^ *+' conftest.er1 >conftest.err 5161 rm -f conftest.er1 5162 cat conftest.err >&5 5163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5164 (exit $ac_status); } && 5165 { ac_try='test -z "$ac_c_werror_flag" 5166 || test ! -s conftest.err' 5167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5168 (eval $ac_try) 2>&5 5169 ac_status=$? 5170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5171 (exit $ac_status); }; } && 5172 { ac_try='test -s conftest$ac_exeext' 5173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5174 (eval $ac_try) 2>&5 5175 ac_status=$? 5176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5177 (exit $ac_status); }; }; then 5178 ac_cv_search_opendir="none required" 5179 else 5180 echo "$as_me: failed program was:" >&5 5181 sed 's/^/| /' conftest.$ac_ext >&5 5182 5183 fi 5184 rm -f conftest.err conftest.$ac_objext \ 5185 conftest$ac_exeext conftest.$ac_ext 5186 if test "$ac_cv_search_opendir" = no; then 5187 for ac_lib in x; do 5188 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5189 cat >conftest.$ac_ext <<_ACEOF 5190 /* confdefs.h. */ 5191 _ACEOF 5192 cat confdefs.h >>conftest.$ac_ext 5193 cat >>conftest.$ac_ext <<_ACEOF 5194 /* end confdefs.h. */ 5195 5196 /* Override any gcc2 internal prototype to avoid an error. */ 5197 #ifdef __cplusplus 5198 extern "C" 5199 #endif 5200 /* We use char because int might match the return type of a gcc2 5201 builtin and then its argument prototype would still apply. */ 5202 char opendir (); 5203 int 5204 main () 5205 { 5206 opendir (); 5207 ; 5208 return 0; 5209 } 5210 _ACEOF 5211 rm -f conftest.$ac_objext conftest$ac_exeext 5212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5213 (eval $ac_link) 2>conftest.er1 5214 ac_status=$? 5215 grep -v '^ *+' conftest.er1 >conftest.err 5216 rm -f conftest.er1 5217 cat conftest.err >&5 5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5219 (exit $ac_status); } && 5220 { ac_try='test -z "$ac_c_werror_flag" 5221 || test ! -s conftest.err' 5222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5223 (eval $ac_try) 2>&5 5224 ac_status=$? 5225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5226 (exit $ac_status); }; } && 5227 { ac_try='test -s conftest$ac_exeext' 5228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5229 (eval $ac_try) 2>&5 5230 ac_status=$? 5231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5232 (exit $ac_status); }; }; then 5233 ac_cv_search_opendir="-l$ac_lib" 5234 break 5235 else 5236 echo "$as_me: failed program was:" >&5 5237 sed 's/^/| /' conftest.$ac_ext >&5 5238 5239 fi 5240 rm -f conftest.err conftest.$ac_objext \ 5241 conftest$ac_exeext conftest.$ac_ext 5242 done 5243 fi 5244 LIBS=$ac_func_search_save_LIBS 5245 fi 5246 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5247 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5248 if test "$ac_cv_search_opendir" != no; then 5249 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5250 5251 fi 5252 5253 fi 5254 5255 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5256 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6251 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 6252 $as_echo "$ac_cv_search_opendir" >&6; } 6253 ac_res=$ac_cv_search_opendir 6254 if test "$ac_res" != no; then 6255 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6256 6257 fi 6258 6259 fi 6260 6261 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6262 $as_echo_n "checking for ANSI C header files... " >&6; } 5257 6263 if test "${ac_cv_header_stdc+set}" = set; then 5258 echo $ECHO_N "(cached) $ECHO_C" >&66264 $as_echo_n "(cached) " >&6 5259 6265 else 5260 6266 cat >conftest.$ac_ext <<_ACEOF … … 5278 6284 _ACEOF 5279 6285 rm -f conftest.$ac_objext 5280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5281 (eval $ac_compile) 2>conftest.er1 6286 if { (ac_try="$ac_compile" 6287 case "(($ac_try" in 6288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6289 *) ac_try_echo=$ac_try;; 6290 esac 6291 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6292 $as_echo "$ac_try_echo") >&5 6293 (eval "$ac_compile") 2>conftest.er1 5282 6294 ac_status=$? 5283 6295 grep -v '^ *+' conftest.er1 >conftest.err 5284 6296 rm -f conftest.er1 5285 6297 cat conftest.err >&5 5286 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5287 (exit $ac_status); } && 5288 { ac_try='test -z "$ac_c_werror_flag" 5289 || test ! -s conftest.err' 5290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5291 (eval $ac_try) 2>&5 5292 ac_status=$? 5293 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5294 (exit $ac_status); }; } && 5295 { ac_try='test -s conftest.$ac_objext' 5296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5297 (eval $ac_try) 2>&5 5298 ac_status=$? 5299 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5300 (exit $ac_status); }; }; then 6298 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6299 (exit $ac_status); } && { 6300 test -z "$ac_c_werror_flag" || 6301 test ! -s conftest.err 6302 } && test -s conftest.$ac_objext; then 5301 6303 ac_cv_header_stdc=yes 5302 6304 else 5303 echo "$as_me: failed program was:" >&56305 $as_echo "$as_me: failed program was:" >&5 5304 6306 sed 's/^/| /' conftest.$ac_ext >&5 5305 6307 5306 ac_cv_header_stdc=no 5307 fi 5308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6308 ac_cv_header_stdc=no 6309 fi 6310 6311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5309 6312 5310 6313 if test $ac_cv_header_stdc = yes; then … … 5362 6365 /* end confdefs.h. */ 5363 6366 #include <ctype.h> 6367 #include <stdlib.h> 5364 6368 #if ((' ' & 0x0FF) == 0x020) 5365 6369 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 5381 6385 if (XOR (islower (i), ISLOWER (i)) 5382 6386 || toupper (i) != TOUPPER (i)) 5383 exit(2);5384 exit (0);6387 return 2; 6388 return 0; 5385 6389 } 5386 6390 _ACEOF 5387 6391 rm -f conftest$ac_exeext 5388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5389 (eval $ac_link) 2>&5 6392 if { (ac_try="$ac_link" 6393 case "(($ac_try" in 6394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6395 *) ac_try_echo=$ac_try;; 6396 esac 6397 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6398 $as_echo "$ac_try_echo") >&5 6399 (eval "$ac_link") 2>&5 5390 6400 ac_status=$? 5391 echo "$as_me:$LINENO: \$? = $ac_status" >&56401 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5392 6402 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5394 (eval $ac_try) 2>&5 6403 { (case "(($ac_try" in 6404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6405 *) ac_try_echo=$ac_try;; 6406 esac 6407 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6408 $as_echo "$ac_try_echo") >&5 6409 (eval "$ac_try") 2>&5 5395 6410 ac_status=$? 5396 echo "$as_me:$LINENO: \$? = $ac_status" >&56411 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5397 6412 (exit $ac_status); }; }; then 5398 6413 : 5399 6414 else 5400 echo "$as_me: program exited with status $ac_status" >&55401 echo "$as_me: failed program was:" >&56415 $as_echo "$as_me: program exited with status $ac_status" >&5 6416 $as_echo "$as_me: failed program was:" >&5 5402 6417 sed 's/^/| /' conftest.$ac_ext >&5 5403 6418 … … 5405 6420 ac_cv_header_stdc=no 5406 6421 fi 5407 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5408 fi 5409 fi 5410 fi 5411 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5412 echo "${ECHO_T}$ac_cv_header_stdc" >&6 6422 rm -rf conftest.dSYM 6423 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6424 fi 6425 6426 6427 fi 6428 fi 6429 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6430 $as_echo "$ac_cv_header_stdc" >&6; } 5413 6431 if test $ac_cv_header_stdc = yes; then 5414 6432 … … 5430 6448 for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h sys/stat.h 5431 6449 do 5432 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5433 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5434 echo "$as_me:$LINENO: checking for $ac_header" >&5 5435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5436 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5437 echo $ECHO_N "(cached) $ECHO_C" >&6 5438 fi 5439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6450 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6451 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6452 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6453 $as_echo_n "checking for $ac_header... " >&6; } 6454 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6455 $as_echo_n "(cached) " >&6 6456 fi 6457 ac_res=`eval 'as_val=${'$as_ac_Header'} 6458 $as_echo "$as_val"'` 6459 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6460 $as_echo "$ac_res" >&6; } 5441 6461 else 5442 6462 # Is the header compilable? 5443 echo "$as_me:$LINENO: checking $ac_header usability" >&55444 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6463 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6464 $as_echo_n "checking $ac_header usability... " >&6; } 5445 6465 cat >conftest.$ac_ext <<_ACEOF 5446 6466 /* confdefs.h. */ … … 5453 6473 _ACEOF 5454 6474 rm -f conftest.$ac_objext 5455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5456 (eval $ac_compile) 2>conftest.er1 6475 if { (ac_try="$ac_compile" 6476 case "(($ac_try" in 6477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6478 *) ac_try_echo=$ac_try;; 6479 esac 6480 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6481 $as_echo "$ac_try_echo") >&5 6482 (eval "$ac_compile") 2>conftest.er1 5457 6483 ac_status=$? 5458 6484 grep -v '^ *+' conftest.er1 >conftest.err 5459 6485 rm -f conftest.er1 5460 6486 cat conftest.err >&5 5461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5462 (exit $ac_status); } && 5463 { ac_try='test -z "$ac_c_werror_flag" 5464 || test ! -s conftest.err' 5465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5466 (eval $ac_try) 2>&5 5467 ac_status=$? 5468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5469 (exit $ac_status); }; } && 5470 { ac_try='test -s conftest.$ac_objext' 5471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5472 (eval $ac_try) 2>&5 5473 ac_status=$? 5474 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5475 (exit $ac_status); }; }; then 6487 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6488 (exit $ac_status); } && { 6489 test -z "$ac_c_werror_flag" || 6490 test ! -s conftest.err 6491 } && test -s conftest.$ac_objext; then 5476 6492 ac_header_compiler=yes 5477 6493 else 5478 echo "$as_me: failed program was:" >&56494 $as_echo "$as_me: failed program was:" >&5 5479 6495 sed 's/^/| /' conftest.$ac_ext >&5 5480 6496 5481 ac_header_compiler=no 5482 fi 5483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5484 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5485 echo "${ECHO_T}$ac_header_compiler" >&6 6497 ac_header_compiler=no 6498 fi 6499 6500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6501 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6502 $as_echo "$ac_header_compiler" >&6; } 5486 6503 5487 6504 # Is the header present? 5488 echo "$as_me:$LINENO: checking $ac_header presence" >&55489 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6505 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6506 $as_echo_n "checking $ac_header presence... " >&6; } 5490 6507 cat >conftest.$ac_ext <<_ACEOF 5491 6508 /* confdefs.h. */ … … 5496 6513 #include <$ac_header> 5497 6514 _ACEOF 5498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5499 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6515 if { (ac_try="$ac_cpp conftest.$ac_ext" 6516 case "(($ac_try" in 6517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6518 *) ac_try_echo=$ac_try;; 6519 esac 6520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6521 $as_echo "$ac_try_echo") >&5 6522 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5500 6523 ac_status=$? 5501 6524 grep -v '^ *+' conftest.er1 >conftest.err 5502 6525 rm -f conftest.er1 5503 6526 cat conftest.err >&5 5504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5505 (exit $ac_status); } >/dev/null; then 5506 if test -s conftest.err; then 5507 ac_cpp_err=$ac_c_preproc_warn_flag 5508 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5509 else 5510 ac_cpp_err= 5511 fi 5512 else 5513 ac_cpp_err=yes 5514 fi 5515 if test -z "$ac_cpp_err"; then 6527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6528 (exit $ac_status); } >/dev/null && { 6529 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6530 test ! -s conftest.err 6531 }; then 5516 6532 ac_header_preproc=yes 5517 6533 else 5518 echo "$as_me: failed program was:" >&56534 $as_echo "$as_me: failed program was:" >&5 5519 6535 sed 's/^/| /' conftest.$ac_ext >&5 5520 6536 5521 6537 ac_header_preproc=no 5522 6538 fi 6539 5523 6540 rm -f conftest.err conftest.$ac_ext 5524 echo "$as_me:$LINENO: result: $ac_header_preproc" >&55525 echo "${ECHO_T}$ac_header_preproc" >&6 6541 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6542 $as_echo "$ac_header_preproc" >&6; } 5526 6543 5527 6544 # So? What about this header? 5528 6545 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5529 6546 yes:no: ) 5530 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&55531 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}5532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&55533 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}6547 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6548 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6549 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6550 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5534 6551 ac_header_preproc=yes 5535 6552 ;; 5536 6553 no:yes:* ) 5537 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5538 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5539 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5540 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5541 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5542 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5543 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5544 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5545 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5546 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5547 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5548 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5549 ( 5550 cat <<\_ASBOX 5551 ## ------------------------------------------ ## 5552 ## Report this to the AC_PACKAGE_NAME lists. ## 5553 ## ------------------------------------------ ## 5554 _ASBOX 5555 ) | 5556 sed "s/^/$as_me: WARNING: /" >&2 6554 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6555 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6556 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6557 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6558 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6559 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6560 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6561 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6562 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6563 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6564 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6565 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6566 5557 6567 ;; 5558 6568 esac 5559 echo "$as_me:$LINENO: checking for $ac_header" >&55560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5561 if eval "test \"\${$as_ac_Header+set}\" = set"; then5562 echo $ECHO_N "(cached) $ECHO_C" >&66569 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6570 $as_echo_n "checking for $ac_header... " >&6; } 6571 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6572 $as_echo_n "(cached) " >&6 5563 6573 else 5564 6574 eval "$as_ac_Header=\$ac_header_preproc" 5565 6575 fi 5566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5567 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5568 5569 fi 5570 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6576 ac_res=`eval 'as_val=${'$as_ac_Header'} 6577 $as_echo "$as_val"'` 6578 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6579 $as_echo "$ac_res" >&6; } 6580 6581 fi 6582 as_val=`eval 'as_val=${'$as_ac_Header'} 6583 $as_echo "$as_val"'` 6584 if test "x$as_val" = x""yes; then 5571 6585 cat >>confdefs.h <<_ACEOF 5572 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 16586 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5573 6587 _ACEOF 5574 6588 … … 5634 6648 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5635 6649 # for constant arguments. Useless! 5636 echo "$as_me:$LINENO: checking for working alloca.h" >&55637 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 6650 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 6651 $as_echo_n "checking for working alloca.h... " >&6; } 5638 6652 if test "${ac_cv_working_alloca_h+set}" = set; then 5639 echo $ECHO_N "(cached) $ECHO_C" >&66653 $as_echo_n "(cached) " >&6 5640 6654 else 5641 6655 cat >conftest.$ac_ext <<_ACEOF … … 5650 6664 { 5651 6665 char *p = (char *) alloca (2 * sizeof (int)); 6666 if (p) return 0; 5652 6667 ; 5653 6668 return 0; … … 5655 6670 _ACEOF 5656 6671 rm -f conftest.$ac_objext conftest$ac_exeext 5657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5658 (eval $ac_link) 2>conftest.er1 6672 if { (ac_try="$ac_link" 6673 case "(($ac_try" in 6674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6675 *) ac_try_echo=$ac_try;; 6676 esac 6677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6678 $as_echo "$ac_try_echo") >&5 6679 (eval "$ac_link") 2>conftest.er1 5659 6680 ac_status=$? 5660 6681 grep -v '^ *+' conftest.er1 >conftest.err 5661 6682 rm -f conftest.er1 5662 6683 cat conftest.err >&5 5663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5664 (exit $ac_status); } && 5665 { ac_try='test -z "$ac_c_werror_flag" 5666 || test ! -s conftest.err' 5667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5668 (eval $ac_try) 2>&5 5669 ac_status=$? 5670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5671 (exit $ac_status); }; } && 5672 { ac_try='test -s conftest$ac_exeext' 5673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5674 (eval $ac_try) 2>&5 5675 ac_status=$? 5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5677 (exit $ac_status); }; }; then 6684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6685 (exit $ac_status); } && { 6686 test -z "$ac_c_werror_flag" || 6687 test ! -s conftest.err 6688 } && test -s conftest$ac_exeext && { 6689 test "$cross_compiling" = yes || 6690 $as_test_x conftest$ac_exeext 6691 }; then 5678 6692 ac_cv_working_alloca_h=yes 5679 6693 else 5680 echo "$as_me: failed program was:" >&56694 $as_echo "$as_me: failed program was:" >&5 5681 6695 sed 's/^/| /' conftest.$ac_ext >&5 5682 6696 5683 ac_cv_working_alloca_h=no 5684 fi 5685 rm -f conftest.err conftest.$ac_objext \ 6697 ac_cv_working_alloca_h=no 6698 fi 6699 6700 rm -rf conftest.dSYM 6701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5686 6702 conftest$ac_exeext conftest.$ac_ext 5687 6703 fi 5688 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&55689 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 6704 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 6705 $as_echo "$ac_cv_working_alloca_h" >&6; } 5690 6706 if test $ac_cv_working_alloca_h = yes; then 5691 6707 … … 5696 6712 fi 5697 6713 5698 echo "$as_me:$LINENO: checking for alloca" >&55699 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 6714 { $as_echo "$as_me:$LINENO: checking for alloca" >&5 6715 $as_echo_n "checking for alloca... " >&6; } 5700 6716 if test "${ac_cv_func_alloca_works+set}" = set; then 5701 echo $ECHO_N "(cached) $ECHO_C" >&66717 $as_echo_n "(cached) " >&6 5702 6718 else 5703 6719 cat >conftest.$ac_ext <<_ACEOF … … 5714 6730 # define alloca _alloca 5715 6731 # else 5716 # if HAVE_ALLOCA_H6732 # ifdef HAVE_ALLOCA_H 5717 6733 # include <alloca.h> 5718 6734 # else … … 5732 6748 { 5733 6749 char *p = (char *) alloca (1); 6750 if (p) return 0; 5734 6751 ; 5735 6752 return 0; … … 5737 6754 _ACEOF 5738 6755 rm -f conftest.$ac_objext conftest$ac_exeext 5739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5740 (eval $ac_link) 2>conftest.er1 6756 if { (ac_try="$ac_link" 6757 case "(($ac_try" in 6758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6759 *) ac_try_echo=$ac_try;; 6760 esac 6761 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6762 $as_echo "$ac_try_echo") >&5 6763 (eval "$ac_link") 2>conftest.er1 5741 6764 ac_status=$? 5742 6765 grep -v '^ *+' conftest.er1 >conftest.err 5743 6766 rm -f conftest.er1 5744 6767 cat conftest.err >&5 5745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5746 (exit $ac_status); } && 5747 { ac_try='test -z "$ac_c_werror_flag" 5748 || test ! -s conftest.err' 5749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5750 (eval $ac_try) 2>&5 5751 ac_status=$? 5752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5753 (exit $ac_status); }; } && 5754 { ac_try='test -s conftest$ac_exeext' 5755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5756 (eval $ac_try) 2>&5 5757 ac_status=$? 5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5759 (exit $ac_status); }; }; then 6768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6769 (exit $ac_status); } && { 6770 test -z "$ac_c_werror_flag" || 6771 test ! -s conftest.err 6772 } && test -s conftest$ac_exeext && { 6773 test "$cross_compiling" = yes || 6774 $as_test_x conftest$ac_exeext 6775 }; then 5760 6776 ac_cv_func_alloca_works=yes 5761 6777 else 5762 echo "$as_me: failed program was:" >&56778 $as_echo "$as_me: failed program was:" >&5 5763 6779 sed 's/^/| /' conftest.$ac_ext >&5 5764 6780 5765 ac_cv_func_alloca_works=no 5766 fi 5767 rm -f conftest.err conftest.$ac_objext \ 6781 ac_cv_func_alloca_works=no 6782 fi 6783 6784 rm -rf conftest.dSYM 6785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5768 6786 conftest$ac_exeext conftest.$ac_ext 5769 6787 fi 5770 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&55771 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 6788 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 6789 $as_echo "$ac_cv_func_alloca_works" >&6; } 5772 6790 5773 6791 if test $ac_cv_func_alloca_works = yes; then … … 5783 6801 # use ar to extract alloca.o from them instead of compiling alloca.c. 5784 6802 5785 ALLOCA= alloca.$ac_objext6803 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 5786 6804 5787 6805 cat >>confdefs.h <<\_ACEOF … … 5790 6808 5791 6809 5792 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&55793 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 6810 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 6811 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 5794 6812 if test "${ac_cv_os_cray+set}" = set; then 5795 echo $ECHO_N "(cached) $ECHO_C" >&66813 $as_echo_n "(cached) " >&6 5796 6814 else 5797 6815 cat >conftest.$ac_ext <<_ACEOF … … 5801 6819 cat >>conftest.$ac_ext <<_ACEOF 5802 6820 /* end confdefs.h. */ 5803 #if defined (CRAY) && ! defined(CRAY2)6821 #if defined CRAY && ! defined CRAY2 5804 6822 webecray 5805 6823 #else … … 5817 6835 5818 6836 fi 5819 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&55820 echo "${ECHO_T}$ac_cv_os_cray" >&6 6837 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 6838 $as_echo "$ac_cv_os_cray" >&6; } 5821 6839 if test $ac_cv_os_cray = yes; then 5822 6840 for ac_func in _getb67 GETB67 getb67; do 5823 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`5824 echo "$as_me:$LINENO: checking for $ac_func" >&55825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5826 if eval "test \"\${$as_ac_var+set}\" = set"; then5827 echo $ECHO_N "(cached) $ECHO_C" >&66841 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6842 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 6843 $as_echo_n "checking for $ac_func... " >&6; } 6844 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 6845 $as_echo_n "(cached) " >&6 5828 6846 else 5829 6847 cat >conftest.$ac_ext <<_ACEOF … … 5850 6868 #undef $ac_func 5851 6869 5852 /* Override any gcc2 internal prototype to avoid an error. */ 6870 /* Override any GCC internal prototype to avoid an error. 6871 Use char because int might match the return type of a GCC 6872 builtin and then its argument prototype would still apply. */ 5853 6873 #ifdef __cplusplus 5854 6874 extern "C" 5855 {5856 6875 #endif 5857 /* We use char because int might match the return type of a gcc25858 builtin and then its argument prototype would still apply. */5859 6876 char $ac_func (); 5860 6877 /* The GNU C library defines this for functions which it implements 5861 6878 to always fail with ENOSYS. Some functions are actually named 5862 6879 something starting with __ and the normal name is an alias. */ 5863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)6880 #if defined __stub_$ac_func || defined __stub___$ac_func 5864 6881 choke me 5865 #else5866 char (*f) () = $ac_func;5867 #endif5868 #ifdef __cplusplus5869 }5870 6882 #endif 5871 6883 … … 5873 6885 main () 5874 6886 { 5875 return f != $ac_func;6887 return $ac_func (); 5876 6888 ; 5877 6889 return 0; … … 5879 6891 _ACEOF 5880 6892 rm -f conftest.$ac_objext conftest$ac_exeext 5881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5882 (eval $ac_link) 2>conftest.er1 6893 if { (ac_try="$ac_link" 6894 case "(($ac_try" in 6895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6896 *) ac_try_echo=$ac_try;; 6897 esac 6898 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6899 $as_echo "$ac_try_echo") >&5 6900 (eval "$ac_link") 2>conftest.er1 5883 6901 ac_status=$? 5884 6902 grep -v '^ *+' conftest.er1 >conftest.err 5885 6903 rm -f conftest.er1 5886 6904 cat conftest.err >&5 5887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5888 (exit $ac_status); } && 5889 { ac_try='test -z "$ac_c_werror_flag" 5890 || test ! -s conftest.err' 5891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5892 (eval $ac_try) 2>&5 5893 ac_status=$? 5894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5895 (exit $ac_status); }; } && 5896 { ac_try='test -s conftest$ac_exeext' 5897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5898 (eval $ac_try) 2>&5 5899 ac_status=$? 5900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5901 (exit $ac_status); }; }; then 6905 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6906 (exit $ac_status); } && { 6907 test -z "$ac_c_werror_flag" || 6908 test ! -s conftest.err 6909 } && test -s conftest$ac_exeext && { 6910 test "$cross_compiling" = yes || 6911 $as_test_x conftest$ac_exeext 6912 }; then 5902 6913 eval "$as_ac_var=yes" 5903 6914 else 5904 echo "$as_me: failed program was:" >&56915 $as_echo "$as_me: failed program was:" >&5 5905 6916 sed 's/^/| /' conftest.$ac_ext >&5 5906 6917 5907 eval "$as_ac_var=no" 5908 fi 5909 rm -f conftest.err conftest.$ac_objext \ 6918 eval "$as_ac_var=no" 6919 fi 6920 6921 rm -rf conftest.dSYM 6922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5910 6923 conftest$ac_exeext conftest.$ac_ext 5911 6924 fi 5912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 5913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5914 if test `eval echo '${'$as_ac_var'}'` = yes; then 6925 ac_res=`eval 'as_val=${'$as_ac_var'} 6926 $as_echo "$as_val"'` 6927 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6928 $as_echo "$ac_res" >&6; } 6929 as_val=`eval 'as_val=${'$as_ac_var'} 6930 $as_echo "$as_val"'` 6931 if test "x$as_val" = x""yes; then 5915 6932 5916 6933 cat >>confdefs.h <<_ACEOF … … 5924 6941 fi 5925 6942 5926 echo "$as_me:$LINENO: checking stack direction for C alloca" >&55927 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 6943 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 6944 $as_echo_n "checking stack direction for C alloca... " >&6; } 5928 6945 if test "${ac_cv_c_stack_direction+set}" = set; then 5929 echo $ECHO_N "(cached) $ECHO_C" >&66946 $as_echo_n "(cached) " >&6 5930 6947 else 5931 6948 if test "$cross_compiling" = yes; then … … 5938 6955 cat >>conftest.$ac_ext <<_ACEOF 5939 6956 /* end confdefs.h. */ 6957 $ac_includes_default 5940 6958 int 5941 6959 find_stack_direction () … … 5955 6973 main () 5956 6974 { 5957 exit (find_stack_direction () < 0);6975 return find_stack_direction () < 0; 5958 6976 } 5959 6977 _ACEOF 5960 6978 rm -f conftest$ac_exeext 5961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5962 (eval $ac_link) 2>&5 6979 if { (ac_try="$ac_link" 6980 case "(($ac_try" in 6981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6982 *) ac_try_echo=$ac_try;; 6983 esac 6984 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6985 $as_echo "$ac_try_echo") >&5 6986 (eval "$ac_link") 2>&5 5963 6987 ac_status=$? 5964 echo "$as_me:$LINENO: \$? = $ac_status" >&56988 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5965 6989 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5967 (eval $ac_try) 2>&5 6990 { (case "(($ac_try" in 6991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6992 *) ac_try_echo=$ac_try;; 6993 esac 6994 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6995 $as_echo "$ac_try_echo") >&5 6996 (eval "$ac_try") 2>&5 5968 6997 ac_status=$? 5969 echo "$as_me:$LINENO: \$? = $ac_status" >&56998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5970 6999 (exit $ac_status); }; }; then 5971 7000 ac_cv_c_stack_direction=1 5972 7001 else 5973 echo "$as_me: program exited with status $ac_status" >&55974 echo "$as_me: failed program was:" >&57002 $as_echo "$as_me: program exited with status $ac_status" >&5 7003 $as_echo "$as_me: failed program was:" >&5 5975 7004 sed 's/^/| /' conftest.$ac_ext >&5 5976 7005 … … 5978 7007 ac_cv_c_stack_direction=-1 5979 7008 fi 5980 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5981 fi 5982 fi 5983 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 5984 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 7009 rm -rf conftest.dSYM 7010 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7011 fi 7012 7013 7014 fi 7015 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 7016 $as_echo "$ac_cv_c_stack_direction" >&6; } 5985 7017 5986 7018 cat >>confdefs.h <<_ACEOF … … 5992 7024 5993 7025 if test $ac_cv_c_compiler_gnu = yes; then 5994 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&55995 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 7026 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 7027 $as_echo_n "checking whether $CC needs -traditional... " >&6; } 5996 7028 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 5997 echo $ECHO_N "(cached) $ECHO_C" >&67029 $as_echo_n "(cached) " >&6 5998 7030 else 5999 7031 ac_pattern="Autoconf.*'x'" … … 6034 7066 fi 6035 7067 fi 6036 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&56037 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 7068 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 7069 $as_echo "$ac_cv_prog_gcc_traditional" >&6; } 6038 7070 if test $ac_cv_prog_gcc_traditional = yes; then 6039 7071 CC="$CC -traditional" … … 6041 7073 fi 6042 7074 6043 echo "$as_me:$LINENO: checking return type of signal handlers" >&56044 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 7075 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 7076 $as_echo_n "checking return type of signal handlers... " >&6; } 6045 7077 if test "${ac_cv_type_signal+set}" = set; then 6046 echo $ECHO_N "(cached) $ECHO_C" >&67078 $as_echo_n "(cached) " >&6 6047 7079 else 6048 7080 cat >conftest.$ac_ext <<_ACEOF … … 6054 7086 #include <sys/types.h> 6055 7087 #include <signal.h> 6056 #ifdef signal6057 # undef signal6058 #endif6059 #ifdef __cplusplus6060 extern "C" void (*signal (int, void (*)(int)))(int);6061 #else6062 void (*signal ()) ();6063 #endif6064 7088 6065 7089 int 6066 7090 main () 6067 7091 { 6068 int i;7092 return *(signal (0, 0)) (0) == 1; 6069 7093 ; 6070 7094 return 0; … … 6072 7096 _ACEOF 6073 7097 rm -f conftest.$ac_objext 6074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6075 (eval $ac_compile) 2>conftest.er1 7098 if { (ac_try="$ac_compile" 7099 case "(($ac_try" in 7100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7101 *) ac_try_echo=$ac_try;; 7102 esac 7103 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7104 $as_echo "$ac_try_echo") >&5 7105 (eval "$ac_compile") 2>conftest.er1 6076 7106 ac_status=$? 6077 7107 grep -v '^ *+' conftest.er1 >conftest.err 6078 7108 rm -f conftest.er1 6079 7109 cat conftest.err >&5 6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6081 (exit $ac_status); } && 6082 { ac_try='test -z "$ac_c_werror_flag" 6083 || test ! -s conftest.err' 6084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6085 (eval $ac_try) 2>&5 6086 ac_status=$? 6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6088 (exit $ac_status); }; } && 6089 { ac_try='test -s conftest.$ac_objext' 6090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6091 (eval $ac_try) 2>&5 6092 ac_status=$? 6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6094 (exit $ac_status); }; }; then 6095 ac_cv_type_signal=void 6096 else 6097 echo "$as_me: failed program was:" >&5 7110 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7111 (exit $ac_status); } && { 7112 test -z "$ac_c_werror_flag" || 7113 test ! -s conftest.err 7114 } && test -s conftest.$ac_objext; then 7115 ac_cv_type_signal=int 7116 else 7117 $as_echo "$as_me: failed program was:" >&5 6098 7118 sed 's/^/| /' conftest.$ac_ext >&5 6099 7119 6100 ac_cv_type_signal=int 6101 fi 6102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6103 fi 6104 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 6105 echo "${ECHO_T}$ac_cv_type_signal" >&6 7120 ac_cv_type_signal=void 7121 fi 7122 7123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7124 fi 7125 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 7126 $as_echo "$ac_cv_type_signal" >&6; } 6106 7127 6107 7128 cat >>confdefs.h <<_ACEOF … … 6113 7134 for ac_func in vprintf 6114 7135 do 6115 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6116 echo "$as_me:$LINENO: checking for $ac_func" >&56117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6118 if eval "test \"\${$as_ac_var+set}\" = set"; then6119 echo $ECHO_N "(cached) $ECHO_C" >&67136 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7137 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7138 $as_echo_n "checking for $ac_func... " >&6; } 7139 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7140 $as_echo_n "(cached) " >&6 6120 7141 else 6121 7142 cat >conftest.$ac_ext <<_ACEOF … … 6142 7163 #undef $ac_func 6143 7164 6144 /* Override any gcc2 internal prototype to avoid an error. */ 7165 /* Override any GCC internal prototype to avoid an error. 7166 Use char because int might match the return type of a GCC 7167 builtin and then its argument prototype would still apply. */ 6145 7168 #ifdef __cplusplus 6146 7169 extern "C" 6147 {6148 7170 #endif 6149 /* We use char because int might match the return type of a gcc26150 builtin and then its argument prototype would still apply. */6151 7171 char $ac_func (); 6152 7172 /* The GNU C library defines this for functions which it implements 6153 7173 to always fail with ENOSYS. Some functions are actually named 6154 7174 something starting with __ and the normal name is an alias. */ 6155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7175 #if defined __stub_$ac_func || defined __stub___$ac_func 6156 7176 choke me 6157 #else6158 char (*f) () = $ac_func;6159 #endif6160 #ifdef __cplusplus6161 }6162 7177 #endif 6163 7178 … … 6165 7180 main () 6166 7181 { 6167 return f != $ac_func;7182 return $ac_func (); 6168 7183 ; 6169 7184 return 0; … … 6171 7186 _ACEOF 6172 7187 rm -f conftest.$ac_objext conftest$ac_exeext 6173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6174 (eval $ac_link) 2>conftest.er1 7188 if { (ac_try="$ac_link" 7189 case "(($ac_try" in 7190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7191 *) ac_try_echo=$ac_try;; 7192 esac 7193 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7194 $as_echo "$ac_try_echo") >&5 7195 (eval "$ac_link") 2>conftest.er1 6175 7196 ac_status=$? 6176 7197 grep -v '^ *+' conftest.er1 >conftest.err 6177 7198 rm -f conftest.er1 6178 7199 cat conftest.err >&5 6179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6180 (exit $ac_status); } && 6181 { ac_try='test -z "$ac_c_werror_flag" 6182 || test ! -s conftest.err' 6183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6184 (eval $ac_try) 2>&5 6185 ac_status=$? 6186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6187 (exit $ac_status); }; } && 6188 { ac_try='test -s conftest$ac_exeext' 6189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6190 (eval $ac_try) 2>&5 6191 ac_status=$? 6192 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6193 (exit $ac_status); }; }; then 7200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7201 (exit $ac_status); } && { 7202 test -z "$ac_c_werror_flag" || 7203 test ! -s conftest.err 7204 } && test -s conftest$ac_exeext && { 7205 test "$cross_compiling" = yes || 7206 $as_test_x conftest$ac_exeext 7207 }; then 6194 7208 eval "$as_ac_var=yes" 6195 7209 else 6196 echo "$as_me: failed program was:" >&57210 $as_echo "$as_me: failed program was:" >&5 6197 7211 sed 's/^/| /' conftest.$ac_ext >&5 6198 7212 6199 eval "$as_ac_var=no" 6200 fi 6201 rm -f conftest.err conftest.$ac_objext \ 7213 eval "$as_ac_var=no" 7214 fi 7215 7216 rm -rf conftest.dSYM 7217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6202 7218 conftest$ac_exeext conftest.$ac_ext 6203 7219 fi 6204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6206 if test `eval echo '${'$as_ac_var'}'` = yes; then 7220 ac_res=`eval 'as_val=${'$as_ac_var'} 7221 $as_echo "$as_val"'` 7222 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7223 $as_echo "$ac_res" >&6; } 7224 as_val=`eval 'as_val=${'$as_ac_var'} 7225 $as_echo "$as_val"'` 7226 if test "x$as_val" = x""yes; then 6207 7227 cat >>confdefs.h <<_ACEOF 6208 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 16209 _ACEOF 6210 6211 echo "$as_me:$LINENO: checking for _doprnt" >&56212 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 7228 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7229 _ACEOF 7230 7231 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5 7232 $as_echo_n "checking for _doprnt... " >&6; } 6213 7233 if test "${ac_cv_func__doprnt+set}" = set; then 6214 echo $ECHO_N "(cached) $ECHO_C" >&67234 $as_echo_n "(cached) " >&6 6215 7235 else 6216 7236 cat >conftest.$ac_ext <<_ACEOF … … 6237 7257 #undef _doprnt 6238 7258 6239 /* Override any gcc2 internal prototype to avoid an error. */ 7259 /* Override any GCC internal prototype to avoid an error. 7260 Use char because int might match the return type of a GCC 7261 builtin and then its argument prototype would still apply. */ 6240 7262 #ifdef __cplusplus 6241 7263 extern "C" 6242 {6243 7264 #endif 6244 /* We use char because int might match the return type of a gcc26245 builtin and then its argument prototype would still apply. */6246 7265 char _doprnt (); 6247 7266 /* The GNU C library defines this for functions which it implements 6248 7267 to always fail with ENOSYS. Some functions are actually named 6249 7268 something starting with __ and the normal name is an alias. */ 6250 #if defined (__stub__doprnt) || defined (__stub____doprnt)7269 #if defined __stub__doprnt || defined __stub____doprnt 6251 7270 choke me 6252 #else6253 char (*f) () = _doprnt;6254 #endif6255 #ifdef __cplusplus6256 }6257 7271 #endif 6258 7272 … … 6260 7274 main () 6261 7275 { 6262 return f != _doprnt;7276 return _doprnt (); 6263 7277 ; 6264 7278 return 0; … … 6266 7280 _ACEOF 6267 7281 rm -f conftest.$ac_objext conftest$ac_exeext 6268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6269 (eval $ac_link) 2>conftest.er1 7282 if { (ac_try="$ac_link" 7283 case "(($ac_try" in 7284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7285 *) ac_try_echo=$ac_try;; 7286 esac 7287 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7288 $as_echo "$ac_try_echo") >&5 7289 (eval "$ac_link") 2>conftest.er1 6270 7290 ac_status=$? 6271 7291 grep -v '^ *+' conftest.er1 >conftest.err 6272 7292 rm -f conftest.er1 6273 7293 cat conftest.err >&5 6274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6275 (exit $ac_status); } && 6276 { ac_try='test -z "$ac_c_werror_flag" 6277 || test ! -s conftest.err' 6278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6279 (eval $ac_try) 2>&5 6280 ac_status=$? 6281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6282 (exit $ac_status); }; } && 6283 { ac_try='test -s conftest$ac_exeext' 6284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6285 (eval $ac_try) 2>&5 6286 ac_status=$? 6287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6288 (exit $ac_status); }; }; then 7294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7295 (exit $ac_status); } && { 7296 test -z "$ac_c_werror_flag" || 7297 test ! -s conftest.err 7298 } && test -s conftest$ac_exeext && { 7299 test "$cross_compiling" = yes || 7300 $as_test_x conftest$ac_exeext 7301 }; then 6289 7302 ac_cv_func__doprnt=yes 6290 7303 else 6291 echo "$as_me: failed program was:" >&57304 $as_echo "$as_me: failed program was:" >&5 6292 7305 sed 's/^/| /' conftest.$ac_ext >&5 6293 7306 6294 ac_cv_func__doprnt=no 6295 fi 6296 rm -f conftest.err conftest.$ac_objext \ 7307 ac_cv_func__doprnt=no 7308 fi 7309 7310 rm -rf conftest.dSYM 7311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6297 7312 conftest$ac_exeext conftest.$ac_ext 6298 7313 fi 6299 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&56300 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 6301 if test $ac_cv_func__doprnt =yes; then7314 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 7315 $as_echo "$ac_cv_func__doprnt" >&6; } 7316 if test "x$ac_cv_func__doprnt" = x""yes; then 6302 7317 6303 7318 cat >>confdefs.h <<\_ACEOF … … 6323 7338 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror 6324 7339 do 6325 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6326 echo "$as_me:$LINENO: checking for $ac_func" >&56327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6328 if eval "test \"\${$as_ac_var+set}\" = set"; then6329 echo $ECHO_N "(cached) $ECHO_C" >&67340 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7341 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7342 $as_echo_n "checking for $ac_func... " >&6; } 7343 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7344 $as_echo_n "(cached) " >&6 6330 7345 else 6331 7346 cat >conftest.$ac_ext <<_ACEOF … … 6352 7367 #undef $ac_func 6353 7368 6354 /* Override any gcc2 internal prototype to avoid an error. */ 7369 /* Override any GCC internal prototype to avoid an error. 7370 Use char because int might match the return type of a GCC 7371 builtin and then its argument prototype would still apply. */ 6355 7372 #ifdef __cplusplus 6356 7373 extern "C" 6357 {6358 7374 #endif 6359 /* We use char because int might match the return type of a gcc26360 builtin and then its argument prototype would still apply. */6361 7375 char $ac_func (); 6362 7376 /* The GNU C library defines this for functions which it implements 6363 7377 to always fail with ENOSYS. Some functions are actually named 6364 7378 something starting with __ and the normal name is an alias. */ 6365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7379 #if defined __stub_$ac_func || defined __stub___$ac_func 6366 7380 choke me 6367 #else6368 char (*f) () = $ac_func;6369 #endif6370 #ifdef __cplusplus6371 }6372 7381 #endif 6373 7382 … … 6375 7384 main () 6376 7385 { 6377 return f != $ac_func;7386 return $ac_func (); 6378 7387 ; 6379 7388 return 0; … … 6381 7390 _ACEOF 6382 7391 rm -f conftest.$ac_objext conftest$ac_exeext 6383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6384 (eval $ac_link) 2>conftest.er1 7392 if { (ac_try="$ac_link" 7393 case "(($ac_try" in 7394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7395 *) ac_try_echo=$ac_try;; 7396 esac 7397 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7398 $as_echo "$ac_try_echo") >&5 7399 (eval "$ac_link") 2>conftest.er1 6385 7400 ac_status=$? 6386 7401 grep -v '^ *+' conftest.er1 >conftest.err 6387 7402 rm -f conftest.er1 6388 7403 cat conftest.err >&5 6389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6390 (exit $ac_status); } && 6391 { ac_try='test -z "$ac_c_werror_flag" 6392 || test ! -s conftest.err' 6393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6394 (eval $ac_try) 2>&5 6395 ac_status=$? 6396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6397 (exit $ac_status); }; } && 6398 { ac_try='test -s conftest$ac_exeext' 6399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6400 (eval $ac_try) 2>&5 6401 ac_status=$? 6402 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6403 (exit $ac_status); }; }; then 7404 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7405 (exit $ac_status); } && { 7406 test -z "$ac_c_werror_flag" || 7407 test ! -s conftest.err 7408 } && test -s conftest$ac_exeext && { 7409 test "$cross_compiling" = yes || 7410 $as_test_x conftest$ac_exeext 7411 }; then 6404 7412 eval "$as_ac_var=yes" 6405 7413 else 6406 echo "$as_me: failed program was:" >&57414 $as_echo "$as_me: failed program was:" >&5 6407 7415 sed 's/^/| /' conftest.$ac_ext >&5 6408 7416 6409 eval "$as_ac_var=no" 6410 fi 6411 rm -f conftest.err conftest.$ac_objext \ 7417 eval "$as_ac_var=no" 7418 fi 7419 7420 rm -rf conftest.dSYM 7421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6412 7422 conftest$ac_exeext conftest.$ac_ext 6413 7423 fi 6414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6416 if test `eval echo '${'$as_ac_var'}'` = yes; then 7424 ac_res=`eval 'as_val=${'$as_ac_var'} 7425 $as_echo "$as_val"'` 7426 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7427 $as_echo "$ac_res" >&6; } 7428 as_val=`eval 'as_val=${'$as_ac_var'} 7429 $as_echo "$as_val"'` 7430 if test "x$as_val" = x""yes; then 6417 7431 cat >>confdefs.h <<_ACEOF 6418 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 17432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6419 7433 _ACEOF 6420 7434 … … 6427 7441 for ac_func in ftruncate strstr strcasecmp 6428 7442 do 6429 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6430 echo "$as_me:$LINENO: checking for $ac_func" >&56431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6432 if eval "test \"\${$as_ac_var+set}\" = set"; then6433 echo $ECHO_N "(cached) $ECHO_C" >&67443 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7444 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7445 $as_echo_n "checking for $ac_func... " >&6; } 7446 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7447 $as_echo_n "(cached) " >&6 6434 7448 else 6435 7449 cat >conftest.$ac_ext <<_ACEOF … … 6456 7470 #undef $ac_func 6457 7471 6458 /* Override any gcc2 internal prototype to avoid an error. */ 7472 /* Override any GCC internal prototype to avoid an error. 7473 Use char because int might match the return type of a GCC 7474 builtin and then its argument prototype would still apply. */ 6459 7475 #ifdef __cplusplus 6460 7476 extern "C" 6461 {6462 7477 #endif 6463 /* We use char because int might match the return type of a gcc26464 builtin and then its argument prototype would still apply. */6465 7478 char $ac_func (); 6466 7479 /* The GNU C library defines this for functions which it implements 6467 7480 to always fail with ENOSYS. Some functions are actually named 6468 7481 something starting with __ and the normal name is an alias. */ 6469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7482 #if defined __stub_$ac_func || defined __stub___$ac_func 6470 7483 choke me 6471 #else6472 char (*f) () = $ac_func;6473 #endif6474 #ifdef __cplusplus6475 }6476 7484 #endif 6477 7485 … … 6479 7487 main () 6480 7488 { 6481 return f != $ac_func;7489 return $ac_func (); 6482 7490 ; 6483 7491 return 0; … … 6485 7493 _ACEOF 6486 7494 rm -f conftest.$ac_objext conftest$ac_exeext 6487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6488 (eval $ac_link) 2>conftest.er1 7495 if { (ac_try="$ac_link" 7496 case "(($ac_try" in 7497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7498 *) ac_try_echo=$ac_try;; 7499 esac 7500 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7501 $as_echo "$ac_try_echo") >&5 7502 (eval "$ac_link") 2>conftest.er1 6489 7503 ac_status=$? 6490 7504 grep -v '^ *+' conftest.er1 >conftest.err 6491 7505 rm -f conftest.er1 6492 7506 cat conftest.err >&5 6493 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6494 (exit $ac_status); } && 6495 { ac_try='test -z "$ac_c_werror_flag" 6496 || test ! -s conftest.err' 6497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6498 (eval $ac_try) 2>&5 6499 ac_status=$? 6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6501 (exit $ac_status); }; } && 6502 { ac_try='test -s conftest$ac_exeext' 6503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6504 (eval $ac_try) 2>&5 6505 ac_status=$? 6506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6507 (exit $ac_status); }; }; then 7507 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7508 (exit $ac_status); } && { 7509 test -z "$ac_c_werror_flag" || 7510 test ! -s conftest.err 7511 } && test -s conftest$ac_exeext && { 7512 test "$cross_compiling" = yes || 7513 $as_test_x conftest$ac_exeext 7514 }; then 6508 7515 eval "$as_ac_var=yes" 6509 7516 else 6510 echo "$as_me: failed program was:" >&57517 $as_echo "$as_me: failed program was:" >&5 6511 7518 sed 's/^/| /' conftest.$ac_ext >&5 6512 7519 6513 eval "$as_ac_var=no" 6514 fi 6515 rm -f conftest.err conftest.$ac_objext \ 7520 eval "$as_ac_var=no" 7521 fi 7522 7523 rm -rf conftest.dSYM 7524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6516 7525 conftest$ac_exeext conftest.$ac_ext 6517 7526 fi 6518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6520 if test `eval echo '${'$as_ac_var'}'` = yes; then 7527 ac_res=`eval 'as_val=${'$as_ac_var'} 7528 $as_echo "$as_val"'` 7529 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7530 $as_echo "$ac_res" >&6; } 7531 as_val=`eval 'as_val=${'$as_ac_var'} 7532 $as_echo "$as_val"'` 7533 if test "x$as_val" = x""yes; then 6521 7534 cat >>confdefs.h <<_ACEOF 6522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6523 _ACEOF 6524 6525 else 6526 case $LIBOBJS in 6527 "$ac_func.$ac_objext" | \ 6528 *" $ac_func.$ac_objext" | \ 6529 "$ac_func.$ac_objext "* | \ 7535 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7536 _ACEOF 7537 7538 else 7539 case " $LIBOBJS " in 6530 7540 *" $ac_func.$ac_objext "* ) ;; 6531 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; 7541 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 7542 ;; 6532 7543 esac 6533 7544 … … 6537 7548 6538 7549 6539 echo "$as_me:$LINENO: checking for textdomain" >&56540 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6 7550 { $as_echo "$as_me:$LINENO: checking for textdomain" >&5 7551 $as_echo_n "checking for textdomain... " >&6; } 6541 7552 if test "${ac_cv_func_textdomain+set}" = set; then 6542 echo $ECHO_N "(cached) $ECHO_C" >&67553 $as_echo_n "(cached) " >&6 6543 7554 else 6544 7555 cat >conftest.$ac_ext <<_ACEOF … … 6565 7576 #undef textdomain 6566 7577 6567 /* Override any gcc2 internal prototype to avoid an error. */ 7578 /* Override any GCC internal prototype to avoid an error. 7579 Use char because int might match the return type of a GCC 7580 builtin and then its argument prototype would still apply. */ 6568 7581 #ifdef __cplusplus 6569 7582 extern "C" 6570 {6571 7583 #endif 6572 /* We use char because int might match the return type of a gcc26573 builtin and then its argument prototype would still apply. */6574 7584 char textdomain (); 6575 7585 /* The GNU C library defines this for functions which it implements 6576 7586 to always fail with ENOSYS. Some functions are actually named 6577 7587 something starting with __ and the normal name is an alias. */ 6578 #if defined (__stub_textdomain) || defined (__stub___textdomain)7588 #if defined __stub_textdomain || defined __stub___textdomain 6579 7589 choke me 6580 #else6581 char (*f) () = textdomain;6582 #endif6583 #ifdef __cplusplus6584 }6585 7590 #endif 6586 7591 … … 6588 7593 main () 6589 7594 { 6590 return f != textdomain;7595 return textdomain (); 6591 7596 ; 6592 7597 return 0; … … 6594 7599 _ACEOF 6595 7600 rm -f conftest.$ac_objext conftest$ac_exeext 6596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6597 (eval $ac_link) 2>conftest.er1 7601 if { (ac_try="$ac_link" 7602 case "(($ac_try" in 7603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7604 *) ac_try_echo=$ac_try;; 7605 esac 7606 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7607 $as_echo "$ac_try_echo") >&5 7608 (eval "$ac_link") 2>conftest.er1 6598 7609 ac_status=$? 6599 7610 grep -v '^ *+' conftest.er1 >conftest.err 6600 7611 rm -f conftest.er1 6601 7612 cat conftest.err >&5 6602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6603 (exit $ac_status); } && 6604 { ac_try='test -z "$ac_c_werror_flag" 6605 || test ! -s conftest.err' 6606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6607 (eval $ac_try) 2>&5 6608 ac_status=$? 6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6610 (exit $ac_status); }; } && 6611 { ac_try='test -s conftest$ac_exeext' 6612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6613 (eval $ac_try) 2>&5 6614 ac_status=$? 6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6616 (exit $ac_status); }; }; then 7613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7614 (exit $ac_status); } && { 7615 test -z "$ac_c_werror_flag" || 7616 test ! -s conftest.err 7617 } && test -s conftest$ac_exeext && { 7618 test "$cross_compiling" = yes || 7619 $as_test_x conftest$ac_exeext 7620 }; then 6617 7621 ac_cv_func_textdomain=yes 6618 7622 else 6619 echo "$as_me: failed program was:" >&57623 $as_echo "$as_me: failed program was:" >&5 6620 7624 sed 's/^/| /' conftest.$ac_ext >&5 6621 7625 6622 ac_cv_func_textdomain=no 6623 fi 6624 rm -f conftest.err conftest.$ac_objext \ 7626 ac_cv_func_textdomain=no 7627 fi 7628 7629 rm -rf conftest.dSYM 7630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6625 7631 conftest$ac_exeext conftest.$ac_ext 6626 7632 fi 6627 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&56628 echo "${ECHO_T}$ac_cv_func_textdomain" >&6 6629 if test $ac_cv_func_textdomain =yes; then7633 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5 7634 $as_echo "$ac_cv_func_textdomain" >&6; } 7635 if test "x$ac_cv_func_textdomain" = x""yes; then 6630 7636 cat >>confdefs.h <<\_ACEOF 6631 7637 #define ENABLE_NLS 1 … … 6637 7643 # *** Custom checking (based on GNU tar configure.in) *** 6638 7644 # --------------------------------------------------------------------------- 6639 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&56640 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6 7645 { $as_echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5 7646 $as_echo_n "checking for HP-UX needing gmalloc... " >&6; } 6641 7647 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 6642 echo "$as_me:$LINENO: result: yes" >&5 6643 echo "${ECHO_T}yes" >&6 6644 case $LIBOBJS in 6645 "gmalloc.$ac_objext" | \ 6646 *" gmalloc.$ac_objext" | \ 6647 "gmalloc.$ac_objext "* | \ 7648 { $as_echo "$as_me:$LINENO: result: yes" >&5 7649 $as_echo "yes" >&6; } 7650 case " $LIBOBJS " in 6648 7651 *" gmalloc.$ac_objext "* ) ;; 6649 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;; 7652 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" 7653 ;; 6650 7654 esac 6651 7655 … … 6655 7659 6656 7660 else 6657 echo "$as_me:$LINENO: result: no" >&56658 echo "${ECHO_T}no" >&6 7661 { $as_echo "$as_me:$LINENO: result: no" >&5 7662 $as_echo "no" >&6; } 6659 7663 6660 7664 for ac_func in valloc 6661 7665 do 6662 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6663 echo "$as_me:$LINENO: checking for $ac_func" >&56664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6665 if eval "test \"\${$as_ac_var+set}\" = set"; then6666 echo $ECHO_N "(cached) $ECHO_C" >&67666 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7667 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7668 $as_echo_n "checking for $ac_func... " >&6; } 7669 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7670 $as_echo_n "(cached) " >&6 6667 7671 else 6668 7672 cat >conftest.$ac_ext <<_ACEOF … … 6689 7693 #undef $ac_func 6690 7694 6691 /* Override any gcc2 internal prototype to avoid an error. */ 7695 /* Override any GCC internal prototype to avoid an error. 7696 Use char because int might match the return type of a GCC 7697 builtin and then its argument prototype would still apply. */ 6692 7698 #ifdef __cplusplus 6693 7699 extern "C" 6694 {6695 7700 #endif 6696 /* We use char because int might match the return type of a gcc26697 builtin and then its argument prototype would still apply. */6698 7701 char $ac_func (); 6699 7702 /* The GNU C library defines this for functions which it implements 6700 7703 to always fail with ENOSYS. Some functions are actually named 6701 7704 something starting with __ and the normal name is an alias. */ 6702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7705 #if defined __stub_$ac_func || defined __stub___$ac_func 6703 7706 choke me 6704 #else6705 char (*f) () = $ac_func;6706 #endif6707 #ifdef __cplusplus6708 }6709 7707 #endif 6710 7708 … … 6712 7710 main () 6713 7711 { 6714 return f != $ac_func;7712 return $ac_func (); 6715 7713 ; 6716 7714 return 0; … … 6718 7716 _ACEOF 6719 7717 rm -f conftest.$ac_objext conftest$ac_exeext 6720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6721 (eval $ac_link) 2>conftest.er1 7718 if { (ac_try="$ac_link" 7719 case "(($ac_try" in 7720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7721 *) ac_try_echo=$ac_try;; 7722 esac 7723 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7724 $as_echo "$ac_try_echo") >&5 7725 (eval "$ac_link") 2>conftest.er1 6722 7726 ac_status=$? 6723 7727 grep -v '^ *+' conftest.er1 >conftest.err 6724 7728 rm -f conftest.er1 6725 7729 cat conftest.err >&5 6726 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6727 (exit $ac_status); } && 6728 { ac_try='test -z "$ac_c_werror_flag" 6729 || test ! -s conftest.err' 6730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6731 (eval $ac_try) 2>&5 6732 ac_status=$? 6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6734 (exit $ac_status); }; } && 6735 { ac_try='test -s conftest$ac_exeext' 6736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6737 (eval $ac_try) 2>&5 6738 ac_status=$? 6739 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6740 (exit $ac_status); }; }; then 7730 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7731 (exit $ac_status); } && { 7732 test -z "$ac_c_werror_flag" || 7733 test ! -s conftest.err 7734 } && test -s conftest$ac_exeext && { 7735 test "$cross_compiling" = yes || 7736 $as_test_x conftest$ac_exeext 7737 }; then 6741 7738 eval "$as_ac_var=yes" 6742 7739 else 6743 echo "$as_me: failed program was:" >&57740 $as_echo "$as_me: failed program was:" >&5 6744 7741 sed 's/^/| /' conftest.$ac_ext >&5 6745 7742 6746 eval "$as_ac_var=no" 6747 fi 6748 rm -f conftest.err conftest.$ac_objext \ 7743 eval "$as_ac_var=no" 7744 fi 7745 7746 rm -rf conftest.dSYM 7747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6749 7748 conftest$ac_exeext conftest.$ac_ext 6750 7749 fi 6751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6753 if test `eval echo '${'$as_ac_var'}'` = yes; then 7750 ac_res=`eval 'as_val=${'$as_ac_var'} 7751 $as_echo "$as_val"'` 7752 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7753 $as_echo "$ac_res" >&6; } 7754 as_val=`eval 'as_val=${'$as_ac_var'} 7755 $as_echo "$as_val"'` 7756 if test "x$as_val" = x""yes; then 6754 7757 cat >>confdefs.h <<_ACEOF 6755 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 17758 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6756 7759 _ACEOF 6757 7760 … … 6762 7765 6763 7766 # we cannot generate static libraries under Darwin 6764 echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&56765 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6 7767 { $as_echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5 7768 $as_echo_n "checking for Apple MacOS X/Darwin... " >&6; } 6766 7769 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 6767 echo "$as_me:$LINENO: result: yes" >&56768 echo "${ECHO_T}yes" >&6 7770 { $as_echo "$as_me:$LINENO: result: yes" >&5 7771 $as_echo "yes" >&6; } 6769 7772 STATIC="" 6770 7773 else 6771 echo "$as_me:$LINENO: result: no" >&56772 echo "${ECHO_T}no" >&6 7774 { $as_echo "$as_me:$LINENO: result: no" >&5 7775 $as_echo "no" >&6; } 6773 7776 STATIC="-static " 6774 7777 fi 6775 7778 6776 7779 6777 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&56778 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6 6779 6780 # Check whether --with-dmalloc or --without-dmallocwas given.7780 { $as_echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 7781 $as_echo_n "checking if malloc debugging is wanted... " >&6; } 7782 7783 # Check whether --with-dmalloc was given. 6781 7784 if test "${with_dmalloc+set}" = set; then 6782 withval="$with_dmalloc" 6783 if test "$withval" = yes; then 6784 echo "$as_me:$LINENO: result: yes" >&5 6785 echo "${ECHO_T}yes" >&6 7785 withval=$with_dmalloc; if test "$withval" = yes; then 7786 { $as_echo "$as_me:$LINENO: result: yes" >&5 7787 $as_echo "yes" >&6; } 6786 7788 cat >>confdefs.h <<\_ACEOF 6787 7789 #define WITH_DMALLOC 1 … … 6791 7793 LDFLAGS="$LDFLAGS -g" 6792 7794 else 6793 echo "$as_me:$LINENO: result: no" >&5 6794 echo "${ECHO_T}no" >&6 6795 fi 6796 else 6797 echo "$as_me:$LINENO: result: no" >&5 6798 echo "${ECHO_T}no" >&6 6799 fi; 6800 6801 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 6802 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6 6803 6804 # Check whether --with-regex or --without-regex was given. 7795 { $as_echo "$as_me:$LINENO: result: no" >&5 7796 $as_echo "no" >&6; } 7797 fi 7798 else 7799 { $as_echo "$as_me:$LINENO: result: no" >&5 7800 $as_echo "no" >&6; } 7801 fi 7802 7803 7804 { $as_echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 7805 $as_echo_n "checking which of rx or regex is wanted... " >&6; } 7806 7807 # Check whether --with-regex was given. 6805 7808 if test "${with_regex+set}" = set; then 6806 withval="$with_regex" 6807 if test "$withval" = yes; then 7809 withval=$with_regex; if test "$withval" = yes; then 6808 7810 ac_with_regex=1 6809 echo "$as_me:$LINENO: result: regex" >&56810 echo "${ECHO_T}regex" >&6 7811 { $as_echo "$as_me:$LINENO: result: regex" >&5 7812 $as_echo "regex" >&6; } 6811 7813 cat >>confdefs.h <<\_ACEOF 6812 7814 #define WITH_REGEX 1 6813 7815 _ACEOF 6814 7816 6815 case $LIBOBJS in 6816 "regex.$ac_objext" | \ 6817 *" regex.$ac_objext" | \ 6818 "regex.$ac_objext "* | \ 7817 case " $LIBOBJS " in 6819 7818 *" regex.$ac_objext "* ) ;; 6820 *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;; 6821 esac 6822 6823 fi 6824 fi; 7819 *) LIBOBJS="$LIBOBJS regex.$ac_objext" 7820 ;; 7821 esac 7822 7823 fi 7824 fi 7825 6825 7826 if test -z "$ac_with_regex"; then 6826 echo "$as_me:$LINENO: result: rx" >&56827 echo "${ECHO_T}rx" >&6 6828 echo "$as_me:$LINENO: checking for re_rx_search" >&56829 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6 7827 { $as_echo "$as_me:$LINENO: result: rx" >&5 7828 $as_echo "rx" >&6; } 7829 { $as_echo "$as_me:$LINENO: checking for re_rx_search" >&5 7830 $as_echo_n "checking for re_rx_search... " >&6; } 6830 7831 if test "${ac_cv_func_re_rx_search+set}" = set; then 6831 echo $ECHO_N "(cached) $ECHO_C" >&67832 $as_echo_n "(cached) " >&6 6832 7833 else 6833 7834 cat >conftest.$ac_ext <<_ACEOF … … 6854 7855 #undef re_rx_search 6855 7856 6856 /* Override any gcc2 internal prototype to avoid an error. */ 7857 /* Override any GCC internal prototype to avoid an error. 7858 Use char because int might match the return type of a GCC 7859 builtin and then its argument prototype would still apply. */ 6857 7860 #ifdef __cplusplus 6858 7861 extern "C" 6859 {6860 7862 #endif 6861 /* We use char because int might match the return type of a gcc26862 builtin and then its argument prototype would still apply. */6863 7863 char re_rx_search (); 6864 7864 /* The GNU C library defines this for functions which it implements 6865 7865 to always fail with ENOSYS. Some functions are actually named 6866 7866 something starting with __ and the normal name is an alias. */ 6867 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)7867 #if defined __stub_re_rx_search || defined __stub___re_rx_search 6868 7868 choke me 6869 #else6870 char (*f) () = re_rx_search;6871 #endif6872 #ifdef __cplusplus6873 }6874 7869 #endif 6875 7870 … … 6877 7872 main () 6878 7873 { 6879 return f != re_rx_search;7874 return re_rx_search (); 6880 7875 ; 6881 7876 return 0; … … 6883 7878 _ACEOF 6884 7879 rm -f conftest.$ac_objext conftest$ac_exeext 6885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6886 (eval $ac_link) 2>conftest.er1 7880 if { (ac_try="$ac_link" 7881 case "(($ac_try" in 7882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7883 *) ac_try_echo=$ac_try;; 7884 esac 7885 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7886 $as_echo "$ac_try_echo") >&5 7887 (eval "$ac_link") 2>conftest.er1 6887 7888 ac_status=$? 6888 7889 grep -v '^ *+' conftest.er1 >conftest.err 6889 7890 rm -f conftest.er1 6890 7891 cat conftest.err >&5 6891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6892 (exit $ac_status); } && 6893 { ac_try='test -z "$ac_c_werror_flag" 6894 || test ! -s conftest.err' 6895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6896 (eval $ac_try) 2>&5 6897 ac_status=$? 6898 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6899 (exit $ac_status); }; } && 6900 { ac_try='test -s conftest$ac_exeext' 6901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6902 (eval $ac_try) 2>&5 6903 ac_status=$? 6904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6905 (exit $ac_status); }; }; then 7892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7893 (exit $ac_status); } && { 7894 test -z "$ac_c_werror_flag" || 7895 test ! -s conftest.err 7896 } && test -s conftest$ac_exeext && { 7897 test "$cross_compiling" = yes || 7898 $as_test_x conftest$ac_exeext 7899 }; then 6906 7900 ac_cv_func_re_rx_search=yes 6907 7901 else 6908 echo "$as_me: failed program was:" >&57902 $as_echo "$as_me: failed program was:" >&5 6909 7903 sed 's/^/| /' conftest.$ac_ext >&5 6910 7904 6911 ac_cv_func_re_rx_search=no 6912 fi 6913 rm -f conftest.err conftest.$ac_objext \ 7905 ac_cv_func_re_rx_search=no 7906 fi 7907 7908 rm -rf conftest.dSYM 7909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6914 7910 conftest$ac_exeext conftest.$ac_ext 6915 7911 fi 6916 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&56917 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6 6918 if test $ac_cv_func_re_rx_search =yes; then7912 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 7913 $as_echo "$ac_cv_func_re_rx_search" >&6; } 7914 if test "x$ac_cv_func_re_rx_search" = x""yes; then 6919 7915 : 6920 7916 else 6921 case $LIBOBJS in 6922 "rx.$ac_objext" | \ 6923 *" rx.$ac_objext" | \ 6924 "rx.$ac_objext "* | \ 7917 case " $LIBOBJS " in 6925 7918 *" rx.$ac_objext "* ) ;; 6926 *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;; 7919 *) LIBOBJS="$LIBOBJS rx.$ac_objext" 7920 ;; 6927 7921 esac 6928 7922 … … 6934 7928 # --------------------------------------------------------------------------- 6935 7929 if test "$ac_cv_func_alloca" = 'no'; then 6936 case $LIBOBJS in 6937 "xmalloc.$ac_objext" | \ 6938 *" xmalloc.$ac_objext" | \ 6939 "xmalloc.$ac_objext "* | \ 7930 case " $LIBOBJS " in 6940 7931 *" xmalloc.$ac_objext "* ) ;; 6941 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;; 6942 esac 6943 6944 case $LIBOBJS in 6945 "error.$ac_objext" | \ 6946 *" error.$ac_objext" | \ 6947 "error.$ac_objext "* | \ 7932 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" 7933 ;; 7934 esac 7935 7936 case " $LIBOBJS " in 6948 7937 *" error.$ac_objext "* ) ;; 6949 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 7938 *) LIBOBJS="$LIBOBJS error.$ac_objext" 7939 ;; 6950 7940 esac 6951 7941 … … 6955 7945 # --------------------------------------------------------------------------- 6956 7946 6957 ac_ext=c c7947 ac_ext=cpp 6958 7948 ac_cpp='$CXXCPP $CPPFLAGS' 6959 7949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 6962 7952 6963 7953 6964 echo "$as_me:$LINENO: checking that Perl 5 is available" >&56965 echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6 7954 { $as_echo "$as_me:$LINENO: checking that Perl 5 is available" >&5 7955 $as_echo_n "checking that Perl 5 is available... " >&6; } 6966 7956 success="no" 6967 7957 pl_path="$PATH" … … 6980 7970 try=`expr $try \> 5.000` 6981 7971 if test $try = "1"; then 6982 echo "$as_me:$LINENO: result: \"yes\"" >&56983 echo "${ECHO_T}\"yes\"" >&6 7972 { $as_echo "$as_me:$LINENO: result: \"yes\"" >&5 7973 $as_echo "\"yes\"" >&6; } 6984 7974 else 6985 7975 success="no" … … 6988 7978 6989 7979 if test $success = "no"; then 6990 echo "$as_me:$LINENO: result: \"no\"" >&56991 echo "${ECHO_T}\"no\"" >&6 6992 { { echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&56993 echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;}7980 { $as_echo "$as_me:$LINENO: result: \"no\"" >&5 7981 $as_echo "\"no\"" >&6; } 7982 { { $as_echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&5 7983 $as_echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;} 6994 7984 { (exit 1); exit 1; }; } 6995 7985 fi 6996 7986 6997 7987 success=no 6998 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&56999 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6 7988 { $as_echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5 7989 $as_echo_n "checking \"whether STL library has known faults\"... " >&6; } 7000 7990 7001 7991 … … 7017 8007 _ACEOF 7018 8008 rm -f conftest.$ac_objext 7019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7020 (eval $ac_compile) 2>conftest.er1 8009 if { (ac_try="$ac_compile" 8010 case "(($ac_try" in 8011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8012 *) ac_try_echo=$ac_try;; 8013 esac 8014 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8015 $as_echo "$ac_try_echo") >&5 8016 (eval "$ac_compile") 2>conftest.er1 7021 8017 ac_status=$? 7022 8018 grep -v '^ *+' conftest.er1 >conftest.err 7023 8019 rm -f conftest.er1 7024 8020 cat conftest.err >&5 7025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7026 (exit $ac_status); } && 7027 { ac_try='test -z "$ac_cxx_werror_flag" 7028 || test ! -s conftest.err' 7029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7030 (eval $ac_try) 2>&5 7031 ac_status=$? 7032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7033 (exit $ac_status); }; } && 7034 { ac_try='test -s conftest.$ac_objext' 7035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7036 (eval $ac_try) 2>&5 7037 ac_status=$? 7038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7039 (exit $ac_status); }; }; then 8021 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8022 (exit $ac_status); } && { 8023 test -z "$ac_cxx_werror_flag" || 8024 test ! -s conftest.err 8025 } && test -s conftest.$ac_objext; then 7040 8026 success=yes 7041 8027 else 7042 echo "$as_me: failed program was:" >&58028 $as_echo "$as_me: failed program was:" >&5 7043 8029 sed 's/^/| /' conftest.$ac_ext >&5 7044 8030 7045 fi 7046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8031 8032 fi 8033 8034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7047 8035 7048 8036 if test $success = "no"; then … … 7064 8052 _ACEOF 7065 8053 rm -f conftest.$ac_objext 7066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7067 (eval $ac_compile) 2>conftest.er1 8054 if { (ac_try="$ac_compile" 8055 case "(($ac_try" in 8056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8057 *) ac_try_echo=$ac_try;; 8058 esac 8059 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8060 $as_echo "$ac_try_echo") >&5 8061 (eval "$ac_compile") 2>conftest.er1 7068 8062 ac_status=$? 7069 8063 grep -v '^ *+' conftest.er1 >conftest.err 7070 8064 rm -f conftest.er1 7071 8065 cat conftest.err >&5 7072 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7073 (exit $ac_status); } && 7074 { ac_try='test -z "$ac_cxx_werror_flag" 7075 || test ! -s conftest.err' 7076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7077 (eval $ac_try) 2>&5 7078 ac_status=$? 7079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7080 (exit $ac_status); }; } && 7081 { ac_try='test -s conftest.$ac_objext' 7082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7083 (eval $ac_try) 2>&5 7084 ac_status=$? 7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7086 (exit $ac_status); }; }; then 8066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8067 (exit $ac_status); } && { 8068 test -z "$ac_cxx_werror_flag" || 8069 test ! -s conftest.err 8070 } && test -s conftest.$ac_objext; then 7087 8071 success="yes" 7088 8072 else 7089 echo "$as_me: failed program was:" >&58073 $as_echo "$as_me: failed program was:" >&5 7090 8074 sed 's/^/| /' conftest.$ac_ext >&5 7091 8075 7092 fi 7093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8076 8077 fi 8078 8079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7094 8080 fi 7095 8081 … … 7112 8098 _ACEOF 7113 8099 rm -f conftest.$ac_objext 7114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7115 (eval $ac_compile) 2>conftest.er1 8100 if { (ac_try="$ac_compile" 8101 case "(($ac_try" in 8102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8103 *) ac_try_echo=$ac_try;; 8104 esac 8105 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8106 $as_echo "$ac_try_echo") >&5 8107 (eval "$ac_compile") 2>conftest.er1 7116 8108 ac_status=$? 7117 8109 grep -v '^ *+' conftest.er1 >conftest.err 7118 8110 rm -f conftest.er1 7119 8111 cat conftest.err >&5 7120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7121 (exit $ac_status); } && 7122 { ac_try='test -z "$ac_cxx_werror_flag" 7123 || test ! -s conftest.err' 7124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7125 (eval $ac_try) 2>&5 7126 ac_status=$? 7127 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7128 (exit $ac_status); }; } && 7129 { ac_try='test -s conftest.$ac_objext' 7130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7131 (eval $ac_try) 2>&5 7132 ac_status=$? 7133 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7134 (exit $ac_status); }; }; then 8112 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8113 (exit $ac_status); } && { 8114 test -z "$ac_cxx_werror_flag" || 8115 test ! -s conftest.err 8116 } && test -s conftest.$ac_objext; then 7135 8117 success="yes" 7136 8118 else 7137 echo "$as_me: failed program was:" >&58119 $as_echo "$as_me: failed program was:" >&5 7138 8120 sed 's/^/| /' conftest.$ac_ext >&5 7139 8121 7140 fi 7141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8122 8123 fi 8124 8125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7142 8126 fi 7143 8127 7144 8128 if test $success = yes; then 7145 echo "$as_me:$LINENO: result: \"no\"" >&57146 echo "${ECHO_T}\"no\"" >&6 7147 else 7148 echo "$as_me:$LINENO: result: \"yes\"" >&57149 echo "${ECHO_T}\"yes\"" >&6 7150 { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&57151 echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}8129 { $as_echo "$as_me:$LINENO: result: \"no\"" >&5 8130 $as_echo "\"no\"" >&6; } 8131 else 8132 { $as_echo "$as_me:$LINENO: result: \"yes\"" >&5 8133 $as_echo "\"yes\"" >&6; } 8134 { { $as_echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5 8135 $as_echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;} 7152 8136 { (exit 1); exit 1; }; } 7153 8137 fi … … 7162 8146 7163 8147 # check for endianness 7164 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7165 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 8148 8149 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 8150 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 7166 8151 if test "${ac_cv_c_bigendian+set}" = set; then 7167 echo $ECHO_N "(cached) $ECHO_C" >&6 7168 else 7169 # See if sys/param.h defines the BYTE_ORDER macro. 7170 cat >conftest.$ac_ext <<_ACEOF 8152 $as_echo_n "(cached) " >&6 8153 else 8154 ac_cv_c_bigendian=unknown 8155 # See if we're dealing with a universal compiler. 8156 cat >conftest.$ac_ext <<_ACEOF 8157 /* confdefs.h. */ 8158 _ACEOF 8159 cat confdefs.h >>conftest.$ac_ext 8160 cat >>conftest.$ac_ext <<_ACEOF 8161 /* end confdefs.h. */ 8162 #ifndef __APPLE_CC__ 8163 not a universal capable compiler 8164 #endif 8165 typedef int dummy; 8166 8167 _ACEOF 8168 rm -f conftest.$ac_objext 8169 if { (ac_try="$ac_compile" 8170 case "(($ac_try" in 8171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8172 *) ac_try_echo=$ac_try;; 8173 esac 8174 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8175 $as_echo "$ac_try_echo") >&5 8176 (eval "$ac_compile") 2>conftest.er1 8177 ac_status=$? 8178 grep -v '^ *+' conftest.er1 >conftest.err 8179 rm -f conftest.er1 8180 cat conftest.err >&5 8181 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8182 (exit $ac_status); } && { 8183 test -z "$ac_cxx_werror_flag" || 8184 test ! -s conftest.err 8185 } && test -s conftest.$ac_objext; then 8186 8187 # Check for potential -arch flags. It is not universal unless 8188 # there are some -arch flags. Note that *ppc* also matches 8189 # ppc64. This check is also rather less than ideal. 8190 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 8191 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 8192 esac 8193 else 8194 $as_echo "$as_me: failed program was:" >&5 8195 sed 's/^/| /' conftest.$ac_ext >&5 8196 8197 8198 fi 8199 8200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8201 if test $ac_cv_c_bigendian = unknown; then 8202 # See if sys/param.h defines the BYTE_ORDER macro. 8203 cat >conftest.$ac_ext <<_ACEOF 7171 8204 /* confdefs.h. */ 7172 8205 _ACEOF … … 7175 8208 /* end confdefs.h. */ 7176 8209 #include <sys/types.h> 7177 #include <sys/param.h>8210 #include <sys/param.h> 7178 8211 7179 8212 int 7180 8213 main () 7181 8214 { 7182 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 7183 bogus endian macros 7184 #endif 8215 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 8216 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 8217 && LITTLE_ENDIAN) 8218 bogus endian macros 8219 #endif 7185 8220 7186 8221 ; … … 7189 8224 _ACEOF 7190 8225 rm -f conftest.$ac_objext 7191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7192 (eval $ac_compile) 2>conftest.er1 8226 if { (ac_try="$ac_compile" 8227 case "(($ac_try" in 8228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8229 *) ac_try_echo=$ac_try;; 8230 esac 8231 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8232 $as_echo "$ac_try_echo") >&5 8233 (eval "$ac_compile") 2>conftest.er1 7193 8234 ac_status=$? 7194 8235 grep -v '^ *+' conftest.er1 >conftest.err 7195 8236 rm -f conftest.er1 7196 8237 cat conftest.err >&5 7197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7198 (exit $ac_status); } && 7199 { ac_try='test -z "$ac_cxx_werror_flag" 7200 || test ! -s conftest.err' 7201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7202 (eval $ac_try) 2>&5 7203 ac_status=$? 7204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7205 (exit $ac_status); }; } && 7206 { ac_try='test -s conftest.$ac_objext' 7207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7208 (eval $ac_try) 2>&5 7209 ac_status=$? 7210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7211 (exit $ac_status); }; }; then 8238 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8239 (exit $ac_status); } && { 8240 test -z "$ac_cxx_werror_flag" || 8241 test ! -s conftest.err 8242 } && test -s conftest.$ac_objext; then 7212 8243 # It does; now see whether it defined to BIG_ENDIAN or not. 7213 cat >conftest.$ac_ext <<_ACEOF8244 cat >conftest.$ac_ext <<_ACEOF 7214 8245 /* confdefs.h. */ 7215 8246 _ACEOF … … 7218 8249 /* end confdefs.h. */ 7219 8250 #include <sys/types.h> 7220 #include <sys/param.h>8251 #include <sys/param.h> 7221 8252 7222 8253 int … … 7224 8255 { 7225 8256 #if BYTE_ORDER != BIG_ENDIAN 7226 not big endian7227 #endif8257 not big endian 8258 #endif 7228 8259 7229 8260 ; … … 7232 8263 _ACEOF 7233 8264 rm -f conftest.$ac_objext 7234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7235 (eval $ac_compile) 2>conftest.er1 8265 if { (ac_try="$ac_compile" 8266 case "(($ac_try" in 8267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8268 *) ac_try_echo=$ac_try;; 8269 esac 8270 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8271 $as_echo "$ac_try_echo") >&5 8272 (eval "$ac_compile") 2>conftest.er1 7236 8273 ac_status=$? 7237 8274 grep -v '^ *+' conftest.er1 >conftest.err 7238 8275 rm -f conftest.er1 7239 8276 cat conftest.err >&5 7240 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7241 (exit $ac_status); } && 7242 { ac_try='test -z "$ac_cxx_werror_flag" 7243 || test ! -s conftest.err' 7244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7245 (eval $ac_try) 2>&5 7246 ac_status=$? 7247 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7248 (exit $ac_status); }; } && 7249 { ac_try='test -s conftest.$ac_objext' 7250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7251 (eval $ac_try) 2>&5 7252 ac_status=$? 7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7254 (exit $ac_status); }; }; then 8277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8278 (exit $ac_status); } && { 8279 test -z "$ac_cxx_werror_flag" || 8280 test ! -s conftest.err 8281 } && test -s conftest.$ac_objext; then 7255 8282 ac_cv_c_bigendian=yes 7256 8283 else 7257 echo "$as_me: failed program was:" >&58284 $as_echo "$as_me: failed program was:" >&5 7258 8285 sed 's/^/| /' conftest.$ac_ext >&5 7259 8286 7260 ac_cv_c_bigendian=no 7261 fi 7262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7263 else 7264 echo "$as_me: failed program was:" >&5 8287 ac_cv_c_bigendian=no 8288 fi 8289 8290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8291 else 8292 $as_echo "$as_me: failed program was:" >&5 7265 8293 sed 's/^/| /' conftest.$ac_ext >&5 7266 8294 7267 # It does not; compile a test program. 7268 if test "$cross_compiling" = yes; then 7269 # try to guess the endianness by grepping values into an object file 7270 ac_cv_c_bigendian=unknown 7271 cat >conftest.$ac_ext <<_ACEOF 8295 8296 fi 8297 8298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8299 fi 8300 if test $ac_cv_c_bigendian = unknown; then 8301 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 8302 cat >conftest.$ac_ext <<_ACEOF 7272 8303 /* confdefs.h. */ 7273 8304 _ACEOF … … 7275 8306 cat >>conftest.$ac_ext <<_ACEOF 7276 8307 /* end confdefs.h. */ 7277 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 7278 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 7279 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 7280 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 7281 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 7282 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 8308 #include <limits.h> 8309 7283 8310 int 7284 8311 main () 7285 8312 { 7286 _ascii (); _ebcdic (); 8313 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 8314 bogus endian macros 8315 #endif 8316 7287 8317 ; 7288 8318 return 0; … … 7290 8320 _ACEOF 7291 8321 rm -f conftest.$ac_objext 7292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7293 (eval $ac_compile) 2>conftest.er1 8322 if { (ac_try="$ac_compile" 8323 case "(($ac_try" in 8324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8325 *) ac_try_echo=$ac_try;; 8326 esac 8327 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8328 $as_echo "$ac_try_echo") >&5 8329 (eval "$ac_compile") 2>conftest.er1 7294 8330 ac_status=$? 7295 8331 grep -v '^ *+' conftest.er1 >conftest.err 7296 8332 rm -f conftest.er1 7297 8333 cat conftest.err >&5 7298 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7299 (exit $ac_status); } && 7300 { ac_try='test -z "$ac_cxx_werror_flag" 7301 || test ! -s conftest.err' 7302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7303 (eval $ac_try) 2>&5 7304 ac_status=$? 7305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7306 (exit $ac_status); }; } && 7307 { ac_try='test -s conftest.$ac_objext' 7308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7309 (eval $ac_try) 2>&5 7310 ac_status=$? 7311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7312 (exit $ac_status); }; }; then 7313 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 7314 ac_cv_c_bigendian=yes 7315 fi 7316 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 7317 if test "$ac_cv_c_bigendian" = unknown; then 7318 ac_cv_c_bigendian=no 7319 else 7320 # finding both strings is unlikely to happen, but who knows? 7321 ac_cv_c_bigendian=unknown 7322 fi 7323 fi 7324 else 7325 echo "$as_me: failed program was:" >&5 7326 sed 's/^/| /' conftest.$ac_ext >&5 7327 7328 fi 7329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7330 else 7331 cat >conftest.$ac_ext <<_ACEOF 8334 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8335 (exit $ac_status); } && { 8336 test -z "$ac_cxx_werror_flag" || 8337 test ! -s conftest.err 8338 } && test -s conftest.$ac_objext; then 8339 # It does; now see whether it defined to _BIG_ENDIAN or not. 8340 cat >conftest.$ac_ext <<_ACEOF 7332 8341 /* confdefs.h. */ 7333 8342 _ACEOF … … 7335 8344 cat >>conftest.$ac_ext <<_ACEOF 7336 8345 /* end confdefs.h. */ 8346 #include <limits.h> 8347 7337 8348 int 7338 8349 main () 7339 8350 { 7340 /* Are we little or big endian? From Harbison&Steele. */ 7341 union 7342 { 7343 long l; 7344 char c[sizeof (long)]; 7345 } u; 7346 u.l = 1; 7347 exit (u.c[sizeof (long) - 1] == 1); 8351 #ifndef _BIG_ENDIAN 8352 not big endian 8353 #endif 8354 8355 ; 8356 return 0; 7348 8357 } 7349 8358 _ACEOF 8359 rm -f conftest.$ac_objext 8360 if { (ac_try="$ac_compile" 8361 case "(($ac_try" in 8362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8363 *) ac_try_echo=$ac_try;; 8364 esac 8365 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8366 $as_echo "$ac_try_echo") >&5 8367 (eval "$ac_compile") 2>conftest.er1 8368 ac_status=$? 8369 grep -v '^ *+' conftest.er1 >conftest.err 8370 rm -f conftest.er1 8371 cat conftest.err >&5 8372 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8373 (exit $ac_status); } && { 8374 test -z "$ac_cxx_werror_flag" || 8375 test ! -s conftest.err 8376 } && test -s conftest.$ac_objext; then 8377 ac_cv_c_bigendian=yes 8378 else 8379 $as_echo "$as_me: failed program was:" >&5 8380 sed 's/^/| /' conftest.$ac_ext >&5 8381 8382 ac_cv_c_bigendian=no 8383 fi 8384 8385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8386 else 8387 $as_echo "$as_me: failed program was:" >&5 8388 sed 's/^/| /' conftest.$ac_ext >&5 8389 8390 8391 fi 8392 8393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8394 fi 8395 if test $ac_cv_c_bigendian = unknown; then 8396 # Compile a test program. 8397 if test "$cross_compiling" = yes; then 8398 # Try to guess by grepping values from an object file. 8399 cat >conftest.$ac_ext <<_ACEOF 8400 /* confdefs.h. */ 8401 _ACEOF 8402 cat confdefs.h >>conftest.$ac_ext 8403 cat >>conftest.$ac_ext <<_ACEOF 8404 /* end confdefs.h. */ 8405 short int ascii_mm[] = 8406 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 8407 short int ascii_ii[] = 8408 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 8409 int use_ascii (int i) { 8410 return ascii_mm[i] + ascii_ii[i]; 8411 } 8412 short int ebcdic_ii[] = 8413 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 8414 short int ebcdic_mm[] = 8415 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 8416 int use_ebcdic (int i) { 8417 return ebcdic_mm[i] + ebcdic_ii[i]; 8418 } 8419 extern int foo; 8420 8421 int 8422 main () 8423 { 8424 return use_ascii (foo) == use_ebcdic (foo); 8425 ; 8426 return 0; 8427 } 8428 _ACEOF 8429 rm -f conftest.$ac_objext 8430 if { (ac_try="$ac_compile" 8431 case "(($ac_try" in 8432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8433 *) ac_try_echo=$ac_try;; 8434 esac 8435 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8436 $as_echo "$ac_try_echo") >&5 8437 (eval "$ac_compile") 2>conftest.er1 8438 ac_status=$? 8439 grep -v '^ *+' conftest.er1 >conftest.err 8440 rm -f conftest.er1 8441 cat conftest.err >&5 8442 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8443 (exit $ac_status); } && { 8444 test -z "$ac_cxx_werror_flag" || 8445 test ! -s conftest.err 8446 } && test -s conftest.$ac_objext; then 8447 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 8448 ac_cv_c_bigendian=yes 8449 fi 8450 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 8451 if test "$ac_cv_c_bigendian" = unknown; then 8452 ac_cv_c_bigendian=no 8453 else 8454 # finding both strings is unlikely to happen, but who knows? 8455 ac_cv_c_bigendian=unknown 8456 fi 8457 fi 8458 else 8459 $as_echo "$as_me: failed program was:" >&5 8460 sed 's/^/| /' conftest.$ac_ext >&5 8461 8462 8463 fi 8464 8465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8466 else 8467 cat >conftest.$ac_ext <<_ACEOF 8468 /* confdefs.h. */ 8469 _ACEOF 8470 cat confdefs.h >>conftest.$ac_ext 8471 cat >>conftest.$ac_ext <<_ACEOF 8472 /* end confdefs.h. */ 8473 $ac_includes_default 8474 int 8475 main () 8476 { 8477 8478 /* Are we little or big endian? From Harbison&Steele. */ 8479 union 8480 { 8481 long int l; 8482 char c[sizeof (long int)]; 8483 } u; 8484 u.l = 1; 8485 return u.c[sizeof (long int) - 1] == 1; 8486 8487 ; 8488 return 0; 8489 } 8490 _ACEOF 7350 8491 rm -f conftest$ac_exeext 7351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7352 (eval $ac_link) 2>&5 8492 if { (ac_try="$ac_link" 8493 case "(($ac_try" in 8494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8495 *) ac_try_echo=$ac_try;; 8496 esac 8497 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8498 $as_echo "$ac_try_echo") >&5 8499 (eval "$ac_link") 2>&5 7353 8500 ac_status=$? 7354 echo "$as_me:$LINENO: \$? = $ac_status" >&58501 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7355 8502 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7357 (eval $ac_try) 2>&5 8503 { (case "(($ac_try" in 8504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8505 *) ac_try_echo=$ac_try;; 8506 esac 8507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8508 $as_echo "$ac_try_echo") >&5 8509 (eval "$ac_try") 2>&5 7358 8510 ac_status=$? 7359 echo "$as_me:$LINENO: \$? = $ac_status" >&58511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7360 8512 (exit $ac_status); }; }; then 7361 8513 ac_cv_c_bigendian=no 7362 8514 else 7363 echo "$as_me: program exited with status $ac_status" >&57364 echo "$as_me: failed program was:" >&58515 $as_echo "$as_me: program exited with status $ac_status" >&5 8516 $as_echo "$as_me: failed program was:" >&5 7365 8517 sed 's/^/| /' conftest.$ac_ext >&5 7366 8518 … … 7368 8520 ac_cv_c_bigendian=yes 7369 8521 fi 7370 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7371 fi 7372 fi 7373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7374 fi 7375 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7376 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 7377 case $ac_cv_c_bigendian in 7378 yes) 8522 rm -rf conftest.dSYM 8523 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8524 fi 8525 8526 8527 fi 8528 fi 8529 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 8530 $as_echo "$ac_cv_c_bigendian" >&6; } 8531 case $ac_cv_c_bigendian in #( 8532 yes) 8533 cat >>confdefs.h <<\_ACEOF 8534 #define WORDS_BIGENDIAN 1 8535 _ACEOF 8536 ;; #( 8537 no) 8538 ;; #( 8539 universal) 7379 8540 7380 8541 cat >>confdefs.h <<\_ACEOF 7381 #define WORDS_BIGENDIAN 1 7382 _ACEOF 7383 ;; 7384 no) 7385 ;; 7386 *) 7387 { { echo "$as_me:$LINENO: error: unknown endianness 7388 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 7389 echo "$as_me: error: unknown endianness 7390 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 8542 #define AC_APPLE_UNIVERSAL_BUILD 1 8543 _ACEOF 8544 8545 ;; #( 8546 *) 8547 { { $as_echo "$as_me:$LINENO: error: unknown endianness 8548 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 8549 $as_echo "$as_me: error: unknown endianness 8550 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 7391 8551 { (exit 1); exit 1; }; } ;; 7392 esac8552 esac 7393 8553 7394 8554 # --------------------------------------------------------------------------- 7395 8555 if test "$ac_cv_func_alloca" = 'no'; then 7396 case $LIBOBJS in 7397 "xmalloc.o.$ac_objext" | \ 7398 *" xmalloc.o.$ac_objext" | \ 7399 "xmalloc.o.$ac_objext "* | \ 8556 case " $LIBOBJS " in 7400 8557 *" xmalloc.o.$ac_objext "* ) ;; 7401 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;; 7402 esac 7403 7404 case $LIBOBJS in 7405 "error.$ac_objext" | \ 7406 *" error.$ac_objext" | \ 7407 "error.$ac_objext "* | \ 8558 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" 8559 ;; 8560 esac 8561 8562 case " $LIBOBJS " in 7408 8563 *" error.$ac_objext "* ) ;; 7409 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 8564 *) LIBOBJS="$LIBOBJS error.$ac_objext" 8565 ;; 7410 8566 esac 7411 8567 … … 7440 8596 subdirs="$subdirs common-src" 7441 8597 7442 7443 7444 8598 subdirs="$subdirs build-src" 7445 8599 … … 7450 8604 7451 8605 if test -d runtime-src; then 7452 7453 7454 subdirs="$subdirs runtime-src" 8606 subdirs="$subdirs runtime-src" 7455 8607 7456 8608 srclist="$srclist \ … … 7458 8610 fi 7459 8611 7460 ac_config_files="$ac_config_files Makefile $srclist $moduleDirs" 8612 ac_config_files="$ac_config_files Makefile $srclist $moduleDirs" 8613 7461 8614 cat >confcache <<\_ACEOF 7462 8615 # This file is a shell script that caches the results of configure … … 7477 8630 # The following way of writing the cache mishandles newlines in values, 7478 8631 # but we know of no workaround that is simple, portable, and efficient. 7479 # So, don't put newlines in cache variables' values.8632 # So, we kill variables containing newlines. 7480 8633 # Ultrix sh set writes to stderr and can't be redirected directly, 7481 8634 # and sets the high bit in the cache file unless we assign to the vars. 7482 { 8635 ( 8636 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 8637 eval ac_val=\$$ac_var 8638 case $ac_val in #( 8639 *${as_nl}*) 8640 case $ac_var in #( 8641 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 8642 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 8643 esac 8644 case $ac_var in #( 8645 _ | IFS | as_nl) ;; #( 8646 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 8647 *) $as_unset $ac_var ;; 8648 esac ;; 8649 esac 8650 done 8651 7483 8652 (set) 2>&1 | 7484 case `(ac_space=' '; set | grep ac_space) 2>&1` in7485 * ac_space=\ *)8653 case $as_nl`(ac_space=' '; set) 2>&1` in #( 8654 *${as_nl}ac_space=\ *) 7486 8655 # `set' does not quote correctly, so add quotes (double-quote 7487 8656 # substitution turns \\\\ into \\, and sed turns \\ into \). … … 7489 8658 "s/'/'\\\\''/g; 7490 8659 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7491 ;; 8660 ;; #( 7492 8661 *) 7493 8662 # `set' quotes correctly as required by POSIX, so do not add quotes. 7494 sed -n \ 7495 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 8663 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7496 8664 ;; 7497 esac; 7498 } | 8665 esac | 8666 sort 8667 ) | 7499 8668 sed ' 8669 /^ac_cv_env_/b end 7500 8670 t clear 7501 : 8671 :clear 7502 8672 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7503 8673 t end 7504 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7505 : end' >>confcache 7506 if diff $cache_file confcache >/dev/null 2>&1; then :; else 7507 if test -w $cache_file; then 7508 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 8674 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8675 :end' >>confcache 8676 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8677 if test -w "$cache_file"; then 8678 test "x$cache_file" != "x/dev/null" && 8679 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 8680 $as_echo "$as_me: updating cache $cache_file" >&6;} 7509 8681 cat confcache >$cache_file 7510 8682 else 7511 echo "not updating unwritable cache $cache_file" 8683 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 8684 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7512 8685 fi 7513 8686 fi … … 7517 8690 # Let make expand exec_prefix. 7518 8691 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7519 7520 # VPATH may cause trouble with some makes, so we remove $(srcdir),7521 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and7522 # trailing colons and then remove the whole line if VPATH becomes empty7523 # (actually we leave an empty line to preserve line numbers).7524 if test "x$srcdir" = x.; then7525 ac_vpsub='/^[ ]*VPATH[ ]*=/{7526 s/:*\$(srcdir):*/:/;7527 s/:*\${srcdir}:*/:/;7528 s/:*@srcdir@:*/:/;7529 s/^\([^=]*=[ ]*\):*/\1/;7530 s/:*$//;7531 s/^[^=]*=[ ]*$//;7532 }'7533 fi7534 8692 7535 8693 DEFS=-DHAVE_CONFIG_H … … 7539 8697 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7540 8698 # 1. Remove the extension, and $U if already installed. 7541 ac_i=`echo "$ac_i" | 7542 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 7543 # 2. Add them. 7544 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 7545 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 8699 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 8700 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 8701 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 8702 # will be set to the directory where LIBOBJS objects are built. 8703 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 8704 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 7546 8705 done 7547 8706 LIBOBJS=$ac_libobjs … … 7551 8710 7552 8711 8712 7553 8713 : ${CONFIG_STATUS=./config.status} 8714 ac_write_fail=0 7554 8715 ac_clean_files_save=$ac_clean_files 7555 8716 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 7556 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&57557 echo "$as_me: creating $CONFIG_STATUS" >&6;}7558 cat >$CONFIG_STATUS <<_ACEOF 8717 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 8718 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 8719 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7559 8720 #! $SHELL 7560 8721 # Generated by $as_me. … … 7569 8730 _ACEOF 7570 8731 7571 cat >>$CONFIG_STATUS <<\_ACEOF 8732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7572 8733 ## --------------------- ## 7573 8734 ## M4sh Initialization. ## 7574 8735 ## --------------------- ## 7575 8736 7576 # Be Bourne compatible 8737 # Be more Bourne compatible 8738 DUALCASE=1; export DUALCASE # for MKS sh 7577 8739 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 7578 8740 emulate sh 7579 8741 NULLCMD=: 7580 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which8742 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 7581 8743 # is contrary to our usage. Disable this feature. 7582 8744 alias -g '${1+"$@"}'='"$@"' 7583 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 7584 set -o posix 7585 fi 7586 DUALCASE=1; export DUALCASE # for MKS sh 7587 7588 # Support unset when possible. 7589 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7590 as_unset=unset 7591 else 7592 as_unset=false 7593 fi 7594 7595 7596 # Work around bugs in pre-3.0 UWIN ksh. 7597 $as_unset ENV MAIL MAILPATH 7598 PS1='$ ' 7599 PS2='> ' 7600 PS4='+ ' 7601 7602 # NLS nuisances. 7603 for as_var in \ 7604 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 7605 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 7606 LC_TELEPHONE LC_TIME 7607 do 7608 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 7609 eval $as_var=C; export $as_var 7610 else 7611 $as_unset $as_var 7612 fi 7613 done 7614 7615 # Required to use basename. 7616 if expr a : '\(a\)' >/dev/null 2>&1; then 7617 as_expr=expr 7618 else 7619 as_expr=false 7620 fi 7621 7622 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 7623 as_basename=basename 7624 else 7625 as_basename=false 7626 fi 7627 7628 7629 # Name of the executable. 7630 as_me=`$as_basename "$0" || 7631 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7632 X"$0" : 'X\(//\)$' \| \ 7633 X"$0" : 'X\(/\)$' \| \ 7634 . : '\(.\)' 2>/dev/null || 7635 echo X/"$0" | 7636 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 7637 /^X\/\(\/\/\)$/{ s//\1/; q; } 7638 /^X\/\(\/\).*/{ s//\1/; q; } 7639 s/.*/./; q'` 7640 7641 7642 # PATH needs CR, and LINENO needs CR and PATH. 8745 setopt NO_GLOB_SUBST 8746 else 8747 case `(set -o) 2>/dev/null` in 8748 *posix*) set -o posix ;; 8749 esac 8750 8751 fi 8752 8753 8754 8755 8756 # PATH needs CR 7643 8757 # Avoid depending upon Character Ranges. 7644 8758 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 7648 8762 as_cr_alnum=$as_cr_Letters$as_cr_digits 7649 8763 8764 as_nl=' 8765 ' 8766 export as_nl 8767 # Printing a long string crashes Solaris 7 /usr/bin/printf. 8768 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 8769 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 8770 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 8771 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 8772 as_echo='printf %s\n' 8773 as_echo_n='printf %s' 8774 else 8775 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 8776 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 8777 as_echo_n='/usr/ucb/echo -n' 8778 else 8779 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 8780 as_echo_n_body='eval 8781 arg=$1; 8782 case $arg in 8783 *"$as_nl"*) 8784 expr "X$arg" : "X\\(.*\\)$as_nl"; 8785 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 8786 esac; 8787 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 8788 ' 8789 export as_echo_n_body 8790 as_echo_n='sh -c $as_echo_n_body as_echo' 8791 fi 8792 export as_echo_body 8793 as_echo='sh -c $as_echo_body as_echo' 8794 fi 8795 7650 8796 # The user is always right. 7651 8797 if test "${PATH_SEPARATOR+set}" != set; then 7652 echo "#! /bin/sh" >conf$$.sh 7653 echo "exit 0" >>conf$$.sh 7654 chmod +x conf$$.sh 7655 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 7656 PATH_SEPARATOR=';' 7657 else 7658 PATH_SEPARATOR=: 7659 fi 7660 rm -f conf$$.sh 7661 fi 7662 7663 7664 as_lineno_1=$LINENO 7665 as_lineno_2=$LINENO 7666 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 7667 test "x$as_lineno_1" != "x$as_lineno_2" && 7668 test "x$as_lineno_3" = "x$as_lineno_2" || { 7669 # Find who we are. Look in the path if we contain no path at all 7670 # relative or not. 7671 case $0 in 7672 *[\\/]* ) as_myself=$0 ;; 7673 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8798 PATH_SEPARATOR=: 8799 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 8800 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 8801 PATH_SEPARATOR=';' 8802 } 8803 fi 8804 8805 # Support unset when possible. 8806 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8807 as_unset=unset 8808 else 8809 as_unset=false 8810 fi 8811 8812 8813 # IFS 8814 # We need space, tab and new line, in precisely that order. Quoting is 8815 # there to prevent editors from complaining about space-tab. 8816 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 8817 # splitting by setting IFS to empty value.) 8818 IFS=" "" $as_nl" 8819 8820 # Find who we are. Look in the path if we contain no directory separator. 8821 case $0 in 8822 *[\\/]* ) as_myself=$0 ;; 8823 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7674 8824 for as_dir in $PATH 7675 8825 do … … 7678 8828 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 7679 8829 done 7680 7681 ;; 7682 esac 7683 # We did not find ourselves, most probably we were run as `sh COMMAND' 7684 # in which case we are not to be found in the path. 7685 if test "x$as_myself" = x; then 7686 as_myself=$0 7687 fi 7688 if test ! -f "$as_myself"; then 7689 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 7690 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 7691 { (exit 1); exit 1; }; } 7692 fi 7693 case $CONFIG_SHELL in 7694 '') 7695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7696 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 7697 do 7698 IFS=$as_save_IFS 7699 test -z "$as_dir" && as_dir=. 7700 for as_base in sh bash ksh sh5; do 7701 case $as_dir in 7702 /*) 7703 if ("$as_dir/$as_base" -c ' 8830 IFS=$as_save_IFS 8831 8832 ;; 8833 esac 8834 # We did not find ourselves, most probably we were run as `sh COMMAND' 8835 # in which case we are not to be found in the path. 8836 if test "x$as_myself" = x; then 8837 as_myself=$0 8838 fi 8839 if test ! -f "$as_myself"; then 8840 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 8841 { (exit 1); exit 1; } 8842 fi 8843 8844 # Work around bugs in pre-3.0 UWIN ksh. 8845 for as_var in ENV MAIL MAILPATH 8846 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 8847 done 8848 PS1='$ ' 8849 PS2='> ' 8850 PS4='+ ' 8851 8852 # NLS nuisances. 8853 LC_ALL=C 8854 export LC_ALL 8855 LANGUAGE=C 8856 export LANGUAGE 8857 8858 # Required to use basename. 8859 if expr a : '\(a\)' >/dev/null 2>&1 && 8860 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8861 as_expr=expr 8862 else 8863 as_expr=false 8864 fi 8865 8866 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 8867 as_basename=basename 8868 else 8869 as_basename=false 8870 fi 8871 8872 8873 # Name of the executable. 8874 as_me=`$as_basename -- "$0" || 8875 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8876 X"$0" : 'X\(//\)$' \| \ 8877 X"$0" : 'X\(/\)' \| . 2>/dev/null || 8878 $as_echo X/"$0" | 8879 sed '/^.*\/\([^/][^/]*\)\/*$/{ 8880 s//\1/ 8881 q 8882 } 8883 /^X\/\(\/\/\)$/{ 8884 s//\1/ 8885 q 8886 } 8887 /^X\/\(\/\).*/{ 8888 s//\1/ 8889 q 8890 } 8891 s/.*/./; q'` 8892 8893 # CDPATH. 8894 $as_unset CDPATH 8895 8896 8897 7704 8898 as_lineno_1=$LINENO 7705 8899 as_lineno_2=$LINENO 7706 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`7707 8900 test "x$as_lineno_1" != "x$as_lineno_2" && 7708 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 7709 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 7710 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 7711 CONFIG_SHELL=$as_dir/$as_base 7712 export CONFIG_SHELL 7713 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 7714 fi;; 7715 esac 7716 done 7717 done 7718 ;; 7719 esac 8901 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 7720 8902 7721 8903 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 7722 8904 # uniformly replaced by the line number. The first 'sed' inserts a 7723 # line-number line before each line; the second 'sed' does the real 7724 # work. The second script uses 'N' to pair each line-number line 7725 # with the numbered line, and appends trailing '-' during 7726 # substitution so that $LINENO is not a special case at line end. 8905 # line-number line after each line using $LINENO; the second 'sed' 8906 # does the real work. The second script uses 'N' to pair each 8907 # line-number line with the line containing $LINENO, and appends 8908 # trailing '-' during substitution so that $LINENO is not a special 8909 # case at line end. 7727 8910 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 7728 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 7729 sed '=' <$as_myself | 8911 # scripts with optimization help from Paolo Bonzini. Blame Lee 8912 # E. McMahon (1931-1989) for sed's syntax. :-) 8913 sed -n ' 8914 p 8915 /[$]LINENO/= 8916 ' <$as_myself | 7730 8917 sed ' 8918 s/[$]LINENO.*/&-/ 8919 t lineno 8920 b 8921 :lineno 7731 8922 N 7732 s,$,-, 7733 : loop 7734 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 8923 :loop 8924 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 7735 8925 t loop 7736 s,-$,, 7737 s,^['$as_cr_digits']*\n,, 8926 s/-\n.*// 7738 8927 ' >$as_me.lineno && 7739 chmod +x $as_me.lineno || 7740 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 7741 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 8928 chmod +x "$as_me.lineno" || 8929 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 7742 8930 { (exit 1); exit 1; }; } 7743 8931 7744 8932 # Don't try to exec as it changes $[0], causing all sort of problems 7745 8933 # (the dirname of $[0] is not the place where we might find the 7746 # original and so on. Autoconf is especially sensi ble to this).7747 . ./$as_me.lineno8934 # original and so on. Autoconf is especially sensitive to this). 8935 . "./$as_me.lineno" 7748 8936 # Exit status is that of the last command. 7749 8937 exit … … 7751 8939 7752 8940 7753 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 7754 *c*,-n*) ECHO_N= ECHO_C=' 7755 ' ECHO_T=' ' ;; 7756 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 7757 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 7758 esac 7759 7760 if expr a : '\(a\)' >/dev/null 2>&1; then 8941 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8942 as_dirname=dirname 8943 else 8944 as_dirname=false 8945 fi 8946 8947 ECHO_C= ECHO_N= ECHO_T= 8948 case `echo -n x` in 8949 -n*) 8950 case `echo 'x\c'` in 8951 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 8952 *) ECHO_C='\c';; 8953 esac;; 8954 *) 8955 ECHO_N='-n';; 8956 esac 8957 if expr a : '\(a\)' >/dev/null 2>&1 && 8958 test "X`expr 00001 : '.*\(...\)'`" = X001; then 7761 8959 as_expr=expr 7762 8960 else … … 7765 8963 7766 8964 rm -f conf$$ conf$$.exe conf$$.file 7767 echo >conf$$.file 7768 if ln -s conf$$.file conf$$ 2>/dev/null; then 7769 # We could just check for DJGPP; but this test a) works b) is more generic 7770 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 7771 if test -f conf$$.exe; then 7772 # Don't use ln at all; we don't have any links 8965 if test -d conf$$.dir; then 8966 rm -f conf$$.dir/conf$$.file 8967 else 8968 rm -f conf$$.dir 8969 mkdir conf$$.dir 2>/dev/null 8970 fi 8971 if (echo >conf$$.file) 2>/dev/null; then 8972 if ln -s conf$$.file conf$$ 2>/dev/null; then 8973 as_ln_s='ln -s' 8974 # ... but there are two gotchas: 8975 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8976 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8977 # In both cases, we have to default to `cp -p'. 8978 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 8979 as_ln_s='cp -p' 8980 elif ln conf$$.file conf$$ 2>/dev/null; then 8981 as_ln_s=ln 8982 else 7773 8983 as_ln_s='cp -p' 7774 else7775 as_ln_s='ln -s'7776 8984 fi 7777 elif ln conf$$.file conf$$ 2>/dev/null; then7778 as_ln_s=ln7779 8985 else 7780 8986 as_ln_s='cp -p' 7781 8987 fi 7782 rm -f conf$$ conf$$.exe conf$$.file 8988 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 8989 rmdir conf$$.dir 2>/dev/null 7783 8990 7784 8991 if mkdir -p . 2>/dev/null; then … … 7789 8996 fi 7790 8997 7791 as_executable_p="test -f" 8998 if test -x / >/dev/null 2>&1; then 8999 as_test_x='test -x' 9000 else 9001 if ls -dL / >/dev/null 2>&1; then 9002 as_ls_L_option=L 9003 else 9004 as_ls_L_option= 9005 fi 9006 as_test_x=' 9007 eval sh -c '\'' 9008 if test -d "$1"; then 9009 test -d "$1/."; 9010 else 9011 case $1 in 9012 -*)set "./$1";; 9013 esac; 9014 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 9015 ???[sx]*):;;*)false;;esac;fi 9016 '\'' sh 9017 ' 9018 fi 9019 as_executable_p=$as_test_x 7792 9020 7793 9021 # Sed expression to map a string onto a valid CPP name. … … 7798 9026 7799 9027 7800 # IFS7801 # We need space, tab and new line, in precisely that order.7802 as_nl='7803 '7804 IFS=" $as_nl"7805 7806 # CDPATH.7807 $as_unset CDPATH7808 7809 9028 exec 6>&1 7810 9029 7811 # Open the log real soon, to keep \$[0] and so on meaningful, and to9030 # Save the log message, to keep $[0] and so on meaningful, and to 7812 9031 # report actual input values of CONFIG_FILES etc. instead of their 7813 # values after options handling. Logging --version etc. is OK. 9032 # values after options handling. 9033 ac_log=" 9034 This file was extended by $as_me, which was 9035 generated by GNU Autoconf 2.63. Invocation command line was 9036 9037 CONFIG_FILES = $CONFIG_FILES 9038 CONFIG_HEADERS = $CONFIG_HEADERS 9039 CONFIG_LINKS = $CONFIG_LINKS 9040 CONFIG_COMMANDS = $CONFIG_COMMANDS 9041 $ $0 $@ 9042 9043 on `(hostname || uname -n) 2>/dev/null | sed 1q` 9044 " 9045 9046 _ACEOF 9047 9048 case $ac_config_files in *" 9049 "*) set x $ac_config_files; shift; ac_config_files=$*;; 9050 esac 9051 9052 case $ac_config_headers in *" 9053 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 9054 esac 9055 9056 9057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9058 # Files that config.status was made for. 9059 config_files="$ac_config_files" 9060 config_headers="$ac_config_headers" 9061 9062 _ACEOF 9063 9064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9065 ac_cs_usage="\ 9066 \`$as_me' instantiates files from templates according to the 9067 current configuration. 9068 9069 Usage: $0 [OPTION]... [FILE]... 9070 9071 -h, --help print this help, then exit 9072 -V, --version print version number and configuration settings, then exit 9073 -q, --quiet, --silent 9074 do not print progress messages 9075 -d, --debug don't remove temporary files 9076 --recheck update $as_me by reconfiguring in the same conditions 9077 --file=FILE[:TEMPLATE] 9078 instantiate the configuration file FILE 9079 --header=FILE[:TEMPLATE] 9080 instantiate the configuration header FILE 9081 9082 Configuration files: 9083 $config_files 9084 9085 Configuration headers: 9086 $config_headers 9087 9088 Report bugs to <[email protected]>." 9089 9090 _ACEOF 9091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9092 ac_cs_version="\\ 9093 config.status 9094 configured by $0, generated by GNU Autoconf 2.63, 9095 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 9096 9097 Copyright (C) 2008 Free Software Foundation, Inc. 9098 This config.status script is free software; the Free Software Foundation 9099 gives unlimited permission to copy, distribute and modify it." 9100 9101 ac_pwd='$ac_pwd' 9102 srcdir='$srcdir' 9103 INSTALL='$INSTALL' 9104 AWK='$AWK' 9105 test -n "\$AWK" || AWK=awk 9106 _ACEOF 9107 9108 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9109 # The default lists apply if the user does not specify any file. 9110 ac_need_defaults=: 9111 while test $# != 0 9112 do 9113 case $1 in 9114 --*=*) 9115 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9116 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9117 ac_shift=: 9118 ;; 9119 *) 9120 ac_option=$1 9121 ac_optarg=$2 9122 ac_shift=shift 9123 ;; 9124 esac 9125 9126 case $ac_option in 9127 # Handling of the options. 9128 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 9129 ac_cs_recheck=: ;; 9130 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9131 $as_echo "$ac_cs_version"; exit ;; 9132 --debug | --debu | --deb | --de | --d | -d ) 9133 debug=: ;; 9134 --file | --fil | --fi | --f ) 9135 $ac_shift 9136 case $ac_optarg in 9137 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9138 esac 9139 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 9140 ac_need_defaults=false;; 9141 --header | --heade | --head | --hea ) 9142 $ac_shift 9143 case $ac_optarg in 9144 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9145 esac 9146 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 9147 ac_need_defaults=false;; 9148 --he | --h) 9149 # Conflict between --help and --header 9150 { $as_echo "$as_me: error: ambiguous option: $1 9151 Try \`$0 --help' for more information." >&2 9152 { (exit 1); exit 1; }; };; 9153 --help | --hel | -h ) 9154 $as_echo "$ac_cs_usage"; exit ;; 9155 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9156 | -silent | --silent | --silen | --sile | --sil | --si | --s) 9157 ac_cs_silent=: ;; 9158 9159 # This is an error. 9160 -*) { $as_echo "$as_me: error: unrecognized option: $1 9161 Try \`$0 --help' for more information." >&2 9162 { (exit 1); exit 1; }; } ;; 9163 9164 *) ac_config_targets="$ac_config_targets $1" 9165 ac_need_defaults=false ;; 9166 9167 esac 9168 shift 9169 done 9170 9171 ac_configure_extra_args= 9172 9173 if $ac_cs_silent; then 9174 exec 6>/dev/null 9175 ac_configure_extra_args="$ac_configure_extra_args --silent" 9176 fi 9177 9178 _ACEOF 9179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9180 if \$ac_cs_recheck; then 9181 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9182 shift 9183 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 9184 CONFIG_SHELL='$SHELL' 9185 export CONFIG_SHELL 9186 exec "\$@" 9187 fi 9188 9189 _ACEOF 9190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7814 9191 exec 5>>config.log 7815 9192 { … … 7818 9195 ## Running $as_me. ## 7819 9196 _ASBOX 9197 $as_echo "$ac_log" 7820 9198 } >&5 7821 cat >&5 <<_CSEOF 7822 7823 This file was extended by $as_me, which was 7824 generated by GNU Autoconf 2.59. Invocation command line was 7825 7826 CONFIG_FILES = $CONFIG_FILES 7827 CONFIG_HEADERS = $CONFIG_HEADERS 7828 CONFIG_LINKS = $CONFIG_LINKS 7829 CONFIG_COMMANDS = $CONFIG_COMMANDS 7830 $ $0 $@ 7831 7832 _CSEOF 7833 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 7834 echo >&5 7835 _ACEOF 7836 7837 # Files that config.status was made for. 7838 if test -n "$ac_config_files"; then 7839 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 7840 fi 7841 7842 if test -n "$ac_config_headers"; then 7843 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 7844 fi 7845 7846 if test -n "$ac_config_links"; then 7847 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 7848 fi 7849 7850 if test -n "$ac_config_commands"; then 7851 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 7852 fi 7853 7854 cat >>$CONFIG_STATUS <<\_ACEOF 7855 7856 ac_cs_usage="\ 7857 \`$as_me' instantiates files from templates according to the 7858 current configuration. 7859 7860 Usage: $0 [OPTIONS] [FILE]... 7861 7862 -h, --help print this help, then exit 7863 -V, --version print version number, then exit 7864 -q, --quiet do not print progress messages 7865 -d, --debug don't remove temporary files 7866 --recheck update $as_me by reconfiguring in the same conditions 7867 --file=FILE[:TEMPLATE] 7868 instantiate the configuration file FILE 7869 --header=FILE[:TEMPLATE] 7870 instantiate the configuration header FILE 7871 7872 Configuration files: 7873 $config_files 7874 7875 Configuration headers: 7876 $config_headers 7877 7878 Report bugs to <[email protected]>." 7879 _ACEOF 7880 7881 cat >>$CONFIG_STATUS <<_ACEOF 7882 ac_cs_version="\\ 7883 config.status 7884 configured by $0, generated by GNU Autoconf 2.59, 7885 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 7886 7887 Copyright (C) 2003 Free Software Foundation, Inc. 7888 This config.status script is free software; the Free Software Foundation 7889 gives unlimited permission to copy, distribute and modify it." 7890 srcdir=$srcdir 7891 INSTALL="$INSTALL" 7892 _ACEOF 7893 7894 cat >>$CONFIG_STATUS <<\_ACEOF 7895 # If no file are specified by the user, then we need to provide default 7896 # value. By we need to know if files were specified by the user. 7897 ac_need_defaults=: 7898 while test $# != 0 7899 do 7900 case $1 in 7901 --*=*) 7902 ac_option=`expr "x$1" : 'x\([^=]*\)='` 7903 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 7904 ac_shift=: 7905 ;; 7906 -*) 7907 ac_option=$1 7908 ac_optarg=$2 7909 ac_shift=shift 7910 ;; 7911 *) # This is not an option, so the user has probably given explicit 7912 # arguments. 7913 ac_option=$1 7914 ac_need_defaults=false;; 7915 esac 7916 7917 case $ac_option in 7918 # Handling of the options. 7919 _ACEOF 7920 cat >>$CONFIG_STATUS <<\_ACEOF 7921 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7922 ac_cs_recheck=: ;; 7923 --version | --vers* | -V ) 7924 echo "$ac_cs_version"; exit 0 ;; 7925 --he | --h) 7926 # Conflict between --help and --header 7927 { { echo "$as_me:$LINENO: error: ambiguous option: $1 7928 Try \`$0 --help' for more information." >&5 7929 echo "$as_me: error: ambiguous option: $1 7930 Try \`$0 --help' for more information." >&2;} 7931 { (exit 1); exit 1; }; };; 7932 --help | --hel | -h ) 7933 echo "$ac_cs_usage"; exit 0 ;; 7934 --debug | --d* | -d ) 7935 debug=: ;; 7936 --file | --fil | --fi | --f ) 7937 $ac_shift 7938 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 7939 ac_need_defaults=false;; 7940 --header | --heade | --head | --hea ) 7941 $ac_shift 7942 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 7943 ac_need_defaults=false;; 7944 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7945 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7946 ac_cs_silent=: ;; 7947 7948 # This is an error. 7949 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 7950 Try \`$0 --help' for more information." >&5 7951 echo "$as_me: error: unrecognized option: $1 7952 Try \`$0 --help' for more information." >&2;} 7953 { (exit 1); exit 1; }; } ;; 7954 7955 *) ac_config_targets="$ac_config_targets $1" ;; 7956 7957 esac 7958 shift 7959 done 7960 7961 ac_configure_extra_args= 7962 7963 if $ac_cs_silent; then 7964 exec 6>/dev/null 7965 ac_configure_extra_args="$ac_configure_extra_args --silent" 7966 fi 7967 7968 _ACEOF 7969 cat >>$CONFIG_STATUS <<_ACEOF 7970 if \$ac_cs_recheck; then 7971 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 7972 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7973 fi 7974 7975 _ACEOF 7976 7977 7978 7979 7980 7981 cat >>$CONFIG_STATUS <<\_ACEOF 9199 9200 _ACEOF 9201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9202 _ACEOF 9203 9204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9205 9206 # Handling of arguments. 7982 9207 for ac_config_target in $ac_config_targets 7983 9208 do 7984 case "$ac_config_target"in7985 # Handling of arguments.7986 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;7987 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;7988 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;7989 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 7990 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&57991 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}9209 case $ac_config_target in 9210 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 9211 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 9212 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;; 9213 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 9214 9215 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 9216 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 7992 9217 { (exit 1); exit 1; }; };; 7993 9218 esac 7994 9219 done 9220 7995 9221 7996 9222 # If the user did not use the arguments to specify the items to instantiate, … … 8004 9230 8005 9231 # Have a temporary directory for convenience. Make it in the build tree 8006 # simply because there is no reason to putit here, and in addition,9232 # simply because there is no reason against having it here, and in addition, 8007 9233 # creating and moving files from /tmp can sometimes cause problems. 8008 # Create a temporary directory, and hook for its removal unless debugging. 9234 # Hook for its removal unless debugging. 9235 # Note that there is a small window in which the directory will not be cleaned: 9236 # after its creation but before its name has been assigned to `$tmp'. 8009 9237 $debug || 8010 9238 { 8011 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 9239 tmp= 9240 trap 'exit_status=$? 9241 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9242 ' 0 8012 9243 trap '{ (exit 1); exit 1; }' 1 2 13 15 8013 9244 } 8014 8015 9245 # Create a (secure) tmp directory for tmp files. 8016 9246 8017 9247 { 8018 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&9248 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8019 9249 test -n "$tmp" && test -d "$tmp" 8020 9250 } || 8021 9251 { 8022 tmp=./conf stat$$-$RANDOM8023 (umask 077 && mkdir $tmp)9252 tmp=./conf$$-$RANDOM 9253 (umask 077 && mkdir "$tmp") 8024 9254 } || 8025 9255 { 8026 echo "$me: cannot create a temporary directory in ." >&29256 $as_echo "$as_me: cannot create a temporary directory in ." >&2 8027 9257 { (exit 1); exit 1; } 8028 9258 } 8029 9259 8030 _ACEOF 8031 8032 cat >>$CONFIG_STATUS <<_ACEOF 8033 8034 # 8035 # CONFIG_FILES section. 8036 # 8037 8038 # No need to generate the scripts if there are no CONFIG_FILES. 8039 # This happens for instance when ./config.status config.h 8040 if test -n "\$CONFIG_FILES"; then 8041 # Protect against being on the right side of a sed subst in config.status. 8042 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 8043 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 8044 s,@SHELL@,$SHELL,;t t 8045 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 8046 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 8047 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 8048 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 8049 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 8050 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 8051 s,@exec_prefix@,$exec_prefix,;t t 8052 s,@prefix@,$prefix,;t t 8053 s,@program_transform_name@,$program_transform_name,;t t 8054 s,@bindir@,$bindir,;t t 8055 s,@sbindir@,$sbindir,;t t 8056 s,@libexecdir@,$libexecdir,;t t 8057 s,@datadir@,$datadir,;t t 8058 s,@sysconfdir@,$sysconfdir,;t t 8059 s,@sharedstatedir@,$sharedstatedir,;t t 8060 s,@localstatedir@,$localstatedir,;t t 8061 s,@libdir@,$libdir,;t t 8062 s,@includedir@,$includedir,;t t 8063 s,@oldincludedir@,$oldincludedir,;t t 8064 s,@infodir@,$infodir,;t t 8065 s,@mandir@,$mandir,;t t 8066 s,@build_alias@,$build_alias,;t t 8067 s,@host_alias@,$host_alias,;t t 8068 s,@target_alias@,$target_alias,;t t 8069 s,@DEFS@,$DEFS,;t t 8070 s,@ECHO_C@,$ECHO_C,;t t 8071 s,@ECHO_N@,$ECHO_N,;t t 8072 s,@ECHO_T@,$ECHO_T,;t t 8073 s,@LIBS@,$LIBS,;t t 8074 s,@PACKAGE@,$PACKAGE,;t t 8075 s,@VERSION@,$VERSION,;t t 8076 s,@USE_FASTCGI@,$USE_FASTCGI,;t t 8077 s,@USE_LANGACTION@,$USE_LANGACTION,;t t 8078 s,@USE_CORBA@,$USE_CORBA,;t t 8079 s,@MICO_DIR@,$MICO_DIR,;t t 8080 s,@ENABLE_JAVA@,$ENABLE_JAVA,;t t 8081 s,@USE_Z3950@,$USE_Z3950,;t t 8082 s,@USE_YAZ@,$USE_YAZ,;t t 8083 s,@USE_WVWARE@,$USE_WVWARE,;t t 8084 s,@USE_JDBM@,$USE_JDBM,;t t 8085 s,@USE_GDBM@,$USE_GDBM,;t t 8086 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 8087 s,@USE_SQLITE@,$USE_SQLITE,;t t 8088 s,@USE_RSS@,$USE_RSS,;t t 8089 s,@USE_APACHE_HTTPD@,$USE_APACHE_HTTPD,;t t 8090 s,@ENABLE_JNI@,$ENABLE_JNI,;t t 8091 s,@ENABLE_MG@,$ENABLE_MG,;t t 8092 s,@ENABLE_MGPP@,$ENABLE_MGPP,;t t 8093 s,@ENABLE_LUCENE@,$ENABLE_LUCENE,;t t 8094 s,@LDFLAGS@,$LDFLAGS,;t t 8095 s,@CFLAGS@,$CFLAGS,;t t 8096 s,@CC@,$CC,;t t 8097 s,@CPPFLAGS@,$CPPFLAGS,;t t 8098 s,@ac_ct_CC@,$ac_ct_CC,;t t 8099 s,@EXEEXT@,$EXEEXT,;t t 8100 s,@OBJEXT@,$OBJEXT,;t t 8101 s,@CXX@,$CXX,;t t 8102 s,@CXXFLAGS@,$CXXFLAGS,;t t 8103 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 8104 s,@AWK@,$AWK,;t t 8105 s,@YACC@,$YACC,;t t 8106 s,@build@,$build,;t t 8107 s,@build_cpu@,$build_cpu,;t t 8108 s,@build_vendor@,$build_vendor,;t t 8109 s,@build_os@,$build_os,;t t 8110 s,@host@,$host,;t t 8111 s,@host_cpu@,$host_cpu,;t t 8112 s,@host_vendor@,$host_vendor,;t t 8113 s,@host_os@,$host_os,;t t 8114 s,@target@,$target,;t t 8115 s,@target_cpu@,$target_cpu,;t t 8116 s,@target_vendor@,$target_vendor,;t t 8117 s,@target_os@,$target_os,;t t 8118 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 8119 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 8120 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 8121 s,@LN_S@,$LN_S,;t t 8122 s,@SET_MAKE@,$SET_MAKE,;t t 8123 s,@RANLIB@,$RANLIB,;t t 8124 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 8125 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 8126 s,@MICO_VER@,$MICO_VER,;t t 8127 s,@CPP@,$CPP,;t t 8128 s,@EGREP@,$EGREP,;t t 8129 s,@U@,$U,;t t 8130 s,@ANSI2KNR@,$ANSI2KNR,;t t 8131 s,@ALLOCA@,$ALLOCA,;t t 8132 s,@LIBOBJS@,$LIBOBJS,;t t 8133 s,@STATIC@,$STATIC,;t t 8134 s,@gsdlos@,$gsdlos,;t t 8135 s,@MODULEDIRS@,$MODULEDIRS,;t t 8136 s,@subdirs@,$subdirs,;t t 8137 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 8138 CEOF 8139 8140 _ACEOF 8141 8142 cat >>$CONFIG_STATUS <<\_ACEOF 8143 # Split the substitutions into bite-sized pieces for seds with 8144 # small command number limits, like on Digital OSF/1 and HP-UX. 8145 ac_max_sed_lines=48 8146 ac_sed_frag=1 # Number of current file. 8147 ac_beg=1 # First line for current file. 8148 ac_end=$ac_max_sed_lines # Line after last line for current file. 8149 ac_more_lines=: 8150 ac_sed_cmds= 8151 while $ac_more_lines; do 8152 if test $ac_beg -gt 1; then 8153 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8154 else 8155 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 9260 # Set up the scripts for CONFIG_FILES section. 9261 # No need to generate them if there are no CONFIG_FILES. 9262 # This happens for instance with `./config.status config.h'. 9263 if test -n "$CONFIG_FILES"; then 9264 9265 9266 ac_cr=' 9267 ' 9268 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 9269 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 9270 ac_cs_awk_cr='\\r' 9271 else 9272 ac_cs_awk_cr=$ac_cr 9273 fi 9274 9275 echo 'BEGIN {' >"$tmp/subs1.awk" && 9276 _ACEOF 9277 9278 9279 { 9280 echo "cat >conf$$subs.awk <<_ACEOF" && 9281 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 9282 echo "_ACEOF" 9283 } >conf$$subs.sh || 9284 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9285 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9286 { (exit 1); exit 1; }; } 9287 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 9288 ac_delim='%!_!# ' 9289 for ac_last_try in false false false false false :; do 9290 . ./conf$$subs.sh || 9291 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9292 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9293 { (exit 1); exit 1; }; } 9294 9295 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 9296 if test $ac_delim_n = $ac_delim_num; then 9297 break 9298 elif $ac_last_try; then 9299 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9300 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9301 { (exit 1); exit 1; }; } 9302 else 9303 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9304 fi 9305 done 9306 rm -f conf$$subs.sh 9307 9308 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9309 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 9310 _ACEOF 9311 sed -n ' 9312 h 9313 s/^/S["/; s/!.*/"]=/ 9314 p 9315 g 9316 s/^[^!]*!// 9317 :repl 9318 t repl 9319 s/'"$ac_delim"'$// 9320 t delim 9321 :nl 9322 h 9323 s/\(.\{148\}\).*/\1/ 9324 t more1 9325 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 9326 p 9327 n 9328 b repl 9329 :more1 9330 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9331 p 9332 g 9333 s/.\{148\}// 9334 t nl 9335 :delim 9336 h 9337 s/\(.\{148\}\).*/\1/ 9338 t more2 9339 s/["\\]/\\&/g; s/^/"/; s/$/"/ 9340 p 9341 b 9342 :more2 9343 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9344 p 9345 g 9346 s/.\{148\}// 9347 t delim 9348 ' <conf$$subs.awk | sed ' 9349 /^[^""]/{ 9350 N 9351 s/\n// 9352 } 9353 ' >>$CONFIG_STATUS || ac_write_fail=1 9354 rm -f conf$$subs.awk 9355 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9356 _ACAWK 9357 cat >>"\$tmp/subs1.awk" <<_ACAWK && 9358 for (key in S) S_is_set[key] = 1 9359 FS = "" 9360 9361 } 9362 { 9363 line = $ 0 9364 nfields = split(line, field, "@") 9365 substed = 0 9366 len = length(field[1]) 9367 for (i = 2; i < nfields; i++) { 9368 key = field[i] 9369 keylen = length(key) 9370 if (S_is_set[key]) { 9371 value = S[key] 9372 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 9373 len += length(value) + length(field[++i]) 9374 substed = 1 9375 } else 9376 len += 1 + keylen 9377 } 9378 9379 print line 9380 } 9381 9382 _ACAWK 9383 _ACEOF 9384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9385 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9386 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 9387 else 9388 cat 9389 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 9390 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 9391 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 9392 { (exit 1); exit 1; }; } 9393 _ACEOF 9394 9395 # VPATH may cause trouble with some makes, so we remove $(srcdir), 9396 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9397 # trailing colons and then remove the whole line if VPATH becomes empty 9398 # (actually we leave an empty line to preserve line numbers). 9399 if test "x$srcdir" = x.; then 9400 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 9401 s/:*\$(srcdir):*/:/ 9402 s/:*\${srcdir}:*/:/ 9403 s/:*@srcdir@:*/:/ 9404 s/^\([^=]*=[ ]*\):*/\1/ 9405 s/:*$// 9406 s/^[^=]*=[ ]*$// 9407 }' 9408 fi 9409 9410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9411 fi # test -n "$CONFIG_FILES" 9412 9413 # Set up the scripts for CONFIG_HEADERS section. 9414 # No need to generate them if there are no CONFIG_HEADERS. 9415 # This happens for instance with `./config.status Makefile'. 9416 if test -n "$CONFIG_HEADERS"; then 9417 cat >"$tmp/defines.awk" <<\_ACAWK || 9418 BEGIN { 9419 _ACEOF 9420 9421 # Transform confdefs.h into an awk script `defines.awk', embedded as 9422 # here-document in config.status, that substitutes the proper values into 9423 # config.h.in to produce config.h. 9424 9425 # Create a delimiter string that does not exist in confdefs.h, to ease 9426 # handling of long lines. 9427 ac_delim='%!_!# ' 9428 for ac_last_try in false false :; do 9429 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 9430 if test -z "$ac_t"; then 9431 break 9432 elif $ac_last_try; then 9433 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 9434 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 9435 { (exit 1); exit 1; }; } 9436 else 9437 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9438 fi 9439 done 9440 9441 # For the awk script, D is an array of macro values keyed by name, 9442 # likewise P contains macro parameters if any. Preserve backslash 9443 # newline sequences. 9444 9445 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 9446 sed -n ' 9447 s/.\{148\}/&'"$ac_delim"'/g 9448 t rset 9449 :rset 9450 s/^[ ]*#[ ]*define[ ][ ]*/ / 9451 t def 9452 d 9453 :def 9454 s/\\$// 9455 t bsnl 9456 s/["\\]/\\&/g 9457 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9458 D["\1"]=" \3"/p 9459 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 9460 d 9461 :bsnl 9462 s/["\\]/\\&/g 9463 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9464 D["\1"]=" \3\\\\\\n"\\/p 9465 t cont 9466 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 9467 t cont 9468 d 9469 :cont 9470 n 9471 s/.\{148\}/&'"$ac_delim"'/g 9472 t clear 9473 :clear 9474 s/\\$// 9475 t bsnlc 9476 s/["\\]/\\&/g; s/^/"/; s/$/"/p 9477 d 9478 :bsnlc 9479 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 9480 b cont 9481 ' <confdefs.h | sed ' 9482 s/'"$ac_delim"'/"\\\ 9483 "/g' >>$CONFIG_STATUS || ac_write_fail=1 9484 9485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9486 for (key in D) D_is_set[key] = 1 9487 FS = "" 9488 } 9489 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 9490 line = \$ 0 9491 split(line, arg, " ") 9492 if (arg[1] == "#") { 9493 defundef = arg[2] 9494 mac1 = arg[3] 9495 } else { 9496 defundef = substr(arg[1], 2) 9497 mac1 = arg[2] 9498 } 9499 split(mac1, mac2, "(") #) 9500 macro = mac2[1] 9501 prefix = substr(line, 1, index(line, defundef) - 1) 9502 if (D_is_set[macro]) { 9503 # Preserve the white space surrounding the "#". 9504 print prefix "define", macro P[macro] D[macro] 9505 next 9506 } else { 9507 # Replace #undef with comments. This is necessary, for example, 9508 # in the case of _POSIX_SOURCE, which is predefined and required 9509 # on some systems where configure will not decide to define it. 9510 if (defundef == "undef") { 9511 print "/*", prefix defundef, macro, "*/" 9512 next 9513 } 9514 } 9515 } 9516 { print } 9517 _ACAWK 9518 _ACEOF 9519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9520 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 9521 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 9522 { (exit 1); exit 1; }; } 9523 fi # test -n "$CONFIG_HEADERS" 9524 9525 9526 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 9527 shift 9528 for ac_tag 9529 do 9530 case $ac_tag in 9531 :[FHLC]) ac_mode=$ac_tag; continue;; 9532 esac 9533 case $ac_mode$ac_tag in 9534 :[FHL]*:*);; 9535 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 9536 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 9537 { (exit 1); exit 1; }; };; 9538 :[FH]-) ac_tag=-:-;; 9539 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9540 esac 9541 ac_save_IFS=$IFS 9542 IFS=: 9543 set x $ac_tag 9544 IFS=$ac_save_IFS 9545 shift 9546 ac_file=$1 9547 shift 9548 9549 case $ac_mode in 9550 :L) ac_source=$1;; 9551 :[FH]) 9552 ac_file_inputs= 9553 for ac_f 9554 do 9555 case $ac_f in 9556 -) ac_f="$tmp/stdin";; 9557 *) # Look for the file first in the build tree, then in the source tree 9558 # (if the path is not absolute). The absolute path cannot be DOS-style, 9559 # because $ac_f cannot contain `:'. 9560 test -f "$ac_f" || 9561 case $ac_f in 9562 [\\/$]*) false;; 9563 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9564 esac || 9565 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 9566 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 9567 { (exit 1); exit 1; }; };; 9568 esac 9569 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9570 ac_file_inputs="$ac_file_inputs '$ac_f'" 9571 done 9572 9573 # Let's still pretend it is `configure' which instantiates (i.e., don't 9574 # use $as_me), people would be surprised to read: 9575 # /* config.h. Generated by config.status. */ 9576 configure_input='Generated from '` 9577 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 9578 `' by configure.' 9579 if test x"$ac_file" != x-; then 9580 configure_input="$ac_file. $configure_input" 9581 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 9582 $as_echo "$as_me: creating $ac_file" >&6;} 8156 9583 fi 8157 if test ! -s $tmp/subs.frag; then 8158 ac_more_lines=false 8159 else 8160 # The purpose of the label and of the branching condition is to 8161 # speed up the sed processing (if there are no `@' at all, there 8162 # is no need to browse any of the substitutions). 8163 # These are the two extra sed commands mentioned above. 8164 (echo ':t 8165 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 8166 if test -z "$ac_sed_cmds"; then 8167 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 8168 else 8169 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 8170 fi 8171 ac_sed_frag=`expr $ac_sed_frag + 1` 8172 ac_beg=$ac_end 8173 ac_end=`expr $ac_end + $ac_max_sed_lines` 8174 fi 8175 done 8176 if test -z "$ac_sed_cmds"; then 8177 ac_sed_cmds=cat 8178 fi 8179 fi # test -n "$CONFIG_FILES" 8180 8181 _ACEOF 8182 cat >>$CONFIG_STATUS <<\_ACEOF 8183 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 8184 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8185 case $ac_file in 8186 - | *:- | *:-:* ) # input from stdin 8187 cat >$tmp/stdin 8188 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8189 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8190 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8191 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8192 * ) ac_file_in=$ac_file.in ;; 9584 # Neutralize special characters interpreted by sed in replacement strings. 9585 case $configure_input in #( 9586 *\&* | *\|* | *\\* ) 9587 ac_sed_conf_input=`$as_echo "$configure_input" | 9588 sed 's/[\\\\&|]/\\\\&/g'`;; #( 9589 *) ac_sed_conf_input=$configure_input;; 9590 esac 9591 9592 case $ac_tag in 9593 *:-:* | *:-) cat >"$tmp/stdin" \ 9594 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9595 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9596 { (exit 1); exit 1; }; } ;; 9597 esac 9598 ;; 8193 9599 esac 8194 9600 8195 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 8196 ac_dir=`(dirname "$ac_file") 2>/dev/null || 9601 ac_dir=`$as_dirname -- "$ac_file" || 8197 9602 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8198 9603 X"$ac_file" : 'X\(//\)[^/]' \| \ 8199 9604 X"$ac_file" : 'X\(//\)$' \| \ 8200 X"$ac_file" : 'X\(/\)' \| \ 8201 . : '\(.\)' 2>/dev/null || 8202 echo X"$ac_file" | 8203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8204 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8205 /^X\(\/\/\)$/{ s//\1/; q; } 8206 /^X\(\/\).*/{ s//\1/; q; } 8207 s/.*/./; q'` 8208 { if $as_mkdir_p; then 8209 mkdir -p "$ac_dir" 8210 else 8211 as_dir="$ac_dir" 9605 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 9606 $as_echo X"$ac_file" | 9607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9608 s//\1/ 9609 q 9610 } 9611 /^X\(\/\/\)[^/].*/{ 9612 s//\1/ 9613 q 9614 } 9615 /^X\(\/\/\)$/{ 9616 s//\1/ 9617 q 9618 } 9619 /^X\(\/\).*/{ 9620 s//\1/ 9621 q 9622 } 9623 s/.*/./; q'` 9624 { as_dir="$ac_dir" 9625 case $as_dir in #( 9626 -*) as_dir=./$as_dir;; 9627 esac 9628 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 8212 9629 as_dirs= 8213 while test ! -d "$as_dir"; do 8214 as_dirs="$as_dir $as_dirs" 8215 as_dir=`(dirname "$as_dir") 2>/dev/null || 9630 while :; do 9631 case $as_dir in #( 9632 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 9633 *) as_qdir=$as_dir;; 9634 esac 9635 as_dirs="'$as_qdir' $as_dirs" 9636 as_dir=`$as_dirname -- "$as_dir" || 8216 9637 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8217 9638 X"$as_dir" : 'X\(//\)[^/]' \| \ 8218 9639 X"$as_dir" : 'X\(//\)$' \| \ 8219 X"$as_dir" : 'X\(/\)' \| \ 8220 . : '\(.\)' 2>/dev/null || 8221 echo X"$as_dir" | 8222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8223 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8224 /^X\(\/\/\)$/{ s//\1/; q; } 8225 /^X\(\/\).*/{ s//\1/; q; } 8226 s/.*/./; q'` 9640 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 9641 $as_echo X"$as_dir" | 9642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9643 s//\1/ 9644 q 9645 } 9646 /^X\(\/\/\)[^/].*/{ 9647 s//\1/ 9648 q 9649 } 9650 /^X\(\/\/\)$/{ 9651 s//\1/ 9652 q 9653 } 9654 /^X\(\/\).*/{ 9655 s//\1/ 9656 q 9657 } 9658 s/.*/./; q'` 9659 test -d "$as_dir" && break 8227 9660 done 8228 test ! -n "$as_dirs" || mkdir $as_dirs8229 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&58230 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}9661 test -z "$as_dirs" || eval "mkdir $as_dirs" 9662 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 9663 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 8231 9664 { (exit 1); exit 1; }; }; } 8232 8233 9665 ac_builddir=. 8234 9666 8235 if test "$ac_dir" != .; then 8236 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8237 # A "../" for each directory in $ac_dir_suffix. 8238 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8239 else 8240 ac_dir_suffix= ac_top_builddir= 8241 fi 9667 case "$ac_dir" in 9668 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 9669 *) 9670 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 9671 # A ".." for each directory in $ac_dir_suffix. 9672 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 9673 case $ac_top_builddir_sub in 9674 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 9675 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 9676 esac ;; 9677 esac 9678 ac_abs_top_builddir=$ac_pwd 9679 ac_abs_builddir=$ac_pwd$ac_dir_suffix 9680 # for backward compatibility: 9681 ac_top_builddir=$ac_top_build_prefix 8242 9682 8243 9683 case $srcdir in 8244 .) # No --srcdir option.We are building in place.9684 .) # We are building in place. 8245 9685 ac_srcdir=. 8246 if test -z "$ac_top_builddir"; then 8247 ac_top_srcdir=. 8248 else 8249 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8250 fi ;; 8251 [\\/]* | ?:[\\/]* ) # Absolute path. 9686 ac_top_srcdir=$ac_top_builddir_sub 9687 ac_abs_top_srcdir=$ac_pwd ;; 9688 [\\/]* | ?:[\\/]* ) # Absolute name. 8252 9689 ac_srcdir=$srcdir$ac_dir_suffix; 8253 ac_top_srcdir=$srcdir ;; 8254 *) # Relative path. 8255 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8256 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8257 esac 8258 8259 # Do not use `cd foo && pwd` to compute absolute paths, because 8260 # the directories may not exist. 8261 case `pwd` in 8262 .) ac_abs_builddir="$ac_dir";; 8263 *) 8264 case "$ac_dir" in 8265 .) ac_abs_builddir=`pwd`;; 8266 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8267 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8268 esac;; 8269 esac 8270 case $ac_abs_builddir in 8271 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8272 *) 8273 case ${ac_top_builddir}. in 8274 .) ac_abs_top_builddir=$ac_abs_builddir;; 8275 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8276 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8277 esac;; 8278 esac 8279 case $ac_abs_builddir in 8280 .) ac_abs_srcdir=$ac_srcdir;; 8281 *) 8282 case $ac_srcdir in 8283 .) ac_abs_srcdir=$ac_abs_builddir;; 8284 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8285 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8286 esac;; 8287 esac 8288 case $ac_abs_builddir in 8289 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8290 *) 8291 case $ac_top_srcdir in 8292 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8293 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8294 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8295 esac;; 8296 esac 8297 9690 ac_top_srcdir=$srcdir 9691 ac_abs_top_srcdir=$srcdir ;; 9692 *) # Relative name. 9693 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 9694 ac_top_srcdir=$ac_top_build_prefix$srcdir 9695 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 9696 esac 9697 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 9698 9699 9700 case $ac_mode in 9701 :F) 9702 # 9703 # CONFIG_FILE 9704 # 8298 9705 8299 9706 case $INSTALL in 8300 9707 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 8301 *) ac_INSTALL=$ac_top_build dir$INSTALL ;;9708 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 8302 9709 esac 8303 8304 if test x"$ac_file" != x-; then 8305 { echo "$as_me:$LINENO: creating $ac_file" >&5 8306 echo "$as_me: creating $ac_file" >&6;} 8307 rm -f "$ac_file" 8308 fi 8309 # Let's still pretend it is `configure' which instantiates (i.e., don't 8310 # use $as_me), people would be surprised to read: 8311 # /* config.h. Generated by config.status. */ 8312 if test x"$ac_file" = x-; then 8313 configure_input= 8314 else 8315 configure_input="$ac_file. " 8316 fi 8317 configure_input=$configure_input"Generated from `echo $ac_file_in | 8318 sed 's,.*/,,'` by configure." 8319 8320 # First look for the input files in the build tree, otherwise in the 8321 # src tree. 8322 ac_file_inputs=`IFS=: 8323 for f in $ac_file_in; do 8324 case $f in 8325 -) echo $tmp/stdin ;; 8326 [\\/$]*) 8327 # Absolute (can't be DOS-style, as IFS=:) 8328 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8329 echo "$as_me: error: cannot find input file: $f" >&2;} 8330 { (exit 1); exit 1; }; } 8331 echo "$f";; 8332 *) # Relative 8333 if test -f "$f"; then 8334 # Build tree 8335 echo "$f" 8336 elif test -f "$srcdir/$f"; then 8337 # Source tree 8338 echo "$srcdir/$f" 8339 else 8340 # /dev/null tree 8341 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8342 echo "$as_me: error: cannot find input file: $f" >&2;} 8343 { (exit 1); exit 1; }; } 8344 fi;; 8345 esac 8346 done` || { (exit 1); exit 1; } 8347 _ACEOF 8348 cat >>$CONFIG_STATUS <<_ACEOF 8349 sed "$ac_vpsub 9710 _ACEOF 9711 9712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9713 # If the template does not know about datarootdir, expand it. 9714 # FIXME: This hack should be removed a few years after 2.60. 9715 ac_datarootdir_hack=; ac_datarootdir_seen= 9716 9717 ac_sed_dataroot=' 9718 /datarootdir/ { 9719 p 9720 q 9721 } 9722 /@datadir@/p 9723 /@docdir@/p 9724 /@infodir@/p 9725 /@localedir@/p 9726 /@mandir@/p 9727 ' 9728 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 9729 *datarootdir*) ac_datarootdir_seen=yes;; 9730 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 9731 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 9732 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 9733 _ACEOF 9734 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9735 ac_datarootdir_hack=' 9736 s&@datadir@&$datadir&g 9737 s&@docdir@&$docdir&g 9738 s&@infodir@&$infodir&g 9739 s&@localedir@&$localedir&g 9740 s&@mandir@&$mandir&g 9741 s&\\\${datarootdir}&$datarootdir&g' ;; 9742 esac 9743 _ACEOF 9744 9745 # Neutralize VPATH when `$srcdir' = `.'. 9746 # Shell code in configure.ac might set extrasub. 9747 # FIXME: do we really want to maintain this feature? 9748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9749 ac_sed_extra="$ac_vpsub 8350 9750 $extrasub 8351 9751 _ACEOF 8352 cat >>$CONFIG_STATUS <<\_ACEOF 9752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8353 9753 :t 8354 9754 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8355 s,@configure_input@,$configure_input,;t t 8356 s,@srcdir@,$ac_srcdir,;t t 8357 s,@abs_srcdir@,$ac_abs_srcdir,;t t 8358 s,@top_srcdir@,$ac_top_srcdir,;t t 8359 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 8360 s,@builddir@,$ac_builddir,;t t 8361 s,@abs_builddir@,$ac_abs_builddir,;t t 8362 s,@top_builddir@,$ac_top_builddir,;t t 8363 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 8364 s,@INSTALL@,$ac_INSTALL,;t t 8365 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 8366 rm -f $tmp/stdin 9755 s|@configure_input@|$ac_sed_conf_input|;t t 9756 s&@top_builddir@&$ac_top_builddir_sub&;t t 9757 s&@top_build_prefix@&$ac_top_build_prefix&;t t 9758 s&@srcdir@&$ac_srcdir&;t t 9759 s&@abs_srcdir@&$ac_abs_srcdir&;t t 9760 s&@top_srcdir@&$ac_top_srcdir&;t t 9761 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9762 s&@builddir@&$ac_builddir&;t t 9763 s&@abs_builddir@&$ac_abs_builddir&;t t 9764 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9765 s&@INSTALL@&$ac_INSTALL&;t t 9766 $ac_datarootdir_hack 9767 " 9768 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 9769 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9770 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9771 { (exit 1); exit 1; }; } 9772 9773 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9774 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 9775 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 9776 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9777 which seems to be undefined. Please make sure it is defined." >&5 9778 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9779 which seems to be undefined. Please make sure it is defined." >&2;} 9780 9781 rm -f "$tmp/stdin" 9782 case $ac_file in 9783 -) cat "$tmp/out" && rm -f "$tmp/out";; 9784 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 9785 esac \ 9786 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9787 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9788 { (exit 1); exit 1; }; } 9789 ;; 9790 :H) 9791 # 9792 # CONFIG_HEADER 9793 # 8367 9794 if test x"$ac_file" != x-; then 8368 mv $tmp/out $ac_file 8369 else 8370 cat $tmp/out 8371 rm -f $tmp/out 8372 fi 8373 8374 done 8375 _ACEOF 8376 cat >>$CONFIG_STATUS <<\_ACEOF 8377 8378 # 8379 # CONFIG_HEADER section. 8380 # 8381 8382 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 8383 # NAME is the cpp macro being defined and VALUE is the value it is being given. 8384 # 8385 # ac_d sets the value in "#define NAME VALUE" lines. 8386 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 8387 ac_dB='[ ].*$,\1#\2' 8388 ac_dC=' ' 8389 ac_dD=',;t' 8390 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 8391 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 8392 ac_uB='$,\1#\2define\3' 8393 ac_uC=' ' 8394 ac_uD=',;t' 8395 8396 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 8397 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8398 case $ac_file in 8399 - | *:- | *:-:* ) # input from stdin 8400 cat >$tmp/stdin 8401 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8402 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8403 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8404 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8405 * ) ac_file_in=$ac_file.in ;; 8406 esac 8407 8408 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 8409 echo "$as_me: creating $ac_file" >&6;} 8410 8411 # First look for the input files in the build tree, otherwise in the 8412 # src tree. 8413 ac_file_inputs=`IFS=: 8414 for f in $ac_file_in; do 8415 case $f in 8416 -) echo $tmp/stdin ;; 8417 [\\/$]*) 8418 # Absolute (can't be DOS-style, as IFS=:) 8419 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8420 echo "$as_me: error: cannot find input file: $f" >&2;} 9795 { 9796 $as_echo "/* $configure_input */" \ 9797 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 9798 } >"$tmp/config.h" \ 9799 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9800 $as_echo "$as_me: error: could not create $ac_file" >&2;} 8421 9801 { (exit 1); exit 1; }; } 8422 # Do quote $f, to prevent DOS paths from being IFS'd. 8423 echo "$f";; 8424 *) # Relative 8425 if test -f "$f"; then 8426 # Build tree 8427 echo "$f" 8428 elif test -f "$srcdir/$f"; then 8429 # Source tree 8430 echo "$srcdir/$f" 8431 else 8432 # /dev/null tree 8433 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8434 echo "$as_me: error: cannot find input file: $f" >&2;} 9802 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 9803 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 9804 $as_echo "$as_me: $ac_file is unchanged" >&6;} 9805 else 9806 rm -f "$ac_file" 9807 mv "$tmp/config.h" "$ac_file" \ 9808 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9809 $as_echo "$as_me: error: could not create $ac_file" >&2;} 8435 9810 { (exit 1); exit 1; }; } 8436 fi;;8437 esac8438 done` || { (exit 1); exit 1; }8439 # Remove the trailing spaces.8440 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in8441 8442 _ACEOF8443 8444 # Transform confdefs.h into two sed scripts, `conftest.defines' and8445 # `conftest.undefs', that substitutes the proper values into8446 # config.h.in to produce config.h. The first handles `#define'8447 # templates, and the second `#undef' templates.8448 # And first: Protect against being on the right side of a sed subst in8449 # config.status. Protect against being in an unquoted here document8450 # in config.status.8451 rm -f conftest.defines conftest.undefs8452 # Using a here document instead of a string reduces the quoting nightmare.8453 # Putting comments in sed scripts is not portable.8454 #8455 # `end' is used to avoid that the second main sed command (meant for8456 # 0-ary CPP macros) applies to n-ary macro definitions.8457 # See the Autoconf documentation for `clear'.8458 cat >confdef2sed.sed <<\_ACEOF8459 s/[\\&,]/\\&/g8460 s,[\\$`],\\&,g8461 t clear8462 : clear8463 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp8464 t end8465 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp8466 : end8467 _ACEOF8468 # If some macros were called several times there might be several times8469 # the same #defines, which is useless. Nevertheless, we may not want to8470 # sort them, since we want the *last* AC-DEFINE to be honored.8471 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines8472 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs8473 rm -f confdef2sed.sed8474 8475 # This sed command replaces #undef with comments. This is necessary, for8476 # example, in the case of _POSIX_SOURCE, which is predefined and required8477 # on some systems where configure will not decide to define it.8478 cat >>conftest.undefs <<\_ACEOF8479 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,8480 _ACEOF8481 8482 # Break up conftest.defines because some shells have a limit on the size8483 # of here documents, and old seds have small limits too (100 cmds).8484 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS8485 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS8486 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS8487 echo ' :' >>$CONFIG_STATUS8488 rm -f conftest.tail8489 while grep . conftest.defines >/dev/null8490 do8491 # Write a limited-size here document to $tmp/defines.sed.8492 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS8493 # Speed up: don't consider the non `#define' lines.8494 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS8495 # Work around the forget-to-reset-the-flag bug.8496 echo 't clr' >>$CONFIG_STATUS8497 echo ': clr' >>$CONFIG_STATUS8498 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS8499 echo 'CEOF8500 sed -f $tmp/defines.sed $tmp/in >$tmp/out8501 rm -f $tmp/in8502 mv $tmp/out $tmp/in8503 ' >>$CONFIG_STATUS8504 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail8505 rm -f conftest.defines8506 mv conftest.tail conftest.defines8507 done8508 rm -f conftest.defines8509 echo ' fi # grep' >>$CONFIG_STATUS8510 echo >>$CONFIG_STATUS8511 8512 # Break up conftest.undefs because some shells have a limit on the size8513 # of here documents, and old seds have small limits too (100 cmds).8514 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS8515 rm -f conftest.tail8516 while grep . conftest.undefs >/dev/null8517 do8518 # Write a limited-size here document to $tmp/undefs.sed.8519 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS8520 # Speed up: don't consider the non `#undef'8521 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS8522 # Work around the forget-to-reset-the-flag bug.8523 echo 't clr' >>$CONFIG_STATUS8524 echo ': clr' >>$CONFIG_STATUS8525 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS8526 echo 'CEOF8527 sed -f $tmp/undefs.sed $tmp/in >$tmp/out8528 rm -f $tmp/in8529 mv $tmp/out $tmp/in8530 ' >>$CONFIG_STATUS8531 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail8532 rm -f conftest.undefs8533 mv conftest.tail conftest.undefs8534 done8535 rm -f conftest.undefs8536 8537 cat >>$CONFIG_STATUS <<\_ACEOF8538 # Let's still pretend it is `configure' which instantiates (i.e., don't8539 # use $as_me), people would be surprised to read:8540 # /* config.h. Generated by config.status. */8541 if test x"$ac_file" = x-; then8542 echo "/* Generated by configure. */" >$tmp/config.h8543 else8544 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h8545 fi8546 cat $tmp/in >>$tmp/config.h8547 rm -f $tmp/in8548 if test x"$ac_file" != x-; then8549 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then8550 { echo "$as_me:$LINENO: $ac_file is unchanged" >&58551 echo "$as_me: $ac_file is unchanged" >&6;}8552 else8553 ac_dir=`(dirname "$ac_file") 2>/dev/null ||8554 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \8555 X"$ac_file" : 'X\(//\)[^/]' \| \8556 X"$ac_file" : 'X\(//\)$' \| \8557 X"$ac_file" : 'X\(/\)' \| \8558 . : '\(.\)' 2>/dev/null ||8559 echo X"$ac_file" |8560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }8561 /^X\(\/\/\)[^/].*/{ s//\1/; q; }8562 /^X\(\/\/\)$/{ s//\1/; q; }8563 /^X\(\/\).*/{ s//\1/; q; }8564 s/.*/./; q'`8565 { if $as_mkdir_p; then8566 mkdir -p "$ac_dir"8567 else8568 as_dir="$ac_dir"8569 as_dirs=8570 while test ! -d "$as_dir"; do8571 as_dirs="$as_dir $as_dirs"8572 as_dir=`(dirname "$as_dir") 2>/dev/null ||8573 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \8574 X"$as_dir" : 'X\(//\)[^/]' \| \8575 X"$as_dir" : 'X\(//\)$' \| \8576 X"$as_dir" : 'X\(/\)' \| \8577 . : '\(.\)' 2>/dev/null ||8578 echo X"$as_dir" |8579 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }8580 /^X\(\/\/\)[^/].*/{ s//\1/; q; }8581 /^X\(\/\/\)$/{ s//\1/; q; }8582 /^X\(\/\).*/{ s//\1/; q; }8583 s/.*/./; q'`8584 done8585 test ! -n "$as_dirs" || mkdir $as_dirs8586 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&58587 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}8588 { (exit 1); exit 1; }; }; }8589 8590 rm -f $ac_file8591 mv $tmp/config.h $ac_file8592 9811 fi 8593 9812 else 8594 cat $tmp/config.h 8595 rm -f $tmp/config.h 9813 $as_echo "/* $configure_input */" \ 9814 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 9815 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 9816 $as_echo "$as_me: error: could not create -" >&2;} 9817 { (exit 1); exit 1; }; } 8596 9818 fi 8597 done 8598 _ACEOF 8599 8600 cat >>$CONFIG_STATUS <<\_ACEOF 9819 ;; 9820 9821 9822 esac 9823 9824 done # for ac_tag 9825 8601 9826 8602 9827 { (exit 0); exit 0; } … … 8604 9829 chmod +x $CONFIG_STATUS 8605 9830 ac_clean_files=$ac_clean_files_save 9831 9832 test $ac_write_fail = 0 || 9833 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 9834 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 9835 { (exit 1); exit 1; }; } 8606 9836 8607 9837 … … 8632 9862 if test "$no_recursion" != yes; then 8633 9863 8634 # Remove --cache-file and --srcdir arguments so they do not pile up. 9864 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 9865 # so they do not pile up. 8635 9866 ac_sub_configure_args= 8636 9867 ac_prev= 8637 for ac_arg in $ac_configure_args; do 9868 eval "set x $ac_configure_args" 9869 shift 9870 for ac_arg 9871 do 8638 9872 if test -n "$ac_prev"; then 8639 9873 ac_prev= … … 8658 9892 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 8659 9893 ;; 8660 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; 9894 --disable-option-checking) 9895 ;; 9896 *) 9897 case $ac_arg in 9898 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 9899 esac 9900 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; 8661 9901 esac 8662 9902 done … … 8664 9904 # Always prepend --prefix to ensure using the same prefix 8665 9905 # in subdir configurations. 8666 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" 9906 ac_arg="--prefix=$prefix" 9907 case $ac_arg in 9908 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 9909 esac 9910 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 9911 9912 # Pass --silent 9913 if test "$silent" = yes; then 9914 ac_sub_configure_args="--silent $ac_sub_configure_args" 9915 fi 9916 9917 # Always prepend --disable-option-checking to silence warnings, since 9918 # different subdirs can have different --enable and --with options. 9919 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 8667 9920 8668 9921 ac_popdir=`pwd` … … 8671 9924 # Do not complain, so a configure script can configure whichever 8672 9925 # parts of a large source tree are present. 8673 test -d $srcdir/$ac_dir || continue 8674 8675 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 8676 echo "$as_me: configuring in $ac_dir" >&6;} 8677 { if $as_mkdir_p; then 8678 mkdir -p "$ac_dir" 8679 else 8680 as_dir="$ac_dir" 9926 test -d "$srcdir/$ac_dir" || continue 9927 9928 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 9929 $as_echo "$as_me:$LINENO: $ac_msg" >&5 9930 $as_echo "$ac_msg" >&6 9931 { as_dir="$ac_dir" 9932 case $as_dir in #( 9933 -*) as_dir=./$as_dir;; 9934 esac 9935 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 8681 9936 as_dirs= 8682 while test ! -d "$as_dir"; do 8683 as_dirs="$as_dir $as_dirs" 8684 as_dir=`(dirname "$as_dir") 2>/dev/null || 9937 while :; do 9938 case $as_dir in #( 9939 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 9940 *) as_qdir=$as_dir;; 9941 esac 9942 as_dirs="'$as_qdir' $as_dirs" 9943 as_dir=`$as_dirname -- "$as_dir" || 8685 9944 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8686 9945 X"$as_dir" : 'X\(//\)[^/]' \| \ 8687 9946 X"$as_dir" : 'X\(//\)$' \| \ 8688 X"$as_dir" : 'X\(/\)' \| \ 8689 . : '\(.\)' 2>/dev/null || 8690 echo X"$as_dir" | 8691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8692 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8693 /^X\(\/\/\)$/{ s//\1/; q; } 8694 /^X\(\/\).*/{ s//\1/; q; } 8695 s/.*/./; q'` 9947 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 9948 $as_echo X"$as_dir" | 9949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9950 s//\1/ 9951 q 9952 } 9953 /^X\(\/\/\)[^/].*/{ 9954 s//\1/ 9955 q 9956 } 9957 /^X\(\/\/\)$/{ 9958 s//\1/ 9959 q 9960 } 9961 /^X\(\/\).*/{ 9962 s//\1/ 9963 q 9964 } 9965 s/.*/./; q'` 9966 test -d "$as_dir" && break 8696 9967 done 8697 test ! -n "$as_dirs" || mkdir $as_dirs8698 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&58699 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}9968 test -z "$as_dirs" || eval "mkdir $as_dirs" 9969 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 9970 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 8700 9971 { (exit 1); exit 1; }; }; } 8701 8702 9972 ac_builddir=. 8703 9973 8704 if test "$ac_dir" != .; then 8705 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8706 # A "../" for each directory in $ac_dir_suffix. 8707 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8708 else 8709 ac_dir_suffix= ac_top_builddir= 8710 fi 9974 case "$ac_dir" in 9975 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 9976 *) 9977 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 9978 # A ".." for each directory in $ac_dir_suffix. 9979 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 9980 case $ac_top_builddir_sub in 9981 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 9982 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 9983 esac ;; 9984 esac 9985 ac_abs_top_builddir=$ac_pwd 9986 ac_abs_builddir=$ac_pwd$ac_dir_suffix 9987 # for backward compatibility: 9988 ac_top_builddir=$ac_top_build_prefix 8711 9989 8712 9990 case $srcdir in 8713 .) # No --srcdir option.We are building in place.9991 .) # We are building in place. 8714 9992 ac_srcdir=. 8715 if test -z "$ac_top_builddir"; then 8716 ac_top_srcdir=. 9993 ac_top_srcdir=$ac_top_builddir_sub 9994 ac_abs_top_srcdir=$ac_pwd ;; 9995 [\\/]* | ?:[\\/]* ) # Absolute name. 9996 ac_srcdir=$srcdir$ac_dir_suffix; 9997 ac_top_srcdir=$srcdir 9998 ac_abs_top_srcdir=$srcdir ;; 9999 *) # Relative name. 10000 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 10001 ac_top_srcdir=$ac_top_build_prefix$srcdir 10002 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 10003 esac 10004 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 10005 10006 10007 cd "$ac_dir" 10008 10009 # Check for guested configure; otherwise get Cygnus style configure. 10010 if test -f "$ac_srcdir/configure.gnu"; then 10011 ac_sub_configure=$ac_srcdir/configure.gnu 10012 elif test -f "$ac_srcdir/configure"; then 10013 ac_sub_configure=$ac_srcdir/configure 10014 elif test -f "$ac_srcdir/configure.in"; then 10015 # This should be Cygnus configure. 10016 ac_sub_configure=$ac_aux_dir/configure 8717 10017 else 8718 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8719 fi ;; 8720 [\\/]* | ?:[\\/]* ) # Absolute path. 8721 ac_srcdir=$srcdir$ac_dir_suffix; 8722 ac_top_srcdir=$srcdir ;; 8723 *) # Relative path. 8724 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8725 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8726 esac 8727 8728 # Do not use `cd foo && pwd` to compute absolute paths, because 8729 # the directories may not exist. 8730 case `pwd` in 8731 .) ac_abs_builddir="$ac_dir";; 8732 *) 8733 case "$ac_dir" in 8734 .) ac_abs_builddir=`pwd`;; 8735 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8736 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8737 esac;; 8738 esac 8739 case $ac_abs_builddir in 8740 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8741 *) 8742 case ${ac_top_builddir}. in 8743 .) ac_abs_top_builddir=$ac_abs_builddir;; 8744 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8745 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8746 esac;; 8747 esac 8748 case $ac_abs_builddir in 8749 .) ac_abs_srcdir=$ac_srcdir;; 8750 *) 8751 case $ac_srcdir in 8752 .) ac_abs_srcdir=$ac_abs_builddir;; 8753 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8754 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8755 esac;; 8756 esac 8757 case $ac_abs_builddir in 8758 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8759 *) 8760 case $ac_top_srcdir in 8761 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8762 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8763 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8764 esac;; 8765 esac 8766 8767 8768 cd $ac_dir 8769 8770 # Check for guested configure; otherwise get Cygnus style configure. 8771 if test -f $ac_srcdir/configure.gnu; then 8772 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" 8773 elif test -f $ac_srcdir/configure; then 8774 ac_sub_configure="$SHELL '$ac_srcdir/configure'" 8775 elif test -f $ac_srcdir/configure.in; then 8776 ac_sub_configure=$ac_configure 8777 else 8778 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 8779 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 10018 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 10019 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 8780 10020 ac_sub_configure= 8781 10021 fi … … 8786 10026 case $cache_file in 8787 10027 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 8788 *) # Relative path.8789 ac_sub_cache_file=$ac_top_build dir$cache_file ;;10028 *) # Relative name. 10029 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; 8790 10030 esac 8791 10031 8792 { echo "$as_me:$LINENO: running$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&58793 echo "$as_me: running$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}10032 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 10033 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 8794 10034 # The eval makes quoting arguments work. 8795 eval $ac_sub_configure$ac_sub_configure_args \8796 --cache-file= $ac_sub_cache_file --srcdir=$ac_srcdir||8797 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&58798 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}10035 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 10036 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 10037 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 10038 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 8799 10039 { (exit 1); exit 1; }; } 8800 10040 fi 8801 10041 8802 cd $ac_popdir10042 cd "$ac_popdir" 8803 10043 done 8804 10044 fi 8805 8806 8807 10045 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 10046 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 10047 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 10048 fi 10049 10050 10051 -
main/trunk/greenstone2/configure.in
r24958 r25149 257 257 if test "$arch_64bit" = yes; then 258 258 AC_MSG_RESULT(yes) 259 if test -z "$COMPAT32BITFLAGS" ; then 260 if test "$ENABLE_MG" = "1" -o "$ENABLE_MGPP" = "1" ; then 261 COMPAT32BITFLAGS="-m32" 262 fi 259 if test -z "$ARCH_DEP_FLAGS" ; then 260 ARCH_DEP_FLAGS=-fPIC 263 261 fi 264 262 else 265 263 AC_MSG_RESULT(no) 266 if test -z "$ COMPAT32BITFLAGS" ; then267 COMPAT32BITFLAGS=264 if test -z "$ARCH_DEP_FLAGS" ; then 265 ARCH_DEP_FLAGS= 268 266 fi 269 267 fi 270 268 271 export COMPAT32BITFLAGS272 AC_SUBST( COMPAT32BITFLAGS)269 export ARCH_DEP_FLAGS 270 AC_SUBST(ARCH_DEP_FLAGS) 273 271 274 272 -
main/trunk/greenstone2/runtime-src/configure
r24958 r25149 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59.3 # Generated by GNU Autoconf 2.63. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 6 7 # This configure script is free software; the Free Software Foundation 7 8 # gives unlimited permission to copy, distribute and modify it. … … 10 11 ## --------------------- ## 11 12 12 # Be Bourne compatible 13 # Be more Bourne compatible 14 DUALCASE=1; export DUALCASE # for MKS sh 13 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 16 emulate sh 15 17 NULLCMD=: 16 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17 19 # is contrary to our usage. Disable this feature. 18 20 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 21 setopt NO_GLOB_SUBST 22 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 79 33 # Avoid depending upon Character Ranges. 80 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 84 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 39 40 as_nl=' 41 ' 42 export as_nl 43 # Printing a long string crashes Solaris 7 /usr/bin/printf. 44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50 else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70 fi 71 86 72 # The user is always right. 87 73 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79 fi 80 81 # Support unset when possible. 82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 83 as_unset=unset 84 else 85 as_unset=false 86 fi 87 88 89 # IFS 90 # We need space, tab and new line, in precisely that order. Quoting is 91 # there to prevent editors from complaining about space-tab. 92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 93 # splitting by setting IFS to empty value.) 94 IFS=" "" $as_nl" 95 96 # Find who we are. Look in the path if we contain no directory separator. 97 case $0 in 98 *[\\/]* ) as_myself=$0 ;; 99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 100 for as_dir in $PATH 111 101 do … … 114 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 105 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 106 IFS=$as_save_IFS 107 108 ;; 109 esac 110 # We did not find ourselves, most probably we were run as `sh COMMAND' 111 # in which case we are not to be found in the path. 112 if test "x$as_myself" = x; then 113 as_myself=$0 114 fi 115 if test ! -f "$as_myself"; then 116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 117 { (exit 1); exit 1; } 118 fi 119 120 # Work around bugs in pre-3.0 UWIN ksh. 121 for as_var in ENV MAIL MAILPATH 122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 123 done 124 PS1='$ ' 125 PS2='> ' 126 PS4='+ ' 127 128 # NLS nuisances. 129 LC_ALL=C 130 export LC_ALL 131 LANGUAGE=C 132 export LANGUAGE 133 134 # Required to use basename. 135 if expr a : '\(a\)' >/dev/null 2>&1 && 136 test "X`expr 00001 : '.*\(...\)'`" = X001; then 137 as_expr=expr 138 else 139 as_expr=false 140 fi 141 142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 143 as_basename=basename 144 else 145 as_basename=false 146 fi 147 148 149 # Name of the executable. 150 as_me=`$as_basename -- "$0" || 151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 152 X"$0" : 'X\(//\)$' \| \ 153 X"$0" : 'X\(/\)' \| . 2>/dev/null || 154 $as_echo X/"$0" | 155 sed '/^.*\/\([^/][^/]*\)\/*$/{ 156 s//\1/ 157 q 158 } 159 /^X\/\(\/\/\)$/{ 160 s//\1/ 161 q 162 } 163 /^X\/\(\/\).*/{ 164 s//\1/ 165 q 166 } 167 s/.*/./; q'` 168 169 # CDPATH. 170 $as_unset CDPATH 171 172 173 if test "x$CONFIG_SHELL" = x; then 174 if (eval ":") 2>/dev/null; then 175 as_have_required=yes 176 else 177 as_have_required=no 178 fi 179 180 if test $as_have_required = yes && (eval ": 181 (as_func_return () { 182 (exit \$1) 183 } 184 as_func_success () { 185 as_func_return 0 186 } 187 as_func_failure () { 188 as_func_return 1 189 } 190 as_func_ret_success () { 191 return 0 192 } 193 as_func_ret_failure () { 194 return 1 195 } 196 197 exitcode=0 198 if as_func_success; then 199 : 200 else 201 exitcode=1 202 echo as_func_success failed. 203 fi 204 205 if as_func_failure; then 206 exitcode=1 207 echo as_func_failure succeeded. 208 fi 209 210 if as_func_ret_success; then 211 : 212 else 213 exitcode=1 214 echo as_func_ret_success failed. 215 fi 216 217 if as_func_ret_failure; then 218 exitcode=1 219 echo as_func_ret_failure succeeded. 220 fi 221 222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 223 : 224 else 225 exitcode=1 226 echo positional parameters were not saved. 227 fi 228 229 test \$exitcode = 0) || { (exit 1); exit 1; } 230 231 ( 232 as_lineno_1=\$LINENO 233 as_lineno_2=\$LINENO 234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 236 ") 2> /dev/null; then 237 : 238 else 239 as_candidate_shells= 130 240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 133 243 IFS=$as_save_IFS 134 244 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 245 case $as_dir in 137 246 /*) 138 if ("$as_dir/$as_base" -c ' 247 for as_base in sh bash ksh sh5; do 248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 249 done;; 250 esac 251 done 252 IFS=$as_save_IFS 253 254 255 for as_shell in $as_candidate_shells $SHELL; do 256 # Try only shells that exist, to save several forks. 257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 258 { ("$as_shell") 2> /dev/null <<\_ASEOF 259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 260 emulate sh 261 NULLCMD=: 262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 263 # is contrary to our usage. Disable this feature. 264 alias -g '${1+"$@"}'='"$@"' 265 setopt NO_GLOB_SUBST 266 else 267 case `(set -o) 2>/dev/null` in 268 *posix*) set -o posix ;; 269 esac 270 271 fi 272 273 274 : 275 _ASEOF 276 }; then 277 CONFIG_SHELL=$as_shell 278 as_have_required=yes 279 if { "$as_shell" 2> /dev/null <<\_ASEOF 280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 281 emulate sh 282 NULLCMD=: 283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 284 # is contrary to our usage. Disable this feature. 285 alias -g '${1+"$@"}'='"$@"' 286 setopt NO_GLOB_SUBST 287 else 288 case `(set -o) 2>/dev/null` in 289 *posix*) set -o posix ;; 290 esac 291 292 fi 293 294 295 : 296 (as_func_return () { 297 (exit $1) 298 } 299 as_func_success () { 300 as_func_return 0 301 } 302 as_func_failure () { 303 as_func_return 1 304 } 305 as_func_ret_success () { 306 return 0 307 } 308 as_func_ret_failure () { 309 return 1 310 } 311 312 exitcode=0 313 if as_func_success; then 314 : 315 else 316 exitcode=1 317 echo as_func_success failed. 318 fi 319 320 if as_func_failure; then 321 exitcode=1 322 echo as_func_failure succeeded. 323 fi 324 325 if as_func_ret_success; then 326 : 327 else 328 exitcode=1 329 echo as_func_ret_success failed. 330 fi 331 332 if as_func_ret_failure; then 333 exitcode=1 334 echo as_func_ret_failure succeeded. 335 fi 336 337 if ( set x; as_func_ret_success y && test x = "$1" ); then 338 : 339 else 340 exitcode=1 341 echo positional parameters were not saved. 342 fi 343 344 test $exitcode = 0) || { (exit 1); exit 1; } 345 346 ( 139 347 as_lineno_1=$LINENO 140 348 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`142 349 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 351 352 _ASEOF 353 }; then 354 break 355 fi 356 357 fi 358 359 done 360 361 if test "x$CONFIG_SHELL" != x; then 362 for as_var in BASH_ENV ENV 363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 364 done 365 export CONFIG_SHELL 366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 367 fi 368 369 370 if test $as_have_required = no; then 371 echo This script requires a shell more modern than all the 372 echo shells that I found on your system. Please install a 373 echo modern shell, or manually run the script under such a 374 echo shell if you do have one. 375 { (exit 1); exit 1; } 376 fi 377 378 379 fi 380 381 fi 382 383 384 385 (eval "as_func_return () { 386 (exit \$1) 387 } 388 as_func_success () { 389 as_func_return 0 390 } 391 as_func_failure () { 392 as_func_return 1 393 } 394 as_func_ret_success () { 395 return 0 396 } 397 as_func_ret_failure () { 398 return 1 399 } 400 401 exitcode=0 402 if as_func_success; then 403 : 404 else 405 exitcode=1 406 echo as_func_success failed. 407 fi 408 409 if as_func_failure; then 410 exitcode=1 411 echo as_func_failure succeeded. 412 fi 413 414 if as_func_ret_success; then 415 : 416 else 417 exitcode=1 418 echo as_func_ret_success failed. 419 fi 420 421 if as_func_ret_failure; then 422 exitcode=1 423 echo as_func_ret_failure succeeded. 424 fi 425 426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 427 : 428 else 429 exitcode=1 430 echo positional parameters were not saved. 431 fi 432 433 test \$exitcode = 0") || { 434 echo No shell found that supports shell functions. 435 echo Please tell [email protected] about your system, 436 echo including any error possibly output before this message. 437 echo This can help us improve future autoconf versions. 438 echo Configuration will now proceed without shell functions. 439 } 440 441 442 443 as_lineno_1=$LINENO 444 as_lineno_2=$LINENO 445 test "x$as_lineno_1" != "x$as_lineno_2" && 446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 155 447 156 448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 449 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 450 # line-number line after each line using $LINENO; the second 'sed' 451 # does the real work. The second script uses 'N' to pair each 452 # line-number line with the line containing $LINENO, and appends 453 # trailing '-' during substitution so that $LINENO is not a special 454 # case at line end. 162 455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 456 # scripts with optimization help from Paolo Bonzini. Blame Lee 457 # E. McMahon (1931-1989) for sed's syntax. :-) 458 sed -n ' 459 p 460 /[$]LINENO/= 461 ' <$as_myself | 165 462 sed ' 463 s/[$]LINENO.*/&-/ 464 t lineno 465 b 466 :lineno 166 467 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 468 :loop 469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 170 470 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 471 s/-\n.*// 173 472 ' >$as_me.lineno && 174 chmod +x $as_me.lineno||175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2473 chmod +x "$as_me.lineno" || 474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 475 { (exit 1); exit 1; }; } 177 476 178 477 # Don't try to exec as it changes $[0], causing all sort of problems 179 478 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensi ble to this).181 . ./$as_me.lineno479 # original and so on. Autoconf is especially sensitive to this). 480 . "./$as_me.lineno" 182 481 # Exit status is that of the last command. 183 482 exit … … 185 484 186 485 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192 esac 193 194 if expr a : '\(a\)' >/dev/null 2>&1; then 486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 487 as_dirname=dirname 488 else 489 as_dirname=false 490 fi 491 492 ECHO_C= ECHO_N= ECHO_T= 493 case `echo -n x` in 494 -n*) 495 case `echo 'x\c'` in 496 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 497 *) ECHO_C='\c';; 498 esac;; 499 *) 500 ECHO_N='-n';; 501 esac 502 if expr a : '\(a\)' >/dev/null 2>&1 && 503 test "X`expr 00001 : '.*\(...\)'`" = X001; then 195 504 as_expr=expr 196 505 else … … 199 508 200 509 rm -f conf$$ conf$$.exe conf$$.file 201 echo >conf$$.file 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 510 if test -d conf$$.dir; then 511 rm -f conf$$.dir/conf$$.file 512 else 513 rm -f conf$$.dir 514 mkdir conf$$.dir 2>/dev/null 515 fi 516 if (echo >conf$$.file) 2>/dev/null; then 517 if ln -s conf$$.file conf$$ 2>/dev/null; then 518 as_ln_s='ln -s' 519 # ... but there are two gotchas: 520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 522 # In both cases, we have to default to `cp -p'. 523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 524 as_ln_s='cp -p' 525 elif ln conf$$.file conf$$ 2>/dev/null; then 526 as_ln_s=ln 527 else 207 528 as_ln_s='cp -p' 208 else209 as_ln_s='ln -s'210 529 fi 211 elif ln conf$$.file conf$$ 2>/dev/null; then212 as_ln_s=ln213 530 else 214 531 as_ln_s='cp -p' 215 532 fi 216 rm -f conf$$ conf$$.exe conf$$.file 533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 534 rmdir conf$$.dir 2>/dev/null 217 535 218 536 if mkdir -p . 2>/dev/null; then … … 223 541 fi 224 542 225 as_executable_p="test -f" 543 if test -x / >/dev/null 2>&1; then 544 as_test_x='test -x' 545 else 546 if ls -dL / >/dev/null 2>&1; then 547 as_ls_L_option=L 548 else 549 as_ls_L_option= 550 fi 551 as_test_x=' 552 eval sh -c '\'' 553 if test -d "$1"; then 554 test -d "$1/."; 555 else 556 case $1 in 557 -*)set "./$1";; 558 esac; 559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 560 ???[sx]*):;;*)false;;esac;fi 561 '\'' sh 562 ' 563 fi 564 as_executable_p=$as_test_x 226 565 227 566 # Sed expression to map a string onto a valid CPP name. … … 232 571 233 572 234 # IFS 235 # We need space, tab and new line, in precisely that order. 236 as_nl=' 237 ' 238 IFS=" $as_nl" 239 240 # CDPATH. 241 $as_unset CDPATH 242 573 574 exec 7<&0 </dev/null 6>&1 243 575 244 576 # Name of the host. … … 247 579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 580 249 exec 6>&1250 251 581 # 252 582 # Initializations. 253 583 # 254 584 ac_default_prefix=/usr/local 585 ac_clean_files= 255 586 ac_config_libobj_dir=. 587 LIBOBJS= 256 588 cross_compiling=no 257 589 subdirs= … … 259 591 MAKEFLAGS= 260 592 SHELL=${CONFIG_SHELL-/bin/sh} 261 262 # Maximum number of lines to put in a shell here document.263 # This variable seems obsolete. It should probably be removed, and264 # only ac_max_sed_lines should be used.265 : ${ac_max_here_lines=38}266 593 267 594 # Identity of this package. … … 275 602 ac_includes_default="\ 276 603 #include <stdio.h> 277 #if HAVE_SYS_TYPES_H604 #ifdef HAVE_SYS_TYPES_H 278 605 # include <sys/types.h> 279 606 #endif 280 #if HAVE_SYS_STAT_H607 #ifdef HAVE_SYS_STAT_H 281 608 # include <sys/stat.h> 282 609 #endif 283 #if STDC_HEADERS610 #ifdef STDC_HEADERS 284 611 # include <stdlib.h> 285 612 # include <stddef.h> 286 613 #else 287 # if HAVE_STDLIB_H614 # ifdef HAVE_STDLIB_H 288 615 # include <stdlib.h> 289 616 # endif 290 617 #endif 291 #if HAVE_STRING_H292 # if ! STDC_HEADERS &&HAVE_MEMORY_H618 #ifdef HAVE_STRING_H 619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 293 620 # include <memory.h> 294 621 # endif 295 622 # include <string.h> 296 623 #endif 297 #if HAVE_STRINGS_H624 #ifdef HAVE_STRINGS_H 298 625 # include <strings.h> 299 626 #endif 300 #if HAVE_INTTYPES_H627 #ifdef HAVE_INTTYPES_H 301 628 # include <inttypes.h> 302 #else303 # if HAVE_STDINT_H304 # include <stdint.h>305 # endif306 629 #endif 307 #if HAVE_UNISTD_H 630 #ifdef HAVE_STDINT_H 631 # include <stdint.h> 632 #endif 633 #ifdef HAVE_UNISTD_H 308 634 # include <unistd.h> 309 635 #endif" 310 636 311 ac_subdirs_all="$ac_subdirs_all packages" 312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_JAVA USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE USE_RSS USE_APACHE_HTTPD ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX JAVAC JAVACFLAGS JAVA uudecode AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos gsdlarch MODULEDIRS subdirs LTLIBOBJS' 637 enable_option_checking=no 638 ac_subst_vars='LTLIBOBJS 639 subdirs 640 MODULEDIRS 641 gsdlarch 642 gsdlos 643 STATIC 644 LIBOBJS 645 ALLOCA 646 ANSI2KNR 647 U 648 EGREP 649 GREP 650 CPP 651 MICO_VER 652 ARCH_DEP_FLAGS 653 RANLIB 654 SET_MAKE 655 LN_S 656 INSTALL_DATA 657 INSTALL_SCRIPT 658 INSTALL_PROGRAM 659 target_os 660 target_vendor 661 target_cpu 662 target 663 host_os 664 host_vendor 665 host_cpu 666 host 667 build_os 668 build_vendor 669 build_cpu 670 build 671 YFLAGS 672 YACC 673 AWK 674 uudecode 675 JAVA 676 JAVACFLAGS 677 JAVAC 678 ac_ct_CXX 679 CXXFLAGS 680 CXX 681 OBJEXT 682 EXEEXT 683 ac_ct_CC 684 CPPFLAGS 685 CC 686 CFLAGS 687 LDFLAGS 688 ENABLE_LUCENE 689 ENABLE_MGPP 690 ENABLE_MG 691 USE_APACHE_HTTPD 692 USE_RSS 693 USE_SQLITE 694 ENABLE_ACCENTFOLD 695 USE_GDBM 696 USE_JDBM 697 ENABLE_JAVA 698 USE_YAZ 699 USE_Z3950 700 MICO_DIR 701 USE_CORBA 702 USE_LANGACTION 703 USE_FASTCGI 704 VERSION 705 PACKAGE 706 target_alias 707 host_alias 708 build_alias 709 LIBS 710 ECHO_T 711 ECHO_N 712 ECHO_C 713 DEFS 714 mandir 715 localedir 716 libdir 717 psdir 718 pdfdir 719 dvidir 720 htmldir 721 infodir 722 docdir 723 oldincludedir 724 includedir 725 localstatedir 726 sharedstatedir 727 sysconfdir 728 datadir 729 datarootdir 730 libexecdir 731 sbindir 732 bindir 733 program_transform_name 734 prefix 735 exec_prefix 736 PACKAGE_BUGREPORT 737 PACKAGE_STRING 738 PACKAGE_VERSION 739 PACKAGE_TARNAME 740 PACKAGE_NAME 741 PATH_SEPARATOR 742 SHELL' 313 743 ac_subst_files='' 744 ac_user_opts=' 745 enable_option_checking 746 enable_corba 747 with_micodir 748 enable_z3950 749 enable_yaz 750 enable_java 751 enable_jdbm 752 enable_gdbm 753 enable_accentfold 754 enable_sqlite 755 enable_rss 756 enable_apache_httpd 757 enable_mg 758 enable_mgpp 759 enable_lucene 760 with_dmalloc 761 with_regex 762 ' 763 ac_precious_vars='build_alias 764 host_alias 765 target_alias 766 CC 767 CFLAGS 768 LDFLAGS 769 LIBS 770 CPPFLAGS 771 CXX 772 CXXFLAGS 773 CCC 774 YACC 775 YFLAGS 776 CPP' 777 ac_subdirs_all='packages' 314 778 315 779 # Initialize some variables set by options. 316 780 ac_init_help= 317 781 ac_init_version=false 782 ac_unrecognized_opts= 783 ac_unrecognized_sep= 318 784 # The variables have the same names as the options, with 319 785 # dashes changed to underlines. … … 338 804 # by default will actually change. 339 805 # Use braces instead of parens because sh, perl, etc. also accept them. 806 # (The list follows the same order as the GNU Coding Standards.) 340 807 bindir='${exec_prefix}/bin' 341 808 sbindir='${exec_prefix}/sbin' 342 809 libexecdir='${exec_prefix}/libexec' 343 datadir='${prefix}/share' 810 datarootdir='${prefix}/share' 811 datadir='${datarootdir}' 344 812 sysconfdir='${prefix}/etc' 345 813 sharedstatedir='${prefix}/com' 346 814 localstatedir='${prefix}/var' 347 libdir='${exec_prefix}/lib'348 815 includedir='${prefix}/include' 349 816 oldincludedir='/usr/include' 350 infodir='${prefix}/info' 351 mandir='${prefix}/man' 817 docdir='${datarootdir}/doc/${PACKAGE}' 818 infodir='${datarootdir}/info' 819 htmldir='${docdir}' 820 dvidir='${docdir}' 821 pdfdir='${docdir}' 822 psdir='${docdir}' 823 libdir='${exec_prefix}/lib' 824 localedir='${datarootdir}/locale' 825 mandir='${datarootdir}/man' 352 826 353 827 ac_prev= 828 ac_dashdash= 354 829 for ac_option 355 830 do 356 831 # If the previous option needs an argument, assign it. 357 832 if test -n "$ac_prev"; then 358 eval "$ac_prev=\$ac_option"833 eval $ac_prev=\$ac_option 359 834 ac_prev= 360 835 continue 361 836 fi 362 837 363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 838 case $ac_option in 839 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 840 *) ac_optarg=yes ;; 841 esac 364 842 365 843 # Accept the important Cygnus configure options, so we can diagnose typos. 366 844 367 case $ac_option in 845 case $ac_dashdash$ac_option in 846 --) 847 ac_dashdash=yes ;; 368 848 369 849 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 387 867 cache_file=config.cache ;; 388 868 389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)869 -datadir | --datadir | --datadi | --datad) 390 870 ac_prev=datadir ;; 391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 392 | --da=*) 871 -datadir=* | --datadir=* | --datadi=* | --datad=*) 393 872 datadir=$ac_optarg ;; 394 873 874 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 875 | --dataroo | --dataro | --datar) 876 ac_prev=datarootdir ;; 877 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 878 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 879 datarootdir=$ac_optarg ;; 880 395 881 -disable-* | --disable-*) 396 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`882 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 397 883 # Reject names that are not valid shell variable names. 398 expr "x$ac_ feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2884 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 885 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 400 886 { (exit 1); exit 1; }; } 401 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 402 eval "enable_$ac_feature=no" ;; 887 ac_useropt_orig=$ac_useropt 888 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 889 case $ac_user_opts in 890 *" 891 "enable_$ac_useropt" 892 "*) ;; 893 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 894 ac_unrecognized_sep=', ';; 895 esac 896 eval enable_$ac_useropt=no ;; 897 898 -docdir | --docdir | --docdi | --doc | --do) 899 ac_prev=docdir ;; 900 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 901 docdir=$ac_optarg ;; 902 903 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 904 ac_prev=dvidir ;; 905 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 906 dvidir=$ac_optarg ;; 403 907 404 908 -enable-* | --enable-*) 405 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`909 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 406 910 # Reject names that are not valid shell variable names. 407 expr "x$ac_ feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 912 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 409 913 { (exit 1); exit 1; }; } 410 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 411 case $ac_option in 412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 413 *) ac_optarg=yes ;; 914 ac_useropt_orig=$ac_useropt 915 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 916 case $ac_user_opts in 917 *" 918 "enable_$ac_useropt" 919 "*) ;; 920 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 921 ac_unrecognized_sep=', ';; 414 922 esac 415 eval "enable_$ac_feature='$ac_optarg'";;923 eval enable_$ac_useropt=\$ac_optarg ;; 416 924 417 925 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 440 948 host_alias=$ac_optarg ;; 441 949 950 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 951 ac_prev=htmldir ;; 952 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 953 | --ht=*) 954 htmldir=$ac_optarg ;; 955 442 956 -includedir | --includedir | --includedi | --included | --include \ 443 957 | --includ | --inclu | --incl | --inc) … … 464 978 libexecdir=$ac_optarg ;; 465 979 980 -localedir | --localedir | --localedi | --localed | --locale) 981 ac_prev=localedir ;; 982 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 983 localedir=$ac_optarg ;; 984 466 985 -localstatedir | --localstatedir | --localstatedi | --localstated \ 467 | --localstate | --localstat | --localsta | --localst \ 468 | --locals | --local | --loca | --loc | --lo) 986 | --localstate | --localstat | --localsta | --localst | --locals) 469 987 ac_prev=localstatedir ;; 470 988 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 989 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 473 990 localstatedir=$ac_optarg ;; 474 991 … … 535 1052 program_transform_name=$ac_optarg ;; 536 1053 1054 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1055 ac_prev=pdfdir ;; 1056 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1057 pdfdir=$ac_optarg ;; 1058 1059 -psdir | --psdir | --psdi | --psd | --ps) 1060 ac_prev=psdir ;; 1061 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1062 psdir=$ac_optarg ;; 1063 537 1064 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 538 1065 | -silent | --silent | --silen | --sile | --sil) … … 585 1112 586 1113 -with-* | --with-*) 587 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1114 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 588 1115 # Reject names that are not valid shell variable names. 589 expr "x$ac_ package" : ".*[^-_$as_cr_alnum]" >/dev/null &&590 { echo "$as_me: error: invalid package name: $ac_package" >&21116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1117 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 591 1118 { (exit 1); exit 1; }; } 592 ac_package=`echo $ac_package| sed 's/-/_/g'` 593 case $ac_option in 594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 595 *) ac_optarg=yes ;; 1119 ac_useropt_orig=$ac_useropt 1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1121 case $ac_user_opts in 1122 *" 1123 "with_$ac_useropt" 1124 "*) ;; 1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1126 ac_unrecognized_sep=', ';; 596 1127 esac 597 eval "with_$ac_package='$ac_optarg'";;1128 eval with_$ac_useropt=\$ac_optarg ;; 598 1129 599 1130 -without-* | --without-*) 600 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1131 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 601 1132 # Reject names that are not valid shell variable names. 602 expr "x$ac_ package" : ".*[^-_$as_cr_alnum]" >/dev/null &&603 { echo "$as_me: error: invalid package name: $ac_package" >&21133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1134 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 604 1135 { (exit 1); exit 1; }; } 605 ac_package=`echo $ac_package | sed 's/-/_/g'` 606 eval "with_$ac_package=no" ;; 1136 ac_useropt_orig=$ac_useropt 1137 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1138 case $ac_user_opts in 1139 *" 1140 "with_$ac_useropt" 1141 "*) ;; 1142 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1143 ac_unrecognized_sep=', ';; 1144 esac 1145 eval with_$ac_useropt=no ;; 607 1146 608 1147 --x) … … 624 1163 x_libraries=$ac_optarg ;; 625 1164 626 -*) { echo "$as_me: error: unrecognized option: $ac_option1165 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 627 1166 Try \`$0 --help' for more information." >&2 628 1167 { (exit 1); exit 1; }; } … … 633 1172 # Reject names that are not valid shell variable names. 634 1173 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&21174 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 636 1175 { (exit 1); exit 1; }; } 637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 638 eval "$ac_envvar='$ac_optarg'" 1176 eval $ac_envvar=\$ac_optarg 639 1177 export $ac_envvar ;; 640 1178 641 1179 *) 642 1180 # FIXME: should be removed in autoconf 3.0. 643 echo "$as_me: WARNING: you should use --build, --host, --target" >&21181 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 644 1182 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 645 echo "$as_me: WARNING: invalid host type: $ac_option" >&21183 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 646 1184 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 647 1185 ;; … … 652 1190 if test -n "$ac_prev"; then 653 1191 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 654 { echo "$as_me: error: missing argument to $ac_option" >&21192 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 655 1193 { (exit 1); exit 1; }; } 656 1194 fi 657 1195 658 # Be sure to have absolute paths. 659 for ac_var in exec_prefix prefix 1196 if test -n "$ac_unrecognized_opts"; then 1197 case $enable_option_checking in 1198 no) ;; 1199 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1200 { (exit 1); exit 1; }; } ;; 1201 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1202 esac 1203 fi 1204 1205 # Check all directory arguments for consistency. 1206 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1207 datadir sysconfdir sharedstatedir localstatedir includedir \ 1208 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1209 libdir localedir mandir 660 1210 do 661 eval ac_val=$`echo $ac_var` 1211 eval ac_val=\$$ac_var 1212 # Remove trailing slashes. 662 1213 case $ac_val in 663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2665 { (exit 1); exit 1; }; };;1214 */ ) 1215 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1216 eval $ac_var=\$ac_val;; 666 1217 esac 667 done 668 669 # Be sure to have absolute paths. 670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 671 localstatedir libdir includedir oldincludedir infodir mandir 672 do 673 eval ac_val=$`echo $ac_var` 1218 # Be sure to have absolute directory names. 674 1219 case $ac_val in 675 [\\/$]* | ?:[\\/]* ) ;; 676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 677 { (exit 1); exit 1; }; };; 1220 [\\/$]* | ?:[\\/]* ) continue;; 1221 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 678 1222 esac 1223 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1224 { (exit 1); exit 1; }; } 679 1225 done 680 1226 … … 690 1236 if test "x$build_alias" = x; then 691 1237 cross_compiling=maybe 692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1238 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 693 1239 If a cross compiler is detected then cross compile mode will be used." >&2 694 1240 elif test "x$build_alias" != "x$host_alias"; then … … 703 1249 704 1250 1251 ac_pwd=`pwd` && test -n "$ac_pwd" && 1252 ac_ls_di=`ls -di .` && 1253 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1254 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1255 { (exit 1); exit 1; }; } 1256 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1257 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1258 { (exit 1); exit 1; }; } 1259 1260 705 1261 # Find the source files, if location was not specified. 706 1262 if test -z "$srcdir"; then 707 1263 ac_srcdir_defaulted=yes 708 # Try the directory containing this script, then its parent. 709 ac_confdir=`(dirname "$0") 2>/dev/null || 710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 711 X"$0" : 'X\(//\)[^/]' \| \ 712 X"$0" : 'X\(//\)$' \| \ 713 X"$0" : 'X\(/\)' \| \ 714 . : '\(.\)' 2>/dev/null || 715 echo X"$0" | 716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 717 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 718 /^X\(\/\/\)$/{ s//\1/; q; } 719 /^X\(\/\).*/{ s//\1/; q; } 720 s/.*/./; q'` 1264 # Try the directory containing this script, then the parent directory. 1265 ac_confdir=`$as_dirname -- "$as_myself" || 1266 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1267 X"$as_myself" : 'X\(//\)[^/]' \| \ 1268 X"$as_myself" : 'X\(//\)$' \| \ 1269 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1270 $as_echo X"$as_myself" | 1271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1272 s//\1/ 1273 q 1274 } 1275 /^X\(\/\/\)[^/].*/{ 1276 s//\1/ 1277 q 1278 } 1279 /^X\(\/\/\)$/{ 1280 s//\1/ 1281 q 1282 } 1283 /^X\(\/\).*/{ 1284 s//\1/ 1285 q 1286 } 1287 s/.*/./; q'` 721 1288 srcdir=$ac_confdir 722 if test ! -r $srcdir/$ac_unique_file; then1289 if test ! -r "$srcdir/$ac_unique_file"; then 723 1290 srcdir=.. 724 1291 fi … … 726 1293 ac_srcdir_defaulted=no 727 1294 fi 728 if test ! -r $srcdir/$ac_unique_file; then729 if test "$ac_srcdir_defaulted" = yes; then730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&21295 if test ! -r "$srcdir/$ac_unique_file"; then 1296 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1297 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 731 1298 { (exit 1); exit 1; }; } 732 else 733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1299 fi 1300 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1301 ac_abs_confdir=`( 1302 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 734 1303 { (exit 1); exit 1; }; } 735 fi 736 fi 737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 739 { (exit 1); exit 1; }; } 740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 741 ac_env_build_alias_set=${build_alias+set} 742 ac_env_build_alias_value=$build_alias 743 ac_cv_env_build_alias_set=${build_alias+set} 744 ac_cv_env_build_alias_value=$build_alias 745 ac_env_host_alias_set=${host_alias+set} 746 ac_env_host_alias_value=$host_alias 747 ac_cv_env_host_alias_set=${host_alias+set} 748 ac_cv_env_host_alias_value=$host_alias 749 ac_env_target_alias_set=${target_alias+set} 750 ac_env_target_alias_value=$target_alias 751 ac_cv_env_target_alias_set=${target_alias+set} 752 ac_cv_env_target_alias_value=$target_alias 753 ac_env_CC_set=${CC+set} 754 ac_env_CC_value=$CC 755 ac_cv_env_CC_set=${CC+set} 756 ac_cv_env_CC_value=$CC 757 ac_env_CFLAGS_set=${CFLAGS+set} 758 ac_env_CFLAGS_value=$CFLAGS 759 ac_cv_env_CFLAGS_set=${CFLAGS+set} 760 ac_cv_env_CFLAGS_value=$CFLAGS 761 ac_env_LDFLAGS_set=${LDFLAGS+set} 762 ac_env_LDFLAGS_value=$LDFLAGS 763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_cv_env_LDFLAGS_value=$LDFLAGS 765 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 766 ac_env_CPPFLAGS_value=$CPPFLAGS 767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 769 ac_env_CXX_set=${CXX+set} 770 ac_env_CXX_value=$CXX 771 ac_cv_env_CXX_set=${CXX+set} 772 ac_cv_env_CXX_value=$CXX 773 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 774 ac_env_CXXFLAGS_value=$CXXFLAGS 775 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 776 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 777 ac_env_CPP_set=${CPP+set} 778 ac_env_CPP_value=$CPP 779 ac_cv_env_CPP_set=${CPP+set} 780 ac_cv_env_CPP_value=$CPP 1304 pwd)` 1305 # When building in place, set srcdir=. 1306 if test "$ac_abs_confdir" = "$ac_pwd"; then 1307 srcdir=. 1308 fi 1309 # Remove unnecessary trailing slashes from srcdir. 1310 # Double slashes in file names in object file debugging info 1311 # mess up M-x gdb in Emacs. 1312 case $srcdir in 1313 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1314 esac 1315 for ac_var in $ac_precious_vars; do 1316 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1317 eval ac_env_${ac_var}_value=\$${ac_var} 1318 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1319 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1320 done 781 1321 782 1322 # … … 807 1347 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 808 1348 809 _ACEOF810 811 cat <<_ACEOF812 1349 Installation directories: 813 1350 --prefix=PREFIX install architecture-independent files in PREFIX 814 1351 [$ac_default_prefix] 815 1352 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 816 1353 [PREFIX] 817 1354 818 1355 By default, \`make install' will install all the files in … … 824 1361 825 1362 Fine tuning of the installation directories: 826 --bindir=DIR user executables [EPREFIX/bin] 827 --sbindir=DIR system admin executables [EPREFIX/sbin] 828 --libexecdir=DIR program executables [EPREFIX/libexec] 829 --datadir=DIR read-only architecture-independent data [PREFIX/share] 830 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 831 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 832 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 833 --libdir=DIR object code libraries [EPREFIX/lib] 834 --includedir=DIR C header files [PREFIX/include] 835 --oldincludedir=DIR C header files for non-gcc [/usr/include] 836 --infodir=DIR info documentation [PREFIX/info] 837 --mandir=DIR man documentation [PREFIX/man] 1363 --bindir=DIR user executables [EPREFIX/bin] 1364 --sbindir=DIR system admin executables [EPREFIX/sbin] 1365 --libexecdir=DIR program executables [EPREFIX/libexec] 1366 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1367 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1368 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1369 --libdir=DIR object code libraries [EPREFIX/lib] 1370 --includedir=DIR C header files [PREFIX/include] 1371 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1372 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1373 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1374 --infodir=DIR info documentation [DATAROOTDIR/info] 1375 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1376 --mandir=DIR man documentation [DATAROOTDIR/man] 1377 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1378 --htmldir=DIR html documentation [DOCDIR] 1379 --dvidir=DIR dvi documentation [DOCDIR] 1380 --pdfdir=DIR pdf documentation [DOCDIR] 1381 --psdir=DIR ps documentation [DOCDIR] 838 1382 _ACEOF 839 1383 … … 852 1396 853 1397 Optional Features: 1398 --disable-option-checking ignore unrecognized --enable/--with options 854 1399 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 855 1400 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 881 1426 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 882 1427 nonstandard directory <lib dir> 883 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 884 headers in a nonstandard directory <include dir> 1428 LIBS libraries to pass to the linker, e.g. -l<library> 1429 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1430 you have headers in a nonstandard directory <include dir> 885 1431 CXX C++ compiler command 886 1432 CXXFLAGS C++ compiler flags 1433 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1434 the first program found out of: `bison -y', `byacc', `yacc'. 1435 YFLAGS The list of arguments that will be passed by default to $YACC. 1436 This script will default YFLAGS to the empty string to avoid a 1437 default value of `-d' given by some make applications. 887 1438 CPP C preprocessor 888 1439 … … 891 1442 892 1443 _ACEOF 1444 ac_status=$? 893 1445 fi 894 1446 895 1447 if test "$ac_init_help" = "recursive"; then 896 1448 # If there are subdirs, report their specific --help. 897 ac_popdir=`pwd`898 1449 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 899 test -d $ac_dir || continue 1450 test -d "$ac_dir" || 1451 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1452 continue 900 1453 ac_builddir=. 901 1454 902 if test "$ac_dir" != .; then 903 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 904 # A "../" for each directory in $ac_dir_suffix. 905 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 906 else 907 ac_dir_suffix= ac_top_builddir= 908 fi 1455 case "$ac_dir" in 1456 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1457 *) 1458 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1459 # A ".." for each directory in $ac_dir_suffix. 1460 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1461 case $ac_top_builddir_sub in 1462 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1463 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1464 esac ;; 1465 esac 1466 ac_abs_top_builddir=$ac_pwd 1467 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1468 # for backward compatibility: 1469 ac_top_builddir=$ac_top_build_prefix 909 1470 910 1471 case $srcdir in 911 .) # No --srcdir option.We are building in place.1472 .) # We are building in place. 912 1473 ac_srcdir=. 913 if test -z "$ac_top_builddir"; then 914 ac_top_srcdir=. 1474 ac_top_srcdir=$ac_top_builddir_sub 1475 ac_abs_top_srcdir=$ac_pwd ;; 1476 [\\/]* | ?:[\\/]* ) # Absolute name. 1477 ac_srcdir=$srcdir$ac_dir_suffix; 1478 ac_top_srcdir=$srcdir 1479 ac_abs_top_srcdir=$srcdir ;; 1480 *) # Relative name. 1481 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1482 ac_top_srcdir=$ac_top_build_prefix$srcdir 1483 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1484 esac 1485 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1486 1487 cd "$ac_dir" || { ac_status=$?; continue; } 1488 # Check for guested configure. 1489 if test -f "$ac_srcdir/configure.gnu"; then 1490 echo && 1491 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1492 elif test -f "$ac_srcdir/configure"; then 1493 echo && 1494 $SHELL "$ac_srcdir/configure" --help=recursive 915 1495 else 916 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 917 fi ;; 918 [\\/]* | ?:[\\/]* ) # Absolute path. 919 ac_srcdir=$srcdir$ac_dir_suffix; 920 ac_top_srcdir=$srcdir ;; 921 *) # Relative path. 922 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 923 ac_top_srcdir=$ac_top_builddir$srcdir ;; 924 esac 925 926 # Do not use `cd foo && pwd` to compute absolute paths, because 927 # the directories may not exist. 928 case `pwd` in 929 .) ac_abs_builddir="$ac_dir";; 930 *) 931 case "$ac_dir" in 932 .) ac_abs_builddir=`pwd`;; 933 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 934 *) ac_abs_builddir=`pwd`/"$ac_dir";; 935 esac;; 936 esac 937 case $ac_abs_builddir in 938 .) ac_abs_top_builddir=${ac_top_builddir}.;; 939 *) 940 case ${ac_top_builddir}. in 941 .) ac_abs_top_builddir=$ac_abs_builddir;; 942 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 943 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 944 esac;; 945 esac 946 case $ac_abs_builddir in 947 .) ac_abs_srcdir=$ac_srcdir;; 948 *) 949 case $ac_srcdir in 950 .) ac_abs_srcdir=$ac_abs_builddir;; 951 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 952 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 953 esac;; 954 esac 955 case $ac_abs_builddir in 956 .) ac_abs_top_srcdir=$ac_top_srcdir;; 957 *) 958 case $ac_top_srcdir in 959 .) ac_abs_top_srcdir=$ac_abs_builddir;; 960 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 961 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 962 esac;; 963 esac 964 965 cd $ac_dir 966 # Check for guested configure; otherwise get Cygnus style configure. 967 if test -f $ac_srcdir/configure.gnu; then 968 echo 969 $SHELL $ac_srcdir/configure.gnu --help=recursive 970 elif test -f $ac_srcdir/configure; then 971 echo 972 $SHELL $ac_srcdir/configure --help=recursive 973 elif test -f $ac_srcdir/configure.ac || 974 test -f $ac_srcdir/configure.in; then 975 echo 976 $ac_configure --help 977 else 978 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 979 fi 980 cd $ac_popdir 1496 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1497 fi || ac_status=$? 1498 cd "$ac_pwd" || { ac_status=$?; break; } 981 1499 done 982 1500 fi 983 1501 984 test -n "$ac_init_help" && exit 01502 test -n "$ac_init_help" && exit $ac_status 985 1503 if $ac_init_version; then 986 1504 cat <<\_ACEOF 987 988 Copyright (C) 2003 Free Software Foundation, Inc. 1505 configure 1506 generated by GNU Autoconf 2.63 1507 1508 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1509 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 989 1510 This configure script is free software; the Free Software Foundation 990 1511 gives unlimited permission to copy, distribute and modify it. 991 1512 _ACEOF 992 exit 0 993 fi 994 exec 5>config.log 995 cat >&5 <<_ACEOF 1513 exit 1514 fi 1515 cat >config.log <<_ACEOF 996 1516 This file contains any messages produced by compilers while 997 1517 running configure, to aid debugging if configure makes a mistake. 998 1518 999 1519 It was created by $as_me, which was 1000 generated by GNU Autoconf 2. 59. Invocation command line was1520 generated by GNU Autoconf 2.63. Invocation command line was 1001 1521 1002 1522 $ $0 $@ 1003 1523 1004 1524 _ACEOF 1525 exec 5>>config.log 1005 1526 { 1006 1527 cat <<_ASUNAME … … 1021 1542 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1022 1543 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1023 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1544 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1024 1545 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1025 1546 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1033 1554 IFS=$as_save_IFS 1034 1555 test -z "$as_dir" && as_dir=. 1035 echo "PATH: $as_dir"1556 $as_echo "PATH: $as_dir" 1036 1557 done 1558 IFS=$as_save_IFS 1037 1559 1038 1560 } >&5 … … 1056 1578 ac_configure_args0= 1057 1579 ac_configure_args1= 1058 ac_sep=1059 1580 ac_must_keep_next=false 1060 1581 for ac_pass in 1 2 … … 1067 1588 | -silent | --silent | --silen | --sile | --sil) 1068 1589 continue ;; 1069 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1070 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1590 *\'*) 1591 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1071 1592 esac 1072 1593 case $ac_pass in … … 1089 1610 esac 1090 1611 fi 1091 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1092 # Get rid of the leading space. 1093 ac_sep=" " 1612 ac_configure_args="$ac_configure_args '$ac_arg'" 1094 1613 ;; 1095 1614 esac … … 1102 1621 # config.log. We remove comments because anyway the quotes in there 1103 1622 # would cause problems or look ugly. 1104 # WARNING: Be sure not to use single quotes in there, as some shells,1105 # such as our DU 5.0 friend, will then `close' the trap.1623 # WARNING: Use '\'' to represent an apostrophe within the trap. 1624 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1106 1625 trap 'exit_status=$? 1107 1626 # Save into config.log some information that might help in debugging. … … 1116 1635 echo 1117 1636 # The following way of writing the cache mishandles newlines in values, 1118 { 1637 ( 1638 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1639 eval ac_val=\$$ac_var 1640 case $ac_val in #( 1641 *${as_nl}*) 1642 case $ac_var in #( 1643 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1644 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1645 esac 1646 case $ac_var in #( 1647 _ | IFS | as_nl) ;; #( 1648 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1649 *) $as_unset $ac_var ;; 1650 esac ;; 1651 esac 1652 done 1119 1653 (set) 2>&1 | 1120 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1121 * ac_space=\ *)1654 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1655 *${as_nl}ac_space=\ *) 1122 1656 sed -n \ 1123 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1657 "s/'\''/'\''\\\\'\'''\''/g; 1658 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1659 ;; #( 1660 *) 1661 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1125 1662 ;; 1126 *) 1127 sed -n \ 1128 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1129 ;; 1130 esac; 1131 } 1663 esac | 1664 sort 1665 ) 1132 1666 echo 1133 1667 … … 1140 1674 for ac_var in $ac_subst_vars 1141 1675 do 1142 eval ac_val=$`echo $ac_var` 1143 echo "$ac_var='"'"'$ac_val'"'"'" 1676 eval ac_val=\$$ac_var 1677 case $ac_val in 1678 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1679 esac 1680 $as_echo "$ac_var='\''$ac_val'\''" 1144 1681 done | sort 1145 1682 echo … … 1147 1684 if test -n "$ac_subst_files"; then 1148 1685 cat <<\_ASBOX 1149 ## ------------- ##1150 ## Output files. ##1151 ## ------------- ##1686 ## ------------------- ## 1687 ## File substitutions. ## 1688 ## ------------------- ## 1152 1689 _ASBOX 1153 1690 echo 1154 1691 for ac_var in $ac_subst_files 1155 1692 do 1156 eval ac_val=$`echo $ac_var` 1157 echo "$ac_var='"'"'$ac_val'"'"'" 1693 eval ac_val=\$$ac_var 1694 case $ac_val in 1695 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1696 esac 1697 $as_echo "$ac_var='\''$ac_val'\''" 1158 1698 done | sort 1159 1699 echo … … 1167 1707 _ASBOX 1168 1708 echo 1169 sed "/^$/d" confdefs.h | sort1709 cat confdefs.h 1170 1710 echo 1171 1711 fi 1172 1712 test "$ac_signal" != 0 && 1173 echo "$as_me: caught signal $ac_signal"1174 echo "$as_me: exit $exit_status"1713 $as_echo "$as_me: caught signal $ac_signal" 1714 $as_echo "$as_me: exit $exit_status" 1175 1715 } >&5 1176 rm -f core *.core &&1177 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1716 rm -f core *.core core.conftest.* && 1717 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1178 1718 exit $exit_status 1179 1719 ' 0 1180 1720 for ac_signal in 1 2 13 15; do 1181 1721 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1184 1724 1185 1725 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1186 rm -rf conftest* confdefs.h 1187 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1188 echo >confdefs.h 1726 rm -f -r conftest* confdefs.h 1189 1727 1190 1728 # Predefined preprocessor variables. … … 1216 1754 1217 1755 # Let the site file select an alternate cache file if it wants to. 1218 # Prefer explicitly selected file to automatically selected ones. 1219 if test -z "$CONFIG_SITE"; then 1220 if test "x$prefix" != xNONE; then 1221 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1222 else 1223 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1224 fi 1225 fi 1226 for ac_site_file in $CONFIG_SITE; do 1756 # Prefer an explicitly selected file to automatically selected ones. 1757 ac_site_file1=NONE 1758 ac_site_file2=NONE 1759 if test -n "$CONFIG_SITE"; then 1760 ac_site_file1=$CONFIG_SITE 1761 elif test "x$prefix" != xNONE; then 1762 ac_site_file1=$prefix/share/config.site 1763 ac_site_file2=$prefix/etc/config.site 1764 else 1765 ac_site_file1=$ac_default_prefix/share/config.site 1766 ac_site_file2=$ac_default_prefix/etc/config.site 1767 fi 1768 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1769 do 1770 test "x$ac_site_file" = xNONE && continue 1227 1771 if test -r "$ac_site_file"; then 1228 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&51229 echo "$as_me: loading site script $ac_site_file" >&6;}1772 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1773 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1230 1774 sed 's/^/| /' "$ac_site_file" >&5 1231 1775 . "$ac_site_file" … … 1237 1781 # files actually), so we avoid doing that. 1238 1782 if test -f "$cache_file"; then 1239 { echo "$as_me:$LINENO: loading cache $cache_file" >&51240 echo "$as_me: loading cache $cache_file" >&6;}1783 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1784 $as_echo "$as_me: loading cache $cache_file" >&6;} 1241 1785 case $cache_file in 1242 [\\/]* | ?:[\\/]* ) . $cache_file;;1243 *) . ./$cache_file;;1786 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1787 *) . "./$cache_file";; 1244 1788 esac 1245 1789 fi 1246 1790 else 1247 { echo "$as_me:$LINENO: creating cache $cache_file" >&51248 echo "$as_me: creating cache $cache_file" >&6;}1791 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1792 $as_echo "$as_me: creating cache $cache_file" >&6;} 1249 1793 >$cache_file 1250 1794 fi … … 1253 1797 # value. 1254 1798 ac_cache_corrupted=false 1255 for ac_var in `(set) 2>&1 | 1256 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1799 for ac_var in $ac_precious_vars; do 1257 1800 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1258 1801 eval ac_new_set=\$ac_env_${ac_var}_set 1259 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1260 eval ac_new_val= "\$ac_env_${ac_var}_value"1802 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1803 eval ac_new_val=\$ac_env_${ac_var}_value 1261 1804 case $ac_old_set,$ac_new_set in 1262 1805 set,) 1263 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51264 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1806 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1807 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1265 1808 ac_cache_corrupted=: ;; 1266 1809 ,set) 1267 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51268 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1810 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1811 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1269 1812 ac_cache_corrupted=: ;; 1270 1813 ,);; 1271 1814 *) 1272 1815 if test "x$ac_old_val" != "x$ac_new_val"; then 1273 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1274 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1275 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1276 echo "$as_me: former value: $ac_old_val" >&2;} 1277 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1278 echo "$as_me: current value: $ac_new_val" >&2;} 1279 ac_cache_corrupted=: 1816 # differences in whitespace do not lead to failure. 1817 ac_old_val_w=`echo x $ac_old_val` 1818 ac_new_val_w=`echo x $ac_new_val` 1819 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1820 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1821 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1822 ac_cache_corrupted=: 1823 else 1824 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1825 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1826 eval $ac_var=\$ac_old_val 1827 fi 1828 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1829 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1830 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1831 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1280 1832 fi;; 1281 1833 esac … … 1283 1835 if test "$ac_new_set" = set; then 1284 1836 case $ac_new_val in 1285 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1286 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1837 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1287 1838 *) ac_arg=$ac_var=$ac_new_val ;; 1288 1839 esac … … 1294 1845 done 1295 1846 if $ac_cache_corrupted; then 1296 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1297 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1298 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1299 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1847 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 1848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1849 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1850 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1851 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1852 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1300 1853 { (exit 1); exit 1; }; } 1301 1854 fi 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1302 1871 1303 1872 ac_ext=c … … 1308 1877 1309 1878 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 ac_config_headers="$ac_config_headers config.h" 1879 ac_config_headers="$ac_config_headers config.h" 1328 1880 1329 1881 … … 1360 1912 fi 1361 1913 1362 # Check whether --enable-corba or --disable-corbawas given.1914 # Check whether --enable-corba was given. 1363 1915 if test "${enable_corba+set}" = set; then 1364 enableval="$enable_corba" 1365 USE_CORBA=$enableval 1916 enableval=$enable_corba; USE_CORBA=$enableval 1366 1917 else 1367 1918 USE_CORBA=no 1368 fi; 1919 fi 1920 1369 1921 if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then 1370 1922 USE_CORBA=1 1371 1923 cat >>confdefs.h <<\_ACEOF 1372 #define USE_CORBA 1924 #define USE_CORBA /**/ 1373 1925 _ACEOF 1374 1926 … … 1379 1931 1380 1932 1381 # Check whether --with-micodir or --without-micodirwas given.1933 # Check whether --with-micodir was given. 1382 1934 if test "${with_micodir+set}" = set; then 1383 withval="$with_micodir" 1384 MICO_DIR=$withval 1935 withval=$with_micodir; MICO_DIR=$withval 1385 1936 else 1386 1937 MICO_DIR="default" 1387 fi; 1938 fi 1939 1388 1940 cat >>confdefs.h <<_ACEOF 1389 1941 #define MICO_DIR "$MICO_DIR" … … 1392 1944 1393 1945 1394 # Check whether --enable-z3950 or --disable-z3950was given.1946 # Check whether --enable-z3950 was given. 1395 1947 if test "${enable_z3950+set}" = set; then 1396 enableval="$enable_z3950" 1397 USE_Z3950=$enableval 1948 enableval=$enable_z3950; USE_Z3950=$enableval 1398 1949 else 1399 1950 USE_Z3950=no 1400 fi; 1951 fi 1952 1401 1953 if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then 1402 1954 USE_Z3950=1 1403 1955 cat >>confdefs.h <<\_ACEOF 1404 #define USE_Z3950 1956 #define USE_Z3950 /**/ 1405 1957 _ACEOF 1406 1958 … … 1410 1962 1411 1963 1412 # Check whether --enable-yaz or --disable-yazwas given.1964 # Check whether --enable-yaz was given. 1413 1965 if test "${enable_yaz+set}" = set; then 1414 enableval="$enable_yaz" 1415 USE_YAZ=$enableval 1966 enableval=$enable_yaz; USE_YAZ=$enableval 1416 1967 else 1417 1968 USE_YAZ=yes 1418 fi; 1969 fi 1970 1419 1971 if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then 1420 1972 USE_YAZ=1 1421 1973 cat >>confdefs.h <<\_ACEOF 1422 #define USE_YAZ 1974 #define USE_YAZ /**/ 1423 1975 _ACEOF 1424 1976 … … 1428 1980 1429 1981 1430 # Check whether --enable-java or --disable-javawas given.1982 # Check whether --enable-java was given. 1431 1983 if test "${enable_java+set}" = set; then 1432 enableval="$enable_java" 1433 ENABLE_JAVA=$enableval 1984 enableval=$enable_java; ENABLE_JAVA=$enableval 1434 1985 else 1435 1986 ENABLE_JAVA=yes 1436 fi; 1987 fi 1988 1437 1989 if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then 1438 1990 ENABLE_JAVA=1 … … 1448 2000 1449 2001 1450 # Check whether --enable-jdbm or --disable-jdbmwas given.2002 # Check whether --enable-jdbm was given. 1451 2003 if test "${enable_jdbm+set}" = set; then 1452 enableval="$enable_jdbm" 1453 USE_JDBM=$enableval 2004 enableval=$enable_jdbm; USE_JDBM=$enableval 1454 2005 else 1455 2006 USE_JDBM=yes 1456 fi; 2007 fi 2008 1457 2009 if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then 1458 2010 USE_JDBM=1 1459 2011 cat >>confdefs.h <<\_ACEOF 1460 #define USE_JDBM 2012 #define USE_JDBM /**/ 1461 2013 _ACEOF 1462 2014 … … 1466 2018 1467 2019 1468 # Check whether --enable-gdbm or --disable-gdbmwas given.2020 # Check whether --enable-gdbm was given. 1469 2021 if test "${enable_gdbm+set}" = set; then 1470 enableval="$enable_gdbm" 1471 USE_GDBM=$enableval 2022 enableval=$enable_gdbm; USE_GDBM=$enableval 1472 2023 else 1473 2024 USE_GDBM=yes 1474 fi; 2025 fi 2026 1475 2027 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 1476 2028 USE_GDBM=1 1477 2029 cat >>confdefs.h <<\_ACEOF 1478 #define USE_GDBM 2030 #define USE_GDBM /**/ 1479 2031 _ACEOF 1480 2032 … … 1484 2036 1485 2037 1486 # Check whether --enable-accentfold or --disable-accentfoldwas given.2038 # Check whether --enable-accentfold was given. 1487 2039 if test "${enable_accentfold+set}" = set; then 1488 enableval="$enable_accentfold" 1489 ENABLE_ACCENTFOLD=$enableval 2040 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval 1490 2041 else 1491 2042 ENABLE_ACCENTFOLD=yes 1492 fi; 2043 fi 2044 1493 2045 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 1494 2046 ENABLE_ACCENTFOLD=1 1495 2047 cat >>confdefs.h <<\_ACEOF 1496 #define ENABLE_ACCENTFOLD 2048 #define ENABLE_ACCENTFOLD /**/ 1497 2049 _ACEOF 1498 2050 … … 1502 2054 1503 2055 1504 # Check whether --enable-sqlite or --disable-sqlitewas given.2056 # Check whether --enable-sqlite was given. 1505 2057 if test "${enable_sqlite+set}" = set; then 1506 enableval="$enable_sqlite" 1507 USE_SQLITE=$enableval 2058 enableval=$enable_sqlite; USE_SQLITE=$enableval 1508 2059 else 1509 2060 USE_SQLITE=yes 1510 fi; 2061 fi 2062 1511 2063 if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then 1512 2064 USE_SQLITE=1 1513 2065 cat >>confdefs.h <<\_ACEOF 1514 #define USE_SQLITE 2066 #define USE_SQLITE /**/ 1515 2067 _ACEOF 1516 2068 … … 1520 2072 1521 2073 1522 # Check whether --enable-rss or --disable-rsswas given.2074 # Check whether --enable-rss was given. 1523 2075 if test "${enable_rss+set}" = set; then 1524 enableval="$enable_rss" 1525 USE_RSS=$enableval 2076 enableval=$enable_rss; USE_RSS=$enableval 1526 2077 else 1527 2078 USE_RSS=yes 1528 fi; 2079 fi 2080 1529 2081 if test $USE_RSS = "yes" -o $USE_RSS = "1" ; then 1530 2082 USE_RSS=1 1531 2083 cat >>confdefs.h <<\_ACEOF 1532 #define USE_RSS 2084 #define USE_RSS /**/ 1533 2085 _ACEOF 1534 2086 … … 1539 2091 1540 2092 1541 # Check whether --enable-apache-httpd or --disable-apache-httpdwas given.2093 # Check whether --enable-apache-httpd was given. 1542 2094 if test "${enable_apache_httpd+set}" = set; then 1543 enableval="$enable_apache_httpd" 1544 USE_APACHE_HTTPD=$enableval 2095 enableval=$enable_apache_httpd; USE_APACHE_HTTPD=$enableval 1545 2096 else 1546 2097 USE_APACHE_HTTPD=no 1547 fi; 2098 fi 2099 1548 2100 if test $USE_APACHE_HTTPD = "yes" -o $USE_APACHE_HTTPD = "1" ; then 1549 2101 USE_APACHE_HTTPD=1 1550 2102 cat >>confdefs.h <<\_ACEOF 1551 #define USE_APACHE_HTTPD 2103 #define USE_APACHE_HTTPD /**/ 1552 2104 _ACEOF 1553 2105 … … 1558 2110 1559 2111 1560 # Check whether --enable-mg or --disable-mgwas given.2112 # Check whether --enable-mg was given. 1561 2113 if test "${enable_mg+set}" = set; then 1562 enableval="$enable_mg" 1563 ENABLE_MG=$enableval 2114 enableval=$enable_mg; ENABLE_MG=$enableval 1564 2115 else 1565 2116 ENABLE_MG=yes 1566 fi; 2117 fi 2118 1567 2119 if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then 1568 2120 ENABLE_MG=1 1569 2121 cat >>confdefs.h <<\_ACEOF 1570 #define ENABLE_MG 2122 #define ENABLE_MG /**/ 1571 2123 _ACEOF 1572 2124 … … 1576 2128 1577 2129 1578 # Check whether --enable-mgpp or --disable-mgppwas given.2130 # Check whether --enable-mgpp was given. 1579 2131 if test "${enable_mgpp+set}" = set; then 1580 enableval="$enable_mgpp" 1581 ENABLE_MGPP=$enableval 2132 enableval=$enable_mgpp; ENABLE_MGPP=$enableval 1582 2133 else 1583 2134 ENABLE_MGPP=yes 1584 fi; 2135 fi 2136 1585 2137 if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then 1586 2138 ENABLE_MGPP=1 1587 2139 cat >>confdefs.h <<\_ACEOF 1588 #define ENABLE_MGPP 2140 #define ENABLE_MGPP /**/ 1589 2141 _ACEOF 1590 2142 … … 1594 2146 1595 2147 1596 # Check whether --enable-lucene or --disable-lucenewas given.2148 # Check whether --enable-lucene was given. 1597 2149 if test "${enable_lucene+set}" = set; then 1598 enableval="$enable_lucene" 1599 ENABLE_LUCENE=$enableval 2150 enableval=$enable_lucene; ENABLE_LUCENE=$enableval 1600 2151 else 1601 2152 ENABLE_LUCENE=yes 1602 fi; 2153 fi 2154 1603 2155 if test $ENABLE_JAVA = "1" -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then 1604 2156 ENABLE_LUCENE=1 1605 2157 cat >>confdefs.h <<\_ACEOF 1606 #define ENABLE_LUCENE 2158 #define ENABLE_LUCENE /**/ 1607 2159 _ACEOF 1608 2160 … … 1628 2180 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1629 2181 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1630 echo "$as_me:$LINENO: checking for $ac_word" >&51631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2182 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2183 $as_echo_n "checking for $ac_word... " >&6; } 1632 2184 if test "${ac_cv_prog_CC+set}" = set; then 1633 echo $ECHO_N "(cached) $ECHO_C" >&62185 $as_echo_n "(cached) " >&6 1634 2186 else 1635 2187 if test -n "$CC"; then … … 1642 2194 test -z "$as_dir" && as_dir=. 1643 2195 for ac_exec_ext in '' $ac_executable_extensions; do 1644 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1645 2197 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52198 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1647 2199 break 2 1648 2200 fi 1649 2201 done 1650 2202 done 2203 IFS=$as_save_IFS 1651 2204 1652 2205 fi … … 1654 2207 CC=$ac_cv_prog_CC 1655 2208 if test -n "$CC"; then 1656 echo "$as_me:$LINENO: result: $CC" >&5 1657 echo "${ECHO_T}$CC" >&6 1658 else 1659 echo "$as_me:$LINENO: result: no" >&5 1660 echo "${ECHO_T}no" >&6 1661 fi 2209 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2210 $as_echo "$CC" >&6; } 2211 else 2212 { $as_echo "$as_me:$LINENO: result: no" >&5 2213 $as_echo "no" >&6; } 2214 fi 2215 1662 2216 1663 2217 fi … … 1666 2220 # Extract the first word of "gcc", so it can be a program name with args. 1667 2221 set dummy gcc; ac_word=$2 1668 echo "$as_me:$LINENO: checking for $ac_word" >&51669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2222 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2223 $as_echo_n "checking for $ac_word... " >&6; } 1670 2224 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1671 echo $ECHO_N "(cached) $ECHO_C" >&62225 $as_echo_n "(cached) " >&6 1672 2226 else 1673 2227 if test -n "$ac_ct_CC"; then … … 1680 2234 test -z "$as_dir" && as_dir=. 1681 2235 for ac_exec_ext in '' $ac_executable_extensions; do 1682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1683 2237 ac_cv_prog_ac_ct_CC="gcc" 1684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52238 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1685 2239 break 2 1686 2240 fi 1687 2241 done 1688 2242 done 2243 IFS=$as_save_IFS 1689 2244 1690 2245 fi … … 1692 2247 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1693 2248 if test -n "$ac_ct_CC"; then 1694 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1695 echo "${ECHO_T}$ac_ct_CC" >&6 1696 else 1697 echo "$as_me:$LINENO: result: no" >&5 1698 echo "${ECHO_T}no" >&6 1699 fi 1700 1701 CC=$ac_ct_CC 2249 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2250 $as_echo "$ac_ct_CC" >&6; } 2251 else 2252 { $as_echo "$as_me:$LINENO: result: no" >&5 2253 $as_echo "no" >&6; } 2254 fi 2255 2256 if test "x$ac_ct_CC" = x; then 2257 CC="" 2258 else 2259 case $cross_compiling:$ac_tool_warned in 2260 yes:) 2261 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2263 ac_tool_warned=yes ;; 2264 esac 2265 CC=$ac_ct_CC 2266 fi 1702 2267 else 1703 2268 CC="$ac_cv_prog_CC" … … 1705 2270 1706 2271 if test -z "$CC"; then 1707 if test -n "$ac_tool_prefix"; then1708 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2272 if test -n "$ac_tool_prefix"; then 2273 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1709 2274 set dummy ${ac_tool_prefix}cc; ac_word=$2 1710 echo "$as_me:$LINENO: checking for $ac_word" >&51711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2275 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2276 $as_echo_n "checking for $ac_word... " >&6; } 1712 2277 if test "${ac_cv_prog_CC+set}" = set; then 1713 echo $ECHO_N "(cached) $ECHO_C" >&62278 $as_echo_n "(cached) " >&6 1714 2279 else 1715 2280 if test -n "$CC"; then … … 1722 2287 test -z "$as_dir" && as_dir=. 1723 2288 for ac_exec_ext in '' $ac_executable_extensions; do 1724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1725 2290 ac_cv_prog_CC="${ac_tool_prefix}cc" 1726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52291 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1727 2292 break 2 1728 2293 fi 1729 2294 done 1730 2295 done 2296 IFS=$as_save_IFS 1731 2297 1732 2298 fi … … 1734 2300 CC=$ac_cv_prog_CC 1735 2301 if test -n "$CC"; then 1736 echo "$as_me:$LINENO: result: $CC" >&5 1737 echo "${ECHO_T}$CC" >&6 1738 else 1739 echo "$as_me:$LINENO: result: no" >&5 1740 echo "${ECHO_T}no" >&6 1741 fi 1742 1743 fi 1744 if test -z "$ac_cv_prog_CC"; then 1745 ac_ct_CC=$CC 1746 # Extract the first word of "cc", so it can be a program name with args. 1747 set dummy cc; ac_word=$2 1748 echo "$as_me:$LINENO: checking for $ac_word" >&5 1749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1750 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1751 echo $ECHO_N "(cached) $ECHO_C" >&6 1752 else 1753 if test -n "$ac_ct_CC"; then 1754 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1755 else 1756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1757 for as_dir in $PATH 1758 do 1759 IFS=$as_save_IFS 1760 test -z "$as_dir" && as_dir=. 1761 for ac_exec_ext in '' $ac_executable_extensions; do 1762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1763 ac_cv_prog_ac_ct_CC="cc" 1764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1765 break 2 2302 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2303 $as_echo "$CC" >&6; } 2304 else 2305 { $as_echo "$as_me:$LINENO: result: no" >&5 2306 $as_echo "no" >&6; } 2307 fi 2308 2309 1766 2310 fi 1767 done1768 done1769 1770 fi1771 fi1772 ac_ct_CC=$ac_cv_prog_ac_ct_CC1773 if test -n "$ac_ct_CC"; then1774 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51775 echo "${ECHO_T}$ac_ct_CC" >&61776 else1777 echo "$as_me:$LINENO: result: no" >&51778 echo "${ECHO_T}no" >&61779 fi1780 1781 CC=$ac_ct_CC1782 else1783 CC="$ac_cv_prog_CC"1784 fi1785 1786 2311 fi 1787 2312 if test -z "$CC"; then 1788 2313 # Extract the first word of "cc", so it can be a program name with args. 1789 2314 set dummy cc; ac_word=$2 1790 echo "$as_me:$LINENO: checking for $ac_word" >&51791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2315 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2316 $as_echo_n "checking for $ac_word... " >&6; } 1792 2317 if test "${ac_cv_prog_CC+set}" = set; then 1793 echo $ECHO_N "(cached) $ECHO_C" >&62318 $as_echo_n "(cached) " >&6 1794 2319 else 1795 2320 if test -n "$CC"; then … … 1803 2328 test -z "$as_dir" && as_dir=. 1804 2329 for ac_exec_ext in '' $ac_executable_extensions; do 1805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1806 2331 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1807 2332 ac_prog_rejected=yes … … 1809 2334 fi 1810 2335 ac_cv_prog_CC="cc" 1811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52336 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1812 2337 break 2 1813 2338 fi 1814 2339 done 1815 2340 done 2341 IFS=$as_save_IFS 1816 2342 1817 2343 if test $ac_prog_rejected = yes; then … … 1831 2357 CC=$ac_cv_prog_CC 1832 2358 if test -n "$CC"; then 1833 echo "$as_me:$LINENO: result: $CC" >&5 1834 echo "${ECHO_T}$CC" >&6 1835 else 1836 echo "$as_me:$LINENO: result: no" >&5 1837 echo "${ECHO_T}no" >&6 1838 fi 2359 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2360 $as_echo "$CC" >&6; } 2361 else 2362 { $as_echo "$as_me:$LINENO: result: no" >&5 2363 $as_echo "no" >&6; } 2364 fi 2365 1839 2366 1840 2367 fi 1841 2368 if test -z "$CC"; then 1842 2369 if test -n "$ac_tool_prefix"; then 1843 for ac_prog in cl 2370 for ac_prog in cl.exe 1844 2371 do 1845 2372 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1846 2373 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1847 echo "$as_me:$LINENO: checking for $ac_word" >&51848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2374 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2375 $as_echo_n "checking for $ac_word... " >&6; } 1849 2376 if test "${ac_cv_prog_CC+set}" = set; then 1850 echo $ECHO_N "(cached) $ECHO_C" >&62377 $as_echo_n "(cached) " >&6 1851 2378 else 1852 2379 if test -n "$CC"; then … … 1859 2386 test -z "$as_dir" && as_dir=. 1860 2387 for ac_exec_ext in '' $ac_executable_extensions; do 1861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1862 2389 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52390 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1864 2391 break 2 1865 2392 fi 1866 2393 done 1867 2394 done 2395 IFS=$as_save_IFS 1868 2396 1869 2397 fi … … 1871 2399 CC=$ac_cv_prog_CC 1872 2400 if test -n "$CC"; then 1873 echo "$as_me:$LINENO: result: $CC" >&5 1874 echo "${ECHO_T}$CC" >&6 1875 else 1876 echo "$as_me:$LINENO: result: no" >&5 1877 echo "${ECHO_T}no" >&6 1878 fi 2401 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2402 $as_echo "$CC" >&6; } 2403 else 2404 { $as_echo "$as_me:$LINENO: result: no" >&5 2405 $as_echo "no" >&6; } 2406 fi 2407 1879 2408 1880 2409 test -n "$CC" && break … … 1883 2412 if test -z "$CC"; then 1884 2413 ac_ct_CC=$CC 1885 for ac_prog in cl 2414 for ac_prog in cl.exe 1886 2415 do 1887 2416 # Extract the first word of "$ac_prog", so it can be a program name with args. 1888 2417 set dummy $ac_prog; ac_word=$2 1889 echo "$as_me:$LINENO: checking for $ac_word" >&51890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2418 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2419 $as_echo_n "checking for $ac_word... " >&6; } 1891 2420 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1892 echo $ECHO_N "(cached) $ECHO_C" >&62421 $as_echo_n "(cached) " >&6 1893 2422 else 1894 2423 if test -n "$ac_ct_CC"; then … … 1901 2430 test -z "$as_dir" && as_dir=. 1902 2431 for ac_exec_ext in '' $ac_executable_extensions; do 1903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1904 2433 ac_cv_prog_ac_ct_CC="$ac_prog" 1905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52434 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1906 2435 break 2 1907 2436 fi 1908 2437 done 1909 2438 done 2439 IFS=$as_save_IFS 1910 2440 1911 2441 fi … … 1913 2443 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1914 2444 if test -n "$ac_ct_CC"; then 1915 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1916 echo "${ECHO_T}$ac_ct_CC" >&6 1917 else 1918 echo "$as_me:$LINENO: result: no" >&5 1919 echo "${ECHO_T}no" >&6 1920 fi 2445 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2446 $as_echo "$ac_ct_CC" >&6; } 2447 else 2448 { $as_echo "$as_me:$LINENO: result: no" >&5 2449 $as_echo "no" >&6; } 2450 fi 2451 1921 2452 1922 2453 test -n "$ac_ct_CC" && break 1923 2454 done 1924 2455 1925 CC=$ac_ct_CC 1926 fi 1927 1928 fi 1929 1930 1931 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2456 if test "x$ac_ct_CC" = x; then 2457 CC="" 2458 else 2459 case $cross_compiling:$ac_tool_warned in 2460 yes:) 2461 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2463 ac_tool_warned=yes ;; 2464 esac 2465 CC=$ac_ct_CC 2466 fi 2467 fi 2468 2469 fi 2470 2471 2472 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2474 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1932 2475 See \`config.log' for more details." >&5 1933 echo "$as_me: error: no acceptable C compiler found in \$PATH2476 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 1934 2477 See \`config.log' for more details." >&2;} 1935 { (exit 1); exit 1; }; } 2478 { (exit 1); exit 1; }; }; } 1936 2479 1937 2480 # Provide some information about the compiler. 1938 echo "$as_me:$LINENO:" \ 1939 "checking for C compiler version" >&5 1940 ac_compiler=`set X $ac_compile; echo $2` 1941 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1942 (eval $ac_compiler --version </dev/null >&5) 2>&5 2481 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2482 set X $ac_compile 2483 ac_compiler=$2 2484 { (ac_try="$ac_compiler --version >&5" 2485 case "(($ac_try" in 2486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2487 *) ac_try_echo=$ac_try;; 2488 esac 2489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2490 $as_echo "$ac_try_echo") >&5 2491 (eval "$ac_compiler --version >&5") 2>&5 1943 2492 ac_status=$? 1944 echo "$as_me:$LINENO: \$? = $ac_status" >&52493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1945 2494 (exit $ac_status); } 1946 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1947 (eval $ac_compiler -v </dev/null >&5) 2>&5 2495 { (ac_try="$ac_compiler -v >&5" 2496 case "(($ac_try" in 2497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2498 *) ac_try_echo=$ac_try;; 2499 esac 2500 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2501 $as_echo "$ac_try_echo") >&5 2502 (eval "$ac_compiler -v >&5") 2>&5 1948 2503 ac_status=$? 1949 echo "$as_me:$LINENO: \$? = $ac_status" >&52504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1950 2505 (exit $ac_status); } 1951 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1952 (eval $ac_compiler -V </dev/null >&5) 2>&5 2506 { (ac_try="$ac_compiler -V >&5" 2507 case "(($ac_try" in 2508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2509 *) ac_try_echo=$ac_try;; 2510 esac 2511 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2512 $as_echo "$ac_try_echo") >&5 2513 (eval "$ac_compiler -V >&5") 2>&5 1953 2514 ac_status=$? 1954 echo "$as_me:$LINENO: \$? = $ac_status" >&52515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1955 2516 (exit $ac_status); } 1956 2517 … … 1971 2532 _ACEOF 1972 2533 ac_clean_files_save=$ac_clean_files 1973 ac_clean_files="$ac_clean_files a.out a. exe b.out"2534 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 1974 2535 # Try to create an executable without -o first, disregard a.out. 1975 2536 # It will help us diagnose broken compilers, and finding out an intuition 1976 2537 # of exeext. 1977 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1978 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1979 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1980 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1981 (eval $ac_link_default) 2>&5 2538 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2539 $as_echo_n "checking for C compiler default output file name... " >&6; } 2540 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2541 2542 # The possible output files: 2543 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2544 2545 ac_rmfiles= 2546 for ac_file in $ac_files 2547 do 2548 case $ac_file in 2549 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2550 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2551 esac 2552 done 2553 rm -f $ac_rmfiles 2554 2555 if { (ac_try="$ac_link_default" 2556 case "(($ac_try" in 2557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2558 *) ac_try_echo=$ac_try;; 2559 esac 2560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2561 $as_echo "$ac_try_echo") >&5 2562 (eval "$ac_link_default") 2>&5 1982 2563 ac_status=$? 1983 echo "$as_me:$LINENO: \$? = $ac_status" >&52564 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1984 2565 (exit $ac_status); }; then 1985 # Find the output, starting from the most likely. This scheme is 1986 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1987 # resort. 1988 1989 # Be careful to initialize this variable, since it used to be cached. 1990 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1991 ac_cv_exeext= 1992 # b.out is created by i960 compilers. 1993 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2566 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2567 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2568 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2569 # so that the user can short-circuit this test for compilers unknown to 2570 # Autoconf. 2571 for ac_file in $ac_files '' 1994 2572 do 1995 2573 test -f "$ac_file" || continue 1996 2574 case $ac_file in 1997 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1998 ;; 1999 conftest.$ac_ext ) 2000 # This is the source file. 2575 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2001 2576 ;; 2002 2577 [ab].out ) … … 2005 2580 break;; 2006 2581 *.* ) 2007 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2008 # FIXME: I believe we export ac_cv_exeext for Libtool, 2009 # but it would be cool to find out if it's true. Does anybody 2010 # maintain Libtool? --akim. 2011 export ac_cv_exeext 2582 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2583 then :; else 2584 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2585 fi 2586 # We set ac_cv_exeext here because the later test for it is not 2587 # safe: cross compilers may not add the suffix if given an `-o' 2588 # argument, so we may need to know it at that point already. 2589 # Even if this section looks crufty: it has the advantage of 2590 # actually working. 2012 2591 break;; 2013 2592 * ) … … 2015 2594 esac 2016 2595 done 2017 else 2018 echo "$as_me: failed program was:" >&5 2596 test "$ac_cv_exeext" = no && ac_cv_exeext= 2597 2598 else 2599 ac_file='' 2600 fi 2601 2602 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2603 $as_echo "$ac_file" >&6; } 2604 if test -z "$ac_file"; then 2605 $as_echo "$as_me: failed program was:" >&5 2019 2606 sed 's/^/| /' conftest.$ac_ext >&5 2020 2607 2021 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2608 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2610 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2022 2611 See \`config.log' for more details." >&5 2023 echo "$as_me: error: C compiler cannot create executables2612 $as_echo "$as_me: error: C compiler cannot create executables 2024 2613 See \`config.log' for more details." >&2;} 2025 { (exit 77); exit 77; }; } 2614 { (exit 77); exit 77; }; }; } 2026 2615 fi 2027 2616 2028 2617 ac_exeext=$ac_cv_exeext 2029 echo "$as_me:$LINENO: result: $ac_file" >&5 2030 echo "${ECHO_T}$ac_file" >&6 2031 2032 # Check the compiler produces executables we can run. If not, either 2618 2619 # Check that the compiler produces executables we can run. If not, either 2033 2620 # the compiler is broken, or we cross compile. 2034 echo "$as_me:$LINENO: checking whether the C compiler works" >&52035 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2621 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2622 $as_echo_n "checking whether the C compiler works... " >&6; } 2036 2623 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2037 2624 # If not cross compiling, check that we can run a simple program. 2038 2625 if test "$cross_compiling" != yes; then 2039 2626 if { ac_try='./$ac_file' 2040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2041 (eval $ac_try) 2>&5 2627 { (case "(($ac_try" in 2628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2629 *) ac_try_echo=$ac_try;; 2630 esac 2631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2632 $as_echo "$ac_try_echo") >&5 2633 (eval "$ac_try") 2>&5 2042 2634 ac_status=$? 2043 echo "$as_me:$LINENO: \$? = $ac_status" >&52635 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2044 2636 (exit $ac_status); }; }; then 2045 2637 cross_compiling=no … … 2048 2640 cross_compiling=yes 2049 2641 else 2050 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2642 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2644 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2051 2645 If you meant to cross compile, use \`--host'. 2052 2646 See \`config.log' for more details." >&5 2053 echo "$as_me: error: cannot run C compiled programs.2647 $as_echo "$as_me: error: cannot run C compiled programs. 2054 2648 If you meant to cross compile, use \`--host'. 2055 2649 See \`config.log' for more details." >&2;} 2056 { (exit 1); exit 1; }; } 2650 { (exit 1); exit 1; }; }; } 2057 2651 fi 2058 2652 fi 2059 2653 fi 2060 echo "$as_me:$LINENO: result: yes" >&52061 echo "${ECHO_T}yes" >&6 2062 2063 rm -f a.outa.exe conftest$ac_cv_exeext b.out2654 { $as_echo "$as_me:$LINENO: result: yes" >&5 2655 $as_echo "yes" >&6; } 2656 2657 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2064 2658 ac_clean_files=$ac_clean_files_save 2065 # Check th e compiler produces executables we can run. If not, either2659 # Check that the compiler produces executables we can run. If not, either 2066 2660 # the compiler is broken, or we cross compile. 2067 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2068 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2069 echo "$as_me:$LINENO: result: $cross_compiling" >&5 2070 echo "${ECHO_T}$cross_compiling" >&6 2071 2072 echo "$as_me:$LINENO: checking for suffix of executables" >&5 2073 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2075 (eval $ac_link) 2>&5 2661 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2662 $as_echo_n "checking whether we are cross compiling... " >&6; } 2663 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2664 $as_echo "$cross_compiling" >&6; } 2665 2666 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2667 $as_echo_n "checking for suffix of executables... " >&6; } 2668 if { (ac_try="$ac_link" 2669 case "(($ac_try" in 2670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2671 *) ac_try_echo=$ac_try;; 2672 esac 2673 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2674 $as_echo "$ac_try_echo") >&5 2675 (eval "$ac_link") 2>&5 2076 2676 ac_status=$? 2077 echo "$as_me:$LINENO: \$? = $ac_status" >&52677 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2078 2678 (exit $ac_status); }; then 2079 2679 # If both `conftest.exe' and `conftest' are `present' (well, observable) … … 2084 2684 test -f "$ac_file" || continue 2085 2685 case $ac_file in 2086 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2686 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2087 2687 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2088 export ac_cv_exeext2089 2688 break;; 2090 2689 * ) break;; … … 2092 2691 done 2093 2692 else 2094 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2693 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2695 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2095 2696 See \`config.log' for more details." >&5 2096 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link2697 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2097 2698 See \`config.log' for more details." >&2;} 2098 { (exit 1); exit 1; }; } 2699 { (exit 1); exit 1; }; }; } 2099 2700 fi 2100 2701 2101 2702 rm -f conftest$ac_cv_exeext 2102 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52103 echo "${ECHO_T}$ac_cv_exeext" >&6 2703 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2704 $as_echo "$ac_cv_exeext" >&6; } 2104 2705 2105 2706 rm -f conftest.$ac_ext 2106 2707 EXEEXT=$ac_cv_exeext 2107 2708 ac_exeext=$EXEEXT 2108 echo "$as_me:$LINENO: checking for suffix of object files" >&52109 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2709 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2710 $as_echo_n "checking for suffix of object files... " >&6; } 2110 2711 if test "${ac_cv_objext+set}" = set; then 2111 echo $ECHO_N "(cached) $ECHO_C" >&62712 $as_echo_n "(cached) " >&6 2112 2713 else 2113 2714 cat >conftest.$ac_ext <<_ACEOF … … 2127 2728 _ACEOF 2128 2729 rm -f conftest.o conftest.obj 2129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2130 (eval $ac_compile) 2>&5 2730 if { (ac_try="$ac_compile" 2731 case "(($ac_try" in 2732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2733 *) ac_try_echo=$ac_try;; 2734 esac 2735 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2736 $as_echo "$ac_try_echo") >&5 2737 (eval "$ac_compile") 2>&5 2131 2738 ac_status=$? 2132 echo "$as_me:$LINENO: \$? = $ac_status" >&52739 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2133 2740 (exit $ac_status); }; then 2134 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2741 for ac_file in conftest.o conftest.obj conftest.*; do 2742 test -f "$ac_file" || continue; 2135 2743 case $ac_file in 2136 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2744 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2137 2745 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2138 2746 break;; … … 2140 2748 done 2141 2749 else 2142 echo "$as_me: failed program was:" >&52750 $as_echo "$as_me: failed program was:" >&5 2143 2751 sed 's/^/| /' conftest.$ac_ext >&5 2144 2752 2145 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2753 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2755 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2146 2756 See \`config.log' for more details." >&5 2147 echo "$as_me: error: cannot compute suffix of object files: cannot compile2757 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2148 2758 See \`config.log' for more details." >&2;} 2149 { (exit 1); exit 1; }; } 2759 { (exit 1); exit 1; }; }; } 2150 2760 fi 2151 2761 2152 2762 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2153 2763 fi 2154 echo "$as_me:$LINENO: result: $ac_cv_objext" >&52155 echo "${ECHO_T}$ac_cv_objext" >&6 2764 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2765 $as_echo "$ac_cv_objext" >&6; } 2156 2766 OBJEXT=$ac_cv_objext 2157 2767 ac_objext=$OBJEXT 2158 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52159 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2768 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2769 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2160 2770 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2161 echo $ECHO_N "(cached) $ECHO_C" >&62771 $as_echo_n "(cached) " >&6 2162 2772 else 2163 2773 cat >conftest.$ac_ext <<_ACEOF … … 2180 2790 _ACEOF 2181 2791 rm -f conftest.$ac_objext 2182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2183 (eval $ac_compile) 2>conftest.er1 2792 if { (ac_try="$ac_compile" 2793 case "(($ac_try" in 2794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2795 *) ac_try_echo=$ac_try;; 2796 esac 2797 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2798 $as_echo "$ac_try_echo") >&5 2799 (eval "$ac_compile") 2>conftest.er1 2184 2800 ac_status=$? 2185 2801 grep -v '^ *+' conftest.er1 >conftest.err 2186 2802 rm -f conftest.er1 2187 2803 cat conftest.err >&5 2188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2189 (exit $ac_status); } && 2190 { ac_try='test -z "$ac_c_werror_flag" 2191 || test ! -s conftest.err' 2192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2193 (eval $ac_try) 2>&5 2194 ac_status=$? 2195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2196 (exit $ac_status); }; } && 2197 { ac_try='test -s conftest.$ac_objext' 2198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2199 (eval $ac_try) 2>&5 2200 ac_status=$? 2201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2202 (exit $ac_status); }; }; then 2804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2805 (exit $ac_status); } && { 2806 test -z "$ac_c_werror_flag" || 2807 test ! -s conftest.err 2808 } && test -s conftest.$ac_objext; then 2203 2809 ac_compiler_gnu=yes 2204 2810 else 2205 echo "$as_me: failed program was:" >&52811 $as_echo "$as_me: failed program was:" >&5 2206 2812 sed 's/^/| /' conftest.$ac_ext >&5 2207 2813 2208 ac_compiler_gnu=no 2209 fi 2210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2814 ac_compiler_gnu=no 2815 fi 2816 2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2211 2818 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2212 2819 2213 2820 fi 2214 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2215 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2216 GCC=`test $ac_compiler_gnu = yes && echo yes` 2821 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2822 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2823 if test $ac_compiler_gnu = yes; then 2824 GCC=yes 2825 else 2826 GCC= 2827 fi 2217 2828 ac_test_CFLAGS=${CFLAGS+set} 2218 2829 ac_save_CFLAGS=$CFLAGS 2219 CFLAGS="-g" 2220 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2221 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2830 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2831 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2222 2832 if test "${ac_cv_prog_cc_g+set}" = set; then 2223 echo $ECHO_N "(cached) $ECHO_C" >&6 2224 else 2225 cat >conftest.$ac_ext <<_ACEOF 2833 $as_echo_n "(cached) " >&6 2834 else 2835 ac_save_c_werror_flag=$ac_c_werror_flag 2836 ac_c_werror_flag=yes 2837 ac_cv_prog_cc_g=no 2838 CFLAGS="-g" 2839 cat >conftest.$ac_ext <<_ACEOF 2226 2840 /* confdefs.h. */ 2227 2841 _ACEOF … … 2239 2853 _ACEOF 2240 2854 rm -f conftest.$ac_objext 2241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2242 (eval $ac_compile) 2>conftest.er1 2855 if { (ac_try="$ac_compile" 2856 case "(($ac_try" in 2857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2858 *) ac_try_echo=$ac_try;; 2859 esac 2860 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2861 $as_echo "$ac_try_echo") >&5 2862 (eval "$ac_compile") 2>conftest.er1 2243 2863 ac_status=$? 2244 2864 grep -v '^ *+' conftest.er1 >conftest.err 2245 2865 rm -f conftest.er1 2246 2866 cat conftest.err >&5 2247 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2248 (exit $ac_status); } && 2249 { ac_try='test -z "$ac_c_werror_flag" 2250 || test ! -s conftest.err' 2251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2252 (eval $ac_try) 2>&5 2867 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2868 (exit $ac_status); } && { 2869 test -z "$ac_c_werror_flag" || 2870 test ! -s conftest.err 2871 } && test -s conftest.$ac_objext; then 2872 ac_cv_prog_cc_g=yes 2873 else 2874 $as_echo "$as_me: failed program was:" >&5 2875 sed 's/^/| /' conftest.$ac_ext >&5 2876 2877 CFLAGS="" 2878 cat >conftest.$ac_ext <<_ACEOF 2879 /* confdefs.h. */ 2880 _ACEOF 2881 cat confdefs.h >>conftest.$ac_ext 2882 cat >>conftest.$ac_ext <<_ACEOF 2883 /* end confdefs.h. */ 2884 2885 int 2886 main () 2887 { 2888 2889 ; 2890 return 0; 2891 } 2892 _ACEOF 2893 rm -f conftest.$ac_objext 2894 if { (ac_try="$ac_compile" 2895 case "(($ac_try" in 2896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2897 *) ac_try_echo=$ac_try;; 2898 esac 2899 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2900 $as_echo "$ac_try_echo") >&5 2901 (eval "$ac_compile") 2>conftest.er1 2253 2902 ac_status=$? 2254 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2255 (exit $ac_status); }; } && 2256 { ac_try='test -s conftest.$ac_objext' 2257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2258 (eval $ac_try) 2>&5 2903 grep -v '^ *+' conftest.er1 >conftest.err 2904 rm -f conftest.er1 2905 cat conftest.err >&5 2906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2907 (exit $ac_status); } && { 2908 test -z "$ac_c_werror_flag" || 2909 test ! -s conftest.err 2910 } && test -s conftest.$ac_objext; then 2911 : 2912 else 2913 $as_echo "$as_me: failed program was:" >&5 2914 sed 's/^/| /' conftest.$ac_ext >&5 2915 2916 ac_c_werror_flag=$ac_save_c_werror_flag 2917 CFLAGS="-g" 2918 cat >conftest.$ac_ext <<_ACEOF 2919 /* confdefs.h. */ 2920 _ACEOF 2921 cat confdefs.h >>conftest.$ac_ext 2922 cat >>conftest.$ac_ext <<_ACEOF 2923 /* end confdefs.h. */ 2924 2925 int 2926 main () 2927 { 2928 2929 ; 2930 return 0; 2931 } 2932 _ACEOF 2933 rm -f conftest.$ac_objext 2934 if { (ac_try="$ac_compile" 2935 case "(($ac_try" in 2936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2937 *) ac_try_echo=$ac_try;; 2938 esac 2939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2940 $as_echo "$ac_try_echo") >&5 2941 (eval "$ac_compile") 2>conftest.er1 2259 2942 ac_status=$? 2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2261 (exit $ac_status); }; }; then 2943 grep -v '^ *+' conftest.er1 >conftest.err 2944 rm -f conftest.er1 2945 cat conftest.err >&5 2946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2947 (exit $ac_status); } && { 2948 test -z "$ac_c_werror_flag" || 2949 test ! -s conftest.err 2950 } && test -s conftest.$ac_objext; then 2262 2951 ac_cv_prog_cc_g=yes 2263 2952 else 2264 echo "$as_me: failed program was:" >&52953 $as_echo "$as_me: failed program was:" >&5 2265 2954 sed 's/^/| /' conftest.$ac_ext >&5 2266 2955 2267 ac_cv_prog_cc_g=no 2268 fi 2269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2270 fi 2271 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2272 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2956 2957 fi 2958 2959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2960 fi 2961 2962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2963 fi 2964 2965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2966 ac_c_werror_flag=$ac_save_c_werror_flag 2967 fi 2968 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2969 $as_echo "$ac_cv_prog_cc_g" >&6; } 2273 2970 if test "$ac_test_CFLAGS" = set; then 2274 2971 CFLAGS=$ac_save_CFLAGS … … 2286 2983 fi 2287 2984 fi 2288 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52289 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2290 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2291 echo $ECHO_N "(cached) $ECHO_C" >&62292 else 2293 ac_cv_prog_cc_ stdc=no2985 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2986 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2987 if test "${ac_cv_prog_cc_c89+set}" = set; then 2988 $as_echo_n "(cached) " >&6 2989 else 2990 ac_cv_prog_cc_c89=no 2294 2991 ac_save_CC=$CC 2295 2992 cat >conftest.$ac_ext <<_ACEOF … … 2325 3022 function prototypes and stuff, but not '\xHH' hex character constants. 2326 3023 These don't provoke an error unfortunately, instead are silently treated 2327 as 'x'. The following induces an error, until -std 1is added to get3024 as 'x'. The following induces an error, until -std is added to get 2328 3025 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2329 3026 array size at least. It's necessary to write '\x00'==0 to get something 2330 that's true only with -std 1. */3027 that's true only with -std. */ 2331 3028 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3029 3030 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3031 inside strings and character constants. */ 3032 #define FOO(x) 'x' 3033 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2332 3034 2333 3035 int test (int i, double x); … … 2345 3047 } 2346 3048 _ACEOF 2347 # Don't try gcc -ansi; that turns off useful extensions and 2348 # breaks some systems' header files. 2349 # AIX -qlanglvl=ansi 2350 # Ultrix and OSF/1 -std1 2351 # HP-UX 10.20 and later -Ae 2352 # HP-UX older versions -Aa -D_HPUX_SOURCE 2353 # SVR4 -Xc -D__EXTENSIONS__ 2354 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3049 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3050 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2355 3051 do 2356 3052 CC="$ac_save_CC $ac_arg" 2357 3053 rm -f conftest.$ac_objext 2358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2359 (eval $ac_compile) 2>conftest.er1 3054 if { (ac_try="$ac_compile" 3055 case "(($ac_try" in 3056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3057 *) ac_try_echo=$ac_try;; 3058 esac 3059 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3060 $as_echo "$ac_try_echo") >&5 3061 (eval "$ac_compile") 2>conftest.er1 2360 3062 ac_status=$? 2361 3063 grep -v '^ *+' conftest.er1 >conftest.err 2362 3064 rm -f conftest.er1 2363 3065 cat conftest.err >&5 2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2365 (exit $ac_status); } && 2366 { ac_try='test -z "$ac_c_werror_flag" 2367 || test ! -s conftest.err' 2368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2369 (eval $ac_try) 2>&5 2370 ac_status=$? 2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2372 (exit $ac_status); }; } && 2373 { ac_try='test -s conftest.$ac_objext' 2374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2375 (eval $ac_try) 2>&5 2376 ac_status=$? 2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2378 (exit $ac_status); }; }; then 2379 ac_cv_prog_cc_stdc=$ac_arg 2380 break 2381 else 2382 echo "$as_me: failed program was:" >&5 3066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3067 (exit $ac_status); } && { 3068 test -z "$ac_c_werror_flag" || 3069 test ! -s conftest.err 3070 } && test -s conftest.$ac_objext; then 3071 ac_cv_prog_cc_c89=$ac_arg 3072 else 3073 $as_echo "$as_me: failed program was:" >&5 2383 3074 sed 's/^/| /' conftest.$ac_ext >&5 2384 3075 2385 fi 2386 rm -f conftest.err conftest.$ac_objext 3076 3077 fi 3078 3079 rm -f core conftest.err conftest.$ac_objext 3080 test "x$ac_cv_prog_cc_c89" != "xno" && break 2387 3081 done 2388 rm -f conftest.$ac_ext conftest.$ac_objext3082 rm -f conftest.$ac_ext 2389 3083 CC=$ac_save_CC 2390 3084 2391 3085 fi 2392 2393 case "x$ac_cv_prog_cc_stdc" in 2394 x|xno) 2395 echo "$as_me:$LINENO: result: none needed" >&5 2396 echo "${ECHO_T}none needed" >&6 ;; 3086 # AC_CACHE_VAL 3087 case "x$ac_cv_prog_cc_c89" in 3088 x) 3089 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3090 $as_echo "none needed" >&6; } ;; 3091 xno) 3092 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3093 $as_echo "unsupported" >&6; } ;; 2397 3094 *) 2398 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2399 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2400 CC="$CC $ac_cv_prog_cc_stdc" ;; 2401 esac 2402 2403 # Some people use a C++ compiler to compile C. Since we use `exit', 2404 # in C++ we need to declare it. In case someone uses the same compiler 2405 # for both compiling C and C++ we need to have the C++ compiler decide 2406 # the declaration of exit, since it's the most demanding environment. 2407 cat >conftest.$ac_ext <<_ACEOF 2408 #ifndef __cplusplus 2409 choke me 2410 #endif 2411 _ACEOF 2412 rm -f conftest.$ac_objext 2413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2414 (eval $ac_compile) 2>conftest.er1 2415 ac_status=$? 2416 grep -v '^ *+' conftest.er1 >conftest.err 2417 rm -f conftest.er1 2418 cat conftest.err >&5 2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2420 (exit $ac_status); } && 2421 { ac_try='test -z "$ac_c_werror_flag" 2422 || test ! -s conftest.err' 2423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2424 (eval $ac_try) 2>&5 2425 ac_status=$? 2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2427 (exit $ac_status); }; } && 2428 { ac_try='test -s conftest.$ac_objext' 2429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2430 (eval $ac_try) 2>&5 2431 ac_status=$? 2432 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2433 (exit $ac_status); }; }; then 2434 for ac_declaration in \ 2435 '' \ 2436 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2437 'extern "C" void std::exit (int); using std::exit;' \ 2438 'extern "C" void exit (int) throw ();' \ 2439 'extern "C" void exit (int);' \ 2440 'void exit (int);' 2441 do 2442 cat >conftest.$ac_ext <<_ACEOF 2443 /* confdefs.h. */ 2444 _ACEOF 2445 cat confdefs.h >>conftest.$ac_ext 2446 cat >>conftest.$ac_ext <<_ACEOF 2447 /* end confdefs.h. */ 2448 $ac_declaration 2449 #include <stdlib.h> 2450 int 2451 main () 2452 { 2453 exit (42); 2454 ; 2455 return 0; 2456 } 2457 _ACEOF 2458 rm -f conftest.$ac_objext 2459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2460 (eval $ac_compile) 2>conftest.er1 2461 ac_status=$? 2462 grep -v '^ *+' conftest.er1 >conftest.err 2463 rm -f conftest.er1 2464 cat conftest.err >&5 2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2466 (exit $ac_status); } && 2467 { ac_try='test -z "$ac_c_werror_flag" 2468 || test ! -s conftest.err' 2469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2470 (eval $ac_try) 2>&5 2471 ac_status=$? 2472 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2473 (exit $ac_status); }; } && 2474 { ac_try='test -s conftest.$ac_objext' 2475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2476 (eval $ac_try) 2>&5 2477 ac_status=$? 2478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2479 (exit $ac_status); }; }; then 2480 : 2481 else 2482 echo "$as_me: failed program was:" >&5 2483 sed 's/^/| /' conftest.$ac_ext >&5 2484 2485 continue 2486 fi 2487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2488 cat >conftest.$ac_ext <<_ACEOF 2489 /* confdefs.h. */ 2490 _ACEOF 2491 cat confdefs.h >>conftest.$ac_ext 2492 cat >>conftest.$ac_ext <<_ACEOF 2493 /* end confdefs.h. */ 2494 $ac_declaration 2495 int 2496 main () 2497 { 2498 exit (42); 2499 ; 2500 return 0; 2501 } 2502 _ACEOF 2503 rm -f conftest.$ac_objext 2504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2505 (eval $ac_compile) 2>conftest.er1 2506 ac_status=$? 2507 grep -v '^ *+' conftest.er1 >conftest.err 2508 rm -f conftest.er1 2509 cat conftest.err >&5 2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2511 (exit $ac_status); } && 2512 { ac_try='test -z "$ac_c_werror_flag" 2513 || test ! -s conftest.err' 2514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2515 (eval $ac_try) 2>&5 2516 ac_status=$? 2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2518 (exit $ac_status); }; } && 2519 { ac_try='test -s conftest.$ac_objext' 2520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2521 (eval $ac_try) 2>&5 2522 ac_status=$? 2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2524 (exit $ac_status); }; }; then 2525 break 2526 else 2527 echo "$as_me: failed program was:" >&5 2528 sed 's/^/| /' conftest.$ac_ext >&5 2529 2530 fi 2531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2532 done 2533 rm -f conftest* 2534 if test -n "$ac_declaration"; then 2535 echo '#ifdef __cplusplus' >>confdefs.h 2536 echo $ac_declaration >>confdefs.h 2537 echo '#endif' >>confdefs.h 2538 fi 2539 2540 else 2541 echo "$as_me: failed program was:" >&5 2542 sed 's/^/| /' conftest.$ac_ext >&5 2543 2544 fi 2545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3095 CC="$CC $ac_cv_prog_cc_c89" 3096 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3097 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3098 esac 3099 3100 2546 3101 ac_ext=c 2547 3102 ac_cpp='$CPP $CPPFLAGS' … … 2550 3105 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2551 3106 2552 ac_ext=c c3107 ac_ext=cpp 2553 3108 ac_cpp='$CXXCPP $CPPFLAGS' 2554 3109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2555 3110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2556 3111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2557 if test -n "$ac_tool_prefix"; then 2558 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 3112 if test -z "$CXX"; then 3113 if test -n "$CCC"; then 3114 CXX=$CCC 3115 else 3116 if test -n "$ac_tool_prefix"; then 3117 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2559 3118 do 2560 3119 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2561 3120 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2562 echo "$as_me:$LINENO: checking for $ac_word" >&52563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3121 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3122 $as_echo_n "checking for $ac_word... " >&6; } 2564 3123 if test "${ac_cv_prog_CXX+set}" = set; then 2565 echo $ECHO_N "(cached) $ECHO_C" >&63124 $as_echo_n "(cached) " >&6 2566 3125 else 2567 3126 if test -n "$CXX"; then … … 2574 3133 test -z "$as_dir" && as_dir=. 2575 3134 for ac_exec_ext in '' $ac_executable_extensions; do 2576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2577 3136 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53137 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2579 3138 break 2 2580 3139 fi 2581 3140 done 2582 3141 done 3142 IFS=$as_save_IFS 2583 3143 2584 3144 fi … … 2586 3146 CXX=$ac_cv_prog_CXX 2587 3147 if test -n "$CXX"; then 2588 echo "$as_me:$LINENO: result: $CXX" >&5 2589 echo "${ECHO_T}$CXX" >&6 2590 else 2591 echo "$as_me:$LINENO: result: no" >&5 2592 echo "${ECHO_T}no" >&6 2593 fi 3148 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 3149 $as_echo "$CXX" >&6; } 3150 else 3151 { $as_echo "$as_me:$LINENO: result: no" >&5 3152 $as_echo "no" >&6; } 3153 fi 3154 2594 3155 2595 3156 test -n "$CXX" && break … … 2598 3159 if test -z "$CXX"; then 2599 3160 ac_ct_CXX=$CXX 2600 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ clFCC KCC RCC xlC_r xlC3161 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2601 3162 do 2602 3163 # Extract the first word of "$ac_prog", so it can be a program name with args. 2603 3164 set dummy $ac_prog; ac_word=$2 2604 echo "$as_me:$LINENO: checking for $ac_word" >&52605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3165 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3166 $as_echo_n "checking for $ac_word... " >&6; } 2606 3167 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2607 echo $ECHO_N "(cached) $ECHO_C" >&63168 $as_echo_n "(cached) " >&6 2608 3169 else 2609 3170 if test -n "$ac_ct_CXX"; then … … 2616 3177 test -z "$as_dir" && as_dir=. 2617 3178 for ac_exec_ext in '' $ac_executable_extensions; do 2618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2619 3180 ac_cv_prog_ac_ct_CXX="$ac_prog" 2620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53181 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2621 3182 break 2 2622 3183 fi 2623 3184 done 2624 3185 done 3186 IFS=$as_save_IFS 2625 3187 2626 3188 fi … … 2628 3190 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2629 3191 if test -n "$ac_ct_CXX"; then 2630 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2631 echo "${ECHO_T}$ac_ct_CXX" >&6 2632 else 2633 echo "$as_me:$LINENO: result: no" >&5 2634 echo "${ECHO_T}no" >&6 2635 fi 3192 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 3193 $as_echo "$ac_ct_CXX" >&6; } 3194 else 3195 { $as_echo "$as_me:$LINENO: result: no" >&5 3196 $as_echo "no" >&6; } 3197 fi 3198 2636 3199 2637 3200 test -n "$ac_ct_CXX" && break 2638 3201 done 2639 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2640 2641 CXX=$ac_ct_CXX 2642 fi 2643 2644 3202 3203 if test "x$ac_ct_CXX" = x; then 3204 CXX="g++" 3205 else 3206 case $cross_compiling:$ac_tool_warned in 3207 yes:) 3208 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3210 ac_tool_warned=yes ;; 3211 esac 3212 CXX=$ac_ct_CXX 3213 fi 3214 fi 3215 3216 fi 3217 fi 2645 3218 # Provide some information about the compiler. 2646 echo "$as_me:$LINENO:" \ 2647 "checking for C++ compiler version" >&5 2648 ac_compiler=`set X $ac_compile; echo $2` 2649 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2650 (eval $ac_compiler --version </dev/null >&5) 2>&5 3219 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3220 set X $ac_compile 3221 ac_compiler=$2 3222 { (ac_try="$ac_compiler --version >&5" 3223 case "(($ac_try" in 3224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3225 *) ac_try_echo=$ac_try;; 3226 esac 3227 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3228 $as_echo "$ac_try_echo") >&5 3229 (eval "$ac_compiler --version >&5") 2>&5 2651 3230 ac_status=$? 2652 echo "$as_me:$LINENO: \$? = $ac_status" >&53231 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2653 3232 (exit $ac_status); } 2654 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2655 (eval $ac_compiler -v </dev/null >&5) 2>&5 3233 { (ac_try="$ac_compiler -v >&5" 3234 case "(($ac_try" in 3235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3236 *) ac_try_echo=$ac_try;; 3237 esac 3238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3239 $as_echo "$ac_try_echo") >&5 3240 (eval "$ac_compiler -v >&5") 2>&5 2656 3241 ac_status=$? 2657 echo "$as_me:$LINENO: \$? = $ac_status" >&53242 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2658 3243 (exit $ac_status); } 2659 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2660 (eval $ac_compiler -V </dev/null >&5) 2>&5 3244 { (ac_try="$ac_compiler -V >&5" 3245 case "(($ac_try" in 3246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3247 *) ac_try_echo=$ac_try;; 3248 esac 3249 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3250 $as_echo "$ac_try_echo") >&5 3251 (eval "$ac_compiler -V >&5") 2>&5 2661 3252 ac_status=$? 2662 echo "$as_me:$LINENO: \$? = $ac_status" >&53253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2663 3254 (exit $ac_status); } 2664 3255 2665 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&52666 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 3256 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3257 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 2667 3258 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2668 echo $ECHO_N "(cached) $ECHO_C" >&63259 $as_echo_n "(cached) " >&6 2669 3260 else 2670 3261 cat >conftest.$ac_ext <<_ACEOF … … 2687 3278 _ACEOF 2688 3279 rm -f conftest.$ac_objext 2689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2690 (eval $ac_compile) 2>conftest.er1 3280 if { (ac_try="$ac_compile" 3281 case "(($ac_try" in 3282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3283 *) ac_try_echo=$ac_try;; 3284 esac 3285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3286 $as_echo "$ac_try_echo") >&5 3287 (eval "$ac_compile") 2>conftest.er1 2691 3288 ac_status=$? 2692 3289 grep -v '^ *+' conftest.er1 >conftest.err 2693 3290 rm -f conftest.er1 2694 3291 cat conftest.err >&5 2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2696 (exit $ac_status); } && 2697 { ac_try='test -z "$ac_cxx_werror_flag" 2698 || test ! -s conftest.err' 2699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2700 (eval $ac_try) 2>&5 2701 ac_status=$? 2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2703 (exit $ac_status); }; } && 2704 { ac_try='test -s conftest.$ac_objext' 2705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2706 (eval $ac_try) 2>&5 2707 ac_status=$? 2708 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2709 (exit $ac_status); }; }; then 3292 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3293 (exit $ac_status); } && { 3294 test -z "$ac_cxx_werror_flag" || 3295 test ! -s conftest.err 3296 } && test -s conftest.$ac_objext; then 2710 3297 ac_compiler_gnu=yes 2711 3298 else 2712 echo "$as_me: failed program was:" >&53299 $as_echo "$as_me: failed program was:" >&5 2713 3300 sed 's/^/| /' conftest.$ac_ext >&5 2714 3301 2715 ac_compiler_gnu=no 2716 fi 2717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3302 ac_compiler_gnu=no 3303 fi 3304 3305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2718 3306 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2719 3307 2720 3308 fi 2721 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2722 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2723 GXX=`test $ac_compiler_gnu = yes && echo yes` 3309 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3310 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3311 if test $ac_compiler_gnu = yes; then 3312 GXX=yes 3313 else 3314 GXX= 3315 fi 2724 3316 ac_test_CXXFLAGS=${CXXFLAGS+set} 2725 3317 ac_save_CXXFLAGS=$CXXFLAGS 2726 CXXFLAGS="-g" 2727 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2728 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 3318 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3319 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 2729 3320 if test "${ac_cv_prog_cxx_g+set}" = set; then 2730 echo $ECHO_N "(cached) $ECHO_C" >&6 2731 else 2732 cat >conftest.$ac_ext <<_ACEOF 3321 $as_echo_n "(cached) " >&6 3322 else 3323 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3324 ac_cxx_werror_flag=yes 3325 ac_cv_prog_cxx_g=no 3326 CXXFLAGS="-g" 3327 cat >conftest.$ac_ext <<_ACEOF 2733 3328 /* confdefs.h. */ 2734 3329 _ACEOF … … 2746 3341 _ACEOF 2747 3342 rm -f conftest.$ac_objext 2748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2749 (eval $ac_compile) 2>conftest.er1 3343 if { (ac_try="$ac_compile" 3344 case "(($ac_try" in 3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3346 *) ac_try_echo=$ac_try;; 3347 esac 3348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3349 $as_echo "$ac_try_echo") >&5 3350 (eval "$ac_compile") 2>conftest.er1 2750 3351 ac_status=$? 2751 3352 grep -v '^ *+' conftest.er1 >conftest.err 2752 3353 rm -f conftest.er1 2753 3354 cat conftest.err >&5 2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2755 (exit $ac_status); } && 2756 { ac_try='test -z "$ac_cxx_werror_flag" 2757 || test ! -s conftest.err' 2758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2759 (eval $ac_try) 2>&5 3355 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3356 (exit $ac_status); } && { 3357 test -z "$ac_cxx_werror_flag" || 3358 test ! -s conftest.err 3359 } && test -s conftest.$ac_objext; then 3360 ac_cv_prog_cxx_g=yes 3361 else 3362 $as_echo "$as_me: failed program was:" >&5 3363 sed 's/^/| /' conftest.$ac_ext >&5 3364 3365 CXXFLAGS="" 3366 cat >conftest.$ac_ext <<_ACEOF 3367 /* confdefs.h. */ 3368 _ACEOF 3369 cat confdefs.h >>conftest.$ac_ext 3370 cat >>conftest.$ac_ext <<_ACEOF 3371 /* end confdefs.h. */ 3372 3373 int 3374 main () 3375 { 3376 3377 ; 3378 return 0; 3379 } 3380 _ACEOF 3381 rm -f conftest.$ac_objext 3382 if { (ac_try="$ac_compile" 3383 case "(($ac_try" in 3384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3385 *) ac_try_echo=$ac_try;; 3386 esac 3387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3388 $as_echo "$ac_try_echo") >&5 3389 (eval "$ac_compile") 2>conftest.er1 2760 3390 ac_status=$? 2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2762 (exit $ac_status); }; } && 2763 { ac_try='test -s conftest.$ac_objext' 2764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2765 (eval $ac_try) 2>&5 3391 grep -v '^ *+' conftest.er1 >conftest.err 3392 rm -f conftest.er1 3393 cat conftest.err >&5 3394 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3395 (exit $ac_status); } && { 3396 test -z "$ac_cxx_werror_flag" || 3397 test ! -s conftest.err 3398 } && test -s conftest.$ac_objext; then 3399 : 3400 else 3401 $as_echo "$as_me: failed program was:" >&5 3402 sed 's/^/| /' conftest.$ac_ext >&5 3403 3404 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3405 CXXFLAGS="-g" 3406 cat >conftest.$ac_ext <<_ACEOF 3407 /* confdefs.h. */ 3408 _ACEOF 3409 cat confdefs.h >>conftest.$ac_ext 3410 cat >>conftest.$ac_ext <<_ACEOF 3411 /* end confdefs.h. */ 3412 3413 int 3414 main () 3415 { 3416 3417 ; 3418 return 0; 3419 } 3420 _ACEOF 3421 rm -f conftest.$ac_objext 3422 if { (ac_try="$ac_compile" 3423 case "(($ac_try" in 3424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3425 *) ac_try_echo=$ac_try;; 3426 esac 3427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3428 $as_echo "$ac_try_echo") >&5 3429 (eval "$ac_compile") 2>conftest.er1 2766 3430 ac_status=$? 2767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2768 (exit $ac_status); }; }; then 3431 grep -v '^ *+' conftest.er1 >conftest.err 3432 rm -f conftest.er1 3433 cat conftest.err >&5 3434 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3435 (exit $ac_status); } && { 3436 test -z "$ac_cxx_werror_flag" || 3437 test ! -s conftest.err 3438 } && test -s conftest.$ac_objext; then 2769 3439 ac_cv_prog_cxx_g=yes 2770 3440 else 2771 echo "$as_me: failed program was:" >&53441 $as_echo "$as_me: failed program was:" >&5 2772 3442 sed 's/^/| /' conftest.$ac_ext >&5 2773 3443 2774 ac_cv_prog_cxx_g=no 2775 fi 2776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2777 fi 2778 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2779 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3444 3445 fi 3446 3447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3448 fi 3449 3450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3451 fi 3452 3453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3454 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3455 fi 3456 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3457 $as_echo "$ac_cv_prog_cxx_g" >&6; } 2780 3458 if test "$ac_test_CXXFLAGS" = set; then 2781 3459 CXXFLAGS=$ac_save_CXXFLAGS … … 2793 3471 fi 2794 3472 fi 2795 for ac_declaration in \2796 '' \2797 'extern "C" void std::exit (int) throw (); using std::exit;' \2798 'extern "C" void std::exit (int); using std::exit;' \2799 'extern "C" void exit (int) throw ();' \2800 'extern "C" void exit (int);' \2801 'void exit (int);'2802 do2803 cat >conftest.$ac_ext <<_ACEOF2804 /* confdefs.h. */2805 _ACEOF2806 cat confdefs.h >>conftest.$ac_ext2807 cat >>conftest.$ac_ext <<_ACEOF2808 /* end confdefs.h. */2809 $ac_declaration2810 #include <stdlib.h>2811 int2812 main ()2813 {2814 exit (42);2815 ;2816 return 0;2817 }2818 _ACEOF2819 rm -f conftest.$ac_objext2820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52821 (eval $ac_compile) 2>conftest.er12822 ac_status=$?2823 grep -v '^ *+' conftest.er1 >conftest.err2824 rm -f conftest.er12825 cat conftest.err >&52826 echo "$as_me:$LINENO: \$? = $ac_status" >&52827 (exit $ac_status); } &&2828 { ac_try='test -z "$ac_cxx_werror_flag"2829 || test ! -s conftest.err'2830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52831 (eval $ac_try) 2>&52832 ac_status=$?2833 echo "$as_me:$LINENO: \$? = $ac_status" >&52834 (exit $ac_status); }; } &&2835 { ac_try='test -s conftest.$ac_objext'2836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52837 (eval $ac_try) 2>&52838 ac_status=$?2839 echo "$as_me:$LINENO: \$? = $ac_status" >&52840 (exit $ac_status); }; }; then2841 :2842 else2843 echo "$as_me: failed program was:" >&52844 sed 's/^/| /' conftest.$ac_ext >&52845 2846 continue2847 fi2848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2849 cat >conftest.$ac_ext <<_ACEOF2850 /* confdefs.h. */2851 _ACEOF2852 cat confdefs.h >>conftest.$ac_ext2853 cat >>conftest.$ac_ext <<_ACEOF2854 /* end confdefs.h. */2855 $ac_declaration2856 int2857 main ()2858 {2859 exit (42);2860 ;2861 return 0;2862 }2863 _ACEOF2864 rm -f conftest.$ac_objext2865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52866 (eval $ac_compile) 2>conftest.er12867 ac_status=$?2868 grep -v '^ *+' conftest.er1 >conftest.err2869 rm -f conftest.er12870 cat conftest.err >&52871 echo "$as_me:$LINENO: \$? = $ac_status" >&52872 (exit $ac_status); } &&2873 { ac_try='test -z "$ac_cxx_werror_flag"2874 || test ! -s conftest.err'2875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52876 (eval $ac_try) 2>&52877 ac_status=$?2878 echo "$as_me:$LINENO: \$? = $ac_status" >&52879 (exit $ac_status); }; } &&2880 { ac_try='test -s conftest.$ac_objext'2881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52882 (eval $ac_try) 2>&52883 ac_status=$?2884 echo "$as_me:$LINENO: \$? = $ac_status" >&52885 (exit $ac_status); }; }; then2886 break2887 else2888 echo "$as_me: failed program was:" >&52889 sed 's/^/| /' conftest.$ac_ext >&52890 2891 fi2892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2893 done2894 rm -f conftest*2895 if test -n "$ac_declaration"; then2896 echo '#ifdef __cplusplus' >>confdefs.h2897 echo $ac_declaration >>confdefs.h2898 echo '#endif' >>confdefs.h2899 fi2900 2901 3473 ac_ext=c 2902 3474 ac_cpp='$CPP $CPPFLAGS' … … 2914 3486 # Extract the first word of "$ac_prog", so it can be a program name with args. 2915 3487 set dummy $ac_prog; ac_word=$2 2916 echo "$as_me:$LINENO: checking for $ac_word" >&52917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3488 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3489 $as_echo_n "checking for $ac_word... " >&6; } 2918 3490 if test "${ac_cv_prog_JAVAC+set}" = set; then 2919 echo $ECHO_N "(cached) $ECHO_C" >&63491 $as_echo_n "(cached) " >&6 2920 3492 else 2921 3493 if test -n "$JAVAC"; then … … 2928 3500 test -z "$as_dir" && as_dir=. 2929 3501 for ac_exec_ext in '' $ac_executable_extensions; do 2930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2931 3503 ac_cv_prog_JAVAC="$ac_prog" 2932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53504 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2933 3505 break 2 2934 3506 fi 2935 3507 done 2936 3508 done 3509 IFS=$as_save_IFS 2937 3510 2938 3511 fi … … 2940 3513 JAVAC=$ac_cv_prog_JAVAC 2941 3514 if test -n "$JAVAC"; then 2942 echo "$as_me:$LINENO: result: $JAVAC" >&5 2943 echo "${ECHO_T}$JAVAC" >&6 2944 else 2945 echo "$as_me:$LINENO: result: no" >&5 2946 echo "${ECHO_T}no" >&6 2947 fi 3515 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3516 $as_echo "$JAVAC" >&6; } 3517 else 3518 { $as_echo "$as_me:$LINENO: result: no" >&5 3519 $as_echo "no" >&6; } 3520 fi 3521 2948 3522 2949 3523 test -n "$JAVAC" && break … … 2955 3529 # Extract the first word of "$ac_prog", so it can be a program name with args. 2956 3530 set dummy $ac_prog; ac_word=$2 2957 echo "$as_me:$LINENO: checking for $ac_word" >&52958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3531 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3532 $as_echo_n "checking for $ac_word... " >&6; } 2959 3533 if test "${ac_cv_prog_JAVAC+set}" = set; then 2960 echo $ECHO_N "(cached) $ECHO_C" >&63534 $as_echo_n "(cached) " >&6 2961 3535 else 2962 3536 if test -n "$JAVAC"; then … … 2969 3543 test -z "$as_dir" && as_dir=. 2970 3544 for ac_exec_ext in '' $ac_executable_extensions; do 2971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2972 3546 ac_cv_prog_JAVAC="$ac_prog" 2973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53547 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2974 3548 break 2 2975 3549 fi 2976 3550 done 2977 3551 done 3552 IFS=$as_save_IFS 2978 3553 2979 3554 fi … … 2981 3556 JAVAC=$ac_cv_prog_JAVAC 2982 3557 if test -n "$JAVAC"; then 2983 echo "$as_me:$LINENO: result: $JAVAC" >&5 2984 echo "${ECHO_T}$JAVAC" >&6 2985 else 2986 echo "$as_me:$LINENO: result: no" >&5 2987 echo "${ECHO_T}no" >&6 2988 fi 3558 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3559 $as_echo "$JAVAC" >&6; } 3560 else 3561 { $as_echo "$as_me:$LINENO: result: no" >&5 3562 $as_echo "no" >&6; } 3563 fi 3564 2989 3565 2990 3566 test -n "$JAVAC" && break … … 2993 3569 2994 3570 fi 2995 test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&52996 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}3571 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3572 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 2997 3573 { (exit 1); exit 1; }; } 2998 3574 else … … 3002 3578 3003 3579 3004 echo "$as_me:$LINENO: checking if $JAVAC works" >&53005 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6 3580 { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5 3581 $as_echo_n "checking if $JAVAC works... " >&6; } 3006 3582 if test "${ac_cv_prog_javac_works+set}" = set; then 3007 echo $ECHO_N "(cached) $ECHO_C" >&63583 $as_echo_n "(cached) " >&6 3008 3584 else 3009 3585 … … 3011 3587 CLASS_TEST=Test.class 3012 3588 cat << \EOF > $JAVA_TEST 3013 /* #line 3 013"configure" */3589 /* #line 3589 "configure" */ 3014 3590 public class Test { 3015 3591 } … … 3019 3595 (eval $ac_try) 2>&5 3020 3596 ac_status=$? 3021 echo "$as_me:$LINENO: \$? = $ac_status" >&53597 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3022 3598 (exit $ac_status); }; } >/dev/null 2>&1; then 3023 3599 ac_cv_prog_javac_works=yes 3024 3600 else 3025 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&53026 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}3601 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3602 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3027 3603 { (exit 1); exit 1; }; } 3028 3604 echo "configure: failed program was:" >&5 … … 3032 3608 3033 3609 fi 3034 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&53035 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6 3610 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 3611 $as_echo "$ac_cv_prog_javac_works" >&6; } 3036 3612 if test "x$JAVACFLAGS" = x ; then 3037 3613 JAVACFLAGS="-source 1.4 -target 1.4" … … 3047 3623 # Extract the first word of "$ac_prog", so it can be a program name with args. 3048 3624 set dummy $ac_prog; ac_word=$2 3049 echo "$as_me:$LINENO: checking for $ac_word" >&53050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3625 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3626 $as_echo_n "checking for $ac_word... " >&6; } 3051 3627 if test "${ac_cv_prog_JAVA+set}" = set; then 3052 echo $ECHO_N "(cached) $ECHO_C" >&63628 $as_echo_n "(cached) " >&6 3053 3629 else 3054 3630 if test -n "$JAVA"; then … … 3061 3637 test -z "$as_dir" && as_dir=. 3062 3638 for ac_exec_ext in '' $ac_executable_extensions; do 3063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3064 3640 ac_cv_prog_JAVA="$ac_prog" 3065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53641 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3066 3642 break 2 3067 3643 fi 3068 3644 done 3069 3645 done 3646 IFS=$as_save_IFS 3070 3647 3071 3648 fi … … 3073 3650 JAVA=$ac_cv_prog_JAVA 3074 3651 if test -n "$JAVA"; then 3075 echo "$as_me:$LINENO: result: $JAVA" >&5 3076 echo "${ECHO_T}$JAVA" >&6 3077 else 3078 echo "$as_me:$LINENO: result: no" >&5 3079 echo "${ECHO_T}no" >&6 3080 fi 3652 { $as_echo "$as_me:$LINENO: result: $JAVA" >&5 3653 $as_echo "$JAVA" >&6; } 3654 else 3655 { $as_echo "$as_me:$LINENO: result: no" >&5 3656 $as_echo "no" >&6; } 3657 fi 3658 3081 3659 3082 3660 test -n "$JAVA" && break … … 3088 3666 # Extract the first word of "$ac_prog", so it can be a program name with args. 3089 3667 set dummy $ac_prog; ac_word=$2 3090 echo "$as_me:$LINENO: checking for $ac_word" >&53091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3668 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3669 $as_echo_n "checking for $ac_word... " >&6; } 3092 3670 if test "${ac_cv_prog_JAVA+set}" = set; then 3093 echo $ECHO_N "(cached) $ECHO_C" >&63671 $as_echo_n "(cached) " >&6 3094 3672 else 3095 3673 if test -n "$JAVA"; then … … 3102 3680 test -z "$as_dir" && as_dir=. 3103 3681 for ac_exec_ext in '' $ac_executable_extensions; do 3104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3105 3683 ac_cv_prog_JAVA="$ac_prog" 3106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53684 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3107 3685 break 2 3108 3686 fi 3109 3687 done 3110 3688 done 3689 IFS=$as_save_IFS 3111 3690 3112 3691 fi … … 3114 3693 JAVA=$ac_cv_prog_JAVA 3115 3694 if test -n "$JAVA"; then 3116 echo "$as_me:$LINENO: result: $JAVA" >&5 3117 echo "${ECHO_T}$JAVA" >&6 3118 else 3119 echo "$as_me:$LINENO: result: no" >&5 3120 echo "${ECHO_T}no" >&6 3121 fi 3695 { $as_echo "$as_me:$LINENO: result: $JAVA" >&5 3696 $as_echo "$JAVA" >&6; } 3697 else 3698 { $as_echo "$as_me:$LINENO: result: no" >&5 3699 $as_echo "no" >&6; } 3700 fi 3701 3122 3702 3123 3703 test -n "$JAVA" && break … … 3126 3706 3127 3707 fi 3128 test x$JAVA = x && { { echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&53129 echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;}3708 test x$JAVA = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5 3709 $as_echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;} 3130 3710 { (exit 1); exit 1; }; } 3131 3711 fi … … 3134 3714 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args. 3135 3715 set dummy uudecode$EXEEXT; ac_word=$2 3136 echo "$as_me:$LINENO: checking for $ac_word" >&53137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3716 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3717 $as_echo_n "checking for $ac_word... " >&6; } 3138 3718 if test "${ac_cv_prog_uudecode+set}" = set; then 3139 echo $ECHO_N "(cached) $ECHO_C" >&63719 $as_echo_n "(cached) " >&6 3140 3720 else 3141 3721 if test -n "$uudecode"; then … … 3148 3728 test -z "$as_dir" && as_dir=. 3149 3729 for ac_exec_ext in '' $ac_executable_extensions; do 3150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3151 3731 ac_cv_prog_uudecode="yes" 3152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53732 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3153 3733 break 2 3154 3734 fi 3155 3735 done 3156 3736 done 3737 IFS=$as_save_IFS 3157 3738 3158 3739 fi … … 3160 3741 uudecode=$ac_cv_prog_uudecode 3161 3742 if test -n "$uudecode"; then 3162 echo "$as_me:$LINENO: result: $uudecode" >&5 3163 echo "${ECHO_T}$uudecode" >&6 3164 else 3165 echo "$as_me:$LINENO: result: no" >&5 3166 echo "${ECHO_T}no" >&6 3167 fi 3743 { $as_echo "$as_me:$LINENO: result: $uudecode" >&5 3744 $as_echo "$uudecode" >&6; } 3745 else 3746 { $as_echo "$as_me:$LINENO: result: no" >&5 3747 $as_echo "no" >&6; } 3748 fi 3749 3168 3750 3169 3751 if test x$uudecode = xyes; then 3170 echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&53171 echo $ECHO_N "checking if uudecode can decode base 64 file... $ECHO_C" >&6 3752 { $as_echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5 3753 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; } 3172 3754 if test "${ac_cv_prog_uudecode_base64+set}" = set; then 3173 echo $ECHO_N "(cached) $ECHO_C" >&63755 $as_echo_n "(cached) " >&6 3174 3756 else 3175 3757 … … 3188 3770 ac_cv_prog_uudecode_base64=yes 3189 3771 else 3190 echo "configure: 3 190: uudecode had trouble decoding base 64 file 'Test.uue'" >&53772 echo "configure: 3772: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 3191 3773 echo "configure: failed file was:" >&5 3192 3774 cat Test.uue >&5 … … 3195 3777 rm -f Test.uue 3196 3778 fi 3197 echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&53198 echo "${ECHO_T}$ac_cv_prog_uudecode_base64" >&6 3779 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5 3780 $as_echo "$ac_cv_prog_uudecode_base64" >&6; } 3199 3781 fi 3200 3782 if test x$ac_cv_prog_uudecode_base64 != xyes; then 3201 3783 rm -f Test.class 3202 { echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&53203 echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}3784 { $as_echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5 3785 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;} 3204 3786 if test x$ac_cv_prog_javac_works = xno; then 3205 { { echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&53206 echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;}3787 { { $as_echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5 3788 $as_echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;} 3207 3789 { (exit 1); exit 1; }; } 3208 3790 fi … … 3215 3797 # Extract the first word of "$ac_prog", so it can be a program name with args. 3216 3798 set dummy $ac_prog; ac_word=$2 3217 echo "$as_me:$LINENO: checking for $ac_word" >&53218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3799 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3800 $as_echo_n "checking for $ac_word... " >&6; } 3219 3801 if test "${ac_cv_prog_JAVAC+set}" = set; then 3220 echo $ECHO_N "(cached) $ECHO_C" >&63802 $as_echo_n "(cached) " >&6 3221 3803 else 3222 3804 if test -n "$JAVAC"; then … … 3229 3811 test -z "$as_dir" && as_dir=. 3230 3812 for ac_exec_ext in '' $ac_executable_extensions; do 3231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3232 3814 ac_cv_prog_JAVAC="$ac_prog" 3233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53815 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3234 3816 break 2 3235 3817 fi 3236 3818 done 3237 3819 done 3820 IFS=$as_save_IFS 3238 3821 3239 3822 fi … … 3241 3824 JAVAC=$ac_cv_prog_JAVAC 3242 3825 if test -n "$JAVAC"; then 3243 echo "$as_me:$LINENO: result: $JAVAC" >&5 3244 echo "${ECHO_T}$JAVAC" >&6 3245 else 3246 echo "$as_me:$LINENO: result: no" >&5 3247 echo "${ECHO_T}no" >&6 3248 fi 3826 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3827 $as_echo "$JAVAC" >&6; } 3828 else 3829 { $as_echo "$as_me:$LINENO: result: no" >&5 3830 $as_echo "no" >&6; } 3831 fi 3832 3249 3833 3250 3834 test -n "$JAVAC" && break … … 3256 3840 # Extract the first word of "$ac_prog", so it can be a program name with args. 3257 3841 set dummy $ac_prog; ac_word=$2 3258 echo "$as_me:$LINENO: checking for $ac_word" >&53259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3842 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3843 $as_echo_n "checking for $ac_word... " >&6; } 3260 3844 if test "${ac_cv_prog_JAVAC+set}" = set; then 3261 echo $ECHO_N "(cached) $ECHO_C" >&63845 $as_echo_n "(cached) " >&6 3262 3846 else 3263 3847 if test -n "$JAVAC"; then … … 3270 3854 test -z "$as_dir" && as_dir=. 3271 3855 for ac_exec_ext in '' $ac_executable_extensions; do 3272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3273 3857 ac_cv_prog_JAVAC="$ac_prog" 3274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53858 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3275 3859 break 2 3276 3860 fi 3277 3861 done 3278 3862 done 3863 IFS=$as_save_IFS 3279 3864 3280 3865 fi … … 3282 3867 JAVAC=$ac_cv_prog_JAVAC 3283 3868 if test -n "$JAVAC"; then 3284 echo "$as_me:$LINENO: result: $JAVAC" >&5 3285 echo "${ECHO_T}$JAVAC" >&6 3286 else 3287 echo "$as_me:$LINENO: result: no" >&5 3288 echo "${ECHO_T}no" >&6 3289 fi 3869 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3870 $as_echo "$JAVAC" >&6; } 3871 else 3872 { $as_echo "$as_me:$LINENO: result: no" >&5 3873 $as_echo "no" >&6; } 3874 fi 3875 3290 3876 3291 3877 test -n "$JAVAC" && break … … 3294 3880 3295 3881 fi 3296 test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&53297 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}3882 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3883 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 3298 3884 { (exit 1); exit 1; }; } 3299 3885 else … … 3303 3889 3304 3890 3305 echo "$as_me:$LINENO: checking if $JAVAC works" >&53306 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6 3891 { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5 3892 $as_echo_n "checking if $JAVAC works... " >&6; } 3307 3893 if test "${ac_cv_prog_javac_works+set}" = set; then 3308 echo $ECHO_N "(cached) $ECHO_C" >&63894 $as_echo_n "(cached) " >&6 3309 3895 else 3310 3896 … … 3312 3898 CLASS_TEST=Test.class 3313 3899 cat << \EOF > $JAVA_TEST 3314 /* #line 3 314"configure" */3900 /* #line 3900 "configure" */ 3315 3901 public class Test { 3316 3902 } … … 3320 3906 (eval $ac_try) 2>&5 3321 3907 ac_status=$? 3322 echo "$as_me:$LINENO: \$? = $ac_status" >&53908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3323 3909 (exit $ac_status); }; } >/dev/null 2>&1; then 3324 3910 ac_cv_prog_javac_works=yes 3325 3911 else 3326 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&53327 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}3912 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3913 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3328 3914 { (exit 1); exit 1; }; } 3329 3915 echo "configure: failed program was:" >&5 … … 3333 3919 3334 3920 fi 3335 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&53336 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6 3921 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 3922 $as_echo "$ac_cv_prog_javac_works" >&6; } 3337 3923 if test "x$JAVACFLAGS" = x ; then 3338 3924 JAVACFLAGS="-source 1.4 -target 1.4" … … 3343 3929 fi 3344 3930 fi 3345 echo "$as_me:$LINENO: checking if $JAVA works" >&53346 echo $ECHO_N "checking if $JAVA works... $ECHO_C" >&6 3931 { $as_echo "$as_me:$LINENO: checking if $JAVA works" >&5 3932 $as_echo_n "checking if $JAVA works... " >&6; } 3347 3933 if test "${ac_cv_prog_java_works+set}" = set; then 3348 echo $ECHO_N "(cached) $ECHO_C" >&63934 $as_echo_n "(cached) " >&6 3349 3935 else 3350 3936 … … 3353 3939 TEST=Test 3354 3940 cat << \EOF > $JAVA_TEST 3355 /* [#]line 3 355"configure" */3941 /* [#]line 3941 "configure" */ 3356 3942 public class Test { 3357 3943 public static void main (String args[]) { … … 3364 3950 (eval $ac_try) 2>&5 3365 3951 ac_status=$? 3366 echo "$as_me:$LINENO: \$? = $ac_status" >&53952 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3367 3953 (exit $ac_status); }; } && test -s $CLASS_TEST; then 3368 3954 : … … 3370 3956 echo "configure: failed program was:" >&5 3371 3957 cat $JAVA_TEST >&5 3372 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&53373 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}3958 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3959 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3374 3960 { (exit 1); exit 1; }; } 3375 3961 fi … … 3379 3965 (eval $ac_try) 2>&5 3380 3966 ac_status=$? 3381 echo "$as_me:$LINENO: \$? = $ac_status" >&53967 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3382 3968 (exit $ac_status); }; } >/dev/null 2>&1; then 3383 3969 ac_cv_prog_java_works=yes … … 3385 3971 echo "configure: failed program was:" >&5 3386 3972 cat $JAVA_TEST >&5 3387 { { echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&53388 echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;}3973 { { $as_echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5 3974 $as_echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;} 3389 3975 { (exit 1); exit 1; }; } 3390 3976 fi … … 3392 3978 3393 3979 fi 3394 echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&53395 echo "${ECHO_T}$ac_cv_prog_java_works" >&6 3980 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5 3981 $as_echo "$ac_cv_prog_java_works" >&6; } 3396 3982 3397 3983 … … 3402 3988 # Extract the first word of "$ac_prog", so it can be a program name with args. 3403 3989 set dummy $ac_prog; ac_word=$2 3404 echo "$as_me:$LINENO: checking for $ac_word" >&53405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3990 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3991 $as_echo_n "checking for $ac_word... " >&6; } 3406 3992 if test "${ac_cv_prog_AWK+set}" = set; then 3407 echo $ECHO_N "(cached) $ECHO_C" >&63993 $as_echo_n "(cached) " >&6 3408 3994 else 3409 3995 if test -n "$AWK"; then … … 3416 4002 test -z "$as_dir" && as_dir=. 3417 4003 for ac_exec_ext in '' $ac_executable_extensions; do 3418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3419 4005 ac_cv_prog_AWK="$ac_prog" 3420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54006 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3421 4007 break 2 3422 4008 fi 3423 4009 done 3424 4010 done 4011 IFS=$as_save_IFS 3425 4012 3426 4013 fi … … 3428 4015 AWK=$ac_cv_prog_AWK 3429 4016 if test -n "$AWK"; then 3430 echo "$as_me:$LINENO: result: $AWK" >&5 3431 echo "${ECHO_T}$AWK" >&6 3432 else 3433 echo "$as_me:$LINENO: result: no" >&5 3434 echo "${ECHO_T}no" >&6 3435 fi 4017 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 4018 $as_echo "$AWK" >&6; } 4019 else 4020 { $as_echo "$as_me:$LINENO: result: no" >&5 4021 $as_echo "no" >&6; } 4022 fi 4023 3436 4024 3437 4025 test -n "$AWK" && break … … 3442 4030 # Extract the first word of "$ac_prog", so it can be a program name with args. 3443 4031 set dummy $ac_prog; ac_word=$2 3444 echo "$as_me:$LINENO: checking for $ac_word" >&53445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4032 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4033 $as_echo_n "checking for $ac_word... " >&6; } 3446 4034 if test "${ac_cv_prog_YACC+set}" = set; then 3447 echo $ECHO_N "(cached) $ECHO_C" >&64035 $as_echo_n "(cached) " >&6 3448 4036 else 3449 4037 if test -n "$YACC"; then … … 3456 4044 test -z "$as_dir" && as_dir=. 3457 4045 for ac_exec_ext in '' $ac_executable_extensions; do 3458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3459 4047 ac_cv_prog_YACC="$ac_prog" 3460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54048 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3461 4049 break 2 3462 4050 fi 3463 4051 done 3464 4052 done 4053 IFS=$as_save_IFS 3465 4054 3466 4055 fi … … 3468 4057 YACC=$ac_cv_prog_YACC 3469 4058 if test -n "$YACC"; then 3470 echo "$as_me:$LINENO: result: $YACC" >&5 3471 echo "${ECHO_T}$YACC" >&6 3472 else 3473 echo "$as_me:$LINENO: result: no" >&5 3474 echo "${ECHO_T}no" >&6 3475 fi 4059 { $as_echo "$as_me:$LINENO: result: $YACC" >&5 4060 $as_echo "$YACC" >&6; } 4061 else 4062 { $as_echo "$as_me:$LINENO: result: no" >&5 4063 $as_echo "no" >&6; } 4064 fi 4065 3476 4066 3477 4067 test -n "$YACC" && break … … 3480 4070 3481 4071 ac_aux_dir= 3482 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do3483 if test -f $ac_dir/install-sh; then4072 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 4073 if test -f "$ac_dir/install-sh"; then 3484 4074 ac_aux_dir=$ac_dir 3485 4075 ac_install_sh="$ac_aux_dir/install-sh -c" 3486 4076 break 3487 elif test -f $ac_dir/install.sh; then4077 elif test -f "$ac_dir/install.sh"; then 3488 4078 ac_aux_dir=$ac_dir 3489 4079 ac_install_sh="$ac_aux_dir/install.sh -c" 3490 4080 break 3491 elif test -f $ac_dir/shtool; then4081 elif test -f "$ac_dir/shtool"; then 3492 4082 ac_aux_dir=$ac_dir 3493 4083 ac_install_sh="$ac_aux_dir/shtool install -c" … … 3496 4086 done 3497 4087 if test -z "$ac_aux_dir"; then 3498 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&53499 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}4088 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 4089 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 3500 4090 { (exit 1); exit 1; }; } 3501 4091 fi 3502 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 3503 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 3504 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 4092 4093 # These three variables are undocumented and unsupported, 4094 # and are intended to be withdrawn in a future Autoconf release. 4095 # They can cause serious problems if a builder's source tree is in a directory 4096 # whose full name contains unusual characters. 4097 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 4098 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 4099 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 4100 3505 4101 3506 4102 # Make sure we can run config.sub. 3507 $ ac_config_subsun4 >/dev/null 2>&1 ||3508 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&53509 echo "$as_me: error: cannot run $ac_config_sub" >&2;}4103 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4104 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 4105 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 3510 4106 { (exit 1); exit 1; }; } 3511 4107 3512 echo "$as_me:$LINENO: checking build system type" >&53513 echo $ECHO_N "checking build system type... $ECHO_C" >&6 4108 { $as_echo "$as_me:$LINENO: checking build system type" >&5 4109 $as_echo_n "checking build system type... " >&6; } 3514 4110 if test "${ac_cv_build+set}" = set; then 3515 echo $ECHO_N "(cached) $ECHO_C" >&63516 else 3517 ac_ cv_build_alias=$build_alias3518 test -z "$ac_cv_build_alias"&&3519 ac_ cv_build_alias=`$ac_config_guess`3520 test -z "$ac_cv_build_alias"&&3521 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&53522 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}4111 $as_echo_n "(cached) " >&6 4112 else 4113 ac_build_alias=$build_alias 4114 test "x$ac_build_alias" = x && 4115 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4116 test "x$ac_build_alias" = x && 4117 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 4118 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3523 4119 { (exit 1); exit 1; }; } 3524 ac_cv_build=`$ ac_config_sub $ac_cv_build_alias` ||3525 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&53526 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}4120 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4121 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 4122 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 3527 4123 { (exit 1); exit 1; }; } 3528 4124 3529 4125 fi 3530 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3531 echo "${ECHO_T}$ac_cv_build" >&6 4126 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 4127 $as_echo "$ac_cv_build" >&6; } 4128 case $ac_cv_build in 4129 *-*-*) ;; 4130 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 4131 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 4132 { (exit 1); exit 1; }; };; 4133 esac 3532 4134 build=$ac_cv_build 3533 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3534 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3535 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3536 3537 3538 echo "$as_me:$LINENO: checking host system type" >&5 3539 echo $ECHO_N "checking host system type... $ECHO_C" >&6 4135 ac_save_IFS=$IFS; IFS='-' 4136 set x $ac_cv_build 4137 shift 4138 build_cpu=$1 4139 build_vendor=$2 4140 shift; shift 4141 # Remember, the first character of IFS is used to create $*, 4142 # except with old shells: 4143 build_os=$* 4144 IFS=$ac_save_IFS 4145 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4146 4147 4148 { $as_echo "$as_me:$LINENO: checking host system type" >&5 4149 $as_echo_n "checking host system type... " >&6; } 3540 4150 if test "${ac_cv_host+set}" = set; then 3541 echo $ECHO_N "(cached) $ECHO_C" >&63542 else 3543 ac_cv_host_alias=$host_alias3544 test -z "$ac_cv_host_alias" && 3545 ac_cv_host_alias=$ac_cv_build_alias 3546 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||3547 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&53548 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}4151 $as_echo_n "(cached) " >&6 4152 else 4153 if test "x$host_alias" = x; then 4154 ac_cv_host=$ac_cv_build 4155 else 4156 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4157 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 4158 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 3549 4159 { (exit 1); exit 1; }; } 3550 3551 fi 3552 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3553 echo "${ECHO_T}$ac_cv_host" >&6 4160 fi 4161 4162 fi 4163 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 4164 $as_echo "$ac_cv_host" >&6; } 4165 case $ac_cv_host in 4166 *-*-*) ;; 4167 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 4168 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 4169 { (exit 1); exit 1; }; };; 4170 esac 3554 4171 host=$ac_cv_host 3555 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3556 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3557 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3558 3559 3560 echo "$as_me:$LINENO: checking target system type" >&5 3561 echo $ECHO_N "checking target system type... $ECHO_C" >&6 4172 ac_save_IFS=$IFS; IFS='-' 4173 set x $ac_cv_host 4174 shift 4175 host_cpu=$1 4176 host_vendor=$2 4177 shift; shift 4178 # Remember, the first character of IFS is used to create $*, 4179 # except with old shells: 4180 host_os=$* 4181 IFS=$ac_save_IFS 4182 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4183 4184 4185 { $as_echo "$as_me:$LINENO: checking target system type" >&5 4186 $as_echo_n "checking target system type... " >&6; } 3562 4187 if test "${ac_cv_target+set}" = set; then 3563 echo $ECHO_N "(cached) $ECHO_C" >&63564 else 3565 ac_cv_target_alias=$target_alias3566 test "x$ac_cv_target_alias" = "x" && 3567 ac_cv_target_alias=$ac_cv_host_alias 3568 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||3569 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&53570 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}4188 $as_echo_n "(cached) " >&6 4189 else 4190 if test "x$target_alias" = x; then 4191 ac_cv_target=$ac_cv_host 4192 else 4193 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 4194 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 4195 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 3571 4196 { (exit 1); exit 1; }; } 3572 3573 fi 3574 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 3575 echo "${ECHO_T}$ac_cv_target" >&6 4197 fi 4198 4199 fi 4200 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 4201 $as_echo "$ac_cv_target" >&6; } 4202 case $ac_cv_target in 4203 *-*-*) ;; 4204 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 4205 $as_echo "$as_me: error: invalid value of canonical target" >&2;} 4206 { (exit 1); exit 1; }; };; 4207 esac 3576 4208 target=$ac_cv_target 3577 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3578 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3579 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 4209 ac_save_IFS=$IFS; IFS='-' 4210 set x $ac_cv_target 4211 shift 4212 target_cpu=$1 4213 target_vendor=$2 4214 shift; shift 4215 # Remember, the first character of IFS is used to create $*, 4216 # except with old shells: 4217 target_os=$* 4218 IFS=$ac_save_IFS 4219 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 3580 4220 3581 4221 … … 3599 4239 # OS/2's system install, which has a completely different semantic 3600 4240 # ./install, which can be erroneously created by make from ./install.sh. 3601 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3602 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 4241 # Reject install programs that cannot install multiple files. 4242 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 4243 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3603 4244 if test -z "$INSTALL"; then 3604 4245 if test "${ac_cv_path_install+set}" = set; then 3605 echo $ECHO_N "(cached) $ECHO_C" >&64246 $as_echo_n "(cached) " >&6 3606 4247 else 3607 4248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 3622 4263 for ac_prog in ginstall scoinst install; do 3623 4264 for ac_exec_ext in '' $ac_executable_extensions; do 3624 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then4265 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3625 4266 if test $ac_prog = install && 3626 4267 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 3632 4273 : 3633 4274 else 3634 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3635 break 3 4275 rm -rf conftest.one conftest.two conftest.dir 4276 echo one > conftest.one 4277 echo two > conftest.two 4278 mkdir conftest.dir 4279 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 4280 test -s conftest.one && test -s conftest.two && 4281 test -s conftest.dir/conftest.one && 4282 test -s conftest.dir/conftest.two 4283 then 4284 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 4285 break 3 4286 fi 3636 4287 fi 3637 4288 fi … … 3640 4291 ;; 3641 4292 esac 4293 3642 4294 done 3643 4295 IFS=$as_save_IFS 4296 4297 rm -rf conftest.one conftest.two conftest.dir 3644 4298 3645 4299 fi … … 3647 4301 INSTALL=$ac_cv_path_install 3648 4302 else 3649 # As a last resort, use the slow shell script. We don't cache a3650 # pathfor INSTALL within a source directory, because that will4303 # As a last resort, use the slow shell script. Don't cache a 4304 # value for INSTALL within a source directory, because that will 3651 4305 # break other packages using the cache if that directory is 3652 # removed, or if the path is relative.4306 # removed, or if the value is a relative name. 3653 4307 INSTALL=$ac_install_sh 3654 4308 fi 3655 4309 fi 3656 echo "$as_me:$LINENO: result: $INSTALL" >&53657 echo "${ECHO_T}$INSTALL" >&6 4310 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 4311 $as_echo "$INSTALL" >&6; } 3658 4312 3659 4313 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 3665 4319 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3666 4320 3667 echo "$as_me:$LINENO: checking whether ln -s works" >&53668 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 4321 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 4322 $as_echo_n "checking whether ln -s works... " >&6; } 3669 4323 LN_S=$as_ln_s 3670 4324 if test "$LN_S" = "ln -s"; then 3671 echo "$as_me:$LINENO: result: yes" >&5 3672 echo "${ECHO_T}yes" >&6 3673 else 3674 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3675 echo "${ECHO_T}no, using $LN_S" >&6 3676 fi 3677 3678 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3679 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3680 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 3681 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 3682 echo $ECHO_N "(cached) $ECHO_C" >&6 4325 { $as_echo "$as_me:$LINENO: result: yes" >&5 4326 $as_echo "yes" >&6; } 4327 else 4328 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4329 $as_echo "no, using $LN_S" >&6; } 4330 fi 4331 4332 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4333 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4334 set x ${MAKE-make} 4335 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4336 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 4337 $as_echo_n "(cached) " >&6 3683 4338 else 3684 4339 cat >conftest.make <<\_ACEOF 4340 SHELL = /bin/sh 3685 4341 all: 3686 @echo ' ac_maketemp="$(MAKE)"'4342 @echo '@@@%%%=$(MAKE)=@@@%%%' 3687 4343 _ACEOF 3688 4344 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3689 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3690 if test -n "$ac_maketemp"; then 3691 eval ac_cv_prog_make_${ac_make}_set=yes3692 else 3693 eval ac_cv_prog_make_${ac_make}_set=no3694 fi 4345 case `${MAKE-make} -f conftest.make 2>/dev/null` in 4346 *@@@%%%=?*=@@@%%%*) 4347 eval ac_cv_prog_make_${ac_make}_set=yes;; 4348 *) 4349 eval ac_cv_prog_make_${ac_make}_set=no;; 4350 esac 3695 4351 rm -f conftest.make 3696 4352 fi 3697 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then3698 echo "$as_me:$LINENO: result: yes" >&53699 echo "${ECHO_T}yes" >&6 4353 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 4354 { $as_echo "$as_me:$LINENO: result: yes" >&5 4355 $as_echo "yes" >&6; } 3700 4356 SET_MAKE= 3701 4357 else 3702 echo "$as_me:$LINENO: result: no" >&53703 echo "${ECHO_T}no" >&6 4358 { $as_echo "$as_me:$LINENO: result: no" >&5 4359 $as_echo "no" >&6; } 3704 4360 SET_MAKE="MAKE=${MAKE-make}" 3705 4361 fi … … 3708 4364 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3709 4365 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3710 echo "$as_me:$LINENO: checking for $ac_word" >&53711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4366 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4367 $as_echo_n "checking for $ac_word... " >&6; } 3712 4368 if test "${ac_cv_prog_RANLIB+set}" = set; then 3713 echo $ECHO_N "(cached) $ECHO_C" >&64369 $as_echo_n "(cached) " >&6 3714 4370 else 3715 4371 if test -n "$RANLIB"; then … … 3722 4378 test -z "$as_dir" && as_dir=. 3723 4379 for ac_exec_ext in '' $ac_executable_extensions; do 3724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3725 4381 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54382 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3727 4383 break 2 3728 4384 fi 3729 4385 done 3730 4386 done 4387 IFS=$as_save_IFS 3731 4388 3732 4389 fi … … 3734 4391 RANLIB=$ac_cv_prog_RANLIB 3735 4392 if test -n "$RANLIB"; then 3736 echo "$as_me:$LINENO: result: $RANLIB" >&5 3737 echo "${ECHO_T}$RANLIB" >&6 3738 else 3739 echo "$as_me:$LINENO: result: no" >&5 3740 echo "${ECHO_T}no" >&6 3741 fi 4393 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 4394 $as_echo "$RANLIB" >&6; } 4395 else 4396 { $as_echo "$as_me:$LINENO: result: no" >&5 4397 $as_echo "no" >&6; } 4398 fi 4399 3742 4400 3743 4401 fi … … 3746 4404 # Extract the first word of "ranlib", so it can be a program name with args. 3747 4405 set dummy ranlib; ac_word=$2 3748 echo "$as_me:$LINENO: checking for $ac_word" >&53749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4406 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4407 $as_echo_n "checking for $ac_word... " >&6; } 3750 4408 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3751 echo $ECHO_N "(cached) $ECHO_C" >&64409 $as_echo_n "(cached) " >&6 3752 4410 else 3753 4411 if test -n "$ac_ct_RANLIB"; then … … 3760 4418 test -z "$as_dir" && as_dir=. 3761 4419 for ac_exec_ext in '' $ac_executable_extensions; do 3762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3763 4421 ac_cv_prog_ac_ct_RANLIB="ranlib" 3764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54422 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3765 4423 break 2 3766 4424 fi 3767 4425 done 3768 4426 done 3769 3770 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 4427 IFS=$as_save_IFS 4428 3771 4429 fi 3772 4430 fi 3773 4431 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3774 4432 if test -n "$ac_ct_RANLIB"; then 3775 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3776 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3777 else 3778 echo "$as_me:$LINENO: result: no" >&5 3779 echo "${ECHO_T}no" >&6 3780 fi 3781 3782 RANLIB=$ac_ct_RANLIB 4433 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 4434 $as_echo "$ac_ct_RANLIB" >&6; } 4435 else 4436 { $as_echo "$as_me:$LINENO: result: no" >&5 4437 $as_echo "no" >&6; } 4438 fi 4439 4440 if test "x$ac_ct_RANLIB" = x; then 4441 RANLIB=":" 4442 else 4443 case $cross_compiling:$ac_tool_warned in 4444 yes:) 4445 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4446 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4447 ac_tool_warned=yes ;; 4448 esac 4449 RANLIB=$ac_ct_RANLIB 4450 fi 3783 4451 else 3784 4452 RANLIB="$ac_cv_prog_RANLIB" … … 3786 4454 3787 4455 3788 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&53789 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 4456 { $as_echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 4457 $as_echo_n "checking to see if architecture is 64-bit... " >&6; } 3790 4458 arch_64bit=no 3791 4459 case "$host_cpu" in … … 3794 4462 3795 4463 if test "$arch_64bit" = yes; then 3796 echo "$as_me:$LINENO: result: yes" >&53797 echo "${ECHO_T}yes" >&6 3798 if test -z "$ COMPAT32BITFLAGS" ; then3799 COMPAT32BITFLAGS="-m32"4464 { $as_echo "$as_me:$LINENO: result: yes" >&5 4465 $as_echo "yes" >&6; } 4466 if test -z "$ARCH_DEP_FLAGS" ; then 4467 ARCH_DEP_FLAGS="-fPIC" 3800 4468 gsdlarch='64' 3801 4469 fi 3802 4470 else 3803 echo "$as_me:$LINENO: result: no" >&53804 echo "${ECHO_T}no" >&6 3805 if test -z "$ COMPAT32BITFLAGS" ; then3806 COMPAT32BITFLAGS=4471 { $as_echo "$as_me:$LINENO: result: no" >&5 4472 $as_echo "no" >&6; } 4473 if test -z "$ARCH_DEP_FLAGS" ; then 4474 ARCH_DEP_FLAGS= 3807 4475 gsdlarch='32' 3808 4476 fi 3809 4477 fi 3810 4478 3811 # Only need compat32bitflag if using MG or MGPP 3812 if test "$ENABLE_MG" = "0" ; then 3813 COMPAT32BITFLAGS= 3814 else 3815 if test "$ENABLE_MGPP" = "0" ; then 3816 COMPAT32BITFLAGS= 3817 fi 3818 fi 3819 3820 export COMPAT32BITFLAGS 4479 export ARCH_DEP_FLAGS 3821 4480 3822 4481 … … 3860 4519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3861 4520 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3862 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53863 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 4521 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4522 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3864 4523 # On Suns, sometimes $CPP names a directory. 3865 4524 if test -n "$CPP" && test -d "$CPP"; then … … 3868 4527 if test -z "$CPP"; then 3869 4528 if test "${ac_cv_prog_CPP+set}" = set; then 3870 echo $ECHO_N "(cached) $ECHO_C" >&64529 $as_echo_n "(cached) " >&6 3871 4530 else 3872 4531 # Double quotes because CPP needs to be expanded … … 3895 4554 Syntax error 3896 4555 _ACEOF 3897 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3898 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4556 if { (ac_try="$ac_cpp conftest.$ac_ext" 4557 case "(($ac_try" in 4558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4559 *) ac_try_echo=$ac_try;; 4560 esac 4561 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4562 $as_echo "$ac_try_echo") >&5 4563 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3899 4564 ac_status=$? 3900 4565 grep -v '^ *+' conftest.er1 >conftest.err 3901 4566 rm -f conftest.er1 3902 4567 cat conftest.err >&5 3903 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3904 (exit $ac_status); } >/dev/null; then 3905 if test -s conftest.err; then 3906 ac_cpp_err=$ac_c_preproc_warn_flag 3907 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3908 else 3909 ac_cpp_err= 3910 fi 3911 else 3912 ac_cpp_err=yes 3913 fi 3914 if test -z "$ac_cpp_err"; then 4568 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4569 (exit $ac_status); } >/dev/null && { 4570 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4571 test ! -s conftest.err 4572 }; then 3915 4573 : 3916 4574 else 3917 echo "$as_me: failed program was:" >&54575 $as_echo "$as_me: failed program was:" >&5 3918 4576 sed 's/^/| /' conftest.$ac_ext >&5 3919 4577 … … 3921 4579 continue 3922 4580 fi 4581 3923 4582 rm -f conftest.err conftest.$ac_ext 3924 4583 3925 # OK, works on sane cases. Now check whether non -existent headers4584 # OK, works on sane cases. Now check whether nonexistent headers 3926 4585 # can be detected and how. 3927 4586 cat >conftest.$ac_ext <<_ACEOF … … 3933 4592 #include <ac_nonexistent.h> 3934 4593 _ACEOF 3935 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3936 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4594 if { (ac_try="$ac_cpp conftest.$ac_ext" 4595 case "(($ac_try" in 4596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4597 *) ac_try_echo=$ac_try;; 4598 esac 4599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4600 $as_echo "$ac_try_echo") >&5 4601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3937 4602 ac_status=$? 3938 4603 grep -v '^ *+' conftest.er1 >conftest.err 3939 4604 rm -f conftest.er1 3940 4605 cat conftest.err >&5 3941 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3942 (exit $ac_status); } >/dev/null; then 3943 if test -s conftest.err; then 3944 ac_cpp_err=$ac_c_preproc_warn_flag 3945 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3946 else 3947 ac_cpp_err= 3948 fi 3949 else 3950 ac_cpp_err=yes 3951 fi 3952 if test -z "$ac_cpp_err"; then 4606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4607 (exit $ac_status); } >/dev/null && { 4608 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4609 test ! -s conftest.err 4610 }; then 3953 4611 # Broken: success on invalid input. 3954 4612 continue 3955 4613 else 3956 echo "$as_me: failed program was:" >&54614 $as_echo "$as_me: failed program was:" >&5 3957 4615 sed 's/^/| /' conftest.$ac_ext >&5 3958 4616 … … 3961 4619 break 3962 4620 fi 4621 3963 4622 rm -f conftest.err conftest.$ac_ext 3964 4623 … … 3978 4637 ac_cv_prog_CPP=$CPP 3979 4638 fi 3980 echo "$as_me:$LINENO: result: $CPP" >&53981 echo "${ECHO_T}$CPP" >&6 4639 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 4640 $as_echo "$CPP" >&6; } 3982 4641 ac_preproc_ok=false 3983 4642 for ac_c_preproc_warn_flag in '' yes … … 4002 4661 Syntax error 4003 4662 _ACEOF 4004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4005 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4663 if { (ac_try="$ac_cpp conftest.$ac_ext" 4664 case "(($ac_try" in 4665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4666 *) ac_try_echo=$ac_try;; 4667 esac 4668 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4669 $as_echo "$ac_try_echo") >&5 4670 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4006 4671 ac_status=$? 4007 4672 grep -v '^ *+' conftest.er1 >conftest.err 4008 4673 rm -f conftest.er1 4009 4674 cat conftest.err >&5 4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4011 (exit $ac_status); } >/dev/null; then 4012 if test -s conftest.err; then 4013 ac_cpp_err=$ac_c_preproc_warn_flag 4014 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4015 else 4016 ac_cpp_err= 4017 fi 4018 else 4019 ac_cpp_err=yes 4020 fi 4021 if test -z "$ac_cpp_err"; then 4675 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4676 (exit $ac_status); } >/dev/null && { 4677 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4678 test ! -s conftest.err 4679 }; then 4022 4680 : 4023 4681 else 4024 echo "$as_me: failed program was:" >&54682 $as_echo "$as_me: failed program was:" >&5 4025 4683 sed 's/^/| /' conftest.$ac_ext >&5 4026 4684 … … 4028 4686 continue 4029 4687 fi 4688 4030 4689 rm -f conftest.err conftest.$ac_ext 4031 4690 4032 # OK, works on sane cases. Now check whether non -existent headers4691 # OK, works on sane cases. Now check whether nonexistent headers 4033 4692 # can be detected and how. 4034 4693 cat >conftest.$ac_ext <<_ACEOF … … 4040 4699 #include <ac_nonexistent.h> 4041 4700 _ACEOF 4042 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4043 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4701 if { (ac_try="$ac_cpp conftest.$ac_ext" 4702 case "(($ac_try" in 4703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4704 *) ac_try_echo=$ac_try;; 4705 esac 4706 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4707 $as_echo "$ac_try_echo") >&5 4708 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4044 4709 ac_status=$? 4045 4710 grep -v '^ *+' conftest.er1 >conftest.err 4046 4711 rm -f conftest.er1 4047 4712 cat conftest.err >&5 4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4049 (exit $ac_status); } >/dev/null; then 4050 if test -s conftest.err; then 4051 ac_cpp_err=$ac_c_preproc_warn_flag 4052 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4053 else 4054 ac_cpp_err= 4055 fi 4056 else 4057 ac_cpp_err=yes 4058 fi 4059 if test -z "$ac_cpp_err"; then 4713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4714 (exit $ac_status); } >/dev/null && { 4715 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4716 test ! -s conftest.err 4717 }; then 4060 4718 # Broken: success on invalid input. 4061 4719 continue 4062 4720 else 4063 echo "$as_me: failed program was:" >&54721 $as_echo "$as_me: failed program was:" >&5 4064 4722 sed 's/^/| /' conftest.$ac_ext >&5 4065 4723 … … 4068 4726 break 4069 4727 fi 4728 4070 4729 rm -f conftest.err conftest.$ac_ext 4071 4730 … … 4076 4735 : 4077 4736 else 4078 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4737 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 4738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4739 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4079 4740 See \`config.log' for more details." >&5 4080 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check4741 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4081 4742 See \`config.log' for more details." >&2;} 4082 { (exit 1); exit 1; }; } 4743 { (exit 1); exit 1; }; }; } 4083 4744 fi 4084 4745 … … 4090 4751 4091 4752 4092 echo "$as_me:$LINENO: checking for egrep" >&5 4093 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 4094 if test "${ac_cv_prog_egrep+set}" = set; then 4095 echo $ECHO_N "(cached) $ECHO_C" >&6 4096 else 4097 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 4098 then ac_cv_prog_egrep='grep -E' 4099 else ac_cv_prog_egrep='egrep' 4753 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4754 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4755 if test "${ac_cv_path_GREP+set}" = set; then 4756 $as_echo_n "(cached) " >&6 4757 else 4758 if test -z "$GREP"; then 4759 ac_path_GREP_found=false 4760 # Loop through the user's path and test for each of PROGNAME-LIST 4761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4762 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4763 do 4764 IFS=$as_save_IFS 4765 test -z "$as_dir" && as_dir=. 4766 for ac_prog in grep ggrep; do 4767 for ac_exec_ext in '' $ac_executable_extensions; do 4768 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4769 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4770 # Check for GNU ac_path_GREP and select it if it is found. 4771 # Check for GNU $ac_path_GREP 4772 case `"$ac_path_GREP" --version 2>&1` in 4773 *GNU*) 4774 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4775 *) 4776 ac_count=0 4777 $as_echo_n 0123456789 >"conftest.in" 4778 while : 4779 do 4780 cat "conftest.in" "conftest.in" >"conftest.tmp" 4781 mv "conftest.tmp" "conftest.in" 4782 cp "conftest.in" "conftest.nl" 4783 $as_echo 'GREP' >> "conftest.nl" 4784 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4785 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4786 ac_count=`expr $ac_count + 1` 4787 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4788 # Best one so far, save it but keep looking for a better one 4789 ac_cv_path_GREP="$ac_path_GREP" 4790 ac_path_GREP_max=$ac_count 4100 4791 fi 4101 fi 4102 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 4103 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 4104 EGREP=$ac_cv_prog_egrep 4105 4106 4107 4108 echo "$as_me:$LINENO: checking for AIX" >&5 4109 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 4110 cat >conftest.$ac_ext <<_ACEOF 4111 /* confdefs.h. */ 4112 _ACEOF 4113 cat confdefs.h >>conftest.$ac_ext 4114 cat >>conftest.$ac_ext <<_ACEOF 4115 /* end confdefs.h. */ 4116 #ifdef _AIX 4117 yes 4118 #endif 4119 4120 _ACEOF 4121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4122 $EGREP "yes" >/dev/null 2>&1; then 4123 echo "$as_me:$LINENO: result: yes" >&5 4124 echo "${ECHO_T}yes" >&6 4125 cat >>confdefs.h <<\_ACEOF 4126 #define _ALL_SOURCE 1 4127 _ACEOF 4128 4129 else 4130 echo "$as_me:$LINENO: result: no" >&5 4131 echo "${ECHO_T}no" >&6 4132 fi 4133 rm -f conftest* 4134 4135 4136 echo "$as_me:$LINENO: checking for library containing strerror" >&5 4137 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 4138 if test "${ac_cv_search_strerror+set}" = set; then 4139 echo $ECHO_N "(cached) $ECHO_C" >&6 4140 else 4141 ac_func_search_save_LIBS=$LIBS 4142 ac_cv_search_strerror=no 4143 cat >conftest.$ac_ext <<_ACEOF 4144 /* confdefs.h. */ 4145 _ACEOF 4146 cat confdefs.h >>conftest.$ac_ext 4147 cat >>conftest.$ac_ext <<_ACEOF 4148 /* end confdefs.h. */ 4149 4150 /* Override any gcc2 internal prototype to avoid an error. */ 4151 #ifdef __cplusplus 4152 extern "C" 4153 #endif 4154 /* We use char because int might match the return type of a gcc2 4155 builtin and then its argument prototype would still apply. */ 4156 char strerror (); 4157 int 4158 main () 4159 { 4160 strerror (); 4161 ; 4162 return 0; 4163 } 4164 _ACEOF 4165 rm -f conftest.$ac_objext conftest$ac_exeext 4166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4167 (eval $ac_link) 2>conftest.er1 4168 ac_status=$? 4169 grep -v '^ *+' conftest.er1 >conftest.err 4170 rm -f conftest.er1 4171 cat conftest.err >&5 4172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4173 (exit $ac_status); } && 4174 { ac_try='test -z "$ac_c_werror_flag" 4175 || test ! -s conftest.err' 4176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4177 (eval $ac_try) 2>&5 4178 ac_status=$? 4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4180 (exit $ac_status); }; } && 4181 { ac_try='test -s conftest$ac_exeext' 4182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4183 (eval $ac_try) 2>&5 4184 ac_status=$? 4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4186 (exit $ac_status); }; }; then 4187 ac_cv_search_strerror="none required" 4188 else 4189 echo "$as_me: failed program was:" >&5 4190 sed 's/^/| /' conftest.$ac_ext >&5 4191 4192 fi 4193 rm -f conftest.err conftest.$ac_objext \ 4194 conftest$ac_exeext conftest.$ac_ext 4195 if test "$ac_cv_search_strerror" = no; then 4196 for ac_lib in cposix; do 4197 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4198 cat >conftest.$ac_ext <<_ACEOF 4199 /* confdefs.h. */ 4200 _ACEOF 4201 cat confdefs.h >>conftest.$ac_ext 4202 cat >>conftest.$ac_ext <<_ACEOF 4203 /* end confdefs.h. */ 4204 4205 /* Override any gcc2 internal prototype to avoid an error. */ 4206 #ifdef __cplusplus 4207 extern "C" 4208 #endif 4209 /* We use char because int might match the return type of a gcc2 4210 builtin and then its argument prototype would still apply. */ 4211 char strerror (); 4212 int 4213 main () 4214 { 4215 strerror (); 4216 ; 4217 return 0; 4218 } 4219 _ACEOF 4220 rm -f conftest.$ac_objext conftest$ac_exeext 4221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4222 (eval $ac_link) 2>conftest.er1 4223 ac_status=$? 4224 grep -v '^ *+' conftest.er1 >conftest.err 4225 rm -f conftest.er1 4226 cat conftest.err >&5 4227 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4228 (exit $ac_status); } && 4229 { ac_try='test -z "$ac_c_werror_flag" 4230 || test ! -s conftest.err' 4231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4232 (eval $ac_try) 2>&5 4233 ac_status=$? 4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4235 (exit $ac_status); }; } && 4236 { ac_try='test -s conftest$ac_exeext' 4237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4238 (eval $ac_try) 2>&5 4239 ac_status=$? 4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4241 (exit $ac_status); }; }; then 4242 ac_cv_search_strerror="-l$ac_lib" 4243 break 4244 else 4245 echo "$as_me: failed program was:" >&5 4246 sed 's/^/| /' conftest.$ac_ext >&5 4247 4248 fi 4249 rm -f conftest.err conftest.$ac_objext \ 4250 conftest$ac_exeext conftest.$ac_ext 4792 # 10*(2^10) chars as input seems more than enough 4793 test $ac_count -gt 10 && break 4251 4794 done 4252 fi 4253 LIBS=$ac_func_search_save_LIBS 4254 fi 4255 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 4256 echo "${ECHO_T}$ac_cv_search_strerror" >&6 4257 if test "$ac_cv_search_strerror" != no; then 4258 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 4259 4260 fi 4261 4262 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4263 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4795 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4796 esac 4797 4798 $ac_path_GREP_found && break 3 4799 done 4800 done 4801 done 4802 IFS=$as_save_IFS 4803 if test -z "$ac_cv_path_GREP"; then 4804 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4805 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4806 { (exit 1); exit 1; }; } 4807 fi 4808 else 4809 ac_cv_path_GREP=$GREP 4810 fi 4811 4812 fi 4813 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4814 $as_echo "$ac_cv_path_GREP" >&6; } 4815 GREP="$ac_cv_path_GREP" 4816 4817 4818 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 4819 $as_echo_n "checking for egrep... " >&6; } 4820 if test "${ac_cv_path_EGREP+set}" = set; then 4821 $as_echo_n "(cached) " >&6 4822 else 4823 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4824 then ac_cv_path_EGREP="$GREP -E" 4825 else 4826 if test -z "$EGREP"; then 4827 ac_path_EGREP_found=false 4828 # Loop through the user's path and test for each of PROGNAME-LIST 4829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4830 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4831 do 4832 IFS=$as_save_IFS 4833 test -z "$as_dir" && as_dir=. 4834 for ac_prog in egrep; do 4835 for ac_exec_ext in '' $ac_executable_extensions; do 4836 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4837 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4838 # Check for GNU ac_path_EGREP and select it if it is found. 4839 # Check for GNU $ac_path_EGREP 4840 case `"$ac_path_EGREP" --version 2>&1` in 4841 *GNU*) 4842 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4843 *) 4844 ac_count=0 4845 $as_echo_n 0123456789 >"conftest.in" 4846 while : 4847 do 4848 cat "conftest.in" "conftest.in" >"conftest.tmp" 4849 mv "conftest.tmp" "conftest.in" 4850 cp "conftest.in" "conftest.nl" 4851 $as_echo 'EGREP' >> "conftest.nl" 4852 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4853 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4854 ac_count=`expr $ac_count + 1` 4855 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4856 # Best one so far, save it but keep looking for a better one 4857 ac_cv_path_EGREP="$ac_path_EGREP" 4858 ac_path_EGREP_max=$ac_count 4859 fi 4860 # 10*(2^10) chars as input seems more than enough 4861 test $ac_count -gt 10 && break 4862 done 4863 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4864 esac 4865 4866 $ac_path_EGREP_found && break 3 4867 done 4868 done 4869 done 4870 IFS=$as_save_IFS 4871 if test -z "$ac_cv_path_EGREP"; then 4872 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4873 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4874 { (exit 1); exit 1; }; } 4875 fi 4876 else 4877 ac_cv_path_EGREP=$EGREP 4878 fi 4879 4880 fi 4881 fi 4882 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4883 $as_echo "$ac_cv_path_EGREP" >&6; } 4884 EGREP="$ac_cv_path_EGREP" 4885 4886 4887 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4888 $as_echo_n "checking for ANSI C header files... " >&6; } 4264 4889 if test "${ac_cv_header_stdc+set}" = set; then 4265 echo $ECHO_N "(cached) $ECHO_C" >&64890 $as_echo_n "(cached) " >&6 4266 4891 else 4267 4892 cat >conftest.$ac_ext <<_ACEOF … … 4285 4910 _ACEOF 4286 4911 rm -f conftest.$ac_objext 4287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4288 (eval $ac_compile) 2>conftest.er1 4912 if { (ac_try="$ac_compile" 4913 case "(($ac_try" in 4914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4915 *) ac_try_echo=$ac_try;; 4916 esac 4917 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4918 $as_echo "$ac_try_echo") >&5 4919 (eval "$ac_compile") 2>conftest.er1 4289 4920 ac_status=$? 4290 4921 grep -v '^ *+' conftest.er1 >conftest.err 4291 4922 rm -f conftest.er1 4292 4923 cat conftest.err >&5 4293 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4294 (exit $ac_status); } && 4295 { ac_try='test -z "$ac_c_werror_flag" 4296 || test ! -s conftest.err' 4297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4298 (eval $ac_try) 2>&5 4299 ac_status=$? 4300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4301 (exit $ac_status); }; } && 4302 { ac_try='test -s conftest.$ac_objext' 4303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4304 (eval $ac_try) 2>&5 4305 ac_status=$? 4306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4307 (exit $ac_status); }; }; then 4924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4925 (exit $ac_status); } && { 4926 test -z "$ac_c_werror_flag" || 4927 test ! -s conftest.err 4928 } && test -s conftest.$ac_objext; then 4308 4929 ac_cv_header_stdc=yes 4309 4930 else 4310 echo "$as_me: failed program was:" >&54931 $as_echo "$as_me: failed program was:" >&5 4311 4932 sed 's/^/| /' conftest.$ac_ext >&5 4312 4933 4313 ac_cv_header_stdc=no 4314 fi 4315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4934 ac_cv_header_stdc=no 4935 fi 4936 4937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4316 4938 4317 4939 if test $ac_cv_header_stdc = yes; then … … 4369 4991 /* end confdefs.h. */ 4370 4992 #include <ctype.h> 4993 #include <stdlib.h> 4371 4994 #if ((' ' & 0x0FF) == 0x020) 4372 4995 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 4388 5011 if (XOR (islower (i), ISLOWER (i)) 4389 5012 || toupper (i) != TOUPPER (i)) 4390 exit(2);4391 exit (0);5013 return 2; 5014 return 0; 4392 5015 } 4393 5016 _ACEOF 4394 5017 rm -f conftest$ac_exeext 4395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4396 (eval $ac_link) 2>&5 5018 if { (ac_try="$ac_link" 5019 case "(($ac_try" in 5020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5021 *) ac_try_echo=$ac_try;; 5022 esac 5023 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5024 $as_echo "$ac_try_echo") >&5 5025 (eval "$ac_link") 2>&5 4397 5026 ac_status=$? 4398 echo "$as_me:$LINENO: \$? = $ac_status" >&55027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4399 5028 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4401 (eval $ac_try) 2>&5 5029 { (case "(($ac_try" in 5030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5031 *) ac_try_echo=$ac_try;; 5032 esac 5033 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5034 $as_echo "$ac_try_echo") >&5 5035 (eval "$ac_try") 2>&5 4402 5036 ac_status=$? 4403 echo "$as_me:$LINENO: \$? = $ac_status" >&55037 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4404 5038 (exit $ac_status); }; }; then 4405 5039 : 4406 5040 else 4407 echo "$as_me: program exited with status $ac_status" >&54408 echo "$as_me: failed program was:" >&55041 $as_echo "$as_me: program exited with status $ac_status" >&5 5042 $as_echo "$as_me: failed program was:" >&5 4409 5043 sed 's/^/| /' conftest.$ac_ext >&5 4410 5044 … … 4412 5046 ac_cv_header_stdc=no 4413 5047 fi 4414 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4415 fi 4416 fi 4417 fi 4418 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4419 echo "${ECHO_T}$ac_cv_header_stdc" >&6 5048 rm -rf conftest.dSYM 5049 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5050 fi 5051 5052 5053 fi 5054 fi 5055 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5056 $as_echo "$ac_cv_header_stdc" >&6; } 4420 5057 if test $ac_cv_header_stdc = yes; then 4421 5058 … … 4439 5076 inttypes.h stdint.h unistd.h 4440 5077 do 4441 as_ac_Header=` echo "ac_cv_header_$ac_header" | $as_tr_sh`4442 echo "$as_me:$LINENO: checking for $ac_header" >&54443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4444 if eval "test \"\${$as_ac_Header+set}\" = set"; then4445 echo $ECHO_N "(cached) $ECHO_C" >&65078 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5079 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5080 $as_echo_n "checking for $ac_header... " >&6; } 5081 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5082 $as_echo_n "(cached) " >&6 4446 5083 else 4447 5084 cat >conftest.$ac_ext <<_ACEOF … … 4456 5093 _ACEOF 4457 5094 rm -f conftest.$ac_objext 4458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4459 (eval $ac_compile) 2>conftest.er1 5095 if { (ac_try="$ac_compile" 5096 case "(($ac_try" in 5097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5098 *) ac_try_echo=$ac_try;; 5099 esac 5100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5101 $as_echo "$ac_try_echo") >&5 5102 (eval "$ac_compile") 2>conftest.er1 4460 5103 ac_status=$? 4461 5104 grep -v '^ *+' conftest.er1 >conftest.err 4462 5105 rm -f conftest.er1 4463 5106 cat conftest.err >&5 4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4465 (exit $ac_status); } && 4466 { ac_try='test -z "$ac_c_werror_flag" 4467 || test ! -s conftest.err' 4468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4469 (eval $ac_try) 2>&5 4470 ac_status=$? 4471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4472 (exit $ac_status); }; } && 4473 { ac_try='test -s conftest.$ac_objext' 4474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4475 (eval $ac_try) 2>&5 4476 ac_status=$? 4477 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4478 (exit $ac_status); }; }; then 5107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5108 (exit $ac_status); } && { 5109 test -z "$ac_c_werror_flag" || 5110 test ! -s conftest.err 5111 } && test -s conftest.$ac_objext; then 4479 5112 eval "$as_ac_Header=yes" 4480 5113 else 4481 echo "$as_me: failed program was:" >&55114 $as_echo "$as_me: failed program was:" >&5 4482 5115 sed 's/^/| /' conftest.$ac_ext >&5 4483 5116 4484 eval "$as_ac_Header=no" 4485 fi 4486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4487 fi 4488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4489 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4490 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5117 eval "$as_ac_Header=no" 5118 fi 5119 5120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5121 fi 5122 ac_res=`eval 'as_val=${'$as_ac_Header'} 5123 $as_echo "$as_val"'` 5124 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5125 $as_echo "$ac_res" >&6; } 5126 as_val=`eval 'as_val=${'$as_ac_Header'} 5127 $as_echo "$as_val"'` 5128 if test "x$as_val" = x""yes; then 4491 5129 cat >>confdefs.h <<_ACEOF 4492 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 15130 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4493 5131 _ACEOF 4494 5132 … … 4498 5136 4499 5137 5138 5139 if test "${ac_cv_header_minix_config_h+set}" = set; then 5140 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5141 $as_echo_n "checking for minix/config.h... " >&6; } 4500 5142 if test "${ac_cv_header_minix_config_h+set}" = set; then 4501 echo "$as_me:$LINENO: checking for minix/config.h" >&5 4502 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4503 if test "${ac_cv_header_minix_config_h+set}" = set; then 4504 echo $ECHO_N "(cached) $ECHO_C" >&6 4505 fi 4506 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4507 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 5143 $as_echo_n "(cached) " >&6 5144 fi 5145 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5146 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4508 5147 else 4509 5148 # Is the header compilable? 4510 echo "$as_me:$LINENO: checking minix/config.h usability" >&54511 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 5149 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 5150 $as_echo_n "checking minix/config.h usability... " >&6; } 4512 5151 cat >conftest.$ac_ext <<_ACEOF 4513 5152 /* confdefs.h. */ … … 4520 5159 _ACEOF 4521 5160 rm -f conftest.$ac_objext 4522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4523 (eval $ac_compile) 2>conftest.er1 5161 if { (ac_try="$ac_compile" 5162 case "(($ac_try" in 5163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5164 *) ac_try_echo=$ac_try;; 5165 esac 5166 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5167 $as_echo "$ac_try_echo") >&5 5168 (eval "$ac_compile") 2>conftest.er1 4524 5169 ac_status=$? 4525 5170 grep -v '^ *+' conftest.er1 >conftest.err 4526 5171 rm -f conftest.er1 4527 5172 cat conftest.err >&5 4528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4529 (exit $ac_status); } && 4530 { ac_try='test -z "$ac_c_werror_flag" 4531 || test ! -s conftest.err' 4532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4533 (eval $ac_try) 2>&5 4534 ac_status=$? 4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4536 (exit $ac_status); }; } && 4537 { ac_try='test -s conftest.$ac_objext' 4538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4539 (eval $ac_try) 2>&5 4540 ac_status=$? 4541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4542 (exit $ac_status); }; }; then 5173 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5174 (exit $ac_status); } && { 5175 test -z "$ac_c_werror_flag" || 5176 test ! -s conftest.err 5177 } && test -s conftest.$ac_objext; then 4543 5178 ac_header_compiler=yes 4544 5179 else 4545 echo "$as_me: failed program was:" >&55180 $as_echo "$as_me: failed program was:" >&5 4546 5181 sed 's/^/| /' conftest.$ac_ext >&5 4547 5182 4548 ac_header_compiler=no 4549 fi 4550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4551 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4552 echo "${ECHO_T}$ac_header_compiler" >&6 5183 ac_header_compiler=no 5184 fi 5185 5186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5187 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5188 $as_echo "$ac_header_compiler" >&6; } 4553 5189 4554 5190 # Is the header present? 4555 echo "$as_me:$LINENO: checking minix/config.h presence" >&54556 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 5191 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 5192 $as_echo_n "checking minix/config.h presence... " >&6; } 4557 5193 cat >conftest.$ac_ext <<_ACEOF 4558 5194 /* confdefs.h. */ … … 4563 5199 #include <minix/config.h> 4564 5200 _ACEOF 4565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4566 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5201 if { (ac_try="$ac_cpp conftest.$ac_ext" 5202 case "(($ac_try" in 5203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5204 *) ac_try_echo=$ac_try;; 5205 esac 5206 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5207 $as_echo "$ac_try_echo") >&5 5208 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4567 5209 ac_status=$? 4568 5210 grep -v '^ *+' conftest.er1 >conftest.err 4569 5211 rm -f conftest.er1 4570 5212 cat conftest.err >&5 4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4572 (exit $ac_status); } >/dev/null; then 4573 if test -s conftest.err; then 4574 ac_cpp_err=$ac_c_preproc_warn_flag 4575 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4576 else 4577 ac_cpp_err= 4578 fi 4579 else 4580 ac_cpp_err=yes 4581 fi 4582 if test -z "$ac_cpp_err"; then 5213 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5214 (exit $ac_status); } >/dev/null && { 5215 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5216 test ! -s conftest.err 5217 }; then 4583 5218 ac_header_preproc=yes 4584 5219 else 4585 echo "$as_me: failed program was:" >&55220 $as_echo "$as_me: failed program was:" >&5 4586 5221 sed 's/^/| /' conftest.$ac_ext >&5 4587 5222 4588 5223 ac_header_preproc=no 4589 5224 fi 5225 4590 5226 rm -f conftest.err conftest.$ac_ext 4591 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54592 echo "${ECHO_T}$ac_header_preproc" >&6 5227 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5228 $as_echo "$ac_header_preproc" >&6; } 4593 5229 4594 5230 # So? What about this header? 4595 5231 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4596 5232 yes:no: ) 4597 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&54598 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}4599 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&54600 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}5233 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 5234 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5235 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 5236 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 4601 5237 ac_header_preproc=yes 4602 5238 ;; 4603 5239 no:yes:* ) 4604 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 4605 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 4606 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 4607 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 4608 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 4609 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 4610 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 4611 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 4612 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 4613 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 4614 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4615 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4616 ( 4617 cat <<\_ASBOX 4618 ## ------------------------------------------ ## 4619 ## Report this to the AC_PACKAGE_NAME lists. ## 4620 ## ------------------------------------------ ## 4621 _ASBOX 4622 ) | 4623 sed "s/^/$as_me: WARNING: /" >&2 5240 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 5241 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 5242 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 5243 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 5244 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 5245 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 5246 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 5247 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 5248 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 5249 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 5250 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 5251 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 5252 4624 5253 ;; 4625 5254 esac 4626 echo "$as_me:$LINENO: checking for minix/config.h" >&54627 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 5255 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5256 $as_echo_n "checking for minix/config.h... " >&6; } 4628 5257 if test "${ac_cv_header_minix_config_h+set}" = set; then 4629 echo $ECHO_N "(cached) $ECHO_C" >&65258 $as_echo_n "(cached) " >&6 4630 5259 else 4631 5260 ac_cv_header_minix_config_h=$ac_header_preproc 4632 5261 fi 4633 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&54634 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4635 4636 fi 4637 if test $ac_cv_header_minix_config_h =yes; then5262 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5263 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5264 5265 fi 5266 if test "x$ac_cv_header_minix_config_h" = x""yes; then 4638 5267 MINIX=yes 4639 5268 else … … 4642 5271 4643 5272 4644 if test "$MINIX" = yes; then5273 if test "$MINIX" = yes; then 4645 5274 4646 5275 cat >>confdefs.h <<\_ACEOF … … 4658 5287 _ACEOF 4659 5288 4660 fi 4661 4662 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 4663 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 5289 fi 5290 5291 5292 5293 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 5294 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5295 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 5296 $as_echo_n "(cached) " >&6 5297 else 5298 cat >conftest.$ac_ext <<_ACEOF 5299 /* confdefs.h. */ 5300 _ACEOF 5301 cat confdefs.h >>conftest.$ac_ext 5302 cat >>conftest.$ac_ext <<_ACEOF 5303 /* end confdefs.h. */ 5304 5305 # define __EXTENSIONS__ 1 5306 $ac_includes_default 5307 int 5308 main () 5309 { 5310 5311 ; 5312 return 0; 5313 } 5314 _ACEOF 5315 rm -f conftest.$ac_objext 5316 if { (ac_try="$ac_compile" 5317 case "(($ac_try" in 5318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5319 *) ac_try_echo=$ac_try;; 5320 esac 5321 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5322 $as_echo "$ac_try_echo") >&5 5323 (eval "$ac_compile") 2>conftest.er1 5324 ac_status=$? 5325 grep -v '^ *+' conftest.er1 >conftest.err 5326 rm -f conftest.er1 5327 cat conftest.err >&5 5328 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5329 (exit $ac_status); } && { 5330 test -z "$ac_c_werror_flag" || 5331 test ! -s conftest.err 5332 } && test -s conftest.$ac_objext; then 5333 ac_cv_safe_to_define___extensions__=yes 5334 else 5335 $as_echo "$as_me: failed program was:" >&5 5336 sed 's/^/| /' conftest.$ac_ext >&5 5337 5338 ac_cv_safe_to_define___extensions__=no 5339 fi 5340 5341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5342 fi 5343 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 5344 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5345 test $ac_cv_safe_to_define___extensions__ = yes && 5346 cat >>confdefs.h <<\_ACEOF 5347 #define __EXTENSIONS__ 1 5348 _ACEOF 5349 5350 cat >>confdefs.h <<\_ACEOF 5351 #define _ALL_SOURCE 1 5352 _ACEOF 5353 5354 cat >>confdefs.h <<\_ACEOF 5355 #define _GNU_SOURCE 1 5356 _ACEOF 5357 5358 cat >>confdefs.h <<\_ACEOF 5359 #define _POSIX_PTHREAD_SEMANTICS 1 5360 _ACEOF 5361 5362 cat >>confdefs.h <<\_ACEOF 5363 #define _TANDEM_SOURCE 1 5364 _ACEOF 5365 5366 5367 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5 5368 $as_echo_n "checking for library containing strerror... " >&6; } 5369 if test "${ac_cv_search_strerror+set}" = set; then 5370 $as_echo_n "(cached) " >&6 5371 else 5372 ac_func_search_save_LIBS=$LIBS 5373 cat >conftest.$ac_ext <<_ACEOF 5374 /* confdefs.h. */ 5375 _ACEOF 5376 cat confdefs.h >>conftest.$ac_ext 5377 cat >>conftest.$ac_ext <<_ACEOF 5378 /* end confdefs.h. */ 5379 5380 /* Override any GCC internal prototype to avoid an error. 5381 Use char because int might match the return type of a GCC 5382 builtin and then its argument prototype would still apply. */ 5383 #ifdef __cplusplus 5384 extern "C" 5385 #endif 5386 char strerror (); 5387 int 5388 main () 5389 { 5390 return strerror (); 5391 ; 5392 return 0; 5393 } 5394 _ACEOF 5395 for ac_lib in '' cposix; do 5396 if test -z "$ac_lib"; then 5397 ac_res="none required" 5398 else 5399 ac_res=-l$ac_lib 5400 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5401 fi 5402 rm -f conftest.$ac_objext conftest$ac_exeext 5403 if { (ac_try="$ac_link" 5404 case "(($ac_try" in 5405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5406 *) ac_try_echo=$ac_try;; 5407 esac 5408 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5409 $as_echo "$ac_try_echo") >&5 5410 (eval "$ac_link") 2>conftest.er1 5411 ac_status=$? 5412 grep -v '^ *+' conftest.er1 >conftest.err 5413 rm -f conftest.er1 5414 cat conftest.err >&5 5415 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5416 (exit $ac_status); } && { 5417 test -z "$ac_c_werror_flag" || 5418 test ! -s conftest.err 5419 } && test -s conftest$ac_exeext && { 5420 test "$cross_compiling" = yes || 5421 $as_test_x conftest$ac_exeext 5422 }; then 5423 ac_cv_search_strerror=$ac_res 5424 else 5425 $as_echo "$as_me: failed program was:" >&5 5426 sed 's/^/| /' conftest.$ac_ext >&5 5427 5428 5429 fi 5430 5431 rm -rf conftest.dSYM 5432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5433 conftest$ac_exeext 5434 if test "${ac_cv_search_strerror+set}" = set; then 5435 break 5436 fi 5437 done 5438 if test "${ac_cv_search_strerror+set}" = set; then 5439 : 5440 else 5441 ac_cv_search_strerror=no 5442 fi 5443 rm conftest.$ac_ext 5444 LIBS=$ac_func_search_save_LIBS 5445 fi 5446 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 5447 $as_echo "$ac_cv_search_strerror" >&6; } 5448 ac_res=$ac_cv_search_strerror 5449 if test "$ac_res" != no; then 5450 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5451 5452 fi 5453 5454 5455 if test "${ac_cv_header_minix_config_h+set}" = set; then 5456 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5457 $as_echo_n "checking for minix/config.h... " >&6; } 5458 if test "${ac_cv_header_minix_config_h+set}" = set; then 5459 $as_echo_n "(cached) " >&6 5460 fi 5461 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5462 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5463 else 5464 # Is the header compilable? 5465 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 5466 $as_echo_n "checking minix/config.h usability... " >&6; } 5467 cat >conftest.$ac_ext <<_ACEOF 5468 /* confdefs.h. */ 5469 _ACEOF 5470 cat confdefs.h >>conftest.$ac_ext 5471 cat >>conftest.$ac_ext <<_ACEOF 5472 /* end confdefs.h. */ 5473 $ac_includes_default 5474 #include <minix/config.h> 5475 _ACEOF 5476 rm -f conftest.$ac_objext 5477 if { (ac_try="$ac_compile" 5478 case "(($ac_try" in 5479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5480 *) ac_try_echo=$ac_try;; 5481 esac 5482 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5483 $as_echo "$ac_try_echo") >&5 5484 (eval "$ac_compile") 2>conftest.er1 5485 ac_status=$? 5486 grep -v '^ *+' conftest.er1 >conftest.err 5487 rm -f conftest.er1 5488 cat conftest.err >&5 5489 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5490 (exit $ac_status); } && { 5491 test -z "$ac_c_werror_flag" || 5492 test ! -s conftest.err 5493 } && test -s conftest.$ac_objext; then 5494 ac_header_compiler=yes 5495 else 5496 $as_echo "$as_me: failed program was:" >&5 5497 sed 's/^/| /' conftest.$ac_ext >&5 5498 5499 ac_header_compiler=no 5500 fi 5501 5502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5503 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5504 $as_echo "$ac_header_compiler" >&6; } 5505 5506 # Is the header present? 5507 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 5508 $as_echo_n "checking minix/config.h presence... " >&6; } 5509 cat >conftest.$ac_ext <<_ACEOF 5510 /* confdefs.h. */ 5511 _ACEOF 5512 cat confdefs.h >>conftest.$ac_ext 5513 cat >>conftest.$ac_ext <<_ACEOF 5514 /* end confdefs.h. */ 5515 #include <minix/config.h> 5516 _ACEOF 5517 if { (ac_try="$ac_cpp conftest.$ac_ext" 5518 case "(($ac_try" in 5519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5520 *) ac_try_echo=$ac_try;; 5521 esac 5522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5523 $as_echo "$ac_try_echo") >&5 5524 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5525 ac_status=$? 5526 grep -v '^ *+' conftest.er1 >conftest.err 5527 rm -f conftest.er1 5528 cat conftest.err >&5 5529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5530 (exit $ac_status); } >/dev/null && { 5531 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5532 test ! -s conftest.err 5533 }; then 5534 ac_header_preproc=yes 5535 else 5536 $as_echo "$as_me: failed program was:" >&5 5537 sed 's/^/| /' conftest.$ac_ext >&5 5538 5539 ac_header_preproc=no 5540 fi 5541 5542 rm -f conftest.err conftest.$ac_ext 5543 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5544 $as_echo "$ac_header_preproc" >&6; } 5545 5546 # So? What about this header? 5547 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5548 yes:no: ) 5549 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 5550 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5551 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 5552 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 5553 ac_header_preproc=yes 5554 ;; 5555 no:yes:* ) 5556 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 5557 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 5558 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 5559 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 5560 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 5561 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 5562 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 5563 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 5564 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 5565 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 5566 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 5567 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 5568 5569 ;; 5570 esac 5571 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5572 $as_echo_n "checking for minix/config.h... " >&6; } 5573 if test "${ac_cv_header_minix_config_h+set}" = set; then 5574 $as_echo_n "(cached) " >&6 5575 else 5576 ac_cv_header_minix_config_h=$ac_header_preproc 5577 fi 5578 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5579 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5580 5581 fi 5582 if test "x$ac_cv_header_minix_config_h" = x""yes; then 5583 MINIX=yes 5584 else 5585 MINIX= 5586 fi 5587 5588 5589 if test "$MINIX" = yes; then 5590 5591 cat >>confdefs.h <<\_ACEOF 5592 #define _POSIX_SOURCE 1 5593 _ACEOF 5594 5595 5596 cat >>confdefs.h <<\_ACEOF 5597 #define _POSIX_1_SOURCE 2 5598 _ACEOF 5599 5600 5601 cat >>confdefs.h <<\_ACEOF 5602 #define _MINIX 1 5603 _ACEOF 5604 5605 fi 5606 5607 5608 5609 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 5610 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5611 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 5612 $as_echo_n "(cached) " >&6 5613 else 5614 cat >conftest.$ac_ext <<_ACEOF 5615 /* confdefs.h. */ 5616 _ACEOF 5617 cat confdefs.h >>conftest.$ac_ext 5618 cat >>conftest.$ac_ext <<_ACEOF 5619 /* end confdefs.h. */ 5620 5621 # define __EXTENSIONS__ 1 5622 $ac_includes_default 5623 int 5624 main () 5625 { 5626 5627 ; 5628 return 0; 5629 } 5630 _ACEOF 5631 rm -f conftest.$ac_objext 5632 if { (ac_try="$ac_compile" 5633 case "(($ac_try" in 5634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5635 *) ac_try_echo=$ac_try;; 5636 esac 5637 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5638 $as_echo "$ac_try_echo") >&5 5639 (eval "$ac_compile") 2>conftest.er1 5640 ac_status=$? 5641 grep -v '^ *+' conftest.er1 >conftest.err 5642 rm -f conftest.er1 5643 cat conftest.err >&5 5644 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5645 (exit $ac_status); } && { 5646 test -z "$ac_c_werror_flag" || 5647 test ! -s conftest.err 5648 } && test -s conftest.$ac_objext; then 5649 ac_cv_safe_to_define___extensions__=yes 5650 else 5651 $as_echo "$as_me: failed program was:" >&5 5652 sed 's/^/| /' conftest.$ac_ext >&5 5653 5654 ac_cv_safe_to_define___extensions__=no 5655 fi 5656 5657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5658 fi 5659 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 5660 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5661 test $ac_cv_safe_to_define___extensions__ = yes && 5662 cat >>confdefs.h <<\_ACEOF 5663 #define __EXTENSIONS__ 1 5664 _ACEOF 5665 5666 cat >>confdefs.h <<\_ACEOF 5667 #define _ALL_SOURCE 1 5668 _ACEOF 5669 5670 cat >>confdefs.h <<\_ACEOF 5671 #define _GNU_SOURCE 1 5672 _ACEOF 5673 5674 cat >>confdefs.h <<\_ACEOF 5675 #define _POSIX_PTHREAD_SEMANTICS 1 5676 _ACEOF 5677 5678 cat >>confdefs.h <<\_ACEOF 5679 #define _TANDEM_SOURCE 1 5680 _ACEOF 5681 5682 5683 { $as_echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 5684 $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; } 4664 5685 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4665 echo $ECHO_N "(cached) $ECHO_C" >&65686 $as_echo_n "(cached) " >&6 4666 5687 else 4667 5688 ac_cv_prog_cc_stdc=no … … 4697 5718 _ACEOF 4698 5719 rm -f conftest.$ac_objext 4699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4700 (eval $ac_compile) 2>conftest.er1 5720 if { (ac_try="$ac_compile" 5721 case "(($ac_try" in 5722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5723 *) ac_try_echo=$ac_try;; 5724 esac 5725 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5726 $as_echo "$ac_try_echo") >&5 5727 (eval "$ac_compile") 2>conftest.er1 4701 5728 ac_status=$? 4702 5729 grep -v '^ *+' conftest.er1 >conftest.err 4703 5730 rm -f conftest.er1 4704 5731 cat conftest.err >&5 4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4706 (exit $ac_status); } && 4707 { ac_try='test -z "$ac_c_werror_flag" 4708 || test ! -s conftest.err' 4709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4710 (eval $ac_try) 2>&5 4711 ac_status=$? 4712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4713 (exit $ac_status); }; } && 4714 { ac_try='test -s conftest.$ac_objext' 4715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4716 (eval $ac_try) 2>&5 4717 ac_status=$? 4718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4719 (exit $ac_status); }; }; then 5732 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5733 (exit $ac_status); } && { 5734 test -z "$ac_c_werror_flag" || 5735 test ! -s conftest.err 5736 } && test -s conftest.$ac_objext; then 4720 5737 ac_cv_prog_cc_stdc="$ac_arg"; break 4721 5738 else 4722 echo "$as_me: failed program was:" >&55739 $as_echo "$as_me: failed program was:" >&5 4723 5740 sed 's/^/| /' conftest.$ac_ext >&5 4724 5741 4725 fi 4726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5742 5743 fi 5744 5745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4727 5746 done 4728 5747 CFLAGS="$ac_save_CFLAGS" … … 4730 5749 fi 4731 5750 4732 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&54733 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 5751 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 5752 $as_echo "$ac_cv_prog_cc_stdc" >&6; } 4734 5753 case "x$ac_cv_prog_cc_stdc" in 4735 5754 x|xno) ;; … … 4738 5757 4739 5758 4740 echo "$as_me:$LINENO: checking for function prototypes" >&54741 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 5759 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5 5760 $as_echo_n "checking for function prototypes... " >&6; } 4742 5761 if test "$ac_cv_prog_cc_stdc" != no; then 4743 echo "$as_me:$LINENO: result: yes" >&54744 echo "${ECHO_T}yes" >&6 5762 { $as_echo "$as_me:$LINENO: result: yes" >&5 5763 $as_echo "yes" >&6; } 4745 5764 cat >>confdefs.h <<\_ACEOF 4746 5765 #define PROTOTYPES 1 … … 4749 5768 U= ANSI2KNR= 4750 5769 else 4751 echo "$as_me:$LINENO: result: no" >&54752 echo "${ECHO_T}no" >&6 5770 { $as_echo "$as_me:$LINENO: result: no" >&5 5771 $as_echo "no" >&6; } 4753 5772 U=_ ANSI2KNR=ansi2knr 4754 5773 fi 4755 5774 4756 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&54757 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 5775 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 5776 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 4758 5777 if test "${ac_cv_c_const+set}" = set; then 4759 echo $ECHO_N "(cached) $ECHO_C" >&65778 $as_echo_n "(cached) " >&6 4760 5779 else 4761 5780 cat >conftest.$ac_ext <<_ACEOF … … 4773 5792 /* Ultrix mips cc rejects this. */ 4774 5793 typedef int charset[2]; 4775 const charset x;5794 const charset cs; 4776 5795 /* SunOS 4.1.1 cc rejects this. */ 4777 char const *const * ccp;4778 char **p ;5796 char const *const *pcpcc; 5797 char **ppc; 4779 5798 /* NEC SVR4.0.2 mips cc rejects this. */ 4780 5799 struct point {int x, y;}; … … 4785 5804 expression */ 4786 5805 const char *g = "string"; 4787 ccp= &g + (g ? g-g : 0);5806 pcpcc = &g + (g ? g-g : 0); 4788 5807 /* HPUX 7.0 cc rejects these. */ 4789 ++ ccp;4790 p = (char**) ccp;4791 ccp = (char const *const *) p;5808 ++pcpcc; 5809 ppc = (char**) pcpcc; 5810 pcpcc = (char const *const *) ppc; 4792 5811 { /* SCO 3.2v4 cc rejects this. */ 4793 5812 char *t; … … 4795 5814 4796 5815 *t++ = 0; 5816 if (s) return 0; 4797 5817 } 4798 5818 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 4813 5833 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4814 5834 const int foo = 10; 5835 if (!foo) return 0; 4815 5836 } 5837 return !cs[0] && !zero.x; 4816 5838 #endif 4817 5839 … … 4821 5843 _ACEOF 4822 5844 rm -f conftest.$ac_objext 4823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4824 (eval $ac_compile) 2>conftest.er1 5845 if { (ac_try="$ac_compile" 5846 case "(($ac_try" in 5847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5848 *) ac_try_echo=$ac_try;; 5849 esac 5850 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5851 $as_echo "$ac_try_echo") >&5 5852 (eval "$ac_compile") 2>conftest.er1 4825 5853 ac_status=$? 4826 5854 grep -v '^ *+' conftest.er1 >conftest.err 4827 5855 rm -f conftest.er1 4828 5856 cat conftest.err >&5 4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4830 (exit $ac_status); } && 4831 { ac_try='test -z "$ac_c_werror_flag" 4832 || test ! -s conftest.err' 4833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4834 (eval $ac_try) 2>&5 4835 ac_status=$? 4836 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4837 (exit $ac_status); }; } && 4838 { ac_try='test -s conftest.$ac_objext' 4839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4840 (eval $ac_try) 2>&5 4841 ac_status=$? 4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4843 (exit $ac_status); }; }; then 5857 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5858 (exit $ac_status); } && { 5859 test -z "$ac_c_werror_flag" || 5860 test ! -s conftest.err 5861 } && test -s conftest.$ac_objext; then 4844 5862 ac_cv_c_const=yes 4845 5863 else 4846 echo "$as_me: failed program was:" >&55864 $as_echo "$as_me: failed program was:" >&5 4847 5865 sed 's/^/| /' conftest.$ac_ext >&5 4848 5866 4849 ac_cv_c_const=no 4850 fi 4851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4852 fi 4853 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4854 echo "${ECHO_T}$ac_cv_c_const" >&6 5867 ac_cv_c_const=no 5868 fi 5869 5870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5871 fi 5872 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 5873 $as_echo "$ac_cv_c_const" >&6; } 4855 5874 if test $ac_cv_c_const = no; then 4856 5875 4857 5876 cat >>confdefs.h <<\_ACEOF 4858 #define const 4859 _ACEOF 4860 4861 fi 4862 4863 echo "$as_me:$LINENO: checking for off_t" >&54864 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 5877 #define const /**/ 5878 _ACEOF 5879 5880 fi 5881 5882 { $as_echo "$as_me:$LINENO: checking for off_t" >&5 5883 $as_echo_n "checking for off_t... " >&6; } 4865 5884 if test "${ac_cv_type_off_t+set}" = set; then 4866 echo $ECHO_N "(cached) $ECHO_C" >&6 4867 else 4868 cat >conftest.$ac_ext <<_ACEOF 5885 $as_echo_n "(cached) " >&6 5886 else 5887 ac_cv_type_off_t=no 5888 cat >conftest.$ac_ext <<_ACEOF 4869 5889 /* confdefs.h. */ 4870 5890 _ACEOF … … 4876 5896 main () 4877 5897 { 4878 if ((off_t *) 0)4879 return 0;4880 5898 if (sizeof (off_t)) 4881 return 0;5899 return 0; 4882 5900 ; 4883 5901 return 0; … … 4885 5903 _ACEOF 4886 5904 rm -f conftest.$ac_objext 4887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4888 (eval $ac_compile) 2>conftest.er1 5905 if { (ac_try="$ac_compile" 5906 case "(($ac_try" in 5907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5908 *) ac_try_echo=$ac_try;; 5909 esac 5910 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5911 $as_echo "$ac_try_echo") >&5 5912 (eval "$ac_compile") 2>conftest.er1 4889 5913 ac_status=$? 4890 5914 grep -v '^ *+' conftest.er1 >conftest.err 4891 5915 rm -f conftest.er1 4892 5916 cat conftest.err >&5 4893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4894 (exit $ac_status); } && 4895 { ac_try='test -z "$ac_c_werror_flag" 4896 || test ! -s conftest.err' 4897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4898 (eval $ac_try) 2>&5 4899 ac_status=$? 4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4901 (exit $ac_status); }; } && 4902 { ac_try='test -s conftest.$ac_objext' 4903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4904 (eval $ac_try) 2>&5 4905 ac_status=$? 4906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4907 (exit $ac_status); }; }; then 4908 ac_cv_type_off_t=yes 4909 else 4910 echo "$as_me: failed program was:" >&5 4911 sed 's/^/| /' conftest.$ac_ext >&5 4912 4913 ac_cv_type_off_t=no 4914 fi 4915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4916 fi 4917 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4918 echo "${ECHO_T}$ac_cv_type_off_t" >&6 4919 if test $ac_cv_type_off_t = yes; then 4920 : 4921 else 4922 4923 cat >>confdefs.h <<_ACEOF 4924 #define off_t long 4925 _ACEOF 4926 4927 fi 4928 4929 echo "$as_me:$LINENO: checking for size_t" >&5 4930 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 4931 if test "${ac_cv_type_size_t+set}" = set; then 4932 echo $ECHO_N "(cached) $ECHO_C" >&6 4933 else 5917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5918 (exit $ac_status); } && { 5919 test -z "$ac_c_werror_flag" || 5920 test ! -s conftest.err 5921 } && test -s conftest.$ac_objext; then 4934 5922 cat >conftest.$ac_ext <<_ACEOF 4935 5923 /* confdefs.h. */ … … 4942 5930 main () 4943 5931 { 4944 if ((size_t *) 0) 4945 return 0; 4946 if (sizeof (size_t)) 4947 return 0; 5932 if (sizeof ((off_t))) 5933 return 0; 4948 5934 ; 4949 5935 return 0; … … 4951 5937 _ACEOF 4952 5938 rm -f conftest.$ac_objext 4953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4954 (eval $ac_compile) 2>conftest.er1 5939 if { (ac_try="$ac_compile" 5940 case "(($ac_try" in 5941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5942 *) ac_try_echo=$ac_try;; 5943 esac 5944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5945 $as_echo "$ac_try_echo") >&5 5946 (eval "$ac_compile") 2>conftest.er1 4955 5947 ac_status=$? 4956 5948 grep -v '^ *+' conftest.er1 >conftest.err 4957 5949 rm -f conftest.er1 4958 5950 cat conftest.err >&5 4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4960 (exit $ac_status); } && 4961 { ac_try='test -z "$ac_c_werror_flag" 4962 || test ! -s conftest.err' 4963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4964 (eval $ac_try) 2>&5 5951 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5952 (exit $ac_status); } && { 5953 test -z "$ac_c_werror_flag" || 5954 test ! -s conftest.err 5955 } && test -s conftest.$ac_objext; then 5956 : 5957 else 5958 $as_echo "$as_me: failed program was:" >&5 5959 sed 's/^/| /' conftest.$ac_ext >&5 5960 5961 ac_cv_type_off_t=yes 5962 fi 5963 5964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5965 else 5966 $as_echo "$as_me: failed program was:" >&5 5967 sed 's/^/| /' conftest.$ac_ext >&5 5968 5969 5970 fi 5971 5972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5973 fi 5974 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 5975 $as_echo "$ac_cv_type_off_t" >&6; } 5976 if test "x$ac_cv_type_off_t" = x""yes; then 5977 : 5978 else 5979 5980 cat >>confdefs.h <<_ACEOF 5981 #define off_t long int 5982 _ACEOF 5983 5984 fi 5985 5986 { $as_echo "$as_me:$LINENO: checking for size_t" >&5 5987 $as_echo_n "checking for size_t... " >&6; } 5988 if test "${ac_cv_type_size_t+set}" = set; then 5989 $as_echo_n "(cached) " >&6 5990 else 5991 ac_cv_type_size_t=no 5992 cat >conftest.$ac_ext <<_ACEOF 5993 /* confdefs.h. */ 5994 _ACEOF 5995 cat confdefs.h >>conftest.$ac_ext 5996 cat >>conftest.$ac_ext <<_ACEOF 5997 /* end confdefs.h. */ 5998 $ac_includes_default 5999 int 6000 main () 6001 { 6002 if (sizeof (size_t)) 6003 return 0; 6004 ; 6005 return 0; 6006 } 6007 _ACEOF 6008 rm -f conftest.$ac_objext 6009 if { (ac_try="$ac_compile" 6010 case "(($ac_try" in 6011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6012 *) ac_try_echo=$ac_try;; 6013 esac 6014 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6015 $as_echo "$ac_try_echo") >&5 6016 (eval "$ac_compile") 2>conftest.er1 4965 6017 ac_status=$? 4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4967 (exit $ac_status); }; } && 4968 { ac_try='test -s conftest.$ac_objext' 4969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4970 (eval $ac_try) 2>&5 6018 grep -v '^ *+' conftest.er1 >conftest.err 6019 rm -f conftest.er1 6020 cat conftest.err >&5 6021 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6022 (exit $ac_status); } && { 6023 test -z "$ac_c_werror_flag" || 6024 test ! -s conftest.err 6025 } && test -s conftest.$ac_objext; then 6026 cat >conftest.$ac_ext <<_ACEOF 6027 /* confdefs.h. */ 6028 _ACEOF 6029 cat confdefs.h >>conftest.$ac_ext 6030 cat >>conftest.$ac_ext <<_ACEOF 6031 /* end confdefs.h. */ 6032 $ac_includes_default 6033 int 6034 main () 6035 { 6036 if (sizeof ((size_t))) 6037 return 0; 6038 ; 6039 return 0; 6040 } 6041 _ACEOF 6042 rm -f conftest.$ac_objext 6043 if { (ac_try="$ac_compile" 6044 case "(($ac_try" in 6045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6046 *) ac_try_echo=$ac_try;; 6047 esac 6048 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6049 $as_echo "$ac_try_echo") >&5 6050 (eval "$ac_compile") 2>conftest.er1 4971 6051 ac_status=$? 4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4973 (exit $ac_status); }; }; then 4974 ac_cv_type_size_t=yes 4975 else 4976 echo "$as_me: failed program was:" >&5 6052 grep -v '^ *+' conftest.er1 >conftest.err 6053 rm -f conftest.er1 6054 cat conftest.err >&5 6055 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6056 (exit $ac_status); } && { 6057 test -z "$ac_c_werror_flag" || 6058 test ! -s conftest.err 6059 } && test -s conftest.$ac_objext; then 6060 : 6061 else 6062 $as_echo "$as_me: failed program was:" >&5 4977 6063 sed 's/^/| /' conftest.$ac_ext >&5 4978 6064 4979 ac_cv_type_size_t=no 4980 fi 4981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4982 fi 4983 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4984 echo "${ECHO_T}$ac_cv_type_size_t" >&6 4985 if test $ac_cv_type_size_t = yes; then 6065 ac_cv_type_size_t=yes 6066 fi 6067 6068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6069 else 6070 $as_echo "$as_me: failed program was:" >&5 6071 sed 's/^/| /' conftest.$ac_ext >&5 6072 6073 6074 fi 6075 6076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6077 fi 6078 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 6079 $as_echo "$ac_cv_type_size_t" >&6; } 6080 if test "x$ac_cv_type_size_t" = x""yes; then 4986 6081 : 4987 6082 else 4988 6083 4989 6084 cat >>confdefs.h <<_ACEOF 4990 #define size_t unsigned 4991 _ACEOF 4992 4993 fi 4994 4995 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&54996 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 6085 #define size_t unsigned int 6086 _ACEOF 6087 6088 fi 6089 6090 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 6091 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 4997 6092 if test "${ac_cv_header_time+set}" = set; then 4998 echo $ECHO_N "(cached) $ECHO_C" >&66093 $as_echo_n "(cached) " >&6 4999 6094 else 5000 6095 cat >conftest.$ac_ext <<_ACEOF … … 5018 6113 _ACEOF 5019 6114 rm -f conftest.$ac_objext 5020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5021 (eval $ac_compile) 2>conftest.er1 6115 if { (ac_try="$ac_compile" 6116 case "(($ac_try" in 6117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6118 *) ac_try_echo=$ac_try;; 6119 esac 6120 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6121 $as_echo "$ac_try_echo") >&5 6122 (eval "$ac_compile") 2>conftest.er1 5022 6123 ac_status=$? 5023 6124 grep -v '^ *+' conftest.er1 >conftest.err 5024 6125 rm -f conftest.er1 5025 6126 cat conftest.err >&5 5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5027 (exit $ac_status); } && 5028 { ac_try='test -z "$ac_c_werror_flag" 5029 || test ! -s conftest.err' 5030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5031 (eval $ac_try) 2>&5 5032 ac_status=$? 5033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5034 (exit $ac_status); }; } && 5035 { ac_try='test -s conftest.$ac_objext' 5036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5037 (eval $ac_try) 2>&5 5038 ac_status=$? 5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5040 (exit $ac_status); }; }; then 6127 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6128 (exit $ac_status); } && { 6129 test -z "$ac_c_werror_flag" || 6130 test ! -s conftest.err 6131 } && test -s conftest.$ac_objext; then 5041 6132 ac_cv_header_time=yes 5042 6133 else 5043 echo "$as_me: failed program was:" >&56134 $as_echo "$as_me: failed program was:" >&5 5044 6135 sed 's/^/| /' conftest.$ac_ext >&5 5045 6136 5046 ac_cv_header_time=no 5047 fi 5048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5049 fi 5050 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 5051 echo "${ECHO_T}$ac_cv_header_time" >&6 6137 ac_cv_header_time=no 6138 fi 6139 6140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6141 fi 6142 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 6143 $as_echo "$ac_cv_header_time" >&6; } 5052 6144 if test $ac_cv_header_time = yes; then 5053 6145 … … 5058 6150 fi 5059 6151 5060 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&55061 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 6152 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 6153 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 5062 6154 if test "${ac_cv_struct_tm+set}" = set; then 5063 echo $ECHO_N "(cached) $ECHO_C" >&66155 $as_echo_n "(cached) " >&6 5064 6156 else 5065 6157 cat >conftest.$ac_ext <<_ACEOF … … 5075 6167 main () 5076 6168 { 5077 struct tm *tp; tp->tm_sec; 6169 struct tm tm; 6170 int *p = &tm.tm_sec; 6171 return !p; 5078 6172 ; 5079 6173 return 0; … … 5081 6175 _ACEOF 5082 6176 rm -f conftest.$ac_objext 5083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5084 (eval $ac_compile) 2>conftest.er1 6177 if { (ac_try="$ac_compile" 6178 case "(($ac_try" in 6179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6180 *) ac_try_echo=$ac_try;; 6181 esac 6182 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6183 $as_echo "$ac_try_echo") >&5 6184 (eval "$ac_compile") 2>conftest.er1 5085 6185 ac_status=$? 5086 6186 grep -v '^ *+' conftest.er1 >conftest.err 5087 6187 rm -f conftest.er1 5088 6188 cat conftest.err >&5 5089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5090 (exit $ac_status); } && 5091 { ac_try='test -z "$ac_c_werror_flag" 5092 || test ! -s conftest.err' 5093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5094 (eval $ac_try) 2>&5 5095 ac_status=$? 5096 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5097 (exit $ac_status); }; } && 5098 { ac_try='test -s conftest.$ac_objext' 5099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5100 (eval $ac_try) 2>&5 5101 ac_status=$? 5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5103 (exit $ac_status); }; }; then 6189 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6190 (exit $ac_status); } && { 6191 test -z "$ac_c_werror_flag" || 6192 test ! -s conftest.err 6193 } && test -s conftest.$ac_objext; then 5104 6194 ac_cv_struct_tm=time.h 5105 6195 else 5106 echo "$as_me: failed program was:" >&56196 $as_echo "$as_me: failed program was:" >&5 5107 6197 sed 's/^/| /' conftest.$ac_ext >&5 5108 6198 5109 ac_cv_struct_tm=sys/time.h 5110 fi 5111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5112 fi 5113 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 5114 echo "${ECHO_T}$ac_cv_struct_tm" >&6 6199 ac_cv_struct_tm=sys/time.h 6200 fi 6201 6202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6203 fi 6204 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 6205 $as_echo "$ac_cv_struct_tm" >&6; } 5115 6206 if test $ac_cv_struct_tm = sys/time.h; then 5116 6207 … … 5140 6231 _ACEOF 5141 6232 rm -f conftest.$ac_objext 5142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5143 (eval $ac_compile) 2>conftest.er1 6233 if { (ac_try="$ac_compile" 6234 case "(($ac_try" in 6235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6236 *) ac_try_echo=$ac_try;; 6237 esac 6238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6239 $as_echo "$ac_try_echo") >&5 6240 (eval "$ac_compile") 2>conftest.er1 5144 6241 ac_status=$? 5145 6242 grep -v '^ *+' conftest.er1 >conftest.err 5146 6243 rm -f conftest.er1 5147 6244 cat conftest.err >&5 5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5149 (exit $ac_status); } && 5150 { ac_try='test -z "$ac_c_werror_flag" 5151 || test ! -s conftest.err' 5152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5153 (eval $ac_try) 2>&5 5154 ac_status=$? 5155 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5156 (exit $ac_status); }; } && 5157 { ac_try='test -s conftest.$ac_objext' 5158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5159 (eval $ac_try) 2>&5 5160 ac_status=$? 5161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5162 (exit $ac_status); }; }; then 6245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6246 (exit $ac_status); } && { 6247 test -z "$ac_c_werror_flag" || 6248 test ! -s conftest.err 6249 } && test -s conftest.$ac_objext; then 5163 6250 : 5164 6251 else 5165 echo "$as_me: failed program was:" >&56252 $as_echo "$as_me: failed program was:" >&5 5166 6253 sed 's/^/| /' conftest.$ac_ext >&5 5167 6254 5168 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5169 fi 5170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5171 fi 5172 5173 5174 5175 echo "$as_me:$LINENO: checking for main in -lg" >&5 5176 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6 6255 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 6256 fi 6257 6258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6259 fi 6260 6261 6262 6263 { $as_echo "$as_me:$LINENO: checking for main in -lg" >&5 6264 $as_echo_n "checking for main in -lg... " >&6; } 5177 6265 if test "${ac_cv_lib_g_main+set}" = set; then 5178 echo $ECHO_N "(cached) $ECHO_C" >&66266 $as_echo_n "(cached) " >&6 5179 6267 else 5180 6268 ac_check_lib_save_LIBS=$LIBS … … 5191 6279 main () 5192 6280 { 5193 main ();6281 return main (); 5194 6282 ; 5195 6283 return 0; … … 5197 6285 _ACEOF 5198 6286 rm -f conftest.$ac_objext conftest$ac_exeext 5199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5200 (eval $ac_link) 2>conftest.er1 6287 if { (ac_try="$ac_link" 6288 case "(($ac_try" in 6289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6290 *) ac_try_echo=$ac_try;; 6291 esac 6292 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6293 $as_echo "$ac_try_echo") >&5 6294 (eval "$ac_link") 2>conftest.er1 5201 6295 ac_status=$? 5202 6296 grep -v '^ *+' conftest.er1 >conftest.err 5203 6297 rm -f conftest.er1 5204 6298 cat conftest.err >&5 5205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5206 (exit $ac_status); } && 5207 { ac_try='test -z "$ac_c_werror_flag" 5208 || test ! -s conftest.err' 5209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5210 (eval $ac_try) 2>&5 5211 ac_status=$? 5212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5213 (exit $ac_status); }; } && 5214 { ac_try='test -s conftest$ac_exeext' 5215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5216 (eval $ac_try) 2>&5 5217 ac_status=$? 5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5219 (exit $ac_status); }; }; then 6299 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6300 (exit $ac_status); } && { 6301 test -z "$ac_c_werror_flag" || 6302 test ! -s conftest.err 6303 } && test -s conftest$ac_exeext && { 6304 test "$cross_compiling" = yes || 6305 $as_test_x conftest$ac_exeext 6306 }; then 5220 6307 ac_cv_lib_g_main=yes 5221 6308 else 5222 echo "$as_me: failed program was:" >&56309 $as_echo "$as_me: failed program was:" >&5 5223 6310 sed 's/^/| /' conftest.$ac_ext >&5 5224 6311 5225 ac_cv_lib_g_main=no 5226 fi 5227 rm -f conftest.err conftest.$ac_objext \ 6312 ac_cv_lib_g_main=no 6313 fi 6314 6315 rm -rf conftest.dSYM 6316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5228 6317 conftest$ac_exeext conftest.$ac_ext 5229 6318 LIBS=$ac_check_lib_save_LIBS 5230 6319 fi 5231 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&55232 echo "${ECHO_T}$ac_cv_lib_g_main" >&6 5233 if test $ac_cv_lib_g_main =yes; then6320 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5 6321 $as_echo "$ac_cv_lib_g_main" >&6; } 6322 if test "x$ac_cv_lib_g_main" = x""yes; then 5234 6323 cat >>confdefs.h <<_ACEOF 5235 6324 #define HAVE_LIBG 1 … … 5242 6331 5243 6332 5244 echo "$as_me:$LINENO: checking for main in -lm" >&55245 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 6333 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5 6334 $as_echo_n "checking for main in -lm... " >&6; } 5246 6335 if test "${ac_cv_lib_m_main+set}" = set; then 5247 echo $ECHO_N "(cached) $ECHO_C" >&66336 $as_echo_n "(cached) " >&6 5248 6337 else 5249 6338 ac_check_lib_save_LIBS=$LIBS … … 5260 6349 main () 5261 6350 { 5262 main ();6351 return main (); 5263 6352 ; 5264 6353 return 0; … … 5266 6355 _ACEOF 5267 6356 rm -f conftest.$ac_objext conftest$ac_exeext 5268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5269 (eval $ac_link) 2>conftest.er1 6357 if { (ac_try="$ac_link" 6358 case "(($ac_try" in 6359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6360 *) ac_try_echo=$ac_try;; 6361 esac 6362 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6363 $as_echo "$ac_try_echo") >&5 6364 (eval "$ac_link") 2>conftest.er1 5270 6365 ac_status=$? 5271 6366 grep -v '^ *+' conftest.er1 >conftest.err 5272 6367 rm -f conftest.er1 5273 6368 cat conftest.err >&5 5274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5275 (exit $ac_status); } && 5276 { ac_try='test -z "$ac_c_werror_flag" 5277 || test ! -s conftest.err' 5278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5279 (eval $ac_try) 2>&5 5280 ac_status=$? 5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5282 (exit $ac_status); }; } && 5283 { ac_try='test -s conftest$ac_exeext' 5284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5285 (eval $ac_try) 2>&5 5286 ac_status=$? 5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5288 (exit $ac_status); }; }; then 6369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6370 (exit $ac_status); } && { 6371 test -z "$ac_c_werror_flag" || 6372 test ! -s conftest.err 6373 } && test -s conftest$ac_exeext && { 6374 test "$cross_compiling" = yes || 6375 $as_test_x conftest$ac_exeext 6376 }; then 5289 6377 ac_cv_lib_m_main=yes 5290 6378 else 5291 echo "$as_me: failed program was:" >&56379 $as_echo "$as_me: failed program was:" >&5 5292 6380 sed 's/^/| /' conftest.$ac_ext >&5 5293 6381 5294 ac_cv_lib_m_main=no 5295 fi 5296 rm -f conftest.err conftest.$ac_objext \ 6382 ac_cv_lib_m_main=no 6383 fi 6384 6385 rm -rf conftest.dSYM 6386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5297 6387 conftest$ac_exeext conftest.$ac_ext 5298 6388 LIBS=$ac_check_lib_save_LIBS 5299 6389 fi 5300 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&55301 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 5302 if test $ac_cv_lib_m_main =yes; then6390 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 6391 $as_echo "$ac_cv_lib_m_main" >&6; } 6392 if test "x$ac_cv_lib_m_main" = x""yes; then 5303 6393 cat >>confdefs.h <<_ACEOF 5304 6394 #define HAVE_LIBM 1 … … 5311 6401 5312 6402 5313 echo "$as_me:$LINENO: checking for main in -lcrypt" >&55314 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 6403 { $as_echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 6404 $as_echo_n "checking for main in -lcrypt... " >&6; } 5315 6405 if test "${ac_cv_lib_crypt_main+set}" = set; then 5316 echo $ECHO_N "(cached) $ECHO_C" >&66406 $as_echo_n "(cached) " >&6 5317 6407 else 5318 6408 ac_check_lib_save_LIBS=$LIBS … … 5329 6419 main () 5330 6420 { 5331 main ();6421 return main (); 5332 6422 ; 5333 6423 return 0; … … 5335 6425 _ACEOF 5336 6426 rm -f conftest.$ac_objext conftest$ac_exeext 5337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5338 (eval $ac_link) 2>conftest.er1 6427 if { (ac_try="$ac_link" 6428 case "(($ac_try" in 6429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6430 *) ac_try_echo=$ac_try;; 6431 esac 6432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6433 $as_echo "$ac_try_echo") >&5 6434 (eval "$ac_link") 2>conftest.er1 5339 6435 ac_status=$? 5340 6436 grep -v '^ *+' conftest.er1 >conftest.err 5341 6437 rm -f conftest.er1 5342 6438 cat conftest.err >&5 5343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5344 (exit $ac_status); } && 5345 { ac_try='test -z "$ac_c_werror_flag" 5346 || test ! -s conftest.err' 5347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5348 (eval $ac_try) 2>&5 5349 ac_status=$? 5350 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5351 (exit $ac_status); }; } && 5352 { ac_try='test -s conftest$ac_exeext' 5353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5354 (eval $ac_try) 2>&5 5355 ac_status=$? 5356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5357 (exit $ac_status); }; }; then 6439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6440 (exit $ac_status); } && { 6441 test -z "$ac_c_werror_flag" || 6442 test ! -s conftest.err 6443 } && test -s conftest$ac_exeext && { 6444 test "$cross_compiling" = yes || 6445 $as_test_x conftest$ac_exeext 6446 }; then 5358 6447 ac_cv_lib_crypt_main=yes 5359 6448 else 5360 echo "$as_me: failed program was:" >&56449 $as_echo "$as_me: failed program was:" >&5 5361 6450 sed 's/^/| /' conftest.$ac_ext >&5 5362 6451 5363 ac_cv_lib_crypt_main=no 5364 fi 5365 rm -f conftest.err conftest.$ac_objext \ 6452 ac_cv_lib_crypt_main=no 6453 fi 6454 6455 rm -rf conftest.dSYM 6456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5366 6457 conftest$ac_exeext conftest.$ac_ext 5367 6458 LIBS=$ac_check_lib_save_LIBS 5368 6459 fi 5369 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&55370 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 5371 if test $ac_cv_lib_crypt_main =yes; then6460 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5 6461 $as_echo "$ac_cv_lib_crypt_main" >&6; } 6462 if test "x$ac_cv_lib_crypt_main" = x""yes; then 5372 6463 cat >>confdefs.h <<_ACEOF 5373 6464 #define HAVE_LIBCRYPT 1 … … 5390 6481 ac_header_dirent=no 5391 6482 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 5392 as_ac_Header=` echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`5393 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&55394 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 5395 if eval "test \"\${$as_ac_Header+set}\" = set"; then5396 echo $ECHO_N "(cached) $ECHO_C" >&66483 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 6484 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 6485 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 6486 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6487 $as_echo_n "(cached) " >&6 5397 6488 else 5398 6489 cat >conftest.$ac_ext <<_ACEOF … … 5415 6506 _ACEOF 5416 6507 rm -f conftest.$ac_objext 5417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5418 (eval $ac_compile) 2>conftest.er1 6508 if { (ac_try="$ac_compile" 6509 case "(($ac_try" in 6510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6511 *) ac_try_echo=$ac_try;; 6512 esac 6513 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6514 $as_echo "$ac_try_echo") >&5 6515 (eval "$ac_compile") 2>conftest.er1 5419 6516 ac_status=$? 5420 6517 grep -v '^ *+' conftest.er1 >conftest.err 5421 6518 rm -f conftest.er1 5422 6519 cat conftest.err >&5 5423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5424 (exit $ac_status); } && 5425 { ac_try='test -z "$ac_c_werror_flag" 5426 || test ! -s conftest.err' 5427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5428 (eval $ac_try) 2>&5 5429 ac_status=$? 5430 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5431 (exit $ac_status); }; } && 5432 { ac_try='test -s conftest.$ac_objext' 5433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5434 (eval $ac_try) 2>&5 5435 ac_status=$? 5436 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5437 (exit $ac_status); }; }; then 6520 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6521 (exit $ac_status); } && { 6522 test -z "$ac_c_werror_flag" || 6523 test ! -s conftest.err 6524 } && test -s conftest.$ac_objext; then 5438 6525 eval "$as_ac_Header=yes" 5439 6526 else 5440 echo "$as_me: failed program was:" >&56527 $as_echo "$as_me: failed program was:" >&5 5441 6528 sed 's/^/| /' conftest.$ac_ext >&5 5442 6529 5443 eval "$as_ac_Header=no" 5444 fi 5445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5446 fi 5447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5449 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6530 eval "$as_ac_Header=no" 6531 fi 6532 6533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6534 fi 6535 ac_res=`eval 'as_val=${'$as_ac_Header'} 6536 $as_echo "$as_val"'` 6537 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6538 $as_echo "$ac_res" >&6; } 6539 as_val=`eval 'as_val=${'$as_ac_Header'} 6540 $as_echo "$as_val"'` 6541 if test "x$as_val" = x""yes; then 5450 6542 cat >>confdefs.h <<_ACEOF 5451 #define ` echo "HAVE_$ac_hdr" | $as_tr_cpp` 16543 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 5452 6544 _ACEOF 5453 6545 … … 5458 6550 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 5459 6551 if test $ac_header_dirent = dirent.h; then 5460 echo "$as_me:$LINENO: checking for library containing opendir" >&55461 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 6552 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 6553 $as_echo_n "checking for library containing opendir... " >&6; } 5462 6554 if test "${ac_cv_search_opendir+set}" = set; then 5463 echo $ECHO_N "(cached) $ECHO_C" >&66555 $as_echo_n "(cached) " >&6 5464 6556 else 5465 6557 ac_func_search_save_LIBS=$LIBS 5466 ac_cv_search_opendir=no5467 6558 cat >conftest.$ac_ext <<_ACEOF 5468 6559 /* confdefs.h. */ … … 5472 6563 /* end confdefs.h. */ 5473 6564 5474 /* Override any gcc2 internal prototype to avoid an error. */ 6565 /* Override any GCC internal prototype to avoid an error. 6566 Use char because int might match the return type of a GCC 6567 builtin and then its argument prototype would still apply. */ 5475 6568 #ifdef __cplusplus 5476 6569 extern "C" 5477 6570 #endif 5478 /* We use char because int might match the return type of a gcc25479 builtin and then its argument prototype would still apply. */5480 6571 char opendir (); 5481 6572 int 5482 6573 main () 5483 6574 { 5484 opendir ();6575 return opendir (); 5485 6576 ; 5486 6577 return 0; 5487 6578 } 5488 6579 _ACEOF 5489 rm -f conftest.$ac_objext conftest$ac_exeext 5490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5491 (eval $ac_link) 2>conftest.er1 6580 for ac_lib in '' dir; do 6581 if test -z "$ac_lib"; then 6582 ac_res="none required" 6583 else 6584 ac_res=-l$ac_lib 6585 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6586 fi 6587 rm -f conftest.$ac_objext conftest$ac_exeext 6588 if { (ac_try="$ac_link" 6589 case "(($ac_try" in 6590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6591 *) ac_try_echo=$ac_try;; 6592 esac 6593 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6594 $as_echo "$ac_try_echo") >&5 6595 (eval "$ac_link") 2>conftest.er1 5492 6596 ac_status=$? 5493 6597 grep -v '^ *+' conftest.er1 >conftest.err 5494 6598 rm -f conftest.er1 5495 6599 cat conftest.err >&5 5496 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5497 (exit $ac_status); } && 5498 { ac_try='test -z "$ac_c_werror_flag" 5499 || test ! -s conftest.err' 5500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5501 (eval $ac_try) 2>&5 5502 ac_status=$? 5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5504 (exit $ac_status); }; } && 5505 { ac_try='test -s conftest$ac_exeext' 5506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5507 (eval $ac_try) 2>&5 5508 ac_status=$? 5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5510 (exit $ac_status); }; }; then 5511 ac_cv_search_opendir="none required" 5512 else 5513 echo "$as_me: failed program was:" >&5 6600 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6601 (exit $ac_status); } && { 6602 test -z "$ac_c_werror_flag" || 6603 test ! -s conftest.err 6604 } && test -s conftest$ac_exeext && { 6605 test "$cross_compiling" = yes || 6606 $as_test_x conftest$ac_exeext 6607 }; then 6608 ac_cv_search_opendir=$ac_res 6609 else 6610 $as_echo "$as_me: failed program was:" >&5 5514 6611 sed 's/^/| /' conftest.$ac_ext >&5 5515 6612 5516 fi 5517 rm -f conftest.err conftest.$ac_objext \ 5518 conftest$ac_exeext conftest.$ac_ext 5519 if test "$ac_cv_search_opendir" = no; then 5520 for ac_lib in dir; do 5521 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5522 cat >conftest.$ac_ext <<_ACEOF 6613 6614 fi 6615 6616 rm -rf conftest.dSYM 6617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6618 conftest$ac_exeext 6619 if test "${ac_cv_search_opendir+set}" = set; then 6620 break 6621 fi 6622 done 6623 if test "${ac_cv_search_opendir+set}" = set; then 6624 : 6625 else 6626 ac_cv_search_opendir=no 6627 fi 6628 rm conftest.$ac_ext 6629 LIBS=$ac_func_search_save_LIBS 6630 fi 6631 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 6632 $as_echo "$ac_cv_search_opendir" >&6; } 6633 ac_res=$ac_cv_search_opendir 6634 if test "$ac_res" != no; then 6635 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6636 6637 fi 6638 6639 else 6640 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 6641 $as_echo_n "checking for library containing opendir... " >&6; } 6642 if test "${ac_cv_search_opendir+set}" = set; then 6643 $as_echo_n "(cached) " >&6 6644 else 6645 ac_func_search_save_LIBS=$LIBS 6646 cat >conftest.$ac_ext <<_ACEOF 5523 6647 /* confdefs.h. */ 5524 6648 _ACEOF … … 5527 6651 /* end confdefs.h. */ 5528 6652 5529 /* Override any gcc2 internal prototype to avoid an error. */ 6653 /* Override any GCC internal prototype to avoid an error. 6654 Use char because int might match the return type of a GCC 6655 builtin and then its argument prototype would still apply. */ 5530 6656 #ifdef __cplusplus 5531 6657 extern "C" 5532 6658 #endif 5533 /* We use char because int might match the return type of a gcc25534 builtin and then its argument prototype would still apply. */5535 6659 char opendir (); 5536 6660 int 5537 6661 main () 5538 6662 { 5539 opendir ();6663 return opendir (); 5540 6664 ; 5541 6665 return 0; 5542 6666 } 5543 6667 _ACEOF 5544 rm -f conftest.$ac_objext conftest$ac_exeext 5545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5546 (eval $ac_link) 2>conftest.er1 6668 for ac_lib in '' x; do 6669 if test -z "$ac_lib"; then 6670 ac_res="none required" 6671 else 6672 ac_res=-l$ac_lib 6673 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6674 fi 6675 rm -f conftest.$ac_objext conftest$ac_exeext 6676 if { (ac_try="$ac_link" 6677 case "(($ac_try" in 6678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6679 *) ac_try_echo=$ac_try;; 6680 esac 6681 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6682 $as_echo "$ac_try_echo") >&5 6683 (eval "$ac_link") 2>conftest.er1 5547 6684 ac_status=$? 5548 6685 grep -v '^ *+' conftest.er1 >conftest.err 5549 6686 rm -f conftest.er1 5550 6687 cat conftest.err >&5 5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5552 (exit $ac_status); } && 5553 { ac_try='test -z "$ac_c_werror_flag" 5554 || test ! -s conftest.err' 5555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5556 (eval $ac_try) 2>&5 5557 ac_status=$? 5558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5559 (exit $ac_status); }; } && 5560 { ac_try='test -s conftest$ac_exeext' 5561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5562 (eval $ac_try) 2>&5 5563 ac_status=$? 5564 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5565 (exit $ac_status); }; }; then 5566 ac_cv_search_opendir="-l$ac_lib" 5567 break 5568 else 5569 echo "$as_me: failed program was:" >&5 6688 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6689 (exit $ac_status); } && { 6690 test -z "$ac_c_werror_flag" || 6691 test ! -s conftest.err 6692 } && test -s conftest$ac_exeext && { 6693 test "$cross_compiling" = yes || 6694 $as_test_x conftest$ac_exeext 6695 }; then 6696 ac_cv_search_opendir=$ac_res 6697 else 6698 $as_echo "$as_me: failed program was:" >&5 5570 6699 sed 's/^/| /' conftest.$ac_ext >&5 5571 6700 5572 fi 5573 rm -f conftest.err conftest.$ac_objext \ 5574 conftest$ac_exeext conftest.$ac_ext 5575 done 5576 fi 6701 6702 fi 6703 6704 rm -rf conftest.dSYM 6705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6706 conftest$ac_exeext 6707 if test "${ac_cv_search_opendir+set}" = set; then 6708 break 6709 fi 6710 done 6711 if test "${ac_cv_search_opendir+set}" = set; then 6712 : 6713 else 6714 ac_cv_search_opendir=no 6715 fi 6716 rm conftest.$ac_ext 5577 6717 LIBS=$ac_func_search_save_LIBS 5578 6718 fi 5579 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5580 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5581 if test "$ac_cv_search_opendir" != no; then 5582 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5583 5584 fi 5585 5586 else 5587 echo "$as_me:$LINENO: checking for library containing opendir" >&5 5588 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5589 if test "${ac_cv_search_opendir+set}" = set; then 5590 echo $ECHO_N "(cached) $ECHO_C" >&6 5591 else 5592 ac_func_search_save_LIBS=$LIBS 5593 ac_cv_search_opendir=no 5594 cat >conftest.$ac_ext <<_ACEOF 5595 /* confdefs.h. */ 5596 _ACEOF 5597 cat confdefs.h >>conftest.$ac_ext 5598 cat >>conftest.$ac_ext <<_ACEOF 5599 /* end confdefs.h. */ 5600 5601 /* Override any gcc2 internal prototype to avoid an error. */ 5602 #ifdef __cplusplus 5603 extern "C" 5604 #endif 5605 /* We use char because int might match the return type of a gcc2 5606 builtin and then its argument prototype would still apply. */ 5607 char opendir (); 5608 int 5609 main () 5610 { 5611 opendir (); 5612 ; 5613 return 0; 5614 } 5615 _ACEOF 5616 rm -f conftest.$ac_objext conftest$ac_exeext 5617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5618 (eval $ac_link) 2>conftest.er1 5619 ac_status=$? 5620 grep -v '^ *+' conftest.er1 >conftest.err 5621 rm -f conftest.er1 5622 cat conftest.err >&5 5623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5624 (exit $ac_status); } && 5625 { ac_try='test -z "$ac_c_werror_flag" 5626 || test ! -s conftest.err' 5627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5628 (eval $ac_try) 2>&5 5629 ac_status=$? 5630 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5631 (exit $ac_status); }; } && 5632 { ac_try='test -s conftest$ac_exeext' 5633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5634 (eval $ac_try) 2>&5 5635 ac_status=$? 5636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5637 (exit $ac_status); }; }; then 5638 ac_cv_search_opendir="none required" 5639 else 5640 echo "$as_me: failed program was:" >&5 5641 sed 's/^/| /' conftest.$ac_ext >&5 5642 5643 fi 5644 rm -f conftest.err conftest.$ac_objext \ 5645 conftest$ac_exeext conftest.$ac_ext 5646 if test "$ac_cv_search_opendir" = no; then 5647 for ac_lib in x; do 5648 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5649 cat >conftest.$ac_ext <<_ACEOF 5650 /* confdefs.h. */ 5651 _ACEOF 5652 cat confdefs.h >>conftest.$ac_ext 5653 cat >>conftest.$ac_ext <<_ACEOF 5654 /* end confdefs.h. */ 5655 5656 /* Override any gcc2 internal prototype to avoid an error. */ 5657 #ifdef __cplusplus 5658 extern "C" 5659 #endif 5660 /* We use char because int might match the return type of a gcc2 5661 builtin and then its argument prototype would still apply. */ 5662 char opendir (); 5663 int 5664 main () 5665 { 5666 opendir (); 5667 ; 5668 return 0; 5669 } 5670 _ACEOF 5671 rm -f conftest.$ac_objext conftest$ac_exeext 5672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5673 (eval $ac_link) 2>conftest.er1 5674 ac_status=$? 5675 grep -v '^ *+' conftest.er1 >conftest.err 5676 rm -f conftest.er1 5677 cat conftest.err >&5 5678 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5679 (exit $ac_status); } && 5680 { ac_try='test -z "$ac_c_werror_flag" 5681 || test ! -s conftest.err' 5682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5683 (eval $ac_try) 2>&5 5684 ac_status=$? 5685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5686 (exit $ac_status); }; } && 5687 { ac_try='test -s conftest$ac_exeext' 5688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5689 (eval $ac_try) 2>&5 5690 ac_status=$? 5691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5692 (exit $ac_status); }; }; then 5693 ac_cv_search_opendir="-l$ac_lib" 5694 break 5695 else 5696 echo "$as_me: failed program was:" >&5 5697 sed 's/^/| /' conftest.$ac_ext >&5 5698 5699 fi 5700 rm -f conftest.err conftest.$ac_objext \ 5701 conftest$ac_exeext conftest.$ac_ext 5702 done 5703 fi 5704 LIBS=$ac_func_search_save_LIBS 5705 fi 5706 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5707 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5708 if test "$ac_cv_search_opendir" != no; then 5709 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5710 5711 fi 5712 5713 fi 5714 5715 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5716 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6719 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 6720 $as_echo "$ac_cv_search_opendir" >&6; } 6721 ac_res=$ac_cv_search_opendir 6722 if test "$ac_res" != no; then 6723 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6724 6725 fi 6726 6727 fi 6728 6729 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6730 $as_echo_n "checking for ANSI C header files... " >&6; } 5717 6731 if test "${ac_cv_header_stdc+set}" = set; then 5718 echo $ECHO_N "(cached) $ECHO_C" >&66732 $as_echo_n "(cached) " >&6 5719 6733 else 5720 6734 cat >conftest.$ac_ext <<_ACEOF … … 5738 6752 _ACEOF 5739 6753 rm -f conftest.$ac_objext 5740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5741 (eval $ac_compile) 2>conftest.er1 6754 if { (ac_try="$ac_compile" 6755 case "(($ac_try" in 6756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6757 *) ac_try_echo=$ac_try;; 6758 esac 6759 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6760 $as_echo "$ac_try_echo") >&5 6761 (eval "$ac_compile") 2>conftest.er1 5742 6762 ac_status=$? 5743 6763 grep -v '^ *+' conftest.er1 >conftest.err 5744 6764 rm -f conftest.er1 5745 6765 cat conftest.err >&5 5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5747 (exit $ac_status); } && 5748 { ac_try='test -z "$ac_c_werror_flag" 5749 || test ! -s conftest.err' 5750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5751 (eval $ac_try) 2>&5 5752 ac_status=$? 5753 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5754 (exit $ac_status); }; } && 5755 { ac_try='test -s conftest.$ac_objext' 5756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5757 (eval $ac_try) 2>&5 5758 ac_status=$? 5759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5760 (exit $ac_status); }; }; then 6766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6767 (exit $ac_status); } && { 6768 test -z "$ac_c_werror_flag" || 6769 test ! -s conftest.err 6770 } && test -s conftest.$ac_objext; then 5761 6771 ac_cv_header_stdc=yes 5762 6772 else 5763 echo "$as_me: failed program was:" >&56773 $as_echo "$as_me: failed program was:" >&5 5764 6774 sed 's/^/| /' conftest.$ac_ext >&5 5765 6775 5766 ac_cv_header_stdc=no 5767 fi 5768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6776 ac_cv_header_stdc=no 6777 fi 6778 6779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5769 6780 5770 6781 if test $ac_cv_header_stdc = yes; then … … 5822 6833 /* end confdefs.h. */ 5823 6834 #include <ctype.h> 6835 #include <stdlib.h> 5824 6836 #if ((' ' & 0x0FF) == 0x020) 5825 6837 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 5841 6853 if (XOR (islower (i), ISLOWER (i)) 5842 6854 || toupper (i) != TOUPPER (i)) 5843 exit(2);5844 exit (0);6855 return 2; 6856 return 0; 5845 6857 } 5846 6858 _ACEOF 5847 6859 rm -f conftest$ac_exeext 5848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5849 (eval $ac_link) 2>&5 6860 if { (ac_try="$ac_link" 6861 case "(($ac_try" in 6862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6863 *) ac_try_echo=$ac_try;; 6864 esac 6865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6866 $as_echo "$ac_try_echo") >&5 6867 (eval "$ac_link") 2>&5 5850 6868 ac_status=$? 5851 echo "$as_me:$LINENO: \$? = $ac_status" >&56869 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5852 6870 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5854 (eval $ac_try) 2>&5 6871 { (case "(($ac_try" in 6872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6873 *) ac_try_echo=$ac_try;; 6874 esac 6875 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6876 $as_echo "$ac_try_echo") >&5 6877 (eval "$ac_try") 2>&5 5855 6878 ac_status=$? 5856 echo "$as_me:$LINENO: \$? = $ac_status" >&56879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5857 6880 (exit $ac_status); }; }; then 5858 6881 : 5859 6882 else 5860 echo "$as_me: program exited with status $ac_status" >&55861 echo "$as_me: failed program was:" >&56883 $as_echo "$as_me: program exited with status $ac_status" >&5 6884 $as_echo "$as_me: failed program was:" >&5 5862 6885 sed 's/^/| /' conftest.$ac_ext >&5 5863 6886 … … 5865 6888 ac_cv_header_stdc=no 5866 6889 fi 5867 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5868 fi 5869 fi 5870 fi 5871 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5872 echo "${ECHO_T}$ac_cv_header_stdc" >&6 6890 rm -rf conftest.dSYM 6891 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6892 fi 6893 6894 6895 fi 6896 fi 6897 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6898 $as_echo "$ac_cv_header_stdc" >&6; } 5873 6899 if test $ac_cv_header_stdc = yes; then 5874 6900 … … 5890 6916 for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h sys/stat.h 5891 6917 do 5892 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5893 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5894 echo "$as_me:$LINENO: checking for $ac_header" >&5 5895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5896 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5897 echo $ECHO_N "(cached) $ECHO_C" >&6 5898 fi 5899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6918 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6919 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6920 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6921 $as_echo_n "checking for $ac_header... " >&6; } 6922 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6923 $as_echo_n "(cached) " >&6 6924 fi 6925 ac_res=`eval 'as_val=${'$as_ac_Header'} 6926 $as_echo "$as_val"'` 6927 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6928 $as_echo "$ac_res" >&6; } 5901 6929 else 5902 6930 # Is the header compilable? 5903 echo "$as_me:$LINENO: checking $ac_header usability" >&55904 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6931 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6932 $as_echo_n "checking $ac_header usability... " >&6; } 5905 6933 cat >conftest.$ac_ext <<_ACEOF 5906 6934 /* confdefs.h. */ … … 5913 6941 _ACEOF 5914 6942 rm -f conftest.$ac_objext 5915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5916 (eval $ac_compile) 2>conftest.er1 6943 if { (ac_try="$ac_compile" 6944 case "(($ac_try" in 6945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6946 *) ac_try_echo=$ac_try;; 6947 esac 6948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6949 $as_echo "$ac_try_echo") >&5 6950 (eval "$ac_compile") 2>conftest.er1 5917 6951 ac_status=$? 5918 6952 grep -v '^ *+' conftest.er1 >conftest.err 5919 6953 rm -f conftest.er1 5920 6954 cat conftest.err >&5 5921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5922 (exit $ac_status); } && 5923 { ac_try='test -z "$ac_c_werror_flag" 5924 || test ! -s conftest.err' 5925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5926 (eval $ac_try) 2>&5 5927 ac_status=$? 5928 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5929 (exit $ac_status); }; } && 5930 { ac_try='test -s conftest.$ac_objext' 5931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5932 (eval $ac_try) 2>&5 5933 ac_status=$? 5934 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5935 (exit $ac_status); }; }; then 6955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6956 (exit $ac_status); } && { 6957 test -z "$ac_c_werror_flag" || 6958 test ! -s conftest.err 6959 } && test -s conftest.$ac_objext; then 5936 6960 ac_header_compiler=yes 5937 6961 else 5938 echo "$as_me: failed program was:" >&56962 $as_echo "$as_me: failed program was:" >&5 5939 6963 sed 's/^/| /' conftest.$ac_ext >&5 5940 6964 5941 ac_header_compiler=no 5942 fi 5943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5944 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5945 echo "${ECHO_T}$ac_header_compiler" >&6 6965 ac_header_compiler=no 6966 fi 6967 6968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6969 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6970 $as_echo "$ac_header_compiler" >&6; } 5946 6971 5947 6972 # Is the header present? 5948 echo "$as_me:$LINENO: checking $ac_header presence" >&55949 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6973 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6974 $as_echo_n "checking $ac_header presence... " >&6; } 5950 6975 cat >conftest.$ac_ext <<_ACEOF 5951 6976 /* confdefs.h. */ … … 5956 6981 #include <$ac_header> 5957 6982 _ACEOF 5958 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5959 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6983 if { (ac_try="$ac_cpp conftest.$ac_ext" 6984 case "(($ac_try" in 6985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6986 *) ac_try_echo=$ac_try;; 6987 esac 6988 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6989 $as_echo "$ac_try_echo") >&5 6990 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5960 6991 ac_status=$? 5961 6992 grep -v '^ *+' conftest.er1 >conftest.err 5962 6993 rm -f conftest.er1 5963 6994 cat conftest.err >&5 5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5965 (exit $ac_status); } >/dev/null; then 5966 if test -s conftest.err; then 5967 ac_cpp_err=$ac_c_preproc_warn_flag 5968 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5969 else 5970 ac_cpp_err= 5971 fi 5972 else 5973 ac_cpp_err=yes 5974 fi 5975 if test -z "$ac_cpp_err"; then 6995 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6996 (exit $ac_status); } >/dev/null && { 6997 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6998 test ! -s conftest.err 6999 }; then 5976 7000 ac_header_preproc=yes 5977 7001 else 5978 echo "$as_me: failed program was:" >&57002 $as_echo "$as_me: failed program was:" >&5 5979 7003 sed 's/^/| /' conftest.$ac_ext >&5 5980 7004 5981 7005 ac_header_preproc=no 5982 7006 fi 7007 5983 7008 rm -f conftest.err conftest.$ac_ext 5984 echo "$as_me:$LINENO: result: $ac_header_preproc" >&55985 echo "${ECHO_T}$ac_header_preproc" >&6 7009 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7010 $as_echo "$ac_header_preproc" >&6; } 5986 7011 5987 7012 # So? What about this header? 5988 7013 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5989 7014 yes:no: ) 5990 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&55991 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}5992 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&55993 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}7015 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7016 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7017 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7018 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5994 7019 ac_header_preproc=yes 5995 7020 ;; 5996 7021 no:yes:* ) 5997 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5998 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5999 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6000 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6001 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6002 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6003 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6004 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6005 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6006 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6007 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6008 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6009 ( 6010 cat <<\_ASBOX 6011 ## ------------------------------------------ ## 6012 ## Report this to the AC_PACKAGE_NAME lists. ## 6013 ## ------------------------------------------ ## 6014 _ASBOX 6015 ) | 6016 sed "s/^/$as_me: WARNING: /" >&2 7022 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7023 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7024 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7025 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7026 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7027 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7028 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7029 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7030 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7031 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7032 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7033 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7034 6017 7035 ;; 6018 7036 esac 6019 echo "$as_me:$LINENO: checking for $ac_header" >&56020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6021 if eval "test \"\${$as_ac_Header+set}\" = set"; then6022 echo $ECHO_N "(cached) $ECHO_C" >&67037 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7038 $as_echo_n "checking for $ac_header... " >&6; } 7039 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7040 $as_echo_n "(cached) " >&6 6023 7041 else 6024 7042 eval "$as_ac_Header=\$ac_header_preproc" 6025 7043 fi 6026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6027 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6028 6029 fi 6030 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7044 ac_res=`eval 'as_val=${'$as_ac_Header'} 7045 $as_echo "$as_val"'` 7046 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7047 $as_echo "$ac_res" >&6; } 7048 7049 fi 7050 as_val=`eval 'as_val=${'$as_ac_Header'} 7051 $as_echo "$as_val"'` 7052 if test "x$as_val" = x""yes; then 6031 7053 cat >>confdefs.h <<_ACEOF 6032 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 17054 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6033 7055 _ACEOF 6034 7056 … … 6094 7116 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 6095 7117 # for constant arguments. Useless! 6096 echo "$as_me:$LINENO: checking for working alloca.h" >&56097 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 7118 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 7119 $as_echo_n "checking for working alloca.h... " >&6; } 6098 7120 if test "${ac_cv_working_alloca_h+set}" = set; then 6099 echo $ECHO_N "(cached) $ECHO_C" >&67121 $as_echo_n "(cached) " >&6 6100 7122 else 6101 7123 cat >conftest.$ac_ext <<_ACEOF … … 6110 7132 { 6111 7133 char *p = (char *) alloca (2 * sizeof (int)); 7134 if (p) return 0; 6112 7135 ; 6113 7136 return 0; … … 6115 7138 _ACEOF 6116 7139 rm -f conftest.$ac_objext conftest$ac_exeext 6117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6118 (eval $ac_link) 2>conftest.er1 7140 if { (ac_try="$ac_link" 7141 case "(($ac_try" in 7142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7143 *) ac_try_echo=$ac_try;; 7144 esac 7145 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7146 $as_echo "$ac_try_echo") >&5 7147 (eval "$ac_link") 2>conftest.er1 6119 7148 ac_status=$? 6120 7149 grep -v '^ *+' conftest.er1 >conftest.err 6121 7150 rm -f conftest.er1 6122 7151 cat conftest.err >&5 6123 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6124 (exit $ac_status); } && 6125 { ac_try='test -z "$ac_c_werror_flag" 6126 || test ! -s conftest.err' 6127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6128 (eval $ac_try) 2>&5 6129 ac_status=$? 6130 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6131 (exit $ac_status); }; } && 6132 { ac_try='test -s conftest$ac_exeext' 6133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6134 (eval $ac_try) 2>&5 6135 ac_status=$? 6136 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6137 (exit $ac_status); }; }; then 7152 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7153 (exit $ac_status); } && { 7154 test -z "$ac_c_werror_flag" || 7155 test ! -s conftest.err 7156 } && test -s conftest$ac_exeext && { 7157 test "$cross_compiling" = yes || 7158 $as_test_x conftest$ac_exeext 7159 }; then 6138 7160 ac_cv_working_alloca_h=yes 6139 7161 else 6140 echo "$as_me: failed program was:" >&57162 $as_echo "$as_me: failed program was:" >&5 6141 7163 sed 's/^/| /' conftest.$ac_ext >&5 6142 7164 6143 ac_cv_working_alloca_h=no 6144 fi 6145 rm -f conftest.err conftest.$ac_objext \ 7165 ac_cv_working_alloca_h=no 7166 fi 7167 7168 rm -rf conftest.dSYM 7169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6146 7170 conftest$ac_exeext conftest.$ac_ext 6147 7171 fi 6148 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&56149 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 7172 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 7173 $as_echo "$ac_cv_working_alloca_h" >&6; } 6150 7174 if test $ac_cv_working_alloca_h = yes; then 6151 7175 … … 6156 7180 fi 6157 7181 6158 echo "$as_me:$LINENO: checking for alloca" >&56159 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 7182 { $as_echo "$as_me:$LINENO: checking for alloca" >&5 7183 $as_echo_n "checking for alloca... " >&6; } 6160 7184 if test "${ac_cv_func_alloca_works+set}" = set; then 6161 echo $ECHO_N "(cached) $ECHO_C" >&67185 $as_echo_n "(cached) " >&6 6162 7186 else 6163 7187 cat >conftest.$ac_ext <<_ACEOF … … 6174 7198 # define alloca _alloca 6175 7199 # else 6176 # if HAVE_ALLOCA_H7200 # ifdef HAVE_ALLOCA_H 6177 7201 # include <alloca.h> 6178 7202 # else … … 6192 7216 { 6193 7217 char *p = (char *) alloca (1); 7218 if (p) return 0; 6194 7219 ; 6195 7220 return 0; … … 6197 7222 _ACEOF 6198 7223 rm -f conftest.$ac_objext conftest$ac_exeext 6199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6200 (eval $ac_link) 2>conftest.er1 7224 if { (ac_try="$ac_link" 7225 case "(($ac_try" in 7226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7227 *) ac_try_echo=$ac_try;; 7228 esac 7229 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7230 $as_echo "$ac_try_echo") >&5 7231 (eval "$ac_link") 2>conftest.er1 6201 7232 ac_status=$? 6202 7233 grep -v '^ *+' conftest.er1 >conftest.err 6203 7234 rm -f conftest.er1 6204 7235 cat conftest.err >&5 6205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6206 (exit $ac_status); } && 6207 { ac_try='test -z "$ac_c_werror_flag" 6208 || test ! -s conftest.err' 6209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6210 (eval $ac_try) 2>&5 6211 ac_status=$? 6212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6213 (exit $ac_status); }; } && 6214 { ac_try='test -s conftest$ac_exeext' 6215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6216 (eval $ac_try) 2>&5 6217 ac_status=$? 6218 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6219 (exit $ac_status); }; }; then 7236 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7237 (exit $ac_status); } && { 7238 test -z "$ac_c_werror_flag" || 7239 test ! -s conftest.err 7240 } && test -s conftest$ac_exeext && { 7241 test "$cross_compiling" = yes || 7242 $as_test_x conftest$ac_exeext 7243 }; then 6220 7244 ac_cv_func_alloca_works=yes 6221 7245 else 6222 echo "$as_me: failed program was:" >&57246 $as_echo "$as_me: failed program was:" >&5 6223 7247 sed 's/^/| /' conftest.$ac_ext >&5 6224 7248 6225 ac_cv_func_alloca_works=no 6226 fi 6227 rm -f conftest.err conftest.$ac_objext \ 7249 ac_cv_func_alloca_works=no 7250 fi 7251 7252 rm -rf conftest.dSYM 7253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6228 7254 conftest$ac_exeext conftest.$ac_ext 6229 7255 fi 6230 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&56231 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 7256 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 7257 $as_echo "$ac_cv_func_alloca_works" >&6; } 6232 7258 6233 7259 if test $ac_cv_func_alloca_works = yes; then … … 6243 7269 # use ar to extract alloca.o from them instead of compiling alloca.c. 6244 7270 6245 ALLOCA= alloca.$ac_objext7271 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 6246 7272 6247 7273 cat >>confdefs.h <<\_ACEOF … … 6250 7276 6251 7277 6252 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&56253 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 7278 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 7279 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 6254 7280 if test "${ac_cv_os_cray+set}" = set; then 6255 echo $ECHO_N "(cached) $ECHO_C" >&67281 $as_echo_n "(cached) " >&6 6256 7282 else 6257 7283 cat >conftest.$ac_ext <<_ACEOF … … 6261 7287 cat >>conftest.$ac_ext <<_ACEOF 6262 7288 /* end confdefs.h. */ 6263 #if defined (CRAY) && ! defined(CRAY2)7289 #if defined CRAY && ! defined CRAY2 6264 7290 webecray 6265 7291 #else … … 6277 7303 6278 7304 fi 6279 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&56280 echo "${ECHO_T}$ac_cv_os_cray" >&6 7305 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 7306 $as_echo "$ac_cv_os_cray" >&6; } 6281 7307 if test $ac_cv_os_cray = yes; then 6282 7308 for ac_func in _getb67 GETB67 getb67; do 6283 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6284 echo "$as_me:$LINENO: checking for $ac_func" >&56285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6286 if eval "test \"\${$as_ac_var+set}\" = set"; then6287 echo $ECHO_N "(cached) $ECHO_C" >&67309 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7310 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7311 $as_echo_n "checking for $ac_func... " >&6; } 7312 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7313 $as_echo_n "(cached) " >&6 6288 7314 else 6289 7315 cat >conftest.$ac_ext <<_ACEOF … … 6310 7336 #undef $ac_func 6311 7337 6312 /* Override any gcc2 internal prototype to avoid an error. */ 7338 /* Override any GCC internal prototype to avoid an error. 7339 Use char because int might match the return type of a GCC 7340 builtin and then its argument prototype would still apply. */ 6313 7341 #ifdef __cplusplus 6314 7342 extern "C" 6315 {6316 7343 #endif 6317 /* We use char because int might match the return type of a gcc26318 builtin and then its argument prototype would still apply. */6319 7344 char $ac_func (); 6320 7345 /* The GNU C library defines this for functions which it implements 6321 7346 to always fail with ENOSYS. Some functions are actually named 6322 7347 something starting with __ and the normal name is an alias. */ 6323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7348 #if defined __stub_$ac_func || defined __stub___$ac_func 6324 7349 choke me 6325 #else6326 char (*f) () = $ac_func;6327 #endif6328 #ifdef __cplusplus6329 }6330 7350 #endif 6331 7351 … … 6333 7353 main () 6334 7354 { 6335 return f != $ac_func;7355 return $ac_func (); 6336 7356 ; 6337 7357 return 0; … … 6339 7359 _ACEOF 6340 7360 rm -f conftest.$ac_objext conftest$ac_exeext 6341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6342 (eval $ac_link) 2>conftest.er1 7361 if { (ac_try="$ac_link" 7362 case "(($ac_try" in 7363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7364 *) ac_try_echo=$ac_try;; 7365 esac 7366 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7367 $as_echo "$ac_try_echo") >&5 7368 (eval "$ac_link") 2>conftest.er1 6343 7369 ac_status=$? 6344 7370 grep -v '^ *+' conftest.er1 >conftest.err 6345 7371 rm -f conftest.er1 6346 7372 cat conftest.err >&5 6347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6348 (exit $ac_status); } && 6349 { ac_try='test -z "$ac_c_werror_flag" 6350 || test ! -s conftest.err' 6351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6352 (eval $ac_try) 2>&5 6353 ac_status=$? 6354 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6355 (exit $ac_status); }; } && 6356 { ac_try='test -s conftest$ac_exeext' 6357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6358 (eval $ac_try) 2>&5 6359 ac_status=$? 6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6361 (exit $ac_status); }; }; then 7373 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7374 (exit $ac_status); } && { 7375 test -z "$ac_c_werror_flag" || 7376 test ! -s conftest.err 7377 } && test -s conftest$ac_exeext && { 7378 test "$cross_compiling" = yes || 7379 $as_test_x conftest$ac_exeext 7380 }; then 6362 7381 eval "$as_ac_var=yes" 6363 7382 else 6364 echo "$as_me: failed program was:" >&57383 $as_echo "$as_me: failed program was:" >&5 6365 7384 sed 's/^/| /' conftest.$ac_ext >&5 6366 7385 6367 eval "$as_ac_var=no" 6368 fi 6369 rm -f conftest.err conftest.$ac_objext \ 7386 eval "$as_ac_var=no" 7387 fi 7388 7389 rm -rf conftest.dSYM 7390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6370 7391 conftest$ac_exeext conftest.$ac_ext 6371 7392 fi 6372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6374 if test `eval echo '${'$as_ac_var'}'` = yes; then 7393 ac_res=`eval 'as_val=${'$as_ac_var'} 7394 $as_echo "$as_val"'` 7395 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7396 $as_echo "$ac_res" >&6; } 7397 as_val=`eval 'as_val=${'$as_ac_var'} 7398 $as_echo "$as_val"'` 7399 if test "x$as_val" = x""yes; then 6375 7400 6376 7401 cat >>confdefs.h <<_ACEOF … … 6384 7409 fi 6385 7410 6386 echo "$as_me:$LINENO: checking stack direction for C alloca" >&56387 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 7411 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 7412 $as_echo_n "checking stack direction for C alloca... " >&6; } 6388 7413 if test "${ac_cv_c_stack_direction+set}" = set; then 6389 echo $ECHO_N "(cached) $ECHO_C" >&67414 $as_echo_n "(cached) " >&6 6390 7415 else 6391 7416 if test "$cross_compiling" = yes; then … … 6398 7423 cat >>conftest.$ac_ext <<_ACEOF 6399 7424 /* end confdefs.h. */ 7425 $ac_includes_default 6400 7426 int 6401 7427 find_stack_direction () … … 6415 7441 main () 6416 7442 { 6417 exit (find_stack_direction () < 0);7443 return find_stack_direction () < 0; 6418 7444 } 6419 7445 _ACEOF 6420 7446 rm -f conftest$ac_exeext 6421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6422 (eval $ac_link) 2>&5 7447 if { (ac_try="$ac_link" 7448 case "(($ac_try" in 7449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7450 *) ac_try_echo=$ac_try;; 7451 esac 7452 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7453 $as_echo "$ac_try_echo") >&5 7454 (eval "$ac_link") 2>&5 6423 7455 ac_status=$? 6424 echo "$as_me:$LINENO: \$? = $ac_status" >&57456 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6425 7457 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6427 (eval $ac_try) 2>&5 7458 { (case "(($ac_try" in 7459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7460 *) ac_try_echo=$ac_try;; 7461 esac 7462 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7463 $as_echo "$ac_try_echo") >&5 7464 (eval "$ac_try") 2>&5 6428 7465 ac_status=$? 6429 echo "$as_me:$LINENO: \$? = $ac_status" >&57466 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6430 7467 (exit $ac_status); }; }; then 6431 7468 ac_cv_c_stack_direction=1 6432 7469 else 6433 echo "$as_me: program exited with status $ac_status" >&56434 echo "$as_me: failed program was:" >&57470 $as_echo "$as_me: program exited with status $ac_status" >&5 7471 $as_echo "$as_me: failed program was:" >&5 6435 7472 sed 's/^/| /' conftest.$ac_ext >&5 6436 7473 … … 6438 7475 ac_cv_c_stack_direction=-1 6439 7476 fi 6440 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6441 fi 6442 fi 6443 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 6444 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 7477 rm -rf conftest.dSYM 7478 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7479 fi 7480 7481 7482 fi 7483 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 7484 $as_echo "$ac_cv_c_stack_direction" >&6; } 6445 7485 6446 7486 cat >>confdefs.h <<_ACEOF … … 6452 7492 6453 7493 if test $ac_cv_c_compiler_gnu = yes; then 6454 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&56455 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 7494 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 7495 $as_echo_n "checking whether $CC needs -traditional... " >&6; } 6456 7496 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 6457 echo $ECHO_N "(cached) $ECHO_C" >&67497 $as_echo_n "(cached) " >&6 6458 7498 else 6459 7499 ac_pattern="Autoconf.*'x'" … … 6494 7534 fi 6495 7535 fi 6496 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&56497 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 7536 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 7537 $as_echo "$ac_cv_prog_gcc_traditional" >&6; } 6498 7538 if test $ac_cv_prog_gcc_traditional = yes; then 6499 7539 CC="$CC -traditional" … … 6501 7541 fi 6502 7542 6503 echo "$as_me:$LINENO: checking return type of signal handlers" >&56504 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 7543 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 7544 $as_echo_n "checking return type of signal handlers... " >&6; } 6505 7545 if test "${ac_cv_type_signal+set}" = set; then 6506 echo $ECHO_N "(cached) $ECHO_C" >&67546 $as_echo_n "(cached) " >&6 6507 7547 else 6508 7548 cat >conftest.$ac_ext <<_ACEOF … … 6514 7554 #include <sys/types.h> 6515 7555 #include <signal.h> 6516 #ifdef signal6517 # undef signal6518 #endif6519 #ifdef __cplusplus6520 extern "C" void (*signal (int, void (*)(int)))(int);6521 #else6522 void (*signal ()) ();6523 #endif6524 7556 6525 7557 int 6526 7558 main () 6527 7559 { 6528 int i;7560 return *(signal (0, 0)) (0) == 1; 6529 7561 ; 6530 7562 return 0; … … 6532 7564 _ACEOF 6533 7565 rm -f conftest.$ac_objext 6534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6535 (eval $ac_compile) 2>conftest.er1 7566 if { (ac_try="$ac_compile" 7567 case "(($ac_try" in 7568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7569 *) ac_try_echo=$ac_try;; 7570 esac 7571 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7572 $as_echo "$ac_try_echo") >&5 7573 (eval "$ac_compile") 2>conftest.er1 6536 7574 ac_status=$? 6537 7575 grep -v '^ *+' conftest.er1 >conftest.err 6538 7576 rm -f conftest.er1 6539 7577 cat conftest.err >&5 6540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6541 (exit $ac_status); } && 6542 { ac_try='test -z "$ac_c_werror_flag" 6543 || test ! -s conftest.err' 6544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6545 (eval $ac_try) 2>&5 6546 ac_status=$? 6547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6548 (exit $ac_status); }; } && 6549 { ac_try='test -s conftest.$ac_objext' 6550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6551 (eval $ac_try) 2>&5 6552 ac_status=$? 6553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6554 (exit $ac_status); }; }; then 6555 ac_cv_type_signal=void 6556 else 6557 echo "$as_me: failed program was:" >&5 7578 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7579 (exit $ac_status); } && { 7580 test -z "$ac_c_werror_flag" || 7581 test ! -s conftest.err 7582 } && test -s conftest.$ac_objext; then 7583 ac_cv_type_signal=int 7584 else 7585 $as_echo "$as_me: failed program was:" >&5 6558 7586 sed 's/^/| /' conftest.$ac_ext >&5 6559 7587 6560 ac_cv_type_signal=int 6561 fi 6562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6563 fi 6564 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 6565 echo "${ECHO_T}$ac_cv_type_signal" >&6 7588 ac_cv_type_signal=void 7589 fi 7590 7591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7592 fi 7593 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 7594 $as_echo "$ac_cv_type_signal" >&6; } 6566 7595 6567 7596 cat >>confdefs.h <<_ACEOF … … 6573 7602 for ac_func in vprintf 6574 7603 do 6575 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6576 echo "$as_me:$LINENO: checking for $ac_func" >&56577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6578 if eval "test \"\${$as_ac_var+set}\" = set"; then6579 echo $ECHO_N "(cached) $ECHO_C" >&67604 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7605 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7606 $as_echo_n "checking for $ac_func... " >&6; } 7607 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7608 $as_echo_n "(cached) " >&6 6580 7609 else 6581 7610 cat >conftest.$ac_ext <<_ACEOF … … 6602 7631 #undef $ac_func 6603 7632 6604 /* Override any gcc2 internal prototype to avoid an error. */ 7633 /* Override any GCC internal prototype to avoid an error. 7634 Use char because int might match the return type of a GCC 7635 builtin and then its argument prototype would still apply. */ 6605 7636 #ifdef __cplusplus 6606 7637 extern "C" 6607 {6608 7638 #endif 6609 /* We use char because int might match the return type of a gcc26610 builtin and then its argument prototype would still apply. */6611 7639 char $ac_func (); 6612 7640 /* The GNU C library defines this for functions which it implements 6613 7641 to always fail with ENOSYS. Some functions are actually named 6614 7642 something starting with __ and the normal name is an alias. */ 6615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7643 #if defined __stub_$ac_func || defined __stub___$ac_func 6616 7644 choke me 6617 #else6618 char (*f) () = $ac_func;6619 #endif6620 #ifdef __cplusplus6621 }6622 7645 #endif 6623 7646 … … 6625 7648 main () 6626 7649 { 6627 return f != $ac_func;7650 return $ac_func (); 6628 7651 ; 6629 7652 return 0; … … 6631 7654 _ACEOF 6632 7655 rm -f conftest.$ac_objext conftest$ac_exeext 6633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6634 (eval $ac_link) 2>conftest.er1 7656 if { (ac_try="$ac_link" 7657 case "(($ac_try" in 7658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7659 *) ac_try_echo=$ac_try;; 7660 esac 7661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7662 $as_echo "$ac_try_echo") >&5 7663 (eval "$ac_link") 2>conftest.er1 6635 7664 ac_status=$? 6636 7665 grep -v '^ *+' conftest.er1 >conftest.err 6637 7666 rm -f conftest.er1 6638 7667 cat conftest.err >&5 6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6640 (exit $ac_status); } && 6641 { ac_try='test -z "$ac_c_werror_flag" 6642 || test ! -s conftest.err' 6643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6644 (eval $ac_try) 2>&5 6645 ac_status=$? 6646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6647 (exit $ac_status); }; } && 6648 { ac_try='test -s conftest$ac_exeext' 6649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6650 (eval $ac_try) 2>&5 6651 ac_status=$? 6652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6653 (exit $ac_status); }; }; then 7668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7669 (exit $ac_status); } && { 7670 test -z "$ac_c_werror_flag" || 7671 test ! -s conftest.err 7672 } && test -s conftest$ac_exeext && { 7673 test "$cross_compiling" = yes || 7674 $as_test_x conftest$ac_exeext 7675 }; then 6654 7676 eval "$as_ac_var=yes" 6655 7677 else 6656 echo "$as_me: failed program was:" >&57678 $as_echo "$as_me: failed program was:" >&5 6657 7679 sed 's/^/| /' conftest.$ac_ext >&5 6658 7680 6659 eval "$as_ac_var=no" 6660 fi 6661 rm -f conftest.err conftest.$ac_objext \ 7681 eval "$as_ac_var=no" 7682 fi 7683 7684 rm -rf conftest.dSYM 7685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6662 7686 conftest$ac_exeext conftest.$ac_ext 6663 7687 fi 6664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6666 if test `eval echo '${'$as_ac_var'}'` = yes; then 7688 ac_res=`eval 'as_val=${'$as_ac_var'} 7689 $as_echo "$as_val"'` 7690 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7691 $as_echo "$ac_res" >&6; } 7692 as_val=`eval 'as_val=${'$as_ac_var'} 7693 $as_echo "$as_val"'` 7694 if test "x$as_val" = x""yes; then 6667 7695 cat >>confdefs.h <<_ACEOF 6668 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 16669 _ACEOF 6670 6671 echo "$as_me:$LINENO: checking for _doprnt" >&56672 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 7696 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7697 _ACEOF 7698 7699 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5 7700 $as_echo_n "checking for _doprnt... " >&6; } 6673 7701 if test "${ac_cv_func__doprnt+set}" = set; then 6674 echo $ECHO_N "(cached) $ECHO_C" >&67702 $as_echo_n "(cached) " >&6 6675 7703 else 6676 7704 cat >conftest.$ac_ext <<_ACEOF … … 6697 7725 #undef _doprnt 6698 7726 6699 /* Override any gcc2 internal prototype to avoid an error. */ 7727 /* Override any GCC internal prototype to avoid an error. 7728 Use char because int might match the return type of a GCC 7729 builtin and then its argument prototype would still apply. */ 6700 7730 #ifdef __cplusplus 6701 7731 extern "C" 6702 {6703 7732 #endif 6704 /* We use char because int might match the return type of a gcc26705 builtin and then its argument prototype would still apply. */6706 7733 char _doprnt (); 6707 7734 /* The GNU C library defines this for functions which it implements 6708 7735 to always fail with ENOSYS. Some functions are actually named 6709 7736 something starting with __ and the normal name is an alias. */ 6710 #if defined (__stub__doprnt) || defined (__stub____doprnt)7737 #if defined __stub__doprnt || defined __stub____doprnt 6711 7738 choke me 6712 #else6713 char (*f) () = _doprnt;6714 #endif6715 #ifdef __cplusplus6716 }6717 7739 #endif 6718 7740 … … 6720 7742 main () 6721 7743 { 6722 return f != _doprnt;7744 return _doprnt (); 6723 7745 ; 6724 7746 return 0; … … 6726 7748 _ACEOF 6727 7749 rm -f conftest.$ac_objext conftest$ac_exeext 6728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6729 (eval $ac_link) 2>conftest.er1 7750 if { (ac_try="$ac_link" 7751 case "(($ac_try" in 7752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7753 *) ac_try_echo=$ac_try;; 7754 esac 7755 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7756 $as_echo "$ac_try_echo") >&5 7757 (eval "$ac_link") 2>conftest.er1 6730 7758 ac_status=$? 6731 7759 grep -v '^ *+' conftest.er1 >conftest.err 6732 7760 rm -f conftest.er1 6733 7761 cat conftest.err >&5 6734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6735 (exit $ac_status); } && 6736 { ac_try='test -z "$ac_c_werror_flag" 6737 || test ! -s conftest.err' 6738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6739 (eval $ac_try) 2>&5 6740 ac_status=$? 6741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6742 (exit $ac_status); }; } && 6743 { ac_try='test -s conftest$ac_exeext' 6744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6745 (eval $ac_try) 2>&5 6746 ac_status=$? 6747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6748 (exit $ac_status); }; }; then 7762 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7763 (exit $ac_status); } && { 7764 test -z "$ac_c_werror_flag" || 7765 test ! -s conftest.err 7766 } && test -s conftest$ac_exeext && { 7767 test "$cross_compiling" = yes || 7768 $as_test_x conftest$ac_exeext 7769 }; then 6749 7770 ac_cv_func__doprnt=yes 6750 7771 else 6751 echo "$as_me: failed program was:" >&57772 $as_echo "$as_me: failed program was:" >&5 6752 7773 sed 's/^/| /' conftest.$ac_ext >&5 6753 7774 6754 ac_cv_func__doprnt=no 6755 fi 6756 rm -f conftest.err conftest.$ac_objext \ 7775 ac_cv_func__doprnt=no 7776 fi 7777 7778 rm -rf conftest.dSYM 7779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6757 7780 conftest$ac_exeext conftest.$ac_ext 6758 7781 fi 6759 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&56760 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 6761 if test $ac_cv_func__doprnt =yes; then7782 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 7783 $as_echo "$ac_cv_func__doprnt" >&6; } 7784 if test "x$ac_cv_func__doprnt" = x""yes; then 6762 7785 6763 7786 cat >>confdefs.h <<\_ACEOF … … 6783 7806 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror 6784 7807 do 6785 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6786 echo "$as_me:$LINENO: checking for $ac_func" >&56787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6788 if eval "test \"\${$as_ac_var+set}\" = set"; then6789 echo $ECHO_N "(cached) $ECHO_C" >&67808 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7809 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7810 $as_echo_n "checking for $ac_func... " >&6; } 7811 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7812 $as_echo_n "(cached) " >&6 6790 7813 else 6791 7814 cat >conftest.$ac_ext <<_ACEOF … … 6812 7835 #undef $ac_func 6813 7836 6814 /* Override any gcc2 internal prototype to avoid an error. */ 7837 /* Override any GCC internal prototype to avoid an error. 7838 Use char because int might match the return type of a GCC 7839 builtin and then its argument prototype would still apply. */ 6815 7840 #ifdef __cplusplus 6816 7841 extern "C" 6817 {6818 7842 #endif 6819 /* We use char because int might match the return type of a gcc26820 builtin and then its argument prototype would still apply. */6821 7843 char $ac_func (); 6822 7844 /* The GNU C library defines this for functions which it implements 6823 7845 to always fail with ENOSYS. Some functions are actually named 6824 7846 something starting with __ and the normal name is an alias. */ 6825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7847 #if defined __stub_$ac_func || defined __stub___$ac_func 6826 7848 choke me 6827 #else6828 char (*f) () = $ac_func;6829 #endif6830 #ifdef __cplusplus6831 }6832 7849 #endif 6833 7850 … … 6835 7852 main () 6836 7853 { 6837 return f != $ac_func;7854 return $ac_func (); 6838 7855 ; 6839 7856 return 0; … … 6841 7858 _ACEOF 6842 7859 rm -f conftest.$ac_objext conftest$ac_exeext 6843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6844 (eval $ac_link) 2>conftest.er1 7860 if { (ac_try="$ac_link" 7861 case "(($ac_try" in 7862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7863 *) ac_try_echo=$ac_try;; 7864 esac 7865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7866 $as_echo "$ac_try_echo") >&5 7867 (eval "$ac_link") 2>conftest.er1 6845 7868 ac_status=$? 6846 7869 grep -v '^ *+' conftest.er1 >conftest.err 6847 7870 rm -f conftest.er1 6848 7871 cat conftest.err >&5 6849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6850 (exit $ac_status); } && 6851 { ac_try='test -z "$ac_c_werror_flag" 6852 || test ! -s conftest.err' 6853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6854 (eval $ac_try) 2>&5 6855 ac_status=$? 6856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6857 (exit $ac_status); }; } && 6858 { ac_try='test -s conftest$ac_exeext' 6859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6860 (eval $ac_try) 2>&5 6861 ac_status=$? 6862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6863 (exit $ac_status); }; }; then 7872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7873 (exit $ac_status); } && { 7874 test -z "$ac_c_werror_flag" || 7875 test ! -s conftest.err 7876 } && test -s conftest$ac_exeext && { 7877 test "$cross_compiling" = yes || 7878 $as_test_x conftest$ac_exeext 7879 }; then 6864 7880 eval "$as_ac_var=yes" 6865 7881 else 6866 echo "$as_me: failed program was:" >&57882 $as_echo "$as_me: failed program was:" >&5 6867 7883 sed 's/^/| /' conftest.$ac_ext >&5 6868 7884 6869 eval "$as_ac_var=no" 6870 fi 6871 rm -f conftest.err conftest.$ac_objext \ 7885 eval "$as_ac_var=no" 7886 fi 7887 7888 rm -rf conftest.dSYM 7889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6872 7890 conftest$ac_exeext conftest.$ac_ext 6873 7891 fi 6874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6876 if test `eval echo '${'$as_ac_var'}'` = yes; then 7892 ac_res=`eval 'as_val=${'$as_ac_var'} 7893 $as_echo "$as_val"'` 7894 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7895 $as_echo "$ac_res" >&6; } 7896 as_val=`eval 'as_val=${'$as_ac_var'} 7897 $as_echo "$as_val"'` 7898 if test "x$as_val" = x""yes; then 6877 7899 cat >>confdefs.h <<_ACEOF 6878 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 17900 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6879 7901 _ACEOF 6880 7902 … … 6887 7909 for ac_func in ftruncate strstr strcasecmp 6888 7910 do 6889 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6890 echo "$as_me:$LINENO: checking for $ac_func" >&56891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6892 if eval "test \"\${$as_ac_var+set}\" = set"; then6893 echo $ECHO_N "(cached) $ECHO_C" >&67911 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7912 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7913 $as_echo_n "checking for $ac_func... " >&6; } 7914 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7915 $as_echo_n "(cached) " >&6 6894 7916 else 6895 7917 cat >conftest.$ac_ext <<_ACEOF … … 6916 7938 #undef $ac_func 6917 7939 6918 /* Override any gcc2 internal prototype to avoid an error. */ 7940 /* Override any GCC internal prototype to avoid an error. 7941 Use char because int might match the return type of a GCC 7942 builtin and then its argument prototype would still apply. */ 6919 7943 #ifdef __cplusplus 6920 7944 extern "C" 6921 {6922 7945 #endif 6923 /* We use char because int might match the return type of a gcc26924 builtin and then its argument prototype would still apply. */6925 7946 char $ac_func (); 6926 7947 /* The GNU C library defines this for functions which it implements 6927 7948 to always fail with ENOSYS. Some functions are actually named 6928 7949 something starting with __ and the normal name is an alias. */ 6929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7950 #if defined __stub_$ac_func || defined __stub___$ac_func 6930 7951 choke me 6931 #else6932 char (*f) () = $ac_func;6933 #endif6934 #ifdef __cplusplus6935 }6936 7952 #endif 6937 7953 … … 6939 7955 main () 6940 7956 { 6941 return f != $ac_func;7957 return $ac_func (); 6942 7958 ; 6943 7959 return 0; … … 6945 7961 _ACEOF 6946 7962 rm -f conftest.$ac_objext conftest$ac_exeext 6947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6948 (eval $ac_link) 2>conftest.er1 7963 if { (ac_try="$ac_link" 7964 case "(($ac_try" in 7965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7966 *) ac_try_echo=$ac_try;; 7967 esac 7968 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7969 $as_echo "$ac_try_echo") >&5 7970 (eval "$ac_link") 2>conftest.er1 6949 7971 ac_status=$? 6950 7972 grep -v '^ *+' conftest.er1 >conftest.err 6951 7973 rm -f conftest.er1 6952 7974 cat conftest.err >&5 6953 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6954 (exit $ac_status); } && 6955 { ac_try='test -z "$ac_c_werror_flag" 6956 || test ! -s conftest.err' 6957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6958 (eval $ac_try) 2>&5 6959 ac_status=$? 6960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6961 (exit $ac_status); }; } && 6962 { ac_try='test -s conftest$ac_exeext' 6963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6964 (eval $ac_try) 2>&5 6965 ac_status=$? 6966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6967 (exit $ac_status); }; }; then 7975 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7976 (exit $ac_status); } && { 7977 test -z "$ac_c_werror_flag" || 7978 test ! -s conftest.err 7979 } && test -s conftest$ac_exeext && { 7980 test "$cross_compiling" = yes || 7981 $as_test_x conftest$ac_exeext 7982 }; then 6968 7983 eval "$as_ac_var=yes" 6969 7984 else 6970 echo "$as_me: failed program was:" >&57985 $as_echo "$as_me: failed program was:" >&5 6971 7986 sed 's/^/| /' conftest.$ac_ext >&5 6972 7987 6973 eval "$as_ac_var=no" 6974 fi 6975 rm -f conftest.err conftest.$ac_objext \ 7988 eval "$as_ac_var=no" 7989 fi 7990 7991 rm -rf conftest.dSYM 7992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6976 7993 conftest$ac_exeext conftest.$ac_ext 6977 7994 fi 6978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6980 if test `eval echo '${'$as_ac_var'}'` = yes; then 7995 ac_res=`eval 'as_val=${'$as_ac_var'} 7996 $as_echo "$as_val"'` 7997 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7998 $as_echo "$ac_res" >&6; } 7999 as_val=`eval 'as_val=${'$as_ac_var'} 8000 $as_echo "$as_val"'` 8001 if test "x$as_val" = x""yes; then 6981 8002 cat >>confdefs.h <<_ACEOF 6982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6983 _ACEOF 6984 6985 else 6986 case $LIBOBJS in 6987 "$ac_func.$ac_objext" | \ 6988 *" $ac_func.$ac_objext" | \ 6989 "$ac_func.$ac_objext "* | \ 8003 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8004 _ACEOF 8005 8006 else 8007 case " $LIBOBJS " in 6990 8008 *" $ac_func.$ac_objext "* ) ;; 6991 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; 8009 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 8010 ;; 6992 8011 esac 6993 8012 … … 6997 8016 6998 8017 6999 echo "$as_me:$LINENO: checking for textdomain" >&57000 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6 8018 { $as_echo "$as_me:$LINENO: checking for textdomain" >&5 8019 $as_echo_n "checking for textdomain... " >&6; } 7001 8020 if test "${ac_cv_func_textdomain+set}" = set; then 7002 echo $ECHO_N "(cached) $ECHO_C" >&68021 $as_echo_n "(cached) " >&6 7003 8022 else 7004 8023 cat >conftest.$ac_ext <<_ACEOF … … 7025 8044 #undef textdomain 7026 8045 7027 /* Override any gcc2 internal prototype to avoid an error. */ 8046 /* Override any GCC internal prototype to avoid an error. 8047 Use char because int might match the return type of a GCC 8048 builtin and then its argument prototype would still apply. */ 7028 8049 #ifdef __cplusplus 7029 8050 extern "C" 7030 {7031 8051 #endif 7032 /* We use char because int might match the return type of a gcc27033 builtin and then its argument prototype would still apply. */7034 8052 char textdomain (); 7035 8053 /* The GNU C library defines this for functions which it implements 7036 8054 to always fail with ENOSYS. Some functions are actually named 7037 8055 something starting with __ and the normal name is an alias. */ 7038 #if defined (__stub_textdomain) || defined (__stub___textdomain)8056 #if defined __stub_textdomain || defined __stub___textdomain 7039 8057 choke me 7040 #else7041 char (*f) () = textdomain;7042 #endif7043 #ifdef __cplusplus7044 }7045 8058 #endif 7046 8059 … … 7048 8061 main () 7049 8062 { 7050 return f != textdomain;8063 return textdomain (); 7051 8064 ; 7052 8065 return 0; … … 7054 8067 _ACEOF 7055 8068 rm -f conftest.$ac_objext conftest$ac_exeext 7056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7057 (eval $ac_link) 2>conftest.er1 8069 if { (ac_try="$ac_link" 8070 case "(($ac_try" in 8071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8072 *) ac_try_echo=$ac_try;; 8073 esac 8074 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8075 $as_echo "$ac_try_echo") >&5 8076 (eval "$ac_link") 2>conftest.er1 7058 8077 ac_status=$? 7059 8078 grep -v '^ *+' conftest.er1 >conftest.err 7060 8079 rm -f conftest.er1 7061 8080 cat conftest.err >&5 7062 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7063 (exit $ac_status); } && 7064 { ac_try='test -z "$ac_c_werror_flag" 7065 || test ! -s conftest.err' 7066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7067 (eval $ac_try) 2>&5 7068 ac_status=$? 7069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7070 (exit $ac_status); }; } && 7071 { ac_try='test -s conftest$ac_exeext' 7072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7073 (eval $ac_try) 2>&5 7074 ac_status=$? 7075 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7076 (exit $ac_status); }; }; then 8081 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8082 (exit $ac_status); } && { 8083 test -z "$ac_c_werror_flag" || 8084 test ! -s conftest.err 8085 } && test -s conftest$ac_exeext && { 8086 test "$cross_compiling" = yes || 8087 $as_test_x conftest$ac_exeext 8088 }; then 7077 8089 ac_cv_func_textdomain=yes 7078 8090 else 7079 echo "$as_me: failed program was:" >&58091 $as_echo "$as_me: failed program was:" >&5 7080 8092 sed 's/^/| /' conftest.$ac_ext >&5 7081 8093 7082 ac_cv_func_textdomain=no 7083 fi 7084 rm -f conftest.err conftest.$ac_objext \ 8094 ac_cv_func_textdomain=no 8095 fi 8096 8097 rm -rf conftest.dSYM 8098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7085 8099 conftest$ac_exeext conftest.$ac_ext 7086 8100 fi 7087 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&57088 echo "${ECHO_T}$ac_cv_func_textdomain" >&6 7089 if test $ac_cv_func_textdomain =yes; then8101 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5 8102 $as_echo "$ac_cv_func_textdomain" >&6; } 8103 if test "x$ac_cv_func_textdomain" = x""yes; then 7090 8104 cat >>confdefs.h <<\_ACEOF 7091 8105 #define ENABLE_NLS 1 … … 7097 8111 # *** Custom checking (based on GNU tar configure.in) *** 7098 8112 # --------------------------------------------------------------------------- 7099 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&57100 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6 8113 { $as_echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5 8114 $as_echo_n "checking for HP-UX needing gmalloc... " >&6; } 7101 8115 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 7102 echo "$as_me:$LINENO: result: yes" >&5 7103 echo "${ECHO_T}yes" >&6 7104 case $LIBOBJS in 7105 "gmalloc.$ac_objext" | \ 7106 *" gmalloc.$ac_objext" | \ 7107 "gmalloc.$ac_objext "* | \ 8116 { $as_echo "$as_me:$LINENO: result: yes" >&5 8117 $as_echo "yes" >&6; } 8118 case " $LIBOBJS " in 7108 8119 *" gmalloc.$ac_objext "* ) ;; 7109 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;; 8120 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" 8121 ;; 7110 8122 esac 7111 8123 … … 7115 8127 7116 8128 else 7117 echo "$as_me:$LINENO: result: no" >&57118 echo "${ECHO_T}no" >&6 8129 { $as_echo "$as_me:$LINENO: result: no" >&5 8130 $as_echo "no" >&6; } 7119 8131 7120 8132 for ac_func in valloc 7121 8133 do 7122 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`7123 echo "$as_me:$LINENO: checking for $ac_func" >&57124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7125 if eval "test \"\${$as_ac_var+set}\" = set"; then7126 echo $ECHO_N "(cached) $ECHO_C" >&68134 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8135 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 8136 $as_echo_n "checking for $ac_func... " >&6; } 8137 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 8138 $as_echo_n "(cached) " >&6 7127 8139 else 7128 8140 cat >conftest.$ac_ext <<_ACEOF … … 7149 8161 #undef $ac_func 7150 8162 7151 /* Override any gcc2 internal prototype to avoid an error. */ 8163 /* Override any GCC internal prototype to avoid an error. 8164 Use char because int might match the return type of a GCC 8165 builtin and then its argument prototype would still apply. */ 7152 8166 #ifdef __cplusplus 7153 8167 extern "C" 7154 {7155 8168 #endif 7156 /* We use char because int might match the return type of a gcc27157 builtin and then its argument prototype would still apply. */7158 8169 char $ac_func (); 7159 8170 /* The GNU C library defines this for functions which it implements 7160 8171 to always fail with ENOSYS. Some functions are actually named 7161 8172 something starting with __ and the normal name is an alias. */ 7162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)8173 #if defined __stub_$ac_func || defined __stub___$ac_func 7163 8174 choke me 7164 #else7165 char (*f) () = $ac_func;7166 #endif7167 #ifdef __cplusplus7168 }7169 8175 #endif 7170 8176 … … 7172 8178 main () 7173 8179 { 7174 return f != $ac_func;8180 return $ac_func (); 7175 8181 ; 7176 8182 return 0; … … 7178 8184 _ACEOF 7179 8185 rm -f conftest.$ac_objext conftest$ac_exeext 7180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7181 (eval $ac_link) 2>conftest.er1 8186 if { (ac_try="$ac_link" 8187 case "(($ac_try" in 8188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8189 *) ac_try_echo=$ac_try;; 8190 esac 8191 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8192 $as_echo "$ac_try_echo") >&5 8193 (eval "$ac_link") 2>conftest.er1 7182 8194 ac_status=$? 7183 8195 grep -v '^ *+' conftest.er1 >conftest.err 7184 8196 rm -f conftest.er1 7185 8197 cat conftest.err >&5 7186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7187 (exit $ac_status); } && 7188 { ac_try='test -z "$ac_c_werror_flag" 7189 || test ! -s conftest.err' 7190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7191 (eval $ac_try) 2>&5 7192 ac_status=$? 7193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7194 (exit $ac_status); }; } && 7195 { ac_try='test -s conftest$ac_exeext' 7196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7197 (eval $ac_try) 2>&5 7198 ac_status=$? 7199 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7200 (exit $ac_status); }; }; then 8198 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8199 (exit $ac_status); } && { 8200 test -z "$ac_c_werror_flag" || 8201 test ! -s conftest.err 8202 } && test -s conftest$ac_exeext && { 8203 test "$cross_compiling" = yes || 8204 $as_test_x conftest$ac_exeext 8205 }; then 7201 8206 eval "$as_ac_var=yes" 7202 8207 else 7203 echo "$as_me: failed program was:" >&58208 $as_echo "$as_me: failed program was:" >&5 7204 8209 sed 's/^/| /' conftest.$ac_ext >&5 7205 8210 7206 eval "$as_ac_var=no" 7207 fi 7208 rm -f conftest.err conftest.$ac_objext \ 8211 eval "$as_ac_var=no" 8212 fi 8213 8214 rm -rf conftest.dSYM 8215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7209 8216 conftest$ac_exeext conftest.$ac_ext 7210 8217 fi 7211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 7212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7213 if test `eval echo '${'$as_ac_var'}'` = yes; then 8218 ac_res=`eval 'as_val=${'$as_ac_var'} 8219 $as_echo "$as_val"'` 8220 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8221 $as_echo "$ac_res" >&6; } 8222 as_val=`eval 'as_val=${'$as_ac_var'} 8223 $as_echo "$as_val"'` 8224 if test "x$as_val" = x""yes; then 7214 8225 cat >>confdefs.h <<_ACEOF 7215 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 18226 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7216 8227 _ACEOF 7217 8228 … … 7222 8233 7223 8234 # we cannot generate static libraries under Darwin 7224 echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&57225 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6 8235 { $as_echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5 8236 $as_echo_n "checking for Apple MacOS X/Darwin... " >&6; } 7226 8237 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 7227 echo "$as_me:$LINENO: result: yes" >&57228 echo "${ECHO_T}yes" >&6 8238 { $as_echo "$as_me:$LINENO: result: yes" >&5 8239 $as_echo "yes" >&6; } 7229 8240 STATIC="" 7230 8241 else 7231 echo "$as_me:$LINENO: result: no" >&57232 echo "${ECHO_T}no" >&6 8242 { $as_echo "$as_me:$LINENO: result: no" >&5 8243 $as_echo "no" >&6; } 7233 8244 STATIC="-static " 7234 8245 fi 7235 8246 7236 8247 7237 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&57238 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6 7239 7240 # Check whether --with-dmalloc or --without-dmallocwas given.8248 { $as_echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 8249 $as_echo_n "checking if malloc debugging is wanted... " >&6; } 8250 8251 # Check whether --with-dmalloc was given. 7241 8252 if test "${with_dmalloc+set}" = set; then 7242 withval="$with_dmalloc" 7243 if test "$withval" = yes; then 7244 echo "$as_me:$LINENO: result: yes" >&5 7245 echo "${ECHO_T}yes" >&6 8253 withval=$with_dmalloc; if test "$withval" = yes; then 8254 { $as_echo "$as_me:$LINENO: result: yes" >&5 8255 $as_echo "yes" >&6; } 7246 8256 cat >>confdefs.h <<\_ACEOF 7247 8257 #define WITH_DMALLOC 1 … … 7251 8261 LDFLAGS="$LDFLAGS -g" 7252 8262 else 7253 echo "$as_me:$LINENO: result: no" >&5 7254 echo "${ECHO_T}no" >&6 7255 fi 7256 else 7257 echo "$as_me:$LINENO: result: no" >&5 7258 echo "${ECHO_T}no" >&6 7259 fi; 7260 7261 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 7262 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6 7263 7264 # Check whether --with-regex or --without-regex was given. 8263 { $as_echo "$as_me:$LINENO: result: no" >&5 8264 $as_echo "no" >&6; } 8265 fi 8266 else 8267 { $as_echo "$as_me:$LINENO: result: no" >&5 8268 $as_echo "no" >&6; } 8269 fi 8270 8271 8272 { $as_echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 8273 $as_echo_n "checking which of rx or regex is wanted... " >&6; } 8274 8275 # Check whether --with-regex was given. 7265 8276 if test "${with_regex+set}" = set; then 7266 withval="$with_regex" 7267 if test "$withval" = yes; then 8277 withval=$with_regex; if test "$withval" = yes; then 7268 8278 ac_with_regex=1 7269 echo "$as_me:$LINENO: result: regex" >&57270 echo "${ECHO_T}regex" >&6 8279 { $as_echo "$as_me:$LINENO: result: regex" >&5 8280 $as_echo "regex" >&6; } 7271 8281 cat >>confdefs.h <<\_ACEOF 7272 8282 #define WITH_REGEX 1 7273 8283 _ACEOF 7274 8284 7275 case $LIBOBJS in 7276 "regex.$ac_objext" | \ 7277 *" regex.$ac_objext" | \ 7278 "regex.$ac_objext "* | \ 8285 case " $LIBOBJS " in 7279 8286 *" regex.$ac_objext "* ) ;; 7280 *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;; 7281 esac 7282 7283 fi 7284 fi; 8287 *) LIBOBJS="$LIBOBJS regex.$ac_objext" 8288 ;; 8289 esac 8290 8291 fi 8292 fi 8293 7285 8294 if test -z "$ac_with_regex"; then 7286 echo "$as_me:$LINENO: result: rx" >&57287 echo "${ECHO_T}rx" >&6 7288 echo "$as_me:$LINENO: checking for re_rx_search" >&57289 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6 8295 { $as_echo "$as_me:$LINENO: result: rx" >&5 8296 $as_echo "rx" >&6; } 8297 { $as_echo "$as_me:$LINENO: checking for re_rx_search" >&5 8298 $as_echo_n "checking for re_rx_search... " >&6; } 7290 8299 if test "${ac_cv_func_re_rx_search+set}" = set; then 7291 echo $ECHO_N "(cached) $ECHO_C" >&68300 $as_echo_n "(cached) " >&6 7292 8301 else 7293 8302 cat >conftest.$ac_ext <<_ACEOF … … 7314 8323 #undef re_rx_search 7315 8324 7316 /* Override any gcc2 internal prototype to avoid an error. */ 8325 /* Override any GCC internal prototype to avoid an error. 8326 Use char because int might match the return type of a GCC 8327 builtin and then its argument prototype would still apply. */ 7317 8328 #ifdef __cplusplus 7318 8329 extern "C" 7319 {7320 8330 #endif 7321 /* We use char because int might match the return type of a gcc27322 builtin and then its argument prototype would still apply. */7323 8331 char re_rx_search (); 7324 8332 /* The GNU C library defines this for functions which it implements 7325 8333 to always fail with ENOSYS. Some functions are actually named 7326 8334 something starting with __ and the normal name is an alias. */ 7327 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)8335 #if defined __stub_re_rx_search || defined __stub___re_rx_search 7328 8336 choke me 7329 #else7330 char (*f) () = re_rx_search;7331 #endif7332 #ifdef __cplusplus7333 }7334 8337 #endif 7335 8338 … … 7337 8340 main () 7338 8341 { 7339 return f != re_rx_search;8342 return re_rx_search (); 7340 8343 ; 7341 8344 return 0; … … 7343 8346 _ACEOF 7344 8347 rm -f conftest.$ac_objext conftest$ac_exeext 7345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7346 (eval $ac_link) 2>conftest.er1 8348 if { (ac_try="$ac_link" 8349 case "(($ac_try" in 8350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8351 *) ac_try_echo=$ac_try;; 8352 esac 8353 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8354 $as_echo "$ac_try_echo") >&5 8355 (eval "$ac_link") 2>conftest.er1 7347 8356 ac_status=$? 7348 8357 grep -v '^ *+' conftest.er1 >conftest.err 7349 8358 rm -f conftest.er1 7350 8359 cat conftest.err >&5 7351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7352 (exit $ac_status); } && 7353 { ac_try='test -z "$ac_c_werror_flag" 7354 || test ! -s conftest.err' 7355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7356 (eval $ac_try) 2>&5 7357 ac_status=$? 7358 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7359 (exit $ac_status); }; } && 7360 { ac_try='test -s conftest$ac_exeext' 7361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7362 (eval $ac_try) 2>&5 7363 ac_status=$? 7364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7365 (exit $ac_status); }; }; then 8360 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8361 (exit $ac_status); } && { 8362 test -z "$ac_c_werror_flag" || 8363 test ! -s conftest.err 8364 } && test -s conftest$ac_exeext && { 8365 test "$cross_compiling" = yes || 8366 $as_test_x conftest$ac_exeext 8367 }; then 7366 8368 ac_cv_func_re_rx_search=yes 7367 8369 else 7368 echo "$as_me: failed program was:" >&58370 $as_echo "$as_me: failed program was:" >&5 7369 8371 sed 's/^/| /' conftest.$ac_ext >&5 7370 8372 7371 ac_cv_func_re_rx_search=no 7372 fi 7373 rm -f conftest.err conftest.$ac_objext \ 8373 ac_cv_func_re_rx_search=no 8374 fi 8375 8376 rm -rf conftest.dSYM 8377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7374 8378 conftest$ac_exeext conftest.$ac_ext 7375 8379 fi 7376 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&57377 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6 7378 if test $ac_cv_func_re_rx_search =yes; then8380 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 8381 $as_echo "$ac_cv_func_re_rx_search" >&6; } 8382 if test "x$ac_cv_func_re_rx_search" = x""yes; then 7379 8383 : 7380 8384 else 7381 case $LIBOBJS in 7382 "rx.$ac_objext" | \ 7383 *" rx.$ac_objext" | \ 7384 "rx.$ac_objext "* | \ 8385 case " $LIBOBJS " in 7385 8386 *" rx.$ac_objext "* ) ;; 7386 *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;; 8387 *) LIBOBJS="$LIBOBJS rx.$ac_objext" 8388 ;; 7387 8389 esac 7388 8390 … … 7394 8396 # --------------------------------------------------------------------------- 7395 8397 if test "$ac_cv_func_alloca" = 'no'; then 7396 case $LIBOBJS in 7397 "xmalloc.$ac_objext" | \ 7398 *" xmalloc.$ac_objext" | \ 7399 "xmalloc.$ac_objext "* | \ 8398 case " $LIBOBJS " in 7400 8399 *" xmalloc.$ac_objext "* ) ;; 7401 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;; 7402 esac 7403 7404 case $LIBOBJS in 7405 "error.$ac_objext" | \ 7406 *" error.$ac_objext" | \ 7407 "error.$ac_objext "* | \ 8400 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" 8401 ;; 8402 esac 8403 8404 case " $LIBOBJS " in 7408 8405 *" error.$ac_objext "* ) ;; 7409 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 8406 *) LIBOBJS="$LIBOBJS error.$ac_objext" 8407 ;; 7410 8408 esac 7411 8409 … … 7415 8413 # --------------------------------------------------------------------------- 7416 8414 7417 ac_ext=c c8415 ac_ext=cpp 7418 8416 ac_cpp='$CXXCPP $CPPFLAGS' 7419 8417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 7422 8420 7423 8421 7424 echo "$as_me:$LINENO: checking that Perl 5 is available" >&57425 echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6 8422 { $as_echo "$as_me:$LINENO: checking that Perl 5 is available" >&5 8423 $as_echo_n "checking that Perl 5 is available... " >&6; } 7426 8424 success="no" 7427 8425 pl_path="$PATH" … … 7437 8435 7438 8436 success=no 7439 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&57440 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6 8437 { $as_echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5 8438 $as_echo_n "checking \"whether STL library has known faults\"... " >&6; } 7441 8439 7442 8440 … … 7458 8456 _ACEOF 7459 8457 rm -f conftest.$ac_objext 7460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7461 (eval $ac_compile) 2>conftest.er1 8458 if { (ac_try="$ac_compile" 8459 case "(($ac_try" in 8460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8461 *) ac_try_echo=$ac_try;; 8462 esac 8463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8464 $as_echo "$ac_try_echo") >&5 8465 (eval "$ac_compile") 2>conftest.er1 7462 8466 ac_status=$? 7463 8467 grep -v '^ *+' conftest.er1 >conftest.err 7464 8468 rm -f conftest.er1 7465 8469 cat conftest.err >&5 7466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7467 (exit $ac_status); } && 7468 { ac_try='test -z "$ac_cxx_werror_flag" 7469 || test ! -s conftest.err' 7470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7471 (eval $ac_try) 2>&5 7472 ac_status=$? 7473 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7474 (exit $ac_status); }; } && 7475 { ac_try='test -s conftest.$ac_objext' 7476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7477 (eval $ac_try) 2>&5 7478 ac_status=$? 7479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7480 (exit $ac_status); }; }; then 8470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8471 (exit $ac_status); } && { 8472 test -z "$ac_cxx_werror_flag" || 8473 test ! -s conftest.err 8474 } && test -s conftest.$ac_objext; then 7481 8475 success=yes 7482 8476 else 7483 echo "$as_me: failed program was:" >&58477 $as_echo "$as_me: failed program was:" >&5 7484 8478 sed 's/^/| /' conftest.$ac_ext >&5 7485 8479 7486 fi 7487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8480 8481 fi 8482 8483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7488 8484 7489 8485 if test $success = "no"; then … … 7505 8501 _ACEOF 7506 8502 rm -f conftest.$ac_objext 7507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7508 (eval $ac_compile) 2>conftest.er1 8503 if { (ac_try="$ac_compile" 8504 case "(($ac_try" in 8505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8506 *) ac_try_echo=$ac_try;; 8507 esac 8508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8509 $as_echo "$ac_try_echo") >&5 8510 (eval "$ac_compile") 2>conftest.er1 7509 8511 ac_status=$? 7510 8512 grep -v '^ *+' conftest.er1 >conftest.err 7511 8513 rm -f conftest.er1 7512 8514 cat conftest.err >&5 7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7514 (exit $ac_status); } && 7515 { ac_try='test -z "$ac_cxx_werror_flag" 7516 || test ! -s conftest.err' 7517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7518 (eval $ac_try) 2>&5 7519 ac_status=$? 7520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7521 (exit $ac_status); }; } && 7522 { ac_try='test -s conftest.$ac_objext' 7523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7524 (eval $ac_try) 2>&5 7525 ac_status=$? 7526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7527 (exit $ac_status); }; }; then 8515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8516 (exit $ac_status); } && { 8517 test -z "$ac_cxx_werror_flag" || 8518 test ! -s conftest.err 8519 } && test -s conftest.$ac_objext; then 7528 8520 success="yes" 7529 8521 else 7530 echo "$as_me: failed program was:" >&58522 $as_echo "$as_me: failed program was:" >&5 7531 8523 sed 's/^/| /' conftest.$ac_ext >&5 7532 8524 7533 fi 7534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8525 8526 fi 8527 8528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7535 8529 fi 7536 8530 … … 7553 8547 _ACEOF 7554 8548 rm -f conftest.$ac_objext 7555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7556 (eval $ac_compile) 2>conftest.er1 8549 if { (ac_try="$ac_compile" 8550 case "(($ac_try" in 8551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8552 *) ac_try_echo=$ac_try;; 8553 esac 8554 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8555 $as_echo "$ac_try_echo") >&5 8556 (eval "$ac_compile") 2>conftest.er1 7557 8557 ac_status=$? 7558 8558 grep -v '^ *+' conftest.er1 >conftest.err 7559 8559 rm -f conftest.er1 7560 8560 cat conftest.err >&5 7561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7562 (exit $ac_status); } && 7563 { ac_try='test -z "$ac_cxx_werror_flag" 7564 || test ! -s conftest.err' 7565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7566 (eval $ac_try) 2>&5 7567 ac_status=$? 7568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7569 (exit $ac_status); }; } && 7570 { ac_try='test -s conftest.$ac_objext' 7571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7572 (eval $ac_try) 2>&5 7573 ac_status=$? 7574 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7575 (exit $ac_status); }; }; then 8561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8562 (exit $ac_status); } && { 8563 test -z "$ac_cxx_werror_flag" || 8564 test ! -s conftest.err 8565 } && test -s conftest.$ac_objext; then 7576 8566 success="yes" 7577 8567 else 7578 echo "$as_me: failed program was:" >&58568 $as_echo "$as_me: failed program was:" >&5 7579 8569 sed 's/^/| /' conftest.$ac_ext >&5 7580 8570 7581 fi 7582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8571 8572 fi 8573 8574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7583 8575 fi 7584 8576 7585 8577 if test $success = yes; then 7586 echo "$as_me:$LINENO: result: \"no\"" >&57587 echo "${ECHO_T}\"no\"" >&6 7588 else 7589 echo "$as_me:$LINENO: result: \"yes\"" >&57590 echo "${ECHO_T}\"yes\"" >&6 7591 { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&57592 echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}8578 { $as_echo "$as_me:$LINENO: result: \"no\"" >&5 8579 $as_echo "\"no\"" >&6; } 8580 else 8581 { $as_echo "$as_me:$LINENO: result: \"yes\"" >&5 8582 $as_echo "\"yes\"" >&6; } 8583 { { $as_echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5 8584 $as_echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;} 7593 8585 { (exit 1); exit 1; }; } 7594 8586 fi … … 7611 8603 7612 8604 # check for endianness 7613 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7614 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 8605 8606 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 8607 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 7615 8608 if test "${ac_cv_c_bigendian+set}" = set; then 7616 echo $ECHO_N "(cached) $ECHO_C" >&6 7617 else 7618 # See if sys/param.h defines the BYTE_ORDER macro. 7619 cat >conftest.$ac_ext <<_ACEOF 8609 $as_echo_n "(cached) " >&6 8610 else 8611 ac_cv_c_bigendian=unknown 8612 # See if we're dealing with a universal compiler. 8613 cat >conftest.$ac_ext <<_ACEOF 8614 /* confdefs.h. */ 8615 _ACEOF 8616 cat confdefs.h >>conftest.$ac_ext 8617 cat >>conftest.$ac_ext <<_ACEOF 8618 /* end confdefs.h. */ 8619 #ifndef __APPLE_CC__ 8620 not a universal capable compiler 8621 #endif 8622 typedef int dummy; 8623 8624 _ACEOF 8625 rm -f conftest.$ac_objext 8626 if { (ac_try="$ac_compile" 8627 case "(($ac_try" in 8628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8629 *) ac_try_echo=$ac_try;; 8630 esac 8631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8632 $as_echo "$ac_try_echo") >&5 8633 (eval "$ac_compile") 2>conftest.er1 8634 ac_status=$? 8635 grep -v '^ *+' conftest.er1 >conftest.err 8636 rm -f conftest.er1 8637 cat conftest.err >&5 8638 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8639 (exit $ac_status); } && { 8640 test -z "$ac_cxx_werror_flag" || 8641 test ! -s conftest.err 8642 } && test -s conftest.$ac_objext; then 8643 8644 # Check for potential -arch flags. It is not universal unless 8645 # there are some -arch flags. Note that *ppc* also matches 8646 # ppc64. This check is also rather less than ideal. 8647 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 8648 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 8649 esac 8650 else 8651 $as_echo "$as_me: failed program was:" >&5 8652 sed 's/^/| /' conftest.$ac_ext >&5 8653 8654 8655 fi 8656 8657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8658 if test $ac_cv_c_bigendian = unknown; then 8659 # See if sys/param.h defines the BYTE_ORDER macro. 8660 cat >conftest.$ac_ext <<_ACEOF 7620 8661 /* confdefs.h. */ 7621 8662 _ACEOF … … 7624 8665 /* end confdefs.h. */ 7625 8666 #include <sys/types.h> 7626 #include <sys/param.h>8667 #include <sys/param.h> 7627 8668 7628 8669 int 7629 8670 main () 7630 8671 { 7631 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 7632 bogus endian macros 7633 #endif 8672 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 8673 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 8674 && LITTLE_ENDIAN) 8675 bogus endian macros 8676 #endif 7634 8677 7635 8678 ; … … 7638 8681 _ACEOF 7639 8682 rm -f conftest.$ac_objext 7640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7641 (eval $ac_compile) 2>conftest.er1 8683 if { (ac_try="$ac_compile" 8684 case "(($ac_try" in 8685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8686 *) ac_try_echo=$ac_try;; 8687 esac 8688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8689 $as_echo "$ac_try_echo") >&5 8690 (eval "$ac_compile") 2>conftest.er1 7642 8691 ac_status=$? 7643 8692 grep -v '^ *+' conftest.er1 >conftest.err 7644 8693 rm -f conftest.er1 7645 8694 cat conftest.err >&5 7646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7647 (exit $ac_status); } && 7648 { ac_try='test -z "$ac_cxx_werror_flag" 7649 || test ! -s conftest.err' 7650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7651 (eval $ac_try) 2>&5 7652 ac_status=$? 7653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7654 (exit $ac_status); }; } && 7655 { ac_try='test -s conftest.$ac_objext' 7656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7657 (eval $ac_try) 2>&5 7658 ac_status=$? 7659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7660 (exit $ac_status); }; }; then 8695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8696 (exit $ac_status); } && { 8697 test -z "$ac_cxx_werror_flag" || 8698 test ! -s conftest.err 8699 } && test -s conftest.$ac_objext; then 7661 8700 # It does; now see whether it defined to BIG_ENDIAN or not. 7662 cat >conftest.$ac_ext <<_ACEOF8701 cat >conftest.$ac_ext <<_ACEOF 7663 8702 /* confdefs.h. */ 7664 8703 _ACEOF … … 7667 8706 /* end confdefs.h. */ 7668 8707 #include <sys/types.h> 7669 #include <sys/param.h>8708 #include <sys/param.h> 7670 8709 7671 8710 int … … 7673 8712 { 7674 8713 #if BYTE_ORDER != BIG_ENDIAN 7675 not big endian7676 #endif8714 not big endian 8715 #endif 7677 8716 7678 8717 ; … … 7681 8720 _ACEOF 7682 8721 rm -f conftest.$ac_objext 7683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7684 (eval $ac_compile) 2>conftest.er1 8722 if { (ac_try="$ac_compile" 8723 case "(($ac_try" in 8724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8725 *) ac_try_echo=$ac_try;; 8726 esac 8727 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8728 $as_echo "$ac_try_echo") >&5 8729 (eval "$ac_compile") 2>conftest.er1 7685 8730 ac_status=$? 7686 8731 grep -v '^ *+' conftest.er1 >conftest.err 7687 8732 rm -f conftest.er1 7688 8733 cat conftest.err >&5 7689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7690 (exit $ac_status); } && 7691 { ac_try='test -z "$ac_cxx_werror_flag" 7692 || test ! -s conftest.err' 7693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7694 (eval $ac_try) 2>&5 7695 ac_status=$? 7696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7697 (exit $ac_status); }; } && 7698 { ac_try='test -s conftest.$ac_objext' 7699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7700 (eval $ac_try) 2>&5 7701 ac_status=$? 7702 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7703 (exit $ac_status); }; }; then 8734 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8735 (exit $ac_status); } && { 8736 test -z "$ac_cxx_werror_flag" || 8737 test ! -s conftest.err 8738 } && test -s conftest.$ac_objext; then 7704 8739 ac_cv_c_bigendian=yes 7705 8740 else 7706 echo "$as_me: failed program was:" >&58741 $as_echo "$as_me: failed program was:" >&5 7707 8742 sed 's/^/| /' conftest.$ac_ext >&5 7708 8743 7709 ac_cv_c_bigendian=no 7710 fi 7711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7712 else 7713 echo "$as_me: failed program was:" >&5 8744 ac_cv_c_bigendian=no 8745 fi 8746 8747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8748 else 8749 $as_echo "$as_me: failed program was:" >&5 7714 8750 sed 's/^/| /' conftest.$ac_ext >&5 7715 8751 7716 # It does not; compile a test program. 7717 if test "$cross_compiling" = yes; then 7718 # try to guess the endianness by grepping values into an object file 7719 ac_cv_c_bigendian=unknown 7720 cat >conftest.$ac_ext <<_ACEOF 8752 8753 fi 8754 8755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8756 fi 8757 if test $ac_cv_c_bigendian = unknown; then 8758 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 8759 cat >conftest.$ac_ext <<_ACEOF 7721 8760 /* confdefs.h. */ 7722 8761 _ACEOF … … 7724 8763 cat >>conftest.$ac_ext <<_ACEOF 7725 8764 /* end confdefs.h. */ 7726 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 7727 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 7728 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 7729 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 7730 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 7731 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 8765 #include <limits.h> 8766 7732 8767 int 7733 8768 main () 7734 8769 { 7735 _ascii (); _ebcdic (); 8770 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 8771 bogus endian macros 8772 #endif 8773 7736 8774 ; 7737 8775 return 0; … … 7739 8777 _ACEOF 7740 8778 rm -f conftest.$ac_objext 7741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7742 (eval $ac_compile) 2>conftest.er1 8779 if { (ac_try="$ac_compile" 8780 case "(($ac_try" in 8781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8782 *) ac_try_echo=$ac_try;; 8783 esac 8784 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8785 $as_echo "$ac_try_echo") >&5 8786 (eval "$ac_compile") 2>conftest.er1 7743 8787 ac_status=$? 7744 8788 grep -v '^ *+' conftest.er1 >conftest.err 7745 8789 rm -f conftest.er1 7746 8790 cat conftest.err >&5 7747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7748 (exit $ac_status); } && 7749 { ac_try='test -z "$ac_cxx_werror_flag" 7750 || test ! -s conftest.err' 7751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7752 (eval $ac_try) 2>&5 7753 ac_status=$? 7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7755 (exit $ac_status); }; } && 7756 { ac_try='test -s conftest.$ac_objext' 7757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7758 (eval $ac_try) 2>&5 7759 ac_status=$? 7760 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7761 (exit $ac_status); }; }; then 7762 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 7763 ac_cv_c_bigendian=yes 7764 fi 7765 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 7766 if test "$ac_cv_c_bigendian" = unknown; then 7767 ac_cv_c_bigendian=no 7768 else 7769 # finding both strings is unlikely to happen, but who knows? 7770 ac_cv_c_bigendian=unknown 7771 fi 7772 fi 7773 else 7774 echo "$as_me: failed program was:" >&5 7775 sed 's/^/| /' conftest.$ac_ext >&5 7776 7777 fi 7778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7779 else 7780 cat >conftest.$ac_ext <<_ACEOF 8791 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8792 (exit $ac_status); } && { 8793 test -z "$ac_cxx_werror_flag" || 8794 test ! -s conftest.err 8795 } && test -s conftest.$ac_objext; then 8796 # It does; now see whether it defined to _BIG_ENDIAN or not. 8797 cat >conftest.$ac_ext <<_ACEOF 7781 8798 /* confdefs.h. */ 7782 8799 _ACEOF … … 7784 8801 cat >>conftest.$ac_ext <<_ACEOF 7785 8802 /* end confdefs.h. */ 8803 #include <limits.h> 8804 7786 8805 int 7787 8806 main () 7788 8807 { 7789 /* Are we little or big endian? From Harbison&Steele. */ 7790 union 7791 { 7792 long l; 7793 char c[sizeof (long)]; 7794 } u; 7795 u.l = 1; 7796 exit (u.c[sizeof (long) - 1] == 1); 8808 #ifndef _BIG_ENDIAN 8809 not big endian 8810 #endif 8811 8812 ; 8813 return 0; 7797 8814 } 7798 8815 _ACEOF 8816 rm -f conftest.$ac_objext 8817 if { (ac_try="$ac_compile" 8818 case "(($ac_try" in 8819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8820 *) ac_try_echo=$ac_try;; 8821 esac 8822 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8823 $as_echo "$ac_try_echo") >&5 8824 (eval "$ac_compile") 2>conftest.er1 8825 ac_status=$? 8826 grep -v '^ *+' conftest.er1 >conftest.err 8827 rm -f conftest.er1 8828 cat conftest.err >&5 8829 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8830 (exit $ac_status); } && { 8831 test -z "$ac_cxx_werror_flag" || 8832 test ! -s conftest.err 8833 } && test -s conftest.$ac_objext; then 8834 ac_cv_c_bigendian=yes 8835 else 8836 $as_echo "$as_me: failed program was:" >&5 8837 sed 's/^/| /' conftest.$ac_ext >&5 8838 8839 ac_cv_c_bigendian=no 8840 fi 8841 8842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8843 else 8844 $as_echo "$as_me: failed program was:" >&5 8845 sed 's/^/| /' conftest.$ac_ext >&5 8846 8847 8848 fi 8849 8850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8851 fi 8852 if test $ac_cv_c_bigendian = unknown; then 8853 # Compile a test program. 8854 if test "$cross_compiling" = yes; then 8855 # Try to guess by grepping values from an object file. 8856 cat >conftest.$ac_ext <<_ACEOF 8857 /* confdefs.h. */ 8858 _ACEOF 8859 cat confdefs.h >>conftest.$ac_ext 8860 cat >>conftest.$ac_ext <<_ACEOF 8861 /* end confdefs.h. */ 8862 short int ascii_mm[] = 8863 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 8864 short int ascii_ii[] = 8865 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 8866 int use_ascii (int i) { 8867 return ascii_mm[i] + ascii_ii[i]; 8868 } 8869 short int ebcdic_ii[] = 8870 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 8871 short int ebcdic_mm[] = 8872 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 8873 int use_ebcdic (int i) { 8874 return ebcdic_mm[i] + ebcdic_ii[i]; 8875 } 8876 extern int foo; 8877 8878 int 8879 main () 8880 { 8881 return use_ascii (foo) == use_ebcdic (foo); 8882 ; 8883 return 0; 8884 } 8885 _ACEOF 8886 rm -f conftest.$ac_objext 8887 if { (ac_try="$ac_compile" 8888 case "(($ac_try" in 8889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8890 *) ac_try_echo=$ac_try;; 8891 esac 8892 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8893 $as_echo "$ac_try_echo") >&5 8894 (eval "$ac_compile") 2>conftest.er1 8895 ac_status=$? 8896 grep -v '^ *+' conftest.er1 >conftest.err 8897 rm -f conftest.er1 8898 cat conftest.err >&5 8899 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8900 (exit $ac_status); } && { 8901 test -z "$ac_cxx_werror_flag" || 8902 test ! -s conftest.err 8903 } && test -s conftest.$ac_objext; then 8904 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 8905 ac_cv_c_bigendian=yes 8906 fi 8907 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 8908 if test "$ac_cv_c_bigendian" = unknown; then 8909 ac_cv_c_bigendian=no 8910 else 8911 # finding both strings is unlikely to happen, but who knows? 8912 ac_cv_c_bigendian=unknown 8913 fi 8914 fi 8915 else 8916 $as_echo "$as_me: failed program was:" >&5 8917 sed 's/^/| /' conftest.$ac_ext >&5 8918 8919 8920 fi 8921 8922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8923 else 8924 cat >conftest.$ac_ext <<_ACEOF 8925 /* confdefs.h. */ 8926 _ACEOF 8927 cat confdefs.h >>conftest.$ac_ext 8928 cat >>conftest.$ac_ext <<_ACEOF 8929 /* end confdefs.h. */ 8930 $ac_includes_default 8931 int 8932 main () 8933 { 8934 8935 /* Are we little or big endian? From Harbison&Steele. */ 8936 union 8937 { 8938 long int l; 8939 char c[sizeof (long int)]; 8940 } u; 8941 u.l = 1; 8942 return u.c[sizeof (long int) - 1] == 1; 8943 8944 ; 8945 return 0; 8946 } 8947 _ACEOF 7799 8948 rm -f conftest$ac_exeext 7800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7801 (eval $ac_link) 2>&5 8949 if { (ac_try="$ac_link" 8950 case "(($ac_try" in 8951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8952 *) ac_try_echo=$ac_try;; 8953 esac 8954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8955 $as_echo "$ac_try_echo") >&5 8956 (eval "$ac_link") 2>&5 7802 8957 ac_status=$? 7803 echo "$as_me:$LINENO: \$? = $ac_status" >&58958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7804 8959 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7806 (eval $ac_try) 2>&5 8960 { (case "(($ac_try" in 8961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8962 *) ac_try_echo=$ac_try;; 8963 esac 8964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8965 $as_echo "$ac_try_echo") >&5 8966 (eval "$ac_try") 2>&5 7807 8967 ac_status=$? 7808 echo "$as_me:$LINENO: \$? = $ac_status" >&58968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7809 8969 (exit $ac_status); }; }; then 7810 8970 ac_cv_c_bigendian=no 7811 8971 else 7812 echo "$as_me: program exited with status $ac_status" >&57813 echo "$as_me: failed program was:" >&58972 $as_echo "$as_me: program exited with status $ac_status" >&5 8973 $as_echo "$as_me: failed program was:" >&5 7814 8974 sed 's/^/| /' conftest.$ac_ext >&5 7815 8975 … … 7817 8977 ac_cv_c_bigendian=yes 7818 8978 fi 7819 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7820 fi 7821 fi 7822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7823 fi 7824 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7825 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 7826 case $ac_cv_c_bigendian in 7827 yes) 8979 rm -rf conftest.dSYM 8980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8981 fi 8982 8983 8984 fi 8985 fi 8986 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 8987 $as_echo "$ac_cv_c_bigendian" >&6; } 8988 case $ac_cv_c_bigendian in #( 8989 yes) 8990 cat >>confdefs.h <<\_ACEOF 8991 #define WORDS_BIGENDIAN 1 8992 _ACEOF 8993 ;; #( 8994 no) 8995 ;; #( 8996 universal) 7828 8997 7829 8998 cat >>confdefs.h <<\_ACEOF 7830 #define WORDS_BIGENDIAN 1 7831 _ACEOF 7832 ;; 7833 no) 7834 ;; 7835 *) 7836 { { echo "$as_me:$LINENO: error: unknown endianness 7837 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 7838 echo "$as_me: error: unknown endianness 7839 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 8999 #define AC_APPLE_UNIVERSAL_BUILD 1 9000 _ACEOF 9001 9002 ;; #( 9003 *) 9004 { { $as_echo "$as_me:$LINENO: error: unknown endianness 9005 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 9006 $as_echo "$as_me: error: unknown endianness 9007 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 7840 9008 { (exit 1); exit 1; }; } ;; 7841 esac9009 esac 7842 9010 7843 9011 # --------------------------------------------------------------------------- 7844 9012 if test "$ac_cv_func_alloca" = 'no'; then 7845 case $LIBOBJS in 7846 "xmalloc.o.$ac_objext" | \ 7847 *" xmalloc.o.$ac_objext" | \ 7848 "xmalloc.o.$ac_objext "* | \ 9013 case " $LIBOBJS " in 7849 9014 *" xmalloc.o.$ac_objext "* ) ;; 7850 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;; 7851 esac 7852 7853 case $LIBOBJS in 7854 "error.$ac_objext" | \ 7855 *" error.$ac_objext" | \ 7856 "error.$ac_objext "* | \ 9015 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" 9016 ;; 9017 esac 9018 9019 case " $LIBOBJS " in 7857 9020 *" error.$ac_objext "* ) ;; 7858 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 9021 *) LIBOBJS="$LIBOBJS error.$ac_objext" 9022 ;; 7859 9023 esac 7860 9024 … … 7896 9060 src/java/org/nzdl/gsdl/Phind/Makefile" 7897 9061 7898 ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs" 9062 ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs" 9063 7899 9064 cat >confcache <<\_ACEOF 7900 9065 # This file is a shell script that caches the results of configure … … 7915 9080 # The following way of writing the cache mishandles newlines in values, 7916 9081 # but we know of no workaround that is simple, portable, and efficient. 7917 # So, don't put newlines in cache variables' values.9082 # So, we kill variables containing newlines. 7918 9083 # Ultrix sh set writes to stderr and can't be redirected directly, 7919 9084 # and sets the high bit in the cache file unless we assign to the vars. 7920 { 9085 ( 9086 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 9087 eval ac_val=\$$ac_var 9088 case $ac_val in #( 9089 *${as_nl}*) 9090 case $ac_var in #( 9091 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 9092 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 9093 esac 9094 case $ac_var in #( 9095 _ | IFS | as_nl) ;; #( 9096 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9097 *) $as_unset $ac_var ;; 9098 esac ;; 9099 esac 9100 done 9101 7921 9102 (set) 2>&1 | 7922 case `(ac_space=' '; set | grep ac_space) 2>&1` in7923 * ac_space=\ *)9103 case $as_nl`(ac_space=' '; set) 2>&1` in #( 9104 *${as_nl}ac_space=\ *) 7924 9105 # `set' does not quote correctly, so add quotes (double-quote 7925 9106 # substitution turns \\\\ into \\, and sed turns \\ into \). … … 7927 9108 "s/'/'\\\\''/g; 7928 9109 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7929 ;; 9110 ;; #( 7930 9111 *) 7931 9112 # `set' quotes correctly as required by POSIX, so do not add quotes. 7932 sed -n \ 7933 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 9113 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7934 9114 ;; 7935 esac; 7936 } | 9115 esac | 9116 sort 9117 ) | 7937 9118 sed ' 9119 /^ac_cv_env_/b end 7938 9120 t clear 7939 : 9121 :clear 7940 9122 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7941 9123 t end 7942 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7943 : end' >>confcache 7944 if diff $cache_file confcache >/dev/null 2>&1; then :; else 7945 if test -w $cache_file; then 7946 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 9124 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 9125 :end' >>confcache 9126 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 9127 if test -w "$cache_file"; then 9128 test "x$cache_file" != "x/dev/null" && 9129 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 9130 $as_echo "$as_me: updating cache $cache_file" >&6;} 7947 9131 cat confcache >$cache_file 7948 9132 else 7949 echo "not updating unwritable cache $cache_file" 9133 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 9134 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7950 9135 fi 7951 9136 fi … … 7955 9140 # Let make expand exec_prefix. 7956 9141 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7957 7958 # VPATH may cause trouble with some makes, so we remove $(srcdir),7959 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and7960 # trailing colons and then remove the whole line if VPATH becomes empty7961 # (actually we leave an empty line to preserve line numbers).7962 if test "x$srcdir" = x.; then7963 ac_vpsub='/^[ ]*VPATH[ ]*=/{7964 s/:*\$(srcdir):*/:/;7965 s/:*\${srcdir}:*/:/;7966 s/:*@srcdir@:*/:/;7967 s/^\([^=]*=[ ]*\):*/\1/;7968 s/:*$//;7969 s/^[^=]*=[ ]*$//;7970 }'7971 fi7972 9142 7973 9143 DEFS=-DHAVE_CONFIG_H … … 7977 9147 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7978 9148 # 1. Remove the extension, and $U if already installed. 7979 ac_i=`echo "$ac_i" | 7980 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 7981 # 2. Add them. 7982 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 7983 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 9149 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 9150 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 9151 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 9152 # will be set to the directory where LIBOBJS objects are built. 9153 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9154 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 7984 9155 done 7985 9156 LIBOBJS=$ac_libobjs … … 7989 9160 7990 9161 9162 7991 9163 : ${CONFIG_STATUS=./config.status} 9164 ac_write_fail=0 7992 9165 ac_clean_files_save=$ac_clean_files 7993 9166 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 7994 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&57995 echo "$as_me: creating $CONFIG_STATUS" >&6;}7996 cat >$CONFIG_STATUS <<_ACEOF 9167 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 9168 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9169 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7997 9170 #! $SHELL 7998 9171 # Generated by $as_me. … … 8007 9180 _ACEOF 8008 9181 8009 cat >>$CONFIG_STATUS <<\_ACEOF 9182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8010 9183 ## --------------------- ## 8011 9184 ## M4sh Initialization. ## 8012 9185 ## --------------------- ## 8013 9186 8014 # Be Bourne compatible 9187 # Be more Bourne compatible 9188 DUALCASE=1; export DUALCASE # for MKS sh 8015 9189 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 8016 9190 emulate sh 8017 9191 NULLCMD=: 8018 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which9192 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 8019 9193 # is contrary to our usage. Disable this feature. 8020 9194 alias -g '${1+"$@"}'='"$@"' 8021 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 8022 set -o posix 8023 fi 8024 DUALCASE=1; export DUALCASE # for MKS sh 8025 8026 # Support unset when possible. 8027 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8028 as_unset=unset 8029 else 8030 as_unset=false 8031 fi 8032 8033 8034 # Work around bugs in pre-3.0 UWIN ksh. 8035 $as_unset ENV MAIL MAILPATH 8036 PS1='$ ' 8037 PS2='> ' 8038 PS4='+ ' 8039 8040 # NLS nuisances. 8041 for as_var in \ 8042 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 8043 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 8044 LC_TELEPHONE LC_TIME 8045 do 8046 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 8047 eval $as_var=C; export $as_var 8048 else 8049 $as_unset $as_var 8050 fi 8051 done 8052 8053 # Required to use basename. 8054 if expr a : '\(a\)' >/dev/null 2>&1; then 8055 as_expr=expr 8056 else 8057 as_expr=false 8058 fi 8059 8060 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 8061 as_basename=basename 8062 else 8063 as_basename=false 8064 fi 8065 8066 8067 # Name of the executable. 8068 as_me=`$as_basename "$0" || 8069 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8070 X"$0" : 'X\(//\)$' \| \ 8071 X"$0" : 'X\(/\)$' \| \ 8072 . : '\(.\)' 2>/dev/null || 8073 echo X/"$0" | 8074 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 8075 /^X\/\(\/\/\)$/{ s//\1/; q; } 8076 /^X\/\(\/\).*/{ s//\1/; q; } 8077 s/.*/./; q'` 8078 8079 8080 # PATH needs CR, and LINENO needs CR and PATH. 9195 setopt NO_GLOB_SUBST 9196 else 9197 case `(set -o) 2>/dev/null` in 9198 *posix*) set -o posix ;; 9199 esac 9200 9201 fi 9202 9203 9204 9205 9206 # PATH needs CR 8081 9207 # Avoid depending upon Character Ranges. 8082 9208 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 8086 9212 as_cr_alnum=$as_cr_Letters$as_cr_digits 8087 9213 9214 as_nl=' 9215 ' 9216 export as_nl 9217 # Printing a long string crashes Solaris 7 /usr/bin/printf. 9218 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 9219 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9220 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9221 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9222 as_echo='printf %s\n' 9223 as_echo_n='printf %s' 9224 else 9225 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 9226 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 9227 as_echo_n='/usr/ucb/echo -n' 9228 else 9229 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 9230 as_echo_n_body='eval 9231 arg=$1; 9232 case $arg in 9233 *"$as_nl"*) 9234 expr "X$arg" : "X\\(.*\\)$as_nl"; 9235 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 9236 esac; 9237 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 9238 ' 9239 export as_echo_n_body 9240 as_echo_n='sh -c $as_echo_n_body as_echo' 9241 fi 9242 export as_echo_body 9243 as_echo='sh -c $as_echo_body as_echo' 9244 fi 9245 8088 9246 # The user is always right. 8089 9247 if test "${PATH_SEPARATOR+set}" != set; then 8090 echo "#! /bin/sh" >conf$$.sh 8091 echo "exit 0" >>conf$$.sh 8092 chmod +x conf$$.sh 8093 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 8094 PATH_SEPARATOR=';' 8095 else 8096 PATH_SEPARATOR=: 8097 fi 8098 rm -f conf$$.sh 8099 fi 8100 8101 8102 as_lineno_1=$LINENO 8103 as_lineno_2=$LINENO 8104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8105 test "x$as_lineno_1" != "x$as_lineno_2" && 8106 test "x$as_lineno_3" = "x$as_lineno_2" || { 8107 # Find who we are. Look in the path if we contain no path at all 8108 # relative or not. 8109 case $0 in 8110 *[\\/]* ) as_myself=$0 ;; 8111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9248 PATH_SEPARATOR=: 9249 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 9250 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 9251 PATH_SEPARATOR=';' 9252 } 9253 fi 9254 9255 # Support unset when possible. 9256 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 9257 as_unset=unset 9258 else 9259 as_unset=false 9260 fi 9261 9262 9263 # IFS 9264 # We need space, tab and new line, in precisely that order. Quoting is 9265 # there to prevent editors from complaining about space-tab. 9266 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 9267 # splitting by setting IFS to empty value.) 9268 IFS=" "" $as_nl" 9269 9270 # Find who we are. Look in the path if we contain no directory separator. 9271 case $0 in 9272 *[\\/]* ) as_myself=$0 ;; 9273 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8112 9274 for as_dir in $PATH 8113 9275 do … … 8116 9278 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8117 9279 done 8118 8119 ;; 8120 esac 8121 # We did not find ourselves, most probably we were run as `sh COMMAND' 8122 # in which case we are not to be found in the path. 8123 if test "x$as_myself" = x; then 8124 as_myself=$0 8125 fi 8126 if test ! -f "$as_myself"; then 8127 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 8128 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 8129 { (exit 1); exit 1; }; } 8130 fi 8131 case $CONFIG_SHELL in 8132 '') 8133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 8135 do 8136 IFS=$as_save_IFS 8137 test -z "$as_dir" && as_dir=. 8138 for as_base in sh bash ksh sh5; do 8139 case $as_dir in 8140 /*) 8141 if ("$as_dir/$as_base" -c ' 9280 IFS=$as_save_IFS 9281 9282 ;; 9283 esac 9284 # We did not find ourselves, most probably we were run as `sh COMMAND' 9285 # in which case we are not to be found in the path. 9286 if test "x$as_myself" = x; then 9287 as_myself=$0 9288 fi 9289 if test ! -f "$as_myself"; then 9290 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9291 { (exit 1); exit 1; } 9292 fi 9293 9294 # Work around bugs in pre-3.0 UWIN ksh. 9295 for as_var in ENV MAIL MAILPATH 9296 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9297 done 9298 PS1='$ ' 9299 PS2='> ' 9300 PS4='+ ' 9301 9302 # NLS nuisances. 9303 LC_ALL=C 9304 export LC_ALL 9305 LANGUAGE=C 9306 export LANGUAGE 9307 9308 # Required to use basename. 9309 if expr a : '\(a\)' >/dev/null 2>&1 && 9310 test "X`expr 00001 : '.*\(...\)'`" = X001; then 9311 as_expr=expr 9312 else 9313 as_expr=false 9314 fi 9315 9316 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 9317 as_basename=basename 9318 else 9319 as_basename=false 9320 fi 9321 9322 9323 # Name of the executable. 9324 as_me=`$as_basename -- "$0" || 9325 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 9326 X"$0" : 'X\(//\)$' \| \ 9327 X"$0" : 'X\(/\)' \| . 2>/dev/null || 9328 $as_echo X/"$0" | 9329 sed '/^.*\/\([^/][^/]*\)\/*$/{ 9330 s//\1/ 9331 q 9332 } 9333 /^X\/\(\/\/\)$/{ 9334 s//\1/ 9335 q 9336 } 9337 /^X\/\(\/\).*/{ 9338 s//\1/ 9339 q 9340 } 9341 s/.*/./; q'` 9342 9343 # CDPATH. 9344 $as_unset CDPATH 9345 9346 9347 8142 9348 as_lineno_1=$LINENO 8143 9349 as_lineno_2=$LINENO 8144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`8145 9350 test "x$as_lineno_1" != "x$as_lineno_2" && 8146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 8147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 8148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 8149 CONFIG_SHELL=$as_dir/$as_base 8150 export CONFIG_SHELL 8151 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 8152 fi;; 8153 esac 8154 done 8155 done 8156 ;; 8157 esac 9351 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 8158 9352 8159 9353 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 8160 9354 # uniformly replaced by the line number. The first 'sed' inserts a 8161 # line-number line before each line; the second 'sed' does the real 8162 # work. The second script uses 'N' to pair each line-number line 8163 # with the numbered line, and appends trailing '-' during 8164 # substitution so that $LINENO is not a special case at line end. 9355 # line-number line after each line using $LINENO; the second 'sed' 9356 # does the real work. The second script uses 'N' to pair each 9357 # line-number line with the line containing $LINENO, and appends 9358 # trailing '-' during substitution so that $LINENO is not a special 9359 # case at line end. 8165 9360 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 8166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 8167 sed '=' <$as_myself | 9361 # scripts with optimization help from Paolo Bonzini. Blame Lee 9362 # E. McMahon (1931-1989) for sed's syntax. :-) 9363 sed -n ' 9364 p 9365 /[$]LINENO/= 9366 ' <$as_myself | 8168 9367 sed ' 9368 s/[$]LINENO.*/&-/ 9369 t lineno 9370 b 9371 :lineno 8169 9372 N 8170 s,$,-, 8171 : loop 8172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 9373 :loop 9374 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 8173 9375 t loop 8174 s,-$,, 8175 s,^['$as_cr_digits']*\n,, 9376 s/-\n.*// 8176 9377 ' >$as_me.lineno && 8177 chmod +x $as_me.lineno || 8178 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 8179 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 9378 chmod +x "$as_me.lineno" || 9379 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 8180 9380 { (exit 1); exit 1; }; } 8181 9381 8182 9382 # Don't try to exec as it changes $[0], causing all sort of problems 8183 9383 # (the dirname of $[0] is not the place where we might find the 8184 # original and so on. Autoconf is especially sensi ble to this).8185 . ./$as_me.lineno9384 # original and so on. Autoconf is especially sensitive to this). 9385 . "./$as_me.lineno" 8186 9386 # Exit status is that of the last command. 8187 9387 exit … … 8189 9389 8190 9390 8191 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 8192 *c*,-n*) ECHO_N= ECHO_C=' 8193 ' ECHO_T=' ' ;; 8194 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 8195 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 8196 esac 8197 8198 if expr a : '\(a\)' >/dev/null 2>&1; then 9391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9392 as_dirname=dirname 9393 else 9394 as_dirname=false 9395 fi 9396 9397 ECHO_C= ECHO_N= ECHO_T= 9398 case `echo -n x` in 9399 -n*) 9400 case `echo 'x\c'` in 9401 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 9402 *) ECHO_C='\c';; 9403 esac;; 9404 *) 9405 ECHO_N='-n';; 9406 esac 9407 if expr a : '\(a\)' >/dev/null 2>&1 && 9408 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8199 9409 as_expr=expr 8200 9410 else … … 8203 9413 8204 9414 rm -f conf$$ conf$$.exe conf$$.file 8205 echo >conf$$.file 8206 if ln -s conf$$.file conf$$ 2>/dev/null; then 8207 # We could just check for DJGPP; but this test a) works b) is more generic 8208 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 8209 if test -f conf$$.exe; then 8210 # Don't use ln at all; we don't have any links 9415 if test -d conf$$.dir; then 9416 rm -f conf$$.dir/conf$$.file 9417 else 9418 rm -f conf$$.dir 9419 mkdir conf$$.dir 2>/dev/null 9420 fi 9421 if (echo >conf$$.file) 2>/dev/null; then 9422 if ln -s conf$$.file conf$$ 2>/dev/null; then 9423 as_ln_s='ln -s' 9424 # ... but there are two gotchas: 9425 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 9426 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 9427 # In both cases, we have to default to `cp -p'. 9428 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9429 as_ln_s='cp -p' 9430 elif ln conf$$.file conf$$ 2>/dev/null; then 9431 as_ln_s=ln 9432 else 8211 9433 as_ln_s='cp -p' 8212 else8213 as_ln_s='ln -s'8214 9434 fi 8215 elif ln conf$$.file conf$$ 2>/dev/null; then8216 as_ln_s=ln8217 9435 else 8218 9436 as_ln_s='cp -p' 8219 9437 fi 8220 rm -f conf$$ conf$$.exe conf$$.file 9438 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 9439 rmdir conf$$.dir 2>/dev/null 8221 9440 8222 9441 if mkdir -p . 2>/dev/null; then … … 8227 9446 fi 8228 9447 8229 as_executable_p="test -f" 9448 if test -x / >/dev/null 2>&1; then 9449 as_test_x='test -x' 9450 else 9451 if ls -dL / >/dev/null 2>&1; then 9452 as_ls_L_option=L 9453 else 9454 as_ls_L_option= 9455 fi 9456 as_test_x=' 9457 eval sh -c '\'' 9458 if test -d "$1"; then 9459 test -d "$1/."; 9460 else 9461 case $1 in 9462 -*)set "./$1";; 9463 esac; 9464 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 9465 ???[sx]*):;;*)false;;esac;fi 9466 '\'' sh 9467 ' 9468 fi 9469 as_executable_p=$as_test_x 8230 9470 8231 9471 # Sed expression to map a string onto a valid CPP name. … … 8236 9476 8237 9477 8238 # IFS8239 # We need space, tab and new line, in precisely that order.8240 as_nl='8241 '8242 IFS=" $as_nl"8243 8244 # CDPATH.8245 $as_unset CDPATH8246 8247 9478 exec 6>&1 8248 9479 8249 # Open the log real soon, to keep \$[0] and so on meaningful, and to9480 # Save the log message, to keep $[0] and so on meaningful, and to 8250 9481 # report actual input values of CONFIG_FILES etc. instead of their 8251 # values after options handling. Logging --version etc. is OK. 9482 # values after options handling. 9483 ac_log=" 9484 This file was extended by $as_me, which was 9485 generated by GNU Autoconf 2.63. Invocation command line was 9486 9487 CONFIG_FILES = $CONFIG_FILES 9488 CONFIG_HEADERS = $CONFIG_HEADERS 9489 CONFIG_LINKS = $CONFIG_LINKS 9490 CONFIG_COMMANDS = $CONFIG_COMMANDS 9491 $ $0 $@ 9492 9493 on `(hostname || uname -n) 2>/dev/null | sed 1q` 9494 " 9495 9496 _ACEOF 9497 9498 case $ac_config_files in *" 9499 "*) set x $ac_config_files; shift; ac_config_files=$*;; 9500 esac 9501 9502 case $ac_config_headers in *" 9503 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 9504 esac 9505 9506 9507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9508 # Files that config.status was made for. 9509 config_files="$ac_config_files" 9510 config_headers="$ac_config_headers" 9511 9512 _ACEOF 9513 9514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9515 ac_cs_usage="\ 9516 \`$as_me' instantiates files from templates according to the 9517 current configuration. 9518 9519 Usage: $0 [OPTION]... [FILE]... 9520 9521 -h, --help print this help, then exit 9522 -V, --version print version number and configuration settings, then exit 9523 -q, --quiet, --silent 9524 do not print progress messages 9525 -d, --debug don't remove temporary files 9526 --recheck update $as_me by reconfiguring in the same conditions 9527 --file=FILE[:TEMPLATE] 9528 instantiate the configuration file FILE 9529 --header=FILE[:TEMPLATE] 9530 instantiate the configuration header FILE 9531 9532 Configuration files: 9533 $config_files 9534 9535 Configuration headers: 9536 $config_headers 9537 9538 Report bugs to <[email protected]>." 9539 9540 _ACEOF 9541 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9542 ac_cs_version="\\ 9543 config.status 9544 configured by $0, generated by GNU Autoconf 2.63, 9545 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 9546 9547 Copyright (C) 2008 Free Software Foundation, Inc. 9548 This config.status script is free software; the Free Software Foundation 9549 gives unlimited permission to copy, distribute and modify it." 9550 9551 ac_pwd='$ac_pwd' 9552 srcdir='$srcdir' 9553 INSTALL='$INSTALL' 9554 AWK='$AWK' 9555 test -n "\$AWK" || AWK=awk 9556 _ACEOF 9557 9558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9559 # The default lists apply if the user does not specify any file. 9560 ac_need_defaults=: 9561 while test $# != 0 9562 do 9563 case $1 in 9564 --*=*) 9565 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9566 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9567 ac_shift=: 9568 ;; 9569 *) 9570 ac_option=$1 9571 ac_optarg=$2 9572 ac_shift=shift 9573 ;; 9574 esac 9575 9576 case $ac_option in 9577 # Handling of the options. 9578 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 9579 ac_cs_recheck=: ;; 9580 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9581 $as_echo "$ac_cs_version"; exit ;; 9582 --debug | --debu | --deb | --de | --d | -d ) 9583 debug=: ;; 9584 --file | --fil | --fi | --f ) 9585 $ac_shift 9586 case $ac_optarg in 9587 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9588 esac 9589 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 9590 ac_need_defaults=false;; 9591 --header | --heade | --head | --hea ) 9592 $ac_shift 9593 case $ac_optarg in 9594 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9595 esac 9596 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 9597 ac_need_defaults=false;; 9598 --he | --h) 9599 # Conflict between --help and --header 9600 { $as_echo "$as_me: error: ambiguous option: $1 9601 Try \`$0 --help' for more information." >&2 9602 { (exit 1); exit 1; }; };; 9603 --help | --hel | -h ) 9604 $as_echo "$ac_cs_usage"; exit ;; 9605 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9606 | -silent | --silent | --silen | --sile | --sil | --si | --s) 9607 ac_cs_silent=: ;; 9608 9609 # This is an error. 9610 -*) { $as_echo "$as_me: error: unrecognized option: $1 9611 Try \`$0 --help' for more information." >&2 9612 { (exit 1); exit 1; }; } ;; 9613 9614 *) ac_config_targets="$ac_config_targets $1" 9615 ac_need_defaults=false ;; 9616 9617 esac 9618 shift 9619 done 9620 9621 ac_configure_extra_args= 9622 9623 if $ac_cs_silent; then 9624 exec 6>/dev/null 9625 ac_configure_extra_args="$ac_configure_extra_args --silent" 9626 fi 9627 9628 _ACEOF 9629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9630 if \$ac_cs_recheck; then 9631 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9632 shift 9633 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 9634 CONFIG_SHELL='$SHELL' 9635 export CONFIG_SHELL 9636 exec "\$@" 9637 fi 9638 9639 _ACEOF 9640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8252 9641 exec 5>>config.log 8253 9642 { … … 8256 9645 ## Running $as_me. ## 8257 9646 _ASBOX 9647 $as_echo "$ac_log" 8258 9648 } >&5 8259 cat >&5 <<_CSEOF 8260 8261 This file was extended by $as_me, which was 8262 generated by GNU Autoconf 2.59. Invocation command line was 8263 8264 CONFIG_FILES = $CONFIG_FILES 8265 CONFIG_HEADERS = $CONFIG_HEADERS 8266 CONFIG_LINKS = $CONFIG_LINKS 8267 CONFIG_COMMANDS = $CONFIG_COMMANDS 8268 $ $0 $@ 8269 8270 _CSEOF 8271 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 8272 echo >&5 8273 _ACEOF 8274 8275 # Files that config.status was made for. 8276 if test -n "$ac_config_files"; then 8277 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 8278 fi 8279 8280 if test -n "$ac_config_headers"; then 8281 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 8282 fi 8283 8284 if test -n "$ac_config_links"; then 8285 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 8286 fi 8287 8288 if test -n "$ac_config_commands"; then 8289 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 8290 fi 8291 8292 cat >>$CONFIG_STATUS <<\_ACEOF 8293 8294 ac_cs_usage="\ 8295 \`$as_me' instantiates files from templates according to the 8296 current configuration. 8297 8298 Usage: $0 [OPTIONS] [FILE]... 8299 8300 -h, --help print this help, then exit 8301 -V, --version print version number, then exit 8302 -q, --quiet do not print progress messages 8303 -d, --debug don't remove temporary files 8304 --recheck update $as_me by reconfiguring in the same conditions 8305 --file=FILE[:TEMPLATE] 8306 instantiate the configuration file FILE 8307 --header=FILE[:TEMPLATE] 8308 instantiate the configuration header FILE 8309 8310 Configuration files: 8311 $config_files 8312 8313 Configuration headers: 8314 $config_headers 8315 8316 Report bugs to <[email protected]>." 8317 _ACEOF 8318 8319 cat >>$CONFIG_STATUS <<_ACEOF 8320 ac_cs_version="\\ 8321 config.status 8322 configured by $0, generated by GNU Autoconf 2.59, 8323 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 8324 8325 Copyright (C) 2003 Free Software Foundation, Inc. 8326 This config.status script is free software; the Free Software Foundation 8327 gives unlimited permission to copy, distribute and modify it." 8328 srcdir=$srcdir 8329 INSTALL="$INSTALL" 8330 _ACEOF 8331 8332 cat >>$CONFIG_STATUS <<\_ACEOF 8333 # If no file are specified by the user, then we need to provide default 8334 # value. By we need to know if files were specified by the user. 8335 ac_need_defaults=: 8336 while test $# != 0 8337 do 8338 case $1 in 8339 --*=*) 8340 ac_option=`expr "x$1" : 'x\([^=]*\)='` 8341 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 8342 ac_shift=: 8343 ;; 8344 -*) 8345 ac_option=$1 8346 ac_optarg=$2 8347 ac_shift=shift 8348 ;; 8349 *) # This is not an option, so the user has probably given explicit 8350 # arguments. 8351 ac_option=$1 8352 ac_need_defaults=false;; 8353 esac 8354 8355 case $ac_option in 8356 # Handling of the options. 8357 _ACEOF 8358 cat >>$CONFIG_STATUS <<\_ACEOF 8359 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8360 ac_cs_recheck=: ;; 8361 --version | --vers* | -V ) 8362 echo "$ac_cs_version"; exit 0 ;; 8363 --he | --h) 8364 # Conflict between --help and --header 8365 { { echo "$as_me:$LINENO: error: ambiguous option: $1 8366 Try \`$0 --help' for more information." >&5 8367 echo "$as_me: error: ambiguous option: $1 8368 Try \`$0 --help' for more information." >&2;} 8369 { (exit 1); exit 1; }; };; 8370 --help | --hel | -h ) 8371 echo "$ac_cs_usage"; exit 0 ;; 8372 --debug | --d* | -d ) 8373 debug=: ;; 8374 --file | --fil | --fi | --f ) 8375 $ac_shift 8376 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 8377 ac_need_defaults=false;; 8378 --header | --heade | --head | --hea ) 8379 $ac_shift 8380 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 8381 ac_need_defaults=false;; 8382 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8383 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8384 ac_cs_silent=: ;; 8385 8386 # This is an error. 8387 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 8388 Try \`$0 --help' for more information." >&5 8389 echo "$as_me: error: unrecognized option: $1 8390 Try \`$0 --help' for more information." >&2;} 8391 { (exit 1); exit 1; }; } ;; 8392 8393 *) ac_config_targets="$ac_config_targets $1" ;; 8394 8395 esac 8396 shift 8397 done 8398 8399 ac_configure_extra_args= 8400 8401 if $ac_cs_silent; then 8402 exec 6>/dev/null 8403 ac_configure_extra_args="$ac_configure_extra_args --silent" 8404 fi 8405 8406 _ACEOF 8407 cat >>$CONFIG_STATUS <<_ACEOF 8408 if \$ac_cs_recheck; then 8409 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8410 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8411 fi 8412 8413 _ACEOF 8414 8415 8416 8417 8418 8419 cat >>$CONFIG_STATUS <<\_ACEOF 9649 9650 _ACEOF 9651 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9652 _ACEOF 9653 9654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9655 9656 # Handling of arguments. 8420 9657 for ac_config_target in $ac_config_targets 8421 9658 do 8422 case "$ac_config_target"in8423 # Handling of arguments.8424 "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;8425 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;8426 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;8427 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;8428 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 8429 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&58430 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}9659 case $ac_config_target in 9660 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 9661 "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;; 9662 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 9663 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;; 9664 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 9665 9666 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 9667 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 8431 9668 { (exit 1); exit 1; }; };; 8432 9669 esac 8433 9670 done 9671 8434 9672 8435 9673 # If the user did not use the arguments to specify the items to instantiate, … … 8443 9681 8444 9682 # Have a temporary directory for convenience. Make it in the build tree 8445 # simply because there is no reason to putit here, and in addition,9683 # simply because there is no reason against having it here, and in addition, 8446 9684 # creating and moving files from /tmp can sometimes cause problems. 8447 # Create a temporary directory, and hook for its removal unless debugging. 9685 # Hook for its removal unless debugging. 9686 # Note that there is a small window in which the directory will not be cleaned: 9687 # after its creation but before its name has been assigned to `$tmp'. 8448 9688 $debug || 8449 9689 { 8450 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 9690 tmp= 9691 trap 'exit_status=$? 9692 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9693 ' 0 8451 9694 trap '{ (exit 1); exit 1; }' 1 2 13 15 8452 9695 } 8453 8454 9696 # Create a (secure) tmp directory for tmp files. 8455 9697 8456 9698 { 8457 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&9699 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8458 9700 test -n "$tmp" && test -d "$tmp" 8459 9701 } || 8460 9702 { 8461 tmp=./conf stat$$-$RANDOM8462 (umask 077 && mkdir $tmp)9703 tmp=./conf$$-$RANDOM 9704 (umask 077 && mkdir "$tmp") 8463 9705 } || 8464 9706 { 8465 echo "$me: cannot create a temporary directory in ." >&29707 $as_echo "$as_me: cannot create a temporary directory in ." >&2 8466 9708 { (exit 1); exit 1; } 8467 9709 } 8468 9710 8469 _ACEOF 8470 8471 cat >>$CONFIG_STATUS <<_ACEOF 8472 8473 # 8474 # CONFIG_FILES section. 8475 # 8476 8477 # No need to generate the scripts if there are no CONFIG_FILES. 8478 # This happens for instance when ./config.status config.h 8479 if test -n "\$CONFIG_FILES"; then 8480 # Protect against being on the right side of a sed subst in config.status. 8481 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 8482 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 8483 s,@SHELL@,$SHELL,;t t 8484 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 8485 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 8486 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 8487 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 8488 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 8489 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 8490 s,@exec_prefix@,$exec_prefix,;t t 8491 s,@prefix@,$prefix,;t t 8492 s,@program_transform_name@,$program_transform_name,;t t 8493 s,@bindir@,$bindir,;t t 8494 s,@sbindir@,$sbindir,;t t 8495 s,@libexecdir@,$libexecdir,;t t 8496 s,@datadir@,$datadir,;t t 8497 s,@sysconfdir@,$sysconfdir,;t t 8498 s,@sharedstatedir@,$sharedstatedir,;t t 8499 s,@localstatedir@,$localstatedir,;t t 8500 s,@libdir@,$libdir,;t t 8501 s,@includedir@,$includedir,;t t 8502 s,@oldincludedir@,$oldincludedir,;t t 8503 s,@infodir@,$infodir,;t t 8504 s,@mandir@,$mandir,;t t 8505 s,@build_alias@,$build_alias,;t t 8506 s,@host_alias@,$host_alias,;t t 8507 s,@target_alias@,$target_alias,;t t 8508 s,@DEFS@,$DEFS,;t t 8509 s,@ECHO_C@,$ECHO_C,;t t 8510 s,@ECHO_N@,$ECHO_N,;t t 8511 s,@ECHO_T@,$ECHO_T,;t t 8512 s,@LIBS@,$LIBS,;t t 8513 s,@PACKAGE@,$PACKAGE,;t t 8514 s,@VERSION@,$VERSION,;t t 8515 s,@USE_FASTCGI@,$USE_FASTCGI,;t t 8516 s,@USE_LANGACTION@,$USE_LANGACTION,;t t 8517 s,@USE_CORBA@,$USE_CORBA,;t t 8518 s,@MICO_DIR@,$MICO_DIR,;t t 8519 s,@USE_Z3950@,$USE_Z3950,;t t 8520 s,@USE_YAZ@,$USE_YAZ,;t t 8521 s,@ENABLE_JAVA@,$ENABLE_JAVA,;t t 8522 s,@USE_JDBM@,$USE_JDBM,;t t 8523 s,@USE_GDBM@,$USE_GDBM,;t t 8524 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 8525 s,@USE_SQLITE@,$USE_SQLITE,;t t 8526 s,@USE_RSS@,$USE_RSS,;t t 8527 s,@USE_APACHE_HTTPD@,$USE_APACHE_HTTPD,;t t 8528 s,@ENABLE_MG@,$ENABLE_MG,;t t 8529 s,@ENABLE_MGPP@,$ENABLE_MGPP,;t t 8530 s,@ENABLE_LUCENE@,$ENABLE_LUCENE,;t t 8531 s,@LDFLAGS@,$LDFLAGS,;t t 8532 s,@CFLAGS@,$CFLAGS,;t t 8533 s,@CC@,$CC,;t t 8534 s,@CPPFLAGS@,$CPPFLAGS,;t t 8535 s,@ac_ct_CC@,$ac_ct_CC,;t t 8536 s,@EXEEXT@,$EXEEXT,;t t 8537 s,@OBJEXT@,$OBJEXT,;t t 8538 s,@CXX@,$CXX,;t t 8539 s,@CXXFLAGS@,$CXXFLAGS,;t t 8540 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 8541 s,@JAVAC@,$JAVAC,;t t 8542 s,@JAVACFLAGS@,$JAVACFLAGS,;t t 8543 s,@JAVA@,$JAVA,;t t 8544 s,@uudecode@,$uudecode,;t t 8545 s,@AWK@,$AWK,;t t 8546 s,@YACC@,$YACC,;t t 8547 s,@build@,$build,;t t 8548 s,@build_cpu@,$build_cpu,;t t 8549 s,@build_vendor@,$build_vendor,;t t 8550 s,@build_os@,$build_os,;t t 8551 s,@host@,$host,;t t 8552 s,@host_cpu@,$host_cpu,;t t 8553 s,@host_vendor@,$host_vendor,;t t 8554 s,@host_os@,$host_os,;t t 8555 s,@target@,$target,;t t 8556 s,@target_cpu@,$target_cpu,;t t 8557 s,@target_vendor@,$target_vendor,;t t 8558 s,@target_os@,$target_os,;t t 8559 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 8560 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 8561 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 8562 s,@LN_S@,$LN_S,;t t 8563 s,@SET_MAKE@,$SET_MAKE,;t t 8564 s,@RANLIB@,$RANLIB,;t t 8565 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 8566 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 8567 s,@MICO_VER@,$MICO_VER,;t t 8568 s,@CPP@,$CPP,;t t 8569 s,@EGREP@,$EGREP,;t t 8570 s,@U@,$U,;t t 8571 s,@ANSI2KNR@,$ANSI2KNR,;t t 8572 s,@ALLOCA@,$ALLOCA,;t t 8573 s,@LIBOBJS@,$LIBOBJS,;t t 8574 s,@STATIC@,$STATIC,;t t 8575 s,@gsdlos@,$gsdlos,;t t 8576 s,@gsdlarch@,$gsdlarch,;t t 8577 s,@MODULEDIRS@,$MODULEDIRS,;t t 8578 s,@subdirs@,$subdirs,;t t 8579 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 8580 CEOF 8581 8582 _ACEOF 8583 8584 cat >>$CONFIG_STATUS <<\_ACEOF 8585 # Split the substitutions into bite-sized pieces for seds with 8586 # small command number limits, like on Digital OSF/1 and HP-UX. 8587 ac_max_sed_lines=48 8588 ac_sed_frag=1 # Number of current file. 8589 ac_beg=1 # First line for current file. 8590 ac_end=$ac_max_sed_lines # Line after last line for current file. 8591 ac_more_lines=: 8592 ac_sed_cmds= 8593 while $ac_more_lines; do 8594 if test $ac_beg -gt 1; then 8595 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8596 else 8597 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 9711 # Set up the scripts for CONFIG_FILES section. 9712 # No need to generate them if there are no CONFIG_FILES. 9713 # This happens for instance with `./config.status config.h'. 9714 if test -n "$CONFIG_FILES"; then 9715 9716 9717 ac_cr=' 9718 ' 9719 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 9720 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 9721 ac_cs_awk_cr='\\r' 9722 else 9723 ac_cs_awk_cr=$ac_cr 9724 fi 9725 9726 echo 'BEGIN {' >"$tmp/subs1.awk" && 9727 _ACEOF 9728 9729 9730 { 9731 echo "cat >conf$$subs.awk <<_ACEOF" && 9732 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 9733 echo "_ACEOF" 9734 } >conf$$subs.sh || 9735 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9736 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9737 { (exit 1); exit 1; }; } 9738 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 9739 ac_delim='%!_!# ' 9740 for ac_last_try in false false false false false :; do 9741 . ./conf$$subs.sh || 9742 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9743 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9744 { (exit 1); exit 1; }; } 9745 9746 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 9747 if test $ac_delim_n = $ac_delim_num; then 9748 break 9749 elif $ac_last_try; then 9750 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9751 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9752 { (exit 1); exit 1; }; } 9753 else 9754 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9755 fi 9756 done 9757 rm -f conf$$subs.sh 9758 9759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9760 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 9761 _ACEOF 9762 sed -n ' 9763 h 9764 s/^/S["/; s/!.*/"]=/ 9765 p 9766 g 9767 s/^[^!]*!// 9768 :repl 9769 t repl 9770 s/'"$ac_delim"'$// 9771 t delim 9772 :nl 9773 h 9774 s/\(.\{148\}\).*/\1/ 9775 t more1 9776 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 9777 p 9778 n 9779 b repl 9780 :more1 9781 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9782 p 9783 g 9784 s/.\{148\}// 9785 t nl 9786 :delim 9787 h 9788 s/\(.\{148\}\).*/\1/ 9789 t more2 9790 s/["\\]/\\&/g; s/^/"/; s/$/"/ 9791 p 9792 b 9793 :more2 9794 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9795 p 9796 g 9797 s/.\{148\}// 9798 t delim 9799 ' <conf$$subs.awk | sed ' 9800 /^[^""]/{ 9801 N 9802 s/\n// 9803 } 9804 ' >>$CONFIG_STATUS || ac_write_fail=1 9805 rm -f conf$$subs.awk 9806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9807 _ACAWK 9808 cat >>"\$tmp/subs1.awk" <<_ACAWK && 9809 for (key in S) S_is_set[key] = 1 9810 FS = "" 9811 9812 } 9813 { 9814 line = $ 0 9815 nfields = split(line, field, "@") 9816 substed = 0 9817 len = length(field[1]) 9818 for (i = 2; i < nfields; i++) { 9819 key = field[i] 9820 keylen = length(key) 9821 if (S_is_set[key]) { 9822 value = S[key] 9823 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 9824 len += length(value) + length(field[++i]) 9825 substed = 1 9826 } else 9827 len += 1 + keylen 9828 } 9829 9830 print line 9831 } 9832 9833 _ACAWK 9834 _ACEOF 9835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9836 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9837 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 9838 else 9839 cat 9840 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 9841 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 9842 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 9843 { (exit 1); exit 1; }; } 9844 _ACEOF 9845 9846 # VPATH may cause trouble with some makes, so we remove $(srcdir), 9847 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9848 # trailing colons and then remove the whole line if VPATH becomes empty 9849 # (actually we leave an empty line to preserve line numbers). 9850 if test "x$srcdir" = x.; then 9851 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 9852 s/:*\$(srcdir):*/:/ 9853 s/:*\${srcdir}:*/:/ 9854 s/:*@srcdir@:*/:/ 9855 s/^\([^=]*=[ ]*\):*/\1/ 9856 s/:*$// 9857 s/^[^=]*=[ ]*$// 9858 }' 9859 fi 9860 9861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9862 fi # test -n "$CONFIG_FILES" 9863 9864 # Set up the scripts for CONFIG_HEADERS section. 9865 # No need to generate them if there are no CONFIG_HEADERS. 9866 # This happens for instance with `./config.status Makefile'. 9867 if test -n "$CONFIG_HEADERS"; then 9868 cat >"$tmp/defines.awk" <<\_ACAWK || 9869 BEGIN { 9870 _ACEOF 9871 9872 # Transform confdefs.h into an awk script `defines.awk', embedded as 9873 # here-document in config.status, that substitutes the proper values into 9874 # config.h.in to produce config.h. 9875 9876 # Create a delimiter string that does not exist in confdefs.h, to ease 9877 # handling of long lines. 9878 ac_delim='%!_!# ' 9879 for ac_last_try in false false :; do 9880 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 9881 if test -z "$ac_t"; then 9882 break 9883 elif $ac_last_try; then 9884 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 9885 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 9886 { (exit 1); exit 1; }; } 9887 else 9888 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9889 fi 9890 done 9891 9892 # For the awk script, D is an array of macro values keyed by name, 9893 # likewise P contains macro parameters if any. Preserve backslash 9894 # newline sequences. 9895 9896 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 9897 sed -n ' 9898 s/.\{148\}/&'"$ac_delim"'/g 9899 t rset 9900 :rset 9901 s/^[ ]*#[ ]*define[ ][ ]*/ / 9902 t def 9903 d 9904 :def 9905 s/\\$// 9906 t bsnl 9907 s/["\\]/\\&/g 9908 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9909 D["\1"]=" \3"/p 9910 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 9911 d 9912 :bsnl 9913 s/["\\]/\\&/g 9914 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9915 D["\1"]=" \3\\\\\\n"\\/p 9916 t cont 9917 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 9918 t cont 9919 d 9920 :cont 9921 n 9922 s/.\{148\}/&'"$ac_delim"'/g 9923 t clear 9924 :clear 9925 s/\\$// 9926 t bsnlc 9927 s/["\\]/\\&/g; s/^/"/; s/$/"/p 9928 d 9929 :bsnlc 9930 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 9931 b cont 9932 ' <confdefs.h | sed ' 9933 s/'"$ac_delim"'/"\\\ 9934 "/g' >>$CONFIG_STATUS || ac_write_fail=1 9935 9936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9937 for (key in D) D_is_set[key] = 1 9938 FS = "" 9939 } 9940 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 9941 line = \$ 0 9942 split(line, arg, " ") 9943 if (arg[1] == "#") { 9944 defundef = arg[2] 9945 mac1 = arg[3] 9946 } else { 9947 defundef = substr(arg[1], 2) 9948 mac1 = arg[2] 9949 } 9950 split(mac1, mac2, "(") #) 9951 macro = mac2[1] 9952 prefix = substr(line, 1, index(line, defundef) - 1) 9953 if (D_is_set[macro]) { 9954 # Preserve the white space surrounding the "#". 9955 print prefix "define", macro P[macro] D[macro] 9956 next 9957 } else { 9958 # Replace #undef with comments. This is necessary, for example, 9959 # in the case of _POSIX_SOURCE, which is predefined and required 9960 # on some systems where configure will not decide to define it. 9961 if (defundef == "undef") { 9962 print "/*", prefix defundef, macro, "*/" 9963 next 9964 } 9965 } 9966 } 9967 { print } 9968 _ACAWK 9969 _ACEOF 9970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9971 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 9972 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 9973 { (exit 1); exit 1; }; } 9974 fi # test -n "$CONFIG_HEADERS" 9975 9976 9977 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 9978 shift 9979 for ac_tag 9980 do 9981 case $ac_tag in 9982 :[FHLC]) ac_mode=$ac_tag; continue;; 9983 esac 9984 case $ac_mode$ac_tag in 9985 :[FHL]*:*);; 9986 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 9987 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 9988 { (exit 1); exit 1; }; };; 9989 :[FH]-) ac_tag=-:-;; 9990 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9991 esac 9992 ac_save_IFS=$IFS 9993 IFS=: 9994 set x $ac_tag 9995 IFS=$ac_save_IFS 9996 shift 9997 ac_file=$1 9998 shift 9999 10000 case $ac_mode in 10001 :L) ac_source=$1;; 10002 :[FH]) 10003 ac_file_inputs= 10004 for ac_f 10005 do 10006 case $ac_f in 10007 -) ac_f="$tmp/stdin";; 10008 *) # Look for the file first in the build tree, then in the source tree 10009 # (if the path is not absolute). The absolute path cannot be DOS-style, 10010 # because $ac_f cannot contain `:'. 10011 test -f "$ac_f" || 10012 case $ac_f in 10013 [\\/$]*) false;; 10014 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 10015 esac || 10016 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 10017 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 10018 { (exit 1); exit 1; }; };; 10019 esac 10020 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 10021 ac_file_inputs="$ac_file_inputs '$ac_f'" 10022 done 10023 10024 # Let's still pretend it is `configure' which instantiates (i.e., don't 10025 # use $as_me), people would be surprised to read: 10026 # /* config.h. Generated by config.status. */ 10027 configure_input='Generated from '` 10028 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 10029 `' by configure.' 10030 if test x"$ac_file" != x-; then 10031 configure_input="$ac_file. $configure_input" 10032 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 10033 $as_echo "$as_me: creating $ac_file" >&6;} 8598 10034 fi 8599 if test ! -s $tmp/subs.frag; then 8600 ac_more_lines=false 8601 else 8602 # The purpose of the label and of the branching condition is to 8603 # speed up the sed processing (if there are no `@' at all, there 8604 # is no need to browse any of the substitutions). 8605 # These are the two extra sed commands mentioned above. 8606 (echo ':t 8607 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 8608 if test -z "$ac_sed_cmds"; then 8609 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 8610 else 8611 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 8612 fi 8613 ac_sed_frag=`expr $ac_sed_frag + 1` 8614 ac_beg=$ac_end 8615 ac_end=`expr $ac_end + $ac_max_sed_lines` 8616 fi 8617 done 8618 if test -z "$ac_sed_cmds"; then 8619 ac_sed_cmds=cat 8620 fi 8621 fi # test -n "$CONFIG_FILES" 8622 8623 _ACEOF 8624 cat >>$CONFIG_STATUS <<\_ACEOF 8625 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 8626 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8627 case $ac_file in 8628 - | *:- | *:-:* ) # input from stdin 8629 cat >$tmp/stdin 8630 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8631 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8632 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8633 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8634 * ) ac_file_in=$ac_file.in ;; 10035 # Neutralize special characters interpreted by sed in replacement strings. 10036 case $configure_input in #( 10037 *\&* | *\|* | *\\* ) 10038 ac_sed_conf_input=`$as_echo "$configure_input" | 10039 sed 's/[\\\\&|]/\\\\&/g'`;; #( 10040 *) ac_sed_conf_input=$configure_input;; 10041 esac 10042 10043 case $ac_tag in 10044 *:-:* | *:-) cat >"$tmp/stdin" \ 10045 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10046 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10047 { (exit 1); exit 1; }; } ;; 10048 esac 10049 ;; 8635 10050 esac 8636 10051 8637 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 8638 ac_dir=`(dirname "$ac_file") 2>/dev/null || 10052 ac_dir=`$as_dirname -- "$ac_file" || 8639 10053 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8640 10054 X"$ac_file" : 'X\(//\)[^/]' \| \ 8641 10055 X"$ac_file" : 'X\(//\)$' \| \ 8642 X"$ac_file" : 'X\(/\)' \| \ 8643 . : '\(.\)' 2>/dev/null || 8644 echo X"$ac_file" | 8645 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8646 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8647 /^X\(\/\/\)$/{ s//\1/; q; } 8648 /^X\(\/\).*/{ s//\1/; q; } 8649 s/.*/./; q'` 8650 { if $as_mkdir_p; then 8651 mkdir -p "$ac_dir" 8652 else 8653 as_dir="$ac_dir" 10056 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 10057 $as_echo X"$ac_file" | 10058 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10059 s//\1/ 10060 q 10061 } 10062 /^X\(\/\/\)[^/].*/{ 10063 s//\1/ 10064 q 10065 } 10066 /^X\(\/\/\)$/{ 10067 s//\1/ 10068 q 10069 } 10070 /^X\(\/\).*/{ 10071 s//\1/ 10072 q 10073 } 10074 s/.*/./; q'` 10075 { as_dir="$ac_dir" 10076 case $as_dir in #( 10077 -*) as_dir=./$as_dir;; 10078 esac 10079 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 8654 10080 as_dirs= 8655 while test ! -d "$as_dir"; do 8656 as_dirs="$as_dir $as_dirs" 8657 as_dir=`(dirname "$as_dir") 2>/dev/null || 10081 while :; do 10082 case $as_dir in #( 10083 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10084 *) as_qdir=$as_dir;; 10085 esac 10086 as_dirs="'$as_qdir' $as_dirs" 10087 as_dir=`$as_dirname -- "$as_dir" || 8658 10088 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8659 10089 X"$as_dir" : 'X\(//\)[^/]' \| \ 8660 10090 X"$as_dir" : 'X\(//\)$' \| \ 8661 X"$as_dir" : 'X\(/\)' \| \ 8662 . : '\(.\)' 2>/dev/null || 8663 echo X"$as_dir" | 8664 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8665 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8666 /^X\(\/\/\)$/{ s//\1/; q; } 8667 /^X\(\/\).*/{ s//\1/; q; } 8668 s/.*/./; q'` 10091 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10092 $as_echo X"$as_dir" | 10093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10094 s//\1/ 10095 q 10096 } 10097 /^X\(\/\/\)[^/].*/{ 10098 s//\1/ 10099 q 10100 } 10101 /^X\(\/\/\)$/{ 10102 s//\1/ 10103 q 10104 } 10105 /^X\(\/\).*/{ 10106 s//\1/ 10107 q 10108 } 10109 s/.*/./; q'` 10110 test -d "$as_dir" && break 8669 10111 done 8670 test ! -n "$as_dirs" || mkdir $as_dirs8671 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&58672 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}10112 test -z "$as_dirs" || eval "mkdir $as_dirs" 10113 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10114 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 8673 10115 { (exit 1); exit 1; }; }; } 8674 8675 10116 ac_builddir=. 8676 10117 8677 if test "$ac_dir" != .; then 8678 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8679 # A "../" for each directory in $ac_dir_suffix. 8680 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8681 else 8682 ac_dir_suffix= ac_top_builddir= 8683 fi 10118 case "$ac_dir" in 10119 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10120 *) 10121 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 10122 # A ".." for each directory in $ac_dir_suffix. 10123 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 10124 case $ac_top_builddir_sub in 10125 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 10126 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 10127 esac ;; 10128 esac 10129 ac_abs_top_builddir=$ac_pwd 10130 ac_abs_builddir=$ac_pwd$ac_dir_suffix 10131 # for backward compatibility: 10132 ac_top_builddir=$ac_top_build_prefix 8684 10133 8685 10134 case $srcdir in 8686 .) # No --srcdir option.We are building in place.10135 .) # We are building in place. 8687 10136 ac_srcdir=. 8688 if test -z "$ac_top_builddir"; then 8689 ac_top_srcdir=. 8690 else 8691 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8692 fi ;; 8693 [\\/]* | ?:[\\/]* ) # Absolute path. 10137 ac_top_srcdir=$ac_top_builddir_sub 10138 ac_abs_top_srcdir=$ac_pwd ;; 10139 [\\/]* | ?:[\\/]* ) # Absolute name. 8694 10140 ac_srcdir=$srcdir$ac_dir_suffix; 8695 ac_top_srcdir=$srcdir ;; 8696 *) # Relative path. 8697 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8698 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8699 esac 8700 8701 # Do not use `cd foo && pwd` to compute absolute paths, because 8702 # the directories may not exist. 8703 case `pwd` in 8704 .) ac_abs_builddir="$ac_dir";; 8705 *) 8706 case "$ac_dir" in 8707 .) ac_abs_builddir=`pwd`;; 8708 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8709 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8710 esac;; 8711 esac 8712 case $ac_abs_builddir in 8713 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8714 *) 8715 case ${ac_top_builddir}. in 8716 .) ac_abs_top_builddir=$ac_abs_builddir;; 8717 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8718 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8719 esac;; 8720 esac 8721 case $ac_abs_builddir in 8722 .) ac_abs_srcdir=$ac_srcdir;; 8723 *) 8724 case $ac_srcdir in 8725 .) ac_abs_srcdir=$ac_abs_builddir;; 8726 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8727 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8728 esac;; 8729 esac 8730 case $ac_abs_builddir in 8731 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8732 *) 8733 case $ac_top_srcdir in 8734 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8735 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8736 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8737 esac;; 8738 esac 8739 10141 ac_top_srcdir=$srcdir 10142 ac_abs_top_srcdir=$srcdir ;; 10143 *) # Relative name. 10144 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 10145 ac_top_srcdir=$ac_top_build_prefix$srcdir 10146 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 10147 esac 10148 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 10149 10150 10151 case $ac_mode in 10152 :F) 10153 # 10154 # CONFIG_FILE 10155 # 8740 10156 8741 10157 case $INSTALL in 8742 10158 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 8743 *) ac_INSTALL=$ac_top_build dir$INSTALL ;;10159 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 8744 10160 esac 8745 8746 if test x"$ac_file" != x-; then 8747 { echo "$as_me:$LINENO: creating $ac_file" >&5 8748 echo "$as_me: creating $ac_file" >&6;} 8749 rm -f "$ac_file" 8750 fi 8751 # Let's still pretend it is `configure' which instantiates (i.e., don't 8752 # use $as_me), people would be surprised to read: 8753 # /* config.h. Generated by config.status. */ 8754 if test x"$ac_file" = x-; then 8755 configure_input= 8756 else 8757 configure_input="$ac_file. " 8758 fi 8759 configure_input=$configure_input"Generated from `echo $ac_file_in | 8760 sed 's,.*/,,'` by configure." 8761 8762 # First look for the input files in the build tree, otherwise in the 8763 # src tree. 8764 ac_file_inputs=`IFS=: 8765 for f in $ac_file_in; do 8766 case $f in 8767 -) echo $tmp/stdin ;; 8768 [\\/$]*) 8769 # Absolute (can't be DOS-style, as IFS=:) 8770 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8771 echo "$as_me: error: cannot find input file: $f" >&2;} 8772 { (exit 1); exit 1; }; } 8773 echo "$f";; 8774 *) # Relative 8775 if test -f "$f"; then 8776 # Build tree 8777 echo "$f" 8778 elif test -f "$srcdir/$f"; then 8779 # Source tree 8780 echo "$srcdir/$f" 8781 else 8782 # /dev/null tree 8783 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8784 echo "$as_me: error: cannot find input file: $f" >&2;} 8785 { (exit 1); exit 1; }; } 8786 fi;; 8787 esac 8788 done` || { (exit 1); exit 1; } 8789 _ACEOF 8790 cat >>$CONFIG_STATUS <<_ACEOF 8791 sed "$ac_vpsub 10161 _ACEOF 10162 10163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10164 # If the template does not know about datarootdir, expand it. 10165 # FIXME: This hack should be removed a few years after 2.60. 10166 ac_datarootdir_hack=; ac_datarootdir_seen= 10167 10168 ac_sed_dataroot=' 10169 /datarootdir/ { 10170 p 10171 q 10172 } 10173 /@datadir@/p 10174 /@docdir@/p 10175 /@infodir@/p 10176 /@localedir@/p 10177 /@mandir@/p 10178 ' 10179 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 10180 *datarootdir*) ac_datarootdir_seen=yes;; 10181 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 10182 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10183 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10184 _ACEOF 10185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10186 ac_datarootdir_hack=' 10187 s&@datadir@&$datadir&g 10188 s&@docdir@&$docdir&g 10189 s&@infodir@&$infodir&g 10190 s&@localedir@&$localedir&g 10191 s&@mandir@&$mandir&g 10192 s&\\\${datarootdir}&$datarootdir&g' ;; 10193 esac 10194 _ACEOF 10195 10196 # Neutralize VPATH when `$srcdir' = `.'. 10197 # Shell code in configure.ac might set extrasub. 10198 # FIXME: do we really want to maintain this feature? 10199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10200 ac_sed_extra="$ac_vpsub 8792 10201 $extrasub 8793 10202 _ACEOF 8794 cat >>$CONFIG_STATUS <<\_ACEOF 10203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8795 10204 :t 8796 10205 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8797 s,@configure_input@,$configure_input,;t t 8798 s,@srcdir@,$ac_srcdir,;t t 8799 s,@abs_srcdir@,$ac_abs_srcdir,;t t 8800 s,@top_srcdir@,$ac_top_srcdir,;t t 8801 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 8802 s,@builddir@,$ac_builddir,;t t 8803 s,@abs_builddir@,$ac_abs_builddir,;t t 8804 s,@top_builddir@,$ac_top_builddir,;t t 8805 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 8806 s,@INSTALL@,$ac_INSTALL,;t t 8807 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 8808 rm -f $tmp/stdin 10206 s|@configure_input@|$ac_sed_conf_input|;t t 10207 s&@top_builddir@&$ac_top_builddir_sub&;t t 10208 s&@top_build_prefix@&$ac_top_build_prefix&;t t 10209 s&@srcdir@&$ac_srcdir&;t t 10210 s&@abs_srcdir@&$ac_abs_srcdir&;t t 10211 s&@top_srcdir@&$ac_top_srcdir&;t t 10212 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 10213 s&@builddir@&$ac_builddir&;t t 10214 s&@abs_builddir@&$ac_abs_builddir&;t t 10215 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 10216 s&@INSTALL@&$ac_INSTALL&;t t 10217 $ac_datarootdir_hack 10218 " 10219 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 10220 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10221 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10222 { (exit 1); exit 1; }; } 10223 10224 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 10225 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 10226 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 10227 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10228 which seems to be undefined. Please make sure it is defined." >&5 10229 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10230 which seems to be undefined. Please make sure it is defined." >&2;} 10231 10232 rm -f "$tmp/stdin" 10233 case $ac_file in 10234 -) cat "$tmp/out" && rm -f "$tmp/out";; 10235 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 10236 esac \ 10237 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10238 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10239 { (exit 1); exit 1; }; } 10240 ;; 10241 :H) 10242 # 10243 # CONFIG_HEADER 10244 # 8809 10245 if test x"$ac_file" != x-; then 8810 mv $tmp/out $ac_file 8811 else 8812 cat $tmp/out 8813 rm -f $tmp/out 8814 fi 8815 8816 done 8817 _ACEOF 8818 cat >>$CONFIG_STATUS <<\_ACEOF 8819 8820 # 8821 # CONFIG_HEADER section. 8822 # 8823 8824 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 8825 # NAME is the cpp macro being defined and VALUE is the value it is being given. 8826 # 8827 # ac_d sets the value in "#define NAME VALUE" lines. 8828 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 8829 ac_dB='[ ].*$,\1#\2' 8830 ac_dC=' ' 8831 ac_dD=',;t' 8832 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 8833 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 8834 ac_uB='$,\1#\2define\3' 8835 ac_uC=' ' 8836 ac_uD=',;t' 8837 8838 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 8839 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8840 case $ac_file in 8841 - | *:- | *:-:* ) # input from stdin 8842 cat >$tmp/stdin 8843 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8844 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8845 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8846 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8847 * ) ac_file_in=$ac_file.in ;; 8848 esac 8849 8850 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 8851 echo "$as_me: creating $ac_file" >&6;} 8852 8853 # First look for the input files in the build tree, otherwise in the 8854 # src tree. 8855 ac_file_inputs=`IFS=: 8856 for f in $ac_file_in; do 8857 case $f in 8858 -) echo $tmp/stdin ;; 8859 [\\/$]*) 8860 # Absolute (can't be DOS-style, as IFS=:) 8861 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8862 echo "$as_me: error: cannot find input file: $f" >&2;} 10246 { 10247 $as_echo "/* $configure_input */" \ 10248 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 10249 } >"$tmp/config.h" \ 10250 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10251 $as_echo "$as_me: error: could not create $ac_file" >&2;} 8863 10252 { (exit 1); exit 1; }; } 8864 # Do quote $f, to prevent DOS paths from being IFS'd. 8865 echo "$f";; 8866 *) # Relative 8867 if test -f "$f"; then 8868 # Build tree 8869 echo "$f" 8870 elif test -f "$srcdir/$f"; then 8871 # Source tree 8872 echo "$srcdir/$f" 8873 else 8874 # /dev/null tree 8875 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8876 echo "$as_me: error: cannot find input file: $f" >&2;} 10253 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 10254 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 10255 $as_echo "$as_me: $ac_file is unchanged" >&6;} 10256 else 10257 rm -f "$ac_file" 10258 mv "$tmp/config.h" "$ac_file" \ 10259 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10260 $as_echo "$as_me: error: could not create $ac_file" >&2;} 8877 10261 { (exit 1); exit 1; }; } 8878 fi;;8879 esac8880 done` || { (exit 1); exit 1; }8881 # Remove the trailing spaces.8882 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in8883 8884 _ACEOF8885 8886 # Transform confdefs.h into two sed scripts, `conftest.defines' and8887 # `conftest.undefs', that substitutes the proper values into8888 # config.h.in to produce config.h. The first handles `#define'8889 # templates, and the second `#undef' templates.8890 # And first: Protect against being on the right side of a sed subst in8891 # config.status. Protect against being in an unquoted here document8892 # in config.status.8893 rm -f conftest.defines conftest.undefs8894 # Using a here document instead of a string reduces the quoting nightmare.8895 # Putting comments in sed scripts is not portable.8896 #8897 # `end' is used to avoid that the second main sed command (meant for8898 # 0-ary CPP macros) applies to n-ary macro definitions.8899 # See the Autoconf documentation for `clear'.8900 cat >confdef2sed.sed <<\_ACEOF8901 s/[\\&,]/\\&/g8902 s,[\\$`],\\&,g8903 t clear8904 : clear8905 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp8906 t end8907 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp8908 : end8909 _ACEOF8910 # If some macros were called several times there might be several times8911 # the same #defines, which is useless. Nevertheless, we may not want to8912 # sort them, since we want the *last* AC-DEFINE to be honored.8913 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines8914 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs8915 rm -f confdef2sed.sed8916 8917 # This sed command replaces #undef with comments. This is necessary, for8918 # example, in the case of _POSIX_SOURCE, which is predefined and required8919 # on some systems where configure will not decide to define it.8920 cat >>conftest.undefs <<\_ACEOF8921 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,8922 _ACEOF8923 8924 # Break up conftest.defines because some shells have a limit on the size8925 # of here documents, and old seds have small limits too (100 cmds).8926 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS8927 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS8928 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS8929 echo ' :' >>$CONFIG_STATUS8930 rm -f conftest.tail8931 while grep . conftest.defines >/dev/null8932 do8933 # Write a limited-size here document to $tmp/defines.sed.8934 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS8935 # Speed up: don't consider the non `#define' lines.8936 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS8937 # Work around the forget-to-reset-the-flag bug.8938 echo 't clr' >>$CONFIG_STATUS8939 echo ': clr' >>$CONFIG_STATUS8940 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS8941 echo 'CEOF8942 sed -f $tmp/defines.sed $tmp/in >$tmp/out8943 rm -f $tmp/in8944 mv $tmp/out $tmp/in8945 ' >>$CONFIG_STATUS8946 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail8947 rm -f conftest.defines8948 mv conftest.tail conftest.defines8949 done8950 rm -f conftest.defines8951 echo ' fi # grep' >>$CONFIG_STATUS8952 echo >>$CONFIG_STATUS8953 8954 # Break up conftest.undefs because some shells have a limit on the size8955 # of here documents, and old seds have small limits too (100 cmds).8956 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS8957 rm -f conftest.tail8958 while grep . conftest.undefs >/dev/null8959 do8960 # Write a limited-size here document to $tmp/undefs.sed.8961 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS8962 # Speed up: don't consider the non `#undef'8963 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS8964 # Work around the forget-to-reset-the-flag bug.8965 echo 't clr' >>$CONFIG_STATUS8966 echo ': clr' >>$CONFIG_STATUS8967 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS8968 echo 'CEOF8969 sed -f $tmp/undefs.sed $tmp/in >$tmp/out8970 rm -f $tmp/in8971 mv $tmp/out $tmp/in8972 ' >>$CONFIG_STATUS8973 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail8974 rm -f conftest.undefs8975 mv conftest.tail conftest.undefs8976 done8977 rm -f conftest.undefs8978 8979 cat >>$CONFIG_STATUS <<\_ACEOF8980 # Let's still pretend it is `configure' which instantiates (i.e., don't8981 # use $as_me), people would be surprised to read:8982 # /* config.h. Generated by config.status. */8983 if test x"$ac_file" = x-; then8984 echo "/* Generated by configure. */" >$tmp/config.h8985 else8986 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h8987 fi8988 cat $tmp/in >>$tmp/config.h8989 rm -f $tmp/in8990 if test x"$ac_file" != x-; then8991 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then8992 { echo "$as_me:$LINENO: $ac_file is unchanged" >&58993 echo "$as_me: $ac_file is unchanged" >&6;}8994 else8995 ac_dir=`(dirname "$ac_file") 2>/dev/null ||8996 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \8997 X"$ac_file" : 'X\(//\)[^/]' \| \8998 X"$ac_file" : 'X\(//\)$' \| \8999 X"$ac_file" : 'X\(/\)' \| \9000 . : '\(.\)' 2>/dev/null ||9001 echo X"$ac_file" |9002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }9003 /^X\(\/\/\)[^/].*/{ s//\1/; q; }9004 /^X\(\/\/\)$/{ s//\1/; q; }9005 /^X\(\/\).*/{ s//\1/; q; }9006 s/.*/./; q'`9007 { if $as_mkdir_p; then9008 mkdir -p "$ac_dir"9009 else9010 as_dir="$ac_dir"9011 as_dirs=9012 while test ! -d "$as_dir"; do9013 as_dirs="$as_dir $as_dirs"9014 as_dir=`(dirname "$as_dir") 2>/dev/null ||9015 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \9016 X"$as_dir" : 'X\(//\)[^/]' \| \9017 X"$as_dir" : 'X\(//\)$' \| \9018 X"$as_dir" : 'X\(/\)' \| \9019 . : '\(.\)' 2>/dev/null ||9020 echo X"$as_dir" |9021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }9022 /^X\(\/\/\)[^/].*/{ s//\1/; q; }9023 /^X\(\/\/\)$/{ s//\1/; q; }9024 /^X\(\/\).*/{ s//\1/; q; }9025 s/.*/./; q'`9026 done9027 test ! -n "$as_dirs" || mkdir $as_dirs9028 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&59029 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}9030 { (exit 1); exit 1; }; }; }9031 9032 rm -f $ac_file9033 mv $tmp/config.h $ac_file9034 10262 fi 9035 10263 else 9036 cat $tmp/config.h 9037 rm -f $tmp/config.h 10264 $as_echo "/* $configure_input */" \ 10265 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 10266 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 10267 $as_echo "$as_me: error: could not create -" >&2;} 10268 { (exit 1); exit 1; }; } 9038 10269 fi 9039 done 9040 _ACEOF 9041 9042 cat >>$CONFIG_STATUS <<\_ACEOF 10270 ;; 10271 10272 10273 esac 10274 10275 done # for ac_tag 10276 9043 10277 9044 10278 { (exit 0); exit 0; } … … 9046 10280 chmod +x $CONFIG_STATUS 9047 10281 ac_clean_files=$ac_clean_files_save 10282 10283 test $ac_write_fail = 0 || 10284 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 10285 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 10286 { (exit 1); exit 1; }; } 9048 10287 9049 10288 … … 9074 10313 if test "$no_recursion" != yes; then 9075 10314 9076 # Remove --cache-file and --srcdir arguments so they do not pile up. 10315 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 10316 # so they do not pile up. 9077 10317 ac_sub_configure_args= 9078 10318 ac_prev= 9079 for ac_arg in $ac_configure_args; do 10319 eval "set x $ac_configure_args" 10320 shift 10321 for ac_arg 10322 do 9080 10323 if test -n "$ac_prev"; then 9081 10324 ac_prev= … … 9100 10343 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 9101 10344 ;; 9102 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; 10345 --disable-option-checking) 10346 ;; 10347 *) 10348 case $ac_arg in 10349 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 10350 esac 10351 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; 9103 10352 esac 9104 10353 done … … 9106 10355 # Always prepend --prefix to ensure using the same prefix 9107 10356 # in subdir configurations. 9108 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" 10357 ac_arg="--prefix=$prefix" 10358 case $ac_arg in 10359 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 10360 esac 10361 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 10362 10363 # Pass --silent 10364 if test "$silent" = yes; then 10365 ac_sub_configure_args="--silent $ac_sub_configure_args" 10366 fi 10367 10368 # Always prepend --disable-option-checking to silence warnings, since 10369 # different subdirs can have different --enable and --with options. 10370 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 9109 10371 9110 10372 ac_popdir=`pwd` … … 9113 10375 # Do not complain, so a configure script can configure whichever 9114 10376 # parts of a large source tree are present. 9115 test -d $srcdir/$ac_dir || continue 9116 9117 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 9118 echo "$as_me: configuring in $ac_dir" >&6;} 9119 { if $as_mkdir_p; then 9120 mkdir -p "$ac_dir" 9121 else 9122 as_dir="$ac_dir" 10377 test -d "$srcdir/$ac_dir" || continue 10378 10379 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 10380 $as_echo "$as_me:$LINENO: $ac_msg" >&5 10381 $as_echo "$ac_msg" >&6 10382 { as_dir="$ac_dir" 10383 case $as_dir in #( 10384 -*) as_dir=./$as_dir;; 10385 esac 10386 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 9123 10387 as_dirs= 9124 while test ! -d "$as_dir"; do 9125 as_dirs="$as_dir $as_dirs" 9126 as_dir=`(dirname "$as_dir") 2>/dev/null || 10388 while :; do 10389 case $as_dir in #( 10390 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10391 *) as_qdir=$as_dir;; 10392 esac 10393 as_dirs="'$as_qdir' $as_dirs" 10394 as_dir=`$as_dirname -- "$as_dir" || 9127 10395 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9128 10396 X"$as_dir" : 'X\(//\)[^/]' \| \ 9129 10397 X"$as_dir" : 'X\(//\)$' \| \ 9130 X"$as_dir" : 'X\(/\)' \| \ 9131 . : '\(.\)' 2>/dev/null || 9132 echo X"$as_dir" | 9133 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9134 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9135 /^X\(\/\/\)$/{ s//\1/; q; } 9136 /^X\(\/\).*/{ s//\1/; q; } 9137 s/.*/./; q'` 10398 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10399 $as_echo X"$as_dir" | 10400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10401 s//\1/ 10402 q 10403 } 10404 /^X\(\/\/\)[^/].*/{ 10405 s//\1/ 10406 q 10407 } 10408 /^X\(\/\/\)$/{ 10409 s//\1/ 10410 q 10411 } 10412 /^X\(\/\).*/{ 10413 s//\1/ 10414 q 10415 } 10416 s/.*/./; q'` 10417 test -d "$as_dir" && break 9138 10418 done 9139 test ! -n "$as_dirs" || mkdir $as_dirs9140 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&59141 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}10419 test -z "$as_dirs" || eval "mkdir $as_dirs" 10420 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10421 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 9142 10422 { (exit 1); exit 1; }; }; } 9143 9144 10423 ac_builddir=. 9145 10424 9146 if test "$ac_dir" != .; then 9147 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 9148 # A "../" for each directory in $ac_dir_suffix. 9149 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 9150 else 9151 ac_dir_suffix= ac_top_builddir= 9152 fi 10425 case "$ac_dir" in 10426 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10427 *) 10428 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 10429 # A ".." for each directory in $ac_dir_suffix. 10430 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 10431 case $ac_top_builddir_sub in 10432 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 10433 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 10434 esac ;; 10435 esac 10436 ac_abs_top_builddir=$ac_pwd 10437 ac_abs_builddir=$ac_pwd$ac_dir_suffix 10438 # for backward compatibility: 10439 ac_top_builddir=$ac_top_build_prefix 9153 10440 9154 10441 case $srcdir in 9155 .) # No --srcdir option.We are building in place.10442 .) # We are building in place. 9156 10443 ac_srcdir=. 9157 if test -z "$ac_top_builddir"; then 9158 ac_top_srcdir=. 10444 ac_top_srcdir=$ac_top_builddir_sub 10445 ac_abs_top_srcdir=$ac_pwd ;; 10446 [\\/]* | ?:[\\/]* ) # Absolute name. 10447 ac_srcdir=$srcdir$ac_dir_suffix; 10448 ac_top_srcdir=$srcdir 10449 ac_abs_top_srcdir=$srcdir ;; 10450 *) # Relative name. 10451 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 10452 ac_top_srcdir=$ac_top_build_prefix$srcdir 10453 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 10454 esac 10455 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 10456 10457 10458 cd "$ac_dir" 10459 10460 # Check for guested configure; otherwise get Cygnus style configure. 10461 if test -f "$ac_srcdir/configure.gnu"; then 10462 ac_sub_configure=$ac_srcdir/configure.gnu 10463 elif test -f "$ac_srcdir/configure"; then 10464 ac_sub_configure=$ac_srcdir/configure 10465 elif test -f "$ac_srcdir/configure.in"; then 10466 # This should be Cygnus configure. 10467 ac_sub_configure=$ac_aux_dir/configure 9159 10468 else 9160 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 9161 fi ;; 9162 [\\/]* | ?:[\\/]* ) # Absolute path. 9163 ac_srcdir=$srcdir$ac_dir_suffix; 9164 ac_top_srcdir=$srcdir ;; 9165 *) # Relative path. 9166 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 9167 ac_top_srcdir=$ac_top_builddir$srcdir ;; 9168 esac 9169 9170 # Do not use `cd foo && pwd` to compute absolute paths, because 9171 # the directories may not exist. 9172 case `pwd` in 9173 .) ac_abs_builddir="$ac_dir";; 9174 *) 9175 case "$ac_dir" in 9176 .) ac_abs_builddir=`pwd`;; 9177 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 9178 *) ac_abs_builddir=`pwd`/"$ac_dir";; 9179 esac;; 9180 esac 9181 case $ac_abs_builddir in 9182 .) ac_abs_top_builddir=${ac_top_builddir}.;; 9183 *) 9184 case ${ac_top_builddir}. in 9185 .) ac_abs_top_builddir=$ac_abs_builddir;; 9186 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 9187 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 9188 esac;; 9189 esac 9190 case $ac_abs_builddir in 9191 .) ac_abs_srcdir=$ac_srcdir;; 9192 *) 9193 case $ac_srcdir in 9194 .) ac_abs_srcdir=$ac_abs_builddir;; 9195 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 9196 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 9197 esac;; 9198 esac 9199 case $ac_abs_builddir in 9200 .) ac_abs_top_srcdir=$ac_top_srcdir;; 9201 *) 9202 case $ac_top_srcdir in 9203 .) ac_abs_top_srcdir=$ac_abs_builddir;; 9204 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 9205 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 9206 esac;; 9207 esac 9208 9209 9210 cd $ac_dir 9211 9212 # Check for guested configure; otherwise get Cygnus style configure. 9213 if test -f $ac_srcdir/configure.gnu; then 9214 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" 9215 elif test -f $ac_srcdir/configure; then 9216 ac_sub_configure="$SHELL '$ac_srcdir/configure'" 9217 elif test -f $ac_srcdir/configure.in; then 9218 ac_sub_configure=$ac_configure 9219 else 9220 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 9221 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 10469 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 10470 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 9222 10471 ac_sub_configure= 9223 10472 fi … … 9228 10477 case $cache_file in 9229 10478 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 9230 *) # Relative path.9231 ac_sub_cache_file=$ac_top_build dir$cache_file ;;10479 *) # Relative name. 10480 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; 9232 10481 esac 9233 10482 9234 { echo "$as_me:$LINENO: running$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&59235 echo "$as_me: running$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}10483 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 10484 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 9236 10485 # The eval makes quoting arguments work. 9237 eval $ac_sub_configure$ac_sub_configure_args \9238 --cache-file= $ac_sub_cache_file --srcdir=$ac_srcdir||9239 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&59240 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}10486 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 10487 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 10488 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 10489 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 9241 10490 { (exit 1); exit 1; }; } 9242 10491 fi 9243 10492 9244 cd $ac_popdir10493 cd "$ac_popdir" 9245 10494 done 9246 10495 fi 9247 9248 9249 10496 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 10497 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 10498 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 10499 fi 10500 10501 10502 -
main/trunk/greenstone2/runtime-src/configure.in
r24958 r25149 235 235 if test "$arch_64bit" = yes; then 236 236 AC_MSG_RESULT(yes) 237 if test -z "$ COMPAT32BITFLAGS" ; then238 COMPAT32BITFLAGS="-m32"237 if test -z "$ARCH_DEP_FLAGS" ; then 238 ARCH_DEP_FLAGS="-fPIC" 239 239 gsdlarch='64' 240 240 fi 241 241 else 242 242 AC_MSG_RESULT(no) 243 if test -z "$ COMPAT32BITFLAGS" ; then244 COMPAT32BITFLAGS=243 if test -z "$ARCH_DEP_FLAGS" ; then 244 ARCH_DEP_FLAGS= 245 245 gsdlarch='32' 246 246 fi 247 247 fi 248 248 249 # Only need compat32bitflag if using MG or MGPP 250 if test "$ENABLE_MG" = "0" ; then 251 COMPAT32BITFLAGS= 252 else 253 if test "$ENABLE_MGPP" = "0" ; then 254 COMPAT32BITFLAGS= 255 fi 256 fi 257 258 export COMPAT32BITFLAGS 259 AC_SUBST(COMPAT32BITFLAGS) 249 export ARCH_DEP_FLAGS 250 AC_SUBST(ARCH_DEP_FLAGS) 260 251 261 252 -
main/trunk/greenstone2/runtime-src/packages/configure
r22378 r25149 212 212 cd httpd-2.2.11&& \ 213 213 214 if [ ! -z $COMPAT32BITFLAGS ] ; then215 CFLAGS="$CFLAGS -I${GSDLHOME}/common-src/packages/iconv/include" CXXFLAGS="$CXXFLAGS -I${GSDLHOME}/common-src/packages/iconv/include" LDFLAGS="$LDFLAGS -L${GSDLHOME}/common-src/packages/iconv/lib64" ./configure $CACHE_FILE --with-included-apr --with-layout=BinaryDistribution --enable-most --prefix="${prefix}/apache-httpd/${GSDLOS}" $HOSTTARGETFLAGS --with-iconv216 else217 214 CFLAGS="$CFLAGS -I${GSDLHOME}/common-src/packages/iconv/include" CXXFLAGS="$CXXFLAGS -I${GSDLHOME}/common-src/packages/iconv/include" LDFLAGS="$LDFLAGS -L${GSDLHOME}/common-src/packages/iconv/lib" ./configure $CACHE_FILE --with-included-apr --with-layout=BinaryDistribution --enable-most --prefix="${prefix}/apache-httpd/${GSDLOS}" $HOSTTARGETFLAGS --with-iconv 218 fi219 215 220 216 else -
main/trunk/greenstone2/runtime-src/src/colservr/Makefile.in
r22058 r25149 112 112 CC = @CC@ 113 113 CXX = @CXX@ 114 CFLAGS = @CFLAGS@ @ COMPAT32BITFLAGS@115 CXXFLAGS = @CXXFLAGS@ @ COMPAT32BITFLAGS@114 CFLAGS = @CFLAGS@ @ARCH_DEP_FLAGS@ 115 CXXFLAGS = @CXXFLAGS@ @ARCH_DEP_FLAGS@ 116 116 DEFS = @DEFS@ -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DGSDLSERVER $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 117 117 # Do NOT add the "recpt" directory here: the colserver should be independent of the receptionist! -
main/trunk/greenstone2/runtime-src/src/oaiservr/Makefile.in
r24901 r25149 41 41 ENABLE_ACCENTFOLD = @ENABLE_ACCENTFOLD@ 42 42 ifeq ($(ENABLE_ACCENTFOLD), 1) 43 ifeq ($(COMPAT32BITFLAGS),)44 43 ACCENTFOLD_LIBS = $(INDEXERS_DIR)/packages/unac/libunac.a $(COMMON_PACKAGES_DIR)/iconv/lib/libiconv.a 45 else46 ACCENTFOLD_LIBS = $(INDEXERS_DIR)/packages/unac/libunac.a $(COMMON_PACKAGES_DIR)/iconv/lib64/libiconv.a47 endif48 44 else 49 45 ACCENTFOLD_LIBS = … … 63 59 MGPP_INDEXERS_LIBS = $(INDEXERS_DIR)/mgpp/text/libmgpptext.a \ 64 60 $(INDEXERS_DIR)/mgpp/lib/libmgpplib.a 65 MGPP_INCLUDES = -I$(INDEXERS_DIR)/mgpp/text 61 MGPP_INCLUDES = -I$(INDEXERS_DIR)/mgpp/text -I$(INDEXERS_DIR)/mgpp/lib 66 62 else 67 63 MGPP_INDEXERS_LIBS = … … 96 92 97 93 CC = @CC@ 98 CFLAGS = @CFLAGS@ @ COMPAT32BITFLAGS@94 CFLAGS = @CFLAGS@ @ARCH_DEP_FLAGS@ 99 95 CXX = @CXX@ 100 CXXFLAGS = @CXXFLAGS@ @ COMPAT32BITFLAGS@96 CXXFLAGS = @CXXFLAGS@ @ARCH_DEP_FLAGS@ 101 97 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 102 98 INCLUDES = -I$(COMMON_DIR)/src/lib -I$(COLSERVR_DIR) -I$(PROTOCOL_DIR) -I$(RECPT_DIR) $(MGPP_INCLUDES) 103 LDFLAGS = @LDFLAGS@ @ COMPAT32BITFLAGS@99 LDFLAGS = @LDFLAGS@ @ARCH_DEP_FLAGS@ 104 100 LIBS = @LIBS@ $(GDBM_LIBS) -L$(COMMON_PACKAGES_DIR)/expat/lib -lexpat \ 105 101 $(ACCENTFOLD_LIBS) $(SQLITE_LIBS) -
main/trunk/greenstone2/runtime-src/src/protocol/Makefile.in
r22078 r25149 35 35 ENABLE_MGPP = @ENABLE_MGPP@ 36 36 ifeq ($(ENABLE_MGPP), 1) 37 MGPP_INCLUDES = -I$(INDEXERS_DIR)/mgpp/text 37 MGPP_INCLUDES = -I$(INDEXERS_DIR)/mgpp/text -I$(INDEXERS_DIR)/mgpp/lib 38 38 else 39 39 MGPP_INCLUDES = … … 66 66 AR = ar 67 67 CXX = @CXX@ 68 CXXFLAGS = @CXXFLAGS@ @ COMPAT32BITFLAGS@68 CXXFLAGS = @CXXFLAGS@ @ARCH_DEP_FLAGS@ 69 69 DEFS = @DEFS@ -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DGSDLSERVER $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 70 70 # Do NOT add the "recpt" directory here: the protocol should be independent of the receptionist! -
main/trunk/greenstone2/runtime-src/src/recpt/Makefile.in
r24958 r25149 42 42 ENABLE_ACCENTFOLD = @ENABLE_ACCENTFOLD@ 43 43 ifeq ($(ENABLE_ACCENTFOLD), 1) 44 ifeq ($(COMPAT32BITFLAGS),)45 44 ACCENTFOLD_LIBS = $(INDEXERS_DIR)/packages/unac/libunac.a $(COMMON_PACKAGES_DIR)/iconv/lib/libiconv.a 46 else47 ACCENTFOLD_LIBS = $(INDEXERS_DIR)/packages/unac/libunac.a $(INDEXERS_DIR)/packages/iconv/lib64/libiconv.a48 endif49 45 else 50 46 ACCENTFOLD_LIBS = … … 163 159 AR = ar 164 160 CC = @CC@ 165 CFLAGS=@CFLAGS@ @ COMPAT32BITFLAGS@161 CFLAGS=@CFLAGS@ @ARCH_DEP_FLAGS@ 166 162 CXX = @CXX@ 167 CXXFLAGS = @CXXFLAGS@ @ COMPAT32BITFLAGS@163 CXXFLAGS = @CXXFLAGS@ @ARCH_DEP_FLAGS@ 168 164 DEFS = @DEFS@ -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DHAVE_CONFIG_H $(FASTCGI_DEFS) $(RSS_DEFINES) $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) $(Z3950_DEFS) 169 165 INCLUDES = -I. -I$(GSDL_DIR) -I$(COMMON_DIR)/src/lib \ … … 172 168 -I$(COMMON_PACKAGES_DIR)/expat/include $(FASTCGI_INCLUDES) $(GDBM_INCLUDES) $(Z3950_INCLUDES) 173 169 INSTALL = @INSTALL@ 174 LDFLAGS = @LDFLAGS@ @ COMPAT32BITFLAGS@170 LDFLAGS = @LDFLAGS@ @ARCH_DEP_FLAGS@ 175 171 LIBS = @LIBS@ $(GDBM_LIBS) \ 176 172 $(COMMON_PACKAGES_DIR)/expat/lib/libexpat.a \ -
main/trunk/greenstone2/runtime-src/src/z3950/Makefile.in
r22378 r25149 102 102 INSTALL = @INSTALL@ 103 103 LDFLAGS = @LDFLAGS@ 104 ifeq ($(COMPAT32BITFLAGS),)105 104 LIBS = @LIBS@ $(GDBM_LIBS) -L$(COMMON_PACKAGES_DIR)/expat/lib -lexpat \ 106 105 $(ACCENTFOLD_LIBS) $(SQLITE_LIBS) \ 107 106 $(RUNTIME_PACKAGES_DIR)/yaz/lib/libyaz.a $(RUNTIME_PACKAGES_DIR)/d2m/libd2m.a -lxml2 108 else109 LIBS = @LIBS@ $(GDBM_LIBS) -L$(COMMON_PACKAGES_DIR)/expat/lib64 -lexpat \110 $(ACCENTFOLD_LIBS) $(SQLITE_LIBS) \111 $(RUNTIME_PACKAGES_DIR)/yaz/lib/libyaz.a $(RUNTIME_PACKAGES_DIR)/d2m/libd2m.a -lxml2112 endif113 107 RANLIB = @RANLIB@ 114 108
Note:
See TracChangeset
for help on using the changeset viewer.