Changeset 25149 for main/trunk/greenstone2/configure
- Timestamp:
- 2012-02-28T14:18:52+13:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/configure
r24958 r25149 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59.3 # Generated by GNU Autoconf 2.63. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 6 7 # This configure script is free software; the Free Software Foundation 7 8 # gives unlimited permission to copy, distribute and modify it. … … 10 11 ## --------------------- ## 11 12 12 # Be Bourne compatible 13 # Be more Bourne compatible 14 DUALCASE=1; export DUALCASE # for MKS sh 13 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 16 emulate sh 15 17 NULLCMD=: 16 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17 19 # is contrary to our usage. Disable this feature. 18 20 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 21 setopt NO_GLOB_SUBST 22 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 79 33 # Avoid depending upon Character Ranges. 80 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 84 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 39 40 as_nl=' 41 ' 42 export as_nl 43 # Printing a long string crashes Solaris 7 /usr/bin/printf. 44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50 else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70 fi 71 86 72 # The user is always right. 87 73 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79 fi 80 81 # Support unset when possible. 82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 83 as_unset=unset 84 else 85 as_unset=false 86 fi 87 88 89 # IFS 90 # We need space, tab and new line, in precisely that order. Quoting is 91 # there to prevent editors from complaining about space-tab. 92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 93 # splitting by setting IFS to empty value.) 94 IFS=" "" $as_nl" 95 96 # Find who we are. Look in the path if we contain no directory separator. 97 case $0 in 98 *[\\/]* ) as_myself=$0 ;; 99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 100 for as_dir in $PATH 111 101 do … … 114 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 105 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 106 IFS=$as_save_IFS 107 108 ;; 109 esac 110 # We did not find ourselves, most probably we were run as `sh COMMAND' 111 # in which case we are not to be found in the path. 112 if test "x$as_myself" = x; then 113 as_myself=$0 114 fi 115 if test ! -f "$as_myself"; then 116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 117 { (exit 1); exit 1; } 118 fi 119 120 # Work around bugs in pre-3.0 UWIN ksh. 121 for as_var in ENV MAIL MAILPATH 122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 123 done 124 PS1='$ ' 125 PS2='> ' 126 PS4='+ ' 127 128 # NLS nuisances. 129 LC_ALL=C 130 export LC_ALL 131 LANGUAGE=C 132 export LANGUAGE 133 134 # Required to use basename. 135 if expr a : '\(a\)' >/dev/null 2>&1 && 136 test "X`expr 00001 : '.*\(...\)'`" = X001; then 137 as_expr=expr 138 else 139 as_expr=false 140 fi 141 142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 143 as_basename=basename 144 else 145 as_basename=false 146 fi 147 148 149 # Name of the executable. 150 as_me=`$as_basename -- "$0" || 151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 152 X"$0" : 'X\(//\)$' \| \ 153 X"$0" : 'X\(/\)' \| . 2>/dev/null || 154 $as_echo X/"$0" | 155 sed '/^.*\/\([^/][^/]*\)\/*$/{ 156 s//\1/ 157 q 158 } 159 /^X\/\(\/\/\)$/{ 160 s//\1/ 161 q 162 } 163 /^X\/\(\/\).*/{ 164 s//\1/ 165 q 166 } 167 s/.*/./; q'` 168 169 # CDPATH. 170 $as_unset CDPATH 171 172 173 if test "x$CONFIG_SHELL" = x; then 174 if (eval ":") 2>/dev/null; then 175 as_have_required=yes 176 else 177 as_have_required=no 178 fi 179 180 if test $as_have_required = yes && (eval ": 181 (as_func_return () { 182 (exit \$1) 183 } 184 as_func_success () { 185 as_func_return 0 186 } 187 as_func_failure () { 188 as_func_return 1 189 } 190 as_func_ret_success () { 191 return 0 192 } 193 as_func_ret_failure () { 194 return 1 195 } 196 197 exitcode=0 198 if as_func_success; then 199 : 200 else 201 exitcode=1 202 echo as_func_success failed. 203 fi 204 205 if as_func_failure; then 206 exitcode=1 207 echo as_func_failure succeeded. 208 fi 209 210 if as_func_ret_success; then 211 : 212 else 213 exitcode=1 214 echo as_func_ret_success failed. 215 fi 216 217 if as_func_ret_failure; then 218 exitcode=1 219 echo as_func_ret_failure succeeded. 220 fi 221 222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 223 : 224 else 225 exitcode=1 226 echo positional parameters were not saved. 227 fi 228 229 test \$exitcode = 0) || { (exit 1); exit 1; } 230 231 ( 232 as_lineno_1=\$LINENO 233 as_lineno_2=\$LINENO 234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 236 ") 2> /dev/null; then 237 : 238 else 239 as_candidate_shells= 130 240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 133 243 IFS=$as_save_IFS 134 244 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 245 case $as_dir in 137 246 /*) 138 if ("$as_dir/$as_base" -c ' 247 for as_base in sh bash ksh sh5; do 248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 249 done;; 250 esac 251 done 252 IFS=$as_save_IFS 253 254 255 for as_shell in $as_candidate_shells $SHELL; do 256 # Try only shells that exist, to save several forks. 257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 258 { ("$as_shell") 2> /dev/null <<\_ASEOF 259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 260 emulate sh 261 NULLCMD=: 262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 263 # is contrary to our usage. Disable this feature. 264 alias -g '${1+"$@"}'='"$@"' 265 setopt NO_GLOB_SUBST 266 else 267 case `(set -o) 2>/dev/null` in 268 *posix*) set -o posix ;; 269 esac 270 271 fi 272 273 274 : 275 _ASEOF 276 }; then 277 CONFIG_SHELL=$as_shell 278 as_have_required=yes 279 if { "$as_shell" 2> /dev/null <<\_ASEOF 280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 281 emulate sh 282 NULLCMD=: 283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 284 # is contrary to our usage. Disable this feature. 285 alias -g '${1+"$@"}'='"$@"' 286 setopt NO_GLOB_SUBST 287 else 288 case `(set -o) 2>/dev/null` in 289 *posix*) set -o posix ;; 290 esac 291 292 fi 293 294 295 : 296 (as_func_return () { 297 (exit $1) 298 } 299 as_func_success () { 300 as_func_return 0 301 } 302 as_func_failure () { 303 as_func_return 1 304 } 305 as_func_ret_success () { 306 return 0 307 } 308 as_func_ret_failure () { 309 return 1 310 } 311 312 exitcode=0 313 if as_func_success; then 314 : 315 else 316 exitcode=1 317 echo as_func_success failed. 318 fi 319 320 if as_func_failure; then 321 exitcode=1 322 echo as_func_failure succeeded. 323 fi 324 325 if as_func_ret_success; then 326 : 327 else 328 exitcode=1 329 echo as_func_ret_success failed. 330 fi 331 332 if as_func_ret_failure; then 333 exitcode=1 334 echo as_func_ret_failure succeeded. 335 fi 336 337 if ( set x; as_func_ret_success y && test x = "$1" ); then 338 : 339 else 340 exitcode=1 341 echo positional parameters were not saved. 342 fi 343 344 test $exitcode = 0) || { (exit 1); exit 1; } 345 346 ( 139 347 as_lineno_1=$LINENO 140 348 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`142 349 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 351 352 _ASEOF 353 }; then 354 break 355 fi 356 357 fi 358 359 done 360 361 if test "x$CONFIG_SHELL" != x; then 362 for as_var in BASH_ENV ENV 363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 364 done 365 export CONFIG_SHELL 366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 367 fi 368 369 370 if test $as_have_required = no; then 371 echo This script requires a shell more modern than all the 372 echo shells that I found on your system. Please install a 373 echo modern shell, or manually run the script under such a 374 echo shell if you do have one. 375 { (exit 1); exit 1; } 376 fi 377 378 379 fi 380 381 fi 382 383 384 385 (eval "as_func_return () { 386 (exit \$1) 387 } 388 as_func_success () { 389 as_func_return 0 390 } 391 as_func_failure () { 392 as_func_return 1 393 } 394 as_func_ret_success () { 395 return 0 396 } 397 as_func_ret_failure () { 398 return 1 399 } 400 401 exitcode=0 402 if as_func_success; then 403 : 404 else 405 exitcode=1 406 echo as_func_success failed. 407 fi 408 409 if as_func_failure; then 410 exitcode=1 411 echo as_func_failure succeeded. 412 fi 413 414 if as_func_ret_success; then 415 : 416 else 417 exitcode=1 418 echo as_func_ret_success failed. 419 fi 420 421 if as_func_ret_failure; then 422 exitcode=1 423 echo as_func_ret_failure succeeded. 424 fi 425 426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 427 : 428 else 429 exitcode=1 430 echo positional parameters were not saved. 431 fi 432 433 test \$exitcode = 0") || { 434 echo No shell found that supports shell functions. 435 echo Please tell [email protected] about your system, 436 echo including any error possibly output before this message. 437 echo This can help us improve future autoconf versions. 438 echo Configuration will now proceed without shell functions. 439 } 440 441 442 443 as_lineno_1=$LINENO 444 as_lineno_2=$LINENO 445 test "x$as_lineno_1" != "x$as_lineno_2" && 446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 155 447 156 448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 449 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 450 # line-number line after each line using $LINENO; the second 'sed' 451 # does the real work. The second script uses 'N' to pair each 452 # line-number line with the line containing $LINENO, and appends 453 # trailing '-' during substitution so that $LINENO is not a special 454 # case at line end. 162 455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 456 # scripts with optimization help from Paolo Bonzini. Blame Lee 457 # E. McMahon (1931-1989) for sed's syntax. :-) 458 sed -n ' 459 p 460 /[$]LINENO/= 461 ' <$as_myself | 165 462 sed ' 463 s/[$]LINENO.*/&-/ 464 t lineno 465 b 466 :lineno 166 467 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 468 :loop 469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 170 470 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 471 s/-\n.*// 173 472 ' >$as_me.lineno && 174 chmod +x $as_me.lineno||175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2473 chmod +x "$as_me.lineno" || 474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 475 { (exit 1); exit 1; }; } 177 476 178 477 # Don't try to exec as it changes $[0], causing all sort of problems 179 478 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensi ble to this).181 . ./$as_me.lineno479 # original and so on. Autoconf is especially sensitive to this). 480 . "./$as_me.lineno" 182 481 # Exit status is that of the last command. 183 482 exit … … 185 484 186 485 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192 esac 193 194 if expr a : '\(a\)' >/dev/null 2>&1; then 486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 487 as_dirname=dirname 488 else 489 as_dirname=false 490 fi 491 492 ECHO_C= ECHO_N= ECHO_T= 493 case `echo -n x` in 494 -n*) 495 case `echo 'x\c'` in 496 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 497 *) ECHO_C='\c';; 498 esac;; 499 *) 500 ECHO_N='-n';; 501 esac 502 if expr a : '\(a\)' >/dev/null 2>&1 && 503 test "X`expr 00001 : '.*\(...\)'`" = X001; then 195 504 as_expr=expr 196 505 else … … 199 508 200 509 rm -f conf$$ conf$$.exe conf$$.file 201 echo >conf$$.file 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 510 if test -d conf$$.dir; then 511 rm -f conf$$.dir/conf$$.file 512 else 513 rm -f conf$$.dir 514 mkdir conf$$.dir 2>/dev/null 515 fi 516 if (echo >conf$$.file) 2>/dev/null; then 517 if ln -s conf$$.file conf$$ 2>/dev/null; then 518 as_ln_s='ln -s' 519 # ... but there are two gotchas: 520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 522 # In both cases, we have to default to `cp -p'. 523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 524 as_ln_s='cp -p' 525 elif ln conf$$.file conf$$ 2>/dev/null; then 526 as_ln_s=ln 527 else 207 528 as_ln_s='cp -p' 208 else209 as_ln_s='ln -s'210 529 fi 211 elif ln conf$$.file conf$$ 2>/dev/null; then212 as_ln_s=ln213 530 else 214 531 as_ln_s='cp -p' 215 532 fi 216 rm -f conf$$ conf$$.exe conf$$.file 533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 534 rmdir conf$$.dir 2>/dev/null 217 535 218 536 if mkdir -p . 2>/dev/null; then … … 223 541 fi 224 542 225 as_executable_p="test -f" 543 if test -x / >/dev/null 2>&1; then 544 as_test_x='test -x' 545 else 546 if ls -dL / >/dev/null 2>&1; then 547 as_ls_L_option=L 548 else 549 as_ls_L_option= 550 fi 551 as_test_x=' 552 eval sh -c '\'' 553 if test -d "$1"; then 554 test -d "$1/."; 555 else 556 case $1 in 557 -*)set "./$1";; 558 esac; 559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 560 ???[sx]*):;;*)false;;esac;fi 561 '\'' sh 562 ' 563 fi 564 as_executable_p=$as_test_x 226 565 227 566 # Sed expression to map a string onto a valid CPP name. … … 232 571 233 572 234 # IFS 235 # We need space, tab and new line, in precisely that order. 236 as_nl=' 237 ' 238 IFS=" $as_nl" 239 240 # CDPATH. 241 $as_unset CDPATH 242 573 574 exec 7<&0 </dev/null 6>&1 243 575 244 576 # Name of the host. … … 247 579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 580 249 exec 6>&1250 251 581 # 252 582 # Initializations. 253 583 # 254 584 ac_default_prefix=/usr/local 585 ac_clean_files= 255 586 ac_config_libobj_dir=. 587 LIBOBJS= 256 588 cross_compiling=no 257 589 subdirs= … … 259 591 MAKEFLAGS= 260 592 SHELL=${CONFIG_SHELL-/bin/sh} 261 262 # Maximum number of lines to put in a shell here document.263 # This variable seems obsolete. It should probably be removed, and264 # only ac_max_sed_lines should be used.265 : ${ac_max_here_lines=38}266 593 267 594 # Identity of this package. … … 275 602 ac_includes_default="\ 276 603 #include <stdio.h> 277 #if HAVE_SYS_TYPES_H604 #ifdef HAVE_SYS_TYPES_H 278 605 # include <sys/types.h> 279 606 #endif 280 #if HAVE_SYS_STAT_H607 #ifdef HAVE_SYS_STAT_H 281 608 # include <sys/stat.h> 282 609 #endif 283 #if STDC_HEADERS610 #ifdef STDC_HEADERS 284 611 # include <stdlib.h> 285 612 # include <stddef.h> 286 613 #else 287 # if HAVE_STDLIB_H614 # ifdef HAVE_STDLIB_H 288 615 # include <stdlib.h> 289 616 # endif 290 617 #endif 291 #if HAVE_STRING_H292 # if ! STDC_HEADERS &&HAVE_MEMORY_H618 #ifdef HAVE_STRING_H 619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 293 620 # include <memory.h> 294 621 # endif 295 622 # include <string.h> 296 623 #endif 297 #if HAVE_STRINGS_H624 #ifdef HAVE_STRINGS_H 298 625 # include <strings.h> 299 626 #endif 300 #if HAVE_INTTYPES_H627 #ifdef HAVE_INTTYPES_H 301 628 # include <inttypes.h> 302 #else303 # if HAVE_STDINT_H304 # include <stdint.h>305 # endif306 629 #endif 307 #if HAVE_UNISTD_H 630 #ifdef HAVE_STDINT_H 631 # include <stdint.h> 632 #endif 633 #ifdef HAVE_UNISTD_H 308 634 # include <unistd.h> 309 635 #endif" 310 636 311 ac_subdirs_all="$ac_subdirs_all common-src" 312 ac_subdirs_all="$ac_subdirs_all build-src" 313 ac_subdirs_all="$ac_subdirs_all runtime-src" 314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR ENABLE_JAVA USE_Z3950 USE_YAZ USE_WVWARE USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE USE_RSS USE_APACHE_HTTPD ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS' 637 enable_option_checking=no 638 ac_subst_vars='LTLIBOBJS 639 subdirs 640 MODULEDIRS 641 gsdlos 642 STATIC 643 LIBOBJS 644 ALLOCA 645 ANSI2KNR 646 U 647 EGREP 648 GREP 649 CPP 650 MICO_VER 651 ARCH_DEP_FLAGS 652 RANLIB 653 SET_MAKE 654 LN_S 655 INSTALL_DATA 656 INSTALL_SCRIPT 657 INSTALL_PROGRAM 658 target_os 659 target_vendor 660 target_cpu 661 target 662 host_os 663 host_vendor 664 host_cpu 665 host 666 build_os 667 build_vendor 668 build_cpu 669 build 670 YFLAGS 671 YACC 672 AWK 673 ac_ct_CXX 674 CXXFLAGS 675 CXX 676 OBJEXT 677 EXEEXT 678 ac_ct_CC 679 CPPFLAGS 680 CC 681 CFLAGS 682 LDFLAGS 683 ENABLE_LUCENE 684 ENABLE_MGPP 685 ENABLE_MG 686 ENABLE_JNI 687 USE_APACHE_HTTPD 688 USE_RSS 689 USE_SQLITE 690 ENABLE_ACCENTFOLD 691 USE_GDBM 692 USE_JDBM 693 USE_WVWARE 694 USE_YAZ 695 USE_Z3950 696 ENABLE_JAVA 697 MICO_DIR 698 USE_CORBA 699 USE_LANGACTION 700 USE_FASTCGI 701 VERSION 702 PACKAGE 703 target_alias 704 host_alias 705 build_alias 706 LIBS 707 ECHO_T 708 ECHO_N 709 ECHO_C 710 DEFS 711 mandir 712 localedir 713 libdir 714 psdir 715 pdfdir 716 dvidir 717 htmldir 718 infodir 719 docdir 720 oldincludedir 721 includedir 722 localstatedir 723 sharedstatedir 724 sysconfdir 725 datadir 726 datarootdir 727 libexecdir 728 sbindir 729 bindir 730 program_transform_name 731 prefix 732 exec_prefix 733 PACKAGE_BUGREPORT 734 PACKAGE_STRING 735 PACKAGE_VERSION 736 PACKAGE_TARNAME 737 PACKAGE_NAME 738 PATH_SEPARATOR 739 SHELL' 315 740 ac_subst_files='' 741 ac_user_opts=' 742 enable_option_checking 743 enable_corba 744 with_micodir 745 enable_java 746 enable_z3950 747 enable_yaz 748 enable_wvware 749 enable_jdbm 750 enable_gdbm 751 enable_accentfold 752 enable_sqlite 753 enable_rss 754 enable_apache_httpd 755 enable_jni 756 enable_mg 757 enable_mgpp 758 enable_lucene 759 with_dmalloc 760 with_regex 761 ' 762 ac_precious_vars='build_alias 763 host_alias 764 target_alias 765 CC 766 CFLAGS 767 LDFLAGS 768 LIBS 769 CPPFLAGS 770 CXX 771 CXXFLAGS 772 CCC 773 YACC 774 YFLAGS 775 CPP' 776 ac_subdirs_all='common-src 777 build-src 778 runtime-src' 316 779 317 780 # Initialize some variables set by options. 318 781 ac_init_help= 319 782 ac_init_version=false 783 ac_unrecognized_opts= 784 ac_unrecognized_sep= 320 785 # The variables have the same names as the options, with 321 786 # dashes changed to underlines. … … 340 805 # by default will actually change. 341 806 # Use braces instead of parens because sh, perl, etc. also accept them. 807 # (The list follows the same order as the GNU Coding Standards.) 342 808 bindir='${exec_prefix}/bin' 343 809 sbindir='${exec_prefix}/sbin' 344 810 libexecdir='${exec_prefix}/libexec' 345 datadir='${prefix}/share' 811 datarootdir='${prefix}/share' 812 datadir='${datarootdir}' 346 813 sysconfdir='${prefix}/etc' 347 814 sharedstatedir='${prefix}/com' 348 815 localstatedir='${prefix}/var' 349 libdir='${exec_prefix}/lib'350 816 includedir='${prefix}/include' 351 817 oldincludedir='/usr/include' 352 infodir='${prefix}/info' 353 mandir='${prefix}/man' 818 docdir='${datarootdir}/doc/${PACKAGE}' 819 infodir='${datarootdir}/info' 820 htmldir='${docdir}' 821 dvidir='${docdir}' 822 pdfdir='${docdir}' 823 psdir='${docdir}' 824 libdir='${exec_prefix}/lib' 825 localedir='${datarootdir}/locale' 826 mandir='${datarootdir}/man' 354 827 355 828 ac_prev= 829 ac_dashdash= 356 830 for ac_option 357 831 do 358 832 # If the previous option needs an argument, assign it. 359 833 if test -n "$ac_prev"; then 360 eval "$ac_prev=\$ac_option"834 eval $ac_prev=\$ac_option 361 835 ac_prev= 362 836 continue 363 837 fi 364 838 365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 839 case $ac_option in 840 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 841 *) ac_optarg=yes ;; 842 esac 366 843 367 844 # Accept the important Cygnus configure options, so we can diagnose typos. 368 845 369 case $ac_option in 846 case $ac_dashdash$ac_option in 847 --) 848 ac_dashdash=yes ;; 370 849 371 850 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 389 868 cache_file=config.cache ;; 390 869 391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)870 -datadir | --datadir | --datadi | --datad) 392 871 ac_prev=datadir ;; 393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 394 | --da=*) 872 -datadir=* | --datadir=* | --datadi=* | --datad=*) 395 873 datadir=$ac_optarg ;; 396 874 875 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 876 | --dataroo | --dataro | --datar) 877 ac_prev=datarootdir ;; 878 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 879 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 880 datarootdir=$ac_optarg ;; 881 397 882 -disable-* | --disable-*) 398 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`883 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 399 884 # Reject names that are not valid shell variable names. 400 expr "x$ac_ feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 886 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 402 887 { (exit 1); exit 1; }; } 403 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 404 eval "enable_$ac_feature=no" ;; 888 ac_useropt_orig=$ac_useropt 889 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 890 case $ac_user_opts in 891 *" 892 "enable_$ac_useropt" 893 "*) ;; 894 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 895 ac_unrecognized_sep=', ';; 896 esac 897 eval enable_$ac_useropt=no ;; 898 899 -docdir | --docdir | --docdi | --doc | --do) 900 ac_prev=docdir ;; 901 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 902 docdir=$ac_optarg ;; 903 904 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 905 ac_prev=dvidir ;; 906 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 907 dvidir=$ac_optarg ;; 405 908 406 909 -enable-* | --enable-*) 407 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`910 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 408 911 # Reject names that are not valid shell variable names. 409 expr "x$ac_ feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2912 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 913 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 411 914 { (exit 1); exit 1; }; } 412 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 413 case $ac_option in 414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 415 *) ac_optarg=yes ;; 915 ac_useropt_orig=$ac_useropt 916 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 917 case $ac_user_opts in 918 *" 919 "enable_$ac_useropt" 920 "*) ;; 921 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 922 ac_unrecognized_sep=', ';; 416 923 esac 417 eval "enable_$ac_feature='$ac_optarg'";;924 eval enable_$ac_useropt=\$ac_optarg ;; 418 925 419 926 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 442 949 host_alias=$ac_optarg ;; 443 950 951 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 952 ac_prev=htmldir ;; 953 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 954 | --ht=*) 955 htmldir=$ac_optarg ;; 956 444 957 -includedir | --includedir | --includedi | --included | --include \ 445 958 | --includ | --inclu | --incl | --inc) … … 466 979 libexecdir=$ac_optarg ;; 467 980 981 -localedir | --localedir | --localedi | --localed | --locale) 982 ac_prev=localedir ;; 983 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 984 localedir=$ac_optarg ;; 985 468 986 -localstatedir | --localstatedir | --localstatedi | --localstated \ 469 | --localstate | --localstat | --localsta | --localst \ 470 | --locals | --local | --loca | --loc | --lo) 987 | --localstate | --localstat | --localsta | --localst | --locals) 471 988 ac_prev=localstatedir ;; 472 989 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 990 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 475 991 localstatedir=$ac_optarg ;; 476 992 … … 537 1053 program_transform_name=$ac_optarg ;; 538 1054 1055 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1056 ac_prev=pdfdir ;; 1057 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1058 pdfdir=$ac_optarg ;; 1059 1060 -psdir | --psdir | --psdi | --psd | --ps) 1061 ac_prev=psdir ;; 1062 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1063 psdir=$ac_optarg ;; 1064 539 1065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 540 1066 | -silent | --silent | --silen | --sile | --sil) … … 587 1113 588 1114 -with-* | --with-*) 589 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1115 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 590 1116 # Reject names that are not valid shell variable names. 591 expr "x$ac_ package" : ".*[^-_$as_cr_alnum]" >/dev/null &&592 { echo "$as_me: error: invalid package name: $ac_package" >&21117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1118 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 593 1119 { (exit 1); exit 1; }; } 594 ac_package=`echo $ac_package| sed 's/-/_/g'` 595 case $ac_option in 596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 597 *) ac_optarg=yes ;; 1120 ac_useropt_orig=$ac_useropt 1121 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1122 case $ac_user_opts in 1123 *" 1124 "with_$ac_useropt" 1125 "*) ;; 1126 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1127 ac_unrecognized_sep=', ';; 598 1128 esac 599 eval "with_$ac_package='$ac_optarg'";;1129 eval with_$ac_useropt=\$ac_optarg ;; 600 1130 601 1131 -without-* | --without-*) 602 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1132 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 603 1133 # Reject names that are not valid shell variable names. 604 expr "x$ac_ package" : ".*[^-_$as_cr_alnum]" >/dev/null &&605 { echo "$as_me: error: invalid package name: $ac_package" >&21134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1135 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 606 1136 { (exit 1); exit 1; }; } 607 ac_package=`echo $ac_package | sed 's/-/_/g'` 608 eval "with_$ac_package=no" ;; 1137 ac_useropt_orig=$ac_useropt 1138 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1139 case $ac_user_opts in 1140 *" 1141 "with_$ac_useropt" 1142 "*) ;; 1143 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1144 ac_unrecognized_sep=', ';; 1145 esac 1146 eval with_$ac_useropt=no ;; 609 1147 610 1148 --x) … … 626 1164 x_libraries=$ac_optarg ;; 627 1165 628 -*) { echo "$as_me: error: unrecognized option: $ac_option1166 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 629 1167 Try \`$0 --help' for more information." >&2 630 1168 { (exit 1); exit 1; }; } … … 635 1173 # Reject names that are not valid shell variable names. 636 1174 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&21175 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 638 1176 { (exit 1); exit 1; }; } 639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 640 eval "$ac_envvar='$ac_optarg'" 1177 eval $ac_envvar=\$ac_optarg 641 1178 export $ac_envvar ;; 642 1179 643 1180 *) 644 1181 # FIXME: should be removed in autoconf 3.0. 645 echo "$as_me: WARNING: you should use --build, --host, --target" >&21182 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 646 1183 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 647 echo "$as_me: WARNING: invalid host type: $ac_option" >&21184 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 648 1185 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 649 1186 ;; … … 654 1191 if test -n "$ac_prev"; then 655 1192 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 656 { echo "$as_me: error: missing argument to $ac_option" >&21193 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 657 1194 { (exit 1); exit 1; }; } 658 1195 fi 659 1196 660 # Be sure to have absolute paths. 661 for ac_var in exec_prefix prefix 1197 if test -n "$ac_unrecognized_opts"; then 1198 case $enable_option_checking in 1199 no) ;; 1200 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1201 { (exit 1); exit 1; }; } ;; 1202 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1203 esac 1204 fi 1205 1206 # Check all directory arguments for consistency. 1207 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1208 datadir sysconfdir sharedstatedir localstatedir includedir \ 1209 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1210 libdir localedir mandir 662 1211 do 663 eval ac_val=$`echo $ac_var` 1212 eval ac_val=\$$ac_var 1213 # Remove trailing slashes. 664 1214 case $ac_val in 665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2667 { (exit 1); exit 1; }; };;1215 */ ) 1216 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1217 eval $ac_var=\$ac_val;; 668 1218 esac 669 done 670 671 # Be sure to have absolute paths. 672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 673 localstatedir libdir includedir oldincludedir infodir mandir 674 do 675 eval ac_val=$`echo $ac_var` 1219 # Be sure to have absolute directory names. 676 1220 case $ac_val in 677 [\\/$]* | ?:[\\/]* ) ;; 678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 679 { (exit 1); exit 1; }; };; 1221 [\\/$]* | ?:[\\/]* ) continue;; 1222 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 680 1223 esac 1224 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1225 { (exit 1); exit 1; }; } 681 1226 done 682 1227 … … 692 1237 if test "x$build_alias" = x; then 693 1238 cross_compiling=maybe 694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1239 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 695 1240 If a cross compiler is detected then cross compile mode will be used." >&2 696 1241 elif test "x$build_alias" != "x$host_alias"; then … … 705 1250 706 1251 1252 ac_pwd=`pwd` && test -n "$ac_pwd" && 1253 ac_ls_di=`ls -di .` && 1254 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1255 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1256 { (exit 1); exit 1; }; } 1257 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1258 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1259 { (exit 1); exit 1; }; } 1260 1261 707 1262 # Find the source files, if location was not specified. 708 1263 if test -z "$srcdir"; then 709 1264 ac_srcdir_defaulted=yes 710 # Try the directory containing this script, then its parent. 711 ac_confdir=`(dirname "$0") 2>/dev/null || 712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 713 X"$0" : 'X\(//\)[^/]' \| \ 714 X"$0" : 'X\(//\)$' \| \ 715 X"$0" : 'X\(/\)' \| \ 716 . : '\(.\)' 2>/dev/null || 717 echo X"$0" | 718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 719 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 720 /^X\(\/\/\)$/{ s//\1/; q; } 721 /^X\(\/\).*/{ s//\1/; q; } 722 s/.*/./; q'` 1265 # Try the directory containing this script, then the parent directory. 1266 ac_confdir=`$as_dirname -- "$as_myself" || 1267 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1268 X"$as_myself" : 'X\(//\)[^/]' \| \ 1269 X"$as_myself" : 'X\(//\)$' \| \ 1270 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1271 $as_echo X"$as_myself" | 1272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1273 s//\1/ 1274 q 1275 } 1276 /^X\(\/\/\)[^/].*/{ 1277 s//\1/ 1278 q 1279 } 1280 /^X\(\/\/\)$/{ 1281 s//\1/ 1282 q 1283 } 1284 /^X\(\/\).*/{ 1285 s//\1/ 1286 q 1287 } 1288 s/.*/./; q'` 723 1289 srcdir=$ac_confdir 724 if test ! -r $srcdir/$ac_unique_file; then1290 if test ! -r "$srcdir/$ac_unique_file"; then 725 1291 srcdir=.. 726 1292 fi … … 728 1294 ac_srcdir_defaulted=no 729 1295 fi 730 if test ! -r $srcdir/$ac_unique_file; then731 if test "$ac_srcdir_defaulted" = yes; then732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&21296 if test ! -r "$srcdir/$ac_unique_file"; then 1297 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1298 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 733 1299 { (exit 1); exit 1; }; } 734 else 735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1300 fi 1301 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1302 ac_abs_confdir=`( 1303 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 736 1304 { (exit 1); exit 1; }; } 737 fi 738 fi 739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 741 { (exit 1); exit 1; }; } 742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 743 ac_env_build_alias_set=${build_alias+set} 744 ac_env_build_alias_value=$build_alias 745 ac_cv_env_build_alias_set=${build_alias+set} 746 ac_cv_env_build_alias_value=$build_alias 747 ac_env_host_alias_set=${host_alias+set} 748 ac_env_host_alias_value=$host_alias 749 ac_cv_env_host_alias_set=${host_alias+set} 750 ac_cv_env_host_alias_value=$host_alias 751 ac_env_target_alias_set=${target_alias+set} 752 ac_env_target_alias_value=$target_alias 753 ac_cv_env_target_alias_set=${target_alias+set} 754 ac_cv_env_target_alias_value=$target_alias 755 ac_env_CC_set=${CC+set} 756 ac_env_CC_value=$CC 757 ac_cv_env_CC_set=${CC+set} 758 ac_cv_env_CC_value=$CC 759 ac_env_CFLAGS_set=${CFLAGS+set} 760 ac_env_CFLAGS_value=$CFLAGS 761 ac_cv_env_CFLAGS_set=${CFLAGS+set} 762 ac_cv_env_CFLAGS_value=$CFLAGS 763 ac_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_env_LDFLAGS_value=$LDFLAGS 765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 766 ac_cv_env_LDFLAGS_value=$LDFLAGS 767 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_env_CPPFLAGS_value=$CPPFLAGS 769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 771 ac_env_CXX_set=${CXX+set} 772 ac_env_CXX_value=$CXX 773 ac_cv_env_CXX_set=${CXX+set} 774 ac_cv_env_CXX_value=$CXX 775 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 776 ac_env_CXXFLAGS_value=$CXXFLAGS 777 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 778 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 779 ac_env_CPP_set=${CPP+set} 780 ac_env_CPP_value=$CPP 781 ac_cv_env_CPP_set=${CPP+set} 782 ac_cv_env_CPP_value=$CPP 1305 pwd)` 1306 # When building in place, set srcdir=. 1307 if test "$ac_abs_confdir" = "$ac_pwd"; then 1308 srcdir=. 1309 fi 1310 # Remove unnecessary trailing slashes from srcdir. 1311 # Double slashes in file names in object file debugging info 1312 # mess up M-x gdb in Emacs. 1313 case $srcdir in 1314 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1315 esac 1316 for ac_var in $ac_precious_vars; do 1317 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1318 eval ac_env_${ac_var}_value=\$${ac_var} 1319 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1320 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1321 done 783 1322 784 1323 # … … 809 1348 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 810 1349 811 _ACEOF812 813 cat <<_ACEOF814 1350 Installation directories: 815 1351 --prefix=PREFIX install architecture-independent files in PREFIX 816 1352 [$ac_default_prefix] 817 1353 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 818 1354 [PREFIX] 819 1355 820 1356 By default, \`make install' will install all the files in … … 826 1362 827 1363 Fine tuning of the installation directories: 828 --bindir=DIR user executables [EPREFIX/bin] 829 --sbindir=DIR system admin executables [EPREFIX/sbin] 830 --libexecdir=DIR program executables [EPREFIX/libexec] 831 --datadir=DIR read-only architecture-independent data [PREFIX/share] 832 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 833 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 834 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 835 --libdir=DIR object code libraries [EPREFIX/lib] 836 --includedir=DIR C header files [PREFIX/include] 837 --oldincludedir=DIR C header files for non-gcc [/usr/include] 838 --infodir=DIR info documentation [PREFIX/info] 839 --mandir=DIR man documentation [PREFIX/man] 1364 --bindir=DIR user executables [EPREFIX/bin] 1365 --sbindir=DIR system admin executables [EPREFIX/sbin] 1366 --libexecdir=DIR program executables [EPREFIX/libexec] 1367 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1368 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1369 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1370 --libdir=DIR object code libraries [EPREFIX/lib] 1371 --includedir=DIR C header files [PREFIX/include] 1372 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1373 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1374 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1375 --infodir=DIR info documentation [DATAROOTDIR/info] 1376 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1377 --mandir=DIR man documentation [DATAROOTDIR/man] 1378 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1379 --htmldir=DIR html documentation [DOCDIR] 1380 --dvidir=DIR dvi documentation [DOCDIR] 1381 --pdfdir=DIR pdf documentation [DOCDIR] 1382 --psdir=DIR ps documentation [DOCDIR] 840 1383 _ACEOF 841 1384 … … 854 1397 855 1398 Optional Features: 1399 --disable-option-checking ignore unrecognized --enable/--with options 856 1400 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 857 1401 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 885 1429 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 886 1430 nonstandard directory <lib dir> 887 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 888 headers in a nonstandard directory <include dir> 1431 LIBS libraries to pass to the linker, e.g. -l<library> 1432 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1433 you have headers in a nonstandard directory <include dir> 889 1434 CXX C++ compiler command 890 1435 CXXFLAGS C++ compiler flags 1436 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1437 the first program found out of: `bison -y', `byacc', `yacc'. 1438 YFLAGS The list of arguments that will be passed by default to $YACC. 1439 This script will default YFLAGS to the empty string to avoid a 1440 default value of `-d' given by some make applications. 891 1441 CPP C preprocessor 892 1442 … … 895 1445 896 1446 _ACEOF 1447 ac_status=$? 897 1448 fi 898 1449 899 1450 if test "$ac_init_help" = "recursive"; then 900 1451 # If there are subdirs, report their specific --help. 901 ac_popdir=`pwd`902 1452 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 903 test -d $ac_dir || continue 1453 test -d "$ac_dir" || 1454 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1455 continue 904 1456 ac_builddir=. 905 1457 906 if test "$ac_dir" != .; then 907 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 908 # A "../" for each directory in $ac_dir_suffix. 909 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 910 else 911 ac_dir_suffix= ac_top_builddir= 912 fi 1458 case "$ac_dir" in 1459 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1460 *) 1461 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1462 # A ".." for each directory in $ac_dir_suffix. 1463 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1464 case $ac_top_builddir_sub in 1465 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1466 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1467 esac ;; 1468 esac 1469 ac_abs_top_builddir=$ac_pwd 1470 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1471 # for backward compatibility: 1472 ac_top_builddir=$ac_top_build_prefix 913 1473 914 1474 case $srcdir in 915 .) # No --srcdir option.We are building in place.1475 .) # We are building in place. 916 1476 ac_srcdir=. 917 if test -z "$ac_top_builddir"; then 918 ac_top_srcdir=. 1477 ac_top_srcdir=$ac_top_builddir_sub 1478 ac_abs_top_srcdir=$ac_pwd ;; 1479 [\\/]* | ?:[\\/]* ) # Absolute name. 1480 ac_srcdir=$srcdir$ac_dir_suffix; 1481 ac_top_srcdir=$srcdir 1482 ac_abs_top_srcdir=$srcdir ;; 1483 *) # Relative name. 1484 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1485 ac_top_srcdir=$ac_top_build_prefix$srcdir 1486 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1487 esac 1488 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1489 1490 cd "$ac_dir" || { ac_status=$?; continue; } 1491 # Check for guested configure. 1492 if test -f "$ac_srcdir/configure.gnu"; then 1493 echo && 1494 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1495 elif test -f "$ac_srcdir/configure"; then 1496 echo && 1497 $SHELL "$ac_srcdir/configure" --help=recursive 919 1498 else 920 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 921 fi ;; 922 [\\/]* | ?:[\\/]* ) # Absolute path. 923 ac_srcdir=$srcdir$ac_dir_suffix; 924 ac_top_srcdir=$srcdir ;; 925 *) # Relative path. 926 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 927 ac_top_srcdir=$ac_top_builddir$srcdir ;; 928 esac 929 930 # Do not use `cd foo && pwd` to compute absolute paths, because 931 # the directories may not exist. 932 case `pwd` in 933 .) ac_abs_builddir="$ac_dir";; 934 *) 935 case "$ac_dir" in 936 .) ac_abs_builddir=`pwd`;; 937 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 938 *) ac_abs_builddir=`pwd`/"$ac_dir";; 939 esac;; 940 esac 941 case $ac_abs_builddir in 942 .) ac_abs_top_builddir=${ac_top_builddir}.;; 943 *) 944 case ${ac_top_builddir}. in 945 .) ac_abs_top_builddir=$ac_abs_builddir;; 946 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 947 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 948 esac;; 949 esac 950 case $ac_abs_builddir in 951 .) ac_abs_srcdir=$ac_srcdir;; 952 *) 953 case $ac_srcdir in 954 .) ac_abs_srcdir=$ac_abs_builddir;; 955 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 956 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 957 esac;; 958 esac 959 case $ac_abs_builddir in 960 .) ac_abs_top_srcdir=$ac_top_srcdir;; 961 *) 962 case $ac_top_srcdir in 963 .) ac_abs_top_srcdir=$ac_abs_builddir;; 964 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 965 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 966 esac;; 967 esac 968 969 cd $ac_dir 970 # Check for guested configure; otherwise get Cygnus style configure. 971 if test -f $ac_srcdir/configure.gnu; then 972 echo 973 $SHELL $ac_srcdir/configure.gnu --help=recursive 974 elif test -f $ac_srcdir/configure; then 975 echo 976 $SHELL $ac_srcdir/configure --help=recursive 977 elif test -f $ac_srcdir/configure.ac || 978 test -f $ac_srcdir/configure.in; then 979 echo 980 $ac_configure --help 981 else 982 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 983 fi 984 cd $ac_popdir 1499 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1500 fi || ac_status=$? 1501 cd "$ac_pwd" || { ac_status=$?; break; } 985 1502 done 986 1503 fi 987 1504 988 test -n "$ac_init_help" && exit 01505 test -n "$ac_init_help" && exit $ac_status 989 1506 if $ac_init_version; then 990 1507 cat <<\_ACEOF 991 992 Copyright (C) 2003 Free Software Foundation, Inc. 1508 configure 1509 generated by GNU Autoconf 2.63 1510 1511 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1512 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 993 1513 This configure script is free software; the Free Software Foundation 994 1514 gives unlimited permission to copy, distribute and modify it. 995 1515 _ACEOF 996 exit 0 997 fi 998 exec 5>config.log 999 cat >&5 <<_ACEOF 1516 exit 1517 fi 1518 cat >config.log <<_ACEOF 1000 1519 This file contains any messages produced by compilers while 1001 1520 running configure, to aid debugging if configure makes a mistake. 1002 1521 1003 1522 It was created by $as_me, which was 1004 generated by GNU Autoconf 2. 59. Invocation command line was1523 generated by GNU Autoconf 2.63. Invocation command line was 1005 1524 1006 1525 $ $0 $@ 1007 1526 1008 1527 _ACEOF 1528 exec 5>>config.log 1009 1529 { 1010 1530 cat <<_ASUNAME … … 1025 1545 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1026 1546 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1027 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1547 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1028 1548 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1029 1549 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1037 1557 IFS=$as_save_IFS 1038 1558 test -z "$as_dir" && as_dir=. 1039 echo "PATH: $as_dir"1559 $as_echo "PATH: $as_dir" 1040 1560 done 1561 IFS=$as_save_IFS 1041 1562 1042 1563 } >&5 … … 1060 1581 ac_configure_args0= 1061 1582 ac_configure_args1= 1062 ac_sep=1063 1583 ac_must_keep_next=false 1064 1584 for ac_pass in 1 2 … … 1071 1591 | -silent | --silent | --silen | --sile | --sil) 1072 1592 continue ;; 1073 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1074 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1593 *\'*) 1594 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1075 1595 esac 1076 1596 case $ac_pass in … … 1093 1613 esac 1094 1614 fi 1095 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1096 # Get rid of the leading space. 1097 ac_sep=" " 1615 ac_configure_args="$ac_configure_args '$ac_arg'" 1098 1616 ;; 1099 1617 esac … … 1106 1624 # config.log. We remove comments because anyway the quotes in there 1107 1625 # would cause problems or look ugly. 1108 # WARNING: Be sure not to use single quotes in there, as some shells,1109 # such as our DU 5.0 friend, will then `close' the trap.1626 # WARNING: Use '\'' to represent an apostrophe within the trap. 1627 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1110 1628 trap 'exit_status=$? 1111 1629 # Save into config.log some information that might help in debugging. … … 1120 1638 echo 1121 1639 # The following way of writing the cache mishandles newlines in values, 1122 { 1640 ( 1641 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1642 eval ac_val=\$$ac_var 1643 case $ac_val in #( 1644 *${as_nl}*) 1645 case $ac_var in #( 1646 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1647 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1648 esac 1649 case $ac_var in #( 1650 _ | IFS | as_nl) ;; #( 1651 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1652 *) $as_unset $ac_var ;; 1653 esac ;; 1654 esac 1655 done 1123 1656 (set) 2>&1 | 1124 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1125 * ac_space=\ *)1657 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1658 *${as_nl}ac_space=\ *) 1126 1659 sed -n \ 1127 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1128 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1660 "s/'\''/'\''\\\\'\'''\''/g; 1661 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1662 ;; #( 1663 *) 1664 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1129 1665 ;; 1130 *) 1131 sed -n \ 1132 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1133 ;; 1134 esac; 1135 } 1666 esac | 1667 sort 1668 ) 1136 1669 echo 1137 1670 … … 1144 1677 for ac_var in $ac_subst_vars 1145 1678 do 1146 eval ac_val=$`echo $ac_var` 1147 echo "$ac_var='"'"'$ac_val'"'"'" 1679 eval ac_val=\$$ac_var 1680 case $ac_val in 1681 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1682 esac 1683 $as_echo "$ac_var='\''$ac_val'\''" 1148 1684 done | sort 1149 1685 echo … … 1151 1687 if test -n "$ac_subst_files"; then 1152 1688 cat <<\_ASBOX 1153 ## ------------- ##1154 ## Output files. ##1155 ## ------------- ##1689 ## ------------------- ## 1690 ## File substitutions. ## 1691 ## ------------------- ## 1156 1692 _ASBOX 1157 1693 echo 1158 1694 for ac_var in $ac_subst_files 1159 1695 do 1160 eval ac_val=$`echo $ac_var` 1161 echo "$ac_var='"'"'$ac_val'"'"'" 1696 eval ac_val=\$$ac_var 1697 case $ac_val in 1698 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1699 esac 1700 $as_echo "$ac_var='\''$ac_val'\''" 1162 1701 done | sort 1163 1702 echo … … 1171 1710 _ASBOX 1172 1711 echo 1173 sed "/^$/d" confdefs.h | sort1712 cat confdefs.h 1174 1713 echo 1175 1714 fi 1176 1715 test "$ac_signal" != 0 && 1177 echo "$as_me: caught signal $ac_signal"1178 echo "$as_me: exit $exit_status"1716 $as_echo "$as_me: caught signal $ac_signal" 1717 $as_echo "$as_me: exit $exit_status" 1179 1718 } >&5 1180 rm -f core *.core &&1181 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1719 rm -f core *.core core.conftest.* && 1720 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1182 1721 exit $exit_status 1183 1722 ' 0 1184 1723 for ac_signal in 1 2 13 15; do 1185 1724 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1188 1727 1189 1728 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1190 rm -rf conftest* confdefs.h 1191 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1192 echo >confdefs.h 1729 rm -f -r conftest* confdefs.h 1193 1730 1194 1731 # Predefined preprocessor variables. … … 1220 1757 1221 1758 # Let the site file select an alternate cache file if it wants to. 1222 # Prefer explicitly selected file to automatically selected ones. 1223 if test -z "$CONFIG_SITE"; then 1224 if test "x$prefix" != xNONE; then 1225 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1226 else 1227 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1228 fi 1229 fi 1230 for ac_site_file in $CONFIG_SITE; do 1759 # Prefer an explicitly selected file to automatically selected ones. 1760 ac_site_file1=NONE 1761 ac_site_file2=NONE 1762 if test -n "$CONFIG_SITE"; then 1763 ac_site_file1=$CONFIG_SITE 1764 elif test "x$prefix" != xNONE; then 1765 ac_site_file1=$prefix/share/config.site 1766 ac_site_file2=$prefix/etc/config.site 1767 else 1768 ac_site_file1=$ac_default_prefix/share/config.site 1769 ac_site_file2=$ac_default_prefix/etc/config.site 1770 fi 1771 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1772 do 1773 test "x$ac_site_file" = xNONE && continue 1231 1774 if test -r "$ac_site_file"; then 1232 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&51233 echo "$as_me: loading site script $ac_site_file" >&6;}1775 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1776 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1234 1777 sed 's/^/| /' "$ac_site_file" >&5 1235 1778 . "$ac_site_file" … … 1241 1784 # files actually), so we avoid doing that. 1242 1785 if test -f "$cache_file"; then 1243 { echo "$as_me:$LINENO: loading cache $cache_file" >&51244 echo "$as_me: loading cache $cache_file" >&6;}1786 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1787 $as_echo "$as_me: loading cache $cache_file" >&6;} 1245 1788 case $cache_file in 1246 [\\/]* | ?:[\\/]* ) . $cache_file;;1247 *) . ./$cache_file;;1789 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1790 *) . "./$cache_file";; 1248 1791 esac 1249 1792 fi 1250 1793 else 1251 { echo "$as_me:$LINENO: creating cache $cache_file" >&51252 echo "$as_me: creating cache $cache_file" >&6;}1794 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1795 $as_echo "$as_me: creating cache $cache_file" >&6;} 1253 1796 >$cache_file 1254 1797 fi … … 1257 1800 # value. 1258 1801 ac_cache_corrupted=false 1259 for ac_var in `(set) 2>&1 | 1260 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1802 for ac_var in $ac_precious_vars; do 1261 1803 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1262 1804 eval ac_new_set=\$ac_env_${ac_var}_set 1263 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1264 eval ac_new_val= "\$ac_env_${ac_var}_value"1805 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1806 eval ac_new_val=\$ac_env_${ac_var}_value 1265 1807 case $ac_old_set,$ac_new_set in 1266 1808 set,) 1267 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51268 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1809 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1810 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1269 1811 ac_cache_corrupted=: ;; 1270 1812 ,set) 1271 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51272 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1813 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1814 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1273 1815 ac_cache_corrupted=: ;; 1274 1816 ,);; 1275 1817 *) 1276 1818 if test "x$ac_old_val" != "x$ac_new_val"; then 1277 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1278 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1279 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1280 echo "$as_me: former value: $ac_old_val" >&2;} 1281 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1282 echo "$as_me: current value: $ac_new_val" >&2;} 1283 ac_cache_corrupted=: 1819 # differences in whitespace do not lead to failure. 1820 ac_old_val_w=`echo x $ac_old_val` 1821 ac_new_val_w=`echo x $ac_new_val` 1822 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1823 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1824 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1825 ac_cache_corrupted=: 1826 else 1827 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1828 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1829 eval $ac_var=\$ac_old_val 1830 fi 1831 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1832 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1833 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1834 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1284 1835 fi;; 1285 1836 esac … … 1287 1838 if test "$ac_new_set" = set; then 1288 1839 case $ac_new_val in 1289 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1290 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1840 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1291 1841 *) ac_arg=$ac_var=$ac_new_val ;; 1292 1842 esac … … 1298 1848 done 1299 1849 if $ac_cache_corrupted; then 1300 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1301 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1302 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1303 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1850 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 1851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1852 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1853 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1854 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1855 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1304 1856 { (exit 1); exit 1; }; } 1305 1857 fi 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1306 1874 1307 1875 ac_ext=c … … 1312 1880 1313 1881 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 ac_config_headers="$ac_config_headers config.h" 1882 ac_config_headers="$ac_config_headers config.h" 1332 1883 1333 1884 … … 1363 1914 fi 1364 1915 1365 # Check whether --enable-corba or --disable-corbawas given.1916 # Check whether --enable-corba was given. 1366 1917 if test "${enable_corba+set}" = set; then 1367 enableval="$enable_corba" 1368 USE_CORBA=$enableval 1918 enableval=$enable_corba; USE_CORBA=$enableval 1369 1919 else 1370 1920 USE_CORBA=no 1371 fi; 1921 fi 1922 1372 1923 if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then 1373 1924 USE_CORBA=1 1374 1925 cat >>confdefs.h <<\_ACEOF 1375 #define USE_CORBA 1926 #define USE_CORBA /**/ 1376 1927 _ACEOF 1377 1928 … … 1382 1933 1383 1934 1384 # Check whether --with-micodir or --without-micodirwas given.1935 # Check whether --with-micodir was given. 1385 1936 if test "${with_micodir+set}" = set; then 1386 withval="$with_micodir" 1387 MICO_DIR=$withval 1937 withval=$with_micodir; MICO_DIR=$withval 1388 1938 else 1389 1939 MICO_DIR="default" 1390 fi; 1940 fi 1941 1391 1942 cat >>confdefs.h <<_ACEOF 1392 1943 #define MICO_DIR "$MICO_DIR" … … 1395 1946 1396 1947 1397 # Check whether --enable-java or --disable-javawas given.1948 # Check whether --enable-java was given. 1398 1949 if test "${enable_java+set}" = set; then 1399 enableval="$enable_java" 1400 ENABLE_JAVA=$enableval 1950 enableval=$enable_java; ENABLE_JAVA=$enableval 1401 1951 else 1402 1952 ENABLE_JAVA=yes 1403 fi; 1953 fi 1954 1404 1955 if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then 1405 1956 ENABLE_JAVA=1 … … 1415 1966 1416 1967 1417 # Check whether --enable-z3950 or --disable-z3950was given.1968 # Check whether --enable-z3950 was given. 1418 1969 if test "${enable_z3950+set}" = set; then 1419 enableval="$enable_z3950" 1420 USE_Z3950=$enableval 1970 enableval=$enable_z3950; USE_Z3950=$enableval 1421 1971 else 1422 1972 USE_Z3950=no 1423 fi; 1973 fi 1974 1424 1975 if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then 1425 1976 USE_Z3950=1 1426 1977 cat >>confdefs.h <<\_ACEOF 1427 #define USE_Z3950 1978 #define USE_Z3950 /**/ 1428 1979 _ACEOF 1429 1980 … … 1433 1984 1434 1985 1435 # Check whether --enable-yaz or --disable-yazwas given.1986 # Check whether --enable-yaz was given. 1436 1987 if test "${enable_yaz+set}" = set; then 1437 enableval="$enable_yaz" 1438 USE_YAZ=$enableval 1988 enableval=$enable_yaz; USE_YAZ=$enableval 1439 1989 else 1440 1990 USE_YAZ=yes 1441 fi; 1991 fi 1992 1442 1993 if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then 1443 1994 USE_YAZ=1 1444 1995 cat >>confdefs.h <<\_ACEOF 1445 #define USE_YAZ 1996 #define USE_YAZ /**/ 1446 1997 _ACEOF 1447 1998 … … 1451 2002 1452 2003 1453 # Check whether --enable-wvware or --disable-wvwarewas given.2004 # Check whether --enable-wvware was given. 1454 2005 if test "${enable_wvware+set}" = set; then 1455 enableval="$enable_wvware" 1456 USE_WVWARE=$enableval 2006 enableval=$enable_wvware; USE_WVWARE=$enableval 1457 2007 else 1458 2008 USE_WVWARE=yes 1459 fi; 2009 fi 2010 1460 2011 if test $USE_WVWARE = "yes" -o $USE_WVWARE = "1" ; then 1461 2012 USE_WVWARE=1 1462 2013 cat >>confdefs.h <<\_ACEOF 1463 #define USE_WVWARE 2014 #define USE_WVWARE /**/ 1464 2015 _ACEOF 1465 2016 … … 1469 2020 1470 2021 1471 # Check whether --enable-jdbm or --disable-jdbmwas given.2022 # Check whether --enable-jdbm was given. 1472 2023 if test "${enable_jdbm+set}" = set; then 1473 enableval="$enable_jdbm" 1474 USE_JDBM=$enableval 2024 enableval=$enable_jdbm; USE_JDBM=$enableval 1475 2025 else 1476 2026 USE_JDBM=yes 1477 fi; 2027 fi 2028 1478 2029 if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then 1479 2030 USE_JDBM=1 1480 2031 cat >>confdefs.h <<\_ACEOF 1481 #define USE_JDBM 2032 #define USE_JDBM /**/ 1482 2033 _ACEOF 1483 2034 … … 1487 2038 1488 2039 1489 # Check whether --enable-gdbm or --disable-gdbmwas given.2040 # Check whether --enable-gdbm was given. 1490 2041 if test "${enable_gdbm+set}" = set; then 1491 enableval="$enable_gdbm" 1492 USE_GDBM=$enableval 2042 enableval=$enable_gdbm; USE_GDBM=$enableval 1493 2043 else 1494 2044 USE_GDBM=yes 1495 fi; 2045 fi 2046 1496 2047 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 1497 2048 USE_GDBM=1 1498 2049 cat >>confdefs.h <<\_ACEOF 1499 #define USE_GDBM 2050 #define USE_GDBM /**/ 1500 2051 _ACEOF 1501 2052 … … 1505 2056 1506 2057 1507 # Check whether --enable-accentfold or --disable-accentfoldwas given.2058 # Check whether --enable-accentfold was given. 1508 2059 if test "${enable_accentfold+set}" = set; then 1509 enableval="$enable_accentfold" 1510 ENABLE_ACCENTFOLD=$enableval 2060 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval 1511 2061 else 1512 2062 ENABLE_ACCENTFOLD=yes 1513 fi; 2063 fi 2064 1514 2065 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 1515 2066 ENABLE_ACCENTFOLD=1 1516 2067 cat >>confdefs.h <<\_ACEOF 1517 #define ENABLE_ACCENTFOLD 2068 #define ENABLE_ACCENTFOLD /**/ 1518 2069 _ACEOF 1519 2070 … … 1523 2074 1524 2075 1525 # Check whether --enable-sqlite or --disable-sqlitewas given.2076 # Check whether --enable-sqlite was given. 1526 2077 if test "${enable_sqlite+set}" = set; then 1527 enableval="$enable_sqlite" 1528 USE_SQLITE=$enableval 2078 enableval=$enable_sqlite; USE_SQLITE=$enableval 1529 2079 else 1530 2080 USE_SQLITE=yes 1531 fi; 2081 fi 2082 1532 2083 if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then 1533 2084 USE_SQLITE=1 1534 2085 cat >>confdefs.h <<\_ACEOF 1535 #define USE_SQLITE 2086 #define USE_SQLITE /**/ 1536 2087 _ACEOF 1537 2088 … … 1541 2092 1542 2093 1543 # Check whether --enable-rss or --disable-rsswas given.2094 # Check whether --enable-rss was given. 1544 2095 if test "${enable_rss+set}" = set; then 1545 enableval="$enable_rss" 1546 USE_RSS=$enableval 2096 enableval=$enable_rss; USE_RSS=$enableval 1547 2097 else 1548 2098 USE_RSS=yes 1549 fi; 2099 fi 2100 1550 2101 if test $USE_RSS = "yes" -o $USE_RSS = "1" ; then 1551 2102 USE_RSS=1 1552 2103 cat >>confdefs.h <<\_ACEOF 1553 #define USE_RSS 2104 #define USE_RSS /**/ 1554 2105 _ACEOF 1555 2106 … … 1561 2112 1562 2113 if test -d runtime-src; then 1563 # Check whether --enable-apache-httpd or --disable-apache-httpdwas given.2114 # Check whether --enable-apache-httpd was given. 1564 2115 if test "${enable_apache_httpd+set}" = set; then 1565 enableval="$enable_apache_httpd" 1566 USE_APACHE_HTTPD=$enableval 2116 enableval=$enable_apache_httpd; USE_APACHE_HTTPD=$enableval 1567 2117 else 1568 2118 USE_APACHE_HTTPD=no 1569 fi; 2119 fi 2120 1570 2121 if test $USE_APACHE_HTTPD = "yes" -o $USE_APACHE_HTTPD = "1" ; then 1571 2122 USE_APACHE_HTTPD=1 1572 2123 cat >>confdefs.h <<\_ACEOF 1573 #define USE_APACHE_HTTPD 2124 #define USE_APACHE_HTTPD /**/ 1574 2125 _ACEOF 1575 2126 … … 1580 2131 fi 1581 2132 1582 # Check whether --enable-jni or --disable-jniwas given.2133 # Check whether --enable-jni was given. 1583 2134 if test "${enable_jni+set}" = set; then 1584 enableval="$enable_jni" 1585 ENABLE_JNI=$enableval 2135 enableval=$enable_jni; ENABLE_JNI=$enableval 1586 2136 else 1587 2137 ENABLE_JNI=no 1588 fi; 2138 fi 2139 1589 2140 if test $ENABLE_JAVA = "1" -a \( $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" \) ; then 1590 2141 ENABLE_JNI=1 1591 2142 cat >>confdefs.h <<\_ACEOF 1592 #define ENABLE_JNI 2143 #define ENABLE_JNI /**/ 1593 2144 _ACEOF 1594 2145 … … 1598 2149 1599 2150 1600 # Check whether --enable-mg or --disable-mgwas given.2151 # Check whether --enable-mg was given. 1601 2152 if test "${enable_mg+set}" = set; then 1602 enableval="$enable_mg" 1603 ENABLE_MG=$enableval 2153 enableval=$enable_mg; ENABLE_MG=$enableval 1604 2154 else 1605 2155 ENABLE_MG=yes 1606 fi; 2156 fi 2157 1607 2158 if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then 1608 2159 ENABLE_MG=1 1609 2160 cat >>confdefs.h <<\_ACEOF 1610 #define ENABLE_MG 2161 #define ENABLE_MG /**/ 1611 2162 _ACEOF 1612 2163 … … 1617 2168 1618 2169 1619 # Check whether --enable-mgpp or --disable-mgppwas given.2170 # Check whether --enable-mgpp was given. 1620 2171 if test "${enable_mgpp+set}" = set; then 1621 enableval="$enable_mgpp" 1622 ENABLE_MGPP=$enableval 2172 enableval=$enable_mgpp; ENABLE_MGPP=$enableval 1623 2173 else 1624 2174 ENABLE_MGPP=yes 1625 fi; 2175 fi 2176 1626 2177 if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then 1627 2178 ENABLE_MGPP=1 1628 2179 cat >>confdefs.h <<\_ACEOF 1629 #define ENABLE_MGPP 2180 #define ENABLE_MGPP /**/ 1630 2181 _ACEOF 1631 2182 … … 1635 2186 1636 2187 1637 # Check whether --enable-lucene or --disable-lucenewas given.2188 # Check whether --enable-lucene was given. 1638 2189 if test "${enable_lucene+set}" = set; then 1639 enableval="$enable_lucene" 1640 ENABLE_LUCENE=$enableval 2190 enableval=$enable_lucene; ENABLE_LUCENE=$enableval 1641 2191 else 1642 2192 ENABLE_LUCENE=yes 1643 fi; 2193 fi 2194 1644 2195 if test $ENABLE_JAVA = "1" -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then 1645 2196 ENABLE_LUCENE=1 1646 2197 cat >>confdefs.h <<\_ACEOF 1647 #define ENABLE_LUCENE 2198 #define ENABLE_LUCENE /**/ 1648 2199 _ACEOF 1649 2200 … … 1670 2221 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1671 2222 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1672 echo "$as_me:$LINENO: checking for $ac_word" >&51673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2223 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2224 $as_echo_n "checking for $ac_word... " >&6; } 1674 2225 if test "${ac_cv_prog_CC+set}" = set; then 1675 echo $ECHO_N "(cached) $ECHO_C" >&62226 $as_echo_n "(cached) " >&6 1676 2227 else 1677 2228 if test -n "$CC"; then … … 1684 2235 test -z "$as_dir" && as_dir=. 1685 2236 for ac_exec_ext in '' $ac_executable_extensions; do 1686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1687 2238 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52239 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1689 2240 break 2 1690 2241 fi 1691 2242 done 1692 2243 done 2244 IFS=$as_save_IFS 1693 2245 1694 2246 fi … … 1696 2248 CC=$ac_cv_prog_CC 1697 2249 if test -n "$CC"; then 1698 echo "$as_me:$LINENO: result: $CC" >&5 1699 echo "${ECHO_T}$CC" >&6 1700 else 1701 echo "$as_me:$LINENO: result: no" >&5 1702 echo "${ECHO_T}no" >&6 1703 fi 2250 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2251 $as_echo "$CC" >&6; } 2252 else 2253 { $as_echo "$as_me:$LINENO: result: no" >&5 2254 $as_echo "no" >&6; } 2255 fi 2256 1704 2257 1705 2258 fi … … 1708 2261 # Extract the first word of "gcc", so it can be a program name with args. 1709 2262 set dummy gcc; ac_word=$2 1710 echo "$as_me:$LINENO: checking for $ac_word" >&51711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2263 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2264 $as_echo_n "checking for $ac_word... " >&6; } 1712 2265 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1713 echo $ECHO_N "(cached) $ECHO_C" >&62266 $as_echo_n "(cached) " >&6 1714 2267 else 1715 2268 if test -n "$ac_ct_CC"; then … … 1722 2275 test -z "$as_dir" && as_dir=. 1723 2276 for ac_exec_ext in '' $ac_executable_extensions; do 1724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1725 2278 ac_cv_prog_ac_ct_CC="gcc" 1726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52279 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1727 2280 break 2 1728 2281 fi 1729 2282 done 1730 2283 done 2284 IFS=$as_save_IFS 1731 2285 1732 2286 fi … … 1734 2288 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1735 2289 if test -n "$ac_ct_CC"; then 1736 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1737 echo "${ECHO_T}$ac_ct_CC" >&6 1738 else 1739 echo "$as_me:$LINENO: result: no" >&5 1740 echo "${ECHO_T}no" >&6 1741 fi 1742 1743 CC=$ac_ct_CC 2290 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2291 $as_echo "$ac_ct_CC" >&6; } 2292 else 2293 { $as_echo "$as_me:$LINENO: result: no" >&5 2294 $as_echo "no" >&6; } 2295 fi 2296 2297 if test "x$ac_ct_CC" = x; then 2298 CC="" 2299 else 2300 case $cross_compiling:$ac_tool_warned in 2301 yes:) 2302 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2304 ac_tool_warned=yes ;; 2305 esac 2306 CC=$ac_ct_CC 2307 fi 1744 2308 else 1745 2309 CC="$ac_cv_prog_CC" … … 1747 2311 1748 2312 if test -z "$CC"; then 1749 if test -n "$ac_tool_prefix"; then1750 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2313 if test -n "$ac_tool_prefix"; then 2314 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1751 2315 set dummy ${ac_tool_prefix}cc; ac_word=$2 1752 echo "$as_me:$LINENO: checking for $ac_word" >&51753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2316 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2317 $as_echo_n "checking for $ac_word... " >&6; } 1754 2318 if test "${ac_cv_prog_CC+set}" = set; then 1755 echo $ECHO_N "(cached) $ECHO_C" >&62319 $as_echo_n "(cached) " >&6 1756 2320 else 1757 2321 if test -n "$CC"; then … … 1764 2328 test -z "$as_dir" && as_dir=. 1765 2329 for ac_exec_ext in '' $ac_executable_extensions; do 1766 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1767 2331 ac_cv_prog_CC="${ac_tool_prefix}cc" 1768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52332 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1769 2333 break 2 1770 2334 fi 1771 2335 done 1772 2336 done 2337 IFS=$as_save_IFS 1773 2338 1774 2339 fi … … 1776 2341 CC=$ac_cv_prog_CC 1777 2342 if test -n "$CC"; then 1778 echo "$as_me:$LINENO: result: $CC" >&5 1779 echo "${ECHO_T}$CC" >&6 1780 else 1781 echo "$as_me:$LINENO: result: no" >&5 1782 echo "${ECHO_T}no" >&6 1783 fi 1784 1785 fi 1786 if test -z "$ac_cv_prog_CC"; then 1787 ac_ct_CC=$CC 1788 # Extract the first word of "cc", so it can be a program name with args. 1789 set dummy cc; ac_word=$2 1790 echo "$as_me:$LINENO: checking for $ac_word" >&5 1791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1792 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1793 echo $ECHO_N "(cached) $ECHO_C" >&6 1794 else 1795 if test -n "$ac_ct_CC"; then 1796 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1797 else 1798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1799 for as_dir in $PATH 1800 do 1801 IFS=$as_save_IFS 1802 test -z "$as_dir" && as_dir=. 1803 for ac_exec_ext in '' $ac_executable_extensions; do 1804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1805 ac_cv_prog_ac_ct_CC="cc" 1806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1807 break 2 2343 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2344 $as_echo "$CC" >&6; } 2345 else 2346 { $as_echo "$as_me:$LINENO: result: no" >&5 2347 $as_echo "no" >&6; } 2348 fi 2349 2350 1808 2351 fi 1809 done1810 done1811 1812 fi1813 fi1814 ac_ct_CC=$ac_cv_prog_ac_ct_CC1815 if test -n "$ac_ct_CC"; then1816 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51817 echo "${ECHO_T}$ac_ct_CC" >&61818 else1819 echo "$as_me:$LINENO: result: no" >&51820 echo "${ECHO_T}no" >&61821 fi1822 1823 CC=$ac_ct_CC1824 else1825 CC="$ac_cv_prog_CC"1826 fi1827 1828 2352 fi 1829 2353 if test -z "$CC"; then 1830 2354 # Extract the first word of "cc", so it can be a program name with args. 1831 2355 set dummy cc; ac_word=$2 1832 echo "$as_me:$LINENO: checking for $ac_word" >&51833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2356 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2357 $as_echo_n "checking for $ac_word... " >&6; } 1834 2358 if test "${ac_cv_prog_CC+set}" = set; then 1835 echo $ECHO_N "(cached) $ECHO_C" >&62359 $as_echo_n "(cached) " >&6 1836 2360 else 1837 2361 if test -n "$CC"; then … … 1845 2369 test -z "$as_dir" && as_dir=. 1846 2370 for ac_exec_ext in '' $ac_executable_extensions; do 1847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1848 2372 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1849 2373 ac_prog_rejected=yes … … 1851 2375 fi 1852 2376 ac_cv_prog_CC="cc" 1853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52377 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1854 2378 break 2 1855 2379 fi 1856 2380 done 1857 2381 done 2382 IFS=$as_save_IFS 1858 2383 1859 2384 if test $ac_prog_rejected = yes; then … … 1873 2398 CC=$ac_cv_prog_CC 1874 2399 if test -n "$CC"; then 1875 echo "$as_me:$LINENO: result: $CC" >&5 1876 echo "${ECHO_T}$CC" >&6 1877 else 1878 echo "$as_me:$LINENO: result: no" >&5 1879 echo "${ECHO_T}no" >&6 1880 fi 2400 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2401 $as_echo "$CC" >&6; } 2402 else 2403 { $as_echo "$as_me:$LINENO: result: no" >&5 2404 $as_echo "no" >&6; } 2405 fi 2406 1881 2407 1882 2408 fi 1883 2409 if test -z "$CC"; then 1884 2410 if test -n "$ac_tool_prefix"; then 1885 for ac_prog in cl 2411 for ac_prog in cl.exe 1886 2412 do 1887 2413 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1888 2414 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1889 echo "$as_me:$LINENO: checking for $ac_word" >&51890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2415 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2416 $as_echo_n "checking for $ac_word... " >&6; } 1891 2417 if test "${ac_cv_prog_CC+set}" = set; then 1892 echo $ECHO_N "(cached) $ECHO_C" >&62418 $as_echo_n "(cached) " >&6 1893 2419 else 1894 2420 if test -n "$CC"; then … … 1901 2427 test -z "$as_dir" && as_dir=. 1902 2428 for ac_exec_ext in '' $ac_executable_extensions; do 1903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1904 2430 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52431 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1906 2432 break 2 1907 2433 fi 1908 2434 done 1909 2435 done 2436 IFS=$as_save_IFS 1910 2437 1911 2438 fi … … 1913 2440 CC=$ac_cv_prog_CC 1914 2441 if test -n "$CC"; then 1915 echo "$as_me:$LINENO: result: $CC" >&5 1916 echo "${ECHO_T}$CC" >&6 1917 else 1918 echo "$as_me:$LINENO: result: no" >&5 1919 echo "${ECHO_T}no" >&6 1920 fi 2442 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2443 $as_echo "$CC" >&6; } 2444 else 2445 { $as_echo "$as_me:$LINENO: result: no" >&5 2446 $as_echo "no" >&6; } 2447 fi 2448 1921 2449 1922 2450 test -n "$CC" && break … … 1925 2453 if test -z "$CC"; then 1926 2454 ac_ct_CC=$CC 1927 for ac_prog in cl 2455 for ac_prog in cl.exe 1928 2456 do 1929 2457 # Extract the first word of "$ac_prog", so it can be a program name with args. 1930 2458 set dummy $ac_prog; ac_word=$2 1931 echo "$as_me:$LINENO: checking for $ac_word" >&51932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2459 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2460 $as_echo_n "checking for $ac_word... " >&6; } 1933 2461 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1934 echo $ECHO_N "(cached) $ECHO_C" >&62462 $as_echo_n "(cached) " >&6 1935 2463 else 1936 2464 if test -n "$ac_ct_CC"; then … … 1943 2471 test -z "$as_dir" && as_dir=. 1944 2472 for ac_exec_ext in '' $ac_executable_extensions; do 1945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1946 2474 ac_cv_prog_ac_ct_CC="$ac_prog" 1947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52475 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1948 2476 break 2 1949 2477 fi 1950 2478 done 1951 2479 done 2480 IFS=$as_save_IFS 1952 2481 1953 2482 fi … … 1955 2484 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1956 2485 if test -n "$ac_ct_CC"; then 1957 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1958 echo "${ECHO_T}$ac_ct_CC" >&6 1959 else 1960 echo "$as_me:$LINENO: result: no" >&5 1961 echo "${ECHO_T}no" >&6 1962 fi 2486 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2487 $as_echo "$ac_ct_CC" >&6; } 2488 else 2489 { $as_echo "$as_me:$LINENO: result: no" >&5 2490 $as_echo "no" >&6; } 2491 fi 2492 1963 2493 1964 2494 test -n "$ac_ct_CC" && break 1965 2495 done 1966 2496 1967 CC=$ac_ct_CC 1968 fi 1969 1970 fi 1971 1972 1973 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2497 if test "x$ac_ct_CC" = x; then 2498 CC="" 2499 else 2500 case $cross_compiling:$ac_tool_warned in 2501 yes:) 2502 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2504 ac_tool_warned=yes ;; 2505 esac 2506 CC=$ac_ct_CC 2507 fi 2508 fi 2509 2510 fi 2511 2512 2513 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2514 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2515 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1974 2516 See \`config.log' for more details." >&5 1975 echo "$as_me: error: no acceptable C compiler found in \$PATH2517 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 1976 2518 See \`config.log' for more details." >&2;} 1977 { (exit 1); exit 1; }; } 2519 { (exit 1); exit 1; }; }; } 1978 2520 1979 2521 # Provide some information about the compiler. 1980 echo "$as_me:$LINENO:" \ 1981 "checking for C compiler version" >&5 1982 ac_compiler=`set X $ac_compile; echo $2` 1983 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1984 (eval $ac_compiler --version </dev/null >&5) 2>&5 2522 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2523 set X $ac_compile 2524 ac_compiler=$2 2525 { (ac_try="$ac_compiler --version >&5" 2526 case "(($ac_try" in 2527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2528 *) ac_try_echo=$ac_try;; 2529 esac 2530 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2531 $as_echo "$ac_try_echo") >&5 2532 (eval "$ac_compiler --version >&5") 2>&5 1985 2533 ac_status=$? 1986 echo "$as_me:$LINENO: \$? = $ac_status" >&52534 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1987 2535 (exit $ac_status); } 1988 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1989 (eval $ac_compiler -v </dev/null >&5) 2>&5 2536 { (ac_try="$ac_compiler -v >&5" 2537 case "(($ac_try" in 2538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2539 *) ac_try_echo=$ac_try;; 2540 esac 2541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2542 $as_echo "$ac_try_echo") >&5 2543 (eval "$ac_compiler -v >&5") 2>&5 1990 2544 ac_status=$? 1991 echo "$as_me:$LINENO: \$? = $ac_status" >&52545 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1992 2546 (exit $ac_status); } 1993 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1994 (eval $ac_compiler -V </dev/null >&5) 2>&5 2547 { (ac_try="$ac_compiler -V >&5" 2548 case "(($ac_try" in 2549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2550 *) ac_try_echo=$ac_try;; 2551 esac 2552 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2553 $as_echo "$ac_try_echo") >&5 2554 (eval "$ac_compiler -V >&5") 2>&5 1995 2555 ac_status=$? 1996 echo "$as_me:$LINENO: \$? = $ac_status" >&52556 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1997 2557 (exit $ac_status); } 1998 2558 … … 2013 2573 _ACEOF 2014 2574 ac_clean_files_save=$ac_clean_files 2015 ac_clean_files="$ac_clean_files a.out a. exe b.out"2575 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2016 2576 # Try to create an executable without -o first, disregard a.out. 2017 2577 # It will help us diagnose broken compilers, and finding out an intuition 2018 2578 # of exeext. 2019 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2020 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2021 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2022 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2023 (eval $ac_link_default) 2>&5 2579 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2580 $as_echo_n "checking for C compiler default output file name... " >&6; } 2581 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2582 2583 # The possible output files: 2584 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2585 2586 ac_rmfiles= 2587 for ac_file in $ac_files 2588 do 2589 case $ac_file in 2590 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2591 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2592 esac 2593 done 2594 rm -f $ac_rmfiles 2595 2596 if { (ac_try="$ac_link_default" 2597 case "(($ac_try" in 2598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2599 *) ac_try_echo=$ac_try;; 2600 esac 2601 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2602 $as_echo "$ac_try_echo") >&5 2603 (eval "$ac_link_default") 2>&5 2024 2604 ac_status=$? 2025 echo "$as_me:$LINENO: \$? = $ac_status" >&52605 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2026 2606 (exit $ac_status); }; then 2027 # Find the output, starting from the most likely. This scheme is 2028 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 2029 # resort. 2030 2031 # Be careful to initialize this variable, since it used to be cached. 2032 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 2033 ac_cv_exeext= 2034 # b.out is created by i960 compilers. 2035 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2607 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2608 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2609 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2610 # so that the user can short-circuit this test for compilers unknown to 2611 # Autoconf. 2612 for ac_file in $ac_files '' 2036 2613 do 2037 2614 test -f "$ac_file" || continue 2038 2615 case $ac_file in 2039 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2040 ;; 2041 conftest.$ac_ext ) 2042 # This is the source file. 2616 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2043 2617 ;; 2044 2618 [ab].out ) … … 2047 2621 break;; 2048 2622 *.* ) 2049 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2050 # FIXME: I believe we export ac_cv_exeext for Libtool, 2051 # but it would be cool to find out if it's true. Does anybody 2052 # maintain Libtool? --akim. 2053 export ac_cv_exeext 2623 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2624 then :; else 2625 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2626 fi 2627 # We set ac_cv_exeext here because the later test for it is not 2628 # safe: cross compilers may not add the suffix if given an `-o' 2629 # argument, so we may need to know it at that point already. 2630 # Even if this section looks crufty: it has the advantage of 2631 # actually working. 2054 2632 break;; 2055 2633 * ) … … 2057 2635 esac 2058 2636 done 2059 else 2060 echo "$as_me: failed program was:" >&5 2637 test "$ac_cv_exeext" = no && ac_cv_exeext= 2638 2639 else 2640 ac_file='' 2641 fi 2642 2643 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2644 $as_echo "$ac_file" >&6; } 2645 if test -z "$ac_file"; then 2646 $as_echo "$as_me: failed program was:" >&5 2061 2647 sed 's/^/| /' conftest.$ac_ext >&5 2062 2648 2063 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2649 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2651 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2064 2652 See \`config.log' for more details." >&5 2065 echo "$as_me: error: C compiler cannot create executables2653 $as_echo "$as_me: error: C compiler cannot create executables 2066 2654 See \`config.log' for more details." >&2;} 2067 { (exit 77); exit 77; }; } 2655 { (exit 77); exit 77; }; }; } 2068 2656 fi 2069 2657 2070 2658 ac_exeext=$ac_cv_exeext 2071 echo "$as_me:$LINENO: result: $ac_file" >&5 2072 echo "${ECHO_T}$ac_file" >&6 2073 2074 # Check the compiler produces executables we can run. If not, either 2659 2660 # Check that the compiler produces executables we can run. If not, either 2075 2661 # the compiler is broken, or we cross compile. 2076 echo "$as_me:$LINENO: checking whether the C compiler works" >&52077 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2662 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2663 $as_echo_n "checking whether the C compiler works... " >&6; } 2078 2664 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2079 2665 # If not cross compiling, check that we can run a simple program. 2080 2666 if test "$cross_compiling" != yes; then 2081 2667 if { ac_try='./$ac_file' 2082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2083 (eval $ac_try) 2>&5 2668 { (case "(($ac_try" in 2669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2670 *) ac_try_echo=$ac_try;; 2671 esac 2672 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2673 $as_echo "$ac_try_echo") >&5 2674 (eval "$ac_try") 2>&5 2084 2675 ac_status=$? 2085 echo "$as_me:$LINENO: \$? = $ac_status" >&52676 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2086 2677 (exit $ac_status); }; }; then 2087 2678 cross_compiling=no … … 2090 2681 cross_compiling=yes 2091 2682 else 2092 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2683 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2685 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2093 2686 If you meant to cross compile, use \`--host'. 2094 2687 See \`config.log' for more details." >&5 2095 echo "$as_me: error: cannot run C compiled programs.2688 $as_echo "$as_me: error: cannot run C compiled programs. 2096 2689 If you meant to cross compile, use \`--host'. 2097 2690 See \`config.log' for more details." >&2;} 2098 { (exit 1); exit 1; }; } 2691 { (exit 1); exit 1; }; }; } 2099 2692 fi 2100 2693 fi 2101 2694 fi 2102 echo "$as_me:$LINENO: result: yes" >&52103 echo "${ECHO_T}yes" >&6 2104 2105 rm -f a.outa.exe conftest$ac_cv_exeext b.out2695 { $as_echo "$as_me:$LINENO: result: yes" >&5 2696 $as_echo "yes" >&6; } 2697 2698 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2106 2699 ac_clean_files=$ac_clean_files_save 2107 # Check th e compiler produces executables we can run. If not, either2700 # Check that the compiler produces executables we can run. If not, either 2108 2701 # the compiler is broken, or we cross compile. 2109 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2110 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2111 echo "$as_me:$LINENO: result: $cross_compiling" >&5 2112 echo "${ECHO_T}$cross_compiling" >&6 2113 2114 echo "$as_me:$LINENO: checking for suffix of executables" >&5 2115 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2117 (eval $ac_link) 2>&5 2702 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2703 $as_echo_n "checking whether we are cross compiling... " >&6; } 2704 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2705 $as_echo "$cross_compiling" >&6; } 2706 2707 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2708 $as_echo_n "checking for suffix of executables... " >&6; } 2709 if { (ac_try="$ac_link" 2710 case "(($ac_try" in 2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2712 *) ac_try_echo=$ac_try;; 2713 esac 2714 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2715 $as_echo "$ac_try_echo") >&5 2716 (eval "$ac_link") 2>&5 2118 2717 ac_status=$? 2119 echo "$as_me:$LINENO: \$? = $ac_status" >&52718 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2120 2719 (exit $ac_status); }; then 2121 2720 # If both `conftest.exe' and `conftest' are `present' (well, observable) … … 2126 2725 test -f "$ac_file" || continue 2127 2726 case $ac_file in 2128 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2727 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2129 2728 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2130 export ac_cv_exeext2131 2729 break;; 2132 2730 * ) break;; … … 2134 2732 done 2135 2733 else 2136 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2734 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2736 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2137 2737 See \`config.log' for more details." >&5 2138 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link2738 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2139 2739 See \`config.log' for more details." >&2;} 2140 { (exit 1); exit 1; }; } 2740 { (exit 1); exit 1; }; }; } 2141 2741 fi 2142 2742 2143 2743 rm -f conftest$ac_cv_exeext 2144 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52145 echo "${ECHO_T}$ac_cv_exeext" >&6 2744 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2745 $as_echo "$ac_cv_exeext" >&6; } 2146 2746 2147 2747 rm -f conftest.$ac_ext 2148 2748 EXEEXT=$ac_cv_exeext 2149 2749 ac_exeext=$EXEEXT 2150 echo "$as_me:$LINENO: checking for suffix of object files" >&52151 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2750 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2751 $as_echo_n "checking for suffix of object files... " >&6; } 2152 2752 if test "${ac_cv_objext+set}" = set; then 2153 echo $ECHO_N "(cached) $ECHO_C" >&62753 $as_echo_n "(cached) " >&6 2154 2754 else 2155 2755 cat >conftest.$ac_ext <<_ACEOF … … 2169 2769 _ACEOF 2170 2770 rm -f conftest.o conftest.obj 2171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2172 (eval $ac_compile) 2>&5 2771 if { (ac_try="$ac_compile" 2772 case "(($ac_try" in 2773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2774 *) ac_try_echo=$ac_try;; 2775 esac 2776 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2777 $as_echo "$ac_try_echo") >&5 2778 (eval "$ac_compile") 2>&5 2173 2779 ac_status=$? 2174 echo "$as_me:$LINENO: \$? = $ac_status" >&52780 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2175 2781 (exit $ac_status); }; then 2176 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2782 for ac_file in conftest.o conftest.obj conftest.*; do 2783 test -f "$ac_file" || continue; 2177 2784 case $ac_file in 2178 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2785 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2179 2786 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2180 2787 break;; … … 2182 2789 done 2183 2790 else 2184 echo "$as_me: failed program was:" >&52791 $as_echo "$as_me: failed program was:" >&5 2185 2792 sed 's/^/| /' conftest.$ac_ext >&5 2186 2793 2187 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2794 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2795 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2796 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2188 2797 See \`config.log' for more details." >&5 2189 echo "$as_me: error: cannot compute suffix of object files: cannot compile2798 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2190 2799 See \`config.log' for more details." >&2;} 2191 { (exit 1); exit 1; }; } 2800 { (exit 1); exit 1; }; }; } 2192 2801 fi 2193 2802 2194 2803 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2195 2804 fi 2196 echo "$as_me:$LINENO: result: $ac_cv_objext" >&52197 echo "${ECHO_T}$ac_cv_objext" >&6 2805 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2806 $as_echo "$ac_cv_objext" >&6; } 2198 2807 OBJEXT=$ac_cv_objext 2199 2808 ac_objext=$OBJEXT 2200 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52201 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2809 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2810 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2202 2811 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2203 echo $ECHO_N "(cached) $ECHO_C" >&62812 $as_echo_n "(cached) " >&6 2204 2813 else 2205 2814 cat >conftest.$ac_ext <<_ACEOF … … 2222 2831 _ACEOF 2223 2832 rm -f conftest.$ac_objext 2224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2225 (eval $ac_compile) 2>conftest.er1 2833 if { (ac_try="$ac_compile" 2834 case "(($ac_try" in 2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2836 *) ac_try_echo=$ac_try;; 2837 esac 2838 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2839 $as_echo "$ac_try_echo") >&5 2840 (eval "$ac_compile") 2>conftest.er1 2226 2841 ac_status=$? 2227 2842 grep -v '^ *+' conftest.er1 >conftest.err 2228 2843 rm -f conftest.er1 2229 2844 cat conftest.err >&5 2230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2231 (exit $ac_status); } && 2232 { ac_try='test -z "$ac_c_werror_flag" 2233 || test ! -s conftest.err' 2234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2235 (eval $ac_try) 2>&5 2236 ac_status=$? 2237 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2238 (exit $ac_status); }; } && 2239 { ac_try='test -s conftest.$ac_objext' 2240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2241 (eval $ac_try) 2>&5 2242 ac_status=$? 2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2244 (exit $ac_status); }; }; then 2845 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2846 (exit $ac_status); } && { 2847 test -z "$ac_c_werror_flag" || 2848 test ! -s conftest.err 2849 } && test -s conftest.$ac_objext; then 2245 2850 ac_compiler_gnu=yes 2246 2851 else 2247 echo "$as_me: failed program was:" >&52852 $as_echo "$as_me: failed program was:" >&5 2248 2853 sed 's/^/| /' conftest.$ac_ext >&5 2249 2854 2250 ac_compiler_gnu=no 2251 fi 2252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2855 ac_compiler_gnu=no 2856 fi 2857 2858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2253 2859 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2254 2860 2255 2861 fi 2256 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2257 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2258 GCC=`test $ac_compiler_gnu = yes && echo yes` 2862 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2863 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2864 if test $ac_compiler_gnu = yes; then 2865 GCC=yes 2866 else 2867 GCC= 2868 fi 2259 2869 ac_test_CFLAGS=${CFLAGS+set} 2260 2870 ac_save_CFLAGS=$CFLAGS 2261 CFLAGS="-g" 2262 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2263 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2871 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2872 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2264 2873 if test "${ac_cv_prog_cc_g+set}" = set; then 2265 echo $ECHO_N "(cached) $ECHO_C" >&6 2266 else 2267 cat >conftest.$ac_ext <<_ACEOF 2874 $as_echo_n "(cached) " >&6 2875 else 2876 ac_save_c_werror_flag=$ac_c_werror_flag 2877 ac_c_werror_flag=yes 2878 ac_cv_prog_cc_g=no 2879 CFLAGS="-g" 2880 cat >conftest.$ac_ext <<_ACEOF 2268 2881 /* confdefs.h. */ 2269 2882 _ACEOF … … 2281 2894 _ACEOF 2282 2895 rm -f conftest.$ac_objext 2283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2284 (eval $ac_compile) 2>conftest.er1 2896 if { (ac_try="$ac_compile" 2897 case "(($ac_try" in 2898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2899 *) ac_try_echo=$ac_try;; 2900 esac 2901 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2902 $as_echo "$ac_try_echo") >&5 2903 (eval "$ac_compile") 2>conftest.er1 2285 2904 ac_status=$? 2286 2905 grep -v '^ *+' conftest.er1 >conftest.err 2287 2906 rm -f conftest.er1 2288 2907 cat conftest.err >&5 2289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2290 (exit $ac_status); } && 2291 { ac_try='test -z "$ac_c_werror_flag" 2292 || test ! -s conftest.err' 2293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2294 (eval $ac_try) 2>&5 2908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2909 (exit $ac_status); } && { 2910 test -z "$ac_c_werror_flag" || 2911 test ! -s conftest.err 2912 } && test -s conftest.$ac_objext; then 2913 ac_cv_prog_cc_g=yes 2914 else 2915 $as_echo "$as_me: failed program was:" >&5 2916 sed 's/^/| /' conftest.$ac_ext >&5 2917 2918 CFLAGS="" 2919 cat >conftest.$ac_ext <<_ACEOF 2920 /* confdefs.h. */ 2921 _ACEOF 2922 cat confdefs.h >>conftest.$ac_ext 2923 cat >>conftest.$ac_ext <<_ACEOF 2924 /* end confdefs.h. */ 2925 2926 int 2927 main () 2928 { 2929 2930 ; 2931 return 0; 2932 } 2933 _ACEOF 2934 rm -f conftest.$ac_objext 2935 if { (ac_try="$ac_compile" 2936 case "(($ac_try" in 2937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2938 *) ac_try_echo=$ac_try;; 2939 esac 2940 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2941 $as_echo "$ac_try_echo") >&5 2942 (eval "$ac_compile") 2>conftest.er1 2295 2943 ac_status=$? 2296 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2297 (exit $ac_status); }; } && 2298 { ac_try='test -s conftest.$ac_objext' 2299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2300 (eval $ac_try) 2>&5 2944 grep -v '^ *+' conftest.er1 >conftest.err 2945 rm -f conftest.er1 2946 cat conftest.err >&5 2947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2948 (exit $ac_status); } && { 2949 test -z "$ac_c_werror_flag" || 2950 test ! -s conftest.err 2951 } && test -s conftest.$ac_objext; then 2952 : 2953 else 2954 $as_echo "$as_me: failed program was:" >&5 2955 sed 's/^/| /' conftest.$ac_ext >&5 2956 2957 ac_c_werror_flag=$ac_save_c_werror_flag 2958 CFLAGS="-g" 2959 cat >conftest.$ac_ext <<_ACEOF 2960 /* confdefs.h. */ 2961 _ACEOF 2962 cat confdefs.h >>conftest.$ac_ext 2963 cat >>conftest.$ac_ext <<_ACEOF 2964 /* end confdefs.h. */ 2965 2966 int 2967 main () 2968 { 2969 2970 ; 2971 return 0; 2972 } 2973 _ACEOF 2974 rm -f conftest.$ac_objext 2975 if { (ac_try="$ac_compile" 2976 case "(($ac_try" in 2977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2978 *) ac_try_echo=$ac_try;; 2979 esac 2980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2981 $as_echo "$ac_try_echo") >&5 2982 (eval "$ac_compile") 2>conftest.er1 2301 2983 ac_status=$? 2302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2303 (exit $ac_status); }; }; then 2984 grep -v '^ *+' conftest.er1 >conftest.err 2985 rm -f conftest.er1 2986 cat conftest.err >&5 2987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2988 (exit $ac_status); } && { 2989 test -z "$ac_c_werror_flag" || 2990 test ! -s conftest.err 2991 } && test -s conftest.$ac_objext; then 2304 2992 ac_cv_prog_cc_g=yes 2305 2993 else 2306 echo "$as_me: failed program was:" >&52994 $as_echo "$as_me: failed program was:" >&5 2307 2995 sed 's/^/| /' conftest.$ac_ext >&5 2308 2996 2309 ac_cv_prog_cc_g=no 2310 fi 2311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2312 fi 2313 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2314 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2997 2998 fi 2999 3000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3001 fi 3002 3003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3004 fi 3005 3006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3007 ac_c_werror_flag=$ac_save_c_werror_flag 3008 fi 3009 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3010 $as_echo "$ac_cv_prog_cc_g" >&6; } 2315 3011 if test "$ac_test_CFLAGS" = set; then 2316 3012 CFLAGS=$ac_save_CFLAGS … … 2328 3024 fi 2329 3025 fi 2330 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52331 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2332 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2333 echo $ECHO_N "(cached) $ECHO_C" >&62334 else 2335 ac_cv_prog_cc_ stdc=no3026 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3027 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3028 if test "${ac_cv_prog_cc_c89+set}" = set; then 3029 $as_echo_n "(cached) " >&6 3030 else 3031 ac_cv_prog_cc_c89=no 2336 3032 ac_save_CC=$CC 2337 3033 cat >conftest.$ac_ext <<_ACEOF … … 2367 3063 function prototypes and stuff, but not '\xHH' hex character constants. 2368 3064 These don't provoke an error unfortunately, instead are silently treated 2369 as 'x'. The following induces an error, until -std 1is added to get3065 as 'x'. The following induces an error, until -std is added to get 2370 3066 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2371 3067 array size at least. It's necessary to write '\x00'==0 to get something 2372 that's true only with -std 1. */3068 that's true only with -std. */ 2373 3069 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3070 3071 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3072 inside strings and character constants. */ 3073 #define FOO(x) 'x' 3074 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2374 3075 2375 3076 int test (int i, double x); … … 2387 3088 } 2388 3089 _ACEOF 2389 # Don't try gcc -ansi; that turns off useful extensions and 2390 # breaks some systems' header files. 2391 # AIX -qlanglvl=ansi 2392 # Ultrix and OSF/1 -std1 2393 # HP-UX 10.20 and later -Ae 2394 # HP-UX older versions -Aa -D_HPUX_SOURCE 2395 # SVR4 -Xc -D__EXTENSIONS__ 2396 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3090 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3091 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2397 3092 do 2398 3093 CC="$ac_save_CC $ac_arg" 2399 3094 rm -f conftest.$ac_objext 2400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2401 (eval $ac_compile) 2>conftest.er1 3095 if { (ac_try="$ac_compile" 3096 case "(($ac_try" in 3097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3098 *) ac_try_echo=$ac_try;; 3099 esac 3100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3101 $as_echo "$ac_try_echo") >&5 3102 (eval "$ac_compile") 2>conftest.er1 2402 3103 ac_status=$? 2403 3104 grep -v '^ *+' conftest.er1 >conftest.err 2404 3105 rm -f conftest.er1 2405 3106 cat conftest.err >&5 2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2407 (exit $ac_status); } && 2408 { ac_try='test -z "$ac_c_werror_flag" 2409 || test ! -s conftest.err' 2410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2411 (eval $ac_try) 2>&5 2412 ac_status=$? 2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2414 (exit $ac_status); }; } && 2415 { ac_try='test -s conftest.$ac_objext' 2416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2417 (eval $ac_try) 2>&5 2418 ac_status=$? 2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2420 (exit $ac_status); }; }; then 2421 ac_cv_prog_cc_stdc=$ac_arg 2422 break 2423 else 2424 echo "$as_me: failed program was:" >&5 3107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3108 (exit $ac_status); } && { 3109 test -z "$ac_c_werror_flag" || 3110 test ! -s conftest.err 3111 } && test -s conftest.$ac_objext; then 3112 ac_cv_prog_cc_c89=$ac_arg 3113 else 3114 $as_echo "$as_me: failed program was:" >&5 2425 3115 sed 's/^/| /' conftest.$ac_ext >&5 2426 3116 2427 fi 2428 rm -f conftest.err conftest.$ac_objext 3117 3118 fi 3119 3120 rm -f core conftest.err conftest.$ac_objext 3121 test "x$ac_cv_prog_cc_c89" != "xno" && break 2429 3122 done 2430 rm -f conftest.$ac_ext conftest.$ac_objext3123 rm -f conftest.$ac_ext 2431 3124 CC=$ac_save_CC 2432 3125 2433 3126 fi 2434 2435 case "x$ac_cv_prog_cc_stdc" in 2436 x|xno) 2437 echo "$as_me:$LINENO: result: none needed" >&5 2438 echo "${ECHO_T}none needed" >&6 ;; 3127 # AC_CACHE_VAL 3128 case "x$ac_cv_prog_cc_c89" in 3129 x) 3130 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3131 $as_echo "none needed" >&6; } ;; 3132 xno) 3133 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3134 $as_echo "unsupported" >&6; } ;; 2439 3135 *) 2440 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2441 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2442 CC="$CC $ac_cv_prog_cc_stdc" ;; 2443 esac 2444 2445 # Some people use a C++ compiler to compile C. Since we use `exit', 2446 # in C++ we need to declare it. In case someone uses the same compiler 2447 # for both compiling C and C++ we need to have the C++ compiler decide 2448 # the declaration of exit, since it's the most demanding environment. 2449 cat >conftest.$ac_ext <<_ACEOF 2450 #ifndef __cplusplus 2451 choke me 2452 #endif 2453 _ACEOF 2454 rm -f conftest.$ac_objext 2455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2456 (eval $ac_compile) 2>conftest.er1 2457 ac_status=$? 2458 grep -v '^ *+' conftest.er1 >conftest.err 2459 rm -f conftest.er1 2460 cat conftest.err >&5 2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2462 (exit $ac_status); } && 2463 { ac_try='test -z "$ac_c_werror_flag" 2464 || test ! -s conftest.err' 2465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2466 (eval $ac_try) 2>&5 2467 ac_status=$? 2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2469 (exit $ac_status); }; } && 2470 { ac_try='test -s conftest.$ac_objext' 2471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2472 (eval $ac_try) 2>&5 2473 ac_status=$? 2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2475 (exit $ac_status); }; }; then 2476 for ac_declaration in \ 2477 '' \ 2478 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2479 'extern "C" void std::exit (int); using std::exit;' \ 2480 'extern "C" void exit (int) throw ();' \ 2481 'extern "C" void exit (int);' \ 2482 'void exit (int);' 2483 do 2484 cat >conftest.$ac_ext <<_ACEOF 2485 /* confdefs.h. */ 2486 _ACEOF 2487 cat confdefs.h >>conftest.$ac_ext 2488 cat >>conftest.$ac_ext <<_ACEOF 2489 /* end confdefs.h. */ 2490 $ac_declaration 2491 #include <stdlib.h> 2492 int 2493 main () 2494 { 2495 exit (42); 2496 ; 2497 return 0; 2498 } 2499 _ACEOF 2500 rm -f conftest.$ac_objext 2501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2502 (eval $ac_compile) 2>conftest.er1 2503 ac_status=$? 2504 grep -v '^ *+' conftest.er1 >conftest.err 2505 rm -f conftest.er1 2506 cat conftest.err >&5 2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2508 (exit $ac_status); } && 2509 { ac_try='test -z "$ac_c_werror_flag" 2510 || test ! -s conftest.err' 2511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2512 (eval $ac_try) 2>&5 2513 ac_status=$? 2514 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2515 (exit $ac_status); }; } && 2516 { ac_try='test -s conftest.$ac_objext' 2517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2518 (eval $ac_try) 2>&5 2519 ac_status=$? 2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2521 (exit $ac_status); }; }; then 2522 : 2523 else 2524 echo "$as_me: failed program was:" >&5 2525 sed 's/^/| /' conftest.$ac_ext >&5 2526 2527 continue 2528 fi 2529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2530 cat >conftest.$ac_ext <<_ACEOF 2531 /* confdefs.h. */ 2532 _ACEOF 2533 cat confdefs.h >>conftest.$ac_ext 2534 cat >>conftest.$ac_ext <<_ACEOF 2535 /* end confdefs.h. */ 2536 $ac_declaration 2537 int 2538 main () 2539 { 2540 exit (42); 2541 ; 2542 return 0; 2543 } 2544 _ACEOF 2545 rm -f conftest.$ac_objext 2546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2547 (eval $ac_compile) 2>conftest.er1 2548 ac_status=$? 2549 grep -v '^ *+' conftest.er1 >conftest.err 2550 rm -f conftest.er1 2551 cat conftest.err >&5 2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2553 (exit $ac_status); } && 2554 { ac_try='test -z "$ac_c_werror_flag" 2555 || test ! -s conftest.err' 2556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2557 (eval $ac_try) 2>&5 2558 ac_status=$? 2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2560 (exit $ac_status); }; } && 2561 { ac_try='test -s conftest.$ac_objext' 2562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2563 (eval $ac_try) 2>&5 2564 ac_status=$? 2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2566 (exit $ac_status); }; }; then 2567 break 2568 else 2569 echo "$as_me: failed program was:" >&5 2570 sed 's/^/| /' conftest.$ac_ext >&5 2571 2572 fi 2573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2574 done 2575 rm -f conftest* 2576 if test -n "$ac_declaration"; then 2577 echo '#ifdef __cplusplus' >>confdefs.h 2578 echo $ac_declaration >>confdefs.h 2579 echo '#endif' >>confdefs.h 2580 fi 2581 2582 else 2583 echo "$as_me: failed program was:" >&5 2584 sed 's/^/| /' conftest.$ac_ext >&5 2585 2586 fi 2587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3136 CC="$CC $ac_cv_prog_cc_c89" 3137 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3138 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3139 esac 3140 3141 2588 3142 ac_ext=c 2589 3143 ac_cpp='$CPP $CPPFLAGS' … … 2592 3146 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2593 3147 2594 ac_ext=c c3148 ac_ext=cpp 2595 3149 ac_cpp='$CXXCPP $CPPFLAGS' 2596 3150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2597 3151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2598 3152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2599 if test -n "$ac_tool_prefix"; then 2600 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 3153 if test -z "$CXX"; then 3154 if test -n "$CCC"; then 3155 CXX=$CCC 3156 else 3157 if test -n "$ac_tool_prefix"; then 3158 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2601 3159 do 2602 3160 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2603 3161 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2604 echo "$as_me:$LINENO: checking for $ac_word" >&52605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3162 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3163 $as_echo_n "checking for $ac_word... " >&6; } 2606 3164 if test "${ac_cv_prog_CXX+set}" = set; then 2607 echo $ECHO_N "(cached) $ECHO_C" >&63165 $as_echo_n "(cached) " >&6 2608 3166 else 2609 3167 if test -n "$CXX"; then … … 2616 3174 test -z "$as_dir" && as_dir=. 2617 3175 for ac_exec_ext in '' $ac_executable_extensions; do 2618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2619 3177 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53178 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2621 3179 break 2 2622 3180 fi 2623 3181 done 2624 3182 done 3183 IFS=$as_save_IFS 2625 3184 2626 3185 fi … … 2628 3187 CXX=$ac_cv_prog_CXX 2629 3188 if test -n "$CXX"; then 2630 echo "$as_me:$LINENO: result: $CXX" >&5 2631 echo "${ECHO_T}$CXX" >&6 2632 else 2633 echo "$as_me:$LINENO: result: no" >&5 2634 echo "${ECHO_T}no" >&6 2635 fi 3189 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 3190 $as_echo "$CXX" >&6; } 3191 else 3192 { $as_echo "$as_me:$LINENO: result: no" >&5 3193 $as_echo "no" >&6; } 3194 fi 3195 2636 3196 2637 3197 test -n "$CXX" && break … … 2640 3200 if test -z "$CXX"; then 2641 3201 ac_ct_CXX=$CXX 2642 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ clFCC KCC RCC xlC_r xlC3202 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2643 3203 do 2644 3204 # Extract the first word of "$ac_prog", so it can be a program name with args. 2645 3205 set dummy $ac_prog; ac_word=$2 2646 echo "$as_me:$LINENO: checking for $ac_word" >&52647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3206 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3207 $as_echo_n "checking for $ac_word... " >&6; } 2648 3208 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2649 echo $ECHO_N "(cached) $ECHO_C" >&63209 $as_echo_n "(cached) " >&6 2650 3210 else 2651 3211 if test -n "$ac_ct_CXX"; then … … 2658 3218 test -z "$as_dir" && as_dir=. 2659 3219 for ac_exec_ext in '' $ac_executable_extensions; do 2660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2661 3221 ac_cv_prog_ac_ct_CXX="$ac_prog" 2662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53222 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2663 3223 break 2 2664 3224 fi 2665 3225 done 2666 3226 done 3227 IFS=$as_save_IFS 2667 3228 2668 3229 fi … … 2670 3231 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2671 3232 if test -n "$ac_ct_CXX"; then 2672 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2673 echo "${ECHO_T}$ac_ct_CXX" >&6 2674 else 2675 echo "$as_me:$LINENO: result: no" >&5 2676 echo "${ECHO_T}no" >&6 2677 fi 3233 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 3234 $as_echo "$ac_ct_CXX" >&6; } 3235 else 3236 { $as_echo "$as_me:$LINENO: result: no" >&5 3237 $as_echo "no" >&6; } 3238 fi 3239 2678 3240 2679 3241 test -n "$ac_ct_CXX" && break 2680 3242 done 2681 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2682 2683 CXX=$ac_ct_CXX 2684 fi 2685 2686 3243 3244 if test "x$ac_ct_CXX" = x; then 3245 CXX="g++" 3246 else 3247 case $cross_compiling:$ac_tool_warned in 3248 yes:) 3249 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3251 ac_tool_warned=yes ;; 3252 esac 3253 CXX=$ac_ct_CXX 3254 fi 3255 fi 3256 3257 fi 3258 fi 2687 3259 # Provide some information about the compiler. 2688 echo "$as_me:$LINENO:" \ 2689 "checking for C++ compiler version" >&5 2690 ac_compiler=`set X $ac_compile; echo $2` 2691 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2692 (eval $ac_compiler --version </dev/null >&5) 2>&5 3260 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3261 set X $ac_compile 3262 ac_compiler=$2 3263 { (ac_try="$ac_compiler --version >&5" 3264 case "(($ac_try" in 3265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3266 *) ac_try_echo=$ac_try;; 3267 esac 3268 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3269 $as_echo "$ac_try_echo") >&5 3270 (eval "$ac_compiler --version >&5") 2>&5 2693 3271 ac_status=$? 2694 echo "$as_me:$LINENO: \$? = $ac_status" >&53272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2695 3273 (exit $ac_status); } 2696 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2697 (eval $ac_compiler -v </dev/null >&5) 2>&5 3274 { (ac_try="$ac_compiler -v >&5" 3275 case "(($ac_try" in 3276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3277 *) ac_try_echo=$ac_try;; 3278 esac 3279 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3280 $as_echo "$ac_try_echo") >&5 3281 (eval "$ac_compiler -v >&5") 2>&5 2698 3282 ac_status=$? 2699 echo "$as_me:$LINENO: \$? = $ac_status" >&53283 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2700 3284 (exit $ac_status); } 2701 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2702 (eval $ac_compiler -V </dev/null >&5) 2>&5 3285 { (ac_try="$ac_compiler -V >&5" 3286 case "(($ac_try" in 3287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3288 *) ac_try_echo=$ac_try;; 3289 esac 3290 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3291 $as_echo "$ac_try_echo") >&5 3292 (eval "$ac_compiler -V >&5") 2>&5 2703 3293 ac_status=$? 2704 echo "$as_me:$LINENO: \$? = $ac_status" >&53294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2705 3295 (exit $ac_status); } 2706 3296 2707 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&52708 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 3297 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3298 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 2709 3299 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2710 echo $ECHO_N "(cached) $ECHO_C" >&63300 $as_echo_n "(cached) " >&6 2711 3301 else 2712 3302 cat >conftest.$ac_ext <<_ACEOF … … 2729 3319 _ACEOF 2730 3320 rm -f conftest.$ac_objext 2731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2732 (eval $ac_compile) 2>conftest.er1 3321 if { (ac_try="$ac_compile" 3322 case "(($ac_try" in 3323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3324 *) ac_try_echo=$ac_try;; 3325 esac 3326 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3327 $as_echo "$ac_try_echo") >&5 3328 (eval "$ac_compile") 2>conftest.er1 2733 3329 ac_status=$? 2734 3330 grep -v '^ *+' conftest.er1 >conftest.err 2735 3331 rm -f conftest.er1 2736 3332 cat conftest.err >&5 2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2738 (exit $ac_status); } && 2739 { ac_try='test -z "$ac_cxx_werror_flag" 2740 || test ! -s conftest.err' 2741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2742 (eval $ac_try) 2>&5 2743 ac_status=$? 2744 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2745 (exit $ac_status); }; } && 2746 { ac_try='test -s conftest.$ac_objext' 2747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2748 (eval $ac_try) 2>&5 2749 ac_status=$? 2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2751 (exit $ac_status); }; }; then 3333 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3334 (exit $ac_status); } && { 3335 test -z "$ac_cxx_werror_flag" || 3336 test ! -s conftest.err 3337 } && test -s conftest.$ac_objext; then 2752 3338 ac_compiler_gnu=yes 2753 3339 else 2754 echo "$as_me: failed program was:" >&53340 $as_echo "$as_me: failed program was:" >&5 2755 3341 sed 's/^/| /' conftest.$ac_ext >&5 2756 3342 2757 ac_compiler_gnu=no 2758 fi 2759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3343 ac_compiler_gnu=no 3344 fi 3345 3346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2760 3347 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2761 3348 2762 3349 fi 2763 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2764 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2765 GXX=`test $ac_compiler_gnu = yes && echo yes` 3350 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3351 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3352 if test $ac_compiler_gnu = yes; then 3353 GXX=yes 3354 else 3355 GXX= 3356 fi 2766 3357 ac_test_CXXFLAGS=${CXXFLAGS+set} 2767 3358 ac_save_CXXFLAGS=$CXXFLAGS 2768 CXXFLAGS="-g" 2769 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2770 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 3359 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3360 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 2771 3361 if test "${ac_cv_prog_cxx_g+set}" = set; then 2772 echo $ECHO_N "(cached) $ECHO_C" >&6 2773 else 2774 cat >conftest.$ac_ext <<_ACEOF 3362 $as_echo_n "(cached) " >&6 3363 else 3364 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3365 ac_cxx_werror_flag=yes 3366 ac_cv_prog_cxx_g=no 3367 CXXFLAGS="-g" 3368 cat >conftest.$ac_ext <<_ACEOF 2775 3369 /* confdefs.h. */ 2776 3370 _ACEOF … … 2788 3382 _ACEOF 2789 3383 rm -f conftest.$ac_objext 2790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2791 (eval $ac_compile) 2>conftest.er1 3384 if { (ac_try="$ac_compile" 3385 case "(($ac_try" in 3386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3387 *) ac_try_echo=$ac_try;; 3388 esac 3389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3390 $as_echo "$ac_try_echo") >&5 3391 (eval "$ac_compile") 2>conftest.er1 2792 3392 ac_status=$? 2793 3393 grep -v '^ *+' conftest.er1 >conftest.err 2794 3394 rm -f conftest.er1 2795 3395 cat conftest.err >&5 2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2797 (exit $ac_status); } && 2798 { ac_try='test -z "$ac_cxx_werror_flag" 2799 || test ! -s conftest.err' 2800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2801 (eval $ac_try) 2>&5 3396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3397 (exit $ac_status); } && { 3398 test -z "$ac_cxx_werror_flag" || 3399 test ! -s conftest.err 3400 } && test -s conftest.$ac_objext; then 3401 ac_cv_prog_cxx_g=yes 3402 else 3403 $as_echo "$as_me: failed program was:" >&5 3404 sed 's/^/| /' conftest.$ac_ext >&5 3405 3406 CXXFLAGS="" 3407 cat >conftest.$ac_ext <<_ACEOF 3408 /* confdefs.h. */ 3409 _ACEOF 3410 cat confdefs.h >>conftest.$ac_ext 3411 cat >>conftest.$ac_ext <<_ACEOF 3412 /* end confdefs.h. */ 3413 3414 int 3415 main () 3416 { 3417 3418 ; 3419 return 0; 3420 } 3421 _ACEOF 3422 rm -f conftest.$ac_objext 3423 if { (ac_try="$ac_compile" 3424 case "(($ac_try" in 3425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3426 *) ac_try_echo=$ac_try;; 3427 esac 3428 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3429 $as_echo "$ac_try_echo") >&5 3430 (eval "$ac_compile") 2>conftest.er1 2802 3431 ac_status=$? 2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2804 (exit $ac_status); }; } && 2805 { ac_try='test -s conftest.$ac_objext' 2806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2807 (eval $ac_try) 2>&5 3432 grep -v '^ *+' conftest.er1 >conftest.err 3433 rm -f conftest.er1 3434 cat conftest.err >&5 3435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3436 (exit $ac_status); } && { 3437 test -z "$ac_cxx_werror_flag" || 3438 test ! -s conftest.err 3439 } && test -s conftest.$ac_objext; then 3440 : 3441 else 3442 $as_echo "$as_me: failed program was:" >&5 3443 sed 's/^/| /' conftest.$ac_ext >&5 3444 3445 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3446 CXXFLAGS="-g" 3447 cat >conftest.$ac_ext <<_ACEOF 3448 /* confdefs.h. */ 3449 _ACEOF 3450 cat confdefs.h >>conftest.$ac_ext 3451 cat >>conftest.$ac_ext <<_ACEOF 3452 /* end confdefs.h. */ 3453 3454 int 3455 main () 3456 { 3457 3458 ; 3459 return 0; 3460 } 3461 _ACEOF 3462 rm -f conftest.$ac_objext 3463 if { (ac_try="$ac_compile" 3464 case "(($ac_try" in 3465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3466 *) ac_try_echo=$ac_try;; 3467 esac 3468 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3469 $as_echo "$ac_try_echo") >&5 3470 (eval "$ac_compile") 2>conftest.er1 2808 3471 ac_status=$? 2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2810 (exit $ac_status); }; }; then 3472 grep -v '^ *+' conftest.er1 >conftest.err 3473 rm -f conftest.er1 3474 cat conftest.err >&5 3475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3476 (exit $ac_status); } && { 3477 test -z "$ac_cxx_werror_flag" || 3478 test ! -s conftest.err 3479 } && test -s conftest.$ac_objext; then 2811 3480 ac_cv_prog_cxx_g=yes 2812 3481 else 2813 echo "$as_me: failed program was:" >&53482 $as_echo "$as_me: failed program was:" >&5 2814 3483 sed 's/^/| /' conftest.$ac_ext >&5 2815 3484 2816 ac_cv_prog_cxx_g=no 2817 fi 2818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2819 fi 2820 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2821 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3485 3486 fi 3487 3488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3489 fi 3490 3491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3492 fi 3493 3494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3495 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3496 fi 3497 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3498 $as_echo "$ac_cv_prog_cxx_g" >&6; } 2822 3499 if test "$ac_test_CXXFLAGS" = set; then 2823 3500 CXXFLAGS=$ac_save_CXXFLAGS … … 2835 3512 fi 2836 3513 fi 2837 for ac_declaration in \2838 '' \2839 'extern "C" void std::exit (int) throw (); using std::exit;' \2840 'extern "C" void std::exit (int); using std::exit;' \2841 'extern "C" void exit (int) throw ();' \2842 'extern "C" void exit (int);' \2843 'void exit (int);'2844 do2845 cat >conftest.$ac_ext <<_ACEOF2846 /* confdefs.h. */2847 _ACEOF2848 cat confdefs.h >>conftest.$ac_ext2849 cat >>conftest.$ac_ext <<_ACEOF2850 /* end confdefs.h. */2851 $ac_declaration2852 #include <stdlib.h>2853 int2854 main ()2855 {2856 exit (42);2857 ;2858 return 0;2859 }2860 _ACEOF2861 rm -f conftest.$ac_objext2862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52863 (eval $ac_compile) 2>conftest.er12864 ac_status=$?2865 grep -v '^ *+' conftest.er1 >conftest.err2866 rm -f conftest.er12867 cat conftest.err >&52868 echo "$as_me:$LINENO: \$? = $ac_status" >&52869 (exit $ac_status); } &&2870 { ac_try='test -z "$ac_cxx_werror_flag"2871 || test ! -s conftest.err'2872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52873 (eval $ac_try) 2>&52874 ac_status=$?2875 echo "$as_me:$LINENO: \$? = $ac_status" >&52876 (exit $ac_status); }; } &&2877 { ac_try='test -s conftest.$ac_objext'2878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52879 (eval $ac_try) 2>&52880 ac_status=$?2881 echo "$as_me:$LINENO: \$? = $ac_status" >&52882 (exit $ac_status); }; }; then2883 :2884 else2885 echo "$as_me: failed program was:" >&52886 sed 's/^/| /' conftest.$ac_ext >&52887 2888 continue2889 fi2890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2891 cat >conftest.$ac_ext <<_ACEOF2892 /* confdefs.h. */2893 _ACEOF2894 cat confdefs.h >>conftest.$ac_ext2895 cat >>conftest.$ac_ext <<_ACEOF2896 /* end confdefs.h. */2897 $ac_declaration2898 int2899 main ()2900 {2901 exit (42);2902 ;2903 return 0;2904 }2905 _ACEOF2906 rm -f conftest.$ac_objext2907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52908 (eval $ac_compile) 2>conftest.er12909 ac_status=$?2910 grep -v '^ *+' conftest.er1 >conftest.err2911 rm -f conftest.er12912 cat conftest.err >&52913 echo "$as_me:$LINENO: \$? = $ac_status" >&52914 (exit $ac_status); } &&2915 { ac_try='test -z "$ac_cxx_werror_flag"2916 || test ! -s conftest.err'2917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52918 (eval $ac_try) 2>&52919 ac_status=$?2920 echo "$as_me:$LINENO: \$? = $ac_status" >&52921 (exit $ac_status); }; } &&2922 { ac_try='test -s conftest.$ac_objext'2923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52924 (eval $ac_try) 2>&52925 ac_status=$?2926 echo "$as_me:$LINENO: \$? = $ac_status" >&52927 (exit $ac_status); }; }; then2928 break2929 else2930 echo "$as_me: failed program was:" >&52931 sed 's/^/| /' conftest.$ac_ext >&52932 2933 fi2934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2935 done2936 rm -f conftest*2937 if test -n "$ac_declaration"; then2938 echo '#ifdef __cplusplus' >>confdefs.h2939 echo $ac_declaration >>confdefs.h2940 echo '#endif' >>confdefs.h2941 fi2942 2943 3514 ac_ext=c 2944 3515 ac_cpp='$CPP $CPPFLAGS' … … 2951 3522 # Extract the first word of "$ac_prog", so it can be a program name with args. 2952 3523 set dummy $ac_prog; ac_word=$2 2953 echo "$as_me:$LINENO: checking for $ac_word" >&52954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3524 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3525 $as_echo_n "checking for $ac_word... " >&6; } 2955 3526 if test "${ac_cv_prog_AWK+set}" = set; then 2956 echo $ECHO_N "(cached) $ECHO_C" >&63527 $as_echo_n "(cached) " >&6 2957 3528 else 2958 3529 if test -n "$AWK"; then … … 2965 3536 test -z "$as_dir" && as_dir=. 2966 3537 for ac_exec_ext in '' $ac_executable_extensions; do 2967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2968 3539 ac_cv_prog_AWK="$ac_prog" 2969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53540 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2970 3541 break 2 2971 3542 fi 2972 3543 done 2973 3544 done 3545 IFS=$as_save_IFS 2974 3546 2975 3547 fi … … 2977 3549 AWK=$ac_cv_prog_AWK 2978 3550 if test -n "$AWK"; then 2979 echo "$as_me:$LINENO: result: $AWK" >&5 2980 echo "${ECHO_T}$AWK" >&6 2981 else 2982 echo "$as_me:$LINENO: result: no" >&5 2983 echo "${ECHO_T}no" >&6 2984 fi 3551 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 3552 $as_echo "$AWK" >&6; } 3553 else 3554 { $as_echo "$as_me:$LINENO: result: no" >&5 3555 $as_echo "no" >&6; } 3556 fi 3557 2985 3558 2986 3559 test -n "$AWK" && break … … 2991 3564 # Extract the first word of "$ac_prog", so it can be a program name with args. 2992 3565 set dummy $ac_prog; ac_word=$2 2993 echo "$as_me:$LINENO: checking for $ac_word" >&52994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3566 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3567 $as_echo_n "checking for $ac_word... " >&6; } 2995 3568 if test "${ac_cv_prog_YACC+set}" = set; then 2996 echo $ECHO_N "(cached) $ECHO_C" >&63569 $as_echo_n "(cached) " >&6 2997 3570 else 2998 3571 if test -n "$YACC"; then … … 3005 3578 test -z "$as_dir" && as_dir=. 3006 3579 for ac_exec_ext in '' $ac_executable_extensions; do 3007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3008 3581 ac_cv_prog_YACC="$ac_prog" 3009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53582 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3010 3583 break 2 3011 3584 fi 3012 3585 done 3013 3586 done 3587 IFS=$as_save_IFS 3014 3588 3015 3589 fi … … 3017 3591 YACC=$ac_cv_prog_YACC 3018 3592 if test -n "$YACC"; then 3019 echo "$as_me:$LINENO: result: $YACC" >&5 3020 echo "${ECHO_T}$YACC" >&6 3021 else 3022 echo "$as_me:$LINENO: result: no" >&5 3023 echo "${ECHO_T}no" >&6 3024 fi 3593 { $as_echo "$as_me:$LINENO: result: $YACC" >&5 3594 $as_echo "$YACC" >&6; } 3595 else 3596 { $as_echo "$as_me:$LINENO: result: no" >&5 3597 $as_echo "no" >&6; } 3598 fi 3599 3025 3600 3026 3601 test -n "$YACC" && break … … 3029 3604 3030 3605 ac_aux_dir= 3031 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do3032 if test -f $ac_dir/install-sh; then3606 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3607 if test -f "$ac_dir/install-sh"; then 3033 3608 ac_aux_dir=$ac_dir 3034 3609 ac_install_sh="$ac_aux_dir/install-sh -c" 3035 3610 break 3036 elif test -f $ac_dir/install.sh; then3611 elif test -f "$ac_dir/install.sh"; then 3037 3612 ac_aux_dir=$ac_dir 3038 3613 ac_install_sh="$ac_aux_dir/install.sh -c" 3039 3614 break 3040 elif test -f $ac_dir/shtool; then3615 elif test -f "$ac_dir/shtool"; then 3041 3616 ac_aux_dir=$ac_dir 3042 3617 ac_install_sh="$ac_aux_dir/shtool install -c" … … 3045 3620 done 3046 3621 if test -z "$ac_aux_dir"; then 3047 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&53048 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}3622 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 3623 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 3049 3624 { (exit 1); exit 1; }; } 3050 3625 fi 3051 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 3052 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 3053 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 3626 3627 # These three variables are undocumented and unsupported, 3628 # and are intended to be withdrawn in a future Autoconf release. 3629 # They can cause serious problems if a builder's source tree is in a directory 3630 # whose full name contains unusual characters. 3631 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3632 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3633 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3634 3054 3635 3055 3636 # Make sure we can run config.sub. 3056 $ ac_config_subsun4 >/dev/null 2>&1 ||3057 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&53058 echo "$as_me: error: cannot run $ac_config_sub" >&2;}3637 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3638 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 3639 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 3059 3640 { (exit 1); exit 1; }; } 3060 3641 3061 echo "$as_me:$LINENO: checking build system type" >&53062 echo $ECHO_N "checking build system type... $ECHO_C" >&6 3642 { $as_echo "$as_me:$LINENO: checking build system type" >&5 3643 $as_echo_n "checking build system type... " >&6; } 3063 3644 if test "${ac_cv_build+set}" = set; then 3064 echo $ECHO_N "(cached) $ECHO_C" >&63065 else 3066 ac_ cv_build_alias=$build_alias3067 test -z "$ac_cv_build_alias"&&3068 ac_ cv_build_alias=`$ac_config_guess`3069 test -z "$ac_cv_build_alias"&&3070 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&53071 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}3645 $as_echo_n "(cached) " >&6 3646 else 3647 ac_build_alias=$build_alias 3648 test "x$ac_build_alias" = x && 3649 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3650 test "x$ac_build_alias" = x && 3651 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3652 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3072 3653 { (exit 1); exit 1; }; } 3073 ac_cv_build=`$ ac_config_sub $ac_cv_build_alias` ||3074 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&53075 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}3654 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3655 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 3656 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 3076 3657 { (exit 1); exit 1; }; } 3077 3658 3078 3659 fi 3079 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3080 echo "${ECHO_T}$ac_cv_build" >&6 3660 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3661 $as_echo "$ac_cv_build" >&6; } 3662 case $ac_cv_build in 3663 *-*-*) ;; 3664 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3665 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 3666 { (exit 1); exit 1; }; };; 3667 esac 3081 3668 build=$ac_cv_build 3082 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3083 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3084 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3085 3086 3087 echo "$as_me:$LINENO: checking host system type" >&5 3088 echo $ECHO_N "checking host system type... $ECHO_C" >&6 3669 ac_save_IFS=$IFS; IFS='-' 3670 set x $ac_cv_build 3671 shift 3672 build_cpu=$1 3673 build_vendor=$2 3674 shift; shift 3675 # Remember, the first character of IFS is used to create $*, 3676 # except with old shells: 3677 build_os=$* 3678 IFS=$ac_save_IFS 3679 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3680 3681 3682 { $as_echo "$as_me:$LINENO: checking host system type" >&5 3683 $as_echo_n "checking host system type... " >&6; } 3089 3684 if test "${ac_cv_host+set}" = set; then 3090 echo $ECHO_N "(cached) $ECHO_C" >&63091 else 3092 ac_cv_host_alias=$host_alias3093 test -z "$ac_cv_host_alias" && 3094 ac_cv_host_alias=$ac_cv_build_alias 3095 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||3096 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&53097 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}3685 $as_echo_n "(cached) " >&6 3686 else 3687 if test "x$host_alias" = x; then 3688 ac_cv_host=$ac_cv_build 3689 else 3690 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3691 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 3692 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 3098 3693 { (exit 1); exit 1; }; } 3099 3100 fi 3101 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3102 echo "${ECHO_T}$ac_cv_host" >&6 3694 fi 3695 3696 fi 3697 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3698 $as_echo "$ac_cv_host" >&6; } 3699 case $ac_cv_host in 3700 *-*-*) ;; 3701 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 3702 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 3703 { (exit 1); exit 1; }; };; 3704 esac 3103 3705 host=$ac_cv_host 3104 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3105 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3106 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3107 3108 3109 echo "$as_me:$LINENO: checking target system type" >&5 3110 echo $ECHO_N "checking target system type... $ECHO_C" >&6 3706 ac_save_IFS=$IFS; IFS='-' 3707 set x $ac_cv_host 3708 shift 3709 host_cpu=$1 3710 host_vendor=$2 3711 shift; shift 3712 # Remember, the first character of IFS is used to create $*, 3713 # except with old shells: 3714 host_os=$* 3715 IFS=$ac_save_IFS 3716 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3717 3718 3719 { $as_echo "$as_me:$LINENO: checking target system type" >&5 3720 $as_echo_n "checking target system type... " >&6; } 3111 3721 if test "${ac_cv_target+set}" = set; then 3112 echo $ECHO_N "(cached) $ECHO_C" >&63113 else 3114 ac_cv_target_alias=$target_alias3115 test "x$ac_cv_target_alias" = "x" && 3116 ac_cv_target_alias=$ac_cv_host_alias 3117 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||3118 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&53119 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}3722 $as_echo_n "(cached) " >&6 3723 else 3724 if test "x$target_alias" = x; then 3725 ac_cv_target=$ac_cv_host 3726 else 3727 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 3728 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 3729 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 3120 3730 { (exit 1); exit 1; }; } 3121 3122 fi 3123 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 3124 echo "${ECHO_T}$ac_cv_target" >&6 3731 fi 3732 3733 fi 3734 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 3735 $as_echo "$ac_cv_target" >&6; } 3736 case $ac_cv_target in 3737 *-*-*) ;; 3738 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 3739 $as_echo "$as_me: error: invalid value of canonical target" >&2;} 3740 { (exit 1); exit 1; }; };; 3741 esac 3125 3742 target=$ac_cv_target 3126 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3127 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3128 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3743 ac_save_IFS=$IFS; IFS='-' 3744 set x $ac_cv_target 3745 shift 3746 target_cpu=$1 3747 target_vendor=$2 3748 shift; shift 3749 # Remember, the first character of IFS is used to create $*, 3750 # except with old shells: 3751 target_os=$* 3752 IFS=$ac_save_IFS 3753 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 3129 3754 3130 3755 … … 3148 3773 # OS/2's system install, which has a completely different semantic 3149 3774 # ./install, which can be erroneously created by make from ./install.sh. 3150 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3151 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3775 # Reject install programs that cannot install multiple files. 3776 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3777 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3152 3778 if test -z "$INSTALL"; then 3153 3779 if test "${ac_cv_path_install+set}" = set; then 3154 echo $ECHO_N "(cached) $ECHO_C" >&63780 $as_echo_n "(cached) " >&6 3155 3781 else 3156 3782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 3171 3797 for ac_prog in ginstall scoinst install; do 3172 3798 for ac_exec_ext in '' $ac_executable_extensions; do 3173 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then3799 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3174 3800 if test $ac_prog = install && 3175 3801 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 3181 3807 : 3182 3808 else 3183 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3184 break 3 3809 rm -rf conftest.one conftest.two conftest.dir 3810 echo one > conftest.one 3811 echo two > conftest.two 3812 mkdir conftest.dir 3813 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3814 test -s conftest.one && test -s conftest.two && 3815 test -s conftest.dir/conftest.one && 3816 test -s conftest.dir/conftest.two 3817 then 3818 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3819 break 3 3820 fi 3185 3821 fi 3186 3822 fi … … 3189 3825 ;; 3190 3826 esac 3827 3191 3828 done 3192 3829 IFS=$as_save_IFS 3830 3831 rm -rf conftest.one conftest.two conftest.dir 3193 3832 3194 3833 fi … … 3196 3835 INSTALL=$ac_cv_path_install 3197 3836 else 3198 # As a last resort, use the slow shell script. We don't cache a3199 # pathfor INSTALL within a source directory, because that will3837 # As a last resort, use the slow shell script. Don't cache a 3838 # value for INSTALL within a source directory, because that will 3200 3839 # break other packages using the cache if that directory is 3201 # removed, or if the path is relative.3840 # removed, or if the value is a relative name. 3202 3841 INSTALL=$ac_install_sh 3203 3842 fi 3204 3843 fi 3205 echo "$as_me:$LINENO: result: $INSTALL" >&53206 echo "${ECHO_T}$INSTALL" >&6 3844 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 3845 $as_echo "$INSTALL" >&6; } 3207 3846 3208 3847 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 3214 3853 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3215 3854 3216 echo "$as_me:$LINENO: checking whether ln -s works" >&53217 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3855 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 3856 $as_echo_n "checking whether ln -s works... " >&6; } 3218 3857 LN_S=$as_ln_s 3219 3858 if test "$LN_S" = "ln -s"; then 3220 echo "$as_me:$LINENO: result: yes" >&5 3221 echo "${ECHO_T}yes" >&6 3222 else 3223 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3224 echo "${ECHO_T}no, using $LN_S" >&6 3225 fi 3226 3227 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3228 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3229 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 3230 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 3231 echo $ECHO_N "(cached) $ECHO_C" >&6 3859 { $as_echo "$as_me:$LINENO: result: yes" >&5 3860 $as_echo "yes" >&6; } 3861 else 3862 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3863 $as_echo "no, using $LN_S" >&6; } 3864 fi 3865 3866 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3867 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3868 set x ${MAKE-make} 3869 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3870 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 3871 $as_echo_n "(cached) " >&6 3232 3872 else 3233 3873 cat >conftest.make <<\_ACEOF 3874 SHELL = /bin/sh 3234 3875 all: 3235 @echo ' ac_maketemp="$(MAKE)"'3876 @echo '@@@%%%=$(MAKE)=@@@%%%' 3236 3877 _ACEOF 3237 3878 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3238 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3239 if test -n "$ac_maketemp"; then 3240 eval ac_cv_prog_make_${ac_make}_set=yes3241 else 3242 eval ac_cv_prog_make_${ac_make}_set=no3243 fi 3879 case `${MAKE-make} -f conftest.make 2>/dev/null` in 3880 *@@@%%%=?*=@@@%%%*) 3881 eval ac_cv_prog_make_${ac_make}_set=yes;; 3882 *) 3883 eval ac_cv_prog_make_${ac_make}_set=no;; 3884 esac 3244 3885 rm -f conftest.make 3245 3886 fi 3246 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then3247 echo "$as_me:$LINENO: result: yes" >&53248 echo "${ECHO_T}yes" >&6 3887 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3888 { $as_echo "$as_me:$LINENO: result: yes" >&5 3889 $as_echo "yes" >&6; } 3249 3890 SET_MAKE= 3250 3891 else 3251 echo "$as_me:$LINENO: result: no" >&53252 echo "${ECHO_T}no" >&6 3892 { $as_echo "$as_me:$LINENO: result: no" >&5 3893 $as_echo "no" >&6; } 3253 3894 SET_MAKE="MAKE=${MAKE-make}" 3254 3895 fi … … 3257 3898 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3258 3899 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3259 echo "$as_me:$LINENO: checking for $ac_word" >&53260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3900 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3901 $as_echo_n "checking for $ac_word... " >&6; } 3261 3902 if test "${ac_cv_prog_RANLIB+set}" = set; then 3262 echo $ECHO_N "(cached) $ECHO_C" >&63903 $as_echo_n "(cached) " >&6 3263 3904 else 3264 3905 if test -n "$RANLIB"; then … … 3271 3912 test -z "$as_dir" && as_dir=. 3272 3913 for ac_exec_ext in '' $ac_executable_extensions; do 3273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3274 3915 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53916 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3276 3917 break 2 3277 3918 fi 3278 3919 done 3279 3920 done 3921 IFS=$as_save_IFS 3280 3922 3281 3923 fi … … 3283 3925 RANLIB=$ac_cv_prog_RANLIB 3284 3926 if test -n "$RANLIB"; then 3285 echo "$as_me:$LINENO: result: $RANLIB" >&5 3286 echo "${ECHO_T}$RANLIB" >&6 3287 else 3288 echo "$as_me:$LINENO: result: no" >&5 3289 echo "${ECHO_T}no" >&6 3290 fi 3927 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 3928 $as_echo "$RANLIB" >&6; } 3929 else 3930 { $as_echo "$as_me:$LINENO: result: no" >&5 3931 $as_echo "no" >&6; } 3932 fi 3933 3291 3934 3292 3935 fi … … 3295 3938 # Extract the first word of "ranlib", so it can be a program name with args. 3296 3939 set dummy ranlib; ac_word=$2 3297 echo "$as_me:$LINENO: checking for $ac_word" >&53298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3940 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3941 $as_echo_n "checking for $ac_word... " >&6; } 3299 3942 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3300 echo $ECHO_N "(cached) $ECHO_C" >&63943 $as_echo_n "(cached) " >&6 3301 3944 else 3302 3945 if test -n "$ac_ct_RANLIB"; then … … 3309 3952 test -z "$as_dir" && as_dir=. 3310 3953 for ac_exec_ext in '' $ac_executable_extensions; do 3311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3312 3955 ac_cv_prog_ac_ct_RANLIB="ranlib" 3313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53956 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3314 3957 break 2 3315 3958 fi 3316 3959 done 3317 3960 done 3318 3319 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3961 IFS=$as_save_IFS 3962 3320 3963 fi 3321 3964 fi 3322 3965 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3323 3966 if test -n "$ac_ct_RANLIB"; then 3324 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3325 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3326 else 3327 echo "$as_me:$LINENO: result: no" >&5 3328 echo "${ECHO_T}no" >&6 3329 fi 3330 3331 RANLIB=$ac_ct_RANLIB 3967 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3968 $as_echo "$ac_ct_RANLIB" >&6; } 3969 else 3970 { $as_echo "$as_me:$LINENO: result: no" >&5 3971 $as_echo "no" >&6; } 3972 fi 3973 3974 if test "x$ac_ct_RANLIB" = x; then 3975 RANLIB=":" 3976 else 3977 case $cross_compiling:$ac_tool_warned in 3978 yes:) 3979 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3981 ac_tool_warned=yes ;; 3982 esac 3983 RANLIB=$ac_ct_RANLIB 3984 fi 3332 3985 else 3333 3986 RANLIB="$ac_cv_prog_RANLIB" … … 3335 3988 3336 3989 3337 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&53338 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 3990 { $as_echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 3991 $as_echo_n "checking to see if architecture is 64-bit... " >&6; } 3339 3992 arch_64bit=no 3340 3993 case "$host_cpu" in … … 3343 3996 3344 3997 if test "$arch_64bit" = yes; then 3345 echo "$as_me:$LINENO: result: yes" >&5 3346 echo "${ECHO_T}yes" >&6 3347 if test -z "$COMPAT32BITFLAGS" ; then 3348 if test "$ENABLE_MG" = "1" -o "$ENABLE_MGPP" = "1" ; then 3349 COMPAT32BITFLAGS="-m32" 3350 fi 3998 { $as_echo "$as_me:$LINENO: result: yes" >&5 3999 $as_echo "yes" >&6; } 4000 if test -z "$ARCH_DEP_FLAGS" ; then 4001 ARCH_DEP_FLAGS=-fPIC 3351 4002 fi 3352 4003 else 3353 echo "$as_me:$LINENO: result: no" >&53354 echo "${ECHO_T}no" >&6 3355 if test -z "$ COMPAT32BITFLAGS" ; then3356 COMPAT32BITFLAGS=4004 { $as_echo "$as_me:$LINENO: result: no" >&5 4005 $as_echo "no" >&6; } 4006 if test -z "$ARCH_DEP_FLAGS" ; then 4007 ARCH_DEP_FLAGS= 3357 4008 fi 3358 4009 fi 3359 4010 3360 export COMPAT32BITFLAGS4011 export ARCH_DEP_FLAGS 3361 4012 3362 4013 … … 3400 4051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3401 4052 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3402 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53403 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 4053 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4054 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3404 4055 # On Suns, sometimes $CPP names a directory. 3405 4056 if test -n "$CPP" && test -d "$CPP"; then … … 3408 4059 if test -z "$CPP"; then 3409 4060 if test "${ac_cv_prog_CPP+set}" = set; then 3410 echo $ECHO_N "(cached) $ECHO_C" >&64061 $as_echo_n "(cached) " >&6 3411 4062 else 3412 4063 # Double quotes because CPP needs to be expanded … … 3435 4086 Syntax error 3436 4087 _ACEOF 3437 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3438 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4088 if { (ac_try="$ac_cpp conftest.$ac_ext" 4089 case "(($ac_try" in 4090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4091 *) ac_try_echo=$ac_try;; 4092 esac 4093 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4094 $as_echo "$ac_try_echo") >&5 4095 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3439 4096 ac_status=$? 3440 4097 grep -v '^ *+' conftest.er1 >conftest.err 3441 4098 rm -f conftest.er1 3442 4099 cat conftest.err >&5 3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3444 (exit $ac_status); } >/dev/null; then 3445 if test -s conftest.err; then 3446 ac_cpp_err=$ac_c_preproc_warn_flag 3447 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3448 else 3449 ac_cpp_err= 3450 fi 3451 else 3452 ac_cpp_err=yes 3453 fi 3454 if test -z "$ac_cpp_err"; then 4100 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4101 (exit $ac_status); } >/dev/null && { 4102 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4103 test ! -s conftest.err 4104 }; then 3455 4105 : 3456 4106 else 3457 echo "$as_me: failed program was:" >&54107 $as_echo "$as_me: failed program was:" >&5 3458 4108 sed 's/^/| /' conftest.$ac_ext >&5 3459 4109 … … 3461 4111 continue 3462 4112 fi 4113 3463 4114 rm -f conftest.err conftest.$ac_ext 3464 4115 3465 # OK, works on sane cases. Now check whether non -existent headers4116 # OK, works on sane cases. Now check whether nonexistent headers 3466 4117 # can be detected and how. 3467 4118 cat >conftest.$ac_ext <<_ACEOF … … 3473 4124 #include <ac_nonexistent.h> 3474 4125 _ACEOF 3475 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3476 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4126 if { (ac_try="$ac_cpp conftest.$ac_ext" 4127 case "(($ac_try" in 4128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4129 *) ac_try_echo=$ac_try;; 4130 esac 4131 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4132 $as_echo "$ac_try_echo") >&5 4133 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3477 4134 ac_status=$? 3478 4135 grep -v '^ *+' conftest.er1 >conftest.err 3479 4136 rm -f conftest.er1 3480 4137 cat conftest.err >&5 3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3482 (exit $ac_status); } >/dev/null; then 3483 if test -s conftest.err; then 3484 ac_cpp_err=$ac_c_preproc_warn_flag 3485 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3486 else 3487 ac_cpp_err= 3488 fi 3489 else 3490 ac_cpp_err=yes 3491 fi 3492 if test -z "$ac_cpp_err"; then 4138 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4139 (exit $ac_status); } >/dev/null && { 4140 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4141 test ! -s conftest.err 4142 }; then 3493 4143 # Broken: success on invalid input. 3494 4144 continue 3495 4145 else 3496 echo "$as_me: failed program was:" >&54146 $as_echo "$as_me: failed program was:" >&5 3497 4147 sed 's/^/| /' conftest.$ac_ext >&5 3498 4148 … … 3501 4151 break 3502 4152 fi 4153 3503 4154 rm -f conftest.err conftest.$ac_ext 3504 4155 … … 3518 4169 ac_cv_prog_CPP=$CPP 3519 4170 fi 3520 echo "$as_me:$LINENO: result: $CPP" >&53521 echo "${ECHO_T}$CPP" >&6 4171 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 4172 $as_echo "$CPP" >&6; } 3522 4173 ac_preproc_ok=false 3523 4174 for ac_c_preproc_warn_flag in '' yes … … 3542 4193 Syntax error 3543 4194 _ACEOF 3544 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3545 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4195 if { (ac_try="$ac_cpp conftest.$ac_ext" 4196 case "(($ac_try" in 4197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4198 *) ac_try_echo=$ac_try;; 4199 esac 4200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4201 $as_echo "$ac_try_echo") >&5 4202 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3546 4203 ac_status=$? 3547 4204 grep -v '^ *+' conftest.er1 >conftest.err 3548 4205 rm -f conftest.er1 3549 4206 cat conftest.err >&5 3550 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3551 (exit $ac_status); } >/dev/null; then 3552 if test -s conftest.err; then 3553 ac_cpp_err=$ac_c_preproc_warn_flag 3554 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3555 else 3556 ac_cpp_err= 3557 fi 3558 else 3559 ac_cpp_err=yes 3560 fi 3561 if test -z "$ac_cpp_err"; then 4207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4208 (exit $ac_status); } >/dev/null && { 4209 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4210 test ! -s conftest.err 4211 }; then 3562 4212 : 3563 4213 else 3564 echo "$as_me: failed program was:" >&54214 $as_echo "$as_me: failed program was:" >&5 3565 4215 sed 's/^/| /' conftest.$ac_ext >&5 3566 4216 … … 3568 4218 continue 3569 4219 fi 4220 3570 4221 rm -f conftest.err conftest.$ac_ext 3571 4222 3572 # OK, works on sane cases. Now check whether non -existent headers4223 # OK, works on sane cases. Now check whether nonexistent headers 3573 4224 # can be detected and how. 3574 4225 cat >conftest.$ac_ext <<_ACEOF … … 3580 4231 #include <ac_nonexistent.h> 3581 4232 _ACEOF 3582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4233 if { (ac_try="$ac_cpp conftest.$ac_ext" 4234 case "(($ac_try" in 4235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4236 *) ac_try_echo=$ac_try;; 4237 esac 4238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4239 $as_echo "$ac_try_echo") >&5 4240 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3584 4241 ac_status=$? 3585 4242 grep -v '^ *+' conftest.er1 >conftest.err 3586 4243 rm -f conftest.er1 3587 4244 cat conftest.err >&5 3588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3589 (exit $ac_status); } >/dev/null; then 3590 if test -s conftest.err; then 3591 ac_cpp_err=$ac_c_preproc_warn_flag 3592 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3593 else 3594 ac_cpp_err= 3595 fi 3596 else 3597 ac_cpp_err=yes 3598 fi 3599 if test -z "$ac_cpp_err"; then 4245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4246 (exit $ac_status); } >/dev/null && { 4247 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4248 test ! -s conftest.err 4249 }; then 3600 4250 # Broken: success on invalid input. 3601 4251 continue 3602 4252 else 3603 echo "$as_me: failed program was:" >&54253 $as_echo "$as_me: failed program was:" >&5 3604 4254 sed 's/^/| /' conftest.$ac_ext >&5 3605 4255 … … 3608 4258 break 3609 4259 fi 4260 3610 4261 rm -f conftest.err conftest.$ac_ext 3611 4262 … … 3616 4267 : 3617 4268 else 3618 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4269 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 4270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4271 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3619 4272 See \`config.log' for more details." >&5 3620 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check4273 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3621 4274 See \`config.log' for more details." >&2;} 3622 { (exit 1); exit 1; }; } 4275 { (exit 1); exit 1; }; }; } 3623 4276 fi 3624 4277 … … 3630 4283 3631 4284 3632 echo "$as_me:$LINENO: checking for egrep" >&5 3633 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3634 if test "${ac_cv_prog_egrep+set}" = set; then 3635 echo $ECHO_N "(cached) $ECHO_C" >&6 3636 else 3637 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3638 then ac_cv_prog_egrep='grep -E' 3639 else ac_cv_prog_egrep='egrep' 4285 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4286 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4287 if test "${ac_cv_path_GREP+set}" = set; then 4288 $as_echo_n "(cached) " >&6 4289 else 4290 if test -z "$GREP"; then 4291 ac_path_GREP_found=false 4292 # Loop through the user's path and test for each of PROGNAME-LIST 4293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4294 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4295 do 4296 IFS=$as_save_IFS 4297 test -z "$as_dir" && as_dir=. 4298 for ac_prog in grep ggrep; do 4299 for ac_exec_ext in '' $ac_executable_extensions; do 4300 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4301 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4302 # Check for GNU ac_path_GREP and select it if it is found. 4303 # Check for GNU $ac_path_GREP 4304 case `"$ac_path_GREP" --version 2>&1` in 4305 *GNU*) 4306 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4307 *) 4308 ac_count=0 4309 $as_echo_n 0123456789 >"conftest.in" 4310 while : 4311 do 4312 cat "conftest.in" "conftest.in" >"conftest.tmp" 4313 mv "conftest.tmp" "conftest.in" 4314 cp "conftest.in" "conftest.nl" 4315 $as_echo 'GREP' >> "conftest.nl" 4316 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4317 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4318 ac_count=`expr $ac_count + 1` 4319 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4320 # Best one so far, save it but keep looking for a better one 4321 ac_cv_path_GREP="$ac_path_GREP" 4322 ac_path_GREP_max=$ac_count 3640 4323 fi 3641 fi 3642 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3643 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3644 EGREP=$ac_cv_prog_egrep 3645 3646 3647 3648 echo "$as_me:$LINENO: checking for AIX" >&5 3649 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3650 cat >conftest.$ac_ext <<_ACEOF 3651 /* confdefs.h. */ 3652 _ACEOF 3653 cat confdefs.h >>conftest.$ac_ext 3654 cat >>conftest.$ac_ext <<_ACEOF 3655 /* end confdefs.h. */ 3656 #ifdef _AIX 3657 yes 3658 #endif 3659 3660 _ACEOF 3661 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3662 $EGREP "yes" >/dev/null 2>&1; then 3663 echo "$as_me:$LINENO: result: yes" >&5 3664 echo "${ECHO_T}yes" >&6 3665 cat >>confdefs.h <<\_ACEOF 3666 #define _ALL_SOURCE 1 3667 _ACEOF 3668 3669 else 3670 echo "$as_me:$LINENO: result: no" >&5 3671 echo "${ECHO_T}no" >&6 3672 fi 3673 rm -f conftest* 3674 3675 3676 echo "$as_me:$LINENO: checking for library containing strerror" >&5 3677 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 3678 if test "${ac_cv_search_strerror+set}" = set; then 3679 echo $ECHO_N "(cached) $ECHO_C" >&6 3680 else 3681 ac_func_search_save_LIBS=$LIBS 3682 ac_cv_search_strerror=no 3683 cat >conftest.$ac_ext <<_ACEOF 3684 /* confdefs.h. */ 3685 _ACEOF 3686 cat confdefs.h >>conftest.$ac_ext 3687 cat >>conftest.$ac_ext <<_ACEOF 3688 /* end confdefs.h. */ 3689 3690 /* Override any gcc2 internal prototype to avoid an error. */ 3691 #ifdef __cplusplus 3692 extern "C" 3693 #endif 3694 /* We use char because int might match the return type of a gcc2 3695 builtin and then its argument prototype would still apply. */ 3696 char strerror (); 3697 int 3698 main () 3699 { 3700 strerror (); 3701 ; 3702 return 0; 3703 } 3704 _ACEOF 3705 rm -f conftest.$ac_objext conftest$ac_exeext 3706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3707 (eval $ac_link) 2>conftest.er1 3708 ac_status=$? 3709 grep -v '^ *+' conftest.er1 >conftest.err 3710 rm -f conftest.er1 3711 cat conftest.err >&5 3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3713 (exit $ac_status); } && 3714 { ac_try='test -z "$ac_c_werror_flag" 3715 || test ! -s conftest.err' 3716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3717 (eval $ac_try) 2>&5 3718 ac_status=$? 3719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3720 (exit $ac_status); }; } && 3721 { ac_try='test -s conftest$ac_exeext' 3722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3723 (eval $ac_try) 2>&5 3724 ac_status=$? 3725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3726 (exit $ac_status); }; }; then 3727 ac_cv_search_strerror="none required" 3728 else 3729 echo "$as_me: failed program was:" >&5 3730 sed 's/^/| /' conftest.$ac_ext >&5 3731 3732 fi 3733 rm -f conftest.err conftest.$ac_objext \ 3734 conftest$ac_exeext conftest.$ac_ext 3735 if test "$ac_cv_search_strerror" = no; then 3736 for ac_lib in cposix; do 3737 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3738 cat >conftest.$ac_ext <<_ACEOF 3739 /* confdefs.h. */ 3740 _ACEOF 3741 cat confdefs.h >>conftest.$ac_ext 3742 cat >>conftest.$ac_ext <<_ACEOF 3743 /* end confdefs.h. */ 3744 3745 /* Override any gcc2 internal prototype to avoid an error. */ 3746 #ifdef __cplusplus 3747 extern "C" 3748 #endif 3749 /* We use char because int might match the return type of a gcc2 3750 builtin and then its argument prototype would still apply. */ 3751 char strerror (); 3752 int 3753 main () 3754 { 3755 strerror (); 3756 ; 3757 return 0; 3758 } 3759 _ACEOF 3760 rm -f conftest.$ac_objext conftest$ac_exeext 3761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3762 (eval $ac_link) 2>conftest.er1 3763 ac_status=$? 3764 grep -v '^ *+' conftest.er1 >conftest.err 3765 rm -f conftest.er1 3766 cat conftest.err >&5 3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3768 (exit $ac_status); } && 3769 { ac_try='test -z "$ac_c_werror_flag" 3770 || test ! -s conftest.err' 3771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3772 (eval $ac_try) 2>&5 3773 ac_status=$? 3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3775 (exit $ac_status); }; } && 3776 { ac_try='test -s conftest$ac_exeext' 3777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3778 (eval $ac_try) 2>&5 3779 ac_status=$? 3780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3781 (exit $ac_status); }; }; then 3782 ac_cv_search_strerror="-l$ac_lib" 3783 break 3784 else 3785 echo "$as_me: failed program was:" >&5 3786 sed 's/^/| /' conftest.$ac_ext >&5 3787 3788 fi 3789 rm -f conftest.err conftest.$ac_objext \ 3790 conftest$ac_exeext conftest.$ac_ext 4324 # 10*(2^10) chars as input seems more than enough 4325 test $ac_count -gt 10 && break 3791 4326 done 3792 fi 3793 LIBS=$ac_func_search_save_LIBS 3794 fi 3795 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3796 echo "${ECHO_T}$ac_cv_search_strerror" >&6 3797 if test "$ac_cv_search_strerror" != no; then 3798 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3799 3800 fi 3801 3802 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3803 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4327 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4328 esac 4329 4330 $ac_path_GREP_found && break 3 4331 done 4332 done 4333 done 4334 IFS=$as_save_IFS 4335 if test -z "$ac_cv_path_GREP"; then 4336 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4337 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4338 { (exit 1); exit 1; }; } 4339 fi 4340 else 4341 ac_cv_path_GREP=$GREP 4342 fi 4343 4344 fi 4345 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4346 $as_echo "$ac_cv_path_GREP" >&6; } 4347 GREP="$ac_cv_path_GREP" 4348 4349 4350 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 4351 $as_echo_n "checking for egrep... " >&6; } 4352 if test "${ac_cv_path_EGREP+set}" = set; then 4353 $as_echo_n "(cached) " >&6 4354 else 4355 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4356 then ac_cv_path_EGREP="$GREP -E" 4357 else 4358 if test -z "$EGREP"; then 4359 ac_path_EGREP_found=false 4360 # Loop through the user's path and test for each of PROGNAME-LIST 4361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4362 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4363 do 4364 IFS=$as_save_IFS 4365 test -z "$as_dir" && as_dir=. 4366 for ac_prog in egrep; do 4367 for ac_exec_ext in '' $ac_executable_extensions; do 4368 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4369 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4370 # Check for GNU ac_path_EGREP and select it if it is found. 4371 # Check for GNU $ac_path_EGREP 4372 case `"$ac_path_EGREP" --version 2>&1` in 4373 *GNU*) 4374 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4375 *) 4376 ac_count=0 4377 $as_echo_n 0123456789 >"conftest.in" 4378 while : 4379 do 4380 cat "conftest.in" "conftest.in" >"conftest.tmp" 4381 mv "conftest.tmp" "conftest.in" 4382 cp "conftest.in" "conftest.nl" 4383 $as_echo 'EGREP' >> "conftest.nl" 4384 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4385 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4386 ac_count=`expr $ac_count + 1` 4387 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4388 # Best one so far, save it but keep looking for a better one 4389 ac_cv_path_EGREP="$ac_path_EGREP" 4390 ac_path_EGREP_max=$ac_count 4391 fi 4392 # 10*(2^10) chars as input seems more than enough 4393 test $ac_count -gt 10 && break 4394 done 4395 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4396 esac 4397 4398 $ac_path_EGREP_found && break 3 4399 done 4400 done 4401 done 4402 IFS=$as_save_IFS 4403 if test -z "$ac_cv_path_EGREP"; then 4404 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4405 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4406 { (exit 1); exit 1; }; } 4407 fi 4408 else 4409 ac_cv_path_EGREP=$EGREP 4410 fi 4411 4412 fi 4413 fi 4414 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4415 $as_echo "$ac_cv_path_EGREP" >&6; } 4416 EGREP="$ac_cv_path_EGREP" 4417 4418 4419 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4420 $as_echo_n "checking for ANSI C header files... " >&6; } 3804 4421 if test "${ac_cv_header_stdc+set}" = set; then 3805 echo $ECHO_N "(cached) $ECHO_C" >&64422 $as_echo_n "(cached) " >&6 3806 4423 else 3807 4424 cat >conftest.$ac_ext <<_ACEOF … … 3825 4442 _ACEOF 3826 4443 rm -f conftest.$ac_objext 3827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3828 (eval $ac_compile) 2>conftest.er1 4444 if { (ac_try="$ac_compile" 4445 case "(($ac_try" in 4446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4447 *) ac_try_echo=$ac_try;; 4448 esac 4449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4450 $as_echo "$ac_try_echo") >&5 4451 (eval "$ac_compile") 2>conftest.er1 3829 4452 ac_status=$? 3830 4453 grep -v '^ *+' conftest.er1 >conftest.err 3831 4454 rm -f conftest.er1 3832 4455 cat conftest.err >&5 3833 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3834 (exit $ac_status); } && 3835 { ac_try='test -z "$ac_c_werror_flag" 3836 || test ! -s conftest.err' 3837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3838 (eval $ac_try) 2>&5 3839 ac_status=$? 3840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3841 (exit $ac_status); }; } && 3842 { ac_try='test -s conftest.$ac_objext' 3843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3844 (eval $ac_try) 2>&5 3845 ac_status=$? 3846 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3847 (exit $ac_status); }; }; then 4456 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4457 (exit $ac_status); } && { 4458 test -z "$ac_c_werror_flag" || 4459 test ! -s conftest.err 4460 } && test -s conftest.$ac_objext; then 3848 4461 ac_cv_header_stdc=yes 3849 4462 else 3850 echo "$as_me: failed program was:" >&54463 $as_echo "$as_me: failed program was:" >&5 3851 4464 sed 's/^/| /' conftest.$ac_ext >&5 3852 4465 3853 ac_cv_header_stdc=no 3854 fi 3855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4466 ac_cv_header_stdc=no 4467 fi 4468 4469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3856 4470 3857 4471 if test $ac_cv_header_stdc = yes; then … … 3909 4523 /* end confdefs.h. */ 3910 4524 #include <ctype.h> 4525 #include <stdlib.h> 3911 4526 #if ((' ' & 0x0FF) == 0x020) 3912 4527 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 3928 4543 if (XOR (islower (i), ISLOWER (i)) 3929 4544 || toupper (i) != TOUPPER (i)) 3930 exit(2);3931 exit (0);4545 return 2; 4546 return 0; 3932 4547 } 3933 4548 _ACEOF 3934 4549 rm -f conftest$ac_exeext 3935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3936 (eval $ac_link) 2>&5 4550 if { (ac_try="$ac_link" 4551 case "(($ac_try" in 4552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4553 *) ac_try_echo=$ac_try;; 4554 esac 4555 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4556 $as_echo "$ac_try_echo") >&5 4557 (eval "$ac_link") 2>&5 3937 4558 ac_status=$? 3938 echo "$as_me:$LINENO: \$? = $ac_status" >&54559 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3939 4560 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3941 (eval $ac_try) 2>&5 4561 { (case "(($ac_try" in 4562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4563 *) ac_try_echo=$ac_try;; 4564 esac 4565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4566 $as_echo "$ac_try_echo") >&5 4567 (eval "$ac_try") 2>&5 3942 4568 ac_status=$? 3943 echo "$as_me:$LINENO: \$? = $ac_status" >&54569 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3944 4570 (exit $ac_status); }; }; then 3945 4571 : 3946 4572 else 3947 echo "$as_me: program exited with status $ac_status" >&53948 echo "$as_me: failed program was:" >&54573 $as_echo "$as_me: program exited with status $ac_status" >&5 4574 $as_echo "$as_me: failed program was:" >&5 3949 4575 sed 's/^/| /' conftest.$ac_ext >&5 3950 4576 … … 3952 4578 ac_cv_header_stdc=no 3953 4579 fi 3954 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3955 fi 3956 fi 3957 fi 3958 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3959 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4580 rm -rf conftest.dSYM 4581 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4582 fi 4583 4584 4585 fi 4586 fi 4587 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4588 $as_echo "$ac_cv_header_stdc" >&6; } 3960 4589 if test $ac_cv_header_stdc = yes; then 3961 4590 … … 3979 4608 inttypes.h stdint.h unistd.h 3980 4609 do 3981 as_ac_Header=` echo "ac_cv_header_$ac_header" | $as_tr_sh`3982 echo "$as_me:$LINENO: checking for $ac_header" >&53983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3984 if eval "test \"\${$as_ac_Header+set}\" = set"; then3985 echo $ECHO_N "(cached) $ECHO_C" >&64610 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4611 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4612 $as_echo_n "checking for $ac_header... " >&6; } 4613 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4614 $as_echo_n "(cached) " >&6 3986 4615 else 3987 4616 cat >conftest.$ac_ext <<_ACEOF … … 3996 4625 _ACEOF 3997 4626 rm -f conftest.$ac_objext 3998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3999 (eval $ac_compile) 2>conftest.er1 4627 if { (ac_try="$ac_compile" 4628 case "(($ac_try" in 4629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4630 *) ac_try_echo=$ac_try;; 4631 esac 4632 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4633 $as_echo "$ac_try_echo") >&5 4634 (eval "$ac_compile") 2>conftest.er1 4000 4635 ac_status=$? 4001 4636 grep -v '^ *+' conftest.er1 >conftest.err 4002 4637 rm -f conftest.er1 4003 4638 cat conftest.err >&5 4004 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4005 (exit $ac_status); } && 4006 { ac_try='test -z "$ac_c_werror_flag" 4007 || test ! -s conftest.err' 4008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4009 (eval $ac_try) 2>&5 4010 ac_status=$? 4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4012 (exit $ac_status); }; } && 4013 { ac_try='test -s conftest.$ac_objext' 4014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4015 (eval $ac_try) 2>&5 4016 ac_status=$? 4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4018 (exit $ac_status); }; }; then 4639 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4640 (exit $ac_status); } && { 4641 test -z "$ac_c_werror_flag" || 4642 test ! -s conftest.err 4643 } && test -s conftest.$ac_objext; then 4019 4644 eval "$as_ac_Header=yes" 4020 4645 else 4021 echo "$as_me: failed program was:" >&54646 $as_echo "$as_me: failed program was:" >&5 4022 4647 sed 's/^/| /' conftest.$ac_ext >&5 4023 4648 4024 eval "$as_ac_Header=no" 4025 fi 4026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4027 fi 4028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4030 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4649 eval "$as_ac_Header=no" 4650 fi 4651 4652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4653 fi 4654 ac_res=`eval 'as_val=${'$as_ac_Header'} 4655 $as_echo "$as_val"'` 4656 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4657 $as_echo "$ac_res" >&6; } 4658 as_val=`eval 'as_val=${'$as_ac_Header'} 4659 $as_echo "$as_val"'` 4660 if test "x$as_val" = x""yes; then 4031 4661 cat >>confdefs.h <<_ACEOF 4032 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 14662 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4033 4663 _ACEOF 4034 4664 … … 4038 4668 4039 4669 4670 4671 if test "${ac_cv_header_minix_config_h+set}" = set; then 4672 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 4673 $as_echo_n "checking for minix/config.h... " >&6; } 4040 4674 if test "${ac_cv_header_minix_config_h+set}" = set; then 4041 echo "$as_me:$LINENO: checking for minix/config.h" >&5 4042 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4043 if test "${ac_cv_header_minix_config_h+set}" = set; then 4044 echo $ECHO_N "(cached) $ECHO_C" >&6 4045 fi 4046 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4047 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4675 $as_echo_n "(cached) " >&6 4676 fi 4677 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4678 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4048 4679 else 4049 4680 # Is the header compilable? 4050 echo "$as_me:$LINENO: checking minix/config.h usability" >&54051 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 4681 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 4682 $as_echo_n "checking minix/config.h usability... " >&6; } 4052 4683 cat >conftest.$ac_ext <<_ACEOF 4053 4684 /* confdefs.h. */ … … 4060 4691 _ACEOF 4061 4692 rm -f conftest.$ac_objext 4062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4063 (eval $ac_compile) 2>conftest.er1 4693 if { (ac_try="$ac_compile" 4694 case "(($ac_try" in 4695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4696 *) ac_try_echo=$ac_try;; 4697 esac 4698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4699 $as_echo "$ac_try_echo") >&5 4700 (eval "$ac_compile") 2>conftest.er1 4064 4701 ac_status=$? 4065 4702 grep -v '^ *+' conftest.er1 >conftest.err 4066 4703 rm -f conftest.er1 4067 4704 cat conftest.err >&5 4068 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4069 (exit $ac_status); } && 4070 { ac_try='test -z "$ac_c_werror_flag" 4071 || test ! -s conftest.err' 4072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4073 (eval $ac_try) 2>&5 4074 ac_status=$? 4075 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4076 (exit $ac_status); }; } && 4077 { ac_try='test -s conftest.$ac_objext' 4078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4079 (eval $ac_try) 2>&5 4080 ac_status=$? 4081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4082 (exit $ac_status); }; }; then 4705 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4706 (exit $ac_status); } && { 4707 test -z "$ac_c_werror_flag" || 4708 test ! -s conftest.err 4709 } && test -s conftest.$ac_objext; then 4083 4710 ac_header_compiler=yes 4084 4711 else 4085 echo "$as_me: failed program was:" >&54712 $as_echo "$as_me: failed program was:" >&5 4086 4713 sed 's/^/| /' conftest.$ac_ext >&5 4087 4714 4088 ac_header_compiler=no 4089 fi 4090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4091 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4092 echo "${ECHO_T}$ac_header_compiler" >&6 4715 ac_header_compiler=no 4716 fi 4717 4718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4719 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4720 $as_echo "$ac_header_compiler" >&6; } 4093 4721 4094 4722 # Is the header present? 4095 echo "$as_me:$LINENO: checking minix/config.h presence" >&54096 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 4723 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 4724 $as_echo_n "checking minix/config.h presence... " >&6; } 4097 4725 cat >conftest.$ac_ext <<_ACEOF 4098 4726 /* confdefs.h. */ … … 4103 4731 #include <minix/config.h> 4104 4732 _ACEOF 4105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4106 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4733 if { (ac_try="$ac_cpp conftest.$ac_ext" 4734 case "(($ac_try" in 4735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4736 *) ac_try_echo=$ac_try;; 4737 esac 4738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4739 $as_echo "$ac_try_echo") >&5 4740 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4107 4741 ac_status=$? 4108 4742 grep -v '^ *+' conftest.er1 >conftest.err 4109 4743 rm -f conftest.er1 4110 4744 cat conftest.err >&5 4111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4112 (exit $ac_status); } >/dev/null; then 4113 if test -s conftest.err; then 4114 ac_cpp_err=$ac_c_preproc_warn_flag 4115 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4116 else 4117 ac_cpp_err= 4118 fi 4119 else 4120 ac_cpp_err=yes 4121 fi 4122 if test -z "$ac_cpp_err"; then 4745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4746 (exit $ac_status); } >/dev/null && { 4747 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4748 test ! -s conftest.err 4749 }; then 4123 4750 ac_header_preproc=yes 4124 4751 else 4125 echo "$as_me: failed program was:" >&54752 $as_echo "$as_me: failed program was:" >&5 4126 4753 sed 's/^/| /' conftest.$ac_ext >&5 4127 4754 4128 4755 ac_header_preproc=no 4129 4756 fi 4757 4130 4758 rm -f conftest.err conftest.$ac_ext 4131 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54132 echo "${ECHO_T}$ac_header_preproc" >&6 4759 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4760 $as_echo "$ac_header_preproc" >&6; } 4133 4761 4134 4762 # So? What about this header? 4135 4763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4136 4764 yes:no: ) 4137 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&54138 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}4139 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&54140 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}4765 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 4766 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4767 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 4768 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 4141 4769 ac_header_preproc=yes 4142 4770 ;; 4143 4771 no:yes:* ) 4144 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 4145 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 4146 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 4147 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 4148 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 4149 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 4150 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 4151 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 4152 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 4153 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 4154 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4155 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4156 ( 4157 cat <<\_ASBOX 4158 ## ------------------------------------------ ## 4159 ## Report this to the AC_PACKAGE_NAME lists. ## 4160 ## ------------------------------------------ ## 4161 _ASBOX 4162 ) | 4163 sed "s/^/$as_me: WARNING: /" >&2 4772 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 4773 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 4774 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 4775 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 4776 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 4777 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 4778 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 4779 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 4780 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 4781 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 4782 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4783 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4784 4164 4785 ;; 4165 4786 esac 4166 echo "$as_me:$LINENO: checking for minix/config.h" >&54167 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4787 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 4788 $as_echo_n "checking for minix/config.h... " >&6; } 4168 4789 if test "${ac_cv_header_minix_config_h+set}" = set; then 4169 echo $ECHO_N "(cached) $ECHO_C" >&64790 $as_echo_n "(cached) " >&6 4170 4791 else 4171 4792 ac_cv_header_minix_config_h=$ac_header_preproc 4172 4793 fi 4173 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&54174 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4175 4176 fi 4177 if test $ac_cv_header_minix_config_h =yes; then4794 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4795 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4796 4797 fi 4798 if test "x$ac_cv_header_minix_config_h" = x""yes; then 4178 4799 MINIX=yes 4179 4800 else … … 4182 4803 4183 4804 4184 if test "$MINIX" = yes; then4805 if test "$MINIX" = yes; then 4185 4806 4186 4807 cat >>confdefs.h <<\_ACEOF … … 4198 4819 _ACEOF 4199 4820 4200 fi 4201 4202 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 4203 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 4821 fi 4822 4823 4824 4825 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 4826 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4827 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 4828 $as_echo_n "(cached) " >&6 4829 else 4830 cat >conftest.$ac_ext <<_ACEOF 4831 /* confdefs.h. */ 4832 _ACEOF 4833 cat confdefs.h >>conftest.$ac_ext 4834 cat >>conftest.$ac_ext <<_ACEOF 4835 /* end confdefs.h. */ 4836 4837 # define __EXTENSIONS__ 1 4838 $ac_includes_default 4839 int 4840 main () 4841 { 4842 4843 ; 4844 return 0; 4845 } 4846 _ACEOF 4847 rm -f conftest.$ac_objext 4848 if { (ac_try="$ac_compile" 4849 case "(($ac_try" in 4850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4851 *) ac_try_echo=$ac_try;; 4852 esac 4853 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4854 $as_echo "$ac_try_echo") >&5 4855 (eval "$ac_compile") 2>conftest.er1 4856 ac_status=$? 4857 grep -v '^ *+' conftest.er1 >conftest.err 4858 rm -f conftest.er1 4859 cat conftest.err >&5 4860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4861 (exit $ac_status); } && { 4862 test -z "$ac_c_werror_flag" || 4863 test ! -s conftest.err 4864 } && test -s conftest.$ac_objext; then 4865 ac_cv_safe_to_define___extensions__=yes 4866 else 4867 $as_echo "$as_me: failed program was:" >&5 4868 sed 's/^/| /' conftest.$ac_ext >&5 4869 4870 ac_cv_safe_to_define___extensions__=no 4871 fi 4872 4873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4874 fi 4875 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 4876 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 4877 test $ac_cv_safe_to_define___extensions__ = yes && 4878 cat >>confdefs.h <<\_ACEOF 4879 #define __EXTENSIONS__ 1 4880 _ACEOF 4881 4882 cat >>confdefs.h <<\_ACEOF 4883 #define _ALL_SOURCE 1 4884 _ACEOF 4885 4886 cat >>confdefs.h <<\_ACEOF 4887 #define _GNU_SOURCE 1 4888 _ACEOF 4889 4890 cat >>confdefs.h <<\_ACEOF 4891 #define _POSIX_PTHREAD_SEMANTICS 1 4892 _ACEOF 4893 4894 cat >>confdefs.h <<\_ACEOF 4895 #define _TANDEM_SOURCE 1 4896 _ACEOF 4897 4898 4899 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5 4900 $as_echo_n "checking for library containing strerror... " >&6; } 4901 if test "${ac_cv_search_strerror+set}" = set; then 4902 $as_echo_n "(cached) " >&6 4903 else 4904 ac_func_search_save_LIBS=$LIBS 4905 cat >conftest.$ac_ext <<_ACEOF 4906 /* confdefs.h. */ 4907 _ACEOF 4908 cat confdefs.h >>conftest.$ac_ext 4909 cat >>conftest.$ac_ext <<_ACEOF 4910 /* end confdefs.h. */ 4911 4912 /* Override any GCC internal prototype to avoid an error. 4913 Use char because int might match the return type of a GCC 4914 builtin and then its argument prototype would still apply. */ 4915 #ifdef __cplusplus 4916 extern "C" 4917 #endif 4918 char strerror (); 4919 int 4920 main () 4921 { 4922 return strerror (); 4923 ; 4924 return 0; 4925 } 4926 _ACEOF 4927 for ac_lib in '' cposix; do 4928 if test -z "$ac_lib"; then 4929 ac_res="none required" 4930 else 4931 ac_res=-l$ac_lib 4932 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4933 fi 4934 rm -f conftest.$ac_objext conftest$ac_exeext 4935 if { (ac_try="$ac_link" 4936 case "(($ac_try" in 4937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4938 *) ac_try_echo=$ac_try;; 4939 esac 4940 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4941 $as_echo "$ac_try_echo") >&5 4942 (eval "$ac_link") 2>conftest.er1 4943 ac_status=$? 4944 grep -v '^ *+' conftest.er1 >conftest.err 4945 rm -f conftest.er1 4946 cat conftest.err >&5 4947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4948 (exit $ac_status); } && { 4949 test -z "$ac_c_werror_flag" || 4950 test ! -s conftest.err 4951 } && test -s conftest$ac_exeext && { 4952 test "$cross_compiling" = yes || 4953 $as_test_x conftest$ac_exeext 4954 }; then 4955 ac_cv_search_strerror=$ac_res 4956 else 4957 $as_echo "$as_me: failed program was:" >&5 4958 sed 's/^/| /' conftest.$ac_ext >&5 4959 4960 4961 fi 4962 4963 rm -rf conftest.dSYM 4964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4965 conftest$ac_exeext 4966 if test "${ac_cv_search_strerror+set}" = set; then 4967 break 4968 fi 4969 done 4970 if test "${ac_cv_search_strerror+set}" = set; then 4971 : 4972 else 4973 ac_cv_search_strerror=no 4974 fi 4975 rm conftest.$ac_ext 4976 LIBS=$ac_func_search_save_LIBS 4977 fi 4978 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 4979 $as_echo "$ac_cv_search_strerror" >&6; } 4980 ac_res=$ac_cv_search_strerror 4981 if test "$ac_res" != no; then 4982 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4983 4984 fi 4985 4986 4987 if test "${ac_cv_header_minix_config_h+set}" = set; then 4988 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 4989 $as_echo_n "checking for minix/config.h... " >&6; } 4990 if test "${ac_cv_header_minix_config_h+set}" = set; then 4991 $as_echo_n "(cached) " >&6 4992 fi 4993 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4994 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4995 else 4996 # Is the header compilable? 4997 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 4998 $as_echo_n "checking minix/config.h usability... " >&6; } 4999 cat >conftest.$ac_ext <<_ACEOF 5000 /* confdefs.h. */ 5001 _ACEOF 5002 cat confdefs.h >>conftest.$ac_ext 5003 cat >>conftest.$ac_ext <<_ACEOF 5004 /* end confdefs.h. */ 5005 $ac_includes_default 5006 #include <minix/config.h> 5007 _ACEOF 5008 rm -f conftest.$ac_objext 5009 if { (ac_try="$ac_compile" 5010 case "(($ac_try" in 5011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5012 *) ac_try_echo=$ac_try;; 5013 esac 5014 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5015 $as_echo "$ac_try_echo") >&5 5016 (eval "$ac_compile") 2>conftest.er1 5017 ac_status=$? 5018 grep -v '^ *+' conftest.er1 >conftest.err 5019 rm -f conftest.er1 5020 cat conftest.err >&5 5021 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5022 (exit $ac_status); } && { 5023 test -z "$ac_c_werror_flag" || 5024 test ! -s conftest.err 5025 } && test -s conftest.$ac_objext; then 5026 ac_header_compiler=yes 5027 else 5028 $as_echo "$as_me: failed program was:" >&5 5029 sed 's/^/| /' conftest.$ac_ext >&5 5030 5031 ac_header_compiler=no 5032 fi 5033 5034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5035 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5036 $as_echo "$ac_header_compiler" >&6; } 5037 5038 # Is the header present? 5039 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 5040 $as_echo_n "checking minix/config.h presence... " >&6; } 5041 cat >conftest.$ac_ext <<_ACEOF 5042 /* confdefs.h. */ 5043 _ACEOF 5044 cat confdefs.h >>conftest.$ac_ext 5045 cat >>conftest.$ac_ext <<_ACEOF 5046 /* end confdefs.h. */ 5047 #include <minix/config.h> 5048 _ACEOF 5049 if { (ac_try="$ac_cpp conftest.$ac_ext" 5050 case "(($ac_try" in 5051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5052 *) ac_try_echo=$ac_try;; 5053 esac 5054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5055 $as_echo "$ac_try_echo") >&5 5056 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5057 ac_status=$? 5058 grep -v '^ *+' conftest.er1 >conftest.err 5059 rm -f conftest.er1 5060 cat conftest.err >&5 5061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5062 (exit $ac_status); } >/dev/null && { 5063 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5064 test ! -s conftest.err 5065 }; then 5066 ac_header_preproc=yes 5067 else 5068 $as_echo "$as_me: failed program was:" >&5 5069 sed 's/^/| /' conftest.$ac_ext >&5 5070 5071 ac_header_preproc=no 5072 fi 5073 5074 rm -f conftest.err conftest.$ac_ext 5075 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5076 $as_echo "$ac_header_preproc" >&6; } 5077 5078 # So? What about this header? 5079 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5080 yes:no: ) 5081 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 5082 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5083 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 5084 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 5085 ac_header_preproc=yes 5086 ;; 5087 no:yes:* ) 5088 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 5089 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 5090 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 5091 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 5092 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 5093 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 5094 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 5095 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 5096 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 5097 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 5098 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 5099 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 5100 5101 ;; 5102 esac 5103 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5104 $as_echo_n "checking for minix/config.h... " >&6; } 5105 if test "${ac_cv_header_minix_config_h+set}" = set; then 5106 $as_echo_n "(cached) " >&6 5107 else 5108 ac_cv_header_minix_config_h=$ac_header_preproc 5109 fi 5110 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5111 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5112 5113 fi 5114 if test "x$ac_cv_header_minix_config_h" = x""yes; then 5115 MINIX=yes 5116 else 5117 MINIX= 5118 fi 5119 5120 5121 if test "$MINIX" = yes; then 5122 5123 cat >>confdefs.h <<\_ACEOF 5124 #define _POSIX_SOURCE 1 5125 _ACEOF 5126 5127 5128 cat >>confdefs.h <<\_ACEOF 5129 #define _POSIX_1_SOURCE 2 5130 _ACEOF 5131 5132 5133 cat >>confdefs.h <<\_ACEOF 5134 #define _MINIX 1 5135 _ACEOF 5136 5137 fi 5138 5139 5140 5141 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 5142 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5143 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 5144 $as_echo_n "(cached) " >&6 5145 else 5146 cat >conftest.$ac_ext <<_ACEOF 5147 /* confdefs.h. */ 5148 _ACEOF 5149 cat confdefs.h >>conftest.$ac_ext 5150 cat >>conftest.$ac_ext <<_ACEOF 5151 /* end confdefs.h. */ 5152 5153 # define __EXTENSIONS__ 1 5154 $ac_includes_default 5155 int 5156 main () 5157 { 5158 5159 ; 5160 return 0; 5161 } 5162 _ACEOF 5163 rm -f conftest.$ac_objext 5164 if { (ac_try="$ac_compile" 5165 case "(($ac_try" in 5166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5167 *) ac_try_echo=$ac_try;; 5168 esac 5169 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5170 $as_echo "$ac_try_echo") >&5 5171 (eval "$ac_compile") 2>conftest.er1 5172 ac_status=$? 5173 grep -v '^ *+' conftest.er1 >conftest.err 5174 rm -f conftest.er1 5175 cat conftest.err >&5 5176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5177 (exit $ac_status); } && { 5178 test -z "$ac_c_werror_flag" || 5179 test ! -s conftest.err 5180 } && test -s conftest.$ac_objext; then 5181 ac_cv_safe_to_define___extensions__=yes 5182 else 5183 $as_echo "$as_me: failed program was:" >&5 5184 sed 's/^/| /' conftest.$ac_ext >&5 5185 5186 ac_cv_safe_to_define___extensions__=no 5187 fi 5188 5189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5190 fi 5191 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 5192 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5193 test $ac_cv_safe_to_define___extensions__ = yes && 5194 cat >>confdefs.h <<\_ACEOF 5195 #define __EXTENSIONS__ 1 5196 _ACEOF 5197 5198 cat >>confdefs.h <<\_ACEOF 5199 #define _ALL_SOURCE 1 5200 _ACEOF 5201 5202 cat >>confdefs.h <<\_ACEOF 5203 #define _GNU_SOURCE 1 5204 _ACEOF 5205 5206 cat >>confdefs.h <<\_ACEOF 5207 #define _POSIX_PTHREAD_SEMANTICS 1 5208 _ACEOF 5209 5210 cat >>confdefs.h <<\_ACEOF 5211 #define _TANDEM_SOURCE 1 5212 _ACEOF 5213 5214 5215 { $as_echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 5216 $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; } 4204 5217 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4205 echo $ECHO_N "(cached) $ECHO_C" >&65218 $as_echo_n "(cached) " >&6 4206 5219 else 4207 5220 ac_cv_prog_cc_stdc=no … … 4237 5250 _ACEOF 4238 5251 rm -f conftest.$ac_objext 4239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4240 (eval $ac_compile) 2>conftest.er1 5252 if { (ac_try="$ac_compile" 5253 case "(($ac_try" in 5254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5255 *) ac_try_echo=$ac_try;; 5256 esac 5257 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5258 $as_echo "$ac_try_echo") >&5 5259 (eval "$ac_compile") 2>conftest.er1 4241 5260 ac_status=$? 4242 5261 grep -v '^ *+' conftest.er1 >conftest.err 4243 5262 rm -f conftest.er1 4244 5263 cat conftest.err >&5 4245 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4246 (exit $ac_status); } && 4247 { ac_try='test -z "$ac_c_werror_flag" 4248 || test ! -s conftest.err' 4249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4250 (eval $ac_try) 2>&5 4251 ac_status=$? 4252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4253 (exit $ac_status); }; } && 4254 { ac_try='test -s conftest.$ac_objext' 4255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4256 (eval $ac_try) 2>&5 4257 ac_status=$? 4258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4259 (exit $ac_status); }; }; then 5264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5265 (exit $ac_status); } && { 5266 test -z "$ac_c_werror_flag" || 5267 test ! -s conftest.err 5268 } && test -s conftest.$ac_objext; then 4260 5269 ac_cv_prog_cc_stdc="$ac_arg"; break 4261 5270 else 4262 echo "$as_me: failed program was:" >&55271 $as_echo "$as_me: failed program was:" >&5 4263 5272 sed 's/^/| /' conftest.$ac_ext >&5 4264 5273 4265 fi 4266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5274 5275 fi 5276 5277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4267 5278 done 4268 5279 CFLAGS="$ac_save_CFLAGS" … … 4270 5281 fi 4271 5282 4272 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&54273 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 5283 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 5284 $as_echo "$ac_cv_prog_cc_stdc" >&6; } 4274 5285 case "x$ac_cv_prog_cc_stdc" in 4275 5286 x|xno) ;; … … 4278 5289 4279 5290 4280 echo "$as_me:$LINENO: checking for function prototypes" >&54281 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 5291 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5 5292 $as_echo_n "checking for function prototypes... " >&6; } 4282 5293 if test "$ac_cv_prog_cc_stdc" != no; then 4283 echo "$as_me:$LINENO: result: yes" >&54284 echo "${ECHO_T}yes" >&6 5294 { $as_echo "$as_me:$LINENO: result: yes" >&5 5295 $as_echo "yes" >&6; } 4285 5296 cat >>confdefs.h <<\_ACEOF 4286 5297 #define PROTOTYPES 1 … … 4289 5300 U= ANSI2KNR= 4290 5301 else 4291 echo "$as_me:$LINENO: result: no" >&54292 echo "${ECHO_T}no" >&6 5302 { $as_echo "$as_me:$LINENO: result: no" >&5 5303 $as_echo "no" >&6; } 4293 5304 U=_ ANSI2KNR=ansi2knr 4294 5305 fi 4295 5306 4296 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&54297 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 5307 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 5308 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 4298 5309 if test "${ac_cv_c_const+set}" = set; then 4299 echo $ECHO_N "(cached) $ECHO_C" >&65310 $as_echo_n "(cached) " >&6 4300 5311 else 4301 5312 cat >conftest.$ac_ext <<_ACEOF … … 4313 5324 /* Ultrix mips cc rejects this. */ 4314 5325 typedef int charset[2]; 4315 const charset x;5326 const charset cs; 4316 5327 /* SunOS 4.1.1 cc rejects this. */ 4317 char const *const * ccp;4318 char **p ;5328 char const *const *pcpcc; 5329 char **ppc; 4319 5330 /* NEC SVR4.0.2 mips cc rejects this. */ 4320 5331 struct point {int x, y;}; … … 4325 5336 expression */ 4326 5337 const char *g = "string"; 4327 ccp= &g + (g ? g-g : 0);5338 pcpcc = &g + (g ? g-g : 0); 4328 5339 /* HPUX 7.0 cc rejects these. */ 4329 ++ ccp;4330 p = (char**) ccp;4331 ccp = (char const *const *) p;5340 ++pcpcc; 5341 ppc = (char**) pcpcc; 5342 pcpcc = (char const *const *) ppc; 4332 5343 { /* SCO 3.2v4 cc rejects this. */ 4333 5344 char *t; … … 4335 5346 4336 5347 *t++ = 0; 5348 if (s) return 0; 4337 5349 } 4338 5350 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 4353 5365 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4354 5366 const int foo = 10; 5367 if (!foo) return 0; 4355 5368 } 5369 return !cs[0] && !zero.x; 4356 5370 #endif 4357 5371 … … 4361 5375 _ACEOF 4362 5376 rm -f conftest.$ac_objext 4363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4364 (eval $ac_compile) 2>conftest.er1 5377 if { (ac_try="$ac_compile" 5378 case "(($ac_try" in 5379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5380 *) ac_try_echo=$ac_try;; 5381 esac 5382 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5383 $as_echo "$ac_try_echo") >&5 5384 (eval "$ac_compile") 2>conftest.er1 4365 5385 ac_status=$? 4366 5386 grep -v '^ *+' conftest.er1 >conftest.err 4367 5387 rm -f conftest.er1 4368 5388 cat conftest.err >&5 4369 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4370 (exit $ac_status); } && 4371 { ac_try='test -z "$ac_c_werror_flag" 4372 || test ! -s conftest.err' 4373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4374 (eval $ac_try) 2>&5 4375 ac_status=$? 4376 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4377 (exit $ac_status); }; } && 4378 { ac_try='test -s conftest.$ac_objext' 4379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4380 (eval $ac_try) 2>&5 4381 ac_status=$? 4382 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4383 (exit $ac_status); }; }; then 5389 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5390 (exit $ac_status); } && { 5391 test -z "$ac_c_werror_flag" || 5392 test ! -s conftest.err 5393 } && test -s conftest.$ac_objext; then 4384 5394 ac_cv_c_const=yes 4385 5395 else 4386 echo "$as_me: failed program was:" >&55396 $as_echo "$as_me: failed program was:" >&5 4387 5397 sed 's/^/| /' conftest.$ac_ext >&5 4388 5398 4389 ac_cv_c_const=no 4390 fi 4391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4392 fi 4393 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4394 echo "${ECHO_T}$ac_cv_c_const" >&6 5399 ac_cv_c_const=no 5400 fi 5401 5402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5403 fi 5404 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 5405 $as_echo "$ac_cv_c_const" >&6; } 4395 5406 if test $ac_cv_c_const = no; then 4396 5407 4397 5408 cat >>confdefs.h <<\_ACEOF 4398 #define const 4399 _ACEOF 4400 4401 fi 4402 4403 echo "$as_me:$LINENO: checking for off_t" >&54404 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 5409 #define const /**/ 5410 _ACEOF 5411 5412 fi 5413 5414 { $as_echo "$as_me:$LINENO: checking for off_t" >&5 5415 $as_echo_n "checking for off_t... " >&6; } 4405 5416 if test "${ac_cv_type_off_t+set}" = set; then 4406 echo $ECHO_N "(cached) $ECHO_C" >&6 4407 else 4408 cat >conftest.$ac_ext <<_ACEOF 5417 $as_echo_n "(cached) " >&6 5418 else 5419 ac_cv_type_off_t=no 5420 cat >conftest.$ac_ext <<_ACEOF 4409 5421 /* confdefs.h. */ 4410 5422 _ACEOF … … 4416 5428 main () 4417 5429 { 4418 if ((off_t *) 0)4419 return 0;4420 5430 if (sizeof (off_t)) 4421 return 0;5431 return 0; 4422 5432 ; 4423 5433 return 0; … … 4425 5435 _ACEOF 4426 5436 rm -f conftest.$ac_objext 4427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4428 (eval $ac_compile) 2>conftest.er1 5437 if { (ac_try="$ac_compile" 5438 case "(($ac_try" in 5439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5440 *) ac_try_echo=$ac_try;; 5441 esac 5442 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5443 $as_echo "$ac_try_echo") >&5 5444 (eval "$ac_compile") 2>conftest.er1 4429 5445 ac_status=$? 4430 5446 grep -v '^ *+' conftest.er1 >conftest.err 4431 5447 rm -f conftest.er1 4432 5448 cat conftest.err >&5 4433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4434 (exit $ac_status); } && 4435 { ac_try='test -z "$ac_c_werror_flag" 4436 || test ! -s conftest.err' 4437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4438 (eval $ac_try) 2>&5 4439 ac_status=$? 4440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4441 (exit $ac_status); }; } && 4442 { ac_try='test -s conftest.$ac_objext' 4443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4444 (eval $ac_try) 2>&5 4445 ac_status=$? 4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4447 (exit $ac_status); }; }; then 4448 ac_cv_type_off_t=yes 4449 else 4450 echo "$as_me: failed program was:" >&5 4451 sed 's/^/| /' conftest.$ac_ext >&5 4452 4453 ac_cv_type_off_t=no 4454 fi 4455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4456 fi 4457 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4458 echo "${ECHO_T}$ac_cv_type_off_t" >&6 4459 if test $ac_cv_type_off_t = yes; then 4460 : 4461 else 4462 4463 cat >>confdefs.h <<_ACEOF 4464 #define off_t long 4465 _ACEOF 4466 4467 fi 4468 4469 echo "$as_me:$LINENO: checking for size_t" >&5 4470 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 4471 if test "${ac_cv_type_size_t+set}" = set; then 4472 echo $ECHO_N "(cached) $ECHO_C" >&6 4473 else 5449 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5450 (exit $ac_status); } && { 5451 test -z "$ac_c_werror_flag" || 5452 test ! -s conftest.err 5453 } && test -s conftest.$ac_objext; then 4474 5454 cat >conftest.$ac_ext <<_ACEOF 4475 5455 /* confdefs.h. */ … … 4482 5462 main () 4483 5463 { 4484 if ((size_t *) 0) 4485 return 0; 4486 if (sizeof (size_t)) 4487 return 0; 5464 if (sizeof ((off_t))) 5465 return 0; 4488 5466 ; 4489 5467 return 0; … … 4491 5469 _ACEOF 4492 5470 rm -f conftest.$ac_objext 4493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4494 (eval $ac_compile) 2>conftest.er1 5471 if { (ac_try="$ac_compile" 5472 case "(($ac_try" in 5473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5474 *) ac_try_echo=$ac_try;; 5475 esac 5476 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5477 $as_echo "$ac_try_echo") >&5 5478 (eval "$ac_compile") 2>conftest.er1 4495 5479 ac_status=$? 4496 5480 grep -v '^ *+' conftest.er1 >conftest.err 4497 5481 rm -f conftest.er1 4498 5482 cat conftest.err >&5 4499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4500 (exit $ac_status); } && 4501 { ac_try='test -z "$ac_c_werror_flag" 4502 || test ! -s conftest.err' 4503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4504 (eval $ac_try) 2>&5 5483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5484 (exit $ac_status); } && { 5485 test -z "$ac_c_werror_flag" || 5486 test ! -s conftest.err 5487 } && test -s conftest.$ac_objext; then 5488 : 5489 else 5490 $as_echo "$as_me: failed program was:" >&5 5491 sed 's/^/| /' conftest.$ac_ext >&5 5492 5493 ac_cv_type_off_t=yes 5494 fi 5495 5496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5497 else 5498 $as_echo "$as_me: failed program was:" >&5 5499 sed 's/^/| /' conftest.$ac_ext >&5 5500 5501 5502 fi 5503 5504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5505 fi 5506 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 5507 $as_echo "$ac_cv_type_off_t" >&6; } 5508 if test "x$ac_cv_type_off_t" = x""yes; then 5509 : 5510 else 5511 5512 cat >>confdefs.h <<_ACEOF 5513 #define off_t long int 5514 _ACEOF 5515 5516 fi 5517 5518 { $as_echo "$as_me:$LINENO: checking for size_t" >&5 5519 $as_echo_n "checking for size_t... " >&6; } 5520 if test "${ac_cv_type_size_t+set}" = set; then 5521 $as_echo_n "(cached) " >&6 5522 else 5523 ac_cv_type_size_t=no 5524 cat >conftest.$ac_ext <<_ACEOF 5525 /* confdefs.h. */ 5526 _ACEOF 5527 cat confdefs.h >>conftest.$ac_ext 5528 cat >>conftest.$ac_ext <<_ACEOF 5529 /* end confdefs.h. */ 5530 $ac_includes_default 5531 int 5532 main () 5533 { 5534 if (sizeof (size_t)) 5535 return 0; 5536 ; 5537 return 0; 5538 } 5539 _ACEOF 5540 rm -f conftest.$ac_objext 5541 if { (ac_try="$ac_compile" 5542 case "(($ac_try" in 5543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5544 *) ac_try_echo=$ac_try;; 5545 esac 5546 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5547 $as_echo "$ac_try_echo") >&5 5548 (eval "$ac_compile") 2>conftest.er1 4505 5549 ac_status=$? 4506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4507 (exit $ac_status); }; } && 4508 { ac_try='test -s conftest.$ac_objext' 4509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4510 (eval $ac_try) 2>&5 5550 grep -v '^ *+' conftest.er1 >conftest.err 5551 rm -f conftest.er1 5552 cat conftest.err >&5 5553 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5554 (exit $ac_status); } && { 5555 test -z "$ac_c_werror_flag" || 5556 test ! -s conftest.err 5557 } && test -s conftest.$ac_objext; then 5558 cat >conftest.$ac_ext <<_ACEOF 5559 /* confdefs.h. */ 5560 _ACEOF 5561 cat confdefs.h >>conftest.$ac_ext 5562 cat >>conftest.$ac_ext <<_ACEOF 5563 /* end confdefs.h. */ 5564 $ac_includes_default 5565 int 5566 main () 5567 { 5568 if (sizeof ((size_t))) 5569 return 0; 5570 ; 5571 return 0; 5572 } 5573 _ACEOF 5574 rm -f conftest.$ac_objext 5575 if { (ac_try="$ac_compile" 5576 case "(($ac_try" in 5577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5578 *) ac_try_echo=$ac_try;; 5579 esac 5580 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5581 $as_echo "$ac_try_echo") >&5 5582 (eval "$ac_compile") 2>conftest.er1 4511 5583 ac_status=$? 4512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4513 (exit $ac_status); }; }; then 4514 ac_cv_type_size_t=yes 4515 else 4516 echo "$as_me: failed program was:" >&5 5584 grep -v '^ *+' conftest.er1 >conftest.err 5585 rm -f conftest.er1 5586 cat conftest.err >&5 5587 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5588 (exit $ac_status); } && { 5589 test -z "$ac_c_werror_flag" || 5590 test ! -s conftest.err 5591 } && test -s conftest.$ac_objext; then 5592 : 5593 else 5594 $as_echo "$as_me: failed program was:" >&5 4517 5595 sed 's/^/| /' conftest.$ac_ext >&5 4518 5596 4519 ac_cv_type_size_t=no 4520 fi 4521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4522 fi 4523 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4524 echo "${ECHO_T}$ac_cv_type_size_t" >&6 4525 if test $ac_cv_type_size_t = yes; then 5597 ac_cv_type_size_t=yes 5598 fi 5599 5600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5601 else 5602 $as_echo "$as_me: failed program was:" >&5 5603 sed 's/^/| /' conftest.$ac_ext >&5 5604 5605 5606 fi 5607 5608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5609 fi 5610 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 5611 $as_echo "$ac_cv_type_size_t" >&6; } 5612 if test "x$ac_cv_type_size_t" = x""yes; then 4526 5613 : 4527 5614 else 4528 5615 4529 5616 cat >>confdefs.h <<_ACEOF 4530 #define size_t unsigned 4531 _ACEOF 4532 4533 fi 4534 4535 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&54536 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 5617 #define size_t unsigned int 5618 _ACEOF 5619 5620 fi 5621 5622 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 5623 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 4537 5624 if test "${ac_cv_header_time+set}" = set; then 4538 echo $ECHO_N "(cached) $ECHO_C" >&65625 $as_echo_n "(cached) " >&6 4539 5626 else 4540 5627 cat >conftest.$ac_ext <<_ACEOF … … 4558 5645 _ACEOF 4559 5646 rm -f conftest.$ac_objext 4560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4561 (eval $ac_compile) 2>conftest.er1 5647 if { (ac_try="$ac_compile" 5648 case "(($ac_try" in 5649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5650 *) ac_try_echo=$ac_try;; 5651 esac 5652 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5653 $as_echo "$ac_try_echo") >&5 5654 (eval "$ac_compile") 2>conftest.er1 4562 5655 ac_status=$? 4563 5656 grep -v '^ *+' conftest.er1 >conftest.err 4564 5657 rm -f conftest.er1 4565 5658 cat conftest.err >&5 4566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4567 (exit $ac_status); } && 4568 { ac_try='test -z "$ac_c_werror_flag" 4569 || test ! -s conftest.err' 4570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4571 (eval $ac_try) 2>&5 4572 ac_status=$? 4573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4574 (exit $ac_status); }; } && 4575 { ac_try='test -s conftest.$ac_objext' 4576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4577 (eval $ac_try) 2>&5 4578 ac_status=$? 4579 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4580 (exit $ac_status); }; }; then 5659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5660 (exit $ac_status); } && { 5661 test -z "$ac_c_werror_flag" || 5662 test ! -s conftest.err 5663 } && test -s conftest.$ac_objext; then 4581 5664 ac_cv_header_time=yes 4582 5665 else 4583 echo "$as_me: failed program was:" >&55666 $as_echo "$as_me: failed program was:" >&5 4584 5667 sed 's/^/| /' conftest.$ac_ext >&5 4585 5668 4586 ac_cv_header_time=no 4587 fi 4588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4589 fi 4590 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4591 echo "${ECHO_T}$ac_cv_header_time" >&6 5669 ac_cv_header_time=no 5670 fi 5671 5672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5673 fi 5674 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 5675 $as_echo "$ac_cv_header_time" >&6; } 4592 5676 if test $ac_cv_header_time = yes; then 4593 5677 … … 4598 5682 fi 4599 5683 4600 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&54601 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 5684 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 5685 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 4602 5686 if test "${ac_cv_struct_tm+set}" = set; then 4603 echo $ECHO_N "(cached) $ECHO_C" >&65687 $as_echo_n "(cached) " >&6 4604 5688 else 4605 5689 cat >conftest.$ac_ext <<_ACEOF … … 4615 5699 main () 4616 5700 { 4617 struct tm *tp; tp->tm_sec; 5701 struct tm tm; 5702 int *p = &tm.tm_sec; 5703 return !p; 4618 5704 ; 4619 5705 return 0; … … 4621 5707 _ACEOF 4622 5708 rm -f conftest.$ac_objext 4623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4624 (eval $ac_compile) 2>conftest.er1 5709 if { (ac_try="$ac_compile" 5710 case "(($ac_try" in 5711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5712 *) ac_try_echo=$ac_try;; 5713 esac 5714 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5715 $as_echo "$ac_try_echo") >&5 5716 (eval "$ac_compile") 2>conftest.er1 4625 5717 ac_status=$? 4626 5718 grep -v '^ *+' conftest.er1 >conftest.err 4627 5719 rm -f conftest.er1 4628 5720 cat conftest.err >&5 4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4630 (exit $ac_status); } && 4631 { ac_try='test -z "$ac_c_werror_flag" 4632 || test ! -s conftest.err' 4633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4634 (eval $ac_try) 2>&5 4635 ac_status=$? 4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4637 (exit $ac_status); }; } && 4638 { ac_try='test -s conftest.$ac_objext' 4639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4640 (eval $ac_try) 2>&5 4641 ac_status=$? 4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4643 (exit $ac_status); }; }; then 5721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5722 (exit $ac_status); } && { 5723 test -z "$ac_c_werror_flag" || 5724 test ! -s conftest.err 5725 } && test -s conftest.$ac_objext; then 4644 5726 ac_cv_struct_tm=time.h 4645 5727 else 4646 echo "$as_me: failed program was:" >&55728 $as_echo "$as_me: failed program was:" >&5 4647 5729 sed 's/^/| /' conftest.$ac_ext >&5 4648 5730 4649 ac_cv_struct_tm=sys/time.h 4650 fi 4651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4652 fi 4653 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 4654 echo "${ECHO_T}$ac_cv_struct_tm" >&6 5731 ac_cv_struct_tm=sys/time.h 5732 fi 5733 5734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5735 fi 5736 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 5737 $as_echo "$ac_cv_struct_tm" >&6; } 4655 5738 if test $ac_cv_struct_tm = sys/time.h; then 4656 5739 … … 4680 5763 _ACEOF 4681 5764 rm -f conftest.$ac_objext 4682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4683 (eval $ac_compile) 2>conftest.er1 5765 if { (ac_try="$ac_compile" 5766 case "(($ac_try" in 5767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5768 *) ac_try_echo=$ac_try;; 5769 esac 5770 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5771 $as_echo "$ac_try_echo") >&5 5772 (eval "$ac_compile") 2>conftest.er1 4684 5773 ac_status=$? 4685 5774 grep -v '^ *+' conftest.er1 >conftest.err 4686 5775 rm -f conftest.er1 4687 5776 cat conftest.err >&5 4688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4689 (exit $ac_status); } && 4690 { ac_try='test -z "$ac_c_werror_flag" 4691 || test ! -s conftest.err' 4692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4693 (eval $ac_try) 2>&5 4694 ac_status=$? 4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4696 (exit $ac_status); }; } && 4697 { ac_try='test -s conftest.$ac_objext' 4698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4699 (eval $ac_try) 2>&5 4700 ac_status=$? 4701 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4702 (exit $ac_status); }; }; then 5777 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5778 (exit $ac_status); } && { 5779 test -z "$ac_c_werror_flag" || 5780 test ! -s conftest.err 5781 } && test -s conftest.$ac_objext; then 4703 5782 : 4704 5783 else 4705 echo "$as_me: failed program was:" >&55784 $as_echo "$as_me: failed program was:" >&5 4706 5785 sed 's/^/| /' conftest.$ac_ext >&5 4707 5786 4708 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 4709 fi 4710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4711 fi 4712 4713 4714 4715 echo "$as_me:$LINENO: checking for main in -lg" >&5 4716 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6 5787 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5788 fi 5789 5790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5791 fi 5792 5793 5794 5795 { $as_echo "$as_me:$LINENO: checking for main in -lg" >&5 5796 $as_echo_n "checking for main in -lg... " >&6; } 4717 5797 if test "${ac_cv_lib_g_main+set}" = set; then 4718 echo $ECHO_N "(cached) $ECHO_C" >&65798 $as_echo_n "(cached) " >&6 4719 5799 else 4720 5800 ac_check_lib_save_LIBS=$LIBS … … 4731 5811 main () 4732 5812 { 4733 main ();5813 return main (); 4734 5814 ; 4735 5815 return 0; … … 4737 5817 _ACEOF 4738 5818 rm -f conftest.$ac_objext conftest$ac_exeext 4739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4740 (eval $ac_link) 2>conftest.er1 5819 if { (ac_try="$ac_link" 5820 case "(($ac_try" in 5821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5822 *) ac_try_echo=$ac_try;; 5823 esac 5824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5825 $as_echo "$ac_try_echo") >&5 5826 (eval "$ac_link") 2>conftest.er1 4741 5827 ac_status=$? 4742 5828 grep -v '^ *+' conftest.er1 >conftest.err 4743 5829 rm -f conftest.er1 4744 5830 cat conftest.err >&5 4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4746 (exit $ac_status); } && 4747 { ac_try='test -z "$ac_c_werror_flag" 4748 || test ! -s conftest.err' 4749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4750 (eval $ac_try) 2>&5 4751 ac_status=$? 4752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4753 (exit $ac_status); }; } && 4754 { ac_try='test -s conftest$ac_exeext' 4755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4756 (eval $ac_try) 2>&5 4757 ac_status=$? 4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4759 (exit $ac_status); }; }; then 5831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5832 (exit $ac_status); } && { 5833 test -z "$ac_c_werror_flag" || 5834 test ! -s conftest.err 5835 } && test -s conftest$ac_exeext && { 5836 test "$cross_compiling" = yes || 5837 $as_test_x conftest$ac_exeext 5838 }; then 4760 5839 ac_cv_lib_g_main=yes 4761 5840 else 4762 echo "$as_me: failed program was:" >&55841 $as_echo "$as_me: failed program was:" >&5 4763 5842 sed 's/^/| /' conftest.$ac_ext >&5 4764 5843 4765 ac_cv_lib_g_main=no 4766 fi 4767 rm -f conftest.err conftest.$ac_objext \ 5844 ac_cv_lib_g_main=no 5845 fi 5846 5847 rm -rf conftest.dSYM 5848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4768 5849 conftest$ac_exeext conftest.$ac_ext 4769 5850 LIBS=$ac_check_lib_save_LIBS 4770 5851 fi 4771 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&54772 echo "${ECHO_T}$ac_cv_lib_g_main" >&6 4773 if test $ac_cv_lib_g_main =yes; then5852 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5 5853 $as_echo "$ac_cv_lib_g_main" >&6; } 5854 if test "x$ac_cv_lib_g_main" = x""yes; then 4774 5855 cat >>confdefs.h <<_ACEOF 4775 5856 #define HAVE_LIBG 1 … … 4782 5863 4783 5864 4784 echo "$as_me:$LINENO: checking for main in -lm" >&54785 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 5865 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5 5866 $as_echo_n "checking for main in -lm... " >&6; } 4786 5867 if test "${ac_cv_lib_m_main+set}" = set; then 4787 echo $ECHO_N "(cached) $ECHO_C" >&65868 $as_echo_n "(cached) " >&6 4788 5869 else 4789 5870 ac_check_lib_save_LIBS=$LIBS … … 4800 5881 main () 4801 5882 { 4802 main ();5883 return main (); 4803 5884 ; 4804 5885 return 0; … … 4806 5887 _ACEOF 4807 5888 rm -f conftest.$ac_objext conftest$ac_exeext 4808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4809 (eval $ac_link) 2>conftest.er1 5889 if { (ac_try="$ac_link" 5890 case "(($ac_try" in 5891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5892 *) ac_try_echo=$ac_try;; 5893 esac 5894 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5895 $as_echo "$ac_try_echo") >&5 5896 (eval "$ac_link") 2>conftest.er1 4810 5897 ac_status=$? 4811 5898 grep -v '^ *+' conftest.er1 >conftest.err 4812 5899 rm -f conftest.er1 4813 5900 cat conftest.err >&5 4814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4815 (exit $ac_status); } && 4816 { ac_try='test -z "$ac_c_werror_flag" 4817 || test ! -s conftest.err' 4818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4819 (eval $ac_try) 2>&5 4820 ac_status=$? 4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4822 (exit $ac_status); }; } && 4823 { ac_try='test -s conftest$ac_exeext' 4824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4825 (eval $ac_try) 2>&5 4826 ac_status=$? 4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4828 (exit $ac_status); }; }; then 5901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5902 (exit $ac_status); } && { 5903 test -z "$ac_c_werror_flag" || 5904 test ! -s conftest.err 5905 } && test -s conftest$ac_exeext && { 5906 test "$cross_compiling" = yes || 5907 $as_test_x conftest$ac_exeext 5908 }; then 4829 5909 ac_cv_lib_m_main=yes 4830 5910 else 4831 echo "$as_me: failed program was:" >&55911 $as_echo "$as_me: failed program was:" >&5 4832 5912 sed 's/^/| /' conftest.$ac_ext >&5 4833 5913 4834 ac_cv_lib_m_main=no 4835 fi 4836 rm -f conftest.err conftest.$ac_objext \ 5914 ac_cv_lib_m_main=no 5915 fi 5916 5917 rm -rf conftest.dSYM 5918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4837 5919 conftest$ac_exeext conftest.$ac_ext 4838 5920 LIBS=$ac_check_lib_save_LIBS 4839 5921 fi 4840 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&54841 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 4842 if test $ac_cv_lib_m_main =yes; then5922 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 5923 $as_echo "$ac_cv_lib_m_main" >&6; } 5924 if test "x$ac_cv_lib_m_main" = x""yes; then 4843 5925 cat >>confdefs.h <<_ACEOF 4844 5926 #define HAVE_LIBM 1 … … 4851 5933 4852 5934 4853 echo "$as_me:$LINENO: checking for main in -lcrypt" >&54854 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 5935 { $as_echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 5936 $as_echo_n "checking for main in -lcrypt... " >&6; } 4855 5937 if test "${ac_cv_lib_crypt_main+set}" = set; then 4856 echo $ECHO_N "(cached) $ECHO_C" >&65938 $as_echo_n "(cached) " >&6 4857 5939 else 4858 5940 ac_check_lib_save_LIBS=$LIBS … … 4869 5951 main () 4870 5952 { 4871 main ();5953 return main (); 4872 5954 ; 4873 5955 return 0; … … 4875 5957 _ACEOF 4876 5958 rm -f conftest.$ac_objext conftest$ac_exeext 4877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4878 (eval $ac_link) 2>conftest.er1 5959 if { (ac_try="$ac_link" 5960 case "(($ac_try" in 5961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5962 *) ac_try_echo=$ac_try;; 5963 esac 5964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5965 $as_echo "$ac_try_echo") >&5 5966 (eval "$ac_link") 2>conftest.er1 4879 5967 ac_status=$? 4880 5968 grep -v '^ *+' conftest.er1 >conftest.err 4881 5969 rm -f conftest.er1 4882 5970 cat conftest.err >&5 4883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4884 (exit $ac_status); } && 4885 { ac_try='test -z "$ac_c_werror_flag" 4886 || test ! -s conftest.err' 4887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4888 (eval $ac_try) 2>&5 4889 ac_status=$? 4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4891 (exit $ac_status); }; } && 4892 { ac_try='test -s conftest$ac_exeext' 4893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4894 (eval $ac_try) 2>&5 4895 ac_status=$? 4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4897 (exit $ac_status); }; }; then 5971 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5972 (exit $ac_status); } && { 5973 test -z "$ac_c_werror_flag" || 5974 test ! -s conftest.err 5975 } && test -s conftest$ac_exeext && { 5976 test "$cross_compiling" = yes || 5977 $as_test_x conftest$ac_exeext 5978 }; then 4898 5979 ac_cv_lib_crypt_main=yes 4899 5980 else 4900 echo "$as_me: failed program was:" >&55981 $as_echo "$as_me: failed program was:" >&5 4901 5982 sed 's/^/| /' conftest.$ac_ext >&5 4902 5983 4903 ac_cv_lib_crypt_main=no 4904 fi 4905 rm -f conftest.err conftest.$ac_objext \ 5984 ac_cv_lib_crypt_main=no 5985 fi 5986 5987 rm -rf conftest.dSYM 5988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4906 5989 conftest$ac_exeext conftest.$ac_ext 4907 5990 LIBS=$ac_check_lib_save_LIBS 4908 5991 fi 4909 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&54910 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 4911 if test $ac_cv_lib_crypt_main =yes; then5992 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5 5993 $as_echo "$ac_cv_lib_crypt_main" >&6; } 5994 if test "x$ac_cv_lib_crypt_main" = x""yes; then 4912 5995 cat >>confdefs.h <<_ACEOF 4913 5996 #define HAVE_LIBCRYPT 1 … … 4930 6013 ac_header_dirent=no 4931 6014 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 4932 as_ac_Header=` echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`4933 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&54934 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 4935 if eval "test \"\${$as_ac_Header+set}\" = set"; then4936 echo $ECHO_N "(cached) $ECHO_C" >&66015 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 6016 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 6017 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 6018 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6019 $as_echo_n "(cached) " >&6 4937 6020 else 4938 6021 cat >conftest.$ac_ext <<_ACEOF … … 4955 6038 _ACEOF 4956 6039 rm -f conftest.$ac_objext 4957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4958 (eval $ac_compile) 2>conftest.er1 6040 if { (ac_try="$ac_compile" 6041 case "(($ac_try" in 6042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6043 *) ac_try_echo=$ac_try;; 6044 esac 6045 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6046 $as_echo "$ac_try_echo") >&5 6047 (eval "$ac_compile") 2>conftest.er1 4959 6048 ac_status=$? 4960 6049 grep -v '^ *+' conftest.er1 >conftest.err 4961 6050 rm -f conftest.er1 4962 6051 cat conftest.err >&5 4963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4964 (exit $ac_status); } && 4965 { ac_try='test -z "$ac_c_werror_flag" 4966 || test ! -s conftest.err' 4967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4968 (eval $ac_try) 2>&5 4969 ac_status=$? 4970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4971 (exit $ac_status); }; } && 4972 { ac_try='test -s conftest.$ac_objext' 4973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4974 (eval $ac_try) 2>&5 4975 ac_status=$? 4976 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4977 (exit $ac_status); }; }; then 6052 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6053 (exit $ac_status); } && { 6054 test -z "$ac_c_werror_flag" || 6055 test ! -s conftest.err 6056 } && test -s conftest.$ac_objext; then 4978 6057 eval "$as_ac_Header=yes" 4979 6058 else 4980 echo "$as_me: failed program was:" >&56059 $as_echo "$as_me: failed program was:" >&5 4981 6060 sed 's/^/| /' conftest.$ac_ext >&5 4982 6061 4983 eval "$as_ac_Header=no" 4984 fi 4985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4986 fi 4987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4988 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4989 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6062 eval "$as_ac_Header=no" 6063 fi 6064 6065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6066 fi 6067 ac_res=`eval 'as_val=${'$as_ac_Header'} 6068 $as_echo "$as_val"'` 6069 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6070 $as_echo "$ac_res" >&6; } 6071 as_val=`eval 'as_val=${'$as_ac_Header'} 6072 $as_echo "$as_val"'` 6073 if test "x$as_val" = x""yes; then 4990 6074 cat >>confdefs.h <<_ACEOF 4991 #define ` echo "HAVE_$ac_hdr" | $as_tr_cpp` 16075 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 4992 6076 _ACEOF 4993 6077 … … 4998 6082 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 4999 6083 if test $ac_header_dirent = dirent.h; then 5000 echo "$as_me:$LINENO: checking for library containing opendir" >&55001 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 6084 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 6085 $as_echo_n "checking for library containing opendir... " >&6; } 5002 6086 if test "${ac_cv_search_opendir+set}" = set; then 5003 echo $ECHO_N "(cached) $ECHO_C" >&66087 $as_echo_n "(cached) " >&6 5004 6088 else 5005 6089 ac_func_search_save_LIBS=$LIBS 5006 ac_cv_search_opendir=no5007 6090 cat >conftest.$ac_ext <<_ACEOF 5008 6091 /* confdefs.h. */ … … 5012 6095 /* end confdefs.h. */ 5013 6096 5014 /* Override any gcc2 internal prototype to avoid an error. */ 6097 /* Override any GCC internal prototype to avoid an error. 6098 Use char because int might match the return type of a GCC 6099 builtin and then its argument prototype would still apply. */ 5015 6100 #ifdef __cplusplus 5016 6101 extern "C" 5017 6102 #endif 5018 /* We use char because int might match the return type of a gcc25019 builtin and then its argument prototype would still apply. */5020 6103 char opendir (); 5021 6104 int 5022 6105 main () 5023 6106 { 5024 opendir ();6107 return opendir (); 5025 6108 ; 5026 6109 return 0; 5027 6110 } 5028 6111 _ACEOF 5029 rm -f conftest.$ac_objext conftest$ac_exeext 5030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5031 (eval $ac_link) 2>conftest.er1 6112 for ac_lib in '' dir; do 6113 if test -z "$ac_lib"; then 6114 ac_res="none required" 6115 else 6116 ac_res=-l$ac_lib 6117 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6118 fi 6119 rm -f conftest.$ac_objext conftest$ac_exeext 6120 if { (ac_try="$ac_link" 6121 case "(($ac_try" in 6122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6123 *) ac_try_echo=$ac_try;; 6124 esac 6125 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6126 $as_echo "$ac_try_echo") >&5 6127 (eval "$ac_link") 2>conftest.er1 5032 6128 ac_status=$? 5033 6129 grep -v '^ *+' conftest.er1 >conftest.err 5034 6130 rm -f conftest.er1 5035 6131 cat conftest.err >&5 5036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5037 (exit $ac_status); } && 5038 { ac_try='test -z "$ac_c_werror_flag" 5039 || test ! -s conftest.err' 5040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5041 (eval $ac_try) 2>&5 5042 ac_status=$? 5043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5044 (exit $ac_status); }; } && 5045 { ac_try='test -s conftest$ac_exeext' 5046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5047 (eval $ac_try) 2>&5 5048 ac_status=$? 5049 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5050 (exit $ac_status); }; }; then 5051 ac_cv_search_opendir="none required" 5052 else 5053 echo "$as_me: failed program was:" >&5 6132 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6133 (exit $ac_status); } && { 6134 test -z "$ac_c_werror_flag" || 6135 test ! -s conftest.err 6136 } && test -s conftest$ac_exeext && { 6137 test "$cross_compiling" = yes || 6138 $as_test_x conftest$ac_exeext 6139 }; then 6140 ac_cv_search_opendir=$ac_res 6141 else 6142 $as_echo "$as_me: failed program was:" >&5 5054 6143 sed 's/^/| /' conftest.$ac_ext >&5 5055 6144 5056 fi 5057 rm -f conftest.err conftest.$ac_objext \ 5058 conftest$ac_exeext conftest.$ac_ext 5059 if test "$ac_cv_search_opendir" = no; then 5060 for ac_lib in dir; do 5061 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5062 cat >conftest.$ac_ext <<_ACEOF 6145 6146 fi 6147 6148 rm -rf conftest.dSYM 6149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6150 conftest$ac_exeext 6151 if test "${ac_cv_search_opendir+set}" = set; then 6152 break 6153 fi 6154 done 6155 if test "${ac_cv_search_opendir+set}" = set; then 6156 : 6157 else 6158 ac_cv_search_opendir=no 6159 fi 6160 rm conftest.$ac_ext 6161 LIBS=$ac_func_search_save_LIBS 6162 fi 6163 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 6164 $as_echo "$ac_cv_search_opendir" >&6; } 6165 ac_res=$ac_cv_search_opendir 6166 if test "$ac_res" != no; then 6167 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6168 6169 fi 6170 6171 else 6172 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 6173 $as_echo_n "checking for library containing opendir... " >&6; } 6174 if test "${ac_cv_search_opendir+set}" = set; then 6175 $as_echo_n "(cached) " >&6 6176 else 6177 ac_func_search_save_LIBS=$LIBS 6178 cat >conftest.$ac_ext <<_ACEOF 5063 6179 /* confdefs.h. */ 5064 6180 _ACEOF … … 5067 6183 /* end confdefs.h. */ 5068 6184 5069 /* Override any gcc2 internal prototype to avoid an error. */ 6185 /* Override any GCC internal prototype to avoid an error. 6186 Use char because int might match the return type of a GCC 6187 builtin and then its argument prototype would still apply. */ 5070 6188 #ifdef __cplusplus 5071 6189 extern "C" 5072 6190 #endif 5073 /* We use char because int might match the return type of a gcc25074 builtin and then its argument prototype would still apply. */5075 6191 char opendir (); 5076 6192 int 5077 6193 main () 5078 6194 { 5079 opendir ();6195 return opendir (); 5080 6196 ; 5081 6197 return 0; 5082 6198 } 5083 6199 _ACEOF 5084 rm -f conftest.$ac_objext conftest$ac_exeext 5085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5086 (eval $ac_link) 2>conftest.er1 6200 for ac_lib in '' x; do 6201 if test -z "$ac_lib"; then 6202 ac_res="none required" 6203 else 6204 ac_res=-l$ac_lib 6205 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6206 fi 6207 rm -f conftest.$ac_objext conftest$ac_exeext 6208 if { (ac_try="$ac_link" 6209 case "(($ac_try" in 6210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6211 *) ac_try_echo=$ac_try;; 6212 esac 6213 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6214 $as_echo "$ac_try_echo") >&5 6215 (eval "$ac_link") 2>conftest.er1 5087 6216 ac_status=$? 5088 6217 grep -v '^ *+' conftest.er1 >conftest.err 5089 6218 rm -f conftest.er1 5090 6219 cat conftest.err >&5 5091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5092 (exit $ac_status); } && 5093 { ac_try='test -z "$ac_c_werror_flag" 5094 || test ! -s conftest.err' 5095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5096 (eval $ac_try) 2>&5 5097 ac_status=$? 5098 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5099 (exit $ac_status); }; } && 5100 { ac_try='test -s conftest$ac_exeext' 5101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5102 (eval $ac_try) 2>&5 5103 ac_status=$? 5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5105 (exit $ac_status); }; }; then 5106 ac_cv_search_opendir="-l$ac_lib" 5107 break 5108 else 5109 echo "$as_me: failed program was:" >&5 6220 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6221 (exit $ac_status); } && { 6222 test -z "$ac_c_werror_flag" || 6223 test ! -s conftest.err 6224 } && test -s conftest$ac_exeext && { 6225 test "$cross_compiling" = yes || 6226 $as_test_x conftest$ac_exeext 6227 }; then 6228 ac_cv_search_opendir=$ac_res 6229 else 6230 $as_echo "$as_me: failed program was:" >&5 5110 6231 sed 's/^/| /' conftest.$ac_ext >&5 5111 6232 5112 fi 5113 rm -f conftest.err conftest.$ac_objext \ 5114 conftest$ac_exeext conftest.$ac_ext 5115 done 5116 fi 6233 6234 fi 6235 6236 rm -rf conftest.dSYM 6237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6238 conftest$ac_exeext 6239 if test "${ac_cv_search_opendir+set}" = set; then 6240 break 6241 fi 6242 done 6243 if test "${ac_cv_search_opendir+set}" = set; then 6244 : 6245 else 6246 ac_cv_search_opendir=no 6247 fi 6248 rm conftest.$ac_ext 5117 6249 LIBS=$ac_func_search_save_LIBS 5118 6250 fi 5119 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5120 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5121 if test "$ac_cv_search_opendir" != no; then 5122 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5123 5124 fi 5125 5126 else 5127 echo "$as_me:$LINENO: checking for library containing opendir" >&5 5128 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5129 if test "${ac_cv_search_opendir+set}" = set; then 5130 echo $ECHO_N "(cached) $ECHO_C" >&6 5131 else 5132 ac_func_search_save_LIBS=$LIBS 5133 ac_cv_search_opendir=no 5134 cat >conftest.$ac_ext <<_ACEOF 5135 /* confdefs.h. */ 5136 _ACEOF 5137 cat confdefs.h >>conftest.$ac_ext 5138 cat >>conftest.$ac_ext <<_ACEOF 5139 /* end confdefs.h. */ 5140 5141 /* Override any gcc2 internal prototype to avoid an error. */ 5142 #ifdef __cplusplus 5143 extern "C" 5144 #endif 5145 /* We use char because int might match the return type of a gcc2 5146 builtin and then its argument prototype would still apply. */ 5147 char opendir (); 5148 int 5149 main () 5150 { 5151 opendir (); 5152 ; 5153 return 0; 5154 } 5155 _ACEOF 5156 rm -f conftest.$ac_objext conftest$ac_exeext 5157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5158 (eval $ac_link) 2>conftest.er1 5159 ac_status=$? 5160 grep -v '^ *+' conftest.er1 >conftest.err 5161 rm -f conftest.er1 5162 cat conftest.err >&5 5163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5164 (exit $ac_status); } && 5165 { ac_try='test -z "$ac_c_werror_flag" 5166 || test ! -s conftest.err' 5167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5168 (eval $ac_try) 2>&5 5169 ac_status=$? 5170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5171 (exit $ac_status); }; } && 5172 { ac_try='test -s conftest$ac_exeext' 5173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5174 (eval $ac_try) 2>&5 5175 ac_status=$? 5176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5177 (exit $ac_status); }; }; then 5178 ac_cv_search_opendir="none required" 5179 else 5180 echo "$as_me: failed program was:" >&5 5181 sed 's/^/| /' conftest.$ac_ext >&5 5182 5183 fi 5184 rm -f conftest.err conftest.$ac_objext \ 5185 conftest$ac_exeext conftest.$ac_ext 5186 if test "$ac_cv_search_opendir" = no; then 5187 for ac_lib in x; do 5188 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5189 cat >conftest.$ac_ext <<_ACEOF 5190 /* confdefs.h. */ 5191 _ACEOF 5192 cat confdefs.h >>conftest.$ac_ext 5193 cat >>conftest.$ac_ext <<_ACEOF 5194 /* end confdefs.h. */ 5195 5196 /* Override any gcc2 internal prototype to avoid an error. */ 5197 #ifdef __cplusplus 5198 extern "C" 5199 #endif 5200 /* We use char because int might match the return type of a gcc2 5201 builtin and then its argument prototype would still apply. */ 5202 char opendir (); 5203 int 5204 main () 5205 { 5206 opendir (); 5207 ; 5208 return 0; 5209 } 5210 _ACEOF 5211 rm -f conftest.$ac_objext conftest$ac_exeext 5212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5213 (eval $ac_link) 2>conftest.er1 5214 ac_status=$? 5215 grep -v '^ *+' conftest.er1 >conftest.err 5216 rm -f conftest.er1 5217 cat conftest.err >&5 5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5219 (exit $ac_status); } && 5220 { ac_try='test -z "$ac_c_werror_flag" 5221 || test ! -s conftest.err' 5222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5223 (eval $ac_try) 2>&5 5224 ac_status=$? 5225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5226 (exit $ac_status); }; } && 5227 { ac_try='test -s conftest$ac_exeext' 5228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5229 (eval $ac_try) 2>&5 5230 ac_status=$? 5231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5232 (exit $ac_status); }; }; then 5233 ac_cv_search_opendir="-l$ac_lib" 5234 break 5235 else 5236 echo "$as_me: failed program was:" >&5 5237 sed 's/^/| /' conftest.$ac_ext >&5 5238 5239 fi 5240 rm -f conftest.err conftest.$ac_objext \ 5241 conftest$ac_exeext conftest.$ac_ext 5242 done 5243 fi 5244 LIBS=$ac_func_search_save_LIBS 5245 fi 5246 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5247 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5248 if test "$ac_cv_search_opendir" != no; then 5249 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5250 5251 fi 5252 5253 fi 5254 5255 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5256 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6251 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 6252 $as_echo "$ac_cv_search_opendir" >&6; } 6253 ac_res=$ac_cv_search_opendir 6254 if test "$ac_res" != no; then 6255 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6256 6257 fi 6258 6259 fi 6260 6261 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6262 $as_echo_n "checking for ANSI C header files... " >&6; } 5257 6263 if test "${ac_cv_header_stdc+set}" = set; then 5258 echo $ECHO_N "(cached) $ECHO_C" >&66264 $as_echo_n "(cached) " >&6 5259 6265 else 5260 6266 cat >conftest.$ac_ext <<_ACEOF … … 5278 6284 _ACEOF 5279 6285 rm -f conftest.$ac_objext 5280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5281 (eval $ac_compile) 2>conftest.er1 6286 if { (ac_try="$ac_compile" 6287 case "(($ac_try" in 6288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6289 *) ac_try_echo=$ac_try;; 6290 esac 6291 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6292 $as_echo "$ac_try_echo") >&5 6293 (eval "$ac_compile") 2>conftest.er1 5282 6294 ac_status=$? 5283 6295 grep -v '^ *+' conftest.er1 >conftest.err 5284 6296 rm -f conftest.er1 5285 6297 cat conftest.err >&5 5286 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5287 (exit $ac_status); } && 5288 { ac_try='test -z "$ac_c_werror_flag" 5289 || test ! -s conftest.err' 5290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5291 (eval $ac_try) 2>&5 5292 ac_status=$? 5293 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5294 (exit $ac_status); }; } && 5295 { ac_try='test -s conftest.$ac_objext' 5296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5297 (eval $ac_try) 2>&5 5298 ac_status=$? 5299 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5300 (exit $ac_status); }; }; then 6298 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6299 (exit $ac_status); } && { 6300 test -z "$ac_c_werror_flag" || 6301 test ! -s conftest.err 6302 } && test -s conftest.$ac_objext; then 5301 6303 ac_cv_header_stdc=yes 5302 6304 else 5303 echo "$as_me: failed program was:" >&56305 $as_echo "$as_me: failed program was:" >&5 5304 6306 sed 's/^/| /' conftest.$ac_ext >&5 5305 6307 5306 ac_cv_header_stdc=no 5307 fi 5308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6308 ac_cv_header_stdc=no 6309 fi 6310 6311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5309 6312 5310 6313 if test $ac_cv_header_stdc = yes; then … … 5362 6365 /* end confdefs.h. */ 5363 6366 #include <ctype.h> 6367 #include <stdlib.h> 5364 6368 #if ((' ' & 0x0FF) == 0x020) 5365 6369 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 5381 6385 if (XOR (islower (i), ISLOWER (i)) 5382 6386 || toupper (i) != TOUPPER (i)) 5383 exit(2);5384 exit (0);6387 return 2; 6388 return 0; 5385 6389 } 5386 6390 _ACEOF 5387 6391 rm -f conftest$ac_exeext 5388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5389 (eval $ac_link) 2>&5 6392 if { (ac_try="$ac_link" 6393 case "(($ac_try" in 6394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6395 *) ac_try_echo=$ac_try;; 6396 esac 6397 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6398 $as_echo "$ac_try_echo") >&5 6399 (eval "$ac_link") 2>&5 5390 6400 ac_status=$? 5391 echo "$as_me:$LINENO: \$? = $ac_status" >&56401 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5392 6402 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5394 (eval $ac_try) 2>&5 6403 { (case "(($ac_try" in 6404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6405 *) ac_try_echo=$ac_try;; 6406 esac 6407 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6408 $as_echo "$ac_try_echo") >&5 6409 (eval "$ac_try") 2>&5 5395 6410 ac_status=$? 5396 echo "$as_me:$LINENO: \$? = $ac_status" >&56411 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5397 6412 (exit $ac_status); }; }; then 5398 6413 : 5399 6414 else 5400 echo "$as_me: program exited with status $ac_status" >&55401 echo "$as_me: failed program was:" >&56415 $as_echo "$as_me: program exited with status $ac_status" >&5 6416 $as_echo "$as_me: failed program was:" >&5 5402 6417 sed 's/^/| /' conftest.$ac_ext >&5 5403 6418 … … 5405 6420 ac_cv_header_stdc=no 5406 6421 fi 5407 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5408 fi 5409 fi 5410 fi 5411 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5412 echo "${ECHO_T}$ac_cv_header_stdc" >&6 6422 rm -rf conftest.dSYM 6423 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6424 fi 6425 6426 6427 fi 6428 fi 6429 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6430 $as_echo "$ac_cv_header_stdc" >&6; } 5413 6431 if test $ac_cv_header_stdc = yes; then 5414 6432 … … 5430 6448 for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h sys/stat.h 5431 6449 do 5432 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5433 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5434 echo "$as_me:$LINENO: checking for $ac_header" >&5 5435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5436 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5437 echo $ECHO_N "(cached) $ECHO_C" >&6 5438 fi 5439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6450 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6451 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6452 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6453 $as_echo_n "checking for $ac_header... " >&6; } 6454 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6455 $as_echo_n "(cached) " >&6 6456 fi 6457 ac_res=`eval 'as_val=${'$as_ac_Header'} 6458 $as_echo "$as_val"'` 6459 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6460 $as_echo "$ac_res" >&6; } 5441 6461 else 5442 6462 # Is the header compilable? 5443 echo "$as_me:$LINENO: checking $ac_header usability" >&55444 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6463 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6464 $as_echo_n "checking $ac_header usability... " >&6; } 5445 6465 cat >conftest.$ac_ext <<_ACEOF 5446 6466 /* confdefs.h. */ … … 5453 6473 _ACEOF 5454 6474 rm -f conftest.$ac_objext 5455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5456 (eval $ac_compile) 2>conftest.er1 6475 if { (ac_try="$ac_compile" 6476 case "(($ac_try" in 6477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6478 *) ac_try_echo=$ac_try;; 6479 esac 6480 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6481 $as_echo "$ac_try_echo") >&5 6482 (eval "$ac_compile") 2>conftest.er1 5457 6483 ac_status=$? 5458 6484 grep -v '^ *+' conftest.er1 >conftest.err 5459 6485 rm -f conftest.er1 5460 6486 cat conftest.err >&5 5461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5462 (exit $ac_status); } && 5463 { ac_try='test -z "$ac_c_werror_flag" 5464 || test ! -s conftest.err' 5465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5466 (eval $ac_try) 2>&5 5467 ac_status=$? 5468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5469 (exit $ac_status); }; } && 5470 { ac_try='test -s conftest.$ac_objext' 5471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5472 (eval $ac_try) 2>&5 5473 ac_status=$? 5474 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5475 (exit $ac_status); }; }; then 6487 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6488 (exit $ac_status); } && { 6489 test -z "$ac_c_werror_flag" || 6490 test ! -s conftest.err 6491 } && test -s conftest.$ac_objext; then 5476 6492 ac_header_compiler=yes 5477 6493 else 5478 echo "$as_me: failed program was:" >&56494 $as_echo "$as_me: failed program was:" >&5 5479 6495 sed 's/^/| /' conftest.$ac_ext >&5 5480 6496 5481 ac_header_compiler=no 5482 fi 5483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5484 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5485 echo "${ECHO_T}$ac_header_compiler" >&6 6497 ac_header_compiler=no 6498 fi 6499 6500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6501 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6502 $as_echo "$ac_header_compiler" >&6; } 5486 6503 5487 6504 # Is the header present? 5488 echo "$as_me:$LINENO: checking $ac_header presence" >&55489 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6505 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6506 $as_echo_n "checking $ac_header presence... " >&6; } 5490 6507 cat >conftest.$ac_ext <<_ACEOF 5491 6508 /* confdefs.h. */ … … 5496 6513 #include <$ac_header> 5497 6514 _ACEOF 5498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5499 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6515 if { (ac_try="$ac_cpp conftest.$ac_ext" 6516 case "(($ac_try" in 6517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6518 *) ac_try_echo=$ac_try;; 6519 esac 6520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6521 $as_echo "$ac_try_echo") >&5 6522 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5500 6523 ac_status=$? 5501 6524 grep -v '^ *+' conftest.er1 >conftest.err 5502 6525 rm -f conftest.er1 5503 6526 cat conftest.err >&5 5504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5505 (exit $ac_status); } >/dev/null; then 5506 if test -s conftest.err; then 5507 ac_cpp_err=$ac_c_preproc_warn_flag 5508 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5509 else 5510 ac_cpp_err= 5511 fi 5512 else 5513 ac_cpp_err=yes 5514 fi 5515 if test -z "$ac_cpp_err"; then 6527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6528 (exit $ac_status); } >/dev/null && { 6529 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6530 test ! -s conftest.err 6531 }; then 5516 6532 ac_header_preproc=yes 5517 6533 else 5518 echo "$as_me: failed program was:" >&56534 $as_echo "$as_me: failed program was:" >&5 5519 6535 sed 's/^/| /' conftest.$ac_ext >&5 5520 6536 5521 6537 ac_header_preproc=no 5522 6538 fi 6539 5523 6540 rm -f conftest.err conftest.$ac_ext 5524 echo "$as_me:$LINENO: result: $ac_header_preproc" >&55525 echo "${ECHO_T}$ac_header_preproc" >&6 6541 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6542 $as_echo "$ac_header_preproc" >&6; } 5526 6543 5527 6544 # So? What about this header? 5528 6545 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5529 6546 yes:no: ) 5530 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&55531 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}5532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&55533 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}6547 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6548 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6549 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6550 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5534 6551 ac_header_preproc=yes 5535 6552 ;; 5536 6553 no:yes:* ) 5537 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5538 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5539 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5540 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5541 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5542 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5543 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5544 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5545 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5546 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5547 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5548 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5549 ( 5550 cat <<\_ASBOX 5551 ## ------------------------------------------ ## 5552 ## Report this to the AC_PACKAGE_NAME lists. ## 5553 ## ------------------------------------------ ## 5554 _ASBOX 5555 ) | 5556 sed "s/^/$as_me: WARNING: /" >&2 6554 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6555 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6556 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6557 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6558 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6559 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6560 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6561 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6562 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6563 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6564 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6565 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6566 5557 6567 ;; 5558 6568 esac 5559 echo "$as_me:$LINENO: checking for $ac_header" >&55560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5561 if eval "test \"\${$as_ac_Header+set}\" = set"; then5562 echo $ECHO_N "(cached) $ECHO_C" >&66569 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6570 $as_echo_n "checking for $ac_header... " >&6; } 6571 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6572 $as_echo_n "(cached) " >&6 5563 6573 else 5564 6574 eval "$as_ac_Header=\$ac_header_preproc" 5565 6575 fi 5566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5567 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5568 5569 fi 5570 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6576 ac_res=`eval 'as_val=${'$as_ac_Header'} 6577 $as_echo "$as_val"'` 6578 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6579 $as_echo "$ac_res" >&6; } 6580 6581 fi 6582 as_val=`eval 'as_val=${'$as_ac_Header'} 6583 $as_echo "$as_val"'` 6584 if test "x$as_val" = x""yes; then 5571 6585 cat >>confdefs.h <<_ACEOF 5572 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 16586 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5573 6587 _ACEOF 5574 6588 … … 5634 6648 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5635 6649 # for constant arguments. Useless! 5636 echo "$as_me:$LINENO: checking for working alloca.h" >&55637 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 6650 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 6651 $as_echo_n "checking for working alloca.h... " >&6; } 5638 6652 if test "${ac_cv_working_alloca_h+set}" = set; then 5639 echo $ECHO_N "(cached) $ECHO_C" >&66653 $as_echo_n "(cached) " >&6 5640 6654 else 5641 6655 cat >conftest.$ac_ext <<_ACEOF … … 5650 6664 { 5651 6665 char *p = (char *) alloca (2 * sizeof (int)); 6666 if (p) return 0; 5652 6667 ; 5653 6668 return 0; … … 5655 6670 _ACEOF 5656 6671 rm -f conftest.$ac_objext conftest$ac_exeext 5657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5658 (eval $ac_link) 2>conftest.er1 6672 if { (ac_try="$ac_link" 6673 case "(($ac_try" in 6674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6675 *) ac_try_echo=$ac_try;; 6676 esac 6677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6678 $as_echo "$ac_try_echo") >&5 6679 (eval "$ac_link") 2>conftest.er1 5659 6680 ac_status=$? 5660 6681 grep -v '^ *+' conftest.er1 >conftest.err 5661 6682 rm -f conftest.er1 5662 6683 cat conftest.err >&5 5663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5664 (exit $ac_status); } && 5665 { ac_try='test -z "$ac_c_werror_flag" 5666 || test ! -s conftest.err' 5667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5668 (eval $ac_try) 2>&5 5669 ac_status=$? 5670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5671 (exit $ac_status); }; } && 5672 { ac_try='test -s conftest$ac_exeext' 5673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5674 (eval $ac_try) 2>&5 5675 ac_status=$? 5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5677 (exit $ac_status); }; }; then 6684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6685 (exit $ac_status); } && { 6686 test -z "$ac_c_werror_flag" || 6687 test ! -s conftest.err 6688 } && test -s conftest$ac_exeext && { 6689 test "$cross_compiling" = yes || 6690 $as_test_x conftest$ac_exeext 6691 }; then 5678 6692 ac_cv_working_alloca_h=yes 5679 6693 else 5680 echo "$as_me: failed program was:" >&56694 $as_echo "$as_me: failed program was:" >&5 5681 6695 sed 's/^/| /' conftest.$ac_ext >&5 5682 6696 5683 ac_cv_working_alloca_h=no 5684 fi 5685 rm -f conftest.err conftest.$ac_objext \ 6697 ac_cv_working_alloca_h=no 6698 fi 6699 6700 rm -rf conftest.dSYM 6701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5686 6702 conftest$ac_exeext conftest.$ac_ext 5687 6703 fi 5688 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&55689 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 6704 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 6705 $as_echo "$ac_cv_working_alloca_h" >&6; } 5690 6706 if test $ac_cv_working_alloca_h = yes; then 5691 6707 … … 5696 6712 fi 5697 6713 5698 echo "$as_me:$LINENO: checking for alloca" >&55699 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 6714 { $as_echo "$as_me:$LINENO: checking for alloca" >&5 6715 $as_echo_n "checking for alloca... " >&6; } 5700 6716 if test "${ac_cv_func_alloca_works+set}" = set; then 5701 echo $ECHO_N "(cached) $ECHO_C" >&66717 $as_echo_n "(cached) " >&6 5702 6718 else 5703 6719 cat >conftest.$ac_ext <<_ACEOF … … 5714 6730 # define alloca _alloca 5715 6731 # else 5716 # if HAVE_ALLOCA_H6732 # ifdef HAVE_ALLOCA_H 5717 6733 # include <alloca.h> 5718 6734 # else … … 5732 6748 { 5733 6749 char *p = (char *) alloca (1); 6750 if (p) return 0; 5734 6751 ; 5735 6752 return 0; … … 5737 6754 _ACEOF 5738 6755 rm -f conftest.$ac_objext conftest$ac_exeext 5739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5740 (eval $ac_link) 2>conftest.er1 6756 if { (ac_try="$ac_link" 6757 case "(($ac_try" in 6758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6759 *) ac_try_echo=$ac_try;; 6760 esac 6761 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6762 $as_echo "$ac_try_echo") >&5 6763 (eval "$ac_link") 2>conftest.er1 5741 6764 ac_status=$? 5742 6765 grep -v '^ *+' conftest.er1 >conftest.err 5743 6766 rm -f conftest.er1 5744 6767 cat conftest.err >&5 5745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5746 (exit $ac_status); } && 5747 { ac_try='test -z "$ac_c_werror_flag" 5748 || test ! -s conftest.err' 5749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5750 (eval $ac_try) 2>&5 5751 ac_status=$? 5752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5753 (exit $ac_status); }; } && 5754 { ac_try='test -s conftest$ac_exeext' 5755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5756 (eval $ac_try) 2>&5 5757 ac_status=$? 5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5759 (exit $ac_status); }; }; then 6768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6769 (exit $ac_status); } && { 6770 test -z "$ac_c_werror_flag" || 6771 test ! -s conftest.err 6772 } && test -s conftest$ac_exeext && { 6773 test "$cross_compiling" = yes || 6774 $as_test_x conftest$ac_exeext 6775 }; then 5760 6776 ac_cv_func_alloca_works=yes 5761 6777 else 5762 echo "$as_me: failed program was:" >&56778 $as_echo "$as_me: failed program was:" >&5 5763 6779 sed 's/^/| /' conftest.$ac_ext >&5 5764 6780 5765 ac_cv_func_alloca_works=no 5766 fi 5767 rm -f conftest.err conftest.$ac_objext \ 6781 ac_cv_func_alloca_works=no 6782 fi 6783 6784 rm -rf conftest.dSYM 6785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5768 6786 conftest$ac_exeext conftest.$ac_ext 5769 6787 fi 5770 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&55771 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 6788 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 6789 $as_echo "$ac_cv_func_alloca_works" >&6; } 5772 6790 5773 6791 if test $ac_cv_func_alloca_works = yes; then … … 5783 6801 # use ar to extract alloca.o from them instead of compiling alloca.c. 5784 6802 5785 ALLOCA= alloca.$ac_objext6803 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 5786 6804 5787 6805 cat >>confdefs.h <<\_ACEOF … … 5790 6808 5791 6809 5792 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&55793 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 6810 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 6811 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 5794 6812 if test "${ac_cv_os_cray+set}" = set; then 5795 echo $ECHO_N "(cached) $ECHO_C" >&66813 $as_echo_n "(cached) " >&6 5796 6814 else 5797 6815 cat >conftest.$ac_ext <<_ACEOF … … 5801 6819 cat >>conftest.$ac_ext <<_ACEOF 5802 6820 /* end confdefs.h. */ 5803 #if defined (CRAY) && ! defined(CRAY2)6821 #if defined CRAY && ! defined CRAY2 5804 6822 webecray 5805 6823 #else … … 5817 6835 5818 6836 fi 5819 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&55820 echo "${ECHO_T}$ac_cv_os_cray" >&6 6837 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 6838 $as_echo "$ac_cv_os_cray" >&6; } 5821 6839 if test $ac_cv_os_cray = yes; then 5822 6840 for ac_func in _getb67 GETB67 getb67; do 5823 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`5824 echo "$as_me:$LINENO: checking for $ac_func" >&55825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5826 if eval "test \"\${$as_ac_var+set}\" = set"; then5827 echo $ECHO_N "(cached) $ECHO_C" >&66841 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6842 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 6843 $as_echo_n "checking for $ac_func... " >&6; } 6844 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 6845 $as_echo_n "(cached) " >&6 5828 6846 else 5829 6847 cat >conftest.$ac_ext <<_ACEOF … … 5850 6868 #undef $ac_func 5851 6869 5852 /* Override any gcc2 internal prototype to avoid an error. */ 6870 /* Override any GCC internal prototype to avoid an error. 6871 Use char because int might match the return type of a GCC 6872 builtin and then its argument prototype would still apply. */ 5853 6873 #ifdef __cplusplus 5854 6874 extern "C" 5855 {5856 6875 #endif 5857 /* We use char because int might match the return type of a gcc25858 builtin and then its argument prototype would still apply. */5859 6876 char $ac_func (); 5860 6877 /* The GNU C library defines this for functions which it implements 5861 6878 to always fail with ENOSYS. Some functions are actually named 5862 6879 something starting with __ and the normal name is an alias. */ 5863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)6880 #if defined __stub_$ac_func || defined __stub___$ac_func 5864 6881 choke me 5865 #else5866 char (*f) () = $ac_func;5867 #endif5868 #ifdef __cplusplus5869 }5870 6882 #endif 5871 6883 … … 5873 6885 main () 5874 6886 { 5875 return f != $ac_func;6887 return $ac_func (); 5876 6888 ; 5877 6889 return 0; … … 5879 6891 _ACEOF 5880 6892 rm -f conftest.$ac_objext conftest$ac_exeext 5881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5882 (eval $ac_link) 2>conftest.er1 6893 if { (ac_try="$ac_link" 6894 case "(($ac_try" in 6895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6896 *) ac_try_echo=$ac_try;; 6897 esac 6898 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6899 $as_echo "$ac_try_echo") >&5 6900 (eval "$ac_link") 2>conftest.er1 5883 6901 ac_status=$? 5884 6902 grep -v '^ *+' conftest.er1 >conftest.err 5885 6903 rm -f conftest.er1 5886 6904 cat conftest.err >&5 5887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5888 (exit $ac_status); } && 5889 { ac_try='test -z "$ac_c_werror_flag" 5890 || test ! -s conftest.err' 5891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5892 (eval $ac_try) 2>&5 5893 ac_status=$? 5894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5895 (exit $ac_status); }; } && 5896 { ac_try='test -s conftest$ac_exeext' 5897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5898 (eval $ac_try) 2>&5 5899 ac_status=$? 5900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5901 (exit $ac_status); }; }; then 6905 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6906 (exit $ac_status); } && { 6907 test -z "$ac_c_werror_flag" || 6908 test ! -s conftest.err 6909 } && test -s conftest$ac_exeext && { 6910 test "$cross_compiling" = yes || 6911 $as_test_x conftest$ac_exeext 6912 }; then 5902 6913 eval "$as_ac_var=yes" 5903 6914 else 5904 echo "$as_me: failed program was:" >&56915 $as_echo "$as_me: failed program was:" >&5 5905 6916 sed 's/^/| /' conftest.$ac_ext >&5 5906 6917 5907 eval "$as_ac_var=no" 5908 fi 5909 rm -f conftest.err conftest.$ac_objext \ 6918 eval "$as_ac_var=no" 6919 fi 6920 6921 rm -rf conftest.dSYM 6922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5910 6923 conftest$ac_exeext conftest.$ac_ext 5911 6924 fi 5912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 5913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5914 if test `eval echo '${'$as_ac_var'}'` = yes; then 6925 ac_res=`eval 'as_val=${'$as_ac_var'} 6926 $as_echo "$as_val"'` 6927 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6928 $as_echo "$ac_res" >&6; } 6929 as_val=`eval 'as_val=${'$as_ac_var'} 6930 $as_echo "$as_val"'` 6931 if test "x$as_val" = x""yes; then 5915 6932 5916 6933 cat >>confdefs.h <<_ACEOF … … 5924 6941 fi 5925 6942 5926 echo "$as_me:$LINENO: checking stack direction for C alloca" >&55927 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 6943 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 6944 $as_echo_n "checking stack direction for C alloca... " >&6; } 5928 6945 if test "${ac_cv_c_stack_direction+set}" = set; then 5929 echo $ECHO_N "(cached) $ECHO_C" >&66946 $as_echo_n "(cached) " >&6 5930 6947 else 5931 6948 if test "$cross_compiling" = yes; then … … 5938 6955 cat >>conftest.$ac_ext <<_ACEOF 5939 6956 /* end confdefs.h. */ 6957 $ac_includes_default 5940 6958 int 5941 6959 find_stack_direction () … … 5955 6973 main () 5956 6974 { 5957 exit (find_stack_direction () < 0);6975 return find_stack_direction () < 0; 5958 6976 } 5959 6977 _ACEOF 5960 6978 rm -f conftest$ac_exeext 5961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5962 (eval $ac_link) 2>&5 6979 if { (ac_try="$ac_link" 6980 case "(($ac_try" in 6981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6982 *) ac_try_echo=$ac_try;; 6983 esac 6984 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6985 $as_echo "$ac_try_echo") >&5 6986 (eval "$ac_link") 2>&5 5963 6987 ac_status=$? 5964 echo "$as_me:$LINENO: \$? = $ac_status" >&56988 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5965 6989 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5967 (eval $ac_try) 2>&5 6990 { (case "(($ac_try" in 6991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6992 *) ac_try_echo=$ac_try;; 6993 esac 6994 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6995 $as_echo "$ac_try_echo") >&5 6996 (eval "$ac_try") 2>&5 5968 6997 ac_status=$? 5969 echo "$as_me:$LINENO: \$? = $ac_status" >&56998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5970 6999 (exit $ac_status); }; }; then 5971 7000 ac_cv_c_stack_direction=1 5972 7001 else 5973 echo "$as_me: program exited with status $ac_status" >&55974 echo "$as_me: failed program was:" >&57002 $as_echo "$as_me: program exited with status $ac_status" >&5 7003 $as_echo "$as_me: failed program was:" >&5 5975 7004 sed 's/^/| /' conftest.$ac_ext >&5 5976 7005 … … 5978 7007 ac_cv_c_stack_direction=-1 5979 7008 fi 5980 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5981 fi 5982 fi 5983 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 5984 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 7009 rm -rf conftest.dSYM 7010 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7011 fi 7012 7013 7014 fi 7015 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 7016 $as_echo "$ac_cv_c_stack_direction" >&6; } 5985 7017 5986 7018 cat >>confdefs.h <<_ACEOF … … 5992 7024 5993 7025 if test $ac_cv_c_compiler_gnu = yes; then 5994 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&55995 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 7026 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 7027 $as_echo_n "checking whether $CC needs -traditional... " >&6; } 5996 7028 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 5997 echo $ECHO_N "(cached) $ECHO_C" >&67029 $as_echo_n "(cached) " >&6 5998 7030 else 5999 7031 ac_pattern="Autoconf.*'x'" … … 6034 7066 fi 6035 7067 fi 6036 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&56037 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 7068 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 7069 $as_echo "$ac_cv_prog_gcc_traditional" >&6; } 6038 7070 if test $ac_cv_prog_gcc_traditional = yes; then 6039 7071 CC="$CC -traditional" … … 6041 7073 fi 6042 7074 6043 echo "$as_me:$LINENO: checking return type of signal handlers" >&56044 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 7075 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 7076 $as_echo_n "checking return type of signal handlers... " >&6; } 6045 7077 if test "${ac_cv_type_signal+set}" = set; then 6046 echo $ECHO_N "(cached) $ECHO_C" >&67078 $as_echo_n "(cached) " >&6 6047 7079 else 6048 7080 cat >conftest.$ac_ext <<_ACEOF … … 6054 7086 #include <sys/types.h> 6055 7087 #include <signal.h> 6056 #ifdef signal6057 # undef signal6058 #endif6059 #ifdef __cplusplus6060 extern "C" void (*signal (int, void (*)(int)))(int);6061 #else6062 void (*signal ()) ();6063 #endif6064 7088 6065 7089 int 6066 7090 main () 6067 7091 { 6068 int i;7092 return *(signal (0, 0)) (0) == 1; 6069 7093 ; 6070 7094 return 0; … … 6072 7096 _ACEOF 6073 7097 rm -f conftest.$ac_objext 6074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6075 (eval $ac_compile) 2>conftest.er1 7098 if { (ac_try="$ac_compile" 7099 case "(($ac_try" in 7100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7101 *) ac_try_echo=$ac_try;; 7102 esac 7103 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7104 $as_echo "$ac_try_echo") >&5 7105 (eval "$ac_compile") 2>conftest.er1 6076 7106 ac_status=$? 6077 7107 grep -v '^ *+' conftest.er1 >conftest.err 6078 7108 rm -f conftest.er1 6079 7109 cat conftest.err >&5 6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6081 (exit $ac_status); } && 6082 { ac_try='test -z "$ac_c_werror_flag" 6083 || test ! -s conftest.err' 6084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6085 (eval $ac_try) 2>&5 6086 ac_status=$? 6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6088 (exit $ac_status); }; } && 6089 { ac_try='test -s conftest.$ac_objext' 6090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6091 (eval $ac_try) 2>&5 6092 ac_status=$? 6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6094 (exit $ac_status); }; }; then 6095 ac_cv_type_signal=void 6096 else 6097 echo "$as_me: failed program was:" >&5 7110 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7111 (exit $ac_status); } && { 7112 test -z "$ac_c_werror_flag" || 7113 test ! -s conftest.err 7114 } && test -s conftest.$ac_objext; then 7115 ac_cv_type_signal=int 7116 else 7117 $as_echo "$as_me: failed program was:" >&5 6098 7118 sed 's/^/| /' conftest.$ac_ext >&5 6099 7119 6100 ac_cv_type_signal=int 6101 fi 6102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6103 fi 6104 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 6105 echo "${ECHO_T}$ac_cv_type_signal" >&6 7120 ac_cv_type_signal=void 7121 fi 7122 7123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7124 fi 7125 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 7126 $as_echo "$ac_cv_type_signal" >&6; } 6106 7127 6107 7128 cat >>confdefs.h <<_ACEOF … … 6113 7134 for ac_func in vprintf 6114 7135 do 6115 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6116 echo "$as_me:$LINENO: checking for $ac_func" >&56117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6118 if eval "test \"\${$as_ac_var+set}\" = set"; then6119 echo $ECHO_N "(cached) $ECHO_C" >&67136 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7137 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7138 $as_echo_n "checking for $ac_func... " >&6; } 7139 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7140 $as_echo_n "(cached) " >&6 6120 7141 else 6121 7142 cat >conftest.$ac_ext <<_ACEOF … … 6142 7163 #undef $ac_func 6143 7164 6144 /* Override any gcc2 internal prototype to avoid an error. */ 7165 /* Override any GCC internal prototype to avoid an error. 7166 Use char because int might match the return type of a GCC 7167 builtin and then its argument prototype would still apply. */ 6145 7168 #ifdef __cplusplus 6146 7169 extern "C" 6147 {6148 7170 #endif 6149 /* We use char because int might match the return type of a gcc26150 builtin and then its argument prototype would still apply. */6151 7171 char $ac_func (); 6152 7172 /* The GNU C library defines this for functions which it implements 6153 7173 to always fail with ENOSYS. Some functions are actually named 6154 7174 something starting with __ and the normal name is an alias. */ 6155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7175 #if defined __stub_$ac_func || defined __stub___$ac_func 6156 7176 choke me 6157 #else6158 char (*f) () = $ac_func;6159 #endif6160 #ifdef __cplusplus6161 }6162 7177 #endif 6163 7178 … … 6165 7180 main () 6166 7181 { 6167 return f != $ac_func;7182 return $ac_func (); 6168 7183 ; 6169 7184 return 0; … … 6171 7186 _ACEOF 6172 7187 rm -f conftest.$ac_objext conftest$ac_exeext 6173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6174 (eval $ac_link) 2>conftest.er1 7188 if { (ac_try="$ac_link" 7189 case "(($ac_try" in 7190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7191 *) ac_try_echo=$ac_try;; 7192 esac 7193 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7194 $as_echo "$ac_try_echo") >&5 7195 (eval "$ac_link") 2>conftest.er1 6175 7196 ac_status=$? 6176 7197 grep -v '^ *+' conftest.er1 >conftest.err 6177 7198 rm -f conftest.er1 6178 7199 cat conftest.err >&5 6179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6180 (exit $ac_status); } && 6181 { ac_try='test -z "$ac_c_werror_flag" 6182 || test ! -s conftest.err' 6183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6184 (eval $ac_try) 2>&5 6185 ac_status=$? 6186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6187 (exit $ac_status); }; } && 6188 { ac_try='test -s conftest$ac_exeext' 6189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6190 (eval $ac_try) 2>&5 6191 ac_status=$? 6192 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6193 (exit $ac_status); }; }; then 7200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7201 (exit $ac_status); } && { 7202 test -z "$ac_c_werror_flag" || 7203 test ! -s conftest.err 7204 } && test -s conftest$ac_exeext && { 7205 test "$cross_compiling" = yes || 7206 $as_test_x conftest$ac_exeext 7207 }; then 6194 7208 eval "$as_ac_var=yes" 6195 7209 else 6196 echo "$as_me: failed program was:" >&57210 $as_echo "$as_me: failed program was:" >&5 6197 7211 sed 's/^/| /' conftest.$ac_ext >&5 6198 7212 6199 eval "$as_ac_var=no" 6200 fi 6201 rm -f conftest.err conftest.$ac_objext \ 7213 eval "$as_ac_var=no" 7214 fi 7215 7216 rm -rf conftest.dSYM 7217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6202 7218 conftest$ac_exeext conftest.$ac_ext 6203 7219 fi 6204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6206 if test `eval echo '${'$as_ac_var'}'` = yes; then 7220 ac_res=`eval 'as_val=${'$as_ac_var'} 7221 $as_echo "$as_val"'` 7222 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7223 $as_echo "$ac_res" >&6; } 7224 as_val=`eval 'as_val=${'$as_ac_var'} 7225 $as_echo "$as_val"'` 7226 if test "x$as_val" = x""yes; then 6207 7227 cat >>confdefs.h <<_ACEOF 6208 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 16209 _ACEOF 6210 6211 echo "$as_me:$LINENO: checking for _doprnt" >&56212 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 7228 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7229 _ACEOF 7230 7231 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5 7232 $as_echo_n "checking for _doprnt... " >&6; } 6213 7233 if test "${ac_cv_func__doprnt+set}" = set; then 6214 echo $ECHO_N "(cached) $ECHO_C" >&67234 $as_echo_n "(cached) " >&6 6215 7235 else 6216 7236 cat >conftest.$ac_ext <<_ACEOF … … 6237 7257 #undef _doprnt 6238 7258 6239 /* Override any gcc2 internal prototype to avoid an error. */ 7259 /* Override any GCC internal prototype to avoid an error. 7260 Use char because int might match the return type of a GCC 7261 builtin and then its argument prototype would still apply. */ 6240 7262 #ifdef __cplusplus 6241 7263 extern "C" 6242 {6243 7264 #endif 6244 /* We use char because int might match the return type of a gcc26245 builtin and then its argument prototype would still apply. */6246 7265 char _doprnt (); 6247 7266 /* The GNU C library defines this for functions which it implements 6248 7267 to always fail with ENOSYS. Some functions are actually named 6249 7268 something starting with __ and the normal name is an alias. */ 6250 #if defined (__stub__doprnt) || defined (__stub____doprnt)7269 #if defined __stub__doprnt || defined __stub____doprnt 6251 7270 choke me 6252 #else6253 char (*f) () = _doprnt;6254 #endif6255 #ifdef __cplusplus6256 }6257 7271 #endif 6258 7272 … … 6260 7274 main () 6261 7275 { 6262 return f != _doprnt;7276 return _doprnt (); 6263 7277 ; 6264 7278 return 0; … … 6266 7280 _ACEOF 6267 7281 rm -f conftest.$ac_objext conftest$ac_exeext 6268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6269 (eval $ac_link) 2>conftest.er1 7282 if { (ac_try="$ac_link" 7283 case "(($ac_try" in 7284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7285 *) ac_try_echo=$ac_try;; 7286 esac 7287 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7288 $as_echo "$ac_try_echo") >&5 7289 (eval "$ac_link") 2>conftest.er1 6270 7290 ac_status=$? 6271 7291 grep -v '^ *+' conftest.er1 >conftest.err 6272 7292 rm -f conftest.er1 6273 7293 cat conftest.err >&5 6274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6275 (exit $ac_status); } && 6276 { ac_try='test -z "$ac_c_werror_flag" 6277 || test ! -s conftest.err' 6278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6279 (eval $ac_try) 2>&5 6280 ac_status=$? 6281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6282 (exit $ac_status); }; } && 6283 { ac_try='test -s conftest$ac_exeext' 6284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6285 (eval $ac_try) 2>&5 6286 ac_status=$? 6287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6288 (exit $ac_status); }; }; then 7294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7295 (exit $ac_status); } && { 7296 test -z "$ac_c_werror_flag" || 7297 test ! -s conftest.err 7298 } && test -s conftest$ac_exeext && { 7299 test "$cross_compiling" = yes || 7300 $as_test_x conftest$ac_exeext 7301 }; then 6289 7302 ac_cv_func__doprnt=yes 6290 7303 else 6291 echo "$as_me: failed program was:" >&57304 $as_echo "$as_me: failed program was:" >&5 6292 7305 sed 's/^/| /' conftest.$ac_ext >&5 6293 7306 6294 ac_cv_func__doprnt=no 6295 fi 6296 rm -f conftest.err conftest.$ac_objext \ 7307 ac_cv_func__doprnt=no 7308 fi 7309 7310 rm -rf conftest.dSYM 7311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6297 7312 conftest$ac_exeext conftest.$ac_ext 6298 7313 fi 6299 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&56300 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 6301 if test $ac_cv_func__doprnt =yes; then7314 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 7315 $as_echo "$ac_cv_func__doprnt" >&6; } 7316 if test "x$ac_cv_func__doprnt" = x""yes; then 6302 7317 6303 7318 cat >>confdefs.h <<\_ACEOF … … 6323 7338 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror 6324 7339 do 6325 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6326 echo "$as_me:$LINENO: checking for $ac_func" >&56327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6328 if eval "test \"\${$as_ac_var+set}\" = set"; then6329 echo $ECHO_N "(cached) $ECHO_C" >&67340 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7341 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7342 $as_echo_n "checking for $ac_func... " >&6; } 7343 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7344 $as_echo_n "(cached) " >&6 6330 7345 else 6331 7346 cat >conftest.$ac_ext <<_ACEOF … … 6352 7367 #undef $ac_func 6353 7368 6354 /* Override any gcc2 internal prototype to avoid an error. */ 7369 /* Override any GCC internal prototype to avoid an error. 7370 Use char because int might match the return type of a GCC 7371 builtin and then its argument prototype would still apply. */ 6355 7372 #ifdef __cplusplus 6356 7373 extern "C" 6357 {6358 7374 #endif 6359 /* We use char because int might match the return type of a gcc26360 builtin and then its argument prototype would still apply. */6361 7375 char $ac_func (); 6362 7376 /* The GNU C library defines this for functions which it implements 6363 7377 to always fail with ENOSYS. Some functions are actually named 6364 7378 something starting with __ and the normal name is an alias. */ 6365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7379 #if defined __stub_$ac_func || defined __stub___$ac_func 6366 7380 choke me 6367 #else6368 char (*f) () = $ac_func;6369 #endif6370 #ifdef __cplusplus6371 }6372 7381 #endif 6373 7382 … … 6375 7384 main () 6376 7385 { 6377 return f != $ac_func;7386 return $ac_func (); 6378 7387 ; 6379 7388 return 0; … … 6381 7390 _ACEOF 6382 7391 rm -f conftest.$ac_objext conftest$ac_exeext 6383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6384 (eval $ac_link) 2>conftest.er1 7392 if { (ac_try="$ac_link" 7393 case "(($ac_try" in 7394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7395 *) ac_try_echo=$ac_try;; 7396 esac 7397 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7398 $as_echo "$ac_try_echo") >&5 7399 (eval "$ac_link") 2>conftest.er1 6385 7400 ac_status=$? 6386 7401 grep -v '^ *+' conftest.er1 >conftest.err 6387 7402 rm -f conftest.er1 6388 7403 cat conftest.err >&5 6389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6390 (exit $ac_status); } && 6391 { ac_try='test -z "$ac_c_werror_flag" 6392 || test ! -s conftest.err' 6393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6394 (eval $ac_try) 2>&5 6395 ac_status=$? 6396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6397 (exit $ac_status); }; } && 6398 { ac_try='test -s conftest$ac_exeext' 6399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6400 (eval $ac_try) 2>&5 6401 ac_status=$? 6402 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6403 (exit $ac_status); }; }; then 7404 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7405 (exit $ac_status); } && { 7406 test -z "$ac_c_werror_flag" || 7407 test ! -s conftest.err 7408 } && test -s conftest$ac_exeext && { 7409 test "$cross_compiling" = yes || 7410 $as_test_x conftest$ac_exeext 7411 }; then 6404 7412 eval "$as_ac_var=yes" 6405 7413 else 6406 echo "$as_me: failed program was:" >&57414 $as_echo "$as_me: failed program was:" >&5 6407 7415 sed 's/^/| /' conftest.$ac_ext >&5 6408 7416 6409 eval "$as_ac_var=no" 6410 fi 6411 rm -f conftest.err conftest.$ac_objext \ 7417 eval "$as_ac_var=no" 7418 fi 7419 7420 rm -rf conftest.dSYM 7421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6412 7422 conftest$ac_exeext conftest.$ac_ext 6413 7423 fi 6414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6416 if test `eval echo '${'$as_ac_var'}'` = yes; then 7424 ac_res=`eval 'as_val=${'$as_ac_var'} 7425 $as_echo "$as_val"'` 7426 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7427 $as_echo "$ac_res" >&6; } 7428 as_val=`eval 'as_val=${'$as_ac_var'} 7429 $as_echo "$as_val"'` 7430 if test "x$as_val" = x""yes; then 6417 7431 cat >>confdefs.h <<_ACEOF 6418 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 17432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6419 7433 _ACEOF 6420 7434 … … 6427 7441 for ac_func in ftruncate strstr strcasecmp 6428 7442 do 6429 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6430 echo "$as_me:$LINENO: checking for $ac_func" >&56431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6432 if eval "test \"\${$as_ac_var+set}\" = set"; then6433 echo $ECHO_N "(cached) $ECHO_C" >&67443 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7444 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7445 $as_echo_n "checking for $ac_func... " >&6; } 7446 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7447 $as_echo_n "(cached) " >&6 6434 7448 else 6435 7449 cat >conftest.$ac_ext <<_ACEOF … … 6456 7470 #undef $ac_func 6457 7471 6458 /* Override any gcc2 internal prototype to avoid an error. */ 7472 /* Override any GCC internal prototype to avoid an error. 7473 Use char because int might match the return type of a GCC 7474 builtin and then its argument prototype would still apply. */ 6459 7475 #ifdef __cplusplus 6460 7476 extern "C" 6461 {6462 7477 #endif 6463 /* We use char because int might match the return type of a gcc26464 builtin and then its argument prototype would still apply. */6465 7478 char $ac_func (); 6466 7479 /* The GNU C library defines this for functions which it implements 6467 7480 to always fail with ENOSYS. Some functions are actually named 6468 7481 something starting with __ and the normal name is an alias. */ 6469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7482 #if defined __stub_$ac_func || defined __stub___$ac_func 6470 7483 choke me 6471 #else6472 char (*f) () = $ac_func;6473 #endif6474 #ifdef __cplusplus6475 }6476 7484 #endif 6477 7485 … … 6479 7487 main () 6480 7488 { 6481 return f != $ac_func;7489 return $ac_func (); 6482 7490 ; 6483 7491 return 0; … … 6485 7493 _ACEOF 6486 7494 rm -f conftest.$ac_objext conftest$ac_exeext 6487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6488 (eval $ac_link) 2>conftest.er1 7495 if { (ac_try="$ac_link" 7496 case "(($ac_try" in 7497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7498 *) ac_try_echo=$ac_try;; 7499 esac 7500 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7501 $as_echo "$ac_try_echo") >&5 7502 (eval "$ac_link") 2>conftest.er1 6489 7503 ac_status=$? 6490 7504 grep -v '^ *+' conftest.er1 >conftest.err 6491 7505 rm -f conftest.er1 6492 7506 cat conftest.err >&5 6493 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6494 (exit $ac_status); } && 6495 { ac_try='test -z "$ac_c_werror_flag" 6496 || test ! -s conftest.err' 6497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6498 (eval $ac_try) 2>&5 6499 ac_status=$? 6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6501 (exit $ac_status); }; } && 6502 { ac_try='test -s conftest$ac_exeext' 6503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6504 (eval $ac_try) 2>&5 6505 ac_status=$? 6506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6507 (exit $ac_status); }; }; then 7507 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7508 (exit $ac_status); } && { 7509 test -z "$ac_c_werror_flag" || 7510 test ! -s conftest.err 7511 } && test -s conftest$ac_exeext && { 7512 test "$cross_compiling" = yes || 7513 $as_test_x conftest$ac_exeext 7514 }; then 6508 7515 eval "$as_ac_var=yes" 6509 7516 else 6510 echo "$as_me: failed program was:" >&57517 $as_echo "$as_me: failed program was:" >&5 6511 7518 sed 's/^/| /' conftest.$ac_ext >&5 6512 7519 6513 eval "$as_ac_var=no" 6514 fi 6515 rm -f conftest.err conftest.$ac_objext \ 7520 eval "$as_ac_var=no" 7521 fi 7522 7523 rm -rf conftest.dSYM 7524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6516 7525 conftest$ac_exeext conftest.$ac_ext 6517 7526 fi 6518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6520 if test `eval echo '${'$as_ac_var'}'` = yes; then 7527 ac_res=`eval 'as_val=${'$as_ac_var'} 7528 $as_echo "$as_val"'` 7529 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7530 $as_echo "$ac_res" >&6; } 7531 as_val=`eval 'as_val=${'$as_ac_var'} 7532 $as_echo "$as_val"'` 7533 if test "x$as_val" = x""yes; then 6521 7534 cat >>confdefs.h <<_ACEOF 6522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6523 _ACEOF 6524 6525 else 6526 case $LIBOBJS in 6527 "$ac_func.$ac_objext" | \ 6528 *" $ac_func.$ac_objext" | \ 6529 "$ac_func.$ac_objext "* | \ 7535 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7536 _ACEOF 7537 7538 else 7539 case " $LIBOBJS " in 6530 7540 *" $ac_func.$ac_objext "* ) ;; 6531 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; 7541 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 7542 ;; 6532 7543 esac 6533 7544 … … 6537 7548 6538 7549 6539 echo "$as_me:$LINENO: checking for textdomain" >&56540 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6 7550 { $as_echo "$as_me:$LINENO: checking for textdomain" >&5 7551 $as_echo_n "checking for textdomain... " >&6; } 6541 7552 if test "${ac_cv_func_textdomain+set}" = set; then 6542 echo $ECHO_N "(cached) $ECHO_C" >&67553 $as_echo_n "(cached) " >&6 6543 7554 else 6544 7555 cat >conftest.$ac_ext <<_ACEOF … … 6565 7576 #undef textdomain 6566 7577 6567 /* Override any gcc2 internal prototype to avoid an error. */ 7578 /* Override any GCC internal prototype to avoid an error. 7579 Use char because int might match the return type of a GCC 7580 builtin and then its argument prototype would still apply. */ 6568 7581 #ifdef __cplusplus 6569 7582 extern "C" 6570 {6571 7583 #endif 6572 /* We use char because int might match the return type of a gcc26573 builtin and then its argument prototype would still apply. */6574 7584 char textdomain (); 6575 7585 /* The GNU C library defines this for functions which it implements 6576 7586 to always fail with ENOSYS. Some functions are actually named 6577 7587 something starting with __ and the normal name is an alias. */ 6578 #if defined (__stub_textdomain) || defined (__stub___textdomain)7588 #if defined __stub_textdomain || defined __stub___textdomain 6579 7589 choke me 6580 #else6581 char (*f) () = textdomain;6582 #endif6583 #ifdef __cplusplus6584 }6585 7590 #endif 6586 7591 … … 6588 7593 main () 6589 7594 { 6590 return f != textdomain;7595 return textdomain (); 6591 7596 ; 6592 7597 return 0; … … 6594 7599 _ACEOF 6595 7600 rm -f conftest.$ac_objext conftest$ac_exeext 6596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6597 (eval $ac_link) 2>conftest.er1 7601 if { (ac_try="$ac_link" 7602 case "(($ac_try" in 7603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7604 *) ac_try_echo=$ac_try;; 7605 esac 7606 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7607 $as_echo "$ac_try_echo") >&5 7608 (eval "$ac_link") 2>conftest.er1 6598 7609 ac_status=$? 6599 7610 grep -v '^ *+' conftest.er1 >conftest.err 6600 7611 rm -f conftest.er1 6601 7612 cat conftest.err >&5 6602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6603 (exit $ac_status); } && 6604 { ac_try='test -z "$ac_c_werror_flag" 6605 || test ! -s conftest.err' 6606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6607 (eval $ac_try) 2>&5 6608 ac_status=$? 6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6610 (exit $ac_status); }; } && 6611 { ac_try='test -s conftest$ac_exeext' 6612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6613 (eval $ac_try) 2>&5 6614 ac_status=$? 6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6616 (exit $ac_status); }; }; then 7613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7614 (exit $ac_status); } && { 7615 test -z "$ac_c_werror_flag" || 7616 test ! -s conftest.err 7617 } && test -s conftest$ac_exeext && { 7618 test "$cross_compiling" = yes || 7619 $as_test_x conftest$ac_exeext 7620 }; then 6617 7621 ac_cv_func_textdomain=yes 6618 7622 else 6619 echo "$as_me: failed program was:" >&57623 $as_echo "$as_me: failed program was:" >&5 6620 7624 sed 's/^/| /' conftest.$ac_ext >&5 6621 7625 6622 ac_cv_func_textdomain=no 6623 fi 6624 rm -f conftest.err conftest.$ac_objext \ 7626 ac_cv_func_textdomain=no 7627 fi 7628 7629 rm -rf conftest.dSYM 7630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6625 7631 conftest$ac_exeext conftest.$ac_ext 6626 7632 fi 6627 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&56628 echo "${ECHO_T}$ac_cv_func_textdomain" >&6 6629 if test $ac_cv_func_textdomain =yes; then7633 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5 7634 $as_echo "$ac_cv_func_textdomain" >&6; } 7635 if test "x$ac_cv_func_textdomain" = x""yes; then 6630 7636 cat >>confdefs.h <<\_ACEOF 6631 7637 #define ENABLE_NLS 1 … … 6637 7643 # *** Custom checking (based on GNU tar configure.in) *** 6638 7644 # --------------------------------------------------------------------------- 6639 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&56640 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6 7645 { $as_echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5 7646 $as_echo_n "checking for HP-UX needing gmalloc... " >&6; } 6641 7647 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 6642 echo "$as_me:$LINENO: result: yes" >&5 6643 echo "${ECHO_T}yes" >&6 6644 case $LIBOBJS in 6645 "gmalloc.$ac_objext" | \ 6646 *" gmalloc.$ac_objext" | \ 6647 "gmalloc.$ac_objext "* | \ 7648 { $as_echo "$as_me:$LINENO: result: yes" >&5 7649 $as_echo "yes" >&6; } 7650 case " $LIBOBJS " in 6648 7651 *" gmalloc.$ac_objext "* ) ;; 6649 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;; 7652 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" 7653 ;; 6650 7654 esac 6651 7655 … … 6655 7659 6656 7660 else 6657 echo "$as_me:$LINENO: result: no" >&56658 echo "${ECHO_T}no" >&6 7661 { $as_echo "$as_me:$LINENO: result: no" >&5 7662 $as_echo "no" >&6; } 6659 7663 6660 7664 for ac_func in valloc 6661 7665 do 6662 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6663 echo "$as_me:$LINENO: checking for $ac_func" >&56664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6665 if eval "test \"\${$as_ac_var+set}\" = set"; then6666 echo $ECHO_N "(cached) $ECHO_C" >&67666 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7667 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7668 $as_echo_n "checking for $ac_func... " >&6; } 7669 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7670 $as_echo_n "(cached) " >&6 6667 7671 else 6668 7672 cat >conftest.$ac_ext <<_ACEOF … … 6689 7693 #undef $ac_func 6690 7694 6691 /* Override any gcc2 internal prototype to avoid an error. */ 7695 /* Override any GCC internal prototype to avoid an error. 7696 Use char because int might match the return type of a GCC 7697 builtin and then its argument prototype would still apply. */ 6692 7698 #ifdef __cplusplus 6693 7699 extern "C" 6694 {6695 7700 #endif 6696 /* We use char because int might match the return type of a gcc26697 builtin and then its argument prototype would still apply. */6698 7701 char $ac_func (); 6699 7702 /* The GNU C library defines this for functions which it implements 6700 7703 to always fail with ENOSYS. Some functions are actually named 6701 7704 something starting with __ and the normal name is an alias. */ 6702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7705 #if defined __stub_$ac_func || defined __stub___$ac_func 6703 7706 choke me 6704 #else6705 char (*f) () = $ac_func;6706 #endif6707 #ifdef __cplusplus6708 }6709 7707 #endif 6710 7708 … … 6712 7710 main () 6713 7711 { 6714 return f != $ac_func;7712 return $ac_func (); 6715 7713 ; 6716 7714 return 0; … … 6718 7716 _ACEOF 6719 7717 rm -f conftest.$ac_objext conftest$ac_exeext 6720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6721 (eval $ac_link) 2>conftest.er1 7718 if { (ac_try="$ac_link" 7719 case "(($ac_try" in 7720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7721 *) ac_try_echo=$ac_try;; 7722 esac 7723 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7724 $as_echo "$ac_try_echo") >&5 7725 (eval "$ac_link") 2>conftest.er1 6722 7726 ac_status=$? 6723 7727 grep -v '^ *+' conftest.er1 >conftest.err 6724 7728 rm -f conftest.er1 6725 7729 cat conftest.err >&5 6726 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6727 (exit $ac_status); } && 6728 { ac_try='test -z "$ac_c_werror_flag" 6729 || test ! -s conftest.err' 6730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6731 (eval $ac_try) 2>&5 6732 ac_status=$? 6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6734 (exit $ac_status); }; } && 6735 { ac_try='test -s conftest$ac_exeext' 6736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6737 (eval $ac_try) 2>&5 6738 ac_status=$? 6739 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6740 (exit $ac_status); }; }; then 7730 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7731 (exit $ac_status); } && { 7732 test -z "$ac_c_werror_flag" || 7733 test ! -s conftest.err 7734 } && test -s conftest$ac_exeext && { 7735 test "$cross_compiling" = yes || 7736 $as_test_x conftest$ac_exeext 7737 }; then 6741 7738 eval "$as_ac_var=yes" 6742 7739 else 6743 echo "$as_me: failed program was:" >&57740 $as_echo "$as_me: failed program was:" >&5 6744 7741 sed 's/^/| /' conftest.$ac_ext >&5 6745 7742 6746 eval "$as_ac_var=no" 6747 fi 6748 rm -f conftest.err conftest.$ac_objext \ 7743 eval "$as_ac_var=no" 7744 fi 7745 7746 rm -rf conftest.dSYM 7747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6749 7748 conftest$ac_exeext conftest.$ac_ext 6750 7749 fi 6751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6753 if test `eval echo '${'$as_ac_var'}'` = yes; then 7750 ac_res=`eval 'as_val=${'$as_ac_var'} 7751 $as_echo "$as_val"'` 7752 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7753 $as_echo "$ac_res" >&6; } 7754 as_val=`eval 'as_val=${'$as_ac_var'} 7755 $as_echo "$as_val"'` 7756 if test "x$as_val" = x""yes; then 6754 7757 cat >>confdefs.h <<_ACEOF 6755 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 17758 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6756 7759 _ACEOF 6757 7760 … … 6762 7765 6763 7766 # we cannot generate static libraries under Darwin 6764 echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&56765 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6 7767 { $as_echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5 7768 $as_echo_n "checking for Apple MacOS X/Darwin... " >&6; } 6766 7769 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 6767 echo "$as_me:$LINENO: result: yes" >&56768 echo "${ECHO_T}yes" >&6 7770 { $as_echo "$as_me:$LINENO: result: yes" >&5 7771 $as_echo "yes" >&6; } 6769 7772 STATIC="" 6770 7773 else 6771 echo "$as_me:$LINENO: result: no" >&56772 echo "${ECHO_T}no" >&6 7774 { $as_echo "$as_me:$LINENO: result: no" >&5 7775 $as_echo "no" >&6; } 6773 7776 STATIC="-static " 6774 7777 fi 6775 7778 6776 7779 6777 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&56778 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6 6779 6780 # Check whether --with-dmalloc or --without-dmallocwas given.7780 { $as_echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 7781 $as_echo_n "checking if malloc debugging is wanted... " >&6; } 7782 7783 # Check whether --with-dmalloc was given. 6781 7784 if test "${with_dmalloc+set}" = set; then 6782 withval="$with_dmalloc" 6783 if test "$withval" = yes; then 6784 echo "$as_me:$LINENO: result: yes" >&5 6785 echo "${ECHO_T}yes" >&6 7785 withval=$with_dmalloc; if test "$withval" = yes; then 7786 { $as_echo "$as_me:$LINENO: result: yes" >&5 7787 $as_echo "yes" >&6; } 6786 7788 cat >>confdefs.h <<\_ACEOF 6787 7789 #define WITH_DMALLOC 1 … … 6791 7793 LDFLAGS="$LDFLAGS -g" 6792 7794 else 6793 echo "$as_me:$LINENO: result: no" >&5 6794 echo "${ECHO_T}no" >&6 6795 fi 6796 else 6797 echo "$as_me:$LINENO: result: no" >&5 6798 echo "${ECHO_T}no" >&6 6799 fi; 6800 6801 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 6802 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6 6803 6804 # Check whether --with-regex or --without-regex was given. 7795 { $as_echo "$as_me:$LINENO: result: no" >&5 7796 $as_echo "no" >&6; } 7797 fi 7798 else 7799 { $as_echo "$as_me:$LINENO: result: no" >&5 7800 $as_echo "no" >&6; } 7801 fi 7802 7803 7804 { $as_echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 7805 $as_echo_n "checking which of rx or regex is wanted... " >&6; } 7806 7807 # Check whether --with-regex was given. 6805 7808 if test "${with_regex+set}" = set; then 6806 withval="$with_regex" 6807 if test "$withval" = yes; then 7809 withval=$with_regex; if test "$withval" = yes; then 6808 7810 ac_with_regex=1 6809 echo "$as_me:$LINENO: result: regex" >&56810 echo "${ECHO_T}regex" >&6 7811 { $as_echo "$as_me:$LINENO: result: regex" >&5 7812 $as_echo "regex" >&6; } 6811 7813 cat >>confdefs.h <<\_ACEOF 6812 7814 #define WITH_REGEX 1 6813 7815 _ACEOF 6814 7816 6815 case $LIBOBJS in 6816 "regex.$ac_objext" | \ 6817 *" regex.$ac_objext" | \ 6818 "regex.$ac_objext "* | \ 7817 case " $LIBOBJS " in 6819 7818 *" regex.$ac_objext "* ) ;; 6820 *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;; 6821 esac 6822 6823 fi 6824 fi; 7819 *) LIBOBJS="$LIBOBJS regex.$ac_objext" 7820 ;; 7821 esac 7822 7823 fi 7824 fi 7825 6825 7826 if test -z "$ac_with_regex"; then 6826 echo "$as_me:$LINENO: result: rx" >&56827 echo "${ECHO_T}rx" >&6 6828 echo "$as_me:$LINENO: checking for re_rx_search" >&56829 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6 7827 { $as_echo "$as_me:$LINENO: result: rx" >&5 7828 $as_echo "rx" >&6; } 7829 { $as_echo "$as_me:$LINENO: checking for re_rx_search" >&5 7830 $as_echo_n "checking for re_rx_search... " >&6; } 6830 7831 if test "${ac_cv_func_re_rx_search+set}" = set; then 6831 echo $ECHO_N "(cached) $ECHO_C" >&67832 $as_echo_n "(cached) " >&6 6832 7833 else 6833 7834 cat >conftest.$ac_ext <<_ACEOF … … 6854 7855 #undef re_rx_search 6855 7856 6856 /* Override any gcc2 internal prototype to avoid an error. */ 7857 /* Override any GCC internal prototype to avoid an error. 7858 Use char because int might match the return type of a GCC 7859 builtin and then its argument prototype would still apply. */ 6857 7860 #ifdef __cplusplus 6858 7861 extern "C" 6859 {6860 7862 #endif 6861 /* We use char because int might match the return type of a gcc26862 builtin and then its argument prototype would still apply. */6863 7863 char re_rx_search (); 6864 7864 /* The GNU C library defines this for functions which it implements 6865 7865 to always fail with ENOSYS. Some functions are actually named 6866 7866 something starting with __ and the normal name is an alias. */ 6867 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)7867 #if defined __stub_re_rx_search || defined __stub___re_rx_search 6868 7868 choke me 6869 #else6870 char (*f) () = re_rx_search;6871 #endif6872 #ifdef __cplusplus6873 }6874 7869 #endif 6875 7870 … … 6877 7872 main () 6878 7873 { 6879 return f != re_rx_search;7874 return re_rx_search (); 6880 7875 ; 6881 7876 return 0; … … 6883 7878 _ACEOF 6884 7879 rm -f conftest.$ac_objext conftest$ac_exeext 6885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6886 (eval $ac_link) 2>conftest.er1 7880 if { (ac_try="$ac_link" 7881 case "(($ac_try" in 7882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7883 *) ac_try_echo=$ac_try;; 7884 esac 7885 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7886 $as_echo "$ac_try_echo") >&5 7887 (eval "$ac_link") 2>conftest.er1 6887 7888 ac_status=$? 6888 7889 grep -v '^ *+' conftest.er1 >conftest.err 6889 7890 rm -f conftest.er1 6890 7891 cat conftest.err >&5 6891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6892 (exit $ac_status); } && 6893 { ac_try='test -z "$ac_c_werror_flag" 6894 || test ! -s conftest.err' 6895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6896 (eval $ac_try) 2>&5 6897 ac_status=$? 6898 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6899 (exit $ac_status); }; } && 6900 { ac_try='test -s conftest$ac_exeext' 6901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6902 (eval $ac_try) 2>&5 6903 ac_status=$? 6904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6905 (exit $ac_status); }; }; then 7892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7893 (exit $ac_status); } && { 7894 test -z "$ac_c_werror_flag" || 7895 test ! -s conftest.err 7896 } && test -s conftest$ac_exeext && { 7897 test "$cross_compiling" = yes || 7898 $as_test_x conftest$ac_exeext 7899 }; then 6906 7900 ac_cv_func_re_rx_search=yes 6907 7901 else 6908 echo "$as_me: failed program was:" >&57902 $as_echo "$as_me: failed program was:" >&5 6909 7903 sed 's/^/| /' conftest.$ac_ext >&5 6910 7904 6911 ac_cv_func_re_rx_search=no 6912 fi 6913 rm -f conftest.err conftest.$ac_objext \ 7905 ac_cv_func_re_rx_search=no 7906 fi 7907 7908 rm -rf conftest.dSYM 7909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6914 7910 conftest$ac_exeext conftest.$ac_ext 6915 7911 fi 6916 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&56917 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6 6918 if test $ac_cv_func_re_rx_search =yes; then7912 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 7913 $as_echo "$ac_cv_func_re_rx_search" >&6; } 7914 if test "x$ac_cv_func_re_rx_search" = x""yes; then 6919 7915 : 6920 7916 else 6921 case $LIBOBJS in 6922 "rx.$ac_objext" | \ 6923 *" rx.$ac_objext" | \ 6924 "rx.$ac_objext "* | \ 7917 case " $LIBOBJS " in 6925 7918 *" rx.$ac_objext "* ) ;; 6926 *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;; 7919 *) LIBOBJS="$LIBOBJS rx.$ac_objext" 7920 ;; 6927 7921 esac 6928 7922 … … 6934 7928 # --------------------------------------------------------------------------- 6935 7929 if test "$ac_cv_func_alloca" = 'no'; then 6936 case $LIBOBJS in 6937 "xmalloc.$ac_objext" | \ 6938 *" xmalloc.$ac_objext" | \ 6939 "xmalloc.$ac_objext "* | \ 7930 case " $LIBOBJS " in 6940 7931 *" xmalloc.$ac_objext "* ) ;; 6941 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;; 6942 esac 6943 6944 case $LIBOBJS in 6945 "error.$ac_objext" | \ 6946 *" error.$ac_objext" | \ 6947 "error.$ac_objext "* | \ 7932 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" 7933 ;; 7934 esac 7935 7936 case " $LIBOBJS " in 6948 7937 *" error.$ac_objext "* ) ;; 6949 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 7938 *) LIBOBJS="$LIBOBJS error.$ac_objext" 7939 ;; 6950 7940 esac 6951 7941 … … 6955 7945 # --------------------------------------------------------------------------- 6956 7946 6957 ac_ext=c c7947 ac_ext=cpp 6958 7948 ac_cpp='$CXXCPP $CPPFLAGS' 6959 7949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 6962 7952 6963 7953 6964 echo "$as_me:$LINENO: checking that Perl 5 is available" >&56965 echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6 7954 { $as_echo "$as_me:$LINENO: checking that Perl 5 is available" >&5 7955 $as_echo_n "checking that Perl 5 is available... " >&6; } 6966 7956 success="no" 6967 7957 pl_path="$PATH" … … 6980 7970 try=`expr $try \> 5.000` 6981 7971 if test $try = "1"; then 6982 echo "$as_me:$LINENO: result: \"yes\"" >&56983 echo "${ECHO_T}\"yes\"" >&6 7972 { $as_echo "$as_me:$LINENO: result: \"yes\"" >&5 7973 $as_echo "\"yes\"" >&6; } 6984 7974 else 6985 7975 success="no" … … 6988 7978 6989 7979 if test $success = "no"; then 6990 echo "$as_me:$LINENO: result: \"no\"" >&56991 echo "${ECHO_T}\"no\"" >&6 6992 { { echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&56993 echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;}7980 { $as_echo "$as_me:$LINENO: result: \"no\"" >&5 7981 $as_echo "\"no\"" >&6; } 7982 { { $as_echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&5 7983 $as_echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;} 6994 7984 { (exit 1); exit 1; }; } 6995 7985 fi 6996 7986 6997 7987 success=no 6998 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&56999 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6 7988 { $as_echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5 7989 $as_echo_n "checking \"whether STL library has known faults\"... " >&6; } 7000 7990 7001 7991 … … 7017 8007 _ACEOF 7018 8008 rm -f conftest.$ac_objext 7019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7020 (eval $ac_compile) 2>conftest.er1 8009 if { (ac_try="$ac_compile" 8010 case "(($ac_try" in 8011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8012 *) ac_try_echo=$ac_try;; 8013 esac 8014 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8015 $as_echo "$ac_try_echo") >&5 8016 (eval "$ac_compile") 2>conftest.er1 7021 8017 ac_status=$? 7022 8018 grep -v '^ *+' conftest.er1 >conftest.err 7023 8019 rm -f conftest.er1 7024 8020 cat conftest.err >&5 7025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7026 (exit $ac_status); } && 7027 { ac_try='test -z "$ac_cxx_werror_flag" 7028 || test ! -s conftest.err' 7029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7030 (eval $ac_try) 2>&5 7031 ac_status=$? 7032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7033 (exit $ac_status); }; } && 7034 { ac_try='test -s conftest.$ac_objext' 7035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7036 (eval $ac_try) 2>&5 7037 ac_status=$? 7038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7039 (exit $ac_status); }; }; then 8021 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8022 (exit $ac_status); } && { 8023 test -z "$ac_cxx_werror_flag" || 8024 test ! -s conftest.err 8025 } && test -s conftest.$ac_objext; then 7040 8026 success=yes 7041 8027 else 7042 echo "$as_me: failed program was:" >&58028 $as_echo "$as_me: failed program was:" >&5 7043 8029 sed 's/^/| /' conftest.$ac_ext >&5 7044 8030 7045 fi 7046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8031 8032 fi 8033 8034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7047 8035 7048 8036 if test $success = "no"; then … … 7064 8052 _ACEOF 7065 8053 rm -f conftest.$ac_objext 7066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7067 (eval $ac_compile) 2>conftest.er1 8054 if { (ac_try="$ac_compile" 8055 case "(($ac_try" in 8056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8057 *) ac_try_echo=$ac_try;; 8058 esac 8059 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8060 $as_echo "$ac_try_echo") >&5 8061 (eval "$ac_compile") 2>conftest.er1 7068 8062 ac_status=$? 7069 8063 grep -v '^ *+' conftest.er1 >conftest.err 7070 8064 rm -f conftest.er1 7071 8065 cat conftest.err >&5 7072 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7073 (exit $ac_status); } && 7074 { ac_try='test -z "$ac_cxx_werror_flag" 7075 || test ! -s conftest.err' 7076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7077 (eval $ac_try) 2>&5 7078 ac_status=$? 7079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7080 (exit $ac_status); }; } && 7081 { ac_try='test -s conftest.$ac_objext' 7082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7083 (eval $ac_try) 2>&5 7084 ac_status=$? 7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7086 (exit $ac_status); }; }; then 8066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8067 (exit $ac_status); } && { 8068 test -z "$ac_cxx_werror_flag" || 8069 test ! -s conftest.err 8070 } && test -s conftest.$ac_objext; then 7087 8071 success="yes" 7088 8072 else 7089 echo "$as_me: failed program was:" >&58073 $as_echo "$as_me: failed program was:" >&5 7090 8074 sed 's/^/| /' conftest.$ac_ext >&5 7091 8075 7092 fi 7093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8076 8077 fi 8078 8079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7094 8080 fi 7095 8081 … … 7112 8098 _ACEOF 7113 8099 rm -f conftest.$ac_objext 7114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7115 (eval $ac_compile) 2>conftest.er1 8100 if { (ac_try="$ac_compile" 8101 case "(($ac_try" in 8102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8103 *) ac_try_echo=$ac_try;; 8104 esac 8105 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8106 $as_echo "$ac_try_echo") >&5 8107 (eval "$ac_compile") 2>conftest.er1 7116 8108 ac_status=$? 7117 8109 grep -v '^ *+' conftest.er1 >conftest.err 7118 8110 rm -f conftest.er1 7119 8111 cat conftest.err >&5 7120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7121 (exit $ac_status); } && 7122 { ac_try='test -z "$ac_cxx_werror_flag" 7123 || test ! -s conftest.err' 7124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7125 (eval $ac_try) 2>&5 7126 ac_status=$? 7127 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7128 (exit $ac_status); }; } && 7129 { ac_try='test -s conftest.$ac_objext' 7130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7131 (eval $ac_try) 2>&5 7132 ac_status=$? 7133 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7134 (exit $ac_status); }; }; then 8112 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8113 (exit $ac_status); } && { 8114 test -z "$ac_cxx_werror_flag" || 8115 test ! -s conftest.err 8116 } && test -s conftest.$ac_objext; then 7135 8117 success="yes" 7136 8118 else 7137 echo "$as_me: failed program was:" >&58119 $as_echo "$as_me: failed program was:" >&5 7138 8120 sed 's/^/| /' conftest.$ac_ext >&5 7139 8121 7140 fi 7141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8122 8123 fi 8124 8125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7142 8126 fi 7143 8127 7144 8128 if test $success = yes; then 7145 echo "$as_me:$LINENO: result: \"no\"" >&57146 echo "${ECHO_T}\"no\"" >&6 7147 else 7148 echo "$as_me:$LINENO: result: \"yes\"" >&57149 echo "${ECHO_T}\"yes\"" >&6 7150 { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&57151 echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}8129 { $as_echo "$as_me:$LINENO: result: \"no\"" >&5 8130 $as_echo "\"no\"" >&6; } 8131 else 8132 { $as_echo "$as_me:$LINENO: result: \"yes\"" >&5 8133 $as_echo "\"yes\"" >&6; } 8134 { { $as_echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5 8135 $as_echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;} 7152 8136 { (exit 1); exit 1; }; } 7153 8137 fi … … 7162 8146 7163 8147 # check for endianness 7164 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7165 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 8148 8149 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 8150 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 7166 8151 if test "${ac_cv_c_bigendian+set}" = set; then 7167 echo $ECHO_N "(cached) $ECHO_C" >&6 7168 else 7169 # See if sys/param.h defines the BYTE_ORDER macro. 7170 cat >conftest.$ac_ext <<_ACEOF 8152 $as_echo_n "(cached) " >&6 8153 else 8154 ac_cv_c_bigendian=unknown 8155 # See if we're dealing with a universal compiler. 8156 cat >conftest.$ac_ext <<_ACEOF 8157 /* confdefs.h. */ 8158 _ACEOF 8159 cat confdefs.h >>conftest.$ac_ext 8160 cat >>conftest.$ac_ext <<_ACEOF 8161 /* end confdefs.h. */ 8162 #ifndef __APPLE_CC__ 8163 not a universal capable compiler 8164 #endif 8165 typedef int dummy; 8166 8167 _ACEOF 8168 rm -f conftest.$ac_objext 8169 if { (ac_try="$ac_compile" 8170 case "(($ac_try" in 8171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8172 *) ac_try_echo=$ac_try;; 8173 esac 8174 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8175 $as_echo "$ac_try_echo") >&5 8176 (eval "$ac_compile") 2>conftest.er1 8177 ac_status=$? 8178 grep -v '^ *+' conftest.er1 >conftest.err 8179 rm -f conftest.er1 8180 cat conftest.err >&5 8181 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8182 (exit $ac_status); } && { 8183 test -z "$ac_cxx_werror_flag" || 8184 test ! -s conftest.err 8185 } && test -s conftest.$ac_objext; then 8186 8187 # Check for potential -arch flags. It is not universal unless 8188 # there are some -arch flags. Note that *ppc* also matches 8189 # ppc64. This check is also rather less than ideal. 8190 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 8191 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 8192 esac 8193 else 8194 $as_echo "$as_me: failed program was:" >&5 8195 sed 's/^/| /' conftest.$ac_ext >&5 8196 8197 8198 fi 8199 8200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8201 if test $ac_cv_c_bigendian = unknown; then 8202 # See if sys/param.h defines the BYTE_ORDER macro. 8203 cat >conftest.$ac_ext <<_ACEOF 7171 8204 /* confdefs.h. */ 7172 8205 _ACEOF … … 7175 8208 /* end confdefs.h. */ 7176 8209 #include <sys/types.h> 7177 #include <sys/param.h>8210 #include <sys/param.h> 7178 8211 7179 8212 int 7180 8213 main () 7181 8214 { 7182 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 7183 bogus endian macros 7184 #endif 8215 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 8216 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 8217 && LITTLE_ENDIAN) 8218 bogus endian macros 8219 #endif 7185 8220 7186 8221 ; … … 7189 8224 _ACEOF 7190 8225 rm -f conftest.$ac_objext 7191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7192 (eval $ac_compile) 2>conftest.er1 8226 if { (ac_try="$ac_compile" 8227 case "(($ac_try" in 8228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8229 *) ac_try_echo=$ac_try;; 8230 esac 8231 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8232 $as_echo "$ac_try_echo") >&5 8233 (eval "$ac_compile") 2>conftest.er1 7193 8234 ac_status=$? 7194 8235 grep -v '^ *+' conftest.er1 >conftest.err 7195 8236 rm -f conftest.er1 7196 8237 cat conftest.err >&5 7197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7198 (exit $ac_status); } && 7199 { ac_try='test -z "$ac_cxx_werror_flag" 7200 || test ! -s conftest.err' 7201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7202 (eval $ac_try) 2>&5 7203 ac_status=$? 7204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7205 (exit $ac_status); }; } && 7206 { ac_try='test -s conftest.$ac_objext' 7207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7208 (eval $ac_try) 2>&5 7209 ac_status=$? 7210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7211 (exit $ac_status); }; }; then 8238 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8239 (exit $ac_status); } && { 8240 test -z "$ac_cxx_werror_flag" || 8241 test ! -s conftest.err 8242 } && test -s conftest.$ac_objext; then 7212 8243 # It does; now see whether it defined to BIG_ENDIAN or not. 7213 cat >conftest.$ac_ext <<_ACEOF8244 cat >conftest.$ac_ext <<_ACEOF 7214 8245 /* confdefs.h. */ 7215 8246 _ACEOF … … 7218 8249 /* end confdefs.h. */ 7219 8250 #include <sys/types.h> 7220 #include <sys/param.h>8251 #include <sys/param.h> 7221 8252 7222 8253 int … … 7224 8255 { 7225 8256 #if BYTE_ORDER != BIG_ENDIAN 7226 not big endian7227 #endif8257 not big endian 8258 #endif 7228 8259 7229 8260 ; … … 7232 8263 _ACEOF 7233 8264 rm -f conftest.$ac_objext 7234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7235 (eval $ac_compile) 2>conftest.er1 8265 if { (ac_try="$ac_compile" 8266 case "(($ac_try" in 8267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8268 *) ac_try_echo=$ac_try;; 8269 esac 8270 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8271 $as_echo "$ac_try_echo") >&5 8272 (eval "$ac_compile") 2>conftest.er1 7236 8273 ac_status=$? 7237 8274 grep -v '^ *+' conftest.er1 >conftest.err 7238 8275 rm -f conftest.er1 7239 8276 cat conftest.err >&5 7240 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7241 (exit $ac_status); } && 7242 { ac_try='test -z "$ac_cxx_werror_flag" 7243 || test ! -s conftest.err' 7244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7245 (eval $ac_try) 2>&5 7246 ac_status=$? 7247 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7248 (exit $ac_status); }; } && 7249 { ac_try='test -s conftest.$ac_objext' 7250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7251 (eval $ac_try) 2>&5 7252 ac_status=$? 7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7254 (exit $ac_status); }; }; then 8277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8278 (exit $ac_status); } && { 8279 test -z "$ac_cxx_werror_flag" || 8280 test ! -s conftest.err 8281 } && test -s conftest.$ac_objext; then 7255 8282 ac_cv_c_bigendian=yes 7256 8283 else 7257 echo "$as_me: failed program was:" >&58284 $as_echo "$as_me: failed program was:" >&5 7258 8285 sed 's/^/| /' conftest.$ac_ext >&5 7259 8286 7260 ac_cv_c_bigendian=no 7261 fi 7262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7263 else 7264 echo "$as_me: failed program was:" >&5 8287 ac_cv_c_bigendian=no 8288 fi 8289 8290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8291 else 8292 $as_echo "$as_me: failed program was:" >&5 7265 8293 sed 's/^/| /' conftest.$ac_ext >&5 7266 8294 7267 # It does not; compile a test program. 7268 if test "$cross_compiling" = yes; then 7269 # try to guess the endianness by grepping values into an object file 7270 ac_cv_c_bigendian=unknown 7271 cat >conftest.$ac_ext <<_ACEOF 8295 8296 fi 8297 8298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8299 fi 8300 if test $ac_cv_c_bigendian = unknown; then 8301 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 8302 cat >conftest.$ac_ext <<_ACEOF 7272 8303 /* confdefs.h. */ 7273 8304 _ACEOF … … 7275 8306 cat >>conftest.$ac_ext <<_ACEOF 7276 8307 /* end confdefs.h. */ 7277 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 7278 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 7279 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 7280 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 7281 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 7282 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 8308 #include <limits.h> 8309 7283 8310 int 7284 8311 main () 7285 8312 { 7286 _ascii (); _ebcdic (); 8313 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 8314 bogus endian macros 8315 #endif 8316 7287 8317 ; 7288 8318 return 0; … … 7290 8320 _ACEOF 7291 8321 rm -f conftest.$ac_objext 7292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7293 (eval $ac_compile) 2>conftest.er1 8322 if { (ac_try="$ac_compile" 8323 case "(($ac_try" in 8324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8325 *) ac_try_echo=$ac_try;; 8326 esac 8327 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8328 $as_echo "$ac_try_echo") >&5 8329 (eval "$ac_compile") 2>conftest.er1 7294 8330 ac_status=$? 7295 8331 grep -v '^ *+' conftest.er1 >conftest.err 7296 8332 rm -f conftest.er1 7297 8333 cat conftest.err >&5 7298 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7299 (exit $ac_status); } && 7300 { ac_try='test -z "$ac_cxx_werror_flag" 7301 || test ! -s conftest.err' 7302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7303 (eval $ac_try) 2>&5 7304 ac_status=$? 7305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7306 (exit $ac_status); }; } && 7307 { ac_try='test -s conftest.$ac_objext' 7308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7309 (eval $ac_try) 2>&5 7310 ac_status=$? 7311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7312 (exit $ac_status); }; }; then 7313 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 7314 ac_cv_c_bigendian=yes 7315 fi 7316 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 7317 if test "$ac_cv_c_bigendian" = unknown; then 7318 ac_cv_c_bigendian=no 7319 else 7320 # finding both strings is unlikely to happen, but who knows? 7321 ac_cv_c_bigendian=unknown 7322 fi 7323 fi 7324 else 7325 echo "$as_me: failed program was:" >&5 7326 sed 's/^/| /' conftest.$ac_ext >&5 7327 7328 fi 7329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7330 else 7331 cat >conftest.$ac_ext <<_ACEOF 8334 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8335 (exit $ac_status); } && { 8336 test -z "$ac_cxx_werror_flag" || 8337 test ! -s conftest.err 8338 } && test -s conftest.$ac_objext; then 8339 # It does; now see whether it defined to _BIG_ENDIAN or not. 8340 cat >conftest.$ac_ext <<_ACEOF 7332 8341 /* confdefs.h. */ 7333 8342 _ACEOF … … 7335 8344 cat >>conftest.$ac_ext <<_ACEOF 7336 8345 /* end confdefs.h. */ 8346 #include <limits.h> 8347 7337 8348 int 7338 8349 main () 7339 8350 { 7340 /* Are we little or big endian? From Harbison&Steele. */ 7341 union 7342 { 7343 long l; 7344 char c[sizeof (long)]; 7345 } u; 7346 u.l = 1; 7347 exit (u.c[sizeof (long) - 1] == 1); 8351 #ifndef _BIG_ENDIAN 8352 not big endian 8353 #endif 8354 8355 ; 8356 return 0; 7348 8357 } 7349 8358 _ACEOF 8359 rm -f conftest.$ac_objext 8360 if { (ac_try="$ac_compile" 8361 case "(($ac_try" in 8362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8363 *) ac_try_echo=$ac_try;; 8364 esac 8365 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8366 $as_echo "$ac_try_echo") >&5 8367 (eval "$ac_compile") 2>conftest.er1 8368 ac_status=$? 8369 grep -v '^ *+' conftest.er1 >conftest.err 8370 rm -f conftest.er1 8371 cat conftest.err >&5 8372 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8373 (exit $ac_status); } && { 8374 test -z "$ac_cxx_werror_flag" || 8375 test ! -s conftest.err 8376 } && test -s conftest.$ac_objext; then 8377 ac_cv_c_bigendian=yes 8378 else 8379 $as_echo "$as_me: failed program was:" >&5 8380 sed 's/^/| /' conftest.$ac_ext >&5 8381 8382 ac_cv_c_bigendian=no 8383 fi 8384 8385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8386 else 8387 $as_echo "$as_me: failed program was:" >&5 8388 sed 's/^/| /' conftest.$ac_ext >&5 8389 8390 8391 fi 8392 8393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8394 fi 8395 if test $ac_cv_c_bigendian = unknown; then 8396 # Compile a test program. 8397 if test "$cross_compiling" = yes; then 8398 # Try to guess by grepping values from an object file. 8399 cat >conftest.$ac_ext <<_ACEOF 8400 /* confdefs.h. */ 8401 _ACEOF 8402 cat confdefs.h >>conftest.$ac_ext 8403 cat >>conftest.$ac_ext <<_ACEOF 8404 /* end confdefs.h. */ 8405 short int ascii_mm[] = 8406 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 8407 short int ascii_ii[] = 8408 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 8409 int use_ascii (int i) { 8410 return ascii_mm[i] + ascii_ii[i]; 8411 } 8412 short int ebcdic_ii[] = 8413 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 8414 short int ebcdic_mm[] = 8415 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 8416 int use_ebcdic (int i) { 8417 return ebcdic_mm[i] + ebcdic_ii[i]; 8418 } 8419 extern int foo; 8420 8421 int 8422 main () 8423 { 8424 return use_ascii (foo) == use_ebcdic (foo); 8425 ; 8426 return 0; 8427 } 8428 _ACEOF 8429 rm -f conftest.$ac_objext 8430 if { (ac_try="$ac_compile" 8431 case "(($ac_try" in 8432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8433 *) ac_try_echo=$ac_try;; 8434 esac 8435 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8436 $as_echo "$ac_try_echo") >&5 8437 (eval "$ac_compile") 2>conftest.er1 8438 ac_status=$? 8439 grep -v '^ *+' conftest.er1 >conftest.err 8440 rm -f conftest.er1 8441 cat conftest.err >&5 8442 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8443 (exit $ac_status); } && { 8444 test -z "$ac_cxx_werror_flag" || 8445 test ! -s conftest.err 8446 } && test -s conftest.$ac_objext; then 8447 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 8448 ac_cv_c_bigendian=yes 8449 fi 8450 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 8451 if test "$ac_cv_c_bigendian" = unknown; then 8452 ac_cv_c_bigendian=no 8453 else 8454 # finding both strings is unlikely to happen, but who knows? 8455 ac_cv_c_bigendian=unknown 8456 fi 8457 fi 8458 else 8459 $as_echo "$as_me: failed program was:" >&5 8460 sed 's/^/| /' conftest.$ac_ext >&5 8461 8462 8463 fi 8464 8465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8466 else 8467 cat >conftest.$ac_ext <<_ACEOF 8468 /* confdefs.h. */ 8469 _ACEOF 8470 cat confdefs.h >>conftest.$ac_ext 8471 cat >>conftest.$ac_ext <<_ACEOF 8472 /* end confdefs.h. */ 8473 $ac_includes_default 8474 int 8475 main () 8476 { 8477 8478 /* Are we little or big endian? From Harbison&Steele. */ 8479 union 8480 { 8481 long int l; 8482 char c[sizeof (long int)]; 8483 } u; 8484 u.l = 1; 8485 return u.c[sizeof (long int) - 1] == 1; 8486 8487 ; 8488 return 0; 8489 } 8490 _ACEOF 7350 8491 rm -f conftest$ac_exeext 7351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7352 (eval $ac_link) 2>&5 8492 if { (ac_try="$ac_link" 8493 case "(($ac_try" in 8494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8495 *) ac_try_echo=$ac_try;; 8496 esac 8497 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8498 $as_echo "$ac_try_echo") >&5 8499 (eval "$ac_link") 2>&5 7353 8500 ac_status=$? 7354 echo "$as_me:$LINENO: \$? = $ac_status" >&58501 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7355 8502 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7357 (eval $ac_try) 2>&5 8503 { (case "(($ac_try" in 8504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8505 *) ac_try_echo=$ac_try;; 8506 esac 8507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8508 $as_echo "$ac_try_echo") >&5 8509 (eval "$ac_try") 2>&5 7358 8510 ac_status=$? 7359 echo "$as_me:$LINENO: \$? = $ac_status" >&58511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7360 8512 (exit $ac_status); }; }; then 7361 8513 ac_cv_c_bigendian=no 7362 8514 else 7363 echo "$as_me: program exited with status $ac_status" >&57364 echo "$as_me: failed program was:" >&58515 $as_echo "$as_me: program exited with status $ac_status" >&5 8516 $as_echo "$as_me: failed program was:" >&5 7365 8517 sed 's/^/| /' conftest.$ac_ext >&5 7366 8518 … … 7368 8520 ac_cv_c_bigendian=yes 7369 8521 fi 7370 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7371 fi 7372 fi 7373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7374 fi 7375 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7376 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 7377 case $ac_cv_c_bigendian in 7378 yes) 8522 rm -rf conftest.dSYM 8523 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8524 fi 8525 8526 8527 fi 8528 fi 8529 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 8530 $as_echo "$ac_cv_c_bigendian" >&6; } 8531 case $ac_cv_c_bigendian in #( 8532 yes) 8533 cat >>confdefs.h <<\_ACEOF 8534 #define WORDS_BIGENDIAN 1 8535 _ACEOF 8536 ;; #( 8537 no) 8538 ;; #( 8539 universal) 7379 8540 7380 8541 cat >>confdefs.h <<\_ACEOF 7381 #define WORDS_BIGENDIAN 1 7382 _ACEOF 7383 ;; 7384 no) 7385 ;; 7386 *) 7387 { { echo "$as_me:$LINENO: error: unknown endianness 7388 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 7389 echo "$as_me: error: unknown endianness 7390 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 8542 #define AC_APPLE_UNIVERSAL_BUILD 1 8543 _ACEOF 8544 8545 ;; #( 8546 *) 8547 { { $as_echo "$as_me:$LINENO: error: unknown endianness 8548 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 8549 $as_echo "$as_me: error: unknown endianness 8550 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 7391 8551 { (exit 1); exit 1; }; } ;; 7392 esac8552 esac 7393 8553 7394 8554 # --------------------------------------------------------------------------- 7395 8555 if test "$ac_cv_func_alloca" = 'no'; then 7396 case $LIBOBJS in 7397 "xmalloc.o.$ac_objext" | \ 7398 *" xmalloc.o.$ac_objext" | \ 7399 "xmalloc.o.$ac_objext "* | \ 8556 case " $LIBOBJS " in 7400 8557 *" xmalloc.o.$ac_objext "* ) ;; 7401 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;; 7402 esac 7403 7404 case $LIBOBJS in 7405 "error.$ac_objext" | \ 7406 *" error.$ac_objext" | \ 7407 "error.$ac_objext "* | \ 8558 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" 8559 ;; 8560 esac 8561 8562 case " $LIBOBJS " in 7408 8563 *" error.$ac_objext "* ) ;; 7409 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 8564 *) LIBOBJS="$LIBOBJS error.$ac_objext" 8565 ;; 7410 8566 esac 7411 8567 … … 7440 8596 subdirs="$subdirs common-src" 7441 8597 7442 7443 7444 8598 subdirs="$subdirs build-src" 7445 8599 … … 7450 8604 7451 8605 if test -d runtime-src; then 7452 7453 7454 subdirs="$subdirs runtime-src" 8606 subdirs="$subdirs runtime-src" 7455 8607 7456 8608 srclist="$srclist \ … … 7458 8610 fi 7459 8611 7460 ac_config_files="$ac_config_files Makefile $srclist $moduleDirs" 8612 ac_config_files="$ac_config_files Makefile $srclist $moduleDirs" 8613 7461 8614 cat >confcache <<\_ACEOF 7462 8615 # This file is a shell script that caches the results of configure … … 7477 8630 # The following way of writing the cache mishandles newlines in values, 7478 8631 # but we know of no workaround that is simple, portable, and efficient. 7479 # So, don't put newlines in cache variables' values.8632 # So, we kill variables containing newlines. 7480 8633 # Ultrix sh set writes to stderr and can't be redirected directly, 7481 8634 # and sets the high bit in the cache file unless we assign to the vars. 7482 { 8635 ( 8636 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 8637 eval ac_val=\$$ac_var 8638 case $ac_val in #( 8639 *${as_nl}*) 8640 case $ac_var in #( 8641 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 8642 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 8643 esac 8644 case $ac_var in #( 8645 _ | IFS | as_nl) ;; #( 8646 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 8647 *) $as_unset $ac_var ;; 8648 esac ;; 8649 esac 8650 done 8651 7483 8652 (set) 2>&1 | 7484 case `(ac_space=' '; set | grep ac_space) 2>&1` in7485 * ac_space=\ *)8653 case $as_nl`(ac_space=' '; set) 2>&1` in #( 8654 *${as_nl}ac_space=\ *) 7486 8655 # `set' does not quote correctly, so add quotes (double-quote 7487 8656 # substitution turns \\\\ into \\, and sed turns \\ into \). … … 7489 8658 "s/'/'\\\\''/g; 7490 8659 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7491 ;; 8660 ;; #( 7492 8661 *) 7493 8662 # `set' quotes correctly as required by POSIX, so do not add quotes. 7494 sed -n \ 7495 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 8663 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7496 8664 ;; 7497 esac; 7498 } | 8665 esac | 8666 sort 8667 ) | 7499 8668 sed ' 8669 /^ac_cv_env_/b end 7500 8670 t clear 7501 : 8671 :clear 7502 8672 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7503 8673 t end 7504 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7505 : end' >>confcache 7506 if diff $cache_file confcache >/dev/null 2>&1; then :; else 7507 if test -w $cache_file; then 7508 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 8674 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8675 :end' >>confcache 8676 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8677 if test -w "$cache_file"; then 8678 test "x$cache_file" != "x/dev/null" && 8679 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 8680 $as_echo "$as_me: updating cache $cache_file" >&6;} 7509 8681 cat confcache >$cache_file 7510 8682 else 7511 echo "not updating unwritable cache $cache_file" 8683 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 8684 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7512 8685 fi 7513 8686 fi … … 7517 8690 # Let make expand exec_prefix. 7518 8691 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7519 7520 # VPATH may cause trouble with some makes, so we remove $(srcdir),7521 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and7522 # trailing colons and then remove the whole line if VPATH becomes empty7523 # (actually we leave an empty line to preserve line numbers).7524 if test "x$srcdir" = x.; then7525 ac_vpsub='/^[ ]*VPATH[ ]*=/{7526 s/:*\$(srcdir):*/:/;7527 s/:*\${srcdir}:*/:/;7528 s/:*@srcdir@:*/:/;7529 s/^\([^=]*=[ ]*\):*/\1/;7530 s/:*$//;7531 s/^[^=]*=[ ]*$//;7532 }'7533 fi7534 8692 7535 8693 DEFS=-DHAVE_CONFIG_H … … 7539 8697 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7540 8698 # 1. Remove the extension, and $U if already installed. 7541 ac_i=`echo "$ac_i" | 7542 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 7543 # 2. Add them. 7544 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 7545 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 8699 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 8700 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 8701 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 8702 # will be set to the directory where LIBOBJS objects are built. 8703 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 8704 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 7546 8705 done 7547 8706 LIBOBJS=$ac_libobjs … … 7551 8710 7552 8711 8712 7553 8713 : ${CONFIG_STATUS=./config.status} 8714 ac_write_fail=0 7554 8715 ac_clean_files_save=$ac_clean_files 7555 8716 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 7556 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&57557 echo "$as_me: creating $CONFIG_STATUS" >&6;}7558 cat >$CONFIG_STATUS <<_ACEOF 8717 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 8718 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 8719 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7559 8720 #! $SHELL 7560 8721 # Generated by $as_me. … … 7569 8730 _ACEOF 7570 8731 7571 cat >>$CONFIG_STATUS <<\_ACEOF 8732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7572 8733 ## --------------------- ## 7573 8734 ## M4sh Initialization. ## 7574 8735 ## --------------------- ## 7575 8736 7576 # Be Bourne compatible 8737 # Be more Bourne compatible 8738 DUALCASE=1; export DUALCASE # for MKS sh 7577 8739 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 7578 8740 emulate sh 7579 8741 NULLCMD=: 7580 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which8742 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 7581 8743 # is contrary to our usage. Disable this feature. 7582 8744 alias -g '${1+"$@"}'='"$@"' 7583 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 7584 set -o posix 7585 fi 7586 DUALCASE=1; export DUALCASE # for MKS sh 7587 7588 # Support unset when possible. 7589 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7590 as_unset=unset 7591 else 7592 as_unset=false 7593 fi 7594 7595 7596 # Work around bugs in pre-3.0 UWIN ksh. 7597 $as_unset ENV MAIL MAILPATH 7598 PS1='$ ' 7599 PS2='> ' 7600 PS4='+ ' 7601 7602 # NLS nuisances. 7603 for as_var in \ 7604 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 7605 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 7606 LC_TELEPHONE LC_TIME 7607 do 7608 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 7609 eval $as_var=C; export $as_var 7610 else 7611 $as_unset $as_var 7612 fi 7613 done 7614 7615 # Required to use basename. 7616 if expr a : '\(a\)' >/dev/null 2>&1; then 7617 as_expr=expr 7618 else 7619 as_expr=false 7620 fi 7621 7622 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 7623 as_basename=basename 7624 else 7625 as_basename=false 7626 fi 7627 7628 7629 # Name of the executable. 7630 as_me=`$as_basename "$0" || 7631 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7632 X"$0" : 'X\(//\)$' \| \ 7633 X"$0" : 'X\(/\)$' \| \ 7634 . : '\(.\)' 2>/dev/null || 7635 echo X/"$0" | 7636 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 7637 /^X\/\(\/\/\)$/{ s//\1/; q; } 7638 /^X\/\(\/\).*/{ s//\1/; q; } 7639 s/.*/./; q'` 7640 7641 7642 # PATH needs CR, and LINENO needs CR and PATH. 8745 setopt NO_GLOB_SUBST 8746 else 8747 case `(set -o) 2>/dev/null` in 8748 *posix*) set -o posix ;; 8749 esac 8750 8751 fi 8752 8753 8754 8755 8756 # PATH needs CR 7643 8757 # Avoid depending upon Character Ranges. 7644 8758 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 7648 8762 as_cr_alnum=$as_cr_Letters$as_cr_digits 7649 8763 8764 as_nl=' 8765 ' 8766 export as_nl 8767 # Printing a long string crashes Solaris 7 /usr/bin/printf. 8768 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 8769 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 8770 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 8771 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 8772 as_echo='printf %s\n' 8773 as_echo_n='printf %s' 8774 else 8775 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 8776 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 8777 as_echo_n='/usr/ucb/echo -n' 8778 else 8779 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 8780 as_echo_n_body='eval 8781 arg=$1; 8782 case $arg in 8783 *"$as_nl"*) 8784 expr "X$arg" : "X\\(.*\\)$as_nl"; 8785 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 8786 esac; 8787 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 8788 ' 8789 export as_echo_n_body 8790 as_echo_n='sh -c $as_echo_n_body as_echo' 8791 fi 8792 export as_echo_body 8793 as_echo='sh -c $as_echo_body as_echo' 8794 fi 8795 7650 8796 # The user is always right. 7651 8797 if test "${PATH_SEPARATOR+set}" != set; then 7652 echo "#! /bin/sh" >conf$$.sh 7653 echo "exit 0" >>conf$$.sh 7654 chmod +x conf$$.sh 7655 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 7656 PATH_SEPARATOR=';' 7657 else 7658 PATH_SEPARATOR=: 7659 fi 7660 rm -f conf$$.sh 7661 fi 7662 7663 7664 as_lineno_1=$LINENO 7665 as_lineno_2=$LINENO 7666 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 7667 test "x$as_lineno_1" != "x$as_lineno_2" && 7668 test "x$as_lineno_3" = "x$as_lineno_2" || { 7669 # Find who we are. Look in the path if we contain no path at all 7670 # relative or not. 7671 case $0 in 7672 *[\\/]* ) as_myself=$0 ;; 7673 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8798 PATH_SEPARATOR=: 8799 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 8800 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 8801 PATH_SEPARATOR=';' 8802 } 8803 fi 8804 8805 # Support unset when possible. 8806 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8807 as_unset=unset 8808 else 8809 as_unset=false 8810 fi 8811 8812 8813 # IFS 8814 # We need space, tab and new line, in precisely that order. Quoting is 8815 # there to prevent editors from complaining about space-tab. 8816 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 8817 # splitting by setting IFS to empty value.) 8818 IFS=" "" $as_nl" 8819 8820 # Find who we are. Look in the path if we contain no directory separator. 8821 case $0 in 8822 *[\\/]* ) as_myself=$0 ;; 8823 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7674 8824 for as_dir in $PATH 7675 8825 do … … 7678 8828 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 7679 8829 done 7680 7681 ;; 7682 esac 7683 # We did not find ourselves, most probably we were run as `sh COMMAND' 7684 # in which case we are not to be found in the path. 7685 if test "x$as_myself" = x; then 7686 as_myself=$0 7687 fi 7688 if test ! -f "$as_myself"; then 7689 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 7690 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 7691 { (exit 1); exit 1; }; } 7692 fi 7693 case $CONFIG_SHELL in 7694 '') 7695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7696 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 7697 do 7698 IFS=$as_save_IFS 7699 test -z "$as_dir" && as_dir=. 7700 for as_base in sh bash ksh sh5; do 7701 case $as_dir in 7702 /*) 7703 if ("$as_dir/$as_base" -c ' 8830 IFS=$as_save_IFS 8831 8832 ;; 8833 esac 8834 # We did not find ourselves, most probably we were run as `sh COMMAND' 8835 # in which case we are not to be found in the path. 8836 if test "x$as_myself" = x; then 8837 as_myself=$0 8838 fi 8839 if test ! -f "$as_myself"; then 8840 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 8841 { (exit 1); exit 1; } 8842 fi 8843 8844 # Work around bugs in pre-3.0 UWIN ksh. 8845 for as_var in ENV MAIL MAILPATH 8846 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 8847 done 8848 PS1='$ ' 8849 PS2='> ' 8850 PS4='+ ' 8851 8852 # NLS nuisances. 8853 LC_ALL=C 8854 export LC_ALL 8855 LANGUAGE=C 8856 export LANGUAGE 8857 8858 # Required to use basename. 8859 if expr a : '\(a\)' >/dev/null 2>&1 && 8860 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8861 as_expr=expr 8862 else 8863 as_expr=false 8864 fi 8865 8866 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 8867 as_basename=basename 8868 else 8869 as_basename=false 8870 fi 8871 8872 8873 # Name of the executable. 8874 as_me=`$as_basename -- "$0" || 8875 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8876 X"$0" : 'X\(//\)$' \| \ 8877 X"$0" : 'X\(/\)' \| . 2>/dev/null || 8878 $as_echo X/"$0" | 8879 sed '/^.*\/\([^/][^/]*\)\/*$/{ 8880 s//\1/ 8881 q 8882 } 8883 /^X\/\(\/\/\)$/{ 8884 s//\1/ 8885 q 8886 } 8887 /^X\/\(\/\).*/{ 8888 s//\1/ 8889 q 8890 } 8891 s/.*/./; q'` 8892 8893 # CDPATH. 8894 $as_unset CDPATH 8895 8896 8897 7704 8898 as_lineno_1=$LINENO 7705 8899 as_lineno_2=$LINENO 7706 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`7707 8900 test "x$as_lineno_1" != "x$as_lineno_2" && 7708 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 7709 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 7710 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 7711 CONFIG_SHELL=$as_dir/$as_base 7712 export CONFIG_SHELL 7713 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 7714 fi;; 7715 esac 7716 done 7717 done 7718 ;; 7719 esac 8901 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 7720 8902 7721 8903 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 7722 8904 # uniformly replaced by the line number. The first 'sed' inserts a 7723 # line-number line before each line; the second 'sed' does the real 7724 # work. The second script uses 'N' to pair each line-number line 7725 # with the numbered line, and appends trailing '-' during 7726 # substitution so that $LINENO is not a special case at line end. 8905 # line-number line after each line using $LINENO; the second 'sed' 8906 # does the real work. The second script uses 'N' to pair each 8907 # line-number line with the line containing $LINENO, and appends 8908 # trailing '-' during substitution so that $LINENO is not a special 8909 # case at line end. 7727 8910 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 7728 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 7729 sed '=' <$as_myself | 8911 # scripts with optimization help from Paolo Bonzini. Blame Lee 8912 # E. McMahon (1931-1989) for sed's syntax. :-) 8913 sed -n ' 8914 p 8915 /[$]LINENO/= 8916 ' <$as_myself | 7730 8917 sed ' 8918 s/[$]LINENO.*/&-/ 8919 t lineno 8920 b 8921 :lineno 7731 8922 N 7732 s,$,-, 7733 : loop 7734 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 8923 :loop 8924 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 7735 8925 t loop 7736 s,-$,, 7737 s,^['$as_cr_digits']*\n,, 8926 s/-\n.*// 7738 8927 ' >$as_me.lineno && 7739 chmod +x $as_me.lineno || 7740 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 7741 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 8928 chmod +x "$as_me.lineno" || 8929 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 7742 8930 { (exit 1); exit 1; }; } 7743 8931 7744 8932 # Don't try to exec as it changes $[0], causing all sort of problems 7745 8933 # (the dirname of $[0] is not the place where we might find the 7746 # original and so on. Autoconf is especially sensi ble to this).7747 . ./$as_me.lineno8934 # original and so on. Autoconf is especially sensitive to this). 8935 . "./$as_me.lineno" 7748 8936 # Exit status is that of the last command. 7749 8937 exit … … 7751 8939 7752 8940 7753 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 7754 *c*,-n*) ECHO_N= ECHO_C=' 7755 ' ECHO_T=' ' ;; 7756 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 7757 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 7758 esac 7759 7760 if expr a : '\(a\)' >/dev/null 2>&1; then 8941 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8942 as_dirname=dirname 8943 else 8944 as_dirname=false 8945 fi 8946 8947 ECHO_C= ECHO_N= ECHO_T= 8948 case `echo -n x` in 8949 -n*) 8950 case `echo 'x\c'` in 8951 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 8952 *) ECHO_C='\c';; 8953 esac;; 8954 *) 8955 ECHO_N='-n';; 8956 esac 8957 if expr a : '\(a\)' >/dev/null 2>&1 && 8958 test "X`expr 00001 : '.*\(...\)'`" = X001; then 7761 8959 as_expr=expr 7762 8960 else … … 7765 8963 7766 8964 rm -f conf$$ conf$$.exe conf$$.file 7767 echo >conf$$.file 7768 if ln -s conf$$.file conf$$ 2>/dev/null; then 7769 # We could just check for DJGPP; but this test a) works b) is more generic 7770 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 7771 if test -f conf$$.exe; then 7772 # Don't use ln at all; we don't have any links 8965 if test -d conf$$.dir; then 8966 rm -f conf$$.dir/conf$$.file 8967 else 8968 rm -f conf$$.dir 8969 mkdir conf$$.dir 2>/dev/null 8970 fi 8971 if (echo >conf$$.file) 2>/dev/null; then 8972 if ln -s conf$$.file conf$$ 2>/dev/null; then 8973 as_ln_s='ln -s' 8974 # ... but there are two gotchas: 8975 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8976 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8977 # In both cases, we have to default to `cp -p'. 8978 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 8979 as_ln_s='cp -p' 8980 elif ln conf$$.file conf$$ 2>/dev/null; then 8981 as_ln_s=ln 8982 else 7773 8983 as_ln_s='cp -p' 7774 else7775 as_ln_s='ln -s'7776 8984 fi 7777 elif ln conf$$.file conf$$ 2>/dev/null; then7778 as_ln_s=ln7779 8985 else 7780 8986 as_ln_s='cp -p' 7781 8987 fi 7782 rm -f conf$$ conf$$.exe conf$$.file 8988 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 8989 rmdir conf$$.dir 2>/dev/null 7783 8990 7784 8991 if mkdir -p . 2>/dev/null; then … … 7789 8996 fi 7790 8997 7791 as_executable_p="test -f" 8998 if test -x / >/dev/null 2>&1; then 8999 as_test_x='test -x' 9000 else 9001 if ls -dL / >/dev/null 2>&1; then 9002 as_ls_L_option=L 9003 else 9004 as_ls_L_option= 9005 fi 9006 as_test_x=' 9007 eval sh -c '\'' 9008 if test -d "$1"; then 9009 test -d "$1/."; 9010 else 9011 case $1 in 9012 -*)set "./$1";; 9013 esac; 9014 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 9015 ???[sx]*):;;*)false;;esac;fi 9016 '\'' sh 9017 ' 9018 fi 9019 as_executable_p=$as_test_x 7792 9020 7793 9021 # Sed expression to map a string onto a valid CPP name. … … 7798 9026 7799 9027 7800 # IFS7801 # We need space, tab and new line, in precisely that order.7802 as_nl='7803 '7804 IFS=" $as_nl"7805 7806 # CDPATH.7807 $as_unset CDPATH7808 7809 9028 exec 6>&1 7810 9029 7811 # Open the log real soon, to keep \$[0] and so on meaningful, and to9030 # Save the log message, to keep $[0] and so on meaningful, and to 7812 9031 # report actual input values of CONFIG_FILES etc. instead of their 7813 # values after options handling. Logging --version etc. is OK. 9032 # values after options handling. 9033 ac_log=" 9034 This file was extended by $as_me, which was 9035 generated by GNU Autoconf 2.63. Invocation command line was 9036 9037 CONFIG_FILES = $CONFIG_FILES 9038 CONFIG_HEADERS = $CONFIG_HEADERS 9039 CONFIG_LINKS = $CONFIG_LINKS 9040 CONFIG_COMMANDS = $CONFIG_COMMANDS 9041 $ $0 $@ 9042 9043 on `(hostname || uname -n) 2>/dev/null | sed 1q` 9044 " 9045 9046 _ACEOF 9047 9048 case $ac_config_files in *" 9049 "*) set x $ac_config_files; shift; ac_config_files=$*;; 9050 esac 9051 9052 case $ac_config_headers in *" 9053 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 9054 esac 9055 9056 9057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9058 # Files that config.status was made for. 9059 config_files="$ac_config_files" 9060 config_headers="$ac_config_headers" 9061 9062 _ACEOF 9063 9064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9065 ac_cs_usage="\ 9066 \`$as_me' instantiates files from templates according to the 9067 current configuration. 9068 9069 Usage: $0 [OPTION]... [FILE]... 9070 9071 -h, --help print this help, then exit 9072 -V, --version print version number and configuration settings, then exit 9073 -q, --quiet, --silent 9074 do not print progress messages 9075 -d, --debug don't remove temporary files 9076 --recheck update $as_me by reconfiguring in the same conditions 9077 --file=FILE[:TEMPLATE] 9078 instantiate the configuration file FILE 9079 --header=FILE[:TEMPLATE] 9080 instantiate the configuration header FILE 9081 9082 Configuration files: 9083 $config_files 9084 9085 Configuration headers: 9086 $config_headers 9087 9088 Report bugs to <[email protected]>." 9089 9090 _ACEOF 9091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9092 ac_cs_version="\\ 9093 config.status 9094 configured by $0, generated by GNU Autoconf 2.63, 9095 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 9096 9097 Copyright (C) 2008 Free Software Foundation, Inc. 9098 This config.status script is free software; the Free Software Foundation 9099 gives unlimited permission to copy, distribute and modify it." 9100 9101 ac_pwd='$ac_pwd' 9102 srcdir='$srcdir' 9103 INSTALL='$INSTALL' 9104 AWK='$AWK' 9105 test -n "\$AWK" || AWK=awk 9106 _ACEOF 9107 9108 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9109 # The default lists apply if the user does not specify any file. 9110 ac_need_defaults=: 9111 while test $# != 0 9112 do 9113 case $1 in 9114 --*=*) 9115 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9116 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9117 ac_shift=: 9118 ;; 9119 *) 9120 ac_option=$1 9121 ac_optarg=$2 9122 ac_shift=shift 9123 ;; 9124 esac 9125 9126 case $ac_option in 9127 # Handling of the options. 9128 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 9129 ac_cs_recheck=: ;; 9130 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9131 $as_echo "$ac_cs_version"; exit ;; 9132 --debug | --debu | --deb | --de | --d | -d ) 9133 debug=: ;; 9134 --file | --fil | --fi | --f ) 9135 $ac_shift 9136 case $ac_optarg in 9137 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9138 esac 9139 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 9140 ac_need_defaults=false;; 9141 --header | --heade | --head | --hea ) 9142 $ac_shift 9143 case $ac_optarg in 9144 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9145 esac 9146 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 9147 ac_need_defaults=false;; 9148 --he | --h) 9149 # Conflict between --help and --header 9150 { $as_echo "$as_me: error: ambiguous option: $1 9151 Try \`$0 --help' for more information." >&2 9152 { (exit 1); exit 1; }; };; 9153 --help | --hel | -h ) 9154 $as_echo "$ac_cs_usage"; exit ;; 9155 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9156 | -silent | --silent | --silen | --sile | --sil | --si | --s) 9157 ac_cs_silent=: ;; 9158 9159 # This is an error. 9160 -*) { $as_echo "$as_me: error: unrecognized option: $1 9161 Try \`$0 --help' for more information." >&2 9162 { (exit 1); exit 1; }; } ;; 9163 9164 *) ac_config_targets="$ac_config_targets $1" 9165 ac_need_defaults=false ;; 9166 9167 esac 9168 shift 9169 done 9170 9171 ac_configure_extra_args= 9172 9173 if $ac_cs_silent; then 9174 exec 6>/dev/null 9175 ac_configure_extra_args="$ac_configure_extra_args --silent" 9176 fi 9177 9178 _ACEOF 9179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9180 if \$ac_cs_recheck; then 9181 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9182 shift 9183 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 9184 CONFIG_SHELL='$SHELL' 9185 export CONFIG_SHELL 9186 exec "\$@" 9187 fi 9188 9189 _ACEOF 9190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7814 9191 exec 5>>config.log 7815 9192 { … … 7818 9195 ## Running $as_me. ## 7819 9196 _ASBOX 9197 $as_echo "$ac_log" 7820 9198 } >&5 7821 cat >&5 <<_CSEOF 7822 7823 This file was extended by $as_me, which was 7824 generated by GNU Autoconf 2.59. Invocation command line was 7825 7826 CONFIG_FILES = $CONFIG_FILES 7827 CONFIG_HEADERS = $CONFIG_HEADERS 7828 CONFIG_LINKS = $CONFIG_LINKS 7829 CONFIG_COMMANDS = $CONFIG_COMMANDS 7830 $ $0 $@ 7831 7832 _CSEOF 7833 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 7834 echo >&5 7835 _ACEOF 7836 7837 # Files that config.status was made for. 7838 if test -n "$ac_config_files"; then 7839 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 7840 fi 7841 7842 if test -n "$ac_config_headers"; then 7843 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 7844 fi 7845 7846 if test -n "$ac_config_links"; then 7847 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 7848 fi 7849 7850 if test -n "$ac_config_commands"; then 7851 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 7852 fi 7853 7854 cat >>$CONFIG_STATUS <<\_ACEOF 7855 7856 ac_cs_usage="\ 7857 \`$as_me' instantiates files from templates according to the 7858 current configuration. 7859 7860 Usage: $0 [OPTIONS] [FILE]... 7861 7862 -h, --help print this help, then exit 7863 -V, --version print version number, then exit 7864 -q, --quiet do not print progress messages 7865 -d, --debug don't remove temporary files 7866 --recheck update $as_me by reconfiguring in the same conditions 7867 --file=FILE[:TEMPLATE] 7868 instantiate the configuration file FILE 7869 --header=FILE[:TEMPLATE] 7870 instantiate the configuration header FILE 7871 7872 Configuration files: 7873 $config_files 7874 7875 Configuration headers: 7876 $config_headers 7877 7878 Report bugs to <[email protected]>." 7879 _ACEOF 7880 7881 cat >>$CONFIG_STATUS <<_ACEOF 7882 ac_cs_version="\\ 7883 config.status 7884 configured by $0, generated by GNU Autoconf 2.59, 7885 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 7886 7887 Copyright (C) 2003 Free Software Foundation, Inc. 7888 This config.status script is free software; the Free Software Foundation 7889 gives unlimited permission to copy, distribute and modify it." 7890 srcdir=$srcdir 7891 INSTALL="$INSTALL" 7892 _ACEOF 7893 7894 cat >>$CONFIG_STATUS <<\_ACEOF 7895 # If no file are specified by the user, then we need to provide default 7896 # value. By we need to know if files were specified by the user. 7897 ac_need_defaults=: 7898 while test $# != 0 7899 do 7900 case $1 in 7901 --*=*) 7902 ac_option=`expr "x$1" : 'x\([^=]*\)='` 7903 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 7904 ac_shift=: 7905 ;; 7906 -*) 7907 ac_option=$1 7908 ac_optarg=$2 7909 ac_shift=shift 7910 ;; 7911 *) # This is not an option, so the user has probably given explicit 7912 # arguments. 7913 ac_option=$1 7914 ac_need_defaults=false;; 7915 esac 7916 7917 case $ac_option in 7918 # Handling of the options. 7919 _ACEOF 7920 cat >>$CONFIG_STATUS <<\_ACEOF 7921 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7922 ac_cs_recheck=: ;; 7923 --version | --vers* | -V ) 7924 echo "$ac_cs_version"; exit 0 ;; 7925 --he | --h) 7926 # Conflict between --help and --header 7927 { { echo "$as_me:$LINENO: error: ambiguous option: $1 7928 Try \`$0 --help' for more information." >&5 7929 echo "$as_me: error: ambiguous option: $1 7930 Try \`$0 --help' for more information." >&2;} 7931 { (exit 1); exit 1; }; };; 7932 --help | --hel | -h ) 7933 echo "$ac_cs_usage"; exit 0 ;; 7934 --debug | --d* | -d ) 7935 debug=: ;; 7936 --file | --fil | --fi | --f ) 7937 $ac_shift 7938 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 7939 ac_need_defaults=false;; 7940 --header | --heade | --head | --hea ) 7941 $ac_shift 7942 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 7943 ac_need_defaults=false;; 7944 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7945 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7946 ac_cs_silent=: ;; 7947 7948 # This is an error. 7949 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 7950 Try \`$0 --help' for more information." >&5 7951 echo "$as_me: error: unrecognized option: $1 7952 Try \`$0 --help' for more information." >&2;} 7953 { (exit 1); exit 1; }; } ;; 7954 7955 *) ac_config_targets="$ac_config_targets $1" ;; 7956 7957 esac 7958 shift 7959 done 7960 7961 ac_configure_extra_args= 7962 7963 if $ac_cs_silent; then 7964 exec 6>/dev/null 7965 ac_configure_extra_args="$ac_configure_extra_args --silent" 7966 fi 7967 7968 _ACEOF 7969 cat >>$CONFIG_STATUS <<_ACEOF 7970 if \$ac_cs_recheck; then 7971 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 7972 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7973 fi 7974 7975 _ACEOF 7976 7977 7978 7979 7980 7981 cat >>$CONFIG_STATUS <<\_ACEOF 9199 9200 _ACEOF 9201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9202 _ACEOF 9203 9204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9205 9206 # Handling of arguments. 7982 9207 for ac_config_target in $ac_config_targets 7983 9208 do 7984 case "$ac_config_target"in7985 # Handling of arguments.7986 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;7987 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;7988 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;7989 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 7990 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&57991 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}9209 case $ac_config_target in 9210 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 9211 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 9212 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;; 9213 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 9214 9215 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 9216 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 7992 9217 { (exit 1); exit 1; }; };; 7993 9218 esac 7994 9219 done 9220 7995 9221 7996 9222 # If the user did not use the arguments to specify the items to instantiate, … … 8004 9230 8005 9231 # Have a temporary directory for convenience. Make it in the build tree 8006 # simply because there is no reason to putit here, and in addition,9232 # simply because there is no reason against having it here, and in addition, 8007 9233 # creating and moving files from /tmp can sometimes cause problems. 8008 # Create a temporary directory, and hook for its removal unless debugging. 9234 # Hook for its removal unless debugging. 9235 # Note that there is a small window in which the directory will not be cleaned: 9236 # after its creation but before its name has been assigned to `$tmp'. 8009 9237 $debug || 8010 9238 { 8011 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 9239 tmp= 9240 trap 'exit_status=$? 9241 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9242 ' 0 8012 9243 trap '{ (exit 1); exit 1; }' 1 2 13 15 8013 9244 } 8014 8015 9245 # Create a (secure) tmp directory for tmp files. 8016 9246 8017 9247 { 8018 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&9248 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8019 9249 test -n "$tmp" && test -d "$tmp" 8020 9250 } || 8021 9251 { 8022 tmp=./conf stat$$-$RANDOM8023 (umask 077 && mkdir $tmp)9252 tmp=./conf$$-$RANDOM 9253 (umask 077 && mkdir "$tmp") 8024 9254 } || 8025 9255 { 8026 echo "$me: cannot create a temporary directory in ." >&29256 $as_echo "$as_me: cannot create a temporary directory in ." >&2 8027 9257 { (exit 1); exit 1; } 8028 9258 } 8029 9259 8030 _ACEOF 8031 8032 cat >>$CONFIG_STATUS <<_ACEOF 8033 8034 # 8035 # CONFIG_FILES section. 8036 # 8037 8038 # No need to generate the scripts if there are no CONFIG_FILES. 8039 # This happens for instance when ./config.status config.h 8040 if test -n "\$CONFIG_FILES"; then 8041 # Protect against being on the right side of a sed subst in config.status. 8042 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 8043 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 8044 s,@SHELL@,$SHELL,;t t 8045 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 8046 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 8047 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 8048 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 8049 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 8050 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 8051 s,@exec_prefix@,$exec_prefix,;t t 8052 s,@prefix@,$prefix,;t t 8053 s,@program_transform_name@,$program_transform_name,;t t 8054 s,@bindir@,$bindir,;t t 8055 s,@sbindir@,$sbindir,;t t 8056 s,@libexecdir@,$libexecdir,;t t 8057 s,@datadir@,$datadir,;t t 8058 s,@sysconfdir@,$sysconfdir,;t t 8059 s,@sharedstatedir@,$sharedstatedir,;t t 8060 s,@localstatedir@,$localstatedir,;t t 8061 s,@libdir@,$libdir,;t t 8062 s,@includedir@,$includedir,;t t 8063 s,@oldincludedir@,$oldincludedir,;t t 8064 s,@infodir@,$infodir,;t t 8065 s,@mandir@,$mandir,;t t 8066 s,@build_alias@,$build_alias,;t t 8067 s,@host_alias@,$host_alias,;t t 8068 s,@target_alias@,$target_alias,;t t 8069 s,@DEFS@,$DEFS,;t t 8070 s,@ECHO_C@,$ECHO_C,;t t 8071 s,@ECHO_N@,$ECHO_N,;t t 8072 s,@ECHO_T@,$ECHO_T,;t t 8073 s,@LIBS@,$LIBS,;t t 8074 s,@PACKAGE@,$PACKAGE,;t t 8075 s,@VERSION@,$VERSION,;t t 8076 s,@USE_FASTCGI@,$USE_FASTCGI,;t t 8077 s,@USE_LANGACTION@,$USE_LANGACTION,;t t 8078 s,@USE_CORBA@,$USE_CORBA,;t t 8079 s,@MICO_DIR@,$MICO_DIR,;t t 8080 s,@ENABLE_JAVA@,$ENABLE_JAVA,;t t 8081 s,@USE_Z3950@,$USE_Z3950,;t t 8082 s,@USE_YAZ@,$USE_YAZ,;t t 8083 s,@USE_WVWARE@,$USE_WVWARE,;t t 8084 s,@USE_JDBM@,$USE_JDBM,;t t 8085 s,@USE_GDBM@,$USE_GDBM,;t t 8086 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 8087 s,@USE_SQLITE@,$USE_SQLITE,;t t 8088 s,@USE_RSS@,$USE_RSS,;t t 8089 s,@USE_APACHE_HTTPD@,$USE_APACHE_HTTPD,;t t 8090 s,@ENABLE_JNI@,$ENABLE_JNI,;t t 8091 s,@ENABLE_MG@,$ENABLE_MG,;t t 8092 s,@ENABLE_MGPP@,$ENABLE_MGPP,;t t 8093 s,@ENABLE_LUCENE@,$ENABLE_LUCENE,;t t 8094 s,@LDFLAGS@,$LDFLAGS,;t t 8095 s,@CFLAGS@,$CFLAGS,;t t 8096 s,@CC@,$CC,;t t 8097 s,@CPPFLAGS@,$CPPFLAGS,;t t 8098 s,@ac_ct_CC@,$ac_ct_CC,;t t 8099 s,@EXEEXT@,$EXEEXT,;t t 8100 s,@OBJEXT@,$OBJEXT,;t t 8101 s,@CXX@,$CXX,;t t 8102 s,@CXXFLAGS@,$CXXFLAGS,;t t 8103 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 8104 s,@AWK@,$AWK,;t t 8105 s,@YACC@,$YACC,;t t 8106 s,@build@,$build,;t t 8107 s,@build_cpu@,$build_cpu,;t t 8108 s,@build_vendor@,$build_vendor,;t t 8109 s,@build_os@,$build_os,;t t 8110 s,@host@,$host,;t t 8111 s,@host_cpu@,$host_cpu,;t t 8112 s,@host_vendor@,$host_vendor,;t t 8113 s,@host_os@,$host_os,;t t 8114 s,@target@,$target,;t t 8115 s,@target_cpu@,$target_cpu,;t t 8116 s,@target_vendor@,$target_vendor,;t t 8117 s,@target_os@,$target_os,;t t 8118 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 8119 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 8120 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 8121 s,@LN_S@,$LN_S,;t t 8122 s,@SET_MAKE@,$SET_MAKE,;t t 8123 s,@RANLIB@,$RANLIB,;t t 8124 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 8125 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 8126 s,@MICO_VER@,$MICO_VER,;t t 8127 s,@CPP@,$CPP,;t t 8128 s,@EGREP@,$EGREP,;t t 8129 s,@U@,$U,;t t 8130 s,@ANSI2KNR@,$ANSI2KNR,;t t 8131 s,@ALLOCA@,$ALLOCA,;t t 8132 s,@LIBOBJS@,$LIBOBJS,;t t 8133 s,@STATIC@,$STATIC,;t t 8134 s,@gsdlos@,$gsdlos,;t t 8135 s,@MODULEDIRS@,$MODULEDIRS,;t t 8136 s,@subdirs@,$subdirs,;t t 8137 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 8138 CEOF 8139 8140 _ACEOF 8141 8142 cat >>$CONFIG_STATUS <<\_ACEOF 8143 # Split the substitutions into bite-sized pieces for seds with 8144 # small command number limits, like on Digital OSF/1 and HP-UX. 8145 ac_max_sed_lines=48 8146 ac_sed_frag=1 # Number of current file. 8147 ac_beg=1 # First line for current file. 8148 ac_end=$ac_max_sed_lines # Line after last line for current file. 8149 ac_more_lines=: 8150 ac_sed_cmds= 8151 while $ac_more_lines; do 8152 if test $ac_beg -gt 1; then 8153 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8154 else 8155 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 9260 # Set up the scripts for CONFIG_FILES section. 9261 # No need to generate them if there are no CONFIG_FILES. 9262 # This happens for instance with `./config.status config.h'. 9263 if test -n "$CONFIG_FILES"; then 9264 9265 9266 ac_cr=' 9267 ' 9268 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 9269 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 9270 ac_cs_awk_cr='\\r' 9271 else 9272 ac_cs_awk_cr=$ac_cr 9273 fi 9274 9275 echo 'BEGIN {' >"$tmp/subs1.awk" && 9276 _ACEOF 9277 9278 9279 { 9280 echo "cat >conf$$subs.awk <<_ACEOF" && 9281 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 9282 echo "_ACEOF" 9283 } >conf$$subs.sh || 9284 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9285 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9286 { (exit 1); exit 1; }; } 9287 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 9288 ac_delim='%!_!# ' 9289 for ac_last_try in false false false false false :; do 9290 . ./conf$$subs.sh || 9291 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9292 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9293 { (exit 1); exit 1; }; } 9294 9295 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 9296 if test $ac_delim_n = $ac_delim_num; then 9297 break 9298 elif $ac_last_try; then 9299 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9300 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9301 { (exit 1); exit 1; }; } 9302 else 9303 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9304 fi 9305 done 9306 rm -f conf$$subs.sh 9307 9308 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9309 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 9310 _ACEOF 9311 sed -n ' 9312 h 9313 s/^/S["/; s/!.*/"]=/ 9314 p 9315 g 9316 s/^[^!]*!// 9317 :repl 9318 t repl 9319 s/'"$ac_delim"'$// 9320 t delim 9321 :nl 9322 h 9323 s/\(.\{148\}\).*/\1/ 9324 t more1 9325 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 9326 p 9327 n 9328 b repl 9329 :more1 9330 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9331 p 9332 g 9333 s/.\{148\}// 9334 t nl 9335 :delim 9336 h 9337 s/\(.\{148\}\).*/\1/ 9338 t more2 9339 s/["\\]/\\&/g; s/^/"/; s/$/"/ 9340 p 9341 b 9342 :more2 9343 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9344 p 9345 g 9346 s/.\{148\}// 9347 t delim 9348 ' <conf$$subs.awk | sed ' 9349 /^[^""]/{ 9350 N 9351 s/\n// 9352 } 9353 ' >>$CONFIG_STATUS || ac_write_fail=1 9354 rm -f conf$$subs.awk 9355 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9356 _ACAWK 9357 cat >>"\$tmp/subs1.awk" <<_ACAWK && 9358 for (key in S) S_is_set[key] = 1 9359 FS = "" 9360 9361 } 9362 { 9363 line = $ 0 9364 nfields = split(line, field, "@") 9365 substed = 0 9366 len = length(field[1]) 9367 for (i = 2; i < nfields; i++) { 9368 key = field[i] 9369 keylen = length(key) 9370 if (S_is_set[key]) { 9371 value = S[key] 9372 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 9373 len += length(value) + length(field[++i]) 9374 substed = 1 9375 } else 9376 len += 1 + keylen 9377 } 9378 9379 print line 9380 } 9381 9382 _ACAWK 9383 _ACEOF 9384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9385 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9386 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 9387 else 9388 cat 9389 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 9390 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 9391 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 9392 { (exit 1); exit 1; }; } 9393 _ACEOF 9394 9395 # VPATH may cause trouble with some makes, so we remove $(srcdir), 9396 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9397 # trailing colons and then remove the whole line if VPATH becomes empty 9398 # (actually we leave an empty line to preserve line numbers). 9399 if test "x$srcdir" = x.; then 9400 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 9401 s/:*\$(srcdir):*/:/ 9402 s/:*\${srcdir}:*/:/ 9403 s/:*@srcdir@:*/:/ 9404 s/^\([^=]*=[ ]*\):*/\1/ 9405 s/:*$// 9406 s/^[^=]*=[ ]*$// 9407 }' 9408 fi 9409 9410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9411 fi # test -n "$CONFIG_FILES" 9412 9413 # Set up the scripts for CONFIG_HEADERS section. 9414 # No need to generate them if there are no CONFIG_HEADERS. 9415 # This happens for instance with `./config.status Makefile'. 9416 if test -n "$CONFIG_HEADERS"; then 9417 cat >"$tmp/defines.awk" <<\_ACAWK || 9418 BEGIN { 9419 _ACEOF 9420 9421 # Transform confdefs.h into an awk script `defines.awk', embedded as 9422 # here-document in config.status, that substitutes the proper values into 9423 # config.h.in to produce config.h. 9424 9425 # Create a delimiter string that does not exist in confdefs.h, to ease 9426 # handling of long lines. 9427 ac_delim='%!_!# ' 9428 for ac_last_try in false false :; do 9429 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 9430 if test -z "$ac_t"; then 9431 break 9432 elif $ac_last_try; then 9433 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 9434 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 9435 { (exit 1); exit 1; }; } 9436 else 9437 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9438 fi 9439 done 9440 9441 # For the awk script, D is an array of macro values keyed by name, 9442 # likewise P contains macro parameters if any. Preserve backslash 9443 # newline sequences. 9444 9445 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 9446 sed -n ' 9447 s/.\{148\}/&'"$ac_delim"'/g 9448 t rset 9449 :rset 9450 s/^[ ]*#[ ]*define[ ][ ]*/ / 9451 t def 9452 d 9453 :def 9454 s/\\$// 9455 t bsnl 9456 s/["\\]/\\&/g 9457 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9458 D["\1"]=" \3"/p 9459 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 9460 d 9461 :bsnl 9462 s/["\\]/\\&/g 9463 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9464 D["\1"]=" \3\\\\\\n"\\/p 9465 t cont 9466 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 9467 t cont 9468 d 9469 :cont 9470 n 9471 s/.\{148\}/&'"$ac_delim"'/g 9472 t clear 9473 :clear 9474 s/\\$// 9475 t bsnlc 9476 s/["\\]/\\&/g; s/^/"/; s/$/"/p 9477 d 9478 :bsnlc 9479 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 9480 b cont 9481 ' <confdefs.h | sed ' 9482 s/'"$ac_delim"'/"\\\ 9483 "/g' >>$CONFIG_STATUS || ac_write_fail=1 9484 9485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9486 for (key in D) D_is_set[key] = 1 9487 FS = "" 9488 } 9489 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 9490 line = \$ 0 9491 split(line, arg, " ") 9492 if (arg[1] == "#") { 9493 defundef = arg[2] 9494 mac1 = arg[3] 9495 } else { 9496 defundef = substr(arg[1], 2) 9497 mac1 = arg[2] 9498 } 9499 split(mac1, mac2, "(") #) 9500 macro = mac2[1] 9501 prefix = substr(line, 1, index(line, defundef) - 1) 9502 if (D_is_set[macro]) { 9503 # Preserve the white space surrounding the "#". 9504 print prefix "define", macro P[macro] D[macro] 9505 next 9506 } else { 9507 # Replace #undef with comments. This is necessary, for example, 9508 # in the case of _POSIX_SOURCE, which is predefined and required 9509 # on some systems where configure will not decide to define it. 9510 if (defundef == "undef") { 9511 print "/*", prefix defundef, macro, "*/" 9512 next 9513 } 9514 } 9515 } 9516 { print } 9517 _ACAWK 9518 _ACEOF 9519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9520 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 9521 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 9522 { (exit 1); exit 1; }; } 9523 fi # test -n "$CONFIG_HEADERS" 9524 9525 9526 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 9527 shift 9528 for ac_tag 9529 do 9530 case $ac_tag in 9531 :[FHLC]) ac_mode=$ac_tag; continue;; 9532 esac 9533 case $ac_mode$ac_tag in 9534 :[FHL]*:*);; 9535 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 9536 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 9537 { (exit 1); exit 1; }; };; 9538 :[FH]-) ac_tag=-:-;; 9539 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9540 esac 9541 ac_save_IFS=$IFS 9542 IFS=: 9543 set x $ac_tag 9544 IFS=$ac_save_IFS 9545 shift 9546 ac_file=$1 9547 shift 9548 9549 case $ac_mode in 9550 :L) ac_source=$1;; 9551 :[FH]) 9552 ac_file_inputs= 9553 for ac_f 9554 do 9555 case $ac_f in 9556 -) ac_f="$tmp/stdin";; 9557 *) # Look for the file first in the build tree, then in the source tree 9558 # (if the path is not absolute). The absolute path cannot be DOS-style, 9559 # because $ac_f cannot contain `:'. 9560 test -f "$ac_f" || 9561 case $ac_f in 9562 [\\/$]*) false;; 9563 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9564 esac || 9565 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 9566 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 9567 { (exit 1); exit 1; }; };; 9568 esac 9569 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9570 ac_file_inputs="$ac_file_inputs '$ac_f'" 9571 done 9572 9573 # Let's still pretend it is `configure' which instantiates (i.e., don't 9574 # use $as_me), people would be surprised to read: 9575 # /* config.h. Generated by config.status. */ 9576 configure_input='Generated from '` 9577 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 9578 `' by configure.' 9579 if test x"$ac_file" != x-; then 9580 configure_input="$ac_file. $configure_input" 9581 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 9582 $as_echo "$as_me: creating $ac_file" >&6;} 8156 9583 fi 8157 if test ! -s $tmp/subs.frag; then 8158 ac_more_lines=false 8159 else 8160 # The purpose of the label and of the branching condition is to 8161 # speed up the sed processing (if there are no `@' at all, there 8162 # is no need to browse any of the substitutions). 8163 # These are the two extra sed commands mentioned above. 8164 (echo ':t 8165 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 8166 if test -z "$ac_sed_cmds"; then 8167 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 8168 else 8169 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 8170 fi 8171 ac_sed_frag=`expr $ac_sed_frag + 1` 8172 ac_beg=$ac_end 8173 ac_end=`expr $ac_end + $ac_max_sed_lines` 8174 fi 8175 done 8176 if test -z "$ac_sed_cmds"; then 8177 ac_sed_cmds=cat 8178 fi 8179 fi # test -n "$CONFIG_FILES" 8180 8181 _ACEOF 8182 cat >>$CONFIG_STATUS <<\_ACEOF 8183 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 8184 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8185 case $ac_file in 8186 - | *:- | *:-:* ) # input from stdin 8187 cat >$tmp/stdin 8188 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8189 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8190 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8191 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8192 * ) ac_file_in=$ac_file.in ;; 9584 # Neutralize special characters interpreted by sed in replacement strings. 9585 case $configure_input in #( 9586 *\&* | *\|* | *\\* ) 9587 ac_sed_conf_input=`$as_echo "$configure_input" | 9588 sed 's/[\\\\&|]/\\\\&/g'`;; #( 9589 *) ac_sed_conf_input=$configure_input;; 9590 esac 9591 9592 case $ac_tag in 9593 *:-:* | *:-) cat >"$tmp/stdin" \ 9594 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9595 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9596 { (exit 1); exit 1; }; } ;; 9597 esac 9598 ;; 8193 9599 esac 8194 9600 8195 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 8196 ac_dir=`(dirname "$ac_file") 2>/dev/null || 9601 ac_dir=`$as_dirname -- "$ac_file" || 8197 9602 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8198 9603 X"$ac_file" : 'X\(//\)[^/]' \| \ 8199 9604 X"$ac_file" : 'X\(//\)$' \| \ 8200 X"$ac_file" : 'X\(/\)' \| \ 8201 . : '\(.\)' 2>/dev/null || 8202 echo X"$ac_file" | 8203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8204 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8205 /^X\(\/\/\)$/{ s//\1/; q; } 8206 /^X\(\/\).*/{ s//\1/; q; } 8207 s/.*/./; q'` 8208 { if $as_mkdir_p; then 8209 mkdir -p "$ac_dir" 8210 else 8211 as_dir="$ac_dir" 9605 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 9606 $as_echo X"$ac_file" | 9607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9608 s//\1/ 9609 q 9610 } 9611 /^X\(\/\/\)[^/].*/{ 9612 s//\1/ 9613 q 9614 } 9615 /^X\(\/\/\)$/{ 9616 s//\1/ 9617 q 9618 } 9619 /^X\(\/\).*/{ 9620 s//\1/ 9621 q 9622 } 9623 s/.*/./; q'` 9624 { as_dir="$ac_dir" 9625 case $as_dir in #( 9626 -*) as_dir=./$as_dir;; 9627 esac 9628 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 8212 9629 as_dirs= 8213 while test ! -d "$as_dir"; do 8214 as_dirs="$as_dir $as_dirs" 8215 as_dir=`(dirname "$as_dir") 2>/dev/null || 9630 while :; do 9631 case $as_dir in #( 9632 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 9633 *) as_qdir=$as_dir;; 9634 esac 9635 as_dirs="'$as_qdir' $as_dirs" 9636 as_dir=`$as_dirname -- "$as_dir" || 8216 9637 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8217 9638 X"$as_dir" : 'X\(//\)[^/]' \| \ 8218 9639 X"$as_dir" : 'X\(//\)$' \| \ 8219 X"$as_dir" : 'X\(/\)' \| \ 8220 . : '\(.\)' 2>/dev/null || 8221 echo X"$as_dir" | 8222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8223 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8224 /^X\(\/\/\)$/{ s//\1/; q; } 8225 /^X\(\/\).*/{ s//\1/; q; } 8226 s/.*/./; q'` 9640 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 9641 $as_echo X"$as_dir" | 9642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9643 s//\1/ 9644 q 9645 } 9646 /^X\(\/\/\)[^/].*/{ 9647 s//\1/ 9648 q 9649 } 9650 /^X\(\/\/\)$/{ 9651 s//\1/ 9652 q 9653 } 9654 /^X\(\/\).*/{ 9655 s//\1/ 9656 q 9657 } 9658 s/.*/./; q'` 9659 test -d "$as_dir" && break 8227 9660 done 8228 test ! -n "$as_dirs" || mkdir $as_dirs8229 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&58230 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}9661 test -z "$as_dirs" || eval "mkdir $as_dirs" 9662 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 9663 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 8231 9664 { (exit 1); exit 1; }; }; } 8232 8233 9665 ac_builddir=. 8234 9666 8235 if test "$ac_dir" != .; then 8236 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8237 # A "../" for each directory in $ac_dir_suffix. 8238 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8239 else 8240 ac_dir_suffix= ac_top_builddir= 8241 fi 9667 case "$ac_dir" in 9668 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 9669 *) 9670 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 9671 # A ".." for each directory in $ac_dir_suffix. 9672 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 9673 case $ac_top_builddir_sub in 9674 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 9675 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 9676 esac ;; 9677 esac 9678 ac_abs_top_builddir=$ac_pwd 9679 ac_abs_builddir=$ac_pwd$ac_dir_suffix 9680 # for backward compatibility: 9681 ac_top_builddir=$ac_top_build_prefix 8242 9682 8243 9683 case $srcdir in 8244 .) # No --srcdir option.We are building in place.9684 .) # We are building in place. 8245 9685 ac_srcdir=. 8246 if test -z "$ac_top_builddir"; then 8247 ac_top_srcdir=. 8248 else 8249 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8250 fi ;; 8251 [\\/]* | ?:[\\/]* ) # Absolute path. 9686 ac_top_srcdir=$ac_top_builddir_sub 9687 ac_abs_top_srcdir=$ac_pwd ;; 9688 [\\/]* | ?:[\\/]* ) # Absolute name. 8252 9689 ac_srcdir=$srcdir$ac_dir_suffix; 8253 ac_top_srcdir=$srcdir ;; 8254 *) # Relative path. 8255 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8256 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8257 esac 8258 8259 # Do not use `cd foo && pwd` to compute absolute paths, because 8260 # the directories may not exist. 8261 case `pwd` in 8262 .) ac_abs_builddir="$ac_dir";; 8263 *) 8264 case "$ac_dir" in 8265 .) ac_abs_builddir=`pwd`;; 8266 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8267 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8268 esac;; 8269 esac 8270 case $ac_abs_builddir in 8271 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8272 *) 8273 case ${ac_top_builddir}. in 8274 .) ac_abs_top_builddir=$ac_abs_builddir;; 8275 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8276 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8277 esac;; 8278 esac 8279 case $ac_abs_builddir in 8280 .) ac_abs_srcdir=$ac_srcdir;; 8281 *) 8282 case $ac_srcdir in 8283 .) ac_abs_srcdir=$ac_abs_builddir;; 8284 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8285 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8286 esac;; 8287 esac 8288 case $ac_abs_builddir in 8289 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8290 *) 8291 case $ac_top_srcdir in 8292 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8293 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8294 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8295 esac;; 8296 esac 8297 9690 ac_top_srcdir=$srcdir 9691 ac_abs_top_srcdir=$srcdir ;; 9692 *) # Relative name. 9693 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 9694 ac_top_srcdir=$ac_top_build_prefix$srcdir 9695 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 9696 esac 9697 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 9698 9699 9700 case $ac_mode in 9701 :F) 9702 # 9703 # CONFIG_FILE 9704 # 8298 9705 8299 9706 case $INSTALL in 8300 9707 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 8301 *) ac_INSTALL=$ac_top_build dir$INSTALL ;;9708 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 8302 9709 esac 8303 8304 if test x"$ac_file" != x-; then 8305 { echo "$as_me:$LINENO: creating $ac_file" >&5 8306 echo "$as_me: creating $ac_file" >&6;} 8307 rm -f "$ac_file" 8308 fi 8309 # Let's still pretend it is `configure' which instantiates (i.e., don't 8310 # use $as_me), people would be surprised to read: 8311 # /* config.h. Generated by config.status. */ 8312 if test x"$ac_file" = x-; then 8313 configure_input= 8314 else 8315 configure_input="$ac_file. " 8316 fi 8317 configure_input=$configure_input"Generated from `echo $ac_file_in | 8318 sed 's,.*/,,'` by configure." 8319 8320 # First look for the input files in the build tree, otherwise in the 8321 # src tree. 8322 ac_file_inputs=`IFS=: 8323 for f in $ac_file_in; do 8324 case $f in 8325 -) echo $tmp/stdin ;; 8326 [\\/$]*) 8327 # Absolute (can't be DOS-style, as IFS=:) 8328 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8329 echo "$as_me: error: cannot find input file: $f" >&2;} 8330 { (exit 1); exit 1; }; } 8331 echo "$f";; 8332 *) # Relative 8333 if test -f "$f"; then 8334 # Build tree 8335 echo "$f" 8336 elif test -f "$srcdir/$f"; then 8337 # Source tree 8338 echo "$srcdir/$f" 8339 else 8340 # /dev/null tree 8341 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8342 echo "$as_me: error: cannot find input file: $f" >&2;} 8343 { (exit 1); exit 1; }; } 8344 fi;; 8345 esac 8346 done` || { (exit 1); exit 1; } 8347 _ACEOF 8348 cat >>$CONFIG_STATUS <<_ACEOF 8349 sed "$ac_vpsub 9710 _ACEOF 9711 9712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9713 # If the template does not know about datarootdir, expand it. 9714 # FIXME: This hack should be removed a few years after 2.60. 9715 ac_datarootdir_hack=; ac_datarootdir_seen= 9716 9717 ac_sed_dataroot=' 9718 /datarootdir/ { 9719 p 9720 q 9721 } 9722 /@datadir@/p 9723 /@docdir@/p 9724 /@infodir@/p 9725 /@localedir@/p 9726 /@mandir@/p 9727 ' 9728 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 9729 *datarootdir*) ac_datarootdir_seen=yes;; 9730 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 9731 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 9732 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 9733 _ACEOF 9734 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9735 ac_datarootdir_hack=' 9736 s&@datadir@&$datadir&g 9737 s&@docdir@&$docdir&g 9738 s&@infodir@&$infodir&g 9739 s&@localedir@&$localedir&g 9740 s&@mandir@&$mandir&g 9741 s&\\\${datarootdir}&$datarootdir&g' ;; 9742 esac 9743 _ACEOF 9744 9745 # Neutralize VPATH when `$srcdir' = `.'. 9746 # Shell code in configure.ac might set extrasub. 9747 # FIXME: do we really want to maintain this feature? 9748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9749 ac_sed_extra="$ac_vpsub 8350 9750 $extrasub 8351 9751 _ACEOF 8352 cat >>$CONFIG_STATUS <<\_ACEOF 9752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8353 9753 :t 8354 9754 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8355 s,@configure_input@,$configure_input,;t t 8356 s,@srcdir@,$ac_srcdir,;t t 8357 s,@abs_srcdir@,$ac_abs_srcdir,;t t 8358 s,@top_srcdir@,$ac_top_srcdir,;t t 8359 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 8360 s,@builddir@,$ac_builddir,;t t 8361 s,@abs_builddir@,$ac_abs_builddir,;t t 8362 s,@top_builddir@,$ac_top_builddir,;t t 8363 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 8364 s,@INSTALL@,$ac_INSTALL,;t t 8365 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 8366 rm -f $tmp/stdin 9755 s|@configure_input@|$ac_sed_conf_input|;t t 9756 s&@top_builddir@&$ac_top_builddir_sub&;t t 9757 s&@top_build_prefix@&$ac_top_build_prefix&;t t 9758 s&@srcdir@&$ac_srcdir&;t t 9759 s&@abs_srcdir@&$ac_abs_srcdir&;t t 9760 s&@top_srcdir@&$ac_top_srcdir&;t t 9761 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9762 s&@builddir@&$ac_builddir&;t t 9763 s&@abs_builddir@&$ac_abs_builddir&;t t 9764 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9765 s&@INSTALL@&$ac_INSTALL&;t t 9766 $ac_datarootdir_hack 9767 " 9768 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 9769 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9770 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9771 { (exit 1); exit 1; }; } 9772 9773 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9774 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 9775 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 9776 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9777 which seems to be undefined. Please make sure it is defined." >&5 9778 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9779 which seems to be undefined. Please make sure it is defined." >&2;} 9780 9781 rm -f "$tmp/stdin" 9782 case $ac_file in 9783 -) cat "$tmp/out" && rm -f "$tmp/out";; 9784 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 9785 esac \ 9786 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9787 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9788 { (exit 1); exit 1; }; } 9789 ;; 9790 :H) 9791 # 9792 # CONFIG_HEADER 9793 # 8367 9794 if test x"$ac_file" != x-; then 8368 mv $tmp/out $ac_file 8369 else 8370 cat $tmp/out 8371 rm -f $tmp/out 8372 fi 8373 8374 done 8375 _ACEOF 8376 cat >>$CONFIG_STATUS <<\_ACEOF 8377 8378 # 8379 # CONFIG_HEADER section. 8380 # 8381 8382 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 8383 # NAME is the cpp macro being defined and VALUE is the value it is being given. 8384 # 8385 # ac_d sets the value in "#define NAME VALUE" lines. 8386 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 8387 ac_dB='[ ].*$,\1#\2' 8388 ac_dC=' ' 8389 ac_dD=',;t' 8390 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 8391 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 8392 ac_uB='$,\1#\2define\3' 8393 ac_uC=' ' 8394 ac_uD=',;t' 8395 8396 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 8397 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8398 case $ac_file in 8399 - | *:- | *:-:* ) # input from stdin 8400 cat >$tmp/stdin 8401 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8402 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8403 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8404 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8405 * ) ac_file_in=$ac_file.in ;; 8406 esac 8407 8408 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 8409 echo "$as_me: creating $ac_file" >&6;} 8410 8411 # First look for the input files in the build tree, otherwise in the 8412 # src tree. 8413 ac_file_inputs=`IFS=: 8414 for f in $ac_file_in; do 8415 case $f in 8416 -) echo $tmp/stdin ;; 8417 [\\/$]*) 8418 # Absolute (can't be DOS-style, as IFS=:) 8419 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8420 echo "$as_me: error: cannot find input file: $f" >&2;} 9795 { 9796 $as_echo "/* $configure_input */" \ 9797 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 9798 } >"$tmp/config.h" \ 9799 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9800 $as_echo "$as_me: error: could not create $ac_file" >&2;} 8421 9801 { (exit 1); exit 1; }; } 8422 # Do quote $f, to prevent DOS paths from being IFS'd. 8423 echo "$f";; 8424 *) # Relative 8425 if test -f "$f"; then 8426 # Build tree 8427 echo "$f" 8428 elif test -f "$srcdir/$f"; then 8429 # Source tree 8430 echo "$srcdir/$f" 8431 else 8432 # /dev/null tree 8433 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8434 echo "$as_me: error: cannot find input file: $f" >&2;} 9802 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 9803 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 9804 $as_echo "$as_me: $ac_file is unchanged" >&6;} 9805 else 9806 rm -f "$ac_file" 9807 mv "$tmp/config.h" "$ac_file" \ 9808 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 9809 $as_echo "$as_me: error: could not create $ac_file" >&2;} 8435 9810 { (exit 1); exit 1; }; } 8436 fi;;8437 esac8438 done` || { (exit 1); exit 1; }8439 # Remove the trailing spaces.8440 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in8441 8442 _ACEOF8443 8444 # Transform confdefs.h into two sed scripts, `conftest.defines' and8445 # `conftest.undefs', that substitutes the proper values into8446 # config.h.in to produce config.h. The first handles `#define'8447 # templates, and the second `#undef' templates.8448 # And first: Protect against being on the right side of a sed subst in8449 # config.status. Protect against being in an unquoted here document8450 # in config.status.8451 rm -f conftest.defines conftest.undefs8452 # Using a here document instead of a string reduces the quoting nightmare.8453 # Putting comments in sed scripts is not portable.8454 #8455 # `end' is used to avoid that the second main sed command (meant for8456 # 0-ary CPP macros) applies to n-ary macro definitions.8457 # See the Autoconf documentation for `clear'.8458 cat >confdef2sed.sed <<\_ACEOF8459 s/[\\&,]/\\&/g8460 s,[\\$`],\\&,g8461 t clear8462 : clear8463 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp8464 t end8465 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp8466 : end8467 _ACEOF8468 # If some macros were called several times there might be several times8469 # the same #defines, which is useless. Nevertheless, we may not want to8470 # sort them, since we want the *last* AC-DEFINE to be honored.8471 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines8472 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs8473 rm -f confdef2sed.sed8474 8475 # This sed command replaces #undef with comments. This is necessary, for8476 # example, in the case of _POSIX_SOURCE, which is predefined and required8477 # on some systems where configure will not decide to define it.8478 cat >>conftest.undefs <<\_ACEOF8479 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,8480 _ACEOF8481 8482 # Break up conftest.defines because some shells have a limit on the size8483 # of here documents, and old seds have small limits too (100 cmds).8484 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS8485 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS8486 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS8487 echo ' :' >>$CONFIG_STATUS8488 rm -f conftest.tail8489 while grep . conftest.defines >/dev/null8490 do8491 # Write a limited-size here document to $tmp/defines.sed.8492 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS8493 # Speed up: don't consider the non `#define' lines.8494 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS8495 # Work around the forget-to-reset-the-flag bug.8496 echo 't clr' >>$CONFIG_STATUS8497 echo ': clr' >>$CONFIG_STATUS8498 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS8499 echo 'CEOF8500 sed -f $tmp/defines.sed $tmp/in >$tmp/out8501 rm -f $tmp/in8502 mv $tmp/out $tmp/in8503 ' >>$CONFIG_STATUS8504 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail8505 rm -f conftest.defines8506 mv conftest.tail conftest.defines8507 done8508 rm -f conftest.defines8509 echo ' fi # grep' >>$CONFIG_STATUS8510 echo >>$CONFIG_STATUS8511 8512 # Break up conftest.undefs because some shells have a limit on the size8513 # of here documents, and old seds have small limits too (100 cmds).8514 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS8515 rm -f conftest.tail8516 while grep . conftest.undefs >/dev/null8517 do8518 # Write a limited-size here document to $tmp/undefs.sed.8519 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS8520 # Speed up: don't consider the non `#undef'8521 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS8522 # Work around the forget-to-reset-the-flag bug.8523 echo 't clr' >>$CONFIG_STATUS8524 echo ': clr' >>$CONFIG_STATUS8525 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS8526 echo 'CEOF8527 sed -f $tmp/undefs.sed $tmp/in >$tmp/out8528 rm -f $tmp/in8529 mv $tmp/out $tmp/in8530 ' >>$CONFIG_STATUS8531 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail8532 rm -f conftest.undefs8533 mv conftest.tail conftest.undefs8534 done8535 rm -f conftest.undefs8536 8537 cat >>$CONFIG_STATUS <<\_ACEOF8538 # Let's still pretend it is `configure' which instantiates (i.e., don't8539 # use $as_me), people would be surprised to read:8540 # /* config.h. Generated by config.status. */8541 if test x"$ac_file" = x-; then8542 echo "/* Generated by configure. */" >$tmp/config.h8543 else8544 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h8545 fi8546 cat $tmp/in >>$tmp/config.h8547 rm -f $tmp/in8548 if test x"$ac_file" != x-; then8549 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then8550 { echo "$as_me:$LINENO: $ac_file is unchanged" >&58551 echo "$as_me: $ac_file is unchanged" >&6;}8552 else8553 ac_dir=`(dirname "$ac_file") 2>/dev/null ||8554 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \8555 X"$ac_file" : 'X\(//\)[^/]' \| \8556 X"$ac_file" : 'X\(//\)$' \| \8557 X"$ac_file" : 'X\(/\)' \| \8558 . : '\(.\)' 2>/dev/null ||8559 echo X"$ac_file" |8560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }8561 /^X\(\/\/\)[^/].*/{ s//\1/; q; }8562 /^X\(\/\/\)$/{ s//\1/; q; }8563 /^X\(\/\).*/{ s//\1/; q; }8564 s/.*/./; q'`8565 { if $as_mkdir_p; then8566 mkdir -p "$ac_dir"8567 else8568 as_dir="$ac_dir"8569 as_dirs=8570 while test ! -d "$as_dir"; do8571 as_dirs="$as_dir $as_dirs"8572 as_dir=`(dirname "$as_dir") 2>/dev/null ||8573 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \8574 X"$as_dir" : 'X\(//\)[^/]' \| \8575 X"$as_dir" : 'X\(//\)$' \| \8576 X"$as_dir" : 'X\(/\)' \| \8577 . : '\(.\)' 2>/dev/null ||8578 echo X"$as_dir" |8579 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }8580 /^X\(\/\/\)[^/].*/{ s//\1/; q; }8581 /^X\(\/\/\)$/{ s//\1/; q; }8582 /^X\(\/\).*/{ s//\1/; q; }8583 s/.*/./; q'`8584 done8585 test ! -n "$as_dirs" || mkdir $as_dirs8586 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&58587 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}8588 { (exit 1); exit 1; }; }; }8589 8590 rm -f $ac_file8591 mv $tmp/config.h $ac_file8592 9811 fi 8593 9812 else 8594 cat $tmp/config.h 8595 rm -f $tmp/config.h 9813 $as_echo "/* $configure_input */" \ 9814 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 9815 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 9816 $as_echo "$as_me: error: could not create -" >&2;} 9817 { (exit 1); exit 1; }; } 8596 9818 fi 8597 done 8598 _ACEOF 8599 8600 cat >>$CONFIG_STATUS <<\_ACEOF 9819 ;; 9820 9821 9822 esac 9823 9824 done # for ac_tag 9825 8601 9826 8602 9827 { (exit 0); exit 0; } … … 8604 9829 chmod +x $CONFIG_STATUS 8605 9830 ac_clean_files=$ac_clean_files_save 9831 9832 test $ac_write_fail = 0 || 9833 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 9834 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 9835 { (exit 1); exit 1; }; } 8606 9836 8607 9837 … … 8632 9862 if test "$no_recursion" != yes; then 8633 9863 8634 # Remove --cache-file and --srcdir arguments so they do not pile up. 9864 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 9865 # so they do not pile up. 8635 9866 ac_sub_configure_args= 8636 9867 ac_prev= 8637 for ac_arg in $ac_configure_args; do 9868 eval "set x $ac_configure_args" 9869 shift 9870 for ac_arg 9871 do 8638 9872 if test -n "$ac_prev"; then 8639 9873 ac_prev= … … 8658 9892 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 8659 9893 ;; 8660 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; 9894 --disable-option-checking) 9895 ;; 9896 *) 9897 case $ac_arg in 9898 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 9899 esac 9900 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; 8661 9901 esac 8662 9902 done … … 8664 9904 # Always prepend --prefix to ensure using the same prefix 8665 9905 # in subdir configurations. 8666 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" 9906 ac_arg="--prefix=$prefix" 9907 case $ac_arg in 9908 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 9909 esac 9910 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 9911 9912 # Pass --silent 9913 if test "$silent" = yes; then 9914 ac_sub_configure_args="--silent $ac_sub_configure_args" 9915 fi 9916 9917 # Always prepend --disable-option-checking to silence warnings, since 9918 # different subdirs can have different --enable and --with options. 9919 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 8667 9920 8668 9921 ac_popdir=`pwd` … … 8671 9924 # Do not complain, so a configure script can configure whichever 8672 9925 # parts of a large source tree are present. 8673 test -d $srcdir/$ac_dir || continue 8674 8675 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 8676 echo "$as_me: configuring in $ac_dir" >&6;} 8677 { if $as_mkdir_p; then 8678 mkdir -p "$ac_dir" 8679 else 8680 as_dir="$ac_dir" 9926 test -d "$srcdir/$ac_dir" || continue 9927 9928 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 9929 $as_echo "$as_me:$LINENO: $ac_msg" >&5 9930 $as_echo "$ac_msg" >&6 9931 { as_dir="$ac_dir" 9932 case $as_dir in #( 9933 -*) as_dir=./$as_dir;; 9934 esac 9935 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 8681 9936 as_dirs= 8682 while test ! -d "$as_dir"; do 8683 as_dirs="$as_dir $as_dirs" 8684 as_dir=`(dirname "$as_dir") 2>/dev/null || 9937 while :; do 9938 case $as_dir in #( 9939 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 9940 *) as_qdir=$as_dir;; 9941 esac 9942 as_dirs="'$as_qdir' $as_dirs" 9943 as_dir=`$as_dirname -- "$as_dir" || 8685 9944 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8686 9945 X"$as_dir" : 'X\(//\)[^/]' \| \ 8687 9946 X"$as_dir" : 'X\(//\)$' \| \ 8688 X"$as_dir" : 'X\(/\)' \| \ 8689 . : '\(.\)' 2>/dev/null || 8690 echo X"$as_dir" | 8691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8692 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8693 /^X\(\/\/\)$/{ s//\1/; q; } 8694 /^X\(\/\).*/{ s//\1/; q; } 8695 s/.*/./; q'` 9947 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 9948 $as_echo X"$as_dir" | 9949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9950 s//\1/ 9951 q 9952 } 9953 /^X\(\/\/\)[^/].*/{ 9954 s//\1/ 9955 q 9956 } 9957 /^X\(\/\/\)$/{ 9958 s//\1/ 9959 q 9960 } 9961 /^X\(\/\).*/{ 9962 s//\1/ 9963 q 9964 } 9965 s/.*/./; q'` 9966 test -d "$as_dir" && break 8696 9967 done 8697 test ! -n "$as_dirs" || mkdir $as_dirs8698 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&58699 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}9968 test -z "$as_dirs" || eval "mkdir $as_dirs" 9969 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 9970 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 8700 9971 { (exit 1); exit 1; }; }; } 8701 8702 9972 ac_builddir=. 8703 9973 8704 if test "$ac_dir" != .; then 8705 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8706 # A "../" for each directory in $ac_dir_suffix. 8707 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8708 else 8709 ac_dir_suffix= ac_top_builddir= 8710 fi 9974 case "$ac_dir" in 9975 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 9976 *) 9977 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 9978 # A ".." for each directory in $ac_dir_suffix. 9979 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 9980 case $ac_top_builddir_sub in 9981 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 9982 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 9983 esac ;; 9984 esac 9985 ac_abs_top_builddir=$ac_pwd 9986 ac_abs_builddir=$ac_pwd$ac_dir_suffix 9987 # for backward compatibility: 9988 ac_top_builddir=$ac_top_build_prefix 8711 9989 8712 9990 case $srcdir in 8713 .) # No --srcdir option.We are building in place.9991 .) # We are building in place. 8714 9992 ac_srcdir=. 8715 if test -z "$ac_top_builddir"; then 8716 ac_top_srcdir=. 9993 ac_top_srcdir=$ac_top_builddir_sub 9994 ac_abs_top_srcdir=$ac_pwd ;; 9995 [\\/]* | ?:[\\/]* ) # Absolute name. 9996 ac_srcdir=$srcdir$ac_dir_suffix; 9997 ac_top_srcdir=$srcdir 9998 ac_abs_top_srcdir=$srcdir ;; 9999 *) # Relative name. 10000 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 10001 ac_top_srcdir=$ac_top_build_prefix$srcdir 10002 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 10003 esac 10004 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 10005 10006 10007 cd "$ac_dir" 10008 10009 # Check for guested configure; otherwise get Cygnus style configure. 10010 if test -f "$ac_srcdir/configure.gnu"; then 10011 ac_sub_configure=$ac_srcdir/configure.gnu 10012 elif test -f "$ac_srcdir/configure"; then 10013 ac_sub_configure=$ac_srcdir/configure 10014 elif test -f "$ac_srcdir/configure.in"; then 10015 # This should be Cygnus configure. 10016 ac_sub_configure=$ac_aux_dir/configure 8717 10017 else 8718 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8719 fi ;; 8720 [\\/]* | ?:[\\/]* ) # Absolute path. 8721 ac_srcdir=$srcdir$ac_dir_suffix; 8722 ac_top_srcdir=$srcdir ;; 8723 *) # Relative path. 8724 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8725 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8726 esac 8727 8728 # Do not use `cd foo && pwd` to compute absolute paths, because 8729 # the directories may not exist. 8730 case `pwd` in 8731 .) ac_abs_builddir="$ac_dir";; 8732 *) 8733 case "$ac_dir" in 8734 .) ac_abs_builddir=`pwd`;; 8735 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8736 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8737 esac;; 8738 esac 8739 case $ac_abs_builddir in 8740 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8741 *) 8742 case ${ac_top_builddir}. in 8743 .) ac_abs_top_builddir=$ac_abs_builddir;; 8744 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8745 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8746 esac;; 8747 esac 8748 case $ac_abs_builddir in 8749 .) ac_abs_srcdir=$ac_srcdir;; 8750 *) 8751 case $ac_srcdir in 8752 .) ac_abs_srcdir=$ac_abs_builddir;; 8753 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8754 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8755 esac;; 8756 esac 8757 case $ac_abs_builddir in 8758 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8759 *) 8760 case $ac_top_srcdir in 8761 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8762 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8763 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8764 esac;; 8765 esac 8766 8767 8768 cd $ac_dir 8769 8770 # Check for guested configure; otherwise get Cygnus style configure. 8771 if test -f $ac_srcdir/configure.gnu; then 8772 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" 8773 elif test -f $ac_srcdir/configure; then 8774 ac_sub_configure="$SHELL '$ac_srcdir/configure'" 8775 elif test -f $ac_srcdir/configure.in; then 8776 ac_sub_configure=$ac_configure 8777 else 8778 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 8779 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 10018 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 10019 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 8780 10020 ac_sub_configure= 8781 10021 fi … … 8786 10026 case $cache_file in 8787 10027 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 8788 *) # Relative path.8789 ac_sub_cache_file=$ac_top_build dir$cache_file ;;10028 *) # Relative name. 10029 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; 8790 10030 esac 8791 10031 8792 { echo "$as_me:$LINENO: running$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&58793 echo "$as_me: running$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}10032 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 10033 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 8794 10034 # The eval makes quoting arguments work. 8795 eval $ac_sub_configure$ac_sub_configure_args \8796 --cache-file= $ac_sub_cache_file --srcdir=$ac_srcdir||8797 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&58798 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}10035 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 10036 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 10037 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 10038 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 8799 10039 { (exit 1); exit 1; }; } 8800 10040 fi 8801 10041 8802 cd $ac_popdir10042 cd "$ac_popdir" 8803 10043 done 8804 10044 fi 8805 8806 8807 10045 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 10046 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 10047 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 10048 fi 10049 10050 10051
Note:
See TracChangeset
for help on using the changeset viewer.