Changeset 25149 for main/trunk/greenstone2/build-src
- Timestamp:
- 2012-02-28T14:18:52+13:00 (12 years ago)
- Location:
- main/trunk/greenstone2/build-src
- Files:
-
- 5 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
Note:
See TracChangeset
for help on using the changeset viewer.