Changeset 25215 for main/trunk/gs2build/configure
- Timestamp:
- 2012-03-13T13:56:43+13:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gs2build/configure
r21434 r25215 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59.3 # Generated by GNU Autoconf 2.63. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 6 7 # This configure script is free software; the Free Software Foundation 7 8 # gives unlimited permission to copy, distribute and modify it. … … 10 11 ## --------------------- ## 11 12 12 # Be Bourne compatible 13 # Be more Bourne compatible 14 DUALCASE=1; export DUALCASE # for MKS sh 13 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 16 emulate sh 15 17 NULLCMD=: 16 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17 19 # is contrary to our usage. Disable this feature. 18 20 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 21 setopt NO_GLOB_SUBST 22 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 79 33 # Avoid depending upon Character Ranges. 80 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 84 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 39 40 as_nl=' 41 ' 42 export as_nl 43 # Printing a long string crashes Solaris 7 /usr/bin/printf. 44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50 else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70 fi 71 86 72 # The user is always right. 87 73 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79 fi 80 81 # Support unset when possible. 82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 83 as_unset=unset 84 else 85 as_unset=false 86 fi 87 88 89 # IFS 90 # We need space, tab and new line, in precisely that order. Quoting is 91 # there to prevent editors from complaining about space-tab. 92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 93 # splitting by setting IFS to empty value.) 94 IFS=" "" $as_nl" 95 96 # Find who we are. Look in the path if we contain no directory separator. 97 case $0 in 98 *[\\/]* ) as_myself=$0 ;; 99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 100 for as_dir in $PATH 111 101 do … … 114 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 105 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 106 IFS=$as_save_IFS 107 108 ;; 109 esac 110 # We did not find ourselves, most probably we were run as `sh COMMAND' 111 # in which case we are not to be found in the path. 112 if test "x$as_myself" = x; then 113 as_myself=$0 114 fi 115 if test ! -f "$as_myself"; then 116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 117 { (exit 1); exit 1; } 118 fi 119 120 # Work around bugs in pre-3.0 UWIN ksh. 121 for as_var in ENV MAIL MAILPATH 122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 123 done 124 PS1='$ ' 125 PS2='> ' 126 PS4='+ ' 127 128 # NLS nuisances. 129 LC_ALL=C 130 export LC_ALL 131 LANGUAGE=C 132 export LANGUAGE 133 134 # Required to use basename. 135 if expr a : '\(a\)' >/dev/null 2>&1 && 136 test "X`expr 00001 : '.*\(...\)'`" = X001; then 137 as_expr=expr 138 else 139 as_expr=false 140 fi 141 142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 143 as_basename=basename 144 else 145 as_basename=false 146 fi 147 148 149 # Name of the executable. 150 as_me=`$as_basename -- "$0" || 151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 152 X"$0" : 'X\(//\)$' \| \ 153 X"$0" : 'X\(/\)' \| . 2>/dev/null || 154 $as_echo X/"$0" | 155 sed '/^.*\/\([^/][^/]*\)\/*$/{ 156 s//\1/ 157 q 158 } 159 /^X\/\(\/\/\)$/{ 160 s//\1/ 161 q 162 } 163 /^X\/\(\/\).*/{ 164 s//\1/ 165 q 166 } 167 s/.*/./; q'` 168 169 # CDPATH. 170 $as_unset CDPATH 171 172 173 if test "x$CONFIG_SHELL" = x; then 174 if (eval ":") 2>/dev/null; then 175 as_have_required=yes 176 else 177 as_have_required=no 178 fi 179 180 if test $as_have_required = yes && (eval ": 181 (as_func_return () { 182 (exit \$1) 183 } 184 as_func_success () { 185 as_func_return 0 186 } 187 as_func_failure () { 188 as_func_return 1 189 } 190 as_func_ret_success () { 191 return 0 192 } 193 as_func_ret_failure () { 194 return 1 195 } 196 197 exitcode=0 198 if as_func_success; then 199 : 200 else 201 exitcode=1 202 echo as_func_success failed. 203 fi 204 205 if as_func_failure; then 206 exitcode=1 207 echo as_func_failure succeeded. 208 fi 209 210 if as_func_ret_success; then 211 : 212 else 213 exitcode=1 214 echo as_func_ret_success failed. 215 fi 216 217 if as_func_ret_failure; then 218 exitcode=1 219 echo as_func_ret_failure succeeded. 220 fi 221 222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 223 : 224 else 225 exitcode=1 226 echo positional parameters were not saved. 227 fi 228 229 test \$exitcode = 0) || { (exit 1); exit 1; } 230 231 ( 232 as_lineno_1=\$LINENO 233 as_lineno_2=\$LINENO 234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 236 ") 2> /dev/null; then 237 : 238 else 239 as_candidate_shells= 130 240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 133 243 IFS=$as_save_IFS 134 244 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 245 case $as_dir in 137 246 /*) 138 if ("$as_dir/$as_base" -c ' 247 for as_base in sh bash ksh sh5; do 248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 249 done;; 250 esac 251 done 252 IFS=$as_save_IFS 253 254 255 for as_shell in $as_candidate_shells $SHELL; do 256 # Try only shells that exist, to save several forks. 257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 258 { ("$as_shell") 2> /dev/null <<\_ASEOF 259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 260 emulate sh 261 NULLCMD=: 262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 263 # is contrary to our usage. Disable this feature. 264 alias -g '${1+"$@"}'='"$@"' 265 setopt NO_GLOB_SUBST 266 else 267 case `(set -o) 2>/dev/null` in 268 *posix*) set -o posix ;; 269 esac 270 271 fi 272 273 274 : 275 _ASEOF 276 }; then 277 CONFIG_SHELL=$as_shell 278 as_have_required=yes 279 if { "$as_shell" 2> /dev/null <<\_ASEOF 280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 281 emulate sh 282 NULLCMD=: 283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 284 # is contrary to our usage. Disable this feature. 285 alias -g '${1+"$@"}'='"$@"' 286 setopt NO_GLOB_SUBST 287 else 288 case `(set -o) 2>/dev/null` in 289 *posix*) set -o posix ;; 290 esac 291 292 fi 293 294 295 : 296 (as_func_return () { 297 (exit $1) 298 } 299 as_func_success () { 300 as_func_return 0 301 } 302 as_func_failure () { 303 as_func_return 1 304 } 305 as_func_ret_success () { 306 return 0 307 } 308 as_func_ret_failure () { 309 return 1 310 } 311 312 exitcode=0 313 if as_func_success; then 314 : 315 else 316 exitcode=1 317 echo as_func_success failed. 318 fi 319 320 if as_func_failure; then 321 exitcode=1 322 echo as_func_failure succeeded. 323 fi 324 325 if as_func_ret_success; then 326 : 327 else 328 exitcode=1 329 echo as_func_ret_success failed. 330 fi 331 332 if as_func_ret_failure; then 333 exitcode=1 334 echo as_func_ret_failure succeeded. 335 fi 336 337 if ( set x; as_func_ret_success y && test x = "$1" ); then 338 : 339 else 340 exitcode=1 341 echo positional parameters were not saved. 342 fi 343 344 test $exitcode = 0) || { (exit 1); exit 1; } 345 346 ( 139 347 as_lineno_1=$LINENO 140 348 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`142 349 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 351 352 _ASEOF 353 }; then 354 break 355 fi 356 357 fi 358 359 done 360 361 if test "x$CONFIG_SHELL" != x; then 362 for as_var in BASH_ENV ENV 363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 364 done 365 export CONFIG_SHELL 366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 367 fi 368 369 370 if test $as_have_required = no; then 371 echo This script requires a shell more modern than all the 372 echo shells that I found on your system. Please install a 373 echo modern shell, or manually run the script under such a 374 echo shell if you do have one. 375 { (exit 1); exit 1; } 376 fi 377 378 379 fi 380 381 fi 382 383 384 385 (eval "as_func_return () { 386 (exit \$1) 387 } 388 as_func_success () { 389 as_func_return 0 390 } 391 as_func_failure () { 392 as_func_return 1 393 } 394 as_func_ret_success () { 395 return 0 396 } 397 as_func_ret_failure () { 398 return 1 399 } 400 401 exitcode=0 402 if as_func_success; then 403 : 404 else 405 exitcode=1 406 echo as_func_success failed. 407 fi 408 409 if as_func_failure; then 410 exitcode=1 411 echo as_func_failure succeeded. 412 fi 413 414 if as_func_ret_success; then 415 : 416 else 417 exitcode=1 418 echo as_func_ret_success failed. 419 fi 420 421 if as_func_ret_failure; then 422 exitcode=1 423 echo as_func_ret_failure succeeded. 424 fi 425 426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 427 : 428 else 429 exitcode=1 430 echo positional parameters were not saved. 431 fi 432 433 test \$exitcode = 0") || { 434 echo No shell found that supports shell functions. 435 echo Please tell [email protected] about your system, 436 echo including any error possibly output before this message. 437 echo This can help us improve future autoconf versions. 438 echo Configuration will now proceed without shell functions. 439 } 440 441 442 443 as_lineno_1=$LINENO 444 as_lineno_2=$LINENO 445 test "x$as_lineno_1" != "x$as_lineno_2" && 446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 155 447 156 448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 449 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 450 # line-number line after each line using $LINENO; the second 'sed' 451 # does the real work. The second script uses 'N' to pair each 452 # line-number line with the line containing $LINENO, and appends 453 # trailing '-' during substitution so that $LINENO is not a special 454 # case at line end. 162 455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 456 # scripts with optimization help from Paolo Bonzini. Blame Lee 457 # E. McMahon (1931-1989) for sed's syntax. :-) 458 sed -n ' 459 p 460 /[$]LINENO/= 461 ' <$as_myself | 165 462 sed ' 463 s/[$]LINENO.*/&-/ 464 t lineno 465 b 466 :lineno 166 467 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 468 :loop 469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 170 470 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 471 s/-\n.*// 173 472 ' >$as_me.lineno && 174 chmod +x $as_me.lineno||175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2473 chmod +x "$as_me.lineno" || 474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 475 { (exit 1); exit 1; }; } 177 476 178 477 # Don't try to exec as it changes $[0], causing all sort of problems 179 478 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensi ble to this).181 . ./$as_me.lineno479 # original and so on. Autoconf is especially sensitive to this). 480 . "./$as_me.lineno" 182 481 # Exit status is that of the last command. 183 482 exit … … 185 484 186 485 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192 esac 193 194 if expr a : '\(a\)' >/dev/null 2>&1; then 486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 487 as_dirname=dirname 488 else 489 as_dirname=false 490 fi 491 492 ECHO_C= ECHO_N= ECHO_T= 493 case `echo -n x` in 494 -n*) 495 case `echo 'x\c'` in 496 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 497 *) ECHO_C='\c';; 498 esac;; 499 *) 500 ECHO_N='-n';; 501 esac 502 if expr a : '\(a\)' >/dev/null 2>&1 && 503 test "X`expr 00001 : '.*\(...\)'`" = X001; then 195 504 as_expr=expr 196 505 else … … 199 508 200 509 rm -f conf$$ conf$$.exe conf$$.file 201 echo >conf$$.file 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 510 if test -d conf$$.dir; then 511 rm -f conf$$.dir/conf$$.file 512 else 513 rm -f conf$$.dir 514 mkdir conf$$.dir 2>/dev/null 515 fi 516 if (echo >conf$$.file) 2>/dev/null; then 517 if ln -s conf$$.file conf$$ 2>/dev/null; then 518 as_ln_s='ln -s' 519 # ... but there are two gotchas: 520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 522 # In both cases, we have to default to `cp -p'. 523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 524 as_ln_s='cp -p' 525 elif ln conf$$.file conf$$ 2>/dev/null; then 526 as_ln_s=ln 527 else 207 528 as_ln_s='cp -p' 208 else209 as_ln_s='ln -s'210 529 fi 211 elif ln conf$$.file conf$$ 2>/dev/null; then212 as_ln_s=ln213 530 else 214 531 as_ln_s='cp -p' 215 532 fi 216 rm -f conf$$ conf$$.exe conf$$.file 533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 534 rmdir conf$$.dir 2>/dev/null 217 535 218 536 if mkdir -p . 2>/dev/null; then … … 223 541 fi 224 542 225 as_executable_p="test -f" 543 if test -x / >/dev/null 2>&1; then 544 as_test_x='test -x' 545 else 546 if ls -dL / >/dev/null 2>&1; then 547 as_ls_L_option=L 548 else 549 as_ls_L_option= 550 fi 551 as_test_x=' 552 eval sh -c '\'' 553 if test -d "$1"; then 554 test -d "$1/."; 555 else 556 case $1 in 557 -*)set "./$1";; 558 esac; 559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 560 ???[sx]*):;;*)false;;esac;fi 561 '\'' sh 562 ' 563 fi 564 as_executable_p=$as_test_x 226 565 227 566 # Sed expression to map a string onto a valid CPP name. … … 232 571 233 572 234 # IFS 235 # We need space, tab and new line, in precisely that order. 236 as_nl=' 237 ' 238 IFS=" $as_nl" 239 240 # CDPATH. 241 $as_unset CDPATH 242 573 574 exec 7<&0 </dev/null 6>&1 243 575 244 576 # Name of the host. … … 247 579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 580 249 exec 6>&1250 251 581 # 252 582 # Initializations. 253 583 # 254 584 ac_default_prefix=/usr/local 585 ac_clean_files= 255 586 ac_config_libobj_dir=. 587 LIBOBJS= 256 588 cross_compiling=no 257 589 subdirs= … … 259 591 MAKEFLAGS= 260 592 SHELL=${CONFIG_SHELL-/bin/sh} 261 262 # Maximum number of lines to put in a shell here document.263 # This variable seems obsolete. It should probably be removed, and264 # only ac_max_sed_lines should be used.265 : ${ac_max_here_lines=38}266 593 267 594 # Identity of this package. … … 275 602 ac_includes_default="\ 276 603 #include <stdio.h> 277 #if HAVE_SYS_TYPES_H604 #ifdef HAVE_SYS_TYPES_H 278 605 # include <sys/types.h> 279 606 #endif 280 #if HAVE_SYS_STAT_H607 #ifdef HAVE_SYS_STAT_H 281 608 # include <sys/stat.h> 282 609 #endif 283 #if STDC_HEADERS610 #ifdef STDC_HEADERS 284 611 # include <stdlib.h> 285 612 # include <stddef.h> 286 613 #else 287 # if HAVE_STDLIB_H614 # ifdef HAVE_STDLIB_H 288 615 # include <stdlib.h> 289 616 # endif 290 617 #endif 291 #if HAVE_STRING_H292 # if ! STDC_HEADERS &&HAVE_MEMORY_H618 #ifdef HAVE_STRING_H 619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 293 620 # include <memory.h> 294 621 # endif 295 622 # include <string.h> 296 623 #endif 297 #if HAVE_STRINGS_H624 #ifdef HAVE_STRINGS_H 298 625 # include <strings.h> 299 626 #endif 300 #if HAVE_INTTYPES_H627 #ifdef HAVE_INTTYPES_H 301 628 # include <inttypes.h> 302 #else303 # if HAVE_STDINT_H304 # include <stdint.h>305 # endif306 629 #endif 307 #if HAVE_UNISTD_H 630 #ifdef HAVE_STDINT_H 631 # include <stdint.h> 632 #endif 633 #ifdef HAVE_UNISTD_H 308 634 # include <unistd.h> 309 635 #endif" 310 636 311 ac_subdirs_all="$ac_subdirs_all common-src" 312 ac_subdirs_all="$ac_subdirs_all build-src" 313 ac_subdirs_all="$ac_subdirs_all runtime-src" 314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_ACCENTFOLD USE_SQLITE USE_APACHE_HTTPD ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS' 637 enable_option_checking=no 638 ac_subst_vars='LTLIBOBJS 639 subdirs 640 MODULEDIRS 641 gsdlos 642 STATIC 643 LIBOBJS 644 ALLOCA 645 ANSI2KNR 646 U 647 EGREP 648 GREP 649 CPP 650 MICO_VER 651 ARCH_DEP_FLAGS 652 RANLIB 653 SET_MAKE 654 LN_S 655 INSTALL_DATA 656 INSTALL_SCRIPT 657 INSTALL_PROGRAM 658 target_os 659 target_vendor 660 target_cpu 661 target 662 host_os 663 host_vendor 664 host_cpu 665 host 666 build_os 667 build_vendor 668 build_cpu 669 build 670 YFLAGS 671 YACC 672 AWK 673 ac_ct_CXX 674 CXXFLAGS 675 CXX 676 OBJEXT 677 EXEEXT 678 ac_ct_CC 679 CPPFLAGS 680 CC 681 CFLAGS 682 LDFLAGS 683 ENABLE_LUCENE 684 ENABLE_MGPP 685 ENABLE_MG 686 ENABLE_JNI 687 USE_APACHE_HTTPD 688 USE_SQLITE 689 ENABLE_ACCENTFOLD 690 USE_YAZ 691 USE_Z3950 692 MICO_DIR 693 USE_CORBA 694 USE_LANGACTION 695 USE_FASTCGI 696 VERSION 697 PACKAGE 698 target_alias 699 host_alias 700 build_alias 701 LIBS 702 ECHO_T 703 ECHO_N 704 ECHO_C 705 DEFS 706 mandir 707 localedir 708 libdir 709 psdir 710 pdfdir 711 dvidir 712 htmldir 713 infodir 714 docdir 715 oldincludedir 716 includedir 717 localstatedir 718 sharedstatedir 719 sysconfdir 720 datadir 721 datarootdir 722 libexecdir 723 sbindir 724 bindir 725 program_transform_name 726 prefix 727 exec_prefix 728 PACKAGE_BUGREPORT 729 PACKAGE_STRING 730 PACKAGE_VERSION 731 PACKAGE_TARNAME 732 PACKAGE_NAME 733 PATH_SEPARATOR 734 SHELL' 315 735 ac_subst_files='' 736 ac_user_opts=' 737 enable_option_checking 738 enable_corba 739 with_micodir 740 enable_z3950 741 enable_yaz 742 enable_accentfold 743 enable_sqlite 744 enable_apache_httpd 745 enable_jni 746 enable_mg 747 enable_mgpp 748 enable_lucene 749 with_dmalloc 750 with_regex 751 ' 752 ac_precious_vars='build_alias 753 host_alias 754 target_alias 755 CC 756 CFLAGS 757 LDFLAGS 758 LIBS 759 CPPFLAGS 760 CXX 761 CXXFLAGS 762 CCC 763 YACC 764 YFLAGS 765 CPP' 766 ac_subdirs_all='common-src 767 build-src 768 runtime-src' 316 769 317 770 # Initialize some variables set by options. 318 771 ac_init_help= 319 772 ac_init_version=false 773 ac_unrecognized_opts= 774 ac_unrecognized_sep= 320 775 # The variables have the same names as the options, with 321 776 # dashes changed to underlines. … … 340 795 # by default will actually change. 341 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.) 342 798 bindir='${exec_prefix}/bin' 343 799 sbindir='${exec_prefix}/sbin' 344 800 libexecdir='${exec_prefix}/libexec' 345 datadir='${prefix}/share' 801 datarootdir='${prefix}/share' 802 datadir='${datarootdir}' 346 803 sysconfdir='${prefix}/etc' 347 804 sharedstatedir='${prefix}/com' 348 805 localstatedir='${prefix}/var' 349 libdir='${exec_prefix}/lib'350 806 includedir='${prefix}/include' 351 807 oldincludedir='/usr/include' 352 infodir='${prefix}/info' 353 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' 354 817 355 818 ac_prev= 819 ac_dashdash= 356 820 for ac_option 357 821 do 358 822 # If the previous option needs an argument, assign it. 359 823 if test -n "$ac_prev"; then 360 eval "$ac_prev=\$ac_option"824 eval $ac_prev=\$ac_option 361 825 ac_prev= 362 826 continue 363 827 fi 364 828 365 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 366 833 367 834 # Accept the important Cygnus configure options, so we can diagnose typos. 368 835 369 case $ac_option in 836 case $ac_dashdash$ac_option in 837 --) 838 ac_dashdash=yes ;; 370 839 371 840 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 389 858 cache_file=config.cache ;; 390 859 391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)860 -datadir | --datadir | --datadi | --datad) 392 861 ac_prev=datadir ;; 393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 394 | --da=*) 862 -datadir=* | --datadir=* | --datadi=* | --datad=*) 395 863 datadir=$ac_optarg ;; 396 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 397 872 -disable-* | --disable-*) 398 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`873 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 399 874 # Reject names that are not valid shell variable names. 400 expr "x$ac_ feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2875 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 876 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 402 877 { (exit 1); exit 1; }; } 403 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 404 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 ;; 405 898 406 899 -enable-* | --enable-*) 407 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`900 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 408 901 # Reject names that are not valid shell variable names. 409 expr "x$ac_ feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2902 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 903 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 411 904 { (exit 1); exit 1; }; } 412 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 413 case $ac_option in 414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 415 *) ac_optarg=yes ;; 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=', ';; 416 913 esac 417 eval "enable_$ac_feature='$ac_optarg'";;914 eval enable_$ac_useropt=\$ac_optarg ;; 418 915 419 916 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 442 939 host_alias=$ac_optarg ;; 443 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 444 947 -includedir | --includedir | --includedi | --included | --include \ 445 948 | --includ | --inclu | --incl | --inc) … … 466 969 libexecdir=$ac_optarg ;; 467 970 971 -localedir | --localedir | --localedi | --localed | --locale) 972 ac_prev=localedir ;; 973 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 974 localedir=$ac_optarg ;; 975 468 976 -localstatedir | --localstatedir | --localstatedi | --localstated \ 469 | --localstate | --localstat | --localsta | --localst \ 470 | --locals | --local | --loca | --loc | --lo) 977 | --localstate | --localstat | --localsta | --localst | --locals) 471 978 ac_prev=localstatedir ;; 472 979 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 980 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 475 981 localstatedir=$ac_optarg ;; 476 982 … … 537 1043 program_transform_name=$ac_optarg ;; 538 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 539 1055 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 540 1056 | -silent | --silent | --silen | --sile | --sil) … … 587 1103 588 1104 -with-* | --with-*) 589 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1105 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 590 1106 # Reject names that are not valid shell variable names. 591 expr "x$ac_ package" : ".*[^-_$as_cr_alnum]" >/dev/null &&592 { echo "$as_me: error: invalid package name: $ac_package" >&21107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1108 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 593 1109 { (exit 1); exit 1; }; } 594 ac_package=`echo $ac_package| sed 's/-/_/g'` 595 case $ac_option in 596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 597 *) ac_optarg=yes ;; 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=', ';; 598 1118 esac 599 eval "with_$ac_package='$ac_optarg'";;1119 eval with_$ac_useropt=\$ac_optarg ;; 600 1120 601 1121 -without-* | --without-*) 602 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1122 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 603 1123 # Reject names that are not valid shell variable names. 604 expr "x$ac_ package" : ".*[^-_$as_cr_alnum]" >/dev/null &&605 { echo "$as_me: error: invalid package name: $ac_package" >&21124 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1125 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 606 1126 { (exit 1); exit 1; }; } 607 ac_package=`echo $ac_package | sed 's/-/_/g'` 608 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 ;; 609 1137 610 1138 --x) … … 626 1154 x_libraries=$ac_optarg ;; 627 1155 628 -*) { echo "$as_me: error: unrecognized option: $ac_option1156 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 629 1157 Try \`$0 --help' for more information." >&2 630 1158 { (exit 1); exit 1; }; } … … 635 1163 # Reject names that are not valid shell variable names. 636 1164 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&21165 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 638 1166 { (exit 1); exit 1; }; } 639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 640 eval "$ac_envvar='$ac_optarg'" 1167 eval $ac_envvar=\$ac_optarg 641 1168 export $ac_envvar ;; 642 1169 643 1170 *) 644 1171 # FIXME: should be removed in autoconf 3.0. 645 echo "$as_me: WARNING: you should use --build, --host, --target" >&21172 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 646 1173 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 647 echo "$as_me: WARNING: invalid host type: $ac_option" >&21174 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 648 1175 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 649 1176 ;; … … 654 1181 if test -n "$ac_prev"; then 655 1182 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 656 { echo "$as_me: error: missing argument to $ac_option" >&21183 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 657 1184 { (exit 1); exit 1; }; } 658 1185 fi 659 1186 660 # Be sure to have absolute paths. 661 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 662 1201 do 663 eval ac_val=$`echo $ac_var` 1202 eval ac_val=\$$ac_var 1203 # Remove trailing slashes. 664 1204 case $ac_val in 665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2667 { (exit 1); exit 1; }; };;1205 */ ) 1206 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1207 eval $ac_var=\$ac_val;; 668 1208 esac 669 done 670 671 # Be sure to have absolute paths. 672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 673 localstatedir libdir includedir oldincludedir infodir mandir 674 do 675 eval ac_val=$`echo $ac_var` 1209 # Be sure to have absolute directory names. 676 1210 case $ac_val in 677 [\\/$]* | ?:[\\/]* ) ;; 678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 679 { (exit 1); exit 1; }; };; 1211 [\\/$]* | ?:[\\/]* ) continue;; 1212 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 680 1213 esac 1214 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1215 { (exit 1); exit 1; }; } 681 1216 done 682 1217 … … 692 1227 if test "x$build_alias" = x; then 693 1228 cross_compiling=maybe 694 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. 695 1230 If a cross compiler is detected then cross compile mode will be used." >&2 696 1231 elif test "x$build_alias" != "x$host_alias"; then … … 705 1240 706 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 707 1252 # Find the source files, if location was not specified. 708 1253 if test -z "$srcdir"; then 709 1254 ac_srcdir_defaulted=yes 710 # Try the directory containing this script, then its parent. 711 ac_confdir=`(dirname "$0") 2>/dev/null || 712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 713 X"$0" : 'X\(//\)[^/]' \| \ 714 X"$0" : 'X\(//\)$' \| \ 715 X"$0" : 'X\(/\)' \| \ 716 . : '\(.\)' 2>/dev/null || 717 echo X"$0" | 718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 719 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 720 /^X\(\/\/\)$/{ s//\1/; q; } 721 /^X\(\/\).*/{ s//\1/; q; } 722 s/.*/./; q'` 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'` 723 1279 srcdir=$ac_confdir 724 if test ! -r $srcdir/$ac_unique_file; then1280 if test ! -r "$srcdir/$ac_unique_file"; then 725 1281 srcdir=.. 726 1282 fi … … 728 1284 ac_srcdir_defaulted=no 729 1285 fi 730 if test ! -r $srcdir/$ac_unique_file; then731 if test "$ac_srcdir_defaulted" = yes; then732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&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 733 1289 { (exit 1); exit 1; }; } 734 else 735 { 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 736 1294 { (exit 1); exit 1; }; } 737 fi 738 fi 739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 741 { (exit 1); exit 1; }; } 742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 743 ac_env_build_alias_set=${build_alias+set} 744 ac_env_build_alias_value=$build_alias 745 ac_cv_env_build_alias_set=${build_alias+set} 746 ac_cv_env_build_alias_value=$build_alias 747 ac_env_host_alias_set=${host_alias+set} 748 ac_env_host_alias_value=$host_alias 749 ac_cv_env_host_alias_set=${host_alias+set} 750 ac_cv_env_host_alias_value=$host_alias 751 ac_env_target_alias_set=${target_alias+set} 752 ac_env_target_alias_value=$target_alias 753 ac_cv_env_target_alias_set=${target_alias+set} 754 ac_cv_env_target_alias_value=$target_alias 755 ac_env_CC_set=${CC+set} 756 ac_env_CC_value=$CC 757 ac_cv_env_CC_set=${CC+set} 758 ac_cv_env_CC_value=$CC 759 ac_env_CFLAGS_set=${CFLAGS+set} 760 ac_env_CFLAGS_value=$CFLAGS 761 ac_cv_env_CFLAGS_set=${CFLAGS+set} 762 ac_cv_env_CFLAGS_value=$CFLAGS 763 ac_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_env_LDFLAGS_value=$LDFLAGS 765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 766 ac_cv_env_LDFLAGS_value=$LDFLAGS 767 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_env_CPPFLAGS_value=$CPPFLAGS 769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 771 ac_env_CXX_set=${CXX+set} 772 ac_env_CXX_value=$CXX 773 ac_cv_env_CXX_set=${CXX+set} 774 ac_cv_env_CXX_value=$CXX 775 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 776 ac_env_CXXFLAGS_value=$CXXFLAGS 777 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 778 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 779 ac_env_CPP_set=${CPP+set} 780 ac_env_CPP_value=$CPP 781 ac_cv_env_CPP_set=${CPP+set} 782 ac_cv_env_CPP_value=$CPP 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 783 1312 784 1313 # … … 809 1338 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 810 1339 811 _ACEOF812 813 cat <<_ACEOF814 1340 Installation directories: 815 1341 --prefix=PREFIX install architecture-independent files in PREFIX 816 1342 [$ac_default_prefix] 817 1343 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 818 1344 [PREFIX] 819 1345 820 1346 By default, \`make install' will install all the files in … … 826 1352 827 1353 Fine tuning of the installation directories: 828 --bindir=DIR user executables [EPREFIX/bin] 829 --sbindir=DIR system admin executables [EPREFIX/sbin] 830 --libexecdir=DIR program executables [EPREFIX/libexec] 831 --datadir=DIR read-only architecture-independent data [PREFIX/share] 832 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 833 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 834 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 835 --libdir=DIR object code libraries [EPREFIX/lib] 836 --includedir=DIR C header files [PREFIX/include] 837 --oldincludedir=DIR C header files for non-gcc [/usr/include] 838 --infodir=DIR info documentation [PREFIX/info] 839 --mandir=DIR man documentation [PREFIX/man] 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] 840 1373 _ACEOF 841 1374 … … 854 1387 855 1388 Optional Features: 1389 --disable-option-checking ignore unrecognized --enable/--with options 856 1390 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 857 1391 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 880 1414 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 881 1415 nonstandard directory <lib dir> 882 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 883 headers in a nonstandard directory <include dir> 1416 LIBS libraries to pass to the linker, e.g. -l<library> 1417 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1418 you have headers in a nonstandard directory <include dir> 884 1419 CXX C++ compiler command 885 1420 CXXFLAGS C++ compiler flags 1421 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1422 the first program found out of: `bison -y', `byacc', `yacc'. 1423 YFLAGS The list of arguments that will be passed by default to $YACC. 1424 This script will default YFLAGS to the empty string to avoid a 1425 default value of `-d' given by some make applications. 886 1426 CPP C preprocessor 887 1427 … … 890 1430 891 1431 _ACEOF 1432 ac_status=$? 892 1433 fi 893 1434 894 1435 if test "$ac_init_help" = "recursive"; then 895 1436 # If there are subdirs, report their specific --help. 896 ac_popdir=`pwd`897 1437 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 898 test -d $ac_dir || continue 1438 test -d "$ac_dir" || 1439 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1440 continue 899 1441 ac_builddir=. 900 1442 901 if test "$ac_dir" != .; then 902 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 903 # A "../" for each directory in $ac_dir_suffix. 904 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 905 else 906 ac_dir_suffix= ac_top_builddir= 907 fi 1443 case "$ac_dir" in 1444 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1445 *) 1446 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1447 # A ".." for each directory in $ac_dir_suffix. 1448 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1449 case $ac_top_builddir_sub in 1450 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1451 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1452 esac ;; 1453 esac 1454 ac_abs_top_builddir=$ac_pwd 1455 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1456 # for backward compatibility: 1457 ac_top_builddir=$ac_top_build_prefix 908 1458 909 1459 case $srcdir in 910 .) # No --srcdir option.We are building in place.1460 .) # We are building in place. 911 1461 ac_srcdir=. 912 if test -z "$ac_top_builddir"; then 913 ac_top_srcdir=. 1462 ac_top_srcdir=$ac_top_builddir_sub 1463 ac_abs_top_srcdir=$ac_pwd ;; 1464 [\\/]* | ?:[\\/]* ) # Absolute name. 1465 ac_srcdir=$srcdir$ac_dir_suffix; 1466 ac_top_srcdir=$srcdir 1467 ac_abs_top_srcdir=$srcdir ;; 1468 *) # Relative name. 1469 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1470 ac_top_srcdir=$ac_top_build_prefix$srcdir 1471 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1472 esac 1473 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1474 1475 cd "$ac_dir" || { ac_status=$?; continue; } 1476 # Check for guested configure. 1477 if test -f "$ac_srcdir/configure.gnu"; then 1478 echo && 1479 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1480 elif test -f "$ac_srcdir/configure"; then 1481 echo && 1482 $SHELL "$ac_srcdir/configure" --help=recursive 914 1483 else 915 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 916 fi ;; 917 [\\/]* | ?:[\\/]* ) # Absolute path. 918 ac_srcdir=$srcdir$ac_dir_suffix; 919 ac_top_srcdir=$srcdir ;; 920 *) # Relative path. 921 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 922 ac_top_srcdir=$ac_top_builddir$srcdir ;; 923 esac 924 925 # Do not use `cd foo && pwd` to compute absolute paths, because 926 # the directories may not exist. 927 case `pwd` in 928 .) ac_abs_builddir="$ac_dir";; 929 *) 930 case "$ac_dir" in 931 .) ac_abs_builddir=`pwd`;; 932 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 933 *) ac_abs_builddir=`pwd`/"$ac_dir";; 934 esac;; 935 esac 936 case $ac_abs_builddir in 937 .) ac_abs_top_builddir=${ac_top_builddir}.;; 938 *) 939 case ${ac_top_builddir}. in 940 .) ac_abs_top_builddir=$ac_abs_builddir;; 941 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 942 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 943 esac;; 944 esac 945 case $ac_abs_builddir in 946 .) ac_abs_srcdir=$ac_srcdir;; 947 *) 948 case $ac_srcdir in 949 .) ac_abs_srcdir=$ac_abs_builddir;; 950 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 951 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 952 esac;; 953 esac 954 case $ac_abs_builddir in 955 .) ac_abs_top_srcdir=$ac_top_srcdir;; 956 *) 957 case $ac_top_srcdir in 958 .) ac_abs_top_srcdir=$ac_abs_builddir;; 959 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 960 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 961 esac;; 962 esac 963 964 cd $ac_dir 965 # Check for guested configure; otherwise get Cygnus style configure. 966 if test -f $ac_srcdir/configure.gnu; then 967 echo 968 $SHELL $ac_srcdir/configure.gnu --help=recursive 969 elif test -f $ac_srcdir/configure; then 970 echo 971 $SHELL $ac_srcdir/configure --help=recursive 972 elif test -f $ac_srcdir/configure.ac || 973 test -f $ac_srcdir/configure.in; then 974 echo 975 $ac_configure --help 976 else 977 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 978 fi 979 cd $ac_popdir 1484 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1485 fi || ac_status=$? 1486 cd "$ac_pwd" || { ac_status=$?; break; } 980 1487 done 981 1488 fi 982 1489 983 test -n "$ac_init_help" && exit 01490 test -n "$ac_init_help" && exit $ac_status 984 1491 if $ac_init_version; then 985 1492 cat <<\_ACEOF 986 987 Copyright (C) 2003 Free Software Foundation, Inc. 1493 configure 1494 generated by GNU Autoconf 2.63 1495 1496 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1497 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 988 1498 This configure script is free software; the Free Software Foundation 989 1499 gives unlimited permission to copy, distribute and modify it. 990 1500 _ACEOF 991 exit 0 992 fi 993 exec 5>config.log 994 cat >&5 <<_ACEOF 1501 exit 1502 fi 1503 cat >config.log <<_ACEOF 995 1504 This file contains any messages produced by compilers while 996 1505 running configure, to aid debugging if configure makes a mistake. 997 1506 998 1507 It was created by $as_me, which was 999 generated by GNU Autoconf 2. 59. Invocation command line was1508 generated by GNU Autoconf 2.63. Invocation command line was 1000 1509 1001 1510 $ $0 $@ 1002 1511 1003 1512 _ACEOF 1513 exec 5>>config.log 1004 1514 { 1005 1515 cat <<_ASUNAME … … 1020 1530 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1021 1531 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1022 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1532 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1023 1533 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1024 1534 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1032 1542 IFS=$as_save_IFS 1033 1543 test -z "$as_dir" && as_dir=. 1034 echo "PATH: $as_dir"1544 $as_echo "PATH: $as_dir" 1035 1545 done 1546 IFS=$as_save_IFS 1036 1547 1037 1548 } >&5 … … 1055 1566 ac_configure_args0= 1056 1567 ac_configure_args1= 1057 ac_sep=1058 1568 ac_must_keep_next=false 1059 1569 for ac_pass in 1 2 … … 1066 1576 | -silent | --silent | --silen | --sile | --sil) 1067 1577 continue ;; 1068 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1069 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1578 *\'*) 1579 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1070 1580 esac 1071 1581 case $ac_pass in … … 1088 1598 esac 1089 1599 fi 1090 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1091 # Get rid of the leading space. 1092 ac_sep=" " 1600 ac_configure_args="$ac_configure_args '$ac_arg'" 1093 1601 ;; 1094 1602 esac … … 1101 1609 # config.log. We remove comments because anyway the quotes in there 1102 1610 # would cause problems or look ugly. 1103 # WARNING: Be sure not to use single quotes in there, as some shells,1104 # such as our DU 5.0 friend, will then `close' the trap.1611 # WARNING: Use '\'' to represent an apostrophe within the trap. 1612 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1105 1613 trap 'exit_status=$? 1106 1614 # Save into config.log some information that might help in debugging. … … 1115 1623 echo 1116 1624 # The following way of writing the cache mishandles newlines in values, 1117 { 1625 ( 1626 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1627 eval ac_val=\$$ac_var 1628 case $ac_val in #( 1629 *${as_nl}*) 1630 case $ac_var in #( 1631 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1632 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1633 esac 1634 case $ac_var in #( 1635 _ | IFS | as_nl) ;; #( 1636 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1637 *) $as_unset $ac_var ;; 1638 esac ;; 1639 esac 1640 done 1118 1641 (set) 2>&1 | 1119 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1120 * ac_space=\ *)1642 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1643 *${as_nl}ac_space=\ *) 1121 1644 sed -n \ 1122 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1123 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1645 "s/'\''/'\''\\\\'\'''\''/g; 1646 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1647 ;; #( 1648 *) 1649 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1124 1650 ;; 1125 *) 1126 sed -n \ 1127 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1128 ;; 1129 esac; 1130 } 1651 esac | 1652 sort 1653 ) 1131 1654 echo 1132 1655 … … 1139 1662 for ac_var in $ac_subst_vars 1140 1663 do 1141 eval ac_val=$`echo $ac_var` 1142 echo "$ac_var='"'"'$ac_val'"'"'" 1664 eval ac_val=\$$ac_var 1665 case $ac_val in 1666 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1667 esac 1668 $as_echo "$ac_var='\''$ac_val'\''" 1143 1669 done | sort 1144 1670 echo … … 1146 1672 if test -n "$ac_subst_files"; then 1147 1673 cat <<\_ASBOX 1148 ## ------------- ##1149 ## Output files. ##1150 ## ------------- ##1674 ## ------------------- ## 1675 ## File substitutions. ## 1676 ## ------------------- ## 1151 1677 _ASBOX 1152 1678 echo 1153 1679 for ac_var in $ac_subst_files 1154 1680 do 1155 eval ac_val=$`echo $ac_var` 1156 echo "$ac_var='"'"'$ac_val'"'"'" 1681 eval ac_val=\$$ac_var 1682 case $ac_val in 1683 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1684 esac 1685 $as_echo "$ac_var='\''$ac_val'\''" 1157 1686 done | sort 1158 1687 echo … … 1166 1695 _ASBOX 1167 1696 echo 1168 sed "/^$/d" confdefs.h | sort1697 cat confdefs.h 1169 1698 echo 1170 1699 fi 1171 1700 test "$ac_signal" != 0 && 1172 echo "$as_me: caught signal $ac_signal"1173 echo "$as_me: exit $exit_status"1701 $as_echo "$as_me: caught signal $ac_signal" 1702 $as_echo "$as_me: exit $exit_status" 1174 1703 } >&5 1175 rm -f core *.core &&1176 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1704 rm -f core *.core core.conftest.* && 1705 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1177 1706 exit $exit_status 1178 1707 ' 0 1179 1708 for ac_signal in 1 2 13 15; do 1180 1709 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1183 1712 1184 1713 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1185 rm -rf conftest* confdefs.h 1186 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1187 echo >confdefs.h 1714 rm -f -r conftest* confdefs.h 1188 1715 1189 1716 # Predefined preprocessor variables. … … 1215 1742 1216 1743 # Let the site file select an alternate cache file if it wants to. 1217 # Prefer explicitly selected file to automatically selected ones. 1218 if test -z "$CONFIG_SITE"; then 1219 if test "x$prefix" != xNONE; then 1220 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1221 else 1222 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1223 fi 1224 fi 1225 for ac_site_file in $CONFIG_SITE; do 1744 # Prefer an explicitly selected file to automatically selected ones. 1745 ac_site_file1=NONE 1746 ac_site_file2=NONE 1747 if test -n "$CONFIG_SITE"; then 1748 ac_site_file1=$CONFIG_SITE 1749 elif test "x$prefix" != xNONE; then 1750 ac_site_file1=$prefix/share/config.site 1751 ac_site_file2=$prefix/etc/config.site 1752 else 1753 ac_site_file1=$ac_default_prefix/share/config.site 1754 ac_site_file2=$ac_default_prefix/etc/config.site 1755 fi 1756 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1757 do 1758 test "x$ac_site_file" = xNONE && continue 1226 1759 if test -r "$ac_site_file"; then 1227 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&51228 echo "$as_me: loading site script $ac_site_file" >&6;}1760 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1761 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1229 1762 sed 's/^/| /' "$ac_site_file" >&5 1230 1763 . "$ac_site_file" … … 1236 1769 # files actually), so we avoid doing that. 1237 1770 if test -f "$cache_file"; then 1238 { echo "$as_me:$LINENO: loading cache $cache_file" >&51239 echo "$as_me: loading cache $cache_file" >&6;}1771 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1772 $as_echo "$as_me: loading cache $cache_file" >&6;} 1240 1773 case $cache_file in 1241 [\\/]* | ?:[\\/]* ) . $cache_file;;1242 *) . ./$cache_file;;1774 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1775 *) . "./$cache_file";; 1243 1776 esac 1244 1777 fi 1245 1778 else 1246 { echo "$as_me:$LINENO: creating cache $cache_file" >&51247 echo "$as_me: creating cache $cache_file" >&6;}1779 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1780 $as_echo "$as_me: creating cache $cache_file" >&6;} 1248 1781 >$cache_file 1249 1782 fi … … 1252 1785 # value. 1253 1786 ac_cache_corrupted=false 1254 for ac_var in `(set) 2>&1 | 1255 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1787 for ac_var in $ac_precious_vars; do 1256 1788 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1257 1789 eval ac_new_set=\$ac_env_${ac_var}_set 1258 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1259 eval ac_new_val= "\$ac_env_${ac_var}_value"1790 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1791 eval ac_new_val=\$ac_env_${ac_var}_value 1260 1792 case $ac_old_set,$ac_new_set in 1261 1793 set,) 1262 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51263 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1794 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1795 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1264 1796 ac_cache_corrupted=: ;; 1265 1797 ,set) 1266 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51267 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1798 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1799 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1268 1800 ac_cache_corrupted=: ;; 1269 1801 ,);; 1270 1802 *) 1271 1803 if test "x$ac_old_val" != "x$ac_new_val"; then 1272 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1273 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1274 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1275 echo "$as_me: former value: $ac_old_val" >&2;} 1276 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1277 echo "$as_me: current value: $ac_new_val" >&2;} 1278 ac_cache_corrupted=: 1804 # differences in whitespace do not lead to failure. 1805 ac_old_val_w=`echo x $ac_old_val` 1806 ac_new_val_w=`echo x $ac_new_val` 1807 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1808 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1809 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1810 ac_cache_corrupted=: 1811 else 1812 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1813 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1814 eval $ac_var=\$ac_old_val 1815 fi 1816 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1817 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1818 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1819 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1279 1820 fi;; 1280 1821 esac … … 1282 1823 if test "$ac_new_set" = set; then 1283 1824 case $ac_new_val in 1284 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1285 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1825 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1286 1826 *) ac_arg=$ac_var=$ac_new_val ;; 1287 1827 esac … … 1293 1833 done 1294 1834 if $ac_cache_corrupted; then 1295 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1296 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1297 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1298 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1835 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 1836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1837 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1838 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1839 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1840 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1299 1841 { (exit 1); exit 1; }; } 1300 1842 fi 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1301 1859 1302 1860 ac_ext=c … … 1307 1865 1308 1866 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 ac_config_headers="$ac_config_headers config.h" 1867 ac_config_headers="$ac_config_headers config.h" 1327 1868 1328 1869 … … 1357 1898 fi 1358 1899 1359 # Check whether --enable-corba or --disable-corbawas given.1900 # Check whether --enable-corba was given. 1360 1901 if test "${enable_corba+set}" = set; then 1361 enableval="$enable_corba" 1362 USE_CORBA=1 1902 enableval=$enable_corba; USE_CORBA=1 1363 1903 else 1364 1904 USE_CORBA=0 1365 fi; 1905 fi 1906 1366 1907 cat >>confdefs.h <<_ACEOF 1367 1908 #define USE_CORBA $USE_CORBA … … 1371 1912 1372 1913 1373 # Check whether --with-micodir or --without-micodirwas given.1914 # Check whether --with-micodir was given. 1374 1915 if test "${with_micodir+set}" = set; then 1375 withval="$with_micodir" 1376 MICO_DIR=$withval 1916 withval=$with_micodir; MICO_DIR=$withval 1377 1917 else 1378 1918 MICO_DIR="default" 1379 fi; 1919 fi 1920 1380 1921 cat >>confdefs.h <<_ACEOF 1381 1922 #define MICO_DIR "$MICO_DIR" … … 1384 1925 1385 1926 1386 # Check whether --enable-z3950 or --disable-z3950was given.1927 # Check whether --enable-z3950 was given. 1387 1928 if test "${enable_z3950+set}" = set; then 1388 enableval="$enable_z3950" 1389 USE_Z3950=1 1929 enableval=$enable_z3950; USE_Z3950=1 1390 1930 else 1391 1931 USE_Z3950=0 1392 fi; 1932 fi 1933 1393 1934 if test USE_Z3950 = 1; then 1394 1935 cat >>confdefs.h <<\_ACEOF … … 1399 1940 fi 1400 1941 1401 # Check whether --enable-yaz or --disable-yazwas given.1942 # Check whether --enable-yaz was given. 1402 1943 if test "${enable_yaz+set}" = set; then 1403 enableval="$enable_yaz" 1404 USE_YAZ=0 1944 enableval=$enable_yaz; USE_YAZ=0 1405 1945 else 1406 1946 USE_YAZ=1 1407 fi; 1947 fi 1948 1408 1949 cat >>confdefs.h <<\_ACEOF 1409 1950 #define USE_YAZ $USE_YAZ … … 1412 1953 1413 1954 1414 # Check whether --enable-accentfold or --disable-accentfoldwas given.1955 # Check whether --enable-accentfold was given. 1415 1956 if test "${enable_accentfold+set}" = set; then 1416 enableval="$enable_accentfold" 1417 ENABLE_ACCENTFOLD=0 1957 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=0 1418 1958 else 1419 1959 ENABLE_ACCENTFOLD=1 1420 fi; 1960 fi 1961 1421 1962 cat >>confdefs.h <<\_ACEOF 1422 1963 #define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD … … 1425 1966 1426 1967 1427 # Check whether --enable-sqlite or --disable-sqlitewas given.1968 # Check whether --enable-sqlite was given. 1428 1969 if test "${enable_sqlite+set}" = set; then 1429 enableval="$enable_sqlite" 1430 USE_SQLITE=0 1970 enableval=$enable_sqlite; USE_SQLITE=0 1431 1971 else 1432 1972 USE_SQLITE=1 1433 fi; 1973 fi 1974 1434 1975 cat >>confdefs.h <<\_ACEOF 1435 1976 #define USE_SQLITE $USE_SQLITE … … 1439 1980 1440 1981 if test -d runtime-src; then 1441 # Check whether --enable-apache-httpd or --disable-apache-httpdwas given.1982 # Check whether --enable-apache-httpd was given. 1442 1983 if test "${enable_apache_httpd+set}" = set; then 1443 enableval="$enable_apache_httpd" 1444 USE_APACHE_HTTPD=1 1984 enableval=$enable_apache_httpd; USE_APACHE_HTTPD=1 1445 1985 else 1446 1986 USE_APACHE_HTTPD=0 1447 fi; 1987 fi 1988 1448 1989 cat >>confdefs.h <<\_ACEOF 1449 1990 #define USE_APACHE_HTTPD $USE_APACHE_HTTPD … … 1453 1994 fi 1454 1995 1455 # Check whether --enable-jni or --disable-jniwas given.1996 # Check whether --enable-jni was given. 1456 1997 if test "${enable_jni+set}" = set; then 1457 enableval="$enable_jni" 1458 ENABLE_JNI=$enableval 1998 enableval=$enable_jni; ENABLE_JNI=$enableval 1459 1999 else 1460 2000 ENABLE_JNI=no 1461 fi; 2001 fi 2002 1462 2003 if test $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" ; then 1463 2004 ENABLE_JNI=1 1464 2005 cat >>confdefs.h <<\_ACEOF 1465 #define ENABLE_JNI 2006 #define ENABLE_JNI /**/ 1466 2007 _ACEOF 1467 2008 … … 1471 2012 1472 2013 1473 # Check whether --enable-mg or --disable-mgwas given.2014 # Check whether --enable-mg was given. 1474 2015 if test "${enable_mg+set}" = set; then 1475 enableval="$enable_mg" 1476 ENABLE_MG=$enableval 2016 enableval=$enable_mg; ENABLE_MG=$enableval 1477 2017 else 1478 2018 ENABLE_MG=yes 1479 fi; 2019 fi 2020 1480 2021 if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then 1481 2022 ENABLE_MG=1 1482 2023 cat >>confdefs.h <<\_ACEOF 1483 #define ENABLE_MG 2024 #define ENABLE_MG /**/ 1484 2025 _ACEOF 1485 2026 … … 1490 2031 1491 2032 1492 # Check whether --enable-mgpp or --disable-mgppwas given.2033 # Check whether --enable-mgpp was given. 1493 2034 if test "${enable_mgpp+set}" = set; then 1494 enableval="$enable_mgpp" 1495 ENABLE_MGPP=$enableval 2035 enableval=$enable_mgpp; ENABLE_MGPP=$enableval 1496 2036 else 1497 2037 ENABLE_MGPP=yes 1498 fi; 2038 fi 2039 1499 2040 if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then 1500 2041 ENABLE_MGPP=1 1501 2042 cat >>confdefs.h <<\_ACEOF 1502 #define ENABLE_MGPP 2043 #define ENABLE_MGPP /**/ 1503 2044 _ACEOF 1504 2045 … … 1508 2049 1509 2050 1510 # Check whether --enable-lucene or --disable-lucenewas given.2051 # Check whether --enable-lucene was given. 1511 2052 if test "${enable_lucene+set}" = set; then 1512 enableval="$enable_lucene" 1513 ENABLE_LUCENE=$enableval 2053 enableval=$enable_lucene; ENABLE_LUCENE=$enableval 1514 2054 else 1515 2055 ENABLE_LUCENE=yes 1516 fi; 2056 fi 2057 1517 2058 if test $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" ; then 1518 2059 ENABLE_LUCENE=1 1519 2060 cat >>confdefs.h <<\_ACEOF 1520 #define ENABLE_LUCENE 2061 #define ENABLE_LUCENE /**/ 1521 2062 _ACEOF 1522 2063 … … 1542 2083 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1543 2084 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1544 echo "$as_me:$LINENO: checking for $ac_word" >&51545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2085 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2086 $as_echo_n "checking for $ac_word... " >&6; } 1546 2087 if test "${ac_cv_prog_CC+set}" = set; then 1547 echo $ECHO_N "(cached) $ECHO_C" >&62088 $as_echo_n "(cached) " >&6 1548 2089 else 1549 2090 if test -n "$CC"; then … … 1556 2097 test -z "$as_dir" && as_dir=. 1557 2098 for ac_exec_ext in '' $ac_executable_extensions; do 1558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1559 2100 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52101 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1561 2102 break 2 1562 2103 fi 1563 2104 done 1564 2105 done 2106 IFS=$as_save_IFS 1565 2107 1566 2108 fi … … 1568 2110 CC=$ac_cv_prog_CC 1569 2111 if test -n "$CC"; then 1570 echo "$as_me:$LINENO: result: $CC" >&5 1571 echo "${ECHO_T}$CC" >&6 1572 else 1573 echo "$as_me:$LINENO: result: no" >&5 1574 echo "${ECHO_T}no" >&6 1575 fi 2112 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2113 $as_echo "$CC" >&6; } 2114 else 2115 { $as_echo "$as_me:$LINENO: result: no" >&5 2116 $as_echo "no" >&6; } 2117 fi 2118 1576 2119 1577 2120 fi … … 1580 2123 # Extract the first word of "gcc", so it can be a program name with args. 1581 2124 set dummy gcc; ac_word=$2 1582 echo "$as_me:$LINENO: checking for $ac_word" >&51583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2125 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2126 $as_echo_n "checking for $ac_word... " >&6; } 1584 2127 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1585 echo $ECHO_N "(cached) $ECHO_C" >&62128 $as_echo_n "(cached) " >&6 1586 2129 else 1587 2130 if test -n "$ac_ct_CC"; then … … 1594 2137 test -z "$as_dir" && as_dir=. 1595 2138 for ac_exec_ext in '' $ac_executable_extensions; do 1596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1597 2140 ac_cv_prog_ac_ct_CC="gcc" 1598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52141 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1599 2142 break 2 1600 2143 fi 1601 2144 done 1602 2145 done 2146 IFS=$as_save_IFS 1603 2147 1604 2148 fi … … 1606 2150 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1607 2151 if test -n "$ac_ct_CC"; then 1608 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1609 echo "${ECHO_T}$ac_ct_CC" >&6 1610 else 1611 echo "$as_me:$LINENO: result: no" >&5 1612 echo "${ECHO_T}no" >&6 1613 fi 1614 1615 CC=$ac_ct_CC 2152 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2153 $as_echo "$ac_ct_CC" >&6; } 2154 else 2155 { $as_echo "$as_me:$LINENO: result: no" >&5 2156 $as_echo "no" >&6; } 2157 fi 2158 2159 if test "x$ac_ct_CC" = x; then 2160 CC="" 2161 else 2162 case $cross_compiling:$ac_tool_warned in 2163 yes:) 2164 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2165 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2166 ac_tool_warned=yes ;; 2167 esac 2168 CC=$ac_ct_CC 2169 fi 1616 2170 else 1617 2171 CC="$ac_cv_prog_CC" … … 1619 2173 1620 2174 if test -z "$CC"; then 1621 if test -n "$ac_tool_prefix"; then1622 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2175 if test -n "$ac_tool_prefix"; then 2176 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1623 2177 set dummy ${ac_tool_prefix}cc; ac_word=$2 1624 echo "$as_me:$LINENO: checking for $ac_word" >&51625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2178 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2179 $as_echo_n "checking for $ac_word... " >&6; } 1626 2180 if test "${ac_cv_prog_CC+set}" = set; then 1627 echo $ECHO_N "(cached) $ECHO_C" >&62181 $as_echo_n "(cached) " >&6 1628 2182 else 1629 2183 if test -n "$CC"; then … … 1636 2190 test -z "$as_dir" && as_dir=. 1637 2191 for ac_exec_ext in '' $ac_executable_extensions; do 1638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1639 2193 ac_cv_prog_CC="${ac_tool_prefix}cc" 1640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52194 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1641 2195 break 2 1642 2196 fi 1643 2197 done 1644 2198 done 2199 IFS=$as_save_IFS 1645 2200 1646 2201 fi … … 1648 2203 CC=$ac_cv_prog_CC 1649 2204 if test -n "$CC"; then 1650 echo "$as_me:$LINENO: result: $CC" >&5 1651 echo "${ECHO_T}$CC" >&6 1652 else 1653 echo "$as_me:$LINENO: result: no" >&5 1654 echo "${ECHO_T}no" >&6 1655 fi 1656 1657 fi 1658 if test -z "$ac_cv_prog_CC"; then 1659 ac_ct_CC=$CC 1660 # Extract the first word of "cc", so it can be a program name with args. 1661 set dummy cc; ac_word=$2 1662 echo "$as_me:$LINENO: checking for $ac_word" >&5 1663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1664 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1665 echo $ECHO_N "(cached) $ECHO_C" >&6 1666 else 1667 if test -n "$ac_ct_CC"; then 1668 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1669 else 1670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1671 for as_dir in $PATH 1672 do 1673 IFS=$as_save_IFS 1674 test -z "$as_dir" && as_dir=. 1675 for ac_exec_ext in '' $ac_executable_extensions; do 1676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1677 ac_cv_prog_ac_ct_CC="cc" 1678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1679 break 2 2205 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2206 $as_echo "$CC" >&6; } 2207 else 2208 { $as_echo "$as_me:$LINENO: result: no" >&5 2209 $as_echo "no" >&6; } 2210 fi 2211 2212 1680 2213 fi 1681 done1682 done1683 1684 fi1685 fi1686 ac_ct_CC=$ac_cv_prog_ac_ct_CC1687 if test -n "$ac_ct_CC"; then1688 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51689 echo "${ECHO_T}$ac_ct_CC" >&61690 else1691 echo "$as_me:$LINENO: result: no" >&51692 echo "${ECHO_T}no" >&61693 fi1694 1695 CC=$ac_ct_CC1696 else1697 CC="$ac_cv_prog_CC"1698 fi1699 1700 2214 fi 1701 2215 if test -z "$CC"; then 1702 2216 # Extract the first word of "cc", so it can be a program name with args. 1703 2217 set dummy cc; ac_word=$2 1704 echo "$as_me:$LINENO: checking for $ac_word" >&51705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2218 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2219 $as_echo_n "checking for $ac_word... " >&6; } 1706 2220 if test "${ac_cv_prog_CC+set}" = set; then 1707 echo $ECHO_N "(cached) $ECHO_C" >&62221 $as_echo_n "(cached) " >&6 1708 2222 else 1709 2223 if test -n "$CC"; then … … 1717 2231 test -z "$as_dir" && as_dir=. 1718 2232 for ac_exec_ext in '' $ac_executable_extensions; do 1719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1720 2234 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1721 2235 ac_prog_rejected=yes … … 1723 2237 fi 1724 2238 ac_cv_prog_CC="cc" 1725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52239 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1726 2240 break 2 1727 2241 fi 1728 2242 done 1729 2243 done 2244 IFS=$as_save_IFS 1730 2245 1731 2246 if test $ac_prog_rejected = yes; then … … 1745 2260 CC=$ac_cv_prog_CC 1746 2261 if test -n "$CC"; then 1747 echo "$as_me:$LINENO: result: $CC" >&5 1748 echo "${ECHO_T}$CC" >&6 1749 else 1750 echo "$as_me:$LINENO: result: no" >&5 1751 echo "${ECHO_T}no" >&6 1752 fi 2262 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2263 $as_echo "$CC" >&6; } 2264 else 2265 { $as_echo "$as_me:$LINENO: result: no" >&5 2266 $as_echo "no" >&6; } 2267 fi 2268 1753 2269 1754 2270 fi 1755 2271 if test -z "$CC"; then 1756 2272 if test -n "$ac_tool_prefix"; then 1757 for ac_prog in cl 2273 for ac_prog in cl.exe 1758 2274 do 1759 2275 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1760 2276 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1761 echo "$as_me:$LINENO: checking for $ac_word" >&51762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2277 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2278 $as_echo_n "checking for $ac_word... " >&6; } 1763 2279 if test "${ac_cv_prog_CC+set}" = set; then 1764 echo $ECHO_N "(cached) $ECHO_C" >&62280 $as_echo_n "(cached) " >&6 1765 2281 else 1766 2282 if test -n "$CC"; then … … 1773 2289 test -z "$as_dir" && as_dir=. 1774 2290 for ac_exec_ext in '' $ac_executable_extensions; do 1775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1776 2292 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52293 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1778 2294 break 2 1779 2295 fi 1780 2296 done 1781 2297 done 2298 IFS=$as_save_IFS 1782 2299 1783 2300 fi … … 1785 2302 CC=$ac_cv_prog_CC 1786 2303 if test -n "$CC"; then 1787 echo "$as_me:$LINENO: result: $CC" >&5 1788 echo "${ECHO_T}$CC" >&6 1789 else 1790 echo "$as_me:$LINENO: result: no" >&5 1791 echo "${ECHO_T}no" >&6 1792 fi 2304 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2305 $as_echo "$CC" >&6; } 2306 else 2307 { $as_echo "$as_me:$LINENO: result: no" >&5 2308 $as_echo "no" >&6; } 2309 fi 2310 1793 2311 1794 2312 test -n "$CC" && break … … 1797 2315 if test -z "$CC"; then 1798 2316 ac_ct_CC=$CC 1799 for ac_prog in cl 2317 for ac_prog in cl.exe 1800 2318 do 1801 2319 # Extract the first word of "$ac_prog", so it can be a program name with args. 1802 2320 set dummy $ac_prog; ac_word=$2 1803 echo "$as_me:$LINENO: checking for $ac_word" >&51804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2321 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2322 $as_echo_n "checking for $ac_word... " >&6; } 1805 2323 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1806 echo $ECHO_N "(cached) $ECHO_C" >&62324 $as_echo_n "(cached) " >&6 1807 2325 else 1808 2326 if test -n "$ac_ct_CC"; then … … 1815 2333 test -z "$as_dir" && as_dir=. 1816 2334 for ac_exec_ext in '' $ac_executable_extensions; do 1817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1818 2336 ac_cv_prog_ac_ct_CC="$ac_prog" 1819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52337 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1820 2338 break 2 1821 2339 fi 1822 2340 done 1823 2341 done 2342 IFS=$as_save_IFS 1824 2343 1825 2344 fi … … 1827 2346 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1828 2347 if test -n "$ac_ct_CC"; then 1829 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1830 echo "${ECHO_T}$ac_ct_CC" >&6 1831 else 1832 echo "$as_me:$LINENO: result: no" >&5 1833 echo "${ECHO_T}no" >&6 1834 fi 2348 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2349 $as_echo "$ac_ct_CC" >&6; } 2350 else 2351 { $as_echo "$as_me:$LINENO: result: no" >&5 2352 $as_echo "no" >&6; } 2353 fi 2354 1835 2355 1836 2356 test -n "$ac_ct_CC" && break 1837 2357 done 1838 2358 1839 CC=$ac_ct_CC 1840 fi 1841 1842 fi 1843 1844 1845 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2359 if test "x$ac_ct_CC" = x; then 2360 CC="" 2361 else 2362 case $cross_compiling:$ac_tool_warned in 2363 yes:) 2364 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2365 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2366 ac_tool_warned=yes ;; 2367 esac 2368 CC=$ac_ct_CC 2369 fi 2370 fi 2371 2372 fi 2373 2374 2375 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2377 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1846 2378 See \`config.log' for more details." >&5 1847 echo "$as_me: error: no acceptable C compiler found in \$PATH2379 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 1848 2380 See \`config.log' for more details." >&2;} 1849 { (exit 1); exit 1; }; } 2381 { (exit 1); exit 1; }; }; } 1850 2382 1851 2383 # Provide some information about the compiler. 1852 echo "$as_me:$LINENO:" \ 1853 "checking for C compiler version" >&5 1854 ac_compiler=`set X $ac_compile; echo $2` 1855 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1856 (eval $ac_compiler --version </dev/null >&5) 2>&5 2384 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2385 set X $ac_compile 2386 ac_compiler=$2 2387 { (ac_try="$ac_compiler --version >&5" 2388 case "(($ac_try" in 2389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2390 *) ac_try_echo=$ac_try;; 2391 esac 2392 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2393 $as_echo "$ac_try_echo") >&5 2394 (eval "$ac_compiler --version >&5") 2>&5 1857 2395 ac_status=$? 1858 echo "$as_me:$LINENO: \$? = $ac_status" >&52396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1859 2397 (exit $ac_status); } 1860 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1861 (eval $ac_compiler -v </dev/null >&5) 2>&5 2398 { (ac_try="$ac_compiler -v >&5" 2399 case "(($ac_try" in 2400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2401 *) ac_try_echo=$ac_try;; 2402 esac 2403 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2404 $as_echo "$ac_try_echo") >&5 2405 (eval "$ac_compiler -v >&5") 2>&5 1862 2406 ac_status=$? 1863 echo "$as_me:$LINENO: \$? = $ac_status" >&52407 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1864 2408 (exit $ac_status); } 1865 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1866 (eval $ac_compiler -V </dev/null >&5) 2>&5 2409 { (ac_try="$ac_compiler -V >&5" 2410 case "(($ac_try" in 2411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2412 *) ac_try_echo=$ac_try;; 2413 esac 2414 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2415 $as_echo "$ac_try_echo") >&5 2416 (eval "$ac_compiler -V >&5") 2>&5 1867 2417 ac_status=$? 1868 echo "$as_me:$LINENO: \$? = $ac_status" >&52418 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1869 2419 (exit $ac_status); } 1870 2420 … … 1885 2435 _ACEOF 1886 2436 ac_clean_files_save=$ac_clean_files 1887 ac_clean_files="$ac_clean_files a.out a. exe b.out"2437 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 1888 2438 # Try to create an executable without -o first, disregard a.out. 1889 2439 # It will help us diagnose broken compilers, and finding out an intuition 1890 2440 # of exeext. 1891 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1892 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1893 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1894 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1895 (eval $ac_link_default) 2>&5 2441 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2442 $as_echo_n "checking for C compiler default output file name... " >&6; } 2443 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2444 2445 # The possible output files: 2446 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2447 2448 ac_rmfiles= 2449 for ac_file in $ac_files 2450 do 2451 case $ac_file in 2452 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2453 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2454 esac 2455 done 2456 rm -f $ac_rmfiles 2457 2458 if { (ac_try="$ac_link_default" 2459 case "(($ac_try" in 2460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2461 *) ac_try_echo=$ac_try;; 2462 esac 2463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2464 $as_echo "$ac_try_echo") >&5 2465 (eval "$ac_link_default") 2>&5 1896 2466 ac_status=$? 1897 echo "$as_me:$LINENO: \$? = $ac_status" >&52467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1898 2468 (exit $ac_status); }; then 1899 # Find the output, starting from the most likely. This scheme is 1900 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1901 # resort. 1902 1903 # Be careful to initialize this variable, since it used to be cached. 1904 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1905 ac_cv_exeext= 1906 # b.out is created by i960 compilers. 1907 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2469 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2470 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2471 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2472 # so that the user can short-circuit this test for compilers unknown to 2473 # Autoconf. 2474 for ac_file in $ac_files '' 1908 2475 do 1909 2476 test -f "$ac_file" || continue 1910 2477 case $ac_file in 1911 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1912 ;; 1913 conftest.$ac_ext ) 1914 # This is the source file. 2478 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 1915 2479 ;; 1916 2480 [ab].out ) … … 1919 2483 break;; 1920 2484 *.* ) 1921 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1922 # FIXME: I believe we export ac_cv_exeext for Libtool, 1923 # but it would be cool to find out if it's true. Does anybody 1924 # maintain Libtool? --akim. 1925 export ac_cv_exeext 2485 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2486 then :; else 2487 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2488 fi 2489 # We set ac_cv_exeext here because the later test for it is not 2490 # safe: cross compilers may not add the suffix if given an `-o' 2491 # argument, so we may need to know it at that point already. 2492 # Even if this section looks crufty: it has the advantage of 2493 # actually working. 1926 2494 break;; 1927 2495 * ) … … 1929 2497 esac 1930 2498 done 1931 else 1932 echo "$as_me: failed program was:" >&5 2499 test "$ac_cv_exeext" = no && ac_cv_exeext= 2500 2501 else 2502 ac_file='' 2503 fi 2504 2505 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2506 $as_echo "$ac_file" >&6; } 2507 if test -z "$ac_file"; then 2508 $as_echo "$as_me: failed program was:" >&5 1933 2509 sed 's/^/| /' conftest.$ac_ext >&5 1934 2510 1935 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2511 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2513 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 1936 2514 See \`config.log' for more details." >&5 1937 echo "$as_me: error: C compiler cannot create executables2515 $as_echo "$as_me: error: C compiler cannot create executables 1938 2516 See \`config.log' for more details." >&2;} 1939 { (exit 77); exit 77; }; } 2517 { (exit 77); exit 77; }; }; } 1940 2518 fi 1941 2519 1942 2520 ac_exeext=$ac_cv_exeext 1943 echo "$as_me:$LINENO: result: $ac_file" >&5 1944 echo "${ECHO_T}$ac_file" >&6 1945 1946 # Check the compiler produces executables we can run. If not, either 2521 2522 # Check that the compiler produces executables we can run. If not, either 1947 2523 # the compiler is broken, or we cross compile. 1948 echo "$as_me:$LINENO: checking whether the C compiler works" >&51949 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2524 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2525 $as_echo_n "checking whether the C compiler works... " >&6; } 1950 2526 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1951 2527 # If not cross compiling, check that we can run a simple program. 1952 2528 if test "$cross_compiling" != yes; then 1953 2529 if { ac_try='./$ac_file' 1954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1955 (eval $ac_try) 2>&5 2530 { (case "(($ac_try" in 2531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2532 *) ac_try_echo=$ac_try;; 2533 esac 2534 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2535 $as_echo "$ac_try_echo") >&5 2536 (eval "$ac_try") 2>&5 1956 2537 ac_status=$? 1957 echo "$as_me:$LINENO: \$? = $ac_status" >&52538 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1958 2539 (exit $ac_status); }; }; then 1959 2540 cross_compiling=no … … 1962 2543 cross_compiling=yes 1963 2544 else 1964 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2545 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2546 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2547 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 1965 2548 If you meant to cross compile, use \`--host'. 1966 2549 See \`config.log' for more details." >&5 1967 echo "$as_me: error: cannot run C compiled programs.2550 $as_echo "$as_me: error: cannot run C compiled programs. 1968 2551 If you meant to cross compile, use \`--host'. 1969 2552 See \`config.log' for more details." >&2;} 1970 { (exit 1); exit 1; }; } 2553 { (exit 1); exit 1; }; }; } 1971 2554 fi 1972 2555 fi 1973 2556 fi 1974 echo "$as_me:$LINENO: result: yes" >&51975 echo "${ECHO_T}yes" >&6 1976 1977 rm -f a.outa.exe conftest$ac_cv_exeext b.out2557 { $as_echo "$as_me:$LINENO: result: yes" >&5 2558 $as_echo "yes" >&6; } 2559 2560 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 1978 2561 ac_clean_files=$ac_clean_files_save 1979 # Check th e compiler produces executables we can run. If not, either2562 # Check that the compiler produces executables we can run. If not, either 1980 2563 # the compiler is broken, or we cross compile. 1981 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1982 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1983 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1984 echo "${ECHO_T}$cross_compiling" >&6 1985 1986 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1987 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1989 (eval $ac_link) 2>&5 2564 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2565 $as_echo_n "checking whether we are cross compiling... " >&6; } 2566 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2567 $as_echo "$cross_compiling" >&6; } 2568 2569 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2570 $as_echo_n "checking for suffix of executables... " >&6; } 2571 if { (ac_try="$ac_link" 2572 case "(($ac_try" in 2573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2574 *) ac_try_echo=$ac_try;; 2575 esac 2576 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2577 $as_echo "$ac_try_echo") >&5 2578 (eval "$ac_link") 2>&5 1990 2579 ac_status=$? 1991 echo "$as_me:$LINENO: \$? = $ac_status" >&52580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1992 2581 (exit $ac_status); }; then 1993 2582 # If both `conftest.exe' and `conftest' are `present' (well, observable) … … 1998 2587 test -f "$ac_file" || continue 1999 2588 case $ac_file in 2000 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2589 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2001 2590 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2002 export ac_cv_exeext2003 2591 break;; 2004 2592 * ) break;; … … 2006 2594 done 2007 2595 else 2008 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2596 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2598 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2009 2599 See \`config.log' for more details." >&5 2010 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link2600 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2011 2601 See \`config.log' for more details." >&2;} 2012 { (exit 1); exit 1; }; } 2602 { (exit 1); exit 1; }; }; } 2013 2603 fi 2014 2604 2015 2605 rm -f conftest$ac_cv_exeext 2016 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52017 echo "${ECHO_T}$ac_cv_exeext" >&6 2606 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2607 $as_echo "$ac_cv_exeext" >&6; } 2018 2608 2019 2609 rm -f conftest.$ac_ext 2020 2610 EXEEXT=$ac_cv_exeext 2021 2611 ac_exeext=$EXEEXT 2022 echo "$as_me:$LINENO: checking for suffix of object files" >&52023 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2612 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2613 $as_echo_n "checking for suffix of object files... " >&6; } 2024 2614 if test "${ac_cv_objext+set}" = set; then 2025 echo $ECHO_N "(cached) $ECHO_C" >&62615 $as_echo_n "(cached) " >&6 2026 2616 else 2027 2617 cat >conftest.$ac_ext <<_ACEOF … … 2041 2631 _ACEOF 2042 2632 rm -f conftest.o conftest.obj 2043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2044 (eval $ac_compile) 2>&5 2633 if { (ac_try="$ac_compile" 2634 case "(($ac_try" in 2635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2636 *) ac_try_echo=$ac_try;; 2637 esac 2638 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2639 $as_echo "$ac_try_echo") >&5 2640 (eval "$ac_compile") 2>&5 2045 2641 ac_status=$? 2046 echo "$as_me:$LINENO: \$? = $ac_status" >&52642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2047 2643 (exit $ac_status); }; then 2048 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2644 for ac_file in conftest.o conftest.obj conftest.*; do 2645 test -f "$ac_file" || continue; 2049 2646 case $ac_file in 2050 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2647 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2051 2648 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2052 2649 break;; … … 2054 2651 done 2055 2652 else 2056 echo "$as_me: failed program was:" >&52653 $as_echo "$as_me: failed program was:" >&5 2057 2654 sed 's/^/| /' conftest.$ac_ext >&5 2058 2655 2059 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2656 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2657 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2658 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2060 2659 See \`config.log' for more details." >&5 2061 echo "$as_me: error: cannot compute suffix of object files: cannot compile2660 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2062 2661 See \`config.log' for more details." >&2;} 2063 { (exit 1); exit 1; }; } 2662 { (exit 1); exit 1; }; }; } 2064 2663 fi 2065 2664 2066 2665 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2067 2666 fi 2068 echo "$as_me:$LINENO: result: $ac_cv_objext" >&52069 echo "${ECHO_T}$ac_cv_objext" >&6 2667 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2668 $as_echo "$ac_cv_objext" >&6; } 2070 2669 OBJEXT=$ac_cv_objext 2071 2670 ac_objext=$OBJEXT 2072 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52073 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2671 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2672 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2074 2673 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2075 echo $ECHO_N "(cached) $ECHO_C" >&62674 $as_echo_n "(cached) " >&6 2076 2675 else 2077 2676 cat >conftest.$ac_ext <<_ACEOF … … 2094 2693 _ACEOF 2095 2694 rm -f conftest.$ac_objext 2096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2097 (eval $ac_compile) 2>conftest.er1 2695 if { (ac_try="$ac_compile" 2696 case "(($ac_try" in 2697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2698 *) ac_try_echo=$ac_try;; 2699 esac 2700 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2701 $as_echo "$ac_try_echo") >&5 2702 (eval "$ac_compile") 2>conftest.er1 2098 2703 ac_status=$? 2099 2704 grep -v '^ *+' conftest.er1 >conftest.err 2100 2705 rm -f conftest.er1 2101 2706 cat conftest.err >&5 2102 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2103 (exit $ac_status); } && 2104 { ac_try='test -z "$ac_c_werror_flag" 2105 || test ! -s conftest.err' 2106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2107 (eval $ac_try) 2>&5 2108 ac_status=$? 2109 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2110 (exit $ac_status); }; } && 2111 { ac_try='test -s conftest.$ac_objext' 2112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2113 (eval $ac_try) 2>&5 2114 ac_status=$? 2115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2116 (exit $ac_status); }; }; then 2707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2708 (exit $ac_status); } && { 2709 test -z "$ac_c_werror_flag" || 2710 test ! -s conftest.err 2711 } && test -s conftest.$ac_objext; then 2117 2712 ac_compiler_gnu=yes 2118 2713 else 2119 echo "$as_me: failed program was:" >&52714 $as_echo "$as_me: failed program was:" >&5 2120 2715 sed 's/^/| /' conftest.$ac_ext >&5 2121 2716 2122 ac_compiler_gnu=no 2123 fi 2124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2717 ac_compiler_gnu=no 2718 fi 2719 2720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2125 2721 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2126 2722 2127 2723 fi 2128 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2129 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2130 GCC=`test $ac_compiler_gnu = yes && echo yes` 2724 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2725 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2726 if test $ac_compiler_gnu = yes; then 2727 GCC=yes 2728 else 2729 GCC= 2730 fi 2131 2731 ac_test_CFLAGS=${CFLAGS+set} 2132 2732 ac_save_CFLAGS=$CFLAGS 2133 CFLAGS="-g" 2134 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2135 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2733 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2734 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2136 2735 if test "${ac_cv_prog_cc_g+set}" = set; then 2137 echo $ECHO_N "(cached) $ECHO_C" >&6 2138 else 2139 cat >conftest.$ac_ext <<_ACEOF 2736 $as_echo_n "(cached) " >&6 2737 else 2738 ac_save_c_werror_flag=$ac_c_werror_flag 2739 ac_c_werror_flag=yes 2740 ac_cv_prog_cc_g=no 2741 CFLAGS="-g" 2742 cat >conftest.$ac_ext <<_ACEOF 2140 2743 /* confdefs.h. */ 2141 2744 _ACEOF … … 2153 2756 _ACEOF 2154 2757 rm -f conftest.$ac_objext 2155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2156 (eval $ac_compile) 2>conftest.er1 2758 if { (ac_try="$ac_compile" 2759 case "(($ac_try" in 2760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2761 *) ac_try_echo=$ac_try;; 2762 esac 2763 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2764 $as_echo "$ac_try_echo") >&5 2765 (eval "$ac_compile") 2>conftest.er1 2157 2766 ac_status=$? 2158 2767 grep -v '^ *+' conftest.er1 >conftest.err 2159 2768 rm -f conftest.er1 2160 2769 cat conftest.err >&5 2161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2162 (exit $ac_status); } && 2163 { ac_try='test -z "$ac_c_werror_flag" 2164 || test ! -s conftest.err' 2165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2166 (eval $ac_try) 2>&5 2770 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2771 (exit $ac_status); } && { 2772 test -z "$ac_c_werror_flag" || 2773 test ! -s conftest.err 2774 } && test -s conftest.$ac_objext; then 2775 ac_cv_prog_cc_g=yes 2776 else 2777 $as_echo "$as_me: failed program was:" >&5 2778 sed 's/^/| /' conftest.$ac_ext >&5 2779 2780 CFLAGS="" 2781 cat >conftest.$ac_ext <<_ACEOF 2782 /* confdefs.h. */ 2783 _ACEOF 2784 cat confdefs.h >>conftest.$ac_ext 2785 cat >>conftest.$ac_ext <<_ACEOF 2786 /* end confdefs.h. */ 2787 2788 int 2789 main () 2790 { 2791 2792 ; 2793 return 0; 2794 } 2795 _ACEOF 2796 rm -f conftest.$ac_objext 2797 if { (ac_try="$ac_compile" 2798 case "(($ac_try" in 2799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2800 *) ac_try_echo=$ac_try;; 2801 esac 2802 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2803 $as_echo "$ac_try_echo") >&5 2804 (eval "$ac_compile") 2>conftest.er1 2167 2805 ac_status=$? 2168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2169 (exit $ac_status); }; } && 2170 { ac_try='test -s conftest.$ac_objext' 2171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2172 (eval $ac_try) 2>&5 2806 grep -v '^ *+' conftest.er1 >conftest.err 2807 rm -f conftest.er1 2808 cat conftest.err >&5 2809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2810 (exit $ac_status); } && { 2811 test -z "$ac_c_werror_flag" || 2812 test ! -s conftest.err 2813 } && test -s conftest.$ac_objext; then 2814 : 2815 else 2816 $as_echo "$as_me: failed program was:" >&5 2817 sed 's/^/| /' conftest.$ac_ext >&5 2818 2819 ac_c_werror_flag=$ac_save_c_werror_flag 2820 CFLAGS="-g" 2821 cat >conftest.$ac_ext <<_ACEOF 2822 /* confdefs.h. */ 2823 _ACEOF 2824 cat confdefs.h >>conftest.$ac_ext 2825 cat >>conftest.$ac_ext <<_ACEOF 2826 /* end confdefs.h. */ 2827 2828 int 2829 main () 2830 { 2831 2832 ; 2833 return 0; 2834 } 2835 _ACEOF 2836 rm -f conftest.$ac_objext 2837 if { (ac_try="$ac_compile" 2838 case "(($ac_try" in 2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2840 *) ac_try_echo=$ac_try;; 2841 esac 2842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2843 $as_echo "$ac_try_echo") >&5 2844 (eval "$ac_compile") 2>conftest.er1 2173 2845 ac_status=$? 2174 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2175 (exit $ac_status); }; }; then 2846 grep -v '^ *+' conftest.er1 >conftest.err 2847 rm -f conftest.er1 2848 cat conftest.err >&5 2849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2850 (exit $ac_status); } && { 2851 test -z "$ac_c_werror_flag" || 2852 test ! -s conftest.err 2853 } && test -s conftest.$ac_objext; then 2176 2854 ac_cv_prog_cc_g=yes 2177 2855 else 2178 echo "$as_me: failed program was:" >&52856 $as_echo "$as_me: failed program was:" >&5 2179 2857 sed 's/^/| /' conftest.$ac_ext >&5 2180 2858 2181 ac_cv_prog_cc_g=no 2182 fi 2183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2184 fi 2185 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2186 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2859 2860 fi 2861 2862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2863 fi 2864 2865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2866 fi 2867 2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2869 ac_c_werror_flag=$ac_save_c_werror_flag 2870 fi 2871 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2872 $as_echo "$ac_cv_prog_cc_g" >&6; } 2187 2873 if test "$ac_test_CFLAGS" = set; then 2188 2874 CFLAGS=$ac_save_CFLAGS … … 2200 2886 fi 2201 2887 fi 2202 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52203 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2204 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2205 echo $ECHO_N "(cached) $ECHO_C" >&62206 else 2207 ac_cv_prog_cc_ stdc=no2888 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2889 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2890 if test "${ac_cv_prog_cc_c89+set}" = set; then 2891 $as_echo_n "(cached) " >&6 2892 else 2893 ac_cv_prog_cc_c89=no 2208 2894 ac_save_CC=$CC 2209 2895 cat >conftest.$ac_ext <<_ACEOF … … 2239 2925 function prototypes and stuff, but not '\xHH' hex character constants. 2240 2926 These don't provoke an error unfortunately, instead are silently treated 2241 as 'x'. The following induces an error, until -std 1is added to get2927 as 'x'. The following induces an error, until -std is added to get 2242 2928 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2243 2929 array size at least. It's necessary to write '\x00'==0 to get something 2244 that's true only with -std 1. */2930 that's true only with -std. */ 2245 2931 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2932 2933 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2934 inside strings and character constants. */ 2935 #define FOO(x) 'x' 2936 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2246 2937 2247 2938 int test (int i, double x); … … 2259 2950 } 2260 2951 _ACEOF 2261 # Don't try gcc -ansi; that turns off useful extensions and 2262 # breaks some systems' header files. 2263 # AIX -qlanglvl=ansi 2264 # Ultrix and OSF/1 -std1 2265 # HP-UX 10.20 and later -Ae 2266 # HP-UX older versions -Aa -D_HPUX_SOURCE 2267 # SVR4 -Xc -D__EXTENSIONS__ 2268 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2952 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2953 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2269 2954 do 2270 2955 CC="$ac_save_CC $ac_arg" 2271 2956 rm -f conftest.$ac_objext 2272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2273 (eval $ac_compile) 2>conftest.er1 2957 if { (ac_try="$ac_compile" 2958 case "(($ac_try" in 2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2960 *) ac_try_echo=$ac_try;; 2961 esac 2962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2963 $as_echo "$ac_try_echo") >&5 2964 (eval "$ac_compile") 2>conftest.er1 2274 2965 ac_status=$? 2275 2966 grep -v '^ *+' conftest.er1 >conftest.err 2276 2967 rm -f conftest.er1 2277 2968 cat conftest.err >&5 2278 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2279 (exit $ac_status); } && 2280 { ac_try='test -z "$ac_c_werror_flag" 2281 || test ! -s conftest.err' 2282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2283 (eval $ac_try) 2>&5 2284 ac_status=$? 2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2286 (exit $ac_status); }; } && 2287 { ac_try='test -s conftest.$ac_objext' 2288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2289 (eval $ac_try) 2>&5 2290 ac_status=$? 2291 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2292 (exit $ac_status); }; }; then 2293 ac_cv_prog_cc_stdc=$ac_arg 2294 break 2295 else 2296 echo "$as_me: failed program was:" >&5 2969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2970 (exit $ac_status); } && { 2971 test -z "$ac_c_werror_flag" || 2972 test ! -s conftest.err 2973 } && test -s conftest.$ac_objext; then 2974 ac_cv_prog_cc_c89=$ac_arg 2975 else 2976 $as_echo "$as_me: failed program was:" >&5 2297 2977 sed 's/^/| /' conftest.$ac_ext >&5 2298 2978 2299 fi 2300 rm -f conftest.err conftest.$ac_objext 2979 2980 fi 2981 2982 rm -f core conftest.err conftest.$ac_objext 2983 test "x$ac_cv_prog_cc_c89" != "xno" && break 2301 2984 done 2302 rm -f conftest.$ac_ext conftest.$ac_objext2985 rm -f conftest.$ac_ext 2303 2986 CC=$ac_save_CC 2304 2987 2305 2988 fi 2306 2307 case "x$ac_cv_prog_cc_stdc" in 2308 x|xno) 2309 echo "$as_me:$LINENO: result: none needed" >&5 2310 echo "${ECHO_T}none needed" >&6 ;; 2989 # AC_CACHE_VAL 2990 case "x$ac_cv_prog_cc_c89" in 2991 x) 2992 { $as_echo "$as_me:$LINENO: result: none needed" >&5 2993 $as_echo "none needed" >&6; } ;; 2994 xno) 2995 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 2996 $as_echo "unsupported" >&6; } ;; 2311 2997 *) 2312 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2313 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2314 CC="$CC $ac_cv_prog_cc_stdc" ;; 2315 esac 2316 2317 # Some people use a C++ compiler to compile C. Since we use `exit', 2318 # in C++ we need to declare it. In case someone uses the same compiler 2319 # for both compiling C and C++ we need to have the C++ compiler decide 2320 # the declaration of exit, since it's the most demanding environment. 2321 cat >conftest.$ac_ext <<_ACEOF 2322 #ifndef __cplusplus 2323 choke me 2324 #endif 2325 _ACEOF 2326 rm -f conftest.$ac_objext 2327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2328 (eval $ac_compile) 2>conftest.er1 2329 ac_status=$? 2330 grep -v '^ *+' conftest.er1 >conftest.err 2331 rm -f conftest.er1 2332 cat conftest.err >&5 2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2334 (exit $ac_status); } && 2335 { ac_try='test -z "$ac_c_werror_flag" 2336 || test ! -s conftest.err' 2337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2338 (eval $ac_try) 2>&5 2339 ac_status=$? 2340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2341 (exit $ac_status); }; } && 2342 { ac_try='test -s conftest.$ac_objext' 2343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2344 (eval $ac_try) 2>&5 2345 ac_status=$? 2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2347 (exit $ac_status); }; }; then 2348 for ac_declaration in \ 2349 '' \ 2350 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2351 'extern "C" void std::exit (int); using std::exit;' \ 2352 'extern "C" void exit (int) throw ();' \ 2353 'extern "C" void exit (int);' \ 2354 'void exit (int);' 2355 do 2356 cat >conftest.$ac_ext <<_ACEOF 2357 /* confdefs.h. */ 2358 _ACEOF 2359 cat confdefs.h >>conftest.$ac_ext 2360 cat >>conftest.$ac_ext <<_ACEOF 2361 /* end confdefs.h. */ 2362 $ac_declaration 2363 #include <stdlib.h> 2364 int 2365 main () 2366 { 2367 exit (42); 2368 ; 2369 return 0; 2370 } 2371 _ACEOF 2372 rm -f conftest.$ac_objext 2373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2374 (eval $ac_compile) 2>conftest.er1 2375 ac_status=$? 2376 grep -v '^ *+' conftest.er1 >conftest.err 2377 rm -f conftest.er1 2378 cat conftest.err >&5 2379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2380 (exit $ac_status); } && 2381 { ac_try='test -z "$ac_c_werror_flag" 2382 || test ! -s conftest.err' 2383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2384 (eval $ac_try) 2>&5 2385 ac_status=$? 2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2387 (exit $ac_status); }; } && 2388 { ac_try='test -s conftest.$ac_objext' 2389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2390 (eval $ac_try) 2>&5 2391 ac_status=$? 2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2393 (exit $ac_status); }; }; then 2394 : 2395 else 2396 echo "$as_me: failed program was:" >&5 2397 sed 's/^/| /' conftest.$ac_ext >&5 2398 2399 continue 2400 fi 2401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2402 cat >conftest.$ac_ext <<_ACEOF 2403 /* confdefs.h. */ 2404 _ACEOF 2405 cat confdefs.h >>conftest.$ac_ext 2406 cat >>conftest.$ac_ext <<_ACEOF 2407 /* end confdefs.h. */ 2408 $ac_declaration 2409 int 2410 main () 2411 { 2412 exit (42); 2413 ; 2414 return 0; 2415 } 2416 _ACEOF 2417 rm -f conftest.$ac_objext 2418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2419 (eval $ac_compile) 2>conftest.er1 2420 ac_status=$? 2421 grep -v '^ *+' conftest.er1 >conftest.err 2422 rm -f conftest.er1 2423 cat conftest.err >&5 2424 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2425 (exit $ac_status); } && 2426 { ac_try='test -z "$ac_c_werror_flag" 2427 || test ! -s conftest.err' 2428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2429 (eval $ac_try) 2>&5 2430 ac_status=$? 2431 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2432 (exit $ac_status); }; } && 2433 { ac_try='test -s conftest.$ac_objext' 2434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2435 (eval $ac_try) 2>&5 2436 ac_status=$? 2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2438 (exit $ac_status); }; }; then 2439 break 2440 else 2441 echo "$as_me: failed program was:" >&5 2442 sed 's/^/| /' conftest.$ac_ext >&5 2443 2444 fi 2445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2446 done 2447 rm -f conftest* 2448 if test -n "$ac_declaration"; then 2449 echo '#ifdef __cplusplus' >>confdefs.h 2450 echo $ac_declaration >>confdefs.h 2451 echo '#endif' >>confdefs.h 2452 fi 2453 2454 else 2455 echo "$as_me: failed program was:" >&5 2456 sed 's/^/| /' conftest.$ac_ext >&5 2457 2458 fi 2459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2998 CC="$CC $ac_cv_prog_cc_c89" 2999 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3000 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3001 esac 3002 3003 2460 3004 ac_ext=c 2461 3005 ac_cpp='$CPP $CPPFLAGS' … … 2464 3008 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2465 3009 2466 ac_ext=c c3010 ac_ext=cpp 2467 3011 ac_cpp='$CXXCPP $CPPFLAGS' 2468 3012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2469 3013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2470 3014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2471 if test -n "$ac_tool_prefix"; then 2472 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 3015 if test -z "$CXX"; then 3016 if test -n "$CCC"; then 3017 CXX=$CCC 3018 else 3019 if test -n "$ac_tool_prefix"; then 3020 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2473 3021 do 2474 3022 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2475 3023 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2476 echo "$as_me:$LINENO: checking for $ac_word" >&52477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3024 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3025 $as_echo_n "checking for $ac_word... " >&6; } 2478 3026 if test "${ac_cv_prog_CXX+set}" = set; then 2479 echo $ECHO_N "(cached) $ECHO_C" >&63027 $as_echo_n "(cached) " >&6 2480 3028 else 2481 3029 if test -n "$CXX"; then … … 2488 3036 test -z "$as_dir" && as_dir=. 2489 3037 for ac_exec_ext in '' $ac_executable_extensions; do 2490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2491 3039 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53040 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2493 3041 break 2 2494 3042 fi 2495 3043 done 2496 3044 done 3045 IFS=$as_save_IFS 2497 3046 2498 3047 fi … … 2500 3049 CXX=$ac_cv_prog_CXX 2501 3050 if test -n "$CXX"; then 2502 echo "$as_me:$LINENO: result: $CXX" >&5 2503 echo "${ECHO_T}$CXX" >&6 2504 else 2505 echo "$as_me:$LINENO: result: no" >&5 2506 echo "${ECHO_T}no" >&6 2507 fi 3051 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 3052 $as_echo "$CXX" >&6; } 3053 else 3054 { $as_echo "$as_me:$LINENO: result: no" >&5 3055 $as_echo "no" >&6; } 3056 fi 3057 2508 3058 2509 3059 test -n "$CXX" && break … … 2512 3062 if test -z "$CXX"; then 2513 3063 ac_ct_CXX=$CXX 2514 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ clFCC KCC RCC xlC_r xlC3064 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2515 3065 do 2516 3066 # Extract the first word of "$ac_prog", so it can be a program name with args. 2517 3067 set dummy $ac_prog; ac_word=$2 2518 echo "$as_me:$LINENO: checking for $ac_word" >&52519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3068 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3069 $as_echo_n "checking for $ac_word... " >&6; } 2520 3070 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2521 echo $ECHO_N "(cached) $ECHO_C" >&63071 $as_echo_n "(cached) " >&6 2522 3072 else 2523 3073 if test -n "$ac_ct_CXX"; then … … 2530 3080 test -z "$as_dir" && as_dir=. 2531 3081 for ac_exec_ext in '' $ac_executable_extensions; do 2532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2533 3083 ac_cv_prog_ac_ct_CXX="$ac_prog" 2534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53084 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2535 3085 break 2 2536 3086 fi 2537 3087 done 2538 3088 done 3089 IFS=$as_save_IFS 2539 3090 2540 3091 fi … … 2542 3093 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2543 3094 if test -n "$ac_ct_CXX"; then 2544 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2545 echo "${ECHO_T}$ac_ct_CXX" >&6 2546 else 2547 echo "$as_me:$LINENO: result: no" >&5 2548 echo "${ECHO_T}no" >&6 2549 fi 3095 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 3096 $as_echo "$ac_ct_CXX" >&6; } 3097 else 3098 { $as_echo "$as_me:$LINENO: result: no" >&5 3099 $as_echo "no" >&6; } 3100 fi 3101 2550 3102 2551 3103 test -n "$ac_ct_CXX" && break 2552 3104 done 2553 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2554 2555 CXX=$ac_ct_CXX 2556 fi 2557 2558 3105 3106 if test "x$ac_ct_CXX" = x; then 3107 CXX="g++" 3108 else 3109 case $cross_compiling:$ac_tool_warned in 3110 yes:) 3111 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3113 ac_tool_warned=yes ;; 3114 esac 3115 CXX=$ac_ct_CXX 3116 fi 3117 fi 3118 3119 fi 3120 fi 2559 3121 # Provide some information about the compiler. 2560 echo "$as_me:$LINENO:" \ 2561 "checking for C++ compiler version" >&5 2562 ac_compiler=`set X $ac_compile; echo $2` 2563 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2564 (eval $ac_compiler --version </dev/null >&5) 2>&5 3122 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3123 set X $ac_compile 3124 ac_compiler=$2 3125 { (ac_try="$ac_compiler --version >&5" 3126 case "(($ac_try" in 3127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3128 *) ac_try_echo=$ac_try;; 3129 esac 3130 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3131 $as_echo "$ac_try_echo") >&5 3132 (eval "$ac_compiler --version >&5") 2>&5 2565 3133 ac_status=$? 2566 echo "$as_me:$LINENO: \$? = $ac_status" >&53134 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2567 3135 (exit $ac_status); } 2568 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2569 (eval $ac_compiler -v </dev/null >&5) 2>&5 3136 { (ac_try="$ac_compiler -v >&5" 3137 case "(($ac_try" in 3138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3139 *) ac_try_echo=$ac_try;; 3140 esac 3141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3142 $as_echo "$ac_try_echo") >&5 3143 (eval "$ac_compiler -v >&5") 2>&5 2570 3144 ac_status=$? 2571 echo "$as_me:$LINENO: \$? = $ac_status" >&53145 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2572 3146 (exit $ac_status); } 2573 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2574 (eval $ac_compiler -V </dev/null >&5) 2>&5 3147 { (ac_try="$ac_compiler -V >&5" 3148 case "(($ac_try" in 3149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3150 *) ac_try_echo=$ac_try;; 3151 esac 3152 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3153 $as_echo "$ac_try_echo") >&5 3154 (eval "$ac_compiler -V >&5") 2>&5 2575 3155 ac_status=$? 2576 echo "$as_me:$LINENO: \$? = $ac_status" >&53156 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2577 3157 (exit $ac_status); } 2578 3158 2579 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&52580 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 3159 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3160 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 2581 3161 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2582 echo $ECHO_N "(cached) $ECHO_C" >&63162 $as_echo_n "(cached) " >&6 2583 3163 else 2584 3164 cat >conftest.$ac_ext <<_ACEOF … … 2601 3181 _ACEOF 2602 3182 rm -f conftest.$ac_objext 2603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2604 (eval $ac_compile) 2>conftest.er1 3183 if { (ac_try="$ac_compile" 3184 case "(($ac_try" in 3185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3186 *) ac_try_echo=$ac_try;; 3187 esac 3188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3189 $as_echo "$ac_try_echo") >&5 3190 (eval "$ac_compile") 2>conftest.er1 2605 3191 ac_status=$? 2606 3192 grep -v '^ *+' conftest.er1 >conftest.err 2607 3193 rm -f conftest.er1 2608 3194 cat conftest.err >&5 2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2610 (exit $ac_status); } && 2611 { ac_try='test -z "$ac_cxx_werror_flag" 2612 || test ! -s conftest.err' 2613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2614 (eval $ac_try) 2>&5 2615 ac_status=$? 2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2617 (exit $ac_status); }; } && 2618 { ac_try='test -s conftest.$ac_objext' 2619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2620 (eval $ac_try) 2>&5 2621 ac_status=$? 2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2623 (exit $ac_status); }; }; then 3195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3196 (exit $ac_status); } && { 3197 test -z "$ac_cxx_werror_flag" || 3198 test ! -s conftest.err 3199 } && test -s conftest.$ac_objext; then 2624 3200 ac_compiler_gnu=yes 2625 3201 else 2626 echo "$as_me: failed program was:" >&53202 $as_echo "$as_me: failed program was:" >&5 2627 3203 sed 's/^/| /' conftest.$ac_ext >&5 2628 3204 2629 ac_compiler_gnu=no 2630 fi 2631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3205 ac_compiler_gnu=no 3206 fi 3207 3208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2632 3209 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2633 3210 2634 3211 fi 2635 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2636 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2637 GXX=`test $ac_compiler_gnu = yes && echo yes` 3212 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3213 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3214 if test $ac_compiler_gnu = yes; then 3215 GXX=yes 3216 else 3217 GXX= 3218 fi 2638 3219 ac_test_CXXFLAGS=${CXXFLAGS+set} 2639 3220 ac_save_CXXFLAGS=$CXXFLAGS 2640 CXXFLAGS="-g" 2641 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2642 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 3221 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3222 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 2643 3223 if test "${ac_cv_prog_cxx_g+set}" = set; then 2644 echo $ECHO_N "(cached) $ECHO_C" >&6 2645 else 2646 cat >conftest.$ac_ext <<_ACEOF 3224 $as_echo_n "(cached) " >&6 3225 else 3226 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3227 ac_cxx_werror_flag=yes 3228 ac_cv_prog_cxx_g=no 3229 CXXFLAGS="-g" 3230 cat >conftest.$ac_ext <<_ACEOF 2647 3231 /* confdefs.h. */ 2648 3232 _ACEOF … … 2660 3244 _ACEOF 2661 3245 rm -f conftest.$ac_objext 2662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2663 (eval $ac_compile) 2>conftest.er1 3246 if { (ac_try="$ac_compile" 3247 case "(($ac_try" in 3248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3249 *) ac_try_echo=$ac_try;; 3250 esac 3251 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3252 $as_echo "$ac_try_echo") >&5 3253 (eval "$ac_compile") 2>conftest.er1 2664 3254 ac_status=$? 2665 3255 grep -v '^ *+' conftest.er1 >conftest.err 2666 3256 rm -f conftest.er1 2667 3257 cat conftest.err >&5 2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2669 (exit $ac_status); } && 2670 { ac_try='test -z "$ac_cxx_werror_flag" 2671 || test ! -s conftest.err' 2672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2673 (eval $ac_try) 2>&5 3258 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3259 (exit $ac_status); } && { 3260 test -z "$ac_cxx_werror_flag" || 3261 test ! -s conftest.err 3262 } && test -s conftest.$ac_objext; then 3263 ac_cv_prog_cxx_g=yes 3264 else 3265 $as_echo "$as_me: failed program was:" >&5 3266 sed 's/^/| /' conftest.$ac_ext >&5 3267 3268 CXXFLAGS="" 3269 cat >conftest.$ac_ext <<_ACEOF 3270 /* confdefs.h. */ 3271 _ACEOF 3272 cat confdefs.h >>conftest.$ac_ext 3273 cat >>conftest.$ac_ext <<_ACEOF 3274 /* end confdefs.h. */ 3275 3276 int 3277 main () 3278 { 3279 3280 ; 3281 return 0; 3282 } 3283 _ACEOF 3284 rm -f conftest.$ac_objext 3285 if { (ac_try="$ac_compile" 3286 case "(($ac_try" in 3287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3288 *) ac_try_echo=$ac_try;; 3289 esac 3290 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3291 $as_echo "$ac_try_echo") >&5 3292 (eval "$ac_compile") 2>conftest.er1 2674 3293 ac_status=$? 2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2676 (exit $ac_status); }; } && 2677 { ac_try='test -s conftest.$ac_objext' 2678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2679 (eval $ac_try) 2>&5 3294 grep -v '^ *+' conftest.er1 >conftest.err 3295 rm -f conftest.er1 3296 cat conftest.err >&5 3297 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3298 (exit $ac_status); } && { 3299 test -z "$ac_cxx_werror_flag" || 3300 test ! -s conftest.err 3301 } && test -s conftest.$ac_objext; then 3302 : 3303 else 3304 $as_echo "$as_me: failed program was:" >&5 3305 sed 's/^/| /' conftest.$ac_ext >&5 3306 3307 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3308 CXXFLAGS="-g" 3309 cat >conftest.$ac_ext <<_ACEOF 3310 /* confdefs.h. */ 3311 _ACEOF 3312 cat confdefs.h >>conftest.$ac_ext 3313 cat >>conftest.$ac_ext <<_ACEOF 3314 /* end confdefs.h. */ 3315 3316 int 3317 main () 3318 { 3319 3320 ; 3321 return 0; 3322 } 3323 _ACEOF 3324 rm -f conftest.$ac_objext 3325 if { (ac_try="$ac_compile" 3326 case "(($ac_try" in 3327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3328 *) ac_try_echo=$ac_try;; 3329 esac 3330 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3331 $as_echo "$ac_try_echo") >&5 3332 (eval "$ac_compile") 2>conftest.er1 2680 3333 ac_status=$? 2681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2682 (exit $ac_status); }; }; then 3334 grep -v '^ *+' conftest.er1 >conftest.err 3335 rm -f conftest.er1 3336 cat conftest.err >&5 3337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3338 (exit $ac_status); } && { 3339 test -z "$ac_cxx_werror_flag" || 3340 test ! -s conftest.err 3341 } && test -s conftest.$ac_objext; then 2683 3342 ac_cv_prog_cxx_g=yes 2684 3343 else 2685 echo "$as_me: failed program was:" >&53344 $as_echo "$as_me: failed program was:" >&5 2686 3345 sed 's/^/| /' conftest.$ac_ext >&5 2687 3346 2688 ac_cv_prog_cxx_g=no 2689 fi 2690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2691 fi 2692 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2693 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3347 3348 fi 3349 3350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3351 fi 3352 3353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3354 fi 3355 3356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3357 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3358 fi 3359 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3360 $as_echo "$ac_cv_prog_cxx_g" >&6; } 2694 3361 if test "$ac_test_CXXFLAGS" = set; then 2695 3362 CXXFLAGS=$ac_save_CXXFLAGS … … 2707 3374 fi 2708 3375 fi 2709 for ac_declaration in \2710 '' \2711 'extern "C" void std::exit (int) throw (); using std::exit;' \2712 'extern "C" void std::exit (int); using std::exit;' \2713 'extern "C" void exit (int) throw ();' \2714 'extern "C" void exit (int);' \2715 'void exit (int);'2716 do2717 cat >conftest.$ac_ext <<_ACEOF2718 /* confdefs.h. */2719 _ACEOF2720 cat confdefs.h >>conftest.$ac_ext2721 cat >>conftest.$ac_ext <<_ACEOF2722 /* end confdefs.h. */2723 $ac_declaration2724 #include <stdlib.h>2725 int2726 main ()2727 {2728 exit (42);2729 ;2730 return 0;2731 }2732 _ACEOF2733 rm -f conftest.$ac_objext2734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52735 (eval $ac_compile) 2>conftest.er12736 ac_status=$?2737 grep -v '^ *+' conftest.er1 >conftest.err2738 rm -f conftest.er12739 cat conftest.err >&52740 echo "$as_me:$LINENO: \$? = $ac_status" >&52741 (exit $ac_status); } &&2742 { ac_try='test -z "$ac_cxx_werror_flag"2743 || test ! -s conftest.err'2744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52745 (eval $ac_try) 2>&52746 ac_status=$?2747 echo "$as_me:$LINENO: \$? = $ac_status" >&52748 (exit $ac_status); }; } &&2749 { ac_try='test -s conftest.$ac_objext'2750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52751 (eval $ac_try) 2>&52752 ac_status=$?2753 echo "$as_me:$LINENO: \$? = $ac_status" >&52754 (exit $ac_status); }; }; then2755 :2756 else2757 echo "$as_me: failed program was:" >&52758 sed 's/^/| /' conftest.$ac_ext >&52759 2760 continue2761 fi2762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2763 cat >conftest.$ac_ext <<_ACEOF2764 /* confdefs.h. */2765 _ACEOF2766 cat confdefs.h >>conftest.$ac_ext2767 cat >>conftest.$ac_ext <<_ACEOF2768 /* end confdefs.h. */2769 $ac_declaration2770 int2771 main ()2772 {2773 exit (42);2774 ;2775 return 0;2776 }2777 _ACEOF2778 rm -f conftest.$ac_objext2779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52780 (eval $ac_compile) 2>conftest.er12781 ac_status=$?2782 grep -v '^ *+' conftest.er1 >conftest.err2783 rm -f conftest.er12784 cat conftest.err >&52785 echo "$as_me:$LINENO: \$? = $ac_status" >&52786 (exit $ac_status); } &&2787 { ac_try='test -z "$ac_cxx_werror_flag"2788 || test ! -s conftest.err'2789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52790 (eval $ac_try) 2>&52791 ac_status=$?2792 echo "$as_me:$LINENO: \$? = $ac_status" >&52793 (exit $ac_status); }; } &&2794 { ac_try='test -s conftest.$ac_objext'2795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52796 (eval $ac_try) 2>&52797 ac_status=$?2798 echo "$as_me:$LINENO: \$? = $ac_status" >&52799 (exit $ac_status); }; }; then2800 break2801 else2802 echo "$as_me: failed program was:" >&52803 sed 's/^/| /' conftest.$ac_ext >&52804 2805 fi2806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2807 done2808 rm -f conftest*2809 if test -n "$ac_declaration"; then2810 echo '#ifdef __cplusplus' >>confdefs.h2811 echo $ac_declaration >>confdefs.h2812 echo '#endif' >>confdefs.h2813 fi2814 2815 3376 ac_ext=c 2816 3377 ac_cpp='$CPP $CPPFLAGS' … … 2823 3384 # Extract the first word of "$ac_prog", so it can be a program name with args. 2824 3385 set dummy $ac_prog; ac_word=$2 2825 echo "$as_me:$LINENO: checking for $ac_word" >&52826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3386 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3387 $as_echo_n "checking for $ac_word... " >&6; } 2827 3388 if test "${ac_cv_prog_AWK+set}" = set; then 2828 echo $ECHO_N "(cached) $ECHO_C" >&63389 $as_echo_n "(cached) " >&6 2829 3390 else 2830 3391 if test -n "$AWK"; then … … 2837 3398 test -z "$as_dir" && as_dir=. 2838 3399 for ac_exec_ext in '' $ac_executable_extensions; do 2839 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2840 3401 ac_cv_prog_AWK="$ac_prog" 2841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53402 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2842 3403 break 2 2843 3404 fi 2844 3405 done 2845 3406 done 3407 IFS=$as_save_IFS 2846 3408 2847 3409 fi … … 2849 3411 AWK=$ac_cv_prog_AWK 2850 3412 if test -n "$AWK"; then 2851 echo "$as_me:$LINENO: result: $AWK" >&5 2852 echo "${ECHO_T}$AWK" >&6 2853 else 2854 echo "$as_me:$LINENO: result: no" >&5 2855 echo "${ECHO_T}no" >&6 2856 fi 3413 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 3414 $as_echo "$AWK" >&6; } 3415 else 3416 { $as_echo "$as_me:$LINENO: result: no" >&5 3417 $as_echo "no" >&6; } 3418 fi 3419 2857 3420 2858 3421 test -n "$AWK" && break … … 2863 3426 # Extract the first word of "$ac_prog", so it can be a program name with args. 2864 3427 set dummy $ac_prog; ac_word=$2 2865 echo "$as_me:$LINENO: checking for $ac_word" >&52866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3428 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3429 $as_echo_n "checking for $ac_word... " >&6; } 2867 3430 if test "${ac_cv_prog_YACC+set}" = set; then 2868 echo $ECHO_N "(cached) $ECHO_C" >&63431 $as_echo_n "(cached) " >&6 2869 3432 else 2870 3433 if test -n "$YACC"; then … … 2877 3440 test -z "$as_dir" && as_dir=. 2878 3441 for ac_exec_ext in '' $ac_executable_extensions; do 2879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2880 3443 ac_cv_prog_YACC="$ac_prog" 2881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53444 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2882 3445 break 2 2883 3446 fi 2884 3447 done 2885 3448 done 3449 IFS=$as_save_IFS 2886 3450 2887 3451 fi … … 2889 3453 YACC=$ac_cv_prog_YACC 2890 3454 if test -n "$YACC"; then 2891 echo "$as_me:$LINENO: result: $YACC" >&5 2892 echo "${ECHO_T}$YACC" >&6 2893 else 2894 echo "$as_me:$LINENO: result: no" >&5 2895 echo "${ECHO_T}no" >&6 2896 fi 3455 { $as_echo "$as_me:$LINENO: result: $YACC" >&5 3456 $as_echo "$YACC" >&6; } 3457 else 3458 { $as_echo "$as_me:$LINENO: result: no" >&5 3459 $as_echo "no" >&6; } 3460 fi 3461 2897 3462 2898 3463 test -n "$YACC" && break … … 2901 3466 2902 3467 ac_aux_dir= 2903 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do2904 if test -f $ac_dir/install-sh; then3468 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3469 if test -f "$ac_dir/install-sh"; then 2905 3470 ac_aux_dir=$ac_dir 2906 3471 ac_install_sh="$ac_aux_dir/install-sh -c" 2907 3472 break 2908 elif test -f $ac_dir/install.sh; then3473 elif test -f "$ac_dir/install.sh"; then 2909 3474 ac_aux_dir=$ac_dir 2910 3475 ac_install_sh="$ac_aux_dir/install.sh -c" 2911 3476 break 2912 elif test -f $ac_dir/shtool; then3477 elif test -f "$ac_dir/shtool"; then 2913 3478 ac_aux_dir=$ac_dir 2914 3479 ac_install_sh="$ac_aux_dir/shtool install -c" … … 2917 3482 done 2918 3483 if test -z "$ac_aux_dir"; then 2919 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&52920 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}3484 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 3485 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2921 3486 { (exit 1); exit 1; }; } 2922 3487 fi 2923 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 2924 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 2925 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 3488 3489 # These three variables are undocumented and unsupported, 3490 # and are intended to be withdrawn in a future Autoconf release. 3491 # They can cause serious problems if a builder's source tree is in a directory 3492 # whose full name contains unusual characters. 3493 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3494 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3495 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3496 2926 3497 2927 3498 # Make sure we can run config.sub. 2928 $ ac_config_subsun4 >/dev/null 2>&1 ||2929 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&52930 echo "$as_me: error: cannot run $ac_config_sub" >&2;}3499 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3500 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 3501 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 2931 3502 { (exit 1); exit 1; }; } 2932 3503 2933 echo "$as_me:$LINENO: checking build system type" >&52934 echo $ECHO_N "checking build system type... $ECHO_C" >&6 3504 { $as_echo "$as_me:$LINENO: checking build system type" >&5 3505 $as_echo_n "checking build system type... " >&6; } 2935 3506 if test "${ac_cv_build+set}" = set; then 2936 echo $ECHO_N "(cached) $ECHO_C" >&62937 else 2938 ac_ cv_build_alias=$build_alias2939 test -z "$ac_cv_build_alias"&&2940 ac_ cv_build_alias=`$ac_config_guess`2941 test -z "$ac_cv_build_alias"&&2942 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&52943 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}3507 $as_echo_n "(cached) " >&6 3508 else 3509 ac_build_alias=$build_alias 3510 test "x$ac_build_alias" = x && 3511 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3512 test "x$ac_build_alias" = x && 3513 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3514 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 2944 3515 { (exit 1); exit 1; }; } 2945 ac_cv_build=`$ ac_config_sub $ac_cv_build_alias` ||2946 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&52947 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}3516 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3517 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 3518 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 2948 3519 { (exit 1); exit 1; }; } 2949 3520 2950 3521 fi 2951 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2952 echo "${ECHO_T}$ac_cv_build" >&6 3522 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3523 $as_echo "$ac_cv_build" >&6; } 3524 case $ac_cv_build in 3525 *-*-*) ;; 3526 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3527 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 3528 { (exit 1); exit 1; }; };; 3529 esac 2953 3530 build=$ac_cv_build 2954 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2955 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2956 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2957 2958 2959 echo "$as_me:$LINENO: checking host system type" >&5 2960 echo $ECHO_N "checking host system type... $ECHO_C" >&6 3531 ac_save_IFS=$IFS; IFS='-' 3532 set x $ac_cv_build 3533 shift 3534 build_cpu=$1 3535 build_vendor=$2 3536 shift; shift 3537 # Remember, the first character of IFS is used to create $*, 3538 # except with old shells: 3539 build_os=$* 3540 IFS=$ac_save_IFS 3541 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3542 3543 3544 { $as_echo "$as_me:$LINENO: checking host system type" >&5 3545 $as_echo_n "checking host system type... " >&6; } 2961 3546 if test "${ac_cv_host+set}" = set; then 2962 echo $ECHO_N "(cached) $ECHO_C" >&62963 else 2964 ac_cv_host_alias=$host_alias2965 test -z "$ac_cv_host_alias" && 2966 ac_cv_host_alias=$ac_cv_build_alias 2967 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||2968 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&52969 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}3547 $as_echo_n "(cached) " >&6 3548 else 3549 if test "x$host_alias" = x; then 3550 ac_cv_host=$ac_cv_build 3551 else 3552 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3553 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 3554 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 2970 3555 { (exit 1); exit 1; }; } 2971 2972 fi 2973 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2974 echo "${ECHO_T}$ac_cv_host" >&6 3556 fi 3557 3558 fi 3559 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3560 $as_echo "$ac_cv_host" >&6; } 3561 case $ac_cv_host in 3562 *-*-*) ;; 3563 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 3564 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 3565 { (exit 1); exit 1; }; };; 3566 esac 2975 3567 host=$ac_cv_host 2976 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2977 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2978 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2979 2980 2981 echo "$as_me:$LINENO: checking target system type" >&5 2982 echo $ECHO_N "checking target system type... $ECHO_C" >&6 3568 ac_save_IFS=$IFS; IFS='-' 3569 set x $ac_cv_host 3570 shift 3571 host_cpu=$1 3572 host_vendor=$2 3573 shift; shift 3574 # Remember, the first character of IFS is used to create $*, 3575 # except with old shells: 3576 host_os=$* 3577 IFS=$ac_save_IFS 3578 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3579 3580 3581 { $as_echo "$as_me:$LINENO: checking target system type" >&5 3582 $as_echo_n "checking target system type... " >&6; } 2983 3583 if test "${ac_cv_target+set}" = set; then 2984 echo $ECHO_N "(cached) $ECHO_C" >&62985 else 2986 ac_cv_target_alias=$target_alias2987 test "x$ac_cv_target_alias" = "x" && 2988 ac_cv_target_alias=$ac_cv_host_alias 2989 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||2990 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&52991 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}3584 $as_echo_n "(cached) " >&6 3585 else 3586 if test "x$target_alias" = x; then 3587 ac_cv_target=$ac_cv_host 3588 else 3589 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 3590 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 3591 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 2992 3592 { (exit 1); exit 1; }; } 2993 2994 fi 2995 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 2996 echo "${ECHO_T}$ac_cv_target" >&6 3593 fi 3594 3595 fi 3596 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 3597 $as_echo "$ac_cv_target" >&6; } 3598 case $ac_cv_target in 3599 *-*-*) ;; 3600 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 3601 $as_echo "$as_me: error: invalid value of canonical target" >&2;} 3602 { (exit 1); exit 1; }; };; 3603 esac 2997 3604 target=$ac_cv_target 2998 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2999 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3000 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3605 ac_save_IFS=$IFS; IFS='-' 3606 set x $ac_cv_target 3607 shift 3608 target_cpu=$1 3609 target_vendor=$2 3610 shift; shift 3611 # Remember, the first character of IFS is used to create $*, 3612 # except with old shells: 3613 target_os=$* 3614 IFS=$ac_save_IFS 3615 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 3001 3616 3002 3617 … … 3020 3635 # OS/2's system install, which has a completely different semantic 3021 3636 # ./install, which can be erroneously created by make from ./install.sh. 3022 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3023 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3637 # Reject install programs that cannot install multiple files. 3638 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3639 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3024 3640 if test -z "$INSTALL"; then 3025 3641 if test "${ac_cv_path_install+set}" = set; then 3026 echo $ECHO_N "(cached) $ECHO_C" >&63642 $as_echo_n "(cached) " >&6 3027 3643 else 3028 3644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 3043 3659 for ac_prog in ginstall scoinst install; do 3044 3660 for ac_exec_ext in '' $ac_executable_extensions; do 3045 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then3661 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3046 3662 if test $ac_prog = install && 3047 3663 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 3053 3669 : 3054 3670 else 3055 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3056 break 3 3671 rm -rf conftest.one conftest.two conftest.dir 3672 echo one > conftest.one 3673 echo two > conftest.two 3674 mkdir conftest.dir 3675 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3676 test -s conftest.one && test -s conftest.two && 3677 test -s conftest.dir/conftest.one && 3678 test -s conftest.dir/conftest.two 3679 then 3680 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3681 break 3 3682 fi 3057 3683 fi 3058 3684 fi … … 3061 3687 ;; 3062 3688 esac 3689 3063 3690 done 3064 3691 IFS=$as_save_IFS 3692 3693 rm -rf conftest.one conftest.two conftest.dir 3065 3694 3066 3695 fi … … 3068 3697 INSTALL=$ac_cv_path_install 3069 3698 else 3070 # As a last resort, use the slow shell script. We don't cache a3071 # pathfor INSTALL within a source directory, because that will3699 # As a last resort, use the slow shell script. Don't cache a 3700 # value for INSTALL within a source directory, because that will 3072 3701 # break other packages using the cache if that directory is 3073 # removed, or if the path is relative.3702 # removed, or if the value is a relative name. 3074 3703 INSTALL=$ac_install_sh 3075 3704 fi 3076 3705 fi 3077 echo "$as_me:$LINENO: result: $INSTALL" >&53078 echo "${ECHO_T}$INSTALL" >&6 3706 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 3707 $as_echo "$INSTALL" >&6; } 3079 3708 3080 3709 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 3086 3715 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3087 3716 3088 echo "$as_me:$LINENO: checking whether ln -s works" >&53089 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3717 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 3718 $as_echo_n "checking whether ln -s works... " >&6; } 3090 3719 LN_S=$as_ln_s 3091 3720 if test "$LN_S" = "ln -s"; then 3092 echo "$as_me:$LINENO: result: yes" >&5 3093 echo "${ECHO_T}yes" >&6 3094 else 3095 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3096 echo "${ECHO_T}no, using $LN_S" >&6 3097 fi 3098 3099 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3100 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3101 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 3102 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 3103 echo $ECHO_N "(cached) $ECHO_C" >&6 3721 { $as_echo "$as_me:$LINENO: result: yes" >&5 3722 $as_echo "yes" >&6; } 3723 else 3724 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3725 $as_echo "no, using $LN_S" >&6; } 3726 fi 3727 3728 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3729 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3730 set x ${MAKE-make} 3731 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3732 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 3733 $as_echo_n "(cached) " >&6 3104 3734 else 3105 3735 cat >conftest.make <<\_ACEOF 3736 SHELL = /bin/sh 3106 3737 all: 3107 @echo ' ac_maketemp="$(MAKE)"'3738 @echo '@@@%%%=$(MAKE)=@@@%%%' 3108 3739 _ACEOF 3109 3740 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3110 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3111 if test -n "$ac_maketemp"; then 3112 eval ac_cv_prog_make_${ac_make}_set=yes3113 else 3114 eval ac_cv_prog_make_${ac_make}_set=no3115 fi 3741 case `${MAKE-make} -f conftest.make 2>/dev/null` in 3742 *@@@%%%=?*=@@@%%%*) 3743 eval ac_cv_prog_make_${ac_make}_set=yes;; 3744 *) 3745 eval ac_cv_prog_make_${ac_make}_set=no;; 3746 esac 3116 3747 rm -f conftest.make 3117 3748 fi 3118 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then3119 echo "$as_me:$LINENO: result: yes" >&53120 echo "${ECHO_T}yes" >&6 3749 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3750 { $as_echo "$as_me:$LINENO: result: yes" >&5 3751 $as_echo "yes" >&6; } 3121 3752 SET_MAKE= 3122 3753 else 3123 echo "$as_me:$LINENO: result: no" >&53124 echo "${ECHO_T}no" >&6 3754 { $as_echo "$as_me:$LINENO: result: no" >&5 3755 $as_echo "no" >&6; } 3125 3756 SET_MAKE="MAKE=${MAKE-make}" 3126 3757 fi … … 3129 3760 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3130 3761 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3131 echo "$as_me:$LINENO: checking for $ac_word" >&53132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3762 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3763 $as_echo_n "checking for $ac_word... " >&6; } 3133 3764 if test "${ac_cv_prog_RANLIB+set}" = set; then 3134 echo $ECHO_N "(cached) $ECHO_C" >&63765 $as_echo_n "(cached) " >&6 3135 3766 else 3136 3767 if test -n "$RANLIB"; then … … 3143 3774 test -z "$as_dir" && as_dir=. 3144 3775 for ac_exec_ext in '' $ac_executable_extensions; do 3145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3146 3777 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53778 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3148 3779 break 2 3149 3780 fi 3150 3781 done 3151 3782 done 3783 IFS=$as_save_IFS 3152 3784 3153 3785 fi … … 3155 3787 RANLIB=$ac_cv_prog_RANLIB 3156 3788 if test -n "$RANLIB"; then 3157 echo "$as_me:$LINENO: result: $RANLIB" >&5 3158 echo "${ECHO_T}$RANLIB" >&6 3159 else 3160 echo "$as_me:$LINENO: result: no" >&5 3161 echo "${ECHO_T}no" >&6 3162 fi 3789 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 3790 $as_echo "$RANLIB" >&6; } 3791 else 3792 { $as_echo "$as_me:$LINENO: result: no" >&5 3793 $as_echo "no" >&6; } 3794 fi 3795 3163 3796 3164 3797 fi … … 3167 3800 # Extract the first word of "ranlib", so it can be a program name with args. 3168 3801 set dummy ranlib; ac_word=$2 3169 echo "$as_me:$LINENO: checking for $ac_word" >&53170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3802 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3803 $as_echo_n "checking for $ac_word... " >&6; } 3171 3804 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3172 echo $ECHO_N "(cached) $ECHO_C" >&63805 $as_echo_n "(cached) " >&6 3173 3806 else 3174 3807 if test -n "$ac_ct_RANLIB"; then … … 3181 3814 test -z "$as_dir" && as_dir=. 3182 3815 for ac_exec_ext in '' $ac_executable_extensions; do 3183 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3184 3817 ac_cv_prog_ac_ct_RANLIB="ranlib" 3185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53818 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3186 3819 break 2 3187 3820 fi 3188 3821 done 3189 3822 done 3190 3191 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3823 IFS=$as_save_IFS 3824 3192 3825 fi 3193 3826 fi 3194 3827 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3195 3828 if test -n "$ac_ct_RANLIB"; then 3196 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3197 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3198 else 3199 echo "$as_me:$LINENO: result: no" >&5 3200 echo "${ECHO_T}no" >&6 3201 fi 3202 3203 RANLIB=$ac_ct_RANLIB 3829 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3830 $as_echo "$ac_ct_RANLIB" >&6; } 3831 else 3832 { $as_echo "$as_me:$LINENO: result: no" >&5 3833 $as_echo "no" >&6; } 3834 fi 3835 3836 if test "x$ac_ct_RANLIB" = x; then 3837 RANLIB=":" 3838 else 3839 case $cross_compiling:$ac_tool_warned in 3840 yes:) 3841 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3843 ac_tool_warned=yes ;; 3844 esac 3845 RANLIB=$ac_ct_RANLIB 3846 fi 3204 3847 else 3205 3848 RANLIB="$ac_cv_prog_RANLIB" … … 3207 3850 3208 3851 3209 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&53210 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 3852 { $as_echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 3853 $as_echo_n "checking to see if architecture is 64-bit... " >&6; } 3211 3854 arch_64bit=no 3212 3855 case "$host_cpu" in … … 3215 3858 3216 3859 if test "$arch_64bit" = yes; then 3217 echo "$as_me:$LINENO: result: yes" >&53218 echo "${ECHO_T}yes" >&6 3219 if test -z "$ COMPAT32BITFLAGS" ; then3220 COMPAT32BITFLAGS="-m32"3860 { $as_echo "$as_me:$LINENO: result: yes" >&5 3861 $as_echo "yes" >&6; } 3862 if test -z "$ARCH_DEP_FLAGS" ; then 3863 ARCH_DEP_FLAGS=-fPIC 3221 3864 fi 3222 3865 else 3223 echo "$as_me:$LINENO: result: no" >&53224 echo "${ECHO_T}no" >&6 3225 if test -z "$ COMPAT32BITFLAGS" ; then3226 COMPAT32BITFLAGS=3866 { $as_echo "$as_me:$LINENO: result: no" >&5 3867 $as_echo "no" >&6; } 3868 if test -z "$ARCH_DEP_FLAGS" ; then 3869 ARCH_DEP_FLAGS= 3227 3870 fi 3228 3871 fi 3229 3872 3230 # Only need compat32bitflag if using MG or MGPP 3231 if test "$ENABLE_MG" = "0" ; then 3232 COMPAT32BITFLAGS= 3233 else 3234 if test "$ENABLE_MGPP" = "0" ; then 3235 COMPAT32BITFLAGS= 3236 fi 3237 fi 3238 3239 export COMPAT32BITFLAGS 3240 3873 export ARCH_DEP_FLAGS 3241 3874 3242 3875 … … 3279 3912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3280 3913 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3281 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53282 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3914 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3915 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3283 3916 # On Suns, sometimes $CPP names a directory. 3284 3917 if test -n "$CPP" && test -d "$CPP"; then … … 3287 3920 if test -z "$CPP"; then 3288 3921 if test "${ac_cv_prog_CPP+set}" = set; then 3289 echo $ECHO_N "(cached) $ECHO_C" >&63922 $as_echo_n "(cached) " >&6 3290 3923 else 3291 3924 # Double quotes because CPP needs to be expanded … … 3314 3947 Syntax error 3315 3948 _ACEOF 3316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3317 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3949 if { (ac_try="$ac_cpp conftest.$ac_ext" 3950 case "(($ac_try" in 3951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3952 *) ac_try_echo=$ac_try;; 3953 esac 3954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3955 $as_echo "$ac_try_echo") >&5 3956 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3318 3957 ac_status=$? 3319 3958 grep -v '^ *+' conftest.er1 >conftest.err 3320 3959 rm -f conftest.er1 3321 3960 cat conftest.err >&5 3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3323 (exit $ac_status); } >/dev/null; then 3324 if test -s conftest.err; then 3325 ac_cpp_err=$ac_c_preproc_warn_flag 3326 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3327 else 3328 ac_cpp_err= 3329 fi 3330 else 3331 ac_cpp_err=yes 3332 fi 3333 if test -z "$ac_cpp_err"; then 3961 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3962 (exit $ac_status); } >/dev/null && { 3963 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3964 test ! -s conftest.err 3965 }; then 3334 3966 : 3335 3967 else 3336 echo "$as_me: failed program was:" >&53968 $as_echo "$as_me: failed program was:" >&5 3337 3969 sed 's/^/| /' conftest.$ac_ext >&5 3338 3970 … … 3340 3972 continue 3341 3973 fi 3974 3342 3975 rm -f conftest.err conftest.$ac_ext 3343 3976 3344 # OK, works on sane cases. Now check whether non -existent headers3977 # OK, works on sane cases. Now check whether nonexistent headers 3345 3978 # can be detected and how. 3346 3979 cat >conftest.$ac_ext <<_ACEOF … … 3352 3985 #include <ac_nonexistent.h> 3353 3986 _ACEOF 3354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3355 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3987 if { (ac_try="$ac_cpp conftest.$ac_ext" 3988 case "(($ac_try" in 3989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3990 *) ac_try_echo=$ac_try;; 3991 esac 3992 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3993 $as_echo "$ac_try_echo") >&5 3994 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3356 3995 ac_status=$? 3357 3996 grep -v '^ *+' conftest.er1 >conftest.err 3358 3997 rm -f conftest.er1 3359 3998 cat conftest.err >&5 3360 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3361 (exit $ac_status); } >/dev/null; then 3362 if test -s conftest.err; then 3363 ac_cpp_err=$ac_c_preproc_warn_flag 3364 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3365 else 3366 ac_cpp_err= 3367 fi 3368 else 3369 ac_cpp_err=yes 3370 fi 3371 if test -z "$ac_cpp_err"; then 3999 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4000 (exit $ac_status); } >/dev/null && { 4001 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4002 test ! -s conftest.err 4003 }; then 3372 4004 # Broken: success on invalid input. 3373 4005 continue 3374 4006 else 3375 echo "$as_me: failed program was:" >&54007 $as_echo "$as_me: failed program was:" >&5 3376 4008 sed 's/^/| /' conftest.$ac_ext >&5 3377 4009 … … 3380 4012 break 3381 4013 fi 4014 3382 4015 rm -f conftest.err conftest.$ac_ext 3383 4016 … … 3397 4030 ac_cv_prog_CPP=$CPP 3398 4031 fi 3399 echo "$as_me:$LINENO: result: $CPP" >&53400 echo "${ECHO_T}$CPP" >&6 4032 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 4033 $as_echo "$CPP" >&6; } 3401 4034 ac_preproc_ok=false 3402 4035 for ac_c_preproc_warn_flag in '' yes … … 3421 4054 Syntax error 3422 4055 _ACEOF 3423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3424 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4056 if { (ac_try="$ac_cpp conftest.$ac_ext" 4057 case "(($ac_try" in 4058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4059 *) ac_try_echo=$ac_try;; 4060 esac 4061 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4062 $as_echo "$ac_try_echo") >&5 4063 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3425 4064 ac_status=$? 3426 4065 grep -v '^ *+' conftest.er1 >conftest.err 3427 4066 rm -f conftest.er1 3428 4067 cat conftest.err >&5 3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3430 (exit $ac_status); } >/dev/null; then 3431 if test -s conftest.err; then 3432 ac_cpp_err=$ac_c_preproc_warn_flag 3433 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3434 else 3435 ac_cpp_err= 3436 fi 3437 else 3438 ac_cpp_err=yes 3439 fi 3440 if test -z "$ac_cpp_err"; then 4068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4069 (exit $ac_status); } >/dev/null && { 4070 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4071 test ! -s conftest.err 4072 }; then 3441 4073 : 3442 4074 else 3443 echo "$as_me: failed program was:" >&54075 $as_echo "$as_me: failed program was:" >&5 3444 4076 sed 's/^/| /' conftest.$ac_ext >&5 3445 4077 … … 3447 4079 continue 3448 4080 fi 4081 3449 4082 rm -f conftest.err conftest.$ac_ext 3450 4083 3451 # OK, works on sane cases. Now check whether non -existent headers4084 # OK, works on sane cases. Now check whether nonexistent headers 3452 4085 # can be detected and how. 3453 4086 cat >conftest.$ac_ext <<_ACEOF … … 3459 4092 #include <ac_nonexistent.h> 3460 4093 _ACEOF 3461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3462 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4094 if { (ac_try="$ac_cpp conftest.$ac_ext" 4095 case "(($ac_try" in 4096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4097 *) ac_try_echo=$ac_try;; 4098 esac 4099 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4100 $as_echo "$ac_try_echo") >&5 4101 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3463 4102 ac_status=$? 3464 4103 grep -v '^ *+' conftest.er1 >conftest.err 3465 4104 rm -f conftest.er1 3466 4105 cat conftest.err >&5 3467 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3468 (exit $ac_status); } >/dev/null; then 3469 if test -s conftest.err; then 3470 ac_cpp_err=$ac_c_preproc_warn_flag 3471 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3472 else 3473 ac_cpp_err= 3474 fi 3475 else 3476 ac_cpp_err=yes 3477 fi 3478 if test -z "$ac_cpp_err"; then 4106 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4107 (exit $ac_status); } >/dev/null && { 4108 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4109 test ! -s conftest.err 4110 }; then 3479 4111 # Broken: success on invalid input. 3480 4112 continue 3481 4113 else 3482 echo "$as_me: failed program was:" >&54114 $as_echo "$as_me: failed program was:" >&5 3483 4115 sed 's/^/| /' conftest.$ac_ext >&5 3484 4116 … … 3487 4119 break 3488 4120 fi 4121 3489 4122 rm -f conftest.err conftest.$ac_ext 3490 4123 … … 3495 4128 : 3496 4129 else 3497 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4130 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 4131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4132 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3498 4133 See \`config.log' for more details." >&5 3499 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check4134 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3500 4135 See \`config.log' for more details." >&2;} 3501 { (exit 1); exit 1; }; } 4136 { (exit 1); exit 1; }; }; } 3502 4137 fi 3503 4138 … … 3509 4144 3510 4145 3511 echo "$as_me:$LINENO: checking for egrep" >&5 3512 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3513 if test "${ac_cv_prog_egrep+set}" = set; then 3514 echo $ECHO_N "(cached) $ECHO_C" >&6 3515 else 3516 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3517 then ac_cv_prog_egrep='grep -E' 3518 else ac_cv_prog_egrep='egrep' 4146 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4147 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4148 if test "${ac_cv_path_GREP+set}" = set; then 4149 $as_echo_n "(cached) " >&6 4150 else 4151 if test -z "$GREP"; then 4152 ac_path_GREP_found=false 4153 # Loop through the user's path and test for each of PROGNAME-LIST 4154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4155 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4156 do 4157 IFS=$as_save_IFS 4158 test -z "$as_dir" && as_dir=. 4159 for ac_prog in grep ggrep; do 4160 for ac_exec_ext in '' $ac_executable_extensions; do 4161 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4162 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4163 # Check for GNU ac_path_GREP and select it if it is found. 4164 # Check for GNU $ac_path_GREP 4165 case `"$ac_path_GREP" --version 2>&1` in 4166 *GNU*) 4167 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4168 *) 4169 ac_count=0 4170 $as_echo_n 0123456789 >"conftest.in" 4171 while : 4172 do 4173 cat "conftest.in" "conftest.in" >"conftest.tmp" 4174 mv "conftest.tmp" "conftest.in" 4175 cp "conftest.in" "conftest.nl" 4176 $as_echo 'GREP' >> "conftest.nl" 4177 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4178 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4179 ac_count=`expr $ac_count + 1` 4180 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4181 # Best one so far, save it but keep looking for a better one 4182 ac_cv_path_GREP="$ac_path_GREP" 4183 ac_path_GREP_max=$ac_count 3519 4184 fi 3520 fi 3521 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3522 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3523 EGREP=$ac_cv_prog_egrep 3524 3525 3526 3527 echo "$as_me:$LINENO: checking for AIX" >&5 3528 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3529 cat >conftest.$ac_ext <<_ACEOF 3530 /* confdefs.h. */ 3531 _ACEOF 3532 cat confdefs.h >>conftest.$ac_ext 3533 cat >>conftest.$ac_ext <<_ACEOF 3534 /* end confdefs.h. */ 3535 #ifdef _AIX 3536 yes 3537 #endif 3538 3539 _ACEOF 3540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3541 $EGREP "yes" >/dev/null 2>&1; then 3542 echo "$as_me:$LINENO: result: yes" >&5 3543 echo "${ECHO_T}yes" >&6 3544 cat >>confdefs.h <<\_ACEOF 3545 #define _ALL_SOURCE 1 3546 _ACEOF 3547 3548 else 3549 echo "$as_me:$LINENO: result: no" >&5 3550 echo "${ECHO_T}no" >&6 3551 fi 3552 rm -f conftest* 3553 3554 3555 echo "$as_me:$LINENO: checking for library containing strerror" >&5 3556 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 3557 if test "${ac_cv_search_strerror+set}" = set; then 3558 echo $ECHO_N "(cached) $ECHO_C" >&6 3559 else 3560 ac_func_search_save_LIBS=$LIBS 3561 ac_cv_search_strerror=no 3562 cat >conftest.$ac_ext <<_ACEOF 3563 /* confdefs.h. */ 3564 _ACEOF 3565 cat confdefs.h >>conftest.$ac_ext 3566 cat >>conftest.$ac_ext <<_ACEOF 3567 /* end confdefs.h. */ 3568 3569 /* Override any gcc2 internal prototype to avoid an error. */ 3570 #ifdef __cplusplus 3571 extern "C" 3572 #endif 3573 /* We use char because int might match the return type of a gcc2 3574 builtin and then its argument prototype would still apply. */ 3575 char strerror (); 3576 int 3577 main () 3578 { 3579 strerror (); 3580 ; 3581 return 0; 3582 } 3583 _ACEOF 3584 rm -f conftest.$ac_objext conftest$ac_exeext 3585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3586 (eval $ac_link) 2>conftest.er1 3587 ac_status=$? 3588 grep -v '^ *+' conftest.er1 >conftest.err 3589 rm -f conftest.er1 3590 cat conftest.err >&5 3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3592 (exit $ac_status); } && 3593 { ac_try='test -z "$ac_c_werror_flag" 3594 || test ! -s conftest.err' 3595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3596 (eval $ac_try) 2>&5 3597 ac_status=$? 3598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3599 (exit $ac_status); }; } && 3600 { ac_try='test -s conftest$ac_exeext' 3601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3602 (eval $ac_try) 2>&5 3603 ac_status=$? 3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3605 (exit $ac_status); }; }; then 3606 ac_cv_search_strerror="none required" 3607 else 3608 echo "$as_me: failed program was:" >&5 3609 sed 's/^/| /' conftest.$ac_ext >&5 3610 3611 fi 3612 rm -f conftest.err conftest.$ac_objext \ 3613 conftest$ac_exeext conftest.$ac_ext 3614 if test "$ac_cv_search_strerror" = no; then 3615 for ac_lib in cposix; do 3616 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3617 cat >conftest.$ac_ext <<_ACEOF 3618 /* confdefs.h. */ 3619 _ACEOF 3620 cat confdefs.h >>conftest.$ac_ext 3621 cat >>conftest.$ac_ext <<_ACEOF 3622 /* end confdefs.h. */ 3623 3624 /* Override any gcc2 internal prototype to avoid an error. */ 3625 #ifdef __cplusplus 3626 extern "C" 3627 #endif 3628 /* We use char because int might match the return type of a gcc2 3629 builtin and then its argument prototype would still apply. */ 3630 char strerror (); 3631 int 3632 main () 3633 { 3634 strerror (); 3635 ; 3636 return 0; 3637 } 3638 _ACEOF 3639 rm -f conftest.$ac_objext conftest$ac_exeext 3640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3641 (eval $ac_link) 2>conftest.er1 3642 ac_status=$? 3643 grep -v '^ *+' conftest.er1 >conftest.err 3644 rm -f conftest.er1 3645 cat conftest.err >&5 3646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3647 (exit $ac_status); } && 3648 { ac_try='test -z "$ac_c_werror_flag" 3649 || test ! -s conftest.err' 3650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3651 (eval $ac_try) 2>&5 3652 ac_status=$? 3653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3654 (exit $ac_status); }; } && 3655 { ac_try='test -s conftest$ac_exeext' 3656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3657 (eval $ac_try) 2>&5 3658 ac_status=$? 3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3660 (exit $ac_status); }; }; then 3661 ac_cv_search_strerror="-l$ac_lib" 3662 break 3663 else 3664 echo "$as_me: failed program was:" >&5 3665 sed 's/^/| /' conftest.$ac_ext >&5 3666 3667 fi 3668 rm -f conftest.err conftest.$ac_objext \ 3669 conftest$ac_exeext conftest.$ac_ext 4185 # 10*(2^10) chars as input seems more than enough 4186 test $ac_count -gt 10 && break 3670 4187 done 3671 fi 3672 LIBS=$ac_func_search_save_LIBS 3673 fi 3674 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3675 echo "${ECHO_T}$ac_cv_search_strerror" >&6 3676 if test "$ac_cv_search_strerror" != no; then 3677 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3678 3679 fi 3680 3681 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3682 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4188 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4189 esac 4190 4191 $ac_path_GREP_found && break 3 4192 done 4193 done 4194 done 4195 IFS=$as_save_IFS 4196 if test -z "$ac_cv_path_GREP"; then 4197 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4198 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4199 { (exit 1); exit 1; }; } 4200 fi 4201 else 4202 ac_cv_path_GREP=$GREP 4203 fi 4204 4205 fi 4206 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4207 $as_echo "$ac_cv_path_GREP" >&6; } 4208 GREP="$ac_cv_path_GREP" 4209 4210 4211 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 4212 $as_echo_n "checking for egrep... " >&6; } 4213 if test "${ac_cv_path_EGREP+set}" = set; then 4214 $as_echo_n "(cached) " >&6 4215 else 4216 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4217 then ac_cv_path_EGREP="$GREP -E" 4218 else 4219 if test -z "$EGREP"; then 4220 ac_path_EGREP_found=false 4221 # Loop through the user's path and test for each of PROGNAME-LIST 4222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4223 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4224 do 4225 IFS=$as_save_IFS 4226 test -z "$as_dir" && as_dir=. 4227 for ac_prog in egrep; do 4228 for ac_exec_ext in '' $ac_executable_extensions; do 4229 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4230 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4231 # Check for GNU ac_path_EGREP and select it if it is found. 4232 # Check for GNU $ac_path_EGREP 4233 case `"$ac_path_EGREP" --version 2>&1` in 4234 *GNU*) 4235 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4236 *) 4237 ac_count=0 4238 $as_echo_n 0123456789 >"conftest.in" 4239 while : 4240 do 4241 cat "conftest.in" "conftest.in" >"conftest.tmp" 4242 mv "conftest.tmp" "conftest.in" 4243 cp "conftest.in" "conftest.nl" 4244 $as_echo 'EGREP' >> "conftest.nl" 4245 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4246 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4247 ac_count=`expr $ac_count + 1` 4248 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4249 # Best one so far, save it but keep looking for a better one 4250 ac_cv_path_EGREP="$ac_path_EGREP" 4251 ac_path_EGREP_max=$ac_count 4252 fi 4253 # 10*(2^10) chars as input seems more than enough 4254 test $ac_count -gt 10 && break 4255 done 4256 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4257 esac 4258 4259 $ac_path_EGREP_found && break 3 4260 done 4261 done 4262 done 4263 IFS=$as_save_IFS 4264 if test -z "$ac_cv_path_EGREP"; then 4265 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4266 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4267 { (exit 1); exit 1; }; } 4268 fi 4269 else 4270 ac_cv_path_EGREP=$EGREP 4271 fi 4272 4273 fi 4274 fi 4275 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4276 $as_echo "$ac_cv_path_EGREP" >&6; } 4277 EGREP="$ac_cv_path_EGREP" 4278 4279 4280 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4281 $as_echo_n "checking for ANSI C header files... " >&6; } 3683 4282 if test "${ac_cv_header_stdc+set}" = set; then 3684 echo $ECHO_N "(cached) $ECHO_C" >&64283 $as_echo_n "(cached) " >&6 3685 4284 else 3686 4285 cat >conftest.$ac_ext <<_ACEOF … … 3704 4303 _ACEOF 3705 4304 rm -f conftest.$ac_objext 3706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3707 (eval $ac_compile) 2>conftest.er1 4305 if { (ac_try="$ac_compile" 4306 case "(($ac_try" in 4307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4308 *) ac_try_echo=$ac_try;; 4309 esac 4310 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4311 $as_echo "$ac_try_echo") >&5 4312 (eval "$ac_compile") 2>conftest.er1 3708 4313 ac_status=$? 3709 4314 grep -v '^ *+' conftest.er1 >conftest.err 3710 4315 rm -f conftest.er1 3711 4316 cat conftest.err >&5 3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3713 (exit $ac_status); } && 3714 { ac_try='test -z "$ac_c_werror_flag" 3715 || test ! -s conftest.err' 3716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3717 (eval $ac_try) 2>&5 3718 ac_status=$? 3719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3720 (exit $ac_status); }; } && 3721 { ac_try='test -s conftest.$ac_objext' 3722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3723 (eval $ac_try) 2>&5 3724 ac_status=$? 3725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3726 (exit $ac_status); }; }; then 4317 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4318 (exit $ac_status); } && { 4319 test -z "$ac_c_werror_flag" || 4320 test ! -s conftest.err 4321 } && test -s conftest.$ac_objext; then 3727 4322 ac_cv_header_stdc=yes 3728 4323 else 3729 echo "$as_me: failed program was:" >&54324 $as_echo "$as_me: failed program was:" >&5 3730 4325 sed 's/^/| /' conftest.$ac_ext >&5 3731 4326 3732 ac_cv_header_stdc=no 3733 fi 3734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4327 ac_cv_header_stdc=no 4328 fi 4329 4330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3735 4331 3736 4332 if test $ac_cv_header_stdc = yes; then … … 3788 4384 /* end confdefs.h. */ 3789 4385 #include <ctype.h> 4386 #include <stdlib.h> 3790 4387 #if ((' ' & 0x0FF) == 0x020) 3791 4388 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 3807 4404 if (XOR (islower (i), ISLOWER (i)) 3808 4405 || toupper (i) != TOUPPER (i)) 3809 exit(2);3810 exit (0);4406 return 2; 4407 return 0; 3811 4408 } 3812 4409 _ACEOF 3813 4410 rm -f conftest$ac_exeext 3814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3815 (eval $ac_link) 2>&5 4411 if { (ac_try="$ac_link" 4412 case "(($ac_try" in 4413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4414 *) ac_try_echo=$ac_try;; 4415 esac 4416 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4417 $as_echo "$ac_try_echo") >&5 4418 (eval "$ac_link") 2>&5 3816 4419 ac_status=$? 3817 echo "$as_me:$LINENO: \$? = $ac_status" >&54420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3818 4421 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3820 (eval $ac_try) 2>&5 4422 { (case "(($ac_try" in 4423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4424 *) ac_try_echo=$ac_try;; 4425 esac 4426 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4427 $as_echo "$ac_try_echo") >&5 4428 (eval "$ac_try") 2>&5 3821 4429 ac_status=$? 3822 echo "$as_me:$LINENO: \$? = $ac_status" >&54430 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3823 4431 (exit $ac_status); }; }; then 3824 4432 : 3825 4433 else 3826 echo "$as_me: program exited with status $ac_status" >&53827 echo "$as_me: failed program was:" >&54434 $as_echo "$as_me: program exited with status $ac_status" >&5 4435 $as_echo "$as_me: failed program was:" >&5 3828 4436 sed 's/^/| /' conftest.$ac_ext >&5 3829 4437 … … 3831 4439 ac_cv_header_stdc=no 3832 4440 fi 3833 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3834 fi 3835 fi 3836 fi 3837 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3838 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4441 rm -rf conftest.dSYM 4442 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4443 fi 4444 4445 4446 fi 4447 fi 4448 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4449 $as_echo "$ac_cv_header_stdc" >&6; } 3839 4450 if test $ac_cv_header_stdc = yes; then 3840 4451 … … 3858 4469 inttypes.h stdint.h unistd.h 3859 4470 do 3860 as_ac_Header=` echo "ac_cv_header_$ac_header" | $as_tr_sh`3861 echo "$as_me:$LINENO: checking for $ac_header" >&53862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3863 if eval "test \"\${$as_ac_Header+set}\" = set"; then3864 echo $ECHO_N "(cached) $ECHO_C" >&64471 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4472 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4473 $as_echo_n "checking for $ac_header... " >&6; } 4474 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4475 $as_echo_n "(cached) " >&6 3865 4476 else 3866 4477 cat >conftest.$ac_ext <<_ACEOF … … 3875 4486 _ACEOF 3876 4487 rm -f conftest.$ac_objext 3877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3878 (eval $ac_compile) 2>conftest.er1 4488 if { (ac_try="$ac_compile" 4489 case "(($ac_try" in 4490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4491 *) ac_try_echo=$ac_try;; 4492 esac 4493 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4494 $as_echo "$ac_try_echo") >&5 4495 (eval "$ac_compile") 2>conftest.er1 3879 4496 ac_status=$? 3880 4497 grep -v '^ *+' conftest.er1 >conftest.err 3881 4498 rm -f conftest.er1 3882 4499 cat conftest.err >&5 3883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3884 (exit $ac_status); } && 3885 { ac_try='test -z "$ac_c_werror_flag" 3886 || test ! -s conftest.err' 3887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3888 (eval $ac_try) 2>&5 3889 ac_status=$? 3890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3891 (exit $ac_status); }; } && 3892 { ac_try='test -s conftest.$ac_objext' 3893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3894 (eval $ac_try) 2>&5 3895 ac_status=$? 3896 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3897 (exit $ac_status); }; }; then 4500 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4501 (exit $ac_status); } && { 4502 test -z "$ac_c_werror_flag" || 4503 test ! -s conftest.err 4504 } && test -s conftest.$ac_objext; then 3898 4505 eval "$as_ac_Header=yes" 3899 4506 else 3900 echo "$as_me: failed program was:" >&54507 $as_echo "$as_me: failed program was:" >&5 3901 4508 sed 's/^/| /' conftest.$ac_ext >&5 3902 4509 3903 eval "$as_ac_Header=no" 3904 fi 3905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3906 fi 3907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3909 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4510 eval "$as_ac_Header=no" 4511 fi 4512 4513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4514 fi 4515 ac_res=`eval 'as_val=${'$as_ac_Header'} 4516 $as_echo "$as_val"'` 4517 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4518 $as_echo "$ac_res" >&6; } 4519 as_val=`eval 'as_val=${'$as_ac_Header'} 4520 $as_echo "$as_val"'` 4521 if test "x$as_val" = x""yes; then 3910 4522 cat >>confdefs.h <<_ACEOF 3911 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 14523 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3912 4524 _ACEOF 3913 4525 … … 3917 4529 3918 4530 4531 4532 if test "${ac_cv_header_minix_config_h+set}" = set; then 4533 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 4534 $as_echo_n "checking for minix/config.h... " >&6; } 3919 4535 if test "${ac_cv_header_minix_config_h+set}" = set; then 3920 echo "$as_me:$LINENO: checking for minix/config.h" >&5 3921 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 3922 if test "${ac_cv_header_minix_config_h+set}" = set; then 3923 echo $ECHO_N "(cached) $ECHO_C" >&6 3924 fi 3925 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 3926 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4536 $as_echo_n "(cached) " >&6 4537 fi 4538 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4539 $as_echo "$ac_cv_header_minix_config_h" >&6; } 3927 4540 else 3928 4541 # Is the header compilable? 3929 echo "$as_me:$LINENO: checking minix/config.h usability" >&53930 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 4542 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 4543 $as_echo_n "checking minix/config.h usability... " >&6; } 3931 4544 cat >conftest.$ac_ext <<_ACEOF 3932 4545 /* confdefs.h. */ … … 3939 4552 _ACEOF 3940 4553 rm -f conftest.$ac_objext 3941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3942 (eval $ac_compile) 2>conftest.er1 4554 if { (ac_try="$ac_compile" 4555 case "(($ac_try" in 4556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4557 *) ac_try_echo=$ac_try;; 4558 esac 4559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4560 $as_echo "$ac_try_echo") >&5 4561 (eval "$ac_compile") 2>conftest.er1 3943 4562 ac_status=$? 3944 4563 grep -v '^ *+' conftest.er1 >conftest.err 3945 4564 rm -f conftest.er1 3946 4565 cat conftest.err >&5 3947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3948 (exit $ac_status); } && 3949 { ac_try='test -z "$ac_c_werror_flag" 3950 || test ! -s conftest.err' 3951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3952 (eval $ac_try) 2>&5 3953 ac_status=$? 3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3955 (exit $ac_status); }; } && 3956 { ac_try='test -s conftest.$ac_objext' 3957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3958 (eval $ac_try) 2>&5 3959 ac_status=$? 3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3961 (exit $ac_status); }; }; then 4566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4567 (exit $ac_status); } && { 4568 test -z "$ac_c_werror_flag" || 4569 test ! -s conftest.err 4570 } && test -s conftest.$ac_objext; then 3962 4571 ac_header_compiler=yes 3963 4572 else 3964 echo "$as_me: failed program was:" >&54573 $as_echo "$as_me: failed program was:" >&5 3965 4574 sed 's/^/| /' conftest.$ac_ext >&5 3966 4575 3967 ac_header_compiler=no 3968 fi 3969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3970 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3971 echo "${ECHO_T}$ac_header_compiler" >&6 4576 ac_header_compiler=no 4577 fi 4578 4579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4580 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4581 $as_echo "$ac_header_compiler" >&6; } 3972 4582 3973 4583 # Is the header present? 3974 echo "$as_me:$LINENO: checking minix/config.h presence" >&53975 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 4584 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 4585 $as_echo_n "checking minix/config.h presence... " >&6; } 3976 4586 cat >conftest.$ac_ext <<_ACEOF 3977 4587 /* confdefs.h. */ … … 3982 4592 #include <minix/config.h> 3983 4593 _ACEOF 3984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3985 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4594 if { (ac_try="$ac_cpp conftest.$ac_ext" 4595 case "(($ac_try" in 4596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4597 *) ac_try_echo=$ac_try;; 4598 esac 4599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4600 $as_echo "$ac_try_echo") >&5 4601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3986 4602 ac_status=$? 3987 4603 grep -v '^ *+' conftest.er1 >conftest.err 3988 4604 rm -f conftest.er1 3989 4605 cat conftest.err >&5 3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3991 (exit $ac_status); } >/dev/null; then 3992 if test -s conftest.err; then 3993 ac_cpp_err=$ac_c_preproc_warn_flag 3994 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3995 else 3996 ac_cpp_err= 3997 fi 3998 else 3999 ac_cpp_err=yes 4000 fi 4001 if test -z "$ac_cpp_err"; then 4606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4607 (exit $ac_status); } >/dev/null && { 4608 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4609 test ! -s conftest.err 4610 }; then 4002 4611 ac_header_preproc=yes 4003 4612 else 4004 echo "$as_me: failed program was:" >&54613 $as_echo "$as_me: failed program was:" >&5 4005 4614 sed 's/^/| /' conftest.$ac_ext >&5 4006 4615 4007 4616 ac_header_preproc=no 4008 4617 fi 4618 4009 4619 rm -f conftest.err conftest.$ac_ext 4010 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54011 echo "${ECHO_T}$ac_header_preproc" >&6 4620 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4621 $as_echo "$ac_header_preproc" >&6; } 4012 4622 4013 4623 # So? What about this header? 4014 4624 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4015 4625 yes:no: ) 4016 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&54017 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}4018 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&54019 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}4626 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 4627 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4628 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 4629 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 4020 4630 ac_header_preproc=yes 4021 4631 ;; 4022 4632 no:yes:* ) 4023 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 4024 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 4025 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 4026 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 4027 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 4028 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 4029 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 4030 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 4031 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 4032 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 4033 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4034 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4035 ( 4036 cat <<\_ASBOX 4037 ## ------------------------------------------ ## 4038 ## Report this to the AC_PACKAGE_NAME lists. ## 4039 ## ------------------------------------------ ## 4040 _ASBOX 4041 ) | 4042 sed "s/^/$as_me: WARNING: /" >&2 4633 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 4634 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 4635 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 4636 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 4637 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 4638 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 4639 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 4640 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 4641 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 4642 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 4643 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4644 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4645 4043 4646 ;; 4044 4647 esac 4045 echo "$as_me:$LINENO: checking for minix/config.h" >&54046 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4648 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 4649 $as_echo_n "checking for minix/config.h... " >&6; } 4047 4650 if test "${ac_cv_header_minix_config_h+set}" = set; then 4048 echo $ECHO_N "(cached) $ECHO_C" >&64651 $as_echo_n "(cached) " >&6 4049 4652 else 4050 4653 ac_cv_header_minix_config_h=$ac_header_preproc 4051 4654 fi 4052 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&54053 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4054 4055 fi 4056 if test $ac_cv_header_minix_config_h =yes; then4655 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4656 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4657 4658 fi 4659 if test "x$ac_cv_header_minix_config_h" = x""yes; then 4057 4660 MINIX=yes 4058 4661 else … … 4061 4664 4062 4665 4063 if test "$MINIX" = yes; then4666 if test "$MINIX" = yes; then 4064 4667 4065 4668 cat >>confdefs.h <<\_ACEOF … … 4077 4680 _ACEOF 4078 4681 4079 fi 4080 4081 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 4082 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 4682 fi 4683 4684 4685 4686 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 4687 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4688 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 4689 $as_echo_n "(cached) " >&6 4690 else 4691 cat >conftest.$ac_ext <<_ACEOF 4692 /* confdefs.h. */ 4693 _ACEOF 4694 cat confdefs.h >>conftest.$ac_ext 4695 cat >>conftest.$ac_ext <<_ACEOF 4696 /* end confdefs.h. */ 4697 4698 # define __EXTENSIONS__ 1 4699 $ac_includes_default 4700 int 4701 main () 4702 { 4703 4704 ; 4705 return 0; 4706 } 4707 _ACEOF 4708 rm -f conftest.$ac_objext 4709 if { (ac_try="$ac_compile" 4710 case "(($ac_try" in 4711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4712 *) ac_try_echo=$ac_try;; 4713 esac 4714 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4715 $as_echo "$ac_try_echo") >&5 4716 (eval "$ac_compile") 2>conftest.er1 4717 ac_status=$? 4718 grep -v '^ *+' conftest.er1 >conftest.err 4719 rm -f conftest.er1 4720 cat conftest.err >&5 4721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4722 (exit $ac_status); } && { 4723 test -z "$ac_c_werror_flag" || 4724 test ! -s conftest.err 4725 } && test -s conftest.$ac_objext; then 4726 ac_cv_safe_to_define___extensions__=yes 4727 else 4728 $as_echo "$as_me: failed program was:" >&5 4729 sed 's/^/| /' conftest.$ac_ext >&5 4730 4731 ac_cv_safe_to_define___extensions__=no 4732 fi 4733 4734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4735 fi 4736 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 4737 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 4738 test $ac_cv_safe_to_define___extensions__ = yes && 4739 cat >>confdefs.h <<\_ACEOF 4740 #define __EXTENSIONS__ 1 4741 _ACEOF 4742 4743 cat >>confdefs.h <<\_ACEOF 4744 #define _ALL_SOURCE 1 4745 _ACEOF 4746 4747 cat >>confdefs.h <<\_ACEOF 4748 #define _GNU_SOURCE 1 4749 _ACEOF 4750 4751 cat >>confdefs.h <<\_ACEOF 4752 #define _POSIX_PTHREAD_SEMANTICS 1 4753 _ACEOF 4754 4755 cat >>confdefs.h <<\_ACEOF 4756 #define _TANDEM_SOURCE 1 4757 _ACEOF 4758 4759 4760 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5 4761 $as_echo_n "checking for library containing strerror... " >&6; } 4762 if test "${ac_cv_search_strerror+set}" = set; then 4763 $as_echo_n "(cached) " >&6 4764 else 4765 ac_func_search_save_LIBS=$LIBS 4766 cat >conftest.$ac_ext <<_ACEOF 4767 /* confdefs.h. */ 4768 _ACEOF 4769 cat confdefs.h >>conftest.$ac_ext 4770 cat >>conftest.$ac_ext <<_ACEOF 4771 /* end confdefs.h. */ 4772 4773 /* Override any GCC internal prototype to avoid an error. 4774 Use char because int might match the return type of a GCC 4775 builtin and then its argument prototype would still apply. */ 4776 #ifdef __cplusplus 4777 extern "C" 4778 #endif 4779 char strerror (); 4780 int 4781 main () 4782 { 4783 return strerror (); 4784 ; 4785 return 0; 4786 } 4787 _ACEOF 4788 for ac_lib in '' cposix; do 4789 if test -z "$ac_lib"; then 4790 ac_res="none required" 4791 else 4792 ac_res=-l$ac_lib 4793 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4794 fi 4795 rm -f conftest.$ac_objext conftest$ac_exeext 4796 if { (ac_try="$ac_link" 4797 case "(($ac_try" in 4798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4799 *) ac_try_echo=$ac_try;; 4800 esac 4801 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4802 $as_echo "$ac_try_echo") >&5 4803 (eval "$ac_link") 2>conftest.er1 4804 ac_status=$? 4805 grep -v '^ *+' conftest.er1 >conftest.err 4806 rm -f conftest.er1 4807 cat conftest.err >&5 4808 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4809 (exit $ac_status); } && { 4810 test -z "$ac_c_werror_flag" || 4811 test ! -s conftest.err 4812 } && test -s conftest$ac_exeext && { 4813 test "$cross_compiling" = yes || 4814 $as_test_x conftest$ac_exeext 4815 }; then 4816 ac_cv_search_strerror=$ac_res 4817 else 4818 $as_echo "$as_me: failed program was:" >&5 4819 sed 's/^/| /' conftest.$ac_ext >&5 4820 4821 4822 fi 4823 4824 rm -rf conftest.dSYM 4825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4826 conftest$ac_exeext 4827 if test "${ac_cv_search_strerror+set}" = set; then 4828 break 4829 fi 4830 done 4831 if test "${ac_cv_search_strerror+set}" = set; then 4832 : 4833 else 4834 ac_cv_search_strerror=no 4835 fi 4836 rm conftest.$ac_ext 4837 LIBS=$ac_func_search_save_LIBS 4838 fi 4839 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 4840 $as_echo "$ac_cv_search_strerror" >&6; } 4841 ac_res=$ac_cv_search_strerror 4842 if test "$ac_res" != no; then 4843 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4844 4845 fi 4846 4847 4848 if test "${ac_cv_header_minix_config_h+set}" = set; then 4849 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 4850 $as_echo_n "checking for minix/config.h... " >&6; } 4851 if test "${ac_cv_header_minix_config_h+set}" = set; then 4852 $as_echo_n "(cached) " >&6 4853 fi 4854 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4855 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4856 else 4857 # Is the header compilable? 4858 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 4859 $as_echo_n "checking minix/config.h usability... " >&6; } 4860 cat >conftest.$ac_ext <<_ACEOF 4861 /* confdefs.h. */ 4862 _ACEOF 4863 cat confdefs.h >>conftest.$ac_ext 4864 cat >>conftest.$ac_ext <<_ACEOF 4865 /* end confdefs.h. */ 4866 $ac_includes_default 4867 #include <minix/config.h> 4868 _ACEOF 4869 rm -f conftest.$ac_objext 4870 if { (ac_try="$ac_compile" 4871 case "(($ac_try" in 4872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4873 *) ac_try_echo=$ac_try;; 4874 esac 4875 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4876 $as_echo "$ac_try_echo") >&5 4877 (eval "$ac_compile") 2>conftest.er1 4878 ac_status=$? 4879 grep -v '^ *+' conftest.er1 >conftest.err 4880 rm -f conftest.er1 4881 cat conftest.err >&5 4882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4883 (exit $ac_status); } && { 4884 test -z "$ac_c_werror_flag" || 4885 test ! -s conftest.err 4886 } && test -s conftest.$ac_objext; then 4887 ac_header_compiler=yes 4888 else 4889 $as_echo "$as_me: failed program was:" >&5 4890 sed 's/^/| /' conftest.$ac_ext >&5 4891 4892 ac_header_compiler=no 4893 fi 4894 4895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4896 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4897 $as_echo "$ac_header_compiler" >&6; } 4898 4899 # Is the header present? 4900 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 4901 $as_echo_n "checking minix/config.h presence... " >&6; } 4902 cat >conftest.$ac_ext <<_ACEOF 4903 /* confdefs.h. */ 4904 _ACEOF 4905 cat confdefs.h >>conftest.$ac_ext 4906 cat >>conftest.$ac_ext <<_ACEOF 4907 /* end confdefs.h. */ 4908 #include <minix/config.h> 4909 _ACEOF 4910 if { (ac_try="$ac_cpp conftest.$ac_ext" 4911 case "(($ac_try" in 4912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4913 *) ac_try_echo=$ac_try;; 4914 esac 4915 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4916 $as_echo "$ac_try_echo") >&5 4917 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4918 ac_status=$? 4919 grep -v '^ *+' conftest.er1 >conftest.err 4920 rm -f conftest.er1 4921 cat conftest.err >&5 4922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4923 (exit $ac_status); } >/dev/null && { 4924 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4925 test ! -s conftest.err 4926 }; then 4927 ac_header_preproc=yes 4928 else 4929 $as_echo "$as_me: failed program was:" >&5 4930 sed 's/^/| /' conftest.$ac_ext >&5 4931 4932 ac_header_preproc=no 4933 fi 4934 4935 rm -f conftest.err conftest.$ac_ext 4936 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4937 $as_echo "$ac_header_preproc" >&6; } 4938 4939 # So? What about this header? 4940 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4941 yes:no: ) 4942 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 4943 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4944 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 4945 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 4946 ac_header_preproc=yes 4947 ;; 4948 no:yes:* ) 4949 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 4950 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 4951 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 4952 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 4953 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 4954 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 4955 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 4956 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 4957 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 4958 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 4959 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4960 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4961 4962 ;; 4963 esac 4964 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 4965 $as_echo_n "checking for minix/config.h... " >&6; } 4966 if test "${ac_cv_header_minix_config_h+set}" = set; then 4967 $as_echo_n "(cached) " >&6 4968 else 4969 ac_cv_header_minix_config_h=$ac_header_preproc 4970 fi 4971 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4972 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4973 4974 fi 4975 if test "x$ac_cv_header_minix_config_h" = x""yes; then 4976 MINIX=yes 4977 else 4978 MINIX= 4979 fi 4980 4981 4982 if test "$MINIX" = yes; then 4983 4984 cat >>confdefs.h <<\_ACEOF 4985 #define _POSIX_SOURCE 1 4986 _ACEOF 4987 4988 4989 cat >>confdefs.h <<\_ACEOF 4990 #define _POSIX_1_SOURCE 2 4991 _ACEOF 4992 4993 4994 cat >>confdefs.h <<\_ACEOF 4995 #define _MINIX 1 4996 _ACEOF 4997 4998 fi 4999 5000 5001 5002 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 5003 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5004 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 5005 $as_echo_n "(cached) " >&6 5006 else 5007 cat >conftest.$ac_ext <<_ACEOF 5008 /* confdefs.h. */ 5009 _ACEOF 5010 cat confdefs.h >>conftest.$ac_ext 5011 cat >>conftest.$ac_ext <<_ACEOF 5012 /* end confdefs.h. */ 5013 5014 # define __EXTENSIONS__ 1 5015 $ac_includes_default 5016 int 5017 main () 5018 { 5019 5020 ; 5021 return 0; 5022 } 5023 _ACEOF 5024 rm -f conftest.$ac_objext 5025 if { (ac_try="$ac_compile" 5026 case "(($ac_try" in 5027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5028 *) ac_try_echo=$ac_try;; 5029 esac 5030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5031 $as_echo "$ac_try_echo") >&5 5032 (eval "$ac_compile") 2>conftest.er1 5033 ac_status=$? 5034 grep -v '^ *+' conftest.er1 >conftest.err 5035 rm -f conftest.er1 5036 cat conftest.err >&5 5037 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5038 (exit $ac_status); } && { 5039 test -z "$ac_c_werror_flag" || 5040 test ! -s conftest.err 5041 } && test -s conftest.$ac_objext; then 5042 ac_cv_safe_to_define___extensions__=yes 5043 else 5044 $as_echo "$as_me: failed program was:" >&5 5045 sed 's/^/| /' conftest.$ac_ext >&5 5046 5047 ac_cv_safe_to_define___extensions__=no 5048 fi 5049 5050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5051 fi 5052 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 5053 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5054 test $ac_cv_safe_to_define___extensions__ = yes && 5055 cat >>confdefs.h <<\_ACEOF 5056 #define __EXTENSIONS__ 1 5057 _ACEOF 5058 5059 cat >>confdefs.h <<\_ACEOF 5060 #define _ALL_SOURCE 1 5061 _ACEOF 5062 5063 cat >>confdefs.h <<\_ACEOF 5064 #define _GNU_SOURCE 1 5065 _ACEOF 5066 5067 cat >>confdefs.h <<\_ACEOF 5068 #define _POSIX_PTHREAD_SEMANTICS 1 5069 _ACEOF 5070 5071 cat >>confdefs.h <<\_ACEOF 5072 #define _TANDEM_SOURCE 1 5073 _ACEOF 5074 5075 5076 { $as_echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 5077 $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; } 4083 5078 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4084 echo $ECHO_N "(cached) $ECHO_C" >&65079 $as_echo_n "(cached) " >&6 4085 5080 else 4086 5081 ac_cv_prog_cc_stdc=no … … 4116 5111 _ACEOF 4117 5112 rm -f conftest.$ac_objext 4118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4119 (eval $ac_compile) 2>conftest.er1 5113 if { (ac_try="$ac_compile" 5114 case "(($ac_try" in 5115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5116 *) ac_try_echo=$ac_try;; 5117 esac 5118 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5119 $as_echo "$ac_try_echo") >&5 5120 (eval "$ac_compile") 2>conftest.er1 4120 5121 ac_status=$? 4121 5122 grep -v '^ *+' conftest.er1 >conftest.err 4122 5123 rm -f conftest.er1 4123 5124 cat conftest.err >&5 4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4125 (exit $ac_status); } && 4126 { ac_try='test -z "$ac_c_werror_flag" 4127 || test ! -s conftest.err' 4128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4129 (eval $ac_try) 2>&5 4130 ac_status=$? 4131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4132 (exit $ac_status); }; } && 4133 { ac_try='test -s conftest.$ac_objext' 4134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4135 (eval $ac_try) 2>&5 4136 ac_status=$? 4137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4138 (exit $ac_status); }; }; then 5125 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5126 (exit $ac_status); } && { 5127 test -z "$ac_c_werror_flag" || 5128 test ! -s conftest.err 5129 } && test -s conftest.$ac_objext; then 4139 5130 ac_cv_prog_cc_stdc="$ac_arg"; break 4140 5131 else 4141 echo "$as_me: failed program was:" >&55132 $as_echo "$as_me: failed program was:" >&5 4142 5133 sed 's/^/| /' conftest.$ac_ext >&5 4143 5134 4144 fi 4145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5135 5136 fi 5137 5138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4146 5139 done 4147 5140 CFLAGS="$ac_save_CFLAGS" … … 4149 5142 fi 4150 5143 4151 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&54152 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 5144 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 5145 $as_echo "$ac_cv_prog_cc_stdc" >&6; } 4153 5146 case "x$ac_cv_prog_cc_stdc" in 4154 5147 x|xno) ;; … … 4157 5150 4158 5151 4159 echo "$as_me:$LINENO: checking for function prototypes" >&54160 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 5152 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5 5153 $as_echo_n "checking for function prototypes... " >&6; } 4161 5154 if test "$ac_cv_prog_cc_stdc" != no; then 4162 echo "$as_me:$LINENO: result: yes" >&54163 echo "${ECHO_T}yes" >&6 5155 { $as_echo "$as_me:$LINENO: result: yes" >&5 5156 $as_echo "yes" >&6; } 4164 5157 cat >>confdefs.h <<\_ACEOF 4165 5158 #define PROTOTYPES 1 … … 4168 5161 U= ANSI2KNR= 4169 5162 else 4170 echo "$as_me:$LINENO: result: no" >&54171 echo "${ECHO_T}no" >&6 5163 { $as_echo "$as_me:$LINENO: result: no" >&5 5164 $as_echo "no" >&6; } 4172 5165 U=_ ANSI2KNR=ansi2knr 4173 5166 fi 4174 5167 4175 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&54176 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 5168 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 5169 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 4177 5170 if test "${ac_cv_c_const+set}" = set; then 4178 echo $ECHO_N "(cached) $ECHO_C" >&65171 $as_echo_n "(cached) " >&6 4179 5172 else 4180 5173 cat >conftest.$ac_ext <<_ACEOF … … 4192 5185 /* Ultrix mips cc rejects this. */ 4193 5186 typedef int charset[2]; 4194 const charset x;5187 const charset cs; 4195 5188 /* SunOS 4.1.1 cc rejects this. */ 4196 char const *const * ccp;4197 char **p ;5189 char const *const *pcpcc; 5190 char **ppc; 4198 5191 /* NEC SVR4.0.2 mips cc rejects this. */ 4199 5192 struct point {int x, y;}; … … 4204 5197 expression */ 4205 5198 const char *g = "string"; 4206 ccp= &g + (g ? g-g : 0);5199 pcpcc = &g + (g ? g-g : 0); 4207 5200 /* HPUX 7.0 cc rejects these. */ 4208 ++ ccp;4209 p = (char**) ccp;4210 ccp = (char const *const *) p;5201 ++pcpcc; 5202 ppc = (char**) pcpcc; 5203 pcpcc = (char const *const *) ppc; 4211 5204 { /* SCO 3.2v4 cc rejects this. */ 4212 5205 char *t; … … 4214 5207 4215 5208 *t++ = 0; 5209 if (s) return 0; 4216 5210 } 4217 5211 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 4232 5226 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4233 5227 const int foo = 10; 5228 if (!foo) return 0; 4234 5229 } 5230 return !cs[0] && !zero.x; 4235 5231 #endif 4236 5232 … … 4240 5236 _ACEOF 4241 5237 rm -f conftest.$ac_objext 4242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4243 (eval $ac_compile) 2>conftest.er1 5238 if { (ac_try="$ac_compile" 5239 case "(($ac_try" in 5240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5241 *) ac_try_echo=$ac_try;; 5242 esac 5243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5244 $as_echo "$ac_try_echo") >&5 5245 (eval "$ac_compile") 2>conftest.er1 4244 5246 ac_status=$? 4245 5247 grep -v '^ *+' conftest.er1 >conftest.err 4246 5248 rm -f conftest.er1 4247 5249 cat conftest.err >&5 4248 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4249 (exit $ac_status); } && 4250 { ac_try='test -z "$ac_c_werror_flag" 4251 || test ! -s conftest.err' 4252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4253 (eval $ac_try) 2>&5 4254 ac_status=$? 4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4256 (exit $ac_status); }; } && 4257 { ac_try='test -s conftest.$ac_objext' 4258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4259 (eval $ac_try) 2>&5 4260 ac_status=$? 4261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4262 (exit $ac_status); }; }; then 5250 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5251 (exit $ac_status); } && { 5252 test -z "$ac_c_werror_flag" || 5253 test ! -s conftest.err 5254 } && test -s conftest.$ac_objext; then 4263 5255 ac_cv_c_const=yes 4264 5256 else 4265 echo "$as_me: failed program was:" >&55257 $as_echo "$as_me: failed program was:" >&5 4266 5258 sed 's/^/| /' conftest.$ac_ext >&5 4267 5259 4268 ac_cv_c_const=no 4269 fi 4270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4271 fi 4272 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4273 echo "${ECHO_T}$ac_cv_c_const" >&6 5260 ac_cv_c_const=no 5261 fi 5262 5263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5264 fi 5265 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 5266 $as_echo "$ac_cv_c_const" >&6; } 4274 5267 if test $ac_cv_c_const = no; then 4275 5268 4276 5269 cat >>confdefs.h <<\_ACEOF 4277 #define const 4278 _ACEOF 4279 4280 fi 4281 4282 echo "$as_me:$LINENO: checking for off_t" >&54283 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 5270 #define const /**/ 5271 _ACEOF 5272 5273 fi 5274 5275 { $as_echo "$as_me:$LINENO: checking for off_t" >&5 5276 $as_echo_n "checking for off_t... " >&6; } 4284 5277 if test "${ac_cv_type_off_t+set}" = set; then 4285 echo $ECHO_N "(cached) $ECHO_C" >&6 4286 else 4287 cat >conftest.$ac_ext <<_ACEOF 5278 $as_echo_n "(cached) " >&6 5279 else 5280 ac_cv_type_off_t=no 5281 cat >conftest.$ac_ext <<_ACEOF 4288 5282 /* confdefs.h. */ 4289 5283 _ACEOF … … 4295 5289 main () 4296 5290 { 4297 if ((off_t *) 0)4298 return 0;4299 5291 if (sizeof (off_t)) 4300 return 0;5292 return 0; 4301 5293 ; 4302 5294 return 0; … … 4304 5296 _ACEOF 4305 5297 rm -f conftest.$ac_objext 4306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4307 (eval $ac_compile) 2>conftest.er1 5298 if { (ac_try="$ac_compile" 5299 case "(($ac_try" in 5300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5301 *) ac_try_echo=$ac_try;; 5302 esac 5303 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5304 $as_echo "$ac_try_echo") >&5 5305 (eval "$ac_compile") 2>conftest.er1 4308 5306 ac_status=$? 4309 5307 grep -v '^ *+' conftest.er1 >conftest.err 4310 5308 rm -f conftest.er1 4311 5309 cat conftest.err >&5 4312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4313 (exit $ac_status); } && 4314 { ac_try='test -z "$ac_c_werror_flag" 4315 || test ! -s conftest.err' 4316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4317 (eval $ac_try) 2>&5 4318 ac_status=$? 4319 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4320 (exit $ac_status); }; } && 4321 { ac_try='test -s conftest.$ac_objext' 4322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4323 (eval $ac_try) 2>&5 4324 ac_status=$? 4325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4326 (exit $ac_status); }; }; then 4327 ac_cv_type_off_t=yes 4328 else 4329 echo "$as_me: failed program was:" >&5 4330 sed 's/^/| /' conftest.$ac_ext >&5 4331 4332 ac_cv_type_off_t=no 4333 fi 4334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4335 fi 4336 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4337 echo "${ECHO_T}$ac_cv_type_off_t" >&6 4338 if test $ac_cv_type_off_t = yes; then 4339 : 4340 else 4341 4342 cat >>confdefs.h <<_ACEOF 4343 #define off_t long 4344 _ACEOF 4345 4346 fi 4347 4348 echo "$as_me:$LINENO: checking for size_t" >&5 4349 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 4350 if test "${ac_cv_type_size_t+set}" = set; then 4351 echo $ECHO_N "(cached) $ECHO_C" >&6 4352 else 5310 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5311 (exit $ac_status); } && { 5312 test -z "$ac_c_werror_flag" || 5313 test ! -s conftest.err 5314 } && test -s conftest.$ac_objext; then 4353 5315 cat >conftest.$ac_ext <<_ACEOF 4354 5316 /* confdefs.h. */ … … 4361 5323 main () 4362 5324 { 4363 if ((size_t *) 0) 4364 return 0; 4365 if (sizeof (size_t)) 4366 return 0; 5325 if (sizeof ((off_t))) 5326 return 0; 4367 5327 ; 4368 5328 return 0; … … 4370 5330 _ACEOF 4371 5331 rm -f conftest.$ac_objext 4372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4373 (eval $ac_compile) 2>conftest.er1 5332 if { (ac_try="$ac_compile" 5333 case "(($ac_try" in 5334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5335 *) ac_try_echo=$ac_try;; 5336 esac 5337 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5338 $as_echo "$ac_try_echo") >&5 5339 (eval "$ac_compile") 2>conftest.er1 4374 5340 ac_status=$? 4375 5341 grep -v '^ *+' conftest.er1 >conftest.err 4376 5342 rm -f conftest.er1 4377 5343 cat conftest.err >&5 4378 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4379 (exit $ac_status); } && 4380 { ac_try='test -z "$ac_c_werror_flag" 4381 || test ! -s conftest.err' 4382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4383 (eval $ac_try) 2>&5 5344 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5345 (exit $ac_status); } && { 5346 test -z "$ac_c_werror_flag" || 5347 test ! -s conftest.err 5348 } && test -s conftest.$ac_objext; then 5349 : 5350 else 5351 $as_echo "$as_me: failed program was:" >&5 5352 sed 's/^/| /' conftest.$ac_ext >&5 5353 5354 ac_cv_type_off_t=yes 5355 fi 5356 5357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5358 else 5359 $as_echo "$as_me: failed program was:" >&5 5360 sed 's/^/| /' conftest.$ac_ext >&5 5361 5362 5363 fi 5364 5365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5366 fi 5367 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 5368 $as_echo "$ac_cv_type_off_t" >&6; } 5369 if test "x$ac_cv_type_off_t" = x""yes; then 5370 : 5371 else 5372 5373 cat >>confdefs.h <<_ACEOF 5374 #define off_t long int 5375 _ACEOF 5376 5377 fi 5378 5379 { $as_echo "$as_me:$LINENO: checking for size_t" >&5 5380 $as_echo_n "checking for size_t... " >&6; } 5381 if test "${ac_cv_type_size_t+set}" = set; then 5382 $as_echo_n "(cached) " >&6 5383 else 5384 ac_cv_type_size_t=no 5385 cat >conftest.$ac_ext <<_ACEOF 5386 /* confdefs.h. */ 5387 _ACEOF 5388 cat confdefs.h >>conftest.$ac_ext 5389 cat >>conftest.$ac_ext <<_ACEOF 5390 /* end confdefs.h. */ 5391 $ac_includes_default 5392 int 5393 main () 5394 { 5395 if (sizeof (size_t)) 5396 return 0; 5397 ; 5398 return 0; 5399 } 5400 _ACEOF 5401 rm -f conftest.$ac_objext 5402 if { (ac_try="$ac_compile" 5403 case "(($ac_try" in 5404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5405 *) ac_try_echo=$ac_try;; 5406 esac 5407 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5408 $as_echo "$ac_try_echo") >&5 5409 (eval "$ac_compile") 2>conftest.er1 4384 5410 ac_status=$? 4385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4386 (exit $ac_status); }; } && 4387 { ac_try='test -s conftest.$ac_objext' 4388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4389 (eval $ac_try) 2>&5 5411 grep -v '^ *+' conftest.er1 >conftest.err 5412 rm -f conftest.er1 5413 cat conftest.err >&5 5414 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5415 (exit $ac_status); } && { 5416 test -z "$ac_c_werror_flag" || 5417 test ! -s conftest.err 5418 } && test -s conftest.$ac_objext; then 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 $ac_includes_default 5426 int 5427 main () 5428 { 5429 if (sizeof ((size_t))) 5430 return 0; 5431 ; 5432 return 0; 5433 } 5434 _ACEOF 5435 rm -f conftest.$ac_objext 5436 if { (ac_try="$ac_compile" 5437 case "(($ac_try" in 5438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5439 *) ac_try_echo=$ac_try;; 5440 esac 5441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5442 $as_echo "$ac_try_echo") >&5 5443 (eval "$ac_compile") 2>conftest.er1 4390 5444 ac_status=$? 4391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4392 (exit $ac_status); }; }; then 4393 ac_cv_type_size_t=yes 4394 else 4395 echo "$as_me: failed program was:" >&5 5445 grep -v '^ *+' conftest.er1 >conftest.err 5446 rm -f conftest.er1 5447 cat conftest.err >&5 5448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5449 (exit $ac_status); } && { 5450 test -z "$ac_c_werror_flag" || 5451 test ! -s conftest.err 5452 } && test -s conftest.$ac_objext; then 5453 : 5454 else 5455 $as_echo "$as_me: failed program was:" >&5 4396 5456 sed 's/^/| /' conftest.$ac_ext >&5 4397 5457 4398 ac_cv_type_size_t=no 4399 fi 4400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4401 fi 4402 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4403 echo "${ECHO_T}$ac_cv_type_size_t" >&6 4404 if test $ac_cv_type_size_t = yes; then 5458 ac_cv_type_size_t=yes 5459 fi 5460 5461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5462 else 5463 $as_echo "$as_me: failed program was:" >&5 5464 sed 's/^/| /' conftest.$ac_ext >&5 5465 5466 5467 fi 5468 5469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5470 fi 5471 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 5472 $as_echo "$ac_cv_type_size_t" >&6; } 5473 if test "x$ac_cv_type_size_t" = x""yes; then 4405 5474 : 4406 5475 else 4407 5476 4408 5477 cat >>confdefs.h <<_ACEOF 4409 #define size_t unsigned 4410 _ACEOF 4411 4412 fi 4413 4414 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&54415 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 5478 #define size_t unsigned int 5479 _ACEOF 5480 5481 fi 5482 5483 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 5484 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 4416 5485 if test "${ac_cv_header_time+set}" = set; then 4417 echo $ECHO_N "(cached) $ECHO_C" >&65486 $as_echo_n "(cached) " >&6 4418 5487 else 4419 5488 cat >conftest.$ac_ext <<_ACEOF … … 4437 5506 _ACEOF 4438 5507 rm -f conftest.$ac_objext 4439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4440 (eval $ac_compile) 2>conftest.er1 5508 if { (ac_try="$ac_compile" 5509 case "(($ac_try" in 5510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5511 *) ac_try_echo=$ac_try;; 5512 esac 5513 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5514 $as_echo "$ac_try_echo") >&5 5515 (eval "$ac_compile") 2>conftest.er1 4441 5516 ac_status=$? 4442 5517 grep -v '^ *+' conftest.er1 >conftest.err 4443 5518 rm -f conftest.er1 4444 5519 cat conftest.err >&5 4445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4446 (exit $ac_status); } && 4447 { ac_try='test -z "$ac_c_werror_flag" 4448 || test ! -s conftest.err' 4449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4450 (eval $ac_try) 2>&5 4451 ac_status=$? 4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4453 (exit $ac_status); }; } && 4454 { ac_try='test -s conftest.$ac_objext' 4455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4456 (eval $ac_try) 2>&5 4457 ac_status=$? 4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4459 (exit $ac_status); }; }; then 5520 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5521 (exit $ac_status); } && { 5522 test -z "$ac_c_werror_flag" || 5523 test ! -s conftest.err 5524 } && test -s conftest.$ac_objext; then 4460 5525 ac_cv_header_time=yes 4461 5526 else 4462 echo "$as_me: failed program was:" >&55527 $as_echo "$as_me: failed program was:" >&5 4463 5528 sed 's/^/| /' conftest.$ac_ext >&5 4464 5529 4465 ac_cv_header_time=no 4466 fi 4467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4468 fi 4469 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4470 echo "${ECHO_T}$ac_cv_header_time" >&6 5530 ac_cv_header_time=no 5531 fi 5532 5533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5534 fi 5535 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 5536 $as_echo "$ac_cv_header_time" >&6; } 4471 5537 if test $ac_cv_header_time = yes; then 4472 5538 … … 4477 5543 fi 4478 5544 4479 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&54480 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 5545 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 5546 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 4481 5547 if test "${ac_cv_struct_tm+set}" = set; then 4482 echo $ECHO_N "(cached) $ECHO_C" >&65548 $as_echo_n "(cached) " >&6 4483 5549 else 4484 5550 cat >conftest.$ac_ext <<_ACEOF … … 4494 5560 main () 4495 5561 { 4496 struct tm *tp; tp->tm_sec; 5562 struct tm tm; 5563 int *p = &tm.tm_sec; 5564 return !p; 4497 5565 ; 4498 5566 return 0; … … 4500 5568 _ACEOF 4501 5569 rm -f conftest.$ac_objext 4502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4503 (eval $ac_compile) 2>conftest.er1 5570 if { (ac_try="$ac_compile" 5571 case "(($ac_try" in 5572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5573 *) ac_try_echo=$ac_try;; 5574 esac 5575 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5576 $as_echo "$ac_try_echo") >&5 5577 (eval "$ac_compile") 2>conftest.er1 4504 5578 ac_status=$? 4505 5579 grep -v '^ *+' conftest.er1 >conftest.err 4506 5580 rm -f conftest.er1 4507 5581 cat conftest.err >&5 4508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4509 (exit $ac_status); } && 4510 { ac_try='test -z "$ac_c_werror_flag" 4511 || test ! -s conftest.err' 4512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4513 (eval $ac_try) 2>&5 4514 ac_status=$? 4515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4516 (exit $ac_status); }; } && 4517 { ac_try='test -s conftest.$ac_objext' 4518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4519 (eval $ac_try) 2>&5 4520 ac_status=$? 4521 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4522 (exit $ac_status); }; }; then 5582 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5583 (exit $ac_status); } && { 5584 test -z "$ac_c_werror_flag" || 5585 test ! -s conftest.err 5586 } && test -s conftest.$ac_objext; then 4523 5587 ac_cv_struct_tm=time.h 4524 5588 else 4525 echo "$as_me: failed program was:" >&55589 $as_echo "$as_me: failed program was:" >&5 4526 5590 sed 's/^/| /' conftest.$ac_ext >&5 4527 5591 4528 ac_cv_struct_tm=sys/time.h 4529 fi 4530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4531 fi 4532 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 4533 echo "${ECHO_T}$ac_cv_struct_tm" >&6 5592 ac_cv_struct_tm=sys/time.h 5593 fi 5594 5595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5596 fi 5597 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 5598 $as_echo "$ac_cv_struct_tm" >&6; } 4534 5599 if test $ac_cv_struct_tm = sys/time.h; then 4535 5600 … … 4559 5624 _ACEOF 4560 5625 rm -f conftest.$ac_objext 4561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4562 (eval $ac_compile) 2>conftest.er1 5626 if { (ac_try="$ac_compile" 5627 case "(($ac_try" in 5628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5629 *) ac_try_echo=$ac_try;; 5630 esac 5631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5632 $as_echo "$ac_try_echo") >&5 5633 (eval "$ac_compile") 2>conftest.er1 4563 5634 ac_status=$? 4564 5635 grep -v '^ *+' conftest.er1 >conftest.err 4565 5636 rm -f conftest.er1 4566 5637 cat conftest.err >&5 4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4568 (exit $ac_status); } && 4569 { ac_try='test -z "$ac_c_werror_flag" 4570 || test ! -s conftest.err' 4571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4572 (eval $ac_try) 2>&5 4573 ac_status=$? 4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4575 (exit $ac_status); }; } && 4576 { ac_try='test -s conftest.$ac_objext' 4577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4578 (eval $ac_try) 2>&5 4579 ac_status=$? 4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4581 (exit $ac_status); }; }; then 5638 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5639 (exit $ac_status); } && { 5640 test -z "$ac_c_werror_flag" || 5641 test ! -s conftest.err 5642 } && test -s conftest.$ac_objext; then 4582 5643 : 4583 5644 else 4584 echo "$as_me: failed program was:" >&55645 $as_echo "$as_me: failed program was:" >&5 4585 5646 sed 's/^/| /' conftest.$ac_ext >&5 4586 5647 4587 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 4588 fi 4589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4590 fi 4591 4592 4593 4594 echo "$as_me:$LINENO: checking for main in -lg" >&5 4595 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6 5648 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5649 fi 5650 5651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5652 fi 5653 5654 5655 5656 { $as_echo "$as_me:$LINENO: checking for main in -lg" >&5 5657 $as_echo_n "checking for main in -lg... " >&6; } 4596 5658 if test "${ac_cv_lib_g_main+set}" = set; then 4597 echo $ECHO_N "(cached) $ECHO_C" >&65659 $as_echo_n "(cached) " >&6 4598 5660 else 4599 5661 ac_check_lib_save_LIBS=$LIBS … … 4610 5672 main () 4611 5673 { 4612 main ();5674 return main (); 4613 5675 ; 4614 5676 return 0; … … 4616 5678 _ACEOF 4617 5679 rm -f conftest.$ac_objext conftest$ac_exeext 4618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4619 (eval $ac_link) 2>conftest.er1 5680 if { (ac_try="$ac_link" 5681 case "(($ac_try" in 5682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5683 *) ac_try_echo=$ac_try;; 5684 esac 5685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5686 $as_echo "$ac_try_echo") >&5 5687 (eval "$ac_link") 2>conftest.er1 4620 5688 ac_status=$? 4621 5689 grep -v '^ *+' conftest.er1 >conftest.err 4622 5690 rm -f conftest.er1 4623 5691 cat conftest.err >&5 4624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4625 (exit $ac_status); } && 4626 { ac_try='test -z "$ac_c_werror_flag" 4627 || test ! -s conftest.err' 4628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4629 (eval $ac_try) 2>&5 4630 ac_status=$? 4631 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4632 (exit $ac_status); }; } && 4633 { ac_try='test -s conftest$ac_exeext' 4634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4635 (eval $ac_try) 2>&5 4636 ac_status=$? 4637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4638 (exit $ac_status); }; }; then 5692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5693 (exit $ac_status); } && { 5694 test -z "$ac_c_werror_flag" || 5695 test ! -s conftest.err 5696 } && test -s conftest$ac_exeext && { 5697 test "$cross_compiling" = yes || 5698 $as_test_x conftest$ac_exeext 5699 }; then 4639 5700 ac_cv_lib_g_main=yes 4640 5701 else 4641 echo "$as_me: failed program was:" >&55702 $as_echo "$as_me: failed program was:" >&5 4642 5703 sed 's/^/| /' conftest.$ac_ext >&5 4643 5704 4644 ac_cv_lib_g_main=no 4645 fi 4646 rm -f conftest.err conftest.$ac_objext \ 5705 ac_cv_lib_g_main=no 5706 fi 5707 5708 rm -rf conftest.dSYM 5709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4647 5710 conftest$ac_exeext conftest.$ac_ext 4648 5711 LIBS=$ac_check_lib_save_LIBS 4649 5712 fi 4650 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&54651 echo "${ECHO_T}$ac_cv_lib_g_main" >&6 4652 if test $ac_cv_lib_g_main =yes; then5713 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5 5714 $as_echo "$ac_cv_lib_g_main" >&6; } 5715 if test "x$ac_cv_lib_g_main" = x""yes; then 4653 5716 cat >>confdefs.h <<_ACEOF 4654 5717 #define HAVE_LIBG 1 … … 4661 5724 4662 5725 4663 echo "$as_me:$LINENO: checking for main in -lm" >&54664 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 5726 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5 5727 $as_echo_n "checking for main in -lm... " >&6; } 4665 5728 if test "${ac_cv_lib_m_main+set}" = set; then 4666 echo $ECHO_N "(cached) $ECHO_C" >&65729 $as_echo_n "(cached) " >&6 4667 5730 else 4668 5731 ac_check_lib_save_LIBS=$LIBS … … 4679 5742 main () 4680 5743 { 4681 main ();5744 return main (); 4682 5745 ; 4683 5746 return 0; … … 4685 5748 _ACEOF 4686 5749 rm -f conftest.$ac_objext conftest$ac_exeext 4687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4688 (eval $ac_link) 2>conftest.er1 5750 if { (ac_try="$ac_link" 5751 case "(($ac_try" in 5752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5753 *) ac_try_echo=$ac_try;; 5754 esac 5755 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5756 $as_echo "$ac_try_echo") >&5 5757 (eval "$ac_link") 2>conftest.er1 4689 5758 ac_status=$? 4690 5759 grep -v '^ *+' conftest.er1 >conftest.err 4691 5760 rm -f conftest.er1 4692 5761 cat conftest.err >&5 4693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4694 (exit $ac_status); } && 4695 { ac_try='test -z "$ac_c_werror_flag" 4696 || test ! -s conftest.err' 4697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4698 (eval $ac_try) 2>&5 4699 ac_status=$? 4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4701 (exit $ac_status); }; } && 4702 { ac_try='test -s conftest$ac_exeext' 4703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4704 (eval $ac_try) 2>&5 4705 ac_status=$? 4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4707 (exit $ac_status); }; }; then 5762 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5763 (exit $ac_status); } && { 5764 test -z "$ac_c_werror_flag" || 5765 test ! -s conftest.err 5766 } && test -s conftest$ac_exeext && { 5767 test "$cross_compiling" = yes || 5768 $as_test_x conftest$ac_exeext 5769 }; then 4708 5770 ac_cv_lib_m_main=yes 4709 5771 else 4710 echo "$as_me: failed program was:" >&55772 $as_echo "$as_me: failed program was:" >&5 4711 5773 sed 's/^/| /' conftest.$ac_ext >&5 4712 5774 4713 ac_cv_lib_m_main=no 4714 fi 4715 rm -f conftest.err conftest.$ac_objext \ 5775 ac_cv_lib_m_main=no 5776 fi 5777 5778 rm -rf conftest.dSYM 5779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4716 5780 conftest$ac_exeext conftest.$ac_ext 4717 5781 LIBS=$ac_check_lib_save_LIBS 4718 5782 fi 4719 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&54720 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 4721 if test $ac_cv_lib_m_main =yes; then5783 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 5784 $as_echo "$ac_cv_lib_m_main" >&6; } 5785 if test "x$ac_cv_lib_m_main" = x""yes; then 4722 5786 cat >>confdefs.h <<_ACEOF 4723 5787 #define HAVE_LIBM 1 … … 4730 5794 4731 5795 4732 echo "$as_me:$LINENO: checking for main in -lcrypt" >&54733 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 5796 { $as_echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 5797 $as_echo_n "checking for main in -lcrypt... " >&6; } 4734 5798 if test "${ac_cv_lib_crypt_main+set}" = set; then 4735 echo $ECHO_N "(cached) $ECHO_C" >&65799 $as_echo_n "(cached) " >&6 4736 5800 else 4737 5801 ac_check_lib_save_LIBS=$LIBS … … 4748 5812 main () 4749 5813 { 4750 main ();5814 return main (); 4751 5815 ; 4752 5816 return 0; … … 4754 5818 _ACEOF 4755 5819 rm -f conftest.$ac_objext conftest$ac_exeext 4756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4757 (eval $ac_link) 2>conftest.er1 5820 if { (ac_try="$ac_link" 5821 case "(($ac_try" in 5822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5823 *) ac_try_echo=$ac_try;; 5824 esac 5825 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5826 $as_echo "$ac_try_echo") >&5 5827 (eval "$ac_link") 2>conftest.er1 4758 5828 ac_status=$? 4759 5829 grep -v '^ *+' conftest.er1 >conftest.err 4760 5830 rm -f conftest.er1 4761 5831 cat conftest.err >&5 4762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4763 (exit $ac_status); } && 4764 { ac_try='test -z "$ac_c_werror_flag" 4765 || test ! -s conftest.err' 4766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4767 (eval $ac_try) 2>&5 4768 ac_status=$? 4769 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4770 (exit $ac_status); }; } && 4771 { ac_try='test -s conftest$ac_exeext' 4772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4773 (eval $ac_try) 2>&5 4774 ac_status=$? 4775 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4776 (exit $ac_status); }; }; then 5832 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5833 (exit $ac_status); } && { 5834 test -z "$ac_c_werror_flag" || 5835 test ! -s conftest.err 5836 } && test -s conftest$ac_exeext && { 5837 test "$cross_compiling" = yes || 5838 $as_test_x conftest$ac_exeext 5839 }; then 4777 5840 ac_cv_lib_crypt_main=yes 4778 5841 else 4779 echo "$as_me: failed program was:" >&55842 $as_echo "$as_me: failed program was:" >&5 4780 5843 sed 's/^/| /' conftest.$ac_ext >&5 4781 5844 4782 ac_cv_lib_crypt_main=no 4783 fi 4784 rm -f conftest.err conftest.$ac_objext \ 5845 ac_cv_lib_crypt_main=no 5846 fi 5847 5848 rm -rf conftest.dSYM 5849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4785 5850 conftest$ac_exeext conftest.$ac_ext 4786 5851 LIBS=$ac_check_lib_save_LIBS 4787 5852 fi 4788 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&54789 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 4790 if test $ac_cv_lib_crypt_main =yes; then5853 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5 5854 $as_echo "$ac_cv_lib_crypt_main" >&6; } 5855 if test "x$ac_cv_lib_crypt_main" = x""yes; then 4791 5856 cat >>confdefs.h <<_ACEOF 4792 5857 #define HAVE_LIBCRYPT 1 … … 4809 5874 ac_header_dirent=no 4810 5875 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 4811 as_ac_Header=` echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`4812 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&54813 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 4814 if eval "test \"\${$as_ac_Header+set}\" = set"; then4815 echo $ECHO_N "(cached) $ECHO_C" >&65876 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 5877 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 5878 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 5879 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5880 $as_echo_n "(cached) " >&6 4816 5881 else 4817 5882 cat >conftest.$ac_ext <<_ACEOF … … 4834 5899 _ACEOF 4835 5900 rm -f conftest.$ac_objext 4836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4837 (eval $ac_compile) 2>conftest.er1 5901 if { (ac_try="$ac_compile" 5902 case "(($ac_try" in 5903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5904 *) ac_try_echo=$ac_try;; 5905 esac 5906 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5907 $as_echo "$ac_try_echo") >&5 5908 (eval "$ac_compile") 2>conftest.er1 4838 5909 ac_status=$? 4839 5910 grep -v '^ *+' conftest.er1 >conftest.err 4840 5911 rm -f conftest.er1 4841 5912 cat conftest.err >&5 4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4843 (exit $ac_status); } && 4844 { ac_try='test -z "$ac_c_werror_flag" 4845 || test ! -s conftest.err' 4846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4847 (eval $ac_try) 2>&5 4848 ac_status=$? 4849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4850 (exit $ac_status); }; } && 4851 { ac_try='test -s conftest.$ac_objext' 4852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4853 (eval $ac_try) 2>&5 4854 ac_status=$? 4855 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4856 (exit $ac_status); }; }; then 5913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5914 (exit $ac_status); } && { 5915 test -z "$ac_c_werror_flag" || 5916 test ! -s conftest.err 5917 } && test -s conftest.$ac_objext; then 4857 5918 eval "$as_ac_Header=yes" 4858 5919 else 4859 echo "$as_me: failed program was:" >&55920 $as_echo "$as_me: failed program was:" >&5 4860 5921 sed 's/^/| /' conftest.$ac_ext >&5 4861 5922 4862 eval "$as_ac_Header=no" 4863 fi 4864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4865 fi 4866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4868 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5923 eval "$as_ac_Header=no" 5924 fi 5925 5926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5927 fi 5928 ac_res=`eval 'as_val=${'$as_ac_Header'} 5929 $as_echo "$as_val"'` 5930 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5931 $as_echo "$ac_res" >&6; } 5932 as_val=`eval 'as_val=${'$as_ac_Header'} 5933 $as_echo "$as_val"'` 5934 if test "x$as_val" = x""yes; then 4869 5935 cat >>confdefs.h <<_ACEOF 4870 #define ` echo "HAVE_$ac_hdr" | $as_tr_cpp` 15936 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 4871 5937 _ACEOF 4872 5938 … … 4877 5943 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 4878 5944 if test $ac_header_dirent = dirent.h; then 4879 echo "$as_me:$LINENO: checking for library containing opendir" >&54880 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5945 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 5946 $as_echo_n "checking for library containing opendir... " >&6; } 4881 5947 if test "${ac_cv_search_opendir+set}" = set; then 4882 echo $ECHO_N "(cached) $ECHO_C" >&65948 $as_echo_n "(cached) " >&6 4883 5949 else 4884 5950 ac_func_search_save_LIBS=$LIBS 4885 ac_cv_search_opendir=no4886 5951 cat >conftest.$ac_ext <<_ACEOF 4887 5952 /* confdefs.h. */ … … 4891 5956 /* end confdefs.h. */ 4892 5957 4893 /* Override any gcc2 internal prototype to avoid an error. */ 5958 /* Override any GCC internal prototype to avoid an error. 5959 Use char because int might match the return type of a GCC 5960 builtin and then its argument prototype would still apply. */ 4894 5961 #ifdef __cplusplus 4895 5962 extern "C" 4896 5963 #endif 4897 /* We use char because int might match the return type of a gcc24898 builtin and then its argument prototype would still apply. */4899 5964 char opendir (); 4900 5965 int 4901 5966 main () 4902 5967 { 4903 opendir ();5968 return opendir (); 4904 5969 ; 4905 5970 return 0; 4906 5971 } 4907 5972 _ACEOF 4908 rm -f conftest.$ac_objext conftest$ac_exeext 4909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4910 (eval $ac_link) 2>conftest.er1 5973 for ac_lib in '' dir; do 5974 if test -z "$ac_lib"; then 5975 ac_res="none required" 5976 else 5977 ac_res=-l$ac_lib 5978 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5979 fi 5980 rm -f conftest.$ac_objext conftest$ac_exeext 5981 if { (ac_try="$ac_link" 5982 case "(($ac_try" in 5983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5984 *) ac_try_echo=$ac_try;; 5985 esac 5986 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5987 $as_echo "$ac_try_echo") >&5 5988 (eval "$ac_link") 2>conftest.er1 4911 5989 ac_status=$? 4912 5990 grep -v '^ *+' conftest.er1 >conftest.err 4913 5991 rm -f conftest.er1 4914 5992 cat conftest.err >&5 4915 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4916 (exit $ac_status); } && 4917 { ac_try='test -z "$ac_c_werror_flag" 4918 || test ! -s conftest.err' 4919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4920 (eval $ac_try) 2>&5 4921 ac_status=$? 4922 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4923 (exit $ac_status); }; } && 4924 { ac_try='test -s conftest$ac_exeext' 4925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4926 (eval $ac_try) 2>&5 4927 ac_status=$? 4928 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4929 (exit $ac_status); }; }; then 4930 ac_cv_search_opendir="none required" 4931 else 4932 echo "$as_me: failed program was:" >&5 5993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5994 (exit $ac_status); } && { 5995 test -z "$ac_c_werror_flag" || 5996 test ! -s conftest.err 5997 } && test -s conftest$ac_exeext && { 5998 test "$cross_compiling" = yes || 5999 $as_test_x conftest$ac_exeext 6000 }; then 6001 ac_cv_search_opendir=$ac_res 6002 else 6003 $as_echo "$as_me: failed program was:" >&5 4933 6004 sed 's/^/| /' conftest.$ac_ext >&5 4934 6005 4935 fi 4936 rm -f conftest.err conftest.$ac_objext \ 4937 conftest$ac_exeext conftest.$ac_ext 4938 if test "$ac_cv_search_opendir" = no; then 4939 for ac_lib in dir; do 4940 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4941 cat >conftest.$ac_ext <<_ACEOF 6006 6007 fi 6008 6009 rm -rf conftest.dSYM 6010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6011 conftest$ac_exeext 6012 if test "${ac_cv_search_opendir+set}" = set; then 6013 break 6014 fi 6015 done 6016 if test "${ac_cv_search_opendir+set}" = set; then 6017 : 6018 else 6019 ac_cv_search_opendir=no 6020 fi 6021 rm conftest.$ac_ext 6022 LIBS=$ac_func_search_save_LIBS 6023 fi 6024 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 6025 $as_echo "$ac_cv_search_opendir" >&6; } 6026 ac_res=$ac_cv_search_opendir 6027 if test "$ac_res" != no; then 6028 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6029 6030 fi 6031 6032 else 6033 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 6034 $as_echo_n "checking for library containing opendir... " >&6; } 6035 if test "${ac_cv_search_opendir+set}" = set; then 6036 $as_echo_n "(cached) " >&6 6037 else 6038 ac_func_search_save_LIBS=$LIBS 6039 cat >conftest.$ac_ext <<_ACEOF 4942 6040 /* confdefs.h. */ 4943 6041 _ACEOF … … 4946 6044 /* end confdefs.h. */ 4947 6045 4948 /* Override any gcc2 internal prototype to avoid an error. */ 6046 /* Override any GCC internal prototype to avoid an error. 6047 Use char because int might match the return type of a GCC 6048 builtin and then its argument prototype would still apply. */ 4949 6049 #ifdef __cplusplus 4950 6050 extern "C" 4951 6051 #endif 4952 /* We use char because int might match the return type of a gcc24953 builtin and then its argument prototype would still apply. */4954 6052 char opendir (); 4955 6053 int 4956 6054 main () 4957 6055 { 4958 opendir ();6056 return opendir (); 4959 6057 ; 4960 6058 return 0; 4961 6059 } 4962 6060 _ACEOF 4963 rm -f conftest.$ac_objext conftest$ac_exeext 4964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4965 (eval $ac_link) 2>conftest.er1 6061 for ac_lib in '' x; do 6062 if test -z "$ac_lib"; then 6063 ac_res="none required" 6064 else 6065 ac_res=-l$ac_lib 6066 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6067 fi 6068 rm -f conftest.$ac_objext conftest$ac_exeext 6069 if { (ac_try="$ac_link" 6070 case "(($ac_try" in 6071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6072 *) ac_try_echo=$ac_try;; 6073 esac 6074 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6075 $as_echo "$ac_try_echo") >&5 6076 (eval "$ac_link") 2>conftest.er1 4966 6077 ac_status=$? 4967 6078 grep -v '^ *+' conftest.er1 >conftest.err 4968 6079 rm -f conftest.er1 4969 6080 cat conftest.err >&5 4970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4971 (exit $ac_status); } && 4972 { ac_try='test -z "$ac_c_werror_flag" 4973 || test ! -s conftest.err' 4974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4975 (eval $ac_try) 2>&5 4976 ac_status=$? 4977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4978 (exit $ac_status); }; } && 4979 { ac_try='test -s conftest$ac_exeext' 4980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4981 (eval $ac_try) 2>&5 4982 ac_status=$? 4983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4984 (exit $ac_status); }; }; then 4985 ac_cv_search_opendir="-l$ac_lib" 4986 break 4987 else 4988 echo "$as_me: failed program was:" >&5 6081 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6082 (exit $ac_status); } && { 6083 test -z "$ac_c_werror_flag" || 6084 test ! -s conftest.err 6085 } && test -s conftest$ac_exeext && { 6086 test "$cross_compiling" = yes || 6087 $as_test_x conftest$ac_exeext 6088 }; then 6089 ac_cv_search_opendir=$ac_res 6090 else 6091 $as_echo "$as_me: failed program was:" >&5 4989 6092 sed 's/^/| /' conftest.$ac_ext >&5 4990 6093 4991 fi 4992 rm -f conftest.err conftest.$ac_objext \ 4993 conftest$ac_exeext conftest.$ac_ext 4994 done 4995 fi 6094 6095 fi 6096 6097 rm -rf conftest.dSYM 6098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6099 conftest$ac_exeext 6100 if test "${ac_cv_search_opendir+set}" = set; then 6101 break 6102 fi 6103 done 6104 if test "${ac_cv_search_opendir+set}" = set; then 6105 : 6106 else 6107 ac_cv_search_opendir=no 6108 fi 6109 rm conftest.$ac_ext 4996 6110 LIBS=$ac_func_search_save_LIBS 4997 6111 fi 4998 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 4999 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5000 if test "$ac_cv_search_opendir" != no; then 5001 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5002 5003 fi 5004 5005 else 5006 echo "$as_me:$LINENO: checking for library containing opendir" >&5 5007 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5008 if test "${ac_cv_search_opendir+set}" = set; then 5009 echo $ECHO_N "(cached) $ECHO_C" >&6 5010 else 5011 ac_func_search_save_LIBS=$LIBS 5012 ac_cv_search_opendir=no 5013 cat >conftest.$ac_ext <<_ACEOF 5014 /* confdefs.h. */ 5015 _ACEOF 5016 cat confdefs.h >>conftest.$ac_ext 5017 cat >>conftest.$ac_ext <<_ACEOF 5018 /* end confdefs.h. */ 5019 5020 /* Override any gcc2 internal prototype to avoid an error. */ 5021 #ifdef __cplusplus 5022 extern "C" 5023 #endif 5024 /* We use char because int might match the return type of a gcc2 5025 builtin and then its argument prototype would still apply. */ 5026 char opendir (); 5027 int 5028 main () 5029 { 5030 opendir (); 5031 ; 5032 return 0; 5033 } 5034 _ACEOF 5035 rm -f conftest.$ac_objext conftest$ac_exeext 5036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5037 (eval $ac_link) 2>conftest.er1 5038 ac_status=$? 5039 grep -v '^ *+' conftest.er1 >conftest.err 5040 rm -f conftest.er1 5041 cat conftest.err >&5 5042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5043 (exit $ac_status); } && 5044 { ac_try='test -z "$ac_c_werror_flag" 5045 || test ! -s conftest.err' 5046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5047 (eval $ac_try) 2>&5 5048 ac_status=$? 5049 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5050 (exit $ac_status); }; } && 5051 { ac_try='test -s conftest$ac_exeext' 5052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5053 (eval $ac_try) 2>&5 5054 ac_status=$? 5055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5056 (exit $ac_status); }; }; then 5057 ac_cv_search_opendir="none required" 5058 else 5059 echo "$as_me: failed program was:" >&5 5060 sed 's/^/| /' conftest.$ac_ext >&5 5061 5062 fi 5063 rm -f conftest.err conftest.$ac_objext \ 5064 conftest$ac_exeext conftest.$ac_ext 5065 if test "$ac_cv_search_opendir" = no; then 5066 for ac_lib in x; do 5067 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5068 cat >conftest.$ac_ext <<_ACEOF 5069 /* confdefs.h. */ 5070 _ACEOF 5071 cat confdefs.h >>conftest.$ac_ext 5072 cat >>conftest.$ac_ext <<_ACEOF 5073 /* end confdefs.h. */ 5074 5075 /* Override any gcc2 internal prototype to avoid an error. */ 5076 #ifdef __cplusplus 5077 extern "C" 5078 #endif 5079 /* We use char because int might match the return type of a gcc2 5080 builtin and then its argument prototype would still apply. */ 5081 char opendir (); 5082 int 5083 main () 5084 { 5085 opendir (); 5086 ; 5087 return 0; 5088 } 5089 _ACEOF 5090 rm -f conftest.$ac_objext conftest$ac_exeext 5091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5092 (eval $ac_link) 2>conftest.er1 5093 ac_status=$? 5094 grep -v '^ *+' conftest.er1 >conftest.err 5095 rm -f conftest.er1 5096 cat conftest.err >&5 5097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5098 (exit $ac_status); } && 5099 { ac_try='test -z "$ac_c_werror_flag" 5100 || test ! -s conftest.err' 5101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5102 (eval $ac_try) 2>&5 5103 ac_status=$? 5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5105 (exit $ac_status); }; } && 5106 { ac_try='test -s conftest$ac_exeext' 5107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5108 (eval $ac_try) 2>&5 5109 ac_status=$? 5110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5111 (exit $ac_status); }; }; then 5112 ac_cv_search_opendir="-l$ac_lib" 5113 break 5114 else 5115 echo "$as_me: failed program was:" >&5 5116 sed 's/^/| /' conftest.$ac_ext >&5 5117 5118 fi 5119 rm -f conftest.err conftest.$ac_objext \ 5120 conftest$ac_exeext conftest.$ac_ext 5121 done 5122 fi 5123 LIBS=$ac_func_search_save_LIBS 5124 fi 5125 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5126 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5127 if test "$ac_cv_search_opendir" != no; then 5128 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5129 5130 fi 5131 5132 fi 5133 5134 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5135 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6112 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 6113 $as_echo "$ac_cv_search_opendir" >&6; } 6114 ac_res=$ac_cv_search_opendir 6115 if test "$ac_res" != no; then 6116 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6117 6118 fi 6119 6120 fi 6121 6122 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6123 $as_echo_n "checking for ANSI C header files... " >&6; } 5136 6124 if test "${ac_cv_header_stdc+set}" = set; then 5137 echo $ECHO_N "(cached) $ECHO_C" >&66125 $as_echo_n "(cached) " >&6 5138 6126 else 5139 6127 cat >conftest.$ac_ext <<_ACEOF … … 5157 6145 _ACEOF 5158 6146 rm -f conftest.$ac_objext 5159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5160 (eval $ac_compile) 2>conftest.er1 6147 if { (ac_try="$ac_compile" 6148 case "(($ac_try" in 6149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6150 *) ac_try_echo=$ac_try;; 6151 esac 6152 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6153 $as_echo "$ac_try_echo") >&5 6154 (eval "$ac_compile") 2>conftest.er1 5161 6155 ac_status=$? 5162 6156 grep -v '^ *+' conftest.er1 >conftest.err 5163 6157 rm -f conftest.er1 5164 6158 cat conftest.err >&5 5165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5166 (exit $ac_status); } && 5167 { ac_try='test -z "$ac_c_werror_flag" 5168 || test ! -s conftest.err' 5169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5170 (eval $ac_try) 2>&5 5171 ac_status=$? 5172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5173 (exit $ac_status); }; } && 5174 { ac_try='test -s conftest.$ac_objext' 5175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5176 (eval $ac_try) 2>&5 5177 ac_status=$? 5178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5179 (exit $ac_status); }; }; then 6159 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6160 (exit $ac_status); } && { 6161 test -z "$ac_c_werror_flag" || 6162 test ! -s conftest.err 6163 } && test -s conftest.$ac_objext; then 5180 6164 ac_cv_header_stdc=yes 5181 6165 else 5182 echo "$as_me: failed program was:" >&56166 $as_echo "$as_me: failed program was:" >&5 5183 6167 sed 's/^/| /' conftest.$ac_ext >&5 5184 6168 5185 ac_cv_header_stdc=no 5186 fi 5187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6169 ac_cv_header_stdc=no 6170 fi 6171 6172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5188 6173 5189 6174 if test $ac_cv_header_stdc = yes; then … … 5241 6226 /* end confdefs.h. */ 5242 6227 #include <ctype.h> 6228 #include <stdlib.h> 5243 6229 #if ((' ' & 0x0FF) == 0x020) 5244 6230 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 5260 6246 if (XOR (islower (i), ISLOWER (i)) 5261 6247 || toupper (i) != TOUPPER (i)) 5262 exit(2);5263 exit (0);6248 return 2; 6249 return 0; 5264 6250 } 5265 6251 _ACEOF 5266 6252 rm -f conftest$ac_exeext 5267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5268 (eval $ac_link) 2>&5 6253 if { (ac_try="$ac_link" 6254 case "(($ac_try" in 6255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6256 *) ac_try_echo=$ac_try;; 6257 esac 6258 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6259 $as_echo "$ac_try_echo") >&5 6260 (eval "$ac_link") 2>&5 5269 6261 ac_status=$? 5270 echo "$as_me:$LINENO: \$? = $ac_status" >&56262 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5271 6263 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5273 (eval $ac_try) 2>&5 6264 { (case "(($ac_try" in 6265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6266 *) ac_try_echo=$ac_try;; 6267 esac 6268 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6269 $as_echo "$ac_try_echo") >&5 6270 (eval "$ac_try") 2>&5 5274 6271 ac_status=$? 5275 echo "$as_me:$LINENO: \$? = $ac_status" >&56272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5276 6273 (exit $ac_status); }; }; then 5277 6274 : 5278 6275 else 5279 echo "$as_me: program exited with status $ac_status" >&55280 echo "$as_me: failed program was:" >&56276 $as_echo "$as_me: program exited with status $ac_status" >&5 6277 $as_echo "$as_me: failed program was:" >&5 5281 6278 sed 's/^/| /' conftest.$ac_ext >&5 5282 6279 … … 5284 6281 ac_cv_header_stdc=no 5285 6282 fi 5286 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5287 fi 5288 fi 5289 fi 5290 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5291 echo "${ECHO_T}$ac_cv_header_stdc" >&6 6283 rm -rf conftest.dSYM 6284 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6285 fi 6286 6287 6288 fi 6289 fi 6290 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6291 $as_echo "$ac_cv_header_stdc" >&6; } 5292 6292 if test $ac_cv_header_stdc = yes; then 5293 6293 … … 5309 6309 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 5310 6310 do 5311 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5312 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5313 echo "$as_me:$LINENO: checking for $ac_header" >&5 5314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5315 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5316 echo $ECHO_N "(cached) $ECHO_C" >&6 5317 fi 5318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6311 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6312 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6313 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6314 $as_echo_n "checking for $ac_header... " >&6; } 6315 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6316 $as_echo_n "(cached) " >&6 6317 fi 6318 ac_res=`eval 'as_val=${'$as_ac_Header'} 6319 $as_echo "$as_val"'` 6320 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6321 $as_echo "$ac_res" >&6; } 5320 6322 else 5321 6323 # Is the header compilable? 5322 echo "$as_me:$LINENO: checking $ac_header usability" >&55323 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6324 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6325 $as_echo_n "checking $ac_header usability... " >&6; } 5324 6326 cat >conftest.$ac_ext <<_ACEOF 5325 6327 /* confdefs.h. */ … … 5332 6334 _ACEOF 5333 6335 rm -f conftest.$ac_objext 5334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5335 (eval $ac_compile) 2>conftest.er1 6336 if { (ac_try="$ac_compile" 6337 case "(($ac_try" in 6338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6339 *) ac_try_echo=$ac_try;; 6340 esac 6341 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6342 $as_echo "$ac_try_echo") >&5 6343 (eval "$ac_compile") 2>conftest.er1 5336 6344 ac_status=$? 5337 6345 grep -v '^ *+' conftest.er1 >conftest.err 5338 6346 rm -f conftest.er1 5339 6347 cat conftest.err >&5 5340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5341 (exit $ac_status); } && 5342 { ac_try='test -z "$ac_c_werror_flag" 5343 || test ! -s conftest.err' 5344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5345 (eval $ac_try) 2>&5 5346 ac_status=$? 5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5348 (exit $ac_status); }; } && 5349 { ac_try='test -s conftest.$ac_objext' 5350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5351 (eval $ac_try) 2>&5 5352 ac_status=$? 5353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5354 (exit $ac_status); }; }; then 6348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6349 (exit $ac_status); } && { 6350 test -z "$ac_c_werror_flag" || 6351 test ! -s conftest.err 6352 } && test -s conftest.$ac_objext; then 5355 6353 ac_header_compiler=yes 5356 6354 else 5357 echo "$as_me: failed program was:" >&56355 $as_echo "$as_me: failed program was:" >&5 5358 6356 sed 's/^/| /' conftest.$ac_ext >&5 5359 6357 5360 ac_header_compiler=no 5361 fi 5362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5363 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5364 echo "${ECHO_T}$ac_header_compiler" >&6 6358 ac_header_compiler=no 6359 fi 6360 6361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6362 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6363 $as_echo "$ac_header_compiler" >&6; } 5365 6364 5366 6365 # Is the header present? 5367 echo "$as_me:$LINENO: checking $ac_header presence" >&55368 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6366 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6367 $as_echo_n "checking $ac_header presence... " >&6; } 5369 6368 cat >conftest.$ac_ext <<_ACEOF 5370 6369 /* confdefs.h. */ … … 5375 6374 #include <$ac_header> 5376 6375 _ACEOF 5377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5378 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6376 if { (ac_try="$ac_cpp conftest.$ac_ext" 6377 case "(($ac_try" in 6378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6379 *) ac_try_echo=$ac_try;; 6380 esac 6381 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6382 $as_echo "$ac_try_echo") >&5 6383 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5379 6384 ac_status=$? 5380 6385 grep -v '^ *+' conftest.er1 >conftest.err 5381 6386 rm -f conftest.er1 5382 6387 cat conftest.err >&5 5383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5384 (exit $ac_status); } >/dev/null; then 5385 if test -s conftest.err; then 5386 ac_cpp_err=$ac_c_preproc_warn_flag 5387 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5388 else 5389 ac_cpp_err= 5390 fi 5391 else 5392 ac_cpp_err=yes 5393 fi 5394 if test -z "$ac_cpp_err"; then 6388 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6389 (exit $ac_status); } >/dev/null && { 6390 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6391 test ! -s conftest.err 6392 }; then 5395 6393 ac_header_preproc=yes 5396 6394 else 5397 echo "$as_me: failed program was:" >&56395 $as_echo "$as_me: failed program was:" >&5 5398 6396 sed 's/^/| /' conftest.$ac_ext >&5 5399 6397 5400 6398 ac_header_preproc=no 5401 6399 fi 6400 5402 6401 rm -f conftest.err conftest.$ac_ext 5403 echo "$as_me:$LINENO: result: $ac_header_preproc" >&55404 echo "${ECHO_T}$ac_header_preproc" >&6 6402 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6403 $as_echo "$ac_header_preproc" >&6; } 5405 6404 5406 6405 # So? What about this header? 5407 6406 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5408 6407 yes:no: ) 5409 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&55410 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}5411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&55412 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}6408 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6409 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6410 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6411 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5413 6412 ac_header_preproc=yes 5414 6413 ;; 5415 6414 no:yes:* ) 5416 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5417 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5418 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5419 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5420 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5421 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5422 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5423 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5425 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5426 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5427 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5428 ( 5429 cat <<\_ASBOX 5430 ## ------------------------------------------ ## 5431 ## Report this to the AC_PACKAGE_NAME lists. ## 5432 ## ------------------------------------------ ## 5433 _ASBOX 5434 ) | 5435 sed "s/^/$as_me: WARNING: /" >&2 6415 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6416 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6417 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6418 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6419 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6420 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6421 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6422 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6423 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6424 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6425 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6426 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6427 5436 6428 ;; 5437 6429 esac 5438 echo "$as_me:$LINENO: checking for $ac_header" >&55439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5440 if eval "test \"\${$as_ac_Header+set}\" = set"; then5441 echo $ECHO_N "(cached) $ECHO_C" >&66430 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6431 $as_echo_n "checking for $ac_header... " >&6; } 6432 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6433 $as_echo_n "(cached) " >&6 5442 6434 else 5443 6435 eval "$as_ac_Header=\$ac_header_preproc" 5444 6436 fi 5445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5446 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5447 5448 fi 5449 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6437 ac_res=`eval 'as_val=${'$as_ac_Header'} 6438 $as_echo "$as_val"'` 6439 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6440 $as_echo "$ac_res" >&6; } 6441 6442 fi 6443 as_val=`eval 'as_val=${'$as_ac_Header'} 6444 $as_echo "$as_val"'` 6445 if test "x$as_val" = x""yes; then 5450 6446 cat >>confdefs.h <<_ACEOF 5451 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 16447 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5452 6448 _ACEOF 5453 6449 … … 5513 6509 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5514 6510 # for constant arguments. Useless! 5515 echo "$as_me:$LINENO: checking for working alloca.h" >&55516 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 6511 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 6512 $as_echo_n "checking for working alloca.h... " >&6; } 5517 6513 if test "${ac_cv_working_alloca_h+set}" = set; then 5518 echo $ECHO_N "(cached) $ECHO_C" >&66514 $as_echo_n "(cached) " >&6 5519 6515 else 5520 6516 cat >conftest.$ac_ext <<_ACEOF … … 5529 6525 { 5530 6526 char *p = (char *) alloca (2 * sizeof (int)); 6527 if (p) return 0; 5531 6528 ; 5532 6529 return 0; … … 5534 6531 _ACEOF 5535 6532 rm -f conftest.$ac_objext conftest$ac_exeext 5536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5537 (eval $ac_link) 2>conftest.er1 6533 if { (ac_try="$ac_link" 6534 case "(($ac_try" in 6535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6536 *) ac_try_echo=$ac_try;; 6537 esac 6538 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6539 $as_echo "$ac_try_echo") >&5 6540 (eval "$ac_link") 2>conftest.er1 5538 6541 ac_status=$? 5539 6542 grep -v '^ *+' conftest.er1 >conftest.err 5540 6543 rm -f conftest.er1 5541 6544 cat conftest.err >&5 5542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5543 (exit $ac_status); } && 5544 { ac_try='test -z "$ac_c_werror_flag" 5545 || test ! -s conftest.err' 5546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5547 (eval $ac_try) 2>&5 5548 ac_status=$? 5549 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5550 (exit $ac_status); }; } && 5551 { ac_try='test -s conftest$ac_exeext' 5552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5553 (eval $ac_try) 2>&5 5554 ac_status=$? 5555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5556 (exit $ac_status); }; }; then 6545 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6546 (exit $ac_status); } && { 6547 test -z "$ac_c_werror_flag" || 6548 test ! -s conftest.err 6549 } && test -s conftest$ac_exeext && { 6550 test "$cross_compiling" = yes || 6551 $as_test_x conftest$ac_exeext 6552 }; then 5557 6553 ac_cv_working_alloca_h=yes 5558 6554 else 5559 echo "$as_me: failed program was:" >&56555 $as_echo "$as_me: failed program was:" >&5 5560 6556 sed 's/^/| /' conftest.$ac_ext >&5 5561 6557 5562 ac_cv_working_alloca_h=no 5563 fi 5564 rm -f conftest.err conftest.$ac_objext \ 6558 ac_cv_working_alloca_h=no 6559 fi 6560 6561 rm -rf conftest.dSYM 6562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5565 6563 conftest$ac_exeext conftest.$ac_ext 5566 6564 fi 5567 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&55568 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 6565 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 6566 $as_echo "$ac_cv_working_alloca_h" >&6; } 5569 6567 if test $ac_cv_working_alloca_h = yes; then 5570 6568 … … 5575 6573 fi 5576 6574 5577 echo "$as_me:$LINENO: checking for alloca" >&55578 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 6575 { $as_echo "$as_me:$LINENO: checking for alloca" >&5 6576 $as_echo_n "checking for alloca... " >&6; } 5579 6577 if test "${ac_cv_func_alloca_works+set}" = set; then 5580 echo $ECHO_N "(cached) $ECHO_C" >&66578 $as_echo_n "(cached) " >&6 5581 6579 else 5582 6580 cat >conftest.$ac_ext <<_ACEOF … … 5593 6591 # define alloca _alloca 5594 6592 # else 5595 # if HAVE_ALLOCA_H6593 # ifdef HAVE_ALLOCA_H 5596 6594 # include <alloca.h> 5597 6595 # else … … 5611 6609 { 5612 6610 char *p = (char *) alloca (1); 6611 if (p) return 0; 5613 6612 ; 5614 6613 return 0; … … 5616 6615 _ACEOF 5617 6616 rm -f conftest.$ac_objext conftest$ac_exeext 5618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5619 (eval $ac_link) 2>conftest.er1 6617 if { (ac_try="$ac_link" 6618 case "(($ac_try" in 6619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6620 *) ac_try_echo=$ac_try;; 6621 esac 6622 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6623 $as_echo "$ac_try_echo") >&5 6624 (eval "$ac_link") 2>conftest.er1 5620 6625 ac_status=$? 5621 6626 grep -v '^ *+' conftest.er1 >conftest.err 5622 6627 rm -f conftest.er1 5623 6628 cat conftest.err >&5 5624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5625 (exit $ac_status); } && 5626 { ac_try='test -z "$ac_c_werror_flag" 5627 || test ! -s conftest.err' 5628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5629 (eval $ac_try) 2>&5 5630 ac_status=$? 5631 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5632 (exit $ac_status); }; } && 5633 { ac_try='test -s conftest$ac_exeext' 5634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5635 (eval $ac_try) 2>&5 5636 ac_status=$? 5637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5638 (exit $ac_status); }; }; then 6629 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6630 (exit $ac_status); } && { 6631 test -z "$ac_c_werror_flag" || 6632 test ! -s conftest.err 6633 } && test -s conftest$ac_exeext && { 6634 test "$cross_compiling" = yes || 6635 $as_test_x conftest$ac_exeext 6636 }; then 5639 6637 ac_cv_func_alloca_works=yes 5640 6638 else 5641 echo "$as_me: failed program was:" >&56639 $as_echo "$as_me: failed program was:" >&5 5642 6640 sed 's/^/| /' conftest.$ac_ext >&5 5643 6641 5644 ac_cv_func_alloca_works=no 5645 fi 5646 rm -f conftest.err conftest.$ac_objext \ 6642 ac_cv_func_alloca_works=no 6643 fi 6644 6645 rm -rf conftest.dSYM 6646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5647 6647 conftest$ac_exeext conftest.$ac_ext 5648 6648 fi 5649 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&55650 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 6649 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 6650 $as_echo "$ac_cv_func_alloca_works" >&6; } 5651 6651 5652 6652 if test $ac_cv_func_alloca_works = yes; then … … 5662 6662 # use ar to extract alloca.o from them instead of compiling alloca.c. 5663 6663 5664 ALLOCA= alloca.$ac_objext6664 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 5665 6665 5666 6666 cat >>confdefs.h <<\_ACEOF … … 5669 6669 5670 6670 5671 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&55672 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 6671 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 6672 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 5673 6673 if test "${ac_cv_os_cray+set}" = set; then 5674 echo $ECHO_N "(cached) $ECHO_C" >&66674 $as_echo_n "(cached) " >&6 5675 6675 else 5676 6676 cat >conftest.$ac_ext <<_ACEOF … … 5680 6680 cat >>conftest.$ac_ext <<_ACEOF 5681 6681 /* end confdefs.h. */ 5682 #if defined (CRAY) && ! defined(CRAY2)6682 #if defined CRAY && ! defined CRAY2 5683 6683 webecray 5684 6684 #else … … 5696 6696 5697 6697 fi 5698 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&55699 echo "${ECHO_T}$ac_cv_os_cray" >&6 6698 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 6699 $as_echo "$ac_cv_os_cray" >&6; } 5700 6700 if test $ac_cv_os_cray = yes; then 5701 6701 for ac_func in _getb67 GETB67 getb67; do 5702 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`5703 echo "$as_me:$LINENO: checking for $ac_func" >&55704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5705 if eval "test \"\${$as_ac_var+set}\" = set"; then5706 echo $ECHO_N "(cached) $ECHO_C" >&66702 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6703 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 6704 $as_echo_n "checking for $ac_func... " >&6; } 6705 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 6706 $as_echo_n "(cached) " >&6 5707 6707 else 5708 6708 cat >conftest.$ac_ext <<_ACEOF … … 5729 6729 #undef $ac_func 5730 6730 5731 /* Override any gcc2 internal prototype to avoid an error. */ 6731 /* Override any GCC internal prototype to avoid an error. 6732 Use char because int might match the return type of a GCC 6733 builtin and then its argument prototype would still apply. */ 5732 6734 #ifdef __cplusplus 5733 6735 extern "C" 5734 {5735 6736 #endif 5736 /* We use char because int might match the return type of a gcc25737 builtin and then its argument prototype would still apply. */5738 6737 char $ac_func (); 5739 6738 /* The GNU C library defines this for functions which it implements 5740 6739 to always fail with ENOSYS. Some functions are actually named 5741 6740 something starting with __ and the normal name is an alias. */ 5742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)6741 #if defined __stub_$ac_func || defined __stub___$ac_func 5743 6742 choke me 5744 #else5745 char (*f) () = $ac_func;5746 #endif5747 #ifdef __cplusplus5748 }5749 6743 #endif 5750 6744 … … 5752 6746 main () 5753 6747 { 5754 return f != $ac_func;6748 return $ac_func (); 5755 6749 ; 5756 6750 return 0; … … 5758 6752 _ACEOF 5759 6753 rm -f conftest.$ac_objext conftest$ac_exeext 5760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5761 (eval $ac_link) 2>conftest.er1 6754 if { (ac_try="$ac_link" 6755 case "(($ac_try" in 6756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6757 *) ac_try_echo=$ac_try;; 6758 esac 6759 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6760 $as_echo "$ac_try_echo") >&5 6761 (eval "$ac_link") 2>conftest.er1 5762 6762 ac_status=$? 5763 6763 grep -v '^ *+' conftest.er1 >conftest.err 5764 6764 rm -f conftest.er1 5765 6765 cat conftest.err >&5 5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5767 (exit $ac_status); } && 5768 { ac_try='test -z "$ac_c_werror_flag" 5769 || test ! -s conftest.err' 5770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5771 (eval $ac_try) 2>&5 5772 ac_status=$? 5773 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5774 (exit $ac_status); }; } && 5775 { ac_try='test -s conftest$ac_exeext' 5776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5777 (eval $ac_try) 2>&5 5778 ac_status=$? 5779 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5780 (exit $ac_status); }; }; then 6766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6767 (exit $ac_status); } && { 6768 test -z "$ac_c_werror_flag" || 6769 test ! -s conftest.err 6770 } && test -s conftest$ac_exeext && { 6771 test "$cross_compiling" = yes || 6772 $as_test_x conftest$ac_exeext 6773 }; then 5781 6774 eval "$as_ac_var=yes" 5782 6775 else 5783 echo "$as_me: failed program was:" >&56776 $as_echo "$as_me: failed program was:" >&5 5784 6777 sed 's/^/| /' conftest.$ac_ext >&5 5785 6778 5786 eval "$as_ac_var=no" 5787 fi 5788 rm -f conftest.err conftest.$ac_objext \ 6779 eval "$as_ac_var=no" 6780 fi 6781 6782 rm -rf conftest.dSYM 6783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5789 6784 conftest$ac_exeext conftest.$ac_ext 5790 6785 fi 5791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 5792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5793 if test `eval echo '${'$as_ac_var'}'` = yes; then 6786 ac_res=`eval 'as_val=${'$as_ac_var'} 6787 $as_echo "$as_val"'` 6788 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6789 $as_echo "$ac_res" >&6; } 6790 as_val=`eval 'as_val=${'$as_ac_var'} 6791 $as_echo "$as_val"'` 6792 if test "x$as_val" = x""yes; then 5794 6793 5795 6794 cat >>confdefs.h <<_ACEOF … … 5803 6802 fi 5804 6803 5805 echo "$as_me:$LINENO: checking stack direction for C alloca" >&55806 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 6804 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 6805 $as_echo_n "checking stack direction for C alloca... " >&6; } 5807 6806 if test "${ac_cv_c_stack_direction+set}" = set; then 5808 echo $ECHO_N "(cached) $ECHO_C" >&66807 $as_echo_n "(cached) " >&6 5809 6808 else 5810 6809 if test "$cross_compiling" = yes; then … … 5817 6816 cat >>conftest.$ac_ext <<_ACEOF 5818 6817 /* end confdefs.h. */ 6818 $ac_includes_default 5819 6819 int 5820 6820 find_stack_direction () … … 5834 6834 main () 5835 6835 { 5836 exit (find_stack_direction () < 0);6836 return find_stack_direction () < 0; 5837 6837 } 5838 6838 _ACEOF 5839 6839 rm -f conftest$ac_exeext 5840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5841 (eval $ac_link) 2>&5 6840 if { (ac_try="$ac_link" 6841 case "(($ac_try" in 6842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6843 *) ac_try_echo=$ac_try;; 6844 esac 6845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6846 $as_echo "$ac_try_echo") >&5 6847 (eval "$ac_link") 2>&5 5842 6848 ac_status=$? 5843 echo "$as_me:$LINENO: \$? = $ac_status" >&56849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5844 6850 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5846 (eval $ac_try) 2>&5 6851 { (case "(($ac_try" in 6852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6853 *) ac_try_echo=$ac_try;; 6854 esac 6855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6856 $as_echo "$ac_try_echo") >&5 6857 (eval "$ac_try") 2>&5 5847 6858 ac_status=$? 5848 echo "$as_me:$LINENO: \$? = $ac_status" >&56859 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5849 6860 (exit $ac_status); }; }; then 5850 6861 ac_cv_c_stack_direction=1 5851 6862 else 5852 echo "$as_me: program exited with status $ac_status" >&55853 echo "$as_me: failed program was:" >&56863 $as_echo "$as_me: program exited with status $ac_status" >&5 6864 $as_echo "$as_me: failed program was:" >&5 5854 6865 sed 's/^/| /' conftest.$ac_ext >&5 5855 6866 … … 5857 6868 ac_cv_c_stack_direction=-1 5858 6869 fi 5859 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5860 fi 5861 fi 5862 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 5863 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 6870 rm -rf conftest.dSYM 6871 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6872 fi 6873 6874 6875 fi 6876 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 6877 $as_echo "$ac_cv_c_stack_direction" >&6; } 5864 6878 5865 6879 cat >>confdefs.h <<_ACEOF … … 5871 6885 5872 6886 if test $ac_cv_c_compiler_gnu = yes; then 5873 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&55874 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 6887 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 6888 $as_echo_n "checking whether $CC needs -traditional... " >&6; } 5875 6889 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 5876 echo $ECHO_N "(cached) $ECHO_C" >&66890 $as_echo_n "(cached) " >&6 5877 6891 else 5878 6892 ac_pattern="Autoconf.*'x'" … … 5913 6927 fi 5914 6928 fi 5915 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&55916 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 6929 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 6930 $as_echo "$ac_cv_prog_gcc_traditional" >&6; } 5917 6931 if test $ac_cv_prog_gcc_traditional = yes; then 5918 6932 CC="$CC -traditional" … … 5920 6934 fi 5921 6935 5922 echo "$as_me:$LINENO: checking return type of signal handlers" >&55923 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 6936 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 6937 $as_echo_n "checking return type of signal handlers... " >&6; } 5924 6938 if test "${ac_cv_type_signal+set}" = set; then 5925 echo $ECHO_N "(cached) $ECHO_C" >&66939 $as_echo_n "(cached) " >&6 5926 6940 else 5927 6941 cat >conftest.$ac_ext <<_ACEOF … … 5933 6947 #include <sys/types.h> 5934 6948 #include <signal.h> 5935 #ifdef signal5936 # undef signal5937 #endif5938 #ifdef __cplusplus5939 extern "C" void (*signal (int, void (*)(int)))(int);5940 #else5941 void (*signal ()) ();5942 #endif5943 6949 5944 6950 int 5945 6951 main () 5946 6952 { 5947 int i;6953 return *(signal (0, 0)) (0) == 1; 5948 6954 ; 5949 6955 return 0; … … 5951 6957 _ACEOF 5952 6958 rm -f conftest.$ac_objext 5953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5954 (eval $ac_compile) 2>conftest.er1 6959 if { (ac_try="$ac_compile" 6960 case "(($ac_try" in 6961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6962 *) ac_try_echo=$ac_try;; 6963 esac 6964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6965 $as_echo "$ac_try_echo") >&5 6966 (eval "$ac_compile") 2>conftest.er1 5955 6967 ac_status=$? 5956 6968 grep -v '^ *+' conftest.er1 >conftest.err 5957 6969 rm -f conftest.er1 5958 6970 cat conftest.err >&5 5959 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5960 (exit $ac_status); } && 5961 { ac_try='test -z "$ac_c_werror_flag" 5962 || test ! -s conftest.err' 5963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5964 (eval $ac_try) 2>&5 5965 ac_status=$? 5966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5967 (exit $ac_status); }; } && 5968 { ac_try='test -s conftest.$ac_objext' 5969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5970 (eval $ac_try) 2>&5 5971 ac_status=$? 5972 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5973 (exit $ac_status); }; }; then 5974 ac_cv_type_signal=void 5975 else 5976 echo "$as_me: failed program was:" >&5 6971 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6972 (exit $ac_status); } && { 6973 test -z "$ac_c_werror_flag" || 6974 test ! -s conftest.err 6975 } && test -s conftest.$ac_objext; then 6976 ac_cv_type_signal=int 6977 else 6978 $as_echo "$as_me: failed program was:" >&5 5977 6979 sed 's/^/| /' conftest.$ac_ext >&5 5978 6980 5979 ac_cv_type_signal=int 5980 fi 5981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5982 fi 5983 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 5984 echo "${ECHO_T}$ac_cv_type_signal" >&6 6981 ac_cv_type_signal=void 6982 fi 6983 6984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6985 fi 6986 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 6987 $as_echo "$ac_cv_type_signal" >&6; } 5985 6988 5986 6989 cat >>confdefs.h <<_ACEOF … … 5992 6995 for ac_func in vprintf 5993 6996 do 5994 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`5995 echo "$as_me:$LINENO: checking for $ac_func" >&55996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5997 if eval "test \"\${$as_ac_var+set}\" = set"; then5998 echo $ECHO_N "(cached) $ECHO_C" >&66997 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6998 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 6999 $as_echo_n "checking for $ac_func... " >&6; } 7000 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7001 $as_echo_n "(cached) " >&6 5999 7002 else 6000 7003 cat >conftest.$ac_ext <<_ACEOF … … 6021 7024 #undef $ac_func 6022 7025 6023 /* Override any gcc2 internal prototype to avoid an error. */ 7026 /* Override any GCC internal prototype to avoid an error. 7027 Use char because int might match the return type of a GCC 7028 builtin and then its argument prototype would still apply. */ 6024 7029 #ifdef __cplusplus 6025 7030 extern "C" 6026 {6027 7031 #endif 6028 /* We use char because int might match the return type of a gcc26029 builtin and then its argument prototype would still apply. */6030 7032 char $ac_func (); 6031 7033 /* The GNU C library defines this for functions which it implements 6032 7034 to always fail with ENOSYS. Some functions are actually named 6033 7035 something starting with __ and the normal name is an alias. */ 6034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7036 #if defined __stub_$ac_func || defined __stub___$ac_func 6035 7037 choke me 6036 #else6037 char (*f) () = $ac_func;6038 #endif6039 #ifdef __cplusplus6040 }6041 7038 #endif 6042 7039 … … 6044 7041 main () 6045 7042 { 6046 return f != $ac_func;7043 return $ac_func (); 6047 7044 ; 6048 7045 return 0; … … 6050 7047 _ACEOF 6051 7048 rm -f conftest.$ac_objext conftest$ac_exeext 6052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6053 (eval $ac_link) 2>conftest.er1 7049 if { (ac_try="$ac_link" 7050 case "(($ac_try" in 7051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7052 *) ac_try_echo=$ac_try;; 7053 esac 7054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7055 $as_echo "$ac_try_echo") >&5 7056 (eval "$ac_link") 2>conftest.er1 6054 7057 ac_status=$? 6055 7058 grep -v '^ *+' conftest.er1 >conftest.err 6056 7059 rm -f conftest.er1 6057 7060 cat conftest.err >&5 6058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6059 (exit $ac_status); } && 6060 { ac_try='test -z "$ac_c_werror_flag" 6061 || test ! -s conftest.err' 6062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6063 (eval $ac_try) 2>&5 6064 ac_status=$? 6065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6066 (exit $ac_status); }; } && 6067 { ac_try='test -s conftest$ac_exeext' 6068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6069 (eval $ac_try) 2>&5 6070 ac_status=$? 6071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6072 (exit $ac_status); }; }; then 7061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7062 (exit $ac_status); } && { 7063 test -z "$ac_c_werror_flag" || 7064 test ! -s conftest.err 7065 } && test -s conftest$ac_exeext && { 7066 test "$cross_compiling" = yes || 7067 $as_test_x conftest$ac_exeext 7068 }; then 6073 7069 eval "$as_ac_var=yes" 6074 7070 else 6075 echo "$as_me: failed program was:" >&57071 $as_echo "$as_me: failed program was:" >&5 6076 7072 sed 's/^/| /' conftest.$ac_ext >&5 6077 7073 6078 eval "$as_ac_var=no" 6079 fi 6080 rm -f conftest.err conftest.$ac_objext \ 7074 eval "$as_ac_var=no" 7075 fi 7076 7077 rm -rf conftest.dSYM 7078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6081 7079 conftest$ac_exeext conftest.$ac_ext 6082 7080 fi 6083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6085 if test `eval echo '${'$as_ac_var'}'` = yes; then 7081 ac_res=`eval 'as_val=${'$as_ac_var'} 7082 $as_echo "$as_val"'` 7083 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7084 $as_echo "$ac_res" >&6; } 7085 as_val=`eval 'as_val=${'$as_ac_var'} 7086 $as_echo "$as_val"'` 7087 if test "x$as_val" = x""yes; then 6086 7088 cat >>confdefs.h <<_ACEOF 6087 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 16088 _ACEOF 6089 6090 echo "$as_me:$LINENO: checking for _doprnt" >&56091 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 7089 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7090 _ACEOF 7091 7092 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5 7093 $as_echo_n "checking for _doprnt... " >&6; } 6092 7094 if test "${ac_cv_func__doprnt+set}" = set; then 6093 echo $ECHO_N "(cached) $ECHO_C" >&67095 $as_echo_n "(cached) " >&6 6094 7096 else 6095 7097 cat >conftest.$ac_ext <<_ACEOF … … 6116 7118 #undef _doprnt 6117 7119 6118 /* Override any gcc2 internal prototype to avoid an error. */ 7120 /* Override any GCC internal prototype to avoid an error. 7121 Use char because int might match the return type of a GCC 7122 builtin and then its argument prototype would still apply. */ 6119 7123 #ifdef __cplusplus 6120 7124 extern "C" 6121 {6122 7125 #endif 6123 /* We use char because int might match the return type of a gcc26124 builtin and then its argument prototype would still apply. */6125 7126 char _doprnt (); 6126 7127 /* The GNU C library defines this for functions which it implements 6127 7128 to always fail with ENOSYS. Some functions are actually named 6128 7129 something starting with __ and the normal name is an alias. */ 6129 #if defined (__stub__doprnt) || defined (__stub____doprnt)7130 #if defined __stub__doprnt || defined __stub____doprnt 6130 7131 choke me 6131 #else6132 char (*f) () = _doprnt;6133 #endif6134 #ifdef __cplusplus6135 }6136 7132 #endif 6137 7133 … … 6139 7135 main () 6140 7136 { 6141 return f != _doprnt;7137 return _doprnt (); 6142 7138 ; 6143 7139 return 0; … … 6145 7141 _ACEOF 6146 7142 rm -f conftest.$ac_objext conftest$ac_exeext 6147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6148 (eval $ac_link) 2>conftest.er1 7143 if { (ac_try="$ac_link" 7144 case "(($ac_try" in 7145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7146 *) ac_try_echo=$ac_try;; 7147 esac 7148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7149 $as_echo "$ac_try_echo") >&5 7150 (eval "$ac_link") 2>conftest.er1 6149 7151 ac_status=$? 6150 7152 grep -v '^ *+' conftest.er1 >conftest.err 6151 7153 rm -f conftest.er1 6152 7154 cat conftest.err >&5 6153 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6154 (exit $ac_status); } && 6155 { ac_try='test -z "$ac_c_werror_flag" 6156 || test ! -s conftest.err' 6157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6158 (eval $ac_try) 2>&5 6159 ac_status=$? 6160 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6161 (exit $ac_status); }; } && 6162 { ac_try='test -s conftest$ac_exeext' 6163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6164 (eval $ac_try) 2>&5 6165 ac_status=$? 6166 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6167 (exit $ac_status); }; }; then 7155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7156 (exit $ac_status); } && { 7157 test -z "$ac_c_werror_flag" || 7158 test ! -s conftest.err 7159 } && test -s conftest$ac_exeext && { 7160 test "$cross_compiling" = yes || 7161 $as_test_x conftest$ac_exeext 7162 }; then 6168 7163 ac_cv_func__doprnt=yes 6169 7164 else 6170 echo "$as_me: failed program was:" >&57165 $as_echo "$as_me: failed program was:" >&5 6171 7166 sed 's/^/| /' conftest.$ac_ext >&5 6172 7167 6173 ac_cv_func__doprnt=no 6174 fi 6175 rm -f conftest.err conftest.$ac_objext \ 7168 ac_cv_func__doprnt=no 7169 fi 7170 7171 rm -rf conftest.dSYM 7172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6176 7173 conftest$ac_exeext conftest.$ac_ext 6177 7174 fi 6178 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&56179 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 6180 if test $ac_cv_func__doprnt =yes; then7175 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 7176 $as_echo "$ac_cv_func__doprnt" >&6; } 7177 if test "x$ac_cv_func__doprnt" = x""yes; then 6181 7178 6182 7179 cat >>confdefs.h <<\_ACEOF … … 6202 7199 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror 6203 7200 do 6204 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6205 echo "$as_me:$LINENO: checking for $ac_func" >&56206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6207 if eval "test \"\${$as_ac_var+set}\" = set"; then6208 echo $ECHO_N "(cached) $ECHO_C" >&67201 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7202 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7203 $as_echo_n "checking for $ac_func... " >&6; } 7204 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7205 $as_echo_n "(cached) " >&6 6209 7206 else 6210 7207 cat >conftest.$ac_ext <<_ACEOF … … 6231 7228 #undef $ac_func 6232 7229 6233 /* Override any gcc2 internal prototype to avoid an error. */ 7230 /* Override any GCC internal prototype to avoid an error. 7231 Use char because int might match the return type of a GCC 7232 builtin and then its argument prototype would still apply. */ 6234 7233 #ifdef __cplusplus 6235 7234 extern "C" 6236 {6237 7235 #endif 6238 /* We use char because int might match the return type of a gcc26239 builtin and then its argument prototype would still apply. */6240 7236 char $ac_func (); 6241 7237 /* The GNU C library defines this for functions which it implements 6242 7238 to always fail with ENOSYS. Some functions are actually named 6243 7239 something starting with __ and the normal name is an alias. */ 6244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7240 #if defined __stub_$ac_func || defined __stub___$ac_func 6245 7241 choke me 6246 #else6247 char (*f) () = $ac_func;6248 #endif6249 #ifdef __cplusplus6250 }6251 7242 #endif 6252 7243 … … 6254 7245 main () 6255 7246 { 6256 return f != $ac_func;7247 return $ac_func (); 6257 7248 ; 6258 7249 return 0; … … 6260 7251 _ACEOF 6261 7252 rm -f conftest.$ac_objext conftest$ac_exeext 6262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6263 (eval $ac_link) 2>conftest.er1 7253 if { (ac_try="$ac_link" 7254 case "(($ac_try" in 7255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7256 *) ac_try_echo=$ac_try;; 7257 esac 7258 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7259 $as_echo "$ac_try_echo") >&5 7260 (eval "$ac_link") 2>conftest.er1 6264 7261 ac_status=$? 6265 7262 grep -v '^ *+' conftest.er1 >conftest.err 6266 7263 rm -f conftest.er1 6267 7264 cat conftest.err >&5 6268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6269 (exit $ac_status); } && 6270 { ac_try='test -z "$ac_c_werror_flag" 6271 || test ! -s conftest.err' 6272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6273 (eval $ac_try) 2>&5 6274 ac_status=$? 6275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6276 (exit $ac_status); }; } && 6277 { ac_try='test -s conftest$ac_exeext' 6278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6279 (eval $ac_try) 2>&5 6280 ac_status=$? 6281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6282 (exit $ac_status); }; }; then 7265 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7266 (exit $ac_status); } && { 7267 test -z "$ac_c_werror_flag" || 7268 test ! -s conftest.err 7269 } && test -s conftest$ac_exeext && { 7270 test "$cross_compiling" = yes || 7271 $as_test_x conftest$ac_exeext 7272 }; then 6283 7273 eval "$as_ac_var=yes" 6284 7274 else 6285 echo "$as_me: failed program was:" >&57275 $as_echo "$as_me: failed program was:" >&5 6286 7276 sed 's/^/| /' conftest.$ac_ext >&5 6287 7277 6288 eval "$as_ac_var=no" 6289 fi 6290 rm -f conftest.err conftest.$ac_objext \ 7278 eval "$as_ac_var=no" 7279 fi 7280 7281 rm -rf conftest.dSYM 7282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6291 7283 conftest$ac_exeext conftest.$ac_ext 6292 7284 fi 6293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6295 if test `eval echo '${'$as_ac_var'}'` = yes; then 7285 ac_res=`eval 'as_val=${'$as_ac_var'} 7286 $as_echo "$as_val"'` 7287 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7288 $as_echo "$ac_res" >&6; } 7289 as_val=`eval 'as_val=${'$as_ac_var'} 7290 $as_echo "$as_val"'` 7291 if test "x$as_val" = x""yes; then 6296 7292 cat >>confdefs.h <<_ACEOF 6297 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 17293 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6298 7294 _ACEOF 6299 7295 … … 6306 7302 for ac_func in ftruncate strstr strcasecmp 6307 7303 do 6308 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6309 echo "$as_me:$LINENO: checking for $ac_func" >&56310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6311 if eval "test \"\${$as_ac_var+set}\" = set"; then6312 echo $ECHO_N "(cached) $ECHO_C" >&67304 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7305 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7306 $as_echo_n "checking for $ac_func... " >&6; } 7307 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7308 $as_echo_n "(cached) " >&6 6313 7309 else 6314 7310 cat >conftest.$ac_ext <<_ACEOF … … 6335 7331 #undef $ac_func 6336 7332 6337 /* Override any gcc2 internal prototype to avoid an error. */ 7333 /* Override any GCC internal prototype to avoid an error. 7334 Use char because int might match the return type of a GCC 7335 builtin and then its argument prototype would still apply. */ 6338 7336 #ifdef __cplusplus 6339 7337 extern "C" 6340 {6341 7338 #endif 6342 /* We use char because int might match the return type of a gcc26343 builtin and then its argument prototype would still apply. */6344 7339 char $ac_func (); 6345 7340 /* The GNU C library defines this for functions which it implements 6346 7341 to always fail with ENOSYS. Some functions are actually named 6347 7342 something starting with __ and the normal name is an alias. */ 6348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7343 #if defined __stub_$ac_func || defined __stub___$ac_func 6349 7344 choke me 6350 #else6351 char (*f) () = $ac_func;6352 #endif6353 #ifdef __cplusplus6354 }6355 7345 #endif 6356 7346 … … 6358 7348 main () 6359 7349 { 6360 return f != $ac_func;7350 return $ac_func (); 6361 7351 ; 6362 7352 return 0; … … 6364 7354 _ACEOF 6365 7355 rm -f conftest.$ac_objext conftest$ac_exeext 6366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6367 (eval $ac_link) 2>conftest.er1 7356 if { (ac_try="$ac_link" 7357 case "(($ac_try" in 7358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7359 *) ac_try_echo=$ac_try;; 7360 esac 7361 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7362 $as_echo "$ac_try_echo") >&5 7363 (eval "$ac_link") 2>conftest.er1 6368 7364 ac_status=$? 6369 7365 grep -v '^ *+' conftest.er1 >conftest.err 6370 7366 rm -f conftest.er1 6371 7367 cat conftest.err >&5 6372 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6373 (exit $ac_status); } && 6374 { ac_try='test -z "$ac_c_werror_flag" 6375 || test ! -s conftest.err' 6376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6377 (eval $ac_try) 2>&5 6378 ac_status=$? 6379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6380 (exit $ac_status); }; } && 6381 { ac_try='test -s conftest$ac_exeext' 6382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6383 (eval $ac_try) 2>&5 6384 ac_status=$? 6385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6386 (exit $ac_status); }; }; then 7368 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7369 (exit $ac_status); } && { 7370 test -z "$ac_c_werror_flag" || 7371 test ! -s conftest.err 7372 } && test -s conftest$ac_exeext && { 7373 test "$cross_compiling" = yes || 7374 $as_test_x conftest$ac_exeext 7375 }; then 6387 7376 eval "$as_ac_var=yes" 6388 7377 else 6389 echo "$as_me: failed program was:" >&57378 $as_echo "$as_me: failed program was:" >&5 6390 7379 sed 's/^/| /' conftest.$ac_ext >&5 6391 7380 6392 eval "$as_ac_var=no" 6393 fi 6394 rm -f conftest.err conftest.$ac_objext \ 7381 eval "$as_ac_var=no" 7382 fi 7383 7384 rm -rf conftest.dSYM 7385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6395 7386 conftest$ac_exeext conftest.$ac_ext 6396 7387 fi 6397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6399 if test `eval echo '${'$as_ac_var'}'` = yes; then 7388 ac_res=`eval 'as_val=${'$as_ac_var'} 7389 $as_echo "$as_val"'` 7390 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7391 $as_echo "$ac_res" >&6; } 7392 as_val=`eval 'as_val=${'$as_ac_var'} 7393 $as_echo "$as_val"'` 7394 if test "x$as_val" = x""yes; then 6400 7395 cat >>confdefs.h <<_ACEOF 6401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6402 _ACEOF 6403 6404 else 6405 case $LIBOBJS in 6406 "$ac_func.$ac_objext" | \ 6407 *" $ac_func.$ac_objext" | \ 6408 "$ac_func.$ac_objext "* | \ 7396 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7397 _ACEOF 7398 7399 else 7400 case " $LIBOBJS " in 6409 7401 *" $ac_func.$ac_objext "* ) ;; 6410 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; 7402 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 7403 ;; 6411 7404 esac 6412 7405 … … 6416 7409 6417 7410 6418 echo "$as_me:$LINENO: checking for textdomain" >&56419 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6 7411 { $as_echo "$as_me:$LINENO: checking for textdomain" >&5 7412 $as_echo_n "checking for textdomain... " >&6; } 6420 7413 if test "${ac_cv_func_textdomain+set}" = set; then 6421 echo $ECHO_N "(cached) $ECHO_C" >&67414 $as_echo_n "(cached) " >&6 6422 7415 else 6423 7416 cat >conftest.$ac_ext <<_ACEOF … … 6444 7437 #undef textdomain 6445 7438 6446 /* Override any gcc2 internal prototype to avoid an error. */ 7439 /* Override any GCC internal prototype to avoid an error. 7440 Use char because int might match the return type of a GCC 7441 builtin and then its argument prototype would still apply. */ 6447 7442 #ifdef __cplusplus 6448 7443 extern "C" 6449 {6450 7444 #endif 6451 /* We use char because int might match the return type of a gcc26452 builtin and then its argument prototype would still apply. */6453 7445 char textdomain (); 6454 7446 /* The GNU C library defines this for functions which it implements 6455 7447 to always fail with ENOSYS. Some functions are actually named 6456 7448 something starting with __ and the normal name is an alias. */ 6457 #if defined (__stub_textdomain) || defined (__stub___textdomain)7449 #if defined __stub_textdomain || defined __stub___textdomain 6458 7450 choke me 6459 #else6460 char (*f) () = textdomain;6461 #endif6462 #ifdef __cplusplus6463 }6464 7451 #endif 6465 7452 … … 6467 7454 main () 6468 7455 { 6469 return f != textdomain;7456 return textdomain (); 6470 7457 ; 6471 7458 return 0; … … 6473 7460 _ACEOF 6474 7461 rm -f conftest.$ac_objext conftest$ac_exeext 6475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6476 (eval $ac_link) 2>conftest.er1 7462 if { (ac_try="$ac_link" 7463 case "(($ac_try" in 7464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7465 *) ac_try_echo=$ac_try;; 7466 esac 7467 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7468 $as_echo "$ac_try_echo") >&5 7469 (eval "$ac_link") 2>conftest.er1 6477 7470 ac_status=$? 6478 7471 grep -v '^ *+' conftest.er1 >conftest.err 6479 7472 rm -f conftest.er1 6480 7473 cat conftest.err >&5 6481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6482 (exit $ac_status); } && 6483 { ac_try='test -z "$ac_c_werror_flag" 6484 || test ! -s conftest.err' 6485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6486 (eval $ac_try) 2>&5 6487 ac_status=$? 6488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6489 (exit $ac_status); }; } && 6490 { ac_try='test -s conftest$ac_exeext' 6491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6492 (eval $ac_try) 2>&5 6493 ac_status=$? 6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6495 (exit $ac_status); }; }; then 7474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7475 (exit $ac_status); } && { 7476 test -z "$ac_c_werror_flag" || 7477 test ! -s conftest.err 7478 } && test -s conftest$ac_exeext && { 7479 test "$cross_compiling" = yes || 7480 $as_test_x conftest$ac_exeext 7481 }; then 6496 7482 ac_cv_func_textdomain=yes 6497 7483 else 6498 echo "$as_me: failed program was:" >&57484 $as_echo "$as_me: failed program was:" >&5 6499 7485 sed 's/^/| /' conftest.$ac_ext >&5 6500 7486 6501 ac_cv_func_textdomain=no 6502 fi 6503 rm -f conftest.err conftest.$ac_objext \ 7487 ac_cv_func_textdomain=no 7488 fi 7489 7490 rm -rf conftest.dSYM 7491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6504 7492 conftest$ac_exeext conftest.$ac_ext 6505 7493 fi 6506 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&56507 echo "${ECHO_T}$ac_cv_func_textdomain" >&6 6508 if test $ac_cv_func_textdomain =yes; then7494 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5 7495 $as_echo "$ac_cv_func_textdomain" >&6; } 7496 if test "x$ac_cv_func_textdomain" = x""yes; then 6509 7497 cat >>confdefs.h <<\_ACEOF 6510 7498 #define ENABLE_NLS 1 … … 6516 7504 # *** Custom checking (based on GNU tar configure.in) *** 6517 7505 # --------------------------------------------------------------------------- 6518 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&56519 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6 7506 { $as_echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5 7507 $as_echo_n "checking for HP-UX needing gmalloc... " >&6; } 6520 7508 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 6521 echo "$as_me:$LINENO: result: yes" >&5 6522 echo "${ECHO_T}yes" >&6 6523 case $LIBOBJS in 6524 "gmalloc.$ac_objext" | \ 6525 *" gmalloc.$ac_objext" | \ 6526 "gmalloc.$ac_objext "* | \ 7509 { $as_echo "$as_me:$LINENO: result: yes" >&5 7510 $as_echo "yes" >&6; } 7511 case " $LIBOBJS " in 6527 7512 *" gmalloc.$ac_objext "* ) ;; 6528 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;; 7513 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" 7514 ;; 6529 7515 esac 6530 7516 … … 6534 7520 6535 7521 else 6536 echo "$as_me:$LINENO: result: no" >&56537 echo "${ECHO_T}no" >&6 7522 { $as_echo "$as_me:$LINENO: result: no" >&5 7523 $as_echo "no" >&6; } 6538 7524 6539 7525 for ac_func in valloc 6540 7526 do 6541 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6542 echo "$as_me:$LINENO: checking for $ac_func" >&56543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6544 if eval "test \"\${$as_ac_var+set}\" = set"; then6545 echo $ECHO_N "(cached) $ECHO_C" >&67527 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7528 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7529 $as_echo_n "checking for $ac_func... " >&6; } 7530 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7531 $as_echo_n "(cached) " >&6 6546 7532 else 6547 7533 cat >conftest.$ac_ext <<_ACEOF … … 6568 7554 #undef $ac_func 6569 7555 6570 /* Override any gcc2 internal prototype to avoid an error. */ 7556 /* Override any GCC internal prototype to avoid an error. 7557 Use char because int might match the return type of a GCC 7558 builtin and then its argument prototype would still apply. */ 6571 7559 #ifdef __cplusplus 6572 7560 extern "C" 6573 {6574 7561 #endif 6575 /* We use char because int might match the return type of a gcc26576 builtin and then its argument prototype would still apply. */6577 7562 char $ac_func (); 6578 7563 /* The GNU C library defines this for functions which it implements 6579 7564 to always fail with ENOSYS. Some functions are actually named 6580 7565 something starting with __ and the normal name is an alias. */ 6581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7566 #if defined __stub_$ac_func || defined __stub___$ac_func 6582 7567 choke me 6583 #else6584 char (*f) () = $ac_func;6585 #endif6586 #ifdef __cplusplus6587 }6588 7568 #endif 6589 7569 … … 6591 7571 main () 6592 7572 { 6593 return f != $ac_func;7573 return $ac_func (); 6594 7574 ; 6595 7575 return 0; … … 6597 7577 _ACEOF 6598 7578 rm -f conftest.$ac_objext conftest$ac_exeext 6599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6600 (eval $ac_link) 2>conftest.er1 7579 if { (ac_try="$ac_link" 7580 case "(($ac_try" in 7581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7582 *) ac_try_echo=$ac_try;; 7583 esac 7584 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7585 $as_echo "$ac_try_echo") >&5 7586 (eval "$ac_link") 2>conftest.er1 6601 7587 ac_status=$? 6602 7588 grep -v '^ *+' conftest.er1 >conftest.err 6603 7589 rm -f conftest.er1 6604 7590 cat conftest.err >&5 6605 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6606 (exit $ac_status); } && 6607 { ac_try='test -z "$ac_c_werror_flag" 6608 || test ! -s conftest.err' 6609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6610 (eval $ac_try) 2>&5 6611 ac_status=$? 6612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6613 (exit $ac_status); }; } && 6614 { ac_try='test -s conftest$ac_exeext' 6615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6616 (eval $ac_try) 2>&5 6617 ac_status=$? 6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6619 (exit $ac_status); }; }; then 7591 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7592 (exit $ac_status); } && { 7593 test -z "$ac_c_werror_flag" || 7594 test ! -s conftest.err 7595 } && test -s conftest$ac_exeext && { 7596 test "$cross_compiling" = yes || 7597 $as_test_x conftest$ac_exeext 7598 }; then 6620 7599 eval "$as_ac_var=yes" 6621 7600 else 6622 echo "$as_me: failed program was:" >&57601 $as_echo "$as_me: failed program was:" >&5 6623 7602 sed 's/^/| /' conftest.$ac_ext >&5 6624 7603 6625 eval "$as_ac_var=no" 6626 fi 6627 rm -f conftest.err conftest.$ac_objext \ 7604 eval "$as_ac_var=no" 7605 fi 7606 7607 rm -rf conftest.dSYM 7608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6628 7609 conftest$ac_exeext conftest.$ac_ext 6629 7610 fi 6630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6632 if test `eval echo '${'$as_ac_var'}'` = yes; then 7611 ac_res=`eval 'as_val=${'$as_ac_var'} 7612 $as_echo "$as_val"'` 7613 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7614 $as_echo "$ac_res" >&6; } 7615 as_val=`eval 'as_val=${'$as_ac_var'} 7616 $as_echo "$as_val"'` 7617 if test "x$as_val" = x""yes; then 6633 7618 cat >>confdefs.h <<_ACEOF 6634 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 17619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6635 7620 _ACEOF 6636 7621 … … 6641 7626 6642 7627 # we cannot generate static libraries under Darwin 6643 echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&56644 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6 7628 { $as_echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5 7629 $as_echo_n "checking for Apple MacOS X/Darwin... " >&6; } 6645 7630 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 6646 echo "$as_me:$LINENO: result: yes" >&56647 echo "${ECHO_T}yes" >&6 7631 { $as_echo "$as_me:$LINENO: result: yes" >&5 7632 $as_echo "yes" >&6; } 6648 7633 STATIC="" 6649 7634 else 6650 echo "$as_me:$LINENO: result: no" >&56651 echo "${ECHO_T}no" >&6 7635 { $as_echo "$as_me:$LINENO: result: no" >&5 7636 $as_echo "no" >&6; } 6652 7637 STATIC="-static " 6653 7638 fi 6654 7639 6655 7640 6656 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&56657 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6 6658 6659 # Check whether --with-dmalloc or --without-dmallocwas given.7641 { $as_echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 7642 $as_echo_n "checking if malloc debugging is wanted... " >&6; } 7643 7644 # Check whether --with-dmalloc was given. 6660 7645 if test "${with_dmalloc+set}" = set; then 6661 withval="$with_dmalloc" 6662 if test "$withval" = yes; then 6663 echo "$as_me:$LINENO: result: yes" >&5 6664 echo "${ECHO_T}yes" >&6 7646 withval=$with_dmalloc; if test "$withval" = yes; then 7647 { $as_echo "$as_me:$LINENO: result: yes" >&5 7648 $as_echo "yes" >&6; } 6665 7649 cat >>confdefs.h <<\_ACEOF 6666 7650 #define WITH_DMALLOC 1 … … 6670 7654 LDFLAGS="$LDFLAGS -g" 6671 7655 else 6672 echo "$as_me:$LINENO: result: no" >&5 6673 echo "${ECHO_T}no" >&6 6674 fi 6675 else 6676 echo "$as_me:$LINENO: result: no" >&5 6677 echo "${ECHO_T}no" >&6 6678 fi; 6679 6680 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 6681 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6 6682 6683 # Check whether --with-regex or --without-regex was given. 7656 { $as_echo "$as_me:$LINENO: result: no" >&5 7657 $as_echo "no" >&6; } 7658 fi 7659 else 7660 { $as_echo "$as_me:$LINENO: result: no" >&5 7661 $as_echo "no" >&6; } 7662 fi 7663 7664 7665 { $as_echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 7666 $as_echo_n "checking which of rx or regex is wanted... " >&6; } 7667 7668 # Check whether --with-regex was given. 6684 7669 if test "${with_regex+set}" = set; then 6685 withval="$with_regex" 6686 if test "$withval" = yes; then 7670 withval=$with_regex; if test "$withval" = yes; then 6687 7671 ac_with_regex=1 6688 echo "$as_me:$LINENO: result: regex" >&56689 echo "${ECHO_T}regex" >&6 7672 { $as_echo "$as_me:$LINENO: result: regex" >&5 7673 $as_echo "regex" >&6; } 6690 7674 cat >>confdefs.h <<\_ACEOF 6691 7675 #define WITH_REGEX 1 6692 7676 _ACEOF 6693 7677 6694 case $LIBOBJS in 6695 "regex.$ac_objext" | \ 6696 *" regex.$ac_objext" | \ 6697 "regex.$ac_objext "* | \ 7678 case " $LIBOBJS " in 6698 7679 *" regex.$ac_objext "* ) ;; 6699 *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;; 6700 esac 6701 6702 fi 6703 fi; 7680 *) LIBOBJS="$LIBOBJS regex.$ac_objext" 7681 ;; 7682 esac 7683 7684 fi 7685 fi 7686 6704 7687 if test -z "$ac_with_regex"; then 6705 echo "$as_me:$LINENO: result: rx" >&56706 echo "${ECHO_T}rx" >&6 6707 echo "$as_me:$LINENO: checking for re_rx_search" >&56708 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6 7688 { $as_echo "$as_me:$LINENO: result: rx" >&5 7689 $as_echo "rx" >&6; } 7690 { $as_echo "$as_me:$LINENO: checking for re_rx_search" >&5 7691 $as_echo_n "checking for re_rx_search... " >&6; } 6709 7692 if test "${ac_cv_func_re_rx_search+set}" = set; then 6710 echo $ECHO_N "(cached) $ECHO_C" >&67693 $as_echo_n "(cached) " >&6 6711 7694 else 6712 7695 cat >conftest.$ac_ext <<_ACEOF … … 6733 7716 #undef re_rx_search 6734 7717 6735 /* Override any gcc2 internal prototype to avoid an error. */ 7718 /* Override any GCC internal prototype to avoid an error. 7719 Use char because int might match the return type of a GCC 7720 builtin and then its argument prototype would still apply. */ 6736 7721 #ifdef __cplusplus 6737 7722 extern "C" 6738 {6739 7723 #endif 6740 /* We use char because int might match the return type of a gcc26741 builtin and then its argument prototype would still apply. */6742 7724 char re_rx_search (); 6743 7725 /* The GNU C library defines this for functions which it implements 6744 7726 to always fail with ENOSYS. Some functions are actually named 6745 7727 something starting with __ and the normal name is an alias. */ 6746 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)7728 #if defined __stub_re_rx_search || defined __stub___re_rx_search 6747 7729 choke me 6748 #else6749 char (*f) () = re_rx_search;6750 #endif6751 #ifdef __cplusplus6752 }6753 7730 #endif 6754 7731 … … 6756 7733 main () 6757 7734 { 6758 return f != re_rx_search;7735 return re_rx_search (); 6759 7736 ; 6760 7737 return 0; … … 6762 7739 _ACEOF 6763 7740 rm -f conftest.$ac_objext conftest$ac_exeext 6764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6765 (eval $ac_link) 2>conftest.er1 7741 if { (ac_try="$ac_link" 7742 case "(($ac_try" in 7743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7744 *) ac_try_echo=$ac_try;; 7745 esac 7746 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7747 $as_echo "$ac_try_echo") >&5 7748 (eval "$ac_link") 2>conftest.er1 6766 7749 ac_status=$? 6767 7750 grep -v '^ *+' conftest.er1 >conftest.err 6768 7751 rm -f conftest.er1 6769 7752 cat conftest.err >&5 6770 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6771 (exit $ac_status); } && 6772 { ac_try='test -z "$ac_c_werror_flag" 6773 || test ! -s conftest.err' 6774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6775 (eval $ac_try) 2>&5 6776 ac_status=$? 6777 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6778 (exit $ac_status); }; } && 6779 { ac_try='test -s conftest$ac_exeext' 6780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6781 (eval $ac_try) 2>&5 6782 ac_status=$? 6783 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6784 (exit $ac_status); }; }; then 7753 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7754 (exit $ac_status); } && { 7755 test -z "$ac_c_werror_flag" || 7756 test ! -s conftest.err 7757 } && test -s conftest$ac_exeext && { 7758 test "$cross_compiling" = yes || 7759 $as_test_x conftest$ac_exeext 7760 }; then 6785 7761 ac_cv_func_re_rx_search=yes 6786 7762 else 6787 echo "$as_me: failed program was:" >&57763 $as_echo "$as_me: failed program was:" >&5 6788 7764 sed 's/^/| /' conftest.$ac_ext >&5 6789 7765 6790 ac_cv_func_re_rx_search=no 6791 fi 6792 rm -f conftest.err conftest.$ac_objext \ 7766 ac_cv_func_re_rx_search=no 7767 fi 7768 7769 rm -rf conftest.dSYM 7770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6793 7771 conftest$ac_exeext conftest.$ac_ext 6794 7772 fi 6795 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&56796 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6 6797 if test $ac_cv_func_re_rx_search =yes; then7773 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 7774 $as_echo "$ac_cv_func_re_rx_search" >&6; } 7775 if test "x$ac_cv_func_re_rx_search" = x""yes; then 6798 7776 : 6799 7777 else 6800 case $LIBOBJS in 6801 "rx.$ac_objext" | \ 6802 *" rx.$ac_objext" | \ 6803 "rx.$ac_objext "* | \ 7778 case " $LIBOBJS " in 6804 7779 *" rx.$ac_objext "* ) ;; 6805 *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;; 7780 *) LIBOBJS="$LIBOBJS rx.$ac_objext" 7781 ;; 6806 7782 esac 6807 7783 … … 6813 7789 # --------------------------------------------------------------------------- 6814 7790 if test "$ac_cv_func_alloca" = 'no'; then 6815 case $LIBOBJS in 6816 "xmalloc.$ac_objext" | \ 6817 *" xmalloc.$ac_objext" | \ 6818 "xmalloc.$ac_objext "* | \ 7791 case " $LIBOBJS " in 6819 7792 *" xmalloc.$ac_objext "* ) ;; 6820 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;; 6821 esac 6822 6823 case $LIBOBJS in 6824 "error.$ac_objext" | \ 6825 *" error.$ac_objext" | \ 6826 "error.$ac_objext "* | \ 7793 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" 7794 ;; 7795 esac 7796 7797 case " $LIBOBJS " in 6827 7798 *" error.$ac_objext "* ) ;; 6828 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 7799 *) LIBOBJS="$LIBOBJS error.$ac_objext" 7800 ;; 6829 7801 esac 6830 7802 … … 6834 7806 # --------------------------------------------------------------------------- 6835 7807 6836 ac_ext=c c7808 ac_ext=cpp 6837 7809 ac_cpp='$CXXCPP $CPPFLAGS' 6838 7810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 6841 7813 6842 7814 6843 echo "$as_me:$LINENO: checking that Perl 5 is available" >&56844 echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6 7815 { $as_echo "$as_me:$LINENO: checking that Perl 5 is available" >&5 7816 $as_echo_n "checking that Perl 5 is available... " >&6; } 6845 7817 success="no" 6846 7818 pl_path="$PATH" … … 6859 7831 try=`expr $try \> 5.000` 6860 7832 if test $try = "1"; then 6861 echo "$as_me:$LINENO: result: \"yes\"" >&56862 echo "${ECHO_T}\"yes\"" >&6 7833 { $as_echo "$as_me:$LINENO: result: \"yes\"" >&5 7834 $as_echo "\"yes\"" >&6; } 6863 7835 else 6864 7836 success="no" … … 6867 7839 6868 7840 if test $success = "no"; then 6869 echo "$as_me:$LINENO: result: \"no\"" >&56870 echo "${ECHO_T}\"no\"" >&6 6871 { { echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&56872 echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;}7841 { $as_echo "$as_me:$LINENO: result: \"no\"" >&5 7842 $as_echo "\"no\"" >&6; } 7843 { { $as_echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&5 7844 $as_echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;} 6873 7845 { (exit 1); exit 1; }; } 6874 7846 fi 6875 7847 6876 7848 success=no 6877 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&56878 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6 7849 { $as_echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5 7850 $as_echo_n "checking \"whether STL library has known faults\"... " >&6; } 6879 7851 6880 7852 … … 6896 7868 _ACEOF 6897 7869 rm -f conftest.$ac_objext 6898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6899 (eval $ac_compile) 2>conftest.er1 7870 if { (ac_try="$ac_compile" 7871 case "(($ac_try" in 7872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7873 *) ac_try_echo=$ac_try;; 7874 esac 7875 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7876 $as_echo "$ac_try_echo") >&5 7877 (eval "$ac_compile") 2>conftest.er1 6900 7878 ac_status=$? 6901 7879 grep -v '^ *+' conftest.er1 >conftest.err 6902 7880 rm -f conftest.er1 6903 7881 cat conftest.err >&5 6904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6905 (exit $ac_status); } && 6906 { ac_try='test -z "$ac_cxx_werror_flag" 6907 || test ! -s conftest.err' 6908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6909 (eval $ac_try) 2>&5 6910 ac_status=$? 6911 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6912 (exit $ac_status); }; } && 6913 { ac_try='test -s conftest.$ac_objext' 6914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6915 (eval $ac_try) 2>&5 6916 ac_status=$? 6917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6918 (exit $ac_status); }; }; then 7882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7883 (exit $ac_status); } && { 7884 test -z "$ac_cxx_werror_flag" || 7885 test ! -s conftest.err 7886 } && test -s conftest.$ac_objext; then 6919 7887 success=yes 6920 7888 else 6921 echo "$as_me: failed program was:" >&57889 $as_echo "$as_me: failed program was:" >&5 6922 7890 sed 's/^/| /' conftest.$ac_ext >&5 6923 7891 6924 fi 6925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7892 7893 fi 7894 7895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6926 7896 6927 7897 if test $success = "no"; then … … 6943 7913 _ACEOF 6944 7914 rm -f conftest.$ac_objext 6945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6946 (eval $ac_compile) 2>conftest.er1 7915 if { (ac_try="$ac_compile" 7916 case "(($ac_try" in 7917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7918 *) ac_try_echo=$ac_try;; 7919 esac 7920 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7921 $as_echo "$ac_try_echo") >&5 7922 (eval "$ac_compile") 2>conftest.er1 6947 7923 ac_status=$? 6948 7924 grep -v '^ *+' conftest.er1 >conftest.err 6949 7925 rm -f conftest.er1 6950 7926 cat conftest.err >&5 6951 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6952 (exit $ac_status); } && 6953 { ac_try='test -z "$ac_cxx_werror_flag" 6954 || test ! -s conftest.err' 6955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6956 (eval $ac_try) 2>&5 6957 ac_status=$? 6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6959 (exit $ac_status); }; } && 6960 { ac_try='test -s conftest.$ac_objext' 6961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6962 (eval $ac_try) 2>&5 6963 ac_status=$? 6964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6965 (exit $ac_status); }; }; then 7927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7928 (exit $ac_status); } && { 7929 test -z "$ac_cxx_werror_flag" || 7930 test ! -s conftest.err 7931 } && test -s conftest.$ac_objext; then 6966 7932 success="yes" 6967 7933 else 6968 echo "$as_me: failed program was:" >&57934 $as_echo "$as_me: failed program was:" >&5 6969 7935 sed 's/^/| /' conftest.$ac_ext >&5 6970 7936 6971 fi 6972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7937 7938 fi 7939 7940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6973 7941 fi 6974 7942 … … 6991 7959 _ACEOF 6992 7960 rm -f conftest.$ac_objext 6993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6994 (eval $ac_compile) 2>conftest.er1 7961 if { (ac_try="$ac_compile" 7962 case "(($ac_try" in 7963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7964 *) ac_try_echo=$ac_try;; 7965 esac 7966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7967 $as_echo "$ac_try_echo") >&5 7968 (eval "$ac_compile") 2>conftest.er1 6995 7969 ac_status=$? 6996 7970 grep -v '^ *+' conftest.er1 >conftest.err 6997 7971 rm -f conftest.er1 6998 7972 cat conftest.err >&5 6999 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7000 (exit $ac_status); } && 7001 { ac_try='test -z "$ac_cxx_werror_flag" 7002 || test ! -s conftest.err' 7003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7004 (eval $ac_try) 2>&5 7005 ac_status=$? 7006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7007 (exit $ac_status); }; } && 7008 { ac_try='test -s conftest.$ac_objext' 7009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7010 (eval $ac_try) 2>&5 7011 ac_status=$? 7012 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7013 (exit $ac_status); }; }; then 7973 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7974 (exit $ac_status); } && { 7975 test -z "$ac_cxx_werror_flag" || 7976 test ! -s conftest.err 7977 } && test -s conftest.$ac_objext; then 7014 7978 success="yes" 7015 7979 else 7016 echo "$as_me: failed program was:" >&57980 $as_echo "$as_me: failed program was:" >&5 7017 7981 sed 's/^/| /' conftest.$ac_ext >&5 7018 7982 7019 fi 7020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7983 7984 fi 7985 7986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7021 7987 fi 7022 7988 7023 7989 if test $success = yes; then 7024 echo "$as_me:$LINENO: result: \"no\"" >&57025 echo "${ECHO_T}\"no\"" >&6 7026 else 7027 echo "$as_me:$LINENO: result: \"yes\"" >&57028 echo "${ECHO_T}\"yes\"" >&6 7029 { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&57030 echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}7990 { $as_echo "$as_me:$LINENO: result: \"no\"" >&5 7991 $as_echo "\"no\"" >&6; } 7992 else 7993 { $as_echo "$as_me:$LINENO: result: \"yes\"" >&5 7994 $as_echo "\"yes\"" >&6; } 7995 { { $as_echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5 7996 $as_echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;} 7031 7997 { (exit 1); exit 1; }; } 7032 7998 fi … … 7041 8007 7042 8008 # check for endianness 7043 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7044 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 8009 8010 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 8011 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 7045 8012 if test "${ac_cv_c_bigendian+set}" = set; then 7046 echo $ECHO_N "(cached) $ECHO_C" >&6 7047 else 7048 # See if sys/param.h defines the BYTE_ORDER macro. 7049 cat >conftest.$ac_ext <<_ACEOF 8013 $as_echo_n "(cached) " >&6 8014 else 8015 ac_cv_c_bigendian=unknown 8016 # See if we're dealing with a universal compiler. 8017 cat >conftest.$ac_ext <<_ACEOF 8018 /* confdefs.h. */ 8019 _ACEOF 8020 cat confdefs.h >>conftest.$ac_ext 8021 cat >>conftest.$ac_ext <<_ACEOF 8022 /* end confdefs.h. */ 8023 #ifndef __APPLE_CC__ 8024 not a universal capable compiler 8025 #endif 8026 typedef int dummy; 8027 8028 _ACEOF 8029 rm -f conftest.$ac_objext 8030 if { (ac_try="$ac_compile" 8031 case "(($ac_try" in 8032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8033 *) ac_try_echo=$ac_try;; 8034 esac 8035 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8036 $as_echo "$ac_try_echo") >&5 8037 (eval "$ac_compile") 2>conftest.er1 8038 ac_status=$? 8039 grep -v '^ *+' conftest.er1 >conftest.err 8040 rm -f conftest.er1 8041 cat conftest.err >&5 8042 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8043 (exit $ac_status); } && { 8044 test -z "$ac_cxx_werror_flag" || 8045 test ! -s conftest.err 8046 } && test -s conftest.$ac_objext; then 8047 8048 # Check for potential -arch flags. It is not universal unless 8049 # there are some -arch flags. Note that *ppc* also matches 8050 # ppc64. This check is also rather less than ideal. 8051 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 8052 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 8053 esac 8054 else 8055 $as_echo "$as_me: failed program was:" >&5 8056 sed 's/^/| /' conftest.$ac_ext >&5 8057 8058 8059 fi 8060 8061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8062 if test $ac_cv_c_bigendian = unknown; then 8063 # See if sys/param.h defines the BYTE_ORDER macro. 8064 cat >conftest.$ac_ext <<_ACEOF 7050 8065 /* confdefs.h. */ 7051 8066 _ACEOF … … 7054 8069 /* end confdefs.h. */ 7055 8070 #include <sys/types.h> 7056 #include <sys/param.h>8071 #include <sys/param.h> 7057 8072 7058 8073 int 7059 8074 main () 7060 8075 { 7061 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 7062 bogus endian macros 7063 #endif 8076 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 8077 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 8078 && LITTLE_ENDIAN) 8079 bogus endian macros 8080 #endif 7064 8081 7065 8082 ; … … 7068 8085 _ACEOF 7069 8086 rm -f conftest.$ac_objext 7070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7071 (eval $ac_compile) 2>conftest.er1 8087 if { (ac_try="$ac_compile" 8088 case "(($ac_try" in 8089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8090 *) ac_try_echo=$ac_try;; 8091 esac 8092 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8093 $as_echo "$ac_try_echo") >&5 8094 (eval "$ac_compile") 2>conftest.er1 7072 8095 ac_status=$? 7073 8096 grep -v '^ *+' conftest.er1 >conftest.err 7074 8097 rm -f conftest.er1 7075 8098 cat conftest.err >&5 7076 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7077 (exit $ac_status); } && 7078 { ac_try='test -z "$ac_cxx_werror_flag" 7079 || test ! -s conftest.err' 7080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7081 (eval $ac_try) 2>&5 7082 ac_status=$? 7083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7084 (exit $ac_status); }; } && 7085 { ac_try='test -s conftest.$ac_objext' 7086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7087 (eval $ac_try) 2>&5 7088 ac_status=$? 7089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7090 (exit $ac_status); }; }; then 8099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8100 (exit $ac_status); } && { 8101 test -z "$ac_cxx_werror_flag" || 8102 test ! -s conftest.err 8103 } && test -s conftest.$ac_objext; then 7091 8104 # It does; now see whether it defined to BIG_ENDIAN or not. 7092 cat >conftest.$ac_ext <<_ACEOF8105 cat >conftest.$ac_ext <<_ACEOF 7093 8106 /* confdefs.h. */ 7094 8107 _ACEOF … … 7097 8110 /* end confdefs.h. */ 7098 8111 #include <sys/types.h> 7099 #include <sys/param.h>8112 #include <sys/param.h> 7100 8113 7101 8114 int … … 7103 8116 { 7104 8117 #if BYTE_ORDER != BIG_ENDIAN 7105 not big endian7106 #endif8118 not big endian 8119 #endif 7107 8120 7108 8121 ; … … 7111 8124 _ACEOF 7112 8125 rm -f conftest.$ac_objext 7113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7114 (eval $ac_compile) 2>conftest.er1 8126 if { (ac_try="$ac_compile" 8127 case "(($ac_try" in 8128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8129 *) ac_try_echo=$ac_try;; 8130 esac 8131 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8132 $as_echo "$ac_try_echo") >&5 8133 (eval "$ac_compile") 2>conftest.er1 7115 8134 ac_status=$? 7116 8135 grep -v '^ *+' conftest.er1 >conftest.err 7117 8136 rm -f conftest.er1 7118 8137 cat conftest.err >&5 7119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7120 (exit $ac_status); } && 7121 { ac_try='test -z "$ac_cxx_werror_flag" 7122 || test ! -s conftest.err' 7123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7124 (eval $ac_try) 2>&5 7125 ac_status=$? 7126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7127 (exit $ac_status); }; } && 7128 { ac_try='test -s conftest.$ac_objext' 7129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7130 (eval $ac_try) 2>&5 7131 ac_status=$? 7132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7133 (exit $ac_status); }; }; then 8138 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8139 (exit $ac_status); } && { 8140 test -z "$ac_cxx_werror_flag" || 8141 test ! -s conftest.err 8142 } && test -s conftest.$ac_objext; then 7134 8143 ac_cv_c_bigendian=yes 7135 8144 else 7136 echo "$as_me: failed program was:" >&58145 $as_echo "$as_me: failed program was:" >&5 7137 8146 sed 's/^/| /' conftest.$ac_ext >&5 7138 8147 7139 ac_cv_c_bigendian=no 7140 fi 7141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7142 else 7143 echo "$as_me: failed program was:" >&5 8148 ac_cv_c_bigendian=no 8149 fi 8150 8151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8152 else 8153 $as_echo "$as_me: failed program was:" >&5 7144 8154 sed 's/^/| /' conftest.$ac_ext >&5 7145 8155 7146 # It does not; compile a test program. 7147 if test "$cross_compiling" = yes; then 7148 # try to guess the endianness by grepping values into an object file 7149 ac_cv_c_bigendian=unknown 7150 cat >conftest.$ac_ext <<_ACEOF 8156 8157 fi 8158 8159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8160 fi 8161 if test $ac_cv_c_bigendian = unknown; then 8162 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 8163 cat >conftest.$ac_ext <<_ACEOF 7151 8164 /* confdefs.h. */ 7152 8165 _ACEOF … … 7154 8167 cat >>conftest.$ac_ext <<_ACEOF 7155 8168 /* end confdefs.h. */ 7156 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 7157 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 7158 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 7159 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 7160 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 7161 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 8169 #include <limits.h> 8170 7162 8171 int 7163 8172 main () 7164 8173 { 7165 _ascii (); _ebcdic (); 8174 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 8175 bogus endian macros 8176 #endif 8177 7166 8178 ; 7167 8179 return 0; … … 7169 8181 _ACEOF 7170 8182 rm -f conftest.$ac_objext 7171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7172 (eval $ac_compile) 2>conftest.er1 8183 if { (ac_try="$ac_compile" 8184 case "(($ac_try" in 8185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8186 *) ac_try_echo=$ac_try;; 8187 esac 8188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8189 $as_echo "$ac_try_echo") >&5 8190 (eval "$ac_compile") 2>conftest.er1 7173 8191 ac_status=$? 7174 8192 grep -v '^ *+' conftest.er1 >conftest.err 7175 8193 rm -f conftest.er1 7176 8194 cat conftest.err >&5 7177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7178 (exit $ac_status); } && 7179 { ac_try='test -z "$ac_cxx_werror_flag" 7180 || test ! -s conftest.err' 7181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7182 (eval $ac_try) 2>&5 7183 ac_status=$? 7184 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7185 (exit $ac_status); }; } && 7186 { ac_try='test -s conftest.$ac_objext' 7187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7188 (eval $ac_try) 2>&5 7189 ac_status=$? 7190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7191 (exit $ac_status); }; }; then 7192 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 7193 ac_cv_c_bigendian=yes 7194 fi 7195 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 7196 if test "$ac_cv_c_bigendian" = unknown; then 7197 ac_cv_c_bigendian=no 7198 else 7199 # finding both strings is unlikely to happen, but who knows? 7200 ac_cv_c_bigendian=unknown 7201 fi 7202 fi 7203 else 7204 echo "$as_me: failed program was:" >&5 7205 sed 's/^/| /' conftest.$ac_ext >&5 7206 7207 fi 7208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7209 else 7210 cat >conftest.$ac_ext <<_ACEOF 8195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8196 (exit $ac_status); } && { 8197 test -z "$ac_cxx_werror_flag" || 8198 test ! -s conftest.err 8199 } && test -s conftest.$ac_objext; then 8200 # It does; now see whether it defined to _BIG_ENDIAN or not. 8201 cat >conftest.$ac_ext <<_ACEOF 7211 8202 /* confdefs.h. */ 7212 8203 _ACEOF … … 7214 8205 cat >>conftest.$ac_ext <<_ACEOF 7215 8206 /* end confdefs.h. */ 8207 #include <limits.h> 8208 7216 8209 int 7217 8210 main () 7218 8211 { 7219 /* Are we little or big endian? From Harbison&Steele. */ 7220 union 7221 { 7222 long l; 7223 char c[sizeof (long)]; 7224 } u; 7225 u.l = 1; 7226 exit (u.c[sizeof (long) - 1] == 1); 8212 #ifndef _BIG_ENDIAN 8213 not big endian 8214 #endif 8215 8216 ; 8217 return 0; 7227 8218 } 7228 8219 _ACEOF 8220 rm -f conftest.$ac_objext 8221 if { (ac_try="$ac_compile" 8222 case "(($ac_try" in 8223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8224 *) ac_try_echo=$ac_try;; 8225 esac 8226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8227 $as_echo "$ac_try_echo") >&5 8228 (eval "$ac_compile") 2>conftest.er1 8229 ac_status=$? 8230 grep -v '^ *+' conftest.er1 >conftest.err 8231 rm -f conftest.er1 8232 cat conftest.err >&5 8233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8234 (exit $ac_status); } && { 8235 test -z "$ac_cxx_werror_flag" || 8236 test ! -s conftest.err 8237 } && test -s conftest.$ac_objext; then 8238 ac_cv_c_bigendian=yes 8239 else 8240 $as_echo "$as_me: failed program was:" >&5 8241 sed 's/^/| /' conftest.$ac_ext >&5 8242 8243 ac_cv_c_bigendian=no 8244 fi 8245 8246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8247 else 8248 $as_echo "$as_me: failed program was:" >&5 8249 sed 's/^/| /' conftest.$ac_ext >&5 8250 8251 8252 fi 8253 8254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8255 fi 8256 if test $ac_cv_c_bigendian = unknown; then 8257 # Compile a test program. 8258 if test "$cross_compiling" = yes; then 8259 # Try to guess by grepping values from an object file. 8260 cat >conftest.$ac_ext <<_ACEOF 8261 /* confdefs.h. */ 8262 _ACEOF 8263 cat confdefs.h >>conftest.$ac_ext 8264 cat >>conftest.$ac_ext <<_ACEOF 8265 /* end confdefs.h. */ 8266 short int ascii_mm[] = 8267 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 8268 short int ascii_ii[] = 8269 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 8270 int use_ascii (int i) { 8271 return ascii_mm[i] + ascii_ii[i]; 8272 } 8273 short int ebcdic_ii[] = 8274 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 8275 short int ebcdic_mm[] = 8276 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 8277 int use_ebcdic (int i) { 8278 return ebcdic_mm[i] + ebcdic_ii[i]; 8279 } 8280 extern int foo; 8281 8282 int 8283 main () 8284 { 8285 return use_ascii (foo) == use_ebcdic (foo); 8286 ; 8287 return 0; 8288 } 8289 _ACEOF 8290 rm -f conftest.$ac_objext 8291 if { (ac_try="$ac_compile" 8292 case "(($ac_try" in 8293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8294 *) ac_try_echo=$ac_try;; 8295 esac 8296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8297 $as_echo "$ac_try_echo") >&5 8298 (eval "$ac_compile") 2>conftest.er1 8299 ac_status=$? 8300 grep -v '^ *+' conftest.er1 >conftest.err 8301 rm -f conftest.er1 8302 cat conftest.err >&5 8303 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8304 (exit $ac_status); } && { 8305 test -z "$ac_cxx_werror_flag" || 8306 test ! -s conftest.err 8307 } && test -s conftest.$ac_objext; then 8308 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 8309 ac_cv_c_bigendian=yes 8310 fi 8311 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 8312 if test "$ac_cv_c_bigendian" = unknown; then 8313 ac_cv_c_bigendian=no 8314 else 8315 # finding both strings is unlikely to happen, but who knows? 8316 ac_cv_c_bigendian=unknown 8317 fi 8318 fi 8319 else 8320 $as_echo "$as_me: failed program was:" >&5 8321 sed 's/^/| /' conftest.$ac_ext >&5 8322 8323 8324 fi 8325 8326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8327 else 8328 cat >conftest.$ac_ext <<_ACEOF 8329 /* confdefs.h. */ 8330 _ACEOF 8331 cat confdefs.h >>conftest.$ac_ext 8332 cat >>conftest.$ac_ext <<_ACEOF 8333 /* end confdefs.h. */ 8334 $ac_includes_default 8335 int 8336 main () 8337 { 8338 8339 /* Are we little or big endian? From Harbison&Steele. */ 8340 union 8341 { 8342 long int l; 8343 char c[sizeof (long int)]; 8344 } u; 8345 u.l = 1; 8346 return u.c[sizeof (long int) - 1] == 1; 8347 8348 ; 8349 return 0; 8350 } 8351 _ACEOF 7229 8352 rm -f conftest$ac_exeext 7230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7231 (eval $ac_link) 2>&5 8353 if { (ac_try="$ac_link" 8354 case "(($ac_try" in 8355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8356 *) ac_try_echo=$ac_try;; 8357 esac 8358 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8359 $as_echo "$ac_try_echo") >&5 8360 (eval "$ac_link") 2>&5 7232 8361 ac_status=$? 7233 echo "$as_me:$LINENO: \$? = $ac_status" >&58362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7234 8363 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7236 (eval $ac_try) 2>&5 8364 { (case "(($ac_try" in 8365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8366 *) ac_try_echo=$ac_try;; 8367 esac 8368 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8369 $as_echo "$ac_try_echo") >&5 8370 (eval "$ac_try") 2>&5 7237 8371 ac_status=$? 7238 echo "$as_me:$LINENO: \$? = $ac_status" >&58372 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7239 8373 (exit $ac_status); }; }; then 7240 8374 ac_cv_c_bigendian=no 7241 8375 else 7242 echo "$as_me: program exited with status $ac_status" >&57243 echo "$as_me: failed program was:" >&58376 $as_echo "$as_me: program exited with status $ac_status" >&5 8377 $as_echo "$as_me: failed program was:" >&5 7244 8378 sed 's/^/| /' conftest.$ac_ext >&5 7245 8379 … … 7247 8381 ac_cv_c_bigendian=yes 7248 8382 fi 7249 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7250 fi 7251 fi 7252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7253 fi 7254 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7255 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 7256 case $ac_cv_c_bigendian in 7257 yes) 8383 rm -rf conftest.dSYM 8384 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8385 fi 8386 8387 8388 fi 8389 fi 8390 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 8391 $as_echo "$ac_cv_c_bigendian" >&6; } 8392 case $ac_cv_c_bigendian in #( 8393 yes) 8394 cat >>confdefs.h <<\_ACEOF 8395 #define WORDS_BIGENDIAN 1 8396 _ACEOF 8397 ;; #( 8398 no) 8399 ;; #( 8400 universal) 7258 8401 7259 8402 cat >>confdefs.h <<\_ACEOF 7260 #define WORDS_BIGENDIAN 1 7261 _ACEOF 7262 ;; 7263 no) 7264 ;; 7265 *) 7266 { { echo "$as_me:$LINENO: error: unknown endianness 7267 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 7268 echo "$as_me: error: unknown endianness 7269 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 8403 #define AC_APPLE_UNIVERSAL_BUILD 1 8404 _ACEOF 8405 8406 ;; #( 8407 *) 8408 { { $as_echo "$as_me:$LINENO: error: unknown endianness 8409 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 8410 $as_echo "$as_me: error: unknown endianness 8411 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 7270 8412 { (exit 1); exit 1; }; } ;; 7271 esac8413 esac 7272 8414 7273 8415 # --------------------------------------------------------------------------- 7274 8416 if test "$ac_cv_func_alloca" = 'no'; then 7275 case $LIBOBJS in 7276 "xmalloc.o.$ac_objext" | \ 7277 *" xmalloc.o.$ac_objext" | \ 7278 "xmalloc.o.$ac_objext "* | \ 8417 case " $LIBOBJS " in 7279 8418 *" xmalloc.o.$ac_objext "* ) ;; 7280 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;; 7281 esac 7282 7283 case $LIBOBJS in 7284 "error.$ac_objext" | \ 7285 *" error.$ac_objext" | \ 7286 "error.$ac_objext "* | \ 8419 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" 8420 ;; 8421 esac 8422 8423 case " $LIBOBJS " in 7287 8424 *" error.$ac_objext "* ) ;; 7288 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 8425 *) LIBOBJS="$LIBOBJS error.$ac_objext" 8426 ;; 7289 8427 esac 7290 8428 … … 7319 8457 subdirs="$subdirs common-src" 7320 8458 7321 7322 7323 8459 subdirs="$subdirs build-src" 7324 8460 … … 7329 8465 7330 8466 if test -d runtime-src; then 7331 7332 7333 subdirs="$subdirs runtime-src" 8467 subdirs="$subdirs runtime-src" 7334 8468 7335 8469 srclist="$srclist \ … … 7337 8471 fi 7338 8472 7339 ac_config_files="$ac_config_files Makefile $srclist $moduleDirs" 8473 ac_config_files="$ac_config_files Makefile $srclist $moduleDirs" 8474 7340 8475 cat >confcache <<\_ACEOF 7341 8476 # This file is a shell script that caches the results of configure … … 7356 8491 # The following way of writing the cache mishandles newlines in values, 7357 8492 # but we know of no workaround that is simple, portable, and efficient. 7358 # So, don't put newlines in cache variables' values.8493 # So, we kill variables containing newlines. 7359 8494 # Ultrix sh set writes to stderr and can't be redirected directly, 7360 8495 # and sets the high bit in the cache file unless we assign to the vars. 7361 { 8496 ( 8497 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 8498 eval ac_val=\$$ac_var 8499 case $ac_val in #( 8500 *${as_nl}*) 8501 case $ac_var in #( 8502 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 8503 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 8504 esac 8505 case $ac_var in #( 8506 _ | IFS | as_nl) ;; #( 8507 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 8508 *) $as_unset $ac_var ;; 8509 esac ;; 8510 esac 8511 done 8512 7362 8513 (set) 2>&1 | 7363 case `(ac_space=' '; set | grep ac_space) 2>&1` in7364 * ac_space=\ *)8514 case $as_nl`(ac_space=' '; set) 2>&1` in #( 8515 *${as_nl}ac_space=\ *) 7365 8516 # `set' does not quote correctly, so add quotes (double-quote 7366 8517 # substitution turns \\\\ into \\, and sed turns \\ into \). … … 7368 8519 "s/'/'\\\\''/g; 7369 8520 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7370 ;; 8521 ;; #( 7371 8522 *) 7372 8523 # `set' quotes correctly as required by POSIX, so do not add quotes. 7373 sed -n \ 7374 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 8524 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7375 8525 ;; 7376 esac; 7377 } | 8526 esac | 8527 sort 8528 ) | 7378 8529 sed ' 8530 /^ac_cv_env_/b end 7379 8531 t clear 7380 : 8532 :clear 7381 8533 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7382 8534 t end 7383 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7384 : end' >>confcache 7385 if diff $cache_file confcache >/dev/null 2>&1; then :; else 7386 if test -w $cache_file; then 7387 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 8535 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8536 :end' >>confcache 8537 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8538 if test -w "$cache_file"; then 8539 test "x$cache_file" != "x/dev/null" && 8540 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 8541 $as_echo "$as_me: updating cache $cache_file" >&6;} 7388 8542 cat confcache >$cache_file 7389 8543 else 7390 echo "not updating unwritable cache $cache_file" 8544 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 8545 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7391 8546 fi 7392 8547 fi … … 7396 8551 # Let make expand exec_prefix. 7397 8552 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7398 7399 # VPATH may cause trouble with some makes, so we remove $(srcdir),7400 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and7401 # trailing colons and then remove the whole line if VPATH becomes empty7402 # (actually we leave an empty line to preserve line numbers).7403 if test "x$srcdir" = x.; then7404 ac_vpsub='/^[ ]*VPATH[ ]*=/{7405 s/:*\$(srcdir):*/:/;7406 s/:*\${srcdir}:*/:/;7407 s/:*@srcdir@:*/:/;7408 s/^\([^=]*=[ ]*\):*/\1/;7409 s/:*$//;7410 s/^[^=]*=[ ]*$//;7411 }'7412 fi7413 8553 7414 8554 DEFS=-DHAVE_CONFIG_H … … 7418 8558 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7419 8559 # 1. Remove the extension, and $U if already installed. 7420 ac_i=`echo "$ac_i" | 7421 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 7422 # 2. Add them. 7423 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 7424 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 8560 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 8561 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 8562 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 8563 # will be set to the directory where LIBOBJS objects are built. 8564 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 8565 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 7425 8566 done 7426 8567 LIBOBJS=$ac_libobjs … … 7430 8571 7431 8572 8573 7432 8574 : ${CONFIG_STATUS=./config.status} 8575 ac_write_fail=0 7433 8576 ac_clean_files_save=$ac_clean_files 7434 8577 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 7435 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&57436 echo "$as_me: creating $CONFIG_STATUS" >&6;}7437 cat >$CONFIG_STATUS <<_ACEOF 8578 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 8579 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 8580 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7438 8581 #! $SHELL 7439 8582 # Generated by $as_me. … … 7448 8591 _ACEOF 7449 8592 7450 cat >>$CONFIG_STATUS <<\_ACEOF 8593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7451 8594 ## --------------------- ## 7452 8595 ## M4sh Initialization. ## 7453 8596 ## --------------------- ## 7454 8597 7455 # Be Bourne compatible 8598 # Be more Bourne compatible 8599 DUALCASE=1; export DUALCASE # for MKS sh 7456 8600 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 7457 8601 emulate sh 7458 8602 NULLCMD=: 7459 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which8603 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 7460 8604 # is contrary to our usage. Disable this feature. 7461 8605 alias -g '${1+"$@"}'='"$@"' 7462 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 7463 set -o posix 7464 fi 7465 DUALCASE=1; export DUALCASE # for MKS sh 7466 7467 # Support unset when possible. 7468 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7469 as_unset=unset 7470 else 7471 as_unset=false 7472 fi 7473 7474 7475 # Work around bugs in pre-3.0 UWIN ksh. 7476 $as_unset ENV MAIL MAILPATH 7477 PS1='$ ' 7478 PS2='> ' 7479 PS4='+ ' 7480 7481 # NLS nuisances. 7482 for as_var in \ 7483 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 7484 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 7485 LC_TELEPHONE LC_TIME 7486 do 7487 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 7488 eval $as_var=C; export $as_var 7489 else 7490 $as_unset $as_var 7491 fi 7492 done 7493 7494 # Required to use basename. 7495 if expr a : '\(a\)' >/dev/null 2>&1; then 7496 as_expr=expr 7497 else 7498 as_expr=false 7499 fi 7500 7501 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 7502 as_basename=basename 7503 else 7504 as_basename=false 7505 fi 7506 7507 7508 # Name of the executable. 7509 as_me=`$as_basename "$0" || 7510 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7511 X"$0" : 'X\(//\)$' \| \ 7512 X"$0" : 'X\(/\)$' \| \ 7513 . : '\(.\)' 2>/dev/null || 7514 echo X/"$0" | 7515 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 7516 /^X\/\(\/\/\)$/{ s//\1/; q; } 7517 /^X\/\(\/\).*/{ s//\1/; q; } 7518 s/.*/./; q'` 7519 7520 7521 # PATH needs CR, and LINENO needs CR and PATH. 8606 setopt NO_GLOB_SUBST 8607 else 8608 case `(set -o) 2>/dev/null` in 8609 *posix*) set -o posix ;; 8610 esac 8611 8612 fi 8613 8614 8615 8616 8617 # PATH needs CR 7522 8618 # Avoid depending upon Character Ranges. 7523 8619 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 7527 8623 as_cr_alnum=$as_cr_Letters$as_cr_digits 7528 8624 8625 as_nl=' 8626 ' 8627 export as_nl 8628 # Printing a long string crashes Solaris 7 /usr/bin/printf. 8629 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 8630 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 8631 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 8632 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 8633 as_echo='printf %s\n' 8634 as_echo_n='printf %s' 8635 else 8636 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 8637 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 8638 as_echo_n='/usr/ucb/echo -n' 8639 else 8640 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 8641 as_echo_n_body='eval 8642 arg=$1; 8643 case $arg in 8644 *"$as_nl"*) 8645 expr "X$arg" : "X\\(.*\\)$as_nl"; 8646 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 8647 esac; 8648 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 8649 ' 8650 export as_echo_n_body 8651 as_echo_n='sh -c $as_echo_n_body as_echo' 8652 fi 8653 export as_echo_body 8654 as_echo='sh -c $as_echo_body as_echo' 8655 fi 8656 7529 8657 # The user is always right. 7530 8658 if test "${PATH_SEPARATOR+set}" != set; then 7531 echo "#! /bin/sh" >conf$$.sh 7532 echo "exit 0" >>conf$$.sh 7533 chmod +x conf$$.sh 7534 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 7535 PATH_SEPARATOR=';' 7536 else 7537 PATH_SEPARATOR=: 7538 fi 7539 rm -f conf$$.sh 7540 fi 7541 7542 7543 as_lineno_1=$LINENO 7544 as_lineno_2=$LINENO 7545 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 7546 test "x$as_lineno_1" != "x$as_lineno_2" && 7547 test "x$as_lineno_3" = "x$as_lineno_2" || { 7548 # Find who we are. Look in the path if we contain no path at all 7549 # relative or not. 7550 case $0 in 7551 *[\\/]* ) as_myself=$0 ;; 7552 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8659 PATH_SEPARATOR=: 8660 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 8661 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 8662 PATH_SEPARATOR=';' 8663 } 8664 fi 8665 8666 # Support unset when possible. 8667 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8668 as_unset=unset 8669 else 8670 as_unset=false 8671 fi 8672 8673 8674 # IFS 8675 # We need space, tab and new line, in precisely that order. Quoting is 8676 # there to prevent editors from complaining about space-tab. 8677 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 8678 # splitting by setting IFS to empty value.) 8679 IFS=" "" $as_nl" 8680 8681 # Find who we are. Look in the path if we contain no directory separator. 8682 case $0 in 8683 *[\\/]* ) as_myself=$0 ;; 8684 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7553 8685 for as_dir in $PATH 7554 8686 do … … 7557 8689 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 7558 8690 done 7559 7560 ;; 7561 esac 7562 # We did not find ourselves, most probably we were run as `sh COMMAND' 7563 # in which case we are not to be found in the path. 7564 if test "x$as_myself" = x; then 7565 as_myself=$0 7566 fi 7567 if test ! -f "$as_myself"; then 7568 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 7569 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 7570 { (exit 1); exit 1; }; } 7571 fi 7572 case $CONFIG_SHELL in 7573 '') 7574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7575 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 7576 do 7577 IFS=$as_save_IFS 7578 test -z "$as_dir" && as_dir=. 7579 for as_base in sh bash ksh sh5; do 7580 case $as_dir in 7581 /*) 7582 if ("$as_dir/$as_base" -c ' 8691 IFS=$as_save_IFS 8692 8693 ;; 8694 esac 8695 # We did not find ourselves, most probably we were run as `sh COMMAND' 8696 # in which case we are not to be found in the path. 8697 if test "x$as_myself" = x; then 8698 as_myself=$0 8699 fi 8700 if test ! -f "$as_myself"; then 8701 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 8702 { (exit 1); exit 1; } 8703 fi 8704 8705 # Work around bugs in pre-3.0 UWIN ksh. 8706 for as_var in ENV MAIL MAILPATH 8707 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 8708 done 8709 PS1='$ ' 8710 PS2='> ' 8711 PS4='+ ' 8712 8713 # NLS nuisances. 8714 LC_ALL=C 8715 export LC_ALL 8716 LANGUAGE=C 8717 export LANGUAGE 8718 8719 # Required to use basename. 8720 if expr a : '\(a\)' >/dev/null 2>&1 && 8721 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8722 as_expr=expr 8723 else 8724 as_expr=false 8725 fi 8726 8727 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 8728 as_basename=basename 8729 else 8730 as_basename=false 8731 fi 8732 8733 8734 # Name of the executable. 8735 as_me=`$as_basename -- "$0" || 8736 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8737 X"$0" : 'X\(//\)$' \| \ 8738 X"$0" : 'X\(/\)' \| . 2>/dev/null || 8739 $as_echo X/"$0" | 8740 sed '/^.*\/\([^/][^/]*\)\/*$/{ 8741 s//\1/ 8742 q 8743 } 8744 /^X\/\(\/\/\)$/{ 8745 s//\1/ 8746 q 8747 } 8748 /^X\/\(\/\).*/{ 8749 s//\1/ 8750 q 8751 } 8752 s/.*/./; q'` 8753 8754 # CDPATH. 8755 $as_unset CDPATH 8756 8757 8758 7583 8759 as_lineno_1=$LINENO 7584 8760 as_lineno_2=$LINENO 7585 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`7586 8761 test "x$as_lineno_1" != "x$as_lineno_2" && 7587 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 7588 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 7589 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 7590 CONFIG_SHELL=$as_dir/$as_base 7591 export CONFIG_SHELL 7592 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 7593 fi;; 7594 esac 7595 done 7596 done 7597 ;; 7598 esac 8762 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 7599 8763 7600 8764 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 7601 8765 # uniformly replaced by the line number. The first 'sed' inserts a 7602 # line-number line before each line; the second 'sed' does the real 7603 # work. The second script uses 'N' to pair each line-number line 7604 # with the numbered line, and appends trailing '-' during 7605 # substitution so that $LINENO is not a special case at line end. 8766 # line-number line after each line using $LINENO; the second 'sed' 8767 # does the real work. The second script uses 'N' to pair each 8768 # line-number line with the line containing $LINENO, and appends 8769 # trailing '-' during substitution so that $LINENO is not a special 8770 # case at line end. 7606 8771 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 7607 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 7608 sed '=' <$as_myself | 8772 # scripts with optimization help from Paolo Bonzini. Blame Lee 8773 # E. McMahon (1931-1989) for sed's syntax. :-) 8774 sed -n ' 8775 p 8776 /[$]LINENO/= 8777 ' <$as_myself | 7609 8778 sed ' 8779 s/[$]LINENO.*/&-/ 8780 t lineno 8781 b 8782 :lineno 7610 8783 N 7611 s,$,-, 7612 : loop 7613 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 8784 :loop 8785 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 7614 8786 t loop 7615 s,-$,, 7616 s,^['$as_cr_digits']*\n,, 8787 s/-\n.*// 7617 8788 ' >$as_me.lineno && 7618 chmod +x $as_me.lineno || 7619 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 7620 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 8789 chmod +x "$as_me.lineno" || 8790 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 7621 8791 { (exit 1); exit 1; }; } 7622 8792 7623 8793 # Don't try to exec as it changes $[0], causing all sort of problems 7624 8794 # (the dirname of $[0] is not the place where we might find the 7625 # original and so on. Autoconf is especially sensi ble to this).7626 . ./$as_me.lineno8795 # original and so on. Autoconf is especially sensitive to this). 8796 . "./$as_me.lineno" 7627 8797 # Exit status is that of the last command. 7628 8798 exit … … 7630 8800 7631 8801 7632 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 7633 *c*,-n*) ECHO_N= ECHO_C=' 7634 ' ECHO_T=' ' ;; 7635 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 7636 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 7637 esac 7638 7639 if expr a : '\(a\)' >/dev/null 2>&1; then 8802 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8803 as_dirname=dirname 8804 else 8805 as_dirname=false 8806 fi 8807 8808 ECHO_C= ECHO_N= ECHO_T= 8809 case `echo -n x` in 8810 -n*) 8811 case `echo 'x\c'` in 8812 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 8813 *) ECHO_C='\c';; 8814 esac;; 8815 *) 8816 ECHO_N='-n';; 8817 esac 8818 if expr a : '\(a\)' >/dev/null 2>&1 && 8819 test "X`expr 00001 : '.*\(...\)'`" = X001; then 7640 8820 as_expr=expr 7641 8821 else … … 7644 8824 7645 8825 rm -f conf$$ conf$$.exe conf$$.file 7646 echo >conf$$.file 7647 if ln -s conf$$.file conf$$ 2>/dev/null; then 7648 # We could just check for DJGPP; but this test a) works b) is more generic 7649 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 7650 if test -f conf$$.exe; then 7651 # Don't use ln at all; we don't have any links 8826 if test -d conf$$.dir; then 8827 rm -f conf$$.dir/conf$$.file 8828 else 8829 rm -f conf$$.dir 8830 mkdir conf$$.dir 2>/dev/null 8831 fi 8832 if (echo >conf$$.file) 2>/dev/null; then 8833 if ln -s conf$$.file conf$$ 2>/dev/null; then 8834 as_ln_s='ln -s' 8835 # ... but there are two gotchas: 8836 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8837 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8838 # In both cases, we have to default to `cp -p'. 8839 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 8840 as_ln_s='cp -p' 8841 elif ln conf$$.file conf$$ 2>/dev/null; then 8842 as_ln_s=ln 8843 else 7652 8844 as_ln_s='cp -p' 7653 else7654 as_ln_s='ln -s'7655 8845 fi 7656 elif ln conf$$.file conf$$ 2>/dev/null; then7657 as_ln_s=ln7658 8846 else 7659 8847 as_ln_s='cp -p' 7660 8848 fi 7661 rm -f conf$$ conf$$.exe conf$$.file 8849 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 8850 rmdir conf$$.dir 2>/dev/null 7662 8851 7663 8852 if mkdir -p . 2>/dev/null; then … … 7668 8857 fi 7669 8858 7670 as_executable_p="test -f" 8859 if test -x / >/dev/null 2>&1; then 8860 as_test_x='test -x' 8861 else 8862 if ls -dL / >/dev/null 2>&1; then 8863 as_ls_L_option=L 8864 else 8865 as_ls_L_option= 8866 fi 8867 as_test_x=' 8868 eval sh -c '\'' 8869 if test -d "$1"; then 8870 test -d "$1/."; 8871 else 8872 case $1 in 8873 -*)set "./$1";; 8874 esac; 8875 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 8876 ???[sx]*):;;*)false;;esac;fi 8877 '\'' sh 8878 ' 8879 fi 8880 as_executable_p=$as_test_x 7671 8881 7672 8882 # Sed expression to map a string onto a valid CPP name. … … 7677 8887 7678 8888 7679 # IFS7680 # We need space, tab and new line, in precisely that order.7681 as_nl='7682 '7683 IFS=" $as_nl"7684 7685 # CDPATH.7686 $as_unset CDPATH7687 7688 8889 exec 6>&1 7689 8890 7690 # Open the log real soon, to keep \$[0] and so on meaningful, and to8891 # Save the log message, to keep $[0] and so on meaningful, and to 7691 8892 # report actual input values of CONFIG_FILES etc. instead of their 7692 # values after options handling. Logging --version etc. is OK. 8893 # values after options handling. 8894 ac_log=" 8895 This file was extended by $as_me, which was 8896 generated by GNU Autoconf 2.63. Invocation command line was 8897 8898 CONFIG_FILES = $CONFIG_FILES 8899 CONFIG_HEADERS = $CONFIG_HEADERS 8900 CONFIG_LINKS = $CONFIG_LINKS 8901 CONFIG_COMMANDS = $CONFIG_COMMANDS 8902 $ $0 $@ 8903 8904 on `(hostname || uname -n) 2>/dev/null | sed 1q` 8905 " 8906 8907 _ACEOF 8908 8909 case $ac_config_files in *" 8910 "*) set x $ac_config_files; shift; ac_config_files=$*;; 8911 esac 8912 8913 case $ac_config_headers in *" 8914 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 8915 esac 8916 8917 8918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8919 # Files that config.status was made for. 8920 config_files="$ac_config_files" 8921 config_headers="$ac_config_headers" 8922 8923 _ACEOF 8924 8925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8926 ac_cs_usage="\ 8927 \`$as_me' instantiates files from templates according to the 8928 current configuration. 8929 8930 Usage: $0 [OPTION]... [FILE]... 8931 8932 -h, --help print this help, then exit 8933 -V, --version print version number and configuration settings, then exit 8934 -q, --quiet, --silent 8935 do not print progress messages 8936 -d, --debug don't remove temporary files 8937 --recheck update $as_me by reconfiguring in the same conditions 8938 --file=FILE[:TEMPLATE] 8939 instantiate the configuration file FILE 8940 --header=FILE[:TEMPLATE] 8941 instantiate the configuration header FILE 8942 8943 Configuration files: 8944 $config_files 8945 8946 Configuration headers: 8947 $config_headers 8948 8949 Report bugs to <[email protected]>." 8950 8951 _ACEOF 8952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8953 ac_cs_version="\\ 8954 config.status 8955 configured by $0, generated by GNU Autoconf 2.63, 8956 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 8957 8958 Copyright (C) 2008 Free Software Foundation, Inc. 8959 This config.status script is free software; the Free Software Foundation 8960 gives unlimited permission to copy, distribute and modify it." 8961 8962 ac_pwd='$ac_pwd' 8963 srcdir='$srcdir' 8964 INSTALL='$INSTALL' 8965 AWK='$AWK' 8966 test -n "\$AWK" || AWK=awk 8967 _ACEOF 8968 8969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8970 # The default lists apply if the user does not specify any file. 8971 ac_need_defaults=: 8972 while test $# != 0 8973 do 8974 case $1 in 8975 --*=*) 8976 ac_option=`expr "X$1" : 'X\([^=]*\)='` 8977 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 8978 ac_shift=: 8979 ;; 8980 *) 8981 ac_option=$1 8982 ac_optarg=$2 8983 ac_shift=shift 8984 ;; 8985 esac 8986 8987 case $ac_option in 8988 # Handling of the options. 8989 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8990 ac_cs_recheck=: ;; 8991 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 8992 $as_echo "$ac_cs_version"; exit ;; 8993 --debug | --debu | --deb | --de | --d | -d ) 8994 debug=: ;; 8995 --file | --fil | --fi | --f ) 8996 $ac_shift 8997 case $ac_optarg in 8998 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 8999 esac 9000 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 9001 ac_need_defaults=false;; 9002 --header | --heade | --head | --hea ) 9003 $ac_shift 9004 case $ac_optarg in 9005 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9006 esac 9007 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 9008 ac_need_defaults=false;; 9009 --he | --h) 9010 # Conflict between --help and --header 9011 { $as_echo "$as_me: error: ambiguous option: $1 9012 Try \`$0 --help' for more information." >&2 9013 { (exit 1); exit 1; }; };; 9014 --help | --hel | -h ) 9015 $as_echo "$ac_cs_usage"; exit ;; 9016 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9017 | -silent | --silent | --silen | --sile | --sil | --si | --s) 9018 ac_cs_silent=: ;; 9019 9020 # This is an error. 9021 -*) { $as_echo "$as_me: error: unrecognized option: $1 9022 Try \`$0 --help' for more information." >&2 9023 { (exit 1); exit 1; }; } ;; 9024 9025 *) ac_config_targets="$ac_config_targets $1" 9026 ac_need_defaults=false ;; 9027 9028 esac 9029 shift 9030 done 9031 9032 ac_configure_extra_args= 9033 9034 if $ac_cs_silent; then 9035 exec 6>/dev/null 9036 ac_configure_extra_args="$ac_configure_extra_args --silent" 9037 fi 9038 9039 _ACEOF 9040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9041 if \$ac_cs_recheck; then 9042 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9043 shift 9044 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 9045 CONFIG_SHELL='$SHELL' 9046 export CONFIG_SHELL 9047 exec "\$@" 9048 fi 9049 9050 _ACEOF 9051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7693 9052 exec 5>>config.log 7694 9053 { … … 7697 9056 ## Running $as_me. ## 7698 9057 _ASBOX 9058 $as_echo "$ac_log" 7699 9059 } >&5 7700 cat >&5 <<_CSEOF 7701 7702 This file was extended by $as_me, which was 7703 generated by GNU Autoconf 2.59. Invocation command line was 7704 7705 CONFIG_FILES = $CONFIG_FILES 7706 CONFIG_HEADERS = $CONFIG_HEADERS 7707 CONFIG_LINKS = $CONFIG_LINKS 7708 CONFIG_COMMANDS = $CONFIG_COMMANDS 7709 $ $0 $@ 7710 7711 _CSEOF 7712 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 7713 echo >&5 7714 _ACEOF 7715 7716 # Files that config.status was made for. 7717 if test -n "$ac_config_files"; then 7718 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 7719 fi 7720 7721 if test -n "$ac_config_headers"; then 7722 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 7723 fi 7724 7725 if test -n "$ac_config_links"; then 7726 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 7727 fi 7728 7729 if test -n "$ac_config_commands"; then 7730 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 7731 fi 7732 7733 cat >>$CONFIG_STATUS <<\_ACEOF 7734 7735 ac_cs_usage="\ 7736 \`$as_me' instantiates files from templates according to the 7737 current configuration. 7738 7739 Usage: $0 [OPTIONS] [FILE]... 7740 7741 -h, --help print this help, then exit 7742 -V, --version print version number, then exit 7743 -q, --quiet do not print progress messages 7744 -d, --debug don't remove temporary files 7745 --recheck update $as_me by reconfiguring in the same conditions 7746 --file=FILE[:TEMPLATE] 7747 instantiate the configuration file FILE 7748 --header=FILE[:TEMPLATE] 7749 instantiate the configuration header FILE 7750 7751 Configuration files: 7752 $config_files 7753 7754 Configuration headers: 7755 $config_headers 7756 7757 Report bugs to <[email protected]>." 7758 _ACEOF 7759 7760 cat >>$CONFIG_STATUS <<_ACEOF 7761 ac_cs_version="\\ 7762 config.status 7763 configured by $0, generated by GNU Autoconf 2.59, 7764 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 7765 7766 Copyright (C) 2003 Free Software Foundation, Inc. 7767 This config.status script is free software; the Free Software Foundation 7768 gives unlimited permission to copy, distribute and modify it." 7769 srcdir=$srcdir 7770 INSTALL="$INSTALL" 7771 _ACEOF 7772 7773 cat >>$CONFIG_STATUS <<\_ACEOF 7774 # If no file are specified by the user, then we need to provide default 7775 # value. By we need to know if files were specified by the user. 7776 ac_need_defaults=: 7777 while test $# != 0 7778 do 7779 case $1 in 7780 --*=*) 7781 ac_option=`expr "x$1" : 'x\([^=]*\)='` 7782 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 7783 ac_shift=: 7784 ;; 7785 -*) 7786 ac_option=$1 7787 ac_optarg=$2 7788 ac_shift=shift 7789 ;; 7790 *) # This is not an option, so the user has probably given explicit 7791 # arguments. 7792 ac_option=$1 7793 ac_need_defaults=false;; 7794 esac 7795 7796 case $ac_option in 7797 # Handling of the options. 7798 _ACEOF 7799 cat >>$CONFIG_STATUS <<\_ACEOF 7800 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7801 ac_cs_recheck=: ;; 7802 --version | --vers* | -V ) 7803 echo "$ac_cs_version"; exit 0 ;; 7804 --he | --h) 7805 # Conflict between --help and --header 7806 { { echo "$as_me:$LINENO: error: ambiguous option: $1 7807 Try \`$0 --help' for more information." >&5 7808 echo "$as_me: error: ambiguous option: $1 7809 Try \`$0 --help' for more information." >&2;} 7810 { (exit 1); exit 1; }; };; 7811 --help | --hel | -h ) 7812 echo "$ac_cs_usage"; exit 0 ;; 7813 --debug | --d* | -d ) 7814 debug=: ;; 7815 --file | --fil | --fi | --f ) 7816 $ac_shift 7817 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 7818 ac_need_defaults=false;; 7819 --header | --heade | --head | --hea ) 7820 $ac_shift 7821 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 7822 ac_need_defaults=false;; 7823 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7824 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7825 ac_cs_silent=: ;; 7826 7827 # This is an error. 7828 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 7829 Try \`$0 --help' for more information." >&5 7830 echo "$as_me: error: unrecognized option: $1 7831 Try \`$0 --help' for more information." >&2;} 7832 { (exit 1); exit 1; }; } ;; 7833 7834 *) ac_config_targets="$ac_config_targets $1" ;; 7835 7836 esac 7837 shift 7838 done 7839 7840 ac_configure_extra_args= 7841 7842 if $ac_cs_silent; then 7843 exec 6>/dev/null 7844 ac_configure_extra_args="$ac_configure_extra_args --silent" 7845 fi 7846 7847 _ACEOF 7848 cat >>$CONFIG_STATUS <<_ACEOF 7849 if \$ac_cs_recheck; then 7850 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 7851 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7852 fi 7853 7854 _ACEOF 7855 7856 7857 7858 7859 7860 cat >>$CONFIG_STATUS <<\_ACEOF 9060 9061 _ACEOF 9062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9063 _ACEOF 9064 9065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9066 9067 # Handling of arguments. 7861 9068 for ac_config_target in $ac_config_targets 7862 9069 do 7863 case "$ac_config_target"in7864 # Handling of arguments.7865 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;7866 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;7867 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;7868 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 7869 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&57870 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}9070 case $ac_config_target in 9071 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 9072 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 9073 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;; 9074 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 9075 9076 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 9077 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 7871 9078 { (exit 1); exit 1; }; };; 7872 9079 esac 7873 9080 done 9081 7874 9082 7875 9083 # If the user did not use the arguments to specify the items to instantiate, … … 7883 9091 7884 9092 # Have a temporary directory for convenience. Make it in the build tree 7885 # simply because there is no reason to putit here, and in addition,9093 # simply because there is no reason against having it here, and in addition, 7886 9094 # creating and moving files from /tmp can sometimes cause problems. 7887 # Create a temporary directory, and hook for its removal unless debugging. 9095 # Hook for its removal unless debugging. 9096 # Note that there is a small window in which the directory will not be cleaned: 9097 # after its creation but before its name has been assigned to `$tmp'. 7888 9098 $debug || 7889 9099 { 7890 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 9100 tmp= 9101 trap 'exit_status=$? 9102 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9103 ' 0 7891 9104 trap '{ (exit 1); exit 1; }' 1 2 13 15 7892 9105 } 7893 7894 9106 # Create a (secure) tmp directory for tmp files. 7895 9107 7896 9108 { 7897 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&9109 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7898 9110 test -n "$tmp" && test -d "$tmp" 7899 9111 } || 7900 9112 { 7901 tmp=./conf stat$$-$RANDOM7902 (umask 077 && mkdir $tmp)9113 tmp=./conf$$-$RANDOM 9114 (umask 077 && mkdir "$tmp") 7903 9115 } || 7904 9116 { 7905 echo "$me: cannot create a temporary directory in ." >&29117 $as_echo "$as_me: cannot create a temporary directory in ." >&2 7906 9118 { (exit 1); exit 1; } 7907 9119 } 7908 9120 7909 _ACEOF 7910 7911 cat >>$CONFIG_STATUS <<_ACEOF 7912 7913 # 7914 # CONFIG_FILES section. 7915 # 7916 7917 # No need to generate the scripts if there are no CONFIG_FILES. 7918 # This happens for instance when ./config.status config.h 7919 if test -n "\$CONFIG_FILES"; then 7920 # Protect against being on the right side of a sed subst in config.status. 7921 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 7922 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 7923 s,@SHELL@,$SHELL,;t t 7924 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 7925 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 7926 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 7927 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 7928 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 7929 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 7930 s,@exec_prefix@,$exec_prefix,;t t 7931 s,@prefix@,$prefix,;t t 7932 s,@program_transform_name@,$program_transform_name,;t t 7933 s,@bindir@,$bindir,;t t 7934 s,@sbindir@,$sbindir,;t t 7935 s,@libexecdir@,$libexecdir,;t t 7936 s,@datadir@,$datadir,;t t 7937 s,@sysconfdir@,$sysconfdir,;t t 7938 s,@sharedstatedir@,$sharedstatedir,;t t 7939 s,@localstatedir@,$localstatedir,;t t 7940 s,@libdir@,$libdir,;t t 7941 s,@includedir@,$includedir,;t t 7942 s,@oldincludedir@,$oldincludedir,;t t 7943 s,@infodir@,$infodir,;t t 7944 s,@mandir@,$mandir,;t t 7945 s,@build_alias@,$build_alias,;t t 7946 s,@host_alias@,$host_alias,;t t 7947 s,@target_alias@,$target_alias,;t t 7948 s,@DEFS@,$DEFS,;t t 7949 s,@ECHO_C@,$ECHO_C,;t t 7950 s,@ECHO_N@,$ECHO_N,;t t 7951 s,@ECHO_T@,$ECHO_T,;t t 7952 s,@LIBS@,$LIBS,;t t 7953 s,@PACKAGE@,$PACKAGE,;t t 7954 s,@VERSION@,$VERSION,;t t 7955 s,@USE_FASTCGI@,$USE_FASTCGI,;t t 7956 s,@USE_LANGACTION@,$USE_LANGACTION,;t t 7957 s,@USE_CORBA@,$USE_CORBA,;t t 7958 s,@MICO_DIR@,$MICO_DIR,;t t 7959 s,@USE_Z3950@,$USE_Z3950,;t t 7960 s,@USE_YAZ@,$USE_YAZ,;t t 7961 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 7962 s,@USE_SQLITE@,$USE_SQLITE,;t t 7963 s,@USE_APACHE_HTTPD@,$USE_APACHE_HTTPD,;t t 7964 s,@ENABLE_JNI@,$ENABLE_JNI,;t t 7965 s,@ENABLE_MG@,$ENABLE_MG,;t t 7966 s,@ENABLE_MGPP@,$ENABLE_MGPP,;t t 7967 s,@ENABLE_LUCENE@,$ENABLE_LUCENE,;t t 7968 s,@LDFLAGS@,$LDFLAGS,;t t 7969 s,@CFLAGS@,$CFLAGS,;t t 7970 s,@CC@,$CC,;t t 7971 s,@CPPFLAGS@,$CPPFLAGS,;t t 7972 s,@ac_ct_CC@,$ac_ct_CC,;t t 7973 s,@EXEEXT@,$EXEEXT,;t t 7974 s,@OBJEXT@,$OBJEXT,;t t 7975 s,@CXX@,$CXX,;t t 7976 s,@CXXFLAGS@,$CXXFLAGS,;t t 7977 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 7978 s,@AWK@,$AWK,;t t 7979 s,@YACC@,$YACC,;t t 7980 s,@build@,$build,;t t 7981 s,@build_cpu@,$build_cpu,;t t 7982 s,@build_vendor@,$build_vendor,;t t 7983 s,@build_os@,$build_os,;t t 7984 s,@host@,$host,;t t 7985 s,@host_cpu@,$host_cpu,;t t 7986 s,@host_vendor@,$host_vendor,;t t 7987 s,@host_os@,$host_os,;t t 7988 s,@target@,$target,;t t 7989 s,@target_cpu@,$target_cpu,;t t 7990 s,@target_vendor@,$target_vendor,;t t 7991 s,@target_os@,$target_os,;t t 7992 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 7993 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 7994 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 7995 s,@LN_S@,$LN_S,;t t 7996 s,@SET_MAKE@,$SET_MAKE,;t t 7997 s,@RANLIB@,$RANLIB,;t t 7998 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 7999 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 8000 s,@MICO_VER@,$MICO_VER,;t t 8001 s,@CPP@,$CPP,;t t 8002 s,@EGREP@,$EGREP,;t t 8003 s,@U@,$U,;t t 8004 s,@ANSI2KNR@,$ANSI2KNR,;t t 8005 s,@ALLOCA@,$ALLOCA,;t t 8006 s,@LIBOBJS@,$LIBOBJS,;t t 8007 s,@STATIC@,$STATIC,;t t 8008 s,@gsdlos@,$gsdlos,;t t 8009 s,@MODULEDIRS@,$MODULEDIRS,;t t 8010 s,@subdirs@,$subdirs,;t t 8011 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 8012 CEOF 8013 8014 _ACEOF 8015 8016 cat >>$CONFIG_STATUS <<\_ACEOF 8017 # Split the substitutions into bite-sized pieces for seds with 8018 # small command number limits, like on Digital OSF/1 and HP-UX. 8019 ac_max_sed_lines=48 8020 ac_sed_frag=1 # Number of current file. 8021 ac_beg=1 # First line for current file. 8022 ac_end=$ac_max_sed_lines # Line after last line for current file. 8023 ac_more_lines=: 8024 ac_sed_cmds= 8025 while $ac_more_lines; do 8026 if test $ac_beg -gt 1; then 8027 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8028 else 8029 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 9121 # Set up the scripts for CONFIG_FILES section. 9122 # No need to generate them if there are no CONFIG_FILES. 9123 # This happens for instance with `./config.status config.h'. 9124 if test -n "$CONFIG_FILES"; then 9125 9126 9127 ac_cr=' 9128 ' 9129 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 9130 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 9131 ac_cs_awk_cr='\\r' 9132 else 9133 ac_cs_awk_cr=$ac_cr 9134 fi 9135 9136 echo 'BEGIN {' >"$tmp/subs1.awk" && 9137 _ACEOF 9138 9139 9140 { 9141 echo "cat >conf$$subs.awk <<_ACEOF" && 9142 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 9143 echo "_ACEOF" 9144 } >conf$$subs.sh || 9145 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9146 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9147 { (exit 1); exit 1; }; } 9148 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 9149 ac_delim='%!_!# ' 9150 for ac_last_try in false false false false false :; do 9151 . ./conf$$subs.sh || 9152 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9153 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9154 { (exit 1); exit 1; }; } 9155 9156 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 9157 if test $ac_delim_n = $ac_delim_num; then 9158 break 9159 elif $ac_last_try; then 9160 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9161 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9162 { (exit 1); exit 1; }; } 9163 else 9164 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9165 fi 9166 done 9167 rm -f conf$$subs.sh 9168 9169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9170 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 9171 _ACEOF 9172 sed -n ' 9173 h 9174 s/^/S["/; s/!.*/"]=/ 9175 p 9176 g 9177 s/^[^!]*!// 9178 :repl 9179 t repl 9180 s/'"$ac_delim"'$// 9181 t delim 9182 :nl 9183 h 9184 s/\(.\{148\}\).*/\1/ 9185 t more1 9186 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 9187 p 9188 n 9189 b repl 9190 :more1 9191 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9192 p 9193 g 9194 s/.\{148\}// 9195 t nl 9196 :delim 9197 h 9198 s/\(.\{148\}\).*/\1/ 9199 t more2 9200 s/["\\]/\\&/g; s/^/"/; s/$/"/ 9201 p 9202 b 9203 :more2 9204 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9205 p 9206 g 9207 s/.\{148\}// 9208 t delim 9209 ' <conf$$subs.awk | sed ' 9210 /^[^""]/{ 9211 N 9212 s/\n// 9213 } 9214 ' >>$CONFIG_STATUS || ac_write_fail=1 9215 rm -f conf$$subs.awk 9216 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9217 _ACAWK 9218 cat >>"\$tmp/subs1.awk" <<_ACAWK && 9219 for (key in S) S_is_set[key] = 1 9220 FS = "" 9221 9222 } 9223 { 9224 line = $ 0 9225 nfields = split(line, field, "@") 9226 substed = 0 9227 len = length(field[1]) 9228 for (i = 2; i < nfields; i++) { 9229 key = field[i] 9230 keylen = length(key) 9231 if (S_is_set[key]) { 9232 value = S[key] 9233 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 9234 len += length(value) + length(field[++i]) 9235 substed = 1 9236 } else 9237 len += 1 + keylen 9238 } 9239 9240 print line 9241 } 9242 9243 _ACAWK 9244 _ACEOF 9245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9246 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9247 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 9248 else 9249 cat 9250 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 9251 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 9252 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 9253 { (exit 1); exit 1; }; } 9254 _ACEOF 9255 9256 # VPATH may cause trouble with some makes, so we remove $(srcdir), 9257 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9258 # trailing colons and then remove the whole line if VPATH becomes empty 9259 # (actually we leave an empty line to preserve line numbers). 9260 if test "x$srcdir" = x.; then 9261 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 9262 s/:*\$(srcdir):*/:/ 9263 s/:*\${srcdir}:*/:/ 9264 s/:*@srcdir@:*/:/ 9265 s/^\([^=]*=[ ]*\):*/\1/ 9266 s/:*$// 9267 s/^[^=]*=[ ]*$// 9268 }' 9269 fi 9270 9271 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9272 fi # test -n "$CONFIG_FILES" 9273 9274 # Set up the scripts for CONFIG_HEADERS section. 9275 # No need to generate them if there are no CONFIG_HEADERS. 9276 # This happens for instance with `./config.status Makefile'. 9277 if test -n "$CONFIG_HEADERS"; then 9278 cat >"$tmp/defines.awk" <<\_ACAWK || 9279 BEGIN { 9280 _ACEOF 9281 9282 # Transform confdefs.h into an awk script `defines.awk', embedded as 9283 # here-document in config.status, that substitutes the proper values into 9284 # config.h.in to produce config.h. 9285 9286 # Create a delimiter string that does not exist in confdefs.h, to ease 9287 # handling of long lines. 9288 ac_delim='%!_!# ' 9289 for ac_last_try in false false :; do 9290 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 9291 if test -z "$ac_t"; then 9292 break 9293 elif $ac_last_try; then 9294 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 9295 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 9296 { (exit 1); exit 1; }; } 9297 else 9298 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9299 fi 9300 done 9301 9302 # For the awk script, D is an array of macro values keyed by name, 9303 # likewise P contains macro parameters if any. Preserve backslash 9304 # newline sequences. 9305 9306 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 9307 sed -n ' 9308 s/.\{148\}/&'"$ac_delim"'/g 9309 t rset 9310 :rset 9311 s/^[ ]*#[ ]*define[ ][ ]*/ / 9312 t def 9313 d 9314 :def 9315 s/\\$// 9316 t bsnl 9317 s/["\\]/\\&/g 9318 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9319 D["\1"]=" \3"/p 9320 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 9321 d 9322 :bsnl 9323 s/["\\]/\\&/g 9324 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9325 D["\1"]=" \3\\\\\\n"\\/p 9326 t cont 9327 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 9328 t cont 9329 d 9330 :cont 9331 n 9332 s/.\{148\}/&'"$ac_delim"'/g 9333 t clear 9334 :clear 9335 s/\\$// 9336 t bsnlc 9337 s/["\\]/\\&/g; s/^/"/; s/$/"/p 9338 d 9339 :bsnlc 9340 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 9341 b cont 9342 ' <confdefs.h | sed ' 9343 s/'"$ac_delim"'/"\\\ 9344 "/g' >>$CONFIG_STATUS || ac_write_fail=1 9345 9346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9347 for (key in D) D_is_set[key] = 1 9348 FS = "" 9349 } 9350 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 9351 line = \$ 0 9352 split(line, arg, " ") 9353 if (arg[1] == "#") { 9354 defundef = arg[2] 9355 mac1 = arg[3] 9356 } else { 9357 defundef = substr(arg[1], 2) 9358 mac1 = arg[2] 9359 } 9360 split(mac1, mac2, "(") #) 9361 macro = mac2[1] 9362 prefix = substr(line, 1, index(line, defundef) - 1) 9363 if (D_is_set[macro]) { 9364 # Preserve the white space surrounding the "#". 9365 print prefix "define", macro P[macro] D[macro] 9366 next 9367 } else { 9368 # Replace #undef with comments. This is necessary, for example, 9369 # in the case of _POSIX_SOURCE, which is predefined and required 9370 # on some systems where configure will not decide to define it. 9371 if (defundef == "undef") { 9372 print "/*", prefix defundef, macro, "*/" 9373 next 9374 } 9375 } 9376 } 9377 { print } 9378 _ACAWK 9379 _ACEOF 9380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9381 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 9382 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 9383 { (exit 1); exit 1; }; } 9384 fi # test -n "$CONFIG_HEADERS" 9385 9386 9387 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 9388 shift 9389 for ac_tag 9390 do 9391 case $ac_tag in 9392 :[FHLC]) ac_mode=$ac_tag; continue;; 9393 esac 9394 case $ac_mode$ac_tag in 9395 :[FHL]*:*);; 9396 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 9397 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 9398 { (exit 1); exit 1; }; };; 9399 :[FH]-) ac_tag=-:-;; 9400 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9401 esac 9402 ac_save_IFS=$IFS 9403 IFS=: 9404 set x $ac_tag 9405 IFS=$ac_save_IFS 9406 shift 9407 ac_file=$1 9408 shift 9409 9410 case $ac_mode in 9411 :L) ac_source=$1;; 9412 :[FH]) 9413 ac_file_inputs= 9414 for ac_f 9415 do 9416 case $ac_f in 9417 -) ac_f="$tmp/stdin";; 9418 *) # Look for the file first in the build tree, then in the source tree 9419 # (if the path is not absolute). The absolute path cannot be DOS-style, 9420 # because $ac_f cannot contain `:'. 9421 test -f "$ac_f" || 9422 case $ac_f in 9423 [\\/$]*) false;; 9424 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9425 esac || 9426 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 9427 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 9428 { (exit 1); exit 1; }; };; 9429 esac 9430 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9431 ac_file_inputs="$ac_file_inputs '$ac_f'" 9432 done 9433 9434 # Let's still pretend it is `configure' which instantiates (i.e., don't 9435 # use $as_me), people would be surprised to read: 9436 # /* config.h. Generated by config.status. */ 9437 configure_input='Generated from '` 9438 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 9439 `' by configure.' 9440 if test x"$ac_file" != x-; then 9441 configure_input="$ac_file. $configure_input" 9442 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 9443 $as_echo "$as_me: creating $ac_file" >&6;} 8030 9444 fi 8031 if test ! -s $tmp/subs.frag; then 8032 ac_more_lines=false 8033 else 8034 # The purpose of the label and of the branching condition is to 8035 # speed up the sed processing (if there are no `@' at all, there 8036 # is no need to browse any of the substitutions). 8037 # These are the two extra sed commands mentioned above. 8038 (echo ':t 8039 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 8040 if test -z "$ac_sed_cmds"; then 8041 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 8042 else 8043 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 8044 fi 8045 ac_sed_frag=`expr $ac_sed_frag + 1` 8046 ac_beg=$ac_end 8047 ac_end=`expr $ac_end + $ac_max_sed_lines` 8048 fi 8049 done 8050 if test -z "$ac_sed_cmds"; then 8051 ac_sed_cmds=cat 8052 fi 8053 fi # test -n "$CONFIG_FILES" 8054 8055 _ACEOF 8056 cat >>$CONFIG_STATUS <<\_ACEOF 8057 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 8058 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8059 case $ac_file in 8060 - | *:- | *:-:* ) # input from stdin 8061 cat >$tmp/stdin 8062 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8063 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8064 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8065 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8066 * ) ac_file_in=$ac_file.in ;; 9445 # Neutralize special characters interpreted by sed in replacement strings. 9446 case $configure_input in #( 9447 *\&* | *\|* | *\\* ) 9448 ac_sed_conf_input=`$as_echo "$configure_input" | 9449 sed 's/[\\\\&|]/\\\\&/g'`;; #( 9450 *) ac_sed_conf_input=$configure_input;; 9451 esac 9452 9453 case $ac_tag in 9454 *:-:* | *:-) cat >"$tmp/stdin" \ 9455 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9456 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9457 { (exit 1); exit 1; }; } ;; 9458 esac 9459 ;; 8067 9460 esac 8068 9461 8069 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 8070 ac_dir=`(dirname "$ac_file") 2>/dev/null || 9462 ac_dir=`$as_dirname -- "$ac_file" || 8071 9463 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8072 9464 X"$ac_file" : 'X\(//\)[^/]' \| \ 8073 9465 X"$ac_file" : 'X\(//\)$' \| \ 8074 X"$ac_file" : 'X\(/\)' \| \ 8075 . : '\(.\)' 2>/dev/null || 8076 echo X"$ac_file" | 8077 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8078 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8079 /^X\(\/\/\)$/{ s//\1/; q; } 8080 /^X\(\/\).*/{ s//\1/; q; } 8081 s/.*/./; q'` 8082 { if $as_mkdir_p; then 8083 mkdir -p "$ac_dir" 8084 else 8085 as_dir="$ac_dir" 9466 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 9467 $as_echo X"$ac_file" | 9468 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9469 s//\1/ 9470 q 9471 } 9472 /^X\(\/\/\)[^/].*/{ 9473 s//\1/ 9474 q 9475 } 9476 /^X\(\/\/\)$/{ 9477 s//\1/ 9478 q 9479 } 9480 /^X\(\/\).*/{ 9481 s//\1/ 9482 q 9483 } 9484 s/.*/./; q'` 9485 { as_dir="$ac_dir" 9486 case $as_dir in #( 9487 -*) as_dir=./$as_dir;; 9488 esac 9489 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 8086 9490 as_dirs= 8087 while test ! -d "$as_dir"; do 8088 as_dirs="$as_dir $as_dirs" 8089 as_dir=`(dirname "$as_dir") 2>/dev/null || 9491 while :; do 9492 case $as_dir in #( 9493 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 9494 *) as_qdir=$as_dir;; 9495 esac 9496 as_dirs="'$as_qdir' $as_dirs" 9497 as_dir=`$as_dirname -- "$as_dir" || 8090 9498 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8091 9499 X"$as_dir" : 'X\(//\)[^/]' \| \ 8092 9500 X"$as_dir" : 'X\(//\)$' \| \ 8093 X"$as_dir" : 'X\(/\)' \| \ 8094 . : '\(.\)' 2>/dev/null || 8095 echo X"$as_dir" | 8096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8097 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8098 /^X\(\/\/\)$/{ s//\1/; q; } 8099 /^X\(\/\).*/{ s//\1/; q; } 8100 s/.*/./; q'` 9501 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 9502 $as_echo X"$as_dir" | 9503 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9504 s//\1/ 9505 q 9506 } 9507 /^X\(\/\/\)[^/].*/{ 9508 s//\1/ 9509 q 9510 } 9511 /^X\(\/\/\)$/{ 9512 s//\1/ 9513 q 9514 } 9515 /^X\(\/\).*/{ 9516 s//\1/ 9517 q 9518 } 9519 s/.*/./; q'` 9520 test -d "$as_dir" && break 8101 9521 done 8102 test ! -n "$as_dirs" || mkdir $as_dirs8103 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&58104 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}9522 test -z "$as_dirs" || eval "mkdir $as_dirs" 9523 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 9524 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 8105 9525 { (exit 1); exit 1; }; }; } 8106 8107 9526 ac_builddir=. 8108 9527 8109 if test "$ac_dir" != .; then 8110 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8111 # A "../" for each directory in $ac_dir_suffix. 8112 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8113 else 8114 ac_dir_suffix= ac_top_builddir= 8115 fi 9528 case "$ac_dir" in 9529 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 9530 *) 9531 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 9532 # A ".." for each directory in $ac_dir_suffix. 9533 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 9534 case $ac_top_builddir_sub in 9535 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 9536 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 9537 esac ;; 9538 esac 9539 ac_abs_top_builddir=$ac_pwd 9540 ac_abs_builddir=$ac_pwd$ac_dir_suffix 9541 # for backward compatibility: 9542 ac_top_builddir=$ac_top_build_prefix 8116 9543 8117 9544 case $srcdir in 8118 .) # No --srcdir option.We are building in place.9545 .) # We are building in place. 8119 9546 ac_srcdir=. 8120 if test -z "$ac_top_builddir"; then 8121 ac_top_srcdir=. 8122 else 8123 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8124 fi ;; 8125 [\\/]* | ?:[\\/]* ) # Absolute path. 9547 ac_top_srcdir=$ac_top_builddir_sub 9548 ac_abs_top_srcdir=$ac_pwd ;; 9549 [\\/]* | ?:[\\/]* ) # Absolute name. 8126 9550 ac_srcdir=$srcdir$ac_dir_suffix; 8127 ac_top_srcdir=$srcdir ;; 8128 *) # Relative path. 8129 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8130 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8131 esac 8132 8133 # Do not use `cd foo && pwd` to compute absolute paths, because 8134 # the directories may not exist. 8135 case `pwd` in 8136 .) ac_abs_builddir="$ac_dir";; 8137 *) 8138 case "$ac_dir" in 8139 .) ac_abs_builddir=`pwd`;; 8140 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8141 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8142 esac;; 8143 esac 8144 case $ac_abs_builddir in 8145 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8146 *) 8147 case ${ac_top_builddir}. in 8148 .) ac_abs_top_builddir=$ac_abs_builddir;; 8149 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8150 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8151 esac;; 8152 esac 8153 case $ac_abs_builddir in 8154 .) ac_abs_srcdir=$ac_srcdir;; 8155 *) 8156 case $ac_srcdir in 8157 .) ac_abs_srcdir=$ac_abs_builddir;; 8158 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8159 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8160 esac;; 8161 esac 8162 case $ac_abs_builddir in 8163 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8164 *) 8165 case $ac_top_srcdir in 8166 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8167 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8168 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8169 esac;; 8170 esac 8171 9551 ac_top_srcdir=$srcdir 9552 ac_abs_top_srcdir=$srcdir ;; 9553 *) # Relative name. 9554 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 9555 ac_top_srcdir=$ac_top_build_prefix$srcdir 9556 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 9557 esac 9558 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 9559 9560 9561 case $ac_mode in 9562 :F) 9563 # 9564 # CONFIG_FILE 9565 # 8172 9566 8173 9567 case $INSTALL in 8174 9568 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 8175 *) ac_INSTALL=$ac_top_build dir$INSTALL ;;9569 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 8176 9570 esac 8177 8178 if test x"$ac_file" != x-; then 8179 { echo "$as_me:$LINENO: creating $ac_file" >&5 8180 echo "$as_me: creating $ac_file" >&6;} 8181 rm -f "$ac_file" 8182 fi 8183 # Let's still pretend it is `configure' which instantiates (i.e., don't 8184 # use $as_me), people would be surprised to read: 8185 # /* config.h. Generated by config.status. */ 8186 if test x"$ac_file" = x-; then 8187 configure_input= 8188 else 8189 configure_input="$ac_file. " 8190 fi 8191 configure_input=$configure_input"Generated from `echo $ac_file_in | 8192 sed 's,.*/,,'` by configure." 8193 8194 # First look for the input files in the build tree, otherwise in the 8195 # src tree. 8196 ac_file_inputs=`IFS=: 8197 for f in $ac_file_in; do 8198 case $f in 8199 -) echo $tmp/stdin ;; 8200 [\\/$]*) 8201 # Absolute (can't be DOS-style, as IFS=:) 8202 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8203 echo "$as_me: error: cannot find input file: $f" >&2;} 8204 { (exit 1); exit 1; }; } 8205 echo "$f";; 8206 *) # Relative 8207 if test -f "$f"; then 8208 # Build tree 8209 echo "$f" 8210 elif test -f "$srcdir/$f"; then 8211 # Source tree 8212 echo "$srcdir/$f" 8213 else 8214 # /dev/null tree 8215 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8216 echo "$as_me: error: cannot find input file: $f" >&2;} 8217 { (exit 1); exit 1; }; } 8218 fi;; 8219 esac 8220 done` || { (exit 1); exit 1; } 8221 _ACEOF 8222 cat >>$CONFIG_STATUS <<_ACEOF 8223 sed "$ac_vpsub 9571 _ACEOF 9572 9573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9574 # If the template does not know about datarootdir, expand it. 9575 # FIXME: This hack should be removed a few years after 2.60. 9576 ac_datarootdir_hack=; ac_datarootdir_seen= 9577 9578 ac_sed_dataroot=' 9579 /datarootdir/ { 9580 p 9581 q 9582 } 9583 /@datadir@/p 9584 /@docdir@/p 9585 /@infodir@/p 9586 /@localedir@/p 9587 /@mandir@/p 9588 ' 9589 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 9590 *datarootdir*) ac_datarootdir_seen=yes;; 9591 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 9592 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 9593 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 9594 _ACEOF 9595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9596 ac_datarootdir_hack=' 9597 s&@datadir@&$datadir&g 9598 s&@docdir@&$docdir&g 9599 s&@infodir@&$infodir&g 9600 s&@localedir@&$localedir&g 9601 s&@mandir@&$mandir&g 9602 s&\\\${datarootdir}&$datarootdir&g' ;; 9603 esac 9604 _ACEOF 9605 9606 # Neutralize VPATH when `$srcdir' = `.'. 9607 # Shell code in configure.ac might set extrasub. 9608 # FIXME: do we really want to maintain this feature? 9609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9610 ac_sed_extra="$ac_vpsub 8224 9611 $extrasub 8225 9612 _ACEOF 8226 cat >>$CONFIG_STATUS <<\_ACEOF 9613 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8227 9614 :t 8228 9615 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8229 s,@configure_input@,$configure_input,;t t 8230 s,@srcdir@,$ac_srcdir,;t t 8231 s,@abs_srcdir@,$ac_abs_srcdir,;t t 8232 s,@top_srcdir@,$ac_top_srcdir,;t t 8233 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 8234 s,@builddir@,$ac_builddir,;t t 8235 s,@abs_builddir@,$ac_abs_builddir,;t t 8236 s,@top_builddir@,$ac_top_builddir,;t t 8237 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 8238 s,@INSTALL@,$ac_INSTALL,;t t 8239 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 8240 rm -f $tmp/stdin 9616 s|@configure_input@|$ac_sed_conf_input|;t t 9617 s&@top_builddir@&$ac_top_builddir_sub&;t t 9618 s&@top_build_prefix@&$ac_top_build_prefix&;t t 9619 s&@srcdir@&$ac_srcdir&;t t 9620 s&@abs_srcdir@&$ac_abs_srcdir&;t t 9621 s&@top_srcdir@&$ac_top_srcdir&;t t 9622 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9623 s&@builddir@&$ac_builddir&;t t 9624 s&@abs_builddir@&$ac_abs_builddir&;t t 9625 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9626 s&@INSTALL@&$ac_INSTALL&;t t 9627 $ac_datarootdir_hack 9628 " 9629 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 9630 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9631 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9632 { (exit 1); exit 1; }; } 9633 9634 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9635 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 9636 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 9637 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9638 which seems to be undefined. Please make sure it is defined." >&5 9639 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9640 which seems to be undefined. Please make sure it is defined." >&2;} 9641 9642 rm -f "$tmp/stdin" 9643 case $ac_file in 9644 -) cat "$tmp/out" && rm -f "$tmp/out";; 9645 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 9646 esac \ 9647 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9648 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9649 { (exit 1); exit 1; }; } 9650 ;; 9651 :H) 9652 # 9653 # CONFIG_HEADER 9654 # 8241 9655 if test x"$ac_file" != x-; then 8242 mv $tmp/out $ac_file 8243 else 8244 cat $tmp/out 8245 rm -f $tmp/out 8246 fi 8247 8248 done 8249 _ACEOF 8250 cat >>$CONFIG_STATUS <<\_ACEOF 8251 8252 # 8253 # CONFIG_HEADER section. 8254 # 8255 8256 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 8257 # NAME is the cpp macro being defined and VALUE is the value it is being given. 8258 # 8259 # ac_d sets the value in "#define NAME VALUE" lines. 8260 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 8261 ac_dB='[ ].*$,\1#\2' 8262 ac_dC=' ' 8263 ac_dD=',;t' 8264 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 8265 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 8266 ac_uB='$,\1#\2define\3' 8267 ac_uC=' ' 8268 ac_uD=',;t' 8269 8270 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 8271 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8272 case $ac_file in 8273 - | *:- | *:-:* ) # input from stdin 8274 cat >$tmp/stdin 8275 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8276 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8277 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8278 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8279 * ) ac_file_in=$ac_file.in ;; 8280 esac 8281 8282 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 8283 echo "$as_me: creating $ac_file" >&6;} 8284 8285 # First look for the input files in the build tree, otherwise in the 8286 # src tree. 8287 ac_file_inputs=`IFS=: 8288 for f in $ac_file_in; do 8289 case $f in 8290 -) echo $tmp/stdin ;; 8291 [\\/$]*) 8292 # Absolute (can't be DOS-style, as IFS=:) 8293 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8294 echo "$as_me: error: cannot find input file: $f" >&2;} 9656 { 9657 $as_echo "/* $configure_input */" \ 9658 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 9659 } >"$tmp/config.h" \ 9660 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9661 $as_echo "$as_me: error: could not create $ac_file" >&2;} 8295 9662 { (exit 1); exit 1; }; } 8296 # Do quote $f, to prevent DOS paths from being IFS'd. 8297 echo "$f";; 8298 *) # Relative 8299 if test -f "$f"; then 8300 # Build tree 8301 echo "$f" 8302 elif test -f "$srcdir/$f"; then 8303 # Source tree 8304 echo "$srcdir/$f" 8305 else 8306 # /dev/null tree 8307 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8308 echo "$as_me: error: cannot find input file: $f" >&2;} 9663 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 9664 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 9665 $as_echo "$as_me: $ac_file is unchanged" >&6;} 9666 else 9667 rm -f "$ac_file" 9668 mv "$tmp/config.h" "$ac_file" \ 9669 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9670 $as_echo "$as_me: error: could not create $ac_file" >&2;} 8309 9671 { (exit 1); exit 1; }; } 8310 fi;;8311 esac8312 done` || { (exit 1); exit 1; }8313 # Remove the trailing spaces.8314 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in8315 8316 _ACEOF8317 8318 # Transform confdefs.h into two sed scripts, `conftest.defines' and8319 # `conftest.undefs', that substitutes the proper values into8320 # config.h.in to produce config.h. The first handles `#define'8321 # templates, and the second `#undef' templates.8322 # And first: Protect against being on the right side of a sed subst in8323 # config.status. Protect against being in an unquoted here document8324 # in config.status.8325 rm -f conftest.defines conftest.undefs8326 # Using a here document instead of a string reduces the quoting nightmare.8327 # Putting comments in sed scripts is not portable.8328 #8329 # `end' is used to avoid that the second main sed command (meant for8330 # 0-ary CPP macros) applies to n-ary macro definitions.8331 # See the Autoconf documentation for `clear'.8332 cat >confdef2sed.sed <<\_ACEOF8333 s/[\\&,]/\\&/g8334 s,[\\$`],\\&,g8335 t clear8336 : clear8337 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp8338 t end8339 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp8340 : end8341 _ACEOF8342 # If some macros were called several times there might be several times8343 # the same #defines, which is useless. Nevertheless, we may not want to8344 # sort them, since we want the *last* AC-DEFINE to be honored.8345 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines8346 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs8347 rm -f confdef2sed.sed8348 8349 # This sed command replaces #undef with comments. This is necessary, for8350 # example, in the case of _POSIX_SOURCE, which is predefined and required8351 # on some systems where configure will not decide to define it.8352 cat >>conftest.undefs <<\_ACEOF8353 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,8354 _ACEOF8355 8356 # Break up conftest.defines because some shells have a limit on the size8357 # of here documents, and old seds have small limits too (100 cmds).8358 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS8359 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS8360 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS8361 echo ' :' >>$CONFIG_STATUS8362 rm -f conftest.tail8363 while grep . conftest.defines >/dev/null8364 do8365 # Write a limited-size here document to $tmp/defines.sed.8366 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS8367 # Speed up: don't consider the non `#define' lines.8368 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS8369 # Work around the forget-to-reset-the-flag bug.8370 echo 't clr' >>$CONFIG_STATUS8371 echo ': clr' >>$CONFIG_STATUS8372 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS8373 echo 'CEOF8374 sed -f $tmp/defines.sed $tmp/in >$tmp/out8375 rm -f $tmp/in8376 mv $tmp/out $tmp/in8377 ' >>$CONFIG_STATUS8378 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail8379 rm -f conftest.defines8380 mv conftest.tail conftest.defines8381 done8382 rm -f conftest.defines8383 echo ' fi # grep' >>$CONFIG_STATUS8384 echo >>$CONFIG_STATUS8385 8386 # Break up conftest.undefs because some shells have a limit on the size8387 # of here documents, and old seds have small limits too (100 cmds).8388 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS8389 rm -f conftest.tail8390 while grep . conftest.undefs >/dev/null8391 do8392 # Write a limited-size here document to $tmp/undefs.sed.8393 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS8394 # Speed up: don't consider the non `#undef'8395 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS8396 # Work around the forget-to-reset-the-flag bug.8397 echo 't clr' >>$CONFIG_STATUS8398 echo ': clr' >>$CONFIG_STATUS8399 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS8400 echo 'CEOF8401 sed -f $tmp/undefs.sed $tmp/in >$tmp/out8402 rm -f $tmp/in8403 mv $tmp/out $tmp/in8404 ' >>$CONFIG_STATUS8405 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail8406 rm -f conftest.undefs8407 mv conftest.tail conftest.undefs8408 done8409 rm -f conftest.undefs8410 8411 cat >>$CONFIG_STATUS <<\_ACEOF8412 # Let's still pretend it is `configure' which instantiates (i.e., don't8413 # use $as_me), people would be surprised to read:8414 # /* config.h. Generated by config.status. */8415 if test x"$ac_file" = x-; then8416 echo "/* Generated by configure. */" >$tmp/config.h8417 else8418 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h8419 fi8420 cat $tmp/in >>$tmp/config.h8421 rm -f $tmp/in8422 if test x"$ac_file" != x-; then8423 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then8424 { echo "$as_me:$LINENO: $ac_file is unchanged" >&58425 echo "$as_me: $ac_file is unchanged" >&6;}8426 else8427 ac_dir=`(dirname "$ac_file") 2>/dev/null ||8428 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \8429 X"$ac_file" : 'X\(//\)[^/]' \| \8430 X"$ac_file" : 'X\(//\)$' \| \8431 X"$ac_file" : 'X\(/\)' \| \8432 . : '\(.\)' 2>/dev/null ||8433 echo X"$ac_file" |8434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }8435 /^X\(\/\/\)[^/].*/{ s//\1/; q; }8436 /^X\(\/\/\)$/{ s//\1/; q; }8437 /^X\(\/\).*/{ s//\1/; q; }8438 s/.*/./; q'`8439 { if $as_mkdir_p; then8440 mkdir -p "$ac_dir"8441 else8442 as_dir="$ac_dir"8443 as_dirs=8444 while test ! -d "$as_dir"; do8445 as_dirs="$as_dir $as_dirs"8446 as_dir=`(dirname "$as_dir") 2>/dev/null ||8447 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \8448 X"$as_dir" : 'X\(//\)[^/]' \| \8449 X"$as_dir" : 'X\(//\)$' \| \8450 X"$as_dir" : 'X\(/\)' \| \8451 . : '\(.\)' 2>/dev/null ||8452 echo X"$as_dir" |8453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }8454 /^X\(\/\/\)[^/].*/{ s//\1/; q; }8455 /^X\(\/\/\)$/{ s//\1/; q; }8456 /^X\(\/\).*/{ s//\1/; q; }8457 s/.*/./; q'`8458 done8459 test ! -n "$as_dirs" || mkdir $as_dirs8460 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&58461 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}8462 { (exit 1); exit 1; }; }; }8463 8464 rm -f $ac_file8465 mv $tmp/config.h $ac_file8466 9672 fi 8467 9673 else 8468 cat $tmp/config.h 8469 rm -f $tmp/config.h 9674 $as_echo "/* $configure_input */" \ 9675 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 9676 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 9677 $as_echo "$as_me: error: could not create -" >&2;} 9678 { (exit 1); exit 1; }; } 8470 9679 fi 8471 done 8472 _ACEOF 8473 8474 cat >>$CONFIG_STATUS <<\_ACEOF 9680 ;; 9681 9682 9683 esac 9684 9685 done # for ac_tag 9686 8475 9687 8476 9688 { (exit 0); exit 0; } … … 8478 9690 chmod +x $CONFIG_STATUS 8479 9691 ac_clean_files=$ac_clean_files_save 9692 9693 test $ac_write_fail = 0 || 9694 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 9695 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 9696 { (exit 1); exit 1; }; } 8480 9697 8481 9698 … … 8506 9723 if test "$no_recursion" != yes; then 8507 9724 8508 # Remove --cache-file and --srcdir arguments so they do not pile up. 9725 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 9726 # so they do not pile up. 8509 9727 ac_sub_configure_args= 8510 9728 ac_prev= 8511 for ac_arg in $ac_configure_args; do 9729 eval "set x $ac_configure_args" 9730 shift 9731 for ac_arg 9732 do 8512 9733 if test -n "$ac_prev"; then 8513 9734 ac_prev= … … 8532 9753 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 8533 9754 ;; 8534 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; 9755 --disable-option-checking) 9756 ;; 9757 *) 9758 case $ac_arg in 9759 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 9760 esac 9761 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; 8535 9762 esac 8536 9763 done … … 8538 9765 # Always prepend --prefix to ensure using the same prefix 8539 9766 # in subdir configurations. 8540 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" 9767 ac_arg="--prefix=$prefix" 9768 case $ac_arg in 9769 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 9770 esac 9771 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 9772 9773 # Pass --silent 9774 if test "$silent" = yes; then 9775 ac_sub_configure_args="--silent $ac_sub_configure_args" 9776 fi 9777 9778 # Always prepend --disable-option-checking to silence warnings, since 9779 # different subdirs can have different --enable and --with options. 9780 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 8541 9781 8542 9782 ac_popdir=`pwd` … … 8545 9785 # Do not complain, so a configure script can configure whichever 8546 9786 # parts of a large source tree are present. 8547 test -d $srcdir/$ac_dir || continue 8548 8549 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 8550 echo "$as_me: configuring in $ac_dir" >&6;} 8551 { if $as_mkdir_p; then 8552 mkdir -p "$ac_dir" 8553 else 8554 as_dir="$ac_dir" 9787 test -d "$srcdir/$ac_dir" || continue 9788 9789 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 9790 $as_echo "$as_me:$LINENO: $ac_msg" >&5 9791 $as_echo "$ac_msg" >&6 9792 { as_dir="$ac_dir" 9793 case $as_dir in #( 9794 -*) as_dir=./$as_dir;; 9795 esac 9796 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 8555 9797 as_dirs= 8556 while test ! -d "$as_dir"; do 8557 as_dirs="$as_dir $as_dirs" 8558 as_dir=`(dirname "$as_dir") 2>/dev/null || 9798 while :; do 9799 case $as_dir in #( 9800 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 9801 *) as_qdir=$as_dir;; 9802 esac 9803 as_dirs="'$as_qdir' $as_dirs" 9804 as_dir=`$as_dirname -- "$as_dir" || 8559 9805 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8560 9806 X"$as_dir" : 'X\(//\)[^/]' \| \ 8561 9807 X"$as_dir" : 'X\(//\)$' \| \ 8562 X"$as_dir" : 'X\(/\)' \| \ 8563 . : '\(.\)' 2>/dev/null || 8564 echo X"$as_dir" | 8565 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8566 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8567 /^X\(\/\/\)$/{ s//\1/; q; } 8568 /^X\(\/\).*/{ s//\1/; q; } 8569 s/.*/./; q'` 9808 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 9809 $as_echo X"$as_dir" | 9810 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9811 s//\1/ 9812 q 9813 } 9814 /^X\(\/\/\)[^/].*/{ 9815 s//\1/ 9816 q 9817 } 9818 /^X\(\/\/\)$/{ 9819 s//\1/ 9820 q 9821 } 9822 /^X\(\/\).*/{ 9823 s//\1/ 9824 q 9825 } 9826 s/.*/./; q'` 9827 test -d "$as_dir" && break 8570 9828 done 8571 test ! -n "$as_dirs" || mkdir $as_dirs8572 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&58573 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}9829 test -z "$as_dirs" || eval "mkdir $as_dirs" 9830 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 9831 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 8574 9832 { (exit 1); exit 1; }; }; } 8575 8576 9833 ac_builddir=. 8577 9834 8578 if test "$ac_dir" != .; then 8579 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8580 # A "../" for each directory in $ac_dir_suffix. 8581 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8582 else 8583 ac_dir_suffix= ac_top_builddir= 8584 fi 9835 case "$ac_dir" in 9836 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 9837 *) 9838 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 9839 # A ".." for each directory in $ac_dir_suffix. 9840 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 9841 case $ac_top_builddir_sub in 9842 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 9843 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 9844 esac ;; 9845 esac 9846 ac_abs_top_builddir=$ac_pwd 9847 ac_abs_builddir=$ac_pwd$ac_dir_suffix 9848 # for backward compatibility: 9849 ac_top_builddir=$ac_top_build_prefix 8585 9850 8586 9851 case $srcdir in 8587 .) # No --srcdir option.We are building in place.9852 .) # We are building in place. 8588 9853 ac_srcdir=. 8589 if test -z "$ac_top_builddir"; then 8590 ac_top_srcdir=. 9854 ac_top_srcdir=$ac_top_builddir_sub 9855 ac_abs_top_srcdir=$ac_pwd ;; 9856 [\\/]* | ?:[\\/]* ) # Absolute name. 9857 ac_srcdir=$srcdir$ac_dir_suffix; 9858 ac_top_srcdir=$srcdir 9859 ac_abs_top_srcdir=$srcdir ;; 9860 *) # Relative name. 9861 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 9862 ac_top_srcdir=$ac_top_build_prefix$srcdir 9863 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 9864 esac 9865 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 9866 9867 9868 cd "$ac_dir" 9869 9870 # Check for guested configure; otherwise get Cygnus style configure. 9871 if test -f "$ac_srcdir/configure.gnu"; then 9872 ac_sub_configure=$ac_srcdir/configure.gnu 9873 elif test -f "$ac_srcdir/configure"; then 9874 ac_sub_configure=$ac_srcdir/configure 9875 elif test -f "$ac_srcdir/configure.in"; then 9876 # This should be Cygnus configure. 9877 ac_sub_configure=$ac_aux_dir/configure 8591 9878 else 8592 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8593 fi ;; 8594 [\\/]* | ?:[\\/]* ) # Absolute path. 8595 ac_srcdir=$srcdir$ac_dir_suffix; 8596 ac_top_srcdir=$srcdir ;; 8597 *) # Relative path. 8598 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8599 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8600 esac 8601 8602 # Do not use `cd foo && pwd` to compute absolute paths, because 8603 # the directories may not exist. 8604 case `pwd` in 8605 .) ac_abs_builddir="$ac_dir";; 8606 *) 8607 case "$ac_dir" in 8608 .) ac_abs_builddir=`pwd`;; 8609 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8610 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8611 esac;; 8612 esac 8613 case $ac_abs_builddir in 8614 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8615 *) 8616 case ${ac_top_builddir}. in 8617 .) ac_abs_top_builddir=$ac_abs_builddir;; 8618 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8619 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8620 esac;; 8621 esac 8622 case $ac_abs_builddir in 8623 .) ac_abs_srcdir=$ac_srcdir;; 8624 *) 8625 case $ac_srcdir in 8626 .) ac_abs_srcdir=$ac_abs_builddir;; 8627 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8628 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8629 esac;; 8630 esac 8631 case $ac_abs_builddir in 8632 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8633 *) 8634 case $ac_top_srcdir in 8635 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8636 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8637 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8638 esac;; 8639 esac 8640 8641 8642 cd $ac_dir 8643 8644 # Check for guested configure; otherwise get Cygnus style configure. 8645 if test -f $ac_srcdir/configure.gnu; then 8646 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" 8647 elif test -f $ac_srcdir/configure; then 8648 ac_sub_configure="$SHELL '$ac_srcdir/configure'" 8649 elif test -f $ac_srcdir/configure.in; then 8650 ac_sub_configure=$ac_configure 8651 else 8652 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 8653 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 9879 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 9880 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 8654 9881 ac_sub_configure= 8655 9882 fi … … 8660 9887 case $cache_file in 8661 9888 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 8662 *) # Relative path.8663 ac_sub_cache_file=$ac_top_build dir$cache_file ;;9889 *) # Relative name. 9890 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; 8664 9891 esac 8665 9892 8666 { echo "$as_me:$LINENO: running$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&58667 echo "$as_me: running$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}9893 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 9894 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 8668 9895 # The eval makes quoting arguments work. 8669 eval $ac_sub_configure$ac_sub_configure_args \8670 --cache-file= $ac_sub_cache_file --srcdir=$ac_srcdir||8671 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&58672 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}9896 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 9897 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 9898 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 9899 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 8673 9900 { (exit 1); exit 1; }; } 8674 9901 fi 8675 9902 8676 cd $ac_popdir9903 cd "$ac_popdir" 8677 9904 done 8678 9905 fi 8679 8680 8681 9906 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 9907 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 9908 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 9909 fi 9910 9911 9912
Note:
See TracChangeset
for help on using the changeset viewer.