Changeset 25149 for main/trunk/greenstone2/common-src
- Timestamp:
- 2012-02-28T14:18:52+13:00 (12 years ago)
- Location:
- main/trunk/greenstone2/common-src
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/common-src/configure
r24901 r25149 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59.3 # Generated by GNU Autoconf 2.63. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 6 7 # This configure script is free software; the Free Software Foundation 7 8 # gives unlimited permission to copy, distribute and modify it. … … 10 11 ## --------------------- ## 11 12 12 # Be Bourne compatible 13 # Be more Bourne compatible 14 DUALCASE=1; export DUALCASE # for MKS sh 13 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 16 emulate sh 15 17 NULLCMD=: 16 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17 19 # is contrary to our usage. Disable this feature. 18 20 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 21 setopt NO_GLOB_SUBST 22 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 79 33 # Avoid depending upon Character Ranges. 80 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 84 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 39 40 as_nl=' 41 ' 42 export as_nl 43 # Printing a long string crashes Solaris 7 /usr/bin/printf. 44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50 else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70 fi 71 86 72 # The user is always right. 87 73 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79 fi 80 81 # Support unset when possible. 82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 83 as_unset=unset 84 else 85 as_unset=false 86 fi 87 88 89 # IFS 90 # We need space, tab and new line, in precisely that order. Quoting is 91 # there to prevent editors from complaining about space-tab. 92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 93 # splitting by setting IFS to empty value.) 94 IFS=" "" $as_nl" 95 96 # Find who we are. Look in the path if we contain no directory separator. 97 case $0 in 98 *[\\/]* ) as_myself=$0 ;; 99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 100 for as_dir in $PATH 111 101 do … … 114 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 105 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 106 IFS=$as_save_IFS 107 108 ;; 109 esac 110 # We did not find ourselves, most probably we were run as `sh COMMAND' 111 # in which case we are not to be found in the path. 112 if test "x$as_myself" = x; then 113 as_myself=$0 114 fi 115 if test ! -f "$as_myself"; then 116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 117 { (exit 1); exit 1; } 118 fi 119 120 # Work around bugs in pre-3.0 UWIN ksh. 121 for as_var in ENV MAIL MAILPATH 122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 123 done 124 PS1='$ ' 125 PS2='> ' 126 PS4='+ ' 127 128 # NLS nuisances. 129 LC_ALL=C 130 export LC_ALL 131 LANGUAGE=C 132 export LANGUAGE 133 134 # Required to use basename. 135 if expr a : '\(a\)' >/dev/null 2>&1 && 136 test "X`expr 00001 : '.*\(...\)'`" = X001; then 137 as_expr=expr 138 else 139 as_expr=false 140 fi 141 142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 143 as_basename=basename 144 else 145 as_basename=false 146 fi 147 148 149 # Name of the executable. 150 as_me=`$as_basename -- "$0" || 151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 152 X"$0" : 'X\(//\)$' \| \ 153 X"$0" : 'X\(/\)' \| . 2>/dev/null || 154 $as_echo X/"$0" | 155 sed '/^.*\/\([^/][^/]*\)\/*$/{ 156 s//\1/ 157 q 158 } 159 /^X\/\(\/\/\)$/{ 160 s//\1/ 161 q 162 } 163 /^X\/\(\/\).*/{ 164 s//\1/ 165 q 166 } 167 s/.*/./; q'` 168 169 # CDPATH. 170 $as_unset CDPATH 171 172 173 if test "x$CONFIG_SHELL" = x; then 174 if (eval ":") 2>/dev/null; then 175 as_have_required=yes 176 else 177 as_have_required=no 178 fi 179 180 if test $as_have_required = yes && (eval ": 181 (as_func_return () { 182 (exit \$1) 183 } 184 as_func_success () { 185 as_func_return 0 186 } 187 as_func_failure () { 188 as_func_return 1 189 } 190 as_func_ret_success () { 191 return 0 192 } 193 as_func_ret_failure () { 194 return 1 195 } 196 197 exitcode=0 198 if as_func_success; then 199 : 200 else 201 exitcode=1 202 echo as_func_success failed. 203 fi 204 205 if as_func_failure; then 206 exitcode=1 207 echo as_func_failure succeeded. 208 fi 209 210 if as_func_ret_success; then 211 : 212 else 213 exitcode=1 214 echo as_func_ret_success failed. 215 fi 216 217 if as_func_ret_failure; then 218 exitcode=1 219 echo as_func_ret_failure succeeded. 220 fi 221 222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 223 : 224 else 225 exitcode=1 226 echo positional parameters were not saved. 227 fi 228 229 test \$exitcode = 0) || { (exit 1); exit 1; } 230 231 ( 232 as_lineno_1=\$LINENO 233 as_lineno_2=\$LINENO 234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 236 ") 2> /dev/null; then 237 : 238 else 239 as_candidate_shells= 130 240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 133 243 IFS=$as_save_IFS 134 244 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 245 case $as_dir in 137 246 /*) 138 if ("$as_dir/$as_base" -c ' 247 for as_base in sh bash ksh sh5; do 248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 249 done;; 250 esac 251 done 252 IFS=$as_save_IFS 253 254 255 for as_shell in $as_candidate_shells $SHELL; do 256 # Try only shells that exist, to save several forks. 257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 258 { ("$as_shell") 2> /dev/null <<\_ASEOF 259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 260 emulate sh 261 NULLCMD=: 262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 263 # is contrary to our usage. Disable this feature. 264 alias -g '${1+"$@"}'='"$@"' 265 setopt NO_GLOB_SUBST 266 else 267 case `(set -o) 2>/dev/null` in 268 *posix*) set -o posix ;; 269 esac 270 271 fi 272 273 274 : 275 _ASEOF 276 }; then 277 CONFIG_SHELL=$as_shell 278 as_have_required=yes 279 if { "$as_shell" 2> /dev/null <<\_ASEOF 280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 281 emulate sh 282 NULLCMD=: 283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 284 # is contrary to our usage. Disable this feature. 285 alias -g '${1+"$@"}'='"$@"' 286 setopt NO_GLOB_SUBST 287 else 288 case `(set -o) 2>/dev/null` in 289 *posix*) set -o posix ;; 290 esac 291 292 fi 293 294 295 : 296 (as_func_return () { 297 (exit $1) 298 } 299 as_func_success () { 300 as_func_return 0 301 } 302 as_func_failure () { 303 as_func_return 1 304 } 305 as_func_ret_success () { 306 return 0 307 } 308 as_func_ret_failure () { 309 return 1 310 } 311 312 exitcode=0 313 if as_func_success; then 314 : 315 else 316 exitcode=1 317 echo as_func_success failed. 318 fi 319 320 if as_func_failure; then 321 exitcode=1 322 echo as_func_failure succeeded. 323 fi 324 325 if as_func_ret_success; then 326 : 327 else 328 exitcode=1 329 echo as_func_ret_success failed. 330 fi 331 332 if as_func_ret_failure; then 333 exitcode=1 334 echo as_func_ret_failure succeeded. 335 fi 336 337 if ( set x; as_func_ret_success y && test x = "$1" ); then 338 : 339 else 340 exitcode=1 341 echo positional parameters were not saved. 342 fi 343 344 test $exitcode = 0) || { (exit 1); exit 1; } 345 346 ( 139 347 as_lineno_1=$LINENO 140 348 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`142 349 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 351 352 _ASEOF 353 }; then 354 break 355 fi 356 357 fi 358 359 done 360 361 if test "x$CONFIG_SHELL" != x; then 362 for as_var in BASH_ENV ENV 363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 364 done 365 export CONFIG_SHELL 366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 367 fi 368 369 370 if test $as_have_required = no; then 371 echo This script requires a shell more modern than all the 372 echo shells that I found on your system. Please install a 373 echo modern shell, or manually run the script under such a 374 echo shell if you do have one. 375 { (exit 1); exit 1; } 376 fi 377 378 379 fi 380 381 fi 382 383 384 385 (eval "as_func_return () { 386 (exit \$1) 387 } 388 as_func_success () { 389 as_func_return 0 390 } 391 as_func_failure () { 392 as_func_return 1 393 } 394 as_func_ret_success () { 395 return 0 396 } 397 as_func_ret_failure () { 398 return 1 399 } 400 401 exitcode=0 402 if as_func_success; then 403 : 404 else 405 exitcode=1 406 echo as_func_success failed. 407 fi 408 409 if as_func_failure; then 410 exitcode=1 411 echo as_func_failure succeeded. 412 fi 413 414 if as_func_ret_success; then 415 : 416 else 417 exitcode=1 418 echo as_func_ret_success failed. 419 fi 420 421 if as_func_ret_failure; then 422 exitcode=1 423 echo as_func_ret_failure succeeded. 424 fi 425 426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 427 : 428 else 429 exitcode=1 430 echo positional parameters were not saved. 431 fi 432 433 test \$exitcode = 0") || { 434 echo No shell found that supports shell functions. 435 echo Please tell [email protected] about your system, 436 echo including any error possibly output before this message. 437 echo This can help us improve future autoconf versions. 438 echo Configuration will now proceed without shell functions. 439 } 440 441 442 443 as_lineno_1=$LINENO 444 as_lineno_2=$LINENO 445 test "x$as_lineno_1" != "x$as_lineno_2" && 446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 155 447 156 448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 449 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 450 # line-number line after each line using $LINENO; the second 'sed' 451 # does the real work. The second script uses 'N' to pair each 452 # line-number line with the line containing $LINENO, and appends 453 # trailing '-' during substitution so that $LINENO is not a special 454 # case at line end. 162 455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 456 # scripts with optimization help from Paolo Bonzini. Blame Lee 457 # E. McMahon (1931-1989) for sed's syntax. :-) 458 sed -n ' 459 p 460 /[$]LINENO/= 461 ' <$as_myself | 165 462 sed ' 463 s/[$]LINENO.*/&-/ 464 t lineno 465 b 466 :lineno 166 467 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 468 :loop 469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 170 470 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 471 s/-\n.*// 173 472 ' >$as_me.lineno && 174 chmod +x $as_me.lineno||175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2473 chmod +x "$as_me.lineno" || 474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 475 { (exit 1); exit 1; }; } 177 476 178 477 # Don't try to exec as it changes $[0], causing all sort of problems 179 478 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensi ble to this).181 . ./$as_me.lineno479 # original and so on. Autoconf is especially sensitive to this). 480 . "./$as_me.lineno" 182 481 # Exit status is that of the last command. 183 482 exit … … 185 484 186 485 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192 esac 193 194 if expr a : '\(a\)' >/dev/null 2>&1; then 486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 487 as_dirname=dirname 488 else 489 as_dirname=false 490 fi 491 492 ECHO_C= ECHO_N= ECHO_T= 493 case `echo -n x` in 494 -n*) 495 case `echo 'x\c'` in 496 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 497 *) ECHO_C='\c';; 498 esac;; 499 *) 500 ECHO_N='-n';; 501 esac 502 if expr a : '\(a\)' >/dev/null 2>&1 && 503 test "X`expr 00001 : '.*\(...\)'`" = X001; then 195 504 as_expr=expr 196 505 else … … 199 508 200 509 rm -f conf$$ conf$$.exe conf$$.file 201 echo >conf$$.file 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 510 if test -d conf$$.dir; then 511 rm -f conf$$.dir/conf$$.file 512 else 513 rm -f conf$$.dir 514 mkdir conf$$.dir 2>/dev/null 515 fi 516 if (echo >conf$$.file) 2>/dev/null; then 517 if ln -s conf$$.file conf$$ 2>/dev/null; then 518 as_ln_s='ln -s' 519 # ... but there are two gotchas: 520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 522 # In both cases, we have to default to `cp -p'. 523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 524 as_ln_s='cp -p' 525 elif ln conf$$.file conf$$ 2>/dev/null; then 526 as_ln_s=ln 527 else 207 528 as_ln_s='cp -p' 208 else209 as_ln_s='ln -s'210 529 fi 211 elif ln conf$$.file conf$$ 2>/dev/null; then212 as_ln_s=ln213 530 else 214 531 as_ln_s='cp -p' 215 532 fi 216 rm -f conf$$ conf$$.exe conf$$.file 533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 534 rmdir conf$$.dir 2>/dev/null 217 535 218 536 if mkdir -p . 2>/dev/null; then … … 223 541 fi 224 542 225 as_executable_p="test -f" 543 if test -x / >/dev/null 2>&1; then 544 as_test_x='test -x' 545 else 546 if ls -dL / >/dev/null 2>&1; then 547 as_ls_L_option=L 548 else 549 as_ls_L_option= 550 fi 551 as_test_x=' 552 eval sh -c '\'' 553 if test -d "$1"; then 554 test -d "$1/."; 555 else 556 case $1 in 557 -*)set "./$1";; 558 esac; 559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 560 ???[sx]*):;;*)false;;esac;fi 561 '\'' sh 562 ' 563 fi 564 as_executable_p=$as_test_x 226 565 227 566 # Sed expression to map a string onto a valid CPP name. … … 232 571 233 572 234 # IFS 235 # We need space, tab and new line, in precisely that order. 236 as_nl=' 237 ' 238 IFS=" $as_nl" 239 240 # CDPATH. 241 $as_unset CDPATH 242 573 574 exec 7<&0 </dev/null 6>&1 243 575 244 576 # Name of the host. … … 247 579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 580 249 exec 6>&1250 251 581 # 252 582 # Initializations. 253 583 # 254 584 ac_default_prefix=/usr/local 585 ac_clean_files= 255 586 ac_config_libobj_dir=. 587 LIBOBJS= 256 588 cross_compiling=no 257 589 subdirs= … … 259 591 MAKEFLAGS= 260 592 SHELL=${CONFIG_SHELL-/bin/sh} 261 262 # Maximum number of lines to put in a shell here document.263 # This variable seems obsolete. It should probably be removed, and264 # only ac_max_sed_lines should be used.265 : ${ac_max_here_lines=38}266 593 267 594 # Identity of this package. … … 276 603 ac_includes_default="\ 277 604 #include <stdio.h> 278 #if HAVE_SYS_TYPES_H605 #ifdef HAVE_SYS_TYPES_H 279 606 # include <sys/types.h> 280 607 #endif 281 #if HAVE_SYS_STAT_H608 #ifdef HAVE_SYS_STAT_H 282 609 # include <sys/stat.h> 283 610 #endif 284 #if STDC_HEADERS611 #ifdef STDC_HEADERS 285 612 # include <stdlib.h> 286 613 # include <stddef.h> 287 614 #else 288 # if HAVE_STDLIB_H615 # ifdef HAVE_STDLIB_H 289 616 # include <stdlib.h> 290 617 # endif 291 618 #endif 292 #if HAVE_STRING_H293 # if ! STDC_HEADERS &&HAVE_MEMORY_H619 #ifdef HAVE_STRING_H 620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 294 621 # include <memory.h> 295 622 # endif 296 623 # include <string.h> 297 624 #endif 298 #if HAVE_STRINGS_H625 #ifdef HAVE_STRINGS_H 299 626 # include <strings.h> 300 627 #endif 301 #if HAVE_INTTYPES_H628 #ifdef HAVE_INTTYPES_H 302 629 # include <inttypes.h> 303 #else304 # if HAVE_STDINT_H305 # include <stdint.h>306 # endif307 630 #endif 308 #if HAVE_UNISTD_H 631 #ifdef HAVE_STDINT_H 632 # include <stdint.h> 633 #endif 634 #ifdef HAVE_UNISTD_H 309 635 # include <unistd.h> 310 636 #endif" 311 637 312 ac_subdirs_all="$ac_subdirs_all packages" 313 ac_subdirs_all="$ac_subdirs_all indexers" 314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_JAVA USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX JAVA uudecode JAVAC JAVACFLAGS AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos gsdlarch MODULEDIRS subdirs LTLIBOBJS' 638 enable_option_checking=no 639 ac_subst_vars='LTLIBOBJS 640 subdirs 641 MODULEDIRS 642 gsdlarch 643 gsdlos 644 STATIC 645 LIBOBJS 646 ALLOCA 647 ANSI2KNR 648 U 649 EGREP 650 GREP 651 CPP 652 MICO_VER 653 ARCH_DEP_FLAGS 654 RANLIB 655 SET_MAKE 656 LN_S 657 INSTALL_DATA 658 INSTALL_SCRIPT 659 INSTALL_PROGRAM 660 target_os 661 target_vendor 662 target_cpu 663 target 664 host_os 665 host_vendor 666 host_cpu 667 host 668 build_os 669 build_vendor 670 build_cpu 671 build 672 YFLAGS 673 YACC 674 AWK 675 JAVACFLAGS 676 JAVAC 677 uudecode 678 JAVA 679 ac_ct_CXX 680 CXXFLAGS 681 CXX 682 OBJEXT 683 EXEEXT 684 ac_ct_CC 685 CPPFLAGS 686 CC 687 CFLAGS 688 LDFLAGS 689 ENABLE_LUCENE 690 ENABLE_MGPP 691 ENABLE_MG 692 ENABLE_JNI 693 USE_SQLITE 694 ENABLE_ACCENTFOLD 695 USE_GDBM 696 USE_JDBM 697 ENABLE_JAVA 698 USE_YAZ 699 USE_Z3950 700 MICO_DIR 701 USE_CORBA 702 USE_LANGACTION 703 USE_FASTCGI 704 VERSION 705 PACKAGE 706 target_alias 707 host_alias 708 build_alias 709 LIBS 710 ECHO_T 711 ECHO_N 712 ECHO_C 713 DEFS 714 mandir 715 localedir 716 libdir 717 psdir 718 pdfdir 719 dvidir 720 htmldir 721 infodir 722 docdir 723 oldincludedir 724 includedir 725 localstatedir 726 sharedstatedir 727 sysconfdir 728 datadir 729 datarootdir 730 libexecdir 731 sbindir 732 bindir 733 program_transform_name 734 prefix 735 exec_prefix 736 PACKAGE_BUGREPORT 737 PACKAGE_STRING 738 PACKAGE_VERSION 739 PACKAGE_TARNAME 740 PACKAGE_NAME 741 PATH_SEPARATOR 742 SHELL' 315 743 ac_subst_files='' 744 ac_user_opts=' 745 enable_option_checking 746 enable_corba 747 with_micodir 748 enable_z3950 749 enable_yaz 750 enable_java 751 enable_jdbm 752 enable_gdbm 753 enable_accentfold 754 enable_sqlite 755 enable_jni 756 enable_mg 757 enable_mgpp 758 enable_lucene 759 with_dmalloc 760 with_regex 761 ' 762 ac_precious_vars='build_alias 763 host_alias 764 target_alias 765 CC 766 CFLAGS 767 LDFLAGS 768 LIBS 769 CPPFLAGS 770 CXX 771 CXXFLAGS 772 CCC 773 YACC 774 YFLAGS 775 CPP' 776 ac_subdirs_all='packages 777 indexers' 316 778 317 779 # Initialize some variables set by options. 318 780 ac_init_help= 319 781 ac_init_version=false 782 ac_unrecognized_opts= 783 ac_unrecognized_sep= 320 784 # The variables have the same names as the options, with 321 785 # dashes changed to underlines. … … 340 804 # by default will actually change. 341 805 # Use braces instead of parens because sh, perl, etc. also accept them. 806 # (The list follows the same order as the GNU Coding Standards.) 342 807 bindir='${exec_prefix}/bin' 343 808 sbindir='${exec_prefix}/sbin' 344 809 libexecdir='${exec_prefix}/libexec' 345 datadir='${prefix}/share' 810 datarootdir='${prefix}/share' 811 datadir='${datarootdir}' 346 812 sysconfdir='${prefix}/etc' 347 813 sharedstatedir='${prefix}/com' 348 814 localstatedir='${prefix}/var' 349 libdir='${exec_prefix}/lib'350 815 includedir='${prefix}/include' 351 816 oldincludedir='/usr/include' 352 infodir='${prefix}/info' 353 mandir='${prefix}/man' 817 docdir='${datarootdir}/doc/${PACKAGE}' 818 infodir='${datarootdir}/info' 819 htmldir='${docdir}' 820 dvidir='${docdir}' 821 pdfdir='${docdir}' 822 psdir='${docdir}' 823 libdir='${exec_prefix}/lib' 824 localedir='${datarootdir}/locale' 825 mandir='${datarootdir}/man' 354 826 355 827 ac_prev= 828 ac_dashdash= 356 829 for ac_option 357 830 do 358 831 # If the previous option needs an argument, assign it. 359 832 if test -n "$ac_prev"; then 360 eval "$ac_prev=\$ac_option"833 eval $ac_prev=\$ac_option 361 834 ac_prev= 362 835 continue 363 836 fi 364 837 365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 838 case $ac_option in 839 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 840 *) ac_optarg=yes ;; 841 esac 366 842 367 843 # Accept the important Cygnus configure options, so we can diagnose typos. 368 844 369 case $ac_option in 845 case $ac_dashdash$ac_option in 846 --) 847 ac_dashdash=yes ;; 370 848 371 849 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 389 867 cache_file=config.cache ;; 390 868 391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)869 -datadir | --datadir | --datadi | --datad) 392 870 ac_prev=datadir ;; 393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 394 | --da=*) 871 -datadir=* | --datadir=* | --datadi=* | --datad=*) 395 872 datadir=$ac_optarg ;; 396 873 874 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 875 | --dataroo | --dataro | --datar) 876 ac_prev=datarootdir ;; 877 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 878 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 879 datarootdir=$ac_optarg ;; 880 397 881 -disable-* | --disable-*) 398 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`882 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 399 883 # Reject names that are not valid shell variable names. 400 expr "x$ac_ feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2884 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 885 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 402 886 { (exit 1); exit 1; }; } 403 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 404 eval "enable_$ac_feature=no" ;; 887 ac_useropt_orig=$ac_useropt 888 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 889 case $ac_user_opts in 890 *" 891 "enable_$ac_useropt" 892 "*) ;; 893 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 894 ac_unrecognized_sep=', ';; 895 esac 896 eval enable_$ac_useropt=no ;; 897 898 -docdir | --docdir | --docdi | --doc | --do) 899 ac_prev=docdir ;; 900 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 901 docdir=$ac_optarg ;; 902 903 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 904 ac_prev=dvidir ;; 905 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 906 dvidir=$ac_optarg ;; 405 907 406 908 -enable-* | --enable-*) 407 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`909 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 408 910 # Reject names that are not valid shell variable names. 409 expr "x$ac_ feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 912 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 411 913 { (exit 1); exit 1; }; } 412 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 413 case $ac_option in 414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 415 *) ac_optarg=yes ;; 914 ac_useropt_orig=$ac_useropt 915 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 916 case $ac_user_opts in 917 *" 918 "enable_$ac_useropt" 919 "*) ;; 920 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 921 ac_unrecognized_sep=', ';; 416 922 esac 417 eval "enable_$ac_feature='$ac_optarg'";;923 eval enable_$ac_useropt=\$ac_optarg ;; 418 924 419 925 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 442 948 host_alias=$ac_optarg ;; 443 949 950 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 951 ac_prev=htmldir ;; 952 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 953 | --ht=*) 954 htmldir=$ac_optarg ;; 955 444 956 -includedir | --includedir | --includedi | --included | --include \ 445 957 | --includ | --inclu | --incl | --inc) … … 466 978 libexecdir=$ac_optarg ;; 467 979 980 -localedir | --localedir | --localedi | --localed | --locale) 981 ac_prev=localedir ;; 982 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 983 localedir=$ac_optarg ;; 984 468 985 -localstatedir | --localstatedir | --localstatedi | --localstated \ 469 | --localstate | --localstat | --localsta | --localst \ 470 | --locals | --local | --loca | --loc | --lo) 986 | --localstate | --localstat | --localsta | --localst | --locals) 471 987 ac_prev=localstatedir ;; 472 988 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 989 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 475 990 localstatedir=$ac_optarg ;; 476 991 … … 537 1052 program_transform_name=$ac_optarg ;; 538 1053 1054 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1055 ac_prev=pdfdir ;; 1056 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1057 pdfdir=$ac_optarg ;; 1058 1059 -psdir | --psdir | --psdi | --psd | --ps) 1060 ac_prev=psdir ;; 1061 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1062 psdir=$ac_optarg ;; 1063 539 1064 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 540 1065 | -silent | --silent | --silen | --sile | --sil) … … 587 1112 588 1113 -with-* | --with-*) 589 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1114 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 590 1115 # Reject names that are not valid shell variable names. 591 expr "x$ac_ package" : ".*[^-_$as_cr_alnum]" >/dev/null &&592 { echo "$as_me: error: invalid package name: $ac_package" >&21116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1117 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 593 1118 { (exit 1); exit 1; }; } 594 ac_package=`echo $ac_package| sed 's/-/_/g'` 595 case $ac_option in 596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 597 *) ac_optarg=yes ;; 1119 ac_useropt_orig=$ac_useropt 1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1121 case $ac_user_opts in 1122 *" 1123 "with_$ac_useropt" 1124 "*) ;; 1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1126 ac_unrecognized_sep=', ';; 598 1127 esac 599 eval "with_$ac_package='$ac_optarg'";;1128 eval with_$ac_useropt=\$ac_optarg ;; 600 1129 601 1130 -without-* | --without-*) 602 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1131 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 603 1132 # Reject names that are not valid shell variable names. 604 expr "x$ac_ package" : ".*[^-_$as_cr_alnum]" >/dev/null &&605 { echo "$as_me: error: invalid package name: $ac_package" >&21133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1134 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 606 1135 { (exit 1); exit 1; }; } 607 ac_package=`echo $ac_package | sed 's/-/_/g'` 608 eval "with_$ac_package=no" ;; 1136 ac_useropt_orig=$ac_useropt 1137 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1138 case $ac_user_opts in 1139 *" 1140 "with_$ac_useropt" 1141 "*) ;; 1142 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1143 ac_unrecognized_sep=', ';; 1144 esac 1145 eval with_$ac_useropt=no ;; 609 1146 610 1147 --x) … … 626 1163 x_libraries=$ac_optarg ;; 627 1164 628 -*) { echo "$as_me: error: unrecognized option: $ac_option1165 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 629 1166 Try \`$0 --help' for more information." >&2 630 1167 { (exit 1); exit 1; }; } … … 635 1172 # Reject names that are not valid shell variable names. 636 1173 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&21174 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 638 1175 { (exit 1); exit 1; }; } 639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 640 eval "$ac_envvar='$ac_optarg'" 1176 eval $ac_envvar=\$ac_optarg 641 1177 export $ac_envvar ;; 642 1178 643 1179 *) 644 1180 # FIXME: should be removed in autoconf 3.0. 645 echo "$as_me: WARNING: you should use --build, --host, --target" >&21181 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 646 1182 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 647 echo "$as_me: WARNING: invalid host type: $ac_option" >&21183 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 648 1184 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 649 1185 ;; … … 654 1190 if test -n "$ac_prev"; then 655 1191 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 656 { echo "$as_me: error: missing argument to $ac_option" >&21192 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 657 1193 { (exit 1); exit 1; }; } 658 1194 fi 659 1195 660 # Be sure to have absolute paths. 661 for ac_var in exec_prefix prefix 1196 if test -n "$ac_unrecognized_opts"; then 1197 case $enable_option_checking in 1198 no) ;; 1199 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1200 { (exit 1); exit 1; }; } ;; 1201 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1202 esac 1203 fi 1204 1205 # Check all directory arguments for consistency. 1206 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1207 datadir sysconfdir sharedstatedir localstatedir includedir \ 1208 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1209 libdir localedir mandir 662 1210 do 663 eval ac_val=$`echo $ac_var` 1211 eval ac_val=\$$ac_var 1212 # Remove trailing slashes. 664 1213 case $ac_val in 665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2667 { (exit 1); exit 1; }; };;1214 */ ) 1215 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1216 eval $ac_var=\$ac_val;; 668 1217 esac 669 done 670 671 # Be sure to have absolute paths. 672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 673 localstatedir libdir includedir oldincludedir infodir mandir 674 do 675 eval ac_val=$`echo $ac_var` 1218 # Be sure to have absolute directory names. 676 1219 case $ac_val in 677 [\\/$]* | ?:[\\/]* ) ;; 678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 679 { (exit 1); exit 1; }; };; 1220 [\\/$]* | ?:[\\/]* ) continue;; 1221 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 680 1222 esac 1223 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1224 { (exit 1); exit 1; }; } 681 1225 done 682 1226 … … 692 1236 if test "x$build_alias" = x; then 693 1237 cross_compiling=maybe 694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1238 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 695 1239 If a cross compiler is detected then cross compile mode will be used." >&2 696 1240 elif test "x$build_alias" != "x$host_alias"; then … … 705 1249 706 1250 1251 ac_pwd=`pwd` && test -n "$ac_pwd" && 1252 ac_ls_di=`ls -di .` && 1253 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1254 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1255 { (exit 1); exit 1; }; } 1256 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1257 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1258 { (exit 1); exit 1; }; } 1259 1260 707 1261 # Find the source files, if location was not specified. 708 1262 if test -z "$srcdir"; then 709 1263 ac_srcdir_defaulted=yes 710 # Try the directory containing this script, then its parent. 711 ac_confdir=`(dirname "$0") 2>/dev/null || 712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 713 X"$0" : 'X\(//\)[^/]' \| \ 714 X"$0" : 'X\(//\)$' \| \ 715 X"$0" : 'X\(/\)' \| \ 716 . : '\(.\)' 2>/dev/null || 717 echo X"$0" | 718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 719 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 720 /^X\(\/\/\)$/{ s//\1/; q; } 721 /^X\(\/\).*/{ s//\1/; q; } 722 s/.*/./; q'` 1264 # Try the directory containing this script, then the parent directory. 1265 ac_confdir=`$as_dirname -- "$as_myself" || 1266 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1267 X"$as_myself" : 'X\(//\)[^/]' \| \ 1268 X"$as_myself" : 'X\(//\)$' \| \ 1269 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1270 $as_echo X"$as_myself" | 1271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1272 s//\1/ 1273 q 1274 } 1275 /^X\(\/\/\)[^/].*/{ 1276 s//\1/ 1277 q 1278 } 1279 /^X\(\/\/\)$/{ 1280 s//\1/ 1281 q 1282 } 1283 /^X\(\/\).*/{ 1284 s//\1/ 1285 q 1286 } 1287 s/.*/./; q'` 723 1288 srcdir=$ac_confdir 724 if test ! -r $srcdir/$ac_unique_file; then1289 if test ! -r "$srcdir/$ac_unique_file"; then 725 1290 srcdir=.. 726 1291 fi … … 728 1293 ac_srcdir_defaulted=no 729 1294 fi 730 if test ! -r $srcdir/$ac_unique_file; then731 if test "$ac_srcdir_defaulted" = yes; then732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&21295 if test ! -r "$srcdir/$ac_unique_file"; then 1296 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1297 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 733 1298 { (exit 1); exit 1; }; } 734 else 735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1299 fi 1300 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1301 ac_abs_confdir=`( 1302 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 736 1303 { (exit 1); exit 1; }; } 737 fi 738 fi 739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 741 { (exit 1); exit 1; }; } 742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 743 ac_env_build_alias_set=${build_alias+set} 744 ac_env_build_alias_value=$build_alias 745 ac_cv_env_build_alias_set=${build_alias+set} 746 ac_cv_env_build_alias_value=$build_alias 747 ac_env_host_alias_set=${host_alias+set} 748 ac_env_host_alias_value=$host_alias 749 ac_cv_env_host_alias_set=${host_alias+set} 750 ac_cv_env_host_alias_value=$host_alias 751 ac_env_target_alias_set=${target_alias+set} 752 ac_env_target_alias_value=$target_alias 753 ac_cv_env_target_alias_set=${target_alias+set} 754 ac_cv_env_target_alias_value=$target_alias 755 ac_env_CC_set=${CC+set} 756 ac_env_CC_value=$CC 757 ac_cv_env_CC_set=${CC+set} 758 ac_cv_env_CC_value=$CC 759 ac_env_CFLAGS_set=${CFLAGS+set} 760 ac_env_CFLAGS_value=$CFLAGS 761 ac_cv_env_CFLAGS_set=${CFLAGS+set} 762 ac_cv_env_CFLAGS_value=$CFLAGS 763 ac_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_env_LDFLAGS_value=$LDFLAGS 765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 766 ac_cv_env_LDFLAGS_value=$LDFLAGS 767 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_env_CPPFLAGS_value=$CPPFLAGS 769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 771 ac_env_CXX_set=${CXX+set} 772 ac_env_CXX_value=$CXX 773 ac_cv_env_CXX_set=${CXX+set} 774 ac_cv_env_CXX_value=$CXX 775 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 776 ac_env_CXXFLAGS_value=$CXXFLAGS 777 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 778 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 779 ac_env_CPP_set=${CPP+set} 780 ac_env_CPP_value=$CPP 781 ac_cv_env_CPP_set=${CPP+set} 782 ac_cv_env_CPP_value=$CPP 1304 pwd)` 1305 # When building in place, set srcdir=. 1306 if test "$ac_abs_confdir" = "$ac_pwd"; then 1307 srcdir=. 1308 fi 1309 # Remove unnecessary trailing slashes from srcdir. 1310 # Double slashes in file names in object file debugging info 1311 # mess up M-x gdb in Emacs. 1312 case $srcdir in 1313 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1314 esac 1315 for ac_var in $ac_precious_vars; do 1316 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1317 eval ac_env_${ac_var}_value=\$${ac_var} 1318 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1319 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1320 done 783 1321 784 1322 # … … 809 1347 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 810 1348 811 _ACEOF812 813 cat <<_ACEOF814 1349 Installation directories: 815 1350 --prefix=PREFIX install architecture-independent files in PREFIX 816 1351 [$ac_default_prefix] 817 1352 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 818 1353 [PREFIX] 819 1354 820 1355 By default, \`make install' will install all the files in … … 826 1361 827 1362 Fine tuning of the installation directories: 828 --bindir=DIR user executables [EPREFIX/bin] 829 --sbindir=DIR system admin executables [EPREFIX/sbin] 830 --libexecdir=DIR program executables [EPREFIX/libexec] 831 --datadir=DIR read-only architecture-independent data [PREFIX/share] 832 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 833 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 834 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 835 --libdir=DIR object code libraries [EPREFIX/lib] 836 --includedir=DIR C header files [PREFIX/include] 837 --oldincludedir=DIR C header files for non-gcc [/usr/include] 838 --infodir=DIR info documentation [PREFIX/info] 839 --mandir=DIR man documentation [PREFIX/man] 1363 --bindir=DIR user executables [EPREFIX/bin] 1364 --sbindir=DIR system admin executables [EPREFIX/sbin] 1365 --libexecdir=DIR program executables [EPREFIX/libexec] 1366 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1367 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1368 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1369 --libdir=DIR object code libraries [EPREFIX/lib] 1370 --includedir=DIR C header files [PREFIX/include] 1371 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1372 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1373 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1374 --infodir=DIR info documentation [DATAROOTDIR/info] 1375 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1376 --mandir=DIR man documentation [DATAROOTDIR/man] 1377 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1378 --htmldir=DIR html documentation [DOCDIR] 1379 --dvidir=DIR dvi documentation [DOCDIR] 1380 --pdfdir=DIR pdf documentation [DOCDIR] 1381 --psdir=DIR ps documentation [DOCDIR] 840 1382 _ACEOF 841 1383 … … 854 1396 855 1397 Optional Features: 1398 --disable-option-checking ignore unrecognized --enable/--with options 856 1399 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 857 1400 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 882 1425 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 883 1426 nonstandard directory <lib dir> 884 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 885 headers in a nonstandard directory <include dir> 1427 LIBS libraries to pass to the linker, e.g. -l<library> 1428 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1429 you have headers in a nonstandard directory <include dir> 886 1430 CXX C++ compiler command 887 1431 CXXFLAGS C++ compiler flags 1432 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1433 the first program found out of: `bison -y', `byacc', `yacc'. 1434 YFLAGS The list of arguments that will be passed by default to $YACC. 1435 This script will default YFLAGS to the empty string to avoid a 1436 default value of `-d' given by some make applications. 888 1437 CPP C preprocessor 889 1438 … … 892 1441 893 1442 _ACEOF 1443 ac_status=$? 894 1444 fi 895 1445 896 1446 if test "$ac_init_help" = "recursive"; then 897 1447 # If there are subdirs, report their specific --help. 898 ac_popdir=`pwd`899 1448 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 900 test -d $ac_dir || continue 1449 test -d "$ac_dir" || 1450 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1451 continue 901 1452 ac_builddir=. 902 1453 903 if test "$ac_dir" != .; then 904 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 905 # A "../" for each directory in $ac_dir_suffix. 906 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 907 else 908 ac_dir_suffix= ac_top_builddir= 909 fi 1454 case "$ac_dir" in 1455 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1456 *) 1457 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1458 # A ".." for each directory in $ac_dir_suffix. 1459 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1460 case $ac_top_builddir_sub in 1461 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1462 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1463 esac ;; 1464 esac 1465 ac_abs_top_builddir=$ac_pwd 1466 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1467 # for backward compatibility: 1468 ac_top_builddir=$ac_top_build_prefix 910 1469 911 1470 case $srcdir in 912 .) # No --srcdir option.We are building in place.1471 .) # We are building in place. 913 1472 ac_srcdir=. 914 if test -z "$ac_top_builddir"; then 915 ac_top_srcdir=. 1473 ac_top_srcdir=$ac_top_builddir_sub 1474 ac_abs_top_srcdir=$ac_pwd ;; 1475 [\\/]* | ?:[\\/]* ) # Absolute name. 1476 ac_srcdir=$srcdir$ac_dir_suffix; 1477 ac_top_srcdir=$srcdir 1478 ac_abs_top_srcdir=$srcdir ;; 1479 *) # Relative name. 1480 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1481 ac_top_srcdir=$ac_top_build_prefix$srcdir 1482 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1483 esac 1484 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1485 1486 cd "$ac_dir" || { ac_status=$?; continue; } 1487 # Check for guested configure. 1488 if test -f "$ac_srcdir/configure.gnu"; then 1489 echo && 1490 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1491 elif test -f "$ac_srcdir/configure"; then 1492 echo && 1493 $SHELL "$ac_srcdir/configure" --help=recursive 916 1494 else 917 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 918 fi ;; 919 [\\/]* | ?:[\\/]* ) # Absolute path. 920 ac_srcdir=$srcdir$ac_dir_suffix; 921 ac_top_srcdir=$srcdir ;; 922 *) # Relative path. 923 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 924 ac_top_srcdir=$ac_top_builddir$srcdir ;; 925 esac 926 927 # Do not use `cd foo && pwd` to compute absolute paths, because 928 # the directories may not exist. 929 case `pwd` in 930 .) ac_abs_builddir="$ac_dir";; 931 *) 932 case "$ac_dir" in 933 .) ac_abs_builddir=`pwd`;; 934 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 935 *) ac_abs_builddir=`pwd`/"$ac_dir";; 936 esac;; 937 esac 938 case $ac_abs_builddir in 939 .) ac_abs_top_builddir=${ac_top_builddir}.;; 940 *) 941 case ${ac_top_builddir}. in 942 .) ac_abs_top_builddir=$ac_abs_builddir;; 943 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 944 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 945 esac;; 946 esac 947 case $ac_abs_builddir in 948 .) ac_abs_srcdir=$ac_srcdir;; 949 *) 950 case $ac_srcdir in 951 .) ac_abs_srcdir=$ac_abs_builddir;; 952 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 953 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 954 esac;; 955 esac 956 case $ac_abs_builddir in 957 .) ac_abs_top_srcdir=$ac_top_srcdir;; 958 *) 959 case $ac_top_srcdir in 960 .) ac_abs_top_srcdir=$ac_abs_builddir;; 961 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 962 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 963 esac;; 964 esac 965 966 cd $ac_dir 967 # Check for guested configure; otherwise get Cygnus style configure. 968 if test -f $ac_srcdir/configure.gnu; then 969 echo 970 $SHELL $ac_srcdir/configure.gnu --help=recursive 971 elif test -f $ac_srcdir/configure; then 972 echo 973 $SHELL $ac_srcdir/configure --help=recursive 974 elif test -f $ac_srcdir/configure.ac || 975 test -f $ac_srcdir/configure.in; then 976 echo 977 $ac_configure --help 978 else 979 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 980 fi 981 cd $ac_popdir 1495 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1496 fi || ac_status=$? 1497 cd "$ac_pwd" || { ac_status=$?; break; } 982 1498 done 983 1499 fi 984 1500 985 test -n "$ac_init_help" && exit 01501 test -n "$ac_init_help" && exit $ac_status 986 1502 if $ac_init_version; then 987 1503 cat <<\_ACEOF 988 989 Copyright (C) 2003 Free Software Foundation, Inc. 1504 configure 1505 generated by GNU Autoconf 2.63 1506 1507 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1508 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 990 1509 This configure script is free software; the Free Software Foundation 991 1510 gives unlimited permission to copy, distribute and modify it. 992 1511 _ACEOF 993 exit 0 994 fi 995 exec 5>config.log 996 cat >&5 <<_ACEOF 1512 exit 1513 fi 1514 cat >config.log <<_ACEOF 997 1515 This file contains any messages produced by compilers while 998 1516 running configure, to aid debugging if configure makes a mistake. 999 1517 1000 1518 It was created by $as_me, which was 1001 generated by GNU Autoconf 2. 59. Invocation command line was1519 generated by GNU Autoconf 2.63. Invocation command line was 1002 1520 1003 1521 $ $0 $@ 1004 1522 1005 1523 _ACEOF 1524 exec 5>>config.log 1006 1525 { 1007 1526 cat <<_ASUNAME … … 1022 1541 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1023 1542 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1024 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1543 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1025 1544 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1026 1545 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1034 1553 IFS=$as_save_IFS 1035 1554 test -z "$as_dir" && as_dir=. 1036 echo "PATH: $as_dir"1555 $as_echo "PATH: $as_dir" 1037 1556 done 1557 IFS=$as_save_IFS 1038 1558 1039 1559 } >&5 … … 1057 1577 ac_configure_args0= 1058 1578 ac_configure_args1= 1059 ac_sep=1060 1579 ac_must_keep_next=false 1061 1580 for ac_pass in 1 2 … … 1068 1587 | -silent | --silent | --silen | --sile | --sil) 1069 1588 continue ;; 1070 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1071 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1589 *\'*) 1590 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1072 1591 esac 1073 1592 case $ac_pass in … … 1090 1609 esac 1091 1610 fi 1092 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1093 # Get rid of the leading space. 1094 ac_sep=" " 1611 ac_configure_args="$ac_configure_args '$ac_arg'" 1095 1612 ;; 1096 1613 esac … … 1103 1620 # config.log. We remove comments because anyway the quotes in there 1104 1621 # would cause problems or look ugly. 1105 # WARNING: Be sure not to use single quotes in there, as some shells,1106 # such as our DU 5.0 friend, will then `close' the trap.1622 # WARNING: Use '\'' to represent an apostrophe within the trap. 1623 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1107 1624 trap 'exit_status=$? 1108 1625 # Save into config.log some information that might help in debugging. … … 1117 1634 echo 1118 1635 # The following way of writing the cache mishandles newlines in values, 1119 { 1636 ( 1637 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1638 eval ac_val=\$$ac_var 1639 case $ac_val in #( 1640 *${as_nl}*) 1641 case $ac_var in #( 1642 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1643 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1644 esac 1645 case $ac_var in #( 1646 _ | IFS | as_nl) ;; #( 1647 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1648 *) $as_unset $ac_var ;; 1649 esac ;; 1650 esac 1651 done 1120 1652 (set) 2>&1 | 1121 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1122 * ac_space=\ *)1653 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1654 *${as_nl}ac_space=\ *) 1123 1655 sed -n \ 1124 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1125 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1656 "s/'\''/'\''\\\\'\'''\''/g; 1657 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1658 ;; #( 1659 *) 1660 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1126 1661 ;; 1127 *) 1128 sed -n \ 1129 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1130 ;; 1131 esac; 1132 } 1662 esac | 1663 sort 1664 ) 1133 1665 echo 1134 1666 … … 1141 1673 for ac_var in $ac_subst_vars 1142 1674 do 1143 eval ac_val=$`echo $ac_var` 1144 echo "$ac_var='"'"'$ac_val'"'"'" 1675 eval ac_val=\$$ac_var 1676 case $ac_val in 1677 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1678 esac 1679 $as_echo "$ac_var='\''$ac_val'\''" 1145 1680 done | sort 1146 1681 echo … … 1148 1683 if test -n "$ac_subst_files"; then 1149 1684 cat <<\_ASBOX 1150 ## ------------- ##1151 ## Output files. ##1152 ## ------------- ##1685 ## ------------------- ## 1686 ## File substitutions. ## 1687 ## ------------------- ## 1153 1688 _ASBOX 1154 1689 echo 1155 1690 for ac_var in $ac_subst_files 1156 1691 do 1157 eval ac_val=$`echo $ac_var` 1158 echo "$ac_var='"'"'$ac_val'"'"'" 1692 eval ac_val=\$$ac_var 1693 case $ac_val in 1694 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1695 esac 1696 $as_echo "$ac_var='\''$ac_val'\''" 1159 1697 done | sort 1160 1698 echo … … 1168 1706 _ASBOX 1169 1707 echo 1170 sed "/^$/d" confdefs.h | sort1708 cat confdefs.h 1171 1709 echo 1172 1710 fi 1173 1711 test "$ac_signal" != 0 && 1174 echo "$as_me: caught signal $ac_signal"1175 echo "$as_me: exit $exit_status"1712 $as_echo "$as_me: caught signal $ac_signal" 1713 $as_echo "$as_me: exit $exit_status" 1176 1714 } >&5 1177 rm -f core *.core &&1178 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1715 rm -f core *.core core.conftest.* && 1716 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1179 1717 exit $exit_status 1180 1718 ' 0 1181 1719 for ac_signal in 1 2 13 15; do 1182 1720 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1185 1723 1186 1724 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1187 rm -rf conftest* confdefs.h 1188 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1189 echo >confdefs.h 1725 rm -f -r conftest* confdefs.h 1190 1726 1191 1727 # Predefined preprocessor variables. … … 1217 1753 1218 1754 # Let the site file select an alternate cache file if it wants to. 1219 # Prefer explicitly selected file to automatically selected ones. 1220 if test -z "$CONFIG_SITE"; then 1221 if test "x$prefix" != xNONE; then 1222 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1223 else 1224 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1225 fi 1226 fi 1227 for ac_site_file in $CONFIG_SITE; do 1755 # Prefer an explicitly selected file to automatically selected ones. 1756 ac_site_file1=NONE 1757 ac_site_file2=NONE 1758 if test -n "$CONFIG_SITE"; then 1759 ac_site_file1=$CONFIG_SITE 1760 elif test "x$prefix" != xNONE; then 1761 ac_site_file1=$prefix/share/config.site 1762 ac_site_file2=$prefix/etc/config.site 1763 else 1764 ac_site_file1=$ac_default_prefix/share/config.site 1765 ac_site_file2=$ac_default_prefix/etc/config.site 1766 fi 1767 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1768 do 1769 test "x$ac_site_file" = xNONE && continue 1228 1770 if test -r "$ac_site_file"; then 1229 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&51230 echo "$as_me: loading site script $ac_site_file" >&6;}1771 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1772 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1231 1773 sed 's/^/| /' "$ac_site_file" >&5 1232 1774 . "$ac_site_file" … … 1238 1780 # files actually), so we avoid doing that. 1239 1781 if test -f "$cache_file"; then 1240 { echo "$as_me:$LINENO: loading cache $cache_file" >&51241 echo "$as_me: loading cache $cache_file" >&6;}1782 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1783 $as_echo "$as_me: loading cache $cache_file" >&6;} 1242 1784 case $cache_file in 1243 [\\/]* | ?:[\\/]* ) . $cache_file;;1244 *) . ./$cache_file;;1785 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1786 *) . "./$cache_file";; 1245 1787 esac 1246 1788 fi 1247 1789 else 1248 { echo "$as_me:$LINENO: creating cache $cache_file" >&51249 echo "$as_me: creating cache $cache_file" >&6;}1790 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1791 $as_echo "$as_me: creating cache $cache_file" >&6;} 1250 1792 >$cache_file 1251 1793 fi … … 1254 1796 # value. 1255 1797 ac_cache_corrupted=false 1256 for ac_var in `(set) 2>&1 | 1257 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1798 for ac_var in $ac_precious_vars; do 1258 1799 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1259 1800 eval ac_new_set=\$ac_env_${ac_var}_set 1260 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1261 eval ac_new_val= "\$ac_env_${ac_var}_value"1801 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1802 eval ac_new_val=\$ac_env_${ac_var}_value 1262 1803 case $ac_old_set,$ac_new_set in 1263 1804 set,) 1264 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51265 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1805 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1806 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1266 1807 ac_cache_corrupted=: ;; 1267 1808 ,set) 1268 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51269 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1809 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1810 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1270 1811 ac_cache_corrupted=: ;; 1271 1812 ,);; 1272 1813 *) 1273 1814 if test "x$ac_old_val" != "x$ac_new_val"; then 1274 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1275 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1276 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1277 echo "$as_me: former value: $ac_old_val" >&2;} 1278 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1279 echo "$as_me: current value: $ac_new_val" >&2;} 1280 ac_cache_corrupted=: 1815 # differences in whitespace do not lead to failure. 1816 ac_old_val_w=`echo x $ac_old_val` 1817 ac_new_val_w=`echo x $ac_new_val` 1818 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1819 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1820 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1821 ac_cache_corrupted=: 1822 else 1823 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1824 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1825 eval $ac_var=\$ac_old_val 1826 fi 1827 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1828 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1829 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1830 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1281 1831 fi;; 1282 1832 esac … … 1284 1834 if test "$ac_new_set" = set; then 1285 1835 case $ac_new_val in 1286 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1287 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1836 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1288 1837 *) ac_arg=$ac_var=$ac_new_val ;; 1289 1838 esac … … 1295 1844 done 1296 1845 if $ac_cache_corrupted; then 1297 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1298 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1299 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1300 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1846 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 1847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1848 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1849 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1850 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1851 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1301 1852 { (exit 1); exit 1; }; } 1302 1853 fi 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1303 1870 1304 1871 ac_ext=c … … 1309 1876 1310 1877 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 ac_config_headers="$ac_config_headers config.h" 1878 ac_config_headers="$ac_config_headers config.h" 1329 1879 1330 1880 … … 1362 1912 fi 1363 1913 1364 # Check whether --enable-corba or --disable-corbawas given.1914 # Check whether --enable-corba was given. 1365 1915 if test "${enable_corba+set}" = set; then 1366 enableval="$enable_corba" 1367 USE_CORBA=$enableval 1916 enableval=$enable_corba; USE_CORBA=$enableval 1368 1917 else 1369 1918 USE_CORBA=no 1370 fi; 1919 fi 1920 1371 1921 if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then 1372 1922 USE_CORBA=1 1373 1923 cat >>confdefs.h <<\_ACEOF 1374 #define USE_CORBA 1924 #define USE_CORBA /**/ 1375 1925 _ACEOF 1376 1926 … … 1381 1931 1382 1932 1383 # Check whether --with-micodir or --without-micodirwas given.1933 # Check whether --with-micodir was given. 1384 1934 if test "${with_micodir+set}" = set; then 1385 withval="$with_micodir" 1386 MICO_DIR=$withval 1935 withval=$with_micodir; MICO_DIR=$withval 1387 1936 else 1388 1937 MICO_DIR="default" 1389 fi; 1938 fi 1939 1390 1940 cat >>confdefs.h <<_ACEOF 1391 1941 #define MICO_DIR "$MICO_DIR" … … 1394 1944 1395 1945 1396 # Check whether --enable-z3950 or --disable-z3950was given.1946 # Check whether --enable-z3950 was given. 1397 1947 if test "${enable_z3950+set}" = set; then 1398 enableval="$enable_z3950" 1399 USE_Z3950=$enableval 1948 enableval=$enable_z3950; USE_Z3950=$enableval 1400 1949 else 1401 1950 USE_Z3950=no 1402 fi; 1951 fi 1952 1403 1953 if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then 1404 1954 USE_Z3950=1 1405 1955 cat >>confdefs.h <<\_ACEOF 1406 #define USE_Z3950 1956 #define USE_Z3950 /**/ 1407 1957 _ACEOF 1408 1958 … … 1412 1962 1413 1963 1414 # Check whether --enable-yaz or --disable-yazwas given.1964 # Check whether --enable-yaz was given. 1415 1965 if test "${enable_yaz+set}" = set; then 1416 enableval="$enable_yaz" 1417 USE_YAZ=$enableval 1966 enableval=$enable_yaz; USE_YAZ=$enableval 1418 1967 else 1419 1968 USE_YAZ=yes 1420 fi; 1969 fi 1970 1421 1971 if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then 1422 1972 USE_YAZ=1 1423 1973 cat >>confdefs.h <<\_ACEOF 1424 #define USE_YAZ 1974 #define USE_YAZ /**/ 1425 1975 _ACEOF 1426 1976 … … 1430 1980 1431 1981 1432 # Check whether --enable-java or --disable-javawas given.1982 # Check whether --enable-java was given. 1433 1983 if test "${enable_java+set}" = set; then 1434 enableval="$enable_java" 1435 ENABLE_JAVA=$enableval 1984 enableval=$enable_java; ENABLE_JAVA=$enableval 1436 1985 else 1437 1986 ENABLE_JAVA=yes 1438 fi; 1987 fi 1988 1439 1989 if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then 1440 1990 ENABLE_JAVA=1 … … 1450 2000 1451 2001 1452 # Check whether --enable-jdbm or --disable-jdbmwas given.2002 # Check whether --enable-jdbm was given. 1453 2003 if test "${enable_jdbm+set}" = set; then 1454 enableval="$enable_jdbm" 1455 USE_JDBM=$enableval 2004 enableval=$enable_jdbm; USE_JDBM=$enableval 1456 2005 else 1457 2006 USE_JDBM=yes 1458 fi; 2007 fi 2008 1459 2009 if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then 1460 2010 USE_JDBM=1 1461 2011 cat >>confdefs.h <<\_ACEOF 1462 #define USE_JDBM 2012 #define USE_JDBM /**/ 1463 2013 _ACEOF 1464 2014 … … 1468 2018 1469 2019 1470 # Check whether --enable-gdbm or --disable-gdbmwas given.2020 # Check whether --enable-gdbm was given. 1471 2021 if test "${enable_gdbm+set}" = set; then 1472 enableval="$enable_gdbm" 1473 USE_GDBM=$enableval 2022 enableval=$enable_gdbm; USE_GDBM=$enableval 1474 2023 else 1475 2024 USE_GDBM=yes 1476 fi; 2025 fi 2026 1477 2027 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 1478 2028 USE_GDBM=1 1479 2029 cat >>confdefs.h <<\_ACEOF 1480 #define USE_GDBM 2030 #define USE_GDBM /**/ 1481 2031 _ACEOF 1482 2032 … … 1486 2036 1487 2037 1488 # Check whether --enable-accentfold or --disable-accentfoldwas given.2038 # Check whether --enable-accentfold was given. 1489 2039 if test "${enable_accentfold+set}" = set; then 1490 enableval="$enable_accentfold" 1491 ENABLE_ACCENTFOLD=$enableval 2040 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval 1492 2041 else 1493 2042 ENABLE_ACCENTFOLD=yes 1494 fi; 2043 fi 2044 1495 2045 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 1496 2046 ENABLE_ACCENTFOLD=1 1497 2047 cat >>confdefs.h <<\_ACEOF 1498 #define ENABLE_ACCENTFOLD 2048 #define ENABLE_ACCENTFOLD /**/ 1499 2049 _ACEOF 1500 2050 … … 1505 2055 1506 2056 1507 # Check whether --enable-sqlite or --disable-sqlitewas given.2057 # Check whether --enable-sqlite was given. 1508 2058 if test "${enable_sqlite+set}" = set; then 1509 enableval="$enable_sqlite" 1510 USE_SQLITE=$enableval 2059 enableval=$enable_sqlite; USE_SQLITE=$enableval 1511 2060 else 1512 2061 USE_SQLITE=yes 1513 fi; 2062 fi 2063 1514 2064 if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then 1515 2065 USE_SQLITE=1 1516 2066 cat >>confdefs.h <<\_ACEOF 1517 #define USE_SQLITE 2067 #define USE_SQLITE /**/ 1518 2068 _ACEOF 1519 2069 … … 1523 2073 1524 2074 1525 # Check whether --enable-jni or --disable-jniwas given.2075 # Check whether --enable-jni was given. 1526 2076 if test "${enable_jni+set}" = set; then 1527 enableval="$enable_jni" 1528 ENABLE_JNI=$enableval 2077 enableval=$enable_jni; ENABLE_JNI=$enableval 1529 2078 else 1530 2079 ENABLE_JNI=no 1531 fi; 2080 fi 2081 1532 2082 if test $ENABLE_JAVA = "1" -a \( $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" \) ; then 1533 2083 ENABLE_JNI=1 1534 2084 cat >>confdefs.h <<\_ACEOF 1535 #define ENABLE_JNI 2085 #define ENABLE_JNI /**/ 1536 2086 _ACEOF 1537 2087 … … 1541 2091 1542 2092 1543 # Check whether --enable-mg or --disable-mgwas given.2093 # Check whether --enable-mg was given. 1544 2094 if test "${enable_mg+set}" = set; then 1545 enableval="$enable_mg" 1546 ENABLE_MG=$enableval 2095 enableval=$enable_mg; ENABLE_MG=$enableval 1547 2096 else 1548 2097 ENABLE_MG=yes 1549 fi; 2098 fi 2099 1550 2100 if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then 1551 2101 ENABLE_MG=1 1552 2102 cat >>confdefs.h <<\_ACEOF 1553 #define ENABLE_MG 2103 #define ENABLE_MG /**/ 1554 2104 _ACEOF 1555 2105 … … 1559 2109 1560 2110 1561 # Check whether --enable-mgpp or --disable-mgppwas given.2111 # Check whether --enable-mgpp was given. 1562 2112 if test "${enable_mgpp+set}" = set; then 1563 enableval="$enable_mgpp" 1564 ENABLE_MGPP=$enableval 2113 enableval=$enable_mgpp; ENABLE_MGPP=$enableval 1565 2114 else 1566 2115 ENABLE_MGPP=yes 1567 fi; 2116 fi 2117 1568 2118 if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then 1569 2119 ENABLE_MGPP=1 1570 2120 cat >>confdefs.h <<\_ACEOF 1571 #define ENABLE_MGPP 2121 #define ENABLE_MGPP /**/ 1572 2122 _ACEOF 1573 2123 … … 1577 2127 1578 2128 1579 # Check whether --enable-lucene or --disable-lucenewas given.2129 # Check whether --enable-lucene was given. 1580 2130 if test "${enable_lucene+set}" = set; then 1581 enableval="$enable_lucene" 1582 ENABLE_LUCENE=$enableval 2131 enableval=$enable_lucene; ENABLE_LUCENE=$enableval 1583 2132 else 1584 2133 ENABLE_LUCENE=yes 1585 fi; 2134 fi 2135 1586 2136 if test $ENABLE_JAVA = "1" -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then 1587 2137 ENABLE_LUCENE=1 1588 2138 cat >>confdefs.h <<\_ACEOF 1589 #define ENABLE_LUCENE 2139 #define ENABLE_LUCENE /**/ 1590 2140 _ACEOF 1591 2141 … … 1612 2162 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1613 2163 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1614 echo "$as_me:$LINENO: checking for $ac_word" >&51615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2164 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2165 $as_echo_n "checking for $ac_word... " >&6; } 1616 2166 if test "${ac_cv_prog_CC+set}" = set; then 1617 echo $ECHO_N "(cached) $ECHO_C" >&62167 $as_echo_n "(cached) " >&6 1618 2168 else 1619 2169 if test -n "$CC"; then … … 1626 2176 test -z "$as_dir" && as_dir=. 1627 2177 for ac_exec_ext in '' $ac_executable_extensions; do 1628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1629 2179 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52180 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1631 2181 break 2 1632 2182 fi 1633 2183 done 1634 2184 done 2185 IFS=$as_save_IFS 1635 2186 1636 2187 fi … … 1638 2189 CC=$ac_cv_prog_CC 1639 2190 if test -n "$CC"; then 1640 echo "$as_me:$LINENO: result: $CC" >&5 1641 echo "${ECHO_T}$CC" >&6 1642 else 1643 echo "$as_me:$LINENO: result: no" >&5 1644 echo "${ECHO_T}no" >&6 1645 fi 2191 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2192 $as_echo "$CC" >&6; } 2193 else 2194 { $as_echo "$as_me:$LINENO: result: no" >&5 2195 $as_echo "no" >&6; } 2196 fi 2197 1646 2198 1647 2199 fi … … 1650 2202 # Extract the first word of "gcc", so it can be a program name with args. 1651 2203 set dummy gcc; ac_word=$2 1652 echo "$as_me:$LINENO: checking for $ac_word" >&51653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2204 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2205 $as_echo_n "checking for $ac_word... " >&6; } 1654 2206 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1655 echo $ECHO_N "(cached) $ECHO_C" >&62207 $as_echo_n "(cached) " >&6 1656 2208 else 1657 2209 if test -n "$ac_ct_CC"; then … … 1664 2216 test -z "$as_dir" && as_dir=. 1665 2217 for ac_exec_ext in '' $ac_executable_extensions; do 1666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1667 2219 ac_cv_prog_ac_ct_CC="gcc" 1668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52220 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1669 2221 break 2 1670 2222 fi 1671 2223 done 1672 2224 done 2225 IFS=$as_save_IFS 1673 2226 1674 2227 fi … … 1676 2229 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1677 2230 if test -n "$ac_ct_CC"; then 1678 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1679 echo "${ECHO_T}$ac_ct_CC" >&6 1680 else 1681 echo "$as_me:$LINENO: result: no" >&5 1682 echo "${ECHO_T}no" >&6 1683 fi 1684 1685 CC=$ac_ct_CC 2231 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2232 $as_echo "$ac_ct_CC" >&6; } 2233 else 2234 { $as_echo "$as_me:$LINENO: result: no" >&5 2235 $as_echo "no" >&6; } 2236 fi 2237 2238 if test "x$ac_ct_CC" = x; then 2239 CC="" 2240 else 2241 case $cross_compiling:$ac_tool_warned in 2242 yes:) 2243 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2245 ac_tool_warned=yes ;; 2246 esac 2247 CC=$ac_ct_CC 2248 fi 1686 2249 else 1687 2250 CC="$ac_cv_prog_CC" … … 1689 2252 1690 2253 if test -z "$CC"; then 1691 if test -n "$ac_tool_prefix"; then1692 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2254 if test -n "$ac_tool_prefix"; then 2255 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1693 2256 set dummy ${ac_tool_prefix}cc; ac_word=$2 1694 echo "$as_me:$LINENO: checking for $ac_word" >&51695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2257 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2258 $as_echo_n "checking for $ac_word... " >&6; } 1696 2259 if test "${ac_cv_prog_CC+set}" = set; then 1697 echo $ECHO_N "(cached) $ECHO_C" >&62260 $as_echo_n "(cached) " >&6 1698 2261 else 1699 2262 if test -n "$CC"; then … … 1706 2269 test -z "$as_dir" && as_dir=. 1707 2270 for ac_exec_ext in '' $ac_executable_extensions; do 1708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1709 2272 ac_cv_prog_CC="${ac_tool_prefix}cc" 1710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52273 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1711 2274 break 2 1712 2275 fi 1713 2276 done 1714 2277 done 2278 IFS=$as_save_IFS 1715 2279 1716 2280 fi … … 1718 2282 CC=$ac_cv_prog_CC 1719 2283 if test -n "$CC"; then 1720 echo "$as_me:$LINENO: result: $CC" >&5 1721 echo "${ECHO_T}$CC" >&6 1722 else 1723 echo "$as_me:$LINENO: result: no" >&5 1724 echo "${ECHO_T}no" >&6 1725 fi 1726 1727 fi 1728 if test -z "$ac_cv_prog_CC"; then 1729 ac_ct_CC=$CC 1730 # Extract the first word of "cc", so it can be a program name with args. 1731 set dummy cc; ac_word=$2 1732 echo "$as_me:$LINENO: checking for $ac_word" >&5 1733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1734 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1735 echo $ECHO_N "(cached) $ECHO_C" >&6 1736 else 1737 if test -n "$ac_ct_CC"; then 1738 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1739 else 1740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1741 for as_dir in $PATH 1742 do 1743 IFS=$as_save_IFS 1744 test -z "$as_dir" && as_dir=. 1745 for ac_exec_ext in '' $ac_executable_extensions; do 1746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1747 ac_cv_prog_ac_ct_CC="cc" 1748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1749 break 2 2284 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2285 $as_echo "$CC" >&6; } 2286 else 2287 { $as_echo "$as_me:$LINENO: result: no" >&5 2288 $as_echo "no" >&6; } 2289 fi 2290 2291 1750 2292 fi 1751 done1752 done1753 1754 fi1755 fi1756 ac_ct_CC=$ac_cv_prog_ac_ct_CC1757 if test -n "$ac_ct_CC"; then1758 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51759 echo "${ECHO_T}$ac_ct_CC" >&61760 else1761 echo "$as_me:$LINENO: result: no" >&51762 echo "${ECHO_T}no" >&61763 fi1764 1765 CC=$ac_ct_CC1766 else1767 CC="$ac_cv_prog_CC"1768 fi1769 1770 2293 fi 1771 2294 if test -z "$CC"; then 1772 2295 # Extract the first word of "cc", so it can be a program name with args. 1773 2296 set dummy cc; ac_word=$2 1774 echo "$as_me:$LINENO: checking for $ac_word" >&51775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2297 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2298 $as_echo_n "checking for $ac_word... " >&6; } 1776 2299 if test "${ac_cv_prog_CC+set}" = set; then 1777 echo $ECHO_N "(cached) $ECHO_C" >&62300 $as_echo_n "(cached) " >&6 1778 2301 else 1779 2302 if test -n "$CC"; then … … 1787 2310 test -z "$as_dir" && as_dir=. 1788 2311 for ac_exec_ext in '' $ac_executable_extensions; do 1789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1790 2313 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1791 2314 ac_prog_rejected=yes … … 1793 2316 fi 1794 2317 ac_cv_prog_CC="cc" 1795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52318 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1796 2319 break 2 1797 2320 fi 1798 2321 done 1799 2322 done 2323 IFS=$as_save_IFS 1800 2324 1801 2325 if test $ac_prog_rejected = yes; then … … 1815 2339 CC=$ac_cv_prog_CC 1816 2340 if test -n "$CC"; then 1817 echo "$as_me:$LINENO: result: $CC" >&5 1818 echo "${ECHO_T}$CC" >&6 1819 else 1820 echo "$as_me:$LINENO: result: no" >&5 1821 echo "${ECHO_T}no" >&6 1822 fi 2341 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2342 $as_echo "$CC" >&6; } 2343 else 2344 { $as_echo "$as_me:$LINENO: result: no" >&5 2345 $as_echo "no" >&6; } 2346 fi 2347 1823 2348 1824 2349 fi 1825 2350 if test -z "$CC"; then 1826 2351 if test -n "$ac_tool_prefix"; then 1827 for ac_prog in cl 2352 for ac_prog in cl.exe 1828 2353 do 1829 2354 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1830 2355 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1831 echo "$as_me:$LINENO: checking for $ac_word" >&51832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2356 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2357 $as_echo_n "checking for $ac_word... " >&6; } 1833 2358 if test "${ac_cv_prog_CC+set}" = set; then 1834 echo $ECHO_N "(cached) $ECHO_C" >&62359 $as_echo_n "(cached) " >&6 1835 2360 else 1836 2361 if test -n "$CC"; then … … 1843 2368 test -z "$as_dir" && as_dir=. 1844 2369 for ac_exec_ext in '' $ac_executable_extensions; do 1845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1846 2371 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52372 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1848 2373 break 2 1849 2374 fi 1850 2375 done 1851 2376 done 2377 IFS=$as_save_IFS 1852 2378 1853 2379 fi … … 1855 2381 CC=$ac_cv_prog_CC 1856 2382 if test -n "$CC"; then 1857 echo "$as_me:$LINENO: result: $CC" >&5 1858 echo "${ECHO_T}$CC" >&6 1859 else 1860 echo "$as_me:$LINENO: result: no" >&5 1861 echo "${ECHO_T}no" >&6 1862 fi 2383 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2384 $as_echo "$CC" >&6; } 2385 else 2386 { $as_echo "$as_me:$LINENO: result: no" >&5 2387 $as_echo "no" >&6; } 2388 fi 2389 1863 2390 1864 2391 test -n "$CC" && break … … 1867 2394 if test -z "$CC"; then 1868 2395 ac_ct_CC=$CC 1869 for ac_prog in cl 2396 for ac_prog in cl.exe 1870 2397 do 1871 2398 # Extract the first word of "$ac_prog", so it can be a program name with args. 1872 2399 set dummy $ac_prog; ac_word=$2 1873 echo "$as_me:$LINENO: checking for $ac_word" >&51874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2400 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2401 $as_echo_n "checking for $ac_word... " >&6; } 1875 2402 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1876 echo $ECHO_N "(cached) $ECHO_C" >&62403 $as_echo_n "(cached) " >&6 1877 2404 else 1878 2405 if test -n "$ac_ct_CC"; then … … 1885 2412 test -z "$as_dir" && as_dir=. 1886 2413 for ac_exec_ext in '' $ac_executable_extensions; do 1887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1888 2415 ac_cv_prog_ac_ct_CC="$ac_prog" 1889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52416 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1890 2417 break 2 1891 2418 fi 1892 2419 done 1893 2420 done 2421 IFS=$as_save_IFS 1894 2422 1895 2423 fi … … 1897 2425 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1898 2426 if test -n "$ac_ct_CC"; then 1899 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1900 echo "${ECHO_T}$ac_ct_CC" >&6 1901 else 1902 echo "$as_me:$LINENO: result: no" >&5 1903 echo "${ECHO_T}no" >&6 1904 fi 2427 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2428 $as_echo "$ac_ct_CC" >&6; } 2429 else 2430 { $as_echo "$as_me:$LINENO: result: no" >&5 2431 $as_echo "no" >&6; } 2432 fi 2433 1905 2434 1906 2435 test -n "$ac_ct_CC" && break 1907 2436 done 1908 2437 1909 CC=$ac_ct_CC 1910 fi 1911 1912 fi 1913 1914 1915 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2438 if test "x$ac_ct_CC" = x; then 2439 CC="" 2440 else 2441 case $cross_compiling:$ac_tool_warned in 2442 yes:) 2443 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2445 ac_tool_warned=yes ;; 2446 esac 2447 CC=$ac_ct_CC 2448 fi 2449 fi 2450 2451 fi 2452 2453 2454 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2456 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1916 2457 See \`config.log' for more details." >&5 1917 echo "$as_me: error: no acceptable C compiler found in \$PATH2458 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 1918 2459 See \`config.log' for more details." >&2;} 1919 { (exit 1); exit 1; }; } 2460 { (exit 1); exit 1; }; }; } 1920 2461 1921 2462 # Provide some information about the compiler. 1922 echo "$as_me:$LINENO:" \ 1923 "checking for C compiler version" >&5 1924 ac_compiler=`set X $ac_compile; echo $2` 1925 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1926 (eval $ac_compiler --version </dev/null >&5) 2>&5 2463 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2464 set X $ac_compile 2465 ac_compiler=$2 2466 { (ac_try="$ac_compiler --version >&5" 2467 case "(($ac_try" in 2468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2469 *) ac_try_echo=$ac_try;; 2470 esac 2471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2472 $as_echo "$ac_try_echo") >&5 2473 (eval "$ac_compiler --version >&5") 2>&5 1927 2474 ac_status=$? 1928 echo "$as_me:$LINENO: \$? = $ac_status" >&52475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1929 2476 (exit $ac_status); } 1930 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1931 (eval $ac_compiler -v </dev/null >&5) 2>&5 2477 { (ac_try="$ac_compiler -v >&5" 2478 case "(($ac_try" in 2479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2480 *) ac_try_echo=$ac_try;; 2481 esac 2482 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2483 $as_echo "$ac_try_echo") >&5 2484 (eval "$ac_compiler -v >&5") 2>&5 1932 2485 ac_status=$? 1933 echo "$as_me:$LINENO: \$? = $ac_status" >&52486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1934 2487 (exit $ac_status); } 1935 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1936 (eval $ac_compiler -V </dev/null >&5) 2>&5 2488 { (ac_try="$ac_compiler -V >&5" 2489 case "(($ac_try" in 2490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2491 *) ac_try_echo=$ac_try;; 2492 esac 2493 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2494 $as_echo "$ac_try_echo") >&5 2495 (eval "$ac_compiler -V >&5") 2>&5 1937 2496 ac_status=$? 1938 echo "$as_me:$LINENO: \$? = $ac_status" >&52497 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1939 2498 (exit $ac_status); } 1940 2499 … … 1955 2514 _ACEOF 1956 2515 ac_clean_files_save=$ac_clean_files 1957 ac_clean_files="$ac_clean_files a.out a. exe b.out"2516 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 1958 2517 # Try to create an executable without -o first, disregard a.out. 1959 2518 # It will help us diagnose broken compilers, and finding out an intuition 1960 2519 # of exeext. 1961 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1962 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1963 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1964 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1965 (eval $ac_link_default) 2>&5 2520 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2521 $as_echo_n "checking for C compiler default output file name... " >&6; } 2522 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2523 2524 # The possible output files: 2525 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2526 2527 ac_rmfiles= 2528 for ac_file in $ac_files 2529 do 2530 case $ac_file in 2531 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2532 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2533 esac 2534 done 2535 rm -f $ac_rmfiles 2536 2537 if { (ac_try="$ac_link_default" 2538 case "(($ac_try" in 2539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2540 *) ac_try_echo=$ac_try;; 2541 esac 2542 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2543 $as_echo "$ac_try_echo") >&5 2544 (eval "$ac_link_default") 2>&5 1966 2545 ac_status=$? 1967 echo "$as_me:$LINENO: \$? = $ac_status" >&52546 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1968 2547 (exit $ac_status); }; then 1969 # Find the output, starting from the most likely. This scheme is 1970 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1971 # resort. 1972 1973 # Be careful to initialize this variable, since it used to be cached. 1974 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1975 ac_cv_exeext= 1976 # b.out is created by i960 compilers. 1977 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2548 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2549 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2550 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2551 # so that the user can short-circuit this test for compilers unknown to 2552 # Autoconf. 2553 for ac_file in $ac_files '' 1978 2554 do 1979 2555 test -f "$ac_file" || continue 1980 2556 case $ac_file in 1981 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1982 ;; 1983 conftest.$ac_ext ) 1984 # This is the source file. 2557 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 1985 2558 ;; 1986 2559 [ab].out ) … … 1989 2562 break;; 1990 2563 *.* ) 1991 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1992 # FIXME: I believe we export ac_cv_exeext for Libtool, 1993 # but it would be cool to find out if it's true. Does anybody 1994 # maintain Libtool? --akim. 1995 export ac_cv_exeext 2564 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2565 then :; else 2566 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2567 fi 2568 # We set ac_cv_exeext here because the later test for it is not 2569 # safe: cross compilers may not add the suffix if given an `-o' 2570 # argument, so we may need to know it at that point already. 2571 # Even if this section looks crufty: it has the advantage of 2572 # actually working. 1996 2573 break;; 1997 2574 * ) … … 1999 2576 esac 2000 2577 done 2001 else 2002 echo "$as_me: failed program was:" >&5 2578 test "$ac_cv_exeext" = no && ac_cv_exeext= 2579 2580 else 2581 ac_file='' 2582 fi 2583 2584 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2585 $as_echo "$ac_file" >&6; } 2586 if test -z "$ac_file"; then 2587 $as_echo "$as_me: failed program was:" >&5 2003 2588 sed 's/^/| /' conftest.$ac_ext >&5 2004 2589 2005 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2590 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2592 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2006 2593 See \`config.log' for more details." >&5 2007 echo "$as_me: error: C compiler cannot create executables2594 $as_echo "$as_me: error: C compiler cannot create executables 2008 2595 See \`config.log' for more details." >&2;} 2009 { (exit 77); exit 77; }; } 2596 { (exit 77); exit 77; }; }; } 2010 2597 fi 2011 2598 2012 2599 ac_exeext=$ac_cv_exeext 2013 echo "$as_me:$LINENO: result: $ac_file" >&5 2014 echo "${ECHO_T}$ac_file" >&6 2015 2016 # Check the compiler produces executables we can run. If not, either 2600 2601 # Check that the compiler produces executables we can run. If not, either 2017 2602 # the compiler is broken, or we cross compile. 2018 echo "$as_me:$LINENO: checking whether the C compiler works" >&52019 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2603 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2604 $as_echo_n "checking whether the C compiler works... " >&6; } 2020 2605 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2021 2606 # If not cross compiling, check that we can run a simple program. 2022 2607 if test "$cross_compiling" != yes; then 2023 2608 if { ac_try='./$ac_file' 2024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2025 (eval $ac_try) 2>&5 2609 { (case "(($ac_try" in 2610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2611 *) ac_try_echo=$ac_try;; 2612 esac 2613 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2614 $as_echo "$ac_try_echo") >&5 2615 (eval "$ac_try") 2>&5 2026 2616 ac_status=$? 2027 echo "$as_me:$LINENO: \$? = $ac_status" >&52617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2028 2618 (exit $ac_status); }; }; then 2029 2619 cross_compiling=no … … 2032 2622 cross_compiling=yes 2033 2623 else 2034 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2624 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2626 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2035 2627 If you meant to cross compile, use \`--host'. 2036 2628 See \`config.log' for more details." >&5 2037 echo "$as_me: error: cannot run C compiled programs.2629 $as_echo "$as_me: error: cannot run C compiled programs. 2038 2630 If you meant to cross compile, use \`--host'. 2039 2631 See \`config.log' for more details." >&2;} 2040 { (exit 1); exit 1; }; } 2632 { (exit 1); exit 1; }; }; } 2041 2633 fi 2042 2634 fi 2043 2635 fi 2044 echo "$as_me:$LINENO: result: yes" >&52045 echo "${ECHO_T}yes" >&6 2046 2047 rm -f a.outa.exe conftest$ac_cv_exeext b.out2636 { $as_echo "$as_me:$LINENO: result: yes" >&5 2637 $as_echo "yes" >&6; } 2638 2639 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2048 2640 ac_clean_files=$ac_clean_files_save 2049 # Check th e compiler produces executables we can run. If not, either2641 # Check that the compiler produces executables we can run. If not, either 2050 2642 # the compiler is broken, or we cross compile. 2051 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2052 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2053 echo "$as_me:$LINENO: result: $cross_compiling" >&5 2054 echo "${ECHO_T}$cross_compiling" >&6 2055 2056 echo "$as_me:$LINENO: checking for suffix of executables" >&5 2057 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2059 (eval $ac_link) 2>&5 2643 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2644 $as_echo_n "checking whether we are cross compiling... " >&6; } 2645 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2646 $as_echo "$cross_compiling" >&6; } 2647 2648 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2649 $as_echo_n "checking for suffix of executables... " >&6; } 2650 if { (ac_try="$ac_link" 2651 case "(($ac_try" in 2652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2653 *) ac_try_echo=$ac_try;; 2654 esac 2655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2656 $as_echo "$ac_try_echo") >&5 2657 (eval "$ac_link") 2>&5 2060 2658 ac_status=$? 2061 echo "$as_me:$LINENO: \$? = $ac_status" >&52659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2062 2660 (exit $ac_status); }; then 2063 2661 # If both `conftest.exe' and `conftest' are `present' (well, observable) … … 2068 2666 test -f "$ac_file" || continue 2069 2667 case $ac_file in 2070 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2668 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2071 2669 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2072 export ac_cv_exeext2073 2670 break;; 2074 2671 * ) break;; … … 2076 2673 done 2077 2674 else 2078 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2675 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2677 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2079 2678 See \`config.log' for more details." >&5 2080 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link2679 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2081 2680 See \`config.log' for more details." >&2;} 2082 { (exit 1); exit 1; }; } 2681 { (exit 1); exit 1; }; }; } 2083 2682 fi 2084 2683 2085 2684 rm -f conftest$ac_cv_exeext 2086 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52087 echo "${ECHO_T}$ac_cv_exeext" >&6 2685 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2686 $as_echo "$ac_cv_exeext" >&6; } 2088 2687 2089 2688 rm -f conftest.$ac_ext 2090 2689 EXEEXT=$ac_cv_exeext 2091 2690 ac_exeext=$EXEEXT 2092 echo "$as_me:$LINENO: checking for suffix of object files" >&52093 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2691 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2692 $as_echo_n "checking for suffix of object files... " >&6; } 2094 2693 if test "${ac_cv_objext+set}" = set; then 2095 echo $ECHO_N "(cached) $ECHO_C" >&62694 $as_echo_n "(cached) " >&6 2096 2695 else 2097 2696 cat >conftest.$ac_ext <<_ACEOF … … 2111 2710 _ACEOF 2112 2711 rm -f conftest.o conftest.obj 2113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2114 (eval $ac_compile) 2>&5 2712 if { (ac_try="$ac_compile" 2713 case "(($ac_try" in 2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2715 *) ac_try_echo=$ac_try;; 2716 esac 2717 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2718 $as_echo "$ac_try_echo") >&5 2719 (eval "$ac_compile") 2>&5 2115 2720 ac_status=$? 2116 echo "$as_me:$LINENO: \$? = $ac_status" >&52721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2117 2722 (exit $ac_status); }; then 2118 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2723 for ac_file in conftest.o conftest.obj conftest.*; do 2724 test -f "$ac_file" || continue; 2119 2725 case $ac_file in 2120 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2726 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2121 2727 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2122 2728 break;; … … 2124 2730 done 2125 2731 else 2126 echo "$as_me: failed program was:" >&52732 $as_echo "$as_me: failed program was:" >&5 2127 2733 sed 's/^/| /' conftest.$ac_ext >&5 2128 2734 2129 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2735 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2736 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2737 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2130 2738 See \`config.log' for more details." >&5 2131 echo "$as_me: error: cannot compute suffix of object files: cannot compile2739 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2132 2740 See \`config.log' for more details." >&2;} 2133 { (exit 1); exit 1; }; } 2741 { (exit 1); exit 1; }; }; } 2134 2742 fi 2135 2743 2136 2744 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2137 2745 fi 2138 echo "$as_me:$LINENO: result: $ac_cv_objext" >&52139 echo "${ECHO_T}$ac_cv_objext" >&6 2746 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2747 $as_echo "$ac_cv_objext" >&6; } 2140 2748 OBJEXT=$ac_cv_objext 2141 2749 ac_objext=$OBJEXT 2142 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52143 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2750 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2751 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2144 2752 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2145 echo $ECHO_N "(cached) $ECHO_C" >&62753 $as_echo_n "(cached) " >&6 2146 2754 else 2147 2755 cat >conftest.$ac_ext <<_ACEOF … … 2164 2772 _ACEOF 2165 2773 rm -f conftest.$ac_objext 2166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2167 (eval $ac_compile) 2>conftest.er1 2774 if { (ac_try="$ac_compile" 2775 case "(($ac_try" in 2776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2777 *) ac_try_echo=$ac_try;; 2778 esac 2779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2780 $as_echo "$ac_try_echo") >&5 2781 (eval "$ac_compile") 2>conftest.er1 2168 2782 ac_status=$? 2169 2783 grep -v '^ *+' conftest.er1 >conftest.err 2170 2784 rm -f conftest.er1 2171 2785 cat conftest.err >&5 2172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2173 (exit $ac_status); } && 2174 { ac_try='test -z "$ac_c_werror_flag" 2175 || test ! -s conftest.err' 2176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2177 (eval $ac_try) 2>&5 2178 ac_status=$? 2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2180 (exit $ac_status); }; } && 2181 { ac_try='test -s conftest.$ac_objext' 2182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2183 (eval $ac_try) 2>&5 2184 ac_status=$? 2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2186 (exit $ac_status); }; }; then 2786 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2787 (exit $ac_status); } && { 2788 test -z "$ac_c_werror_flag" || 2789 test ! -s conftest.err 2790 } && test -s conftest.$ac_objext; then 2187 2791 ac_compiler_gnu=yes 2188 2792 else 2189 echo "$as_me: failed program was:" >&52793 $as_echo "$as_me: failed program was:" >&5 2190 2794 sed 's/^/| /' conftest.$ac_ext >&5 2191 2795 2192 ac_compiler_gnu=no 2193 fi 2194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2796 ac_compiler_gnu=no 2797 fi 2798 2799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2195 2800 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2196 2801 2197 2802 fi 2198 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2199 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2200 GCC=`test $ac_compiler_gnu = yes && echo yes` 2803 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2804 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2805 if test $ac_compiler_gnu = yes; then 2806 GCC=yes 2807 else 2808 GCC= 2809 fi 2201 2810 ac_test_CFLAGS=${CFLAGS+set} 2202 2811 ac_save_CFLAGS=$CFLAGS 2203 CFLAGS="-g" 2204 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2205 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2812 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2813 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2206 2814 if test "${ac_cv_prog_cc_g+set}" = set; then 2207 echo $ECHO_N "(cached) $ECHO_C" >&6 2208 else 2209 cat >conftest.$ac_ext <<_ACEOF 2815 $as_echo_n "(cached) " >&6 2816 else 2817 ac_save_c_werror_flag=$ac_c_werror_flag 2818 ac_c_werror_flag=yes 2819 ac_cv_prog_cc_g=no 2820 CFLAGS="-g" 2821 cat >conftest.$ac_ext <<_ACEOF 2210 2822 /* confdefs.h. */ 2211 2823 _ACEOF … … 2223 2835 _ACEOF 2224 2836 rm -f conftest.$ac_objext 2225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2226 (eval $ac_compile) 2>conftest.er1 2837 if { (ac_try="$ac_compile" 2838 case "(($ac_try" in 2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2840 *) ac_try_echo=$ac_try;; 2841 esac 2842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2843 $as_echo "$ac_try_echo") >&5 2844 (eval "$ac_compile") 2>conftest.er1 2227 2845 ac_status=$? 2228 2846 grep -v '^ *+' conftest.er1 >conftest.err 2229 2847 rm -f conftest.er1 2230 2848 cat conftest.err >&5 2231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2232 (exit $ac_status); } && 2233 { ac_try='test -z "$ac_c_werror_flag" 2234 || test ! -s conftest.err' 2235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2236 (eval $ac_try) 2>&5 2849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2850 (exit $ac_status); } && { 2851 test -z "$ac_c_werror_flag" || 2852 test ! -s conftest.err 2853 } && test -s conftest.$ac_objext; then 2854 ac_cv_prog_cc_g=yes 2855 else 2856 $as_echo "$as_me: failed program was:" >&5 2857 sed 's/^/| /' conftest.$ac_ext >&5 2858 2859 CFLAGS="" 2860 cat >conftest.$ac_ext <<_ACEOF 2861 /* confdefs.h. */ 2862 _ACEOF 2863 cat confdefs.h >>conftest.$ac_ext 2864 cat >>conftest.$ac_ext <<_ACEOF 2865 /* end confdefs.h. */ 2866 2867 int 2868 main () 2869 { 2870 2871 ; 2872 return 0; 2873 } 2874 _ACEOF 2875 rm -f conftest.$ac_objext 2876 if { (ac_try="$ac_compile" 2877 case "(($ac_try" in 2878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2879 *) ac_try_echo=$ac_try;; 2880 esac 2881 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2882 $as_echo "$ac_try_echo") >&5 2883 (eval "$ac_compile") 2>conftest.er1 2237 2884 ac_status=$? 2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2239 (exit $ac_status); }; } && 2240 { ac_try='test -s conftest.$ac_objext' 2241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2242 (eval $ac_try) 2>&5 2885 grep -v '^ *+' conftest.er1 >conftest.err 2886 rm -f conftest.er1 2887 cat conftest.err >&5 2888 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2889 (exit $ac_status); } && { 2890 test -z "$ac_c_werror_flag" || 2891 test ! -s conftest.err 2892 } && test -s conftest.$ac_objext; then 2893 : 2894 else 2895 $as_echo "$as_me: failed program was:" >&5 2896 sed 's/^/| /' conftest.$ac_ext >&5 2897 2898 ac_c_werror_flag=$ac_save_c_werror_flag 2899 CFLAGS="-g" 2900 cat >conftest.$ac_ext <<_ACEOF 2901 /* confdefs.h. */ 2902 _ACEOF 2903 cat confdefs.h >>conftest.$ac_ext 2904 cat >>conftest.$ac_ext <<_ACEOF 2905 /* end confdefs.h. */ 2906 2907 int 2908 main () 2909 { 2910 2911 ; 2912 return 0; 2913 } 2914 _ACEOF 2915 rm -f conftest.$ac_objext 2916 if { (ac_try="$ac_compile" 2917 case "(($ac_try" in 2918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2919 *) ac_try_echo=$ac_try;; 2920 esac 2921 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2922 $as_echo "$ac_try_echo") >&5 2923 (eval "$ac_compile") 2>conftest.er1 2243 2924 ac_status=$? 2244 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2245 (exit $ac_status); }; }; then 2925 grep -v '^ *+' conftest.er1 >conftest.err 2926 rm -f conftest.er1 2927 cat conftest.err >&5 2928 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2929 (exit $ac_status); } && { 2930 test -z "$ac_c_werror_flag" || 2931 test ! -s conftest.err 2932 } && test -s conftest.$ac_objext; then 2246 2933 ac_cv_prog_cc_g=yes 2247 2934 else 2248 echo "$as_me: failed program was:" >&52935 $as_echo "$as_me: failed program was:" >&5 2249 2936 sed 's/^/| /' conftest.$ac_ext >&5 2250 2937 2251 ac_cv_prog_cc_g=no 2252 fi 2253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2254 fi 2255 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2256 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2938 2939 fi 2940 2941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2942 fi 2943 2944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2945 fi 2946 2947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2948 ac_c_werror_flag=$ac_save_c_werror_flag 2949 fi 2950 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2951 $as_echo "$ac_cv_prog_cc_g" >&6; } 2257 2952 if test "$ac_test_CFLAGS" = set; then 2258 2953 CFLAGS=$ac_save_CFLAGS … … 2270 2965 fi 2271 2966 fi 2272 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52273 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2274 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2275 echo $ECHO_N "(cached) $ECHO_C" >&62276 else 2277 ac_cv_prog_cc_ stdc=no2967 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2968 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2969 if test "${ac_cv_prog_cc_c89+set}" = set; then 2970 $as_echo_n "(cached) " >&6 2971 else 2972 ac_cv_prog_cc_c89=no 2278 2973 ac_save_CC=$CC 2279 2974 cat >conftest.$ac_ext <<_ACEOF … … 2309 3004 function prototypes and stuff, but not '\xHH' hex character constants. 2310 3005 These don't provoke an error unfortunately, instead are silently treated 2311 as 'x'. The following induces an error, until -std 1is added to get3006 as 'x'. The following induces an error, until -std is added to get 2312 3007 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2313 3008 array size at least. It's necessary to write '\x00'==0 to get something 2314 that's true only with -std 1. */3009 that's true only with -std. */ 2315 3010 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3011 3012 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3013 inside strings and character constants. */ 3014 #define FOO(x) 'x' 3015 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2316 3016 2317 3017 int test (int i, double x); … … 2329 3029 } 2330 3030 _ACEOF 2331 # Don't try gcc -ansi; that turns off useful extensions and 2332 # breaks some systems' header files. 2333 # AIX -qlanglvl=ansi 2334 # Ultrix and OSF/1 -std1 2335 # HP-UX 10.20 and later -Ae 2336 # HP-UX older versions -Aa -D_HPUX_SOURCE 2337 # SVR4 -Xc -D__EXTENSIONS__ 2338 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3031 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3032 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2339 3033 do 2340 3034 CC="$ac_save_CC $ac_arg" 2341 3035 rm -f conftest.$ac_objext 2342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2343 (eval $ac_compile) 2>conftest.er1 3036 if { (ac_try="$ac_compile" 3037 case "(($ac_try" in 3038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3039 *) ac_try_echo=$ac_try;; 3040 esac 3041 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3042 $as_echo "$ac_try_echo") >&5 3043 (eval "$ac_compile") 2>conftest.er1 2344 3044 ac_status=$? 2345 3045 grep -v '^ *+' conftest.er1 >conftest.err 2346 3046 rm -f conftest.er1 2347 3047 cat conftest.err >&5 2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2349 (exit $ac_status); } && 2350 { ac_try='test -z "$ac_c_werror_flag" 2351 || test ! -s conftest.err' 2352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2353 (eval $ac_try) 2>&5 2354 ac_status=$? 2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2356 (exit $ac_status); }; } && 2357 { ac_try='test -s conftest.$ac_objext' 2358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2359 (eval $ac_try) 2>&5 2360 ac_status=$? 2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2362 (exit $ac_status); }; }; then 2363 ac_cv_prog_cc_stdc=$ac_arg 2364 break 2365 else 2366 echo "$as_me: failed program was:" >&5 3048 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3049 (exit $ac_status); } && { 3050 test -z "$ac_c_werror_flag" || 3051 test ! -s conftest.err 3052 } && test -s conftest.$ac_objext; then 3053 ac_cv_prog_cc_c89=$ac_arg 3054 else 3055 $as_echo "$as_me: failed program was:" >&5 2367 3056 sed 's/^/| /' conftest.$ac_ext >&5 2368 3057 2369 fi 2370 rm -f conftest.err conftest.$ac_objext 3058 3059 fi 3060 3061 rm -f core conftest.err conftest.$ac_objext 3062 test "x$ac_cv_prog_cc_c89" != "xno" && break 2371 3063 done 2372 rm -f conftest.$ac_ext conftest.$ac_objext3064 rm -f conftest.$ac_ext 2373 3065 CC=$ac_save_CC 2374 3066 2375 3067 fi 2376 2377 case "x$ac_cv_prog_cc_stdc" in 2378 x|xno) 2379 echo "$as_me:$LINENO: result: none needed" >&5 2380 echo "${ECHO_T}none needed" >&6 ;; 3068 # AC_CACHE_VAL 3069 case "x$ac_cv_prog_cc_c89" in 3070 x) 3071 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3072 $as_echo "none needed" >&6; } ;; 3073 xno) 3074 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3075 $as_echo "unsupported" >&6; } ;; 2381 3076 *) 2382 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2383 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2384 CC="$CC $ac_cv_prog_cc_stdc" ;; 2385 esac 2386 2387 # Some people use a C++ compiler to compile C. Since we use `exit', 2388 # in C++ we need to declare it. In case someone uses the same compiler 2389 # for both compiling C and C++ we need to have the C++ compiler decide 2390 # the declaration of exit, since it's the most demanding environment. 2391 cat >conftest.$ac_ext <<_ACEOF 2392 #ifndef __cplusplus 2393 choke me 2394 #endif 2395 _ACEOF 2396 rm -f conftest.$ac_objext 2397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2398 (eval $ac_compile) 2>conftest.er1 2399 ac_status=$? 2400 grep -v '^ *+' conftest.er1 >conftest.err 2401 rm -f conftest.er1 2402 cat conftest.err >&5 2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2404 (exit $ac_status); } && 2405 { ac_try='test -z "$ac_c_werror_flag" 2406 || test ! -s conftest.err' 2407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2408 (eval $ac_try) 2>&5 2409 ac_status=$? 2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2411 (exit $ac_status); }; } && 2412 { ac_try='test -s conftest.$ac_objext' 2413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2414 (eval $ac_try) 2>&5 2415 ac_status=$? 2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2417 (exit $ac_status); }; }; then 2418 for ac_declaration in \ 2419 '' \ 2420 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2421 'extern "C" void std::exit (int); using std::exit;' \ 2422 'extern "C" void exit (int) throw ();' \ 2423 'extern "C" void exit (int);' \ 2424 'void exit (int);' 2425 do 2426 cat >conftest.$ac_ext <<_ACEOF 2427 /* confdefs.h. */ 2428 _ACEOF 2429 cat confdefs.h >>conftest.$ac_ext 2430 cat >>conftest.$ac_ext <<_ACEOF 2431 /* end confdefs.h. */ 2432 $ac_declaration 2433 #include <stdlib.h> 2434 int 2435 main () 2436 { 2437 exit (42); 2438 ; 2439 return 0; 2440 } 2441 _ACEOF 2442 rm -f conftest.$ac_objext 2443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2444 (eval $ac_compile) 2>conftest.er1 2445 ac_status=$? 2446 grep -v '^ *+' conftest.er1 >conftest.err 2447 rm -f conftest.er1 2448 cat conftest.err >&5 2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2450 (exit $ac_status); } && 2451 { ac_try='test -z "$ac_c_werror_flag" 2452 || test ! -s conftest.err' 2453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2454 (eval $ac_try) 2>&5 2455 ac_status=$? 2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2457 (exit $ac_status); }; } && 2458 { ac_try='test -s conftest.$ac_objext' 2459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2460 (eval $ac_try) 2>&5 2461 ac_status=$? 2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2463 (exit $ac_status); }; }; then 2464 : 2465 else 2466 echo "$as_me: failed program was:" >&5 2467 sed 's/^/| /' conftest.$ac_ext >&5 2468 2469 continue 2470 fi 2471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2472 cat >conftest.$ac_ext <<_ACEOF 2473 /* confdefs.h. */ 2474 _ACEOF 2475 cat confdefs.h >>conftest.$ac_ext 2476 cat >>conftest.$ac_ext <<_ACEOF 2477 /* end confdefs.h. */ 2478 $ac_declaration 2479 int 2480 main () 2481 { 2482 exit (42); 2483 ; 2484 return 0; 2485 } 2486 _ACEOF 2487 rm -f conftest.$ac_objext 2488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2489 (eval $ac_compile) 2>conftest.er1 2490 ac_status=$? 2491 grep -v '^ *+' conftest.er1 >conftest.err 2492 rm -f conftest.er1 2493 cat conftest.err >&5 2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2495 (exit $ac_status); } && 2496 { ac_try='test -z "$ac_c_werror_flag" 2497 || test ! -s conftest.err' 2498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2499 (eval $ac_try) 2>&5 2500 ac_status=$? 2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2502 (exit $ac_status); }; } && 2503 { ac_try='test -s conftest.$ac_objext' 2504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2505 (eval $ac_try) 2>&5 2506 ac_status=$? 2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2508 (exit $ac_status); }; }; then 2509 break 2510 else 2511 echo "$as_me: failed program was:" >&5 2512 sed 's/^/| /' conftest.$ac_ext >&5 2513 2514 fi 2515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2516 done 2517 rm -f conftest* 2518 if test -n "$ac_declaration"; then 2519 echo '#ifdef __cplusplus' >>confdefs.h 2520 echo $ac_declaration >>confdefs.h 2521 echo '#endif' >>confdefs.h 2522 fi 2523 2524 else 2525 echo "$as_me: failed program was:" >&5 2526 sed 's/^/| /' conftest.$ac_ext >&5 2527 2528 fi 2529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3077 CC="$CC $ac_cv_prog_cc_c89" 3078 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3079 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3080 esac 3081 3082 2530 3083 ac_ext=c 2531 3084 ac_cpp='$CPP $CPPFLAGS' … … 2534 3087 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2535 3088 2536 ac_ext=c c3089 ac_ext=cpp 2537 3090 ac_cpp='$CXXCPP $CPPFLAGS' 2538 3091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2539 3092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2540 3093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2541 if test -n "$ac_tool_prefix"; then 2542 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 3094 if test -z "$CXX"; then 3095 if test -n "$CCC"; then 3096 CXX=$CCC 3097 else 3098 if test -n "$ac_tool_prefix"; then 3099 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2543 3100 do 2544 3101 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2545 3102 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2546 echo "$as_me:$LINENO: checking for $ac_word" >&52547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3103 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3104 $as_echo_n "checking for $ac_word... " >&6; } 2548 3105 if test "${ac_cv_prog_CXX+set}" = set; then 2549 echo $ECHO_N "(cached) $ECHO_C" >&63106 $as_echo_n "(cached) " >&6 2550 3107 else 2551 3108 if test -n "$CXX"; then … … 2558 3115 test -z "$as_dir" && as_dir=. 2559 3116 for ac_exec_ext in '' $ac_executable_extensions; do 2560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2561 3118 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53119 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2563 3120 break 2 2564 3121 fi 2565 3122 done 2566 3123 done 3124 IFS=$as_save_IFS 2567 3125 2568 3126 fi … … 2570 3128 CXX=$ac_cv_prog_CXX 2571 3129 if test -n "$CXX"; then 2572 echo "$as_me:$LINENO: result: $CXX" >&5 2573 echo "${ECHO_T}$CXX" >&6 2574 else 2575 echo "$as_me:$LINENO: result: no" >&5 2576 echo "${ECHO_T}no" >&6 2577 fi 3130 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 3131 $as_echo "$CXX" >&6; } 3132 else 3133 { $as_echo "$as_me:$LINENO: result: no" >&5 3134 $as_echo "no" >&6; } 3135 fi 3136 2578 3137 2579 3138 test -n "$CXX" && break … … 2582 3141 if test -z "$CXX"; then 2583 3142 ac_ct_CXX=$CXX 2584 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ clFCC KCC RCC xlC_r xlC3143 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2585 3144 do 2586 3145 # Extract the first word of "$ac_prog", so it can be a program name with args. 2587 3146 set dummy $ac_prog; ac_word=$2 2588 echo "$as_me:$LINENO: checking for $ac_word" >&52589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3147 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3148 $as_echo_n "checking for $ac_word... " >&6; } 2590 3149 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2591 echo $ECHO_N "(cached) $ECHO_C" >&63150 $as_echo_n "(cached) " >&6 2592 3151 else 2593 3152 if test -n "$ac_ct_CXX"; then … … 2600 3159 test -z "$as_dir" && as_dir=. 2601 3160 for ac_exec_ext in '' $ac_executable_extensions; do 2602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2603 3162 ac_cv_prog_ac_ct_CXX="$ac_prog" 2604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53163 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2605 3164 break 2 2606 3165 fi 2607 3166 done 2608 3167 done 3168 IFS=$as_save_IFS 2609 3169 2610 3170 fi … … 2612 3172 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2613 3173 if test -n "$ac_ct_CXX"; then 2614 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2615 echo "${ECHO_T}$ac_ct_CXX" >&6 2616 else 2617 echo "$as_me:$LINENO: result: no" >&5 2618 echo "${ECHO_T}no" >&6 2619 fi 3174 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 3175 $as_echo "$ac_ct_CXX" >&6; } 3176 else 3177 { $as_echo "$as_me:$LINENO: result: no" >&5 3178 $as_echo "no" >&6; } 3179 fi 3180 2620 3181 2621 3182 test -n "$ac_ct_CXX" && break 2622 3183 done 2623 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2624 2625 CXX=$ac_ct_CXX 2626 fi 2627 2628 3184 3185 if test "x$ac_ct_CXX" = x; then 3186 CXX="g++" 3187 else 3188 case $cross_compiling:$ac_tool_warned in 3189 yes:) 3190 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3192 ac_tool_warned=yes ;; 3193 esac 3194 CXX=$ac_ct_CXX 3195 fi 3196 fi 3197 3198 fi 3199 fi 2629 3200 # Provide some information about the compiler. 2630 echo "$as_me:$LINENO:" \ 2631 "checking for C++ compiler version" >&5 2632 ac_compiler=`set X $ac_compile; echo $2` 2633 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2634 (eval $ac_compiler --version </dev/null >&5) 2>&5 3201 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3202 set X $ac_compile 3203 ac_compiler=$2 3204 { (ac_try="$ac_compiler --version >&5" 3205 case "(($ac_try" in 3206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3207 *) ac_try_echo=$ac_try;; 3208 esac 3209 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3210 $as_echo "$ac_try_echo") >&5 3211 (eval "$ac_compiler --version >&5") 2>&5 2635 3212 ac_status=$? 2636 echo "$as_me:$LINENO: \$? = $ac_status" >&53213 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2637 3214 (exit $ac_status); } 2638 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2639 (eval $ac_compiler -v </dev/null >&5) 2>&5 3215 { (ac_try="$ac_compiler -v >&5" 3216 case "(($ac_try" in 3217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3218 *) ac_try_echo=$ac_try;; 3219 esac 3220 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3221 $as_echo "$ac_try_echo") >&5 3222 (eval "$ac_compiler -v >&5") 2>&5 2640 3223 ac_status=$? 2641 echo "$as_me:$LINENO: \$? = $ac_status" >&53224 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2642 3225 (exit $ac_status); } 2643 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2644 (eval $ac_compiler -V </dev/null >&5) 2>&5 3226 { (ac_try="$ac_compiler -V >&5" 3227 case "(($ac_try" in 3228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3229 *) ac_try_echo=$ac_try;; 3230 esac 3231 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3232 $as_echo "$ac_try_echo") >&5 3233 (eval "$ac_compiler -V >&5") 2>&5 2645 3234 ac_status=$? 2646 echo "$as_me:$LINENO: \$? = $ac_status" >&53235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2647 3236 (exit $ac_status); } 2648 3237 2649 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&52650 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 3238 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3239 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 2651 3240 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2652 echo $ECHO_N "(cached) $ECHO_C" >&63241 $as_echo_n "(cached) " >&6 2653 3242 else 2654 3243 cat >conftest.$ac_ext <<_ACEOF … … 2671 3260 _ACEOF 2672 3261 rm -f conftest.$ac_objext 2673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2674 (eval $ac_compile) 2>conftest.er1 3262 if { (ac_try="$ac_compile" 3263 case "(($ac_try" in 3264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3265 *) ac_try_echo=$ac_try;; 3266 esac 3267 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3268 $as_echo "$ac_try_echo") >&5 3269 (eval "$ac_compile") 2>conftest.er1 2675 3270 ac_status=$? 2676 3271 grep -v '^ *+' conftest.er1 >conftest.err 2677 3272 rm -f conftest.er1 2678 3273 cat conftest.err >&5 2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2680 (exit $ac_status); } && 2681 { ac_try='test -z "$ac_cxx_werror_flag" 2682 || test ! -s conftest.err' 2683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2684 (eval $ac_try) 2>&5 2685 ac_status=$? 2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2687 (exit $ac_status); }; } && 2688 { ac_try='test -s conftest.$ac_objext' 2689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2690 (eval $ac_try) 2>&5 2691 ac_status=$? 2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2693 (exit $ac_status); }; }; then 3274 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3275 (exit $ac_status); } && { 3276 test -z "$ac_cxx_werror_flag" || 3277 test ! -s conftest.err 3278 } && test -s conftest.$ac_objext; then 2694 3279 ac_compiler_gnu=yes 2695 3280 else 2696 echo "$as_me: failed program was:" >&53281 $as_echo "$as_me: failed program was:" >&5 2697 3282 sed 's/^/| /' conftest.$ac_ext >&5 2698 3283 2699 ac_compiler_gnu=no 2700 fi 2701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3284 ac_compiler_gnu=no 3285 fi 3286 3287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2702 3288 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2703 3289 2704 3290 fi 2705 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2706 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2707 GXX=`test $ac_compiler_gnu = yes && echo yes` 3291 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3292 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3293 if test $ac_compiler_gnu = yes; then 3294 GXX=yes 3295 else 3296 GXX= 3297 fi 2708 3298 ac_test_CXXFLAGS=${CXXFLAGS+set} 2709 3299 ac_save_CXXFLAGS=$CXXFLAGS 2710 CXXFLAGS="-g" 2711 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2712 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 3300 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3301 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 2713 3302 if test "${ac_cv_prog_cxx_g+set}" = set; then 2714 echo $ECHO_N "(cached) $ECHO_C" >&6 2715 else 2716 cat >conftest.$ac_ext <<_ACEOF 3303 $as_echo_n "(cached) " >&6 3304 else 3305 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3306 ac_cxx_werror_flag=yes 3307 ac_cv_prog_cxx_g=no 3308 CXXFLAGS="-g" 3309 cat >conftest.$ac_ext <<_ACEOF 2717 3310 /* confdefs.h. */ 2718 3311 _ACEOF … … 2730 3323 _ACEOF 2731 3324 rm -f conftest.$ac_objext 2732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2733 (eval $ac_compile) 2>conftest.er1 3325 if { (ac_try="$ac_compile" 3326 case "(($ac_try" in 3327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3328 *) ac_try_echo=$ac_try;; 3329 esac 3330 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3331 $as_echo "$ac_try_echo") >&5 3332 (eval "$ac_compile") 2>conftest.er1 2734 3333 ac_status=$? 2735 3334 grep -v '^ *+' conftest.er1 >conftest.err 2736 3335 rm -f conftest.er1 2737 3336 cat conftest.err >&5 2738 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2739 (exit $ac_status); } && 2740 { ac_try='test -z "$ac_cxx_werror_flag" 2741 || test ! -s conftest.err' 2742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2743 (eval $ac_try) 2>&5 3337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3338 (exit $ac_status); } && { 3339 test -z "$ac_cxx_werror_flag" || 3340 test ! -s conftest.err 3341 } && test -s conftest.$ac_objext; then 3342 ac_cv_prog_cxx_g=yes 3343 else 3344 $as_echo "$as_me: failed program was:" >&5 3345 sed 's/^/| /' conftest.$ac_ext >&5 3346 3347 CXXFLAGS="" 3348 cat >conftest.$ac_ext <<_ACEOF 3349 /* confdefs.h. */ 3350 _ACEOF 3351 cat confdefs.h >>conftest.$ac_ext 3352 cat >>conftest.$ac_ext <<_ACEOF 3353 /* end confdefs.h. */ 3354 3355 int 3356 main () 3357 { 3358 3359 ; 3360 return 0; 3361 } 3362 _ACEOF 3363 rm -f conftest.$ac_objext 3364 if { (ac_try="$ac_compile" 3365 case "(($ac_try" in 3366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3367 *) ac_try_echo=$ac_try;; 3368 esac 3369 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3370 $as_echo "$ac_try_echo") >&5 3371 (eval "$ac_compile") 2>conftest.er1 2744 3372 ac_status=$? 2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2746 (exit $ac_status); }; } && 2747 { ac_try='test -s conftest.$ac_objext' 2748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2749 (eval $ac_try) 2>&5 3373 grep -v '^ *+' conftest.er1 >conftest.err 3374 rm -f conftest.er1 3375 cat conftest.err >&5 3376 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3377 (exit $ac_status); } && { 3378 test -z "$ac_cxx_werror_flag" || 3379 test ! -s conftest.err 3380 } && test -s conftest.$ac_objext; then 3381 : 3382 else 3383 $as_echo "$as_me: failed program was:" >&5 3384 sed 's/^/| /' conftest.$ac_ext >&5 3385 3386 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3387 CXXFLAGS="-g" 3388 cat >conftest.$ac_ext <<_ACEOF 3389 /* confdefs.h. */ 3390 _ACEOF 3391 cat confdefs.h >>conftest.$ac_ext 3392 cat >>conftest.$ac_ext <<_ACEOF 3393 /* end confdefs.h. */ 3394 3395 int 3396 main () 3397 { 3398 3399 ; 3400 return 0; 3401 } 3402 _ACEOF 3403 rm -f conftest.$ac_objext 3404 if { (ac_try="$ac_compile" 3405 case "(($ac_try" in 3406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3407 *) ac_try_echo=$ac_try;; 3408 esac 3409 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3410 $as_echo "$ac_try_echo") >&5 3411 (eval "$ac_compile") 2>conftest.er1 2750 3412 ac_status=$? 2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2752 (exit $ac_status); }; }; then 3413 grep -v '^ *+' conftest.er1 >conftest.err 3414 rm -f conftest.er1 3415 cat conftest.err >&5 3416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3417 (exit $ac_status); } && { 3418 test -z "$ac_cxx_werror_flag" || 3419 test ! -s conftest.err 3420 } && test -s conftest.$ac_objext; then 2753 3421 ac_cv_prog_cxx_g=yes 2754 3422 else 2755 echo "$as_me: failed program was:" >&53423 $as_echo "$as_me: failed program was:" >&5 2756 3424 sed 's/^/| /' conftest.$ac_ext >&5 2757 3425 2758 ac_cv_prog_cxx_g=no 2759 fi 2760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2761 fi 2762 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2763 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3426 3427 fi 3428 3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3430 fi 3431 3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3433 fi 3434 3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3436 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3437 fi 3438 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3439 $as_echo "$ac_cv_prog_cxx_g" >&6; } 2764 3440 if test "$ac_test_CXXFLAGS" = set; then 2765 3441 CXXFLAGS=$ac_save_CXXFLAGS … … 2777 3453 fi 2778 3454 fi 2779 for ac_declaration in \2780 '' \2781 'extern "C" void std::exit (int) throw (); using std::exit;' \2782 'extern "C" void std::exit (int); using std::exit;' \2783 'extern "C" void exit (int) throw ();' \2784 'extern "C" void exit (int);' \2785 'void exit (int);'2786 do2787 cat >conftest.$ac_ext <<_ACEOF2788 /* confdefs.h. */2789 _ACEOF2790 cat confdefs.h >>conftest.$ac_ext2791 cat >>conftest.$ac_ext <<_ACEOF2792 /* end confdefs.h. */2793 $ac_declaration2794 #include <stdlib.h>2795 int2796 main ()2797 {2798 exit (42);2799 ;2800 return 0;2801 }2802 _ACEOF2803 rm -f conftest.$ac_objext2804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52805 (eval $ac_compile) 2>conftest.er12806 ac_status=$?2807 grep -v '^ *+' conftest.er1 >conftest.err2808 rm -f conftest.er12809 cat conftest.err >&52810 echo "$as_me:$LINENO: \$? = $ac_status" >&52811 (exit $ac_status); } &&2812 { ac_try='test -z "$ac_cxx_werror_flag"2813 || test ! -s conftest.err'2814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52815 (eval $ac_try) 2>&52816 ac_status=$?2817 echo "$as_me:$LINENO: \$? = $ac_status" >&52818 (exit $ac_status); }; } &&2819 { ac_try='test -s conftest.$ac_objext'2820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52821 (eval $ac_try) 2>&52822 ac_status=$?2823 echo "$as_me:$LINENO: \$? = $ac_status" >&52824 (exit $ac_status); }; }; then2825 :2826 else2827 echo "$as_me: failed program was:" >&52828 sed 's/^/| /' conftest.$ac_ext >&52829 2830 continue2831 fi2832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2833 cat >conftest.$ac_ext <<_ACEOF2834 /* confdefs.h. */2835 _ACEOF2836 cat confdefs.h >>conftest.$ac_ext2837 cat >>conftest.$ac_ext <<_ACEOF2838 /* end confdefs.h. */2839 $ac_declaration2840 int2841 main ()2842 {2843 exit (42);2844 ;2845 return 0;2846 }2847 _ACEOF2848 rm -f conftest.$ac_objext2849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52850 (eval $ac_compile) 2>conftest.er12851 ac_status=$?2852 grep -v '^ *+' conftest.er1 >conftest.err2853 rm -f conftest.er12854 cat conftest.err >&52855 echo "$as_me:$LINENO: \$? = $ac_status" >&52856 (exit $ac_status); } &&2857 { ac_try='test -z "$ac_cxx_werror_flag"2858 || test ! -s conftest.err'2859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52860 (eval $ac_try) 2>&52861 ac_status=$?2862 echo "$as_me:$LINENO: \$? = $ac_status" >&52863 (exit $ac_status); }; } &&2864 { ac_try='test -s conftest.$ac_objext'2865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52866 (eval $ac_try) 2>&52867 ac_status=$?2868 echo "$as_me:$LINENO: \$? = $ac_status" >&52869 (exit $ac_status); }; }; then2870 break2871 else2872 echo "$as_me: failed program was:" >&52873 sed 's/^/| /' conftest.$ac_ext >&52874 2875 fi2876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2877 done2878 rm -f conftest*2879 if test -n "$ac_declaration"; then2880 echo '#ifdef __cplusplus' >>confdefs.h2881 echo $ac_declaration >>confdefs.h2882 echo '#endif' >>confdefs.h2883 fi2884 2885 3455 ac_ext=c 2886 3456 ac_cpp='$CPP $CPPFLAGS' … … 2898 3468 # Extract the first word of "$ac_prog", so it can be a program name with args. 2899 3469 set dummy $ac_prog; ac_word=$2 2900 echo "$as_me:$LINENO: checking for $ac_word" >&52901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3470 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3471 $as_echo_n "checking for $ac_word... " >&6; } 2902 3472 if test "${ac_cv_prog_JAVA+set}" = set; then 2903 echo $ECHO_N "(cached) $ECHO_C" >&63473 $as_echo_n "(cached) " >&6 2904 3474 else 2905 3475 if test -n "$JAVA"; then … … 2912 3482 test -z "$as_dir" && as_dir=. 2913 3483 for ac_exec_ext in '' $ac_executable_extensions; do 2914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2915 3485 ac_cv_prog_JAVA="$ac_prog" 2916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53486 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2917 3487 break 2 2918 3488 fi 2919 3489 done 2920 3490 done 3491 IFS=$as_save_IFS 2921 3492 2922 3493 fi … … 2924 3495 JAVA=$ac_cv_prog_JAVA 2925 3496 if test -n "$JAVA"; then 2926 echo "$as_me:$LINENO: result: $JAVA" >&5 2927 echo "${ECHO_T}$JAVA" >&6 2928 else 2929 echo "$as_me:$LINENO: result: no" >&5 2930 echo "${ECHO_T}no" >&6 2931 fi 3497 { $as_echo "$as_me:$LINENO: result: $JAVA" >&5 3498 $as_echo "$JAVA" >&6; } 3499 else 3500 { $as_echo "$as_me:$LINENO: result: no" >&5 3501 $as_echo "no" >&6; } 3502 fi 3503 2932 3504 2933 3505 test -n "$JAVA" && break … … 2939 3511 # Extract the first word of "$ac_prog", so it can be a program name with args. 2940 3512 set dummy $ac_prog; ac_word=$2 2941 echo "$as_me:$LINENO: checking for $ac_word" >&52942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3513 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3514 $as_echo_n "checking for $ac_word... " >&6; } 2943 3515 if test "${ac_cv_prog_JAVA+set}" = set; then 2944 echo $ECHO_N "(cached) $ECHO_C" >&63516 $as_echo_n "(cached) " >&6 2945 3517 else 2946 3518 if test -n "$JAVA"; then … … 2953 3525 test -z "$as_dir" && as_dir=. 2954 3526 for ac_exec_ext in '' $ac_executable_extensions; do 2955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2956 3528 ac_cv_prog_JAVA="$ac_prog" 2957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53529 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2958 3530 break 2 2959 3531 fi 2960 3532 done 2961 3533 done 3534 IFS=$as_save_IFS 2962 3535 2963 3536 fi … … 2965 3538 JAVA=$ac_cv_prog_JAVA 2966 3539 if test -n "$JAVA"; then 2967 echo "$as_me:$LINENO: result: $JAVA" >&5 2968 echo "${ECHO_T}$JAVA" >&6 2969 else 2970 echo "$as_me:$LINENO: result: no" >&5 2971 echo "${ECHO_T}no" >&6 2972 fi 3540 { $as_echo "$as_me:$LINENO: result: $JAVA" >&5 3541 $as_echo "$JAVA" >&6; } 3542 else 3543 { $as_echo "$as_me:$LINENO: result: no" >&5 3544 $as_echo "no" >&6; } 3545 fi 3546 2973 3547 2974 3548 test -n "$JAVA" && break … … 2977 3551 2978 3552 fi 2979 test x$JAVA = x && { { echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&52980 echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;}3553 test x$JAVA = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5 3554 $as_echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;} 2981 3555 { (exit 1); exit 1; }; } 2982 3556 fi … … 2985 3559 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args. 2986 3560 set dummy uudecode$EXEEXT; ac_word=$2 2987 echo "$as_me:$LINENO: checking for $ac_word" >&52988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3561 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3562 $as_echo_n "checking for $ac_word... " >&6; } 2989 3563 if test "${ac_cv_prog_uudecode+set}" = set; then 2990 echo $ECHO_N "(cached) $ECHO_C" >&63564 $as_echo_n "(cached) " >&6 2991 3565 else 2992 3566 if test -n "$uudecode"; then … … 2999 3573 test -z "$as_dir" && as_dir=. 3000 3574 for ac_exec_ext in '' $ac_executable_extensions; do 3001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3002 3576 ac_cv_prog_uudecode="yes" 3003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53577 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3004 3578 break 2 3005 3579 fi 3006 3580 done 3007 3581 done 3582 IFS=$as_save_IFS 3008 3583 3009 3584 fi … … 3011 3586 uudecode=$ac_cv_prog_uudecode 3012 3587 if test -n "$uudecode"; then 3013 echo "$as_me:$LINENO: result: $uudecode" >&5 3014 echo "${ECHO_T}$uudecode" >&6 3015 else 3016 echo "$as_me:$LINENO: result: no" >&5 3017 echo "${ECHO_T}no" >&6 3018 fi 3588 { $as_echo "$as_me:$LINENO: result: $uudecode" >&5 3589 $as_echo "$uudecode" >&6; } 3590 else 3591 { $as_echo "$as_me:$LINENO: result: no" >&5 3592 $as_echo "no" >&6; } 3593 fi 3594 3019 3595 3020 3596 if test x$uudecode = xyes; then 3021 echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&53022 echo $ECHO_N "checking if uudecode can decode base 64 file... $ECHO_C" >&6 3597 { $as_echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5 3598 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; } 3023 3599 if test "${ac_cv_prog_uudecode_base64+set}" = set; then 3024 echo $ECHO_N "(cached) $ECHO_C" >&63600 $as_echo_n "(cached) " >&6 3025 3601 else 3026 3602 … … 3039 3615 ac_cv_prog_uudecode_base64=yes 3040 3616 else 3041 echo "configure: 3 041: uudecode had trouble decoding base 64 file 'Test.uue'" >&53617 echo "configure: 3617: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 3042 3618 echo "configure: failed file was:" >&5 3043 3619 cat Test.uue >&5 … … 3046 3622 rm -f Test.uue 3047 3623 fi 3048 echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&53049 echo "${ECHO_T}$ac_cv_prog_uudecode_base64" >&6 3624 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5 3625 $as_echo "$ac_cv_prog_uudecode_base64" >&6; } 3050 3626 fi 3051 3627 if test x$ac_cv_prog_uudecode_base64 != xyes; then 3052 3628 rm -f Test.class 3053 { echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&53054 echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}3629 { $as_echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5 3630 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;} 3055 3631 if test x$ac_cv_prog_javac_works = xno; then 3056 { { echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&53057 echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;}3632 { { $as_echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5 3633 $as_echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;} 3058 3634 { (exit 1); exit 1; }; } 3059 3635 fi … … 3066 3642 # Extract the first word of "$ac_prog", so it can be a program name with args. 3067 3643 set dummy $ac_prog; ac_word=$2 3068 echo "$as_me:$LINENO: checking for $ac_word" >&53069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3644 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3645 $as_echo_n "checking for $ac_word... " >&6; } 3070 3646 if test "${ac_cv_prog_JAVAC+set}" = set; then 3071 echo $ECHO_N "(cached) $ECHO_C" >&63647 $as_echo_n "(cached) " >&6 3072 3648 else 3073 3649 if test -n "$JAVAC"; then … … 3080 3656 test -z "$as_dir" && as_dir=. 3081 3657 for ac_exec_ext in '' $ac_executable_extensions; do 3082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3083 3659 ac_cv_prog_JAVAC="$ac_prog" 3084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53660 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3085 3661 break 2 3086 3662 fi 3087 3663 done 3088 3664 done 3665 IFS=$as_save_IFS 3089 3666 3090 3667 fi … … 3092 3669 JAVAC=$ac_cv_prog_JAVAC 3093 3670 if test -n "$JAVAC"; then 3094 echo "$as_me:$LINENO: result: $JAVAC" >&5 3095 echo "${ECHO_T}$JAVAC" >&6 3096 else 3097 echo "$as_me:$LINENO: result: no" >&5 3098 echo "${ECHO_T}no" >&6 3099 fi 3671 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3672 $as_echo "$JAVAC" >&6; } 3673 else 3674 { $as_echo "$as_me:$LINENO: result: no" >&5 3675 $as_echo "no" >&6; } 3676 fi 3677 3100 3678 3101 3679 test -n "$JAVAC" && break … … 3107 3685 # Extract the first word of "$ac_prog", so it can be a program name with args. 3108 3686 set dummy $ac_prog; ac_word=$2 3109 echo "$as_me:$LINENO: checking for $ac_word" >&53110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3687 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3688 $as_echo_n "checking for $ac_word... " >&6; } 3111 3689 if test "${ac_cv_prog_JAVAC+set}" = set; then 3112 echo $ECHO_N "(cached) $ECHO_C" >&63690 $as_echo_n "(cached) " >&6 3113 3691 else 3114 3692 if test -n "$JAVAC"; then … … 3121 3699 test -z "$as_dir" && as_dir=. 3122 3700 for ac_exec_ext in '' $ac_executable_extensions; do 3123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3124 3702 ac_cv_prog_JAVAC="$ac_prog" 3125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53703 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3126 3704 break 2 3127 3705 fi 3128 3706 done 3129 3707 done 3708 IFS=$as_save_IFS 3130 3709 3131 3710 fi … … 3133 3712 JAVAC=$ac_cv_prog_JAVAC 3134 3713 if test -n "$JAVAC"; then 3135 echo "$as_me:$LINENO: result: $JAVAC" >&5 3136 echo "${ECHO_T}$JAVAC" >&6 3137 else 3138 echo "$as_me:$LINENO: result: no" >&5 3139 echo "${ECHO_T}no" >&6 3140 fi 3714 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3715 $as_echo "$JAVAC" >&6; } 3716 else 3717 { $as_echo "$as_me:$LINENO: result: no" >&5 3718 $as_echo "no" >&6; } 3719 fi 3720 3141 3721 3142 3722 test -n "$JAVAC" && break … … 3145 3725 3146 3726 fi 3147 test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&53148 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}3727 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3728 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 3149 3729 { (exit 1); exit 1; }; } 3150 3730 else … … 3153 3733 3154 3734 3155 echo "$as_me:$LINENO: checking if $JAVAC works" >&53156 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6 3735 { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5 3736 $as_echo_n "checking if $JAVAC works... " >&6; } 3157 3737 if test "${ac_cv_prog_javac_works+set}" = set; then 3158 echo $ECHO_N "(cached) $ECHO_C" >&63738 $as_echo_n "(cached) " >&6 3159 3739 else 3160 3740 … … 3162 3742 CLASS_TEST=Test.class 3163 3743 cat << \EOF > $JAVA_TEST 3164 /* #line 3 164 "configure" */3744 /* #line 3744 "configure" */ 3165 3745 public class Test { 3166 3746 } … … 3170 3750 (eval $ac_try) 2>&5 3171 3751 ac_status=$? 3172 echo "$as_me:$LINENO: \$? = $ac_status" >&53752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3173 3753 (exit $ac_status); }; } >/dev/null 2>&1; then 3174 3754 ac_cv_prog_javac_works=yes 3175 3755 else 3176 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&53177 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}3756 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3757 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3178 3758 { (exit 1); exit 1; }; } 3179 3759 echo "configure: failed program was:" >&5 … … 3183 3763 3184 3764 fi 3185 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&53186 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6 3765 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 3766 $as_echo "$ac_cv_prog_javac_works" >&6; } 3187 3767 if test "x$JAVACFLAGS" = x ; then 3188 3768 JAVACFLAGS="-source 1.4 -target 1.4" … … 3193 3773 fi 3194 3774 fi 3195 echo "$as_me:$LINENO: checking if $JAVA works" >&53196 echo $ECHO_N "checking if $JAVA works... $ECHO_C" >&6 3775 { $as_echo "$as_me:$LINENO: checking if $JAVA works" >&5 3776 $as_echo_n "checking if $JAVA works... " >&6; } 3197 3777 if test "${ac_cv_prog_java_works+set}" = set; then 3198 echo $ECHO_N "(cached) $ECHO_C" >&63778 $as_echo_n "(cached) " >&6 3199 3779 else 3200 3780 … … 3203 3783 TEST=Test 3204 3784 cat << \EOF > $JAVA_TEST 3205 /* [#]line 3 205 "configure" */3785 /* [#]line 3785 "configure" */ 3206 3786 public class Test { 3207 3787 public static void main (String args[]) { … … 3214 3794 (eval $ac_try) 2>&5 3215 3795 ac_status=$? 3216 echo "$as_me:$LINENO: \$? = $ac_status" >&53796 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3217 3797 (exit $ac_status); }; } && test -s $CLASS_TEST; then 3218 3798 : … … 3220 3800 echo "configure: failed program was:" >&5 3221 3801 cat $JAVA_TEST >&5 3222 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&53223 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}3802 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3803 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3224 3804 { (exit 1); exit 1; }; } 3225 3805 fi … … 3229 3809 (eval $ac_try) 2>&5 3230 3810 ac_status=$? 3231 echo "$as_me:$LINENO: \$? = $ac_status" >&53811 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3232 3812 (exit $ac_status); }; } >/dev/null 2>&1; then 3233 3813 ac_cv_prog_java_works=yes … … 3235 3815 echo "configure: failed program was:" >&5 3236 3816 cat $JAVA_TEST >&5 3237 { { echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&53238 echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;}3817 { { $as_echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5 3818 $as_echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;} 3239 3819 { (exit 1); exit 1; }; } 3240 3820 fi … … 3242 3822 3243 3823 fi 3244 echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&53245 echo "${ECHO_T}$ac_cv_prog_java_works" >&6 3824 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5 3825 $as_echo "$ac_cv_prog_java_works" >&6; } 3246 3826 3247 3827 … … 3254 3834 # Extract the first word of "$ac_prog", so it can be a program name with args. 3255 3835 set dummy $ac_prog; ac_word=$2 3256 echo "$as_me:$LINENO: checking for $ac_word" >&53257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3836 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3837 $as_echo_n "checking for $ac_word... " >&6; } 3258 3838 if test "${ac_cv_prog_JAVAC+set}" = set; then 3259 echo $ECHO_N "(cached) $ECHO_C" >&63839 $as_echo_n "(cached) " >&6 3260 3840 else 3261 3841 if test -n "$JAVAC"; then … … 3268 3848 test -z "$as_dir" && as_dir=. 3269 3849 for ac_exec_ext in '' $ac_executable_extensions; do 3270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3271 3851 ac_cv_prog_JAVAC="$ac_prog" 3272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53852 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3273 3853 break 2 3274 3854 fi 3275 3855 done 3276 3856 done 3857 IFS=$as_save_IFS 3277 3858 3278 3859 fi … … 3280 3861 JAVAC=$ac_cv_prog_JAVAC 3281 3862 if test -n "$JAVAC"; then 3282 echo "$as_me:$LINENO: result: $JAVAC" >&5 3283 echo "${ECHO_T}$JAVAC" >&6 3284 else 3285 echo "$as_me:$LINENO: result: no" >&5 3286 echo "${ECHO_T}no" >&6 3287 fi 3863 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3864 $as_echo "$JAVAC" >&6; } 3865 else 3866 { $as_echo "$as_me:$LINENO: result: no" >&5 3867 $as_echo "no" >&6; } 3868 fi 3869 3288 3870 3289 3871 test -n "$JAVAC" && break … … 3295 3877 # Extract the first word of "$ac_prog", so it can be a program name with args. 3296 3878 set dummy $ac_prog; ac_word=$2 3297 echo "$as_me:$LINENO: checking for $ac_word" >&53298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3879 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3880 $as_echo_n "checking for $ac_word... " >&6; } 3299 3881 if test "${ac_cv_prog_JAVAC+set}" = set; then 3300 echo $ECHO_N "(cached) $ECHO_C" >&63882 $as_echo_n "(cached) " >&6 3301 3883 else 3302 3884 if test -n "$JAVAC"; then … … 3309 3891 test -z "$as_dir" && as_dir=. 3310 3892 for ac_exec_ext in '' $ac_executable_extensions; do 3311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3312 3894 ac_cv_prog_JAVAC="$ac_prog" 3313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53895 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3314 3896 break 2 3315 3897 fi 3316 3898 done 3317 3899 done 3900 IFS=$as_save_IFS 3318 3901 3319 3902 fi … … 3321 3904 JAVAC=$ac_cv_prog_JAVAC 3322 3905 if test -n "$JAVAC"; then 3323 echo "$as_me:$LINENO: result: $JAVAC" >&5 3324 echo "${ECHO_T}$JAVAC" >&6 3325 else 3326 echo "$as_me:$LINENO: result: no" >&5 3327 echo "${ECHO_T}no" >&6 3328 fi 3906 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5 3907 $as_echo "$JAVAC" >&6; } 3908 else 3909 { $as_echo "$as_me:$LINENO: result: no" >&5 3910 $as_echo "no" >&6; } 3911 fi 3912 3329 3913 3330 3914 test -n "$JAVAC" && break … … 3333 3917 3334 3918 fi 3335 test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&53336 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}3919 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 3920 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} 3337 3921 { (exit 1); exit 1; }; } 3338 3922 else … … 3341 3925 3342 3926 3343 echo "$as_me:$LINENO: checking if $JAVAC works" >&53344 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6 3927 { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5 3928 $as_echo_n "checking if $JAVAC works... " >&6; } 3345 3929 if test "${ac_cv_prog_javac_works+set}" = set; then 3346 echo $ECHO_N "(cached) $ECHO_C" >&63930 $as_echo_n "(cached) " >&6 3347 3931 else 3348 3932 … … 3350 3934 CLASS_TEST=Test.class 3351 3935 cat << \EOF > $JAVA_TEST 3352 /* #line 3 352"configure" */3936 /* #line 3936 "configure" */ 3353 3937 public class Test { 3354 3938 } … … 3358 3942 (eval $ac_try) 2>&5 3359 3943 ac_status=$? 3360 echo "$as_me:$LINENO: \$? = $ac_status" >&53944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3361 3945 (exit $ac_status); }; } >/dev/null 2>&1; then 3362 3946 ac_cv_prog_javac_works=yes 3363 3947 else 3364 { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&53365 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}3948 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 3949 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 3366 3950 { (exit 1); exit 1; }; } 3367 3951 echo "configure: failed program was:" >&5 … … 3371 3955 3372 3956 fi 3373 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&53374 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6 3957 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 3958 $as_echo "$ac_cv_prog_javac_works" >&6; } 3375 3959 if test "x$JAVACFLAGS" = x ; then 3376 3960 JAVACFLAGS="-source 1.4 -target 1.4" … … 3384 3968 # Extract the first word of "$ac_prog", so it can be a program name with args. 3385 3969 set dummy $ac_prog; ac_word=$2 3386 echo "$as_me:$LINENO: checking for $ac_word" >&53387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3970 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3971 $as_echo_n "checking for $ac_word... " >&6; } 3388 3972 if test "${ac_cv_prog_AWK+set}" = set; then 3389 echo $ECHO_N "(cached) $ECHO_C" >&63973 $as_echo_n "(cached) " >&6 3390 3974 else 3391 3975 if test -n "$AWK"; then … … 3398 3982 test -z "$as_dir" && as_dir=. 3399 3983 for ac_exec_ext in '' $ac_executable_extensions; do 3400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3401 3985 ac_cv_prog_AWK="$ac_prog" 3402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53986 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3403 3987 break 2 3404 3988 fi 3405 3989 done 3406 3990 done 3991 IFS=$as_save_IFS 3407 3992 3408 3993 fi … … 3410 3995 AWK=$ac_cv_prog_AWK 3411 3996 if test -n "$AWK"; then 3412 echo "$as_me:$LINENO: result: $AWK" >&5 3413 echo "${ECHO_T}$AWK" >&6 3414 else 3415 echo "$as_me:$LINENO: result: no" >&5 3416 echo "${ECHO_T}no" >&6 3417 fi 3997 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 3998 $as_echo "$AWK" >&6; } 3999 else 4000 { $as_echo "$as_me:$LINENO: result: no" >&5 4001 $as_echo "no" >&6; } 4002 fi 4003 3418 4004 3419 4005 test -n "$AWK" && break … … 3424 4010 # Extract the first word of "$ac_prog", so it can be a program name with args. 3425 4011 set dummy $ac_prog; ac_word=$2 3426 echo "$as_me:$LINENO: checking for $ac_word" >&53427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4012 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4013 $as_echo_n "checking for $ac_word... " >&6; } 3428 4014 if test "${ac_cv_prog_YACC+set}" = set; then 3429 echo $ECHO_N "(cached) $ECHO_C" >&64015 $as_echo_n "(cached) " >&6 3430 4016 else 3431 4017 if test -n "$YACC"; then … … 3438 4024 test -z "$as_dir" && as_dir=. 3439 4025 for ac_exec_ext in '' $ac_executable_extensions; do 3440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3441 4027 ac_cv_prog_YACC="$ac_prog" 3442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54028 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3443 4029 break 2 3444 4030 fi 3445 4031 done 3446 4032 done 4033 IFS=$as_save_IFS 3447 4034 3448 4035 fi … … 3450 4037 YACC=$ac_cv_prog_YACC 3451 4038 if test -n "$YACC"; then 3452 echo "$as_me:$LINENO: result: $YACC" >&5 3453 echo "${ECHO_T}$YACC" >&6 3454 else 3455 echo "$as_me:$LINENO: result: no" >&5 3456 echo "${ECHO_T}no" >&6 3457 fi 4039 { $as_echo "$as_me:$LINENO: result: $YACC" >&5 4040 $as_echo "$YACC" >&6; } 4041 else 4042 { $as_echo "$as_me:$LINENO: result: no" >&5 4043 $as_echo "no" >&6; } 4044 fi 4045 3458 4046 3459 4047 test -n "$YACC" && break … … 3462 4050 3463 4051 ac_aux_dir= 3464 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do3465 if test -f $ac_dir/install-sh; then4052 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 4053 if test -f "$ac_dir/install-sh"; then 3466 4054 ac_aux_dir=$ac_dir 3467 4055 ac_install_sh="$ac_aux_dir/install-sh -c" 3468 4056 break 3469 elif test -f $ac_dir/install.sh; then4057 elif test -f "$ac_dir/install.sh"; then 3470 4058 ac_aux_dir=$ac_dir 3471 4059 ac_install_sh="$ac_aux_dir/install.sh -c" 3472 4060 break 3473 elif test -f $ac_dir/shtool; then4061 elif test -f "$ac_dir/shtool"; then 3474 4062 ac_aux_dir=$ac_dir 3475 4063 ac_install_sh="$ac_aux_dir/shtool install -c" … … 3478 4066 done 3479 4067 if test -z "$ac_aux_dir"; then 3480 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&53481 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}4068 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 4069 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 3482 4070 { (exit 1); exit 1; }; } 3483 4071 fi 3484 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 3485 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 3486 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 4072 4073 # These three variables are undocumented and unsupported, 4074 # and are intended to be withdrawn in a future Autoconf release. 4075 # They can cause serious problems if a builder's source tree is in a directory 4076 # whose full name contains unusual characters. 4077 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 4078 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 4079 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 4080 3487 4081 3488 4082 # Make sure we can run config.sub. 3489 $ ac_config_subsun4 >/dev/null 2>&1 ||3490 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&53491 echo "$as_me: error: cannot run $ac_config_sub" >&2;}4083 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4084 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 4085 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 3492 4086 { (exit 1); exit 1; }; } 3493 4087 3494 echo "$as_me:$LINENO: checking build system type" >&53495 echo $ECHO_N "checking build system type... $ECHO_C" >&6 4088 { $as_echo "$as_me:$LINENO: checking build system type" >&5 4089 $as_echo_n "checking build system type... " >&6; } 3496 4090 if test "${ac_cv_build+set}" = set; then 3497 echo $ECHO_N "(cached) $ECHO_C" >&63498 else 3499 ac_ cv_build_alias=$build_alias3500 test -z "$ac_cv_build_alias"&&3501 ac_ cv_build_alias=`$ac_config_guess`3502 test -z "$ac_cv_build_alias"&&3503 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&53504 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}4091 $as_echo_n "(cached) " >&6 4092 else 4093 ac_build_alias=$build_alias 4094 test "x$ac_build_alias" = x && 4095 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4096 test "x$ac_build_alias" = x && 4097 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 4098 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3505 4099 { (exit 1); exit 1; }; } 3506 ac_cv_build=`$ ac_config_sub $ac_cv_build_alias` ||3507 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&53508 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}4100 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4101 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 4102 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 3509 4103 { (exit 1); exit 1; }; } 3510 4104 3511 4105 fi 3512 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3513 echo "${ECHO_T}$ac_cv_build" >&6 4106 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 4107 $as_echo "$ac_cv_build" >&6; } 4108 case $ac_cv_build in 4109 *-*-*) ;; 4110 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 4111 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 4112 { (exit 1); exit 1; }; };; 4113 esac 3514 4114 build=$ac_cv_build 3515 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3516 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3517 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3518 3519 3520 echo "$as_me:$LINENO: checking host system type" >&5 3521 echo $ECHO_N "checking host system type... $ECHO_C" >&6 4115 ac_save_IFS=$IFS; IFS='-' 4116 set x $ac_cv_build 4117 shift 4118 build_cpu=$1 4119 build_vendor=$2 4120 shift; shift 4121 # Remember, the first character of IFS is used to create $*, 4122 # except with old shells: 4123 build_os=$* 4124 IFS=$ac_save_IFS 4125 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4126 4127 4128 { $as_echo "$as_me:$LINENO: checking host system type" >&5 4129 $as_echo_n "checking host system type... " >&6; } 3522 4130 if test "${ac_cv_host+set}" = set; then 3523 echo $ECHO_N "(cached) $ECHO_C" >&63524 else 3525 ac_cv_host_alias=$host_alias3526 test -z "$ac_cv_host_alias" && 3527 ac_cv_host_alias=$ac_cv_build_alias 3528 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||3529 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&53530 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}4131 $as_echo_n "(cached) " >&6 4132 else 4133 if test "x$host_alias" = x; then 4134 ac_cv_host=$ac_cv_build 4135 else 4136 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4137 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 4138 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 3531 4139 { (exit 1); exit 1; }; } 3532 3533 fi 3534 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3535 echo "${ECHO_T}$ac_cv_host" >&6 4140 fi 4141 4142 fi 4143 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 4144 $as_echo "$ac_cv_host" >&6; } 4145 case $ac_cv_host in 4146 *-*-*) ;; 4147 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 4148 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 4149 { (exit 1); exit 1; }; };; 4150 esac 3536 4151 host=$ac_cv_host 3537 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3538 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3539 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3540 3541 3542 echo "$as_me:$LINENO: checking target system type" >&5 3543 echo $ECHO_N "checking target system type... $ECHO_C" >&6 4152 ac_save_IFS=$IFS; IFS='-' 4153 set x $ac_cv_host 4154 shift 4155 host_cpu=$1 4156 host_vendor=$2 4157 shift; shift 4158 # Remember, the first character of IFS is used to create $*, 4159 # except with old shells: 4160 host_os=$* 4161 IFS=$ac_save_IFS 4162 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4163 4164 4165 { $as_echo "$as_me:$LINENO: checking target system type" >&5 4166 $as_echo_n "checking target system type... " >&6; } 3544 4167 if test "${ac_cv_target+set}" = set; then 3545 echo $ECHO_N "(cached) $ECHO_C" >&63546 else 3547 ac_cv_target_alias=$target_alias3548 test "x$ac_cv_target_alias" = "x" && 3549 ac_cv_target_alias=$ac_cv_host_alias 3550 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||3551 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&53552 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}4168 $as_echo_n "(cached) " >&6 4169 else 4170 if test "x$target_alias" = x; then 4171 ac_cv_target=$ac_cv_host 4172 else 4173 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 4174 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 4175 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 3553 4176 { (exit 1); exit 1; }; } 3554 3555 fi 3556 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 3557 echo "${ECHO_T}$ac_cv_target" >&6 4177 fi 4178 4179 fi 4180 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 4181 $as_echo "$ac_cv_target" >&6; } 4182 case $ac_cv_target in 4183 *-*-*) ;; 4184 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 4185 $as_echo "$as_me: error: invalid value of canonical target" >&2;} 4186 { (exit 1); exit 1; }; };; 4187 esac 3558 4188 target=$ac_cv_target 3559 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3560 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3561 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 4189 ac_save_IFS=$IFS; IFS='-' 4190 set x $ac_cv_target 4191 shift 4192 target_cpu=$1 4193 target_vendor=$2 4194 shift; shift 4195 # Remember, the first character of IFS is used to create $*, 4196 # except with old shells: 4197 target_os=$* 4198 IFS=$ac_save_IFS 4199 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 3562 4200 3563 4201 … … 3581 4219 # OS/2's system install, which has a completely different semantic 3582 4220 # ./install, which can be erroneously created by make from ./install.sh. 3583 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3584 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 4221 # Reject install programs that cannot install multiple files. 4222 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 4223 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3585 4224 if test -z "$INSTALL"; then 3586 4225 if test "${ac_cv_path_install+set}" = set; then 3587 echo $ECHO_N "(cached) $ECHO_C" >&64226 $as_echo_n "(cached) " >&6 3588 4227 else 3589 4228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 3604 4243 for ac_prog in ginstall scoinst install; do 3605 4244 for ac_exec_ext in '' $ac_executable_extensions; do 3606 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then4245 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3607 4246 if test $ac_prog = install && 3608 4247 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 3614 4253 : 3615 4254 else 3616 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3617 break 3 4255 rm -rf conftest.one conftest.two conftest.dir 4256 echo one > conftest.one 4257 echo two > conftest.two 4258 mkdir conftest.dir 4259 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 4260 test -s conftest.one && test -s conftest.two && 4261 test -s conftest.dir/conftest.one && 4262 test -s conftest.dir/conftest.two 4263 then 4264 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 4265 break 3 4266 fi 3618 4267 fi 3619 4268 fi … … 3622 4271 ;; 3623 4272 esac 4273 3624 4274 done 3625 4275 IFS=$as_save_IFS 4276 4277 rm -rf conftest.one conftest.two conftest.dir 3626 4278 3627 4279 fi … … 3629 4281 INSTALL=$ac_cv_path_install 3630 4282 else 3631 # As a last resort, use the slow shell script. We don't cache a3632 # pathfor INSTALL within a source directory, because that will4283 # As a last resort, use the slow shell script. Don't cache a 4284 # value for INSTALL within a source directory, because that will 3633 4285 # break other packages using the cache if that directory is 3634 # removed, or if the path is relative.4286 # removed, or if the value is a relative name. 3635 4287 INSTALL=$ac_install_sh 3636 4288 fi 3637 4289 fi 3638 echo "$as_me:$LINENO: result: $INSTALL" >&53639 echo "${ECHO_T}$INSTALL" >&6 4290 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 4291 $as_echo "$INSTALL" >&6; } 3640 4292 3641 4293 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 3647 4299 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3648 4300 3649 echo "$as_me:$LINENO: checking whether ln -s works" >&53650 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 4301 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 4302 $as_echo_n "checking whether ln -s works... " >&6; } 3651 4303 LN_S=$as_ln_s 3652 4304 if test "$LN_S" = "ln -s"; then 3653 echo "$as_me:$LINENO: result: yes" >&5 3654 echo "${ECHO_T}yes" >&6 3655 else 3656 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3657 echo "${ECHO_T}no, using $LN_S" >&6 3658 fi 3659 3660 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3661 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3662 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 3663 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 3664 echo $ECHO_N "(cached) $ECHO_C" >&6 4305 { $as_echo "$as_me:$LINENO: result: yes" >&5 4306 $as_echo "yes" >&6; } 4307 else 4308 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4309 $as_echo "no, using $LN_S" >&6; } 4310 fi 4311 4312 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4313 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4314 set x ${MAKE-make} 4315 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4316 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 4317 $as_echo_n "(cached) " >&6 3665 4318 else 3666 4319 cat >conftest.make <<\_ACEOF 4320 SHELL = /bin/sh 3667 4321 all: 3668 @echo ' ac_maketemp="$(MAKE)"'4322 @echo '@@@%%%=$(MAKE)=@@@%%%' 3669 4323 _ACEOF 3670 4324 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3671 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3672 if test -n "$ac_maketemp"; then 3673 eval ac_cv_prog_make_${ac_make}_set=yes3674 else 3675 eval ac_cv_prog_make_${ac_make}_set=no3676 fi 4325 case `${MAKE-make} -f conftest.make 2>/dev/null` in 4326 *@@@%%%=?*=@@@%%%*) 4327 eval ac_cv_prog_make_${ac_make}_set=yes;; 4328 *) 4329 eval ac_cv_prog_make_${ac_make}_set=no;; 4330 esac 3677 4331 rm -f conftest.make 3678 4332 fi 3679 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then3680 echo "$as_me:$LINENO: result: yes" >&53681 echo "${ECHO_T}yes" >&6 4333 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 4334 { $as_echo "$as_me:$LINENO: result: yes" >&5 4335 $as_echo "yes" >&6; } 3682 4336 SET_MAKE= 3683 4337 else 3684 echo "$as_me:$LINENO: result: no" >&53685 echo "${ECHO_T}no" >&6 4338 { $as_echo "$as_me:$LINENO: result: no" >&5 4339 $as_echo "no" >&6; } 3686 4340 SET_MAKE="MAKE=${MAKE-make}" 3687 4341 fi … … 3690 4344 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3691 4345 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3692 echo "$as_me:$LINENO: checking for $ac_word" >&53693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4346 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4347 $as_echo_n "checking for $ac_word... " >&6; } 3694 4348 if test "${ac_cv_prog_RANLIB+set}" = set; then 3695 echo $ECHO_N "(cached) $ECHO_C" >&64349 $as_echo_n "(cached) " >&6 3696 4350 else 3697 4351 if test -n "$RANLIB"; then … … 3704 4358 test -z "$as_dir" && as_dir=. 3705 4359 for ac_exec_ext in '' $ac_executable_extensions; do 3706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3707 4361 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54362 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3709 4363 break 2 3710 4364 fi 3711 4365 done 3712 4366 done 4367 IFS=$as_save_IFS 3713 4368 3714 4369 fi … … 3716 4371 RANLIB=$ac_cv_prog_RANLIB 3717 4372 if test -n "$RANLIB"; then 3718 echo "$as_me:$LINENO: result: $RANLIB" >&5 3719 echo "${ECHO_T}$RANLIB" >&6 3720 else 3721 echo "$as_me:$LINENO: result: no" >&5 3722 echo "${ECHO_T}no" >&6 3723 fi 4373 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 4374 $as_echo "$RANLIB" >&6; } 4375 else 4376 { $as_echo "$as_me:$LINENO: result: no" >&5 4377 $as_echo "no" >&6; } 4378 fi 4379 3724 4380 3725 4381 fi … … 3728 4384 # Extract the first word of "ranlib", so it can be a program name with args. 3729 4385 set dummy ranlib; ac_word=$2 3730 echo "$as_me:$LINENO: checking for $ac_word" >&53731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4386 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4387 $as_echo_n "checking for $ac_word... " >&6; } 3732 4388 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3733 echo $ECHO_N "(cached) $ECHO_C" >&64389 $as_echo_n "(cached) " >&6 3734 4390 else 3735 4391 if test -n "$ac_ct_RANLIB"; then … … 3742 4398 test -z "$as_dir" && as_dir=. 3743 4399 for ac_exec_ext in '' $ac_executable_extensions; do 3744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3745 4401 ac_cv_prog_ac_ct_RANLIB="ranlib" 3746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54402 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3747 4403 break 2 3748 4404 fi 3749 4405 done 3750 4406 done 3751 3752 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 4407 IFS=$as_save_IFS 4408 3753 4409 fi 3754 4410 fi 3755 4411 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3756 4412 if test -n "$ac_ct_RANLIB"; then 3757 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3758 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3759 else 3760 echo "$as_me:$LINENO: result: no" >&5 3761 echo "${ECHO_T}no" >&6 3762 fi 3763 3764 RANLIB=$ac_ct_RANLIB 4413 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 4414 $as_echo "$ac_ct_RANLIB" >&6; } 4415 else 4416 { $as_echo "$as_me:$LINENO: result: no" >&5 4417 $as_echo "no" >&6; } 4418 fi 4419 4420 if test "x$ac_ct_RANLIB" = x; then 4421 RANLIB=":" 4422 else 4423 case $cross_compiling:$ac_tool_warned in 4424 yes:) 4425 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4427 ac_tool_warned=yes ;; 4428 esac 4429 RANLIB=$ac_ct_RANLIB 4430 fi 3765 4431 else 3766 4432 RANLIB="$ac_cv_prog_RANLIB" … … 3768 4434 3769 4435 3770 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&53771 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 4436 { $as_echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 4437 $as_echo_n "checking to see if architecture is 64-bit... " >&6; } 3772 4438 arch_64bit=no 3773 4439 case "$host_cpu" in … … 3776 4442 3777 4443 if test "$arch_64bit" = yes; then 3778 echo "$as_me:$LINENO: result: yes" >&53779 echo "${ECHO_T}yes" >&6 3780 if test -z "$ COMPAT32BITFLAGS" ; then3781 COMPAT32BITFLAGS="-m32"4444 { $as_echo "$as_me:$LINENO: result: yes" >&5 4445 $as_echo "yes" >&6; } 4446 if test -z "$ARCH_DEP_FLAGS" ; then 4447 ARCH_DEP_FLAGS="-fPIC" 3782 4448 gsdlarch='64' 3783 4449 fi 3784 4450 else 3785 echo "$as_me:$LINENO: result: no" >&53786 echo "${ECHO_T}no" >&6 3787 if test -z "$ COMPAT32BITFLAGS" ; then3788 COMPAT32BITFLAGS=4451 { $as_echo "$as_me:$LINENO: result: no" >&5 4452 $as_echo "no" >&6; } 4453 if test -z "$ARCH_DEP_FLAGS" ; then 4454 ARCH_DEP_FLAGS= 3789 4455 gsdlarch='32' 3790 4456 fi 3791 4457 fi 3792 4458 3793 # Only need compat32bitflag if using MG or MGPP 3794 if test "$ENABLE_MG" = "0" ; then 3795 COMPAT32BITFLAGS= 3796 else 3797 if test "$ENABLE_MGPP" = "0" ; then 3798 COMPAT32BITFLAGS= 3799 fi 3800 fi 3801 3802 export COMPAT32BITFLAGS 4459 export ARCH_DEP_FLAGS 3803 4460 3804 4461 … … 3842 4499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3843 4500 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3844 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53845 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 4501 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4502 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3846 4503 # On Suns, sometimes $CPP names a directory. 3847 4504 if test -n "$CPP" && test -d "$CPP"; then … … 3850 4507 if test -z "$CPP"; then 3851 4508 if test "${ac_cv_prog_CPP+set}" = set; then 3852 echo $ECHO_N "(cached) $ECHO_C" >&64509 $as_echo_n "(cached) " >&6 3853 4510 else 3854 4511 # Double quotes because CPP needs to be expanded … … 3877 4534 Syntax error 3878 4535 _ACEOF 3879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3880 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4536 if { (ac_try="$ac_cpp conftest.$ac_ext" 4537 case "(($ac_try" in 4538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4539 *) ac_try_echo=$ac_try;; 4540 esac 4541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4542 $as_echo "$ac_try_echo") >&5 4543 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3881 4544 ac_status=$? 3882 4545 grep -v '^ *+' conftest.er1 >conftest.err 3883 4546 rm -f conftest.er1 3884 4547 cat conftest.err >&5 3885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3886 (exit $ac_status); } >/dev/null; then 3887 if test -s conftest.err; then 3888 ac_cpp_err=$ac_c_preproc_warn_flag 3889 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3890 else 3891 ac_cpp_err= 3892 fi 3893 else 3894 ac_cpp_err=yes 3895 fi 3896 if test -z "$ac_cpp_err"; then 4548 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4549 (exit $ac_status); } >/dev/null && { 4550 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4551 test ! -s conftest.err 4552 }; then 3897 4553 : 3898 4554 else 3899 echo "$as_me: failed program was:" >&54555 $as_echo "$as_me: failed program was:" >&5 3900 4556 sed 's/^/| /' conftest.$ac_ext >&5 3901 4557 … … 3903 4559 continue 3904 4560 fi 4561 3905 4562 rm -f conftest.err conftest.$ac_ext 3906 4563 3907 # OK, works on sane cases. Now check whether non -existent headers4564 # OK, works on sane cases. Now check whether nonexistent headers 3908 4565 # can be detected and how. 3909 4566 cat >conftest.$ac_ext <<_ACEOF … … 3915 4572 #include <ac_nonexistent.h> 3916 4573 _ACEOF 3917 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3918 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4574 if { (ac_try="$ac_cpp conftest.$ac_ext" 4575 case "(($ac_try" in 4576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4577 *) ac_try_echo=$ac_try;; 4578 esac 4579 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4580 $as_echo "$ac_try_echo") >&5 4581 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3919 4582 ac_status=$? 3920 4583 grep -v '^ *+' conftest.er1 >conftest.err 3921 4584 rm -f conftest.er1 3922 4585 cat conftest.err >&5 3923 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3924 (exit $ac_status); } >/dev/null; then 3925 if test -s conftest.err; then 3926 ac_cpp_err=$ac_c_preproc_warn_flag 3927 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3928 else 3929 ac_cpp_err= 3930 fi 3931 else 3932 ac_cpp_err=yes 3933 fi 3934 if test -z "$ac_cpp_err"; then 4586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4587 (exit $ac_status); } >/dev/null && { 4588 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4589 test ! -s conftest.err 4590 }; then 3935 4591 # Broken: success on invalid input. 3936 4592 continue 3937 4593 else 3938 echo "$as_me: failed program was:" >&54594 $as_echo "$as_me: failed program was:" >&5 3939 4595 sed 's/^/| /' conftest.$ac_ext >&5 3940 4596 … … 3943 4599 break 3944 4600 fi 4601 3945 4602 rm -f conftest.err conftest.$ac_ext 3946 4603 … … 3960 4617 ac_cv_prog_CPP=$CPP 3961 4618 fi 3962 echo "$as_me:$LINENO: result: $CPP" >&53963 echo "${ECHO_T}$CPP" >&6 4619 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 4620 $as_echo "$CPP" >&6; } 3964 4621 ac_preproc_ok=false 3965 4622 for ac_c_preproc_warn_flag in '' yes … … 3984 4641 Syntax error 3985 4642 _ACEOF 3986 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3987 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4643 if { (ac_try="$ac_cpp conftest.$ac_ext" 4644 case "(($ac_try" in 4645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4646 *) ac_try_echo=$ac_try;; 4647 esac 4648 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4649 $as_echo "$ac_try_echo") >&5 4650 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3988 4651 ac_status=$? 3989 4652 grep -v '^ *+' conftest.er1 >conftest.err 3990 4653 rm -f conftest.er1 3991 4654 cat conftest.err >&5 3992 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3993 (exit $ac_status); } >/dev/null; then 3994 if test -s conftest.err; then 3995 ac_cpp_err=$ac_c_preproc_warn_flag 3996 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3997 else 3998 ac_cpp_err= 3999 fi 4000 else 4001 ac_cpp_err=yes 4002 fi 4003 if test -z "$ac_cpp_err"; then 4655 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4656 (exit $ac_status); } >/dev/null && { 4657 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4658 test ! -s conftest.err 4659 }; then 4004 4660 : 4005 4661 else 4006 echo "$as_me: failed program was:" >&54662 $as_echo "$as_me: failed program was:" >&5 4007 4663 sed 's/^/| /' conftest.$ac_ext >&5 4008 4664 … … 4010 4666 continue 4011 4667 fi 4668 4012 4669 rm -f conftest.err conftest.$ac_ext 4013 4670 4014 # OK, works on sane cases. Now check whether non -existent headers4671 # OK, works on sane cases. Now check whether nonexistent headers 4015 4672 # can be detected and how. 4016 4673 cat >conftest.$ac_ext <<_ACEOF … … 4022 4679 #include <ac_nonexistent.h> 4023 4680 _ACEOF 4024 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4025 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4681 if { (ac_try="$ac_cpp conftest.$ac_ext" 4682 case "(($ac_try" in 4683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4684 *) ac_try_echo=$ac_try;; 4685 esac 4686 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4687 $as_echo "$ac_try_echo") >&5 4688 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4026 4689 ac_status=$? 4027 4690 grep -v '^ *+' conftest.er1 >conftest.err 4028 4691 rm -f conftest.er1 4029 4692 cat conftest.err >&5 4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4031 (exit $ac_status); } >/dev/null; then 4032 if test -s conftest.err; then 4033 ac_cpp_err=$ac_c_preproc_warn_flag 4034 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4035 else 4036 ac_cpp_err= 4037 fi 4038 else 4039 ac_cpp_err=yes 4040 fi 4041 if test -z "$ac_cpp_err"; then 4693 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4694 (exit $ac_status); } >/dev/null && { 4695 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4696 test ! -s conftest.err 4697 }; then 4042 4698 # Broken: success on invalid input. 4043 4699 continue 4044 4700 else 4045 echo "$as_me: failed program was:" >&54701 $as_echo "$as_me: failed program was:" >&5 4046 4702 sed 's/^/| /' conftest.$ac_ext >&5 4047 4703 … … 4050 4706 break 4051 4707 fi 4708 4052 4709 rm -f conftest.err conftest.$ac_ext 4053 4710 … … 4058 4715 : 4059 4716 else 4060 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4717 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 4718 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4719 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4061 4720 See \`config.log' for more details." >&5 4062 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check4721 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4063 4722 See \`config.log' for more details." >&2;} 4064 { (exit 1); exit 1; }; } 4723 { (exit 1); exit 1; }; }; } 4065 4724 fi 4066 4725 … … 4072 4731 4073 4732 4074 echo "$as_me:$LINENO: checking for egrep" >&5 4075 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 4076 if test "${ac_cv_prog_egrep+set}" = set; then 4077 echo $ECHO_N "(cached) $ECHO_C" >&6 4078 else 4079 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 4080 then ac_cv_prog_egrep='grep -E' 4081 else ac_cv_prog_egrep='egrep' 4733 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4734 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4735 if test "${ac_cv_path_GREP+set}" = set; then 4736 $as_echo_n "(cached) " >&6 4737 else 4738 if test -z "$GREP"; then 4739 ac_path_GREP_found=false 4740 # Loop through the user's path and test for each of PROGNAME-LIST 4741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4742 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4743 do 4744 IFS=$as_save_IFS 4745 test -z "$as_dir" && as_dir=. 4746 for ac_prog in grep ggrep; do 4747 for ac_exec_ext in '' $ac_executable_extensions; do 4748 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4749 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4750 # Check for GNU ac_path_GREP and select it if it is found. 4751 # Check for GNU $ac_path_GREP 4752 case `"$ac_path_GREP" --version 2>&1` in 4753 *GNU*) 4754 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4755 *) 4756 ac_count=0 4757 $as_echo_n 0123456789 >"conftest.in" 4758 while : 4759 do 4760 cat "conftest.in" "conftest.in" >"conftest.tmp" 4761 mv "conftest.tmp" "conftest.in" 4762 cp "conftest.in" "conftest.nl" 4763 $as_echo 'GREP' >> "conftest.nl" 4764 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4765 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4766 ac_count=`expr $ac_count + 1` 4767 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4768 # Best one so far, save it but keep looking for a better one 4769 ac_cv_path_GREP="$ac_path_GREP" 4770 ac_path_GREP_max=$ac_count 4082 4771 fi 4083 fi 4084 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 4085 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 4086 EGREP=$ac_cv_prog_egrep 4087 4088 4089 4090 echo "$as_me:$LINENO: checking for AIX" >&5 4091 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 4092 cat >conftest.$ac_ext <<_ACEOF 4093 /* confdefs.h. */ 4094 _ACEOF 4095 cat confdefs.h >>conftest.$ac_ext 4096 cat >>conftest.$ac_ext <<_ACEOF 4097 /* end confdefs.h. */ 4098 #ifdef _AIX 4099 yes 4100 #endif 4101 4102 _ACEOF 4103 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4104 $EGREP "yes" >/dev/null 2>&1; then 4105 echo "$as_me:$LINENO: result: yes" >&5 4106 echo "${ECHO_T}yes" >&6 4107 cat >>confdefs.h <<\_ACEOF 4108 #define _ALL_SOURCE 1 4109 _ACEOF 4110 4111 else 4112 echo "$as_me:$LINENO: result: no" >&5 4113 echo "${ECHO_T}no" >&6 4114 fi 4115 rm -f conftest* 4116 4117 4118 echo "$as_me:$LINENO: checking for library containing strerror" >&5 4119 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 4120 if test "${ac_cv_search_strerror+set}" = set; then 4121 echo $ECHO_N "(cached) $ECHO_C" >&6 4122 else 4123 ac_func_search_save_LIBS=$LIBS 4124 ac_cv_search_strerror=no 4125 cat >conftest.$ac_ext <<_ACEOF 4126 /* confdefs.h. */ 4127 _ACEOF 4128 cat confdefs.h >>conftest.$ac_ext 4129 cat >>conftest.$ac_ext <<_ACEOF 4130 /* end confdefs.h. */ 4131 4132 /* Override any gcc2 internal prototype to avoid an error. */ 4133 #ifdef __cplusplus 4134 extern "C" 4135 #endif 4136 /* We use char because int might match the return type of a gcc2 4137 builtin and then its argument prototype would still apply. */ 4138 char strerror (); 4139 int 4140 main () 4141 { 4142 strerror (); 4143 ; 4144 return 0; 4145 } 4146 _ACEOF 4147 rm -f conftest.$ac_objext conftest$ac_exeext 4148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4149 (eval $ac_link) 2>conftest.er1 4150 ac_status=$? 4151 grep -v '^ *+' conftest.er1 >conftest.err 4152 rm -f conftest.er1 4153 cat conftest.err >&5 4154 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4155 (exit $ac_status); } && 4156 { ac_try='test -z "$ac_c_werror_flag" 4157 || test ! -s conftest.err' 4158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4159 (eval $ac_try) 2>&5 4160 ac_status=$? 4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4162 (exit $ac_status); }; } && 4163 { ac_try='test -s conftest$ac_exeext' 4164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4165 (eval $ac_try) 2>&5 4166 ac_status=$? 4167 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4168 (exit $ac_status); }; }; then 4169 ac_cv_search_strerror="none required" 4170 else 4171 echo "$as_me: failed program was:" >&5 4172 sed 's/^/| /' conftest.$ac_ext >&5 4173 4174 fi 4175 rm -f conftest.err conftest.$ac_objext \ 4176 conftest$ac_exeext conftest.$ac_ext 4177 if test "$ac_cv_search_strerror" = no; then 4178 for ac_lib in cposix; do 4179 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4180 cat >conftest.$ac_ext <<_ACEOF 4181 /* confdefs.h. */ 4182 _ACEOF 4183 cat confdefs.h >>conftest.$ac_ext 4184 cat >>conftest.$ac_ext <<_ACEOF 4185 /* end confdefs.h. */ 4186 4187 /* Override any gcc2 internal prototype to avoid an error. */ 4188 #ifdef __cplusplus 4189 extern "C" 4190 #endif 4191 /* We use char because int might match the return type of a gcc2 4192 builtin and then its argument prototype would still apply. */ 4193 char strerror (); 4194 int 4195 main () 4196 { 4197 strerror (); 4198 ; 4199 return 0; 4200 } 4201 _ACEOF 4202 rm -f conftest.$ac_objext conftest$ac_exeext 4203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4204 (eval $ac_link) 2>conftest.er1 4205 ac_status=$? 4206 grep -v '^ *+' conftest.er1 >conftest.err 4207 rm -f conftest.er1 4208 cat conftest.err >&5 4209 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4210 (exit $ac_status); } && 4211 { ac_try='test -z "$ac_c_werror_flag" 4212 || test ! -s conftest.err' 4213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4214 (eval $ac_try) 2>&5 4215 ac_status=$? 4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4217 (exit $ac_status); }; } && 4218 { ac_try='test -s conftest$ac_exeext' 4219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4220 (eval $ac_try) 2>&5 4221 ac_status=$? 4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4223 (exit $ac_status); }; }; then 4224 ac_cv_search_strerror="-l$ac_lib" 4225 break 4226 else 4227 echo "$as_me: failed program was:" >&5 4228 sed 's/^/| /' conftest.$ac_ext >&5 4229 4230 fi 4231 rm -f conftest.err conftest.$ac_objext \ 4232 conftest$ac_exeext conftest.$ac_ext 4772 # 10*(2^10) chars as input seems more than enough 4773 test $ac_count -gt 10 && break 4233 4774 done 4234 fi 4235 LIBS=$ac_func_search_save_LIBS 4236 fi 4237 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 4238 echo "${ECHO_T}$ac_cv_search_strerror" >&6 4239 if test "$ac_cv_search_strerror" != no; then 4240 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 4241 4242 fi 4243 4244 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4245 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4775 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4776 esac 4777 4778 $ac_path_GREP_found && break 3 4779 done 4780 done 4781 done 4782 IFS=$as_save_IFS 4783 if test -z "$ac_cv_path_GREP"; then 4784 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4785 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4786 { (exit 1); exit 1; }; } 4787 fi 4788 else 4789 ac_cv_path_GREP=$GREP 4790 fi 4791 4792 fi 4793 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4794 $as_echo "$ac_cv_path_GREP" >&6; } 4795 GREP="$ac_cv_path_GREP" 4796 4797 4798 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 4799 $as_echo_n "checking for egrep... " >&6; } 4800 if test "${ac_cv_path_EGREP+set}" = set; then 4801 $as_echo_n "(cached) " >&6 4802 else 4803 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4804 then ac_cv_path_EGREP="$GREP -E" 4805 else 4806 if test -z "$EGREP"; then 4807 ac_path_EGREP_found=false 4808 # Loop through the user's path and test for each of PROGNAME-LIST 4809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4810 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4811 do 4812 IFS=$as_save_IFS 4813 test -z "$as_dir" && as_dir=. 4814 for ac_prog in egrep; do 4815 for ac_exec_ext in '' $ac_executable_extensions; do 4816 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4817 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4818 # Check for GNU ac_path_EGREP and select it if it is found. 4819 # Check for GNU $ac_path_EGREP 4820 case `"$ac_path_EGREP" --version 2>&1` in 4821 *GNU*) 4822 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4823 *) 4824 ac_count=0 4825 $as_echo_n 0123456789 >"conftest.in" 4826 while : 4827 do 4828 cat "conftest.in" "conftest.in" >"conftest.tmp" 4829 mv "conftest.tmp" "conftest.in" 4830 cp "conftest.in" "conftest.nl" 4831 $as_echo 'EGREP' >> "conftest.nl" 4832 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4833 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4834 ac_count=`expr $ac_count + 1` 4835 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4836 # Best one so far, save it but keep looking for a better one 4837 ac_cv_path_EGREP="$ac_path_EGREP" 4838 ac_path_EGREP_max=$ac_count 4839 fi 4840 # 10*(2^10) chars as input seems more than enough 4841 test $ac_count -gt 10 && break 4842 done 4843 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4844 esac 4845 4846 $ac_path_EGREP_found && break 3 4847 done 4848 done 4849 done 4850 IFS=$as_save_IFS 4851 if test -z "$ac_cv_path_EGREP"; then 4852 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4853 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4854 { (exit 1); exit 1; }; } 4855 fi 4856 else 4857 ac_cv_path_EGREP=$EGREP 4858 fi 4859 4860 fi 4861 fi 4862 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4863 $as_echo "$ac_cv_path_EGREP" >&6; } 4864 EGREP="$ac_cv_path_EGREP" 4865 4866 4867 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4868 $as_echo_n "checking for ANSI C header files... " >&6; } 4246 4869 if test "${ac_cv_header_stdc+set}" = set; then 4247 echo $ECHO_N "(cached) $ECHO_C" >&64870 $as_echo_n "(cached) " >&6 4248 4871 else 4249 4872 cat >conftest.$ac_ext <<_ACEOF … … 4267 4890 _ACEOF 4268 4891 rm -f conftest.$ac_objext 4269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4270 (eval $ac_compile) 2>conftest.er1 4892 if { (ac_try="$ac_compile" 4893 case "(($ac_try" in 4894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4895 *) ac_try_echo=$ac_try;; 4896 esac 4897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4898 $as_echo "$ac_try_echo") >&5 4899 (eval "$ac_compile") 2>conftest.er1 4271 4900 ac_status=$? 4272 4901 grep -v '^ *+' conftest.er1 >conftest.err 4273 4902 rm -f conftest.er1 4274 4903 cat conftest.err >&5 4275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4276 (exit $ac_status); } && 4277 { ac_try='test -z "$ac_c_werror_flag" 4278 || test ! -s conftest.err' 4279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4280 (eval $ac_try) 2>&5 4281 ac_status=$? 4282 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4283 (exit $ac_status); }; } && 4284 { ac_try='test -s conftest.$ac_objext' 4285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4286 (eval $ac_try) 2>&5 4287 ac_status=$? 4288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4289 (exit $ac_status); }; }; then 4904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4905 (exit $ac_status); } && { 4906 test -z "$ac_c_werror_flag" || 4907 test ! -s conftest.err 4908 } && test -s conftest.$ac_objext; then 4290 4909 ac_cv_header_stdc=yes 4291 4910 else 4292 echo "$as_me: failed program was:" >&54911 $as_echo "$as_me: failed program was:" >&5 4293 4912 sed 's/^/| /' conftest.$ac_ext >&5 4294 4913 4295 ac_cv_header_stdc=no 4296 fi 4297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4914 ac_cv_header_stdc=no 4915 fi 4916 4917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4298 4918 4299 4919 if test $ac_cv_header_stdc = yes; then … … 4351 4971 /* end confdefs.h. */ 4352 4972 #include <ctype.h> 4973 #include <stdlib.h> 4353 4974 #if ((' ' & 0x0FF) == 0x020) 4354 4975 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 4370 4991 if (XOR (islower (i), ISLOWER (i)) 4371 4992 || toupper (i) != TOUPPER (i)) 4372 exit(2);4373 exit (0);4993 return 2; 4994 return 0; 4374 4995 } 4375 4996 _ACEOF 4376 4997 rm -f conftest$ac_exeext 4377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4378 (eval $ac_link) 2>&5 4998 if { (ac_try="$ac_link" 4999 case "(($ac_try" in 5000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5001 *) ac_try_echo=$ac_try;; 5002 esac 5003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5004 $as_echo "$ac_try_echo") >&5 5005 (eval "$ac_link") 2>&5 4379 5006 ac_status=$? 4380 echo "$as_me:$LINENO: \$? = $ac_status" >&55007 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4381 5008 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4383 (eval $ac_try) 2>&5 5009 { (case "(($ac_try" in 5010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5011 *) ac_try_echo=$ac_try;; 5012 esac 5013 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5014 $as_echo "$ac_try_echo") >&5 5015 (eval "$ac_try") 2>&5 4384 5016 ac_status=$? 4385 echo "$as_me:$LINENO: \$? = $ac_status" >&55017 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4386 5018 (exit $ac_status); }; }; then 4387 5019 : 4388 5020 else 4389 echo "$as_me: program exited with status $ac_status" >&54390 echo "$as_me: failed program was:" >&55021 $as_echo "$as_me: program exited with status $ac_status" >&5 5022 $as_echo "$as_me: failed program was:" >&5 4391 5023 sed 's/^/| /' conftest.$ac_ext >&5 4392 5024 … … 4394 5026 ac_cv_header_stdc=no 4395 5027 fi 4396 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4397 fi 4398 fi 4399 fi 4400 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4401 echo "${ECHO_T}$ac_cv_header_stdc" >&6 5028 rm -rf conftest.dSYM 5029 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5030 fi 5031 5032 5033 fi 5034 fi 5035 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5036 $as_echo "$ac_cv_header_stdc" >&6; } 4402 5037 if test $ac_cv_header_stdc = yes; then 4403 5038 … … 4421 5056 inttypes.h stdint.h unistd.h 4422 5057 do 4423 as_ac_Header=` echo "ac_cv_header_$ac_header" | $as_tr_sh`4424 echo "$as_me:$LINENO: checking for $ac_header" >&54425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4426 if eval "test \"\${$as_ac_Header+set}\" = set"; then4427 echo $ECHO_N "(cached) $ECHO_C" >&65058 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5059 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5060 $as_echo_n "checking for $ac_header... " >&6; } 5061 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5062 $as_echo_n "(cached) " >&6 4428 5063 else 4429 5064 cat >conftest.$ac_ext <<_ACEOF … … 4438 5073 _ACEOF 4439 5074 rm -f conftest.$ac_objext 4440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4441 (eval $ac_compile) 2>conftest.er1 5075 if { (ac_try="$ac_compile" 5076 case "(($ac_try" in 5077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5078 *) ac_try_echo=$ac_try;; 5079 esac 5080 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5081 $as_echo "$ac_try_echo") >&5 5082 (eval "$ac_compile") 2>conftest.er1 4442 5083 ac_status=$? 4443 5084 grep -v '^ *+' conftest.er1 >conftest.err 4444 5085 rm -f conftest.er1 4445 5086 cat conftest.err >&5 4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4447 (exit $ac_status); } && 4448 { ac_try='test -z "$ac_c_werror_flag" 4449 || test ! -s conftest.err' 4450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4451 (eval $ac_try) 2>&5 4452 ac_status=$? 4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4454 (exit $ac_status); }; } && 4455 { ac_try='test -s conftest.$ac_objext' 4456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4457 (eval $ac_try) 2>&5 4458 ac_status=$? 4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4460 (exit $ac_status); }; }; then 5087 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5088 (exit $ac_status); } && { 5089 test -z "$ac_c_werror_flag" || 5090 test ! -s conftest.err 5091 } && test -s conftest.$ac_objext; then 4461 5092 eval "$as_ac_Header=yes" 4462 5093 else 4463 echo "$as_me: failed program was:" >&55094 $as_echo "$as_me: failed program was:" >&5 4464 5095 sed 's/^/| /' conftest.$ac_ext >&5 4465 5096 4466 eval "$as_ac_Header=no" 4467 fi 4468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4469 fi 4470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4472 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5097 eval "$as_ac_Header=no" 5098 fi 5099 5100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5101 fi 5102 ac_res=`eval 'as_val=${'$as_ac_Header'} 5103 $as_echo "$as_val"'` 5104 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5105 $as_echo "$ac_res" >&6; } 5106 as_val=`eval 'as_val=${'$as_ac_Header'} 5107 $as_echo "$as_val"'` 5108 if test "x$as_val" = x""yes; then 4473 5109 cat >>confdefs.h <<_ACEOF 4474 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 15110 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4475 5111 _ACEOF 4476 5112 … … 4480 5116 4481 5117 5118 5119 if test "${ac_cv_header_minix_config_h+set}" = set; then 5120 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5121 $as_echo_n "checking for minix/config.h... " >&6; } 4482 5122 if test "${ac_cv_header_minix_config_h+set}" = set; then 4483 echo "$as_me:$LINENO: checking for minix/config.h" >&5 4484 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4485 if test "${ac_cv_header_minix_config_h+set}" = set; then 4486 echo $ECHO_N "(cached) $ECHO_C" >&6 4487 fi 4488 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4489 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 5123 $as_echo_n "(cached) " >&6 5124 fi 5125 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5126 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4490 5127 else 4491 5128 # Is the header compilable? 4492 echo "$as_me:$LINENO: checking minix/config.h usability" >&54493 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 5129 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 5130 $as_echo_n "checking minix/config.h usability... " >&6; } 4494 5131 cat >conftest.$ac_ext <<_ACEOF 4495 5132 /* confdefs.h. */ … … 4502 5139 _ACEOF 4503 5140 rm -f conftest.$ac_objext 4504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4505 (eval $ac_compile) 2>conftest.er1 5141 if { (ac_try="$ac_compile" 5142 case "(($ac_try" in 5143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5144 *) ac_try_echo=$ac_try;; 5145 esac 5146 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5147 $as_echo "$ac_try_echo") >&5 5148 (eval "$ac_compile") 2>conftest.er1 4506 5149 ac_status=$? 4507 5150 grep -v '^ *+' conftest.er1 >conftest.err 4508 5151 rm -f conftest.er1 4509 5152 cat conftest.err >&5 4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4511 (exit $ac_status); } && 4512 { ac_try='test -z "$ac_c_werror_flag" 4513 || test ! -s conftest.err' 4514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4515 (eval $ac_try) 2>&5 4516 ac_status=$? 4517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4518 (exit $ac_status); }; } && 4519 { ac_try='test -s conftest.$ac_objext' 4520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4521 (eval $ac_try) 2>&5 4522 ac_status=$? 4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4524 (exit $ac_status); }; }; then 5153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5154 (exit $ac_status); } && { 5155 test -z "$ac_c_werror_flag" || 5156 test ! -s conftest.err 5157 } && test -s conftest.$ac_objext; then 4525 5158 ac_header_compiler=yes 4526 5159 else 4527 echo "$as_me: failed program was:" >&55160 $as_echo "$as_me: failed program was:" >&5 4528 5161 sed 's/^/| /' conftest.$ac_ext >&5 4529 5162 4530 ac_header_compiler=no 4531 fi 4532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4533 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4534 echo "${ECHO_T}$ac_header_compiler" >&6 5163 ac_header_compiler=no 5164 fi 5165 5166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5167 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5168 $as_echo "$ac_header_compiler" >&6; } 4535 5169 4536 5170 # Is the header present? 4537 echo "$as_me:$LINENO: checking minix/config.h presence" >&54538 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 5171 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 5172 $as_echo_n "checking minix/config.h presence... " >&6; } 4539 5173 cat >conftest.$ac_ext <<_ACEOF 4540 5174 /* confdefs.h. */ … … 4545 5179 #include <minix/config.h> 4546 5180 _ACEOF 4547 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4548 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5181 if { (ac_try="$ac_cpp conftest.$ac_ext" 5182 case "(($ac_try" in 5183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5184 *) ac_try_echo=$ac_try;; 5185 esac 5186 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5187 $as_echo "$ac_try_echo") >&5 5188 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4549 5189 ac_status=$? 4550 5190 grep -v '^ *+' conftest.er1 >conftest.err 4551 5191 rm -f conftest.er1 4552 5192 cat conftest.err >&5 4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4554 (exit $ac_status); } >/dev/null; then 4555 if test -s conftest.err; then 4556 ac_cpp_err=$ac_c_preproc_warn_flag 4557 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4558 else 4559 ac_cpp_err= 4560 fi 4561 else 4562 ac_cpp_err=yes 4563 fi 4564 if test -z "$ac_cpp_err"; then 5193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5194 (exit $ac_status); } >/dev/null && { 5195 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5196 test ! -s conftest.err 5197 }; then 4565 5198 ac_header_preproc=yes 4566 5199 else 4567 echo "$as_me: failed program was:" >&55200 $as_echo "$as_me: failed program was:" >&5 4568 5201 sed 's/^/| /' conftest.$ac_ext >&5 4569 5202 4570 5203 ac_header_preproc=no 4571 5204 fi 5205 4572 5206 rm -f conftest.err conftest.$ac_ext 4573 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54574 echo "${ECHO_T}$ac_header_preproc" >&6 5207 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5208 $as_echo "$ac_header_preproc" >&6; } 4575 5209 4576 5210 # So? What about this header? 4577 5211 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4578 5212 yes:no: ) 4579 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&54580 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}4581 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&54582 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}5213 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 5214 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5215 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 5216 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 4583 5217 ac_header_preproc=yes 4584 5218 ;; 4585 5219 no:yes:* ) 4586 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 4587 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 4588 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 4589 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 4590 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 4591 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 4592 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 4593 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 4594 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 4595 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 4596 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4597 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4598 ( 4599 cat <<\_ASBOX 4600 ## ------------------------------------------ ## 4601 ## Report this to the AC_PACKAGE_NAME lists. ## 4602 ## ------------------------------------------ ## 4603 _ASBOX 4604 ) | 4605 sed "s/^/$as_me: WARNING: /" >&2 5220 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 5221 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 5222 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 5223 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 5224 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 5225 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 5226 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 5227 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 5228 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 5229 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 5230 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 5231 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 5232 4606 5233 ;; 4607 5234 esac 4608 echo "$as_me:$LINENO: checking for minix/config.h" >&54609 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 5235 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5236 $as_echo_n "checking for minix/config.h... " >&6; } 4610 5237 if test "${ac_cv_header_minix_config_h+set}" = set; then 4611 echo $ECHO_N "(cached) $ECHO_C" >&65238 $as_echo_n "(cached) " >&6 4612 5239 else 4613 5240 ac_cv_header_minix_config_h=$ac_header_preproc 4614 5241 fi 4615 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&54616 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4617 4618 fi 4619 if test $ac_cv_header_minix_config_h =yes; then5242 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5243 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5244 5245 fi 5246 if test "x$ac_cv_header_minix_config_h" = x""yes; then 4620 5247 MINIX=yes 4621 5248 else … … 4624 5251 4625 5252 4626 if test "$MINIX" = yes; then5253 if test "$MINIX" = yes; then 4627 5254 4628 5255 cat >>confdefs.h <<\_ACEOF … … 4640 5267 _ACEOF 4641 5268 4642 fi 4643 4644 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 4645 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 5269 fi 5270 5271 5272 5273 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 5274 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5275 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 5276 $as_echo_n "(cached) " >&6 5277 else 5278 cat >conftest.$ac_ext <<_ACEOF 5279 /* confdefs.h. */ 5280 _ACEOF 5281 cat confdefs.h >>conftest.$ac_ext 5282 cat >>conftest.$ac_ext <<_ACEOF 5283 /* end confdefs.h. */ 5284 5285 # define __EXTENSIONS__ 1 5286 $ac_includes_default 5287 int 5288 main () 5289 { 5290 5291 ; 5292 return 0; 5293 } 5294 _ACEOF 5295 rm -f conftest.$ac_objext 5296 if { (ac_try="$ac_compile" 5297 case "(($ac_try" in 5298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5299 *) ac_try_echo=$ac_try;; 5300 esac 5301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5302 $as_echo "$ac_try_echo") >&5 5303 (eval "$ac_compile") 2>conftest.er1 5304 ac_status=$? 5305 grep -v '^ *+' conftest.er1 >conftest.err 5306 rm -f conftest.er1 5307 cat conftest.err >&5 5308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5309 (exit $ac_status); } && { 5310 test -z "$ac_c_werror_flag" || 5311 test ! -s conftest.err 5312 } && test -s conftest.$ac_objext; then 5313 ac_cv_safe_to_define___extensions__=yes 5314 else 5315 $as_echo "$as_me: failed program was:" >&5 5316 sed 's/^/| /' conftest.$ac_ext >&5 5317 5318 ac_cv_safe_to_define___extensions__=no 5319 fi 5320 5321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5322 fi 5323 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 5324 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5325 test $ac_cv_safe_to_define___extensions__ = yes && 5326 cat >>confdefs.h <<\_ACEOF 5327 #define __EXTENSIONS__ 1 5328 _ACEOF 5329 5330 cat >>confdefs.h <<\_ACEOF 5331 #define _ALL_SOURCE 1 5332 _ACEOF 5333 5334 cat >>confdefs.h <<\_ACEOF 5335 #define _GNU_SOURCE 1 5336 _ACEOF 5337 5338 cat >>confdefs.h <<\_ACEOF 5339 #define _POSIX_PTHREAD_SEMANTICS 1 5340 _ACEOF 5341 5342 cat >>confdefs.h <<\_ACEOF 5343 #define _TANDEM_SOURCE 1 5344 _ACEOF 5345 5346 5347 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5 5348 $as_echo_n "checking for library containing strerror... " >&6; } 5349 if test "${ac_cv_search_strerror+set}" = set; then 5350 $as_echo_n "(cached) " >&6 5351 else 5352 ac_func_search_save_LIBS=$LIBS 5353 cat >conftest.$ac_ext <<_ACEOF 5354 /* confdefs.h. */ 5355 _ACEOF 5356 cat confdefs.h >>conftest.$ac_ext 5357 cat >>conftest.$ac_ext <<_ACEOF 5358 /* end confdefs.h. */ 5359 5360 /* Override any GCC internal prototype to avoid an error. 5361 Use char because int might match the return type of a GCC 5362 builtin and then its argument prototype would still apply. */ 5363 #ifdef __cplusplus 5364 extern "C" 5365 #endif 5366 char strerror (); 5367 int 5368 main () 5369 { 5370 return strerror (); 5371 ; 5372 return 0; 5373 } 5374 _ACEOF 5375 for ac_lib in '' cposix; do 5376 if test -z "$ac_lib"; then 5377 ac_res="none required" 5378 else 5379 ac_res=-l$ac_lib 5380 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5381 fi 5382 rm -f conftest.$ac_objext conftest$ac_exeext 5383 if { (ac_try="$ac_link" 5384 case "(($ac_try" in 5385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5386 *) ac_try_echo=$ac_try;; 5387 esac 5388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5389 $as_echo "$ac_try_echo") >&5 5390 (eval "$ac_link") 2>conftest.er1 5391 ac_status=$? 5392 grep -v '^ *+' conftest.er1 >conftest.err 5393 rm -f conftest.er1 5394 cat conftest.err >&5 5395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5396 (exit $ac_status); } && { 5397 test -z "$ac_c_werror_flag" || 5398 test ! -s conftest.err 5399 } && test -s conftest$ac_exeext && { 5400 test "$cross_compiling" = yes || 5401 $as_test_x conftest$ac_exeext 5402 }; then 5403 ac_cv_search_strerror=$ac_res 5404 else 5405 $as_echo "$as_me: failed program was:" >&5 5406 sed 's/^/| /' conftest.$ac_ext >&5 5407 5408 5409 fi 5410 5411 rm -rf conftest.dSYM 5412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5413 conftest$ac_exeext 5414 if test "${ac_cv_search_strerror+set}" = set; then 5415 break 5416 fi 5417 done 5418 if test "${ac_cv_search_strerror+set}" = set; then 5419 : 5420 else 5421 ac_cv_search_strerror=no 5422 fi 5423 rm conftest.$ac_ext 5424 LIBS=$ac_func_search_save_LIBS 5425 fi 5426 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 5427 $as_echo "$ac_cv_search_strerror" >&6; } 5428 ac_res=$ac_cv_search_strerror 5429 if test "$ac_res" != no; then 5430 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5431 5432 fi 5433 5434 5435 if test "${ac_cv_header_minix_config_h+set}" = set; then 5436 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5437 $as_echo_n "checking for minix/config.h... " >&6; } 5438 if test "${ac_cv_header_minix_config_h+set}" = set; then 5439 $as_echo_n "(cached) " >&6 5440 fi 5441 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5442 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5443 else 5444 # Is the header compilable? 5445 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 5446 $as_echo_n "checking minix/config.h usability... " >&6; } 5447 cat >conftest.$ac_ext <<_ACEOF 5448 /* confdefs.h. */ 5449 _ACEOF 5450 cat confdefs.h >>conftest.$ac_ext 5451 cat >>conftest.$ac_ext <<_ACEOF 5452 /* end confdefs.h. */ 5453 $ac_includes_default 5454 #include <minix/config.h> 5455 _ACEOF 5456 rm -f conftest.$ac_objext 5457 if { (ac_try="$ac_compile" 5458 case "(($ac_try" in 5459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5460 *) ac_try_echo=$ac_try;; 5461 esac 5462 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5463 $as_echo "$ac_try_echo") >&5 5464 (eval "$ac_compile") 2>conftest.er1 5465 ac_status=$? 5466 grep -v '^ *+' conftest.er1 >conftest.err 5467 rm -f conftest.er1 5468 cat conftest.err >&5 5469 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5470 (exit $ac_status); } && { 5471 test -z "$ac_c_werror_flag" || 5472 test ! -s conftest.err 5473 } && test -s conftest.$ac_objext; then 5474 ac_header_compiler=yes 5475 else 5476 $as_echo "$as_me: failed program was:" >&5 5477 sed 's/^/| /' conftest.$ac_ext >&5 5478 5479 ac_header_compiler=no 5480 fi 5481 5482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5483 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5484 $as_echo "$ac_header_compiler" >&6; } 5485 5486 # Is the header present? 5487 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 5488 $as_echo_n "checking minix/config.h presence... " >&6; } 5489 cat >conftest.$ac_ext <<_ACEOF 5490 /* confdefs.h. */ 5491 _ACEOF 5492 cat confdefs.h >>conftest.$ac_ext 5493 cat >>conftest.$ac_ext <<_ACEOF 5494 /* end confdefs.h. */ 5495 #include <minix/config.h> 5496 _ACEOF 5497 if { (ac_try="$ac_cpp conftest.$ac_ext" 5498 case "(($ac_try" in 5499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5500 *) ac_try_echo=$ac_try;; 5501 esac 5502 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5503 $as_echo "$ac_try_echo") >&5 5504 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5505 ac_status=$? 5506 grep -v '^ *+' conftest.er1 >conftest.err 5507 rm -f conftest.er1 5508 cat conftest.err >&5 5509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5510 (exit $ac_status); } >/dev/null && { 5511 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5512 test ! -s conftest.err 5513 }; then 5514 ac_header_preproc=yes 5515 else 5516 $as_echo "$as_me: failed program was:" >&5 5517 sed 's/^/| /' conftest.$ac_ext >&5 5518 5519 ac_header_preproc=no 5520 fi 5521 5522 rm -f conftest.err conftest.$ac_ext 5523 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5524 $as_echo "$ac_header_preproc" >&6; } 5525 5526 # So? What about this header? 5527 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5528 yes:no: ) 5529 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 5530 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5531 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 5532 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 5533 ac_header_preproc=yes 5534 ;; 5535 no:yes:* ) 5536 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 5537 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 5538 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 5539 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 5540 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 5541 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 5542 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 5543 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 5544 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 5545 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 5546 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 5547 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 5548 5549 ;; 5550 esac 5551 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 5552 $as_echo_n "checking for minix/config.h... " >&6; } 5553 if test "${ac_cv_header_minix_config_h+set}" = set; then 5554 $as_echo_n "(cached) " >&6 5555 else 5556 ac_cv_header_minix_config_h=$ac_header_preproc 5557 fi 5558 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 5559 $as_echo "$ac_cv_header_minix_config_h" >&6; } 5560 5561 fi 5562 if test "x$ac_cv_header_minix_config_h" = x""yes; then 5563 MINIX=yes 5564 else 5565 MINIX= 5566 fi 5567 5568 5569 if test "$MINIX" = yes; then 5570 5571 cat >>confdefs.h <<\_ACEOF 5572 #define _POSIX_SOURCE 1 5573 _ACEOF 5574 5575 5576 cat >>confdefs.h <<\_ACEOF 5577 #define _POSIX_1_SOURCE 2 5578 _ACEOF 5579 5580 5581 cat >>confdefs.h <<\_ACEOF 5582 #define _MINIX 1 5583 _ACEOF 5584 5585 fi 5586 5587 5588 5589 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 5590 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5591 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 5592 $as_echo_n "(cached) " >&6 5593 else 5594 cat >conftest.$ac_ext <<_ACEOF 5595 /* confdefs.h. */ 5596 _ACEOF 5597 cat confdefs.h >>conftest.$ac_ext 5598 cat >>conftest.$ac_ext <<_ACEOF 5599 /* end confdefs.h. */ 5600 5601 # define __EXTENSIONS__ 1 5602 $ac_includes_default 5603 int 5604 main () 5605 { 5606 5607 ; 5608 return 0; 5609 } 5610 _ACEOF 5611 rm -f conftest.$ac_objext 5612 if { (ac_try="$ac_compile" 5613 case "(($ac_try" in 5614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5615 *) ac_try_echo=$ac_try;; 5616 esac 5617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5618 $as_echo "$ac_try_echo") >&5 5619 (eval "$ac_compile") 2>conftest.er1 5620 ac_status=$? 5621 grep -v '^ *+' conftest.er1 >conftest.err 5622 rm -f conftest.er1 5623 cat conftest.err >&5 5624 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5625 (exit $ac_status); } && { 5626 test -z "$ac_c_werror_flag" || 5627 test ! -s conftest.err 5628 } && test -s conftest.$ac_objext; then 5629 ac_cv_safe_to_define___extensions__=yes 5630 else 5631 $as_echo "$as_me: failed program was:" >&5 5632 sed 's/^/| /' conftest.$ac_ext >&5 5633 5634 ac_cv_safe_to_define___extensions__=no 5635 fi 5636 5637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5638 fi 5639 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 5640 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5641 test $ac_cv_safe_to_define___extensions__ = yes && 5642 cat >>confdefs.h <<\_ACEOF 5643 #define __EXTENSIONS__ 1 5644 _ACEOF 5645 5646 cat >>confdefs.h <<\_ACEOF 5647 #define _ALL_SOURCE 1 5648 _ACEOF 5649 5650 cat >>confdefs.h <<\_ACEOF 5651 #define _GNU_SOURCE 1 5652 _ACEOF 5653 5654 cat >>confdefs.h <<\_ACEOF 5655 #define _POSIX_PTHREAD_SEMANTICS 1 5656 _ACEOF 5657 5658 cat >>confdefs.h <<\_ACEOF 5659 #define _TANDEM_SOURCE 1 5660 _ACEOF 5661 5662 5663 { $as_echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 5664 $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; } 4646 5665 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4647 echo $ECHO_N "(cached) $ECHO_C" >&65666 $as_echo_n "(cached) " >&6 4648 5667 else 4649 5668 ac_cv_prog_cc_stdc=no … … 4679 5698 _ACEOF 4680 5699 rm -f conftest.$ac_objext 4681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4682 (eval $ac_compile) 2>conftest.er1 5700 if { (ac_try="$ac_compile" 5701 case "(($ac_try" in 5702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5703 *) ac_try_echo=$ac_try;; 5704 esac 5705 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5706 $as_echo "$ac_try_echo") >&5 5707 (eval "$ac_compile") 2>conftest.er1 4683 5708 ac_status=$? 4684 5709 grep -v '^ *+' conftest.er1 >conftest.err 4685 5710 rm -f conftest.er1 4686 5711 cat conftest.err >&5 4687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4688 (exit $ac_status); } && 4689 { ac_try='test -z "$ac_c_werror_flag" 4690 || test ! -s conftest.err' 4691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4692 (eval $ac_try) 2>&5 4693 ac_status=$? 4694 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4695 (exit $ac_status); }; } && 4696 { ac_try='test -s conftest.$ac_objext' 4697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4698 (eval $ac_try) 2>&5 4699 ac_status=$? 4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4701 (exit $ac_status); }; }; then 5712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5713 (exit $ac_status); } && { 5714 test -z "$ac_c_werror_flag" || 5715 test ! -s conftest.err 5716 } && test -s conftest.$ac_objext; then 4702 5717 ac_cv_prog_cc_stdc="$ac_arg"; break 4703 5718 else 4704 echo "$as_me: failed program was:" >&55719 $as_echo "$as_me: failed program was:" >&5 4705 5720 sed 's/^/| /' conftest.$ac_ext >&5 4706 5721 4707 fi 4708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5722 5723 fi 5724 5725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4709 5726 done 4710 5727 CFLAGS="$ac_save_CFLAGS" … … 4712 5729 fi 4713 5730 4714 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&54715 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 5731 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 5732 $as_echo "$ac_cv_prog_cc_stdc" >&6; } 4716 5733 case "x$ac_cv_prog_cc_stdc" in 4717 5734 x|xno) ;; … … 4720 5737 4721 5738 4722 echo "$as_me:$LINENO: checking for function prototypes" >&54723 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 5739 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5 5740 $as_echo_n "checking for function prototypes... " >&6; } 4724 5741 if test "$ac_cv_prog_cc_stdc" != no; then 4725 echo "$as_me:$LINENO: result: yes" >&54726 echo "${ECHO_T}yes" >&6 5742 { $as_echo "$as_me:$LINENO: result: yes" >&5 5743 $as_echo "yes" >&6; } 4727 5744 cat >>confdefs.h <<\_ACEOF 4728 5745 #define PROTOTYPES 1 … … 4731 5748 U= ANSI2KNR= 4732 5749 else 4733 echo "$as_me:$LINENO: result: no" >&54734 echo "${ECHO_T}no" >&6 5750 { $as_echo "$as_me:$LINENO: result: no" >&5 5751 $as_echo "no" >&6; } 4735 5752 U=_ ANSI2KNR=ansi2knr 4736 5753 fi 4737 5754 4738 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&54739 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 5755 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 5756 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 4740 5757 if test "${ac_cv_c_const+set}" = set; then 4741 echo $ECHO_N "(cached) $ECHO_C" >&65758 $as_echo_n "(cached) " >&6 4742 5759 else 4743 5760 cat >conftest.$ac_ext <<_ACEOF … … 4755 5772 /* Ultrix mips cc rejects this. */ 4756 5773 typedef int charset[2]; 4757 const charset x;5774 const charset cs; 4758 5775 /* SunOS 4.1.1 cc rejects this. */ 4759 char const *const * ccp;4760 char **p ;5776 char const *const *pcpcc; 5777 char **ppc; 4761 5778 /* NEC SVR4.0.2 mips cc rejects this. */ 4762 5779 struct point {int x, y;}; … … 4767 5784 expression */ 4768 5785 const char *g = "string"; 4769 ccp= &g + (g ? g-g : 0);5786 pcpcc = &g + (g ? g-g : 0); 4770 5787 /* HPUX 7.0 cc rejects these. */ 4771 ++ ccp;4772 p = (char**) ccp;4773 ccp = (char const *const *) p;5788 ++pcpcc; 5789 ppc = (char**) pcpcc; 5790 pcpcc = (char const *const *) ppc; 4774 5791 { /* SCO 3.2v4 cc rejects this. */ 4775 5792 char *t; … … 4777 5794 4778 5795 *t++ = 0; 5796 if (s) return 0; 4779 5797 } 4780 5798 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 4795 5813 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4796 5814 const int foo = 10; 5815 if (!foo) return 0; 4797 5816 } 5817 return !cs[0] && !zero.x; 4798 5818 #endif 4799 5819 … … 4803 5823 _ACEOF 4804 5824 rm -f conftest.$ac_objext 4805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4806 (eval $ac_compile) 2>conftest.er1 5825 if { (ac_try="$ac_compile" 5826 case "(($ac_try" in 5827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5828 *) ac_try_echo=$ac_try;; 5829 esac 5830 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5831 $as_echo "$ac_try_echo") >&5 5832 (eval "$ac_compile") 2>conftest.er1 4807 5833 ac_status=$? 4808 5834 grep -v '^ *+' conftest.er1 >conftest.err 4809 5835 rm -f conftest.er1 4810 5836 cat conftest.err >&5 4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4812 (exit $ac_status); } && 4813 { ac_try='test -z "$ac_c_werror_flag" 4814 || test ! -s conftest.err' 4815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4816 (eval $ac_try) 2>&5 4817 ac_status=$? 4818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4819 (exit $ac_status); }; } && 4820 { ac_try='test -s conftest.$ac_objext' 4821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4822 (eval $ac_try) 2>&5 4823 ac_status=$? 4824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4825 (exit $ac_status); }; }; then 5837 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5838 (exit $ac_status); } && { 5839 test -z "$ac_c_werror_flag" || 5840 test ! -s conftest.err 5841 } && test -s conftest.$ac_objext; then 4826 5842 ac_cv_c_const=yes 4827 5843 else 4828 echo "$as_me: failed program was:" >&55844 $as_echo "$as_me: failed program was:" >&5 4829 5845 sed 's/^/| /' conftest.$ac_ext >&5 4830 5846 4831 ac_cv_c_const=no 4832 fi 4833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4834 fi 4835 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4836 echo "${ECHO_T}$ac_cv_c_const" >&6 5847 ac_cv_c_const=no 5848 fi 5849 5850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5851 fi 5852 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 5853 $as_echo "$ac_cv_c_const" >&6; } 4837 5854 if test $ac_cv_c_const = no; then 4838 5855 4839 5856 cat >>confdefs.h <<\_ACEOF 4840 #define const 4841 _ACEOF 4842 4843 fi 4844 4845 echo "$as_me:$LINENO: checking for off_t" >&54846 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 5857 #define const /**/ 5858 _ACEOF 5859 5860 fi 5861 5862 { $as_echo "$as_me:$LINENO: checking for off_t" >&5 5863 $as_echo_n "checking for off_t... " >&6; } 4847 5864 if test "${ac_cv_type_off_t+set}" = set; then 4848 echo $ECHO_N "(cached) $ECHO_C" >&6 4849 else 4850 cat >conftest.$ac_ext <<_ACEOF 5865 $as_echo_n "(cached) " >&6 5866 else 5867 ac_cv_type_off_t=no 5868 cat >conftest.$ac_ext <<_ACEOF 4851 5869 /* confdefs.h. */ 4852 5870 _ACEOF … … 4858 5876 main () 4859 5877 { 4860 if ((off_t *) 0)4861 return 0;4862 5878 if (sizeof (off_t)) 4863 return 0;5879 return 0; 4864 5880 ; 4865 5881 return 0; … … 4867 5883 _ACEOF 4868 5884 rm -f conftest.$ac_objext 4869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4870 (eval $ac_compile) 2>conftest.er1 5885 if { (ac_try="$ac_compile" 5886 case "(($ac_try" in 5887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5888 *) ac_try_echo=$ac_try;; 5889 esac 5890 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5891 $as_echo "$ac_try_echo") >&5 5892 (eval "$ac_compile") 2>conftest.er1 4871 5893 ac_status=$? 4872 5894 grep -v '^ *+' conftest.er1 >conftest.err 4873 5895 rm -f conftest.er1 4874 5896 cat conftest.err >&5 4875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4876 (exit $ac_status); } && 4877 { ac_try='test -z "$ac_c_werror_flag" 4878 || test ! -s conftest.err' 4879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4880 (eval $ac_try) 2>&5 4881 ac_status=$? 4882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4883 (exit $ac_status); }; } && 4884 { ac_try='test -s conftest.$ac_objext' 4885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4886 (eval $ac_try) 2>&5 4887 ac_status=$? 4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4889 (exit $ac_status); }; }; then 4890 ac_cv_type_off_t=yes 4891 else 4892 echo "$as_me: failed program was:" >&5 4893 sed 's/^/| /' conftest.$ac_ext >&5 4894 4895 ac_cv_type_off_t=no 4896 fi 4897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4898 fi 4899 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4900 echo "${ECHO_T}$ac_cv_type_off_t" >&6 4901 if test $ac_cv_type_off_t = yes; then 4902 : 4903 else 4904 4905 cat >>confdefs.h <<_ACEOF 4906 #define off_t long 4907 _ACEOF 4908 4909 fi 4910 4911 echo "$as_me:$LINENO: checking for size_t" >&5 4912 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 4913 if test "${ac_cv_type_size_t+set}" = set; then 4914 echo $ECHO_N "(cached) $ECHO_C" >&6 4915 else 5897 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5898 (exit $ac_status); } && { 5899 test -z "$ac_c_werror_flag" || 5900 test ! -s conftest.err 5901 } && test -s conftest.$ac_objext; then 4916 5902 cat >conftest.$ac_ext <<_ACEOF 4917 5903 /* confdefs.h. */ … … 4924 5910 main () 4925 5911 { 4926 if ((size_t *) 0) 4927 return 0; 4928 if (sizeof (size_t)) 4929 return 0; 5912 if (sizeof ((off_t))) 5913 return 0; 4930 5914 ; 4931 5915 return 0; … … 4933 5917 _ACEOF 4934 5918 rm -f conftest.$ac_objext 4935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4936 (eval $ac_compile) 2>conftest.er1 5919 if { (ac_try="$ac_compile" 5920 case "(($ac_try" in 5921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5922 *) ac_try_echo=$ac_try;; 5923 esac 5924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5925 $as_echo "$ac_try_echo") >&5 5926 (eval "$ac_compile") 2>conftest.er1 4937 5927 ac_status=$? 4938 5928 grep -v '^ *+' conftest.er1 >conftest.err 4939 5929 rm -f conftest.er1 4940 5930 cat conftest.err >&5 4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4942 (exit $ac_status); } && 4943 { ac_try='test -z "$ac_c_werror_flag" 4944 || test ! -s conftest.err' 4945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4946 (eval $ac_try) 2>&5 5931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5932 (exit $ac_status); } && { 5933 test -z "$ac_c_werror_flag" || 5934 test ! -s conftest.err 5935 } && test -s conftest.$ac_objext; then 5936 : 5937 else 5938 $as_echo "$as_me: failed program was:" >&5 5939 sed 's/^/| /' conftest.$ac_ext >&5 5940 5941 ac_cv_type_off_t=yes 5942 fi 5943 5944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5945 else 5946 $as_echo "$as_me: failed program was:" >&5 5947 sed 's/^/| /' conftest.$ac_ext >&5 5948 5949 5950 fi 5951 5952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5953 fi 5954 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 5955 $as_echo "$ac_cv_type_off_t" >&6; } 5956 if test "x$ac_cv_type_off_t" = x""yes; then 5957 : 5958 else 5959 5960 cat >>confdefs.h <<_ACEOF 5961 #define off_t long int 5962 _ACEOF 5963 5964 fi 5965 5966 { $as_echo "$as_me:$LINENO: checking for size_t" >&5 5967 $as_echo_n "checking for size_t... " >&6; } 5968 if test "${ac_cv_type_size_t+set}" = set; then 5969 $as_echo_n "(cached) " >&6 5970 else 5971 ac_cv_type_size_t=no 5972 cat >conftest.$ac_ext <<_ACEOF 5973 /* confdefs.h. */ 5974 _ACEOF 5975 cat confdefs.h >>conftest.$ac_ext 5976 cat >>conftest.$ac_ext <<_ACEOF 5977 /* end confdefs.h. */ 5978 $ac_includes_default 5979 int 5980 main () 5981 { 5982 if (sizeof (size_t)) 5983 return 0; 5984 ; 5985 return 0; 5986 } 5987 _ACEOF 5988 rm -f conftest.$ac_objext 5989 if { (ac_try="$ac_compile" 5990 case "(($ac_try" in 5991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5992 *) ac_try_echo=$ac_try;; 5993 esac 5994 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5995 $as_echo "$ac_try_echo") >&5 5996 (eval "$ac_compile") 2>conftest.er1 4947 5997 ac_status=$? 4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4949 (exit $ac_status); }; } && 4950 { ac_try='test -s conftest.$ac_objext' 4951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4952 (eval $ac_try) 2>&5 5998 grep -v '^ *+' conftest.er1 >conftest.err 5999 rm -f conftest.er1 6000 cat conftest.err >&5 6001 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6002 (exit $ac_status); } && { 6003 test -z "$ac_c_werror_flag" || 6004 test ! -s conftest.err 6005 } && test -s conftest.$ac_objext; then 6006 cat >conftest.$ac_ext <<_ACEOF 6007 /* confdefs.h. */ 6008 _ACEOF 6009 cat confdefs.h >>conftest.$ac_ext 6010 cat >>conftest.$ac_ext <<_ACEOF 6011 /* end confdefs.h. */ 6012 $ac_includes_default 6013 int 6014 main () 6015 { 6016 if (sizeof ((size_t))) 6017 return 0; 6018 ; 6019 return 0; 6020 } 6021 _ACEOF 6022 rm -f conftest.$ac_objext 6023 if { (ac_try="$ac_compile" 6024 case "(($ac_try" in 6025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6026 *) ac_try_echo=$ac_try;; 6027 esac 6028 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6029 $as_echo "$ac_try_echo") >&5 6030 (eval "$ac_compile") 2>conftest.er1 4953 6031 ac_status=$? 4954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4955 (exit $ac_status); }; }; then 4956 ac_cv_type_size_t=yes 4957 else 4958 echo "$as_me: failed program was:" >&5 6032 grep -v '^ *+' conftest.er1 >conftest.err 6033 rm -f conftest.er1 6034 cat conftest.err >&5 6035 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6036 (exit $ac_status); } && { 6037 test -z "$ac_c_werror_flag" || 6038 test ! -s conftest.err 6039 } && test -s conftest.$ac_objext; then 6040 : 6041 else 6042 $as_echo "$as_me: failed program was:" >&5 4959 6043 sed 's/^/| /' conftest.$ac_ext >&5 4960 6044 4961 ac_cv_type_size_t=no 4962 fi 4963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4964 fi 4965 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4966 echo "${ECHO_T}$ac_cv_type_size_t" >&6 4967 if test $ac_cv_type_size_t = yes; then 6045 ac_cv_type_size_t=yes 6046 fi 6047 6048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6049 else 6050 $as_echo "$as_me: failed program was:" >&5 6051 sed 's/^/| /' conftest.$ac_ext >&5 6052 6053 6054 fi 6055 6056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6057 fi 6058 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 6059 $as_echo "$ac_cv_type_size_t" >&6; } 6060 if test "x$ac_cv_type_size_t" = x""yes; then 4968 6061 : 4969 6062 else 4970 6063 4971 6064 cat >>confdefs.h <<_ACEOF 4972 #define size_t unsigned 4973 _ACEOF 4974 4975 fi 4976 4977 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&54978 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 6065 #define size_t unsigned int 6066 _ACEOF 6067 6068 fi 6069 6070 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 6071 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 4979 6072 if test "${ac_cv_header_time+set}" = set; then 4980 echo $ECHO_N "(cached) $ECHO_C" >&66073 $as_echo_n "(cached) " >&6 4981 6074 else 4982 6075 cat >conftest.$ac_ext <<_ACEOF … … 5000 6093 _ACEOF 5001 6094 rm -f conftest.$ac_objext 5002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5003 (eval $ac_compile) 2>conftest.er1 6095 if { (ac_try="$ac_compile" 6096 case "(($ac_try" in 6097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6098 *) ac_try_echo=$ac_try;; 6099 esac 6100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6101 $as_echo "$ac_try_echo") >&5 6102 (eval "$ac_compile") 2>conftest.er1 5004 6103 ac_status=$? 5005 6104 grep -v '^ *+' conftest.er1 >conftest.err 5006 6105 rm -f conftest.er1 5007 6106 cat conftest.err >&5 5008 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5009 (exit $ac_status); } && 5010 { ac_try='test -z "$ac_c_werror_flag" 5011 || test ! -s conftest.err' 5012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5013 (eval $ac_try) 2>&5 5014 ac_status=$? 5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5016 (exit $ac_status); }; } && 5017 { ac_try='test -s conftest.$ac_objext' 5018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5019 (eval $ac_try) 2>&5 5020 ac_status=$? 5021 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5022 (exit $ac_status); }; }; then 6107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6108 (exit $ac_status); } && { 6109 test -z "$ac_c_werror_flag" || 6110 test ! -s conftest.err 6111 } && test -s conftest.$ac_objext; then 5023 6112 ac_cv_header_time=yes 5024 6113 else 5025 echo "$as_me: failed program was:" >&56114 $as_echo "$as_me: failed program was:" >&5 5026 6115 sed 's/^/| /' conftest.$ac_ext >&5 5027 6116 5028 ac_cv_header_time=no 5029 fi 5030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5031 fi 5032 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 5033 echo "${ECHO_T}$ac_cv_header_time" >&6 6117 ac_cv_header_time=no 6118 fi 6119 6120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6121 fi 6122 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 6123 $as_echo "$ac_cv_header_time" >&6; } 5034 6124 if test $ac_cv_header_time = yes; then 5035 6125 … … 5040 6130 fi 5041 6131 5042 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&55043 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 6132 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 6133 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 5044 6134 if test "${ac_cv_struct_tm+set}" = set; then 5045 echo $ECHO_N "(cached) $ECHO_C" >&66135 $as_echo_n "(cached) " >&6 5046 6136 else 5047 6137 cat >conftest.$ac_ext <<_ACEOF … … 5057 6147 main () 5058 6148 { 5059 struct tm *tp; tp->tm_sec; 6149 struct tm tm; 6150 int *p = &tm.tm_sec; 6151 return !p; 5060 6152 ; 5061 6153 return 0; … … 5063 6155 _ACEOF 5064 6156 rm -f conftest.$ac_objext 5065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5066 (eval $ac_compile) 2>conftest.er1 6157 if { (ac_try="$ac_compile" 6158 case "(($ac_try" in 6159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6160 *) ac_try_echo=$ac_try;; 6161 esac 6162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6163 $as_echo "$ac_try_echo") >&5 6164 (eval "$ac_compile") 2>conftest.er1 5067 6165 ac_status=$? 5068 6166 grep -v '^ *+' conftest.er1 >conftest.err 5069 6167 rm -f conftest.er1 5070 6168 cat conftest.err >&5 5071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5072 (exit $ac_status); } && 5073 { ac_try='test -z "$ac_c_werror_flag" 5074 || test ! -s conftest.err' 5075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5076 (eval $ac_try) 2>&5 5077 ac_status=$? 5078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5079 (exit $ac_status); }; } && 5080 { ac_try='test -s conftest.$ac_objext' 5081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5082 (eval $ac_try) 2>&5 5083 ac_status=$? 5084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5085 (exit $ac_status); }; }; then 6169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6170 (exit $ac_status); } && { 6171 test -z "$ac_c_werror_flag" || 6172 test ! -s conftest.err 6173 } && test -s conftest.$ac_objext; then 5086 6174 ac_cv_struct_tm=time.h 5087 6175 else 5088 echo "$as_me: failed program was:" >&56176 $as_echo "$as_me: failed program was:" >&5 5089 6177 sed 's/^/| /' conftest.$ac_ext >&5 5090 6178 5091 ac_cv_struct_tm=sys/time.h 5092 fi 5093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5094 fi 5095 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 5096 echo "${ECHO_T}$ac_cv_struct_tm" >&6 6179 ac_cv_struct_tm=sys/time.h 6180 fi 6181 6182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6183 fi 6184 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 6185 $as_echo "$ac_cv_struct_tm" >&6; } 5097 6186 if test $ac_cv_struct_tm = sys/time.h; then 5098 6187 … … 5122 6211 _ACEOF 5123 6212 rm -f conftest.$ac_objext 5124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5125 (eval $ac_compile) 2>conftest.er1 6213 if { (ac_try="$ac_compile" 6214 case "(($ac_try" in 6215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6216 *) ac_try_echo=$ac_try;; 6217 esac 6218 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6219 $as_echo "$ac_try_echo") >&5 6220 (eval "$ac_compile") 2>conftest.er1 5126 6221 ac_status=$? 5127 6222 grep -v '^ *+' conftest.er1 >conftest.err 5128 6223 rm -f conftest.er1 5129 6224 cat conftest.err >&5 5130 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5131 (exit $ac_status); } && 5132 { ac_try='test -z "$ac_c_werror_flag" 5133 || test ! -s conftest.err' 5134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5135 (eval $ac_try) 2>&5 5136 ac_status=$? 5137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5138 (exit $ac_status); }; } && 5139 { ac_try='test -s conftest.$ac_objext' 5140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5141 (eval $ac_try) 2>&5 5142 ac_status=$? 5143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5144 (exit $ac_status); }; }; then 6225 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6226 (exit $ac_status); } && { 6227 test -z "$ac_c_werror_flag" || 6228 test ! -s conftest.err 6229 } && test -s conftest.$ac_objext; then 5145 6230 : 5146 6231 else 5147 echo "$as_me: failed program was:" >&56232 $as_echo "$as_me: failed program was:" >&5 5148 6233 sed 's/^/| /' conftest.$ac_ext >&5 5149 6234 5150 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5151 fi 5152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5153 fi 5154 5155 5156 5157 echo "$as_me:$LINENO: checking for main in -lg" >&5 5158 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6 6235 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 6236 fi 6237 6238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6239 fi 6240 6241 6242 6243 { $as_echo "$as_me:$LINENO: checking for main in -lg" >&5 6244 $as_echo_n "checking for main in -lg... " >&6; } 5159 6245 if test "${ac_cv_lib_g_main+set}" = set; then 5160 echo $ECHO_N "(cached) $ECHO_C" >&66246 $as_echo_n "(cached) " >&6 5161 6247 else 5162 6248 ac_check_lib_save_LIBS=$LIBS … … 5173 6259 main () 5174 6260 { 5175 main ();6261 return main (); 5176 6262 ; 5177 6263 return 0; … … 5179 6265 _ACEOF 5180 6266 rm -f conftest.$ac_objext conftest$ac_exeext 5181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5182 (eval $ac_link) 2>conftest.er1 6267 if { (ac_try="$ac_link" 6268 case "(($ac_try" in 6269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6270 *) ac_try_echo=$ac_try;; 6271 esac 6272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6273 $as_echo "$ac_try_echo") >&5 6274 (eval "$ac_link") 2>conftest.er1 5183 6275 ac_status=$? 5184 6276 grep -v '^ *+' conftest.er1 >conftest.err 5185 6277 rm -f conftest.er1 5186 6278 cat conftest.err >&5 5187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5188 (exit $ac_status); } && 5189 { ac_try='test -z "$ac_c_werror_flag" 5190 || test ! -s conftest.err' 5191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5192 (eval $ac_try) 2>&5 5193 ac_status=$? 5194 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5195 (exit $ac_status); }; } && 5196 { ac_try='test -s conftest$ac_exeext' 5197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5198 (eval $ac_try) 2>&5 5199 ac_status=$? 5200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5201 (exit $ac_status); }; }; then 6279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6280 (exit $ac_status); } && { 6281 test -z "$ac_c_werror_flag" || 6282 test ! -s conftest.err 6283 } && test -s conftest$ac_exeext && { 6284 test "$cross_compiling" = yes || 6285 $as_test_x conftest$ac_exeext 6286 }; then 5202 6287 ac_cv_lib_g_main=yes 5203 6288 else 5204 echo "$as_me: failed program was:" >&56289 $as_echo "$as_me: failed program was:" >&5 5205 6290 sed 's/^/| /' conftest.$ac_ext >&5 5206 6291 5207 ac_cv_lib_g_main=no 5208 fi 5209 rm -f conftest.err conftest.$ac_objext \ 6292 ac_cv_lib_g_main=no 6293 fi 6294 6295 rm -rf conftest.dSYM 6296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5210 6297 conftest$ac_exeext conftest.$ac_ext 5211 6298 LIBS=$ac_check_lib_save_LIBS 5212 6299 fi 5213 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&55214 echo "${ECHO_T}$ac_cv_lib_g_main" >&6 5215 if test $ac_cv_lib_g_main =yes; then6300 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5 6301 $as_echo "$ac_cv_lib_g_main" >&6; } 6302 if test "x$ac_cv_lib_g_main" = x""yes; then 5216 6303 cat >>confdefs.h <<_ACEOF 5217 6304 #define HAVE_LIBG 1 … … 5224 6311 5225 6312 5226 echo "$as_me:$LINENO: checking for main in -lm" >&55227 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 6313 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5 6314 $as_echo_n "checking for main in -lm... " >&6; } 5228 6315 if test "${ac_cv_lib_m_main+set}" = set; then 5229 echo $ECHO_N "(cached) $ECHO_C" >&66316 $as_echo_n "(cached) " >&6 5230 6317 else 5231 6318 ac_check_lib_save_LIBS=$LIBS … … 5242 6329 main () 5243 6330 { 5244 main ();6331 return main (); 5245 6332 ; 5246 6333 return 0; … … 5248 6335 _ACEOF 5249 6336 rm -f conftest.$ac_objext conftest$ac_exeext 5250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5251 (eval $ac_link) 2>conftest.er1 6337 if { (ac_try="$ac_link" 6338 case "(($ac_try" in 6339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6340 *) ac_try_echo=$ac_try;; 6341 esac 6342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6343 $as_echo "$ac_try_echo") >&5 6344 (eval "$ac_link") 2>conftest.er1 5252 6345 ac_status=$? 5253 6346 grep -v '^ *+' conftest.er1 >conftest.err 5254 6347 rm -f conftest.er1 5255 6348 cat conftest.err >&5 5256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5257 (exit $ac_status); } && 5258 { ac_try='test -z "$ac_c_werror_flag" 5259 || test ! -s conftest.err' 5260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5261 (eval $ac_try) 2>&5 5262 ac_status=$? 5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5264 (exit $ac_status); }; } && 5265 { ac_try='test -s conftest$ac_exeext' 5266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5267 (eval $ac_try) 2>&5 5268 ac_status=$? 5269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5270 (exit $ac_status); }; }; then 6349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6350 (exit $ac_status); } && { 6351 test -z "$ac_c_werror_flag" || 6352 test ! -s conftest.err 6353 } && test -s conftest$ac_exeext && { 6354 test "$cross_compiling" = yes || 6355 $as_test_x conftest$ac_exeext 6356 }; then 5271 6357 ac_cv_lib_m_main=yes 5272 6358 else 5273 echo "$as_me: failed program was:" >&56359 $as_echo "$as_me: failed program was:" >&5 5274 6360 sed 's/^/| /' conftest.$ac_ext >&5 5275 6361 5276 ac_cv_lib_m_main=no 5277 fi 5278 rm -f conftest.err conftest.$ac_objext \ 6362 ac_cv_lib_m_main=no 6363 fi 6364 6365 rm -rf conftest.dSYM 6366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5279 6367 conftest$ac_exeext conftest.$ac_ext 5280 6368 LIBS=$ac_check_lib_save_LIBS 5281 6369 fi 5282 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&55283 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 5284 if test $ac_cv_lib_m_main =yes; then6370 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 6371 $as_echo "$ac_cv_lib_m_main" >&6; } 6372 if test "x$ac_cv_lib_m_main" = x""yes; then 5285 6373 cat >>confdefs.h <<_ACEOF 5286 6374 #define HAVE_LIBM 1 … … 5293 6381 5294 6382 5295 echo "$as_me:$LINENO: checking for main in -lcrypt" >&55296 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 6383 { $as_echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 6384 $as_echo_n "checking for main in -lcrypt... " >&6; } 5297 6385 if test "${ac_cv_lib_crypt_main+set}" = set; then 5298 echo $ECHO_N "(cached) $ECHO_C" >&66386 $as_echo_n "(cached) " >&6 5299 6387 else 5300 6388 ac_check_lib_save_LIBS=$LIBS … … 5311 6399 main () 5312 6400 { 5313 main ();6401 return main (); 5314 6402 ; 5315 6403 return 0; … … 5317 6405 _ACEOF 5318 6406 rm -f conftest.$ac_objext conftest$ac_exeext 5319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5320 (eval $ac_link) 2>conftest.er1 6407 if { (ac_try="$ac_link" 6408 case "(($ac_try" in 6409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6410 *) ac_try_echo=$ac_try;; 6411 esac 6412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6413 $as_echo "$ac_try_echo") >&5 6414 (eval "$ac_link") 2>conftest.er1 5321 6415 ac_status=$? 5322 6416 grep -v '^ *+' conftest.er1 >conftest.err 5323 6417 rm -f conftest.er1 5324 6418 cat conftest.err >&5 5325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5326 (exit $ac_status); } && 5327 { ac_try='test -z "$ac_c_werror_flag" 5328 || test ! -s conftest.err' 5329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5330 (eval $ac_try) 2>&5 5331 ac_status=$? 5332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5333 (exit $ac_status); }; } && 5334 { ac_try='test -s conftest$ac_exeext' 5335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5336 (eval $ac_try) 2>&5 5337 ac_status=$? 5338 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5339 (exit $ac_status); }; }; then 6419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6420 (exit $ac_status); } && { 6421 test -z "$ac_c_werror_flag" || 6422 test ! -s conftest.err 6423 } && test -s conftest$ac_exeext && { 6424 test "$cross_compiling" = yes || 6425 $as_test_x conftest$ac_exeext 6426 }; then 5340 6427 ac_cv_lib_crypt_main=yes 5341 6428 else 5342 echo "$as_me: failed program was:" >&56429 $as_echo "$as_me: failed program was:" >&5 5343 6430 sed 's/^/| /' conftest.$ac_ext >&5 5344 6431 5345 ac_cv_lib_crypt_main=no 5346 fi 5347 rm -f conftest.err conftest.$ac_objext \ 6432 ac_cv_lib_crypt_main=no 6433 fi 6434 6435 rm -rf conftest.dSYM 6436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5348 6437 conftest$ac_exeext conftest.$ac_ext 5349 6438 LIBS=$ac_check_lib_save_LIBS 5350 6439 fi 5351 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&55352 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 5353 if test $ac_cv_lib_crypt_main =yes; then6440 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5 6441 $as_echo "$ac_cv_lib_crypt_main" >&6; } 6442 if test "x$ac_cv_lib_crypt_main" = x""yes; then 5354 6443 cat >>confdefs.h <<_ACEOF 5355 6444 #define HAVE_LIBCRYPT 1 … … 5372 6461 ac_header_dirent=no 5373 6462 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 5374 as_ac_Header=` echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`5375 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&55376 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 5377 if eval "test \"\${$as_ac_Header+set}\" = set"; then5378 echo $ECHO_N "(cached) $ECHO_C" >&66463 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 6464 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 6465 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 6466 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6467 $as_echo_n "(cached) " >&6 5379 6468 else 5380 6469 cat >conftest.$ac_ext <<_ACEOF … … 5397 6486 _ACEOF 5398 6487 rm -f conftest.$ac_objext 5399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5400 (eval $ac_compile) 2>conftest.er1 6488 if { (ac_try="$ac_compile" 6489 case "(($ac_try" in 6490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6491 *) ac_try_echo=$ac_try;; 6492 esac 6493 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6494 $as_echo "$ac_try_echo") >&5 6495 (eval "$ac_compile") 2>conftest.er1 5401 6496 ac_status=$? 5402 6497 grep -v '^ *+' conftest.er1 >conftest.err 5403 6498 rm -f conftest.er1 5404 6499 cat conftest.err >&5 5405 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5406 (exit $ac_status); } && 5407 { ac_try='test -z "$ac_c_werror_flag" 5408 || test ! -s conftest.err' 5409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5410 (eval $ac_try) 2>&5 5411 ac_status=$? 5412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5413 (exit $ac_status); }; } && 5414 { ac_try='test -s conftest.$ac_objext' 5415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5416 (eval $ac_try) 2>&5 5417 ac_status=$? 5418 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5419 (exit $ac_status); }; }; then 6500 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6501 (exit $ac_status); } && { 6502 test -z "$ac_c_werror_flag" || 6503 test ! -s conftest.err 6504 } && test -s conftest.$ac_objext; then 5420 6505 eval "$as_ac_Header=yes" 5421 6506 else 5422 echo "$as_me: failed program was:" >&56507 $as_echo "$as_me: failed program was:" >&5 5423 6508 sed 's/^/| /' conftest.$ac_ext >&5 5424 6509 5425 eval "$as_ac_Header=no" 5426 fi 5427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5428 fi 5429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5431 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6510 eval "$as_ac_Header=no" 6511 fi 6512 6513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6514 fi 6515 ac_res=`eval 'as_val=${'$as_ac_Header'} 6516 $as_echo "$as_val"'` 6517 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6518 $as_echo "$ac_res" >&6; } 6519 as_val=`eval 'as_val=${'$as_ac_Header'} 6520 $as_echo "$as_val"'` 6521 if test "x$as_val" = x""yes; then 5432 6522 cat >>confdefs.h <<_ACEOF 5433 #define ` echo "HAVE_$ac_hdr" | $as_tr_cpp` 16523 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 5434 6524 _ACEOF 5435 6525 … … 5440 6530 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 5441 6531 if test $ac_header_dirent = dirent.h; then 5442 echo "$as_me:$LINENO: checking for library containing opendir" >&55443 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 6532 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 6533 $as_echo_n "checking for library containing opendir... " >&6; } 5444 6534 if test "${ac_cv_search_opendir+set}" = set; then 5445 echo $ECHO_N "(cached) $ECHO_C" >&66535 $as_echo_n "(cached) " >&6 5446 6536 else 5447 6537 ac_func_search_save_LIBS=$LIBS 5448 ac_cv_search_opendir=no5449 6538 cat >conftest.$ac_ext <<_ACEOF 5450 6539 /* confdefs.h. */ … … 5454 6543 /* end confdefs.h. */ 5455 6544 5456 /* Override any gcc2 internal prototype to avoid an error. */ 6545 /* Override any GCC internal prototype to avoid an error. 6546 Use char because int might match the return type of a GCC 6547 builtin and then its argument prototype would still apply. */ 5457 6548 #ifdef __cplusplus 5458 6549 extern "C" 5459 6550 #endif 5460 /* We use char because int might match the return type of a gcc25461 builtin and then its argument prototype would still apply. */5462 6551 char opendir (); 5463 6552 int 5464 6553 main () 5465 6554 { 5466 opendir ();6555 return opendir (); 5467 6556 ; 5468 6557 return 0; 5469 6558 } 5470 6559 _ACEOF 5471 rm -f conftest.$ac_objext conftest$ac_exeext 5472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5473 (eval $ac_link) 2>conftest.er1 6560 for ac_lib in '' dir; do 6561 if test -z "$ac_lib"; then 6562 ac_res="none required" 6563 else 6564 ac_res=-l$ac_lib 6565 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6566 fi 6567 rm -f conftest.$ac_objext conftest$ac_exeext 6568 if { (ac_try="$ac_link" 6569 case "(($ac_try" in 6570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6571 *) ac_try_echo=$ac_try;; 6572 esac 6573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6574 $as_echo "$ac_try_echo") >&5 6575 (eval "$ac_link") 2>conftest.er1 5474 6576 ac_status=$? 5475 6577 grep -v '^ *+' conftest.er1 >conftest.err 5476 6578 rm -f conftest.er1 5477 6579 cat conftest.err >&5 5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5479 (exit $ac_status); } && 5480 { ac_try='test -z "$ac_c_werror_flag" 5481 || test ! -s conftest.err' 5482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5483 (eval $ac_try) 2>&5 5484 ac_status=$? 5485 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5486 (exit $ac_status); }; } && 5487 { ac_try='test -s conftest$ac_exeext' 5488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5489 (eval $ac_try) 2>&5 5490 ac_status=$? 5491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5492 (exit $ac_status); }; }; then 5493 ac_cv_search_opendir="none required" 5494 else 5495 echo "$as_me: failed program was:" >&5 6580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6581 (exit $ac_status); } && { 6582 test -z "$ac_c_werror_flag" || 6583 test ! -s conftest.err 6584 } && test -s conftest$ac_exeext && { 6585 test "$cross_compiling" = yes || 6586 $as_test_x conftest$ac_exeext 6587 }; then 6588 ac_cv_search_opendir=$ac_res 6589 else 6590 $as_echo "$as_me: failed program was:" >&5 5496 6591 sed 's/^/| /' conftest.$ac_ext >&5 5497 6592 5498 fi 5499 rm -f conftest.err conftest.$ac_objext \ 5500 conftest$ac_exeext conftest.$ac_ext 5501 if test "$ac_cv_search_opendir" = no; then 5502 for ac_lib in dir; do 5503 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5504 cat >conftest.$ac_ext <<_ACEOF 6593 6594 fi 6595 6596 rm -rf conftest.dSYM 6597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6598 conftest$ac_exeext 6599 if test "${ac_cv_search_opendir+set}" = set; then 6600 break 6601 fi 6602 done 6603 if test "${ac_cv_search_opendir+set}" = set; then 6604 : 6605 else 6606 ac_cv_search_opendir=no 6607 fi 6608 rm conftest.$ac_ext 6609 LIBS=$ac_func_search_save_LIBS 6610 fi 6611 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 6612 $as_echo "$ac_cv_search_opendir" >&6; } 6613 ac_res=$ac_cv_search_opendir 6614 if test "$ac_res" != no; then 6615 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6616 6617 fi 6618 6619 else 6620 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 6621 $as_echo_n "checking for library containing opendir... " >&6; } 6622 if test "${ac_cv_search_opendir+set}" = set; then 6623 $as_echo_n "(cached) " >&6 6624 else 6625 ac_func_search_save_LIBS=$LIBS 6626 cat >conftest.$ac_ext <<_ACEOF 5505 6627 /* confdefs.h. */ 5506 6628 _ACEOF … … 5509 6631 /* end confdefs.h. */ 5510 6632 5511 /* Override any gcc2 internal prototype to avoid an error. */ 6633 /* Override any GCC internal prototype to avoid an error. 6634 Use char because int might match the return type of a GCC 6635 builtin and then its argument prototype would still apply. */ 5512 6636 #ifdef __cplusplus 5513 6637 extern "C" 5514 6638 #endif 5515 /* We use char because int might match the return type of a gcc25516 builtin and then its argument prototype would still apply. */5517 6639 char opendir (); 5518 6640 int 5519 6641 main () 5520 6642 { 5521 opendir ();6643 return opendir (); 5522 6644 ; 5523 6645 return 0; 5524 6646 } 5525 6647 _ACEOF 5526 rm -f conftest.$ac_objext conftest$ac_exeext 5527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5528 (eval $ac_link) 2>conftest.er1 6648 for ac_lib in '' x; do 6649 if test -z "$ac_lib"; then 6650 ac_res="none required" 6651 else 6652 ac_res=-l$ac_lib 6653 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6654 fi 6655 rm -f conftest.$ac_objext conftest$ac_exeext 6656 if { (ac_try="$ac_link" 6657 case "(($ac_try" in 6658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6659 *) ac_try_echo=$ac_try;; 6660 esac 6661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6662 $as_echo "$ac_try_echo") >&5 6663 (eval "$ac_link") 2>conftest.er1 5529 6664 ac_status=$? 5530 6665 grep -v '^ *+' conftest.er1 >conftest.err 5531 6666 rm -f conftest.er1 5532 6667 cat conftest.err >&5 5533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5534 (exit $ac_status); } && 5535 { ac_try='test -z "$ac_c_werror_flag" 5536 || test ! -s conftest.err' 5537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5538 (eval $ac_try) 2>&5 5539 ac_status=$? 5540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5541 (exit $ac_status); }; } && 5542 { ac_try='test -s conftest$ac_exeext' 5543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5544 (eval $ac_try) 2>&5 5545 ac_status=$? 5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5547 (exit $ac_status); }; }; then 5548 ac_cv_search_opendir="-l$ac_lib" 5549 break 5550 else 5551 echo "$as_me: failed program was:" >&5 6668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6669 (exit $ac_status); } && { 6670 test -z "$ac_c_werror_flag" || 6671 test ! -s conftest.err 6672 } && test -s conftest$ac_exeext && { 6673 test "$cross_compiling" = yes || 6674 $as_test_x conftest$ac_exeext 6675 }; then 6676 ac_cv_search_opendir=$ac_res 6677 else 6678 $as_echo "$as_me: failed program was:" >&5 5552 6679 sed 's/^/| /' conftest.$ac_ext >&5 5553 6680 5554 fi 5555 rm -f conftest.err conftest.$ac_objext \ 5556 conftest$ac_exeext conftest.$ac_ext 5557 done 5558 fi 6681 6682 fi 6683 6684 rm -rf conftest.dSYM 6685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6686 conftest$ac_exeext 6687 if test "${ac_cv_search_opendir+set}" = set; then 6688 break 6689 fi 6690 done 6691 if test "${ac_cv_search_opendir+set}" = set; then 6692 : 6693 else 6694 ac_cv_search_opendir=no 6695 fi 6696 rm conftest.$ac_ext 5559 6697 LIBS=$ac_func_search_save_LIBS 5560 6698 fi 5561 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5562 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5563 if test "$ac_cv_search_opendir" != no; then 5564 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5565 5566 fi 5567 5568 else 5569 echo "$as_me:$LINENO: checking for library containing opendir" >&5 5570 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5571 if test "${ac_cv_search_opendir+set}" = set; then 5572 echo $ECHO_N "(cached) $ECHO_C" >&6 5573 else 5574 ac_func_search_save_LIBS=$LIBS 5575 ac_cv_search_opendir=no 5576 cat >conftest.$ac_ext <<_ACEOF 5577 /* confdefs.h. */ 5578 _ACEOF 5579 cat confdefs.h >>conftest.$ac_ext 5580 cat >>conftest.$ac_ext <<_ACEOF 5581 /* end confdefs.h. */ 5582 5583 /* Override any gcc2 internal prototype to avoid an error. */ 5584 #ifdef __cplusplus 5585 extern "C" 5586 #endif 5587 /* We use char because int might match the return type of a gcc2 5588 builtin and then its argument prototype would still apply. */ 5589 char opendir (); 5590 int 5591 main () 5592 { 5593 opendir (); 5594 ; 5595 return 0; 5596 } 5597 _ACEOF 5598 rm -f conftest.$ac_objext conftest$ac_exeext 5599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5600 (eval $ac_link) 2>conftest.er1 5601 ac_status=$? 5602 grep -v '^ *+' conftest.er1 >conftest.err 5603 rm -f conftest.er1 5604 cat conftest.err >&5 5605 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5606 (exit $ac_status); } && 5607 { ac_try='test -z "$ac_c_werror_flag" 5608 || test ! -s conftest.err' 5609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5610 (eval $ac_try) 2>&5 5611 ac_status=$? 5612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5613 (exit $ac_status); }; } && 5614 { ac_try='test -s conftest$ac_exeext' 5615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5616 (eval $ac_try) 2>&5 5617 ac_status=$? 5618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5619 (exit $ac_status); }; }; then 5620 ac_cv_search_opendir="none required" 5621 else 5622 echo "$as_me: failed program was:" >&5 5623 sed 's/^/| /' conftest.$ac_ext >&5 5624 5625 fi 5626 rm -f conftest.err conftest.$ac_objext \ 5627 conftest$ac_exeext conftest.$ac_ext 5628 if test "$ac_cv_search_opendir" = no; then 5629 for ac_lib in x; do 5630 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5631 cat >conftest.$ac_ext <<_ACEOF 5632 /* confdefs.h. */ 5633 _ACEOF 5634 cat confdefs.h >>conftest.$ac_ext 5635 cat >>conftest.$ac_ext <<_ACEOF 5636 /* end confdefs.h. */ 5637 5638 /* Override any gcc2 internal prototype to avoid an error. */ 5639 #ifdef __cplusplus 5640 extern "C" 5641 #endif 5642 /* We use char because int might match the return type of a gcc2 5643 builtin and then its argument prototype would still apply. */ 5644 char opendir (); 5645 int 5646 main () 5647 { 5648 opendir (); 5649 ; 5650 return 0; 5651 } 5652 _ACEOF 5653 rm -f conftest.$ac_objext conftest$ac_exeext 5654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5655 (eval $ac_link) 2>conftest.er1 5656 ac_status=$? 5657 grep -v '^ *+' conftest.er1 >conftest.err 5658 rm -f conftest.er1 5659 cat conftest.err >&5 5660 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5661 (exit $ac_status); } && 5662 { ac_try='test -z "$ac_c_werror_flag" 5663 || test ! -s conftest.err' 5664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5665 (eval $ac_try) 2>&5 5666 ac_status=$? 5667 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5668 (exit $ac_status); }; } && 5669 { ac_try='test -s conftest$ac_exeext' 5670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5671 (eval $ac_try) 2>&5 5672 ac_status=$? 5673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5674 (exit $ac_status); }; }; then 5675 ac_cv_search_opendir="-l$ac_lib" 5676 break 5677 else 5678 echo "$as_me: failed program was:" >&5 5679 sed 's/^/| /' conftest.$ac_ext >&5 5680 5681 fi 5682 rm -f conftest.err conftest.$ac_objext \ 5683 conftest$ac_exeext conftest.$ac_ext 5684 done 5685 fi 5686 LIBS=$ac_func_search_save_LIBS 5687 fi 5688 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5689 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5690 if test "$ac_cv_search_opendir" != no; then 5691 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5692 5693 fi 5694 5695 fi 5696 5697 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5698 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6699 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 6700 $as_echo "$ac_cv_search_opendir" >&6; } 6701 ac_res=$ac_cv_search_opendir 6702 if test "$ac_res" != no; then 6703 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6704 6705 fi 6706 6707 fi 6708 6709 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6710 $as_echo_n "checking for ANSI C header files... " >&6; } 5699 6711 if test "${ac_cv_header_stdc+set}" = set; then 5700 echo $ECHO_N "(cached) $ECHO_C" >&66712 $as_echo_n "(cached) " >&6 5701 6713 else 5702 6714 cat >conftest.$ac_ext <<_ACEOF … … 5720 6732 _ACEOF 5721 6733 rm -f conftest.$ac_objext 5722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5723 (eval $ac_compile) 2>conftest.er1 6734 if { (ac_try="$ac_compile" 6735 case "(($ac_try" in 6736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6737 *) ac_try_echo=$ac_try;; 6738 esac 6739 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6740 $as_echo "$ac_try_echo") >&5 6741 (eval "$ac_compile") 2>conftest.er1 5724 6742 ac_status=$? 5725 6743 grep -v '^ *+' conftest.er1 >conftest.err 5726 6744 rm -f conftest.er1 5727 6745 cat conftest.err >&5 5728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5729 (exit $ac_status); } && 5730 { ac_try='test -z "$ac_c_werror_flag" 5731 || test ! -s conftest.err' 5732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5733 (eval $ac_try) 2>&5 5734 ac_status=$? 5735 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5736 (exit $ac_status); }; } && 5737 { ac_try='test -s conftest.$ac_objext' 5738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5739 (eval $ac_try) 2>&5 5740 ac_status=$? 5741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5742 (exit $ac_status); }; }; then 6746 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6747 (exit $ac_status); } && { 6748 test -z "$ac_c_werror_flag" || 6749 test ! -s conftest.err 6750 } && test -s conftest.$ac_objext; then 5743 6751 ac_cv_header_stdc=yes 5744 6752 else 5745 echo "$as_me: failed program was:" >&56753 $as_echo "$as_me: failed program was:" >&5 5746 6754 sed 's/^/| /' conftest.$ac_ext >&5 5747 6755 5748 ac_cv_header_stdc=no 5749 fi 5750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6756 ac_cv_header_stdc=no 6757 fi 6758 6759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5751 6760 5752 6761 if test $ac_cv_header_stdc = yes; then … … 5804 6813 /* end confdefs.h. */ 5805 6814 #include <ctype.h> 6815 #include <stdlib.h> 5806 6816 #if ((' ' & 0x0FF) == 0x020) 5807 6817 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 5823 6833 if (XOR (islower (i), ISLOWER (i)) 5824 6834 || toupper (i) != TOUPPER (i)) 5825 exit(2);5826 exit (0);6835 return 2; 6836 return 0; 5827 6837 } 5828 6838 _ACEOF 5829 6839 rm -f conftest$ac_exeext 5830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5831 (eval $ac_link) 2>&5 6840 if { (ac_try="$ac_link" 6841 case "(($ac_try" in 6842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6843 *) ac_try_echo=$ac_try;; 6844 esac 6845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6846 $as_echo "$ac_try_echo") >&5 6847 (eval "$ac_link") 2>&5 5832 6848 ac_status=$? 5833 echo "$as_me:$LINENO: \$? = $ac_status" >&56849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5834 6850 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5836 (eval $ac_try) 2>&5 6851 { (case "(($ac_try" in 6852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6853 *) ac_try_echo=$ac_try;; 6854 esac 6855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6856 $as_echo "$ac_try_echo") >&5 6857 (eval "$ac_try") 2>&5 5837 6858 ac_status=$? 5838 echo "$as_me:$LINENO: \$? = $ac_status" >&56859 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5839 6860 (exit $ac_status); }; }; then 5840 6861 : 5841 6862 else 5842 echo "$as_me: program exited with status $ac_status" >&55843 echo "$as_me: failed program was:" >&56863 $as_echo "$as_me: program exited with status $ac_status" >&5 6864 $as_echo "$as_me: failed program was:" >&5 5844 6865 sed 's/^/| /' conftest.$ac_ext >&5 5845 6866 … … 5847 6868 ac_cv_header_stdc=no 5848 6869 fi 5849 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5850 fi 5851 fi 5852 fi 5853 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5854 echo "${ECHO_T}$ac_cv_header_stdc" >&6 6870 rm -rf conftest.dSYM 6871 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6872 fi 6873 6874 6875 fi 6876 fi 6877 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6878 $as_echo "$ac_cv_header_stdc" >&6; } 5855 6879 if test $ac_cv_header_stdc = yes; then 5856 6880 … … 5872 6896 for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h sys/stat.h 5873 6897 do 5874 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5875 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5876 echo "$as_me:$LINENO: checking for $ac_header" >&5 5877 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5878 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5879 echo $ECHO_N "(cached) $ECHO_C" >&6 5880 fi 5881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6898 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6899 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6900 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6901 $as_echo_n "checking for $ac_header... " >&6; } 6902 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6903 $as_echo_n "(cached) " >&6 6904 fi 6905 ac_res=`eval 'as_val=${'$as_ac_Header'} 6906 $as_echo "$as_val"'` 6907 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6908 $as_echo "$ac_res" >&6; } 5883 6909 else 5884 6910 # Is the header compilable? 5885 echo "$as_me:$LINENO: checking $ac_header usability" >&55886 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6911 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6912 $as_echo_n "checking $ac_header usability... " >&6; } 5887 6913 cat >conftest.$ac_ext <<_ACEOF 5888 6914 /* confdefs.h. */ … … 5895 6921 _ACEOF 5896 6922 rm -f conftest.$ac_objext 5897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5898 (eval $ac_compile) 2>conftest.er1 6923 if { (ac_try="$ac_compile" 6924 case "(($ac_try" in 6925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6926 *) ac_try_echo=$ac_try;; 6927 esac 6928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6929 $as_echo "$ac_try_echo") >&5 6930 (eval "$ac_compile") 2>conftest.er1 5899 6931 ac_status=$? 5900 6932 grep -v '^ *+' conftest.er1 >conftest.err 5901 6933 rm -f conftest.er1 5902 6934 cat conftest.err >&5 5903 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5904 (exit $ac_status); } && 5905 { ac_try='test -z "$ac_c_werror_flag" 5906 || test ! -s conftest.err' 5907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5908 (eval $ac_try) 2>&5 5909 ac_status=$? 5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5911 (exit $ac_status); }; } && 5912 { ac_try='test -s conftest.$ac_objext' 5913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5914 (eval $ac_try) 2>&5 5915 ac_status=$? 5916 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5917 (exit $ac_status); }; }; then 6935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6936 (exit $ac_status); } && { 6937 test -z "$ac_c_werror_flag" || 6938 test ! -s conftest.err 6939 } && test -s conftest.$ac_objext; then 5918 6940 ac_header_compiler=yes 5919 6941 else 5920 echo "$as_me: failed program was:" >&56942 $as_echo "$as_me: failed program was:" >&5 5921 6943 sed 's/^/| /' conftest.$ac_ext >&5 5922 6944 5923 ac_header_compiler=no 5924 fi 5925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5926 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5927 echo "${ECHO_T}$ac_header_compiler" >&6 6945 ac_header_compiler=no 6946 fi 6947 6948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6949 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6950 $as_echo "$ac_header_compiler" >&6; } 5928 6951 5929 6952 # Is the header present? 5930 echo "$as_me:$LINENO: checking $ac_header presence" >&55931 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6953 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6954 $as_echo_n "checking $ac_header presence... " >&6; } 5932 6955 cat >conftest.$ac_ext <<_ACEOF 5933 6956 /* confdefs.h. */ … … 5938 6961 #include <$ac_header> 5939 6962 _ACEOF 5940 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5941 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6963 if { (ac_try="$ac_cpp conftest.$ac_ext" 6964 case "(($ac_try" in 6965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6966 *) ac_try_echo=$ac_try;; 6967 esac 6968 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6969 $as_echo "$ac_try_echo") >&5 6970 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5942 6971 ac_status=$? 5943 6972 grep -v '^ *+' conftest.er1 >conftest.err 5944 6973 rm -f conftest.er1 5945 6974 cat conftest.err >&5 5946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5947 (exit $ac_status); } >/dev/null; then 5948 if test -s conftest.err; then 5949 ac_cpp_err=$ac_c_preproc_warn_flag 5950 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5951 else 5952 ac_cpp_err= 5953 fi 5954 else 5955 ac_cpp_err=yes 5956 fi 5957 if test -z "$ac_cpp_err"; then 6975 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6976 (exit $ac_status); } >/dev/null && { 6977 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6978 test ! -s conftest.err 6979 }; then 5958 6980 ac_header_preproc=yes 5959 6981 else 5960 echo "$as_me: failed program was:" >&56982 $as_echo "$as_me: failed program was:" >&5 5961 6983 sed 's/^/| /' conftest.$ac_ext >&5 5962 6984 5963 6985 ac_header_preproc=no 5964 6986 fi 6987 5965 6988 rm -f conftest.err conftest.$ac_ext 5966 echo "$as_me:$LINENO: result: $ac_header_preproc" >&55967 echo "${ECHO_T}$ac_header_preproc" >&6 6989 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6990 $as_echo "$ac_header_preproc" >&6; } 5968 6991 5969 6992 # So? What about this header? 5970 6993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5971 6994 yes:no: ) 5972 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&55973 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}5974 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&55975 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}6995 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6996 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6997 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6998 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5976 6999 ac_header_preproc=yes 5977 7000 ;; 5978 7001 no:yes:* ) 5979 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5980 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5981 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5982 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5983 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5984 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5985 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5986 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5987 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5988 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5989 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5990 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5991 ( 5992 cat <<\_ASBOX 5993 ## ------------------------------------------ ## 5994 ## Report this to the AC_PACKAGE_NAME lists. ## 5995 ## ------------------------------------------ ## 5996 _ASBOX 5997 ) | 5998 sed "s/^/$as_me: WARNING: /" >&2 7002 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7003 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7004 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7005 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7006 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7007 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7008 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7009 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7010 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7011 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7012 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7013 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7014 5999 7015 ;; 6000 7016 esac 6001 echo "$as_me:$LINENO: checking for $ac_header" >&56002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6003 if eval "test \"\${$as_ac_Header+set}\" = set"; then6004 echo $ECHO_N "(cached) $ECHO_C" >&67017 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7018 $as_echo_n "checking for $ac_header... " >&6; } 7019 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7020 $as_echo_n "(cached) " >&6 6005 7021 else 6006 7022 eval "$as_ac_Header=\$ac_header_preproc" 6007 7023 fi 6008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6009 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6010 6011 fi 6012 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7024 ac_res=`eval 'as_val=${'$as_ac_Header'} 7025 $as_echo "$as_val"'` 7026 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7027 $as_echo "$ac_res" >&6; } 7028 7029 fi 7030 as_val=`eval 'as_val=${'$as_ac_Header'} 7031 $as_echo "$as_val"'` 7032 if test "x$as_val" = x""yes; then 6013 7033 cat >>confdefs.h <<_ACEOF 6014 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 17034 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6015 7035 _ACEOF 6016 7036 … … 6076 7096 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 6077 7097 # for constant arguments. Useless! 6078 echo "$as_me:$LINENO: checking for working alloca.h" >&56079 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 7098 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 7099 $as_echo_n "checking for working alloca.h... " >&6; } 6080 7100 if test "${ac_cv_working_alloca_h+set}" = set; then 6081 echo $ECHO_N "(cached) $ECHO_C" >&67101 $as_echo_n "(cached) " >&6 6082 7102 else 6083 7103 cat >conftest.$ac_ext <<_ACEOF … … 6092 7112 { 6093 7113 char *p = (char *) alloca (2 * sizeof (int)); 7114 if (p) return 0; 6094 7115 ; 6095 7116 return 0; … … 6097 7118 _ACEOF 6098 7119 rm -f conftest.$ac_objext conftest$ac_exeext 6099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6100 (eval $ac_link) 2>conftest.er1 7120 if { (ac_try="$ac_link" 7121 case "(($ac_try" in 7122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7123 *) ac_try_echo=$ac_try;; 7124 esac 7125 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7126 $as_echo "$ac_try_echo") >&5 7127 (eval "$ac_link") 2>conftest.er1 6101 7128 ac_status=$? 6102 7129 grep -v '^ *+' conftest.er1 >conftest.err 6103 7130 rm -f conftest.er1 6104 7131 cat conftest.err >&5 6105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6106 (exit $ac_status); } && 6107 { ac_try='test -z "$ac_c_werror_flag" 6108 || test ! -s conftest.err' 6109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6110 (eval $ac_try) 2>&5 6111 ac_status=$? 6112 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6113 (exit $ac_status); }; } && 6114 { ac_try='test -s conftest$ac_exeext' 6115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6116 (eval $ac_try) 2>&5 6117 ac_status=$? 6118 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6119 (exit $ac_status); }; }; then 7132 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7133 (exit $ac_status); } && { 7134 test -z "$ac_c_werror_flag" || 7135 test ! -s conftest.err 7136 } && test -s conftest$ac_exeext && { 7137 test "$cross_compiling" = yes || 7138 $as_test_x conftest$ac_exeext 7139 }; then 6120 7140 ac_cv_working_alloca_h=yes 6121 7141 else 6122 echo "$as_me: failed program was:" >&57142 $as_echo "$as_me: failed program was:" >&5 6123 7143 sed 's/^/| /' conftest.$ac_ext >&5 6124 7144 6125 ac_cv_working_alloca_h=no 6126 fi 6127 rm -f conftest.err conftest.$ac_objext \ 7145 ac_cv_working_alloca_h=no 7146 fi 7147 7148 rm -rf conftest.dSYM 7149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6128 7150 conftest$ac_exeext conftest.$ac_ext 6129 7151 fi 6130 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&56131 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 7152 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 7153 $as_echo "$ac_cv_working_alloca_h" >&6; } 6132 7154 if test $ac_cv_working_alloca_h = yes; then 6133 7155 … … 6138 7160 fi 6139 7161 6140 echo "$as_me:$LINENO: checking for alloca" >&56141 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 7162 { $as_echo "$as_me:$LINENO: checking for alloca" >&5 7163 $as_echo_n "checking for alloca... " >&6; } 6142 7164 if test "${ac_cv_func_alloca_works+set}" = set; then 6143 echo $ECHO_N "(cached) $ECHO_C" >&67165 $as_echo_n "(cached) " >&6 6144 7166 else 6145 7167 cat >conftest.$ac_ext <<_ACEOF … … 6156 7178 # define alloca _alloca 6157 7179 # else 6158 # if HAVE_ALLOCA_H7180 # ifdef HAVE_ALLOCA_H 6159 7181 # include <alloca.h> 6160 7182 # else … … 6174 7196 { 6175 7197 char *p = (char *) alloca (1); 7198 if (p) return 0; 6176 7199 ; 6177 7200 return 0; … … 6179 7202 _ACEOF 6180 7203 rm -f conftest.$ac_objext conftest$ac_exeext 6181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6182 (eval $ac_link) 2>conftest.er1 7204 if { (ac_try="$ac_link" 7205 case "(($ac_try" in 7206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7207 *) ac_try_echo=$ac_try;; 7208 esac 7209 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7210 $as_echo "$ac_try_echo") >&5 7211 (eval "$ac_link") 2>conftest.er1 6183 7212 ac_status=$? 6184 7213 grep -v '^ *+' conftest.er1 >conftest.err 6185 7214 rm -f conftest.er1 6186 7215 cat conftest.err >&5 6187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6188 (exit $ac_status); } && 6189 { ac_try='test -z "$ac_c_werror_flag" 6190 || test ! -s conftest.err' 6191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6192 (eval $ac_try) 2>&5 6193 ac_status=$? 6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6195 (exit $ac_status); }; } && 6196 { ac_try='test -s conftest$ac_exeext' 6197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6198 (eval $ac_try) 2>&5 6199 ac_status=$? 6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6201 (exit $ac_status); }; }; then 7216 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7217 (exit $ac_status); } && { 7218 test -z "$ac_c_werror_flag" || 7219 test ! -s conftest.err 7220 } && test -s conftest$ac_exeext && { 7221 test "$cross_compiling" = yes || 7222 $as_test_x conftest$ac_exeext 7223 }; then 6202 7224 ac_cv_func_alloca_works=yes 6203 7225 else 6204 echo "$as_me: failed program was:" >&57226 $as_echo "$as_me: failed program was:" >&5 6205 7227 sed 's/^/| /' conftest.$ac_ext >&5 6206 7228 6207 ac_cv_func_alloca_works=no 6208 fi 6209 rm -f conftest.err conftest.$ac_objext \ 7229 ac_cv_func_alloca_works=no 7230 fi 7231 7232 rm -rf conftest.dSYM 7233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6210 7234 conftest$ac_exeext conftest.$ac_ext 6211 7235 fi 6212 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&56213 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 7236 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 7237 $as_echo "$ac_cv_func_alloca_works" >&6; } 6214 7238 6215 7239 if test $ac_cv_func_alloca_works = yes; then … … 6225 7249 # use ar to extract alloca.o from them instead of compiling alloca.c. 6226 7250 6227 ALLOCA= alloca.$ac_objext7251 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 6228 7252 6229 7253 cat >>confdefs.h <<\_ACEOF … … 6232 7256 6233 7257 6234 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&56235 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 7258 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 7259 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 6236 7260 if test "${ac_cv_os_cray+set}" = set; then 6237 echo $ECHO_N "(cached) $ECHO_C" >&67261 $as_echo_n "(cached) " >&6 6238 7262 else 6239 7263 cat >conftest.$ac_ext <<_ACEOF … … 6243 7267 cat >>conftest.$ac_ext <<_ACEOF 6244 7268 /* end confdefs.h. */ 6245 #if defined (CRAY) && ! defined(CRAY2)7269 #if defined CRAY && ! defined CRAY2 6246 7270 webecray 6247 7271 #else … … 6259 7283 6260 7284 fi 6261 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&56262 echo "${ECHO_T}$ac_cv_os_cray" >&6 7285 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 7286 $as_echo "$ac_cv_os_cray" >&6; } 6263 7287 if test $ac_cv_os_cray = yes; then 6264 7288 for ac_func in _getb67 GETB67 getb67; do 6265 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6266 echo "$as_me:$LINENO: checking for $ac_func" >&56267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6268 if eval "test \"\${$as_ac_var+set}\" = set"; then6269 echo $ECHO_N "(cached) $ECHO_C" >&67289 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7290 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7291 $as_echo_n "checking for $ac_func... " >&6; } 7292 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7293 $as_echo_n "(cached) " >&6 6270 7294 else 6271 7295 cat >conftest.$ac_ext <<_ACEOF … … 6292 7316 #undef $ac_func 6293 7317 6294 /* Override any gcc2 internal prototype to avoid an error. */ 7318 /* Override any GCC internal prototype to avoid an error. 7319 Use char because int might match the return type of a GCC 7320 builtin and then its argument prototype would still apply. */ 6295 7321 #ifdef __cplusplus 6296 7322 extern "C" 6297 {6298 7323 #endif 6299 /* We use char because int might match the return type of a gcc26300 builtin and then its argument prototype would still apply. */6301 7324 char $ac_func (); 6302 7325 /* The GNU C library defines this for functions which it implements 6303 7326 to always fail with ENOSYS. Some functions are actually named 6304 7327 something starting with __ and the normal name is an alias. */ 6305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7328 #if defined __stub_$ac_func || defined __stub___$ac_func 6306 7329 choke me 6307 #else6308 char (*f) () = $ac_func;6309 #endif6310 #ifdef __cplusplus6311 }6312 7330 #endif 6313 7331 … … 6315 7333 main () 6316 7334 { 6317 return f != $ac_func;7335 return $ac_func (); 6318 7336 ; 6319 7337 return 0; … … 6321 7339 _ACEOF 6322 7340 rm -f conftest.$ac_objext conftest$ac_exeext 6323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6324 (eval $ac_link) 2>conftest.er1 7341 if { (ac_try="$ac_link" 7342 case "(($ac_try" in 7343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7344 *) ac_try_echo=$ac_try;; 7345 esac 7346 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7347 $as_echo "$ac_try_echo") >&5 7348 (eval "$ac_link") 2>conftest.er1 6325 7349 ac_status=$? 6326 7350 grep -v '^ *+' conftest.er1 >conftest.err 6327 7351 rm -f conftest.er1 6328 7352 cat conftest.err >&5 6329 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6330 (exit $ac_status); } && 6331 { ac_try='test -z "$ac_c_werror_flag" 6332 || test ! -s conftest.err' 6333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6334 (eval $ac_try) 2>&5 6335 ac_status=$? 6336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6337 (exit $ac_status); }; } && 6338 { ac_try='test -s conftest$ac_exeext' 6339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6340 (eval $ac_try) 2>&5 6341 ac_status=$? 6342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6343 (exit $ac_status); }; }; then 7353 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7354 (exit $ac_status); } && { 7355 test -z "$ac_c_werror_flag" || 7356 test ! -s conftest.err 7357 } && test -s conftest$ac_exeext && { 7358 test "$cross_compiling" = yes || 7359 $as_test_x conftest$ac_exeext 7360 }; then 6344 7361 eval "$as_ac_var=yes" 6345 7362 else 6346 echo "$as_me: failed program was:" >&57363 $as_echo "$as_me: failed program was:" >&5 6347 7364 sed 's/^/| /' conftest.$ac_ext >&5 6348 7365 6349 eval "$as_ac_var=no" 6350 fi 6351 rm -f conftest.err conftest.$ac_objext \ 7366 eval "$as_ac_var=no" 7367 fi 7368 7369 rm -rf conftest.dSYM 7370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6352 7371 conftest$ac_exeext conftest.$ac_ext 6353 7372 fi 6354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6356 if test `eval echo '${'$as_ac_var'}'` = yes; then 7373 ac_res=`eval 'as_val=${'$as_ac_var'} 7374 $as_echo "$as_val"'` 7375 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7376 $as_echo "$ac_res" >&6; } 7377 as_val=`eval 'as_val=${'$as_ac_var'} 7378 $as_echo "$as_val"'` 7379 if test "x$as_val" = x""yes; then 6357 7380 6358 7381 cat >>confdefs.h <<_ACEOF … … 6366 7389 fi 6367 7390 6368 echo "$as_me:$LINENO: checking stack direction for C alloca" >&56369 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 7391 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 7392 $as_echo_n "checking stack direction for C alloca... " >&6; } 6370 7393 if test "${ac_cv_c_stack_direction+set}" = set; then 6371 echo $ECHO_N "(cached) $ECHO_C" >&67394 $as_echo_n "(cached) " >&6 6372 7395 else 6373 7396 if test "$cross_compiling" = yes; then … … 6380 7403 cat >>conftest.$ac_ext <<_ACEOF 6381 7404 /* end confdefs.h. */ 7405 $ac_includes_default 6382 7406 int 6383 7407 find_stack_direction () … … 6397 7421 main () 6398 7422 { 6399 exit (find_stack_direction () < 0);7423 return find_stack_direction () < 0; 6400 7424 } 6401 7425 _ACEOF 6402 7426 rm -f conftest$ac_exeext 6403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6404 (eval $ac_link) 2>&5 7427 if { (ac_try="$ac_link" 7428 case "(($ac_try" in 7429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7430 *) ac_try_echo=$ac_try;; 7431 esac 7432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7433 $as_echo "$ac_try_echo") >&5 7434 (eval "$ac_link") 2>&5 6405 7435 ac_status=$? 6406 echo "$as_me:$LINENO: \$? = $ac_status" >&57436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6407 7437 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6409 (eval $ac_try) 2>&5 7438 { (case "(($ac_try" in 7439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7440 *) ac_try_echo=$ac_try;; 7441 esac 7442 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7443 $as_echo "$ac_try_echo") >&5 7444 (eval "$ac_try") 2>&5 6410 7445 ac_status=$? 6411 echo "$as_me:$LINENO: \$? = $ac_status" >&57446 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6412 7447 (exit $ac_status); }; }; then 6413 7448 ac_cv_c_stack_direction=1 6414 7449 else 6415 echo "$as_me: program exited with status $ac_status" >&56416 echo "$as_me: failed program was:" >&57450 $as_echo "$as_me: program exited with status $ac_status" >&5 7451 $as_echo "$as_me: failed program was:" >&5 6417 7452 sed 's/^/| /' conftest.$ac_ext >&5 6418 7453 … … 6420 7455 ac_cv_c_stack_direction=-1 6421 7456 fi 6422 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6423 fi 6424 fi 6425 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 6426 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 7457 rm -rf conftest.dSYM 7458 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7459 fi 7460 7461 7462 fi 7463 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 7464 $as_echo "$ac_cv_c_stack_direction" >&6; } 6427 7465 6428 7466 cat >>confdefs.h <<_ACEOF … … 6434 7472 6435 7473 if test $ac_cv_c_compiler_gnu = yes; then 6436 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&56437 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 7474 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 7475 $as_echo_n "checking whether $CC needs -traditional... " >&6; } 6438 7476 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 6439 echo $ECHO_N "(cached) $ECHO_C" >&67477 $as_echo_n "(cached) " >&6 6440 7478 else 6441 7479 ac_pattern="Autoconf.*'x'" … … 6476 7514 fi 6477 7515 fi 6478 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&56479 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 7516 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 7517 $as_echo "$ac_cv_prog_gcc_traditional" >&6; } 6480 7518 if test $ac_cv_prog_gcc_traditional = yes; then 6481 7519 CC="$CC -traditional" … … 6483 7521 fi 6484 7522 6485 echo "$as_me:$LINENO: checking return type of signal handlers" >&56486 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 7523 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 7524 $as_echo_n "checking return type of signal handlers... " >&6; } 6487 7525 if test "${ac_cv_type_signal+set}" = set; then 6488 echo $ECHO_N "(cached) $ECHO_C" >&67526 $as_echo_n "(cached) " >&6 6489 7527 else 6490 7528 cat >conftest.$ac_ext <<_ACEOF … … 6496 7534 #include <sys/types.h> 6497 7535 #include <signal.h> 6498 #ifdef signal6499 # undef signal6500 #endif6501 #ifdef __cplusplus6502 extern "C" void (*signal (int, void (*)(int)))(int);6503 #else6504 void (*signal ()) ();6505 #endif6506 7536 6507 7537 int 6508 7538 main () 6509 7539 { 6510 int i;7540 return *(signal (0, 0)) (0) == 1; 6511 7541 ; 6512 7542 return 0; … … 6514 7544 _ACEOF 6515 7545 rm -f conftest.$ac_objext 6516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6517 (eval $ac_compile) 2>conftest.er1 7546 if { (ac_try="$ac_compile" 7547 case "(($ac_try" in 7548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7549 *) ac_try_echo=$ac_try;; 7550 esac 7551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7552 $as_echo "$ac_try_echo") >&5 7553 (eval "$ac_compile") 2>conftest.er1 6518 7554 ac_status=$? 6519 7555 grep -v '^ *+' conftest.er1 >conftest.err 6520 7556 rm -f conftest.er1 6521 7557 cat conftest.err >&5 6522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6523 (exit $ac_status); } && 6524 { ac_try='test -z "$ac_c_werror_flag" 6525 || test ! -s conftest.err' 6526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6527 (eval $ac_try) 2>&5 6528 ac_status=$? 6529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6530 (exit $ac_status); }; } && 6531 { ac_try='test -s conftest.$ac_objext' 6532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6533 (eval $ac_try) 2>&5 6534 ac_status=$? 6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6536 (exit $ac_status); }; }; then 6537 ac_cv_type_signal=void 6538 else 6539 echo "$as_me: failed program was:" >&5 7558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7559 (exit $ac_status); } && { 7560 test -z "$ac_c_werror_flag" || 7561 test ! -s conftest.err 7562 } && test -s conftest.$ac_objext; then 7563 ac_cv_type_signal=int 7564 else 7565 $as_echo "$as_me: failed program was:" >&5 6540 7566 sed 's/^/| /' conftest.$ac_ext >&5 6541 7567 6542 ac_cv_type_signal=int 6543 fi 6544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6545 fi 6546 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 6547 echo "${ECHO_T}$ac_cv_type_signal" >&6 7568 ac_cv_type_signal=void 7569 fi 7570 7571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7572 fi 7573 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 7574 $as_echo "$ac_cv_type_signal" >&6; } 6548 7575 6549 7576 cat >>confdefs.h <<_ACEOF … … 6555 7582 for ac_func in vprintf 6556 7583 do 6557 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6558 echo "$as_me:$LINENO: checking for $ac_func" >&56559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6560 if eval "test \"\${$as_ac_var+set}\" = set"; then6561 echo $ECHO_N "(cached) $ECHO_C" >&67584 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7585 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7586 $as_echo_n "checking for $ac_func... " >&6; } 7587 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7588 $as_echo_n "(cached) " >&6 6562 7589 else 6563 7590 cat >conftest.$ac_ext <<_ACEOF … … 6584 7611 #undef $ac_func 6585 7612 6586 /* Override any gcc2 internal prototype to avoid an error. */ 7613 /* Override any GCC internal prototype to avoid an error. 7614 Use char because int might match the return type of a GCC 7615 builtin and then its argument prototype would still apply. */ 6587 7616 #ifdef __cplusplus 6588 7617 extern "C" 6589 {6590 7618 #endif 6591 /* We use char because int might match the return type of a gcc26592 builtin and then its argument prototype would still apply. */6593 7619 char $ac_func (); 6594 7620 /* The GNU C library defines this for functions which it implements 6595 7621 to always fail with ENOSYS. Some functions are actually named 6596 7622 something starting with __ and the normal name is an alias. */ 6597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7623 #if defined __stub_$ac_func || defined __stub___$ac_func 6598 7624 choke me 6599 #else6600 char (*f) () = $ac_func;6601 #endif6602 #ifdef __cplusplus6603 }6604 7625 #endif 6605 7626 … … 6607 7628 main () 6608 7629 { 6609 return f != $ac_func;7630 return $ac_func (); 6610 7631 ; 6611 7632 return 0; … … 6613 7634 _ACEOF 6614 7635 rm -f conftest.$ac_objext conftest$ac_exeext 6615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6616 (eval $ac_link) 2>conftest.er1 7636 if { (ac_try="$ac_link" 7637 case "(($ac_try" in 7638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7639 *) ac_try_echo=$ac_try;; 7640 esac 7641 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7642 $as_echo "$ac_try_echo") >&5 7643 (eval "$ac_link") 2>conftest.er1 6617 7644 ac_status=$? 6618 7645 grep -v '^ *+' conftest.er1 >conftest.err 6619 7646 rm -f conftest.er1 6620 7647 cat conftest.err >&5 6621 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6622 (exit $ac_status); } && 6623 { ac_try='test -z "$ac_c_werror_flag" 6624 || test ! -s conftest.err' 6625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6626 (eval $ac_try) 2>&5 6627 ac_status=$? 6628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6629 (exit $ac_status); }; } && 6630 { ac_try='test -s conftest$ac_exeext' 6631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6632 (eval $ac_try) 2>&5 6633 ac_status=$? 6634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6635 (exit $ac_status); }; }; then 7648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7649 (exit $ac_status); } && { 7650 test -z "$ac_c_werror_flag" || 7651 test ! -s conftest.err 7652 } && test -s conftest$ac_exeext && { 7653 test "$cross_compiling" = yes || 7654 $as_test_x conftest$ac_exeext 7655 }; then 6636 7656 eval "$as_ac_var=yes" 6637 7657 else 6638 echo "$as_me: failed program was:" >&57658 $as_echo "$as_me: failed program was:" >&5 6639 7659 sed 's/^/| /' conftest.$ac_ext >&5 6640 7660 6641 eval "$as_ac_var=no" 6642 fi 6643 rm -f conftest.err conftest.$ac_objext \ 7661 eval "$as_ac_var=no" 7662 fi 7663 7664 rm -rf conftest.dSYM 7665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6644 7666 conftest$ac_exeext conftest.$ac_ext 6645 7667 fi 6646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6648 if test `eval echo '${'$as_ac_var'}'` = yes; then 7668 ac_res=`eval 'as_val=${'$as_ac_var'} 7669 $as_echo "$as_val"'` 7670 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7671 $as_echo "$ac_res" >&6; } 7672 as_val=`eval 'as_val=${'$as_ac_var'} 7673 $as_echo "$as_val"'` 7674 if test "x$as_val" = x""yes; then 6649 7675 cat >>confdefs.h <<_ACEOF 6650 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 16651 _ACEOF 6652 6653 echo "$as_me:$LINENO: checking for _doprnt" >&56654 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 7676 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7677 _ACEOF 7678 7679 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5 7680 $as_echo_n "checking for _doprnt... " >&6; } 6655 7681 if test "${ac_cv_func__doprnt+set}" = set; then 6656 echo $ECHO_N "(cached) $ECHO_C" >&67682 $as_echo_n "(cached) " >&6 6657 7683 else 6658 7684 cat >conftest.$ac_ext <<_ACEOF … … 6679 7705 #undef _doprnt 6680 7706 6681 /* Override any gcc2 internal prototype to avoid an error. */ 7707 /* Override any GCC internal prototype to avoid an error. 7708 Use char because int might match the return type of a GCC 7709 builtin and then its argument prototype would still apply. */ 6682 7710 #ifdef __cplusplus 6683 7711 extern "C" 6684 {6685 7712 #endif 6686 /* We use char because int might match the return type of a gcc26687 builtin and then its argument prototype would still apply. */6688 7713 char _doprnt (); 6689 7714 /* The GNU C library defines this for functions which it implements 6690 7715 to always fail with ENOSYS. Some functions are actually named 6691 7716 something starting with __ and the normal name is an alias. */ 6692 #if defined (__stub__doprnt) || defined (__stub____doprnt)7717 #if defined __stub__doprnt || defined __stub____doprnt 6693 7718 choke me 6694 #else6695 char (*f) () = _doprnt;6696 #endif6697 #ifdef __cplusplus6698 }6699 7719 #endif 6700 7720 … … 6702 7722 main () 6703 7723 { 6704 return f != _doprnt;7724 return _doprnt (); 6705 7725 ; 6706 7726 return 0; … … 6708 7728 _ACEOF 6709 7729 rm -f conftest.$ac_objext conftest$ac_exeext 6710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6711 (eval $ac_link) 2>conftest.er1 7730 if { (ac_try="$ac_link" 7731 case "(($ac_try" in 7732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7733 *) ac_try_echo=$ac_try;; 7734 esac 7735 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7736 $as_echo "$ac_try_echo") >&5 7737 (eval "$ac_link") 2>conftest.er1 6712 7738 ac_status=$? 6713 7739 grep -v '^ *+' conftest.er1 >conftest.err 6714 7740 rm -f conftest.er1 6715 7741 cat conftest.err >&5 6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6717 (exit $ac_status); } && 6718 { ac_try='test -z "$ac_c_werror_flag" 6719 || test ! -s conftest.err' 6720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6721 (eval $ac_try) 2>&5 6722 ac_status=$? 6723 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6724 (exit $ac_status); }; } && 6725 { ac_try='test -s conftest$ac_exeext' 6726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6727 (eval $ac_try) 2>&5 6728 ac_status=$? 6729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6730 (exit $ac_status); }; }; then 7742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7743 (exit $ac_status); } && { 7744 test -z "$ac_c_werror_flag" || 7745 test ! -s conftest.err 7746 } && test -s conftest$ac_exeext && { 7747 test "$cross_compiling" = yes || 7748 $as_test_x conftest$ac_exeext 7749 }; then 6731 7750 ac_cv_func__doprnt=yes 6732 7751 else 6733 echo "$as_me: failed program was:" >&57752 $as_echo "$as_me: failed program was:" >&5 6734 7753 sed 's/^/| /' conftest.$ac_ext >&5 6735 7754 6736 ac_cv_func__doprnt=no 6737 fi 6738 rm -f conftest.err conftest.$ac_objext \ 7755 ac_cv_func__doprnt=no 7756 fi 7757 7758 rm -rf conftest.dSYM 7759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6739 7760 conftest$ac_exeext conftest.$ac_ext 6740 7761 fi 6741 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&56742 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 6743 if test $ac_cv_func__doprnt =yes; then7762 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 7763 $as_echo "$ac_cv_func__doprnt" >&6; } 7764 if test "x$ac_cv_func__doprnt" = x""yes; then 6744 7765 6745 7766 cat >>confdefs.h <<\_ACEOF … … 6765 7786 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror 6766 7787 do 6767 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6768 echo "$as_me:$LINENO: checking for $ac_func" >&56769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6770 if eval "test \"\${$as_ac_var+set}\" = set"; then6771 echo $ECHO_N "(cached) $ECHO_C" >&67788 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7789 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7790 $as_echo_n "checking for $ac_func... " >&6; } 7791 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7792 $as_echo_n "(cached) " >&6 6772 7793 else 6773 7794 cat >conftest.$ac_ext <<_ACEOF … … 6794 7815 #undef $ac_func 6795 7816 6796 /* Override any gcc2 internal prototype to avoid an error. */ 7817 /* Override any GCC internal prototype to avoid an error. 7818 Use char because int might match the return type of a GCC 7819 builtin and then its argument prototype would still apply. */ 6797 7820 #ifdef __cplusplus 6798 7821 extern "C" 6799 {6800 7822 #endif 6801 /* We use char because int might match the return type of a gcc26802 builtin and then its argument prototype would still apply. */6803 7823 char $ac_func (); 6804 7824 /* The GNU C library defines this for functions which it implements 6805 7825 to always fail with ENOSYS. Some functions are actually named 6806 7826 something starting with __ and the normal name is an alias. */ 6807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7827 #if defined __stub_$ac_func || defined __stub___$ac_func 6808 7828 choke me 6809 #else6810 char (*f) () = $ac_func;6811 #endif6812 #ifdef __cplusplus6813 }6814 7829 #endif 6815 7830 … … 6817 7832 main () 6818 7833 { 6819 return f != $ac_func;7834 return $ac_func (); 6820 7835 ; 6821 7836 return 0; … … 6823 7838 _ACEOF 6824 7839 rm -f conftest.$ac_objext conftest$ac_exeext 6825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6826 (eval $ac_link) 2>conftest.er1 7840 if { (ac_try="$ac_link" 7841 case "(($ac_try" in 7842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7843 *) ac_try_echo=$ac_try;; 7844 esac 7845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7846 $as_echo "$ac_try_echo") >&5 7847 (eval "$ac_link") 2>conftest.er1 6827 7848 ac_status=$? 6828 7849 grep -v '^ *+' conftest.er1 >conftest.err 6829 7850 rm -f conftest.er1 6830 7851 cat conftest.err >&5 6831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6832 (exit $ac_status); } && 6833 { ac_try='test -z "$ac_c_werror_flag" 6834 || test ! -s conftest.err' 6835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6836 (eval $ac_try) 2>&5 6837 ac_status=$? 6838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6839 (exit $ac_status); }; } && 6840 { ac_try='test -s conftest$ac_exeext' 6841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6842 (eval $ac_try) 2>&5 6843 ac_status=$? 6844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6845 (exit $ac_status); }; }; then 7852 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7853 (exit $ac_status); } && { 7854 test -z "$ac_c_werror_flag" || 7855 test ! -s conftest.err 7856 } && test -s conftest$ac_exeext && { 7857 test "$cross_compiling" = yes || 7858 $as_test_x conftest$ac_exeext 7859 }; then 6846 7860 eval "$as_ac_var=yes" 6847 7861 else 6848 echo "$as_me: failed program was:" >&57862 $as_echo "$as_me: failed program was:" >&5 6849 7863 sed 's/^/| /' conftest.$ac_ext >&5 6850 7864 6851 eval "$as_ac_var=no" 6852 fi 6853 rm -f conftest.err conftest.$ac_objext \ 7865 eval "$as_ac_var=no" 7866 fi 7867 7868 rm -rf conftest.dSYM 7869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6854 7870 conftest$ac_exeext conftest.$ac_ext 6855 7871 fi 6856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6858 if test `eval echo '${'$as_ac_var'}'` = yes; then 7872 ac_res=`eval 'as_val=${'$as_ac_var'} 7873 $as_echo "$as_val"'` 7874 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7875 $as_echo "$ac_res" >&6; } 7876 as_val=`eval 'as_val=${'$as_ac_var'} 7877 $as_echo "$as_val"'` 7878 if test "x$as_val" = x""yes; then 6859 7879 cat >>confdefs.h <<_ACEOF 6860 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 17880 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6861 7881 _ACEOF 6862 7882 … … 6869 7889 for ac_func in ftruncate strstr strcasecmp 6870 7890 do 6871 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`6872 echo "$as_me:$LINENO: checking for $ac_func" >&56873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6874 if eval "test \"\${$as_ac_var+set}\" = set"; then6875 echo $ECHO_N "(cached) $ECHO_C" >&67891 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7892 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7893 $as_echo_n "checking for $ac_func... " >&6; } 7894 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7895 $as_echo_n "(cached) " >&6 6876 7896 else 6877 7897 cat >conftest.$ac_ext <<_ACEOF … … 6898 7918 #undef $ac_func 6899 7919 6900 /* Override any gcc2 internal prototype to avoid an error. */ 7920 /* Override any GCC internal prototype to avoid an error. 7921 Use char because int might match the return type of a GCC 7922 builtin and then its argument prototype would still apply. */ 6901 7923 #ifdef __cplusplus 6902 7924 extern "C" 6903 {6904 7925 #endif 6905 /* We use char because int might match the return type of a gcc26906 builtin and then its argument prototype would still apply. */6907 7926 char $ac_func (); 6908 7927 /* The GNU C library defines this for functions which it implements 6909 7928 to always fail with ENOSYS. Some functions are actually named 6910 7929 something starting with __ and the normal name is an alias. */ 6911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)7930 #if defined __stub_$ac_func || defined __stub___$ac_func 6912 7931 choke me 6913 #else6914 char (*f) () = $ac_func;6915 #endif6916 #ifdef __cplusplus6917 }6918 7932 #endif 6919 7933 … … 6921 7935 main () 6922 7936 { 6923 return f != $ac_func;7937 return $ac_func (); 6924 7938 ; 6925 7939 return 0; … … 6927 7941 _ACEOF 6928 7942 rm -f conftest.$ac_objext conftest$ac_exeext 6929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6930 (eval $ac_link) 2>conftest.er1 7943 if { (ac_try="$ac_link" 7944 case "(($ac_try" in 7945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7946 *) ac_try_echo=$ac_try;; 7947 esac 7948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7949 $as_echo "$ac_try_echo") >&5 7950 (eval "$ac_link") 2>conftest.er1 6931 7951 ac_status=$? 6932 7952 grep -v '^ *+' conftest.er1 >conftest.err 6933 7953 rm -f conftest.er1 6934 7954 cat conftest.err >&5 6935 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6936 (exit $ac_status); } && 6937 { ac_try='test -z "$ac_c_werror_flag" 6938 || test ! -s conftest.err' 6939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6940 (eval $ac_try) 2>&5 6941 ac_status=$? 6942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6943 (exit $ac_status); }; } && 6944 { ac_try='test -s conftest$ac_exeext' 6945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6946 (eval $ac_try) 2>&5 6947 ac_status=$? 6948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6949 (exit $ac_status); }; }; then 7955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7956 (exit $ac_status); } && { 7957 test -z "$ac_c_werror_flag" || 7958 test ! -s conftest.err 7959 } && test -s conftest$ac_exeext && { 7960 test "$cross_compiling" = yes || 7961 $as_test_x conftest$ac_exeext 7962 }; then 6950 7963 eval "$as_ac_var=yes" 6951 7964 else 6952 echo "$as_me: failed program was:" >&57965 $as_echo "$as_me: failed program was:" >&5 6953 7966 sed 's/^/| /' conftest.$ac_ext >&5 6954 7967 6955 eval "$as_ac_var=no" 6956 fi 6957 rm -f conftest.err conftest.$ac_objext \ 7968 eval "$as_ac_var=no" 7969 fi 7970 7971 rm -rf conftest.dSYM 7972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6958 7973 conftest$ac_exeext conftest.$ac_ext 6959 7974 fi 6960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6962 if test `eval echo '${'$as_ac_var'}'` = yes; then 7975 ac_res=`eval 'as_val=${'$as_ac_var'} 7976 $as_echo "$as_val"'` 7977 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7978 $as_echo "$ac_res" >&6; } 7979 as_val=`eval 'as_val=${'$as_ac_var'} 7980 $as_echo "$as_val"'` 7981 if test "x$as_val" = x""yes; then 6963 7982 cat >>confdefs.h <<_ACEOF 6964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6965 _ACEOF 6966 6967 else 6968 case $LIBOBJS in 6969 "$ac_func.$ac_objext" | \ 6970 *" $ac_func.$ac_objext" | \ 6971 "$ac_func.$ac_objext "* | \ 7983 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7984 _ACEOF 7985 7986 else 7987 case " $LIBOBJS " in 6972 7988 *" $ac_func.$ac_objext "* ) ;; 6973 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; 7989 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 7990 ;; 6974 7991 esac 6975 7992 … … 6979 7996 6980 7997 6981 echo "$as_me:$LINENO: checking for textdomain" >&56982 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6 7998 { $as_echo "$as_me:$LINENO: checking for textdomain" >&5 7999 $as_echo_n "checking for textdomain... " >&6; } 6983 8000 if test "${ac_cv_func_textdomain+set}" = set; then 6984 echo $ECHO_N "(cached) $ECHO_C" >&68001 $as_echo_n "(cached) " >&6 6985 8002 else 6986 8003 cat >conftest.$ac_ext <<_ACEOF … … 7007 8024 #undef textdomain 7008 8025 7009 /* Override any gcc2 internal prototype to avoid an error. */ 8026 /* Override any GCC internal prototype to avoid an error. 8027 Use char because int might match the return type of a GCC 8028 builtin and then its argument prototype would still apply. */ 7010 8029 #ifdef __cplusplus 7011 8030 extern "C" 7012 {7013 8031 #endif 7014 /* We use char because int might match the return type of a gcc27015 builtin and then its argument prototype would still apply. */7016 8032 char textdomain (); 7017 8033 /* The GNU C library defines this for functions which it implements 7018 8034 to always fail with ENOSYS. Some functions are actually named 7019 8035 something starting with __ and the normal name is an alias. */ 7020 #if defined (__stub_textdomain) || defined (__stub___textdomain)8036 #if defined __stub_textdomain || defined __stub___textdomain 7021 8037 choke me 7022 #else7023 char (*f) () = textdomain;7024 #endif7025 #ifdef __cplusplus7026 }7027 8038 #endif 7028 8039 … … 7030 8041 main () 7031 8042 { 7032 return f != textdomain;8043 return textdomain (); 7033 8044 ; 7034 8045 return 0; … … 7036 8047 _ACEOF 7037 8048 rm -f conftest.$ac_objext conftest$ac_exeext 7038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7039 (eval $ac_link) 2>conftest.er1 8049 if { (ac_try="$ac_link" 8050 case "(($ac_try" in 8051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8052 *) ac_try_echo=$ac_try;; 8053 esac 8054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8055 $as_echo "$ac_try_echo") >&5 8056 (eval "$ac_link") 2>conftest.er1 7040 8057 ac_status=$? 7041 8058 grep -v '^ *+' conftest.er1 >conftest.err 7042 8059 rm -f conftest.er1 7043 8060 cat conftest.err >&5 7044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7045 (exit $ac_status); } && 7046 { ac_try='test -z "$ac_c_werror_flag" 7047 || test ! -s conftest.err' 7048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7049 (eval $ac_try) 2>&5 7050 ac_status=$? 7051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7052 (exit $ac_status); }; } && 7053 { ac_try='test -s conftest$ac_exeext' 7054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7055 (eval $ac_try) 2>&5 7056 ac_status=$? 7057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7058 (exit $ac_status); }; }; then 8061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8062 (exit $ac_status); } && { 8063 test -z "$ac_c_werror_flag" || 8064 test ! -s conftest.err 8065 } && test -s conftest$ac_exeext && { 8066 test "$cross_compiling" = yes || 8067 $as_test_x conftest$ac_exeext 8068 }; then 7059 8069 ac_cv_func_textdomain=yes 7060 8070 else 7061 echo "$as_me: failed program was:" >&58071 $as_echo "$as_me: failed program was:" >&5 7062 8072 sed 's/^/| /' conftest.$ac_ext >&5 7063 8073 7064 ac_cv_func_textdomain=no 7065 fi 7066 rm -f conftest.err conftest.$ac_objext \ 8074 ac_cv_func_textdomain=no 8075 fi 8076 8077 rm -rf conftest.dSYM 8078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7067 8079 conftest$ac_exeext conftest.$ac_ext 7068 8080 fi 7069 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&57070 echo "${ECHO_T}$ac_cv_func_textdomain" >&6 7071 if test $ac_cv_func_textdomain =yes; then8081 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5 8082 $as_echo "$ac_cv_func_textdomain" >&6; } 8083 if test "x$ac_cv_func_textdomain" = x""yes; then 7072 8084 cat >>confdefs.h <<\_ACEOF 7073 8085 #define ENABLE_NLS 1 … … 7079 8091 # *** Custom checking (based on GNU tar configure.in) *** 7080 8092 # --------------------------------------------------------------------------- 7081 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&57082 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6 8093 { $as_echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5 8094 $as_echo_n "checking for HP-UX needing gmalloc... " >&6; } 7083 8095 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 7084 echo "$as_me:$LINENO: result: yes" >&5 7085 echo "${ECHO_T}yes" >&6 7086 case $LIBOBJS in 7087 "gmalloc.$ac_objext" | \ 7088 *" gmalloc.$ac_objext" | \ 7089 "gmalloc.$ac_objext "* | \ 8096 { $as_echo "$as_me:$LINENO: result: yes" >&5 8097 $as_echo "yes" >&6; } 8098 case " $LIBOBJS " in 7090 8099 *" gmalloc.$ac_objext "* ) ;; 7091 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;; 8100 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" 8101 ;; 7092 8102 esac 7093 8103 … … 7097 8107 7098 8108 else 7099 echo "$as_me:$LINENO: result: no" >&57100 echo "${ECHO_T}no" >&6 8109 { $as_echo "$as_me:$LINENO: result: no" >&5 8110 $as_echo "no" >&6; } 7101 8111 7102 8112 for ac_func in valloc 7103 8113 do 7104 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`7105 echo "$as_me:$LINENO: checking for $ac_func" >&57106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7107 if eval "test \"\${$as_ac_var+set}\" = set"; then7108 echo $ECHO_N "(cached) $ECHO_C" >&68114 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8115 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 8116 $as_echo_n "checking for $ac_func... " >&6; } 8117 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 8118 $as_echo_n "(cached) " >&6 7109 8119 else 7110 8120 cat >conftest.$ac_ext <<_ACEOF … … 7131 8141 #undef $ac_func 7132 8142 7133 /* Override any gcc2 internal prototype to avoid an error. */ 8143 /* Override any GCC internal prototype to avoid an error. 8144 Use char because int might match the return type of a GCC 8145 builtin and then its argument prototype would still apply. */ 7134 8146 #ifdef __cplusplus 7135 8147 extern "C" 7136 {7137 8148 #endif 7138 /* We use char because int might match the return type of a gcc27139 builtin and then its argument prototype would still apply. */7140 8149 char $ac_func (); 7141 8150 /* The GNU C library defines this for functions which it implements 7142 8151 to always fail with ENOSYS. Some functions are actually named 7143 8152 something starting with __ and the normal name is an alias. */ 7144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)8153 #if defined __stub_$ac_func || defined __stub___$ac_func 7145 8154 choke me 7146 #else7147 char (*f) () = $ac_func;7148 #endif7149 #ifdef __cplusplus7150 }7151 8155 #endif 7152 8156 … … 7154 8158 main () 7155 8159 { 7156 return f != $ac_func;8160 return $ac_func (); 7157 8161 ; 7158 8162 return 0; … … 7160 8164 _ACEOF 7161 8165 rm -f conftest.$ac_objext conftest$ac_exeext 7162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7163 (eval $ac_link) 2>conftest.er1 8166 if { (ac_try="$ac_link" 8167 case "(($ac_try" in 8168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8169 *) ac_try_echo=$ac_try;; 8170 esac 8171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8172 $as_echo "$ac_try_echo") >&5 8173 (eval "$ac_link") 2>conftest.er1 7164 8174 ac_status=$? 7165 8175 grep -v '^ *+' conftest.er1 >conftest.err 7166 8176 rm -f conftest.er1 7167 8177 cat conftest.err >&5 7168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7169 (exit $ac_status); } && 7170 { ac_try='test -z "$ac_c_werror_flag" 7171 || test ! -s conftest.err' 7172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7173 (eval $ac_try) 2>&5 7174 ac_status=$? 7175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7176 (exit $ac_status); }; } && 7177 { ac_try='test -s conftest$ac_exeext' 7178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7179 (eval $ac_try) 2>&5 7180 ac_status=$? 7181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7182 (exit $ac_status); }; }; then 8178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8179 (exit $ac_status); } && { 8180 test -z "$ac_c_werror_flag" || 8181 test ! -s conftest.err 8182 } && test -s conftest$ac_exeext && { 8183 test "$cross_compiling" = yes || 8184 $as_test_x conftest$ac_exeext 8185 }; then 7183 8186 eval "$as_ac_var=yes" 7184 8187 else 7185 echo "$as_me: failed program was:" >&58188 $as_echo "$as_me: failed program was:" >&5 7186 8189 sed 's/^/| /' conftest.$ac_ext >&5 7187 8190 7188 eval "$as_ac_var=no" 7189 fi 7190 rm -f conftest.err conftest.$ac_objext \ 8191 eval "$as_ac_var=no" 8192 fi 8193 8194 rm -rf conftest.dSYM 8195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7191 8196 conftest$ac_exeext conftest.$ac_ext 7192 8197 fi 7193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 7194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7195 if test `eval echo '${'$as_ac_var'}'` = yes; then 8198 ac_res=`eval 'as_val=${'$as_ac_var'} 8199 $as_echo "$as_val"'` 8200 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8201 $as_echo "$ac_res" >&6; } 8202 as_val=`eval 'as_val=${'$as_ac_var'} 8203 $as_echo "$as_val"'` 8204 if test "x$as_val" = x""yes; then 7196 8205 cat >>confdefs.h <<_ACEOF 7197 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 18206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7198 8207 _ACEOF 7199 8208 … … 7204 8213 7205 8214 # we cannot generate static libraries under Darwin 7206 echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&57207 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6 8215 { $as_echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5 8216 $as_echo_n "checking for Apple MacOS X/Darwin... " >&6; } 7208 8217 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 7209 echo "$as_me:$LINENO: result: yes" >&57210 echo "${ECHO_T}yes" >&6 8218 { $as_echo "$as_me:$LINENO: result: yes" >&5 8219 $as_echo "yes" >&6; } 7211 8220 STATIC="" 7212 8221 else 7213 echo "$as_me:$LINENO: result: no" >&57214 echo "${ECHO_T}no" >&6 8222 { $as_echo "$as_me:$LINENO: result: no" >&5 8223 $as_echo "no" >&6; } 7215 8224 STATIC="-static " 7216 8225 fi 7217 8226 7218 8227 7219 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&57220 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6 7221 7222 # Check whether --with-dmalloc or --without-dmallocwas given.8228 { $as_echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 8229 $as_echo_n "checking if malloc debugging is wanted... " >&6; } 8230 8231 # Check whether --with-dmalloc was given. 7223 8232 if test "${with_dmalloc+set}" = set; then 7224 withval="$with_dmalloc" 7225 if test "$withval" = yes; then 7226 echo "$as_me:$LINENO: result: yes" >&5 7227 echo "${ECHO_T}yes" >&6 8233 withval=$with_dmalloc; if test "$withval" = yes; then 8234 { $as_echo "$as_me:$LINENO: result: yes" >&5 8235 $as_echo "yes" >&6; } 7228 8236 cat >>confdefs.h <<\_ACEOF 7229 8237 #define WITH_DMALLOC 1 … … 7233 8241 LDFLAGS="$LDFLAGS -g" 7234 8242 else 7235 echo "$as_me:$LINENO: result: no" >&5 7236 echo "${ECHO_T}no" >&6 7237 fi 7238 else 7239 echo "$as_me:$LINENO: result: no" >&5 7240 echo "${ECHO_T}no" >&6 7241 fi; 7242 7243 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 7244 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6 7245 7246 # Check whether --with-regex or --without-regex was given. 8243 { $as_echo "$as_me:$LINENO: result: no" >&5 8244 $as_echo "no" >&6; } 8245 fi 8246 else 8247 { $as_echo "$as_me:$LINENO: result: no" >&5 8248 $as_echo "no" >&6; } 8249 fi 8250 8251 8252 { $as_echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 8253 $as_echo_n "checking which of rx or regex is wanted... " >&6; } 8254 8255 # Check whether --with-regex was given. 7247 8256 if test "${with_regex+set}" = set; then 7248 withval="$with_regex" 7249 if test "$withval" = yes; then 8257 withval=$with_regex; if test "$withval" = yes; then 7250 8258 ac_with_regex=1 7251 echo "$as_me:$LINENO: result: regex" >&57252 echo "${ECHO_T}regex" >&6 8259 { $as_echo "$as_me:$LINENO: result: regex" >&5 8260 $as_echo "regex" >&6; } 7253 8261 cat >>confdefs.h <<\_ACEOF 7254 8262 #define WITH_REGEX 1 7255 8263 _ACEOF 7256 8264 7257 case $LIBOBJS in 7258 "regex.$ac_objext" | \ 7259 *" regex.$ac_objext" | \ 7260 "regex.$ac_objext "* | \ 8265 case " $LIBOBJS " in 7261 8266 *" regex.$ac_objext "* ) ;; 7262 *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;; 7263 esac 7264 7265 fi 7266 fi; 8267 *) LIBOBJS="$LIBOBJS regex.$ac_objext" 8268 ;; 8269 esac 8270 8271 fi 8272 fi 8273 7267 8274 if test -z "$ac_with_regex"; then 7268 echo "$as_me:$LINENO: result: rx" >&57269 echo "${ECHO_T}rx" >&6 7270 echo "$as_me:$LINENO: checking for re_rx_search" >&57271 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6 8275 { $as_echo "$as_me:$LINENO: result: rx" >&5 8276 $as_echo "rx" >&6; } 8277 { $as_echo "$as_me:$LINENO: checking for re_rx_search" >&5 8278 $as_echo_n "checking for re_rx_search... " >&6; } 7272 8279 if test "${ac_cv_func_re_rx_search+set}" = set; then 7273 echo $ECHO_N "(cached) $ECHO_C" >&68280 $as_echo_n "(cached) " >&6 7274 8281 else 7275 8282 cat >conftest.$ac_ext <<_ACEOF … … 7296 8303 #undef re_rx_search 7297 8304 7298 /* Override any gcc2 internal prototype to avoid an error. */ 8305 /* Override any GCC internal prototype to avoid an error. 8306 Use char because int might match the return type of a GCC 8307 builtin and then its argument prototype would still apply. */ 7299 8308 #ifdef __cplusplus 7300 8309 extern "C" 7301 {7302 8310 #endif 7303 /* We use char because int might match the return type of a gcc27304 builtin and then its argument prototype would still apply. */7305 8311 char re_rx_search (); 7306 8312 /* The GNU C library defines this for functions which it implements 7307 8313 to always fail with ENOSYS. Some functions are actually named 7308 8314 something starting with __ and the normal name is an alias. */ 7309 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)8315 #if defined __stub_re_rx_search || defined __stub___re_rx_search 7310 8316 choke me 7311 #else7312 char (*f) () = re_rx_search;7313 #endif7314 #ifdef __cplusplus7315 }7316 8317 #endif 7317 8318 … … 7319 8320 main () 7320 8321 { 7321 return f != re_rx_search;8322 return re_rx_search (); 7322 8323 ; 7323 8324 return 0; … … 7325 8326 _ACEOF 7326 8327 rm -f conftest.$ac_objext conftest$ac_exeext 7327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7328 (eval $ac_link) 2>conftest.er1 8328 if { (ac_try="$ac_link" 8329 case "(($ac_try" in 8330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8331 *) ac_try_echo=$ac_try;; 8332 esac 8333 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8334 $as_echo "$ac_try_echo") >&5 8335 (eval "$ac_link") 2>conftest.er1 7329 8336 ac_status=$? 7330 8337 grep -v '^ *+' conftest.er1 >conftest.err 7331 8338 rm -f conftest.er1 7332 8339 cat conftest.err >&5 7333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7334 (exit $ac_status); } && 7335 { ac_try='test -z "$ac_c_werror_flag" 7336 || test ! -s conftest.err' 7337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7338 (eval $ac_try) 2>&5 7339 ac_status=$? 7340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7341 (exit $ac_status); }; } && 7342 { ac_try='test -s conftest$ac_exeext' 7343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7344 (eval $ac_try) 2>&5 7345 ac_status=$? 7346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7347 (exit $ac_status); }; }; then 8340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8341 (exit $ac_status); } && { 8342 test -z "$ac_c_werror_flag" || 8343 test ! -s conftest.err 8344 } && test -s conftest$ac_exeext && { 8345 test "$cross_compiling" = yes || 8346 $as_test_x conftest$ac_exeext 8347 }; then 7348 8348 ac_cv_func_re_rx_search=yes 7349 8349 else 7350 echo "$as_me: failed program was:" >&58350 $as_echo "$as_me: failed program was:" >&5 7351 8351 sed 's/^/| /' conftest.$ac_ext >&5 7352 8352 7353 ac_cv_func_re_rx_search=no 7354 fi 7355 rm -f conftest.err conftest.$ac_objext \ 8353 ac_cv_func_re_rx_search=no 8354 fi 8355 8356 rm -rf conftest.dSYM 8357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7356 8358 conftest$ac_exeext conftest.$ac_ext 7357 8359 fi 7358 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&57359 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6 7360 if test $ac_cv_func_re_rx_search =yes; then8360 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 8361 $as_echo "$ac_cv_func_re_rx_search" >&6; } 8362 if test "x$ac_cv_func_re_rx_search" = x""yes; then 7361 8363 : 7362 8364 else 7363 case $LIBOBJS in 7364 "rx.$ac_objext" | \ 7365 *" rx.$ac_objext" | \ 7366 "rx.$ac_objext "* | \ 8365 case " $LIBOBJS " in 7367 8366 *" rx.$ac_objext "* ) ;; 7368 *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;; 8367 *) LIBOBJS="$LIBOBJS rx.$ac_objext" 8368 ;; 7369 8369 esac 7370 8370 … … 7376 8376 # --------------------------------------------------------------------------- 7377 8377 if test "$ac_cv_func_alloca" = 'no'; then 7378 case $LIBOBJS in 7379 "xmalloc.$ac_objext" | \ 7380 *" xmalloc.$ac_objext" | \ 7381 "xmalloc.$ac_objext "* | \ 8378 case " $LIBOBJS " in 7382 8379 *" xmalloc.$ac_objext "* ) ;; 7383 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;; 7384 esac 7385 7386 case $LIBOBJS in 7387 "error.$ac_objext" | \ 7388 *" error.$ac_objext" | \ 7389 "error.$ac_objext "* | \ 8380 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" 8381 ;; 8382 esac 8383 8384 case " $LIBOBJS " in 7390 8385 *" error.$ac_objext "* ) ;; 7391 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 8386 *) LIBOBJS="$LIBOBJS error.$ac_objext" 8387 ;; 7392 8388 esac 7393 8389 … … 7397 8393 # --------------------------------------------------------------------------- 7398 8394 7399 ac_ext=c c8395 ac_ext=cpp 7400 8396 ac_cpp='$CXXCPP $CPPFLAGS' 7401 8397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 7405 8401 7406 8402 success=no 7407 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&57408 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6 8403 { $as_echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5 8404 $as_echo_n "checking \"whether STL library has known faults\"... " >&6; } 7409 8405 7410 8406 … … 7426 8422 _ACEOF 7427 8423 rm -f conftest.$ac_objext 7428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7429 (eval $ac_compile) 2>conftest.er1 8424 if { (ac_try="$ac_compile" 8425 case "(($ac_try" in 8426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8427 *) ac_try_echo=$ac_try;; 8428 esac 8429 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8430 $as_echo "$ac_try_echo") >&5 8431 (eval "$ac_compile") 2>conftest.er1 7430 8432 ac_status=$? 7431 8433 grep -v '^ *+' conftest.er1 >conftest.err 7432 8434 rm -f conftest.er1 7433 8435 cat conftest.err >&5 7434 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7435 (exit $ac_status); } && 7436 { ac_try='test -z "$ac_cxx_werror_flag" 7437 || test ! -s conftest.err' 7438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7439 (eval $ac_try) 2>&5 7440 ac_status=$? 7441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7442 (exit $ac_status); }; } && 7443 { ac_try='test -s conftest.$ac_objext' 7444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7445 (eval $ac_try) 2>&5 7446 ac_status=$? 7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7448 (exit $ac_status); }; }; then 8436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8437 (exit $ac_status); } && { 8438 test -z "$ac_cxx_werror_flag" || 8439 test ! -s conftest.err 8440 } && test -s conftest.$ac_objext; then 7449 8441 success=yes 7450 8442 else 7451 echo "$as_me: failed program was:" >&58443 $as_echo "$as_me: failed program was:" >&5 7452 8444 sed 's/^/| /' conftest.$ac_ext >&5 7453 8445 7454 fi 7455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8446 8447 fi 8448 8449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7456 8450 7457 8451 if test $success = "no"; then … … 7473 8467 _ACEOF 7474 8468 rm -f conftest.$ac_objext 7475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7476 (eval $ac_compile) 2>conftest.er1 8469 if { (ac_try="$ac_compile" 8470 case "(($ac_try" in 8471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8472 *) ac_try_echo=$ac_try;; 8473 esac 8474 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8475 $as_echo "$ac_try_echo") >&5 8476 (eval "$ac_compile") 2>conftest.er1 7477 8477 ac_status=$? 7478 8478 grep -v '^ *+' conftest.er1 >conftest.err 7479 8479 rm -f conftest.er1 7480 8480 cat conftest.err >&5 7481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7482 (exit $ac_status); } && 7483 { ac_try='test -z "$ac_cxx_werror_flag" 7484 || test ! -s conftest.err' 7485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7486 (eval $ac_try) 2>&5 7487 ac_status=$? 7488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7489 (exit $ac_status); }; } && 7490 { ac_try='test -s conftest.$ac_objext' 7491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7492 (eval $ac_try) 2>&5 7493 ac_status=$? 7494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7495 (exit $ac_status); }; }; then 8481 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8482 (exit $ac_status); } && { 8483 test -z "$ac_cxx_werror_flag" || 8484 test ! -s conftest.err 8485 } && test -s conftest.$ac_objext; then 7496 8486 success="yes" 7497 8487 else 7498 echo "$as_me: failed program was:" >&58488 $as_echo "$as_me: failed program was:" >&5 7499 8489 sed 's/^/| /' conftest.$ac_ext >&5 7500 8490 7501 fi 7502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8491 8492 fi 8493 8494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7503 8495 fi 7504 8496 … … 7521 8513 _ACEOF 7522 8514 rm -f conftest.$ac_objext 7523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7524 (eval $ac_compile) 2>conftest.er1 8515 if { (ac_try="$ac_compile" 8516 case "(($ac_try" in 8517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8518 *) ac_try_echo=$ac_try;; 8519 esac 8520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8521 $as_echo "$ac_try_echo") >&5 8522 (eval "$ac_compile") 2>conftest.er1 7525 8523 ac_status=$? 7526 8524 grep -v '^ *+' conftest.er1 >conftest.err 7527 8525 rm -f conftest.er1 7528 8526 cat conftest.err >&5 7529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7530 (exit $ac_status); } && 7531 { ac_try='test -z "$ac_cxx_werror_flag" 7532 || test ! -s conftest.err' 7533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7534 (eval $ac_try) 2>&5 7535 ac_status=$? 7536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7537 (exit $ac_status); }; } && 7538 { ac_try='test -s conftest.$ac_objext' 7539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7540 (eval $ac_try) 2>&5 7541 ac_status=$? 7542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7543 (exit $ac_status); }; }; then 8527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8528 (exit $ac_status); } && { 8529 test -z "$ac_cxx_werror_flag" || 8530 test ! -s conftest.err 8531 } && test -s conftest.$ac_objext; then 7544 8532 success="yes" 7545 8533 else 7546 echo "$as_me: failed program was:" >&58534 $as_echo "$as_me: failed program was:" >&5 7547 8535 sed 's/^/| /' conftest.$ac_ext >&5 7548 8536 7549 fi 7550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8537 8538 fi 8539 8540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7551 8541 fi 7552 8542 7553 8543 if test $success = yes; then 7554 echo "$as_me:$LINENO: result: \"no\"" >&57555 echo "${ECHO_T}\"no\"" >&6 7556 else 7557 echo "$as_me:$LINENO: result: \"yes\"" >&57558 echo "${ECHO_T}\"yes\"" >&6 7559 { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&57560 echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}8544 { $as_echo "$as_me:$LINENO: result: \"no\"" >&5 8545 $as_echo "\"no\"" >&6; } 8546 else 8547 { $as_echo "$as_me:$LINENO: result: \"yes\"" >&5 8548 $as_echo "\"yes\"" >&6; } 8549 { { $as_echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5 8550 $as_echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;} 7561 8551 { (exit 1); exit 1; }; } 7562 8552 fi … … 7579 8569 7580 8570 # check for endianness 7581 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7582 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 8571 8572 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 8573 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 7583 8574 if test "${ac_cv_c_bigendian+set}" = set; then 7584 echo $ECHO_N "(cached) $ECHO_C" >&6 7585 else 7586 # See if sys/param.h defines the BYTE_ORDER macro. 7587 cat >conftest.$ac_ext <<_ACEOF 8575 $as_echo_n "(cached) " >&6 8576 else 8577 ac_cv_c_bigendian=unknown 8578 # See if we're dealing with a universal compiler. 8579 cat >conftest.$ac_ext <<_ACEOF 8580 /* confdefs.h. */ 8581 _ACEOF 8582 cat confdefs.h >>conftest.$ac_ext 8583 cat >>conftest.$ac_ext <<_ACEOF 8584 /* end confdefs.h. */ 8585 #ifndef __APPLE_CC__ 8586 not a universal capable compiler 8587 #endif 8588 typedef int dummy; 8589 8590 _ACEOF 8591 rm -f conftest.$ac_objext 8592 if { (ac_try="$ac_compile" 8593 case "(($ac_try" in 8594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8595 *) ac_try_echo=$ac_try;; 8596 esac 8597 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8598 $as_echo "$ac_try_echo") >&5 8599 (eval "$ac_compile") 2>conftest.er1 8600 ac_status=$? 8601 grep -v '^ *+' conftest.er1 >conftest.err 8602 rm -f conftest.er1 8603 cat conftest.err >&5 8604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8605 (exit $ac_status); } && { 8606 test -z "$ac_cxx_werror_flag" || 8607 test ! -s conftest.err 8608 } && test -s conftest.$ac_objext; then 8609 8610 # Check for potential -arch flags. It is not universal unless 8611 # there are some -arch flags. Note that *ppc* also matches 8612 # ppc64. This check is also rather less than ideal. 8613 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 8614 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 8615 esac 8616 else 8617 $as_echo "$as_me: failed program was:" >&5 8618 sed 's/^/| /' conftest.$ac_ext >&5 8619 8620 8621 fi 8622 8623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8624 if test $ac_cv_c_bigendian = unknown; then 8625 # See if sys/param.h defines the BYTE_ORDER macro. 8626 cat >conftest.$ac_ext <<_ACEOF 7588 8627 /* confdefs.h. */ 7589 8628 _ACEOF … … 7592 8631 /* end confdefs.h. */ 7593 8632 #include <sys/types.h> 7594 #include <sys/param.h>8633 #include <sys/param.h> 7595 8634 7596 8635 int 7597 8636 main () 7598 8637 { 7599 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 7600 bogus endian macros 7601 #endif 8638 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 8639 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 8640 && LITTLE_ENDIAN) 8641 bogus endian macros 8642 #endif 7602 8643 7603 8644 ; … … 7606 8647 _ACEOF 7607 8648 rm -f conftest.$ac_objext 7608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7609 (eval $ac_compile) 2>conftest.er1 8649 if { (ac_try="$ac_compile" 8650 case "(($ac_try" in 8651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8652 *) ac_try_echo=$ac_try;; 8653 esac 8654 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8655 $as_echo "$ac_try_echo") >&5 8656 (eval "$ac_compile") 2>conftest.er1 7610 8657 ac_status=$? 7611 8658 grep -v '^ *+' conftest.er1 >conftest.err 7612 8659 rm -f conftest.er1 7613 8660 cat conftest.err >&5 7614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7615 (exit $ac_status); } && 7616 { ac_try='test -z "$ac_cxx_werror_flag" 7617 || test ! -s conftest.err' 7618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7619 (eval $ac_try) 2>&5 7620 ac_status=$? 7621 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7622 (exit $ac_status); }; } && 7623 { ac_try='test -s conftest.$ac_objext' 7624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7625 (eval $ac_try) 2>&5 7626 ac_status=$? 7627 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7628 (exit $ac_status); }; }; then 8661 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8662 (exit $ac_status); } && { 8663 test -z "$ac_cxx_werror_flag" || 8664 test ! -s conftest.err 8665 } && test -s conftest.$ac_objext; then 7629 8666 # It does; now see whether it defined to BIG_ENDIAN or not. 7630 cat >conftest.$ac_ext <<_ACEOF8667 cat >conftest.$ac_ext <<_ACEOF 7631 8668 /* confdefs.h. */ 7632 8669 _ACEOF … … 7635 8672 /* end confdefs.h. */ 7636 8673 #include <sys/types.h> 7637 #include <sys/param.h>8674 #include <sys/param.h> 7638 8675 7639 8676 int … … 7641 8678 { 7642 8679 #if BYTE_ORDER != BIG_ENDIAN 7643 not big endian7644 #endif8680 not big endian 8681 #endif 7645 8682 7646 8683 ; … … 7649 8686 _ACEOF 7650 8687 rm -f conftest.$ac_objext 7651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7652 (eval $ac_compile) 2>conftest.er1 8688 if { (ac_try="$ac_compile" 8689 case "(($ac_try" in 8690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8691 *) ac_try_echo=$ac_try;; 8692 esac 8693 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8694 $as_echo "$ac_try_echo") >&5 8695 (eval "$ac_compile") 2>conftest.er1 7653 8696 ac_status=$? 7654 8697 grep -v '^ *+' conftest.er1 >conftest.err 7655 8698 rm -f conftest.er1 7656 8699 cat conftest.err >&5 7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7658 (exit $ac_status); } && 7659 { ac_try='test -z "$ac_cxx_werror_flag" 7660 || test ! -s conftest.err' 7661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7662 (eval $ac_try) 2>&5 7663 ac_status=$? 7664 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7665 (exit $ac_status); }; } && 7666 { ac_try='test -s conftest.$ac_objext' 7667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7668 (eval $ac_try) 2>&5 7669 ac_status=$? 7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7671 (exit $ac_status); }; }; then 8700 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8701 (exit $ac_status); } && { 8702 test -z "$ac_cxx_werror_flag" || 8703 test ! -s conftest.err 8704 } && test -s conftest.$ac_objext; then 7672 8705 ac_cv_c_bigendian=yes 7673 8706 else 7674 echo "$as_me: failed program was:" >&58707 $as_echo "$as_me: failed program was:" >&5 7675 8708 sed 's/^/| /' conftest.$ac_ext >&5 7676 8709 7677 ac_cv_c_bigendian=no 7678 fi 7679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7680 else 7681 echo "$as_me: failed program was:" >&5 8710 ac_cv_c_bigendian=no 8711 fi 8712 8713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8714 else 8715 $as_echo "$as_me: failed program was:" >&5 7682 8716 sed 's/^/| /' conftest.$ac_ext >&5 7683 8717 7684 # It does not; compile a test program. 7685 if test "$cross_compiling" = yes; then 7686 # try to guess the endianness by grepping values into an object file 7687 ac_cv_c_bigendian=unknown 7688 cat >conftest.$ac_ext <<_ACEOF 8718 8719 fi 8720 8721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8722 fi 8723 if test $ac_cv_c_bigendian = unknown; then 8724 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 8725 cat >conftest.$ac_ext <<_ACEOF 7689 8726 /* confdefs.h. */ 7690 8727 _ACEOF … … 7692 8729 cat >>conftest.$ac_ext <<_ACEOF 7693 8730 /* end confdefs.h. */ 7694 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 7695 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 7696 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 7697 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 7698 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 7699 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 8731 #include <limits.h> 8732 7700 8733 int 7701 8734 main () 7702 8735 { 7703 _ascii (); _ebcdic (); 8736 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 8737 bogus endian macros 8738 #endif 8739 7704 8740 ; 7705 8741 return 0; … … 7707 8743 _ACEOF 7708 8744 rm -f conftest.$ac_objext 7709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7710 (eval $ac_compile) 2>conftest.er1 8745 if { (ac_try="$ac_compile" 8746 case "(($ac_try" in 8747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8748 *) ac_try_echo=$ac_try;; 8749 esac 8750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8751 $as_echo "$ac_try_echo") >&5 8752 (eval "$ac_compile") 2>conftest.er1 7711 8753 ac_status=$? 7712 8754 grep -v '^ *+' conftest.er1 >conftest.err 7713 8755 rm -f conftest.er1 7714 8756 cat conftest.err >&5 7715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7716 (exit $ac_status); } && 7717 { ac_try='test -z "$ac_cxx_werror_flag" 7718 || test ! -s conftest.err' 7719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7720 (eval $ac_try) 2>&5 7721 ac_status=$? 7722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7723 (exit $ac_status); }; } && 7724 { ac_try='test -s conftest.$ac_objext' 7725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7726 (eval $ac_try) 2>&5 7727 ac_status=$? 7728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7729 (exit $ac_status); }; }; then 7730 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 7731 ac_cv_c_bigendian=yes 7732 fi 7733 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 7734 if test "$ac_cv_c_bigendian" = unknown; then 7735 ac_cv_c_bigendian=no 7736 else 7737 # finding both strings is unlikely to happen, but who knows? 7738 ac_cv_c_bigendian=unknown 7739 fi 7740 fi 7741 else 7742 echo "$as_me: failed program was:" >&5 7743 sed 's/^/| /' conftest.$ac_ext >&5 7744 7745 fi 7746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7747 else 7748 cat >conftest.$ac_ext <<_ACEOF 8757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8758 (exit $ac_status); } && { 8759 test -z "$ac_cxx_werror_flag" || 8760 test ! -s conftest.err 8761 } && test -s conftest.$ac_objext; then 8762 # It does; now see whether it defined to _BIG_ENDIAN or not. 8763 cat >conftest.$ac_ext <<_ACEOF 7749 8764 /* confdefs.h. */ 7750 8765 _ACEOF … … 7752 8767 cat >>conftest.$ac_ext <<_ACEOF 7753 8768 /* end confdefs.h. */ 8769 #include <limits.h> 8770 7754 8771 int 7755 8772 main () 7756 8773 { 7757 /* Are we little or big endian? From Harbison&Steele. */ 7758 union 7759 { 7760 long l; 7761 char c[sizeof (long)]; 7762 } u; 7763 u.l = 1; 7764 exit (u.c[sizeof (long) - 1] == 1); 8774 #ifndef _BIG_ENDIAN 8775 not big endian 8776 #endif 8777 8778 ; 8779 return 0; 7765 8780 } 7766 8781 _ACEOF 8782 rm -f conftest.$ac_objext 8783 if { (ac_try="$ac_compile" 8784 case "(($ac_try" in 8785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8786 *) ac_try_echo=$ac_try;; 8787 esac 8788 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8789 $as_echo "$ac_try_echo") >&5 8790 (eval "$ac_compile") 2>conftest.er1 8791 ac_status=$? 8792 grep -v '^ *+' conftest.er1 >conftest.err 8793 rm -f conftest.er1 8794 cat conftest.err >&5 8795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8796 (exit $ac_status); } && { 8797 test -z "$ac_cxx_werror_flag" || 8798 test ! -s conftest.err 8799 } && test -s conftest.$ac_objext; then 8800 ac_cv_c_bigendian=yes 8801 else 8802 $as_echo "$as_me: failed program was:" >&5 8803 sed 's/^/| /' conftest.$ac_ext >&5 8804 8805 ac_cv_c_bigendian=no 8806 fi 8807 8808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8809 else 8810 $as_echo "$as_me: failed program was:" >&5 8811 sed 's/^/| /' conftest.$ac_ext >&5 8812 8813 8814 fi 8815 8816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8817 fi 8818 if test $ac_cv_c_bigendian = unknown; then 8819 # Compile a test program. 8820 if test "$cross_compiling" = yes; then 8821 # Try to guess by grepping values from an object file. 8822 cat >conftest.$ac_ext <<_ACEOF 8823 /* confdefs.h. */ 8824 _ACEOF 8825 cat confdefs.h >>conftest.$ac_ext 8826 cat >>conftest.$ac_ext <<_ACEOF 8827 /* end confdefs.h. */ 8828 short int ascii_mm[] = 8829 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 8830 short int ascii_ii[] = 8831 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 8832 int use_ascii (int i) { 8833 return ascii_mm[i] + ascii_ii[i]; 8834 } 8835 short int ebcdic_ii[] = 8836 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 8837 short int ebcdic_mm[] = 8838 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 8839 int use_ebcdic (int i) { 8840 return ebcdic_mm[i] + ebcdic_ii[i]; 8841 } 8842 extern int foo; 8843 8844 int 8845 main () 8846 { 8847 return use_ascii (foo) == use_ebcdic (foo); 8848 ; 8849 return 0; 8850 } 8851 _ACEOF 8852 rm -f conftest.$ac_objext 8853 if { (ac_try="$ac_compile" 8854 case "(($ac_try" in 8855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8856 *) ac_try_echo=$ac_try;; 8857 esac 8858 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8859 $as_echo "$ac_try_echo") >&5 8860 (eval "$ac_compile") 2>conftest.er1 8861 ac_status=$? 8862 grep -v '^ *+' conftest.er1 >conftest.err 8863 rm -f conftest.er1 8864 cat conftest.err >&5 8865 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8866 (exit $ac_status); } && { 8867 test -z "$ac_cxx_werror_flag" || 8868 test ! -s conftest.err 8869 } && test -s conftest.$ac_objext; then 8870 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 8871 ac_cv_c_bigendian=yes 8872 fi 8873 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 8874 if test "$ac_cv_c_bigendian" = unknown; then 8875 ac_cv_c_bigendian=no 8876 else 8877 # finding both strings is unlikely to happen, but who knows? 8878 ac_cv_c_bigendian=unknown 8879 fi 8880 fi 8881 else 8882 $as_echo "$as_me: failed program was:" >&5 8883 sed 's/^/| /' conftest.$ac_ext >&5 8884 8885 8886 fi 8887 8888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8889 else 8890 cat >conftest.$ac_ext <<_ACEOF 8891 /* confdefs.h. */ 8892 _ACEOF 8893 cat confdefs.h >>conftest.$ac_ext 8894 cat >>conftest.$ac_ext <<_ACEOF 8895 /* end confdefs.h. */ 8896 $ac_includes_default 8897 int 8898 main () 8899 { 8900 8901 /* Are we little or big endian? From Harbison&Steele. */ 8902 union 8903 { 8904 long int l; 8905 char c[sizeof (long int)]; 8906 } u; 8907 u.l = 1; 8908 return u.c[sizeof (long int) - 1] == 1; 8909 8910 ; 8911 return 0; 8912 } 8913 _ACEOF 7767 8914 rm -f conftest$ac_exeext 7768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7769 (eval $ac_link) 2>&5 8915 if { (ac_try="$ac_link" 8916 case "(($ac_try" in 8917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8918 *) ac_try_echo=$ac_try;; 8919 esac 8920 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8921 $as_echo "$ac_try_echo") >&5 8922 (eval "$ac_link") 2>&5 7770 8923 ac_status=$? 7771 echo "$as_me:$LINENO: \$? = $ac_status" >&58924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7772 8925 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7774 (eval $ac_try) 2>&5 8926 { (case "(($ac_try" in 8927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8928 *) ac_try_echo=$ac_try;; 8929 esac 8930 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8931 $as_echo "$ac_try_echo") >&5 8932 (eval "$ac_try") 2>&5 7775 8933 ac_status=$? 7776 echo "$as_me:$LINENO: \$? = $ac_status" >&58934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7777 8935 (exit $ac_status); }; }; then 7778 8936 ac_cv_c_bigendian=no 7779 8937 else 7780 echo "$as_me: program exited with status $ac_status" >&57781 echo "$as_me: failed program was:" >&58938 $as_echo "$as_me: program exited with status $ac_status" >&5 8939 $as_echo "$as_me: failed program was:" >&5 7782 8940 sed 's/^/| /' conftest.$ac_ext >&5 7783 8941 … … 7785 8943 ac_cv_c_bigendian=yes 7786 8944 fi 7787 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7788 fi 7789 fi 7790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7791 fi 7792 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7793 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 7794 case $ac_cv_c_bigendian in 7795 yes) 8945 rm -rf conftest.dSYM 8946 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8947 fi 8948 8949 8950 fi 8951 fi 8952 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 8953 $as_echo "$ac_cv_c_bigendian" >&6; } 8954 case $ac_cv_c_bigendian in #( 8955 yes) 8956 cat >>confdefs.h <<\_ACEOF 8957 #define WORDS_BIGENDIAN 1 8958 _ACEOF 8959 ;; #( 8960 no) 8961 ;; #( 8962 universal) 7796 8963 7797 8964 cat >>confdefs.h <<\_ACEOF 7798 #define WORDS_BIGENDIAN 1 7799 _ACEOF 7800 ;; 7801 no) 7802 ;; 7803 *) 7804 { { echo "$as_me:$LINENO: error: unknown endianness 7805 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 7806 echo "$as_me: error: unknown endianness 7807 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 8965 #define AC_APPLE_UNIVERSAL_BUILD 1 8966 _ACEOF 8967 8968 ;; #( 8969 *) 8970 { { $as_echo "$as_me:$LINENO: error: unknown endianness 8971 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 8972 $as_echo "$as_me: error: unknown endianness 8973 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 7808 8974 { (exit 1); exit 1; }; } ;; 7809 esac8975 esac 7810 8976 7811 8977 # --------------------------------------------------------------------------- 7812 8978 if test "$ac_cv_func_alloca" = 'no'; then 7813 case $LIBOBJS in 7814 "xmalloc.o.$ac_objext" | \ 7815 *" xmalloc.o.$ac_objext" | \ 7816 "xmalloc.o.$ac_objext "* | \ 8979 case " $LIBOBJS " in 7817 8980 *" xmalloc.o.$ac_objext "* ) ;; 7818 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;; 7819 esac 7820 7821 case $LIBOBJS in 7822 "error.$ac_objext" | \ 7823 *" error.$ac_objext" | \ 7824 "error.$ac_objext "* | \ 8981 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" 8982 ;; 8983 esac 8984 8985 case " $LIBOBJS " in 7825 8986 *" error.$ac_objext "* ) ;; 7826 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 8987 *) LIBOBJS="$LIBOBJS error.$ac_objext" 8988 ;; 7827 8989 esac 7828 8990 … … 7858 9020 commonsrcprefix=`pwd` 7859 9021 ac_configure_args="$ac_configure_args --with-libiconv-prefix=$commonsrcprefix/packages/iconv" 7860 7861 7862 9022 subdirs="$subdirs indexers" 7863 9023 … … 7875 9035 src/jdbmedit/Makefile" 7876 9036 7877 ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs" 9037 ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs" 9038 7878 9039 cat >confcache <<\_ACEOF 7879 9040 # This file is a shell script that caches the results of configure … … 7894 9055 # The following way of writing the cache mishandles newlines in values, 7895 9056 # but we know of no workaround that is simple, portable, and efficient. 7896 # So, don't put newlines in cache variables' values.9057 # So, we kill variables containing newlines. 7897 9058 # Ultrix sh set writes to stderr and can't be redirected directly, 7898 9059 # and sets the high bit in the cache file unless we assign to the vars. 7899 { 9060 ( 9061 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 9062 eval ac_val=\$$ac_var 9063 case $ac_val in #( 9064 *${as_nl}*) 9065 case $ac_var in #( 9066 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 9067 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 9068 esac 9069 case $ac_var in #( 9070 _ | IFS | as_nl) ;; #( 9071 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9072 *) $as_unset $ac_var ;; 9073 esac ;; 9074 esac 9075 done 9076 7900 9077 (set) 2>&1 | 7901 case `(ac_space=' '; set | grep ac_space) 2>&1` in7902 * ac_space=\ *)9078 case $as_nl`(ac_space=' '; set) 2>&1` in #( 9079 *${as_nl}ac_space=\ *) 7903 9080 # `set' does not quote correctly, so add quotes (double-quote 7904 9081 # substitution turns \\\\ into \\, and sed turns \\ into \). … … 7906 9083 "s/'/'\\\\''/g; 7907 9084 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7908 ;; 9085 ;; #( 7909 9086 *) 7910 9087 # `set' quotes correctly as required by POSIX, so do not add quotes. 7911 sed -n \ 7912 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 9088 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7913 9089 ;; 7914 esac; 7915 } | 9090 esac | 9091 sort 9092 ) | 7916 9093 sed ' 9094 /^ac_cv_env_/b end 7917 9095 t clear 7918 : 9096 :clear 7919 9097 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7920 9098 t end 7921 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7922 : end' >>confcache 7923 if diff $cache_file confcache >/dev/null 2>&1; then :; else 7924 if test -w $cache_file; then 7925 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 9099 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 9100 :end' >>confcache 9101 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 9102 if test -w "$cache_file"; then 9103 test "x$cache_file" != "x/dev/null" && 9104 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 9105 $as_echo "$as_me: updating cache $cache_file" >&6;} 7926 9106 cat confcache >$cache_file 7927 9107 else 7928 echo "not updating unwritable cache $cache_file" 9108 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 9109 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7929 9110 fi 7930 9111 fi … … 7934 9115 # Let make expand exec_prefix. 7935 9116 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7936 7937 # VPATH may cause trouble with some makes, so we remove $(srcdir),7938 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and7939 # trailing colons and then remove the whole line if VPATH becomes empty7940 # (actually we leave an empty line to preserve line numbers).7941 if test "x$srcdir" = x.; then7942 ac_vpsub='/^[ ]*VPATH[ ]*=/{7943 s/:*\$(srcdir):*/:/;7944 s/:*\${srcdir}:*/:/;7945 s/:*@srcdir@:*/:/;7946 s/^\([^=]*=[ ]*\):*/\1/;7947 s/:*$//;7948 s/^[^=]*=[ ]*$//;7949 }'7950 fi7951 9117 7952 9118 DEFS=-DHAVE_CONFIG_H … … 7956 9122 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7957 9123 # 1. Remove the extension, and $U if already installed. 7958 ac_i=`echo "$ac_i" | 7959 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 7960 # 2. Add them. 7961 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 7962 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 9124 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 9125 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 9126 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 9127 # will be set to the directory where LIBOBJS objects are built. 9128 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9129 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 7963 9130 done 7964 9131 LIBOBJS=$ac_libobjs … … 7968 9135 7969 9136 9137 7970 9138 : ${CONFIG_STATUS=./config.status} 9139 ac_write_fail=0 7971 9140 ac_clean_files_save=$ac_clean_files 7972 9141 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 7973 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&57974 echo "$as_me: creating $CONFIG_STATUS" >&6;}7975 cat >$CONFIG_STATUS <<_ACEOF 9142 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 9143 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9144 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7976 9145 #! $SHELL 7977 9146 # Generated by $as_me. … … 7986 9155 _ACEOF 7987 9156 7988 cat >>$CONFIG_STATUS <<\_ACEOF 9157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7989 9158 ## --------------------- ## 7990 9159 ## M4sh Initialization. ## 7991 9160 ## --------------------- ## 7992 9161 7993 # Be Bourne compatible 9162 # Be more Bourne compatible 9163 DUALCASE=1; export DUALCASE # for MKS sh 7994 9164 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 7995 9165 emulate sh 7996 9166 NULLCMD=: 7997 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which9167 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 7998 9168 # is contrary to our usage. Disable this feature. 7999 9169 alias -g '${1+"$@"}'='"$@"' 8000 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 8001 set -o posix 8002 fi 8003 DUALCASE=1; export DUALCASE # for MKS sh 8004 8005 # Support unset when possible. 8006 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8007 as_unset=unset 8008 else 8009 as_unset=false 8010 fi 8011 8012 8013 # Work around bugs in pre-3.0 UWIN ksh. 8014 $as_unset ENV MAIL MAILPATH 8015 PS1='$ ' 8016 PS2='> ' 8017 PS4='+ ' 8018 8019 # NLS nuisances. 8020 for as_var in \ 8021 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 8022 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 8023 LC_TELEPHONE LC_TIME 8024 do 8025 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 8026 eval $as_var=C; export $as_var 8027 else 8028 $as_unset $as_var 8029 fi 8030 done 8031 8032 # Required to use basename. 8033 if expr a : '\(a\)' >/dev/null 2>&1; then 8034 as_expr=expr 8035 else 8036 as_expr=false 8037 fi 8038 8039 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 8040 as_basename=basename 8041 else 8042 as_basename=false 8043 fi 8044 8045 8046 # Name of the executable. 8047 as_me=`$as_basename "$0" || 8048 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8049 X"$0" : 'X\(//\)$' \| \ 8050 X"$0" : 'X\(/\)$' \| \ 8051 . : '\(.\)' 2>/dev/null || 8052 echo X/"$0" | 8053 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 8054 /^X\/\(\/\/\)$/{ s//\1/; q; } 8055 /^X\/\(\/\).*/{ s//\1/; q; } 8056 s/.*/./; q'` 8057 8058 8059 # PATH needs CR, and LINENO needs CR and PATH. 9170 setopt NO_GLOB_SUBST 9171 else 9172 case `(set -o) 2>/dev/null` in 9173 *posix*) set -o posix ;; 9174 esac 9175 9176 fi 9177 9178 9179 9180 9181 # PATH needs CR 8060 9182 # Avoid depending upon Character Ranges. 8061 9183 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 8065 9187 as_cr_alnum=$as_cr_Letters$as_cr_digits 8066 9188 9189 as_nl=' 9190 ' 9191 export as_nl 9192 # Printing a long string crashes Solaris 7 /usr/bin/printf. 9193 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 9194 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9195 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9196 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9197 as_echo='printf %s\n' 9198 as_echo_n='printf %s' 9199 else 9200 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 9201 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 9202 as_echo_n='/usr/ucb/echo -n' 9203 else 9204 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 9205 as_echo_n_body='eval 9206 arg=$1; 9207 case $arg in 9208 *"$as_nl"*) 9209 expr "X$arg" : "X\\(.*\\)$as_nl"; 9210 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 9211 esac; 9212 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 9213 ' 9214 export as_echo_n_body 9215 as_echo_n='sh -c $as_echo_n_body as_echo' 9216 fi 9217 export as_echo_body 9218 as_echo='sh -c $as_echo_body as_echo' 9219 fi 9220 8067 9221 # The user is always right. 8068 9222 if test "${PATH_SEPARATOR+set}" != set; then 8069 echo "#! /bin/sh" >conf$$.sh 8070 echo "exit 0" >>conf$$.sh 8071 chmod +x conf$$.sh 8072 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 8073 PATH_SEPARATOR=';' 8074 else 8075 PATH_SEPARATOR=: 8076 fi 8077 rm -f conf$$.sh 8078 fi 8079 8080 8081 as_lineno_1=$LINENO 8082 as_lineno_2=$LINENO 8083 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8084 test "x$as_lineno_1" != "x$as_lineno_2" && 8085 test "x$as_lineno_3" = "x$as_lineno_2" || { 8086 # Find who we are. Look in the path if we contain no path at all 8087 # relative or not. 8088 case $0 in 8089 *[\\/]* ) as_myself=$0 ;; 8090 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9223 PATH_SEPARATOR=: 9224 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 9225 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 9226 PATH_SEPARATOR=';' 9227 } 9228 fi 9229 9230 # Support unset when possible. 9231 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 9232 as_unset=unset 9233 else 9234 as_unset=false 9235 fi 9236 9237 9238 # IFS 9239 # We need space, tab and new line, in precisely that order. Quoting is 9240 # there to prevent editors from complaining about space-tab. 9241 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 9242 # splitting by setting IFS to empty value.) 9243 IFS=" "" $as_nl" 9244 9245 # Find who we are. Look in the path if we contain no directory separator. 9246 case $0 in 9247 *[\\/]* ) as_myself=$0 ;; 9248 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8091 9249 for as_dir in $PATH 8092 9250 do … … 8095 9253 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8096 9254 done 8097 8098 ;; 8099 esac 8100 # We did not find ourselves, most probably we were run as `sh COMMAND' 8101 # in which case we are not to be found in the path. 8102 if test "x$as_myself" = x; then 8103 as_myself=$0 8104 fi 8105 if test ! -f "$as_myself"; then 8106 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 8107 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 8108 { (exit 1); exit 1; }; } 8109 fi 8110 case $CONFIG_SHELL in 8111 '') 8112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8113 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 8114 do 8115 IFS=$as_save_IFS 8116 test -z "$as_dir" && as_dir=. 8117 for as_base in sh bash ksh sh5; do 8118 case $as_dir in 8119 /*) 8120 if ("$as_dir/$as_base" -c ' 9255 IFS=$as_save_IFS 9256 9257 ;; 9258 esac 9259 # We did not find ourselves, most probably we were run as `sh COMMAND' 9260 # in which case we are not to be found in the path. 9261 if test "x$as_myself" = x; then 9262 as_myself=$0 9263 fi 9264 if test ! -f "$as_myself"; then 9265 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9266 { (exit 1); exit 1; } 9267 fi 9268 9269 # Work around bugs in pre-3.0 UWIN ksh. 9270 for as_var in ENV MAIL MAILPATH 9271 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9272 done 9273 PS1='$ ' 9274 PS2='> ' 9275 PS4='+ ' 9276 9277 # NLS nuisances. 9278 LC_ALL=C 9279 export LC_ALL 9280 LANGUAGE=C 9281 export LANGUAGE 9282 9283 # Required to use basename. 9284 if expr a : '\(a\)' >/dev/null 2>&1 && 9285 test "X`expr 00001 : '.*\(...\)'`" = X001; then 9286 as_expr=expr 9287 else 9288 as_expr=false 9289 fi 9290 9291 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 9292 as_basename=basename 9293 else 9294 as_basename=false 9295 fi 9296 9297 9298 # Name of the executable. 9299 as_me=`$as_basename -- "$0" || 9300 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 9301 X"$0" : 'X\(//\)$' \| \ 9302 X"$0" : 'X\(/\)' \| . 2>/dev/null || 9303 $as_echo X/"$0" | 9304 sed '/^.*\/\([^/][^/]*\)\/*$/{ 9305 s//\1/ 9306 q 9307 } 9308 /^X\/\(\/\/\)$/{ 9309 s//\1/ 9310 q 9311 } 9312 /^X\/\(\/\).*/{ 9313 s//\1/ 9314 q 9315 } 9316 s/.*/./; q'` 9317 9318 # CDPATH. 9319 $as_unset CDPATH 9320 9321 9322 8121 9323 as_lineno_1=$LINENO 8122 9324 as_lineno_2=$LINENO 8123 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`8124 9325 test "x$as_lineno_1" != "x$as_lineno_2" && 8125 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 8126 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 8127 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 8128 CONFIG_SHELL=$as_dir/$as_base 8129 export CONFIG_SHELL 8130 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 8131 fi;; 8132 esac 8133 done 8134 done 8135 ;; 8136 esac 9326 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 8137 9327 8138 9328 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 8139 9329 # uniformly replaced by the line number. The first 'sed' inserts a 8140 # line-number line before each line; the second 'sed' does the real 8141 # work. The second script uses 'N' to pair each line-number line 8142 # with the numbered line, and appends trailing '-' during 8143 # substitution so that $LINENO is not a special case at line end. 9330 # line-number line after each line using $LINENO; the second 'sed' 9331 # does the real work. The second script uses 'N' to pair each 9332 # line-number line with the line containing $LINENO, and appends 9333 # trailing '-' during substitution so that $LINENO is not a special 9334 # case at line end. 8144 9335 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 8145 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 8146 sed '=' <$as_myself | 9336 # scripts with optimization help from Paolo Bonzini. Blame Lee 9337 # E. McMahon (1931-1989) for sed's syntax. :-) 9338 sed -n ' 9339 p 9340 /[$]LINENO/= 9341 ' <$as_myself | 8147 9342 sed ' 9343 s/[$]LINENO.*/&-/ 9344 t lineno 9345 b 9346 :lineno 8148 9347 N 8149 s,$,-, 8150 : loop 8151 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 9348 :loop 9349 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 8152 9350 t loop 8153 s,-$,, 8154 s,^['$as_cr_digits']*\n,, 9351 s/-\n.*// 8155 9352 ' >$as_me.lineno && 8156 chmod +x $as_me.lineno || 8157 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 8158 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 9353 chmod +x "$as_me.lineno" || 9354 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 8159 9355 { (exit 1); exit 1; }; } 8160 9356 8161 9357 # Don't try to exec as it changes $[0], causing all sort of problems 8162 9358 # (the dirname of $[0] is not the place where we might find the 8163 # original and so on. Autoconf is especially sensi ble to this).8164 . ./$as_me.lineno9359 # original and so on. Autoconf is especially sensitive to this). 9360 . "./$as_me.lineno" 8165 9361 # Exit status is that of the last command. 8166 9362 exit … … 8168 9364 8169 9365 8170 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 8171 *c*,-n*) ECHO_N= ECHO_C=' 8172 ' ECHO_T=' ' ;; 8173 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 8174 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 8175 esac 8176 8177 if expr a : '\(a\)' >/dev/null 2>&1; then 9366 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9367 as_dirname=dirname 9368 else 9369 as_dirname=false 9370 fi 9371 9372 ECHO_C= ECHO_N= ECHO_T= 9373 case `echo -n x` in 9374 -n*) 9375 case `echo 'x\c'` in 9376 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 9377 *) ECHO_C='\c';; 9378 esac;; 9379 *) 9380 ECHO_N='-n';; 9381 esac 9382 if expr a : '\(a\)' >/dev/null 2>&1 && 9383 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8178 9384 as_expr=expr 8179 9385 else … … 8182 9388 8183 9389 rm -f conf$$ conf$$.exe conf$$.file 8184 echo >conf$$.file 8185 if ln -s conf$$.file conf$$ 2>/dev/null; then 8186 # We could just check for DJGPP; but this test a) works b) is more generic 8187 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 8188 if test -f conf$$.exe; then 8189 # Don't use ln at all; we don't have any links 9390 if test -d conf$$.dir; then 9391 rm -f conf$$.dir/conf$$.file 9392 else 9393 rm -f conf$$.dir 9394 mkdir conf$$.dir 2>/dev/null 9395 fi 9396 if (echo >conf$$.file) 2>/dev/null; then 9397 if ln -s conf$$.file conf$$ 2>/dev/null; then 9398 as_ln_s='ln -s' 9399 # ... but there are two gotchas: 9400 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 9401 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 9402 # In both cases, we have to default to `cp -p'. 9403 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9404 as_ln_s='cp -p' 9405 elif ln conf$$.file conf$$ 2>/dev/null; then 9406 as_ln_s=ln 9407 else 8190 9408 as_ln_s='cp -p' 8191 else8192 as_ln_s='ln -s'8193 9409 fi 8194 elif ln conf$$.file conf$$ 2>/dev/null; then8195 as_ln_s=ln8196 9410 else 8197 9411 as_ln_s='cp -p' 8198 9412 fi 8199 rm -f conf$$ conf$$.exe conf$$.file 9413 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 9414 rmdir conf$$.dir 2>/dev/null 8200 9415 8201 9416 if mkdir -p . 2>/dev/null; then … … 8206 9421 fi 8207 9422 8208 as_executable_p="test -f" 9423 if test -x / >/dev/null 2>&1; then 9424 as_test_x='test -x' 9425 else 9426 if ls -dL / >/dev/null 2>&1; then 9427 as_ls_L_option=L 9428 else 9429 as_ls_L_option= 9430 fi 9431 as_test_x=' 9432 eval sh -c '\'' 9433 if test -d "$1"; then 9434 test -d "$1/."; 9435 else 9436 case $1 in 9437 -*)set "./$1";; 9438 esac; 9439 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 9440 ???[sx]*):;;*)false;;esac;fi 9441 '\'' sh 9442 ' 9443 fi 9444 as_executable_p=$as_test_x 8209 9445 8210 9446 # Sed expression to map a string onto a valid CPP name. … … 8215 9451 8216 9452 8217 # IFS8218 # We need space, tab and new line, in precisely that order.8219 as_nl='8220 '8221 IFS=" $as_nl"8222 8223 # CDPATH.8224 $as_unset CDPATH8225 8226 9453 exec 6>&1 8227 9454 8228 # Open the log real soon, to keep \$[0] and so on meaningful, and to9455 # Save the log message, to keep $[0] and so on meaningful, and to 8229 9456 # report actual input values of CONFIG_FILES etc. instead of their 8230 # values after options handling. Logging --version etc. is OK. 9457 # values after options handling. 9458 ac_log=" 9459 This file was extended by $as_me, which was 9460 generated by GNU Autoconf 2.63. Invocation command line was 9461 9462 CONFIG_FILES = $CONFIG_FILES 9463 CONFIG_HEADERS = $CONFIG_HEADERS 9464 CONFIG_LINKS = $CONFIG_LINKS 9465 CONFIG_COMMANDS = $CONFIG_COMMANDS 9466 $ $0 $@ 9467 9468 on `(hostname || uname -n) 2>/dev/null | sed 1q` 9469 " 9470 9471 _ACEOF 9472 9473 case $ac_config_files in *" 9474 "*) set x $ac_config_files; shift; ac_config_files=$*;; 9475 esac 9476 9477 case $ac_config_headers in *" 9478 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 9479 esac 9480 9481 9482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9483 # Files that config.status was made for. 9484 config_files="$ac_config_files" 9485 config_headers="$ac_config_headers" 9486 9487 _ACEOF 9488 9489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9490 ac_cs_usage="\ 9491 \`$as_me' instantiates files from templates according to the 9492 current configuration. 9493 9494 Usage: $0 [OPTION]... [FILE]... 9495 9496 -h, --help print this help, then exit 9497 -V, --version print version number and configuration settings, then exit 9498 -q, --quiet, --silent 9499 do not print progress messages 9500 -d, --debug don't remove temporary files 9501 --recheck update $as_me by reconfiguring in the same conditions 9502 --file=FILE[:TEMPLATE] 9503 instantiate the configuration file FILE 9504 --header=FILE[:TEMPLATE] 9505 instantiate the configuration header FILE 9506 9507 Configuration files: 9508 $config_files 9509 9510 Configuration headers: 9511 $config_headers 9512 9513 Report bugs to <[email protected]>." 9514 9515 _ACEOF 9516 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9517 ac_cs_version="\\ 9518 config.status 9519 configured by $0, generated by GNU Autoconf 2.63, 9520 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 9521 9522 Copyright (C) 2008 Free Software Foundation, Inc. 9523 This config.status script is free software; the Free Software Foundation 9524 gives unlimited permission to copy, distribute and modify it." 9525 9526 ac_pwd='$ac_pwd' 9527 srcdir='$srcdir' 9528 INSTALL='$INSTALL' 9529 AWK='$AWK' 9530 test -n "\$AWK" || AWK=awk 9531 _ACEOF 9532 9533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9534 # The default lists apply if the user does not specify any file. 9535 ac_need_defaults=: 9536 while test $# != 0 9537 do 9538 case $1 in 9539 --*=*) 9540 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9541 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9542 ac_shift=: 9543 ;; 9544 *) 9545 ac_option=$1 9546 ac_optarg=$2 9547 ac_shift=shift 9548 ;; 9549 esac 9550 9551 case $ac_option in 9552 # Handling of the options. 9553 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 9554 ac_cs_recheck=: ;; 9555 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9556 $as_echo "$ac_cs_version"; exit ;; 9557 --debug | --debu | --deb | --de | --d | -d ) 9558 debug=: ;; 9559 --file | --fil | --fi | --f ) 9560 $ac_shift 9561 case $ac_optarg in 9562 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9563 esac 9564 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 9565 ac_need_defaults=false;; 9566 --header | --heade | --head | --hea ) 9567 $ac_shift 9568 case $ac_optarg in 9569 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9570 esac 9571 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 9572 ac_need_defaults=false;; 9573 --he | --h) 9574 # Conflict between --help and --header 9575 { $as_echo "$as_me: error: ambiguous option: $1 9576 Try \`$0 --help' for more information." >&2 9577 { (exit 1); exit 1; }; };; 9578 --help | --hel | -h ) 9579 $as_echo "$ac_cs_usage"; exit ;; 9580 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9581 | -silent | --silent | --silen | --sile | --sil | --si | --s) 9582 ac_cs_silent=: ;; 9583 9584 # This is an error. 9585 -*) { $as_echo "$as_me: error: unrecognized option: $1 9586 Try \`$0 --help' for more information." >&2 9587 { (exit 1); exit 1; }; } ;; 9588 9589 *) ac_config_targets="$ac_config_targets $1" 9590 ac_need_defaults=false ;; 9591 9592 esac 9593 shift 9594 done 9595 9596 ac_configure_extra_args= 9597 9598 if $ac_cs_silent; then 9599 exec 6>/dev/null 9600 ac_configure_extra_args="$ac_configure_extra_args --silent" 9601 fi 9602 9603 _ACEOF 9604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9605 if \$ac_cs_recheck; then 9606 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9607 shift 9608 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 9609 CONFIG_SHELL='$SHELL' 9610 export CONFIG_SHELL 9611 exec "\$@" 9612 fi 9613 9614 _ACEOF 9615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8231 9616 exec 5>>config.log 8232 9617 { … … 8235 9620 ## Running $as_me. ## 8236 9621 _ASBOX 9622 $as_echo "$ac_log" 8237 9623 } >&5 8238 cat >&5 <<_CSEOF 8239 8240 This file was extended by $as_me, which was 8241 generated by GNU Autoconf 2.59. Invocation command line was 8242 8243 CONFIG_FILES = $CONFIG_FILES 8244 CONFIG_HEADERS = $CONFIG_HEADERS 8245 CONFIG_LINKS = $CONFIG_LINKS 8246 CONFIG_COMMANDS = $CONFIG_COMMANDS 8247 $ $0 $@ 8248 8249 _CSEOF 8250 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 8251 echo >&5 8252 _ACEOF 8253 8254 # Files that config.status was made for. 8255 if test -n "$ac_config_files"; then 8256 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 8257 fi 8258 8259 if test -n "$ac_config_headers"; then 8260 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 8261 fi 8262 8263 if test -n "$ac_config_links"; then 8264 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 8265 fi 8266 8267 if test -n "$ac_config_commands"; then 8268 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 8269 fi 8270 8271 cat >>$CONFIG_STATUS <<\_ACEOF 8272 8273 ac_cs_usage="\ 8274 \`$as_me' instantiates files from templates according to the 8275 current configuration. 8276 8277 Usage: $0 [OPTIONS] [FILE]... 8278 8279 -h, --help print this help, then exit 8280 -V, --version print version number, then exit 8281 -q, --quiet do not print progress messages 8282 -d, --debug don't remove temporary files 8283 --recheck update $as_me by reconfiguring in the same conditions 8284 --file=FILE[:TEMPLATE] 8285 instantiate the configuration file FILE 8286 --header=FILE[:TEMPLATE] 8287 instantiate the configuration header FILE 8288 8289 Configuration files: 8290 $config_files 8291 8292 Configuration headers: 8293 $config_headers 8294 8295 Report bugs to <[email protected]>." 8296 _ACEOF 8297 8298 cat >>$CONFIG_STATUS <<_ACEOF 8299 ac_cs_version="\\ 8300 config.status 8301 configured by $0, generated by GNU Autoconf 2.59, 8302 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 8303 8304 Copyright (C) 2003 Free Software Foundation, Inc. 8305 This config.status script is free software; the Free Software Foundation 8306 gives unlimited permission to copy, distribute and modify it." 8307 srcdir=$srcdir 8308 INSTALL="$INSTALL" 8309 _ACEOF 8310 8311 cat >>$CONFIG_STATUS <<\_ACEOF 8312 # If no file are specified by the user, then we need to provide default 8313 # value. By we need to know if files were specified by the user. 8314 ac_need_defaults=: 8315 while test $# != 0 8316 do 8317 case $1 in 8318 --*=*) 8319 ac_option=`expr "x$1" : 'x\([^=]*\)='` 8320 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 8321 ac_shift=: 8322 ;; 8323 -*) 8324 ac_option=$1 8325 ac_optarg=$2 8326 ac_shift=shift 8327 ;; 8328 *) # This is not an option, so the user has probably given explicit 8329 # arguments. 8330 ac_option=$1 8331 ac_need_defaults=false;; 8332 esac 8333 8334 case $ac_option in 8335 # Handling of the options. 8336 _ACEOF 8337 cat >>$CONFIG_STATUS <<\_ACEOF 8338 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8339 ac_cs_recheck=: ;; 8340 --version | --vers* | -V ) 8341 echo "$ac_cs_version"; exit 0 ;; 8342 --he | --h) 8343 # Conflict between --help and --header 8344 { { echo "$as_me:$LINENO: error: ambiguous option: $1 8345 Try \`$0 --help' for more information." >&5 8346 echo "$as_me: error: ambiguous option: $1 8347 Try \`$0 --help' for more information." >&2;} 8348 { (exit 1); exit 1; }; };; 8349 --help | --hel | -h ) 8350 echo "$ac_cs_usage"; exit 0 ;; 8351 --debug | --d* | -d ) 8352 debug=: ;; 8353 --file | --fil | --fi | --f ) 8354 $ac_shift 8355 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 8356 ac_need_defaults=false;; 8357 --header | --heade | --head | --hea ) 8358 $ac_shift 8359 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 8360 ac_need_defaults=false;; 8361 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8362 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8363 ac_cs_silent=: ;; 8364 8365 # This is an error. 8366 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 8367 Try \`$0 --help' for more information." >&5 8368 echo "$as_me: error: unrecognized option: $1 8369 Try \`$0 --help' for more information." >&2;} 8370 { (exit 1); exit 1; }; } ;; 8371 8372 *) ac_config_targets="$ac_config_targets $1" ;; 8373 8374 esac 8375 shift 8376 done 8377 8378 ac_configure_extra_args= 8379 8380 if $ac_cs_silent; then 8381 exec 6>/dev/null 8382 ac_configure_extra_args="$ac_configure_extra_args --silent" 8383 fi 8384 8385 _ACEOF 8386 cat >>$CONFIG_STATUS <<_ACEOF 8387 if \$ac_cs_recheck; then 8388 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8389 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8390 fi 8391 8392 _ACEOF 8393 8394 8395 8396 8397 8398 cat >>$CONFIG_STATUS <<\_ACEOF 9624 9625 _ACEOF 9626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9627 _ACEOF 9628 9629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9630 9631 # Handling of arguments. 8399 9632 for ac_config_target in $ac_config_targets 8400 9633 do 8401 case "$ac_config_target"in8402 # Handling of arguments.8403 "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;8404 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;8405 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;8406 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;8407 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 8408 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&58409 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}9634 case $ac_config_target in 9635 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 9636 "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;; 9637 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 9638 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;; 9639 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 9640 9641 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 9642 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 8410 9643 { (exit 1); exit 1; }; };; 8411 9644 esac 8412 9645 done 9646 8413 9647 8414 9648 # If the user did not use the arguments to specify the items to instantiate, … … 8422 9656 8423 9657 # Have a temporary directory for convenience. Make it in the build tree 8424 # simply because there is no reason to putit here, and in addition,9658 # simply because there is no reason against having it here, and in addition, 8425 9659 # creating and moving files from /tmp can sometimes cause problems. 8426 # Create a temporary directory, and hook for its removal unless debugging. 9660 # Hook for its removal unless debugging. 9661 # Note that there is a small window in which the directory will not be cleaned: 9662 # after its creation but before its name has been assigned to `$tmp'. 8427 9663 $debug || 8428 9664 { 8429 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 9665 tmp= 9666 trap 'exit_status=$? 9667 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9668 ' 0 8430 9669 trap '{ (exit 1); exit 1; }' 1 2 13 15 8431 9670 } 8432 8433 9671 # Create a (secure) tmp directory for tmp files. 8434 9672 8435 9673 { 8436 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&9674 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8437 9675 test -n "$tmp" && test -d "$tmp" 8438 9676 } || 8439 9677 { 8440 tmp=./conf stat$$-$RANDOM8441 (umask 077 && mkdir $tmp)9678 tmp=./conf$$-$RANDOM 9679 (umask 077 && mkdir "$tmp") 8442 9680 } || 8443 9681 { 8444 echo "$me: cannot create a temporary directory in ." >&29682 $as_echo "$as_me: cannot create a temporary directory in ." >&2 8445 9683 { (exit 1); exit 1; } 8446 9684 } 8447 9685 8448 _ACEOF 8449 8450 cat >>$CONFIG_STATUS <<_ACEOF 8451 8452 # 8453 # CONFIG_FILES section. 8454 # 8455 8456 # No need to generate the scripts if there are no CONFIG_FILES. 8457 # This happens for instance when ./config.status config.h 8458 if test -n "\$CONFIG_FILES"; then 8459 # Protect against being on the right side of a sed subst in config.status. 8460 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 8461 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 8462 s,@SHELL@,$SHELL,;t t 8463 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 8464 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 8465 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 8466 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 8467 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 8468 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 8469 s,@exec_prefix@,$exec_prefix,;t t 8470 s,@prefix@,$prefix,;t t 8471 s,@program_transform_name@,$program_transform_name,;t t 8472 s,@bindir@,$bindir,;t t 8473 s,@sbindir@,$sbindir,;t t 8474 s,@libexecdir@,$libexecdir,;t t 8475 s,@datadir@,$datadir,;t t 8476 s,@sysconfdir@,$sysconfdir,;t t 8477 s,@sharedstatedir@,$sharedstatedir,;t t 8478 s,@localstatedir@,$localstatedir,;t t 8479 s,@libdir@,$libdir,;t t 8480 s,@includedir@,$includedir,;t t 8481 s,@oldincludedir@,$oldincludedir,;t t 8482 s,@infodir@,$infodir,;t t 8483 s,@mandir@,$mandir,;t t 8484 s,@build_alias@,$build_alias,;t t 8485 s,@host_alias@,$host_alias,;t t 8486 s,@target_alias@,$target_alias,;t t 8487 s,@DEFS@,$DEFS,;t t 8488 s,@ECHO_C@,$ECHO_C,;t t 8489 s,@ECHO_N@,$ECHO_N,;t t 8490 s,@ECHO_T@,$ECHO_T,;t t 8491 s,@LIBS@,$LIBS,;t t 8492 s,@PACKAGE@,$PACKAGE,;t t 8493 s,@VERSION@,$VERSION,;t t 8494 s,@USE_FASTCGI@,$USE_FASTCGI,;t t 8495 s,@USE_LANGACTION@,$USE_LANGACTION,;t t 8496 s,@USE_CORBA@,$USE_CORBA,;t t 8497 s,@MICO_DIR@,$MICO_DIR,;t t 8498 s,@USE_Z3950@,$USE_Z3950,;t t 8499 s,@USE_YAZ@,$USE_YAZ,;t t 8500 s,@ENABLE_JAVA@,$ENABLE_JAVA,;t t 8501 s,@USE_JDBM@,$USE_JDBM,;t t 8502 s,@USE_GDBM@,$USE_GDBM,;t t 8503 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 8504 s,@USE_SQLITE@,$USE_SQLITE,;t t 8505 s,@ENABLE_JNI@,$ENABLE_JNI,;t t 8506 s,@ENABLE_MG@,$ENABLE_MG,;t t 8507 s,@ENABLE_MGPP@,$ENABLE_MGPP,;t t 8508 s,@ENABLE_LUCENE@,$ENABLE_LUCENE,;t t 8509 s,@LDFLAGS@,$LDFLAGS,;t t 8510 s,@CFLAGS@,$CFLAGS,;t t 8511 s,@CC@,$CC,;t t 8512 s,@CPPFLAGS@,$CPPFLAGS,;t t 8513 s,@ac_ct_CC@,$ac_ct_CC,;t t 8514 s,@EXEEXT@,$EXEEXT,;t t 8515 s,@OBJEXT@,$OBJEXT,;t t 8516 s,@CXX@,$CXX,;t t 8517 s,@CXXFLAGS@,$CXXFLAGS,;t t 8518 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 8519 s,@JAVA@,$JAVA,;t t 8520 s,@uudecode@,$uudecode,;t t 8521 s,@JAVAC@,$JAVAC,;t t 8522 s,@JAVACFLAGS@,$JAVACFLAGS,;t t 8523 s,@AWK@,$AWK,;t t 8524 s,@YACC@,$YACC,;t t 8525 s,@build@,$build,;t t 8526 s,@build_cpu@,$build_cpu,;t t 8527 s,@build_vendor@,$build_vendor,;t t 8528 s,@build_os@,$build_os,;t t 8529 s,@host@,$host,;t t 8530 s,@host_cpu@,$host_cpu,;t t 8531 s,@host_vendor@,$host_vendor,;t t 8532 s,@host_os@,$host_os,;t t 8533 s,@target@,$target,;t t 8534 s,@target_cpu@,$target_cpu,;t t 8535 s,@target_vendor@,$target_vendor,;t t 8536 s,@target_os@,$target_os,;t t 8537 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 8538 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 8539 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 8540 s,@LN_S@,$LN_S,;t t 8541 s,@SET_MAKE@,$SET_MAKE,;t t 8542 s,@RANLIB@,$RANLIB,;t t 8543 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 8544 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 8545 s,@MICO_VER@,$MICO_VER,;t t 8546 s,@CPP@,$CPP,;t t 8547 s,@EGREP@,$EGREP,;t t 8548 s,@U@,$U,;t t 8549 s,@ANSI2KNR@,$ANSI2KNR,;t t 8550 s,@ALLOCA@,$ALLOCA,;t t 8551 s,@LIBOBJS@,$LIBOBJS,;t t 8552 s,@STATIC@,$STATIC,;t t 8553 s,@gsdlos@,$gsdlos,;t t 8554 s,@gsdlarch@,$gsdlarch,;t t 8555 s,@MODULEDIRS@,$MODULEDIRS,;t t 8556 s,@subdirs@,$subdirs,;t t 8557 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 8558 CEOF 8559 8560 _ACEOF 8561 8562 cat >>$CONFIG_STATUS <<\_ACEOF 8563 # Split the substitutions into bite-sized pieces for seds with 8564 # small command number limits, like on Digital OSF/1 and HP-UX. 8565 ac_max_sed_lines=48 8566 ac_sed_frag=1 # Number of current file. 8567 ac_beg=1 # First line for current file. 8568 ac_end=$ac_max_sed_lines # Line after last line for current file. 8569 ac_more_lines=: 8570 ac_sed_cmds= 8571 while $ac_more_lines; do 8572 if test $ac_beg -gt 1; then 8573 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8574 else 8575 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 9686 # Set up the scripts for CONFIG_FILES section. 9687 # No need to generate them if there are no CONFIG_FILES. 9688 # This happens for instance with `./config.status config.h'. 9689 if test -n "$CONFIG_FILES"; then 9690 9691 9692 ac_cr=' 9693 ' 9694 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 9695 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 9696 ac_cs_awk_cr='\\r' 9697 else 9698 ac_cs_awk_cr=$ac_cr 9699 fi 9700 9701 echo 'BEGIN {' >"$tmp/subs1.awk" && 9702 _ACEOF 9703 9704 9705 { 9706 echo "cat >conf$$subs.awk <<_ACEOF" && 9707 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 9708 echo "_ACEOF" 9709 } >conf$$subs.sh || 9710 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9711 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9712 { (exit 1); exit 1; }; } 9713 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 9714 ac_delim='%!_!# ' 9715 for ac_last_try in false false false false false :; do 9716 . ./conf$$subs.sh || 9717 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9718 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9719 { (exit 1); exit 1; }; } 9720 9721 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 9722 if test $ac_delim_n = $ac_delim_num; then 9723 break 9724 elif $ac_last_try; then 9725 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9726 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9727 { (exit 1); exit 1; }; } 9728 else 9729 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9730 fi 9731 done 9732 rm -f conf$$subs.sh 9733 9734 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9735 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 9736 _ACEOF 9737 sed -n ' 9738 h 9739 s/^/S["/; s/!.*/"]=/ 9740 p 9741 g 9742 s/^[^!]*!// 9743 :repl 9744 t repl 9745 s/'"$ac_delim"'$// 9746 t delim 9747 :nl 9748 h 9749 s/\(.\{148\}\).*/\1/ 9750 t more1 9751 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 9752 p 9753 n 9754 b repl 9755 :more1 9756 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9757 p 9758 g 9759 s/.\{148\}// 9760 t nl 9761 :delim 9762 h 9763 s/\(.\{148\}\).*/\1/ 9764 t more2 9765 s/["\\]/\\&/g; s/^/"/; s/$/"/ 9766 p 9767 b 9768 :more2 9769 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9770 p 9771 g 9772 s/.\{148\}// 9773 t delim 9774 ' <conf$$subs.awk | sed ' 9775 /^[^""]/{ 9776 N 9777 s/\n// 9778 } 9779 ' >>$CONFIG_STATUS || ac_write_fail=1 9780 rm -f conf$$subs.awk 9781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9782 _ACAWK 9783 cat >>"\$tmp/subs1.awk" <<_ACAWK && 9784 for (key in S) S_is_set[key] = 1 9785 FS = "" 9786 9787 } 9788 { 9789 line = $ 0 9790 nfields = split(line, field, "@") 9791 substed = 0 9792 len = length(field[1]) 9793 for (i = 2; i < nfields; i++) { 9794 key = field[i] 9795 keylen = length(key) 9796 if (S_is_set[key]) { 9797 value = S[key] 9798 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 9799 len += length(value) + length(field[++i]) 9800 substed = 1 9801 } else 9802 len += 1 + keylen 9803 } 9804 9805 print line 9806 } 9807 9808 _ACAWK 9809 _ACEOF 9810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9811 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9812 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 9813 else 9814 cat 9815 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 9816 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 9817 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 9818 { (exit 1); exit 1; }; } 9819 _ACEOF 9820 9821 # VPATH may cause trouble with some makes, so we remove $(srcdir), 9822 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9823 # trailing colons and then remove the whole line if VPATH becomes empty 9824 # (actually we leave an empty line to preserve line numbers). 9825 if test "x$srcdir" = x.; then 9826 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 9827 s/:*\$(srcdir):*/:/ 9828 s/:*\${srcdir}:*/:/ 9829 s/:*@srcdir@:*/:/ 9830 s/^\([^=]*=[ ]*\):*/\1/ 9831 s/:*$// 9832 s/^[^=]*=[ ]*$// 9833 }' 9834 fi 9835 9836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9837 fi # test -n "$CONFIG_FILES" 9838 9839 # Set up the scripts for CONFIG_HEADERS section. 9840 # No need to generate them if there are no CONFIG_HEADERS. 9841 # This happens for instance with `./config.status Makefile'. 9842 if test -n "$CONFIG_HEADERS"; then 9843 cat >"$tmp/defines.awk" <<\_ACAWK || 9844 BEGIN { 9845 _ACEOF 9846 9847 # Transform confdefs.h into an awk script `defines.awk', embedded as 9848 # here-document in config.status, that substitutes the proper values into 9849 # config.h.in to produce config.h. 9850 9851 # Create a delimiter string that does not exist in confdefs.h, to ease 9852 # handling of long lines. 9853 ac_delim='%!_!# ' 9854 for ac_last_try in false false :; do 9855 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 9856 if test -z "$ac_t"; then 9857 break 9858 elif $ac_last_try; then 9859 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 9860 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 9861 { (exit 1); exit 1; }; } 9862 else 9863 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9864 fi 9865 done 9866 9867 # For the awk script, D is an array of macro values keyed by name, 9868 # likewise P contains macro parameters if any. Preserve backslash 9869 # newline sequences. 9870 9871 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 9872 sed -n ' 9873 s/.\{148\}/&'"$ac_delim"'/g 9874 t rset 9875 :rset 9876 s/^[ ]*#[ ]*define[ ][ ]*/ / 9877 t def 9878 d 9879 :def 9880 s/\\$// 9881 t bsnl 9882 s/["\\]/\\&/g 9883 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9884 D["\1"]=" \3"/p 9885 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 9886 d 9887 :bsnl 9888 s/["\\]/\\&/g 9889 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9890 D["\1"]=" \3\\\\\\n"\\/p 9891 t cont 9892 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 9893 t cont 9894 d 9895 :cont 9896 n 9897 s/.\{148\}/&'"$ac_delim"'/g 9898 t clear 9899 :clear 9900 s/\\$// 9901 t bsnlc 9902 s/["\\]/\\&/g; s/^/"/; s/$/"/p 9903 d 9904 :bsnlc 9905 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 9906 b cont 9907 ' <confdefs.h | sed ' 9908 s/'"$ac_delim"'/"\\\ 9909 "/g' >>$CONFIG_STATUS || ac_write_fail=1 9910 9911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9912 for (key in D) D_is_set[key] = 1 9913 FS = "" 9914 } 9915 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 9916 line = \$ 0 9917 split(line, arg, " ") 9918 if (arg[1] == "#") { 9919 defundef = arg[2] 9920 mac1 = arg[3] 9921 } else { 9922 defundef = substr(arg[1], 2) 9923 mac1 = arg[2] 9924 } 9925 split(mac1, mac2, "(") #) 9926 macro = mac2[1] 9927 prefix = substr(line, 1, index(line, defundef) - 1) 9928 if (D_is_set[macro]) { 9929 # Preserve the white space surrounding the "#". 9930 print prefix "define", macro P[macro] D[macro] 9931 next 9932 } else { 9933 # Replace #undef with comments. This is necessary, for example, 9934 # in the case of _POSIX_SOURCE, which is predefined and required 9935 # on some systems where configure will not decide to define it. 9936 if (defundef == "undef") { 9937 print "/*", prefix defundef, macro, "*/" 9938 next 9939 } 9940 } 9941 } 9942 { print } 9943 _ACAWK 9944 _ACEOF 9945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9946 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 9947 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 9948 { (exit 1); exit 1; }; } 9949 fi # test -n "$CONFIG_HEADERS" 9950 9951 9952 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 9953 shift 9954 for ac_tag 9955 do 9956 case $ac_tag in 9957 :[FHLC]) ac_mode=$ac_tag; continue;; 9958 esac 9959 case $ac_mode$ac_tag in 9960 :[FHL]*:*);; 9961 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 9962 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 9963 { (exit 1); exit 1; }; };; 9964 :[FH]-) ac_tag=-:-;; 9965 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9966 esac 9967 ac_save_IFS=$IFS 9968 IFS=: 9969 set x $ac_tag 9970 IFS=$ac_save_IFS 9971 shift 9972 ac_file=$1 9973 shift 9974 9975 case $ac_mode in 9976 :L) ac_source=$1;; 9977 :[FH]) 9978 ac_file_inputs= 9979 for ac_f 9980 do 9981 case $ac_f in 9982 -) ac_f="$tmp/stdin";; 9983 *) # Look for the file first in the build tree, then in the source tree 9984 # (if the path is not absolute). The absolute path cannot be DOS-style, 9985 # because $ac_f cannot contain `:'. 9986 test -f "$ac_f" || 9987 case $ac_f in 9988 [\\/$]*) false;; 9989 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9990 esac || 9991 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 9992 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 9993 { (exit 1); exit 1; }; };; 9994 esac 9995 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9996 ac_file_inputs="$ac_file_inputs '$ac_f'" 9997 done 9998 9999 # Let's still pretend it is `configure' which instantiates (i.e., don't 10000 # use $as_me), people would be surprised to read: 10001 # /* config.h. Generated by config.status. */ 10002 configure_input='Generated from '` 10003 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 10004 `' by configure.' 10005 if test x"$ac_file" != x-; then 10006 configure_input="$ac_file. $configure_input" 10007 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 10008 $as_echo "$as_me: creating $ac_file" >&6;} 8576 10009 fi 8577 if test ! -s $tmp/subs.frag; then 8578 ac_more_lines=false 8579 else 8580 # The purpose of the label and of the branching condition is to 8581 # speed up the sed processing (if there are no `@' at all, there 8582 # is no need to browse any of the substitutions). 8583 # These are the two extra sed commands mentioned above. 8584 (echo ':t 8585 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 8586 if test -z "$ac_sed_cmds"; then 8587 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 8588 else 8589 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 8590 fi 8591 ac_sed_frag=`expr $ac_sed_frag + 1` 8592 ac_beg=$ac_end 8593 ac_end=`expr $ac_end + $ac_max_sed_lines` 8594 fi 8595 done 8596 if test -z "$ac_sed_cmds"; then 8597 ac_sed_cmds=cat 8598 fi 8599 fi # test -n "$CONFIG_FILES" 8600 8601 _ACEOF 8602 cat >>$CONFIG_STATUS <<\_ACEOF 8603 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 8604 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8605 case $ac_file in 8606 - | *:- | *:-:* ) # input from stdin 8607 cat >$tmp/stdin 8608 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8609 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8610 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8611 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8612 * ) ac_file_in=$ac_file.in ;; 10010 # Neutralize special characters interpreted by sed in replacement strings. 10011 case $configure_input in #( 10012 *\&* | *\|* | *\\* ) 10013 ac_sed_conf_input=`$as_echo "$configure_input" | 10014 sed 's/[\\\\&|]/\\\\&/g'`;; #( 10015 *) ac_sed_conf_input=$configure_input;; 10016 esac 10017 10018 case $ac_tag in 10019 *:-:* | *:-) cat >"$tmp/stdin" \ 10020 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10021 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10022 { (exit 1); exit 1; }; } ;; 10023 esac 10024 ;; 8613 10025 esac 8614 10026 8615 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 8616 ac_dir=`(dirname "$ac_file") 2>/dev/null || 10027 ac_dir=`$as_dirname -- "$ac_file" || 8617 10028 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8618 10029 X"$ac_file" : 'X\(//\)[^/]' \| \ 8619 10030 X"$ac_file" : 'X\(//\)$' \| \ 8620 X"$ac_file" : 'X\(/\)' \| \ 8621 . : '\(.\)' 2>/dev/null || 8622 echo X"$ac_file" | 8623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8624 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8625 /^X\(\/\/\)$/{ s//\1/; q; } 8626 /^X\(\/\).*/{ s//\1/; q; } 8627 s/.*/./; q'` 8628 { if $as_mkdir_p; then 8629 mkdir -p "$ac_dir" 8630 else 8631 as_dir="$ac_dir" 10031 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 10032 $as_echo X"$ac_file" | 10033 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10034 s//\1/ 10035 q 10036 } 10037 /^X\(\/\/\)[^/].*/{ 10038 s//\1/ 10039 q 10040 } 10041 /^X\(\/\/\)$/{ 10042 s//\1/ 10043 q 10044 } 10045 /^X\(\/\).*/{ 10046 s//\1/ 10047 q 10048 } 10049 s/.*/./; q'` 10050 { as_dir="$ac_dir" 10051 case $as_dir in #( 10052 -*) as_dir=./$as_dir;; 10053 esac 10054 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 8632 10055 as_dirs= 8633 while test ! -d "$as_dir"; do 8634 as_dirs="$as_dir $as_dirs" 8635 as_dir=`(dirname "$as_dir") 2>/dev/null || 10056 while :; do 10057 case $as_dir in #( 10058 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10059 *) as_qdir=$as_dir;; 10060 esac 10061 as_dirs="'$as_qdir' $as_dirs" 10062 as_dir=`$as_dirname -- "$as_dir" || 8636 10063 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8637 10064 X"$as_dir" : 'X\(//\)[^/]' \| \ 8638 10065 X"$as_dir" : 'X\(//\)$' \| \ 8639 X"$as_dir" : 'X\(/\)' \| \ 8640 . : '\(.\)' 2>/dev/null || 8641 echo X"$as_dir" | 8642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8643 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8644 /^X\(\/\/\)$/{ s//\1/; q; } 8645 /^X\(\/\).*/{ s//\1/; q; } 8646 s/.*/./; q'` 10066 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10067 $as_echo X"$as_dir" | 10068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10069 s//\1/ 10070 q 10071 } 10072 /^X\(\/\/\)[^/].*/{ 10073 s//\1/ 10074 q 10075 } 10076 /^X\(\/\/\)$/{ 10077 s//\1/ 10078 q 10079 } 10080 /^X\(\/\).*/{ 10081 s//\1/ 10082 q 10083 } 10084 s/.*/./; q'` 10085 test -d "$as_dir" && break 8647 10086 done 8648 test ! -n "$as_dirs" || mkdir $as_dirs8649 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&58650 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}10087 test -z "$as_dirs" || eval "mkdir $as_dirs" 10088 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10089 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 8651 10090 { (exit 1); exit 1; }; }; } 8652 8653 10091 ac_builddir=. 8654 10092 8655 if test "$ac_dir" != .; then 8656 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8657 # A "../" for each directory in $ac_dir_suffix. 8658 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8659 else 8660 ac_dir_suffix= ac_top_builddir= 8661 fi 10093 case "$ac_dir" in 10094 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10095 *) 10096 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 10097 # A ".." for each directory in $ac_dir_suffix. 10098 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 10099 case $ac_top_builddir_sub in 10100 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 10101 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 10102 esac ;; 10103 esac 10104 ac_abs_top_builddir=$ac_pwd 10105 ac_abs_builddir=$ac_pwd$ac_dir_suffix 10106 # for backward compatibility: 10107 ac_top_builddir=$ac_top_build_prefix 8662 10108 8663 10109 case $srcdir in 8664 .) # No --srcdir option.We are building in place.10110 .) # We are building in place. 8665 10111 ac_srcdir=. 8666 if test -z "$ac_top_builddir"; then 8667 ac_top_srcdir=. 8668 else 8669 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8670 fi ;; 8671 [\\/]* | ?:[\\/]* ) # Absolute path. 10112 ac_top_srcdir=$ac_top_builddir_sub 10113 ac_abs_top_srcdir=$ac_pwd ;; 10114 [\\/]* | ?:[\\/]* ) # Absolute name. 8672 10115 ac_srcdir=$srcdir$ac_dir_suffix; 8673 ac_top_srcdir=$srcdir ;; 8674 *) # Relative path. 8675 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8676 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8677 esac 8678 8679 # Do not use `cd foo && pwd` to compute absolute paths, because 8680 # the directories may not exist. 8681 case `pwd` in 8682 .) ac_abs_builddir="$ac_dir";; 8683 *) 8684 case "$ac_dir" in 8685 .) ac_abs_builddir=`pwd`;; 8686 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8687 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8688 esac;; 8689 esac 8690 case $ac_abs_builddir in 8691 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8692 *) 8693 case ${ac_top_builddir}. in 8694 .) ac_abs_top_builddir=$ac_abs_builddir;; 8695 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8696 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8697 esac;; 8698 esac 8699 case $ac_abs_builddir in 8700 .) ac_abs_srcdir=$ac_srcdir;; 8701 *) 8702 case $ac_srcdir in 8703 .) ac_abs_srcdir=$ac_abs_builddir;; 8704 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8705 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8706 esac;; 8707 esac 8708 case $ac_abs_builddir in 8709 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8710 *) 8711 case $ac_top_srcdir in 8712 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8713 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8714 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8715 esac;; 8716 esac 8717 10116 ac_top_srcdir=$srcdir 10117 ac_abs_top_srcdir=$srcdir ;; 10118 *) # Relative name. 10119 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 10120 ac_top_srcdir=$ac_top_build_prefix$srcdir 10121 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 10122 esac 10123 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 10124 10125 10126 case $ac_mode in 10127 :F) 10128 # 10129 # CONFIG_FILE 10130 # 8718 10131 8719 10132 case $INSTALL in 8720 10133 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 8721 *) ac_INSTALL=$ac_top_build dir$INSTALL ;;10134 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 8722 10135 esac 8723 8724 if test x"$ac_file" != x-; then 8725 { echo "$as_me:$LINENO: creating $ac_file" >&5 8726 echo "$as_me: creating $ac_file" >&6;} 8727 rm -f "$ac_file" 8728 fi 8729 # Let's still pretend it is `configure' which instantiates (i.e., don't 8730 # use $as_me), people would be surprised to read: 8731 # /* config.h. Generated by config.status. */ 8732 if test x"$ac_file" = x-; then 8733 configure_input= 8734 else 8735 configure_input="$ac_file. " 8736 fi 8737 configure_input=$configure_input"Generated from `echo $ac_file_in | 8738 sed 's,.*/,,'` by configure." 8739 8740 # First look for the input files in the build tree, otherwise in the 8741 # src tree. 8742 ac_file_inputs=`IFS=: 8743 for f in $ac_file_in; do 8744 case $f in 8745 -) echo $tmp/stdin ;; 8746 [\\/$]*) 8747 # Absolute (can't be DOS-style, as IFS=:) 8748 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8749 echo "$as_me: error: cannot find input file: $f" >&2;} 8750 { (exit 1); exit 1; }; } 8751 echo "$f";; 8752 *) # Relative 8753 if test -f "$f"; then 8754 # Build tree 8755 echo "$f" 8756 elif test -f "$srcdir/$f"; then 8757 # Source tree 8758 echo "$srcdir/$f" 8759 else 8760 # /dev/null tree 8761 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8762 echo "$as_me: error: cannot find input file: $f" >&2;} 8763 { (exit 1); exit 1; }; } 8764 fi;; 8765 esac 8766 done` || { (exit 1); exit 1; } 8767 _ACEOF 8768 cat >>$CONFIG_STATUS <<_ACEOF 8769 sed "$ac_vpsub 10136 _ACEOF 10137 10138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10139 # If the template does not know about datarootdir, expand it. 10140 # FIXME: This hack should be removed a few years after 2.60. 10141 ac_datarootdir_hack=; ac_datarootdir_seen= 10142 10143 ac_sed_dataroot=' 10144 /datarootdir/ { 10145 p 10146 q 10147 } 10148 /@datadir@/p 10149 /@docdir@/p 10150 /@infodir@/p 10151 /@localedir@/p 10152 /@mandir@/p 10153 ' 10154 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 10155 *datarootdir*) ac_datarootdir_seen=yes;; 10156 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 10157 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10158 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10159 _ACEOF 10160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10161 ac_datarootdir_hack=' 10162 s&@datadir@&$datadir&g 10163 s&@docdir@&$docdir&g 10164 s&@infodir@&$infodir&g 10165 s&@localedir@&$localedir&g 10166 s&@mandir@&$mandir&g 10167 s&\\\${datarootdir}&$datarootdir&g' ;; 10168 esac 10169 _ACEOF 10170 10171 # Neutralize VPATH when `$srcdir' = `.'. 10172 # Shell code in configure.ac might set extrasub. 10173 # FIXME: do we really want to maintain this feature? 10174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10175 ac_sed_extra="$ac_vpsub 8770 10176 $extrasub 8771 10177 _ACEOF 8772 cat >>$CONFIG_STATUS <<\_ACEOF 10178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8773 10179 :t 8774 10180 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8775 s,@configure_input@,$configure_input,;t t 8776 s,@srcdir@,$ac_srcdir,;t t 8777 s,@abs_srcdir@,$ac_abs_srcdir,;t t 8778 s,@top_srcdir@,$ac_top_srcdir,;t t 8779 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 8780 s,@builddir@,$ac_builddir,;t t 8781 s,@abs_builddir@,$ac_abs_builddir,;t t 8782 s,@top_builddir@,$ac_top_builddir,;t t 8783 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 8784 s,@INSTALL@,$ac_INSTALL,;t t 8785 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 8786 rm -f $tmp/stdin 10181 s|@configure_input@|$ac_sed_conf_input|;t t 10182 s&@top_builddir@&$ac_top_builddir_sub&;t t 10183 s&@top_build_prefix@&$ac_top_build_prefix&;t t 10184 s&@srcdir@&$ac_srcdir&;t t 10185 s&@abs_srcdir@&$ac_abs_srcdir&;t t 10186 s&@top_srcdir@&$ac_top_srcdir&;t t 10187 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 10188 s&@builddir@&$ac_builddir&;t t 10189 s&@abs_builddir@&$ac_abs_builddir&;t t 10190 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 10191 s&@INSTALL@&$ac_INSTALL&;t t 10192 $ac_datarootdir_hack 10193 " 10194 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 10195 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10196 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10197 { (exit 1); exit 1; }; } 10198 10199 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 10200 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 10201 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 10202 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10203 which seems to be undefined. Please make sure it is defined." >&5 10204 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10205 which seems to be undefined. Please make sure it is defined." >&2;} 10206 10207 rm -f "$tmp/stdin" 10208 case $ac_file in 10209 -) cat "$tmp/out" && rm -f "$tmp/out";; 10210 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 10211 esac \ 10212 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10213 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10214 { (exit 1); exit 1; }; } 10215 ;; 10216 :H) 10217 # 10218 # CONFIG_HEADER 10219 # 8787 10220 if test x"$ac_file" != x-; then 8788 mv $tmp/out $ac_file 8789 else 8790 cat $tmp/out 8791 rm -f $tmp/out 8792 fi 8793 8794 done 8795 _ACEOF 8796 cat >>$CONFIG_STATUS <<\_ACEOF 8797 8798 # 8799 # CONFIG_HEADER section. 8800 # 8801 8802 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 8803 # NAME is the cpp macro being defined and VALUE is the value it is being given. 8804 # 8805 # ac_d sets the value in "#define NAME VALUE" lines. 8806 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 8807 ac_dB='[ ].*$,\1#\2' 8808 ac_dC=' ' 8809 ac_dD=',;t' 8810 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 8811 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 8812 ac_uB='$,\1#\2define\3' 8813 ac_uC=' ' 8814 ac_uD=',;t' 8815 8816 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 8817 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8818 case $ac_file in 8819 - | *:- | *:-:* ) # input from stdin 8820 cat >$tmp/stdin 8821 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8822 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8823 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8824 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8825 * ) ac_file_in=$ac_file.in ;; 8826 esac 8827 8828 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 8829 echo "$as_me: creating $ac_file" >&6;} 8830 8831 # First look for the input files in the build tree, otherwise in the 8832 # src tree. 8833 ac_file_inputs=`IFS=: 8834 for f in $ac_file_in; do 8835 case $f in 8836 -) echo $tmp/stdin ;; 8837 [\\/$]*) 8838 # Absolute (can't be DOS-style, as IFS=:) 8839 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8840 echo "$as_me: error: cannot find input file: $f" >&2;} 10221 { 10222 $as_echo "/* $configure_input */" \ 10223 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 10224 } >"$tmp/config.h" \ 10225 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10226 $as_echo "$as_me: error: could not create $ac_file" >&2;} 8841 10227 { (exit 1); exit 1; }; } 8842 # Do quote $f, to prevent DOS paths from being IFS'd. 8843 echo "$f";; 8844 *) # Relative 8845 if test -f "$f"; then 8846 # Build tree 8847 echo "$f" 8848 elif test -f "$srcdir/$f"; then 8849 # Source tree 8850 echo "$srcdir/$f" 8851 else 8852 # /dev/null tree 8853 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8854 echo "$as_me: error: cannot find input file: $f" >&2;} 10228 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 10229 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 10230 $as_echo "$as_me: $ac_file is unchanged" >&6;} 10231 else 10232 rm -f "$ac_file" 10233 mv "$tmp/config.h" "$ac_file" \ 10234 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10235 $as_echo "$as_me: error: could not create $ac_file" >&2;} 8855 10236 { (exit 1); exit 1; }; } 8856 fi;;8857 esac8858 done` || { (exit 1); exit 1; }8859 # Remove the trailing spaces.8860 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in8861 8862 _ACEOF8863 8864 # Transform confdefs.h into two sed scripts, `conftest.defines' and8865 # `conftest.undefs', that substitutes the proper values into8866 # config.h.in to produce config.h. The first handles `#define'8867 # templates, and the second `#undef' templates.8868 # And first: Protect against being on the right side of a sed subst in8869 # config.status. Protect against being in an unquoted here document8870 # in config.status.8871 rm -f conftest.defines conftest.undefs8872 # Using a here document instead of a string reduces the quoting nightmare.8873 # Putting comments in sed scripts is not portable.8874 #8875 # `end' is used to avoid that the second main sed command (meant for8876 # 0-ary CPP macros) applies to n-ary macro definitions.8877 # See the Autoconf documentation for `clear'.8878 cat >confdef2sed.sed <<\_ACEOF8879 s/[\\&,]/\\&/g8880 s,[\\$`],\\&,g8881 t clear8882 : clear8883 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp8884 t end8885 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp8886 : end8887 _ACEOF8888 # If some macros were called several times there might be several times8889 # the same #defines, which is useless. Nevertheless, we may not want to8890 # sort them, since we want the *last* AC-DEFINE to be honored.8891 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines8892 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs8893 rm -f confdef2sed.sed8894 8895 # This sed command replaces #undef with comments. This is necessary, for8896 # example, in the case of _POSIX_SOURCE, which is predefined and required8897 # on some systems where configure will not decide to define it.8898 cat >>conftest.undefs <<\_ACEOF8899 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,8900 _ACEOF8901 8902 # Break up conftest.defines because some shells have a limit on the size8903 # of here documents, and old seds have small limits too (100 cmds).8904 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS8905 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS8906 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS8907 echo ' :' >>$CONFIG_STATUS8908 rm -f conftest.tail8909 while grep . conftest.defines >/dev/null8910 do8911 # Write a limited-size here document to $tmp/defines.sed.8912 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS8913 # Speed up: don't consider the non `#define' lines.8914 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS8915 # Work around the forget-to-reset-the-flag bug.8916 echo 't clr' >>$CONFIG_STATUS8917 echo ': clr' >>$CONFIG_STATUS8918 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS8919 echo 'CEOF8920 sed -f $tmp/defines.sed $tmp/in >$tmp/out8921 rm -f $tmp/in8922 mv $tmp/out $tmp/in8923 ' >>$CONFIG_STATUS8924 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail8925 rm -f conftest.defines8926 mv conftest.tail conftest.defines8927 done8928 rm -f conftest.defines8929 echo ' fi # grep' >>$CONFIG_STATUS8930 echo >>$CONFIG_STATUS8931 8932 # Break up conftest.undefs because some shells have a limit on the size8933 # of here documents, and old seds have small limits too (100 cmds).8934 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS8935 rm -f conftest.tail8936 while grep . conftest.undefs >/dev/null8937 do8938 # Write a limited-size here document to $tmp/undefs.sed.8939 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS8940 # Speed up: don't consider the non `#undef'8941 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS8942 # Work around the forget-to-reset-the-flag bug.8943 echo 't clr' >>$CONFIG_STATUS8944 echo ': clr' >>$CONFIG_STATUS8945 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS8946 echo 'CEOF8947 sed -f $tmp/undefs.sed $tmp/in >$tmp/out8948 rm -f $tmp/in8949 mv $tmp/out $tmp/in8950 ' >>$CONFIG_STATUS8951 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail8952 rm -f conftest.undefs8953 mv conftest.tail conftest.undefs8954 done8955 rm -f conftest.undefs8956 8957 cat >>$CONFIG_STATUS <<\_ACEOF8958 # Let's still pretend it is `configure' which instantiates (i.e., don't8959 # use $as_me), people would be surprised to read:8960 # /* config.h. Generated by config.status. */8961 if test x"$ac_file" = x-; then8962 echo "/* Generated by configure. */" >$tmp/config.h8963 else8964 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h8965 fi8966 cat $tmp/in >>$tmp/config.h8967 rm -f $tmp/in8968 if test x"$ac_file" != x-; then8969 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then8970 { echo "$as_me:$LINENO: $ac_file is unchanged" >&58971 echo "$as_me: $ac_file is unchanged" >&6;}8972 else8973 ac_dir=`(dirname "$ac_file") 2>/dev/null ||8974 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \8975 X"$ac_file" : 'X\(//\)[^/]' \| \8976 X"$ac_file" : 'X\(//\)$' \| \8977 X"$ac_file" : 'X\(/\)' \| \8978 . : '\(.\)' 2>/dev/null ||8979 echo X"$ac_file" |8980 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }8981 /^X\(\/\/\)[^/].*/{ s//\1/; q; }8982 /^X\(\/\/\)$/{ s//\1/; q; }8983 /^X\(\/\).*/{ s//\1/; q; }8984 s/.*/./; q'`8985 { if $as_mkdir_p; then8986 mkdir -p "$ac_dir"8987 else8988 as_dir="$ac_dir"8989 as_dirs=8990 while test ! -d "$as_dir"; do8991 as_dirs="$as_dir $as_dirs"8992 as_dir=`(dirname "$as_dir") 2>/dev/null ||8993 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \8994 X"$as_dir" : 'X\(//\)[^/]' \| \8995 X"$as_dir" : 'X\(//\)$' \| \8996 X"$as_dir" : 'X\(/\)' \| \8997 . : '\(.\)' 2>/dev/null ||8998 echo X"$as_dir" |8999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }9000 /^X\(\/\/\)[^/].*/{ s//\1/; q; }9001 /^X\(\/\/\)$/{ s//\1/; q; }9002 /^X\(\/\).*/{ s//\1/; q; }9003 s/.*/./; q'`9004 done9005 test ! -n "$as_dirs" || mkdir $as_dirs9006 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&59007 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}9008 { (exit 1); exit 1; }; }; }9009 9010 rm -f $ac_file9011 mv $tmp/config.h $ac_file9012 10237 fi 9013 10238 else 9014 cat $tmp/config.h 9015 rm -f $tmp/config.h 10239 $as_echo "/* $configure_input */" \ 10240 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 10241 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 10242 $as_echo "$as_me: error: could not create -" >&2;} 10243 { (exit 1); exit 1; }; } 9016 10244 fi 9017 done 9018 _ACEOF 9019 9020 cat >>$CONFIG_STATUS <<\_ACEOF 10245 ;; 10246 10247 10248 esac 10249 10250 done # for ac_tag 10251 9021 10252 9022 10253 { (exit 0); exit 0; } … … 9024 10255 chmod +x $CONFIG_STATUS 9025 10256 ac_clean_files=$ac_clean_files_save 10257 10258 test $ac_write_fail = 0 || 10259 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 10260 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 10261 { (exit 1); exit 1; }; } 9026 10262 9027 10263 … … 9052 10288 if test "$no_recursion" != yes; then 9053 10289 9054 # Remove --cache-file and --srcdir arguments so they do not pile up. 10290 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 10291 # so they do not pile up. 9055 10292 ac_sub_configure_args= 9056 10293 ac_prev= 9057 for ac_arg in $ac_configure_args; do 10294 eval "set x $ac_configure_args" 10295 shift 10296 for ac_arg 10297 do 9058 10298 if test -n "$ac_prev"; then 9059 10299 ac_prev= … … 9078 10318 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 9079 10319 ;; 9080 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; 10320 --disable-option-checking) 10321 ;; 10322 *) 10323 case $ac_arg in 10324 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 10325 esac 10326 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; 9081 10327 esac 9082 10328 done … … 9084 10330 # Always prepend --prefix to ensure using the same prefix 9085 10331 # in subdir configurations. 9086 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" 10332 ac_arg="--prefix=$prefix" 10333 case $ac_arg in 10334 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 10335 esac 10336 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 10337 10338 # Pass --silent 10339 if test "$silent" = yes; then 10340 ac_sub_configure_args="--silent $ac_sub_configure_args" 10341 fi 10342 10343 # Always prepend --disable-option-checking to silence warnings, since 10344 # different subdirs can have different --enable and --with options. 10345 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 9087 10346 9088 10347 ac_popdir=`pwd` … … 9091 10350 # Do not complain, so a configure script can configure whichever 9092 10351 # parts of a large source tree are present. 9093 test -d $srcdir/$ac_dir || continue 9094 9095 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 9096 echo "$as_me: configuring in $ac_dir" >&6;} 9097 { if $as_mkdir_p; then 9098 mkdir -p "$ac_dir" 9099 else 9100 as_dir="$ac_dir" 10352 test -d "$srcdir/$ac_dir" || continue 10353 10354 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 10355 $as_echo "$as_me:$LINENO: $ac_msg" >&5 10356 $as_echo "$ac_msg" >&6 10357 { as_dir="$ac_dir" 10358 case $as_dir in #( 10359 -*) as_dir=./$as_dir;; 10360 esac 10361 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 9101 10362 as_dirs= 9102 while test ! -d "$as_dir"; do 9103 as_dirs="$as_dir $as_dirs" 9104 as_dir=`(dirname "$as_dir") 2>/dev/null || 10363 while :; do 10364 case $as_dir in #( 10365 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10366 *) as_qdir=$as_dir;; 10367 esac 10368 as_dirs="'$as_qdir' $as_dirs" 10369 as_dir=`$as_dirname -- "$as_dir" || 9105 10370 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9106 10371 X"$as_dir" : 'X\(//\)[^/]' \| \ 9107 10372 X"$as_dir" : 'X\(//\)$' \| \ 9108 X"$as_dir" : 'X\(/\)' \| \ 9109 . : '\(.\)' 2>/dev/null || 9110 echo X"$as_dir" | 9111 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9112 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9113 /^X\(\/\/\)$/{ s//\1/; q; } 9114 /^X\(\/\).*/{ s//\1/; q; } 9115 s/.*/./; q'` 10373 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10374 $as_echo X"$as_dir" | 10375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10376 s//\1/ 10377 q 10378 } 10379 /^X\(\/\/\)[^/].*/{ 10380 s//\1/ 10381 q 10382 } 10383 /^X\(\/\/\)$/{ 10384 s//\1/ 10385 q 10386 } 10387 /^X\(\/\).*/{ 10388 s//\1/ 10389 q 10390 } 10391 s/.*/./; q'` 10392 test -d "$as_dir" && break 9116 10393 done 9117 test ! -n "$as_dirs" || mkdir $as_dirs9118 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&59119 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}10394 test -z "$as_dirs" || eval "mkdir $as_dirs" 10395 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10396 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 9120 10397 { (exit 1); exit 1; }; }; } 9121 9122 10398 ac_builddir=. 9123 10399 9124 if test "$ac_dir" != .; then 9125 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 9126 # A "../" for each directory in $ac_dir_suffix. 9127 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 9128 else 9129 ac_dir_suffix= ac_top_builddir= 9130 fi 10400 case "$ac_dir" in 10401 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10402 *) 10403 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 10404 # A ".." for each directory in $ac_dir_suffix. 10405 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 10406 case $ac_top_builddir_sub in 10407 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 10408 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 10409 esac ;; 10410 esac 10411 ac_abs_top_builddir=$ac_pwd 10412 ac_abs_builddir=$ac_pwd$ac_dir_suffix 10413 # for backward compatibility: 10414 ac_top_builddir=$ac_top_build_prefix 9131 10415 9132 10416 case $srcdir in 9133 .) # No --srcdir option.We are building in place.10417 .) # We are building in place. 9134 10418 ac_srcdir=. 9135 if test -z "$ac_top_builddir"; then 9136 ac_top_srcdir=. 10419 ac_top_srcdir=$ac_top_builddir_sub 10420 ac_abs_top_srcdir=$ac_pwd ;; 10421 [\\/]* | ?:[\\/]* ) # Absolute name. 10422 ac_srcdir=$srcdir$ac_dir_suffix; 10423 ac_top_srcdir=$srcdir 10424 ac_abs_top_srcdir=$srcdir ;; 10425 *) # Relative name. 10426 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 10427 ac_top_srcdir=$ac_top_build_prefix$srcdir 10428 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 10429 esac 10430 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 10431 10432 10433 cd "$ac_dir" 10434 10435 # Check for guested configure; otherwise get Cygnus style configure. 10436 if test -f "$ac_srcdir/configure.gnu"; then 10437 ac_sub_configure=$ac_srcdir/configure.gnu 10438 elif test -f "$ac_srcdir/configure"; then 10439 ac_sub_configure=$ac_srcdir/configure 10440 elif test -f "$ac_srcdir/configure.in"; then 10441 # This should be Cygnus configure. 10442 ac_sub_configure=$ac_aux_dir/configure 9137 10443 else 9138 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 9139 fi ;; 9140 [\\/]* | ?:[\\/]* ) # Absolute path. 9141 ac_srcdir=$srcdir$ac_dir_suffix; 9142 ac_top_srcdir=$srcdir ;; 9143 *) # Relative path. 9144 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 9145 ac_top_srcdir=$ac_top_builddir$srcdir ;; 9146 esac 9147 9148 # Do not use `cd foo && pwd` to compute absolute paths, because 9149 # the directories may not exist. 9150 case `pwd` in 9151 .) ac_abs_builddir="$ac_dir";; 9152 *) 9153 case "$ac_dir" in 9154 .) ac_abs_builddir=`pwd`;; 9155 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 9156 *) ac_abs_builddir=`pwd`/"$ac_dir";; 9157 esac;; 9158 esac 9159 case $ac_abs_builddir in 9160 .) ac_abs_top_builddir=${ac_top_builddir}.;; 9161 *) 9162 case ${ac_top_builddir}. in 9163 .) ac_abs_top_builddir=$ac_abs_builddir;; 9164 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 9165 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 9166 esac;; 9167 esac 9168 case $ac_abs_builddir in 9169 .) ac_abs_srcdir=$ac_srcdir;; 9170 *) 9171 case $ac_srcdir in 9172 .) ac_abs_srcdir=$ac_abs_builddir;; 9173 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 9174 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 9175 esac;; 9176 esac 9177 case $ac_abs_builddir in 9178 .) ac_abs_top_srcdir=$ac_top_srcdir;; 9179 *) 9180 case $ac_top_srcdir in 9181 .) ac_abs_top_srcdir=$ac_abs_builddir;; 9182 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 9183 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 9184 esac;; 9185 esac 9186 9187 9188 cd $ac_dir 9189 9190 # Check for guested configure; otherwise get Cygnus style configure. 9191 if test -f $ac_srcdir/configure.gnu; then 9192 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" 9193 elif test -f $ac_srcdir/configure; then 9194 ac_sub_configure="$SHELL '$ac_srcdir/configure'" 9195 elif test -f $ac_srcdir/configure.in; then 9196 ac_sub_configure=$ac_configure 9197 else 9198 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 9199 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 10444 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 10445 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 9200 10446 ac_sub_configure= 9201 10447 fi … … 9206 10452 case $cache_file in 9207 10453 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 9208 *) # Relative path.9209 ac_sub_cache_file=$ac_top_build dir$cache_file ;;10454 *) # Relative name. 10455 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; 9210 10456 esac 9211 10457 9212 { echo "$as_me:$LINENO: running$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&59213 echo "$as_me: running$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}10458 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 10459 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 9214 10460 # The eval makes quoting arguments work. 9215 eval $ac_sub_configure$ac_sub_configure_args \9216 --cache-file= $ac_sub_cache_file --srcdir=$ac_srcdir||9217 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&59218 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}10461 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 10462 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 10463 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 10464 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 9219 10465 { (exit 1); exit 1; }; } 9220 10466 fi 9221 10467 9222 cd $ac_popdir10468 cd "$ac_popdir" 9223 10469 done 9224 10470 fi 9225 9226 9227 10471 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 10472 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 10473 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 10474 fi 10475 10476 10477 -
main/trunk/greenstone2/common-src/configure.in
r24901 r25149 224 224 if test "$arch_64bit" = yes; then 225 225 AC_MSG_RESULT(yes) 226 if test -z "$ COMPAT32BITFLAGS" ; then227 COMPAT32BITFLAGS="-m32"226 if test -z "$ARCH_DEP_FLAGS" ; then 227 ARCH_DEP_FLAGS="-fPIC" 228 228 gsdlarch='64' 229 229 fi 230 230 else 231 231 AC_MSG_RESULT(no) 232 if test -z "$ COMPAT32BITFLAGS" ; then233 COMPAT32BITFLAGS=232 if test -z "$ARCH_DEP_FLAGS" ; then 233 ARCH_DEP_FLAGS= 234 234 gsdlarch='32' 235 235 fi 236 236 fi 237 237 238 # Only need compat32bitflag if using MG or MGPP 239 if test "$ENABLE_MG" = "0" ; then 240 COMPAT32BITFLAGS= 241 else 242 if test "$ENABLE_MGPP" = "0" ; then 243 COMPAT32BITFLAGS= 244 fi 245 fi 246 247 export COMPAT32BITFLAGS 248 AC_SUBST(COMPAT32BITFLAGS) 238 export ARCH_DEP_FLAGS 239 AC_SUBST(ARCH_DEP_FLAGS) 249 240 250 241 -
main/trunk/greenstone2/common-src/packages/configure
r24075 r25149 155 155 fi 156 156 157 #Configure and compile 32-bitexpat158 echo CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --with-pic --prefix=$PACKAGES/expat --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT159 CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --with-pic --prefix=$PACKAGES/expat --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT160 161 echo CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make $ENVIRONMENT162 CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make $ENVIRONMENT163 164 echo CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make install $ENVIRONMENT165 CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make install $ENVIRONMENT157 #Configure and compile expat 158 echo CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" ./configure $CACHE_FILE --disable-shared --with-pic --prefix=$PACKAGES/expat --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT 159 CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" ./configure $CACHE_FILE --disable-shared --with-pic --prefix=$PACKAGES/expat --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT 160 161 echo CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" make $ENVIRONMENT 162 CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" make $ENVIRONMENT 163 164 echo CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" make install $ENVIRONMENT 165 CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" make install $ENVIRONMENT 166 166 167 167 echo make distclean && \ 168 168 make distclean 169 170 if test ! -z "$COMPAT32BITFLAGS" ; then171 echo "Generating native 64-bit version of expat"172 #Configure and compile 64-bit expat173 echo ./configure $CACHE_FILE --disable-shared --with-pic --prefix=$PACKAGES/expat --bindir="$bindir" --libdir="$PACKAGES/expat/lib64" $HOSTTARGETFLAGS $ENVIRONMENT174 ./configure $CACHE_FILE --disable-shared --with-pic --prefix=$PACKAGES/expat --bindir="$bindir" --libdir="$PACKAGES/expat/lib64" $HOSTTARGETFLAGS $ENVIRONMENT175 176 echo make $ENVIRONMENT177 make $ENVIRONMENT178 179 echo make install $ENVIRONMENT180 make install $ENVIRONMENT181 182 echo make distclean && \183 make distclean184 fi185 169 186 170 # configure and compile libiconv during configuration stage … … 204 188 205 189 # configure 206 echo CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT207 CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT190 echo CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT 191 CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT 208 192 else 209 193 if test ! -d libiconv-1.11 ; then … … 218 202 219 203 # configure 220 echo CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT221 CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT204 echo CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" ./configure $CACHE_FILE --disable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT 205 CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" ./configure $CACHE_FILE --disable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT 222 206 fi 223 207 224 208 # make 225 echo CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make $ENVIRONMENT226 CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make $ENVIRONMENT209 echo CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" make $ENVIRONMENT 210 CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" make $ENVIRONMENT 227 211 228 212 # make install 229 echo CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make install $ENVIRONMENT 230 CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make install $ENVIRONMENT 231 232 if test ! -z "$COMPAT32BITFLAGS" ; then 233 echo "Generating native 64-bit version of iconv" 234 # used in apache web server, for example 235 236 # distclean 237 echo make distclean && \ 238 make distclean 239 240 # configure 241 echo ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT 242 ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" --libdir="$PACKAGES/iconv/lib64" $HOSTTARGETFLAGS $ENVIRONMENT 243 244 # make 245 echo make $ENVIRONMENT 246 make $ENVIRONMENT 247 248 # make install 249 echo make install $ENVIRONMENT 250 make install $ENVIRONMENT 251 fi 213 echo CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" make install $ENVIRONMENT 214 CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" make install $ENVIRONMENT 252 215 253 216 echo make distclean && \ 254 217 make distclean 255 218 256 #./configure $CACHE_FILE --prefix="$PACKAGES/iconv" --disable-shared $HOSTTARGETFLAGS&&257 #make && make install258 259 219 260 220 # configure GDBM … … 266 226 cd "$PACKAGES/gdbm" 267 227 268 echo CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --prefix=$PACKAGES/gdbm $HOSTTARGETFLAGS $ENVIRONMENT228 echo CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" ./configure $CACHE_FILE --disable-shared --prefix=$PACKAGES/gdbm $HOSTTARGETFLAGS $ENVIRONMENT 269 229 270 230 cd "$PACKAGES/gdbm/gdbm-1.8.3" && \ 271 CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --prefix=$PACKAGES/gdbm $HOSTTARGETFLAGS $ENVIRONMENT231 CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" ./configure $CACHE_FILE --disable-shared --prefix=$PACKAGES/gdbm $HOSTTARGETFLAGS $ENVIRONMENT 272 232 else 273 233 echo " GDBM support disabled." … … 321 281 fi 322 282 323 echo CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --prefix="$PACKAGES/sqlite" --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT283 echo CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" ./configure $CACHE_FILE --prefix="$PACKAGES/sqlite" --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT 324 284 325 285 cd "$PACKAGES/sqlite/sqlite-autoconf-3070602" && \ 326 CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --prefix="$PACKAGES/sqlite" --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT286 CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" ./configure $CACHE_FILE --prefix="$PACKAGES/sqlite" --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT 327 287 else 328 288 echo "SQLite support disabled." … … 337 297 cd "$PACKAGES/search4j" 338 298 339 #echo CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure --bindir="$GSDLHOME/bin/$GSDLOS" $CACHE_FILE $HOSTTARGETFLAGS $ENVIRONMENT299 #echo CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" ./configure --bindir="$GSDLHOME/bin/$GSDLOS" $CACHE_FILE $HOSTTARGETFLAGS $ENVIRONMENT 340 300 echo ./configure --bindir="$GSDLHOME/bin/$GSDLOS" $CACHE_FILE $HOSTTARGETFLAGS $ENVIRONMENT 341 301 342 302 cd "$PACKAGES/search4j" && \ 343 303 ./configure --bindir="$GSDLHOME/bin/$GSDLOS" $CACHE_FILE $HOSTTARGETFLAGS $ENVIRONMENT 344 # CFLAGS="$CFLAGS $ COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure --bindir="$GSDLHOME/bin/$GSDLOS" $CACHE_FILE $HOSTTARGETFLAGS $ENVIRONMENT304 # CFLAGS="$CFLAGS $ARCH_DEP_FLAGS" CXXFLAGS="$CXXFLAGS $ARCH_DEP_FLAGS" LDFLAGS="$LDFLAGS $ARCH_DEP_FLAGS" ./configure --bindir="$GSDLHOME/bin/$GSDLOS" $CACHE_FILE $HOSTTARGETFLAGS $ENVIRONMENT -
main/trunk/greenstone2/common-src/packages/gdbm/gdbm-1.8.3/Makefile.in
r22259 r25149 27 27 LIBS = @LIBS@ -lc 28 28 29 CFLAGS = @CFLAGS@ @ COMPAT32BITFLAGS@30 LDFLAGS = @LDFLAGS@ @ COMPAT32BITFLAGS@29 CFLAGS = @CFLAGS@ @ARCH_DEP_FLAGS@ 30 LDFLAGS = @LDFLAGS@ @ARCH_DEP_FLAGS@ 31 31 32 32 ifeq ($(GSDLOS), "windows") -
main/trunk/greenstone2/common-src/packages/gdbm/gdbm-1.8.3/configure
r21432 r25149 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59for gdbm 1.8.3.3 # Generated by GNU Autoconf 2.63 for gdbm 1.8.3. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 6 7 # This configure script is free software; the Free Software Foundation 7 8 # gives unlimited permission to copy, distribute and modify it. … … 10 11 ## --------------------- ## 11 12 12 # Be Bourne compatible 13 # Be more Bourne compatible 14 DUALCASE=1; export DUALCASE # for MKS sh 13 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 16 emulate sh 15 17 NULLCMD=: 16 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17 19 # is contrary to our usage. Disable this feature. 18 20 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 21 setopt NO_GLOB_SUBST 22 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 79 33 # Avoid depending upon Character Ranges. 80 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 84 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 39 40 as_nl=' 41 ' 42 export as_nl 43 # Printing a long string crashes Solaris 7 /usr/bin/printf. 44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50 else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70 fi 71 86 72 # The user is always right. 87 73 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79 fi 80 81 # Support unset when possible. 82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 83 as_unset=unset 84 else 85 as_unset=false 86 fi 87 88 89 # IFS 90 # We need space, tab and new line, in precisely that order. Quoting is 91 # there to prevent editors from complaining about space-tab. 92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 93 # splitting by setting IFS to empty value.) 94 IFS=" "" $as_nl" 95 96 # Find who we are. Look in the path if we contain no directory separator. 97 case $0 in 98 *[\\/]* ) as_myself=$0 ;; 99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 100 for as_dir in $PATH 111 101 do … … 114 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 105 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 106 IFS=$as_save_IFS 107 108 ;; 109 esac 110 # We did not find ourselves, most probably we were run as `sh COMMAND' 111 # in which case we are not to be found in the path. 112 if test "x$as_myself" = x; then 113 as_myself=$0 114 fi 115 if test ! -f "$as_myself"; then 116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 117 { (exit 1); exit 1; } 118 fi 119 120 # Work around bugs in pre-3.0 UWIN ksh. 121 for as_var in ENV MAIL MAILPATH 122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 123 done 124 PS1='$ ' 125 PS2='> ' 126 PS4='+ ' 127 128 # NLS nuisances. 129 LC_ALL=C 130 export LC_ALL 131 LANGUAGE=C 132 export LANGUAGE 133 134 # Required to use basename. 135 if expr a : '\(a\)' >/dev/null 2>&1 && 136 test "X`expr 00001 : '.*\(...\)'`" = X001; then 137 as_expr=expr 138 else 139 as_expr=false 140 fi 141 142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 143 as_basename=basename 144 else 145 as_basename=false 146 fi 147 148 149 # Name of the executable. 150 as_me=`$as_basename -- "$0" || 151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 152 X"$0" : 'X\(//\)$' \| \ 153 X"$0" : 'X\(/\)' \| . 2>/dev/null || 154 $as_echo X/"$0" | 155 sed '/^.*\/\([^/][^/]*\)\/*$/{ 156 s//\1/ 157 q 158 } 159 /^X\/\(\/\/\)$/{ 160 s//\1/ 161 q 162 } 163 /^X\/\(\/\).*/{ 164 s//\1/ 165 q 166 } 167 s/.*/./; q'` 168 169 # CDPATH. 170 $as_unset CDPATH 171 172 173 if test "x$CONFIG_SHELL" = x; then 174 if (eval ":") 2>/dev/null; then 175 as_have_required=yes 176 else 177 as_have_required=no 178 fi 179 180 if test $as_have_required = yes && (eval ": 181 (as_func_return () { 182 (exit \$1) 183 } 184 as_func_success () { 185 as_func_return 0 186 } 187 as_func_failure () { 188 as_func_return 1 189 } 190 as_func_ret_success () { 191 return 0 192 } 193 as_func_ret_failure () { 194 return 1 195 } 196 197 exitcode=0 198 if as_func_success; then 199 : 200 else 201 exitcode=1 202 echo as_func_success failed. 203 fi 204 205 if as_func_failure; then 206 exitcode=1 207 echo as_func_failure succeeded. 208 fi 209 210 if as_func_ret_success; then 211 : 212 else 213 exitcode=1 214 echo as_func_ret_success failed. 215 fi 216 217 if as_func_ret_failure; then 218 exitcode=1 219 echo as_func_ret_failure succeeded. 220 fi 221 222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 223 : 224 else 225 exitcode=1 226 echo positional parameters were not saved. 227 fi 228 229 test \$exitcode = 0) || { (exit 1); exit 1; } 230 231 ( 232 as_lineno_1=\$LINENO 233 as_lineno_2=\$LINENO 234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 236 ") 2> /dev/null; then 237 : 238 else 239 as_candidate_shells= 130 240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 133 243 IFS=$as_save_IFS 134 244 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 245 case $as_dir in 137 246 /*) 138 if ("$as_dir/$as_base" -c ' 247 for as_base in sh bash ksh sh5; do 248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 249 done;; 250 esac 251 done 252 IFS=$as_save_IFS 253 254 255 for as_shell in $as_candidate_shells $SHELL; do 256 # Try only shells that exist, to save several forks. 257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 258 { ("$as_shell") 2> /dev/null <<\_ASEOF 259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 260 emulate sh 261 NULLCMD=: 262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 263 # is contrary to our usage. Disable this feature. 264 alias -g '${1+"$@"}'='"$@"' 265 setopt NO_GLOB_SUBST 266 else 267 case `(set -o) 2>/dev/null` in 268 *posix*) set -o posix ;; 269 esac 270 271 fi 272 273 274 : 275 _ASEOF 276 }; then 277 CONFIG_SHELL=$as_shell 278 as_have_required=yes 279 if { "$as_shell" 2> /dev/null <<\_ASEOF 280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 281 emulate sh 282 NULLCMD=: 283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 284 # is contrary to our usage. Disable this feature. 285 alias -g '${1+"$@"}'='"$@"' 286 setopt NO_GLOB_SUBST 287 else 288 case `(set -o) 2>/dev/null` in 289 *posix*) set -o posix ;; 290 esac 291 292 fi 293 294 295 : 296 (as_func_return () { 297 (exit $1) 298 } 299 as_func_success () { 300 as_func_return 0 301 } 302 as_func_failure () { 303 as_func_return 1 304 } 305 as_func_ret_success () { 306 return 0 307 } 308 as_func_ret_failure () { 309 return 1 310 } 311 312 exitcode=0 313 if as_func_success; then 314 : 315 else 316 exitcode=1 317 echo as_func_success failed. 318 fi 319 320 if as_func_failure; then 321 exitcode=1 322 echo as_func_failure succeeded. 323 fi 324 325 if as_func_ret_success; then 326 : 327 else 328 exitcode=1 329 echo as_func_ret_success failed. 330 fi 331 332 if as_func_ret_failure; then 333 exitcode=1 334 echo as_func_ret_failure succeeded. 335 fi 336 337 if ( set x; as_func_ret_success y && test x = "$1" ); then 338 : 339 else 340 exitcode=1 341 echo positional parameters were not saved. 342 fi 343 344 test $exitcode = 0) || { (exit 1); exit 1; } 345 346 ( 139 347 as_lineno_1=$LINENO 140 348 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`142 349 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 351 352 _ASEOF 353 }; then 354 break 355 fi 356 357 fi 358 359 done 360 361 if test "x$CONFIG_SHELL" != x; then 362 for as_var in BASH_ENV ENV 363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 364 done 365 export CONFIG_SHELL 366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 367 fi 368 369 370 if test $as_have_required = no; then 371 echo This script requires a shell more modern than all the 372 echo shells that I found on your system. Please install a 373 echo modern shell, or manually run the script under such a 374 echo shell if you do have one. 375 { (exit 1); exit 1; } 376 fi 377 378 379 fi 380 381 fi 382 383 384 385 (eval "as_func_return () { 386 (exit \$1) 387 } 388 as_func_success () { 389 as_func_return 0 390 } 391 as_func_failure () { 392 as_func_return 1 393 } 394 as_func_ret_success () { 395 return 0 396 } 397 as_func_ret_failure () { 398 return 1 399 } 400 401 exitcode=0 402 if as_func_success; then 403 : 404 else 405 exitcode=1 406 echo as_func_success failed. 407 fi 408 409 if as_func_failure; then 410 exitcode=1 411 echo as_func_failure succeeded. 412 fi 413 414 if as_func_ret_success; then 415 : 416 else 417 exitcode=1 418 echo as_func_ret_success failed. 419 fi 420 421 if as_func_ret_failure; then 422 exitcode=1 423 echo as_func_ret_failure succeeded. 424 fi 425 426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 427 : 428 else 429 exitcode=1 430 echo positional parameters were not saved. 431 fi 432 433 test \$exitcode = 0") || { 434 echo No shell found that supports shell functions. 435 echo Please tell [email protected] about your system, 436 echo including any error possibly output before this message. 437 echo This can help us improve future autoconf versions. 438 echo Configuration will now proceed without shell functions. 439 } 440 441 442 443 as_lineno_1=$LINENO 444 as_lineno_2=$LINENO 445 test "x$as_lineno_1" != "x$as_lineno_2" && 446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 155 447 156 448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 449 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 450 # line-number line after each line using $LINENO; the second 'sed' 451 # does the real work. The second script uses 'N' to pair each 452 # line-number line with the line containing $LINENO, and appends 453 # trailing '-' during substitution so that $LINENO is not a special 454 # case at line end. 162 455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 456 # scripts with optimization help from Paolo Bonzini. Blame Lee 457 # E. McMahon (1931-1989) for sed's syntax. :-) 458 sed -n ' 459 p 460 /[$]LINENO/= 461 ' <$as_myself | 165 462 sed ' 463 s/[$]LINENO.*/&-/ 464 t lineno 465 b 466 :lineno 166 467 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 468 :loop 469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 170 470 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 471 s/-\n.*// 173 472 ' >$as_me.lineno && 174 chmod +x $as_me.lineno||175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2473 chmod +x "$as_me.lineno" || 474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 475 { (exit 1); exit 1; }; } 177 476 178 477 # Don't try to exec as it changes $[0], causing all sort of problems 179 478 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensi ble to this).181 . ./$as_me.lineno479 # original and so on. Autoconf is especially sensitive to this). 480 . "./$as_me.lineno" 182 481 # Exit status is that of the last command. 183 482 exit … … 185 484 186 485 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 487 as_dirname=dirname 488 else 489 as_dirname=false 490 fi 491 492 ECHO_C= ECHO_N= ECHO_T= 493 case `echo -n x` in 494 -n*) 495 case `echo 'x\c'` in 496 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 497 *) ECHO_C='\c';; 498 esac;; 499 *) 500 ECHO_N='-n';; 192 501 esac 193 194 if expr a : '\(a\)' >/dev/null 2>&1; then502 if expr a : '\(a\)' >/dev/null 2>&1 && 503 test "X`expr 00001 : '.*\(...\)'`" = X001; then 195 504 as_expr=expr 196 505 else … … 199 508 200 509 rm -f conf$$ conf$$.exe conf$$.file 201 echo >conf$$.file 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 510 if test -d conf$$.dir; then 511 rm -f conf$$.dir/conf$$.file 512 else 513 rm -f conf$$.dir 514 mkdir conf$$.dir 2>/dev/null 515 fi 516 if (echo >conf$$.file) 2>/dev/null; then 517 if ln -s conf$$.file conf$$ 2>/dev/null; then 518 as_ln_s='ln -s' 519 # ... but there are two gotchas: 520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 522 # In both cases, we have to default to `cp -p'. 523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 524 as_ln_s='cp -p' 525 elif ln conf$$.file conf$$ 2>/dev/null; then 526 as_ln_s=ln 527 else 207 528 as_ln_s='cp -p' 208 else209 as_ln_s='ln -s'210 529 fi 211 elif ln conf$$.file conf$$ 2>/dev/null; then212 as_ln_s=ln213 530 else 214 531 as_ln_s='cp -p' 215 532 fi 216 rm -f conf$$ conf$$.exe conf$$.file 533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 534 rmdir conf$$.dir 2>/dev/null 217 535 218 536 if mkdir -p . 2>/dev/null; then … … 223 541 fi 224 542 225 as_executable_p="test -f" 543 if test -x / >/dev/null 2>&1; then 544 as_test_x='test -x' 545 else 546 if ls -dL / >/dev/null 2>&1; then 547 as_ls_L_option=L 548 else 549 as_ls_L_option= 550 fi 551 as_test_x=' 552 eval sh -c '\'' 553 if test -d "$1"; then 554 test -d "$1/."; 555 else 556 case $1 in 557 -*)set "./$1";; 558 esac; 559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 560 ???[sx]*):;;*)false;;esac;fi 561 '\'' sh 562 ' 563 fi 564 as_executable_p=$as_test_x 226 565 227 566 # Sed expression to map a string onto a valid CPP name. … … 231 570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 232 571 233 234 # IFS235 # We need space, tab and new line, in precisely that order.236 as_nl='237 '238 IFS=" $as_nl"239 240 # CDPATH.241 $as_unset CDPATH242 572 243 573 … … 401 731 402 732 733 exec 7<&0 </dev/null 6>&1 734 403 735 # Name of the host. 404 736 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, … … 406 738 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 407 739 408 exec 6>&1409 410 740 # 411 741 # Initializations. 412 742 # 413 743 ac_default_prefix=/usr/local 744 ac_clean_files= 414 745 ac_config_libobj_dir=. 746 LIBOBJS= 415 747 cross_compiling=no 416 748 subdirs= … … 418 750 MAKEFLAGS= 419 751 SHELL=${CONFIG_SHELL-/bin/sh} 420 421 # Maximum number of lines to put in a shell here document.422 # This variable seems obsolete. It should probably be removed, and423 # only ac_max_sed_lines should be used.424 : ${ac_max_here_lines=38}425 752 426 753 # Identity of this package. … … 435 762 ac_includes_default="\ 436 763 #include <stdio.h> 437 #if HAVE_SYS_TYPES_H764 #ifdef HAVE_SYS_TYPES_H 438 765 # include <sys/types.h> 439 766 #endif 440 #if HAVE_SYS_STAT_H767 #ifdef HAVE_SYS_STAT_H 441 768 # include <sys/stat.h> 442 769 #endif 443 #if STDC_HEADERS770 #ifdef STDC_HEADERS 444 771 # include <stdlib.h> 445 772 # include <stddef.h> 446 773 #else 447 # if HAVE_STDLIB_H774 # ifdef HAVE_STDLIB_H 448 775 # include <stdlib.h> 449 776 # endif 450 777 #endif 451 #if HAVE_STRING_H452 # if ! STDC_HEADERS &&HAVE_MEMORY_H778 #ifdef HAVE_STRING_H 779 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 453 780 # include <memory.h> 454 781 # endif 455 782 # include <string.h> 456 783 #endif 457 #if HAVE_STRINGS_H784 #ifdef HAVE_STRINGS_H 458 785 # include <strings.h> 459 786 #endif 460 #if HAVE_INTTYPES_H787 #ifdef HAVE_INTTYPES_H 461 788 # include <inttypes.h> 462 #else463 # if HAVE_STDINT_H464 # include <stdint.h>465 # endif466 789 #endif 467 #if HAVE_UNISTD_H 790 #ifdef HAVE_STDINT_H 791 # include <stdint.h> 792 #endif 793 #ifdef HAVE_UNISTD_H 468 794 # include <unistd.h> 469 795 #endif" 470 796 471 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP EGREP LIBTOOL COMPAT32BITFLAGS LIBOBJS LTLIBOBJS' 797 ac_subst_vars='LTLIBOBJS 798 LIBOBJS 799 ARCH_DEP_FLAGS 800 LIBTOOL 801 EGREP 802 GREP 803 STRIP 804 RANLIB 805 ECHO 806 LN_S 807 INSTALL_DATA 808 INSTALL_SCRIPT 809 INSTALL_PROGRAM 810 CPP 811 OBJEXT 812 EXEEXT 813 ac_ct_CC 814 CPPFLAGS 815 LDFLAGS 816 CFLAGS 817 CC 818 target_os 819 target_vendor 820 target_cpu 821 target 822 host_os 823 host_vendor 824 host_cpu 825 host 826 build_os 827 build_vendor 828 build_cpu 829 build 830 target_alias 831 host_alias 832 build_alias 833 LIBS 834 ECHO_T 835 ECHO_N 836 ECHO_C 837 DEFS 838 mandir 839 localedir 840 libdir 841 psdir 842 pdfdir 843 dvidir 844 htmldir 845 infodir 846 docdir 847 oldincludedir 848 includedir 849 localstatedir 850 sharedstatedir 851 sysconfdir 852 datadir 853 datarootdir 854 libexecdir 855 sbindir 856 bindir 857 program_transform_name 858 prefix 859 exec_prefix 860 PACKAGE_BUGREPORT 861 PACKAGE_STRING 862 PACKAGE_VERSION 863 PACKAGE_TARNAME 864 PACKAGE_NAME 865 PATH_SEPARATOR 866 SHELL' 472 867 ac_subst_files='' 868 ac_user_opts=' 869 enable_option_checking 870 enable_shared 871 enable_static 872 enable_fast_install 873 with_gnu_ld 874 enable_libtool_lock 875 with_pic 876 ' 877 ac_precious_vars='build_alias 878 host_alias 879 target_alias 880 CC 881 CFLAGS 882 LDFLAGS 883 LIBS 884 CPPFLAGS 885 CPP' 886 473 887 474 888 # Initialize some variables set by options. 475 889 ac_init_help= 476 890 ac_init_version=false 891 ac_unrecognized_opts= 892 ac_unrecognized_sep= 477 893 # The variables have the same names as the options, with 478 894 # dashes changed to underlines. … … 497 913 # by default will actually change. 498 914 # Use braces instead of parens because sh, perl, etc. also accept them. 915 # (The list follows the same order as the GNU Coding Standards.) 499 916 bindir='${exec_prefix}/bin' 500 917 sbindir='${exec_prefix}/sbin' 501 918 libexecdir='${exec_prefix}/libexec' 502 datadir='${prefix}/share' 919 datarootdir='${prefix}/share' 920 datadir='${datarootdir}' 503 921 sysconfdir='${prefix}/etc' 504 922 sharedstatedir='${prefix}/com' 505 923 localstatedir='${prefix}/var' 506 libdir='${exec_prefix}/lib'507 924 includedir='${prefix}/include' 508 925 oldincludedir='/usr/include' 509 infodir='${prefix}/info' 510 mandir='${prefix}/man' 926 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 927 infodir='${datarootdir}/info' 928 htmldir='${docdir}' 929 dvidir='${docdir}' 930 pdfdir='${docdir}' 931 psdir='${docdir}' 932 libdir='${exec_prefix}/lib' 933 localedir='${datarootdir}/locale' 934 mandir='${datarootdir}/man' 511 935 512 936 ac_prev= 937 ac_dashdash= 513 938 for ac_option 514 939 do 515 940 # If the previous option needs an argument, assign it. 516 941 if test -n "$ac_prev"; then 517 eval "$ac_prev=\$ac_option"942 eval $ac_prev=\$ac_option 518 943 ac_prev= 519 944 continue 520 945 fi 521 946 522 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 947 case $ac_option in 948 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 949 *) ac_optarg=yes ;; 950 esac 523 951 524 952 # Accept the important Cygnus configure options, so we can diagnose typos. 525 953 526 case $ac_option in 954 case $ac_dashdash$ac_option in 955 --) 956 ac_dashdash=yes ;; 527 957 528 958 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 546 976 cache_file=config.cache ;; 547 977 548 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)978 -datadir | --datadir | --datadi | --datad) 549 979 ac_prev=datadir ;; 550 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 551 | --da=*) 980 -datadir=* | --datadir=* | --datadi=* | --datad=*) 552 981 datadir=$ac_optarg ;; 553 982 983 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 984 | --dataroo | --dataro | --datar) 985 ac_prev=datarootdir ;; 986 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 987 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 988 datarootdir=$ac_optarg ;; 989 554 990 -disable-* | --disable-*) 555 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`991 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 556 992 # Reject names that are not valid shell variable names. 557 expr "x$ac_ feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 994 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 559 995 { (exit 1); exit 1; }; } 560 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 561 eval "enable_$ac_feature=no" ;; 996 ac_useropt_orig=$ac_useropt 997 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 998 case $ac_user_opts in 999 *" 1000 "enable_$ac_useropt" 1001 "*) ;; 1002 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1003 ac_unrecognized_sep=', ';; 1004 esac 1005 eval enable_$ac_useropt=no ;; 1006 1007 -docdir | --docdir | --docdi | --doc | --do) 1008 ac_prev=docdir ;; 1009 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1010 docdir=$ac_optarg ;; 1011 1012 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1013 ac_prev=dvidir ;; 1014 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1015 dvidir=$ac_optarg ;; 562 1016 563 1017 -enable-* | --enable-*) 564 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`1018 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 565 1019 # Reject names that are not valid shell variable names. 566 expr "x$ac_ feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&567 { echo "$as_me: error: invalid feature name: $ac_feature" >&21020 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1021 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 568 1022 { (exit 1); exit 1; }; } 569 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 570 case $ac_option in 571 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 572 *) ac_optarg=yes ;; 1023 ac_useropt_orig=$ac_useropt 1024 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1025 case $ac_user_opts in 1026 *" 1027 "enable_$ac_useropt" 1028 "*) ;; 1029 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1030 ac_unrecognized_sep=', ';; 573 1031 esac 574 eval "enable_$ac_feature='$ac_optarg'";;1032 eval enable_$ac_useropt=\$ac_optarg ;; 575 1033 576 1034 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 599 1057 host_alias=$ac_optarg ;; 600 1058 1059 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1060 ac_prev=htmldir ;; 1061 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1062 | --ht=*) 1063 htmldir=$ac_optarg ;; 1064 601 1065 -includedir | --includedir | --includedi | --included | --include \ 602 1066 | --includ | --inclu | --incl | --inc) … … 623 1087 libexecdir=$ac_optarg ;; 624 1088 1089 -localedir | --localedir | --localedi | --localed | --locale) 1090 ac_prev=localedir ;; 1091 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1092 localedir=$ac_optarg ;; 1093 625 1094 -localstatedir | --localstatedir | --localstatedi | --localstated \ 626 | --localstate | --localstat | --localsta | --localst \ 627 | --locals | --local | --loca | --loc | --lo) 1095 | --localstate | --localstat | --localsta | --localst | --locals) 628 1096 ac_prev=localstatedir ;; 629 1097 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 630 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 631 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 1098 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 632 1099 localstatedir=$ac_optarg ;; 633 1100 … … 694 1161 program_transform_name=$ac_optarg ;; 695 1162 1163 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1164 ac_prev=pdfdir ;; 1165 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1166 pdfdir=$ac_optarg ;; 1167 1168 -psdir | --psdir | --psdi | --psd | --ps) 1169 ac_prev=psdir ;; 1170 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1171 psdir=$ac_optarg ;; 1172 696 1173 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 697 1174 | -silent | --silent | --silen | --sile | --sil) … … 744 1221 745 1222 -with-* | --with-*) 746 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1223 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 747 1224 # Reject names that are not valid shell variable names. 748 expr "x$ac_ package" : ".*[^-_$as_cr_alnum]" >/dev/null &&749 { echo "$as_me: error: invalid package name: $ac_package" >&21225 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1226 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 750 1227 { (exit 1); exit 1; }; } 751 ac_package=`echo $ac_package| sed 's/-/_/g'` 752 case $ac_option in 753 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 754 *) ac_optarg=yes ;; 1228 ac_useropt_orig=$ac_useropt 1229 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1230 case $ac_user_opts in 1231 *" 1232 "with_$ac_useropt" 1233 "*) ;; 1234 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1235 ac_unrecognized_sep=', ';; 755 1236 esac 756 eval "with_$ac_package='$ac_optarg'";;1237 eval with_$ac_useropt=\$ac_optarg ;; 757 1238 758 1239 -without-* | --without-*) 759 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1240 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 760 1241 # Reject names that are not valid shell variable names. 761 expr "x$ac_ package" : ".*[^-_$as_cr_alnum]" >/dev/null &&762 { echo "$as_me: error: invalid package name: $ac_package" >&21242 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1243 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 763 1244 { (exit 1); exit 1; }; } 764 ac_package=`echo $ac_package | sed 's/-/_/g'` 765 eval "with_$ac_package=no" ;; 1245 ac_useropt_orig=$ac_useropt 1246 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1247 case $ac_user_opts in 1248 *" 1249 "with_$ac_useropt" 1250 "*) ;; 1251 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1252 ac_unrecognized_sep=', ';; 1253 esac 1254 eval with_$ac_useropt=no ;; 766 1255 767 1256 --x) … … 783 1272 x_libraries=$ac_optarg ;; 784 1273 785 -*) { echo "$as_me: error: unrecognized option: $ac_option1274 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 786 1275 Try \`$0 --help' for more information." >&2 787 1276 { (exit 1); exit 1; }; } … … 792 1281 # Reject names that are not valid shell variable names. 793 1282 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 794 { echo "$as_me: error: invalid variable name: $ac_envvar" >&21283 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 795 1284 { (exit 1); exit 1; }; } 796 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 797 eval "$ac_envvar='$ac_optarg'" 1285 eval $ac_envvar=\$ac_optarg 798 1286 export $ac_envvar ;; 799 1287 800 1288 *) 801 1289 # FIXME: should be removed in autoconf 3.0. 802 echo "$as_me: WARNING: you should use --build, --host, --target" >&21290 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 803 1291 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 804 echo "$as_me: WARNING: invalid host type: $ac_option" >&21292 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 805 1293 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 806 1294 ;; … … 811 1299 if test -n "$ac_prev"; then 812 1300 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 813 { echo "$as_me: error: missing argument to $ac_option" >&21301 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 814 1302 { (exit 1); exit 1; }; } 815 1303 fi 816 1304 817 # Be sure to have absolute paths. 818 for ac_var in exec_prefix prefix 1305 if test -n "$ac_unrecognized_opts"; then 1306 case $enable_option_checking in 1307 no) ;; 1308 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1309 { (exit 1); exit 1; }; } ;; 1310 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1311 esac 1312 fi 1313 1314 # Check all directory arguments for consistency. 1315 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1316 datadir sysconfdir sharedstatedir localstatedir includedir \ 1317 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1318 libdir localedir mandir 819 1319 do 820 eval ac_val=$`echo $ac_var` 1320 eval ac_val=\$$ac_var 1321 # Remove trailing slashes. 821 1322 case $ac_val in 822 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;823 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2824 { (exit 1); exit 1; }; };;1323 */ ) 1324 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1325 eval $ac_var=\$ac_val;; 825 1326 esac 826 done 827 828 # Be sure to have absolute paths. 829 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 830 localstatedir libdir includedir oldincludedir infodir mandir 831 do 832 eval ac_val=$`echo $ac_var` 1327 # Be sure to have absolute directory names. 833 1328 case $ac_val in 834 [\\/$]* | ?:[\\/]* ) ;; 835 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 836 { (exit 1); exit 1; }; };; 1329 [\\/$]* | ?:[\\/]* ) continue;; 1330 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 837 1331 esac 1332 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1333 { (exit 1); exit 1; }; } 838 1334 done 839 1335 … … 849 1345 if test "x$build_alias" = x; then 850 1346 cross_compiling=maybe 851 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1347 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 852 1348 If a cross compiler is detected then cross compile mode will be used." >&2 853 1349 elif test "x$build_alias" != "x$host_alias"; then … … 862 1358 863 1359 1360 ac_pwd=`pwd` && test -n "$ac_pwd" && 1361 ac_ls_di=`ls -di .` && 1362 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1363 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1364 { (exit 1); exit 1; }; } 1365 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1366 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1367 { (exit 1); exit 1; }; } 1368 1369 864 1370 # Find the source files, if location was not specified. 865 1371 if test -z "$srcdir"; then 866 1372 ac_srcdir_defaulted=yes 867 # Try the directory containing this script, then its parent. 868 ac_confdir=`(dirname "$0") 2>/dev/null || 869 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 870 X"$0" : 'X\(//\)[^/]' \| \ 871 X"$0" : 'X\(//\)$' \| \ 872 X"$0" : 'X\(/\)' \| \ 873 . : '\(.\)' 2>/dev/null || 874 echo X"$0" | 875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 876 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 877 /^X\(\/\/\)$/{ s//\1/; q; } 878 /^X\(\/\).*/{ s//\1/; q; } 879 s/.*/./; q'` 1373 # Try the directory containing this script, then the parent directory. 1374 ac_confdir=`$as_dirname -- "$as_myself" || 1375 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1376 X"$as_myself" : 'X\(//\)[^/]' \| \ 1377 X"$as_myself" : 'X\(//\)$' \| \ 1378 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1379 $as_echo X"$as_myself" | 1380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1381 s//\1/ 1382 q 1383 } 1384 /^X\(\/\/\)[^/].*/{ 1385 s//\1/ 1386 q 1387 } 1388 /^X\(\/\/\)$/{ 1389 s//\1/ 1390 q 1391 } 1392 /^X\(\/\).*/{ 1393 s//\1/ 1394 q 1395 } 1396 s/.*/./; q'` 880 1397 srcdir=$ac_confdir 881 if test ! -r $srcdir/$ac_unique_file; then1398 if test ! -r "$srcdir/$ac_unique_file"; then 882 1399 srcdir=.. 883 1400 fi … … 885 1402 ac_srcdir_defaulted=no 886 1403 fi 887 if test ! -r $srcdir/$ac_unique_file; then888 if test "$ac_srcdir_defaulted" = yes; then889 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&21404 if test ! -r "$srcdir/$ac_unique_file"; then 1405 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1406 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 890 1407 { (exit 1); exit 1; }; } 891 else 892 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1408 fi 1409 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1410 ac_abs_confdir=`( 1411 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 893 1412 { (exit 1); exit 1; }; } 894 fi 895 fi 896 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 897 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 898 { (exit 1); exit 1; }; } 899 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 900 ac_env_build_alias_set=${build_alias+set} 901 ac_env_build_alias_value=$build_alias 902 ac_cv_env_build_alias_set=${build_alias+set} 903 ac_cv_env_build_alias_value=$build_alias 904 ac_env_host_alias_set=${host_alias+set} 905 ac_env_host_alias_value=$host_alias 906 ac_cv_env_host_alias_set=${host_alias+set} 907 ac_cv_env_host_alias_value=$host_alias 908 ac_env_target_alias_set=${target_alias+set} 909 ac_env_target_alias_value=$target_alias 910 ac_cv_env_target_alias_set=${target_alias+set} 911 ac_cv_env_target_alias_value=$target_alias 912 ac_env_CC_set=${CC+set} 913 ac_env_CC_value=$CC 914 ac_cv_env_CC_set=${CC+set} 915 ac_cv_env_CC_value=$CC 916 ac_env_CFLAGS_set=${CFLAGS+set} 917 ac_env_CFLAGS_value=$CFLAGS 918 ac_cv_env_CFLAGS_set=${CFLAGS+set} 919 ac_cv_env_CFLAGS_value=$CFLAGS 920 ac_env_LDFLAGS_set=${LDFLAGS+set} 921 ac_env_LDFLAGS_value=$LDFLAGS 922 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 923 ac_cv_env_LDFLAGS_value=$LDFLAGS 924 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 925 ac_env_CPPFLAGS_value=$CPPFLAGS 926 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 927 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 928 ac_env_CPP_set=${CPP+set} 929 ac_env_CPP_value=$CPP 930 ac_cv_env_CPP_set=${CPP+set} 931 ac_cv_env_CPP_value=$CPP 1413 pwd)` 1414 # When building in place, set srcdir=. 1415 if test "$ac_abs_confdir" = "$ac_pwd"; then 1416 srcdir=. 1417 fi 1418 # Remove unnecessary trailing slashes from srcdir. 1419 # Double slashes in file names in object file debugging info 1420 # mess up M-x gdb in Emacs. 1421 case $srcdir in 1422 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1423 esac 1424 for ac_var in $ac_precious_vars; do 1425 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1426 eval ac_env_${ac_var}_value=\$${ac_var} 1427 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1428 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1429 done 932 1430 933 1431 # … … 958 1456 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 959 1457 960 _ACEOF961 962 cat <<_ACEOF963 1458 Installation directories: 964 1459 --prefix=PREFIX install architecture-independent files in PREFIX 965 1460 [$ac_default_prefix] 966 1461 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 967 1462 [PREFIX] 968 1463 969 1464 By default, \`make install' will install all the files in … … 975 1470 976 1471 Fine tuning of the installation directories: 977 --bindir=DIR user executables [EPREFIX/bin] 978 --sbindir=DIR system admin executables [EPREFIX/sbin] 979 --libexecdir=DIR program executables [EPREFIX/libexec] 980 --datadir=DIR read-only architecture-independent data [PREFIX/share] 981 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 982 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 983 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 984 --libdir=DIR object code libraries [EPREFIX/lib] 985 --includedir=DIR C header files [PREFIX/include] 986 --oldincludedir=DIR C header files for non-gcc [/usr/include] 987 --infodir=DIR info documentation [PREFIX/info] 988 --mandir=DIR man documentation [PREFIX/man] 1472 --bindir=DIR user executables [EPREFIX/bin] 1473 --sbindir=DIR system admin executables [EPREFIX/sbin] 1474 --libexecdir=DIR program executables [EPREFIX/libexec] 1475 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1476 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1477 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1478 --libdir=DIR object code libraries [EPREFIX/lib] 1479 --includedir=DIR C header files [PREFIX/include] 1480 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1481 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1482 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1483 --infodir=DIR info documentation [DATAROOTDIR/info] 1484 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1485 --mandir=DIR man documentation [DATAROOTDIR/man] 1486 --docdir=DIR documentation root [DATAROOTDIR/doc/gdbm] 1487 --htmldir=DIR html documentation [DOCDIR] 1488 --dvidir=DIR dvi documentation [DOCDIR] 1489 --pdfdir=DIR pdf documentation [DOCDIR] 1490 --psdir=DIR ps documentation [DOCDIR] 989 1491 _ACEOF 990 1492 … … 1005 1507 1006 1508 Optional Features: 1509 --disable-option-checking ignore unrecognized --enable/--with options 1007 1510 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1008 1511 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1023 1526 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1024 1527 nonstandard directory <lib dir> 1025 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 1026 headers in a nonstandard directory <include dir> 1528 LIBS libraries to pass to the linker, e.g. -l<library> 1529 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1530 you have headers in a nonstandard directory <include dir> 1027 1531 CPP C preprocessor 1028 1532 … … 1031 1535 1032 1536 _ACEOF 1537 ac_status=$? 1033 1538 fi 1034 1539 1035 1540 if test "$ac_init_help" = "recursive"; then 1036 1541 # If there are subdirs, report their specific --help. 1037 ac_popdir=`pwd`1038 1542 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1039 test -d $ac_dir || continue 1543 test -d "$ac_dir" || 1544 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1545 continue 1040 1546 ac_builddir=. 1041 1547 1042 if test "$ac_dir" != .; then 1043 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1044 # A "../" for each directory in $ac_dir_suffix. 1045 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 1046 else 1047 ac_dir_suffix= ac_top_builddir= 1048 fi 1548 case "$ac_dir" in 1549 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1550 *) 1551 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1552 # A ".." for each directory in $ac_dir_suffix. 1553 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1554 case $ac_top_builddir_sub in 1555 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1556 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1557 esac ;; 1558 esac 1559 ac_abs_top_builddir=$ac_pwd 1560 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1561 # for backward compatibility: 1562 ac_top_builddir=$ac_top_build_prefix 1049 1563 1050 1564 case $srcdir in 1051 .) # No --srcdir option.We are building in place.1565 .) # We are building in place. 1052 1566 ac_srcdir=. 1053 if test -z "$ac_top_builddir"; then 1054 ac_top_srcdir=. 1567 ac_top_srcdir=$ac_top_builddir_sub 1568 ac_abs_top_srcdir=$ac_pwd ;; 1569 [\\/]* | ?:[\\/]* ) # Absolute name. 1570 ac_srcdir=$srcdir$ac_dir_suffix; 1571 ac_top_srcdir=$srcdir 1572 ac_abs_top_srcdir=$srcdir ;; 1573 *) # Relative name. 1574 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1575 ac_top_srcdir=$ac_top_build_prefix$srcdir 1576 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1577 esac 1578 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1579 1580 cd "$ac_dir" || { ac_status=$?; continue; } 1581 # Check for guested configure. 1582 if test -f "$ac_srcdir/configure.gnu"; then 1583 echo && 1584 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1585 elif test -f "$ac_srcdir/configure"; then 1586 echo && 1587 $SHELL "$ac_srcdir/configure" --help=recursive 1055 1588 else 1056 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 1057 fi ;; 1058 [\\/]* | ?:[\\/]* ) # Absolute path. 1059 ac_srcdir=$srcdir$ac_dir_suffix; 1060 ac_top_srcdir=$srcdir ;; 1061 *) # Relative path. 1062 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 1063 ac_top_srcdir=$ac_top_builddir$srcdir ;; 1064 esac 1065 1066 # Do not use `cd foo && pwd` to compute absolute paths, because 1067 # the directories may not exist. 1068 case `pwd` in 1069 .) ac_abs_builddir="$ac_dir";; 1070 *) 1071 case "$ac_dir" in 1072 .) ac_abs_builddir=`pwd`;; 1073 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 1074 *) ac_abs_builddir=`pwd`/"$ac_dir";; 1075 esac;; 1076 esac 1077 case $ac_abs_builddir in 1078 .) ac_abs_top_builddir=${ac_top_builddir}.;; 1079 *) 1080 case ${ac_top_builddir}. in 1081 .) ac_abs_top_builddir=$ac_abs_builddir;; 1082 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 1083 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 1084 esac;; 1085 esac 1086 case $ac_abs_builddir in 1087 .) ac_abs_srcdir=$ac_srcdir;; 1088 *) 1089 case $ac_srcdir in 1090 .) ac_abs_srcdir=$ac_abs_builddir;; 1091 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 1092 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 1093 esac;; 1094 esac 1095 case $ac_abs_builddir in 1096 .) ac_abs_top_srcdir=$ac_top_srcdir;; 1097 *) 1098 case $ac_top_srcdir in 1099 .) ac_abs_top_srcdir=$ac_abs_builddir;; 1100 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 1101 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 1102 esac;; 1103 esac 1104 1105 cd $ac_dir 1106 # Check for guested configure; otherwise get Cygnus style configure. 1107 if test -f $ac_srcdir/configure.gnu; then 1108 echo 1109 $SHELL $ac_srcdir/configure.gnu --help=recursive 1110 elif test -f $ac_srcdir/configure; then 1111 echo 1112 $SHELL $ac_srcdir/configure --help=recursive 1113 elif test -f $ac_srcdir/configure.ac || 1114 test -f $ac_srcdir/configure.in; then 1115 echo 1116 $ac_configure --help 1117 else 1118 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1119 fi 1120 cd $ac_popdir 1589 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1590 fi || ac_status=$? 1591 cd "$ac_pwd" || { ac_status=$?; break; } 1121 1592 done 1122 1593 fi 1123 1594 1124 test -n "$ac_init_help" && exit 01595 test -n "$ac_init_help" && exit $ac_status 1125 1596 if $ac_init_version; then 1126 1597 cat <<\_ACEOF 1127 1598 gdbm configure 1.8.3 1128 generated by GNU Autoconf 2.59 1129 1130 Copyright (C) 2003 Free Software Foundation, Inc. 1599 generated by GNU Autoconf 2.63 1600 1601 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1602 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1131 1603 This configure script is free software; the Free Software Foundation 1132 1604 gives unlimited permission to copy, distribute and modify it. 1133 1605 _ACEOF 1134 exit 0 1135 fi 1136 exec 5>config.log 1137 cat >&5 <<_ACEOF 1606 exit 1607 fi 1608 cat >config.log <<_ACEOF 1138 1609 This file contains any messages produced by compilers while 1139 1610 running configure, to aid debugging if configure makes a mistake. 1140 1611 1141 1612 It was created by gdbm $as_me 1.8.3, which was 1142 generated by GNU Autoconf 2. 59. Invocation command line was1613 generated by GNU Autoconf 2.63. Invocation command line was 1143 1614 1144 1615 $ $0 $@ 1145 1616 1146 1617 _ACEOF 1618 exec 5>>config.log 1147 1619 { 1148 1620 cat <<_ASUNAME … … 1163 1635 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1164 1636 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1165 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1637 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1166 1638 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1167 1639 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1175 1647 IFS=$as_save_IFS 1176 1648 test -z "$as_dir" && as_dir=. 1177 echo "PATH: $as_dir"1649 $as_echo "PATH: $as_dir" 1178 1650 done 1651 IFS=$as_save_IFS 1179 1652 1180 1653 } >&5 … … 1198 1671 ac_configure_args0= 1199 1672 ac_configure_args1= 1200 ac_sep=1201 1673 ac_must_keep_next=false 1202 1674 for ac_pass in 1 2 … … 1209 1681 | -silent | --silent | --silen | --sile | --sil) 1210 1682 continue ;; 1211 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1212 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1683 *\'*) 1684 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1213 1685 esac 1214 1686 case $ac_pass in … … 1231 1703 esac 1232 1704 fi 1233 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1234 # Get rid of the leading space. 1235 ac_sep=" " 1705 ac_configure_args="$ac_configure_args '$ac_arg'" 1236 1706 ;; 1237 1707 esac … … 1244 1714 # config.log. We remove comments because anyway the quotes in there 1245 1715 # would cause problems or look ugly. 1246 # WARNING: Be sure not to use single quotes in there, as some shells,1247 # such as our DU 5.0 friend, will then `close' the trap.1716 # WARNING: Use '\'' to represent an apostrophe within the trap. 1717 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1248 1718 trap 'exit_status=$? 1249 1719 # Save into config.log some information that might help in debugging. … … 1258 1728 echo 1259 1729 # The following way of writing the cache mishandles newlines in values, 1260 { 1730 ( 1731 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1732 eval ac_val=\$$ac_var 1733 case $ac_val in #( 1734 *${as_nl}*) 1735 case $ac_var in #( 1736 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1737 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1738 esac 1739 case $ac_var in #( 1740 _ | IFS | as_nl) ;; #( 1741 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1742 *) $as_unset $ac_var ;; 1743 esac ;; 1744 esac 1745 done 1261 1746 (set) 2>&1 | 1262 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1263 * ac_space=\ *)1747 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1748 *${as_nl}ac_space=\ *) 1264 1749 sed -n \ 1265 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1266 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1750 "s/'\''/'\''\\\\'\'''\''/g; 1751 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1752 ;; #( 1753 *) 1754 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1267 1755 ;; 1268 *) 1269 sed -n \ 1270 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1271 ;; 1272 esac; 1273 } 1756 esac | 1757 sort 1758 ) 1274 1759 echo 1275 1760 … … 1282 1767 for ac_var in $ac_subst_vars 1283 1768 do 1284 eval ac_val=$`echo $ac_var` 1285 echo "$ac_var='"'"'$ac_val'"'"'" 1769 eval ac_val=\$$ac_var 1770 case $ac_val in 1771 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1772 esac 1773 $as_echo "$ac_var='\''$ac_val'\''" 1286 1774 done | sort 1287 1775 echo … … 1289 1777 if test -n "$ac_subst_files"; then 1290 1778 cat <<\_ASBOX 1291 ## ------------- ##1292 ## Output files. ##1293 ## ------------- ##1779 ## ------------------- ## 1780 ## File substitutions. ## 1781 ## ------------------- ## 1294 1782 _ASBOX 1295 1783 echo 1296 1784 for ac_var in $ac_subst_files 1297 1785 do 1298 eval ac_val=$`echo $ac_var` 1299 echo "$ac_var='"'"'$ac_val'"'"'" 1786 eval ac_val=\$$ac_var 1787 case $ac_val in 1788 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1789 esac 1790 $as_echo "$ac_var='\''$ac_val'\''" 1300 1791 done | sort 1301 1792 echo … … 1309 1800 _ASBOX 1310 1801 echo 1311 sed "/^$/d" confdefs.h | sort1802 cat confdefs.h 1312 1803 echo 1313 1804 fi 1314 1805 test "$ac_signal" != 0 && 1315 echo "$as_me: caught signal $ac_signal"1316 echo "$as_me: exit $exit_status"1806 $as_echo "$as_me: caught signal $ac_signal" 1807 $as_echo "$as_me: exit $exit_status" 1317 1808 } >&5 1318 rm -f core *.core &&1319 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1809 rm -f core *.core core.conftest.* && 1810 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1320 1811 exit $exit_status 1321 1812 ' 0 1322 1813 for ac_signal in 1 2 13 15; do 1323 1814 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1326 1817 1327 1818 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1328 rm -rf conftest* confdefs.h 1329 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1330 echo >confdefs.h 1819 rm -f -r conftest* confdefs.h 1331 1820 1332 1821 # Predefined preprocessor variables. … … 1358 1847 1359 1848 # Let the site file select an alternate cache file if it wants to. 1360 # Prefer explicitly selected file to automatically selected ones. 1361 if test -z "$CONFIG_SITE"; then 1362 if test "x$prefix" != xNONE; then 1363 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1364 else 1365 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1366 fi 1367 fi 1368 for ac_site_file in $CONFIG_SITE; do 1849 # Prefer an explicitly selected file to automatically selected ones. 1850 ac_site_file1=NONE 1851 ac_site_file2=NONE 1852 if test -n "$CONFIG_SITE"; then 1853 ac_site_file1=$CONFIG_SITE 1854 elif test "x$prefix" != xNONE; then 1855 ac_site_file1=$prefix/share/config.site 1856 ac_site_file2=$prefix/etc/config.site 1857 else 1858 ac_site_file1=$ac_default_prefix/share/config.site 1859 ac_site_file2=$ac_default_prefix/etc/config.site 1860 fi 1861 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1862 do 1863 test "x$ac_site_file" = xNONE && continue 1369 1864 if test -r "$ac_site_file"; then 1370 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&51371 echo "$as_me: loading site script $ac_site_file" >&6;}1865 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1866 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1372 1867 sed 's/^/| /' "$ac_site_file" >&5 1373 1868 . "$ac_site_file" … … 1379 1874 # files actually), so we avoid doing that. 1380 1875 if test -f "$cache_file"; then 1381 { echo "$as_me:$LINENO: loading cache $cache_file" >&51382 echo "$as_me: loading cache $cache_file" >&6;}1876 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1877 $as_echo "$as_me: loading cache $cache_file" >&6;} 1383 1878 case $cache_file in 1384 [\\/]* | ?:[\\/]* ) . $cache_file;;1385 *) . ./$cache_file;;1879 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1880 *) . "./$cache_file";; 1386 1881 esac 1387 1882 fi 1388 1883 else 1389 { echo "$as_me:$LINENO: creating cache $cache_file" >&51390 echo "$as_me: creating cache $cache_file" >&6;}1884 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1885 $as_echo "$as_me: creating cache $cache_file" >&6;} 1391 1886 >$cache_file 1392 1887 fi … … 1395 1890 # value. 1396 1891 ac_cache_corrupted=false 1397 for ac_var in `(set) 2>&1 | 1398 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1892 for ac_var in $ac_precious_vars; do 1399 1893 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1400 1894 eval ac_new_set=\$ac_env_${ac_var}_set 1401 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1402 eval ac_new_val= "\$ac_env_${ac_var}_value"1895 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1896 eval ac_new_val=\$ac_env_${ac_var}_value 1403 1897 case $ac_old_set,$ac_new_set in 1404 1898 set,) 1405 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51406 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1899 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1900 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1407 1901 ac_cache_corrupted=: ;; 1408 1902 ,set) 1409 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51410 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1903 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1904 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1411 1905 ac_cache_corrupted=: ;; 1412 1906 ,);; 1413 1907 *) 1414 1908 if test "x$ac_old_val" != "x$ac_new_val"; then 1415 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1416 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1417 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1418 echo "$as_me: former value: $ac_old_val" >&2;} 1419 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1420 echo "$as_me: current value: $ac_new_val" >&2;} 1421 ac_cache_corrupted=: 1909 # differences in whitespace do not lead to failure. 1910 ac_old_val_w=`echo x $ac_old_val` 1911 ac_new_val_w=`echo x $ac_new_val` 1912 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1913 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1914 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1915 ac_cache_corrupted=: 1916 else 1917 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1918 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1919 eval $ac_var=\$ac_old_val 1920 fi 1921 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1922 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1923 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1924 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1422 1925 fi;; 1423 1926 esac … … 1425 1928 if test "$ac_new_set" = set; then 1426 1929 case $ac_new_val in 1427 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1428 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1930 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1429 1931 *) ac_arg=$ac_var=$ac_new_val ;; 1430 1932 esac … … 1436 1938 done 1437 1939 if $ac_cache_corrupted; then 1438 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1439 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1440 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1441 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1940 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 1941 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1942 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1943 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1944 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1945 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1442 1946 { (exit 1); exit 1; }; } 1443 1947 fi 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1444 1972 1445 1973 ac_ext=c … … 1452 1980 1453 1981 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 ac_config_headers="$ac_config_headers autoconf.h" 1982 ac_config_headers="$ac_config_headers autoconf.h" 1480 1983 1481 1984 1482 1985 ac_aux_dir= 1483 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do1484 if test -f $ac_dir/install-sh; then1986 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1987 if test -f "$ac_dir/install-sh"; then 1485 1988 ac_aux_dir=$ac_dir 1486 1989 ac_install_sh="$ac_aux_dir/install-sh -c" 1487 1990 break 1488 elif test -f $ac_dir/install.sh; then1991 elif test -f "$ac_dir/install.sh"; then 1489 1992 ac_aux_dir=$ac_dir 1490 1993 ac_install_sh="$ac_aux_dir/install.sh -c" 1491 1994 break 1492 elif test -f $ac_dir/shtool; then1995 elif test -f "$ac_dir/shtool"; then 1493 1996 ac_aux_dir=$ac_dir 1494 1997 ac_install_sh="$ac_aux_dir/shtool install -c" … … 1497 2000 done 1498 2001 if test -z "$ac_aux_dir"; then 1499 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&51500 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}2002 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 2003 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1501 2004 { (exit 1); exit 1; }; } 1502 2005 fi 1503 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1504 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1505 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 2006 2007 # These three variables are undocumented and unsupported, 2008 # and are intended to be withdrawn in a future Autoconf release. 2009 # They can cause serious problems if a builder's source tree is in a directory 2010 # whose full name contains unusual characters. 2011 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2012 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2013 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2014 1506 2015 1507 2016 # Make sure we can run config.sub. 1508 $ ac_config_subsun4 >/dev/null 2>&1 ||1509 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&51510 echo "$as_me: error: cannot run $ac_config_sub" >&2;}2017 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2018 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 2019 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1511 2020 { (exit 1); exit 1; }; } 1512 2021 1513 echo "$as_me:$LINENO: checking build system type" >&51514 echo $ECHO_N "checking build system type... $ECHO_C" >&6 2022 { $as_echo "$as_me:$LINENO: checking build system type" >&5 2023 $as_echo_n "checking build system type... " >&6; } 1515 2024 if test "${ac_cv_build+set}" = set; then 1516 echo $ECHO_N "(cached) $ECHO_C" >&61517 else 1518 ac_ cv_build_alias=$build_alias1519 test -z "$ac_cv_build_alias"&&1520 ac_ cv_build_alias=`$ac_config_guess`1521 test -z "$ac_cv_build_alias"&&1522 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&51523 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}2025 $as_echo_n "(cached) " >&6 2026 else 2027 ac_build_alias=$build_alias 2028 test "x$ac_build_alias" = x && 2029 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2030 test "x$ac_build_alias" = x && 2031 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2032 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1524 2033 { (exit 1); exit 1; }; } 1525 ac_cv_build=`$ ac_config_sub $ac_cv_build_alias` ||1526 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&51527 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}2034 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2035 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 2036 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1528 2037 { (exit 1); exit 1; }; } 1529 2038 1530 2039 fi 1531 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1532 echo "${ECHO_T}$ac_cv_build" >&6 2040 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2041 $as_echo "$ac_cv_build" >&6; } 2042 case $ac_cv_build in 2043 *-*-*) ;; 2044 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 2045 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 2046 { (exit 1); exit 1; }; };; 2047 esac 1533 2048 build=$ac_cv_build 1534 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1535 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1536 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1537 1538 1539 echo "$as_me:$LINENO: checking host system type" >&5 1540 echo $ECHO_N "checking host system type... $ECHO_C" >&6 2049 ac_save_IFS=$IFS; IFS='-' 2050 set x $ac_cv_build 2051 shift 2052 build_cpu=$1 2053 build_vendor=$2 2054 shift; shift 2055 # Remember, the first character of IFS is used to create $*, 2056 # except with old shells: 2057 build_os=$* 2058 IFS=$ac_save_IFS 2059 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2060 2061 2062 { $as_echo "$as_me:$LINENO: checking host system type" >&5 2063 $as_echo_n "checking host system type... " >&6; } 1541 2064 if test "${ac_cv_host+set}" = set; then 1542 echo $ECHO_N "(cached) $ECHO_C" >&61543 else 1544 ac_cv_host_alias=$host_alias1545 test -z "$ac_cv_host_alias" && 1546 ac_cv_host_alias=$ac_cv_build_alias 1547 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||1548 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&51549 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}2065 $as_echo_n "(cached) " >&6 2066 else 2067 if test "x$host_alias" = x; then 2068 ac_cv_host=$ac_cv_build 2069 else 2070 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2071 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 2072 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1550 2073 { (exit 1); exit 1; }; } 1551 1552 fi 1553 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1554 echo "${ECHO_T}$ac_cv_host" >&6 2074 fi 2075 2076 fi 2077 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2078 $as_echo "$ac_cv_host" >&6; } 2079 case $ac_cv_host in 2080 *-*-*) ;; 2081 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 2082 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 2083 { (exit 1); exit 1; }; };; 2084 esac 1555 2085 host=$ac_cv_host 1556 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1557 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1558 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1559 1560 1561 echo "$as_me:$LINENO: checking target system type" >&5 1562 echo $ECHO_N "checking target system type... $ECHO_C" >&6 2086 ac_save_IFS=$IFS; IFS='-' 2087 set x $ac_cv_host 2088 shift 2089 host_cpu=$1 2090 host_vendor=$2 2091 shift; shift 2092 # Remember, the first character of IFS is used to create $*, 2093 # except with old shells: 2094 host_os=$* 2095 IFS=$ac_save_IFS 2096 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2097 2098 2099 { $as_echo "$as_me:$LINENO: checking target system type" >&5 2100 $as_echo_n "checking target system type... " >&6; } 1563 2101 if test "${ac_cv_target+set}" = set; then 1564 echo $ECHO_N "(cached) $ECHO_C" >&61565 else 1566 ac_cv_target_alias=$target_alias1567 test "x$ac_cv_target_alias" = "x" && 1568 ac_cv_target_alias=$ac_cv_host_alias 1569 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||1570 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&51571 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}2102 $as_echo_n "(cached) " >&6 2103 else 2104 if test "x$target_alias" = x; then 2105 ac_cv_target=$ac_cv_host 2106 else 2107 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2108 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 2109 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1572 2110 { (exit 1); exit 1; }; } 1573 1574 fi 1575 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1576 echo "${ECHO_T}$ac_cv_target" >&6 2111 fi 2112 2113 fi 2114 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 2115 $as_echo "$ac_cv_target" >&6; } 2116 case $ac_cv_target in 2117 *-*-*) ;; 2118 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 2119 $as_echo "$as_me: error: invalid value of canonical target" >&2;} 2120 { (exit 1); exit 1; }; };; 2121 esac 1577 2122 target=$ac_cv_target 1578 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1579 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1580 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2123 ac_save_IFS=$IFS; IFS='-' 2124 set x $ac_cv_target 2125 shift 2126 target_cpu=$1 2127 target_vendor=$2 2128 shift; shift 2129 # Remember, the first character of IFS is used to create $*, 2130 # except with old shells: 2131 target_os=$* 2132 IFS=$ac_save_IFS 2133 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 1581 2134 1582 2135 … … 1596 2149 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1597 2150 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1598 echo "$as_me:$LINENO: checking for $ac_word" >&51599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2151 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2152 $as_echo_n "checking for $ac_word... " >&6; } 1600 2153 if test "${ac_cv_prog_CC+set}" = set; then 1601 echo $ECHO_N "(cached) $ECHO_C" >&62154 $as_echo_n "(cached) " >&6 1602 2155 else 1603 2156 if test -n "$CC"; then … … 1610 2163 test -z "$as_dir" && as_dir=. 1611 2164 for ac_exec_ext in '' $ac_executable_extensions; do 1612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1613 2166 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52167 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1615 2168 break 2 1616 2169 fi 1617 2170 done 1618 2171 done 2172 IFS=$as_save_IFS 1619 2173 1620 2174 fi … … 1622 2176 CC=$ac_cv_prog_CC 1623 2177 if test -n "$CC"; then 1624 echo "$as_me:$LINENO: result: $CC" >&5 1625 echo "${ECHO_T}$CC" >&6 1626 else 1627 echo "$as_me:$LINENO: result: no" >&5 1628 echo "${ECHO_T}no" >&6 1629 fi 2178 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2179 $as_echo "$CC" >&6; } 2180 else 2181 { $as_echo "$as_me:$LINENO: result: no" >&5 2182 $as_echo "no" >&6; } 2183 fi 2184 1630 2185 1631 2186 fi … … 1634 2189 # Extract the first word of "gcc", so it can be a program name with args. 1635 2190 set dummy gcc; ac_word=$2 1636 echo "$as_me:$LINENO: checking for $ac_word" >&51637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2191 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2192 $as_echo_n "checking for $ac_word... " >&6; } 1638 2193 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1639 echo $ECHO_N "(cached) $ECHO_C" >&62194 $as_echo_n "(cached) " >&6 1640 2195 else 1641 2196 if test -n "$ac_ct_CC"; then … … 1648 2203 test -z "$as_dir" && as_dir=. 1649 2204 for ac_exec_ext in '' $ac_executable_extensions; do 1650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1651 2206 ac_cv_prog_ac_ct_CC="gcc" 1652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52207 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1653 2208 break 2 1654 2209 fi 1655 2210 done 1656 2211 done 2212 IFS=$as_save_IFS 1657 2213 1658 2214 fi … … 1660 2216 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1661 2217 if test -n "$ac_ct_CC"; then 1662 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1663 echo "${ECHO_T}$ac_ct_CC" >&6 1664 else 1665 echo "$as_me:$LINENO: result: no" >&5 1666 echo "${ECHO_T}no" >&6 1667 fi 1668 1669 CC=$ac_ct_CC 2218 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2219 $as_echo "$ac_ct_CC" >&6; } 2220 else 2221 { $as_echo "$as_me:$LINENO: result: no" >&5 2222 $as_echo "no" >&6; } 2223 fi 2224 2225 if test "x$ac_ct_CC" = x; then 2226 CC="" 2227 else 2228 case $cross_compiling:$ac_tool_warned in 2229 yes:) 2230 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2232 ac_tool_warned=yes ;; 2233 esac 2234 CC=$ac_ct_CC 2235 fi 1670 2236 else 1671 2237 CC="$ac_cv_prog_CC" … … 1673 2239 1674 2240 if test -z "$CC"; then 1675 if test -n "$ac_tool_prefix"; then1676 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2241 if test -n "$ac_tool_prefix"; then 2242 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1677 2243 set dummy ${ac_tool_prefix}cc; ac_word=$2 1678 echo "$as_me:$LINENO: checking for $ac_word" >&51679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2244 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2245 $as_echo_n "checking for $ac_word... " >&6; } 1680 2246 if test "${ac_cv_prog_CC+set}" = set; then 1681 echo $ECHO_N "(cached) $ECHO_C" >&62247 $as_echo_n "(cached) " >&6 1682 2248 else 1683 2249 if test -n "$CC"; then … … 1690 2256 test -z "$as_dir" && as_dir=. 1691 2257 for ac_exec_ext in '' $ac_executable_extensions; do 1692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1693 2259 ac_cv_prog_CC="${ac_tool_prefix}cc" 1694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52260 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1695 2261 break 2 1696 2262 fi 1697 2263 done 1698 2264 done 2265 IFS=$as_save_IFS 1699 2266 1700 2267 fi … … 1702 2269 CC=$ac_cv_prog_CC 1703 2270 if test -n "$CC"; then 1704 echo "$as_me:$LINENO: result: $CC" >&5 1705 echo "${ECHO_T}$CC" >&6 1706 else 1707 echo "$as_me:$LINENO: result: no" >&5 1708 echo "${ECHO_T}no" >&6 1709 fi 1710 1711 fi 1712 if test -z "$ac_cv_prog_CC"; then 1713 ac_ct_CC=$CC 1714 # Extract the first word of "cc", so it can be a program name with args. 1715 set dummy cc; ac_word=$2 1716 echo "$as_me:$LINENO: checking for $ac_word" >&5 1717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1718 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1719 echo $ECHO_N "(cached) $ECHO_C" >&6 1720 else 1721 if test -n "$ac_ct_CC"; then 1722 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1723 else 1724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1725 for as_dir in $PATH 1726 do 1727 IFS=$as_save_IFS 1728 test -z "$as_dir" && as_dir=. 1729 for ac_exec_ext in '' $ac_executable_extensions; do 1730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1731 ac_cv_prog_ac_ct_CC="cc" 1732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1733 break 2 2271 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2272 $as_echo "$CC" >&6; } 2273 else 2274 { $as_echo "$as_me:$LINENO: result: no" >&5 2275 $as_echo "no" >&6; } 2276 fi 2277 2278 1734 2279 fi 1735 done1736 done1737 1738 fi1739 fi1740 ac_ct_CC=$ac_cv_prog_ac_ct_CC1741 if test -n "$ac_ct_CC"; then1742 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51743 echo "${ECHO_T}$ac_ct_CC" >&61744 else1745 echo "$as_me:$LINENO: result: no" >&51746 echo "${ECHO_T}no" >&61747 fi1748 1749 CC=$ac_ct_CC1750 else1751 CC="$ac_cv_prog_CC"1752 fi1753 1754 2280 fi 1755 2281 if test -z "$CC"; then 1756 2282 # Extract the first word of "cc", so it can be a program name with args. 1757 2283 set dummy cc; ac_word=$2 1758 echo "$as_me:$LINENO: checking for $ac_word" >&51759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2284 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2285 $as_echo_n "checking for $ac_word... " >&6; } 1760 2286 if test "${ac_cv_prog_CC+set}" = set; then 1761 echo $ECHO_N "(cached) $ECHO_C" >&62287 $as_echo_n "(cached) " >&6 1762 2288 else 1763 2289 if test -n "$CC"; then … … 1771 2297 test -z "$as_dir" && as_dir=. 1772 2298 for ac_exec_ext in '' $ac_executable_extensions; do 1773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1774 2300 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1775 2301 ac_prog_rejected=yes … … 1777 2303 fi 1778 2304 ac_cv_prog_CC="cc" 1779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52305 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1780 2306 break 2 1781 2307 fi 1782 2308 done 1783 2309 done 2310 IFS=$as_save_IFS 1784 2311 1785 2312 if test $ac_prog_rejected = yes; then … … 1799 2326 CC=$ac_cv_prog_CC 1800 2327 if test -n "$CC"; then 1801 echo "$as_me:$LINENO: result: $CC" >&5 1802 echo "${ECHO_T}$CC" >&6 1803 else 1804 echo "$as_me:$LINENO: result: no" >&5 1805 echo "${ECHO_T}no" >&6 1806 fi 2328 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2329 $as_echo "$CC" >&6; } 2330 else 2331 { $as_echo "$as_me:$LINENO: result: no" >&5 2332 $as_echo "no" >&6; } 2333 fi 2334 1807 2335 1808 2336 fi 1809 2337 if test -z "$CC"; then 1810 2338 if test -n "$ac_tool_prefix"; then 1811 for ac_prog in cl 2339 for ac_prog in cl.exe 1812 2340 do 1813 2341 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1814 2342 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1815 echo "$as_me:$LINENO: checking for $ac_word" >&51816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2343 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2344 $as_echo_n "checking for $ac_word... " >&6; } 1817 2345 if test "${ac_cv_prog_CC+set}" = set; then 1818 echo $ECHO_N "(cached) $ECHO_C" >&62346 $as_echo_n "(cached) " >&6 1819 2347 else 1820 2348 if test -n "$CC"; then … … 1827 2355 test -z "$as_dir" && as_dir=. 1828 2356 for ac_exec_ext in '' $ac_executable_extensions; do 1829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1830 2358 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52359 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1832 2360 break 2 1833 2361 fi 1834 2362 done 1835 2363 done 2364 IFS=$as_save_IFS 1836 2365 1837 2366 fi … … 1839 2368 CC=$ac_cv_prog_CC 1840 2369 if test -n "$CC"; then 1841 echo "$as_me:$LINENO: result: $CC" >&5 1842 echo "${ECHO_T}$CC" >&6 1843 else 1844 echo "$as_me:$LINENO: result: no" >&5 1845 echo "${ECHO_T}no" >&6 1846 fi 2370 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2371 $as_echo "$CC" >&6; } 2372 else 2373 { $as_echo "$as_me:$LINENO: result: no" >&5 2374 $as_echo "no" >&6; } 2375 fi 2376 1847 2377 1848 2378 test -n "$CC" && break … … 1851 2381 if test -z "$CC"; then 1852 2382 ac_ct_CC=$CC 1853 for ac_prog in cl 2383 for ac_prog in cl.exe 1854 2384 do 1855 2385 # Extract the first word of "$ac_prog", so it can be a program name with args. 1856 2386 set dummy $ac_prog; ac_word=$2 1857 echo "$as_me:$LINENO: checking for $ac_word" >&51858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2387 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2388 $as_echo_n "checking for $ac_word... " >&6; } 1859 2389 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1860 echo $ECHO_N "(cached) $ECHO_C" >&62390 $as_echo_n "(cached) " >&6 1861 2391 else 1862 2392 if test -n "$ac_ct_CC"; then … … 1869 2399 test -z "$as_dir" && as_dir=. 1870 2400 for ac_exec_ext in '' $ac_executable_extensions; do 1871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1872 2402 ac_cv_prog_ac_ct_CC="$ac_prog" 1873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52403 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1874 2404 break 2 1875 2405 fi 1876 2406 done 1877 2407 done 2408 IFS=$as_save_IFS 1878 2409 1879 2410 fi … … 1881 2412 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1882 2413 if test -n "$ac_ct_CC"; then 1883 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1884 echo "${ECHO_T}$ac_ct_CC" >&6 1885 else 1886 echo "$as_me:$LINENO: result: no" >&5 1887 echo "${ECHO_T}no" >&6 1888 fi 2414 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2415 $as_echo "$ac_ct_CC" >&6; } 2416 else 2417 { $as_echo "$as_me:$LINENO: result: no" >&5 2418 $as_echo "no" >&6; } 2419 fi 2420 1889 2421 1890 2422 test -n "$ac_ct_CC" && break 1891 2423 done 1892 2424 1893 CC=$ac_ct_CC 1894 fi 1895 1896 fi 1897 1898 1899 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2425 if test "x$ac_ct_CC" = x; then 2426 CC="" 2427 else 2428 case $cross_compiling:$ac_tool_warned in 2429 yes:) 2430 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2432 ac_tool_warned=yes ;; 2433 esac 2434 CC=$ac_ct_CC 2435 fi 2436 fi 2437 2438 fi 2439 2440 2441 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2443 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1900 2444 See \`config.log' for more details." >&5 1901 echo "$as_me: error: no acceptable C compiler found in \$PATH2445 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 1902 2446 See \`config.log' for more details." >&2;} 1903 { (exit 1); exit 1; }; } 2447 { (exit 1); exit 1; }; }; } 1904 2448 1905 2449 # Provide some information about the compiler. 1906 echo "$as_me:$LINENO:" \ 1907 "checking for C compiler version" >&5 1908 ac_compiler=`set X $ac_compile; echo $2` 1909 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1910 (eval $ac_compiler --version </dev/null >&5) 2>&5 2450 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2451 set X $ac_compile 2452 ac_compiler=$2 2453 { (ac_try="$ac_compiler --version >&5" 2454 case "(($ac_try" in 2455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2456 *) ac_try_echo=$ac_try;; 2457 esac 2458 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2459 $as_echo "$ac_try_echo") >&5 2460 (eval "$ac_compiler --version >&5") 2>&5 1911 2461 ac_status=$? 1912 echo "$as_me:$LINENO: \$? = $ac_status" >&52462 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1913 2463 (exit $ac_status); } 1914 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1915 (eval $ac_compiler -v </dev/null >&5) 2>&5 2464 { (ac_try="$ac_compiler -v >&5" 2465 case "(($ac_try" in 2466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2467 *) ac_try_echo=$ac_try;; 2468 esac 2469 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2470 $as_echo "$ac_try_echo") >&5 2471 (eval "$ac_compiler -v >&5") 2>&5 1916 2472 ac_status=$? 1917 echo "$as_me:$LINENO: \$? = $ac_status" >&52473 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1918 2474 (exit $ac_status); } 1919 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1920 (eval $ac_compiler -V </dev/null >&5) 2>&5 2475 { (ac_try="$ac_compiler -V >&5" 2476 case "(($ac_try" in 2477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2478 *) ac_try_echo=$ac_try;; 2479 esac 2480 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2481 $as_echo "$ac_try_echo") >&5 2482 (eval "$ac_compiler -V >&5") 2>&5 1921 2483 ac_status=$? 1922 echo "$as_me:$LINENO: \$? = $ac_status" >&52484 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1923 2485 (exit $ac_status); } 1924 2486 … … 1939 2501 _ACEOF 1940 2502 ac_clean_files_save=$ac_clean_files 1941 ac_clean_files="$ac_clean_files a.out a. exe b.out"2503 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 1942 2504 # Try to create an executable without -o first, disregard a.out. 1943 2505 # It will help us diagnose broken compilers, and finding out an intuition 1944 2506 # of exeext. 1945 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1946 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1947 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1948 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1949 (eval $ac_link_default) 2>&5 2507 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2508 $as_echo_n "checking for C compiler default output file name... " >&6; } 2509 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2510 2511 # The possible output files: 2512 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2513 2514 ac_rmfiles= 2515 for ac_file in $ac_files 2516 do 2517 case $ac_file in 2518 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2519 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2520 esac 2521 done 2522 rm -f $ac_rmfiles 2523 2524 if { (ac_try="$ac_link_default" 2525 case "(($ac_try" in 2526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2527 *) ac_try_echo=$ac_try;; 2528 esac 2529 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2530 $as_echo "$ac_try_echo") >&5 2531 (eval "$ac_link_default") 2>&5 1950 2532 ac_status=$? 1951 echo "$as_me:$LINENO: \$? = $ac_status" >&52533 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 1952 2534 (exit $ac_status); }; then 1953 # Find the output, starting from the most likely. This scheme is 1954 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1955 # resort. 1956 1957 # Be careful to initialize this variable, since it used to be cached. 1958 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1959 ac_cv_exeext= 1960 # b.out is created by i960 compilers. 1961 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2535 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2536 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2537 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2538 # so that the user can short-circuit this test for compilers unknown to 2539 # Autoconf. 2540 for ac_file in $ac_files '' 1962 2541 do 1963 2542 test -f "$ac_file" || continue 1964 2543 case $ac_file in 1965 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1966 ;; 1967 conftest.$ac_ext ) 1968 # This is the source file. 2544 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 1969 2545 ;; 1970 2546 [ab].out ) … … 1973 2549 break;; 1974 2550 *.* ) 1975 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1976 # FIXME: I believe we export ac_cv_exeext for Libtool, 1977 # but it would be cool to find out if it's true. Does anybody 1978 # maintain Libtool? --akim. 1979 export ac_cv_exeext 2551 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2552 then :; else 2553 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2554 fi 2555 # We set ac_cv_exeext here because the later test for it is not 2556 # safe: cross compilers may not add the suffix if given an `-o' 2557 # argument, so we may need to know it at that point already. 2558 # Even if this section looks crufty: it has the advantage of 2559 # actually working. 1980 2560 break;; 1981 2561 * ) … … 1983 2563 esac 1984 2564 done 1985 else 1986 echo "$as_me: failed program was:" >&5 2565 test "$ac_cv_exeext" = no && ac_cv_exeext= 2566 2567 else 2568 ac_file='' 2569 fi 2570 2571 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2572 $as_echo "$ac_file" >&6; } 2573 if test -z "$ac_file"; then 2574 $as_echo "$as_me: failed program was:" >&5 1987 2575 sed 's/^/| /' conftest.$ac_ext >&5 1988 2576 1989 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2577 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2579 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 1990 2580 See \`config.log' for more details." >&5 1991 echo "$as_me: error: C compiler cannot create executables2581 $as_echo "$as_me: error: C compiler cannot create executables 1992 2582 See \`config.log' for more details." >&2;} 1993 { (exit 77); exit 77; }; } 2583 { (exit 77); exit 77; }; }; } 1994 2584 fi 1995 2585 1996 2586 ac_exeext=$ac_cv_exeext 1997 echo "$as_me:$LINENO: result: $ac_file" >&5 1998 echo "${ECHO_T}$ac_file" >&6 1999 2000 # Check the compiler produces executables we can run. If not, either 2587 2588 # Check that the compiler produces executables we can run. If not, either 2001 2589 # the compiler is broken, or we cross compile. 2002 echo "$as_me:$LINENO: checking whether the C compiler works" >&52003 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2590 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2591 $as_echo_n "checking whether the C compiler works... " >&6; } 2004 2592 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2005 2593 # If not cross compiling, check that we can run a simple program. 2006 2594 if test "$cross_compiling" != yes; then 2007 2595 if { ac_try='./$ac_file' 2008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2009 (eval $ac_try) 2>&5 2596 { (case "(($ac_try" in 2597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2598 *) ac_try_echo=$ac_try;; 2599 esac 2600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2601 $as_echo "$ac_try_echo") >&5 2602 (eval "$ac_try") 2>&5 2010 2603 ac_status=$? 2011 echo "$as_me:$LINENO: \$? = $ac_status" >&52604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2012 2605 (exit $ac_status); }; }; then 2013 2606 cross_compiling=no … … 2016 2609 cross_compiling=yes 2017 2610 else 2018 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2611 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2612 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2613 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2019 2614 If you meant to cross compile, use \`--host'. 2020 2615 See \`config.log' for more details." >&5 2021 echo "$as_me: error: cannot run C compiled programs.2616 $as_echo "$as_me: error: cannot run C compiled programs. 2022 2617 If you meant to cross compile, use \`--host'. 2023 2618 See \`config.log' for more details." >&2;} 2024 { (exit 1); exit 1; }; } 2619 { (exit 1); exit 1; }; }; } 2025 2620 fi 2026 2621 fi 2027 2622 fi 2028 echo "$as_me:$LINENO: result: yes" >&52029 echo "${ECHO_T}yes" >&6 2030 2031 rm -f a.outa.exe conftest$ac_cv_exeext b.out2623 { $as_echo "$as_me:$LINENO: result: yes" >&5 2624 $as_echo "yes" >&6; } 2625 2626 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2032 2627 ac_clean_files=$ac_clean_files_save 2033 # Check th e compiler produces executables we can run. If not, either2628 # Check that the compiler produces executables we can run. If not, either 2034 2629 # the compiler is broken, or we cross compile. 2035 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2036 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2037 echo "$as_me:$LINENO: result: $cross_compiling" >&5 2038 echo "${ECHO_T}$cross_compiling" >&6 2039 2040 echo "$as_me:$LINENO: checking for suffix of executables" >&5 2041 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2043 (eval $ac_link) 2>&5 2630 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2631 $as_echo_n "checking whether we are cross compiling... " >&6; } 2632 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2633 $as_echo "$cross_compiling" >&6; } 2634 2635 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2636 $as_echo_n "checking for suffix of executables... " >&6; } 2637 if { (ac_try="$ac_link" 2638 case "(($ac_try" in 2639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2640 *) ac_try_echo=$ac_try;; 2641 esac 2642 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2643 $as_echo "$ac_try_echo") >&5 2644 (eval "$ac_link") 2>&5 2044 2645 ac_status=$? 2045 echo "$as_me:$LINENO: \$? = $ac_status" >&52646 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2046 2647 (exit $ac_status); }; then 2047 2648 # If both `conftest.exe' and `conftest' are `present' (well, observable) … … 2052 2653 test -f "$ac_file" || continue 2053 2654 case $ac_file in 2054 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2655 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2055 2656 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2056 export ac_cv_exeext2057 2657 break;; 2058 2658 * ) break;; … … 2060 2660 done 2061 2661 else 2062 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2662 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2664 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2063 2665 See \`config.log' for more details." >&5 2064 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link2666 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2065 2667 See \`config.log' for more details." >&2;} 2066 { (exit 1); exit 1; }; } 2668 { (exit 1); exit 1; }; }; } 2067 2669 fi 2068 2670 2069 2671 rm -f conftest$ac_cv_exeext 2070 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52071 echo "${ECHO_T}$ac_cv_exeext" >&6 2672 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2673 $as_echo "$ac_cv_exeext" >&6; } 2072 2674 2073 2675 rm -f conftest.$ac_ext 2074 2676 EXEEXT=$ac_cv_exeext 2075 2677 ac_exeext=$EXEEXT 2076 echo "$as_me:$LINENO: checking for suffix of object files" >&52077 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2678 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2679 $as_echo_n "checking for suffix of object files... " >&6; } 2078 2680 if test "${ac_cv_objext+set}" = set; then 2079 echo $ECHO_N "(cached) $ECHO_C" >&62681 $as_echo_n "(cached) " >&6 2080 2682 else 2081 2683 cat >conftest.$ac_ext <<_ACEOF … … 2095 2697 _ACEOF 2096 2698 rm -f conftest.o conftest.obj 2097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2098 (eval $ac_compile) 2>&5 2699 if { (ac_try="$ac_compile" 2700 case "(($ac_try" in 2701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2702 *) ac_try_echo=$ac_try;; 2703 esac 2704 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2705 $as_echo "$ac_try_echo") >&5 2706 (eval "$ac_compile") 2>&5 2099 2707 ac_status=$? 2100 echo "$as_me:$LINENO: \$? = $ac_status" >&52708 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2101 2709 (exit $ac_status); }; then 2102 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2710 for ac_file in conftest.o conftest.obj conftest.*; do 2711 test -f "$ac_file" || continue; 2103 2712 case $ac_file in 2104 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2713 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2105 2714 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2106 2715 break;; … … 2108 2717 done 2109 2718 else 2110 echo "$as_me: failed program was:" >&52719 $as_echo "$as_me: failed program was:" >&5 2111 2720 sed 's/^/| /' conftest.$ac_ext >&5 2112 2721 2113 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2722 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2724 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2114 2725 See \`config.log' for more details." >&5 2115 echo "$as_me: error: cannot compute suffix of object files: cannot compile2726 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2116 2727 See \`config.log' for more details." >&2;} 2117 { (exit 1); exit 1; }; } 2728 { (exit 1); exit 1; }; }; } 2118 2729 fi 2119 2730 2120 2731 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2121 2732 fi 2122 echo "$as_me:$LINENO: result: $ac_cv_objext" >&52123 echo "${ECHO_T}$ac_cv_objext" >&6 2733 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2734 $as_echo "$ac_cv_objext" >&6; } 2124 2735 OBJEXT=$ac_cv_objext 2125 2736 ac_objext=$OBJEXT 2126 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52127 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2737 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2738 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2128 2739 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2129 echo $ECHO_N "(cached) $ECHO_C" >&62740 $as_echo_n "(cached) " >&6 2130 2741 else 2131 2742 cat >conftest.$ac_ext <<_ACEOF … … 2148 2759 _ACEOF 2149 2760 rm -f conftest.$ac_objext 2150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2151 (eval $ac_compile) 2>conftest.er1 2761 if { (ac_try="$ac_compile" 2762 case "(($ac_try" in 2763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2764 *) ac_try_echo=$ac_try;; 2765 esac 2766 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2767 $as_echo "$ac_try_echo") >&5 2768 (eval "$ac_compile") 2>conftest.er1 2152 2769 ac_status=$? 2153 2770 grep -v '^ *+' conftest.er1 >conftest.err 2154 2771 rm -f conftest.er1 2155 2772 cat conftest.err >&5 2156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2157 (exit $ac_status); } && 2158 { ac_try='test -z "$ac_c_werror_flag" 2159 || test ! -s conftest.err' 2160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2161 (eval $ac_try) 2>&5 2162 ac_status=$? 2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2164 (exit $ac_status); }; } && 2165 { ac_try='test -s conftest.$ac_objext' 2166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2167 (eval $ac_try) 2>&5 2168 ac_status=$? 2169 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2170 (exit $ac_status); }; }; then 2773 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2774 (exit $ac_status); } && { 2775 test -z "$ac_c_werror_flag" || 2776 test ! -s conftest.err 2777 } && test -s conftest.$ac_objext; then 2171 2778 ac_compiler_gnu=yes 2172 2779 else 2173 echo "$as_me: failed program was:" >&52780 $as_echo "$as_me: failed program was:" >&5 2174 2781 sed 's/^/| /' conftest.$ac_ext >&5 2175 2782 2176 ac_compiler_gnu=no 2177 fi 2178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2783 ac_compiler_gnu=no 2784 fi 2785 2786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2179 2787 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2180 2788 2181 2789 fi 2182 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2183 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2184 GCC=`test $ac_compiler_gnu = yes && echo yes` 2790 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2791 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2792 if test $ac_compiler_gnu = yes; then 2793 GCC=yes 2794 else 2795 GCC= 2796 fi 2185 2797 ac_test_CFLAGS=${CFLAGS+set} 2186 2798 ac_save_CFLAGS=$CFLAGS 2187 CFLAGS="-g" 2188 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2189 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2799 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2800 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2190 2801 if test "${ac_cv_prog_cc_g+set}" = set; then 2191 echo $ECHO_N "(cached) $ECHO_C" >&6 2192 else 2193 cat >conftest.$ac_ext <<_ACEOF 2802 $as_echo_n "(cached) " >&6 2803 else 2804 ac_save_c_werror_flag=$ac_c_werror_flag 2805 ac_c_werror_flag=yes 2806 ac_cv_prog_cc_g=no 2807 CFLAGS="-g" 2808 cat >conftest.$ac_ext <<_ACEOF 2194 2809 /* confdefs.h. */ 2195 2810 _ACEOF … … 2207 2822 _ACEOF 2208 2823 rm -f conftest.$ac_objext 2209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2210 (eval $ac_compile) 2>conftest.er1 2824 if { (ac_try="$ac_compile" 2825 case "(($ac_try" in 2826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2827 *) ac_try_echo=$ac_try;; 2828 esac 2829 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2830 $as_echo "$ac_try_echo") >&5 2831 (eval "$ac_compile") 2>conftest.er1 2211 2832 ac_status=$? 2212 2833 grep -v '^ *+' conftest.er1 >conftest.err 2213 2834 rm -f conftest.er1 2214 2835 cat conftest.err >&5 2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2216 (exit $ac_status); } && 2217 { ac_try='test -z "$ac_c_werror_flag" 2218 || test ! -s conftest.err' 2219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2220 (eval $ac_try) 2>&5 2836 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2837 (exit $ac_status); } && { 2838 test -z "$ac_c_werror_flag" || 2839 test ! -s conftest.err 2840 } && test -s conftest.$ac_objext; then 2841 ac_cv_prog_cc_g=yes 2842 else 2843 $as_echo "$as_me: failed program was:" >&5 2844 sed 's/^/| /' conftest.$ac_ext >&5 2845 2846 CFLAGS="" 2847 cat >conftest.$ac_ext <<_ACEOF 2848 /* confdefs.h. */ 2849 _ACEOF 2850 cat confdefs.h >>conftest.$ac_ext 2851 cat >>conftest.$ac_ext <<_ACEOF 2852 /* end confdefs.h. */ 2853 2854 int 2855 main () 2856 { 2857 2858 ; 2859 return 0; 2860 } 2861 _ACEOF 2862 rm -f conftest.$ac_objext 2863 if { (ac_try="$ac_compile" 2864 case "(($ac_try" in 2865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2866 *) ac_try_echo=$ac_try;; 2867 esac 2868 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2869 $as_echo "$ac_try_echo") >&5 2870 (eval "$ac_compile") 2>conftest.er1 2221 2871 ac_status=$? 2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2223 (exit $ac_status); }; } && 2224 { ac_try='test -s conftest.$ac_objext' 2225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2226 (eval $ac_try) 2>&5 2872 grep -v '^ *+' conftest.er1 >conftest.err 2873 rm -f conftest.er1 2874 cat conftest.err >&5 2875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2876 (exit $ac_status); } && { 2877 test -z "$ac_c_werror_flag" || 2878 test ! -s conftest.err 2879 } && test -s conftest.$ac_objext; then 2880 : 2881 else 2882 $as_echo "$as_me: failed program was:" >&5 2883 sed 's/^/| /' conftest.$ac_ext >&5 2884 2885 ac_c_werror_flag=$ac_save_c_werror_flag 2886 CFLAGS="-g" 2887 cat >conftest.$ac_ext <<_ACEOF 2888 /* confdefs.h. */ 2889 _ACEOF 2890 cat confdefs.h >>conftest.$ac_ext 2891 cat >>conftest.$ac_ext <<_ACEOF 2892 /* end confdefs.h. */ 2893 2894 int 2895 main () 2896 { 2897 2898 ; 2899 return 0; 2900 } 2901 _ACEOF 2902 rm -f conftest.$ac_objext 2903 if { (ac_try="$ac_compile" 2904 case "(($ac_try" in 2905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2906 *) ac_try_echo=$ac_try;; 2907 esac 2908 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2909 $as_echo "$ac_try_echo") >&5 2910 (eval "$ac_compile") 2>conftest.er1 2227 2911 ac_status=$? 2228 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2229 (exit $ac_status); }; }; then 2912 grep -v '^ *+' conftest.er1 >conftest.err 2913 rm -f conftest.er1 2914 cat conftest.err >&5 2915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2916 (exit $ac_status); } && { 2917 test -z "$ac_c_werror_flag" || 2918 test ! -s conftest.err 2919 } && test -s conftest.$ac_objext; then 2230 2920 ac_cv_prog_cc_g=yes 2231 2921 else 2232 echo "$as_me: failed program was:" >&52922 $as_echo "$as_me: failed program was:" >&5 2233 2923 sed 's/^/| /' conftest.$ac_ext >&5 2234 2924 2235 ac_cv_prog_cc_g=no 2236 fi 2237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2238 fi 2239 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2240 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2925 2926 fi 2927 2928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2929 fi 2930 2931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2932 fi 2933 2934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2935 ac_c_werror_flag=$ac_save_c_werror_flag 2936 fi 2937 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2938 $as_echo "$ac_cv_prog_cc_g" >&6; } 2241 2939 if test "$ac_test_CFLAGS" = set; then 2242 2940 CFLAGS=$ac_save_CFLAGS … … 2254 2952 fi 2255 2953 fi 2256 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52257 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2258 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2259 echo $ECHO_N "(cached) $ECHO_C" >&62260 else 2261 ac_cv_prog_cc_ stdc=no2954 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2955 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2956 if test "${ac_cv_prog_cc_c89+set}" = set; then 2957 $as_echo_n "(cached) " >&6 2958 else 2959 ac_cv_prog_cc_c89=no 2262 2960 ac_save_CC=$CC 2263 2961 cat >conftest.$ac_ext <<_ACEOF … … 2293 2991 function prototypes and stuff, but not '\xHH' hex character constants. 2294 2992 These don't provoke an error unfortunately, instead are silently treated 2295 as 'x'. The following induces an error, until -std 1is added to get2993 as 'x'. The following induces an error, until -std is added to get 2296 2994 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2297 2995 array size at least. It's necessary to write '\x00'==0 to get something 2298 that's true only with -std 1. */2996 that's true only with -std. */ 2299 2997 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2998 2999 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3000 inside strings and character constants. */ 3001 #define FOO(x) 'x' 3002 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2300 3003 2301 3004 int test (int i, double x); … … 2313 3016 } 2314 3017 _ACEOF 2315 # Don't try gcc -ansi; that turns off useful extensions and 2316 # breaks some systems' header files. 2317 # AIX -qlanglvl=ansi 2318 # Ultrix and OSF/1 -std1 2319 # HP-UX 10.20 and later -Ae 2320 # HP-UX older versions -Aa -D_HPUX_SOURCE 2321 # SVR4 -Xc -D__EXTENSIONS__ 2322 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3018 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3019 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2323 3020 do 2324 3021 CC="$ac_save_CC $ac_arg" 2325 3022 rm -f conftest.$ac_objext 2326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2327 (eval $ac_compile) 2>conftest.er1 3023 if { (ac_try="$ac_compile" 3024 case "(($ac_try" in 3025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3026 *) ac_try_echo=$ac_try;; 3027 esac 3028 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3029 $as_echo "$ac_try_echo") >&5 3030 (eval "$ac_compile") 2>conftest.er1 2328 3031 ac_status=$? 2329 3032 grep -v '^ *+' conftest.er1 >conftest.err 2330 3033 rm -f conftest.er1 2331 3034 cat conftest.err >&5 2332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2333 (exit $ac_status); } && 2334 { ac_try='test -z "$ac_c_werror_flag" 2335 || test ! -s conftest.err' 2336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2337 (eval $ac_try) 2>&5 2338 ac_status=$? 2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2340 (exit $ac_status); }; } && 2341 { ac_try='test -s conftest.$ac_objext' 2342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2343 (eval $ac_try) 2>&5 2344 ac_status=$? 2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2346 (exit $ac_status); }; }; then 2347 ac_cv_prog_cc_stdc=$ac_arg 2348 break 2349 else 2350 echo "$as_me: failed program was:" >&5 3035 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3036 (exit $ac_status); } && { 3037 test -z "$ac_c_werror_flag" || 3038 test ! -s conftest.err 3039 } && test -s conftest.$ac_objext; then 3040 ac_cv_prog_cc_c89=$ac_arg 3041 else 3042 $as_echo "$as_me: failed program was:" >&5 2351 3043 sed 's/^/| /' conftest.$ac_ext >&5 2352 3044 2353 fi 2354 rm -f conftest.err conftest.$ac_objext 3045 3046 fi 3047 3048 rm -f core conftest.err conftest.$ac_objext 3049 test "x$ac_cv_prog_cc_c89" != "xno" && break 2355 3050 done 2356 rm -f conftest.$ac_ext conftest.$ac_objext3051 rm -f conftest.$ac_ext 2357 3052 CC=$ac_save_CC 2358 3053 2359 3054 fi 2360 2361 case "x$ac_cv_prog_cc_stdc" in 2362 x|xno) 2363 echo "$as_me:$LINENO: result: none needed" >&5 2364 echo "${ECHO_T}none needed" >&6 ;; 3055 # AC_CACHE_VAL 3056 case "x$ac_cv_prog_cc_c89" in 3057 x) 3058 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3059 $as_echo "none needed" >&6; } ;; 3060 xno) 3061 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3062 $as_echo "unsupported" >&6; } ;; 2365 3063 *) 2366 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&52367 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2368 CC="$CC $ac_cv_prog_cc_stdc";;3064 CC="$CC $ac_cv_prog_cc_c89" 3065 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3066 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2369 3067 esac 2370 3068 2371 # Some people use a C++ compiler to compile C. Since we use `exit', 2372 # in C++ we need to declare it. In case someone uses the same compiler 2373 # for both compiling C and C++ we need to have the C++ compiler decide 2374 # the declaration of exit, since it's the most demanding environment. 2375 cat >conftest.$ac_ext <<_ACEOF 2376 #ifndef __cplusplus 2377 choke me 2378 #endif 2379 _ACEOF 2380 rm -f conftest.$ac_objext 2381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2382 (eval $ac_compile) 2>conftest.er1 2383 ac_status=$? 2384 grep -v '^ *+' conftest.er1 >conftest.err 2385 rm -f conftest.er1 2386 cat conftest.err >&5 2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2388 (exit $ac_status); } && 2389 { ac_try='test -z "$ac_c_werror_flag" 2390 || test ! -s conftest.err' 2391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2392 (eval $ac_try) 2>&5 2393 ac_status=$? 2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2395 (exit $ac_status); }; } && 2396 { ac_try='test -s conftest.$ac_objext' 2397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2398 (eval $ac_try) 2>&5 2399 ac_status=$? 2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2401 (exit $ac_status); }; }; then 2402 for ac_declaration in \ 2403 '' \ 2404 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2405 'extern "C" void std::exit (int); using std::exit;' \ 2406 'extern "C" void exit (int) throw ();' \ 2407 'extern "C" void exit (int);' \ 2408 'void exit (int);' 2409 do 2410 cat >conftest.$ac_ext <<_ACEOF 2411 /* confdefs.h. */ 2412 _ACEOF 2413 cat confdefs.h >>conftest.$ac_ext 2414 cat >>conftest.$ac_ext <<_ACEOF 2415 /* end confdefs.h. */ 2416 $ac_declaration 2417 #include <stdlib.h> 2418 int 2419 main () 2420 { 2421 exit (42); 2422 ; 2423 return 0; 2424 } 2425 _ACEOF 2426 rm -f conftest.$ac_objext 2427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2428 (eval $ac_compile) 2>conftest.er1 2429 ac_status=$? 2430 grep -v '^ *+' conftest.er1 >conftest.err 2431 rm -f conftest.er1 2432 cat conftest.err >&5 2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2434 (exit $ac_status); } && 2435 { ac_try='test -z "$ac_c_werror_flag" 2436 || test ! -s conftest.err' 2437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2438 (eval $ac_try) 2>&5 2439 ac_status=$? 2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2441 (exit $ac_status); }; } && 2442 { ac_try='test -s conftest.$ac_objext' 2443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2444 (eval $ac_try) 2>&5 2445 ac_status=$? 2446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2447 (exit $ac_status); }; }; then 2448 : 2449 else 2450 echo "$as_me: failed program was:" >&5 2451 sed 's/^/| /' conftest.$ac_ext >&5 2452 2453 continue 2454 fi 2455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2456 cat >conftest.$ac_ext <<_ACEOF 2457 /* confdefs.h. */ 2458 _ACEOF 2459 cat confdefs.h >>conftest.$ac_ext 2460 cat >>conftest.$ac_ext <<_ACEOF 2461 /* end confdefs.h. */ 2462 $ac_declaration 2463 int 2464 main () 2465 { 2466 exit (42); 2467 ; 2468 return 0; 2469 } 2470 _ACEOF 2471 rm -f conftest.$ac_objext 2472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2473 (eval $ac_compile) 2>conftest.er1 2474 ac_status=$? 2475 grep -v '^ *+' conftest.er1 >conftest.err 2476 rm -f conftest.er1 2477 cat conftest.err >&5 2478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2479 (exit $ac_status); } && 2480 { ac_try='test -z "$ac_c_werror_flag" 2481 || test ! -s conftest.err' 2482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2483 (eval $ac_try) 2>&5 2484 ac_status=$? 2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2486 (exit $ac_status); }; } && 2487 { ac_try='test -s conftest.$ac_objext' 2488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2489 (eval $ac_try) 2>&5 2490 ac_status=$? 2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2492 (exit $ac_status); }; }; then 2493 break 2494 else 2495 echo "$as_me: failed program was:" >&5 2496 sed 's/^/| /' conftest.$ac_ext >&5 2497 2498 fi 2499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2500 done 2501 rm -f conftest* 2502 if test -n "$ac_declaration"; then 2503 echo '#ifdef __cplusplus' >>confdefs.h 2504 echo $ac_declaration >>confdefs.h 2505 echo '#endif' >>confdefs.h 2506 fi 2507 2508 else 2509 echo "$as_me: failed program was:" >&5 2510 sed 's/^/| /' conftest.$ac_ext >&5 2511 2512 fi 2513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3069 2514 3070 ac_ext=c 2515 3071 ac_cpp='$CPP $CPPFLAGS' … … 2523 3079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2524 3080 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2525 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&52526 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3081 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3082 $as_echo_n "checking how to run the C preprocessor... " >&6; } 2527 3083 # On Suns, sometimes $CPP names a directory. 2528 3084 if test -n "$CPP" && test -d "$CPP"; then … … 2531 3087 if test -z "$CPP"; then 2532 3088 if test "${ac_cv_prog_CPP+set}" = set; then 2533 echo $ECHO_N "(cached) $ECHO_C" >&63089 $as_echo_n "(cached) " >&6 2534 3090 else 2535 3091 # Double quotes because CPP needs to be expanded … … 2558 3114 Syntax error 2559 3115 _ACEOF 2560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2561 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3116 if { (ac_try="$ac_cpp conftest.$ac_ext" 3117 case "(($ac_try" in 3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3119 *) ac_try_echo=$ac_try;; 3120 esac 3121 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3122 $as_echo "$ac_try_echo") >&5 3123 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2562 3124 ac_status=$? 2563 3125 grep -v '^ *+' conftest.er1 >conftest.err 2564 3126 rm -f conftest.er1 2565 3127 cat conftest.err >&5 2566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2567 (exit $ac_status); } >/dev/null; then 2568 if test -s conftest.err; then 2569 ac_cpp_err=$ac_c_preproc_warn_flag 2570 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2571 else 2572 ac_cpp_err= 2573 fi 2574 else 2575 ac_cpp_err=yes 2576 fi 2577 if test -z "$ac_cpp_err"; then 3128 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3129 (exit $ac_status); } >/dev/null && { 3130 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3131 test ! -s conftest.err 3132 }; then 2578 3133 : 2579 3134 else 2580 echo "$as_me: failed program was:" >&53135 $as_echo "$as_me: failed program was:" >&5 2581 3136 sed 's/^/| /' conftest.$ac_ext >&5 2582 3137 … … 2584 3139 continue 2585 3140 fi 3141 2586 3142 rm -f conftest.err conftest.$ac_ext 2587 3143 2588 # OK, works on sane cases. Now check whether non -existent headers3144 # OK, works on sane cases. Now check whether nonexistent headers 2589 3145 # can be detected and how. 2590 3146 cat >conftest.$ac_ext <<_ACEOF … … 2596 3152 #include <ac_nonexistent.h> 2597 3153 _ACEOF 2598 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2599 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3154 if { (ac_try="$ac_cpp conftest.$ac_ext" 3155 case "(($ac_try" in 3156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3157 *) ac_try_echo=$ac_try;; 3158 esac 3159 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3160 $as_echo "$ac_try_echo") >&5 3161 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2600 3162 ac_status=$? 2601 3163 grep -v '^ *+' conftest.er1 >conftest.err 2602 3164 rm -f conftest.er1 2603 3165 cat conftest.err >&5 2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2605 (exit $ac_status); } >/dev/null; then 2606 if test -s conftest.err; then 2607 ac_cpp_err=$ac_c_preproc_warn_flag 2608 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2609 else 2610 ac_cpp_err= 2611 fi 2612 else 2613 ac_cpp_err=yes 2614 fi 2615 if test -z "$ac_cpp_err"; then 3166 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3167 (exit $ac_status); } >/dev/null && { 3168 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3169 test ! -s conftest.err 3170 }; then 2616 3171 # Broken: success on invalid input. 2617 3172 continue 2618 3173 else 2619 echo "$as_me: failed program was:" >&53174 $as_echo "$as_me: failed program was:" >&5 2620 3175 sed 's/^/| /' conftest.$ac_ext >&5 2621 3176 … … 2624 3179 break 2625 3180 fi 3181 2626 3182 rm -f conftest.err conftest.$ac_ext 2627 3183 … … 2641 3197 ac_cv_prog_CPP=$CPP 2642 3198 fi 2643 echo "$as_me:$LINENO: result: $CPP" >&52644 echo "${ECHO_T}$CPP" >&6 3199 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 3200 $as_echo "$CPP" >&6; } 2645 3201 ac_preproc_ok=false 2646 3202 for ac_c_preproc_warn_flag in '' yes … … 2665 3221 Syntax error 2666 3222 _ACEOF 2667 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2668 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3223 if { (ac_try="$ac_cpp conftest.$ac_ext" 3224 case "(($ac_try" in 3225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3226 *) ac_try_echo=$ac_try;; 3227 esac 3228 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3229 $as_echo "$ac_try_echo") >&5 3230 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2669 3231 ac_status=$? 2670 3232 grep -v '^ *+' conftest.er1 >conftest.err 2671 3233 rm -f conftest.er1 2672 3234 cat conftest.err >&5 2673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2674 (exit $ac_status); } >/dev/null; then 2675 if test -s conftest.err; then 2676 ac_cpp_err=$ac_c_preproc_warn_flag 2677 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2678 else 2679 ac_cpp_err= 2680 fi 2681 else 2682 ac_cpp_err=yes 2683 fi 2684 if test -z "$ac_cpp_err"; then 3235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3236 (exit $ac_status); } >/dev/null && { 3237 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3238 test ! -s conftest.err 3239 }; then 2685 3240 : 2686 3241 else 2687 echo "$as_me: failed program was:" >&53242 $as_echo "$as_me: failed program was:" >&5 2688 3243 sed 's/^/| /' conftest.$ac_ext >&5 2689 3244 … … 2691 3246 continue 2692 3247 fi 3248 2693 3249 rm -f conftest.err conftest.$ac_ext 2694 3250 2695 # OK, works on sane cases. Now check whether non -existent headers3251 # OK, works on sane cases. Now check whether nonexistent headers 2696 3252 # can be detected and how. 2697 3253 cat >conftest.$ac_ext <<_ACEOF … … 2703 3259 #include <ac_nonexistent.h> 2704 3260 _ACEOF 2705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2706 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3261 if { (ac_try="$ac_cpp conftest.$ac_ext" 3262 case "(($ac_try" in 3263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3264 *) ac_try_echo=$ac_try;; 3265 esac 3266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3267 $as_echo "$ac_try_echo") >&5 3268 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2707 3269 ac_status=$? 2708 3270 grep -v '^ *+' conftest.er1 >conftest.err 2709 3271 rm -f conftest.er1 2710 3272 cat conftest.err >&5 2711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2712 (exit $ac_status); } >/dev/null; then 2713 if test -s conftest.err; then 2714 ac_cpp_err=$ac_c_preproc_warn_flag 2715 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2716 else 2717 ac_cpp_err= 2718 fi 2719 else 2720 ac_cpp_err=yes 2721 fi 2722 if test -z "$ac_cpp_err"; then 3273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3274 (exit $ac_status); } >/dev/null && { 3275 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3276 test ! -s conftest.err 3277 }; then 2723 3278 # Broken: success on invalid input. 2724 3279 continue 2725 3280 else 2726 echo "$as_me: failed program was:" >&53281 $as_echo "$as_me: failed program was:" >&5 2727 3282 sed 's/^/| /' conftest.$ac_ext >&5 2728 3283 … … 2731 3286 break 2732 3287 fi 3288 2733 3289 rm -f conftest.err conftest.$ac_ext 2734 3290 … … 2739 3295 : 2740 3296 else 2741 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3297 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3299 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 2742 3300 See \`config.log' for more details." >&5 2743 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check3301 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 2744 3302 See \`config.log' for more details." >&2;} 2745 { (exit 1); exit 1; }; } 3303 { (exit 1); exit 1; }; }; } 2746 3304 fi 2747 3305 … … 2765 3323 # OS/2's system install, which has a completely different semantic 2766 3324 # ./install, which can be erroneously created by make from ./install.sh. 2767 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2768 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3325 # Reject install programs that cannot install multiple files. 3326 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3327 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2769 3328 if test -z "$INSTALL"; then 2770 3329 if test "${ac_cv_path_install+set}" = set; then 2771 echo $ECHO_N "(cached) $ECHO_C" >&63330 $as_echo_n "(cached) " >&6 2772 3331 else 2773 3332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 2788 3347 for ac_prog in ginstall scoinst install; do 2789 3348 for ac_exec_ext in '' $ac_executable_extensions; do 2790 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then3349 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2791 3350 if test $ac_prog = install && 2792 3351 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 2798 3357 : 2799 3358 else 2800 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2801 break 3 3359 rm -rf conftest.one conftest.two conftest.dir 3360 echo one > conftest.one 3361 echo two > conftest.two 3362 mkdir conftest.dir 3363 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3364 test -s conftest.one && test -s conftest.two && 3365 test -s conftest.dir/conftest.one && 3366 test -s conftest.dir/conftest.two 3367 then 3368 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3369 break 3 3370 fi 2802 3371 fi 2803 3372 fi … … 2806 3375 ;; 2807 3376 esac 3377 2808 3378 done 2809 3379 IFS=$as_save_IFS 3380 3381 rm -rf conftest.one conftest.two conftest.dir 2810 3382 2811 3383 fi … … 2813 3385 INSTALL=$ac_cv_path_install 2814 3386 else 2815 # As a last resort, use the slow shell script. We don't cache a2816 # pathfor INSTALL within a source directory, because that will3387 # As a last resort, use the slow shell script. Don't cache a 3388 # value for INSTALL within a source directory, because that will 2817 3389 # break other packages using the cache if that directory is 2818 # removed, or if the path is relative.3390 # removed, or if the value is a relative name. 2819 3391 INSTALL=$ac_install_sh 2820 3392 fi 2821 3393 fi 2822 echo "$as_me:$LINENO: result: $INSTALL" >&52823 echo "${ECHO_T}$INSTALL" >&6 3394 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 3395 $as_echo "$INSTALL" >&6; } 2824 3396 2825 3397 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 2831 3403 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2832 3404 2833 # Check whether --enable-shared or --disable-sharedwas given.3405 # Check whether --enable-shared was given. 2834 3406 if test "${enable_shared+set}" = set; then 2835 enableval="$enable_shared" 2836 p=${PACKAGE-default} 3407 enableval=$enable_shared; p=${PACKAGE-default} 2837 3408 case $enableval in 2838 3409 yes) enable_shared=yes ;; … … 2852 3423 else 2853 3424 enable_shared=yes 2854 fi; 2855 # Check whether --enable-static or --disable-static was given. 3425 fi 3426 3427 # Check whether --enable-static was given. 2856 3428 if test "${enable_static+set}" = set; then 2857 enableval="$enable_static" 2858 p=${PACKAGE-default} 3429 enableval=$enable_static; p=${PACKAGE-default} 2859 3430 case $enableval in 2860 3431 yes) enable_static=yes ;; … … 2874 3445 else 2875 3446 enable_static=yes 2876 fi; 2877 # Check whether --enable-fast-install or --disable-fast-install was given. 3447 fi 3448 3449 # Check whether --enable-fast-install was given. 2878 3450 if test "${enable_fast_install+set}" = set; then 2879 enableval="$enable_fast_install" 2880 p=${PACKAGE-default} 3451 enableval=$enable_fast_install; p=${PACKAGE-default} 2881 3452 case $enableval in 2882 3453 yes) enable_fast_install=yes ;; … … 2896 3467 else 2897 3468 enable_fast_install=yes 2898 fi; 3469 fi 3470 2899 3471 # Find the correct PATH separator. Usually this is `:', but 2900 3472 # DJGPP uses `;' like DOS. … … 2909 3481 2910 3482 2911 # Check whether --with-gnu-ld or --without-gnu-ldwas given.3483 # Check whether --with-gnu-ld was given. 2912 3484 if test "${with_gnu_ld+set}" = set; then 2913 withval="$with_gnu_ld" 2914 test "$withval" = no || with_gnu_ld=yes 3485 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 2915 3486 else 2916 3487 with_gnu_ld=no 2917 fi; 3488 fi 3489 2918 3490 ac_prog=ld 2919 3491 if test "$GCC" = yes; then 2920 3492 # Check if gcc -print-prog-name=ld gives a path. 2921 echo "$as_me:$LINENO: checking for ld used by GCC" >&52922 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 3493 { $as_echo "$as_me:$LINENO: checking for ld used by GCC" >&5 3494 $as_echo_n "checking for ld used by GCC... " >&6; } 2923 3495 case $host in 2924 3496 *-*-mingw*) … … 2949 3521 esac 2950 3522 elif test "$with_gnu_ld" = yes; then 2951 echo "$as_me:$LINENO: checking for GNU ld" >&52952 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 2953 else 2954 echo "$as_me:$LINENO: checking for non-GNU ld" >&52955 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 3523 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 3524 $as_echo_n "checking for GNU ld... " >&6; } 3525 else 3526 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 3527 $as_echo_n "checking for non-GNU ld... " >&6; } 2956 3528 fi 2957 3529 if test "${lt_cv_path_LD+set}" = set; then 2958 echo $ECHO_N "(cached) $ECHO_C" >&63530 $as_echo_n "(cached) " >&6 2959 3531 else 2960 3532 if test -z "$LD"; then … … 2982 3554 LD="$lt_cv_path_LD" 2983 3555 if test -n "$LD"; then 2984 echo "$as_me:$LINENO: result: $LD" >&52985 echo "${ECHO_T}$LD" >&6 2986 else 2987 echo "$as_me:$LINENO: result: no" >&52988 echo "${ECHO_T}no" >&6 2989 fi 2990 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&52991 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}3556 { $as_echo "$as_me:$LINENO: result: $LD" >&5 3557 $as_echo "$LD" >&6; } 3558 else 3559 { $as_echo "$as_me:$LINENO: result: no" >&5 3560 $as_echo "no" >&6; } 3561 fi 3562 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 3563 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 2992 3564 { (exit 1); exit 1; }; } 2993 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&52994 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 3565 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 3566 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 2995 3567 if test "${lt_cv_prog_gnu_ld+set}" = set; then 2996 echo $ECHO_N "(cached) $ECHO_C" >&63568 $as_echo_n "(cached) " >&6 2997 3569 else 2998 3570 # I'd rather use --version here, but apparently some GNU ld's only accept -v. … … 3003 3575 fi 3004 3576 fi 3005 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&53006 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 3577 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 3578 $as_echo "$lt_cv_prog_gnu_ld" >&6; } 3007 3579 with_gnu_ld=$lt_cv_prog_gnu_ld 3008 3580 3009 3581 3010 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&53011 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 3582 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 3583 $as_echo_n "checking for $LD option to reload object files... " >&6; } 3012 3584 if test "${lt_cv_ld_reload_flag+set}" = set; then 3013 echo $ECHO_N "(cached) $ECHO_C" >&63585 $as_echo_n "(cached) " >&6 3014 3586 else 3015 3587 lt_cv_ld_reload_flag='-r' 3016 3588 fi 3017 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&53018 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 3589 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 3590 $as_echo "$lt_cv_ld_reload_flag" >&6; } 3019 3591 reload_flag=$lt_cv_ld_reload_flag 3020 3592 test -n "$reload_flag" && reload_flag=" $reload_flag" 3021 3593 3022 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&53023 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 3594 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 3595 $as_echo_n "checking for BSD-compatible nm... " >&6; } 3024 3596 if test "${lt_cv_path_NM+set}" = set; then 3025 echo $ECHO_N "(cached) $ECHO_C" >&63597 $as_echo_n "(cached) " >&6 3026 3598 else 3027 3599 if test -n "$NM"; then … … 3056 3628 3057 3629 NM="$lt_cv_path_NM" 3058 echo "$as_me:$LINENO: result: $NM" >&53059 echo "${ECHO_T}$NM" >&6 3060 3061 echo "$as_me:$LINENO: checking whether ln -s works" >&53062 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3630 { $as_echo "$as_me:$LINENO: result: $NM" >&5 3631 $as_echo "$NM" >&6; } 3632 3633 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 3634 $as_echo_n "checking whether ln -s works... " >&6; } 3063 3635 LN_S=$as_ln_s 3064 3636 if test "$LN_S" = "ln -s"; then 3065 echo "$as_me:$LINENO: result: yes" >&53066 echo "${ECHO_T}yes" >&6 3067 else 3068 echo "$as_me:$LINENO: result: no, using $LN_S" >&53069 echo "${ECHO_T}no, using $LN_S" >&6 3070 fi 3071 3072 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&53073 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 3637 { $as_echo "$as_me:$LINENO: result: yes" >&5 3638 $as_echo "yes" >&6; } 3639 else 3640 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3641 $as_echo "no, using $LN_S" >&6; } 3642 fi 3643 3644 { $as_echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5 3645 $as_echo_n "checking how to recognise dependant libraries... " >&6; } 3074 3646 if test "${lt_cv_deplibs_check_method+set}" = set; then 3075 echo $ECHO_N "(cached) $ECHO_C" >&63647 $as_echo_n "(cached) " >&6 3076 3648 else 3077 3649 lt_cv_file_magic_cmd='$MAGIC_CMD' … … 3248 3820 3249 3821 fi 3250 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&53251 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 3822 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 3823 $as_echo "$lt_cv_deplibs_check_method" >&6; } 3252 3824 file_magic_cmd=$lt_cv_file_magic_cmd 3253 3825 deplibs_check_method=$lt_cv_deplibs_check_method … … 3261 3833 3262 3834 # Check for command to grab the raw symbol name followed by C symbol from nm. 3263 echo "$as_me:$LINENO: checking command to parse $NM output" >&53264 echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 3835 { $as_echo "$as_me:$LINENO: checking command to parse $NM output" >&5 3836 $as_echo_n "checking command to parse $NM output... " >&6; } 3265 3837 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 3266 echo $ECHO_N "(cached) $ECHO_C" >&63838 $as_echo_n "(cached) " >&6 3267 3839 else 3268 3840 … … 3345 3917 (eval $ac_compile) 2>&5 3346 3918 ac_status=$? 3347 echo "$as_me:$LINENO: \$? = $ac_status" >&53919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3348 3920 (exit $ac_status); }; then 3349 3921 # Now try to grab the symbols. … … 3352 3924 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 3353 3925 ac_status=$? 3354 echo "$as_me:$LINENO: \$? = $ac_status" >&53926 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3355 3927 (exit $ac_status); } && test -s "$nlist"; then 3356 3928 # Try sorting and uniquifying the output. … … 3407 3979 (eval $ac_link) 2>&5 3408 3980 ac_status=$? 3409 echo "$as_me:$LINENO: \$? = $ac_status" >&53981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3410 3982 (exit $ac_status); } && test -s conftest; then 3411 3983 pipe_works=yes … … 3448 4020 if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; 3449 4021 then 3450 echo "$as_me:$LINENO: result: failed" >&5 3451 echo "${ECHO_T}failed" >&6 3452 else 3453 echo "$as_me:$LINENO: result: ok" >&5 3454 echo "${ECHO_T}ok" >&6 3455 fi 3456 3457 3458 echo "$as_me:$LINENO: checking for egrep" >&5 3459 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3460 if test "${ac_cv_prog_egrep+set}" = set; then 3461 echo $ECHO_N "(cached) $ECHO_C" >&6 3462 else 3463 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3464 then ac_cv_prog_egrep='grep -E' 3465 else ac_cv_prog_egrep='egrep' 4022 { $as_echo "$as_me:$LINENO: result: failed" >&5 4023 $as_echo "failed" >&6; } 4024 else 4025 { $as_echo "$as_me:$LINENO: result: ok" >&5 4026 $as_echo "ok" >&6; } 4027 fi 4028 4029 4030 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4031 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4032 if test "${ac_cv_path_GREP+set}" = set; then 4033 $as_echo_n "(cached) " >&6 4034 else 4035 if test -z "$GREP"; then 4036 ac_path_GREP_found=false 4037 # Loop through the user's path and test for each of PROGNAME-LIST 4038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4039 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4040 do 4041 IFS=$as_save_IFS 4042 test -z "$as_dir" && as_dir=. 4043 for ac_prog in grep ggrep; do 4044 for ac_exec_ext in '' $ac_executable_extensions; do 4045 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4046 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4047 # Check for GNU ac_path_GREP and select it if it is found. 4048 # Check for GNU $ac_path_GREP 4049 case `"$ac_path_GREP" --version 2>&1` in 4050 *GNU*) 4051 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4052 *) 4053 ac_count=0 4054 $as_echo_n 0123456789 >"conftest.in" 4055 while : 4056 do 4057 cat "conftest.in" "conftest.in" >"conftest.tmp" 4058 mv "conftest.tmp" "conftest.in" 4059 cp "conftest.in" "conftest.nl" 4060 $as_echo 'GREP' >> "conftest.nl" 4061 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4062 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4063 ac_count=`expr $ac_count + 1` 4064 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4065 # Best one so far, save it but keep looking for a better one 4066 ac_cv_path_GREP="$ac_path_GREP" 4067 ac_path_GREP_max=$ac_count 3466 4068 fi 3467 fi 3468 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3469 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3470 EGREP=$ac_cv_prog_egrep 3471 3472 3473 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3474 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4069 # 10*(2^10) chars as input seems more than enough 4070 test $ac_count -gt 10 && break 4071 done 4072 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4073 esac 4074 4075 $ac_path_GREP_found && break 3 4076 done 4077 done 4078 done 4079 IFS=$as_save_IFS 4080 if test -z "$ac_cv_path_GREP"; then 4081 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4082 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4083 { (exit 1); exit 1; }; } 4084 fi 4085 else 4086 ac_cv_path_GREP=$GREP 4087 fi 4088 4089 fi 4090 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4091 $as_echo "$ac_cv_path_GREP" >&6; } 4092 GREP="$ac_cv_path_GREP" 4093 4094 4095 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 4096 $as_echo_n "checking for egrep... " >&6; } 4097 if test "${ac_cv_path_EGREP+set}" = set; then 4098 $as_echo_n "(cached) " >&6 4099 else 4100 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4101 then ac_cv_path_EGREP="$GREP -E" 4102 else 4103 if test -z "$EGREP"; then 4104 ac_path_EGREP_found=false 4105 # Loop through the user's path and test for each of PROGNAME-LIST 4106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4107 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4108 do 4109 IFS=$as_save_IFS 4110 test -z "$as_dir" && as_dir=. 4111 for ac_prog in egrep; do 4112 for ac_exec_ext in '' $ac_executable_extensions; do 4113 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4114 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4115 # Check for GNU ac_path_EGREP and select it if it is found. 4116 # Check for GNU $ac_path_EGREP 4117 case `"$ac_path_EGREP" --version 2>&1` in 4118 *GNU*) 4119 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4120 *) 4121 ac_count=0 4122 $as_echo_n 0123456789 >"conftest.in" 4123 while : 4124 do 4125 cat "conftest.in" "conftest.in" >"conftest.tmp" 4126 mv "conftest.tmp" "conftest.in" 4127 cp "conftest.in" "conftest.nl" 4128 $as_echo 'EGREP' >> "conftest.nl" 4129 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4130 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4131 ac_count=`expr $ac_count + 1` 4132 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4133 # Best one so far, save it but keep looking for a better one 4134 ac_cv_path_EGREP="$ac_path_EGREP" 4135 ac_path_EGREP_max=$ac_count 4136 fi 4137 # 10*(2^10) chars as input seems more than enough 4138 test $ac_count -gt 10 && break 4139 done 4140 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4141 esac 4142 4143 $ac_path_EGREP_found && break 3 4144 done 4145 done 4146 done 4147 IFS=$as_save_IFS 4148 if test -z "$ac_cv_path_EGREP"; then 4149 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4150 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4151 { (exit 1); exit 1; }; } 4152 fi 4153 else 4154 ac_cv_path_EGREP=$EGREP 4155 fi 4156 4157 fi 4158 fi 4159 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4160 $as_echo "$ac_cv_path_EGREP" >&6; } 4161 EGREP="$ac_cv_path_EGREP" 4162 4163 4164 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4165 $as_echo_n "checking for ANSI C header files... " >&6; } 3475 4166 if test "${ac_cv_header_stdc+set}" = set; then 3476 echo $ECHO_N "(cached) $ECHO_C" >&64167 $as_echo_n "(cached) " >&6 3477 4168 else 3478 4169 cat >conftest.$ac_ext <<_ACEOF … … 3496 4187 _ACEOF 3497 4188 rm -f conftest.$ac_objext 3498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3499 (eval $ac_compile) 2>conftest.er1 4189 if { (ac_try="$ac_compile" 4190 case "(($ac_try" in 4191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4192 *) ac_try_echo=$ac_try;; 4193 esac 4194 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4195 $as_echo "$ac_try_echo") >&5 4196 (eval "$ac_compile") 2>conftest.er1 3500 4197 ac_status=$? 3501 4198 grep -v '^ *+' conftest.er1 >conftest.err 3502 4199 rm -f conftest.er1 3503 4200 cat conftest.err >&5 3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3505 (exit $ac_status); } && 3506 { ac_try='test -z "$ac_c_werror_flag" 3507 || test ! -s conftest.err' 3508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3509 (eval $ac_try) 2>&5 3510 ac_status=$? 3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3512 (exit $ac_status); }; } && 3513 { ac_try='test -s conftest.$ac_objext' 3514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3515 (eval $ac_try) 2>&5 3516 ac_status=$? 3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3518 (exit $ac_status); }; }; then 4201 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4202 (exit $ac_status); } && { 4203 test -z "$ac_c_werror_flag" || 4204 test ! -s conftest.err 4205 } && test -s conftest.$ac_objext; then 3519 4206 ac_cv_header_stdc=yes 3520 4207 else 3521 echo "$as_me: failed program was:" >&54208 $as_echo "$as_me: failed program was:" >&5 3522 4209 sed 's/^/| /' conftest.$ac_ext >&5 3523 4210 3524 ac_cv_header_stdc=no 3525 fi 3526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4211 ac_cv_header_stdc=no 4212 fi 4213 4214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3527 4215 3528 4216 if test $ac_cv_header_stdc = yes; then … … 3580 4268 /* end confdefs.h. */ 3581 4269 #include <ctype.h> 4270 #include <stdlib.h> 3582 4271 #if ((' ' & 0x0FF) == 0x020) 3583 4272 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 3599 4288 if (XOR (islower (i), ISLOWER (i)) 3600 4289 || toupper (i) != TOUPPER (i)) 3601 exit(2);3602 exit (0);4290 return 2; 4291 return 0; 3603 4292 } 3604 4293 _ACEOF 3605 4294 rm -f conftest$ac_exeext 3606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3607 (eval $ac_link) 2>&5 4295 if { (ac_try="$ac_link" 4296 case "(($ac_try" in 4297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4298 *) ac_try_echo=$ac_try;; 4299 esac 4300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4301 $as_echo "$ac_try_echo") >&5 4302 (eval "$ac_link") 2>&5 3608 4303 ac_status=$? 3609 echo "$as_me:$LINENO: \$? = $ac_status" >&54304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3610 4305 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3612 (eval $ac_try) 2>&5 4306 { (case "(($ac_try" in 4307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4308 *) ac_try_echo=$ac_try;; 4309 esac 4310 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4311 $as_echo "$ac_try_echo") >&5 4312 (eval "$ac_try") 2>&5 3613 4313 ac_status=$? 3614 echo "$as_me:$LINENO: \$? = $ac_status" >&54314 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3615 4315 (exit $ac_status); }; }; then 3616 4316 : 3617 4317 else 3618 echo "$as_me: program exited with status $ac_status" >&53619 echo "$as_me: failed program was:" >&54318 $as_echo "$as_me: program exited with status $ac_status" >&5 4319 $as_echo "$as_me: failed program was:" >&5 3620 4320 sed 's/^/| /' conftest.$ac_ext >&5 3621 4321 … … 3623 4323 ac_cv_header_stdc=no 3624 4324 fi 3625 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3626 fi 3627 fi 3628 fi 3629 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3630 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4325 rm -rf conftest.dSYM 4326 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4327 fi 4328 4329 4330 fi 4331 fi 4332 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4333 $as_echo "$ac_cv_header_stdc" >&6; } 3631 4334 if test $ac_cv_header_stdc = yes; then 3632 4335 … … 3650 4353 inttypes.h stdint.h unistd.h 3651 4354 do 3652 as_ac_Header=` echo "ac_cv_header_$ac_header" | $as_tr_sh`3653 echo "$as_me:$LINENO: checking for $ac_header" >&53654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3655 if eval "test \"\${$as_ac_Header+set}\" = set"; then3656 echo $ECHO_N "(cached) $ECHO_C" >&64355 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4356 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4357 $as_echo_n "checking for $ac_header... " >&6; } 4358 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4359 $as_echo_n "(cached) " >&6 3657 4360 else 3658 4361 cat >conftest.$ac_ext <<_ACEOF … … 3667 4370 _ACEOF 3668 4371 rm -f conftest.$ac_objext 3669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3670 (eval $ac_compile) 2>conftest.er1 4372 if { (ac_try="$ac_compile" 4373 case "(($ac_try" in 4374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4375 *) ac_try_echo=$ac_try;; 4376 esac 4377 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4378 $as_echo "$ac_try_echo") >&5 4379 (eval "$ac_compile") 2>conftest.er1 3671 4380 ac_status=$? 3672 4381 grep -v '^ *+' conftest.er1 >conftest.err 3673 4382 rm -f conftest.er1 3674 4383 cat conftest.err >&5 3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3676 (exit $ac_status); } && 3677 { ac_try='test -z "$ac_c_werror_flag" 3678 || test ! -s conftest.err' 3679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3680 (eval $ac_try) 2>&5 3681 ac_status=$? 3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3683 (exit $ac_status); }; } && 3684 { ac_try='test -s conftest.$ac_objext' 3685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3686 (eval $ac_try) 2>&5 3687 ac_status=$? 3688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3689 (exit $ac_status); }; }; then 4384 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4385 (exit $ac_status); } && { 4386 test -z "$ac_c_werror_flag" || 4387 test ! -s conftest.err 4388 } && test -s conftest.$ac_objext; then 3690 4389 eval "$as_ac_Header=yes" 3691 4390 else 3692 echo "$as_me: failed program was:" >&54391 $as_echo "$as_me: failed program was:" >&5 3693 4392 sed 's/^/| /' conftest.$ac_ext >&5 3694 4393 3695 eval "$as_ac_Header=no" 3696 fi 3697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3698 fi 3699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3701 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4394 eval "$as_ac_Header=no" 4395 fi 4396 4397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4398 fi 4399 ac_res=`eval 'as_val=${'$as_ac_Header'} 4400 $as_echo "$as_val"'` 4401 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4402 $as_echo "$ac_res" >&6; } 4403 as_val=`eval 'as_val=${'$as_ac_Header'} 4404 $as_echo "$as_val"'` 4405 if test "x$as_val" = x""yes; then 3702 4406 cat >>confdefs.h <<_ACEOF 3703 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 14407 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3704 4408 _ACEOF 3705 4409 … … 3712 4416 for ac_header in dlfcn.h 3713 4417 do 3714 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3715 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3716 echo "$as_me:$LINENO: checking for $ac_header" >&5 3717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3718 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3719 echo $ECHO_N "(cached) $ECHO_C" >&6 3720 fi 3721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4418 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4419 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4420 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4421 $as_echo_n "checking for $ac_header... " >&6; } 4422 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4423 $as_echo_n "(cached) " >&6 4424 fi 4425 ac_res=`eval 'as_val=${'$as_ac_Header'} 4426 $as_echo "$as_val"'` 4427 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4428 $as_echo "$ac_res" >&6; } 3723 4429 else 3724 4430 # Is the header compilable? 3725 echo "$as_me:$LINENO: checking $ac_header usability" >&53726 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4431 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 4432 $as_echo_n "checking $ac_header usability... " >&6; } 3727 4433 cat >conftest.$ac_ext <<_ACEOF 3728 4434 /* confdefs.h. */ … … 3735 4441 _ACEOF 3736 4442 rm -f conftest.$ac_objext 3737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3738 (eval $ac_compile) 2>conftest.er1 4443 if { (ac_try="$ac_compile" 4444 case "(($ac_try" in 4445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4446 *) ac_try_echo=$ac_try;; 4447 esac 4448 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4449 $as_echo "$ac_try_echo") >&5 4450 (eval "$ac_compile") 2>conftest.er1 3739 4451 ac_status=$? 3740 4452 grep -v '^ *+' conftest.er1 >conftest.err 3741 4453 rm -f conftest.er1 3742 4454 cat conftest.err >&5 3743 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3744 (exit $ac_status); } && 3745 { ac_try='test -z "$ac_c_werror_flag" 3746 || test ! -s conftest.err' 3747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3748 (eval $ac_try) 2>&5 3749 ac_status=$? 3750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3751 (exit $ac_status); }; } && 3752 { ac_try='test -s conftest.$ac_objext' 3753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3754 (eval $ac_try) 2>&5 3755 ac_status=$? 3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3757 (exit $ac_status); }; }; then 4455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4456 (exit $ac_status); } && { 4457 test -z "$ac_c_werror_flag" || 4458 test ! -s conftest.err 4459 } && test -s conftest.$ac_objext; then 3758 4460 ac_header_compiler=yes 3759 4461 else 3760 echo "$as_me: failed program was:" >&54462 $as_echo "$as_me: failed program was:" >&5 3761 4463 sed 's/^/| /' conftest.$ac_ext >&5 3762 4464 3763 ac_header_compiler=no 3764 fi 3765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3766 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3767 echo "${ECHO_T}$ac_header_compiler" >&6 4465 ac_header_compiler=no 4466 fi 4467 4468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4469 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4470 $as_echo "$ac_header_compiler" >&6; } 3768 4471 3769 4472 # Is the header present? 3770 echo "$as_me:$LINENO: checking $ac_header presence" >&53771 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4473 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 4474 $as_echo_n "checking $ac_header presence... " >&6; } 3772 4475 cat >conftest.$ac_ext <<_ACEOF 3773 4476 /* confdefs.h. */ … … 3778 4481 #include <$ac_header> 3779 4482 _ACEOF 3780 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3781 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4483 if { (ac_try="$ac_cpp conftest.$ac_ext" 4484 case "(($ac_try" in 4485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4486 *) ac_try_echo=$ac_try;; 4487 esac 4488 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4489 $as_echo "$ac_try_echo") >&5 4490 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3782 4491 ac_status=$? 3783 4492 grep -v '^ *+' conftest.er1 >conftest.err 3784 4493 rm -f conftest.er1 3785 4494 cat conftest.err >&5 3786 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3787 (exit $ac_status); } >/dev/null; then 3788 if test -s conftest.err; then 3789 ac_cpp_err=$ac_c_preproc_warn_flag 3790 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3791 else 3792 ac_cpp_err= 3793 fi 3794 else 3795 ac_cpp_err=yes 3796 fi 3797 if test -z "$ac_cpp_err"; then 4495 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4496 (exit $ac_status); } >/dev/null && { 4497 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4498 test ! -s conftest.err 4499 }; then 3798 4500 ac_header_preproc=yes 3799 4501 else 3800 echo "$as_me: failed program was:" >&54502 $as_echo "$as_me: failed program was:" >&5 3801 4503 sed 's/^/| /' conftest.$ac_ext >&5 3802 4504 3803 4505 ac_header_preproc=no 3804 4506 fi 4507 3805 4508 rm -f conftest.err conftest.$ac_ext 3806 echo "$as_me:$LINENO: result: $ac_header_preproc" >&53807 echo "${ECHO_T}$ac_header_preproc" >&6 4509 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4510 $as_echo "$ac_header_preproc" >&6; } 3808 4511 3809 4512 # So? What about this header? 3810 4513 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3811 4514 yes:no: ) 3812 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&53813 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}3814 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&53815 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}4515 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4516 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4517 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4518 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3816 4519 ac_header_preproc=yes 3817 4520 ;; 3818 4521 no:yes:* ) 3819 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3820 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3821 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3822 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3823 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3824 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3825 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3826 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3828 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3829 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3830 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3831 ( 3832 cat <<\_ASBOX 3833 ## ------------------------------- ## 3834 ## Report this to the gdbm lists. ## 3835 ## ------------------------------- ## 3836 _ASBOX 3837 ) | 3838 sed "s/^/$as_me: WARNING: /" >&2 4522 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4523 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4524 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4525 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4526 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4527 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4528 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4529 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4530 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4531 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4532 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4533 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4534 3839 4535 ;; 3840 4536 esac 3841 echo "$as_me:$LINENO: checking for $ac_header" >&53842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3843 if eval "test \"\${$as_ac_Header+set}\" = set"; then3844 echo $ECHO_N "(cached) $ECHO_C" >&64537 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4538 $as_echo_n "checking for $ac_header... " >&6; } 4539 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4540 $as_echo_n "(cached) " >&6 3845 4541 else 3846 4542 eval "$as_ac_Header=\$ac_header_preproc" 3847 4543 fi 3848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3850 3851 fi 3852 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4544 ac_res=`eval 'as_val=${'$as_ac_Header'} 4545 $as_echo "$as_val"'` 4546 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4547 $as_echo "$ac_res" >&6; } 4548 4549 fi 4550 as_val=`eval 'as_val=${'$as_ac_Header'} 4551 $as_echo "$as_val"'` 4552 if test "x$as_val" = x""yes; then 3853 4553 cat >>confdefs.h <<_ACEOF 3854 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 14554 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3855 4555 _ACEOF 3856 4556 … … 3867 4567 file_magic*) 3868 4568 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 3869 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&53870 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 4569 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 4570 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 3871 4571 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 3872 echo $ECHO_N "(cached) $ECHO_C" >&64572 $as_echo_n "(cached) " >&6 3873 4573 else 3874 4574 case $MAGIC_CMD in … … 3922 4622 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 3923 4623 if test -n "$MAGIC_CMD"; then 3924 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&53925 echo "${ECHO_T}$MAGIC_CMD" >&6 3926 else 3927 echo "$as_me:$LINENO: result: no" >&53928 echo "${ECHO_T}no" >&6 4624 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 4625 $as_echo "$MAGIC_CMD" >&6; } 4626 else 4627 { $as_echo "$as_me:$LINENO: result: no" >&5 4628 $as_echo "no" >&6; } 3929 4629 fi 3930 4630 3931 4631 if test -z "$lt_cv_path_MAGIC_CMD"; then 3932 4632 if test -n "$ac_tool_prefix"; then 3933 echo "$as_me:$LINENO: checking for file" >&53934 echo $ECHO_N "checking for file... $ECHO_C" >&6 4633 { $as_echo "$as_me:$LINENO: checking for file" >&5 4634 $as_echo_n "checking for file... " >&6; } 3935 4635 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 3936 echo $ECHO_N "(cached) $ECHO_C" >&64636 $as_echo_n "(cached) " >&6 3937 4637 else 3938 4638 case $MAGIC_CMD in … … 3986 4686 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 3987 4687 if test -n "$MAGIC_CMD"; then 3988 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&53989 echo "${ECHO_T}$MAGIC_CMD" >&6 3990 else 3991 echo "$as_me:$LINENO: result: no" >&53992 echo "${ECHO_T}no" >&6 4688 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 4689 $as_echo "$MAGIC_CMD" >&6; } 4690 else 4691 { $as_echo "$as_me:$LINENO: result: no" >&5 4692 $as_echo "no" >&6; } 3993 4693 fi 3994 4694 … … 4005 4705 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4006 4706 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4007 echo "$as_me:$LINENO: checking for $ac_word" >&54008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4707 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4708 $as_echo_n "checking for $ac_word... " >&6; } 4009 4709 if test "${ac_cv_prog_RANLIB+set}" = set; then 4010 echo $ECHO_N "(cached) $ECHO_C" >&64710 $as_echo_n "(cached) " >&6 4011 4711 else 4012 4712 if test -n "$RANLIB"; then … … 4019 4719 test -z "$as_dir" && as_dir=. 4020 4720 for ac_exec_ext in '' $ac_executable_extensions; do 4021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4022 4722 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54723 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4024 4724 break 2 4025 4725 fi 4026 4726 done 4027 4727 done 4728 IFS=$as_save_IFS 4028 4729 4029 4730 fi … … 4031 4732 RANLIB=$ac_cv_prog_RANLIB 4032 4733 if test -n "$RANLIB"; then 4033 echo "$as_me:$LINENO: result: $RANLIB" >&5 4034 echo "${ECHO_T}$RANLIB" >&6 4035 else 4036 echo "$as_me:$LINENO: result: no" >&5 4037 echo "${ECHO_T}no" >&6 4038 fi 4734 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 4735 $as_echo "$RANLIB" >&6; } 4736 else 4737 { $as_echo "$as_me:$LINENO: result: no" >&5 4738 $as_echo "no" >&6; } 4739 fi 4740 4039 4741 4040 4742 fi … … 4043 4745 # Extract the first word of "ranlib", so it can be a program name with args. 4044 4746 set dummy ranlib; ac_word=$2 4045 echo "$as_me:$LINENO: checking for $ac_word" >&54046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4747 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4748 $as_echo_n "checking for $ac_word... " >&6; } 4047 4749 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 4048 echo $ECHO_N "(cached) $ECHO_C" >&64750 $as_echo_n "(cached) " >&6 4049 4751 else 4050 4752 if test -n "$ac_ct_RANLIB"; then … … 4057 4759 test -z "$as_dir" && as_dir=. 4058 4760 for ac_exec_ext in '' $ac_executable_extensions; do 4059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4060 4762 ac_cv_prog_ac_ct_RANLIB="ranlib" 4061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54763 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4062 4764 break 2 4063 4765 fi 4064 4766 done 4065 4767 done 4066 4067 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 4768 IFS=$as_save_IFS 4769 4068 4770 fi 4069 4771 fi 4070 4772 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4071 4773 if test -n "$ac_ct_RANLIB"; then 4072 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 4073 echo "${ECHO_T}$ac_ct_RANLIB" >&6 4074 else 4075 echo "$as_me:$LINENO: result: no" >&5 4076 echo "${ECHO_T}no" >&6 4077 fi 4078 4079 RANLIB=$ac_ct_RANLIB 4774 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 4775 $as_echo "$ac_ct_RANLIB" >&6; } 4776 else 4777 { $as_echo "$as_me:$LINENO: result: no" >&5 4778 $as_echo "no" >&6; } 4779 fi 4780 4781 if test "x$ac_ct_RANLIB" = x; then 4782 RANLIB=":" 4783 else 4784 case $cross_compiling:$ac_tool_warned in 4785 yes:) 4786 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4788 ac_tool_warned=yes ;; 4789 esac 4790 RANLIB=$ac_ct_RANLIB 4791 fi 4080 4792 else 4081 4793 RANLIB="$ac_cv_prog_RANLIB" … … 4085 4797 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 4086 4798 set dummy ${ac_tool_prefix}strip; ac_word=$2 4087 echo "$as_me:$LINENO: checking for $ac_word" >&54088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4799 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4800 $as_echo_n "checking for $ac_word... " >&6; } 4089 4801 if test "${ac_cv_prog_STRIP+set}" = set; then 4090 echo $ECHO_N "(cached) $ECHO_C" >&64802 $as_echo_n "(cached) " >&6 4091 4803 else 4092 4804 if test -n "$STRIP"; then … … 4099 4811 test -z "$as_dir" && as_dir=. 4100 4812 for ac_exec_ext in '' $ac_executable_extensions; do 4101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4102 4814 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 4103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54815 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4104 4816 break 2 4105 4817 fi 4106 4818 done 4107 4819 done 4820 IFS=$as_save_IFS 4108 4821 4109 4822 fi … … 4111 4824 STRIP=$ac_cv_prog_STRIP 4112 4825 if test -n "$STRIP"; then 4113 echo "$as_me:$LINENO: result: $STRIP" >&5 4114 echo "${ECHO_T}$STRIP" >&6 4115 else 4116 echo "$as_me:$LINENO: result: no" >&5 4117 echo "${ECHO_T}no" >&6 4118 fi 4826 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 4827 $as_echo "$STRIP" >&6; } 4828 else 4829 { $as_echo "$as_me:$LINENO: result: no" >&5 4830 $as_echo "no" >&6; } 4831 fi 4832 4119 4833 4120 4834 fi … … 4123 4837 # Extract the first word of "strip", so it can be a program name with args. 4124 4838 set dummy strip; ac_word=$2 4125 echo "$as_me:$LINENO: checking for $ac_word" >&54126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4839 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4840 $as_echo_n "checking for $ac_word... " >&6; } 4127 4841 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 4128 echo $ECHO_N "(cached) $ECHO_C" >&64842 $as_echo_n "(cached) " >&6 4129 4843 else 4130 4844 if test -n "$ac_ct_STRIP"; then … … 4137 4851 test -z "$as_dir" && as_dir=. 4138 4852 for ac_exec_ext in '' $ac_executable_extensions; do 4139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4140 4854 ac_cv_prog_ac_ct_STRIP="strip" 4141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54855 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4142 4856 break 2 4143 4857 fi 4144 4858 done 4145 4859 done 4146 4147 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 4860 IFS=$as_save_IFS 4861 4148 4862 fi 4149 4863 fi 4150 4864 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 4151 4865 if test -n "$ac_ct_STRIP"; then 4152 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 4153 echo "${ECHO_T}$ac_ct_STRIP" >&6 4154 else 4155 echo "$as_me:$LINENO: result: no" >&5 4156 echo "${ECHO_T}no" >&6 4157 fi 4158 4159 STRIP=$ac_ct_STRIP 4866 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 4867 $as_echo "$ac_ct_STRIP" >&6; } 4868 else 4869 { $as_echo "$as_me:$LINENO: result: no" >&5 4870 $as_echo "no" >&6; } 4871 fi 4872 4873 if test "x$ac_ct_STRIP" = x; then 4874 STRIP=":" 4875 else 4876 case $cross_compiling:$ac_tool_warned in 4877 yes:) 4878 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4879 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4880 ac_tool_warned=yes ;; 4881 esac 4882 STRIP=$ac_ct_STRIP 4883 fi 4160 4884 else 4161 4885 STRIP="$ac_cv_prog_STRIP" … … 4166 4890 enable_win32_dll=no 4167 4891 4168 # Check whether --enable-libtool-lock or --disable-libtool-lockwas given.4892 # Check whether --enable-libtool-lock was given. 4169 4893 if test "${enable_libtool_lock+set}" = set; then 4170 enableval= "$enable_libtool_lock"4171 4172 fi; 4894 enableval=$enable_libtool_lock; 4895 fi 4896 4173 4897 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 4174 4898 … … 4178 4902 *-*-irix6*) 4179 4903 # Find out which ABI we are using. 4180 echo '#line 4 180"configure"' > conftest.$ac_ext4904 echo '#line 4904 "configure"' > conftest.$ac_ext 4181 4905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4182 4906 (eval $ac_compile) 2>&5 4183 4907 ac_status=$? 4184 echo "$as_me:$LINENO: \$? = $ac_status" >&54908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4185 4909 (exit $ac_status); }; then 4186 4910 case `/usr/bin/file conftest.$ac_objext` in … … 4203 4927 SAVE_CFLAGS="$CFLAGS" 4204 4928 CFLAGS="$CFLAGS -belf" 4205 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&54206 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 4929 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 4930 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } 4207 4931 if test "${lt_cv_cc_needs_belf+set}" = set; then 4208 echo $ECHO_N "(cached) $ECHO_C" >&6 4209 else 4210 4932 $as_echo_n "(cached) " >&6 4933 else 4211 4934 4212 4935 ac_ext=c … … 4232 4955 _ACEOF 4233 4956 rm -f conftest.$ac_objext conftest$ac_exeext 4234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4235 (eval $ac_link) 2>conftest.er1 4957 if { (ac_try="$ac_link" 4958 case "(($ac_try" in 4959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4960 *) ac_try_echo=$ac_try;; 4961 esac 4962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4963 $as_echo "$ac_try_echo") >&5 4964 (eval "$ac_link") 2>conftest.er1 4236 4965 ac_status=$? 4237 4966 grep -v '^ *+' conftest.er1 >conftest.err 4238 4967 rm -f conftest.er1 4239 4968 cat conftest.err >&5 4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4241 (exit $ac_status); } && 4242 { ac_try='test -z "$ac_c_werror_flag" 4243 || test ! -s conftest.err' 4244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4245 (eval $ac_try) 2>&5 4246 ac_status=$? 4247 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4248 (exit $ac_status); }; } && 4249 { ac_try='test -s conftest$ac_exeext' 4250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4251 (eval $ac_try) 2>&5 4252 ac_status=$? 4253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4254 (exit $ac_status); }; }; then 4969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4970 (exit $ac_status); } && { 4971 test -z "$ac_c_werror_flag" || 4972 test ! -s conftest.err 4973 } && test -s conftest$ac_exeext && { 4974 test "$cross_compiling" = yes || 4975 $as_test_x conftest$ac_exeext 4976 }; then 4255 4977 lt_cv_cc_needs_belf=yes 4256 4978 else 4257 echo "$as_me: failed program was:" >&54979 $as_echo "$as_me: failed program was:" >&5 4258 4980 sed 's/^/| /' conftest.$ac_ext >&5 4259 4981 4260 lt_cv_cc_needs_belf=no 4261 fi 4262 rm -f conftest.err conftest.$ac_objext \ 4982 lt_cv_cc_needs_belf=no 4983 fi 4984 4985 rm -rf conftest.dSYM 4986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4263 4987 conftest$ac_exeext conftest.$ac_ext 4264 4988 ac_ext=c … … 4269 4993 4270 4994 fi 4271 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&54272 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 4995 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 4996 $as_echo "$lt_cv_cc_needs_belf" >&6; } 4273 4997 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 4274 4998 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf … … 4372 5096 ## FIXME: this should be a separate macro 4373 5097 ## 4374 echo "$as_me:$LINENO: checking for objdir" >&54375 echo $ECHO_N "checking for objdir... $ECHO_C" >&6 5098 { $as_echo "$as_me:$LINENO: checking for objdir" >&5 5099 $as_echo_n "checking for objdir... " >&6; } 4376 5100 rm -f .libs 2>/dev/null 4377 5101 mkdir .libs 2>/dev/null … … 4383 5107 fi 4384 5108 rmdir .libs 2>/dev/null 4385 echo "$as_me:$LINENO: result: $objdir" >&54386 echo "${ECHO_T}$objdir" >&6 5109 { $as_echo "$as_me:$LINENO: result: $objdir" >&5 5110 $as_echo "$objdir" >&6; } 4387 5111 ## 4388 5112 ## END FIXME … … 4392 5116 ## 4393 5117 4394 # Check whether --with-pic or --without-picwas given.5118 # Check whether --with-pic was given. 4395 5119 if test "${with_pic+set}" = set; then 4396 withval="$with_pic" 4397 pic_mode="$withval" 5120 withval=$with_pic; pic_mode="$withval" 4398 5121 else 4399 5122 pic_mode=default 4400 fi; 5123 fi 5124 4401 5125 test -z "$pic_mode" && pic_mode=default 4402 5126 … … 4404 5128 # in isolation, and that seeing it set (from the cache) indicates that 4405 5129 # the associated values are set (in the cache) correctly too. 4406 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&54407 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 5130 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 5131 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 4408 5132 if test "${lt_cv_prog_cc_pic+set}" = set; then 4409 echo $ECHO_N "(cached) $ECHO_C" >&65133 $as_echo_n "(cached) " >&6 4410 5134 else 4411 5135 lt_cv_prog_cc_pic= … … 4551 5275 4552 5276 if test -z "$lt_cv_prog_cc_pic"; then 4553 echo "$as_me:$LINENO: result: none" >&54554 echo "${ECHO_T}none" >&6 4555 else 4556 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&54557 echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6 5277 { $as_echo "$as_me:$LINENO: result: none" >&5 5278 $as_echo "none" >&6; } 5279 else 5280 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5 5281 $as_echo "$lt_cv_prog_cc_pic" >&6; } 4558 5282 4559 5283 # Check to make sure the pic_flag actually works. 4560 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&54561 echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6 5284 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 5285 $as_echo_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... " >&6; } 4562 5286 if test "${lt_cv_prog_cc_pic_works+set}" = set; then 4563 echo $ECHO_N "(cached) $ECHO_C" >&65287 $as_echo_n "(cached) " >&6 4564 5288 else 4565 5289 save_CFLAGS="$CFLAGS" … … 4581 5305 _ACEOF 4582 5306 rm -f conftest.$ac_objext 4583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4584 (eval $ac_compile) 2>conftest.er1 5307 if { (ac_try="$ac_compile" 5308 case "(($ac_try" in 5309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5310 *) ac_try_echo=$ac_try;; 5311 esac 5312 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5313 $as_echo "$ac_try_echo") >&5 5314 (eval "$ac_compile") 2>conftest.er1 4585 5315 ac_status=$? 4586 5316 grep -v '^ *+' conftest.er1 >conftest.err 4587 5317 rm -f conftest.er1 4588 5318 cat conftest.err >&5 4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4590 (exit $ac_status); } && 4591 { ac_try='test -z "$ac_c_werror_flag" 4592 || test ! -s conftest.err' 4593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4594 (eval $ac_try) 2>&5 4595 ac_status=$? 4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4597 (exit $ac_status); }; } && 4598 { ac_try='test -s conftest.$ac_objext' 4599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4600 (eval $ac_try) 2>&5 4601 ac_status=$? 4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4603 (exit $ac_status); }; }; then 5319 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5320 (exit $ac_status); } && { 5321 test -z "$ac_c_werror_flag" || 5322 test ! -s conftest.err 5323 } && test -s conftest.$ac_objext; then 4604 5324 case $host_os in 4605 5325 hpux9* | hpux10* | hpux11*) … … 4619 5339 4620 5340 else 4621 echo "$as_me: failed program was:" >&55341 $as_echo "$as_me: failed program was:" >&5 4622 5342 sed 's/^/| /' conftest.$ac_ext >&5 4623 5343 4624 lt_cv_prog_cc_pic_works=no 4625 4626 fi 4627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5344 lt_cv_prog_cc_pic_works=no 5345 5346 fi 5347 5348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4628 5349 CFLAGS="$save_CFLAGS" 4629 5350 … … 4638 5359 fi 4639 5360 4640 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&54641 echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6 5361 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5 5362 $as_echo "$lt_cv_prog_cc_pic_works" >&6; } 4642 5363 fi 4643 5364 ## … … 4646 5367 # Check for any special shared library compilation flags. 4647 5368 if test -n "$lt_cv_prog_cc_shlib"; then 4648 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&54649 echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}5369 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5 5370 $as_echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;} 4650 5371 if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then : 4651 5372 else 4652 { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&54653 echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}5373 { $as_echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 5374 $as_echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} 4654 5375 lt_cv_prog_cc_can_build_shared=no 4655 5376 fi … … 4658 5379 ## FIXME: this should be a separate macro 4659 5380 ## 4660 echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&54661 echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6 5381 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 5382 $as_echo_n "checking if $compiler static flag $lt_cv_prog_cc_static works... " >&6; } 4662 5383 if test "${lt_cv_prog_cc_static_works+set}" = set; then 4663 echo $ECHO_N "(cached) $ECHO_C" >&65384 $as_echo_n "(cached) " >&6 4664 5385 else 4665 5386 lt_cv_prog_cc_static_works=no … … 4682 5403 _ACEOF 4683 5404 rm -f conftest.$ac_objext conftest$ac_exeext 4684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4685 (eval $ac_link) 2>conftest.er1 5405 if { (ac_try="$ac_link" 5406 case "(($ac_try" in 5407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5408 *) ac_try_echo=$ac_try;; 5409 esac 5410 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5411 $as_echo "$ac_try_echo") >&5 5412 (eval "$ac_link") 2>conftest.er1 4686 5413 ac_status=$? 4687 5414 grep -v '^ *+' conftest.er1 >conftest.err 4688 5415 rm -f conftest.er1 4689 5416 cat conftest.err >&5 4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4691 (exit $ac_status); } && 4692 { ac_try='test -z "$ac_c_werror_flag" 4693 || test ! -s conftest.err' 4694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4695 (eval $ac_try) 2>&5 4696 ac_status=$? 4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4698 (exit $ac_status); }; } && 4699 { ac_try='test -s conftest$ac_exeext' 4700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4701 (eval $ac_try) 2>&5 4702 ac_status=$? 4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4704 (exit $ac_status); }; }; then 5417 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5418 (exit $ac_status); } && { 5419 test -z "$ac_c_werror_flag" || 5420 test ! -s conftest.err 5421 } && test -s conftest$ac_exeext && { 5422 test "$cross_compiling" = yes || 5423 $as_test_x conftest$ac_exeext 5424 }; then 4705 5425 lt_cv_prog_cc_static_works=yes 4706 5426 else 4707 echo "$as_me: failed program was:" >&55427 $as_echo "$as_me: failed program was:" >&5 4708 5428 sed 's/^/| /' conftest.$ac_ext >&5 4709 5429 4710 fi 4711 rm -f conftest.err conftest.$ac_objext \ 5430 5431 fi 5432 5433 rm -rf conftest.dSYM 5434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4712 5435 conftest$ac_exeext conftest.$ac_ext 4713 5436 LDFLAGS="$save_LDFLAGS" … … 4718 5441 # Belt *and* braces to stop my trousers falling down: 4719 5442 test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= 4720 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&54721 echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6 5443 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5 5444 $as_echo "$lt_cv_prog_cc_static_works" >&6; } 4722 5445 4723 5446 pic_flag="$lt_cv_prog_cc_pic" … … 4734 5457 ## 4735 5458 # Check to see if options -o and -c are simultaneously supported by compiler 4736 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&54737 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 5459 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 5460 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 4738 5461 if test "${lt_cv_compiler_c_o+set}" = set; then 4739 echo $ECHO_N "(cached) $ECHO_C" >&65462 $as_echo_n "(cached) " >&6 4740 5463 else 4741 5464 … … 4754 5477 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 4755 5478 compiler_c_o=no 4756 if { (eval echo configure: 4756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then5479 if { (eval echo configure:5479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then 4757 5480 # The compiler can only warn and ignore the option if not recognized 4758 5481 # So say no if there are warnings … … 4778 5501 4779 5502 compiler_c_o=$lt_cv_compiler_c_o 4780 echo "$as_me:$LINENO: result: $compiler_c_o" >&54781 echo "${ECHO_T}$compiler_c_o" >&6 5503 { $as_echo "$as_me:$LINENO: result: $compiler_c_o" >&5 5504 $as_echo "$compiler_c_o" >&6; } 4782 5505 4783 5506 if test x"$compiler_c_o" = x"yes"; then 4784 5507 # Check to see if we can write to a .lo 4785 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&54786 echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6 5508 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5 5509 $as_echo_n "checking if $compiler supports -c -o file.lo... " >&6; } 4787 5510 if test "${lt_cv_compiler_o_lo+set}" = set; then 4788 echo $ECHO_N "(cached) $ECHO_C" >&65511 $as_echo_n "(cached) " >&6 4789 5512 else 4790 5513 … … 4810 5533 _ACEOF 4811 5534 rm -f conftest.$ac_objext 4812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4813 (eval $ac_compile) 2>conftest.er1 5535 if { (ac_try="$ac_compile" 5536 case "(($ac_try" in 5537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5538 *) ac_try_echo=$ac_try;; 5539 esac 5540 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5541 $as_echo "$ac_try_echo") >&5 5542 (eval "$ac_compile") 2>conftest.er1 4814 5543 ac_status=$? 4815 5544 grep -v '^ *+' conftest.er1 >conftest.err 4816 5545 rm -f conftest.er1 4817 5546 cat conftest.err >&5 4818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4819 (exit $ac_status); } && 4820 { ac_try='test -z "$ac_c_werror_flag" 4821 || test ! -s conftest.err' 4822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4823 (eval $ac_try) 2>&5 4824 ac_status=$? 4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4826 (exit $ac_status); }; } && 4827 { ac_try='test -s conftest.$ac_objext' 4828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4829 (eval $ac_try) 2>&5 4830 ac_status=$? 4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4832 (exit $ac_status); }; }; then 5547 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5548 (exit $ac_status); } && { 5549 test -z "$ac_c_werror_flag" || 5550 test ! -s conftest.err 5551 } && test -s conftest.$ac_objext; then 4833 5552 # The compiler can only warn and ignore the option if not recognized 4834 5553 # So say no if there are warnings … … 4840 5559 4841 5560 else 4842 echo "$as_me: failed program was:" >&55561 $as_echo "$as_me: failed program was:" >&5 4843 5562 sed 's/^/| /' conftest.$ac_ext >&5 4844 5563 4845 fi 4846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5564 5565 fi 5566 5567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4847 5568 ac_objext="$save_objext" 4848 5569 CFLAGS="$save_CFLAGS" … … 4851 5572 4852 5573 compiler_o_lo=$lt_cv_compiler_o_lo 4853 echo "$as_me:$LINENO: result: $compiler_o_lo" >&54854 echo "${ECHO_T}$compiler_o_lo" >&6 5574 { $as_echo "$as_me:$LINENO: result: $compiler_o_lo" >&5 5575 $as_echo "$compiler_o_lo" >&6; } 4855 5576 else 4856 5577 compiler_o_lo=no … … 4865 5586 if test "$compiler_c_o" = no && test "$need_locks" != no; then 4866 5587 # do not overwrite the value of need_locks provided by the user 4867 echo "$as_me:$LINENO: checking if we can lock with hard links" >&54868 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 5588 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 5589 $as_echo_n "checking if we can lock with hard links... " >&6; } 4869 5590 hard_links=yes 4870 5591 $rm conftest* … … 4873 5594 ln conftest.a conftest.b 2>&5 || hard_links=no 4874 5595 ln conftest.a conftest.b 2>/dev/null && hard_links=no 4875 echo "$as_me:$LINENO: result: $hard_links" >&54876 echo "${ECHO_T}$hard_links" >&6 5596 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 5597 $as_echo "$hard_links" >&6; } 4877 5598 if test "$hard_links" = no; then 4878 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&54879 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}5599 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 5600 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 4880 5601 need_locks=warn 4881 5602 fi … … 4890 5611 if test "$GCC" = yes; then 4891 5612 # Check to see if options -fno-rtti -fno-exceptions are supported by compiler 4892 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&54893 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 5613 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 5614 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 4894 5615 echo "int some_variable = 0;" > conftest.$ac_ext 4895 5616 save_CFLAGS="$CFLAGS" … … 4912 5633 _ACEOF 4913 5634 rm -f conftest.$ac_objext 4914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4915 (eval $ac_compile) 2>conftest.er1 5635 if { (ac_try="$ac_compile" 5636 case "(($ac_try" in 5637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5638 *) ac_try_echo=$ac_try;; 5639 esac 5640 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5641 $as_echo "$ac_try_echo") >&5 5642 (eval "$ac_compile") 2>conftest.er1 4916 5643 ac_status=$? 4917 5644 grep -v '^ *+' conftest.er1 >conftest.err 4918 5645 rm -f conftest.er1 4919 5646 cat conftest.err >&5 4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4921 (exit $ac_status); } && 4922 { ac_try='test -z "$ac_c_werror_flag" 4923 || test ! -s conftest.err' 4924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4925 (eval $ac_try) 2>&5 4926 ac_status=$? 4927 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4928 (exit $ac_status); }; } && 4929 { ac_try='test -s conftest.$ac_objext' 4930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4931 (eval $ac_try) 2>&5 4932 ac_status=$? 4933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4934 (exit $ac_status); }; }; then 5647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5648 (exit $ac_status); } && { 5649 test -z "$ac_c_werror_flag" || 5650 test ! -s conftest.err 5651 } && test -s conftest.$ac_objext; then 4935 5652 # The compiler can only warn and ignore the option if not recognized 4936 5653 # So say no if there are warnings … … 4942 5659 4943 5660 else 4944 echo "$as_me: failed program was:" >&55661 $as_echo "$as_me: failed program was:" >&5 4945 5662 sed 's/^/| /' conftest.$ac_ext >&5 4946 5663 4947 fi 4948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5664 5665 fi 5666 5667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4949 5668 CFLAGS="$save_CFLAGS" 4950 echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&54951 echo "${ECHO_T}$compiler_rtti_exceptions" >&6 5669 { $as_echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5 5670 $as_echo "$compiler_rtti_exceptions" >&6; } 4952 5671 4953 5672 if test "$compiler_rtti_exceptions" = "yes"; then … … 4963 5682 ## 4964 5683 # See if the linker supports building shared libraries. 4965 echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&54966 echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6 5684 { $as_echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5 5685 $as_echo_n "checking whether the linker ($LD) supports shared libraries... " >&6; } 4967 5686 4968 5687 allow_undefined_flag= … … 5643 6362 esac 5644 6363 fi 5645 echo "$as_me:$LINENO: result: $ld_shlibs" >&55646 echo "${ECHO_T}$ld_shlibs" >&6 6364 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 6365 $as_echo "$ld_shlibs" >&6; } 5647 6366 test "$ld_shlibs" = no && can_build_shared=no 5648 6367 ## … … 5652 6371 ## 5653 6372 # Check hardcoding attributes. 5654 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&55655 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 6373 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 6374 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } 5656 6375 hardcode_action= 5657 6376 if test -n "$hardcode_libdir_flag_spec" || \ … … 5676 6395 hardcode_action=unsupported 5677 6396 fi 5678 echo "$as_me:$LINENO: result: $hardcode_action" >&55679 echo "${ECHO_T}$hardcode_action" >&6 6397 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 6398 $as_echo "$hardcode_action" >&6; } 5680 6399 ## 5681 6400 ## END FIXME … … 5685 6404 striplib= 5686 6405 old_striplib= 5687 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&55688 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 6406 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 6407 $as_echo_n "checking whether stripping libraries is possible... " >&6; } 5689 6408 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 5690 6409 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 5691 6410 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 5692 echo "$as_me:$LINENO: result: yes" >&55693 echo "${ECHO_T}yes" >&6 5694 else 5695 echo "$as_me:$LINENO: result: no" >&55696 echo "${ECHO_T}no" >&6 6411 { $as_echo "$as_me:$LINENO: result: yes" >&5 6412 $as_echo "yes" >&6; } 6413 else 6414 { $as_echo "$as_me:$LINENO: result: no" >&5 6415 $as_echo "no" >&6; } 5697 6416 fi 5698 6417 ## … … 5705 6424 ## 5706 6425 # PORTME Fill in your ld.so characteristics 5707 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&55708 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 6426 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 6427 $as_echo_n "checking dynamic linker characteristics... " >&6; } 5709 6428 library_names_spec= 5710 6429 libname_spec='lib$name' … … 6098 6817 ;; 6099 6818 esac 6100 echo "$as_me:$LINENO: result: $dynamic_linker" >&56101 echo "${ECHO_T}$dynamic_linker" >&6 6819 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 6820 $as_echo "$dynamic_linker" >&6; } 6102 6821 test "$dynamic_linker" = no && can_build_shared=no 6103 6822 ## … … 6107 6826 ## 6108 6827 # Report the final consequences. 6109 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&56110 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 6111 echo "$as_me:$LINENO: result: $can_build_shared" >&56112 echo "${ECHO_T}$can_build_shared" >&6 6828 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 6829 $as_echo_n "checking if libtool supports shared libraries... " >&6; } 6830 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 6831 $as_echo "$can_build_shared" >&6; } 6113 6832 ## 6114 6833 ## END FIXME … … 6116 6835 ## FIXME: this should be a separate macro 6117 6836 ## 6118 echo "$as_me:$LINENO: checking whether to build shared libraries" >&56119 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 6837 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 6838 $as_echo_n "checking whether to build shared libraries... " >&6; } 6120 6839 test "$can_build_shared" = "no" && enable_shared=no 6121 6840 … … 6137 6856 ;; 6138 6857 esac 6139 echo "$as_me:$LINENO: result: $enable_shared" >&56140 echo "${ECHO_T}$enable_shared" >&6 6858 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 6859 $as_echo "$enable_shared" >&6; } 6141 6860 ## 6142 6861 ## END FIXME … … 6144 6863 ## FIXME: this should be a separate macro 6145 6864 ## 6146 echo "$as_me:$LINENO: checking whether to build static libraries" >&56147 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 6865 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 6866 $as_echo_n "checking whether to build static libraries... " >&6; } 6148 6867 # Make sure either enable_shared or enable_static is yes. 6149 6868 test "$enable_shared" = yes || enable_static=yes 6150 echo "$as_me:$LINENO: result: $enable_static" >&56151 echo "${ECHO_T}$enable_static" >&6 6869 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5 6870 $as_echo "$enable_static" >&6; } 6152 6871 ## 6153 6872 ## END FIXME … … 6188 6907 6189 6908 *) 6190 echo "$as_me:$LINENO: checking for shl_load" >&56191 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 6909 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5 6910 $as_echo_n "checking for shl_load... " >&6; } 6192 6911 if test "${ac_cv_func_shl_load+set}" = set; then 6193 echo $ECHO_N "(cached) $ECHO_C" >&66912 $as_echo_n "(cached) " >&6 6194 6913 else 6195 6914 cat >conftest.$ac_ext <<_ACEOF … … 6216 6935 #undef shl_load 6217 6936 6218 /* Override any gcc2 internal prototype to avoid an error. */ 6937 /* Override any GCC internal prototype to avoid an error. 6938 Use char because int might match the return type of a GCC 6939 builtin and then its argument prototype would still apply. */ 6219 6940 #ifdef __cplusplus 6220 6941 extern "C" 6221 {6222 6942 #endif 6223 /* We use char because int might match the return type of a gcc26224 builtin and then its argument prototype would still apply. */6225 6943 char shl_load (); 6226 6944 /* The GNU C library defines this for functions which it implements 6227 6945 to always fail with ENOSYS. Some functions are actually named 6228 6946 something starting with __ and the normal name is an alias. */ 6229 #if defined (__stub_shl_load) || defined (__stub___shl_load)6947 #if defined __stub_shl_load || defined __stub___shl_load 6230 6948 choke me 6231 #else6232 char (*f) () = shl_load;6233 #endif6234 #ifdef __cplusplus6235 }6236 6949 #endif 6237 6950 … … 6239 6952 main () 6240 6953 { 6241 return f != shl_load;6954 return shl_load (); 6242 6955 ; 6243 6956 return 0; … … 6245 6958 _ACEOF 6246 6959 rm -f conftest.$ac_objext conftest$ac_exeext 6247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6248 (eval $ac_link) 2>conftest.er1 6960 if { (ac_try="$ac_link" 6961 case "(($ac_try" in 6962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6963 *) ac_try_echo=$ac_try;; 6964 esac 6965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6966 $as_echo "$ac_try_echo") >&5 6967 (eval "$ac_link") 2>conftest.er1 6249 6968 ac_status=$? 6250 6969 grep -v '^ *+' conftest.er1 >conftest.err 6251 6970 rm -f conftest.er1 6252 6971 cat conftest.err >&5 6253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6254 (exit $ac_status); } && 6255 { ac_try='test -z "$ac_c_werror_flag" 6256 || test ! -s conftest.err' 6257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6258 (eval $ac_try) 2>&5 6259 ac_status=$? 6260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6261 (exit $ac_status); }; } && 6262 { ac_try='test -s conftest$ac_exeext' 6263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6264 (eval $ac_try) 2>&5 6265 ac_status=$? 6266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6267 (exit $ac_status); }; }; then 6972 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6973 (exit $ac_status); } && { 6974 test -z "$ac_c_werror_flag" || 6975 test ! -s conftest.err 6976 } && test -s conftest$ac_exeext && { 6977 test "$cross_compiling" = yes || 6978 $as_test_x conftest$ac_exeext 6979 }; then 6268 6980 ac_cv_func_shl_load=yes 6269 6981 else 6270 echo "$as_me: failed program was:" >&56982 $as_echo "$as_me: failed program was:" >&5 6271 6983 sed 's/^/| /' conftest.$ac_ext >&5 6272 6984 6273 ac_cv_func_shl_load=no 6274 fi 6275 rm -f conftest.err conftest.$ac_objext \ 6985 ac_cv_func_shl_load=no 6986 fi 6987 6988 rm -rf conftest.dSYM 6989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6276 6990 conftest$ac_exeext conftest.$ac_ext 6277 6991 fi 6278 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&56279 echo "${ECHO_T}$ac_cv_func_shl_load" >&6 6280 if test $ac_cv_func_shl_load =yes; then6992 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 6993 $as_echo "$ac_cv_func_shl_load" >&6; } 6994 if test "x$ac_cv_func_shl_load" = x""yes; then 6281 6995 lt_cv_dlopen="shl_load" 6282 6996 else 6283 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&56284 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 6997 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 6998 $as_echo_n "checking for shl_load in -ldld... " >&6; } 6285 6999 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 6286 echo $ECHO_N "(cached) $ECHO_C" >&67000 $as_echo_n "(cached) " >&6 6287 7001 else 6288 7002 ac_check_lib_save_LIBS=$LIBS … … 6295 7009 /* end confdefs.h. */ 6296 7010 6297 /* Override any gcc2 internal prototype to avoid an error. */ 7011 /* Override any GCC internal prototype to avoid an error. 7012 Use char because int might match the return type of a GCC 7013 builtin and then its argument prototype would still apply. */ 6298 7014 #ifdef __cplusplus 6299 7015 extern "C" 6300 7016 #endif 6301 /* We use char because int might match the return type of a gcc26302 builtin and then its argument prototype would still apply. */6303 7017 char shl_load (); 6304 7018 int 6305 7019 main () 6306 7020 { 6307 shl_load ();7021 return shl_load (); 6308 7022 ; 6309 7023 return 0; … … 6311 7025 _ACEOF 6312 7026 rm -f conftest.$ac_objext conftest$ac_exeext 6313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6314 (eval $ac_link) 2>conftest.er1 7027 if { (ac_try="$ac_link" 7028 case "(($ac_try" in 7029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7030 *) ac_try_echo=$ac_try;; 7031 esac 7032 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7033 $as_echo "$ac_try_echo") >&5 7034 (eval "$ac_link") 2>conftest.er1 6315 7035 ac_status=$? 6316 7036 grep -v '^ *+' conftest.er1 >conftest.err 6317 7037 rm -f conftest.er1 6318 7038 cat conftest.err >&5 6319 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6320 (exit $ac_status); } && 6321 { ac_try='test -z "$ac_c_werror_flag" 6322 || test ! -s conftest.err' 6323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6324 (eval $ac_try) 2>&5 6325 ac_status=$? 6326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6327 (exit $ac_status); }; } && 6328 { ac_try='test -s conftest$ac_exeext' 6329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6330 (eval $ac_try) 2>&5 6331 ac_status=$? 6332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6333 (exit $ac_status); }; }; then 7039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7040 (exit $ac_status); } && { 7041 test -z "$ac_c_werror_flag" || 7042 test ! -s conftest.err 7043 } && test -s conftest$ac_exeext && { 7044 test "$cross_compiling" = yes || 7045 $as_test_x conftest$ac_exeext 7046 }; then 6334 7047 ac_cv_lib_dld_shl_load=yes 6335 7048 else 6336 echo "$as_me: failed program was:" >&57049 $as_echo "$as_me: failed program was:" >&5 6337 7050 sed 's/^/| /' conftest.$ac_ext >&5 6338 7051 6339 ac_cv_lib_dld_shl_load=no 6340 fi 6341 rm -f conftest.err conftest.$ac_objext \ 7052 ac_cv_lib_dld_shl_load=no 7053 fi 7054 7055 rm -rf conftest.dSYM 7056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6342 7057 conftest$ac_exeext conftest.$ac_ext 6343 7058 LIBS=$ac_check_lib_save_LIBS 6344 7059 fi 6345 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&56346 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 6347 if test $ac_cv_lib_dld_shl_load =yes; then7060 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 7061 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 7062 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 6348 7063 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" 6349 7064 else 6350 echo "$as_me:$LINENO: checking for dlopen" >&56351 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 7065 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5 7066 $as_echo_n "checking for dlopen... " >&6; } 6352 7067 if test "${ac_cv_func_dlopen+set}" = set; then 6353 echo $ECHO_N "(cached) $ECHO_C" >&67068 $as_echo_n "(cached) " >&6 6354 7069 else 6355 7070 cat >conftest.$ac_ext <<_ACEOF … … 6376 7091 #undef dlopen 6377 7092 6378 /* Override any gcc2 internal prototype to avoid an error. */ 7093 /* Override any GCC internal prototype to avoid an error. 7094 Use char because int might match the return type of a GCC 7095 builtin and then its argument prototype would still apply. */ 6379 7096 #ifdef __cplusplus 6380 7097 extern "C" 6381 {6382 7098 #endif 6383 /* We use char because int might match the return type of a gcc26384 builtin and then its argument prototype would still apply. */6385 7099 char dlopen (); 6386 7100 /* The GNU C library defines this for functions which it implements 6387 7101 to always fail with ENOSYS. Some functions are actually named 6388 7102 something starting with __ and the normal name is an alias. */ 6389 #if defined (__stub_dlopen) || defined (__stub___dlopen)7103 #if defined __stub_dlopen || defined __stub___dlopen 6390 7104 choke me 6391 #else6392 char (*f) () = dlopen;6393 #endif6394 #ifdef __cplusplus6395 }6396 7105 #endif 6397 7106 … … 6399 7108 main () 6400 7109 { 6401 return f != dlopen;7110 return dlopen (); 6402 7111 ; 6403 7112 return 0; … … 6405 7114 _ACEOF 6406 7115 rm -f conftest.$ac_objext conftest$ac_exeext 6407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6408 (eval $ac_link) 2>conftest.er1 7116 if { (ac_try="$ac_link" 7117 case "(($ac_try" in 7118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7119 *) ac_try_echo=$ac_try;; 7120 esac 7121 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7122 $as_echo "$ac_try_echo") >&5 7123 (eval "$ac_link") 2>conftest.er1 6409 7124 ac_status=$? 6410 7125 grep -v '^ *+' conftest.er1 >conftest.err 6411 7126 rm -f conftest.er1 6412 7127 cat conftest.err >&5 6413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6414 (exit $ac_status); } && 6415 { ac_try='test -z "$ac_c_werror_flag" 6416 || test ! -s conftest.err' 6417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6418 (eval $ac_try) 2>&5 6419 ac_status=$? 6420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6421 (exit $ac_status); }; } && 6422 { ac_try='test -s conftest$ac_exeext' 6423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6424 (eval $ac_try) 2>&5 6425 ac_status=$? 6426 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6427 (exit $ac_status); }; }; then 7128 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7129 (exit $ac_status); } && { 7130 test -z "$ac_c_werror_flag" || 7131 test ! -s conftest.err 7132 } && test -s conftest$ac_exeext && { 7133 test "$cross_compiling" = yes || 7134 $as_test_x conftest$ac_exeext 7135 }; then 6428 7136 ac_cv_func_dlopen=yes 6429 7137 else 6430 echo "$as_me: failed program was:" >&57138 $as_echo "$as_me: failed program was:" >&5 6431 7139 sed 's/^/| /' conftest.$ac_ext >&5 6432 7140 6433 ac_cv_func_dlopen=no 6434 fi 6435 rm -f conftest.err conftest.$ac_objext \ 7141 ac_cv_func_dlopen=no 7142 fi 7143 7144 rm -rf conftest.dSYM 7145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6436 7146 conftest$ac_exeext conftest.$ac_ext 6437 7147 fi 6438 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&56439 echo "${ECHO_T}$ac_cv_func_dlopen" >&6 6440 if test $ac_cv_func_dlopen =yes; then7148 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 7149 $as_echo "$ac_cv_func_dlopen" >&6; } 7150 if test "x$ac_cv_func_dlopen" = x""yes; then 6441 7151 lt_cv_dlopen="dlopen" 6442 7152 else 6443 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&56444 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 7153 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 7154 $as_echo_n "checking for dlopen in -ldl... " >&6; } 6445 7155 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 6446 echo $ECHO_N "(cached) $ECHO_C" >&67156 $as_echo_n "(cached) " >&6 6447 7157 else 6448 7158 ac_check_lib_save_LIBS=$LIBS … … 6455 7165 /* end confdefs.h. */ 6456 7166 6457 /* Override any gcc2 internal prototype to avoid an error. */ 7167 /* Override any GCC internal prototype to avoid an error. 7168 Use char because int might match the return type of a GCC 7169 builtin and then its argument prototype would still apply. */ 6458 7170 #ifdef __cplusplus 6459 7171 extern "C" 6460 7172 #endif 6461 /* We use char because int might match the return type of a gcc26462 builtin and then its argument prototype would still apply. */6463 7173 char dlopen (); 6464 7174 int 6465 7175 main () 6466 7176 { 6467 dlopen ();7177 return dlopen (); 6468 7178 ; 6469 7179 return 0; … … 6471 7181 _ACEOF 6472 7182 rm -f conftest.$ac_objext conftest$ac_exeext 6473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6474 (eval $ac_link) 2>conftest.er1 7183 if { (ac_try="$ac_link" 7184 case "(($ac_try" in 7185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7186 *) ac_try_echo=$ac_try;; 7187 esac 7188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7189 $as_echo "$ac_try_echo") >&5 7190 (eval "$ac_link") 2>conftest.er1 6475 7191 ac_status=$? 6476 7192 grep -v '^ *+' conftest.er1 >conftest.err 6477 7193 rm -f conftest.er1 6478 7194 cat conftest.err >&5 6479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6480 (exit $ac_status); } && 6481 { ac_try='test -z "$ac_c_werror_flag" 6482 || test ! -s conftest.err' 6483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6484 (eval $ac_try) 2>&5 6485 ac_status=$? 6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6487 (exit $ac_status); }; } && 6488 { ac_try='test -s conftest$ac_exeext' 6489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6490 (eval $ac_try) 2>&5 6491 ac_status=$? 6492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6493 (exit $ac_status); }; }; then 7195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7196 (exit $ac_status); } && { 7197 test -z "$ac_c_werror_flag" || 7198 test ! -s conftest.err 7199 } && test -s conftest$ac_exeext && { 7200 test "$cross_compiling" = yes || 7201 $as_test_x conftest$ac_exeext 7202 }; then 6494 7203 ac_cv_lib_dl_dlopen=yes 6495 7204 else 6496 echo "$as_me: failed program was:" >&57205 $as_echo "$as_me: failed program was:" >&5 6497 7206 sed 's/^/| /' conftest.$ac_ext >&5 6498 7207 6499 ac_cv_lib_dl_dlopen=no 6500 fi 6501 rm -f conftest.err conftest.$ac_objext \ 7208 ac_cv_lib_dl_dlopen=no 7209 fi 7210 7211 rm -rf conftest.dSYM 7212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6502 7213 conftest$ac_exeext conftest.$ac_ext 6503 7214 LIBS=$ac_check_lib_save_LIBS 6504 7215 fi 6505 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&56506 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 6507 if test $ac_cv_lib_dl_dlopen =yes; then7216 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 7217 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 7218 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 6508 7219 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 6509 7220 else 6510 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&56511 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 7221 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 7222 $as_echo_n "checking for dlopen in -lsvld... " >&6; } 6512 7223 if test "${ac_cv_lib_svld_dlopen+set}" = set; then 6513 echo $ECHO_N "(cached) $ECHO_C" >&67224 $as_echo_n "(cached) " >&6 6514 7225 else 6515 7226 ac_check_lib_save_LIBS=$LIBS … … 6522 7233 /* end confdefs.h. */ 6523 7234 6524 /* Override any gcc2 internal prototype to avoid an error. */ 7235 /* Override any GCC internal prototype to avoid an error. 7236 Use char because int might match the return type of a GCC 7237 builtin and then its argument prototype would still apply. */ 6525 7238 #ifdef __cplusplus 6526 7239 extern "C" 6527 7240 #endif 6528 /* We use char because int might match the return type of a gcc26529 builtin and then its argument prototype would still apply. */6530 7241 char dlopen (); 6531 7242 int 6532 7243 main () 6533 7244 { 6534 dlopen ();7245 return dlopen (); 6535 7246 ; 6536 7247 return 0; … … 6538 7249 _ACEOF 6539 7250 rm -f conftest.$ac_objext conftest$ac_exeext 6540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6541 (eval $ac_link) 2>conftest.er1 7251 if { (ac_try="$ac_link" 7252 case "(($ac_try" in 7253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7254 *) ac_try_echo=$ac_try;; 7255 esac 7256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7257 $as_echo "$ac_try_echo") >&5 7258 (eval "$ac_link") 2>conftest.er1 6542 7259 ac_status=$? 6543 7260 grep -v '^ *+' conftest.er1 >conftest.err 6544 7261 rm -f conftest.er1 6545 7262 cat conftest.err >&5 6546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6547 (exit $ac_status); } && 6548 { ac_try='test -z "$ac_c_werror_flag" 6549 || test ! -s conftest.err' 6550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6551 (eval $ac_try) 2>&5 6552 ac_status=$? 6553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6554 (exit $ac_status); }; } && 6555 { ac_try='test -s conftest$ac_exeext' 6556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6557 (eval $ac_try) 2>&5 6558 ac_status=$? 6559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6560 (exit $ac_status); }; }; then 7263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7264 (exit $ac_status); } && { 7265 test -z "$ac_c_werror_flag" || 7266 test ! -s conftest.err 7267 } && test -s conftest$ac_exeext && { 7268 test "$cross_compiling" = yes || 7269 $as_test_x conftest$ac_exeext 7270 }; then 6561 7271 ac_cv_lib_svld_dlopen=yes 6562 7272 else 6563 echo "$as_me: failed program was:" >&57273 $as_echo "$as_me: failed program was:" >&5 6564 7274 sed 's/^/| /' conftest.$ac_ext >&5 6565 7275 6566 ac_cv_lib_svld_dlopen=no 6567 fi 6568 rm -f conftest.err conftest.$ac_objext \ 7276 ac_cv_lib_svld_dlopen=no 7277 fi 7278 7279 rm -rf conftest.dSYM 7280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6569 7281 conftest$ac_exeext conftest.$ac_ext 6570 7282 LIBS=$ac_check_lib_save_LIBS 6571 7283 fi 6572 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&56573 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 6574 if test $ac_cv_lib_svld_dlopen =yes; then7284 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 7285 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } 7286 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then 6575 7287 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 6576 7288 else 6577 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&56578 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 7289 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 7290 $as_echo_n "checking for dld_link in -ldld... " >&6; } 6579 7291 if test "${ac_cv_lib_dld_dld_link+set}" = set; then 6580 echo $ECHO_N "(cached) $ECHO_C" >&67292 $as_echo_n "(cached) " >&6 6581 7293 else 6582 7294 ac_check_lib_save_LIBS=$LIBS … … 6589 7301 /* end confdefs.h. */ 6590 7302 6591 /* Override any gcc2 internal prototype to avoid an error. */ 7303 /* Override any GCC internal prototype to avoid an error. 7304 Use char because int might match the return type of a GCC 7305 builtin and then its argument prototype would still apply. */ 6592 7306 #ifdef __cplusplus 6593 7307 extern "C" 6594 7308 #endif 6595 /* We use char because int might match the return type of a gcc26596 builtin and then its argument prototype would still apply. */6597 7309 char dld_link (); 6598 7310 int 6599 7311 main () 6600 7312 { 6601 dld_link ();7313 return dld_link (); 6602 7314 ; 6603 7315 return 0; … … 6605 7317 _ACEOF 6606 7318 rm -f conftest.$ac_objext conftest$ac_exeext 6607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6608 (eval $ac_link) 2>conftest.er1 7319 if { (ac_try="$ac_link" 7320 case "(($ac_try" in 7321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7322 *) ac_try_echo=$ac_try;; 7323 esac 7324 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7325 $as_echo "$ac_try_echo") >&5 7326 (eval "$ac_link") 2>conftest.er1 6609 7327 ac_status=$? 6610 7328 grep -v '^ *+' conftest.er1 >conftest.err 6611 7329 rm -f conftest.er1 6612 7330 cat conftest.err >&5 6613 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6614 (exit $ac_status); } && 6615 { ac_try='test -z "$ac_c_werror_flag" 6616 || test ! -s conftest.err' 6617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6618 (eval $ac_try) 2>&5 6619 ac_status=$? 6620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6621 (exit $ac_status); }; } && 6622 { ac_try='test -s conftest$ac_exeext' 6623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6624 (eval $ac_try) 2>&5 6625 ac_status=$? 6626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6627 (exit $ac_status); }; }; then 7331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7332 (exit $ac_status); } && { 7333 test -z "$ac_c_werror_flag" || 7334 test ! -s conftest.err 7335 } && test -s conftest$ac_exeext && { 7336 test "$cross_compiling" = yes || 7337 $as_test_x conftest$ac_exeext 7338 }; then 6628 7339 ac_cv_lib_dld_dld_link=yes 6629 7340 else 6630 echo "$as_me: failed program was:" >&57341 $as_echo "$as_me: failed program was:" >&5 6631 7342 sed 's/^/| /' conftest.$ac_ext >&5 6632 7343 6633 ac_cv_lib_dld_dld_link=no 6634 fi 6635 rm -f conftest.err conftest.$ac_objext \ 7344 ac_cv_lib_dld_dld_link=no 7345 fi 7346 7347 rm -rf conftest.dSYM 7348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6636 7349 conftest$ac_exeext conftest.$ac_ext 6637 7350 LIBS=$ac_check_lib_save_LIBS 6638 7351 fi 6639 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&56640 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 6641 if test $ac_cv_lib_dld_dld_link =yes; then7352 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 7353 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } 7354 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then 6642 7355 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" 6643 7356 fi … … 6678 7391 LIBS="$lt_cv_dlopen_libs $LIBS" 6679 7392 6680 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&56681 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 7393 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 7394 $as_echo_n "checking whether a program can dlopen itself... " >&6; } 6682 7395 if test "${lt_cv_dlopen_self+set}" = set; then 6683 echo $ECHO_N "(cached) $ECHO_C" >&67396 $as_echo_n "(cached) " >&6 6684 7397 else 6685 7398 if test "$cross_compiling" = yes; then : … … 6689 7402 lt_status=$lt_dlunknown 6690 7403 cat > conftest.$ac_ext <<EOF 6691 #line 6691"configure"7404 #line 7404 "configure" 6692 7405 #include "confdefs.h" 6693 7406 … … 6753 7466 (eval $ac_link) 2>&5 6754 7467 ac_status=$? 6755 echo "$as_me:$LINENO: \$? = $ac_status" >&57468 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6756 7469 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 6757 7470 (./conftest; exit; ) 2>/dev/null … … 6771 7484 6772 7485 fi 6773 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&56774 echo "${ECHO_T}$lt_cv_dlopen_self" >&6 7486 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 7487 $as_echo "$lt_cv_dlopen_self" >&6; } 6775 7488 6776 7489 if test "x$lt_cv_dlopen_self" = xyes; then 6777 7490 LDFLAGS="$LDFLAGS $link_static_flag" 6778 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&56779 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 7491 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 7492 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 6780 7493 if test "${lt_cv_dlopen_self_static+set}" = set; then 6781 echo $ECHO_N "(cached) $ECHO_C" >&67494 $as_echo_n "(cached) " >&6 6782 7495 else 6783 7496 if test "$cross_compiling" = yes; then : … … 6787 7500 lt_status=$lt_dlunknown 6788 7501 cat > conftest.$ac_ext <<EOF 6789 #line 6789"configure"7502 #line 7502 "configure" 6790 7503 #include "confdefs.h" 6791 7504 … … 6851 7564 (eval $ac_link) 2>&5 6852 7565 ac_status=$? 6853 echo "$as_me:$LINENO: \$? = $ac_status" >&57566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6854 7567 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 6855 7568 (./conftest; exit; ) 2>/dev/null … … 6869 7582 6870 7583 fi 6871 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&56872 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 7584 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 7585 $as_echo "$lt_cv_dlopen_self_static" >&6; } 6873 7586 fi 6874 7587 … … 6902 7615 # systems, -lgcc has to come before -lc. If gcc already passes -lc 6903 7616 # to ld, don't add -lc before -lgcc. 6904 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&56905 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 7617 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 7618 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 6906 7619 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then 6907 echo $ECHO_N "(cached) $ECHO_C" >&67620 $as_echo_n "(cached) " >&6 6908 7621 else 6909 7622 $rm conftest* … … 6913 7626 (eval $ac_compile) 2>&5 6914 7627 ac_status=$? 6915 echo "$as_me:$LINENO: \$? = $ac_status" >&57628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6916 7629 (exit $ac_status); }; then 6917 7630 soname=conftest … … 6930 7643 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 6931 7644 ac_status=$? 6932 echo "$as_me:$LINENO: \$? = $ac_status" >&57645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6933 7646 (exit $ac_status); } 6934 7647 then … … 6943 7656 fi 6944 7657 6945 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&56946 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 7658 { $as_echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5 7659 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 6947 7660 ;; 6948 7661 esac … … 7520 8233 7521 8234 7522 7523 7524 8235 cat >>confdefs.h <<_ACEOF 7525 #define COMPAT32BITFLAGS $COMPAT32BITFLAGS7526 _ACEOF 7527 7528 7529 7530 7531 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&57532 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 8236 #define ARCH_DEP_FLAGS $ARCH_DEP_FLAGS 8237 _ACEOF 8238 8239 8240 8241 8242 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 8243 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 7533 8244 if test "${ac_cv_c_const+set}" = set; then 7534 echo $ECHO_N "(cached) $ECHO_C" >&68245 $as_echo_n "(cached) " >&6 7535 8246 else 7536 8247 cat >conftest.$ac_ext <<_ACEOF … … 7548 8259 /* Ultrix mips cc rejects this. */ 7549 8260 typedef int charset[2]; 7550 const charset x;8261 const charset cs; 7551 8262 /* SunOS 4.1.1 cc rejects this. */ 7552 char const *const * ccp;7553 char **p ;8263 char const *const *pcpcc; 8264 char **ppc; 7554 8265 /* NEC SVR4.0.2 mips cc rejects this. */ 7555 8266 struct point {int x, y;}; … … 7560 8271 expression */ 7561 8272 const char *g = "string"; 7562 ccp= &g + (g ? g-g : 0);8273 pcpcc = &g + (g ? g-g : 0); 7563 8274 /* HPUX 7.0 cc rejects these. */ 7564 ++ ccp;7565 p = (char**) ccp;7566 ccp = (char const *const *) p;8275 ++pcpcc; 8276 ppc = (char**) pcpcc; 8277 pcpcc = (char const *const *) ppc; 7567 8278 { /* SCO 3.2v4 cc rejects this. */ 7568 8279 char *t; … … 7570 8281 7571 8282 *t++ = 0; 8283 if (s) return 0; 7572 8284 } 7573 8285 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 7588 8300 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 7589 8301 const int foo = 10; 8302 if (!foo) return 0; 7590 8303 } 8304 return !cs[0] && !zero.x; 7591 8305 #endif 7592 8306 … … 7596 8310 _ACEOF 7597 8311 rm -f conftest.$ac_objext 7598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7599 (eval $ac_compile) 2>conftest.er1 8312 if { (ac_try="$ac_compile" 8313 case "(($ac_try" in 8314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8315 *) ac_try_echo=$ac_try;; 8316 esac 8317 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8318 $as_echo "$ac_try_echo") >&5 8319 (eval "$ac_compile") 2>conftest.er1 7600 8320 ac_status=$? 7601 8321 grep -v '^ *+' conftest.er1 >conftest.err 7602 8322 rm -f conftest.er1 7603 8323 cat conftest.err >&5 7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7605 (exit $ac_status); } && 7606 { ac_try='test -z "$ac_c_werror_flag" 7607 || test ! -s conftest.err' 7608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7609 (eval $ac_try) 2>&5 7610 ac_status=$? 7611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7612 (exit $ac_status); }; } && 7613 { ac_try='test -s conftest.$ac_objext' 7614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7615 (eval $ac_try) 2>&5 7616 ac_status=$? 7617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7618 (exit $ac_status); }; }; then 8324 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8325 (exit $ac_status); } && { 8326 test -z "$ac_c_werror_flag" || 8327 test ! -s conftest.err 8328 } && test -s conftest.$ac_objext; then 7619 8329 ac_cv_c_const=yes 7620 8330 else 7621 echo "$as_me: failed program was:" >&58331 $as_echo "$as_me: failed program was:" >&5 7622 8332 sed 's/^/| /' conftest.$ac_ext >&5 7623 8333 7624 ac_cv_c_const=no 7625 fi 7626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7627 fi 7628 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 7629 echo "${ECHO_T}$ac_cv_c_const" >&6 8334 ac_cv_c_const=no 8335 fi 8336 8337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8338 fi 8339 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 8340 $as_echo "$ac_cv_c_const" >&6; } 7630 8341 if test $ac_cv_c_const = no; then 7631 8342 7632 8343 cat >>confdefs.h <<\_ACEOF 7633 #define const 8344 #define const /**/ 7634 8345 _ACEOF 7635 8346 … … 7645 8356 for ac_header in stdlib.h string.h sys/file.h unistd.h fcntl.h sys/types.h memory.y 7646 8357 do 7647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7648 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7649 echo "$as_me:$LINENO: checking for $ac_header" >&5 7650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7651 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7652 echo $ECHO_N "(cached) $ECHO_C" >&6 7653 fi 7654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7655 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8358 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8359 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8360 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8361 $as_echo_n "checking for $ac_header... " >&6; } 8362 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8363 $as_echo_n "(cached) " >&6 8364 fi 8365 ac_res=`eval 'as_val=${'$as_ac_Header'} 8366 $as_echo "$as_val"'` 8367 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8368 $as_echo "$ac_res" >&6; } 7656 8369 else 7657 8370 # Is the header compilable? 7658 echo "$as_me:$LINENO: checking $ac_header usability" >&57659 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 8371 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 8372 $as_echo_n "checking $ac_header usability... " >&6; } 7660 8373 cat >conftest.$ac_ext <<_ACEOF 7661 8374 /* confdefs.h. */ … … 7668 8381 _ACEOF 7669 8382 rm -f conftest.$ac_objext 7670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7671 (eval $ac_compile) 2>conftest.er1 8383 if { (ac_try="$ac_compile" 8384 case "(($ac_try" in 8385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8386 *) ac_try_echo=$ac_try;; 8387 esac 8388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8389 $as_echo "$ac_try_echo") >&5 8390 (eval "$ac_compile") 2>conftest.er1 7672 8391 ac_status=$? 7673 8392 grep -v '^ *+' conftest.er1 >conftest.err 7674 8393 rm -f conftest.er1 7675 8394 cat conftest.err >&5 7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7677 (exit $ac_status); } && 7678 { ac_try='test -z "$ac_c_werror_flag" 7679 || test ! -s conftest.err' 7680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7681 (eval $ac_try) 2>&5 7682 ac_status=$? 7683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7684 (exit $ac_status); }; } && 7685 { ac_try='test -s conftest.$ac_objext' 7686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7687 (eval $ac_try) 2>&5 7688 ac_status=$? 7689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7690 (exit $ac_status); }; }; then 8395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8396 (exit $ac_status); } && { 8397 test -z "$ac_c_werror_flag" || 8398 test ! -s conftest.err 8399 } && test -s conftest.$ac_objext; then 7691 8400 ac_header_compiler=yes 7692 8401 else 7693 echo "$as_me: failed program was:" >&58402 $as_echo "$as_me: failed program was:" >&5 7694 8403 sed 's/^/| /' conftest.$ac_ext >&5 7695 8404 7696 ac_header_compiler=no 7697 fi 7698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7699 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7700 echo "${ECHO_T}$ac_header_compiler" >&6 8405 ac_header_compiler=no 8406 fi 8407 8408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8409 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8410 $as_echo "$ac_header_compiler" >&6; } 7701 8411 7702 8412 # Is the header present? 7703 echo "$as_me:$LINENO: checking $ac_header presence" >&57704 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 8413 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 8414 $as_echo_n "checking $ac_header presence... " >&6; } 7705 8415 cat >conftest.$ac_ext <<_ACEOF 7706 8416 /* confdefs.h. */ … … 7711 8421 #include <$ac_header> 7712 8422 _ACEOF 7713 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7714 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8423 if { (ac_try="$ac_cpp conftest.$ac_ext" 8424 case "(($ac_try" in 8425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8426 *) ac_try_echo=$ac_try;; 8427 esac 8428 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8429 $as_echo "$ac_try_echo") >&5 8430 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7715 8431 ac_status=$? 7716 8432 grep -v '^ *+' conftest.er1 >conftest.err 7717 8433 rm -f conftest.er1 7718 8434 cat conftest.err >&5 7719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7720 (exit $ac_status); } >/dev/null; then 7721 if test -s conftest.err; then 7722 ac_cpp_err=$ac_c_preproc_warn_flag 7723 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7724 else 7725 ac_cpp_err= 7726 fi 7727 else 7728 ac_cpp_err=yes 7729 fi 7730 if test -z "$ac_cpp_err"; then 8435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8436 (exit $ac_status); } >/dev/null && { 8437 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8438 test ! -s conftest.err 8439 }; then 7731 8440 ac_header_preproc=yes 7732 8441 else 7733 echo "$as_me: failed program was:" >&58442 $as_echo "$as_me: failed program was:" >&5 7734 8443 sed 's/^/| /' conftest.$ac_ext >&5 7735 8444 7736 8445 ac_header_preproc=no 7737 8446 fi 8447 7738 8448 rm -f conftest.err conftest.$ac_ext 7739 echo "$as_me:$LINENO: result: $ac_header_preproc" >&57740 echo "${ECHO_T}$ac_header_preproc" >&6 8449 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8450 $as_echo "$ac_header_preproc" >&6; } 7741 8451 7742 8452 # So? What about this header? 7743 8453 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7744 8454 yes:no: ) 7745 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&57746 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}7747 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&57748 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}8455 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8456 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8457 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8458 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7749 8459 ac_header_preproc=yes 7750 8460 ;; 7751 8461 no:yes:* ) 7752 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7753 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7754 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7755 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7756 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7757 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7758 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7759 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7760 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7761 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7762 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7763 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7764 ( 7765 cat <<\_ASBOX 7766 ## ------------------------------- ## 7767 ## Report this to the gdbm lists. ## 7768 ## ------------------------------- ## 7769 _ASBOX 7770 ) | 7771 sed "s/^/$as_me: WARNING: /" >&2 8462 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8463 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8464 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8465 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8466 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8467 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8468 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8469 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8470 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8471 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8472 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8473 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8474 7772 8475 ;; 7773 8476 esac 7774 echo "$as_me:$LINENO: checking for $ac_header" >&57775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7776 if eval "test \"\${$as_ac_Header+set}\" = set"; then7777 echo $ECHO_N "(cached) $ECHO_C" >&68477 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8478 $as_echo_n "checking for $ac_header... " >&6; } 8479 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8480 $as_echo_n "(cached) " >&6 7778 8481 else 7779 8482 eval "$as_ac_Header=\$ac_header_preproc" 7780 8483 fi 7781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7783 7784 fi 7785 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8484 ac_res=`eval 'as_val=${'$as_ac_Header'} 8485 $as_echo "$as_val"'` 8486 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8487 $as_echo "$ac_res" >&6; } 8488 8489 fi 8490 as_val=`eval 'as_val=${'$as_ac_Header'} 8491 $as_echo "$as_val"'` 8492 if test "x$as_val" = x""yes; then 7786 8493 cat >>confdefs.h <<_ACEOF 7787 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 18494 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7788 8495 _ACEOF 7789 8496 … … 7793 8500 7794 8501 7795 echo "$as_me:$LINENO: checking for main in -ldbm" >&57796 echo $ECHO_N "checking for main in -ldbm... $ECHO_C" >&6 8502 { $as_echo "$as_me:$LINENO: checking for main in -ldbm" >&5 8503 $as_echo_n "checking for main in -ldbm... " >&6; } 7797 8504 if test "${ac_cv_lib_dbm_main+set}" = set; then 7798 echo $ECHO_N "(cached) $ECHO_C" >&68505 $as_echo_n "(cached) " >&6 7799 8506 else 7800 8507 ac_check_lib_save_LIBS=$LIBS … … 7811 8518 main () 7812 8519 { 7813 main ();8520 return main (); 7814 8521 ; 7815 8522 return 0; … … 7817 8524 _ACEOF 7818 8525 rm -f conftest.$ac_objext conftest$ac_exeext 7819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7820 (eval $ac_link) 2>conftest.er1 8526 if { (ac_try="$ac_link" 8527 case "(($ac_try" in 8528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8529 *) ac_try_echo=$ac_try;; 8530 esac 8531 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8532 $as_echo "$ac_try_echo") >&5 8533 (eval "$ac_link") 2>conftest.er1 7821 8534 ac_status=$? 7822 8535 grep -v '^ *+' conftest.er1 >conftest.err 7823 8536 rm -f conftest.er1 7824 8537 cat conftest.err >&5 7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7826 (exit $ac_status); } && 7827 { ac_try='test -z "$ac_c_werror_flag" 7828 || test ! -s conftest.err' 7829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7830 (eval $ac_try) 2>&5 7831 ac_status=$? 7832 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7833 (exit $ac_status); }; } && 7834 { ac_try='test -s conftest$ac_exeext' 7835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7836 (eval $ac_try) 2>&5 7837 ac_status=$? 7838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7839 (exit $ac_status); }; }; then 8538 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8539 (exit $ac_status); } && { 8540 test -z "$ac_c_werror_flag" || 8541 test ! -s conftest.err 8542 } && test -s conftest$ac_exeext && { 8543 test "$cross_compiling" = yes || 8544 $as_test_x conftest$ac_exeext 8545 }; then 7840 8546 ac_cv_lib_dbm_main=yes 7841 8547 else 7842 echo "$as_me: failed program was:" >&58548 $as_echo "$as_me: failed program was:" >&5 7843 8549 sed 's/^/| /' conftest.$ac_ext >&5 7844 8550 7845 ac_cv_lib_dbm_main=no 7846 fi 7847 rm -f conftest.err conftest.$ac_objext \ 8551 ac_cv_lib_dbm_main=no 8552 fi 8553 8554 rm -rf conftest.dSYM 8555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7848 8556 conftest$ac_exeext conftest.$ac_ext 7849 8557 LIBS=$ac_check_lib_save_LIBS 7850 8558 fi 7851 echo "$as_me:$LINENO: result: $ac_cv_lib_dbm_main" >&57852 echo "${ECHO_T}$ac_cv_lib_dbm_main" >&6 7853 if test $ac_cv_lib_dbm_main =yes; then8559 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dbm_main" >&5 8560 $as_echo "$ac_cv_lib_dbm_main" >&6; } 8561 if test "x$ac_cv_lib_dbm_main" = x""yes; then 7854 8562 cat >>confdefs.h <<_ACEOF 7855 8563 #define HAVE_LIBDBM 1 … … 7861 8569 7862 8570 7863 echo "$as_me:$LINENO: checking for main in -lndbm" >&57864 echo $ECHO_N "checking for main in -lndbm... $ECHO_C" >&6 8571 { $as_echo "$as_me:$LINENO: checking for main in -lndbm" >&5 8572 $as_echo_n "checking for main in -lndbm... " >&6; } 7865 8573 if test "${ac_cv_lib_ndbm_main+set}" = set; then 7866 echo $ECHO_N "(cached) $ECHO_C" >&68574 $as_echo_n "(cached) " >&6 7867 8575 else 7868 8576 ac_check_lib_save_LIBS=$LIBS … … 7879 8587 main () 7880 8588 { 7881 main ();8589 return main (); 7882 8590 ; 7883 8591 return 0; … … 7885 8593 _ACEOF 7886 8594 rm -f conftest.$ac_objext conftest$ac_exeext 7887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7888 (eval $ac_link) 2>conftest.er1 8595 if { (ac_try="$ac_link" 8596 case "(($ac_try" in 8597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8598 *) ac_try_echo=$ac_try;; 8599 esac 8600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8601 $as_echo "$ac_try_echo") >&5 8602 (eval "$ac_link") 2>conftest.er1 7889 8603 ac_status=$? 7890 8604 grep -v '^ *+' conftest.er1 >conftest.err 7891 8605 rm -f conftest.er1 7892 8606 cat conftest.err >&5 7893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7894 (exit $ac_status); } && 7895 { ac_try='test -z "$ac_c_werror_flag" 7896 || test ! -s conftest.err' 7897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7898 (eval $ac_try) 2>&5 7899 ac_status=$? 7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7901 (exit $ac_status); }; } && 7902 { ac_try='test -s conftest$ac_exeext' 7903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7904 (eval $ac_try) 2>&5 7905 ac_status=$? 7906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7907 (exit $ac_status); }; }; then 8607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8608 (exit $ac_status); } && { 8609 test -z "$ac_c_werror_flag" || 8610 test ! -s conftest.err 8611 } && test -s conftest$ac_exeext && { 8612 test "$cross_compiling" = yes || 8613 $as_test_x conftest$ac_exeext 8614 }; then 7908 8615 ac_cv_lib_ndbm_main=yes 7909 8616 else 7910 echo "$as_me: failed program was:" >&58617 $as_echo "$as_me: failed program was:" >&5 7911 8618 sed 's/^/| /' conftest.$ac_ext >&5 7912 8619 7913 ac_cv_lib_ndbm_main=no 7914 fi 7915 rm -f conftest.err conftest.$ac_objext \ 8620 ac_cv_lib_ndbm_main=no 8621 fi 8622 8623 rm -rf conftest.dSYM 8624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7916 8625 conftest$ac_exeext conftest.$ac_ext 7917 8626 LIBS=$ac_check_lib_save_LIBS 7918 8627 fi 7919 echo "$as_me:$LINENO: result: $ac_cv_lib_ndbm_main" >&57920 echo "${ECHO_T}$ac_cv_lib_ndbm_main" >&6 7921 if test $ac_cv_lib_ndbm_main =yes; then8628 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ndbm_main" >&5 8629 $as_echo "$ac_cv_lib_ndbm_main" >&6; } 8630 if test "x$ac_cv_lib_ndbm_main" = x""yes; then 7922 8631 cat >>confdefs.h <<_ACEOF 7923 8632 #define HAVE_LIBNDBM 1 … … 7935 8644 for ac_func in rename ftruncate flock bcopy fsync 7936 8645 do 7937 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`7938 echo "$as_me:$LINENO: checking for $ac_func" >&57939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7940 if eval "test \"\${$as_ac_var+set}\" = set"; then7941 echo $ECHO_N "(cached) $ECHO_C" >&68646 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8647 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 8648 $as_echo_n "checking for $ac_func... " >&6; } 8649 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 8650 $as_echo_n "(cached) " >&6 7942 8651 else 7943 8652 cat >conftest.$ac_ext <<_ACEOF … … 7964 8673 #undef $ac_func 7965 8674 7966 /* Override any gcc2 internal prototype to avoid an error. */ 8675 /* Override any GCC internal prototype to avoid an error. 8676 Use char because int might match the return type of a GCC 8677 builtin and then its argument prototype would still apply. */ 7967 8678 #ifdef __cplusplus 7968 8679 extern "C" 7969 {7970 8680 #endif 7971 /* We use char because int might match the return type of a gcc27972 builtin and then its argument prototype would still apply. */7973 8681 char $ac_func (); 7974 8682 /* The GNU C library defines this for functions which it implements 7975 8683 to always fail with ENOSYS. Some functions are actually named 7976 8684 something starting with __ and the normal name is an alias. */ 7977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)8685 #if defined __stub_$ac_func || defined __stub___$ac_func 7978 8686 choke me 7979 #else7980 char (*f) () = $ac_func;7981 #endif7982 #ifdef __cplusplus7983 }7984 8687 #endif 7985 8688 … … 7987 8690 main () 7988 8691 { 7989 return f != $ac_func;8692 return $ac_func (); 7990 8693 ; 7991 8694 return 0; … … 7993 8696 _ACEOF 7994 8697 rm -f conftest.$ac_objext conftest$ac_exeext 7995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7996 (eval $ac_link) 2>conftest.er1 8698 if { (ac_try="$ac_link" 8699 case "(($ac_try" in 8700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8701 *) ac_try_echo=$ac_try;; 8702 esac 8703 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8704 $as_echo "$ac_try_echo") >&5 8705 (eval "$ac_link") 2>conftest.er1 7997 8706 ac_status=$? 7998 8707 grep -v '^ *+' conftest.er1 >conftest.err 7999 8708 rm -f conftest.er1 8000 8709 cat conftest.err >&5 8001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8002 (exit $ac_status); } && 8003 { ac_try='test -z "$ac_c_werror_flag" 8004 || test ! -s conftest.err' 8005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8006 (eval $ac_try) 2>&5 8007 ac_status=$? 8008 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8009 (exit $ac_status); }; } && 8010 { ac_try='test -s conftest$ac_exeext' 8011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8012 (eval $ac_try) 2>&5 8013 ac_status=$? 8014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8015 (exit $ac_status); }; }; then 8710 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8711 (exit $ac_status); } && { 8712 test -z "$ac_c_werror_flag" || 8713 test ! -s conftest.err 8714 } && test -s conftest$ac_exeext && { 8715 test "$cross_compiling" = yes || 8716 $as_test_x conftest$ac_exeext 8717 }; then 8016 8718 eval "$as_ac_var=yes" 8017 8719 else 8018 echo "$as_me: failed program was:" >&58720 $as_echo "$as_me: failed program was:" >&5 8019 8721 sed 's/^/| /' conftest.$ac_ext >&5 8020 8722 8021 eval "$as_ac_var=no" 8022 fi 8023 rm -f conftest.err conftest.$ac_objext \ 8723 eval "$as_ac_var=no" 8724 fi 8725 8726 rm -rf conftest.dSYM 8727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8024 8728 conftest$ac_exeext conftest.$ac_ext 8025 8729 fi 8026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8028 if test `eval echo '${'$as_ac_var'}'` = yes; then 8730 ac_res=`eval 'as_val=${'$as_ac_var'} 8731 $as_echo "$as_val"'` 8732 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8733 $as_echo "$ac_res" >&6; } 8734 as_val=`eval 'as_val=${'$as_ac_var'} 8735 $as_echo "$as_val"'` 8736 if test "x$as_val" = x""yes; then 8029 8737 cat >>confdefs.h <<_ACEOF 8030 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 18738 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8031 8739 _ACEOF 8032 8740 … … 8037 8745 for ac_func in getopt 8038 8746 do 8039 as_ac_var=` echo "ac_cv_func_$ac_func" | $as_tr_sh`8040 echo "$as_me:$LINENO: checking for $ac_func" >&58041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8042 if eval "test \"\${$as_ac_var+set}\" = set"; then8043 echo $ECHO_N "(cached) $ECHO_C" >&68747 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8748 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 8749 $as_echo_n "checking for $ac_func... " >&6; } 8750 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 8751 $as_echo_n "(cached) " >&6 8044 8752 else 8045 8753 cat >conftest.$ac_ext <<_ACEOF … … 8066 8774 #undef $ac_func 8067 8775 8068 /* Override any gcc2 internal prototype to avoid an error. */ 8776 /* Override any GCC internal prototype to avoid an error. 8777 Use char because int might match the return type of a GCC 8778 builtin and then its argument prototype would still apply. */ 8069 8779 #ifdef __cplusplus 8070 8780 extern "C" 8071 {8072 8781 #endif 8073 /* We use char because int might match the return type of a gcc28074 builtin and then its argument prototype would still apply. */8075 8782 char $ac_func (); 8076 8783 /* The GNU C library defines this for functions which it implements 8077 8784 to always fail with ENOSYS. Some functions are actually named 8078 8785 something starting with __ and the normal name is an alias. */ 8079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)8786 #if defined __stub_$ac_func || defined __stub___$ac_func 8080 8787 choke me 8081 #else8082 char (*f) () = $ac_func;8083 #endif8084 #ifdef __cplusplus8085 }8086 8788 #endif 8087 8789 … … 8089 8791 main () 8090 8792 { 8091 return f != $ac_func;8793 return $ac_func (); 8092 8794 ; 8093 8795 return 0; … … 8095 8797 _ACEOF 8096 8798 rm -f conftest.$ac_objext conftest$ac_exeext 8097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8098 (eval $ac_link) 2>conftest.er1 8799 if { (ac_try="$ac_link" 8800 case "(($ac_try" in 8801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8802 *) ac_try_echo=$ac_try;; 8803 esac 8804 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8805 $as_echo "$ac_try_echo") >&5 8806 (eval "$ac_link") 2>conftest.er1 8099 8807 ac_status=$? 8100 8808 grep -v '^ *+' conftest.er1 >conftest.err 8101 8809 rm -f conftest.er1 8102 8810 cat conftest.err >&5 8103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8104 (exit $ac_status); } && 8105 { ac_try='test -z "$ac_c_werror_flag" 8106 || test ! -s conftest.err' 8107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8108 (eval $ac_try) 2>&5 8109 ac_status=$? 8110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8111 (exit $ac_status); }; } && 8112 { ac_try='test -s conftest$ac_exeext' 8113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8114 (eval $ac_try) 2>&5 8115 ac_status=$? 8116 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8117 (exit $ac_status); }; }; then 8811 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8812 (exit $ac_status); } && { 8813 test -z "$ac_c_werror_flag" || 8814 test ! -s conftest.err 8815 } && test -s conftest$ac_exeext && { 8816 test "$cross_compiling" = yes || 8817 $as_test_x conftest$ac_exeext 8818 }; then 8118 8819 eval "$as_ac_var=yes" 8119 8820 else 8120 echo "$as_me: failed program was:" >&58821 $as_echo "$as_me: failed program was:" >&5 8121 8822 sed 's/^/| /' conftest.$ac_ext >&5 8122 8823 8123 eval "$as_ac_var=no" 8124 fi 8125 rm -f conftest.err conftest.$ac_objext \ 8824 eval "$as_ac_var=no" 8825 fi 8826 8827 rm -rf conftest.dSYM 8828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8126 8829 conftest$ac_exeext conftest.$ac_ext 8127 8830 fi 8128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8130 if test `eval echo '${'$as_ac_var'}'` = yes; then 8831 ac_res=`eval 'as_val=${'$as_ac_var'} 8832 $as_echo "$as_val"'` 8833 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8834 $as_echo "$ac_res" >&6; } 8835 as_val=`eval 'as_val=${'$as_ac_var'} 8836 $as_echo "$as_val"'` 8837 if test "x$as_val" = x""yes; then 8131 8838 cat >>confdefs.h <<_ACEOF 8132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8133 _ACEOF 8134 8135 else 8136 case $LIBOBJS in 8137 "$ac_func.$ac_objext" | \ 8138 *" $ac_func.$ac_objext" | \ 8139 "$ac_func.$ac_objext "* | \ 8839 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8840 _ACEOF 8841 8842 else 8843 case " $LIBOBJS " in 8140 8844 *" $ac_func.$ac_objext "* ) ;; 8141 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; 8845 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 8846 ;; 8142 8847 esac 8143 8848 … … 8146 8851 8147 8852 8148 echo "$as_me:$LINENO: checking for off_t" >&58149 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 8853 { $as_echo "$as_me:$LINENO: checking for off_t" >&5 8854 $as_echo_n "checking for off_t... " >&6; } 8150 8855 if test "${ac_cv_type_off_t+set}" = set; then 8151 echo $ECHO_N "(cached) $ECHO_C" >&6 8152 else 8153 cat >conftest.$ac_ext <<_ACEOF 8856 $as_echo_n "(cached) " >&6 8857 else 8858 ac_cv_type_off_t=no 8859 cat >conftest.$ac_ext <<_ACEOF 8154 8860 /* confdefs.h. */ 8155 8861 _ACEOF … … 8161 8867 main () 8162 8868 { 8163 if ((off_t *) 0)8164 return 0;8165 8869 if (sizeof (off_t)) 8166 return 0;8870 return 0; 8167 8871 ; 8168 8872 return 0; … … 8170 8874 _ACEOF 8171 8875 rm -f conftest.$ac_objext 8172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8173 (eval $ac_compile) 2>conftest.er1 8876 if { (ac_try="$ac_compile" 8877 case "(($ac_try" in 8878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8879 *) ac_try_echo=$ac_try;; 8880 esac 8881 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8882 $as_echo "$ac_try_echo") >&5 8883 (eval "$ac_compile") 2>conftest.er1 8174 8884 ac_status=$? 8175 8885 grep -v '^ *+' conftest.er1 >conftest.err 8176 8886 rm -f conftest.er1 8177 8887 cat conftest.err >&5 8178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8179 (exit $ac_status); } && 8180 { ac_try='test -z "$ac_c_werror_flag" 8181 || test ! -s conftest.err' 8182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8183 (eval $ac_try) 2>&5 8888 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8889 (exit $ac_status); } && { 8890 test -z "$ac_c_werror_flag" || 8891 test ! -s conftest.err 8892 } && test -s conftest.$ac_objext; then 8893 cat >conftest.$ac_ext <<_ACEOF 8894 /* confdefs.h. */ 8895 _ACEOF 8896 cat confdefs.h >>conftest.$ac_ext 8897 cat >>conftest.$ac_ext <<_ACEOF 8898 /* end confdefs.h. */ 8899 $ac_includes_default 8900 int 8901 main () 8902 { 8903 if (sizeof ((off_t))) 8904 return 0; 8905 ; 8906 return 0; 8907 } 8908 _ACEOF 8909 rm -f conftest.$ac_objext 8910 if { (ac_try="$ac_compile" 8911 case "(($ac_try" in 8912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8913 *) ac_try_echo=$ac_try;; 8914 esac 8915 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8916 $as_echo "$ac_try_echo") >&5 8917 (eval "$ac_compile") 2>conftest.er1 8184 8918 ac_status=$? 8185 echo "$as_me:$LINENO: \$? = $ac_status" >&58186 (exit $ac_status); }; } &&8187 { ac_try='test -s conftest.$ac_objext' 8188 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&58189 (e val $ac_try) 2>&58190 ac_status=$? 8191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8192 (exit $ac_status); }; }; then8193 ac_cv_type_off_t=yes8194 else 8195 echo "$as_me: failed program was:" >&58919 grep -v '^ *+' conftest.er1 >conftest.err 8920 rm -f conftest.er1 8921 cat conftest.err >&5 8922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8923 (exit $ac_status); } && { 8924 test -z "$ac_c_werror_flag" || 8925 test ! -s conftest.err 8926 } && test -s conftest.$ac_objext; then 8927 : 8928 else 8929 $as_echo "$as_me: failed program was:" >&5 8196 8930 sed 's/^/| /' conftest.$ac_ext >&5 8197 8931 8198 ac_cv_type_off_t=no 8199 fi 8200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8201 fi 8202 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 8203 echo "${ECHO_T}$ac_cv_type_off_t" >&6 8204 if test $ac_cv_type_off_t = yes; then 8932 ac_cv_type_off_t=yes 8933 fi 8934 8935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8936 else 8937 $as_echo "$as_me: failed program was:" >&5 8938 sed 's/^/| /' conftest.$ac_ext >&5 8939 8940 8941 fi 8942 8943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8944 fi 8945 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 8946 $as_echo "$ac_cv_type_off_t" >&6; } 8947 if test "x$ac_cv_type_off_t" = x""yes; then 8205 8948 : 8206 8949 else 8207 8950 8208 8951 cat >>confdefs.h <<_ACEOF 8209 #define off_t long 8210 _ACEOF 8211 8212 fi 8213 8214 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&58215 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6 8952 #define off_t long int 8953 _ACEOF 8954 8955 fi 8956 8957 { $as_echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5 8958 $as_echo_n "checking for struct stat.st_blksize... " >&6; } 8216 8959 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then 8217 echo $ECHO_N "(cached) $ECHO_C" >&68960 $as_echo_n "(cached) " >&6 8218 8961 else 8219 8962 cat >conftest.$ac_ext <<_ACEOF … … 8235 8978 _ACEOF 8236 8979 rm -f conftest.$ac_objext 8237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8238 (eval $ac_compile) 2>conftest.er1 8980 if { (ac_try="$ac_compile" 8981 case "(($ac_try" in 8982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8983 *) ac_try_echo=$ac_try;; 8984 esac 8985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8986 $as_echo "$ac_try_echo") >&5 8987 (eval "$ac_compile") 2>conftest.er1 8239 8988 ac_status=$? 8240 8989 grep -v '^ *+' conftest.er1 >conftest.err 8241 8990 rm -f conftest.er1 8242 8991 cat conftest.err >&5 8243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8244 (exit $ac_status); } && 8245 { ac_try='test -z "$ac_c_werror_flag" 8246 || test ! -s conftest.err' 8247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8248 (eval $ac_try) 2>&5 8249 ac_status=$? 8250 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8251 (exit $ac_status); }; } && 8252 { ac_try='test -s conftest.$ac_objext' 8253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8254 (eval $ac_try) 2>&5 8255 ac_status=$? 8256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8257 (exit $ac_status); }; }; then 8992 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8993 (exit $ac_status); } && { 8994 test -z "$ac_c_werror_flag" || 8995 test ! -s conftest.err 8996 } && test -s conftest.$ac_objext; then 8258 8997 ac_cv_member_struct_stat_st_blksize=yes 8259 8998 else 8260 echo "$as_me: failed program was:" >&58999 $as_echo "$as_me: failed program was:" >&5 8261 9000 sed 's/^/| /' conftest.$ac_ext >&5 8262 9001 8263 cat >conftest.$ac_ext <<_ACEOF9002 cat >conftest.$ac_ext <<_ACEOF 8264 9003 /* confdefs.h. */ 8265 9004 _ACEOF … … 8279 9018 _ACEOF 8280 9019 rm -f conftest.$ac_objext 8281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8282 (eval $ac_compile) 2>conftest.er1 9020 if { (ac_try="$ac_compile" 9021 case "(($ac_try" in 9022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9023 *) ac_try_echo=$ac_try;; 9024 esac 9025 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9026 $as_echo "$ac_try_echo") >&5 9027 (eval "$ac_compile") 2>conftest.er1 8283 9028 ac_status=$? 8284 9029 grep -v '^ *+' conftest.er1 >conftest.err 8285 9030 rm -f conftest.er1 8286 9031 cat conftest.err >&5 8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8288 (exit $ac_status); } && 8289 { ac_try='test -z "$ac_c_werror_flag" 8290 || test ! -s conftest.err' 8291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8292 (eval $ac_try) 2>&5 8293 ac_status=$? 8294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8295 (exit $ac_status); }; } && 8296 { ac_try='test -s conftest.$ac_objext' 8297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8298 (eval $ac_try) 2>&5 8299 ac_status=$? 8300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8301 (exit $ac_status); }; }; then 9032 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9033 (exit $ac_status); } && { 9034 test -z "$ac_c_werror_flag" || 9035 test ! -s conftest.err 9036 } && test -s conftest.$ac_objext; then 8302 9037 ac_cv_member_struct_stat_st_blksize=yes 8303 9038 else 8304 echo "$as_me: failed program was:" >&59039 $as_echo "$as_me: failed program was:" >&5 8305 9040 sed 's/^/| /' conftest.$ac_ext >&5 8306 9041 8307 ac_cv_member_struct_stat_st_blksize=no 8308 fi 8309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8310 fi 8311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8312 fi 8313 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5 8314 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6 8315 if test $ac_cv_member_struct_stat_st_blksize = yes; then 9042 ac_cv_member_struct_stat_st_blksize=no 9043 fi 9044 9045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9046 fi 9047 9048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9049 fi 9050 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5 9051 $as_echo "$ac_cv_member_struct_stat_st_blksize" >&6; } 9052 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then 8316 9053 8317 9054 cat >>confdefs.h <<_ACEOF … … 8322 9059 fi 8323 9060 8324 9061 ac_config_files="$ac_config_files Makefile" 8325 9062 8326 9063 cat >confcache <<\_ACEOF … … 8342 9079 # The following way of writing the cache mishandles newlines in values, 8343 9080 # but we know of no workaround that is simple, portable, and efficient. 8344 # So, don't put newlines in cache variables' values.9081 # So, we kill variables containing newlines. 8345 9082 # Ultrix sh set writes to stderr and can't be redirected directly, 8346 9083 # and sets the high bit in the cache file unless we assign to the vars. 8347 { 9084 ( 9085 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 9086 eval ac_val=\$$ac_var 9087 case $ac_val in #( 9088 *${as_nl}*) 9089 case $ac_var in #( 9090 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 9091 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 9092 esac 9093 case $ac_var in #( 9094 _ | IFS | as_nl) ;; #( 9095 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9096 *) $as_unset $ac_var ;; 9097 esac ;; 9098 esac 9099 done 9100 8348 9101 (set) 2>&1 | 8349 case `(ac_space=' '; set | grep ac_space) 2>&1` in8350 * ac_space=\ *)9102 case $as_nl`(ac_space=' '; set) 2>&1` in #( 9103 *${as_nl}ac_space=\ *) 8351 9104 # `set' does not quote correctly, so add quotes (double-quote 8352 9105 # substitution turns \\\\ into \\, and sed turns \\ into \). … … 8354 9107 "s/'/'\\\\''/g; 8355 9108 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 8356 ;; 9109 ;; #( 8357 9110 *) 8358 9111 # `set' quotes correctly as required by POSIX, so do not add quotes. 8359 sed -n \ 8360 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 9112 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 8361 9113 ;; 8362 esac; 8363 } | 9114 esac | 9115 sort 9116 ) | 8364 9117 sed ' 9118 /^ac_cv_env_/b end 8365 9119 t clear 8366 : 9120 :clear 8367 9121 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 8368 9122 t end 8369 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8370 : end' >>confcache 8371 if diff $cache_file confcache >/dev/null 2>&1; then :; else 8372 if test -w $cache_file; then 8373 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 9123 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 9124 :end' >>confcache 9125 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 9126 if test -w "$cache_file"; then 9127 test "x$cache_file" != "x/dev/null" && 9128 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 9129 $as_echo "$as_me: updating cache $cache_file" >&6;} 8374 9130 cat confcache >$cache_file 8375 9131 else 8376 echo "not updating unwritable cache $cache_file" 9132 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 9133 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8377 9134 fi 8378 9135 fi … … 8382 9139 # Let make expand exec_prefix. 8383 9140 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 8384 8385 # VPATH may cause trouble with some makes, so we remove $(srcdir),8386 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and8387 # trailing colons and then remove the whole line if VPATH becomes empty8388 # (actually we leave an empty line to preserve line numbers).8389 if test "x$srcdir" = x.; then8390 ac_vpsub='/^[ ]*VPATH[ ]*=/{8391 s/:*\$(srcdir):*/:/;8392 s/:*\${srcdir}:*/:/;8393 s/:*@srcdir@:*/:/;8394 s/^\([^=]*=[ ]*\):*/\1/;8395 s/:*$//;8396 s/^[^=]*=[ ]*$//;8397 }'8398 fi8399 9141 8400 9142 DEFS=-DHAVE_CONFIG_H … … 8404 9146 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 8405 9147 # 1. Remove the extension, and $U if already installed. 8406 ac_i=`echo "$ac_i" | 8407 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 8408 # 2. Add them. 8409 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 8410 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 9148 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 9149 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 9150 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 9151 # will be set to the directory where LIBOBJS objects are built. 9152 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9153 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 8411 9154 done 8412 9155 LIBOBJS=$ac_libobjs … … 8417 9160 8418 9161 : ${CONFIG_STATUS=./config.status} 9162 ac_write_fail=0 8419 9163 ac_clean_files_save=$ac_clean_files 8420 9164 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8421 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&58422 echo "$as_me: creating $CONFIG_STATUS" >&6;}8423 cat >$CONFIG_STATUS <<_ACEOF 9165 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 9166 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9167 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8424 9168 #! $SHELL 8425 9169 # Generated by $as_me. … … 8434 9178 _ACEOF 8435 9179 8436 cat >>$CONFIG_STATUS <<\_ACEOF 9180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8437 9181 ## --------------------- ## 8438 9182 ## M4sh Initialization. ## 8439 9183 ## --------------------- ## 8440 9184 8441 # Be Bourne compatible 9185 # Be more Bourne compatible 9186 DUALCASE=1; export DUALCASE # for MKS sh 8442 9187 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 8443 9188 emulate sh 8444 9189 NULLCMD=: 8445 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which9190 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 8446 9191 # is contrary to our usage. Disable this feature. 8447 9192 alias -g '${1+"$@"}'='"$@"' 8448 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 8449 set -o posix 8450 fi 8451 DUALCASE=1; export DUALCASE # for MKS sh 8452 8453 # Support unset when possible. 8454 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8455 as_unset=unset 8456 else 8457 as_unset=false 8458 fi 8459 8460 8461 # Work around bugs in pre-3.0 UWIN ksh. 8462 $as_unset ENV MAIL MAILPATH 8463 PS1='$ ' 8464 PS2='> ' 8465 PS4='+ ' 8466 8467 # NLS nuisances. 8468 for as_var in \ 8469 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 8470 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 8471 LC_TELEPHONE LC_TIME 8472 do 8473 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 8474 eval $as_var=C; export $as_var 8475 else 8476 $as_unset $as_var 8477 fi 8478 done 8479 8480 # Required to use basename. 8481 if expr a : '\(a\)' >/dev/null 2>&1; then 8482 as_expr=expr 8483 else 8484 as_expr=false 8485 fi 8486 8487 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 8488 as_basename=basename 8489 else 8490 as_basename=false 8491 fi 8492 8493 8494 # Name of the executable. 8495 as_me=`$as_basename "$0" || 8496 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8497 X"$0" : 'X\(//\)$' \| \ 8498 X"$0" : 'X\(/\)$' \| \ 8499 . : '\(.\)' 2>/dev/null || 8500 echo X/"$0" | 8501 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 8502 /^X\/\(\/\/\)$/{ s//\1/; q; } 8503 /^X\/\(\/\).*/{ s//\1/; q; } 8504 s/.*/./; q'` 8505 8506 8507 # PATH needs CR, and LINENO needs CR and PATH. 9193 setopt NO_GLOB_SUBST 9194 else 9195 case `(set -o) 2>/dev/null` in 9196 *posix*) set -o posix ;; 9197 esac 9198 9199 fi 9200 9201 9202 9203 9204 # PATH needs CR 8508 9205 # Avoid depending upon Character Ranges. 8509 9206 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 8513 9210 as_cr_alnum=$as_cr_Letters$as_cr_digits 8514 9211 9212 as_nl=' 9213 ' 9214 export as_nl 9215 # Printing a long string crashes Solaris 7 /usr/bin/printf. 9216 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 9217 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9218 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9219 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9220 as_echo='printf %s\n' 9221 as_echo_n='printf %s' 9222 else 9223 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 9224 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 9225 as_echo_n='/usr/ucb/echo -n' 9226 else 9227 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 9228 as_echo_n_body='eval 9229 arg=$1; 9230 case $arg in 9231 *"$as_nl"*) 9232 expr "X$arg" : "X\\(.*\\)$as_nl"; 9233 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 9234 esac; 9235 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 9236 ' 9237 export as_echo_n_body 9238 as_echo_n='sh -c $as_echo_n_body as_echo' 9239 fi 9240 export as_echo_body 9241 as_echo='sh -c $as_echo_body as_echo' 9242 fi 9243 8515 9244 # The user is always right. 8516 9245 if test "${PATH_SEPARATOR+set}" != set; then 8517 echo "#! /bin/sh" >conf$$.sh 8518 echo "exit 0" >>conf$$.sh 8519 chmod +x conf$$.sh 8520 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 8521 PATH_SEPARATOR=';' 8522 else 8523 PATH_SEPARATOR=: 8524 fi 8525 rm -f conf$$.sh 8526 fi 8527 8528 8529 as_lineno_1=$LINENO 8530 as_lineno_2=$LINENO 8531 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8532 test "x$as_lineno_1" != "x$as_lineno_2" && 8533 test "x$as_lineno_3" = "x$as_lineno_2" || { 8534 # Find who we are. Look in the path if we contain no path at all 8535 # relative or not. 8536 case $0 in 8537 *[\\/]* ) as_myself=$0 ;; 8538 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9246 PATH_SEPARATOR=: 9247 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 9248 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 9249 PATH_SEPARATOR=';' 9250 } 9251 fi 9252 9253 # Support unset when possible. 9254 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 9255 as_unset=unset 9256 else 9257 as_unset=false 9258 fi 9259 9260 9261 # IFS 9262 # We need space, tab and new line, in precisely that order. Quoting is 9263 # there to prevent editors from complaining about space-tab. 9264 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 9265 # splitting by setting IFS to empty value.) 9266 IFS=" "" $as_nl" 9267 9268 # Find who we are. Look in the path if we contain no directory separator. 9269 case $0 in 9270 *[\\/]* ) as_myself=$0 ;; 9271 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8539 9272 for as_dir in $PATH 8540 9273 do … … 8543 9276 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8544 9277 done 8545 8546 ;; 8547 esac 8548 # We did not find ourselves, most probably we were run as `sh COMMAND' 8549 # in which case we are not to be found in the path. 8550 if test "x$as_myself" = x; then 8551 as_myself=$0 8552 fi 8553 if test ! -f "$as_myself"; then 8554 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 8555 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 8556 { (exit 1); exit 1; }; } 8557 fi 8558 case $CONFIG_SHELL in 8559 '') 8560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8561 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 8562 do 8563 IFS=$as_save_IFS 8564 test -z "$as_dir" && as_dir=. 8565 for as_base in sh bash ksh sh5; do 8566 case $as_dir in 8567 /*) 8568 if ("$as_dir/$as_base" -c ' 9278 IFS=$as_save_IFS 9279 9280 ;; 9281 esac 9282 # We did not find ourselves, most probably we were run as `sh COMMAND' 9283 # in which case we are not to be found in the path. 9284 if test "x$as_myself" = x; then 9285 as_myself=$0 9286 fi 9287 if test ! -f "$as_myself"; then 9288 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9289 { (exit 1); exit 1; } 9290 fi 9291 9292 # Work around bugs in pre-3.0 UWIN ksh. 9293 for as_var in ENV MAIL MAILPATH 9294 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9295 done 9296 PS1='$ ' 9297 PS2='> ' 9298 PS4='+ ' 9299 9300 # NLS nuisances. 9301 LC_ALL=C 9302 export LC_ALL 9303 LANGUAGE=C 9304 export LANGUAGE 9305 9306 # Required to use basename. 9307 if expr a : '\(a\)' >/dev/null 2>&1 && 9308 test "X`expr 00001 : '.*\(...\)'`" = X001; then 9309 as_expr=expr 9310 else 9311 as_expr=false 9312 fi 9313 9314 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 9315 as_basename=basename 9316 else 9317 as_basename=false 9318 fi 9319 9320 9321 # Name of the executable. 9322 as_me=`$as_basename -- "$0" || 9323 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 9324 X"$0" : 'X\(//\)$' \| \ 9325 X"$0" : 'X\(/\)' \| . 2>/dev/null || 9326 $as_echo X/"$0" | 9327 sed '/^.*\/\([^/][^/]*\)\/*$/{ 9328 s//\1/ 9329 q 9330 } 9331 /^X\/\(\/\/\)$/{ 9332 s//\1/ 9333 q 9334 } 9335 /^X\/\(\/\).*/{ 9336 s//\1/ 9337 q 9338 } 9339 s/.*/./; q'` 9340 9341 # CDPATH. 9342 $as_unset CDPATH 9343 9344 9345 8569 9346 as_lineno_1=$LINENO 8570 9347 as_lineno_2=$LINENO 8571 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`8572 9348 test "x$as_lineno_1" != "x$as_lineno_2" && 8573 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 8574 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 8575 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 8576 CONFIG_SHELL=$as_dir/$as_base 8577 export CONFIG_SHELL 8578 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 8579 fi;; 8580 esac 8581 done 8582 done 8583 ;; 8584 esac 9349 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 8585 9350 8586 9351 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 8587 9352 # uniformly replaced by the line number. The first 'sed' inserts a 8588 # line-number line before each line; the second 'sed' does the real 8589 # work. The second script uses 'N' to pair each line-number line 8590 # with the numbered line, and appends trailing '-' during 8591 # substitution so that $LINENO is not a special case at line end. 9353 # line-number line after each line using $LINENO; the second 'sed' 9354 # does the real work. The second script uses 'N' to pair each 9355 # line-number line with the line containing $LINENO, and appends 9356 # trailing '-' during substitution so that $LINENO is not a special 9357 # case at line end. 8592 9358 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 8593 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 8594 sed '=' <$as_myself | 9359 # scripts with optimization help from Paolo Bonzini. Blame Lee 9360 # E. McMahon (1931-1989) for sed's syntax. :-) 9361 sed -n ' 9362 p 9363 /[$]LINENO/= 9364 ' <$as_myself | 8595 9365 sed ' 9366 s/[$]LINENO.*/&-/ 9367 t lineno 9368 b 9369 :lineno 8596 9370 N 8597 s,$,-, 8598 : loop 8599 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 9371 :loop 9372 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 8600 9373 t loop 8601 s,-$,, 8602 s,^['$as_cr_digits']*\n,, 9374 s/-\n.*// 8603 9375 ' >$as_me.lineno && 8604 chmod +x $as_me.lineno || 8605 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 8606 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 9376 chmod +x "$as_me.lineno" || 9377 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 8607 9378 { (exit 1); exit 1; }; } 8608 9379 8609 9380 # Don't try to exec as it changes $[0], causing all sort of problems 8610 9381 # (the dirname of $[0] is not the place where we might find the 8611 # original and so on. Autoconf is especially sensi ble to this).8612 . ./$as_me.lineno9382 # original and so on. Autoconf is especially sensitive to this). 9383 . "./$as_me.lineno" 8613 9384 # Exit status is that of the last command. 8614 9385 exit … … 8616 9387 8617 9388 8618 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 8619 *c*,-n*) ECHO_N= ECHO_C=' 8620 ' ECHO_T=' ' ;; 8621 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 8622 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 9389 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9390 as_dirname=dirname 9391 else 9392 as_dirname=false 9393 fi 9394 9395 ECHO_C= ECHO_N= ECHO_T= 9396 case `echo -n x` in 9397 -n*) 9398 case `echo 'x\c'` in 9399 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 9400 *) ECHO_C='\c';; 9401 esac;; 9402 *) 9403 ECHO_N='-n';; 8623 9404 esac 8624 8625 if expr a : '\(a\)' >/dev/null 2>&1; then9405 if expr a : '\(a\)' >/dev/null 2>&1 && 9406 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8626 9407 as_expr=expr 8627 9408 else … … 8630 9411 8631 9412 rm -f conf$$ conf$$.exe conf$$.file 8632 echo >conf$$.file 8633 if ln -s conf$$.file conf$$ 2>/dev/null; then 8634 # We could just check for DJGPP; but this test a) works b) is more generic 8635 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 8636 if test -f conf$$.exe; then 8637 # Don't use ln at all; we don't have any links 9413 if test -d conf$$.dir; then 9414 rm -f conf$$.dir/conf$$.file 9415 else 9416 rm -f conf$$.dir 9417 mkdir conf$$.dir 2>/dev/null 9418 fi 9419 if (echo >conf$$.file) 2>/dev/null; then 9420 if ln -s conf$$.file conf$$ 2>/dev/null; then 9421 as_ln_s='ln -s' 9422 # ... but there are two gotchas: 9423 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 9424 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 9425 # In both cases, we have to default to `cp -p'. 9426 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9427 as_ln_s='cp -p' 9428 elif ln conf$$.file conf$$ 2>/dev/null; then 9429 as_ln_s=ln 9430 else 8638 9431 as_ln_s='cp -p' 8639 else8640 as_ln_s='ln -s'8641 9432 fi 8642 elif ln conf$$.file conf$$ 2>/dev/null; then8643 as_ln_s=ln8644 9433 else 8645 9434 as_ln_s='cp -p' 8646 9435 fi 8647 rm -f conf$$ conf$$.exe conf$$.file 9436 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 9437 rmdir conf$$.dir 2>/dev/null 8648 9438 8649 9439 if mkdir -p . 2>/dev/null; then … … 8654 9444 fi 8655 9445 8656 as_executable_p="test -f" 9446 if test -x / >/dev/null 2>&1; then 9447 as_test_x='test -x' 9448 else 9449 if ls -dL / >/dev/null 2>&1; then 9450 as_ls_L_option=L 9451 else 9452 as_ls_L_option= 9453 fi 9454 as_test_x=' 9455 eval sh -c '\'' 9456 if test -d "$1"; then 9457 test -d "$1/."; 9458 else 9459 case $1 in 9460 -*)set "./$1";; 9461 esac; 9462 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 9463 ???[sx]*):;;*)false;;esac;fi 9464 '\'' sh 9465 ' 9466 fi 9467 as_executable_p=$as_test_x 8657 9468 8658 9469 # Sed expression to map a string onto a valid CPP name. … … 8663 9474 8664 9475 8665 # IFS8666 # We need space, tab and new line, in precisely that order.8667 as_nl='8668 '8669 IFS=" $as_nl"8670 8671 # CDPATH.8672 $as_unset CDPATH8673 8674 9476 exec 6>&1 8675 9477 8676 # Open the log real soon, to keep \$[0] and so on meaningful, and to9478 # Save the log message, to keep $[0] and so on meaningful, and to 8677 9479 # report actual input values of CONFIG_FILES etc. instead of their 8678 # values after options handling. Logging --version etc. is OK. 9480 # values after options handling. 9481 ac_log=" 9482 This file was extended by gdbm $as_me 1.8.3, which was 9483 generated by GNU Autoconf 2.63. Invocation command line was 9484 9485 CONFIG_FILES = $CONFIG_FILES 9486 CONFIG_HEADERS = $CONFIG_HEADERS 9487 CONFIG_LINKS = $CONFIG_LINKS 9488 CONFIG_COMMANDS = $CONFIG_COMMANDS 9489 $ $0 $@ 9490 9491 on `(hostname || uname -n) 2>/dev/null | sed 1q` 9492 " 9493 9494 _ACEOF 9495 9496 case $ac_config_files in *" 9497 "*) set x $ac_config_files; shift; ac_config_files=$*;; 9498 esac 9499 9500 case $ac_config_headers in *" 9501 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 9502 esac 9503 9504 9505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9506 # Files that config.status was made for. 9507 config_files="$ac_config_files" 9508 config_headers="$ac_config_headers" 9509 9510 _ACEOF 9511 9512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9513 ac_cs_usage="\ 9514 \`$as_me' instantiates files from templates according to the 9515 current configuration. 9516 9517 Usage: $0 [OPTION]... [FILE]... 9518 9519 -h, --help print this help, then exit 9520 -V, --version print version number and configuration settings, then exit 9521 -q, --quiet, --silent 9522 do not print progress messages 9523 -d, --debug don't remove temporary files 9524 --recheck update $as_me by reconfiguring in the same conditions 9525 --file=FILE[:TEMPLATE] 9526 instantiate the configuration file FILE 9527 --header=FILE[:TEMPLATE] 9528 instantiate the configuration header FILE 9529 9530 Configuration files: 9531 $config_files 9532 9533 Configuration headers: 9534 $config_headers 9535 9536 Report bugs to <[email protected]>." 9537 9538 _ACEOF 9539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9540 ac_cs_version="\\ 9541 gdbm config.status 1.8.3 9542 configured by $0, generated by GNU Autoconf 2.63, 9543 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 9544 9545 Copyright (C) 2008 Free Software Foundation, Inc. 9546 This config.status script is free software; the Free Software Foundation 9547 gives unlimited permission to copy, distribute and modify it." 9548 9549 ac_pwd='$ac_pwd' 9550 srcdir='$srcdir' 9551 INSTALL='$INSTALL' 9552 test -n "\$AWK" || AWK=awk 9553 _ACEOF 9554 9555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9556 # The default lists apply if the user does not specify any file. 9557 ac_need_defaults=: 9558 while test $# != 0 9559 do 9560 case $1 in 9561 --*=*) 9562 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9563 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9564 ac_shift=: 9565 ;; 9566 *) 9567 ac_option=$1 9568 ac_optarg=$2 9569 ac_shift=shift 9570 ;; 9571 esac 9572 9573 case $ac_option in 9574 # Handling of the options. 9575 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 9576 ac_cs_recheck=: ;; 9577 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9578 $as_echo "$ac_cs_version"; exit ;; 9579 --debug | --debu | --deb | --de | --d | -d ) 9580 debug=: ;; 9581 --file | --fil | --fi | --f ) 9582 $ac_shift 9583 case $ac_optarg in 9584 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9585 esac 9586 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 9587 ac_need_defaults=false;; 9588 --header | --heade | --head | --hea ) 9589 $ac_shift 9590 case $ac_optarg in 9591 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9592 esac 9593 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 9594 ac_need_defaults=false;; 9595 --he | --h) 9596 # Conflict between --help and --header 9597 { $as_echo "$as_me: error: ambiguous option: $1 9598 Try \`$0 --help' for more information." >&2 9599 { (exit 1); exit 1; }; };; 9600 --help | --hel | -h ) 9601 $as_echo "$ac_cs_usage"; exit ;; 9602 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9603 | -silent | --silent | --silen | --sile | --sil | --si | --s) 9604 ac_cs_silent=: ;; 9605 9606 # This is an error. 9607 -*) { $as_echo "$as_me: error: unrecognized option: $1 9608 Try \`$0 --help' for more information." >&2 9609 { (exit 1); exit 1; }; } ;; 9610 9611 *) ac_config_targets="$ac_config_targets $1" 9612 ac_need_defaults=false ;; 9613 9614 esac 9615 shift 9616 done 9617 9618 ac_configure_extra_args= 9619 9620 if $ac_cs_silent; then 9621 exec 6>/dev/null 9622 ac_configure_extra_args="$ac_configure_extra_args --silent" 9623 fi 9624 9625 _ACEOF 9626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9627 if \$ac_cs_recheck; then 9628 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9629 shift 9630 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 9631 CONFIG_SHELL='$SHELL' 9632 export CONFIG_SHELL 9633 exec "\$@" 9634 fi 9635 9636 _ACEOF 9637 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8679 9638 exec 5>>config.log 8680 9639 { … … 8683 9642 ## Running $as_me. ## 8684 9643 _ASBOX 9644 $as_echo "$ac_log" 8685 9645 } >&5 8686 cat >&5 <<_CSEOF 8687 8688 This file was extended by gdbm $as_me 1.8.3, which was 8689 generated by GNU Autoconf 2.59. Invocation command line was 8690 8691 CONFIG_FILES = $CONFIG_FILES 8692 CONFIG_HEADERS = $CONFIG_HEADERS 8693 CONFIG_LINKS = $CONFIG_LINKS 8694 CONFIG_COMMANDS = $CONFIG_COMMANDS 8695 $ $0 $@ 8696 8697 _CSEOF 8698 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 8699 echo >&5 8700 _ACEOF 8701 8702 # Files that config.status was made for. 8703 if test -n "$ac_config_files"; then 8704 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 8705 fi 8706 8707 if test -n "$ac_config_headers"; then 8708 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 8709 fi 8710 8711 if test -n "$ac_config_links"; then 8712 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 8713 fi 8714 8715 if test -n "$ac_config_commands"; then 8716 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 8717 fi 8718 8719 cat >>$CONFIG_STATUS <<\_ACEOF 8720 8721 ac_cs_usage="\ 8722 \`$as_me' instantiates files from templates according to the 8723 current configuration. 8724 8725 Usage: $0 [OPTIONS] [FILE]... 8726 8727 -h, --help print this help, then exit 8728 -V, --version print version number, then exit 8729 -q, --quiet do not print progress messages 8730 -d, --debug don't remove temporary files 8731 --recheck update $as_me by reconfiguring in the same conditions 8732 --file=FILE[:TEMPLATE] 8733 instantiate the configuration file FILE 8734 --header=FILE[:TEMPLATE] 8735 instantiate the configuration header FILE 8736 8737 Configuration files: 8738 $config_files 8739 8740 Configuration headers: 8741 $config_headers 8742 8743 Report bugs to <[email protected]>." 8744 _ACEOF 8745 8746 cat >>$CONFIG_STATUS <<_ACEOF 8747 ac_cs_version="\\ 8748 gdbm config.status 1.8.3 8749 configured by $0, generated by GNU Autoconf 2.59, 8750 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 8751 8752 Copyright (C) 2003 Free Software Foundation, Inc. 8753 This config.status script is free software; the Free Software Foundation 8754 gives unlimited permission to copy, distribute and modify it." 8755 srcdir=$srcdir 8756 INSTALL="$INSTALL" 8757 _ACEOF 8758 8759 cat >>$CONFIG_STATUS <<\_ACEOF 8760 # If no file are specified by the user, then we need to provide default 8761 # value. By we need to know if files were specified by the user. 8762 ac_need_defaults=: 8763 while test $# != 0 8764 do 8765 case $1 in 8766 --*=*) 8767 ac_option=`expr "x$1" : 'x\([^=]*\)='` 8768 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 8769 ac_shift=: 8770 ;; 8771 -*) 8772 ac_option=$1 8773 ac_optarg=$2 8774 ac_shift=shift 8775 ;; 8776 *) # This is not an option, so the user has probably given explicit 8777 # arguments. 8778 ac_option=$1 8779 ac_need_defaults=false;; 8780 esac 8781 8782 case $ac_option in 8783 # Handling of the options. 8784 _ACEOF 8785 cat >>$CONFIG_STATUS <<\_ACEOF 8786 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8787 ac_cs_recheck=: ;; 8788 --version | --vers* | -V ) 8789 echo "$ac_cs_version"; exit 0 ;; 8790 --he | --h) 8791 # Conflict between --help and --header 8792 { { echo "$as_me:$LINENO: error: ambiguous option: $1 8793 Try \`$0 --help' for more information." >&5 8794 echo "$as_me: error: ambiguous option: $1 8795 Try \`$0 --help' for more information." >&2;} 8796 { (exit 1); exit 1; }; };; 8797 --help | --hel | -h ) 8798 echo "$ac_cs_usage"; exit 0 ;; 8799 --debug | --d* | -d ) 8800 debug=: ;; 8801 --file | --fil | --fi | --f ) 8802 $ac_shift 8803 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 8804 ac_need_defaults=false;; 8805 --header | --heade | --head | --hea ) 8806 $ac_shift 8807 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 8808 ac_need_defaults=false;; 8809 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8810 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8811 ac_cs_silent=: ;; 8812 8813 # This is an error. 8814 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 8815 Try \`$0 --help' for more information." >&5 8816 echo "$as_me: error: unrecognized option: $1 8817 Try \`$0 --help' for more information." >&2;} 8818 { (exit 1); exit 1; }; } ;; 8819 8820 *) ac_config_targets="$ac_config_targets $1" ;; 8821 8822 esac 8823 shift 8824 done 8825 8826 ac_configure_extra_args= 8827 8828 if $ac_cs_silent; then 8829 exec 6>/dev/null 8830 ac_configure_extra_args="$ac_configure_extra_args --silent" 8831 fi 8832 8833 _ACEOF 8834 cat >>$CONFIG_STATUS <<_ACEOF 8835 if \$ac_cs_recheck; then 8836 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8837 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8838 fi 8839 8840 _ACEOF 8841 8842 8843 8844 8845 8846 cat >>$CONFIG_STATUS <<\_ACEOF 9646 9647 _ACEOF 9648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9649 _ACEOF 9650 9651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9652 9653 # Handling of arguments. 8847 9654 for ac_config_target in $ac_config_targets 8848 9655 do 8849 case "$ac_config_target"in8850 # Handling of arguments.8851 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;8852 "autoconf.h" ) CONFIG_HEADERS="$CONFIG_HEADERS autoconf.h" ;; 8853 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&58854 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}9656 case $ac_config_target in 9657 "autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS autoconf.h" ;; 9658 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 9659 9660 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 9661 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 8855 9662 { (exit 1); exit 1; }; };; 8856 9663 esac 8857 9664 done 9665 8858 9666 8859 9667 # If the user did not use the arguments to specify the items to instantiate, … … 8867 9675 8868 9676 # Have a temporary directory for convenience. Make it in the build tree 8869 # simply because there is no reason to putit here, and in addition,9677 # simply because there is no reason against having it here, and in addition, 8870 9678 # creating and moving files from /tmp can sometimes cause problems. 8871 # Create a temporary directory, and hook for its removal unless debugging. 9679 # Hook for its removal unless debugging. 9680 # Note that there is a small window in which the directory will not be cleaned: 9681 # after its creation but before its name has been assigned to `$tmp'. 8872 9682 $debug || 8873 9683 { 8874 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 9684 tmp= 9685 trap 'exit_status=$? 9686 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9687 ' 0 8875 9688 trap '{ (exit 1); exit 1; }' 1 2 13 15 8876 9689 } 8877 8878 9690 # Create a (secure) tmp directory for tmp files. 8879 9691 8880 9692 { 8881 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&9693 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8882 9694 test -n "$tmp" && test -d "$tmp" 8883 9695 } || 8884 9696 { 8885 tmp=./conf stat$$-$RANDOM8886 (umask 077 && mkdir $tmp)9697 tmp=./conf$$-$RANDOM 9698 (umask 077 && mkdir "$tmp") 8887 9699 } || 8888 9700 { 8889 echo "$me: cannot create a temporary directory in ." >&29701 $as_echo "$as_me: cannot create a temporary directory in ." >&2 8890 9702 { (exit 1); exit 1; } 8891 9703 } 8892 9704 8893 _ACEOF 8894 8895 cat >>$CONFIG_STATUS <<_ACEOF 8896 8897 # 8898 # CONFIG_FILES section. 8899 # 8900 8901 # No need to generate the scripts if there are no CONFIG_FILES. 8902 # This happens for instance when ./config.status config.h 8903 if test -n "\$CONFIG_FILES"; then 8904 # Protect against being on the right side of a sed subst in config.status. 8905 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 8906 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 8907 s,@SHELL@,$SHELL,;t t 8908 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 8909 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 8910 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 8911 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 8912 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 8913 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 8914 s,@exec_prefix@,$exec_prefix,;t t 8915 s,@prefix@,$prefix,;t t 8916 s,@program_transform_name@,$program_transform_name,;t t 8917 s,@bindir@,$bindir,;t t 8918 s,@sbindir@,$sbindir,;t t 8919 s,@libexecdir@,$libexecdir,;t t 8920 s,@datadir@,$datadir,;t t 8921 s,@sysconfdir@,$sysconfdir,;t t 8922 s,@sharedstatedir@,$sharedstatedir,;t t 8923 s,@localstatedir@,$localstatedir,;t t 8924 s,@libdir@,$libdir,;t t 8925 s,@includedir@,$includedir,;t t 8926 s,@oldincludedir@,$oldincludedir,;t t 8927 s,@infodir@,$infodir,;t t 8928 s,@mandir@,$mandir,;t t 8929 s,@build_alias@,$build_alias,;t t 8930 s,@host_alias@,$host_alias,;t t 8931 s,@target_alias@,$target_alias,;t t 8932 s,@DEFS@,$DEFS,;t t 8933 s,@ECHO_C@,$ECHO_C,;t t 8934 s,@ECHO_N@,$ECHO_N,;t t 8935 s,@ECHO_T@,$ECHO_T,;t t 8936 s,@LIBS@,$LIBS,;t t 8937 s,@build@,$build,;t t 8938 s,@build_cpu@,$build_cpu,;t t 8939 s,@build_vendor@,$build_vendor,;t t 8940 s,@build_os@,$build_os,;t t 8941 s,@host@,$host,;t t 8942 s,@host_cpu@,$host_cpu,;t t 8943 s,@host_vendor@,$host_vendor,;t t 8944 s,@host_os@,$host_os,;t t 8945 s,@target@,$target,;t t 8946 s,@target_cpu@,$target_cpu,;t t 8947 s,@target_vendor@,$target_vendor,;t t 8948 s,@target_os@,$target_os,;t t 8949 s,@CC@,$CC,;t t 8950 s,@CFLAGS@,$CFLAGS,;t t 8951 s,@LDFLAGS@,$LDFLAGS,;t t 8952 s,@CPPFLAGS@,$CPPFLAGS,;t t 8953 s,@ac_ct_CC@,$ac_ct_CC,;t t 8954 s,@EXEEXT@,$EXEEXT,;t t 8955 s,@OBJEXT@,$OBJEXT,;t t 8956 s,@CPP@,$CPP,;t t 8957 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 8958 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 8959 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 8960 s,@LN_S@,$LN_S,;t t 8961 s,@ECHO@,$ECHO,;t t 8962 s,@RANLIB@,$RANLIB,;t t 8963 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 8964 s,@STRIP@,$STRIP,;t t 8965 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 8966 s,@EGREP@,$EGREP,;t t 8967 s,@LIBTOOL@,$LIBTOOL,;t t 8968 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 8969 s,@LIBOBJS@,$LIBOBJS,;t t 8970 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 8971 CEOF 8972 8973 _ACEOF 8974 8975 cat >>$CONFIG_STATUS <<\_ACEOF 8976 # Split the substitutions into bite-sized pieces for seds with 8977 # small command number limits, like on Digital OSF/1 and HP-UX. 8978 ac_max_sed_lines=48 8979 ac_sed_frag=1 # Number of current file. 8980 ac_beg=1 # First line for current file. 8981 ac_end=$ac_max_sed_lines # Line after last line for current file. 8982 ac_more_lines=: 8983 ac_sed_cmds= 8984 while $ac_more_lines; do 8985 if test $ac_beg -gt 1; then 8986 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8987 else 8988 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 9705 # Set up the scripts for CONFIG_FILES section. 9706 # No need to generate them if there are no CONFIG_FILES. 9707 # This happens for instance with `./config.status config.h'. 9708 if test -n "$CONFIG_FILES"; then 9709 9710 9711 ac_cr=' 9712 ' 9713 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 9714 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 9715 ac_cs_awk_cr='\\r' 9716 else 9717 ac_cs_awk_cr=$ac_cr 9718 fi 9719 9720 echo 'BEGIN {' >"$tmp/subs1.awk" && 9721 _ACEOF 9722 9723 9724 { 9725 echo "cat >conf$$subs.awk <<_ACEOF" && 9726 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 9727 echo "_ACEOF" 9728 } >conf$$subs.sh || 9729 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9730 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9731 { (exit 1); exit 1; }; } 9732 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 9733 ac_delim='%!_!# ' 9734 for ac_last_try in false false false false false :; do 9735 . ./conf$$subs.sh || 9736 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9737 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9738 { (exit 1); exit 1; }; } 9739 9740 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 9741 if test $ac_delim_n = $ac_delim_num; then 9742 break 9743 elif $ac_last_try; then 9744 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 9745 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 9746 { (exit 1); exit 1; }; } 9747 else 9748 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9749 fi 9750 done 9751 rm -f conf$$subs.sh 9752 9753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9754 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 9755 _ACEOF 9756 sed -n ' 9757 h 9758 s/^/S["/; s/!.*/"]=/ 9759 p 9760 g 9761 s/^[^!]*!// 9762 :repl 9763 t repl 9764 s/'"$ac_delim"'$// 9765 t delim 9766 :nl 9767 h 9768 s/\(.\{148\}\).*/\1/ 9769 t more1 9770 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 9771 p 9772 n 9773 b repl 9774 :more1 9775 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9776 p 9777 g 9778 s/.\{148\}// 9779 t nl 9780 :delim 9781 h 9782 s/\(.\{148\}\).*/\1/ 9783 t more2 9784 s/["\\]/\\&/g; s/^/"/; s/$/"/ 9785 p 9786 b 9787 :more2 9788 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9789 p 9790 g 9791 s/.\{148\}// 9792 t delim 9793 ' <conf$$subs.awk | sed ' 9794 /^[^""]/{ 9795 N 9796 s/\n// 9797 } 9798 ' >>$CONFIG_STATUS || ac_write_fail=1 9799 rm -f conf$$subs.awk 9800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9801 _ACAWK 9802 cat >>"\$tmp/subs1.awk" <<_ACAWK && 9803 for (key in S) S_is_set[key] = 1 9804 FS = "" 9805 9806 } 9807 { 9808 line = $ 0 9809 nfields = split(line, field, "@") 9810 substed = 0 9811 len = length(field[1]) 9812 for (i = 2; i < nfields; i++) { 9813 key = field[i] 9814 keylen = length(key) 9815 if (S_is_set[key]) { 9816 value = S[key] 9817 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 9818 len += length(value) + length(field[++i]) 9819 substed = 1 9820 } else 9821 len += 1 + keylen 9822 } 9823 9824 print line 9825 } 9826 9827 _ACAWK 9828 _ACEOF 9829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9830 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9831 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 9832 else 9833 cat 9834 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 9835 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 9836 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 9837 { (exit 1); exit 1; }; } 9838 _ACEOF 9839 9840 # VPATH may cause trouble with some makes, so we remove $(srcdir), 9841 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9842 # trailing colons and then remove the whole line if VPATH becomes empty 9843 # (actually we leave an empty line to preserve line numbers). 9844 if test "x$srcdir" = x.; then 9845 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 9846 s/:*\$(srcdir):*/:/ 9847 s/:*\${srcdir}:*/:/ 9848 s/:*@srcdir@:*/:/ 9849 s/^\([^=]*=[ ]*\):*/\1/ 9850 s/:*$// 9851 s/^[^=]*=[ ]*$// 9852 }' 9853 fi 9854 9855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9856 fi # test -n "$CONFIG_FILES" 9857 9858 # Set up the scripts for CONFIG_HEADERS section. 9859 # No need to generate them if there are no CONFIG_HEADERS. 9860 # This happens for instance with `./config.status Makefile'. 9861 if test -n "$CONFIG_HEADERS"; then 9862 cat >"$tmp/defines.awk" <<\_ACAWK || 9863 BEGIN { 9864 _ACEOF 9865 9866 # Transform confdefs.h into an awk script `defines.awk', embedded as 9867 # here-document in config.status, that substitutes the proper values into 9868 # config.h.in to produce config.h. 9869 9870 # Create a delimiter string that does not exist in confdefs.h, to ease 9871 # handling of long lines. 9872 ac_delim='%!_!# ' 9873 for ac_last_try in false false :; do 9874 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 9875 if test -z "$ac_t"; then 9876 break 9877 elif $ac_last_try; then 9878 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 9879 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 9880 { (exit 1); exit 1; }; } 9881 else 9882 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9883 fi 9884 done 9885 9886 # For the awk script, D is an array of macro values keyed by name, 9887 # likewise P contains macro parameters if any. Preserve backslash 9888 # newline sequences. 9889 9890 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 9891 sed -n ' 9892 s/.\{148\}/&'"$ac_delim"'/g 9893 t rset 9894 :rset 9895 s/^[ ]*#[ ]*define[ ][ ]*/ / 9896 t def 9897 d 9898 :def 9899 s/\\$// 9900 t bsnl 9901 s/["\\]/\\&/g 9902 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9903 D["\1"]=" \3"/p 9904 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 9905 d 9906 :bsnl 9907 s/["\\]/\\&/g 9908 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9909 D["\1"]=" \3\\\\\\n"\\/p 9910 t cont 9911 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 9912 t cont 9913 d 9914 :cont 9915 n 9916 s/.\{148\}/&'"$ac_delim"'/g 9917 t clear 9918 :clear 9919 s/\\$// 9920 t bsnlc 9921 s/["\\]/\\&/g; s/^/"/; s/$/"/p 9922 d 9923 :bsnlc 9924 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 9925 b cont 9926 ' <confdefs.h | sed ' 9927 s/'"$ac_delim"'/"\\\ 9928 "/g' >>$CONFIG_STATUS || ac_write_fail=1 9929 9930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9931 for (key in D) D_is_set[key] = 1 9932 FS = "" 9933 } 9934 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 9935 line = \$ 0 9936 split(line, arg, " ") 9937 if (arg[1] == "#") { 9938 defundef = arg[2] 9939 mac1 = arg[3] 9940 } else { 9941 defundef = substr(arg[1], 2) 9942 mac1 = arg[2] 9943 } 9944 split(mac1, mac2, "(") #) 9945 macro = mac2[1] 9946 prefix = substr(line, 1, index(line, defundef) - 1) 9947 if (D_is_set[macro]) { 9948 # Preserve the white space surrounding the "#". 9949 print prefix "define", macro P[macro] D[macro] 9950 next 9951 } else { 9952 # Replace #undef with comments. This is necessary, for example, 9953 # in the case of _POSIX_SOURCE, which is predefined and required 9954 # on some systems where configure will not decide to define it. 9955 if (defundef == "undef") { 9956 print "/*", prefix defundef, macro, "*/" 9957 next 9958 } 9959 } 9960 } 9961 { print } 9962 _ACAWK 9963 _ACEOF 9964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9965 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 9966 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 9967 { (exit 1); exit 1; }; } 9968 fi # test -n "$CONFIG_HEADERS" 9969 9970 9971 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 9972 shift 9973 for ac_tag 9974 do 9975 case $ac_tag in 9976 :[FHLC]) ac_mode=$ac_tag; continue;; 9977 esac 9978 case $ac_mode$ac_tag in 9979 :[FHL]*:*);; 9980 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 9981 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 9982 { (exit 1); exit 1; }; };; 9983 :[FH]-) ac_tag=-:-;; 9984 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9985 esac 9986 ac_save_IFS=$IFS 9987 IFS=: 9988 set x $ac_tag 9989 IFS=$ac_save_IFS 9990 shift 9991 ac_file=$1 9992 shift 9993 9994 case $ac_mode in 9995 :L) ac_source=$1;; 9996 :[FH]) 9997 ac_file_inputs= 9998 for ac_f 9999 do 10000 case $ac_f in 10001 -) ac_f="$tmp/stdin";; 10002 *) # Look for the file first in the build tree, then in the source tree 10003 # (if the path is not absolute). The absolute path cannot be DOS-style, 10004 # because $ac_f cannot contain `:'. 10005 test -f "$ac_f" || 10006 case $ac_f in 10007 [\\/$]*) false;; 10008 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 10009 esac || 10010 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 10011 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 10012 { (exit 1); exit 1; }; };; 10013 esac 10014 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 10015 ac_file_inputs="$ac_file_inputs '$ac_f'" 10016 done 10017 10018 # Let's still pretend it is `configure' which instantiates (i.e., don't 10019 # use $as_me), people would be surprised to read: 10020 # /* config.h. Generated by config.status. */ 10021 configure_input='Generated from '` 10022 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 10023 `' by configure.' 10024 if test x"$ac_file" != x-; then 10025 configure_input="$ac_file. $configure_input" 10026 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 10027 $as_echo "$as_me: creating $ac_file" >&6;} 8989 10028 fi 8990 if test ! -s $tmp/subs.frag; then 8991 ac_more_lines=false 8992 else 8993 # The purpose of the label and of the branching condition is to 8994 # speed up the sed processing (if there are no `@' at all, there 8995 # is no need to browse any of the substitutions). 8996 # These are the two extra sed commands mentioned above. 8997 (echo ':t 8998 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 8999 if test -z "$ac_sed_cmds"; then 9000 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 9001 else 9002 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 9003 fi 9004 ac_sed_frag=`expr $ac_sed_frag + 1` 9005 ac_beg=$ac_end 9006 ac_end=`expr $ac_end + $ac_max_sed_lines` 9007 fi 9008 done 9009 if test -z "$ac_sed_cmds"; then 9010 ac_sed_cmds=cat 9011 fi 9012 fi # test -n "$CONFIG_FILES" 9013 9014 _ACEOF 9015 cat >>$CONFIG_STATUS <<\_ACEOF 9016 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 9017 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 9018 case $ac_file in 9019 - | *:- | *:-:* ) # input from stdin 9020 cat >$tmp/stdin 9021 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9022 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 9023 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9024 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 9025 * ) ac_file_in=$ac_file.in ;; 10029 # Neutralize special characters interpreted by sed in replacement strings. 10030 case $configure_input in #( 10031 *\&* | *\|* | *\\* ) 10032 ac_sed_conf_input=`$as_echo "$configure_input" | 10033 sed 's/[\\\\&|]/\\\\&/g'`;; #( 10034 *) ac_sed_conf_input=$configure_input;; 10035 esac 10036 10037 case $ac_tag in 10038 *:-:* | *:-) cat >"$tmp/stdin" \ 10039 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10040 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10041 { (exit 1); exit 1; }; } ;; 10042 esac 10043 ;; 9026 10044 esac 9027 10045 9028 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 9029 ac_dir=`(dirname "$ac_file") 2>/dev/null || 10046 ac_dir=`$as_dirname -- "$ac_file" || 9030 10047 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9031 10048 X"$ac_file" : 'X\(//\)[^/]' \| \ 9032 10049 X"$ac_file" : 'X\(//\)$' \| \ 9033 X"$ac_file" : 'X\(/\)' \| \ 9034 . : '\(.\)' 2>/dev/null || 9035 echo X"$ac_file" | 9036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9037 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9038 /^X\(\/\/\)$/{ s//\1/; q; } 9039 /^X\(\/\).*/{ s//\1/; q; } 9040 s/.*/./; q'` 9041 { if $as_mkdir_p; then 9042 mkdir -p "$ac_dir" 9043 else 9044 as_dir="$ac_dir" 10050 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 10051 $as_echo X"$ac_file" | 10052 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10053 s//\1/ 10054 q 10055 } 10056 /^X\(\/\/\)[^/].*/{ 10057 s//\1/ 10058 q 10059 } 10060 /^X\(\/\/\)$/{ 10061 s//\1/ 10062 q 10063 } 10064 /^X\(\/\).*/{ 10065 s//\1/ 10066 q 10067 } 10068 s/.*/./; q'` 10069 { as_dir="$ac_dir" 10070 case $as_dir in #( 10071 -*) as_dir=./$as_dir;; 10072 esac 10073 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 9045 10074 as_dirs= 9046 while test ! -d "$as_dir"; do 9047 as_dirs="$as_dir $as_dirs" 9048 as_dir=`(dirname "$as_dir") 2>/dev/null || 10075 while :; do 10076 case $as_dir in #( 10077 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10078 *) as_qdir=$as_dir;; 10079 esac 10080 as_dirs="'$as_qdir' $as_dirs" 10081 as_dir=`$as_dirname -- "$as_dir" || 9049 10082 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9050 10083 X"$as_dir" : 'X\(//\)[^/]' \| \ 9051 10084 X"$as_dir" : 'X\(//\)$' \| \ 9052 X"$as_dir" : 'X\(/\)' \| \ 9053 . : '\(.\)' 2>/dev/null || 9054 echo X"$as_dir" | 9055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9056 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9057 /^X\(\/\/\)$/{ s//\1/; q; } 9058 /^X\(\/\).*/{ s//\1/; q; } 9059 s/.*/./; q'` 10085 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10086 $as_echo X"$as_dir" | 10087 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10088 s//\1/ 10089 q 10090 } 10091 /^X\(\/\/\)[^/].*/{ 10092 s//\1/ 10093 q 10094 } 10095 /^X\(\/\/\)$/{ 10096 s//\1/ 10097 q 10098 } 10099 /^X\(\/\).*/{ 10100 s//\1/ 10101 q 10102 } 10103 s/.*/./; q'` 10104 test -d "$as_dir" && break 9060 10105 done 9061 test ! -n "$as_dirs" || mkdir $as_dirs9062 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&59063 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}10106 test -z "$as_dirs" || eval "mkdir $as_dirs" 10107 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10108 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 9064 10109 { (exit 1); exit 1; }; }; } 9065 9066 10110 ac_builddir=. 9067 10111 9068 if test "$ac_dir" != .; then 9069 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 9070 # A "../" for each directory in $ac_dir_suffix. 9071 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 9072 else 9073 ac_dir_suffix= ac_top_builddir= 9074 fi 10112 case "$ac_dir" in 10113 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10114 *) 10115 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 10116 # A ".." for each directory in $ac_dir_suffix. 10117 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 10118 case $ac_top_builddir_sub in 10119 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 10120 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 10121 esac ;; 10122 esac 10123 ac_abs_top_builddir=$ac_pwd 10124 ac_abs_builddir=$ac_pwd$ac_dir_suffix 10125 # for backward compatibility: 10126 ac_top_builddir=$ac_top_build_prefix 9075 10127 9076 10128 case $srcdir in 9077 .) # No --srcdir option.We are building in place.10129 .) # We are building in place. 9078 10130 ac_srcdir=. 9079 if test -z "$ac_top_builddir"; then 9080 ac_top_srcdir=. 9081 else 9082 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 9083 fi ;; 9084 [\\/]* | ?:[\\/]* ) # Absolute path. 10131 ac_top_srcdir=$ac_top_builddir_sub 10132 ac_abs_top_srcdir=$ac_pwd ;; 10133 [\\/]* | ?:[\\/]* ) # Absolute name. 9085 10134 ac_srcdir=$srcdir$ac_dir_suffix; 9086 ac_top_srcdir=$srcdir ;; 9087 *) # Relative path. 9088 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 9089 ac_top_srcdir=$ac_top_builddir$srcdir ;; 10135 ac_top_srcdir=$srcdir 10136 ac_abs_top_srcdir=$srcdir ;; 10137 *) # Relative name. 10138 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 10139 ac_top_srcdir=$ac_top_build_prefix$srcdir 10140 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 9090 10141 esac 9091 9092 # Do not use `cd foo && pwd` to compute absolute paths, because 9093 # the directories may not exist. 9094 case `pwd` in 9095 .) ac_abs_builddir="$ac_dir";; 9096 *) 9097 case "$ac_dir" in 9098 .) ac_abs_builddir=`pwd`;; 9099 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 9100 *) ac_abs_builddir=`pwd`/"$ac_dir";; 9101 esac;; 9102 esac 9103 case $ac_abs_builddir in 9104 .) ac_abs_top_builddir=${ac_top_builddir}.;; 9105 *) 9106 case ${ac_top_builddir}. in 9107 .) ac_abs_top_builddir=$ac_abs_builddir;; 9108 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 9109 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 9110 esac;; 9111 esac 9112 case $ac_abs_builddir in 9113 .) ac_abs_srcdir=$ac_srcdir;; 9114 *) 9115 case $ac_srcdir in 9116 .) ac_abs_srcdir=$ac_abs_builddir;; 9117 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 9118 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 9119 esac;; 9120 esac 9121 case $ac_abs_builddir in 9122 .) ac_abs_top_srcdir=$ac_top_srcdir;; 9123 *) 9124 case $ac_top_srcdir in 9125 .) ac_abs_top_srcdir=$ac_abs_builddir;; 9126 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 9127 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 9128 esac;; 9129 esac 9130 10142 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 10143 10144 10145 case $ac_mode in 10146 :F) 10147 # 10148 # CONFIG_FILE 10149 # 9131 10150 9132 10151 case $INSTALL in 9133 10152 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 9134 *) ac_INSTALL=$ac_top_build dir$INSTALL ;;10153 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 9135 10154 esac 9136 9137 if test x"$ac_file" != x-; then 9138 { echo "$as_me:$LINENO: creating $ac_file" >&5 9139 echo "$as_me: creating $ac_file" >&6;} 9140 rm -f "$ac_file" 9141 fi 9142 # Let's still pretend it is `configure' which instantiates (i.e., don't 9143 # use $as_me), people would be surprised to read: 9144 # /* config.h. Generated by config.status. */ 9145 if test x"$ac_file" = x-; then 9146 configure_input= 9147 else 9148 configure_input="$ac_file. " 9149 fi 9150 configure_input=$configure_input"Generated from `echo $ac_file_in | 9151 sed 's,.*/,,'` by configure." 9152 9153 # First look for the input files in the build tree, otherwise in the 9154 # src tree. 9155 ac_file_inputs=`IFS=: 9156 for f in $ac_file_in; do 9157 case $f in 9158 -) echo $tmp/stdin ;; 9159 [\\/$]*) 9160 # Absolute (can't be DOS-style, as IFS=:) 9161 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 9162 echo "$as_me: error: cannot find input file: $f" >&2;} 9163 { (exit 1); exit 1; }; } 9164 echo "$f";; 9165 *) # Relative 9166 if test -f "$f"; then 9167 # Build tree 9168 echo "$f" 9169 elif test -f "$srcdir/$f"; then 9170 # Source tree 9171 echo "$srcdir/$f" 9172 else 9173 # /dev/null tree 9174 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 9175 echo "$as_me: error: cannot find input file: $f" >&2;} 9176 { (exit 1); exit 1; }; } 9177 fi;; 9178 esac 9179 done` || { (exit 1); exit 1; } 9180 _ACEOF 9181 cat >>$CONFIG_STATUS <<_ACEOF 9182 sed "$ac_vpsub 10155 _ACEOF 10156 10157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10158 # If the template does not know about datarootdir, expand it. 10159 # FIXME: This hack should be removed a few years after 2.60. 10160 ac_datarootdir_hack=; ac_datarootdir_seen= 10161 10162 ac_sed_dataroot=' 10163 /datarootdir/ { 10164 p 10165 q 10166 } 10167 /@datadir@/p 10168 /@docdir@/p 10169 /@infodir@/p 10170 /@localedir@/p 10171 /@mandir@/p 10172 ' 10173 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 10174 *datarootdir*) ac_datarootdir_seen=yes;; 10175 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 10176 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10177 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10178 _ACEOF 10179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10180 ac_datarootdir_hack=' 10181 s&@datadir@&$datadir&g 10182 s&@docdir@&$docdir&g 10183 s&@infodir@&$infodir&g 10184 s&@localedir@&$localedir&g 10185 s&@mandir@&$mandir&g 10186 s&\\\${datarootdir}&$datarootdir&g' ;; 10187 esac 10188 _ACEOF 10189 10190 # Neutralize VPATH when `$srcdir' = `.'. 10191 # Shell code in configure.ac might set extrasub. 10192 # FIXME: do we really want to maintain this feature? 10193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10194 ac_sed_extra="$ac_vpsub 9183 10195 $extrasub 9184 10196 _ACEOF 9185 cat >>$CONFIG_STATUS <<\_ACEOF 10197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9186 10198 :t 9187 10199 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 9188 s,@configure_input@,$configure_input,;t t 9189 s,@srcdir@,$ac_srcdir,;t t 9190 s,@abs_srcdir@,$ac_abs_srcdir,;t t 9191 s,@top_srcdir@,$ac_top_srcdir,;t t 9192 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 9193 s,@builddir@,$ac_builddir,;t t 9194 s,@abs_builddir@,$ac_abs_builddir,;t t 9195 s,@top_builddir@,$ac_top_builddir,;t t 9196 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 9197 s,@INSTALL@,$ac_INSTALL,;t t 9198 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 9199 rm -f $tmp/stdin 10200 s|@configure_input@|$ac_sed_conf_input|;t t 10201 s&@top_builddir@&$ac_top_builddir_sub&;t t 10202 s&@top_build_prefix@&$ac_top_build_prefix&;t t 10203 s&@srcdir@&$ac_srcdir&;t t 10204 s&@abs_srcdir@&$ac_abs_srcdir&;t t 10205 s&@top_srcdir@&$ac_top_srcdir&;t t 10206 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 10207 s&@builddir@&$ac_builddir&;t t 10208 s&@abs_builddir@&$ac_abs_builddir&;t t 10209 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 10210 s&@INSTALL@&$ac_INSTALL&;t t 10211 $ac_datarootdir_hack 10212 " 10213 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 10214 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10215 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10216 { (exit 1); exit 1; }; } 10217 10218 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 10219 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 10220 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 10221 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10222 which seems to be undefined. Please make sure it is defined." >&5 10223 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10224 which seems to be undefined. Please make sure it is defined." >&2;} 10225 10226 rm -f "$tmp/stdin" 10227 case $ac_file in 10228 -) cat "$tmp/out" && rm -f "$tmp/out";; 10229 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 10230 esac \ 10231 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10232 $as_echo "$as_me: error: could not create $ac_file" >&2;} 10233 { (exit 1); exit 1; }; } 10234 ;; 10235 :H) 10236 # 10237 # CONFIG_HEADER 10238 # 9200 10239 if test x"$ac_file" != x-; then 9201 mv $tmp/out $ac_file 9202 else 9203 cat $tmp/out 9204 rm -f $tmp/out 9205 fi 9206 9207 done 9208 _ACEOF 9209 cat >>$CONFIG_STATUS <<\_ACEOF 9210 9211 # 9212 # CONFIG_HEADER section. 9213 # 9214 9215 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 9216 # NAME is the cpp macro being defined and VALUE is the value it is being given. 9217 # 9218 # ac_d sets the value in "#define NAME VALUE" lines. 9219 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 9220 ac_dB='[ ].*$,\1#\2' 9221 ac_dC=' ' 9222 ac_dD=',;t' 9223 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 9224 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 9225 ac_uB='$,\1#\2define\3' 9226 ac_uC=' ' 9227 ac_uD=',;t' 9228 9229 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 9230 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 9231 case $ac_file in 9232 - | *:- | *:-:* ) # input from stdin 9233 cat >$tmp/stdin 9234 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9235 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 9236 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9237 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 9238 * ) ac_file_in=$ac_file.in ;; 9239 esac 9240 9241 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 9242 echo "$as_me: creating $ac_file" >&6;} 9243 9244 # First look for the input files in the build tree, otherwise in the 9245 # src tree. 9246 ac_file_inputs=`IFS=: 9247 for f in $ac_file_in; do 9248 case $f in 9249 -) echo $tmp/stdin ;; 9250 [\\/$]*) 9251 # Absolute (can't be DOS-style, as IFS=:) 9252 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 9253 echo "$as_me: error: cannot find input file: $f" >&2;} 10240 { 10241 $as_echo "/* $configure_input */" \ 10242 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 10243 } >"$tmp/config.h" \ 10244 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10245 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9254 10246 { (exit 1); exit 1; }; } 9255 # Do quote $f, to prevent DOS paths from being IFS'd. 9256 echo "$f";; 9257 *) # Relative 9258 if test -f "$f"; then 9259 # Build tree 9260 echo "$f" 9261 elif test -f "$srcdir/$f"; then 9262 # Source tree 9263 echo "$srcdir/$f" 9264 else 9265 # /dev/null tree 9266 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 9267 echo "$as_me: error: cannot find input file: $f" >&2;} 10247 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 10248 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 10249 $as_echo "$as_me: $ac_file is unchanged" >&6;} 10250 else 10251 rm -f "$ac_file" 10252 mv "$tmp/config.h" "$ac_file" \ 10253 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 10254 $as_echo "$as_me: error: could not create $ac_file" >&2;} 9268 10255 { (exit 1); exit 1; }; } 9269 fi;;9270 esac9271 done` || { (exit 1); exit 1; }9272 # Remove the trailing spaces.9273 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in9274 9275 _ACEOF9276 9277 # Transform confdefs.h into two sed scripts, `conftest.defines' and9278 # `conftest.undefs', that substitutes the proper values into9279 # config.h.in to produce config.h. The first handles `#define'9280 # templates, and the second `#undef' templates.9281 # And first: Protect against being on the right side of a sed subst in9282 # config.status. Protect against being in an unquoted here document9283 # in config.status.9284 rm -f conftest.defines conftest.undefs9285 # Using a here document instead of a string reduces the quoting nightmare.9286 # Putting comments in sed scripts is not portable.9287 #9288 # `end' is used to avoid that the second main sed command (meant for9289 # 0-ary CPP macros) applies to n-ary macro definitions.9290 # See the Autoconf documentation for `clear'.9291 cat >confdef2sed.sed <<\_ACEOF9292 s/[\\&,]/\\&/g9293 s,[\\$`],\\&,g9294 t clear9295 : clear9296 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp9297 t end9298 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp9299 : end9300 _ACEOF9301 # If some macros were called several times there might be several times9302 # the same #defines, which is useless. Nevertheless, we may not want to9303 # sort them, since we want the *last* AC-DEFINE to be honored.9304 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines9305 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs9306 rm -f confdef2sed.sed9307 9308 # This sed command replaces #undef with comments. This is necessary, for9309 # example, in the case of _POSIX_SOURCE, which is predefined and required9310 # on some systems where configure will not decide to define it.9311 cat >>conftest.undefs <<\_ACEOF9312 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,9313 _ACEOF9314 9315 # Break up conftest.defines because some shells have a limit on the size9316 # of here documents, and old seds have small limits too (100 cmds).9317 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS9318 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS9319 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS9320 echo ' :' >>$CONFIG_STATUS9321 rm -f conftest.tail9322 while grep . conftest.defines >/dev/null9323 do9324 # Write a limited-size here document to $tmp/defines.sed.9325 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS9326 # Speed up: don't consider the non `#define' lines.9327 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS9328 # Work around the forget-to-reset-the-flag bug.9329 echo 't clr' >>$CONFIG_STATUS9330 echo ': clr' >>$CONFIG_STATUS9331 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS9332 echo 'CEOF9333 sed -f $tmp/defines.sed $tmp/in >$tmp/out9334 rm -f $tmp/in9335 mv $tmp/out $tmp/in9336 ' >>$CONFIG_STATUS9337 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail9338 rm -f conftest.defines9339 mv conftest.tail conftest.defines9340 done9341 rm -f conftest.defines9342 echo ' fi # grep' >>$CONFIG_STATUS9343 echo >>$CONFIG_STATUS9344 9345 # Break up conftest.undefs because some shells have a limit on the size9346 # of here documents, and old seds have small limits too (100 cmds).9347 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS9348 rm -f conftest.tail9349 while grep . conftest.undefs >/dev/null9350 do9351 # Write a limited-size here document to $tmp/undefs.sed.9352 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS9353 # Speed up: don't consider the non `#undef'9354 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS9355 # Work around the forget-to-reset-the-flag bug.9356 echo 't clr' >>$CONFIG_STATUS9357 echo ': clr' >>$CONFIG_STATUS9358 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS9359 echo 'CEOF9360 sed -f $tmp/undefs.sed $tmp/in >$tmp/out9361 rm -f $tmp/in9362 mv $tmp/out $tmp/in9363 ' >>$CONFIG_STATUS9364 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail9365 rm -f conftest.undefs9366 mv conftest.tail conftest.undefs9367 done9368 rm -f conftest.undefs9369 9370 cat >>$CONFIG_STATUS <<\_ACEOF9371 # Let's still pretend it is `configure' which instantiates (i.e., don't9372 # use $as_me), people would be surprised to read:9373 # /* config.h. Generated by config.status. */9374 if test x"$ac_file" = x-; then9375 echo "/* Generated by configure. */" >$tmp/config.h9376 else9377 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h9378 fi9379 cat $tmp/in >>$tmp/config.h9380 rm -f $tmp/in9381 if test x"$ac_file" != x-; then9382 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then9383 { echo "$as_me:$LINENO: $ac_file is unchanged" >&59384 echo "$as_me: $ac_file is unchanged" >&6;}9385 else9386 ac_dir=`(dirname "$ac_file") 2>/dev/null ||9387 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \9388 X"$ac_file" : 'X\(//\)[^/]' \| \9389 X"$ac_file" : 'X\(//\)$' \| \9390 X"$ac_file" : 'X\(/\)' \| \9391 . : '\(.\)' 2>/dev/null ||9392 echo X"$ac_file" |9393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }9394 /^X\(\/\/\)[^/].*/{ s//\1/; q; }9395 /^X\(\/\/\)$/{ s//\1/; q; }9396 /^X\(\/\).*/{ s//\1/; q; }9397 s/.*/./; q'`9398 { if $as_mkdir_p; then9399 mkdir -p "$ac_dir"9400 else9401 as_dir="$ac_dir"9402 as_dirs=9403 while test ! -d "$as_dir"; do9404 as_dirs="$as_dir $as_dirs"9405 as_dir=`(dirname "$as_dir") 2>/dev/null ||9406 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \9407 X"$as_dir" : 'X\(//\)[^/]' \| \9408 X"$as_dir" : 'X\(//\)$' \| \9409 X"$as_dir" : 'X\(/\)' \| \9410 . : '\(.\)' 2>/dev/null ||9411 echo X"$as_dir" |9412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }9413 /^X\(\/\/\)[^/].*/{ s//\1/; q; }9414 /^X\(\/\/\)$/{ s//\1/; q; }9415 /^X\(\/\).*/{ s//\1/; q; }9416 s/.*/./; q'`9417 done9418 test ! -n "$as_dirs" || mkdir $as_dirs9419 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&59420 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}9421 { (exit 1); exit 1; }; }; }9422 9423 rm -f $ac_file9424 mv $tmp/config.h $ac_file9425 10256 fi 9426 10257 else 9427 cat $tmp/config.h 9428 rm -f $tmp/config.h 10258 $as_echo "/* $configure_input */" \ 10259 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 10260 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 10261 $as_echo "$as_me: error: could not create -" >&2;} 10262 { (exit 1); exit 1; }; } 9429 10263 fi 9430 done 9431 _ACEOF 9432 9433 cat >>$CONFIG_STATUS <<\_ACEOF 10264 ;; 10265 10266 10267 esac 10268 10269 done # for ac_tag 10270 9434 10271 9435 10272 { (exit 0); exit 0; } … … 9437 10274 chmod +x $CONFIG_STATUS 9438 10275 ac_clean_files=$ac_clean_files_save 10276 10277 test $ac_write_fail = 0 || 10278 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 10279 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 10280 { (exit 1); exit 1; }; } 9439 10281 9440 10282 … … 9459 10301 $ac_cs_success || { (exit 1); exit 1; } 9460 10302 fi 9461 10303 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 10304 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 10305 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 10306 fi 10307 -
main/trunk/greenstone2/common-src/packages/gdbm/gdbm-1.8.3/configure.in
r21432 r25149 16 16 dnl AC_C_BIGENDIAN([]) 17 17 18 dnl AC_MSG_CHECKING(to see if architecture is 64-bit) 19 dnl arch_64bit=no 20 dnl case "$host_cpu" in 21 dnl x86_64) arch_64bit=yes ;; 22 dnl esac 23 dnl 24 dnl if test "$arch_64bit" = yes; then 25 dnl AC_MSG_RESULT(yes) 26 dnl if test -z "$COMPAT32BITFLAGS" ; then 27 dnl COMPAT32BITFLAGS="-m32" 28 dnl LIBTOOLCOMPAT32BITFLAGS="-Wl,-m32" 29 dnl fi 30 dnl else 31 dnl AC_MSG_RESULT(no) 32 dnl if test -z "$COMPAT32BITFLAGS" ; then 33 dnl COMPAT32BITFLAGS= 34 dnl LIBTOOLCOMPAT32BITFLAGS= 35 dnl fi 36 dnl fi 37 dnl export COMPAT32BITFLAGS 38 dnl AC_SUBST(COMPAT32BITFLAGS) 39 40 41 AC_DEFINE_UNQUOTED(COMPAT32BITFLAGS, $COMPAT32BITFLAGS) 42 AC_SUBST(COMPAT32BITFLAGS) 18 AC_DEFINE_UNQUOTED(ARCH_DEP_FLAGS, $ARCH_DEP_FLAGS) 19 AC_SUBST(ARCH_DEP_FLAGS) 43 20 44 21 -
main/trunk/greenstone2/common-src/src/gdbmedit/db2txt/Makefile.in
r22077 r25149 31 31 32 32 CXX = @CXX@ 33 CXXFLAGS = @CXXFLAGS@ @ COMPAT32BITFLAGS@33 CXXFLAGS = @CXXFLAGS@ @ARCH_DEP_FLAGS@ 34 34 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 35 35 GSDLOS = @gsdlos@ 36 36 INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib 37 37 INSTALL = @INSTALL@ 38 LDFLAGS = @LDFLAGS@ @ COMPAT32BITFLAGS@38 LDFLAGS = @LDFLAGS@ @ARCH_DEP_FLAGS@ 39 39 LIBS = @LIBS@ $(COMMON_PACKAGES_DIR)/gdbm/lib/libgdbm.a 40 40 -
main/trunk/greenstone2/common-src/src/gdbmedit/gdbmdel/Makefile.in
r22077 r25149 31 31 32 32 CXX = @CXX@ 33 CXXFLAGS = @CXXFLAGS@ @ COMPAT32BITFLAGS@33 CXXFLAGS = @CXXFLAGS@ @ARCH_DEP_FLAGS@ 34 34 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 35 35 GSDLOS = @gsdlos@ 36 36 INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib 37 37 INSTALL = @INSTALL@ 38 LDFLAGS = @LDFLAGS@ @ COMPAT32BITFLAGS@38 LDFLAGS = @LDFLAGS@ @ARCH_DEP_FLAGS@ 39 39 LIBS = @LIBS@ $(COMMON_PACKAGES_DIR)/gdbm/lib/libgdbm.a 40 40 -
main/trunk/greenstone2/common-src/src/gdbmedit/gdbmget/Makefile.in
r22077 r25149 31 31 32 32 CXX = @CXX@ 33 CXXFLAGS = @CXXFLAGS@ @ COMPAT32BITFLAGS@33 CXXFLAGS = @CXXFLAGS@ @ARCH_DEP_FLAGS@ 34 34 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 35 35 GSDLOS = @gsdlos@ 36 36 INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib 37 37 INSTALL = @INSTALL@ 38 LDFLAGS = @LDFLAGS@ @ COMPAT32BITFLAGS@38 LDFLAGS = @LDFLAGS@ @ARCH_DEP_FLAGS@ 39 39 LIBS = @LIBS@ $(COMMON_PACKAGES_DIR)/gdbm/lib/libgdbm.a 40 40 -
main/trunk/greenstone2/common-src/src/gdbmedit/gdbmkeys/Makefile.in
r22077 r25149 31 31 32 32 CXX = @CXX@ 33 CXXFLAGS = @CXXFLAGS@ @ COMPAT32BITFLAGS@33 CXXFLAGS = @CXXFLAGS@ @ARCH_DEP_FLAGS@ 34 34 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 35 35 GSDLOS = @gsdlos@ 36 36 INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib 37 37 INSTALL = @INSTALL@ 38 LDFLAGS = @LDFLAGS@ @ COMPAT32BITFLAGS@38 LDFLAGS = @LDFLAGS@ @ARCH_DEP_FLAGS@ 39 39 LIBS = @LIBS@ $(COMMON_PACKAGES_DIR)/gdbm/lib/libgdbm.a 40 40 -
main/trunk/greenstone2/common-src/src/gdbmedit/gdbmset/Makefile.in
r22077 r25149 31 31 32 32 CXX = @CXX@ 33 CXXFLAGS = @CXXFLAGS@ @ COMPAT32BITFLAGS@33 CXXFLAGS = @CXXFLAGS@ @ARCH_DEP_FLAGS@ 34 34 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 35 35 GSDLOS = @gsdlos@ 36 36 INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib 37 37 INSTALL = @INSTALL@ 38 LDFLAGS = @LDFLAGS@ @ COMPAT32BITFLAGS@38 LDFLAGS = @LDFLAGS@ @ARCH_DEP_FLAGS@ 39 39 LIBS = @LIBS@ $(COMMON_PACKAGES_DIR)/gdbm/lib/libgdbm.a 40 40 -
main/trunk/greenstone2/common-src/src/gdbmedit/txt2db/Makefile.in
r22077 r25149 31 31 32 32 CXX = @CXX@ 33 CXXFLAGS = @CXXFLAGS@ @ COMPAT32BITFLAGS@33 CXXFLAGS = @CXXFLAGS@ @ARCH_DEP_FLAGS@ 34 34 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 35 35 GSDLOS = @gsdlos@ 36 36 INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib 37 37 INSTALL = @INSTALL@ 38 LDFLAGS = @LDFLAGS@ @ COMPAT32BITFLAGS@38 LDFLAGS = @LDFLAGS@ @ARCH_DEP_FLAGS@ 39 39 LIBS = @LIBS@ $(COMMON_PACKAGES_DIR)/gdbm/lib/libgdbm.a 40 40 -
main/trunk/greenstone2/common-src/src/getpw/Makefile.in
r19875 r25149 28 28 29 29 CXX = @CXX@ 30 CXXFLAGS = @CXXFLAGS@ @ COMPAT32BITFLAGS@30 CXXFLAGS = @CXXFLAGS@ @ARCH_DEP_FLAGS@ 31 31 DEFS = @DEFS@ 32 32 GSDLOS = @gsdlos@ 33 33 INCLUDES = -I$(COMMON_DIR) -I$(COMMON_DIR)/src/lib 34 34 INSTALL = @INSTALL@ 35 LDFLAGS = @LDFLAGS@ @ COMPAT32BITFLAGS@35 LDFLAGS = @LDFLAGS@ @ARCH_DEP_FLAGS@ 36 36 LIBS = @LIBS@ 37 37 -
main/trunk/greenstone2/common-src/src/lib/Makefile.in
r22793 r25149 71 71 AR = ar 72 72 CXX = @CXX@ 73 CXXFLAGS = @CXXFLAGS@ @ COMPAT32BITFLAGS@73 CXXFLAGS = @CXXFLAGS@ @ARCH_DEP_FLAGS@ 74 74 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 75 75 INCLUDES = -I. -I$(COMMON_DIR) $(GDBM_INCLUDES) $(SQLITE_INCLUDES)
Note:
See TracChangeset
for help on using the changeset viewer.