- Timestamp:
- Jan 11, 2013, 12:55:20 AM (10 years ago)
- Branches:
- debian/master, debian/stretch-backports, jessie-backports, upstream
- Children:
- 3f5c713, ec06980
- Parents:
- 3e94bd3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
r3e94bd3 r70c2d86 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59 for mod_gnutls 0.2.0.3 # Generated by GNU Autoconf 2.61 for mod_gnutls 0.3.4. 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 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 … … 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' … … 97 51 fi 98 52 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 53 # Support unset when possible. 54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56 else 57 as_unset=false 58 fi 59 60 61 # IFS 62 # We need space, tab and new line, in precisely that order. Quoting is 63 # there to prevent editors from complaining about space-tab. 64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 65 # splitting by setting IFS to empty value.) 66 as_nl=' 67 ' 68 IFS=" "" $as_nl" 69 70 # Find who we are. Look in the path if we contain no directory separator. 71 case $0 in 72 *[\\/]* ) as_myself=$0 ;; 73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 74 for as_dir in $PATH 111 75 do … … 114 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 79 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 80 IFS=$as_save_IFS 81 82 ;; 83 esac 84 # We did not find ourselves, most probably we were run as `sh COMMAND' 85 # in which case we are not to be found in the path. 86 if test "x$as_myself" = x; then 87 as_myself=$0 88 fi 89 if test ! -f "$as_myself"; then 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91 { (exit 1); exit 1; } 92 fi 93 94 # Work around bugs in pre-3.0 UWIN ksh. 95 for as_var in ENV MAIL MAILPATH 96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 97 done 98 PS1='$ ' 99 PS2='> ' 100 PS4='+ ' 101 102 # NLS nuisances. 103 for as_var in \ 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106 LC_TELEPHONE LC_TIME 107 do 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 110 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 123 112 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 '') 113 done 114 115 # Required to use basename. 116 if expr a : '\(a\)' >/dev/null 2>&1 && 117 test "X`expr 00001 : '.*\(...\)'`" = X001; then 118 as_expr=expr 119 else 120 as_expr=false 121 fi 122 123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 124 as_basename=basename 125 else 126 as_basename=false 127 fi 128 129 130 # Name of the executable. 131 as_me=`$as_basename -- "$0" || 132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 X"$0" : 'X\(//\)$' \| \ 134 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135 echo X/"$0" | 136 sed '/^.*\/\([^/][^/]*\)\/*$/{ 137 s//\1/ 138 q 139 } 140 /^X\/\(\/\/\)$/{ 141 s//\1/ 142 q 143 } 144 /^X\/\(\/\).*/{ 145 s//\1/ 146 q 147 } 148 s/.*/./; q'` 149 150 # CDPATH. 151 $as_unset CDPATH 152 153 154 if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157 else 158 as_have_required=no 159 fi 160 161 if test $as_have_required = yes && (eval ": 162 (as_func_return () { 163 (exit \$1) 164 } 165 as_func_success () { 166 as_func_return 0 167 } 168 as_func_failure () { 169 as_func_return 1 170 } 171 as_func_ret_success () { 172 return 0 173 } 174 as_func_ret_failure () { 175 return 1 176 } 177 178 exitcode=0 179 if as_func_success; then 180 : 181 else 182 exitcode=1 183 echo as_func_success failed. 184 fi 185 186 if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189 fi 190 191 if as_func_ret_success; then 192 : 193 else 194 exitcode=1 195 echo as_func_ret_success failed. 196 fi 197 198 if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201 fi 202 203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205 else 206 exitcode=1 207 echo positional parameters were not saved. 208 fi 209 210 test \$exitcode = 0) || { (exit 1); exit 1; } 211 212 ( 213 as_lineno_1=\$LINENO 214 as_lineno_2=\$LINENO 215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217 ") 2> /dev/null; then 218 : 219 else 220 as_candidate_shells= 130 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 133 224 IFS=$as_save_IFS 134 225 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 226 case $as_dir in 137 227 /*) 138 if ("$as_dir/$as_base" -c ' 228 for as_base in sh bash ksh sh5; do 229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230 done;; 231 esac 232 done 233 IFS=$as_save_IFS 234 235 236 for as_shell in $as_candidate_shells $SHELL; do 237 # Try only shells that exist, to save several forks. 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241 emulate sh 242 NULLCMD=: 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244 # is contrary to our usage. Disable this feature. 245 alias -g '${1+"$@"}'='"$@"' 246 setopt NO_GLOB_SUBST 247 else 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250 esac 251 252 fi 253 254 255 : 256 _ASEOF 257 }; then 258 CONFIG_SHELL=$as_shell 259 as_have_required=yes 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 (as_func_return () { 278 (exit $1) 279 } 280 as_func_success () { 281 as_func_return 0 282 } 283 as_func_failure () { 284 as_func_return 1 285 } 286 as_func_ret_success () { 287 return 0 288 } 289 as_func_ret_failure () { 290 return 1 291 } 292 293 exitcode=0 294 if as_func_success; then 295 : 296 else 297 exitcode=1 298 echo as_func_success failed. 299 fi 300 301 if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304 fi 305 306 if as_func_ret_success; then 307 : 308 else 309 exitcode=1 310 echo as_func_ret_success failed. 311 fi 312 313 if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316 fi 317 318 if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320 else 321 exitcode=1 322 echo positional parameters were not saved. 323 fi 324 325 test $exitcode = 0) || { (exit 1); exit 1; } 326 327 ( 139 328 as_lineno_1=$LINENO 140 329 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`142 330 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 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332 333 _ASEOF 334 }; then 335 break 336 fi 337 338 fi 339 340 done 341 342 if test "x$CONFIG_SHELL" != x; then 343 for as_var in BASH_ENV ENV 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345 done 346 export CONFIG_SHELL 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348 fi 349 350 351 if test $as_have_required = no; then 352 echo This script requires a shell more modern than all the 353 echo shells that I found on your system. Please install a 354 echo modern shell, or manually run the script under such a 355 echo shell if you do have one. 356 { (exit 1); exit 1; } 357 fi 358 359 360 fi 361 362 fi 363 364 365 366 (eval "as_func_return () { 367 (exit \$1) 368 } 369 as_func_success () { 370 as_func_return 0 371 } 372 as_func_failure () { 373 as_func_return 1 374 } 375 as_func_ret_success () { 376 return 0 377 } 378 as_func_ret_failure () { 379 return 1 380 } 381 382 exitcode=0 383 if as_func_success; then 384 : 385 else 386 exitcode=1 387 echo as_func_success failed. 388 fi 389 390 if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393 fi 394 395 if as_func_ret_success; then 396 : 397 else 398 exitcode=1 399 echo as_func_ret_success failed. 400 fi 401 402 if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405 fi 406 407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409 else 410 exitcode=1 411 echo positional parameters were not saved. 412 fi 413 414 test \$exitcode = 0") || { 415 echo No shell found that supports shell functions. 416 echo Please tell autoconf@gnu.org about your system, 417 echo including any error possibly output before this 418 echo message 419 } 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 155 427 156 428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 429 # 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. 430 # line-number line after each line using $LINENO; the second 'sed' 431 # does the real work. The second script uses 'N' to pair each 432 # line-number line with the line containing $LINENO, and appends 433 # trailing '-' during substitution so that $LINENO is not a special 434 # case at line end. 162 435 # (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 | 436 # scripts with optimization help from Paolo Bonzini. Blame Lee 437 # E. McMahon (1931-1989) for sed's syntax. :-) 438 sed -n ' 439 p 440 /[$]LINENO/= 441 ' <$as_myself | 165 442 sed ' 443 s/[$]LINENO.*/&-/ 444 t lineno 445 b 446 :lineno 166 447 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 448 :loop 449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 170 450 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 451 s/-\n.*// 173 452 ' >$as_me.lineno && 174 chmod +x $as_me.lineno||453 chmod +x "$as_me.lineno" || 175 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 455 { (exit 1); exit 1; }; } … … 178 457 # Don't try to exec as it changes $[0], causing all sort of problems 179 458 # (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.lineno459 # original and so on. Autoconf is especially sensitive to this). 460 . "./$as_me.lineno" 182 461 # Exit status is that of the last command. 183 462 exit … … 185 464 186 465 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= ;; 466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 467 as_dirname=dirname 468 else 469 as_dirname=false 470 fi 471 472 ECHO_C= ECHO_N= ECHO_T= 473 case `echo -n x` in 474 -n*) 475 case `echo 'x\c'` in 476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 *) ECHO_C='\c';; 478 esac;; 479 *) 480 ECHO_N='-n';; 192 481 esac 193 482 194 if expr a : '\(a\)' >/dev/null 2>&1; then 483 if expr a : '\(a\)' >/dev/null 2>&1 && 484 test "X`expr 00001 : '.*\(...\)'`" = X001; then 195 485 as_expr=expr 196 486 else … … 199 489 200 490 rm -f conf$$ conf$$.exe conf$$.file 491 if test -d conf$$.dir; then 492 rm -f conf$$.dir/conf$$.file 493 else 494 rm -f conf$$.dir 495 mkdir conf$$.dir 496 fi 201 497 echo >conf$$.file 202 498 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 499 as_ln_s='ln -s' 500 # ... but there are two gotchas: 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503 # In both cases, we have to default to `cp -p'. 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 207 505 as_ln_s='cp -p' 208 else209 as_ln_s='ln -s'210 fi211 506 elif ln conf$$.file conf$$ 2>/dev/null; then 212 507 as_ln_s=ln … … 214 509 as_ln_s='cp -p' 215 510 fi 216 rm -f conf$$ conf$$.exe conf$$.file 511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 512 rmdir conf$$.dir 2>/dev/null 217 513 218 514 if mkdir -p . 2>/dev/null; then … … 223 519 fi 224 520 225 as_executable_p="test -f" 521 if test -x / >/dev/null 2>&1; then 522 as_test_x='test -x' 523 else 524 if ls -dL / >/dev/null 2>&1; then 525 as_ls_L_option=L 526 else 527 as_ls_L_option= 528 fi 529 as_test_x=' 530 eval sh -c '\'' 531 if test -d "$1"; then 532 test -d "$1/."; 533 else 534 case $1 in 535 -*)set "./$1";; 536 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 538 ???[sx]*):;;*)false;;esac;fi 539 '\'' sh 540 ' 541 fi 542 as_executable_p=$as_test_x 226 543 227 544 # Sed expression to map a string onto a valid CPP name. … … 232 549 233 550 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 551 552 553 # Check that we are running under the correct shell. 554 SHELL=${CONFIG_SHELL-/bin/sh} 555 556 case X$ECHO in 557 X*--fallback-echo) 558 # Remove one level of quotation (which was required for Make). 559 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` 560 ;; 561 esac 562 563 echo=${ECHO-echo} 564 if test "X$1" = X--no-reexec; then 565 # Discard the --no-reexec flag, and continue. 566 shift 567 elif test "X$1" = X--fallback-echo; then 568 # Avoid inline document here, it may be left over 569 : 570 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then 571 # Yippee, $echo works! 572 : 573 else 574 # Restart under the correct shell. 575 exec $SHELL "$0" --no-reexec ${1+"$@"} 576 fi 577 578 if test "X$1" = X--fallback-echo; then 579 # used as fallback echo 580 shift 581 cat <<EOF 582 $* 583 EOF 584 exit 0 585 fi 586 587 # The HP-UX ksh and POSIX shell print the target directory to stdout 588 # if CDPATH is set. 589 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 590 591 if test -z "$ECHO"; then 592 if test "X${echo_test_string+set}" != Xset; then 593 # find a string as large as possible, as long as the shell can cope with it 594 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 595 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 596 if (echo_test_string=`eval $cmd`) 2>/dev/null && 597 echo_test_string=`eval $cmd` && 598 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null 599 then 600 break 601 fi 602 done 603 fi 604 605 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && 606 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && 607 test "X$echo_testing_string" = "X$echo_test_string"; then 608 : 609 else 610 # The Solaris, AIX, and Digital Unix default echo programs unquote 611 # backslashes. This makes it impossible to quote backslashes using 612 # echo "$something" | sed 's/\\/\\\\/g' 613 # 614 # So, first we look for a working echo in the user's PATH. 615 616 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 617 for dir in $PATH /usr/ucb; do 618 IFS="$lt_save_ifs" 619 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 620 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 621 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 622 test "X$echo_testing_string" = "X$echo_test_string"; then 623 echo="$dir/echo" 624 break 625 fi 626 done 627 IFS="$lt_save_ifs" 628 629 if test "X$echo" = Xecho; then 630 # We didn't find a better echo, so look for alternatives. 631 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && 632 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && 633 test "X$echo_testing_string" = "X$echo_test_string"; then 634 # This shell has a builtin print -r that does the trick. 635 echo='print -r' 636 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && 637 test "X$CONFIG_SHELL" != X/bin/ksh; then 638 # If we have ksh, try running configure again with it. 639 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 640 export ORIGINAL_CONFIG_SHELL 641 CONFIG_SHELL=/bin/ksh 642 export CONFIG_SHELL 643 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} 644 else 645 # Try using printf. 646 echo='printf %s\n' 647 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && 648 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && 649 test "X$echo_testing_string" = "X$echo_test_string"; then 650 # Cool, printf works 651 : 652 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 653 test "X$echo_testing_string" = 'X\t' && 654 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 655 test "X$echo_testing_string" = "X$echo_test_string"; then 656 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 657 export CONFIG_SHELL 658 SHELL="$CONFIG_SHELL" 659 export SHELL 660 echo="$CONFIG_SHELL $0 --fallback-echo" 661 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 662 test "X$echo_testing_string" = 'X\t' && 663 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 664 test "X$echo_testing_string" = "X$echo_test_string"; then 665 echo="$CONFIG_SHELL $0 --fallback-echo" 666 else 667 # maybe with a smaller string... 668 prev=: 669 670 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do 671 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null 672 then 673 break 674 fi 675 prev="$cmd" 676 done 677 678 if test "$prev" != 'sed 50q "$0"'; then 679 echo_test_string=`eval $prev` 680 export echo_test_string 681 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} 682 else 683 # Oops. We lost completely, so just stick with echo. 684 echo=echo 685 fi 686 fi 687 fi 688 fi 689 fi 690 fi 691 692 # Copy echo and quote the copy suitably for passing to libtool from 693 # the Makefile, instead of quoting the original, which is used later. 694 ECHO=$echo 695 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then 696 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" 697 fi 698 699 700 701 702 tagnames=${tagnames+${tagnames},}CXX 703 704 tagnames=${tagnames+${tagnames},}F77 705 706 exec 7<&0 </dev/null 6>&1 243 707 244 708 # Name of the host. … … 247 711 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 712 249 exec 6>&1250 251 713 # 252 714 # Initializations. 253 715 # 254 716 ac_default_prefix=/usr/local 717 ac_clean_files= 255 718 ac_config_libobj_dir=. 719 LIBOBJS= 256 720 cross_compiling=no 257 721 subdirs= … … 260 724 SHELL=${CONFIG_SHELL-/bin/sh} 261 725 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 267 726 # Identity of this package. 268 727 PACKAGE_NAME='mod_gnutls' 269 728 PACKAGE_TARNAME='mod_gnutls' 270 PACKAGE_VERSION='0. 2.0'271 PACKAGE_STRING='mod_gnutls 0. 2.0'729 PACKAGE_VERSION='0.3.4' 730 PACKAGE_STRING='mod_gnutls 0.3.4' 272 731 PACKAGE_BUGREPORT='' 273 732 274 733 ac_unique_file="src/mod_gnutls.c" 275 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 OOO_MAINTAIN MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT 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 CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MOD_GNUTLS_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP APXS_BIN AP_DEFS AP_PREFIX AP_CFLAGS AP_CPPFLAGS AP_INCLUDES AP_INCLUDEDIR AP_LIBEXECDIR AP_VERSION AP_SYSCONFDIR AP_BINDIR AP_SBINDIR APR_INCLUDES APU_INCLUDES APXS_EXTENSION APXS_CFLAGS LIBTOOL GTLS_BIN LIBGNUTLS_LIBS LIBGNUTLS_CFLAGS LIBGNUTLS_VERSION GNUTLS_CERTTOOL LIBGNUTLS_PREFIX APR_MEMCACHE_LIBS APR_MEMCACHE_CFLAGS have_apr_memcache MODULE_CFLAGS MODULE_LIBS LIBOBJS LTLIBOBJS' 734 # Factoring default headers for most tests. 735 ac_includes_default="\ 736 #include <stdio.h> 737 #ifdef HAVE_SYS_TYPES_H 738 # include <sys/types.h> 739 #endif 740 #ifdef HAVE_SYS_STAT_H 741 # include <sys/stat.h> 742 #endif 743 #ifdef STDC_HEADERS 744 # include <stdlib.h> 745 # include <stddef.h> 746 #else 747 # ifdef HAVE_STDLIB_H 748 # include <stdlib.h> 749 # endif 750 #endif 751 #ifdef HAVE_STRING_H 752 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 753 # include <memory.h> 754 # endif 755 # include <string.h> 756 #endif 757 #ifdef HAVE_STRINGS_H 758 # include <strings.h> 759 #endif 760 #ifdef HAVE_INTTYPES_H 761 # include <inttypes.h> 762 #endif 763 #ifdef HAVE_STDINT_H 764 # include <stdint.h> 765 #endif 766 #ifdef HAVE_UNISTD_H 767 # include <unistd.h> 768 #endif" 769 770 ac_subst_vars='SHELL 771 PATH_SEPARATOR 772 PACKAGE_NAME 773 PACKAGE_TARNAME 774 PACKAGE_VERSION 775 PACKAGE_STRING 776 PACKAGE_BUGREPORT 777 exec_prefix 778 prefix 779 program_transform_name 780 bindir 781 sbindir 782 libexecdir 783 datarootdir 784 datadir 785 sysconfdir 786 sharedstatedir 787 localstatedir 788 includedir 789 oldincludedir 790 docdir 791 infodir 792 htmldir 793 dvidir 794 pdfdir 795 psdir 796 libdir 797 localedir 798 mandir 799 DEFS 800 ECHO_C 801 ECHO_N 802 ECHO_T 803 LIBS 804 build_alias 805 host_alias 806 target_alias 807 OOO_MAINTAIN 808 MAINTAINER_MODE_TRUE 809 MAINTAINER_MODE_FALSE 810 MAINT 811 build 812 build_cpu 813 build_vendor 814 build_os 815 host 816 host_cpu 817 host_vendor 818 host_os 819 target 820 target_cpu 821 target_vendor 822 target_os 823 INSTALL_PROGRAM 824 INSTALL_SCRIPT 825 INSTALL_DATA 826 am__isrc 827 CYGPATH_W 828 PACKAGE 829 VERSION 830 ACLOCAL 831 AUTOCONF 832 AUTOMAKE 833 AUTOHEADER 834 MAKEINFO 835 install_sh 836 STRIP 837 INSTALL_STRIP_PROGRAM 838 mkdir_p 839 AWK 840 SET_MAKE 841 am__leading_dot 842 AMTAR 843 am__tar 844 am__untar 845 MOD_GNUTLS_VERSION 846 CC 847 CFLAGS 848 LDFLAGS 849 CPPFLAGS 850 ac_ct_CC 851 EXEEXT 852 OBJEXT 853 DEPDIR 854 am__include 855 am__quote 856 AMDEP_TRUE 857 AMDEP_FALSE 858 AMDEPBACKSLASH 859 CCDEPMODE 860 am__fastdepCC_TRUE 861 am__fastdepCC_FALSE 862 SED 863 GREP 864 EGREP 865 LN_S 866 ECHO 867 AR 868 RANLIB 869 CPP 870 CXX 871 CXXFLAGS 872 ac_ct_CXX 873 CXXDEPMODE 874 am__fastdepCXX_TRUE 875 am__fastdepCXX_FALSE 876 CXXCPP 877 F77 878 FFLAGS 879 ac_ct_F77 880 LIBTOOL 881 APXS_BIN 882 AP_DEFS 883 AP_PREFIX 884 AP_CFLAGS 885 AP_CPPFLAGS 886 AP_INCLUDES 887 AP_INCLUDEDIR 888 AP_LIBEXECDIR 889 AP_VERSION 890 AP_SYSCONFDIR 891 AP_BINDIR 892 AP_SBINDIR 893 APR_INCLUDES 894 APU_INCLUDES 895 APXS_EXTENSION 896 APXS_CFLAGS 897 GTLS_BIN 898 LIBGNUTLS_LIBS 899 LIBGNUTLS_CFLAGS 900 LIBGNUTLS_VERSION 901 GNUTLS_CERTTOOL 902 LIBGNUTLS_PREFIX 903 APR_MEMCACHE_LIBS 904 APR_MEMCACHE_CFLAGS 905 have_apr_memcache 906 MODULE_CFLAGS 907 MODULE_LIBS 908 LIBOBJS 909 LTLIBOBJS' 276 910 ac_subst_files='' 911 ac_precious_vars='build_alias 912 host_alias 913 target_alias 914 CC 915 CFLAGS 916 LDFLAGS 917 LIBS 918 CPPFLAGS 919 CPP 920 CXX 921 CXXFLAGS 922 CCC 923 CXXCPP 924 F77 925 FFLAGS' 926 277 927 278 928 # Initialize some variables set by options. … … 301 951 # by default will actually change. 302 952 # Use braces instead of parens because sh, perl, etc. also accept them. 953 # (The list follows the same order as the GNU Coding Standards.) 303 954 bindir='${exec_prefix}/bin' 304 955 sbindir='${exec_prefix}/sbin' 305 956 libexecdir='${exec_prefix}/libexec' 306 datadir='${prefix}/share' 957 datarootdir='${prefix}/share' 958 datadir='${datarootdir}' 307 959 sysconfdir='${prefix}/etc' 308 960 sharedstatedir='${prefix}/com' 309 961 localstatedir='${prefix}/var' 310 libdir='${exec_prefix}/lib'311 962 includedir='${prefix}/include' 312 963 oldincludedir='/usr/include' 313 infodir='${prefix}/info' 314 mandir='${prefix}/man' 964 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 965 infodir='${datarootdir}/info' 966 htmldir='${docdir}' 967 dvidir='${docdir}' 968 pdfdir='${docdir}' 969 psdir='${docdir}' 970 libdir='${exec_prefix}/lib' 971 localedir='${datarootdir}/locale' 972 mandir='${datarootdir}/man' 315 973 316 974 ac_prev= 975 ac_dashdash= 317 976 for ac_option 318 977 do 319 978 # If the previous option needs an argument, assign it. 320 979 if test -n "$ac_prev"; then 321 eval "$ac_prev=\$ac_option"980 eval $ac_prev=\$ac_option 322 981 ac_prev= 323 982 continue 324 983 fi 325 984 326 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 985 case $ac_option in 986 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 987 *) ac_optarg=yes ;; 988 esac 327 989 328 990 # Accept the important Cygnus configure options, so we can diagnose typos. 329 991 330 case $ac_option in 992 case $ac_dashdash$ac_option in 993 --) 994 ac_dashdash=yes ;; 331 995 332 996 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 350 1014 cache_file=config.cache ;; 351 1015 352 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)1016 -datadir | --datadir | --datadi | --datad) 353 1017 ac_prev=datadir ;; 354 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 355 | --da=*) 1018 -datadir=* | --datadir=* | --datadi=* | --datad=*) 356 1019 datadir=$ac_optarg ;; 1020 1021 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1022 | --dataroo | --dataro | --datar) 1023 ac_prev=datarootdir ;; 1024 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1025 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1026 datarootdir=$ac_optarg ;; 357 1027 358 1028 -disable-* | --disable-*) 359 1029 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 360 1030 # Reject names that are not valid shell variable names. 361 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&1031 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 362 1032 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 363 1033 { (exit 1); exit 1; }; } 364 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 365 eval "enable_$ac_feature=no" ;; 1034 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 1035 eval enable_$ac_feature=no ;; 1036 1037 -docdir | --docdir | --docdi | --doc | --do) 1038 ac_prev=docdir ;; 1039 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1040 docdir=$ac_optarg ;; 1041 1042 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1043 ac_prev=dvidir ;; 1044 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1045 dvidir=$ac_optarg ;; 366 1046 367 1047 -enable-* | --enable-*) 368 1048 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 369 1049 # Reject names that are not valid shell variable names. 370 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&1050 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 371 1051 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 372 1052 { (exit 1); exit 1; }; } 373 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 374 case $ac_option in 375 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 376 *) ac_optarg=yes ;; 377 esac 378 eval "enable_$ac_feature='$ac_optarg'" ;; 1053 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 1054 eval enable_$ac_feature=\$ac_optarg ;; 379 1055 380 1056 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 403 1079 host_alias=$ac_optarg ;; 404 1080 1081 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1082 ac_prev=htmldir ;; 1083 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1084 | --ht=*) 1085 htmldir=$ac_optarg ;; 1086 405 1087 -includedir | --includedir | --includedi | --included | --include \ 406 1088 | --includ | --inclu | --incl | --inc) … … 427 1109 libexecdir=$ac_optarg ;; 428 1110 1111 -localedir | --localedir | --localedi | --localed | --locale) 1112 ac_prev=localedir ;; 1113 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1114 localedir=$ac_optarg ;; 1115 429 1116 -localstatedir | --localstatedir | --localstatedi | --localstated \ 430 | --localstate | --localstat | --localsta | --localst \ 431 | --locals | --local | --loca | --loc | --lo) 1117 | --localstate | --localstat | --localsta | --localst | --locals) 432 1118 ac_prev=localstatedir ;; 433 1119 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 434 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 435 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 1120 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 436 1121 localstatedir=$ac_optarg ;; 437 1122 … … 498 1183 program_transform_name=$ac_optarg ;; 499 1184 1185 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1186 ac_prev=pdfdir ;; 1187 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1188 pdfdir=$ac_optarg ;; 1189 1190 -psdir | --psdir | --psdi | --psd | --ps) 1191 ac_prev=psdir ;; 1192 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1193 psdir=$ac_optarg ;; 1194 500 1195 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 501 1196 | -silent | --silent | --silen | --sile | --sil) … … 550 1245 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 551 1246 # Reject names that are not valid shell variable names. 552 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1247 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 553 1248 { echo "$as_me: error: invalid package name: $ac_package" >&2 554 1249 { (exit 1); exit 1; }; } 555 ac_package=`echo $ac_package| sed 's/-/_/g'` 556 case $ac_option in 557 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 558 *) ac_optarg=yes ;; 559 esac 560 eval "with_$ac_package='$ac_optarg'" ;; 1250 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1251 eval with_$ac_package=\$ac_optarg ;; 561 1252 562 1253 -without-* | --without-*) 563 1254 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 564 1255 # Reject names that are not valid shell variable names. 565 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1256 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 566 1257 { echo "$as_me: error: invalid package name: $ac_package" >&2 567 1258 { (exit 1); exit 1; }; } 568 ac_package=`echo $ac_package | sed 's/ -/_/g'`569 eval "with_$ac_package=no";;1259 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1260 eval with_$ac_package=no ;; 570 1261 571 1262 --x) … … 598 1289 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 599 1290 { (exit 1); exit 1; }; } 600 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 601 eval "$ac_envvar='$ac_optarg'" 1291 eval $ac_envvar=\$ac_optarg 602 1292 export $ac_envvar ;; 603 1293 … … 619 1309 fi 620 1310 621 # Be sure to have absolute paths. 622 for ac_var in exec_prefix prefix 1311 # Be sure to have absolute directory names. 1312 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1313 datadir sysconfdir sharedstatedir localstatedir includedir \ 1314 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1315 libdir localedir mandir 623 1316 do 624 eval ac_val= $`echo $ac_var`1317 eval ac_val=\$$ac_var 625 1318 case $ac_val in 626 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 628 { (exit 1); exit 1; }; };; 1319 [\\/$]* | ?:[\\/]* ) continue;; 1320 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 629 1321 esac 630 done 631 632 # Be sure to have absolute paths. 633 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 634 localstatedir libdir includedir oldincludedir infodir mandir 635 do 636 eval ac_val=$`echo $ac_var` 637 case $ac_val in 638 [\\/$]* | ?:[\\/]* ) ;; 639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 640 { (exit 1); exit 1; }; };; 641 esac 1322 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1323 { (exit 1); exit 1; }; } 642 1324 done 643 1325 … … 666 1348 667 1349 1350 ac_pwd=`pwd` && test -n "$ac_pwd" && 1351 ac_ls_di=`ls -di .` && 1352 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1353 { echo "$as_me: error: Working directory cannot be determined" >&2 1354 { (exit 1); exit 1; }; } 1355 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1356 { echo "$as_me: error: pwd does not report name of working directory" >&2 1357 { (exit 1); exit 1; }; } 1358 1359 668 1360 # Find the source files, if location was not specified. 669 1361 if test -z "$srcdir"; then 670 1362 ac_srcdir_defaulted=yes 671 # Try the directory containing this script, then its parent.672 ac_confdir=` (dirname "$0") 2>/dev/null||1363 # Try the directory containing this script, then the parent directory. 1364 ac_confdir=`$as_dirname -- "$0" || 673 1365 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 674 1366 X"$0" : 'X\(//\)[^/]' \| \ 675 1367 X"$0" : 'X\(//\)$' \| \ 676 X"$0" : 'X\(/\)' \| \ 677 . : '\(.\)' 2>/dev/null || 1368 X"$0" : 'X\(/\)' \| . 2>/dev/null || 678 1369 echo X"$0" | 679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 680 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 681 /^X\(\/\/\)$/{ s//\1/; q; } 682 /^X\(\/\).*/{ s//\1/; q; } 683 s/.*/./; q'` 1370 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1371 s//\1/ 1372 q 1373 } 1374 /^X\(\/\/\)[^/].*/{ 1375 s//\1/ 1376 q 1377 } 1378 /^X\(\/\/\)$/{ 1379 s//\1/ 1380 q 1381 } 1382 /^X\(\/\).*/{ 1383 s//\1/ 1384 q 1385 } 1386 s/.*/./; q'` 684 1387 srcdir=$ac_confdir 685 if test ! -r $srcdir/$ac_unique_file; then1388 if test ! -r "$srcdir/$ac_unique_file"; then 686 1389 srcdir=.. 687 1390 fi … … 689 1392 ac_srcdir_defaulted=no 690 1393 fi 691 if test ! -r $srcdir/$ac_unique_file; then692 if test "$ac_srcdir_defaulted" = yes; then693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&21394 if test ! -r "$srcdir/$ac_unique_file"; then 1395 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1396 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 694 1397 { (exit 1); exit 1; }; } 695 else 696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1398 fi 1399 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1400 ac_abs_confdir=`( 1401 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 697 1402 { (exit 1); exit 1; }; } 698 fi 699 fi 700 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 702 { (exit 1); exit 1; }; } 703 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 704 ac_env_build_alias_set=${build_alias+set} 705 ac_env_build_alias_value=$build_alias 706 ac_cv_env_build_alias_set=${build_alias+set} 707 ac_cv_env_build_alias_value=$build_alias 708 ac_env_host_alias_set=${host_alias+set} 709 ac_env_host_alias_value=$host_alias 710 ac_cv_env_host_alias_set=${host_alias+set} 711 ac_cv_env_host_alias_value=$host_alias 712 ac_env_target_alias_set=${target_alias+set} 713 ac_env_target_alias_value=$target_alias 714 ac_cv_env_target_alias_set=${target_alias+set} 715 ac_cv_env_target_alias_value=$target_alias 716 ac_env_CC_set=${CC+set} 717 ac_env_CC_value=$CC 718 ac_cv_env_CC_set=${CC+set} 719 ac_cv_env_CC_value=$CC 720 ac_env_CFLAGS_set=${CFLAGS+set} 721 ac_env_CFLAGS_value=$CFLAGS 722 ac_cv_env_CFLAGS_set=${CFLAGS+set} 723 ac_cv_env_CFLAGS_value=$CFLAGS 724 ac_env_LDFLAGS_set=${LDFLAGS+set} 725 ac_env_LDFLAGS_value=$LDFLAGS 726 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 727 ac_cv_env_LDFLAGS_value=$LDFLAGS 728 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 729 ac_env_CPPFLAGS_value=$CPPFLAGS 730 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 731 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 1403 pwd)` 1404 # When building in place, set srcdir=. 1405 if test "$ac_abs_confdir" = "$ac_pwd"; then 1406 srcdir=. 1407 fi 1408 # Remove unnecessary trailing slashes from srcdir. 1409 # Double slashes in file names in object file debugging info 1410 # mess up M-x gdb in Emacs. 1411 case $srcdir in 1412 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1413 esac 1414 for ac_var in $ac_precious_vars; do 1415 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1416 eval ac_env_${ac_var}_value=\$${ac_var} 1417 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1418 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1419 done 732 1420 733 1421 # … … 738 1426 # This message is too long to be a string in the A/UX 3.1 sh. 739 1427 cat <<_ACEOF 740 \`configure' configures mod_gnutls 0. 2.0to adapt to many kinds of systems.1428 \`configure' configures mod_gnutls 0.3.4 to adapt to many kinds of systems. 741 1429 742 1430 Usage: $0 [OPTION]... [VAR=VALUE]... … … 758 1446 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 759 1447 760 _ACEOF761 762 cat <<_ACEOF763 1448 Installation directories: 764 1449 --prefix=PREFIX install architecture-independent files in PREFIX … … 778 1463 --sbindir=DIR system admin executables [EPREFIX/sbin] 779 1464 --libexecdir=DIR program executables [EPREFIX/libexec] 780 --datadir=DIR read-only architecture-independent data [PREFIX/share]781 1465 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 782 1466 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] … … 785 1469 --includedir=DIR C header files [PREFIX/include] 786 1470 --oldincludedir=DIR C header files for non-gcc [/usr/include] 787 --infodir=DIR info documentation [PREFIX/info] 788 --mandir=DIR man documentation [PREFIX/man] 1471 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1472 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1473 --infodir=DIR info documentation [DATAROOTDIR/info] 1474 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1475 --mandir=DIR man documentation [DATAROOTDIR/man] 1476 --docdir=DIR documentation root [DATAROOTDIR/doc/mod_gnutls] 1477 --htmldir=DIR html documentation [DOCDIR] 1478 --dvidir=DIR dvi documentation [DOCDIR] 1479 --pdfdir=DIR pdf documentation [DOCDIR] 1480 --psdir=DIR ps documentation [DOCDIR] 789 1481 _ACEOF 790 1482 … … 805 1497 if test -n "$ac_init_help"; then 806 1498 case $ac_init_help in 807 short | recursive ) echo "Configuration of mod_gnutls 0. 2.0:";;1499 short | recursive ) echo "Configuration of mod_gnutls 0.3.4:";; 808 1500 esac 809 1501 cat <<\_ACEOF … … 817 1509 --disable-dependency-tracking speeds up one-time build 818 1510 --enable-dependency-tracking do not reject slow dependency extractors 1511 --enable-shared[=PKGS] build shared libraries [default=yes] 1512 --enable-static[=PKGS] build static libraries [default=yes] 1513 --enable-fast-install[=PKGS] 1514 optimize for fast installation [default=yes] 1515 --disable-libtool-lock avoid locking (might break parallel builds) 819 1516 --disable-apxstest Do not try to compile and run apache version test 820 1517 program … … 824 1521 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 825 1522 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1523 --with-pic try to use only PIC/non-PIC objects [default=use 1524 both] 1525 --with-tags[=TAGS] include additional configurations [automatic] 826 1526 --with-apxs=PATH Path to apxs 827 1527 --with-libgnutls=PATH Path to libgnutls … … 834 1534 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 835 1535 nonstandard directory <lib dir> 836 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 837 headers in a nonstandard directory <include dir> 1536 LIBS libraries to pass to the linker, e.g. -l<library> 1537 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1538 you have headers in a nonstandard directory <include dir> 1539 CPP C preprocessor 1540 CXX C++ compiler command 1541 CXXFLAGS C++ compiler flags 1542 CXXCPP C++ preprocessor 1543 F77 Fortran 77 compiler command 1544 FFLAGS Fortran 77 compiler flags 838 1545 839 1546 Use these variables to override the choices made by `configure' or to help … … 841 1548 842 1549 _ACEOF 1550 ac_status=$? 843 1551 fi 844 1552 845 1553 if test "$ac_init_help" = "recursive"; then 846 1554 # If there are subdirs, report their specific --help. 847 ac_popdir=`pwd`848 1555 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 849 test -d $ac_dir|| continue1556 test -d "$ac_dir" || continue 850 1557 ac_builddir=. 851 1558 852 if test "$ac_dir" != .; then 1559 case "$ac_dir" in 1560 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1561 *) 853 1562 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 854 # A "../" for each directory in $ac_dir_suffix. 855 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 856 else 857 ac_dir_suffix= ac_top_builddir= 858 fi 1563 # A ".." for each directory in $ac_dir_suffix. 1564 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1565 case $ac_top_builddir_sub in 1566 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1567 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1568 esac ;; 1569 esac 1570 ac_abs_top_builddir=$ac_pwd 1571 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1572 # for backward compatibility: 1573 ac_top_builddir=$ac_top_build_prefix 859 1574 860 1575 case $srcdir in 861 .) # No --srcdir option.We are building in place.1576 .) # We are building in place. 862 1577 ac_srcdir=. 863 if test -z "$ac_top_builddir"; then 864 ac_top_srcdir=. 865 else 866 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 867 fi ;; 868 [\\/]* | ?:[\\/]* ) # Absolute path. 1578 ac_top_srcdir=$ac_top_builddir_sub 1579 ac_abs_top_srcdir=$ac_pwd ;; 1580 [\\/]* | ?:[\\/]* ) # Absolute name. 869 1581 ac_srcdir=$srcdir$ac_dir_suffix; 870 ac_top_srcdir=$srcdir ;; 871 *) # Relative path. 872 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 873 ac_top_srcdir=$ac_top_builddir$srcdir ;; 1582 ac_top_srcdir=$srcdir 1583 ac_abs_top_srcdir=$srcdir ;; 1584 *) # Relative name. 1585 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1586 ac_top_srcdir=$ac_top_build_prefix$srcdir 1587 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 874 1588 esac 875 876 # Do not use `cd foo && pwd` to compute absolute paths, because 877 # the directories may not exist. 878 case `pwd` in 879 .) ac_abs_builddir="$ac_dir";; 880 *) 881 case "$ac_dir" in 882 .) ac_abs_builddir=`pwd`;; 883 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 884 *) ac_abs_builddir=`pwd`/"$ac_dir";; 885 esac;; 886 esac 887 case $ac_abs_builddir in 888 .) ac_abs_top_builddir=${ac_top_builddir}.;; 889 *) 890 case ${ac_top_builddir}. in 891 .) ac_abs_top_builddir=$ac_abs_builddir;; 892 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 893 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 894 esac;; 895 esac 896 case $ac_abs_builddir in 897 .) ac_abs_srcdir=$ac_srcdir;; 898 *) 899 case $ac_srcdir in 900 .) ac_abs_srcdir=$ac_abs_builddir;; 901 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 902 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 903 esac;; 904 esac 905 case $ac_abs_builddir in 906 .) ac_abs_top_srcdir=$ac_top_srcdir;; 907 *) 908 case $ac_top_srcdir in 909 .) ac_abs_top_srcdir=$ac_abs_builddir;; 910 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 911 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 912 esac;; 913 esac 914 915 cd $ac_dir 916 # Check for guested configure; otherwise get Cygnus style configure. 917 if test -f $ac_srcdir/configure.gnu; then 918 echo 919 $SHELL $ac_srcdir/configure.gnu --help=recursive 920 elif test -f $ac_srcdir/configure; then 921 echo 922 $SHELL $ac_srcdir/configure --help=recursive 923 elif test -f $ac_srcdir/configure.ac || 924 test -f $ac_srcdir/configure.in; then 925 echo 926 $ac_configure --help 1589 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1590 1591 cd "$ac_dir" || { ac_status=$?; continue; } 1592 # Check for guested configure. 1593 if test -f "$ac_srcdir/configure.gnu"; then 1594 echo && 1595 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1596 elif test -f "$ac_srcdir/configure"; then 1597 echo && 1598 $SHELL "$ac_srcdir/configure" --help=recursive 927 1599 else 928 1600 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 929 fi 930 cd "$ac_p opdir"1601 fi || ac_status=$? 1602 cd "$ac_pwd" || { ac_status=$?; break; } 931 1603 done 932 1604 fi 933 1605 934 test -n "$ac_init_help" && exit 01606 test -n "$ac_init_help" && exit $ac_status 935 1607 if $ac_init_version; then 936 1608 cat <<\_ACEOF 937 mod_gnutls configure 0.2.0 938 generated by GNU Autoconf 2.59 939 940 Copyright (C) 2003 Free Software Foundation, Inc. 1609 mod_gnutls configure 0.3.4 1610 generated by GNU Autoconf 2.61 1611 1612 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1613 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 941 1614 This configure script is free software; the Free Software Foundation 942 1615 gives unlimited permission to copy, distribute and modify it. 943 1616 _ACEOF 944 exit 0 945 fi 946 exec 5>config.log 947 cat >&5 <<_ACEOF 1617 exit 1618 fi 1619 cat >config.log <<_ACEOF 948 1620 This file contains any messages produced by compilers while 949 1621 running configure, to aid debugging if configure makes a mistake. 950 1622 951 It was created by mod_gnutls $as_me 0. 2.0, which was952 generated by GNU Autoconf 2. 59. Invocation command line was1623 It was created by mod_gnutls $as_me 0.3.4, which was 1624 generated by GNU Autoconf 2.61. Invocation command line was 953 1625 954 1626 $ $0 $@ 955 1627 956 1628 _ACEOF 1629 exec 5>>config.log 957 1630 { 958 1631 cat <<_ASUNAME … … 973 1646 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 974 1647 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 975 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1648 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 976 1649 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 977 1650 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 987 1660 echo "PATH: $as_dir" 988 1661 done 1662 IFS=$as_save_IFS 989 1663 990 1664 } >&5 … … 1008 1682 ac_configure_args0= 1009 1683 ac_configure_args1= 1010 ac_sep=1011 1684 ac_must_keep_next=false 1012 1685 for ac_pass in 1 2 … … 1019 1692 | -silent | --silent | --silen | --sile | --sil) 1020 1693 continue ;; 1021 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1694 *\'*) 1022 1695 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1023 1696 esac … … 1041 1714 esac 1042 1715 fi 1043 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1044 # Get rid of the leading space. 1045 ac_sep=" " 1716 ac_configure_args="$ac_configure_args '$ac_arg'" 1046 1717 ;; 1047 1718 esac … … 1054 1725 # config.log. We remove comments because anyway the quotes in there 1055 1726 # would cause problems or look ugly. 1056 # WARNING: Be sure not to use single quotes in there, as some shells,1057 # such as our DU 5.0 friend, will then `close' the trap.1727 # WARNING: Use '\'' to represent an apostrophe within the trap. 1728 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1058 1729 trap 'exit_status=$? 1059 1730 # Save into config.log some information that might help in debugging. … … 1068 1739 echo 1069 1740 # The following way of writing the cache mishandles newlines in values, 1070 { 1741 ( 1742 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1743 eval ac_val=\$$ac_var 1744 case $ac_val in #( 1745 *${as_nl}*) 1746 case $ac_var in #( 1747 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1748 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1749 esac 1750 case $ac_var in #( 1751 _ | IFS | as_nl) ;; #( 1752 *) $as_unset $ac_var ;; 1753 esac ;; 1754 esac 1755 done 1071 1756 (set) 2>&1 | 1072 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1073 * ac_space=\ *)1757 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1758 *${as_nl}ac_space=\ *) 1074 1759 sed -n \ 1075 "s/' "'"'/'"'"'\\\\'"'"''"'"'/g;1076 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=' "'"'\\2'"'"'/p"1077 ;; 1760 "s/'\''/'\''\\\\'\'''\''/g; 1761 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1762 ;; #( 1078 1763 *) 1079 sed -n \1080 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1081 ;;1082 esac;1083 } 1764 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1765 ;; 1766 esac | 1767 sort 1768 ) 1084 1769 echo 1085 1770 … … 1092 1777 for ac_var in $ac_subst_vars 1093 1778 do 1094 eval ac_val=$`echo $ac_var` 1095 echo "$ac_var='"'"'$ac_val'"'"'" 1779 eval ac_val=\$$ac_var 1780 case $ac_val in 1781 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1782 esac 1783 echo "$ac_var='\''$ac_val'\''" 1096 1784 done | sort 1097 1785 echo … … 1099 1787 if test -n "$ac_subst_files"; then 1100 1788 cat <<\_ASBOX 1101 ## ------------- ##1102 ## Output files. ##1103 ## ------------- ##1789 ## ------------------- ## 1790 ## File substitutions. ## 1791 ## ------------------- ## 1104 1792 _ASBOX 1105 1793 echo 1106 1794 for ac_var in $ac_subst_files 1107 1795 do 1108 eval ac_val=$`echo $ac_var` 1109 echo "$ac_var='"'"'$ac_val'"'"'" 1796 eval ac_val=\$$ac_var 1797 case $ac_val in 1798 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1799 esac 1800 echo "$ac_var='\''$ac_val'\''" 1110 1801 done | sort 1111 1802 echo … … 1119 1810 _ASBOX 1120 1811 echo 1121 sed "/^$/d" confdefs.h | sort1812 cat confdefs.h 1122 1813 echo 1123 1814 fi … … 1126 1817 echo "$as_me: exit $exit_status" 1127 1818 } >&5 1128 rm -f core *.core &&1129 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1819 rm -f core *.core core.conftest.* && 1820 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1130 1821 exit $exit_status 1131 1822 ' 0 1132 1823 for ac_signal in 1 2 13 15; do 1133 1824 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1136 1827 1137 1828 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1138 rm -rf conftest* confdefs.h 1139 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1140 echo >confdefs.h 1829 rm -f -r conftest* confdefs.h 1141 1830 1142 1831 # Predefined preprocessor variables. … … 1169 1858 # Let the site file select an alternate cache file if it wants to. 1170 1859 # Prefer explicitly selected file to automatically selected ones. 1171 if test -z "$CONFIG_SITE"; then 1172 if test "x$prefix" != xNONE; then 1173 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1174 else 1175 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1176 fi 1177 fi 1178 for ac_site_file in $CONFIG_SITE; do 1860 if test -n "$CONFIG_SITE"; then 1861 set x "$CONFIG_SITE" 1862 elif test "x$prefix" != xNONE; then 1863 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1864 else 1865 set x "$ac_default_prefix/share/config.site" \ 1866 "$ac_default_prefix/etc/config.site" 1867 fi 1868 shift 1869 for ac_site_file 1870 do 1179 1871 if test -r "$ac_site_file"; then 1180 1872 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 … … 1192 1884 echo "$as_me: loading cache $cache_file" >&6;} 1193 1885 case $cache_file in 1194 [\\/]* | ?:[\\/]* ) . $cache_file;;1195 *) . ./$cache_file;;1886 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1887 *) . "./$cache_file";; 1196 1888 esac 1197 1889 fi … … 1205 1897 # value. 1206 1898 ac_cache_corrupted=false 1207 for ac_var in `(set) 2>&1 | 1208 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1899 for ac_var in $ac_precious_vars; do 1209 1900 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1210 1901 eval ac_new_set=\$ac_env_${ac_var}_set 1211 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1212 eval ac_new_val= "\$ac_env_${ac_var}_value"1902 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1903 eval ac_new_val=\$ac_env_${ac_var}_value 1213 1904 case $ac_old_set,$ac_new_set in 1214 1905 set,) … … 1235 1926 if test "$ac_new_set" = set; then 1236 1927 case $ac_new_val in 1237 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1238 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1928 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1239 1929 *) ac_arg=$ac_var=$ac_new_val ;; 1240 1930 esac … … 1253 1943 fi 1254 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1255 1969 ac_ext=c 1256 1970 ac_cpp='$CPP $CPPFLAGS' … … 1258 1972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1259 1973 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1974 1286 1975 … … 1303 1992 chmod +x config.nice 1304 1993 1305 MOD_GNUTLS_VERSION=0. 2.01994 MOD_GNUTLS_VERSION=0.3.4 1306 1995 1307 1996 1308 1997 ac_aux_dir= 1309 for ac_dir in config $srcdir/config; do1310 if test -f $ac_dir/install-sh; then1998 for ac_dir in config "$srcdir"/config; do 1999 if test -f "$ac_dir/install-sh"; then 1311 2000 ac_aux_dir=$ac_dir 1312 2001 ac_install_sh="$ac_aux_dir/install-sh -c" 1313 2002 break 1314 elif test -f $ac_dir/install.sh; then2003 elif test -f "$ac_dir/install.sh"; then 1315 2004 ac_aux_dir=$ac_dir 1316 2005 ac_install_sh="$ac_aux_dir/install.sh -c" 1317 2006 break 1318 elif test -f $ac_dir/shtool; then2007 elif test -f "$ac_dir/shtool"; then 1319 2008 ac_aux_dir=$ac_dir 1320 2009 ac_install_sh="$ac_aux_dir/shtool install -c" … … 1323 2012 done 1324 2013 if test -z "$ac_aux_dir"; then 1325 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&51326 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}2014 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5 2015 echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;} 1327 2016 { (exit 1); exit 1; }; } 1328 2017 fi 1329 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1330 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1331 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1332 1333 1334 # Check whether --enable-maintainer or --disable-maintainer was given. 2018 2019 # These three variables are undocumented and unsupported, 2020 # and are intended to be withdrawn in a future Autoconf release. 2021 # They can cause serious problems if a builder's source tree is in a directory 2022 # whose full name contains unusual characters. 2023 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2024 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2025 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2026 2027 2028 2029 2030 # Check whether --enable-maintainer was given. 1335 2031 if test "${enable_maintainer+set}" = set; then 1336 enableval="$enable_maintainer" 1337 echo "$as_me:$LINENO: result: Enabling Maintainer Mode!!" >&5 1338 echo "${ECHO_T}Enabling Maintainer Mode!!" >&6 2032 enableval=$enable_maintainer; { echo "$as_me:$LINENO: result: Enabling Maintainer Mode!!" >&5 2033 echo "${ECHO_T}Enabling Maintainer Mode!!" >&6; } 1339 2034 OOO_MAINTAIN=1 1340 2035 else 1341 2036 OOO_MAINTAIN=0 1342 fi; 1343 1344 1345 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 1346 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 1347 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 2037 fi 2038 2039 2040 2041 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 2042 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } 2043 # Check whether --enable-maintainer-mode was given. 1348 2044 if test "${enable_maintainer_mode+set}" = set; then 1349 enableval="$enable_maintainer_mode" 1350 USE_MAINTAINER_MODE=$enableval 2045 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 1351 2046 else 1352 2047 USE_MAINTAINER_MODE=no 1353 fi; 1354 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 1355 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 1356 1357 1358 if test $USE_MAINTAINER_MODE = yes; then 2048 fi 2049 2050 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 2051 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } 2052 if test $USE_MAINTAINER_MODE = yes; then 1359 2053 MAINTAINER_MODE_TRUE= 1360 2054 MAINTAINER_MODE_FALSE='#' … … 1368 2062 1369 2063 # Make sure we can run config.sub. 1370 $ ac_config_subsun4 >/dev/null 2>&1 ||1371 { { echo "$as_me:$LINENO: error: cannot run $ ac_config_sub" >&51372 echo "$as_me: error: cannot run $ ac_config_sub" >&2;}2064 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2065 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 2066 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1373 2067 { (exit 1); exit 1; }; } 1374 2068 1375 echo "$as_me:$LINENO: checking build system type" >&51376 echo $ECHO_N "checking build system type... $ECHO_C" >&6 2069 { echo "$as_me:$LINENO: checking build system type" >&5 2070 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 1377 2071 if test "${ac_cv_build+set}" = set; then 1378 2072 echo $ECHO_N "(cached) $ECHO_C" >&6 1379 2073 else 1380 ac_ cv_build_alias=$build_alias1381 test -z "$ac_cv_build_alias"&&1382 ac_ cv_build_alias=`$ac_config_guess`1383 test -z "$ac_cv_build_alias"&&2074 ac_build_alias=$build_alias 2075 test "x$ac_build_alias" = x && 2076 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2077 test "x$ac_build_alias" = x && 1384 2078 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1385 2079 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1386 2080 { (exit 1); exit 1; }; } 1387 ac_cv_build=`$ ac_config_sub $ac_cv_build_alias` ||1388 { { echo "$as_me:$LINENO: error: $ ac_config_sub $ac_cv_build_alias failed" >&51389 echo "$as_me: error: $ ac_config_sub $ac_cv_build_alias failed" >&2;}2081 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2082 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 2083 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1390 2084 { (exit 1); exit 1; }; } 1391 2085 1392 2086 fi 1393 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1394 echo "${ECHO_T}$ac_cv_build" >&6 2087 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2088 echo "${ECHO_T}$ac_cv_build" >&6; } 2089 case $ac_cv_build in 2090 *-*-*) ;; 2091 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 2092 echo "$as_me: error: invalid value of canonical build" >&2;} 2093 { (exit 1); exit 1; }; };; 2094 esac 1395 2095 build=$ac_cv_build 1396 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1397 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1398 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1399 1400 1401 echo "$as_me:$LINENO: checking host system type" >&5 1402 echo $ECHO_N "checking host system type... $ECHO_C" >&6 2096 ac_save_IFS=$IFS; IFS='-' 2097 set x $ac_cv_build 2098 shift 2099 build_cpu=$1 2100 build_vendor=$2 2101 shift; shift 2102 # Remember, the first character of IFS is used to create $*, 2103 # except with old shells: 2104 build_os=$* 2105 IFS=$ac_save_IFS 2106 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2107 2108 2109 { echo "$as_me:$LINENO: checking host system type" >&5 2110 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 1403 2111 if test "${ac_cv_host+set}" = set; then 1404 2112 echo $ECHO_N "(cached) $ECHO_C" >&6 1405 2113 else 1406 ac_cv_host_alias=$host_alias1407 test -z "$ac_cv_host_alias" && 1408 ac_cv_host_alias=$ac_cv_build_alias 1409 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||1410 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&51411 echo "$as_me: error: $ ac_config_sub $ac_cv_host_alias failed" >&2;}2114 if test "x$host_alias" = x; then 2115 ac_cv_host=$ac_cv_build 2116 else 2117 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2118 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 2119 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1412 2120 { (exit 1); exit 1; }; } 1413 1414 fi 1415 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1416 echo "${ECHO_T}$ac_cv_host" >&6 2121 fi 2122 2123 fi 2124 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2125 echo "${ECHO_T}$ac_cv_host" >&6; } 2126 case $ac_cv_host in 2127 *-*-*) ;; 2128 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 2129 echo "$as_me: error: invalid value of canonical host" >&2;} 2130 { (exit 1); exit 1; }; };; 2131 esac 1417 2132 host=$ac_cv_host 1418 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1419 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1420 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1421 1422 1423 echo "$as_me:$LINENO: checking target system type" >&5 1424 echo $ECHO_N "checking target system type... $ECHO_C" >&6 2133 ac_save_IFS=$IFS; IFS='-' 2134 set x $ac_cv_host 2135 shift 2136 host_cpu=$1 2137 host_vendor=$2 2138 shift; shift 2139 # Remember, the first character of IFS is used to create $*, 2140 # except with old shells: 2141 host_os=$* 2142 IFS=$ac_save_IFS 2143 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2144 2145 2146 { echo "$as_me:$LINENO: checking target system type" >&5 2147 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 1425 2148 if test "${ac_cv_target+set}" = set; then 1426 2149 echo $ECHO_N "(cached) $ECHO_C" >&6 1427 2150 else 1428 ac_cv_target_alias=$target_alias1429 test "x$ac_cv_target_alias" = "x" && 1430 ac_cv_target_alias=$ac_cv_host_alias 1431 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||1432 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&51433 echo "$as_me: error: $ ac_config_sub $ac_cv_target_alias failed" >&2;}2151 if test "x$target_alias" = x; then 2152 ac_cv_target=$ac_cv_host 2153 else 2154 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2155 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 2156 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1434 2157 { (exit 1); exit 1; }; } 1435 1436 fi 1437 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1438 echo "${ECHO_T}$ac_cv_target" >&6 2158 fi 2159 2160 fi 2161 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 2162 echo "${ECHO_T}$ac_cv_target" >&6; } 2163 case $ac_cv_target in 2164 *-*-*) ;; 2165 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 2166 echo "$as_me: error: invalid value of canonical target" >&2;} 2167 { (exit 1); exit 1; }; };; 2168 esac 1439 2169 target=$ac_cv_target 1440 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1441 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1442 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2170 ac_save_IFS=$IFS; IFS='-' 2171 set x $ac_cv_target 2172 shift 2173 target_cpu=$1 2174 target_vendor=$2 2175 shift; shift 2176 # Remember, the first character of IFS is used to create $*, 2177 # except with old shells: 2178 target_os=$* 2179 IFS=$ac_save_IFS 2180 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 1443 2181 1444 2182 … … 1449 2187 NONENONEs,x,x, && 1450 2188 program_prefix=${target_alias}- 1451 am__api_version="1.9" 2189 am__api_version='1.10' 2190 1452 2191 # Find a good install program. We prefer a C program (faster), 1453 2192 # so one script is as good as another. But avoid the broken or … … 1463 2202 # OS/2's system install, which has a completely different semantic 1464 2203 # ./install, which can be erroneously created by make from ./install.sh. 1465 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&51466 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 2204 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2205 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 1467 2206 if test -z "$INSTALL"; then 1468 2207 if test "${ac_cv_path_install+set}" = set; then … … 1486 2225 for ac_prog in ginstall scoinst install; do 1487 2226 for ac_exec_ext in '' $ac_executable_extensions; do 1488 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then2227 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1489 2228 if test $ac_prog = install && 1490 2229 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 1505 2244 esac 1506 2245 done 2246 IFS=$as_save_IFS 1507 2247 1508 2248 … … 1511 2251 INSTALL=$ac_cv_path_install 1512 2252 else 1513 # As a last resort, use the slow shell script. We don't cache a1514 # pathfor INSTALL within a source directory, because that will2253 # As a last resort, use the slow shell script. Don't cache a 2254 # value for INSTALL within a source directory, because that will 1515 2255 # break other packages using the cache if that directory is 1516 # removed, or if the path is relative.2256 # removed, or if the value is a relative name. 1517 2257 INSTALL=$ac_install_sh 1518 2258 fi 1519 2259 fi 1520 echo "$as_me:$LINENO: result: $INSTALL" >&51521 echo "${ECHO_T}$INSTALL" >&6 2260 { echo "$as_me:$LINENO: result: $INSTALL" >&5 2261 echo "${ECHO_T}$INSTALL" >&6; } 1522 2262 1523 2263 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 1529 2269 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1530 2270 1531 echo "$as_me:$LINENO: checking whether build environment is sane" >&51532 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 2271 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2272 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 1533 2273 # Just in case 1534 2274 sleep 1 … … 1572 2312 { (exit 1); exit 1; }; } 1573 2313 fi 1574 echo "$as_me:$LINENO: result: yes" >&51575 echo "${ECHO_T}yes" >&6 2314 { echo "$as_me:$LINENO: result: yes" >&5 2315 echo "${ECHO_T}yes" >&6; } 1576 2316 test "$program_prefix" != NONE && 1577 program_transform_name="s ,^,$program_prefix,;$program_transform_name"2317 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1578 2318 # Use a double $ so make ignores it. 1579 2319 test "$program_suffix" != NONE && 1580 program_transform_name="s ,\$,$program_suffix,;$program_transform_name"2320 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1581 2321 # Double any \ or $. echo might interpret backslashes. 1582 2322 # By default was `s,x,x', remove it if useless. … … 1585 2325 _ACEOF 1586 2326 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1587 rm conftest.sed2327 rm -f conftest.sed 1588 2328 1589 2329 # expand $ac_aux_dir to an absolute path … … 1600 2340 fi 1601 2341 1602 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 1603 # We used to keeping the `.' as first argument, in order to 1604 # allow $(mkdir_p) to be used without argument. As in 1605 # $(mkdir_p) $(somedir) 1606 # where $(somedir) is conditionally defined. However this is wrong 1607 # for two reasons: 1608 # 1. if the package is installed by a user who cannot write `.' 1609 # make install will fail, 1610 # 2. the above comment should most certainly read 1611 # $(mkdir_p) $(DESTDIR)$(somedir) 1612 # so it does not work when $(somedir) is undefined and 1613 # $(DESTDIR) is not. 1614 # To support the latter case, we have to write 1615 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 1616 # so the `.' trick is pointless. 1617 mkdir_p='mkdir -p --' 1618 else 1619 # On NextStep and OpenStep, the `mkdir' command does not 1620 # recognize any option. It will interpret all options as 1621 # directories to create, and then abort because `.' already 1622 # exists. 1623 for d in ./-p ./--version; 1624 do 1625 test -d $d && rmdir $d 1626 done 1627 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 1628 if test -f "$ac_aux_dir/mkinstalldirs"; then 1629 mkdir_p='$(mkinstalldirs)' 2342 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 2343 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } 2344 if test -z "$MKDIR_P"; then 2345 if test "${ac_cv_path_mkdir+set}" = set; then 2346 echo $ECHO_N "(cached) $ECHO_C" >&6 2347 else 2348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2349 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2350 do 2351 IFS=$as_save_IFS 2352 test -z "$as_dir" && as_dir=. 2353 for ac_prog in mkdir gmkdir; do 2354 for ac_exec_ext in '' $ac_executable_extensions; do 2355 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2356 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2357 'mkdir (GNU coreutils) '* | \ 2358 'mkdir (coreutils) '* | \ 2359 'mkdir (fileutils) '4.1*) 2360 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2361 break 3;; 2362 esac 2363 done 2364 done 2365 done 2366 IFS=$as_save_IFS 2367 2368 fi 2369 2370 if test "${ac_cv_path_mkdir+set}" = set; then 2371 MKDIR_P="$ac_cv_path_mkdir -p" 1630 2372 else 1631 mkdir_p='$(install_sh) -d' 2373 # As a last resort, use the slow shell script. Don't cache a 2374 # value for MKDIR_P within a source directory, because that will 2375 # break other packages using the cache if that directory is 2376 # removed, or if the value is a relative name. 2377 test -d ./--version && rmdir ./--version 2378 MKDIR_P="$ac_install_sh -d" 1632 2379 fi 1633 2380 fi 2381 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2382 echo "${ECHO_T}$MKDIR_P" >&6; } 2383 2384 mkdir_p="$MKDIR_P" 2385 case $mkdir_p in 2386 [\\/$]* | ?:[\\/]*) ;; 2387 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2388 esac 1634 2389 1635 2390 for ac_prog in gawk mawk nawk awk … … 1637 2392 # Extract the first word of "$ac_prog", so it can be a program name with args. 1638 2393 set dummy $ac_prog; ac_word=$2 1639 echo "$as_me:$LINENO: checking for $ac_word" >&51640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2394 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1641 2396 if test "${ac_cv_prog_AWK+set}" = set; then 1642 2397 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1651 2406 test -z "$as_dir" && as_dir=. 1652 2407 for ac_exec_ext in '' $ac_executable_extensions; do 1653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1654 2409 ac_cv_prog_AWK="$ac_prog" 1655 2410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1658 2413 done 1659 2414 done 2415 IFS=$as_save_IFS 1660 2416 1661 2417 fi … … 1663 2419 AWK=$ac_cv_prog_AWK 1664 2420 if test -n "$AWK"; then 1665 echo "$as_me:$LINENO: result: $AWK" >&5 1666 echo "${ECHO_T}$AWK" >&6 1667 else 1668 echo "$as_me:$LINENO: result: no" >&5 1669 echo "${ECHO_T}no" >&6 1670 fi 2421 { echo "$as_me:$LINENO: result: $AWK" >&5 2422 echo "${ECHO_T}$AWK" >&6; } 2423 else 2424 { echo "$as_me:$LINENO: result: no" >&5 2425 echo "${ECHO_T}no" >&6; } 2426 fi 2427 1671 2428 1672 2429 test -n "$AWK" && break 1673 2430 done 1674 2431 1675 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&51676 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1677 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`1678 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then2432 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2433 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 2434 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2435 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 1679 2436 echo $ECHO_N "(cached) $ECHO_C" >&6 1680 2437 else 1681 2438 cat >conftest.make <<\_ACEOF 2439 SHELL = /bin/sh 1682 2440 all: 1683 @echo ' ac_maketemp="$(MAKE)"'2441 @echo '@@@%%%=$(MAKE)=@@@%%%' 1684 2442 _ACEOF 1685 2443 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1686 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1687 if test -n "$ac_maketemp"; then 1688 eval ac_cv_prog_make_${ac_make}_set=yes1689 else 1690 eval ac_cv_prog_make_${ac_make}_set=no1691 fi 2444 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2445 *@@@%%%=?*=@@@%%%*) 2446 eval ac_cv_prog_make_${ac_make}_set=yes;; 2447 *) 2448 eval ac_cv_prog_make_${ac_make}_set=no;; 2449 esac 1692 2450 rm -f conftest.make 1693 2451 fi 1694 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then1695 echo "$as_me:$LINENO: result: yes" >&51696 echo "${ECHO_T}yes" >&6 2452 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2453 { echo "$as_me:$LINENO: result: yes" >&5 2454 echo "${ECHO_T}yes" >&6; } 1697 2455 SET_MAKE= 1698 2456 else 1699 echo "$as_me:$LINENO: result: no" >&51700 echo "${ECHO_T}no" >&6 2457 { echo "$as_me:$LINENO: result: no" >&5 2458 echo "${ECHO_T}no" >&6; } 1701 2459 SET_MAKE="MAKE=${MAKE-make}" 1702 2460 fi … … 1711 2469 rmdir .tst 2>/dev/null 1712 2470 1713 # test to see if srcdir already configured 1714 if test "`cd $srcdir && pwd`" != "`pwd`" && 1715 test -f $srcdir/config.status; then 1716 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2471 if test "`cd $srcdir && pwd`" != "`pwd`"; then 2472 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2473 # is not polluted with repeated "-I." 2474 am__isrc=' -I$(srcdir)' 2475 # test to see if srcdir already configured 2476 if test -f $srcdir/config.status; then 2477 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 1717 2478 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 1718 2479 { (exit 1); exit 1; }; } 2480 fi 1719 2481 fi 1720 2482 … … 1731 2493 # Define the identity of the package. 1732 2494 PACKAGE=mod_gnutls 1733 VERSION=0. 2.02495 VERSION=0.3.4 1734 2496 1735 2497 … … 1759 2521 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1760 2522 1761 install_sh=${install_sh-" $am_aux_dir/install-sh"}2523 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 1762 2524 1763 2525 # Installed binaries are usually stripped using `strip' when the user … … 1769 2531 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 1770 2532 set dummy ${ac_tool_prefix}strip; ac_word=$2 1771 echo "$as_me:$LINENO: checking for $ac_word" >&51772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2533 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1773 2535 if test "${ac_cv_prog_STRIP+set}" = set; then 1774 2536 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1783 2545 test -z "$as_dir" && as_dir=. 1784 2546 for ac_exec_ext in '' $ac_executable_extensions; do 1785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1786 2548 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 1787 2549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1790 2552 done 1791 2553 done 2554 IFS=$as_save_IFS 1792 2555 1793 2556 fi … … 1795 2558 STRIP=$ac_cv_prog_STRIP 1796 2559 if test -n "$STRIP"; then 1797 echo "$as_me:$LINENO: result: $STRIP" >&5 1798 echo "${ECHO_T}$STRIP" >&6 1799 else 1800 echo "$as_me:$LINENO: result: no" >&5 1801 echo "${ECHO_T}no" >&6 1802 fi 2560 { echo "$as_me:$LINENO: result: $STRIP" >&5 2561 echo "${ECHO_T}$STRIP" >&6; } 2562 else 2563 { echo "$as_me:$LINENO: result: no" >&5 2564 echo "${ECHO_T}no" >&6; } 2565 fi 2566 1803 2567 1804 2568 fi … … 1807 2571 # Extract the first word of "strip", so it can be a program name with args. 1808 2572 set dummy strip; ac_word=$2 1809 echo "$as_me:$LINENO: checking for $ac_word" >&51810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2573 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1811 2575 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 1812 2576 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1821 2585 test -z "$as_dir" && as_dir=. 1822 2586 for ac_exec_ext in '' $ac_executable_extensions; do 1823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1824 2588 ac_cv_prog_ac_ct_STRIP="strip" 1825 2589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1828 2592 done 1829 2593 done 1830 1831 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 2594 IFS=$as_save_IFS 2595 1832 2596 fi 1833 2597 fi 1834 2598 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 1835 2599 if test -n "$ac_ct_STRIP"; then 1836 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 1837 echo "${ECHO_T}$ac_ct_STRIP" >&6 1838 else 1839 echo "$as_me:$LINENO: result: no" >&5 1840 echo "${ECHO_T}no" >&6 1841 fi 1842 1843 STRIP=$ac_ct_STRIP 2600 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2601 echo "${ECHO_T}$ac_ct_STRIP" >&6; } 2602 else 2603 { echo "$as_me:$LINENO: result: no" >&5 2604 echo "${ECHO_T}no" >&6; } 2605 fi 2606 2607 if test "x$ac_ct_STRIP" = x; then 2608 STRIP=":" 2609 else 2610 case $cross_compiling:$ac_tool_warned in 2611 yes:) 2612 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2613 whose name does not start with the host triplet. If you think this 2614 configuration is useful to you, please write to autoconf@gnu.org." >&5 2615 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2616 whose name does not start with the host triplet. If you think this 2617 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2618 ac_tool_warned=yes ;; 2619 esac 2620 STRIP=$ac_ct_STRIP 2621 fi 1844 2622 else 1845 2623 STRIP="$ac_cv_prog_STRIP" … … 1847 2625 1848 2626 fi 1849 INSTALL_STRIP_PROGRAM="\$ {SHELL} \$(install_sh) -c -s"2627 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 1850 2628 1851 2629 # We need awk for the "check" target. The system "awk" is bad on … … 1861 2639 1862 2640 1863 2641 ac_config_headers="$ac_config_headers include/mod_gnutls_config.h:config.in" 1864 2642 1865 2643 … … 1874 2652 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1875 2653 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1876 echo "$as_me:$LINENO: checking for $ac_word" >&51877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2654 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1878 2656 if test "${ac_cv_prog_CC+set}" = set; then 1879 2657 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1888 2666 test -z "$as_dir" && as_dir=. 1889 2667 for ac_exec_ext in '' $ac_executable_extensions; do 1890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1891 2669 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1892 2670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1895 2673 done 1896 2674 done 2675 IFS=$as_save_IFS 1897 2676 1898 2677 fi … … 1900 2679 CC=$ac_cv_prog_CC 1901 2680 if test -n "$CC"; then 1902 echo "$as_me:$LINENO: result: $CC" >&5 1903 echo "${ECHO_T}$CC" >&6 1904 else 1905 echo "$as_me:$LINENO: result: no" >&5 1906 echo "${ECHO_T}no" >&6 1907 fi 2681 { echo "$as_me:$LINENO: result: $CC" >&5 2682 echo "${ECHO_T}$CC" >&6; } 2683 else 2684 { echo "$as_me:$LINENO: result: no" >&5 2685 echo "${ECHO_T}no" >&6; } 2686 fi 2687 1908 2688 1909 2689 fi … … 1912 2692 # Extract the first word of "gcc", so it can be a program name with args. 1913 2693 set dummy gcc; ac_word=$2 1914 echo "$as_me:$LINENO: checking for $ac_word" >&51915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2694 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1916 2696 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1917 2697 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1926 2706 test -z "$as_dir" && as_dir=. 1927 2707 for ac_exec_ext in '' $ac_executable_extensions; do 1928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1929 2709 ac_cv_prog_ac_ct_CC="gcc" 1930 2710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1933 2713 done 1934 2714 done 2715 IFS=$as_save_IFS 1935 2716 1936 2717 fi … … 1938 2719 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1939 2720 if test -n "$ac_ct_CC"; then 1940 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1941 echo "${ECHO_T}$ac_ct_CC" >&6 1942 else 1943 echo "$as_me:$LINENO: result: no" >&5 1944 echo "${ECHO_T}no" >&6 1945 fi 1946 1947 CC=$ac_ct_CC 2721 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2722 echo "${ECHO_T}$ac_ct_CC" >&6; } 2723 else 2724 { echo "$as_me:$LINENO: result: no" >&5 2725 echo "${ECHO_T}no" >&6; } 2726 fi 2727 2728 if test "x$ac_ct_CC" = x; then 2729 CC="" 2730 else 2731 case $cross_compiling:$ac_tool_warned in 2732 yes:) 2733 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2734 whose name does not start with the host triplet. If you think this 2735 configuration is useful to you, please write to autoconf@gnu.org." >&5 2736 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2737 whose name does not start with the host triplet. If you think this 2738 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2739 ac_tool_warned=yes ;; 2740 esac 2741 CC=$ac_ct_CC 2742 fi 1948 2743 else 1949 2744 CC="$ac_cv_prog_CC" … … 1951 2746 1952 2747 if test -z "$CC"; then 1953 if test -n "$ac_tool_prefix"; then1954 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2748 if test -n "$ac_tool_prefix"; then 2749 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1955 2750 set dummy ${ac_tool_prefix}cc; ac_word=$2 1956 echo "$as_me:$LINENO: checking for $ac_word" >&51957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2751 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1958 2753 if test "${ac_cv_prog_CC+set}" = set; then 1959 2754 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1968 2763 test -z "$as_dir" && as_dir=. 1969 2764 for ac_exec_ext in '' $ac_executable_extensions; do 1970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1971 2766 ac_cv_prog_CC="${ac_tool_prefix}cc" 1972 2767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1975 2770 done 1976 2771 done 2772 IFS=$as_save_IFS 1977 2773 1978 2774 fi … … 1980 2776 CC=$ac_cv_prog_CC 1981 2777 if test -n "$CC"; then 1982 echo "$as_me:$LINENO: result: $CC" >&5 1983 echo "${ECHO_T}$CC" >&6 1984 else 1985 echo "$as_me:$LINENO: result: no" >&5 1986 echo "${ECHO_T}no" >&6 1987 fi 1988 1989 fi 1990 if test -z "$ac_cv_prog_CC"; then 1991 ac_ct_CC=$CC 1992 # Extract the first word of "cc", so it can be a program name with args. 1993 set dummy cc; ac_word=$2 1994 echo "$as_me:$LINENO: checking for $ac_word" >&5 1995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1996 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1997 echo $ECHO_N "(cached) $ECHO_C" >&6 1998 else 1999 if test -n "$ac_ct_CC"; then 2000 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2001 else 2002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2003 for as_dir in $PATH 2004 do 2005 IFS=$as_save_IFS 2006 test -z "$as_dir" && as_dir=. 2007 for ac_exec_ext in '' $ac_executable_extensions; do 2008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2009 ac_cv_prog_ac_ct_CC="cc" 2010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2011 break 2 2778 { echo "$as_me:$LINENO: result: $CC" >&5 2779 echo "${ECHO_T}$CC" >&6; } 2780 else 2781 { echo "$as_me:$LINENO: result: no" >&5 2782 echo "${ECHO_T}no" >&6; } 2783 fi 2784 2785 2012 2786 fi 2013 done2014 done2015 2016 fi2017 fi2018 ac_ct_CC=$ac_cv_prog_ac_ct_CC2019 if test -n "$ac_ct_CC"; then2020 echo "$as_me:$LINENO: result: $ac_ct_CC" >&52021 echo "${ECHO_T}$ac_ct_CC" >&62022 else2023 echo "$as_me:$LINENO: result: no" >&52024 echo "${ECHO_T}no" >&62025 fi2026 2027 CC=$ac_ct_CC2028 else2029 CC="$ac_cv_prog_CC"2030 fi2031 2032 2787 fi 2033 2788 if test -z "$CC"; then 2034 2789 # Extract the first word of "cc", so it can be a program name with args. 2035 2790 set dummy cc; ac_word=$2 2036 echo "$as_me:$LINENO: checking for $ac_word" >&52037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2791 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2038 2793 if test "${ac_cv_prog_CC+set}" = set; then 2039 2794 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2049 2804 test -z "$as_dir" && as_dir=. 2050 2805 for ac_exec_ext in '' $ac_executable_extensions; do 2051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2052 2807 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2053 2808 ac_prog_rejected=yes … … 2060 2815 done 2061 2816 done 2817 IFS=$as_save_IFS 2062 2818 2063 2819 if test $ac_prog_rejected = yes; then … … 2077 2833 CC=$ac_cv_prog_CC 2078 2834 if test -n "$CC"; then 2079 echo "$as_me:$LINENO: result: $CC" >&5 2080 echo "${ECHO_T}$CC" >&6 2081 else 2082 echo "$as_me:$LINENO: result: no" >&5 2083 echo "${ECHO_T}no" >&6 2084 fi 2835 { echo "$as_me:$LINENO: result: $CC" >&5 2836 echo "${ECHO_T}$CC" >&6; } 2837 else 2838 { echo "$as_me:$LINENO: result: no" >&5 2839 echo "${ECHO_T}no" >&6; } 2840 fi 2841 2085 2842 2086 2843 fi 2087 2844 if test -z "$CC"; then 2088 2845 if test -n "$ac_tool_prefix"; then 2089 for ac_prog in cl 2846 for ac_prog in cl.exe 2090 2847 do 2091 2848 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2092 2849 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2093 echo "$as_me:$LINENO: checking for $ac_word" >&52094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2850 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2095 2852 if test "${ac_cv_prog_CC+set}" = set; then 2096 2853 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2105 2862 test -z "$as_dir" && as_dir=. 2106 2863 for ac_exec_ext in '' $ac_executable_extensions; do 2107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2108 2865 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2109 2866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2112 2869 done 2113 2870 done 2871 IFS=$as_save_IFS 2114 2872 2115 2873 fi … … 2117 2875 CC=$ac_cv_prog_CC 2118 2876 if test -n "$CC"; then 2119 echo "$as_me:$LINENO: result: $CC" >&5 2120 echo "${ECHO_T}$CC" >&6 2121 else 2122 echo "$as_me:$LINENO: result: no" >&5 2123 echo "${ECHO_T}no" >&6 2124 fi 2877 { echo "$as_me:$LINENO: result: $CC" >&5 2878 echo "${ECHO_T}$CC" >&6; } 2879 else 2880 { echo "$as_me:$LINENO: result: no" >&5 2881 echo "${ECHO_T}no" >&6; } 2882 fi 2883 2125 2884 2126 2885 test -n "$CC" && break … … 2129 2888 if test -z "$CC"; then 2130 2889 ac_ct_CC=$CC 2131 for ac_prog in cl 2890 for ac_prog in cl.exe 2132 2891 do 2133 2892 # Extract the first word of "$ac_prog", so it can be a program name with args. 2134 2893 set dummy $ac_prog; ac_word=$2 2135 echo "$as_me:$LINENO: checking for $ac_word" >&52136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2894 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2137 2896 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2138 2897 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2147 2906 test -z "$as_dir" && as_dir=. 2148 2907 for ac_exec_ext in '' $ac_executable_extensions; do 2149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2150 2909 ac_cv_prog_ac_ct_CC="$ac_prog" 2151 2910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2154 2913 done 2155 2914 done 2915 IFS=$as_save_IFS 2156 2916 2157 2917 fi … … 2159 2919 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2160 2920 if test -n "$ac_ct_CC"; then 2161 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2162 echo "${ECHO_T}$ac_ct_CC" >&6 2163 else 2164 echo "$as_me:$LINENO: result: no" >&5 2165 echo "${ECHO_T}no" >&6 2166 fi 2921 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2922 echo "${ECHO_T}$ac_ct_CC" >&6; } 2923 else 2924 { echo "$as_me:$LINENO: result: no" >&5 2925 echo "${ECHO_T}no" >&6; } 2926 fi 2927 2167 2928 2168 2929 test -n "$ac_ct_CC" && break 2169 2930 done 2170 2931 2171 CC=$ac_ct_CC 2932 if test "x$ac_ct_CC" = x; then 2933 CC="" 2934 else 2935 case $cross_compiling:$ac_tool_warned in 2936 yes:) 2937 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2938 whose name does not start with the host triplet. If you think this 2939 configuration is useful to you, please write to autoconf@gnu.org." >&5 2940 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2941 whose name does not start with the host triplet. If you think this 2942 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2943 ac_tool_warned=yes ;; 2944 esac 2945 CC=$ac_ct_CC 2946 fi 2172 2947 fi 2173 2948 … … 2182 2957 2183 2958 # Provide some information about the compiler. 2184 echo "$as_me:$LINENO:" \ 2185 "checking for C compiler version" >&5 2959 echo "$as_me:$LINENO: checking for C compiler version" >&5 2186 2960 ac_compiler=`set X $ac_compile; echo $2` 2187 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2188 (eval $ac_compiler --version </dev/null >&5) 2>&5 2961 { (ac_try="$ac_compiler --version >&5" 2962 case "(($ac_try" in 2963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2964 *) ac_try_echo=$ac_try;; 2965 esac 2966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2967 (eval "$ac_compiler --version >&5") 2>&5 2189 2968 ac_status=$? 2190 2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2191 2970 (exit $ac_status); } 2192 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2193 (eval $ac_compiler -v </dev/null >&5) 2>&5 2971 { (ac_try="$ac_compiler -v >&5" 2972 case "(($ac_try" in 2973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2974 *) ac_try_echo=$ac_try;; 2975 esac 2976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2977 (eval "$ac_compiler -v >&5") 2>&5 2194 2978 ac_status=$? 2195 2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2196 2980 (exit $ac_status); } 2197 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2198 (eval $ac_compiler -V </dev/null >&5) 2>&5 2981 { (ac_try="$ac_compiler -V >&5" 2982 case "(($ac_try" in 2983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2984 *) ac_try_echo=$ac_try;; 2985 esac 2986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2987 (eval "$ac_compiler -V >&5") 2>&5 2199 2988 ac_status=$? 2200 2989 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2221 3010 # It will help us diagnose broken compilers, and finding out an intuition 2222 3011 # of exeext. 2223 echo "$as_me:$LINENO: checking for C compiler default output file name" >&52224 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 3012 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 3013 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2225 3014 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2226 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2227 (eval $ac_link_default) 2>&5 3015 # 3016 # List of possible output files, starting from the most likely. 3017 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 3018 # only as a last resort. b.out is created by i960 compilers. 3019 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 3020 # 3021 # The IRIX 6 linker writes into existing files which may not be 3022 # executable, retaining their permissions. Remove them first so a 3023 # subsequent execution test works. 3024 ac_rmfiles= 3025 for ac_file in $ac_files 3026 do 3027 case $ac_file in 3028 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 3029 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3030 esac 3031 done 3032 rm -f $ac_rmfiles 3033 3034 if { (ac_try="$ac_link_default" 3035 case "(($ac_try" in 3036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3037 *) ac_try_echo=$ac_try;; 3038 esac 3039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3040 (eval "$ac_link_default") 2>&5 2228 3041 ac_status=$? 2229 3042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2230 3043 (exit $ac_status); }; then 2231 # Find the output, starting from the most likely. This scheme is 2232 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 2233 # resort. 2234 2235 # Be careful to initialize this variable, since it used to be cached. 2236 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 2237 ac_cv_exeext= 2238 # b.out is created by i960 compilers. 2239 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 3044 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3045 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3046 # in a Makefile. We should not override ac_cv_exeext if it was cached, 3047 # so that the user can short-circuit this test for compilers unknown to 3048 # Autoconf. 3049 for ac_file in $ac_files '' 2240 3050 do 2241 3051 test -f "$ac_file" || continue 2242 3052 case $ac_file in 2243 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2244 ;; 2245 conftest.$ac_ext ) 2246 # This is the source file. 3053 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2247 3054 ;; 2248 3055 [ab].out ) … … 2251 3058 break;; 2252 3059 *.* ) 2253 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2254 # FIXME: I believe we export ac_cv_exeext for Libtool, 2255 # but it would be cool to find out if it's true. Does anybody 2256 # maintain Libtool? --akim. 2257 export ac_cv_exeext 3060 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3061 then :; else 3062 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3063 fi 3064 # We set ac_cv_exeext here because the later test for it is not 3065 # safe: cross compilers may not add the suffix if given an `-o' 3066 # argument, so we may need to know it at that point already. 3067 # Even if this section looks crufty: it has the advantage of 3068 # actually working. 2258 3069 break;; 2259 3070 * ) … … 2261 3072 esac 2262 3073 done 2263 else 3074 test "$ac_cv_exeext" = no && ac_cv_exeext= 3075 3076 else 3077 ac_file='' 3078 fi 3079 3080 { echo "$as_me:$LINENO: result: $ac_file" >&5 3081 echo "${ECHO_T}$ac_file" >&6; } 3082 if test -z "$ac_file"; then 2264 3083 echo "$as_me: failed program was:" >&5 2265 3084 sed 's/^/| /' conftest.$ac_ext >&5 … … 2273 3092 2274 3093 ac_exeext=$ac_cv_exeext 2275 echo "$as_me:$LINENO: result: $ac_file" >&5 2276 echo "${ECHO_T}$ac_file" >&6 2277 2278 # Check the compiler produces executables we can run. If not, either 3094 3095 # Check that the compiler produces executables we can run. If not, either 2279 3096 # the compiler is broken, or we cross compile. 2280 echo "$as_me:$LINENO: checking whether the C compiler works" >&52281 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 3097 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 3098 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2282 3099 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2283 3100 # If not cross compiling, check that we can run a simple program. 2284 3101 if test "$cross_compiling" != yes; then 2285 3102 if { ac_try='./$ac_file' 2286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2287 (eval $ac_try) 2>&5 3103 { (case "(($ac_try" in 3104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3105 *) ac_try_echo=$ac_try;; 3106 esac 3107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3108 (eval "$ac_try") 2>&5 2288 3109 ac_status=$? 2289 3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2304 3125 fi 2305 3126 fi 2306 echo "$as_me:$LINENO: result: yes" >&52307 echo "${ECHO_T}yes" >&6 3127 { echo "$as_me:$LINENO: result: yes" >&5 3128 echo "${ECHO_T}yes" >&6; } 2308 3129 2309 3130 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2310 3131 ac_clean_files=$ac_clean_files_save 2311 # Check th e compiler produces executables we can run. If not, either3132 # Check that the compiler produces executables we can run. If not, either 2312 3133 # the compiler is broken, or we cross compile. 2313 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2314 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2315 echo "$as_me:$LINENO: result: $cross_compiling" >&5 2316 echo "${ECHO_T}$cross_compiling" >&6 2317 2318 echo "$as_me:$LINENO: checking for suffix of executables" >&5 2319 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2321 (eval $ac_link) 2>&5 3134 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 3135 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 3136 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 3137 echo "${ECHO_T}$cross_compiling" >&6; } 3138 3139 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 3140 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 3141 if { (ac_try="$ac_link" 3142 case "(($ac_try" in 3143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3144 *) ac_try_echo=$ac_try;; 3145 esac 3146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3147 (eval "$ac_link") 2>&5 2322 3148 ac_status=$? 2323 3149 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2330 3156 test -f "$ac_file" || continue 2331 3157 case $ac_file in 2332 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;3158 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2333 3159 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2334 export ac_cv_exeext2335 3160 break;; 2336 3161 * ) break;; … … 2346 3171 2347 3172 rm -f conftest$ac_cv_exeext 2348 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52349 echo "${ECHO_T}$ac_cv_exeext" >&6 3173 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3174 echo "${ECHO_T}$ac_cv_exeext" >&6; } 2350 3175 2351 3176 rm -f conftest.$ac_ext 2352 3177 EXEEXT=$ac_cv_exeext 2353 3178 ac_exeext=$EXEEXT 2354 echo "$as_me:$LINENO: checking for suffix of object files" >&52355 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 3179 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 3180 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2356 3181 if test "${ac_cv_objext+set}" = set; then 2357 3182 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2373 3198 _ACEOF 2374 3199 rm -f conftest.o conftest.obj 2375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2376 (eval $ac_compile) 2>&5 3200 if { (ac_try="$ac_compile" 3201 case "(($ac_try" in 3202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3203 *) ac_try_echo=$ac_try;; 3204 esac 3205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3206 (eval "$ac_compile") 2>&5 2377 3207 ac_status=$? 2378 3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2379 3209 (exit $ac_status); }; then 2380 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 3210 for ac_file in conftest.o conftest.obj conftest.*; do 3211 test -f "$ac_file" || continue; 2381 3212 case $ac_file in 2382 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;3213 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2383 3214 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2384 3215 break;; … … 2398 3229 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2399 3230 fi 2400 echo "$as_me:$LINENO: result: $ac_cv_objext" >&52401 echo "${ECHO_T}$ac_cv_objext" >&6 3231 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3232 echo "${ECHO_T}$ac_cv_objext" >&6; } 2402 3233 OBJEXT=$ac_cv_objext 2403 3234 ac_objext=$OBJEXT 2404 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52405 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 3235 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3236 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2406 3237 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2407 3238 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2426 3257 _ACEOF 2427 3258 rm -f conftest.$ac_objext 2428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2429 (eval $ac_compile) 2>conftest.er1 3259 if { (ac_try="$ac_compile" 3260 case "(($ac_try" in 3261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3262 *) ac_try_echo=$ac_try;; 3263 esac 3264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3265 (eval "$ac_compile") 2>conftest.er1 2430 3266 ac_status=$? 2431 3267 grep -v '^ *+' conftest.er1 >conftest.err … … 2433 3269 cat conftest.err >&5 2434 3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2435 (exit $ac_status); } && 2436 { ac_try='test -z "$ac_c_werror_flag" || 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 3271 (exit $ac_status); } && { 3272 test -z "$ac_c_werror_flag" || 3273 test ! -s conftest.err 3274 } && test -s conftest.$ac_objext; then 2448 3275 ac_compiler_gnu=yes 2449 3276 else … … 2451 3278 sed 's/^/| /' conftest.$ac_ext >&5 2452 3279 2453 ac_compiler_gnu=no 2454 fi 2455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3280 ac_compiler_gnu=no 3281 fi 3282 3283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2456 3284 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2457 3285 2458 3286 fi 2459 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&52460 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 3287 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3288 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2461 3289 GCC=`test $ac_compiler_gnu = yes && echo yes` 2462 3290 ac_test_CFLAGS=${CFLAGS+set} 2463 3291 ac_save_CFLAGS=$CFLAGS 2464 CFLAGS="-g" 2465 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2466 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 3292 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3293 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2467 3294 if test "${ac_cv_prog_cc_g+set}" = set; then 2468 3295 echo $ECHO_N "(cached) $ECHO_C" >&6 2469 3296 else 2470 cat >conftest.$ac_ext <<_ACEOF 3297 ac_save_c_werror_flag=$ac_c_werror_flag 3298 ac_c_werror_flag=yes 3299 ac_cv_prog_cc_g=no 3300 CFLAGS="-g" 3301 cat >conftest.$ac_ext <<_ACEOF 2471 3302 /* confdefs.h. */ 2472 3303 _ACEOF … … 2484 3315 _ACEOF 2485 3316 rm -f conftest.$ac_objext 2486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2487 (eval $ac_compile) 2>conftest.er1 3317 if { (ac_try="$ac_compile" 3318 case "(($ac_try" in 3319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3320 *) ac_try_echo=$ac_try;; 3321 esac 3322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3323 (eval "$ac_compile") 2>conftest.er1 2488 3324 ac_status=$? 2489 3325 grep -v '^ *+' conftest.er1 >conftest.err … … 2491 3327 cat conftest.err >&5 2492 3328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2493 (exit $ac_status); } && 2494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2496 (eval $ac_try) 2>&5 2497 ac_status=$? 2498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2499 (exit $ac_status); }; } && 2500 { ac_try='test -s conftest.$ac_objext' 2501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2502 (eval $ac_try) 2>&5 2503 ac_status=$? 2504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2505 (exit $ac_status); }; }; then 3329 (exit $ac_status); } && { 3330 test -z "$ac_c_werror_flag" || 3331 test ! -s conftest.err 3332 } && test -s conftest.$ac_objext; then 2506 3333 ac_cv_prog_cc_g=yes 2507 3334 else … … 2509 3336 sed 's/^/| /' conftest.$ac_ext >&5 2510 3337 2511 ac_cv_prog_cc_g=no 2512 fi 2513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2514 fi 2515 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2516 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 3338 CFLAGS="" 3339 cat >conftest.$ac_ext <<_ACEOF 3340 /* confdefs.h. */ 3341 _ACEOF 3342 cat confdefs.h >>conftest.$ac_ext 3343 cat >>conftest.$ac_ext <<_ACEOF 3344 /* end confdefs.h. */ 3345 3346 int 3347 main () 3348 { 3349 3350 ; 3351 return 0; 3352 } 3353 _ACEOF 3354 rm -f conftest.$ac_objext 3355 if { (ac_try="$ac_compile" 3356 case "(($ac_try" in 3357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3358 *) ac_try_echo=$ac_try;; 3359 esac 3360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3361 (eval "$ac_compile") 2>conftest.er1 3362 ac_status=$? 3363 grep -v '^ *+' conftest.er1 >conftest.err 3364 rm -f conftest.er1 3365 cat conftest.err >&5 3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3367 (exit $ac_status); } && { 3368 test -z "$ac_c_werror_flag" || 3369 test ! -s conftest.err 3370 } && test -s conftest.$ac_objext; then 3371 : 3372 else 3373 echo "$as_me: failed program was:" >&5 3374 sed 's/^/| /' conftest.$ac_ext >&5 3375 3376 ac_c_werror_flag=$ac_save_c_werror_flag 3377 CFLAGS="-g" 3378 cat >conftest.$ac_ext <<_ACEOF 3379 /* confdefs.h. */ 3380 _ACEOF 3381 cat confdefs.h >>conftest.$ac_ext 3382 cat >>conftest.$ac_ext <<_ACEOF 3383 /* end confdefs.h. */ 3384 3385 int 3386 main () 3387 { 3388 3389 ; 3390 return 0; 3391 } 3392 _ACEOF 3393 rm -f conftest.$ac_objext 3394 if { (ac_try="$ac_compile" 3395 case "(($ac_try" in 3396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3397 *) ac_try_echo=$ac_try;; 3398 esac 3399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3400 (eval "$ac_compile") 2>conftest.er1 3401 ac_status=$? 3402 grep -v '^ *+' conftest.er1 >conftest.err 3403 rm -f conftest.er1 3404 cat conftest.err >&5 3405 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3406 (exit $ac_status); } && { 3407 test -z "$ac_c_werror_flag" || 3408 test ! -s conftest.err 3409 } && test -s conftest.$ac_objext; then 3410 ac_cv_prog_cc_g=yes 3411 else 3412 echo "$as_me: failed program was:" >&5 3413 sed 's/^/| /' conftest.$ac_ext >&5 3414 3415 3416 fi 3417 3418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3419 fi 3420 3421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3422 fi 3423 3424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3425 ac_c_werror_flag=$ac_save_c_werror_flag 3426 fi 3427 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3428 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2517 3429 if test "$ac_test_CFLAGS" = set; then 2518 3430 CFLAGS=$ac_save_CFLAGS … … 2530 3442 fi 2531 3443 fi 2532 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52533 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&62534 if test "${ac_cv_prog_cc_ stdc+set}" = set; then3444 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3445 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3446 if test "${ac_cv_prog_cc_c89+set}" = set; then 2535 3447 echo $ECHO_N "(cached) $ECHO_C" >&6 2536 3448 else 2537 ac_cv_prog_cc_ stdc=no3449 ac_cv_prog_cc_c89=no 2538 3450 ac_save_CC=$CC 2539 3451 cat >conftest.$ac_ext <<_ACEOF … … 2569 3481 function prototypes and stuff, but not '\xHH' hex character constants. 2570 3482 These don't provoke an error unfortunately, instead are silently treated 2571 as 'x'. The following induces an error, until -std 1is added to get3483 as 'x'. The following induces an error, until -std is added to get 2572 3484 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2573 3485 array size at least. It's necessary to write '\x00'==0 to get something 2574 that's true only with -std 1. */3486 that's true only with -std. */ 2575 3487 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3488 3489 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3490 inside strings and character constants. */ 3491 #define FOO(x) 'x' 3492 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2576 3493 2577 3494 int test (int i, double x); … … 2589 3506 } 2590 3507 _ACEOF 2591 # Don't try gcc -ansi; that turns off useful extensions and 2592 # breaks some systems' header files. 2593 # AIX -qlanglvl=ansi 2594 # Ultrix and OSF/1 -std1 2595 # HP-UX 10.20 and later -Ae 2596 # HP-UX older versions -Aa -D_HPUX_SOURCE 2597 # SVR4 -Xc -D__EXTENSIONS__ 2598 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3508 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3509 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2599 3510 do 2600 3511 CC="$ac_save_CC $ac_arg" 2601 3512 rm -f conftest.$ac_objext 2602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2603 (eval $ac_compile) 2>conftest.er1 3513 if { (ac_try="$ac_compile" 3514 case "(($ac_try" in 3515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3516 *) ac_try_echo=$ac_try;; 3517 esac 3518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3519 (eval "$ac_compile") 2>conftest.er1 2604 3520 ac_status=$? 2605 3521 grep -v '^ *+' conftest.er1 >conftest.err … … 2607 3523 cat conftest.err >&5 2608 3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2609 (exit $ac_status); } && 2610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2612 (eval $ac_try) 2>&5 2613 ac_status=$? 2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2615 (exit $ac_status); }; } && 2616 { ac_try='test -s conftest.$ac_objext' 2617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2618 (eval $ac_try) 2>&5 2619 ac_status=$? 2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2621 (exit $ac_status); }; }; then 2622 ac_cv_prog_cc_stdc=$ac_arg 2623 break 3525 (exit $ac_status); } && { 3526 test -z "$ac_c_werror_flag" || 3527 test ! -s conftest.err 3528 } && test -s conftest.$ac_objext; then 3529 ac_cv_prog_cc_c89=$ac_arg 2624 3530 else 2625 3531 echo "$as_me: failed program was:" >&5 2626 3532 sed 's/^/| /' conftest.$ac_ext >&5 2627 3533 2628 fi 2629 rm -f conftest.err conftest.$ac_objext 3534 3535 fi 3536 3537 rm -f core conftest.err conftest.$ac_objext 3538 test "x$ac_cv_prog_cc_c89" != "xno" && break 2630 3539 done 2631 rm -f conftest.$ac_ext conftest.$ac_objext3540 rm -f conftest.$ac_ext 2632 3541 CC=$ac_save_CC 2633 3542 2634 3543 fi 2635 2636 case "x$ac_cv_prog_cc_stdc" in 2637 x|xno) 2638 echo "$as_me:$LINENO: result: none needed" >&5 2639 echo "${ECHO_T}none needed" >&6 ;; 3544 # AC_CACHE_VAL 3545 case "x$ac_cv_prog_cc_c89" in 3546 x) 3547 { echo "$as_me:$LINENO: result: none needed" >&5 3548 echo "${ECHO_T}none needed" >&6; } ;; 3549 xno) 3550 { echo "$as_me:$LINENO: result: unsupported" >&5 3551 echo "${ECHO_T}unsupported" >&6; } ;; 2640 3552 *) 2641 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&52642 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2643 CC="$CC $ac_cv_prog_cc_stdc";;3553 CC="$CC $ac_cv_prog_cc_c89" 3554 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3555 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2644 3556 esac 2645 3557 2646 # Some people use a C++ compiler to compile C. Since we use `exit', 2647 # in C++ we need to declare it. In case someone uses the same compiler 2648 # for both compiling C and C++ we need to have the C++ compiler decide 2649 # the declaration of exit, since it's the most demanding environment. 2650 cat >conftest.$ac_ext <<_ACEOF 2651 #ifndef __cplusplus 2652 choke me 2653 #endif 2654 _ACEOF 2655 rm -f conftest.$ac_objext 2656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2657 (eval $ac_compile) 2>conftest.er1 2658 ac_status=$? 2659 grep -v '^ *+' conftest.er1 >conftest.err 2660 rm -f conftest.er1 2661 cat conftest.err >&5 2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2663 (exit $ac_status); } && 2664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2666 (eval $ac_try) 2>&5 2667 ac_status=$? 2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2669 (exit $ac_status); }; } && 2670 { ac_try='test -s conftest.$ac_objext' 2671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2672 (eval $ac_try) 2>&5 2673 ac_status=$? 2674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2675 (exit $ac_status); }; }; then 2676 for ac_declaration in \ 2677 '' \ 2678 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2679 'extern "C" void std::exit (int); using std::exit;' \ 2680 'extern "C" void exit (int) throw ();' \ 2681 'extern "C" void exit (int);' \ 2682 'void exit (int);' 2683 do 2684 cat >conftest.$ac_ext <<_ACEOF 2685 /* confdefs.h. */ 2686 _ACEOF 2687 cat confdefs.h >>conftest.$ac_ext 2688 cat >>conftest.$ac_ext <<_ACEOF 2689 /* end confdefs.h. */ 2690 $ac_declaration 2691 #include <stdlib.h> 2692 int 2693 main () 2694 { 2695 exit (42); 2696 ; 2697 return 0; 2698 } 2699 _ACEOF 2700 rm -f conftest.$ac_objext 2701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2702 (eval $ac_compile) 2>conftest.er1 2703 ac_status=$? 2704 grep -v '^ *+' conftest.er1 >conftest.err 2705 rm -f conftest.er1 2706 cat conftest.err >&5 2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2708 (exit $ac_status); } && 2709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2711 (eval $ac_try) 2>&5 2712 ac_status=$? 2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2714 (exit $ac_status); }; } && 2715 { ac_try='test -s conftest.$ac_objext' 2716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2717 (eval $ac_try) 2>&5 2718 ac_status=$? 2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2720 (exit $ac_status); }; }; then 2721 : 2722 else 2723 echo "$as_me: failed program was:" >&5 2724 sed 's/^/| /' conftest.$ac_ext >&5 2725 2726 continue 2727 fi 2728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2729 cat >conftest.$ac_ext <<_ACEOF 2730 /* confdefs.h. */ 2731 _ACEOF 2732 cat confdefs.h >>conftest.$ac_ext 2733 cat >>conftest.$ac_ext <<_ACEOF 2734 /* end confdefs.h. */ 2735 $ac_declaration 2736 int 2737 main () 2738 { 2739 exit (42); 2740 ; 2741 return 0; 2742 } 2743 _ACEOF 2744 rm -f conftest.$ac_objext 2745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2746 (eval $ac_compile) 2>conftest.er1 2747 ac_status=$? 2748 grep -v '^ *+' conftest.er1 >conftest.err 2749 rm -f conftest.er1 2750 cat conftest.err >&5 2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2752 (exit $ac_status); } && 2753 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2755 (eval $ac_try) 2>&5 2756 ac_status=$? 2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2758 (exit $ac_status); }; } && 2759 { ac_try='test -s conftest.$ac_objext' 2760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2761 (eval $ac_try) 2>&5 2762 ac_status=$? 2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2764 (exit $ac_status); }; }; then 2765 break 2766 else 2767 echo "$as_me: failed program was:" >&5 2768 sed 's/^/| /' conftest.$ac_ext >&5 2769 2770 fi 2771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2772 done 2773 rm -f conftest* 2774 if test -n "$ac_declaration"; then 2775 echo '#ifdef __cplusplus' >>confdefs.h 2776 echo $ac_declaration >>confdefs.h 2777 echo '#endif' >>confdefs.h 2778 fi 2779 2780 else 2781 echo "$as_me: failed program was:" >&5 2782 sed 's/^/| /' conftest.$ac_ext >&5 2783 2784 fi 2785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3558 2786 3559 ac_ext=c 2787 3560 ac_cpp='$CPP $CPPFLAGS' … … 2791 3564 DEPDIR="${am__leading_dot}deps" 2792 3565 2793 3566 ac_config_commands="$ac_config_commands depfiles" 2794 3567 2795 3568 … … 2801 3574 END 2802 3575 # If we don't find an include directive, just comment out the code. 2803 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&52804 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 3576 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3577 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 2805 3578 am__include="#" 2806 3579 am__quote= … … 2829 3602 2830 3603 2831 echo "$as_me:$LINENO: result: $_am_result" >&52832 echo "${ECHO_T}$_am_result" >&6 3604 { echo "$as_me:$LINENO: result: $_am_result" >&5 3605 echo "${ECHO_T}$_am_result" >&6; } 2833 3606 rm -f confinc confmf 2834 3607 2835 # Check whether --enable-dependency-tracking or --disable-dependency-trackingwas given.3608 # Check whether --enable-dependency-tracking was given. 2836 3609 if test "${enable_dependency_tracking+set}" = set; then 2837 enableval= "$enable_dependency_tracking"2838 2839 fi; 3610 enableval=$enable_dependency_tracking; 3611 fi 3612 2840 3613 if test "x$enable_dependency_tracking" != xno; then 2841 3614 am_depcomp="$ac_aux_dir/depcomp" 2842 3615 AMDEPBACKSLASH='\' 2843 3616 fi 2844 2845 2846 if test "x$enable_dependency_tracking" != xno; then 3617 if test "x$enable_dependency_tracking" != xno; then 2847 3618 AMDEP_TRUE= 2848 3619 AMDEP_FALSE='#' … … 2854 3625 2855 3626 2856 2857 3627 depcc="$CC" am_compiler_list= 2858 3628 2859 echo "$as_me:$LINENO: checking dependency style of $depcc" >&52860 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 3629 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3630 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 2861 3631 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 2862 3632 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2922 3692 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 2923 3693 >/dev/null 2>conftest.err && 3694 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 2924 3695 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 2925 3696 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && … … 2947 3718 2948 3719 fi 2949 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&52950 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 3720 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3721 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 2951 3722 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 2952 3723 2953 2954 2955 if 3724 if 2956 3725 test "x$enable_dependency_tracking" != xno \ 2957 3726 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then … … 2964 3733 2965 3734 2966 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&52967 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 3735 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 3736 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; } 2968 3737 if test "${lt_cv_path_SED+set}" = set; then 2969 3738 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2978 3747 for lt_ac_prog in sed gsed; do 2979 3748 for ac_exec_ext in '' $ac_executable_extensions; do 2980 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then3749 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then 2981 3750 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" 2982 3751 fi … … 2984 3753 done 2985 3754 done 3755 IFS=$as_save_IFS 2986 3756 lt_ac_max=0 2987 3757 lt_ac_count=0 … … 2989 3759 # along with /bin/sed that truncates output. 2990 3760 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do 2991 test ! -f $lt_ac_sed && break3761 test ! -f $lt_ac_sed && continue 2992 3762 cat /dev/null > conftest.in 2993 3763 lt_ac_count=0 … … 3014 3784 done 3015 3785 done 3786 3787 fi 3788 3016 3789 SED=$lt_cv_path_SED 3017 3790 3018 fi 3019 3020 echo "$as_me:$LINENO: result: $SED" >&5 3021 echo "${ECHO_T}$SED" >&6 3022 3023 echo "$as_me:$LINENO: checking for egrep" >&5 3024 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3025 if test "${ac_cv_prog_egrep+set}" = set; then 3791 { echo "$as_me:$LINENO: result: $SED" >&5 3792 echo "${ECHO_T}$SED" >&6; } 3793 3794 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3795 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3796 if test "${ac_cv_path_GREP+set}" = set; then 3026 3797 echo $ECHO_N "(cached) $ECHO_C" >&6 3027 3798 else 3028 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3029 then ac_cv_prog_egrep='grep -E' 3030 else ac_cv_prog_egrep='egrep' 3799 # Extract the first word of "grep ggrep" to use in msg output 3800 if test -z "$GREP"; then 3801 set dummy grep ggrep; ac_prog_name=$2 3802 if test "${ac_cv_path_GREP+set}" = set; then 3803 echo $ECHO_N "(cached) $ECHO_C" >&6 3804 else 3805 ac_path_GREP_found=false 3806 # Loop through the user's path and test for each of PROGNAME-LIST 3807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3808 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3809 do 3810 IFS=$as_save_IFS 3811 test -z "$as_dir" && as_dir=. 3812 for ac_prog in grep ggrep; do 3813 for ac_exec_ext in '' $ac_executable_extensions; do 3814 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3815 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3816 # Check for GNU ac_path_GREP and select it if it is found. 3817 # Check for GNU $ac_path_GREP 3818 case `"$ac_path_GREP" --version 2>&1` in 3819 *GNU*) 3820 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3821 *) 3822 ac_count=0 3823 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3824 while : 3825 do 3826 cat "conftest.in" "conftest.in" >"conftest.tmp" 3827 mv "conftest.tmp" "conftest.in" 3828 cp "conftest.in" "conftest.nl" 3829 echo 'GREP' >> "conftest.nl" 3830 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3831 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3832 ac_count=`expr $ac_count + 1` 3833 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3834 # Best one so far, save it but keep looking for a better one 3835 ac_cv_path_GREP="$ac_path_GREP" 3836 ac_path_GREP_max=$ac_count 3031 3837 fi 3032 fi 3033 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3034 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3035 EGREP=$ac_cv_prog_egrep 3036 3037 3038 3039 # Check whether --with-gnu-ld or --without-gnu-ld was given. 3838 # 10*(2^10) chars as input seems more than enough 3839 test $ac_count -gt 10 && break 3840 done 3841 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3842 esac 3843 3844 3845 $ac_path_GREP_found && break 3 3846 done 3847 done 3848 3849 done 3850 IFS=$as_save_IFS 3851 3852 3853 fi 3854 3855 GREP="$ac_cv_path_GREP" 3856 if test -z "$GREP"; then 3857 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3858 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3859 { (exit 1); exit 1; }; } 3860 fi 3861 3862 else 3863 ac_cv_path_GREP=$GREP 3864 fi 3865 3866 3867 fi 3868 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3869 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3870 GREP="$ac_cv_path_GREP" 3871 3872 3873 { echo "$as_me:$LINENO: checking for egrep" >&5 3874 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 3875 if test "${ac_cv_path_EGREP+set}" = set; then 3876 echo $ECHO_N "(cached) $ECHO_C" >&6 3877 else 3878 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3879 then ac_cv_path_EGREP="$GREP -E" 3880 else 3881 # Extract the first word of "egrep" to use in msg output 3882 if test -z "$EGREP"; then 3883 set dummy egrep; ac_prog_name=$2 3884 if test "${ac_cv_path_EGREP+set}" = set; then 3885 echo $ECHO_N "(cached) $ECHO_C" >&6 3886 else 3887 ac_path_EGREP_found=false 3888 # Loop through the user's path and test for each of PROGNAME-LIST 3889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3890 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3891 do 3892 IFS=$as_save_IFS 3893 test -z "$as_dir" && as_dir=. 3894 for ac_prog in egrep; do 3895 for ac_exec_ext in '' $ac_executable_extensions; do 3896 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3897 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3898 # Check for GNU ac_path_EGREP and select it if it is found. 3899 # Check for GNU $ac_path_EGREP 3900 case `"$ac_path_EGREP" --version 2>&1` in 3901 *GNU*) 3902 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3903 *) 3904 ac_count=0 3905 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3906 while : 3907 do 3908 cat "conftest.in" "conftest.in" >"conftest.tmp" 3909 mv "conftest.tmp" "conftest.in" 3910 cp "conftest.in" "conftest.nl" 3911 echo 'EGREP' >> "conftest.nl" 3912 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3913 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3914 ac_count=`expr $ac_count + 1` 3915 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3916 # Best one so far, save it but keep looking for a better one 3917 ac_cv_path_EGREP="$ac_path_EGREP" 3918 ac_path_EGREP_max=$ac_count 3919 fi 3920 # 10*(2^10) chars as input seems more than enough 3921 test $ac_count -gt 10 && break 3922 done 3923 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3924 esac 3925 3926 3927 $ac_path_EGREP_found && break 3 3928 done 3929 done 3930 3931 done 3932 IFS=$as_save_IFS 3933 3934 3935 fi 3936 3937 EGREP="$ac_cv_path_EGREP" 3938 if test -z "$EGREP"; then 3939 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3940 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3941 { (exit 1); exit 1; }; } 3942 fi 3943 3944 else 3945 ac_cv_path_EGREP=$EGREP 3946 fi 3947 3948 3949 fi 3950 fi 3951 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3952 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 3953 EGREP="$ac_cv_path_EGREP" 3954 3955 3956 3957 # Check whether --with-gnu-ld was given. 3040 3958 if test "${with_gnu_ld+set}" = set; then 3041 withval="$with_gnu_ld" 3042 test "$withval" = no || with_gnu_ld=yes 3959 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 3043 3960 else 3044 3961 with_gnu_ld=no 3045 fi; 3962 fi 3963 3046 3964 ac_prog=ld 3047 3965 if test "$GCC" = yes; then 3048 3966 # Check if gcc -print-prog-name=ld gives a path. 3049 echo "$as_me:$LINENO: checking for ld used by $CC" >&53050 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 3967 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 3968 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } 3051 3969 case $host in 3052 3970 *-*-mingw*) … … 3077 3995 esac 3078 3996 elif test "$with_gnu_ld" = yes; then 3079 echo "$as_me:$LINENO: checking for GNU ld" >&53080 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 3081 else 3082 echo "$as_me:$LINENO: checking for non-GNU ld" >&53083 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 3997 { echo "$as_me:$LINENO: checking for GNU ld" >&5 3998 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } 3999 else 4000 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 4001 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } 3084 4002 fi 3085 4003 if test "${lt_cv_path_LD+set}" = set; then … … 3094 4012 lt_cv_path_LD="$ac_dir/$ac_prog" 3095 4013 # Check to see if the program is GNU ld. I'd rather use --version, 3096 # but apparently some GNU ld'sonly accept -v.4014 # but apparently some variants of GNU ld only accept -v. 3097 4015 # Break only if it was the GNU/non-GNU ld that we prefer. 3098 4016 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in … … 3114 4032 LD="$lt_cv_path_LD" 3115 4033 if test -n "$LD"; then 3116 echo "$as_me:$LINENO: result: $LD" >&53117 echo "${ECHO_T}$LD" >&6 3118 else 3119 echo "$as_me:$LINENO: result: no" >&53120 echo "${ECHO_T}no" >&6 4034 { echo "$as_me:$LINENO: result: $LD" >&5 4035 echo "${ECHO_T}$LD" >&6; } 4036 else 4037 { echo "$as_me:$LINENO: result: no" >&5 4038 echo "${ECHO_T}no" >&6; } 3121 4039 fi 3122 4040 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 3123 4041 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 3124 4042 { (exit 1); exit 1; }; } 3125 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&53126 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 4043 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 4044 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } 3127 4045 if test "${lt_cv_prog_gnu_ld+set}" = set; then 3128 4046 echo $ECHO_N "(cached) $ECHO_C" >&6 3129 4047 else 3130 # I'd rather use --version here, but apparently some GNU ld 's only accept -v.4048 # I'd rather use --version here, but apparently some GNU lds only accept -v. 3131 4049 case `$LD -v 2>&1 </dev/null` in 3132 4050 *GNU* | *'with BFD'*) … … 3138 4056 esac 3139 4057 fi 3140 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&53141 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 4058 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 4059 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } 3142 4060 with_gnu_ld=$lt_cv_prog_gnu_ld 3143 4061 … … 3156 4074 # OS/2's system install, which has a completely different semantic 3157 4075 # ./install, which can be erroneously created by make from ./install.sh. 3158 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&53159 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 4076 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 4077 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 3160 4078 if test -z "$INSTALL"; then 3161 4079 if test "${ac_cv_path_install+set}" = set; then … … 3179 4097 for ac_prog in ginstall scoinst install; do 3180 4098 for ac_exec_ext in '' $ac_executable_extensions; do 3181 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then4099 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3182 4100 if test $ac_prog = install && 3183 4101 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 3198 4116 esac 3199 4117 done 4118 IFS=$as_save_IFS 3200 4119 3201 4120 … … 3204 4123 INSTALL=$ac_cv_path_install 3205 4124 else 3206 # As a last resort, use the slow shell script. We don't cache a3207 # pathfor INSTALL within a source directory, because that will4125 # As a last resort, use the slow shell script. Don't cache a 4126 # value for INSTALL within a source directory, because that will 3208 4127 # break other packages using the cache if that directory is 3209 # removed, or if the path is relative.4128 # removed, or if the value is a relative name. 3210 4129 INSTALL=$ac_install_sh 3211 4130 fi 3212 4131 fi 3213 echo "$as_me:$LINENO: result: $INSTALL" >&53214 echo "${ECHO_T}$INSTALL" >&6 4132 { echo "$as_me:$LINENO: result: $INSTALL" >&5 4133 echo "${ECHO_T}$INSTALL" >&6; } 3215 4134 3216 4135 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 3222 4141 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3223 4142 4143 # Check whether --enable-shared was given. 4144 if test "${enable_shared+set}" = set; then 4145 enableval=$enable_shared; p=${PACKAGE-default} 4146 case $enableval in 4147 yes) enable_shared=yes ;; 4148 no) enable_shared=no ;; 4149 *) 4150 enable_shared=no 4151 # Look at the argument we got. We use all the common list separators. 4152 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 4153 for pkg in $enableval; do 4154 IFS="$lt_save_ifs" 4155 if test "X$pkg" = "X$p"; then 4156 enable_shared=yes 4157 fi 4158 done 4159 IFS="$lt_save_ifs" 4160 ;; 4161 esac 4162 else 4163 enable_shared=yes 4164 fi 4165 4166 4167 # Check whether --enable-static was given. 4168 if test "${enable_static+set}" = set; then 4169 enableval=$enable_static; p=${PACKAGE-default} 4170 case $enableval in 4171 yes) enable_static=yes ;; 4172 no) enable_static=no ;; 4173 *) 4174 enable_static=no 4175 # Look at the argument we got. We use all the common list separators. 4176 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 4177 for pkg in $enableval; do 4178 IFS="$lt_save_ifs" 4179 if test "X$pkg" = "X$p"; then 4180 enable_static=yes 4181 fi 4182 done 4183 IFS="$lt_save_ifs" 4184 ;; 4185 esac 4186 else 4187 enable_static=yes 4188 fi 4189 4190 4191 # Check whether --enable-fast-install was given. 4192 if test "${enable_fast_install+set}" = set; then 4193 enableval=$enable_fast_install; p=${PACKAGE-default} 4194 case $enableval in 4195 yes) enable_fast_install=yes ;; 4196 no) enable_fast_install=no ;; 4197 *) 4198 enable_fast_install=no 4199 # Look at the argument we got. We use all the common list separators. 4200 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 4201 for pkg in $enableval; do 4202 IFS="$lt_save_ifs" 4203 if test "X$pkg" = "X$p"; then 4204 enable_fast_install=yes 4205 fi 4206 done 4207 IFS="$lt_save_ifs" 4208 ;; 4209 esac 4210 else 4211 enable_fast_install=yes 4212 fi 4213 4214 4215 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 4216 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; } 4217 if test "${lt_cv_ld_reload_flag+set}" = set; then 4218 echo $ECHO_N "(cached) $ECHO_C" >&6 4219 else 4220 lt_cv_ld_reload_flag='-r' 4221 fi 4222 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 4223 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; } 4224 reload_flag=$lt_cv_ld_reload_flag 4225 case $reload_flag in 4226 "" | " "*) ;; 4227 *) reload_flag=" $reload_flag" ;; 4228 esac 4229 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4230 case $host_os in 4231 darwin*) 4232 if test "$GCC" = yes; then 4233 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 4234 else 4235 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4236 fi 4237 ;; 4238 esac 4239 4240 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 4241 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; } 4242 if test "${lt_cv_path_NM+set}" = set; then 4243 echo $ECHO_N "(cached) $ECHO_C" >&6 4244 else 4245 if test -n "$NM"; then 4246 # Let the user override the test. 4247 lt_cv_path_NM="$NM" 4248 else 4249 lt_nm_to_check="${ac_tool_prefix}nm" 4250 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4251 lt_nm_to_check="$lt_nm_to_check nm" 4252 fi 4253 for lt_tmp_nm in $lt_nm_to_check; do 4254 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4255 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4256 IFS="$lt_save_ifs" 4257 test -z "$ac_dir" && ac_dir=. 4258 tmp_nm="$ac_dir/$lt_tmp_nm" 4259 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4260 # Check to see if the nm accepts a BSD-compat flag. 4261 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4262 # nm: unknown option "B" ignored 4263 # Tru64's nm complains that /dev/null is an invalid object file 4264 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4265 */dev/null* | *'Invalid file or object type'*) 4266 lt_cv_path_NM="$tmp_nm -B" 4267 break 4268 ;; 4269 *) 4270 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4271 */dev/null*) 4272 lt_cv_path_NM="$tmp_nm -p" 4273 break 4274 ;; 4275 *) 4276 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4277 continue # so that we can try to find one that supports BSD flags 4278 ;; 4279 esac 4280 ;; 4281 esac 4282 fi 4283 done 4284 IFS="$lt_save_ifs" 4285 done 4286 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 4287 fi 4288 fi 4289 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 4290 echo "${ECHO_T}$lt_cv_path_NM" >&6; } 4291 NM="$lt_cv_path_NM" 4292 4293 { echo "$as_me:$LINENO: checking whether ln -s works" >&5 4294 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } 4295 LN_S=$as_ln_s 4296 if test "$LN_S" = "ln -s"; then 4297 { echo "$as_me:$LINENO: result: yes" >&5 4298 echo "${ECHO_T}yes" >&6; } 4299 else 4300 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4301 echo "${ECHO_T}no, using $LN_S" >&6; } 4302 fi 4303 4304 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 4305 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; } 4306 if test "${lt_cv_deplibs_check_method+set}" = set; then 4307 echo $ECHO_N "(cached) $ECHO_C" >&6 4308 else 4309 lt_cv_file_magic_cmd='$MAGIC_CMD' 4310 lt_cv_file_magic_test_file= 4311 lt_cv_deplibs_check_method='unknown' 4312 # Need to set the preceding variable on all platforms that support 4313 # interlibrary dependencies. 4314 # 'none' -- dependencies not supported. 4315 # `unknown' -- same as none, but documents that we really don't know. 4316 # 'pass_all' -- all dependencies passed with no checks. 4317 # 'test_compile' -- check by making test program. 4318 # 'file_magic [[regex]]' -- check by looking for files in library path 4319 # which responds to the $file_magic_cmd with a given extended regex. 4320 # If you have `file' or equivalent on your system and you're not sure 4321 # whether `pass_all' will *always* work, you probably want this one. 4322 4323 case $host_os in 4324 aix4* | aix5*) 4325 lt_cv_deplibs_check_method=pass_all 4326 ;; 4327 4328 beos*) 4329 lt_cv_deplibs_check_method=pass_all 4330 ;; 4331 4332 bsdi[45]*) 4333 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 4334 lt_cv_file_magic_cmd='/usr/bin/file -L' 4335 lt_cv_file_magic_test_file=/shlib/libc.so 4336 ;; 4337 4338 cygwin*) 4339 # func_win32_libid is a shell function defined in ltmain.sh 4340 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 4341 lt_cv_file_magic_cmd='func_win32_libid' 4342 ;; 4343 4344 mingw* | pw32*) 4345 # Base MSYS/MinGW do not provide the 'file' command needed by 4346 # func_win32_libid shell function, so use a weaker test based on 'objdump', 4347 # unless we find 'file', for example because we are cross-compiling. 4348 if ( file / ) >/dev/null 2>&1; then 4349 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 4350 lt_cv_file_magic_cmd='func_win32_libid' 4351 else 4352 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 4353 lt_cv_file_magic_cmd='$OBJDUMP -f' 4354 fi 4355 ;; 4356 4357 darwin* | rhapsody*) 4358 lt_cv_deplibs_check_method=pass_all 4359 ;; 4360 4361 freebsd* | dragonfly*) 4362 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 4363 case $host_cpu in 4364 i*86 ) 4365 # Not sure whether the presence of OpenBSD here was a mistake. 4366 # Let's accept both of them until this is cleared up. 4367 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 4368 lt_cv_file_magic_cmd=/usr/bin/file 4369 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 4370 ;; 4371 esac 4372 else 4373 lt_cv_deplibs_check_method=pass_all 4374 fi 4375 ;; 4376 4377 gnu*) 4378 lt_cv_deplibs_check_method=pass_all 4379 ;; 4380 4381 hpux10.20* | hpux11*) 4382 lt_cv_file_magic_cmd=/usr/bin/file 4383 case $host_cpu in 4384 ia64*) 4385 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 4386 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 4387 ;; 4388 hppa*64*) 4389 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' 4390 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 4391 ;; 4392 *) 4393 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 4394 lt_cv_file_magic_test_file=/usr/lib/libc.sl 4395 ;; 4396 esac 4397 ;; 4398 4399 interix[3-9]*) 4400 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 4401 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 4402 ;; 4403 4404 irix5* | irix6* | nonstopux*) 4405 case $LD in 4406 *-32|*"-32 ") libmagic=32-bit;; 4407 *-n32|*"-n32 ") libmagic=N32;; 4408 *-64|*"-64 ") libmagic=64-bit;; 4409 *) libmagic=never-match;; 4410 esac 4411 lt_cv_deplibs_check_method=pass_all 4412 ;; 4413 4414 # This must be Linux ELF. 4415 linux* | k*bsd*-gnu) 4416 lt_cv_deplibs_check_method=pass_all 4417 ;; 4418 4419 netbsd* | netbsdelf*-gnu) 4420 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 4421 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 4422 else 4423 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 4424 fi 4425 ;; 4426 4427 newos6*) 4428 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 4429 lt_cv_file_magic_cmd=/usr/bin/file 4430 lt_cv_file_magic_test_file=/usr/lib/libnls.so 4431 ;; 4432 4433 nto-qnx*) 4434 lt_cv_deplibs_check_method=unknown 4435 ;; 4436 4437 openbsd*) 4438 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 4439 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 4440 else 4441 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 4442 fi 4443 ;; 4444 4445 osf3* | osf4* | osf5*) 4446 lt_cv_deplibs_check_method=pass_all 4447 ;; 4448 4449 rdos*) 4450 lt_cv_deplibs_check_method=pass_all 4451 ;; 4452 4453 solaris*) 4454 lt_cv_deplibs_check_method=pass_all 4455 ;; 4456 4457 sysv4 | sysv4.3*) 4458 case $host_vendor in 4459 motorola) 4460 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' 4461 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 4462 ;; 4463 ncr) 4464 lt_cv_deplibs_check_method=pass_all 4465 ;; 4466 sequent) 4467 lt_cv_file_magic_cmd='/bin/file' 4468 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 4469 ;; 4470 sni) 4471 lt_cv_file_magic_cmd='/bin/file' 4472 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 4473 lt_cv_file_magic_test_file=/lib/libc.so 4474 ;; 4475 siemens) 4476 lt_cv_deplibs_check_method=pass_all 4477 ;; 4478 pc) 4479 lt_cv_deplibs_check_method=pass_all 4480 ;; 4481 esac 4482 ;; 4483 4484 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 4485 lt_cv_deplibs_check_method=pass_all 4486 ;; 4487 esac 4488 4489 fi 4490 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 4491 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; } 4492 file_magic_cmd=$lt_cv_file_magic_cmd 4493 deplibs_check_method=$lt_cv_deplibs_check_method 4494 test -z "$deplibs_check_method" && deplibs_check_method=unknown 4495 4496 4497 4498 4499 # If no C compiler was specified, use CC. 4500 LTCC=${LTCC-"$CC"} 4501 4502 # If no C compiler flags were specified, use CFLAGS. 4503 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 4504 4505 # Allow CC to be a program name with arguments. 4506 compiler=$CC 4507 4508 4509 # Check whether --enable-libtool-lock was given. 4510 if test "${enable_libtool_lock+set}" = set; then 4511 enableval=$enable_libtool_lock; 4512 fi 4513 4514 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 4515 4516 # Some flags need to be propagated to the compiler or linker for good 4517 # libtool support. 4518 case $host in 4519 ia64-*-hpux*) 4520 # Find out which ABI we are using. 4521 echo 'int i;' > conftest.$ac_ext 4522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4523 (eval $ac_compile) 2>&5 4524 ac_status=$? 4525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4526 (exit $ac_status); }; then 4527 case `/usr/bin/file conftest.$ac_objext` in 4528 *ELF-32*) 4529 HPUX_IA64_MODE="32" 4530 ;; 4531 *ELF-64*) 4532 HPUX_IA64_MODE="64" 4533 ;; 4534 esac 4535 fi 4536 rm -rf conftest* 4537 ;; 4538 *-*-irix6*) 4539 # Find out which ABI we are using. 4540 echo '#line 4540 "configure"' > conftest.$ac_ext 4541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4542 (eval $ac_compile) 2>&5 4543 ac_status=$? 4544 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4545 (exit $ac_status); }; then 4546 if test "$lt_cv_prog_gnu_ld" = yes; then 4547 case `/usr/bin/file conftest.$ac_objext` in 4548 *32-bit*) 4549 LD="${LD-ld} -melf32bsmip" 4550 ;; 4551 *N32*) 4552 LD="${LD-ld} -melf32bmipn32" 4553 ;; 4554 *64-bit*) 4555 LD="${LD-ld} -melf64bmip" 4556 ;; 4557 esac 4558 else 4559 case `/usr/bin/file conftest.$ac_objext` in 4560 *32-bit*) 4561 LD="${LD-ld} -32" 4562 ;; 4563 *N32*) 4564 LD="${LD-ld} -n32" 4565 ;; 4566 *64-bit*) 4567 LD="${LD-ld} -64" 4568 ;; 4569 esac 4570 fi 4571 fi 4572 rm -rf conftest* 4573 ;; 4574 4575 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 4576 s390*-*linux*|sparc*-*linux*) 4577 # Find out which ABI we are using. 4578 echo 'int i;' > conftest.$ac_ext 4579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4580 (eval $ac_compile) 2>&5 4581 ac_status=$? 4582 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4583 (exit $ac_status); }; then 4584 case `/usr/bin/file conftest.o` in 4585 *32-bit*) 4586 case $host in 4587 x86_64-*kfreebsd*-gnu) 4588 LD="${LD-ld} -m elf_i386_fbsd" 4589 ;; 4590 x86_64-*linux*) 4591 LD="${LD-ld} -m elf_i386" 4592 ;; 4593 ppc64-*linux*|powerpc64-*linux*) 4594 LD="${LD-ld} -m elf32ppclinux" 4595 ;; 4596 s390x-*linux*) 4597 LD="${LD-ld} -m elf_s390" 4598 ;; 4599 sparc64-*linux*) 4600 LD="${LD-ld} -m elf32_sparc" 4601 ;; 4602 esac 4603 ;; 4604 *64-bit*) 4605 case $host in 4606 x86_64-*kfreebsd*-gnu) 4607 LD="${LD-ld} -m elf_x86_64_fbsd" 4608 ;; 4609 x86_64-*linux*) 4610 LD="${LD-ld} -m elf_x86_64" 4611 ;; 4612 ppc*-*linux*|powerpc*-*linux*) 4613 LD="${LD-ld} -m elf64ppc" 4614 ;; 4615 s390*-*linux*) 4616 LD="${LD-ld} -m elf64_s390" 4617 ;; 4618 sparc*-*linux*) 4619 LD="${LD-ld} -m elf64_sparc" 4620 ;; 4621 esac 4622 ;; 4623 esac 4624 fi 4625 rm -rf conftest* 4626 ;; 4627 4628 *-*-sco3.2v5*) 4629 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 4630 SAVE_CFLAGS="$CFLAGS" 4631 CFLAGS="$CFLAGS -belf" 4632 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 4633 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; } 4634 if test "${lt_cv_cc_needs_belf+set}" = set; then 4635 echo $ECHO_N "(cached) $ECHO_C" >&6 4636 else 4637 ac_ext=c 4638 ac_cpp='$CPP $CPPFLAGS' 4639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4641 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4642 4643 cat >conftest.$ac_ext <<_ACEOF 4644 /* confdefs.h. */ 4645 _ACEOF 4646 cat confdefs.h >>conftest.$ac_ext 4647 cat >>conftest.$ac_ext <<_ACEOF 4648 /* end confdefs.h. */ 4649 4650 int 4651 main () 4652 { 4653 4654 ; 4655 return 0; 4656 } 4657 _ACEOF 4658 rm -f conftest.$ac_objext conftest$ac_exeext 4659 if { (ac_try="$ac_link" 4660 case "(($ac_try" in 4661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4662 *) ac_try_echo=$ac_try;; 4663 esac 4664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4665 (eval "$ac_link") 2>conftest.er1 4666 ac_status=$? 4667 grep -v '^ *+' conftest.er1 >conftest.err 4668 rm -f conftest.er1 4669 cat conftest.err >&5 4670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4671 (exit $ac_status); } && { 4672 test -z "$ac_c_werror_flag" || 4673 test ! -s conftest.err 4674 } && test -s conftest$ac_exeext && 4675 $as_test_x conftest$ac_exeext; then 4676 lt_cv_cc_needs_belf=yes 4677 else 4678 echo "$as_me: failed program was:" >&5 4679 sed 's/^/| /' conftest.$ac_ext >&5 4680 4681 lt_cv_cc_needs_belf=no 4682 fi 4683 4684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4685 conftest$ac_exeext conftest.$ac_ext 4686 ac_ext=c 4687 ac_cpp='$CPP $CPPFLAGS' 4688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4690 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4691 4692 fi 4693 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 4694 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; } 4695 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 4696 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 4697 CFLAGS="$SAVE_CFLAGS" 4698 fi 4699 ;; 4700 sparc*-*solaris*) 4701 # Find out which ABI we are using. 4702 echo 'int i;' > conftest.$ac_ext 4703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4704 (eval $ac_compile) 2>&5 4705 ac_status=$? 4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4707 (exit $ac_status); }; then 4708 case `/usr/bin/file conftest.o` in 4709 *64-bit*) 4710 case $lt_cv_prog_gnu_ld in 4711 yes*) LD="${LD-ld} -m elf64_sparc" ;; 4712 *) LD="${LD-ld} -64" ;; 4713 esac 4714 ;; 4715 esac 4716 fi 4717 rm -rf conftest* 4718 ;; 4719 4720 4721 esac 4722 4723 need_locks="$enable_libtool_lock" 4724 4725 4726 ac_ext=c 4727 ac_cpp='$CPP $CPPFLAGS' 4728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4730 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4731 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4732 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 4733 # On Suns, sometimes $CPP names a directory. 4734 if test -n "$CPP" && test -d "$CPP"; then 4735 CPP= 4736 fi 4737 if test -z "$CPP"; then 4738 if test "${ac_cv_prog_CPP+set}" = set; then 4739 echo $ECHO_N "(cached) $ECHO_C" >&6 4740 else 4741 # Double quotes because CPP needs to be expanded 4742 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4743 do 4744 ac_preproc_ok=false 4745 for ac_c_preproc_warn_flag in '' yes 4746 do 4747 # Use a header file that comes with gcc, so configuring glibc 4748 # with a fresh cross-compiler works. 4749 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4750 # <limits.h> exists even on freestanding compilers. 4751 # On the NeXT, cc -E runs the code through the compiler's parser, 4752 # not just through cpp. "Syntax error" is here to catch this case. 4753 cat >conftest.$ac_ext <<_ACEOF 4754 /* confdefs.h. */ 4755 _ACEOF 4756 cat confdefs.h >>conftest.$ac_ext 4757 cat >>conftest.$ac_ext <<_ACEOF 4758 /* end confdefs.h. */ 4759 #ifdef __STDC__ 4760 # include <limits.h> 4761 #else 4762 # include <assert.h> 4763 #endif 4764 Syntax error 4765 _ACEOF 4766 if { (ac_try="$ac_cpp conftest.$ac_ext" 4767 case "(($ac_try" in 4768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4769 *) ac_try_echo=$ac_try;; 4770 esac 4771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4772 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4773 ac_status=$? 4774 grep -v '^ *+' conftest.er1 >conftest.err 4775 rm -f conftest.er1 4776 cat conftest.err >&5 4777 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4778 (exit $ac_status); } >/dev/null && { 4779 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4780 test ! -s conftest.err 4781 }; then 4782 : 4783 else 4784 echo "$as_me: failed program was:" >&5 4785 sed 's/^/| /' conftest.$ac_ext >&5 4786 4787 # Broken: fails on valid input. 4788 continue 4789 fi 4790 4791 rm -f conftest.err conftest.$ac_ext 4792 4793 # OK, works on sane cases. Now check whether nonexistent headers 4794 # can be detected and how. 4795 cat >conftest.$ac_ext <<_ACEOF 4796 /* confdefs.h. */ 4797 _ACEOF 4798 cat confdefs.h >>conftest.$ac_ext 4799 cat >>conftest.$ac_ext <<_ACEOF 4800 /* end confdefs.h. */ 4801 #include <ac_nonexistent.h> 4802 _ACEOF 4803 if { (ac_try="$ac_cpp conftest.$ac_ext" 4804 case "(($ac_try" in 4805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4806 *) ac_try_echo=$ac_try;; 4807 esac 4808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4809 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4810 ac_status=$? 4811 grep -v '^ *+' conftest.er1 >conftest.err 4812 rm -f conftest.er1 4813 cat conftest.err >&5 4814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4815 (exit $ac_status); } >/dev/null && { 4816 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4817 test ! -s conftest.err 4818 }; then 4819 # Broken: success on invalid input. 4820 continue 4821 else 4822 echo "$as_me: failed program was:" >&5 4823 sed 's/^/| /' conftest.$ac_ext >&5 4824 4825 # Passes both tests. 4826 ac_preproc_ok=: 4827 break 4828 fi 4829 4830 rm -f conftest.err conftest.$ac_ext 4831 4832 done 4833 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4834 rm -f conftest.err conftest.$ac_ext 4835 if $ac_preproc_ok; then 4836 break 4837 fi 4838 4839 done 4840 ac_cv_prog_CPP=$CPP 4841 4842 fi 4843 CPP=$ac_cv_prog_CPP 4844 else 4845 ac_cv_prog_CPP=$CPP 4846 fi 4847 { echo "$as_me:$LINENO: result: $CPP" >&5 4848 echo "${ECHO_T}$CPP" >&6; } 4849 ac_preproc_ok=false 4850 for ac_c_preproc_warn_flag in '' yes 4851 do 4852 # Use a header file that comes with gcc, so configuring glibc 4853 # with a fresh cross-compiler works. 4854 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4855 # <limits.h> exists even on freestanding compilers. 4856 # On the NeXT, cc -E runs the code through the compiler's parser, 4857 # not just through cpp. "Syntax error" is here to catch this case. 4858 cat >conftest.$ac_ext <<_ACEOF 4859 /* confdefs.h. */ 4860 _ACEOF 4861 cat confdefs.h >>conftest.$ac_ext 4862 cat >>conftest.$ac_ext <<_ACEOF 4863 /* end confdefs.h. */ 4864 #ifdef __STDC__ 4865 # include <limits.h> 4866 #else 4867 # include <assert.h> 4868 #endif 4869 Syntax error 4870 _ACEOF 4871 if { (ac_try="$ac_cpp conftest.$ac_ext" 4872 case "(($ac_try" in 4873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4874 *) ac_try_echo=$ac_try;; 4875 esac 4876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4877 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4878 ac_status=$? 4879 grep -v '^ *+' conftest.er1 >conftest.err 4880 rm -f conftest.er1 4881 cat conftest.err >&5 4882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4883 (exit $ac_status); } >/dev/null && { 4884 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4885 test ! -s conftest.err 4886 }; then 4887 : 4888 else 4889 echo "$as_me: failed program was:" >&5 4890 sed 's/^/| /' conftest.$ac_ext >&5 4891 4892 # Broken: fails on valid input. 4893 continue 4894 fi 4895 4896 rm -f conftest.err conftest.$ac_ext 4897 4898 # OK, works on sane cases. Now check whether nonexistent headers 4899 # can be detected and how. 4900 cat >conftest.$ac_ext <<_ACEOF 4901 /* confdefs.h. */ 4902 _ACEOF 4903 cat confdefs.h >>conftest.$ac_ext 4904 cat >>conftest.$ac_ext <<_ACEOF 4905 /* end confdefs.h. */ 4906 #include <ac_nonexistent.h> 4907 _ACEOF 4908 if { (ac_try="$ac_cpp conftest.$ac_ext" 4909 case "(($ac_try" in 4910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4911 *) ac_try_echo=$ac_try;; 4912 esac 4913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4914 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4915 ac_status=$? 4916 grep -v '^ *+' conftest.er1 >conftest.err 4917 rm -f conftest.er1 4918 cat conftest.err >&5 4919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4920 (exit $ac_status); } >/dev/null && { 4921 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4922 test ! -s conftest.err 4923 }; then 4924 # Broken: success on invalid input. 4925 continue 4926 else 4927 echo "$as_me: failed program was:" >&5 4928 sed 's/^/| /' conftest.$ac_ext >&5 4929 4930 # Passes both tests. 4931 ac_preproc_ok=: 4932 break 4933 fi 4934 4935 rm -f conftest.err conftest.$ac_ext 4936 4937 done 4938 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4939 rm -f conftest.err conftest.$ac_ext 4940 if $ac_preproc_ok; then 4941 : 4942 else 4943 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4944 See \`config.log' for more details." >&5 4945 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4946 See \`config.log' for more details." >&2;} 4947 { (exit 1); exit 1; }; } 4948 fi 4949 4950 ac_ext=c 4951 ac_cpp='$CPP $CPPFLAGS' 4952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4954 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4955 4956 4957 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4958 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4959 if test "${ac_cv_header_stdc+set}" = set; then 4960 echo $ECHO_N "(cached) $ECHO_C" >&6 4961 else 4962 cat >conftest.$ac_ext <<_ACEOF 4963 /* confdefs.h. */ 4964 _ACEOF 4965 cat confdefs.h >>conftest.$ac_ext 4966 cat >>conftest.$ac_ext <<_ACEOF 4967 /* end confdefs.h. */ 4968 #include <stdlib.h> 4969 #include <stdarg.h> 4970 #include <string.h> 4971 #include <float.h> 4972 4973 int 4974 main () 4975 { 4976 4977 ; 4978 return 0; 4979 } 4980 _ACEOF 4981 rm -f conftest.$ac_objext 4982 if { (ac_try="$ac_compile" 4983 case "(($ac_try" in 4984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4985 *) ac_try_echo=$ac_try;; 4986 esac 4987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4988 (eval "$ac_compile") 2>conftest.er1 4989 ac_status=$? 4990 grep -v '^ *+' conftest.er1 >conftest.err 4991 rm -f conftest.er1 4992 cat conftest.err >&5 4993 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4994 (exit $ac_status); } && { 4995 test -z "$ac_c_werror_flag" || 4996 test ! -s conftest.err 4997 } && test -s conftest.$ac_objext; then 4998 ac_cv_header_stdc=yes 4999 else 5000 echo "$as_me: failed program was:" >&5 5001 sed 's/^/| /' conftest.$ac_ext >&5 5002 5003 ac_cv_header_stdc=no 5004 fi 5005 5006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5007 5008 if test $ac_cv_header_stdc = yes; then 5009 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5010 cat >conftest.$ac_ext <<_ACEOF 5011 /* confdefs.h. */ 5012 _ACEOF 5013 cat confdefs.h >>conftest.$ac_ext 5014 cat >>conftest.$ac_ext <<_ACEOF 5015 /* end confdefs.h. */ 5016 #include <string.h> 5017 5018 _ACEOF 5019 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5020 $EGREP "memchr" >/dev/null 2>&1; then 5021 : 5022 else 5023 ac_cv_header_stdc=no 5024 fi 5025 rm -f conftest* 5026 5027 fi 5028 5029 if test $ac_cv_header_stdc = yes; then 5030 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5031 cat >conftest.$ac_ext <<_ACEOF 5032 /* confdefs.h. */ 5033 _ACEOF 5034 cat confdefs.h >>conftest.$ac_ext 5035 cat >>conftest.$ac_ext <<_ACEOF 5036 /* end confdefs.h. */ 5037 #include <stdlib.h> 5038 5039 _ACEOF 5040 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5041 $EGREP "free" >/dev/null 2>&1; then 5042 : 5043 else 5044 ac_cv_header_stdc=no 5045 fi 5046 rm -f conftest* 5047 5048 fi 5049 5050 if test $ac_cv_header_stdc = yes; then 5051 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5052 if test "$cross_compiling" = yes; then 5053 : 5054 else 5055 cat >conftest.$ac_ext <<_ACEOF 5056 /* confdefs.h. */ 5057 _ACEOF 5058 cat confdefs.h >>conftest.$ac_ext 5059 cat >>conftest.$ac_ext <<_ACEOF 5060 /* end confdefs.h. */ 5061 #include <ctype.h> 5062 #include <stdlib.h> 5063 #if ((' ' & 0x0FF) == 0x020) 5064 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 5065 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 5066 #else 5067 # define ISLOWER(c) \ 5068 (('a' <= (c) && (c) <= 'i') \ 5069 || ('j' <= (c) && (c) <= 'r') \ 5070 || ('s' <= (c) && (c) <= 'z')) 5071 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 5072 #endif 5073 5074 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 5075 int 5076 main () 5077 { 5078 int i; 5079 for (i = 0; i < 256; i++) 5080 if (XOR (islower (i), ISLOWER (i)) 5081 || toupper (i) != TOUPPER (i)) 5082 return 2; 5083 return 0; 5084 } 5085 _ACEOF 5086 rm -f conftest$ac_exeext 5087 if { (ac_try="$ac_link" 5088 case "(($ac_try" in 5089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5090 *) ac_try_echo=$ac_try;; 5091 esac 5092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5093 (eval "$ac_link") 2>&5 5094 ac_status=$? 5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5096 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5097 { (case "(($ac_try" in 5098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5099 *) ac_try_echo=$ac_try;; 5100 esac 5101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5102 (eval "$ac_try") 2>&5 5103 ac_status=$? 5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5105 (exit $ac_status); }; }; then 5106 : 5107 else 5108 echo "$as_me: program exited with status $ac_status" >&5 5109 echo "$as_me: failed program was:" >&5 5110 sed 's/^/| /' conftest.$ac_ext >&5 5111 5112 ( exit $ac_status ) 5113 ac_cv_header_stdc=no 5114 fi 5115 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5116 fi 5117 5118 5119 fi 5120 fi 5121 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5122 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 5123 if test $ac_cv_header_stdc = yes; then 5124 5125 cat >>confdefs.h <<\_ACEOF 5126 #define STDC_HEADERS 1 5127 _ACEOF 5128 5129 fi 5130 5131 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5142 inttypes.h stdint.h unistd.h 5143 do 5144 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5145 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5147 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5148 echo $ECHO_N "(cached) $ECHO_C" >&6 5149 else 5150 cat >conftest.$ac_ext <<_ACEOF 5151 /* confdefs.h. */ 5152 _ACEOF 5153 cat confdefs.h >>conftest.$ac_ext 5154 cat >>conftest.$ac_ext <<_ACEOF 5155 /* end confdefs.h. */ 5156 $ac_includes_default 5157 5158 #include <$ac_header> 5159 _ACEOF 5160 rm -f conftest.$ac_objext 5161 if { (ac_try="$ac_compile" 5162 case "(($ac_try" in 5163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5164 *) ac_try_echo=$ac_try;; 5165 esac 5166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5167 (eval "$ac_compile") 2>conftest.er1 5168 ac_status=$? 5169 grep -v '^ *+' conftest.er1 >conftest.err 5170 rm -f conftest.er1 5171 cat conftest.err >&5 5172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5173 (exit $ac_status); } && { 5174 test -z "$ac_c_werror_flag" || 5175 test ! -s conftest.err 5176 } && test -s conftest.$ac_objext; then 5177 eval "$as_ac_Header=yes" 5178 else 5179 echo "$as_me: failed program was:" >&5 5180 sed 's/^/| /' conftest.$ac_ext >&5 5181 5182 eval "$as_ac_Header=no" 5183 fi 5184 5185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5186 fi 5187 ac_res=`eval echo '${'$as_ac_Header'}'` 5188 { echo "$as_me:$LINENO: result: $ac_res" >&5 5189 echo "${ECHO_T}$ac_res" >&6; } 5190 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5191 cat >>confdefs.h <<_ACEOF 5192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5193 _ACEOF 5194 5195 fi 5196 5197 done 5198 5199 5200 5201 for ac_header in dlfcn.h 5202 do 5203 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5204 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5205 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5207 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5208 echo $ECHO_N "(cached) $ECHO_C" >&6 5209 fi 5210 ac_res=`eval echo '${'$as_ac_Header'}'` 5211 { echo "$as_me:$LINENO: result: $ac_res" >&5 5212 echo "${ECHO_T}$ac_res" >&6; } 5213 else 5214 # Is the header compilable? 5215 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5216 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5217 cat >conftest.$ac_ext <<_ACEOF 5218 /* confdefs.h. */ 5219 _ACEOF 5220 cat confdefs.h >>conftest.$ac_ext 5221 cat >>conftest.$ac_ext <<_ACEOF 5222 /* end confdefs.h. */ 5223 $ac_includes_default 5224 #include <$ac_header> 5225 _ACEOF 5226 rm -f conftest.$ac_objext 5227 if { (ac_try="$ac_compile" 5228 case "(($ac_try" in 5229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5230 *) ac_try_echo=$ac_try;; 5231 esac 5232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5233 (eval "$ac_compile") 2>conftest.er1 5234 ac_status=$? 5235 grep -v '^ *+' conftest.er1 >conftest.err 5236 rm -f conftest.er1 5237 cat conftest.err >&5 5238 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5239 (exit $ac_status); } && { 5240 test -z "$ac_c_werror_flag" || 5241 test ! -s conftest.err 5242 } && test -s conftest.$ac_objext; then 5243 ac_header_compiler=yes 5244 else 5245 echo "$as_me: failed program was:" >&5 5246 sed 's/^/| /' conftest.$ac_ext >&5 5247 5248 ac_header_compiler=no 5249 fi 5250 5251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5252 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5253 echo "${ECHO_T}$ac_header_compiler" >&6; } 5254 5255 # Is the header present? 5256 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5257 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5258 cat >conftest.$ac_ext <<_ACEOF 5259 /* confdefs.h. */ 5260 _ACEOF 5261 cat confdefs.h >>conftest.$ac_ext 5262 cat >>conftest.$ac_ext <<_ACEOF 5263 /* end confdefs.h. */ 5264 #include <$ac_header> 5265 _ACEOF 5266 if { (ac_try="$ac_cpp conftest.$ac_ext" 5267 case "(($ac_try" in 5268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5269 *) ac_try_echo=$ac_try;; 5270 esac 5271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5272 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5273 ac_status=$? 5274 grep -v '^ *+' conftest.er1 >conftest.err 5275 rm -f conftest.er1 5276 cat conftest.err >&5 5277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5278 (exit $ac_status); } >/dev/null && { 5279 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5280 test ! -s conftest.err 5281 }; then 5282 ac_header_preproc=yes 5283 else 5284 echo "$as_me: failed program was:" >&5 5285 sed 's/^/| /' conftest.$ac_ext >&5 5286 5287 ac_header_preproc=no 5288 fi 5289 5290 rm -f conftest.err conftest.$ac_ext 5291 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5292 echo "${ECHO_T}$ac_header_preproc" >&6; } 5293 5294 # So? What about this header? 5295 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5296 yes:no: ) 5297 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5298 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5300 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5301 ac_header_preproc=yes 5302 ;; 5303 no:yes:* ) 5304 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5305 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5306 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5307 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5308 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5309 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5310 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5311 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5313 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5314 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5315 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5316 5317 ;; 5318 esac 5319 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5321 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5322 echo $ECHO_N "(cached) $ECHO_C" >&6 5323 else 5324 eval "$as_ac_Header=\$ac_header_preproc" 5325 fi 5326 ac_res=`eval echo '${'$as_ac_Header'}'` 5327 { echo "$as_me:$LINENO: result: $ac_res" >&5 5328 echo "${ECHO_T}$ac_res" >&6; } 5329 5330 fi 5331 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5332 cat >>confdefs.h <<_ACEOF 5333 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5334 _ACEOF 5335 5336 fi 5337 5338 done 5339 5340 ac_ext=cpp 5341 ac_cpp='$CXXCPP $CPPFLAGS' 5342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5345 if test -z "$CXX"; then 5346 if test -n "$CCC"; then 5347 CXX=$CCC 5348 else 5349 if test -n "$ac_tool_prefix"; then 5350 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5351 do 5352 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5353 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5354 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5356 if test "${ac_cv_prog_CXX+set}" = set; then 5357 echo $ECHO_N "(cached) $ECHO_C" >&6 5358 else 5359 if test -n "$CXX"; then 5360 ac_cv_prog_CXX="$CXX" # Let the user override the test. 5361 else 5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5363 for as_dir in $PATH 5364 do 5365 IFS=$as_save_IFS 5366 test -z "$as_dir" && as_dir=. 5367 for ac_exec_ext in '' $ac_executable_extensions; do 5368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5369 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 5370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5371 break 2 5372 fi 5373 done 5374 done 5375 IFS=$as_save_IFS 5376 5377 fi 5378 fi 5379 CXX=$ac_cv_prog_CXX 5380 if test -n "$CXX"; then 5381 { echo "$as_me:$LINENO: result: $CXX" >&5 5382 echo "${ECHO_T}$CXX" >&6; } 5383 else 5384 { echo "$as_me:$LINENO: result: no" >&5 5385 echo "${ECHO_T}no" >&6; } 5386 fi 5387 5388 5389 test -n "$CXX" && break 5390 done 5391 fi 5392 if test -z "$CXX"; then 5393 ac_ct_CXX=$CXX 5394 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5395 do 5396 # Extract the first word of "$ac_prog", so it can be a program name with args. 5397 set dummy $ac_prog; ac_word=$2 5398 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5400 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 5401 echo $ECHO_N "(cached) $ECHO_C" >&6 5402 else 5403 if test -n "$ac_ct_CXX"; then 5404 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 5405 else 5406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5407 for as_dir in $PATH 5408 do 5409 IFS=$as_save_IFS 5410 test -z "$as_dir" && as_dir=. 5411 for ac_exec_ext in '' $ac_executable_extensions; do 5412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5413 ac_cv_prog_ac_ct_CXX="$ac_prog" 5414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5415 break 2 5416 fi 5417 done 5418 done 5419 IFS=$as_save_IFS 5420 5421 fi 5422 fi 5423 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 5424 if test -n "$ac_ct_CXX"; then 5425 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 5426 echo "${ECHO_T}$ac_ct_CXX" >&6; } 5427 else 5428 { echo "$as_me:$LINENO: result: no" >&5 5429 echo "${ECHO_T}no" >&6; } 5430 fi 5431 5432 5433 test -n "$ac_ct_CXX" && break 5434 done 5435 5436 if test "x$ac_ct_CXX" = x; then 5437 CXX="g++" 5438 else 5439 case $cross_compiling:$ac_tool_warned in 5440 yes:) 5441 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5442 whose name does not start with the host triplet. If you think this 5443 configuration is useful to you, please write to autoconf@gnu.org." >&5 5444 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5445 whose name does not start with the host triplet. If you think this 5446 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 5447 ac_tool_warned=yes ;; 5448 esac 5449 CXX=$ac_ct_CXX 5450 fi 5451 fi 5452 5453 fi 5454 fi 5455 # Provide some information about the compiler. 5456 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 5457 ac_compiler=`set X $ac_compile; echo $2` 5458 { (ac_try="$ac_compiler --version >&5" 5459 case "(($ac_try" in 5460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5461 *) ac_try_echo=$ac_try;; 5462 esac 5463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5464 (eval "$ac_compiler --version >&5") 2>&5 5465 ac_status=$? 5466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5467 (exit $ac_status); } 5468 { (ac_try="$ac_compiler -v >&5" 5469 case "(($ac_try" in 5470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5471 *) ac_try_echo=$ac_try;; 5472 esac 5473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5474 (eval "$ac_compiler -v >&5") 2>&5 5475 ac_status=$? 5476 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5477 (exit $ac_status); } 5478 { (ac_try="$ac_compiler -V >&5" 5479 case "(($ac_try" in 5480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5481 *) ac_try_echo=$ac_try;; 5482 esac 5483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5484 (eval "$ac_compiler -V >&5") 2>&5 5485 ac_status=$? 5486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5487 (exit $ac_status); } 5488 5489 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 5490 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 5491 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 5492 echo $ECHO_N "(cached) $ECHO_C" >&6 5493 else 5494 cat >conftest.$ac_ext <<_ACEOF 5495 /* confdefs.h. */ 5496 _ACEOF 5497 cat confdefs.h >>conftest.$ac_ext 5498 cat >>conftest.$ac_ext <<_ACEOF 5499 /* end confdefs.h. */ 5500 5501 int 5502 main () 5503 { 5504 #ifndef __GNUC__ 5505 choke me 5506 #endif 5507 5508 ; 5509 return 0; 5510 } 5511 _ACEOF 5512 rm -f conftest.$ac_objext 5513 if { (ac_try="$ac_compile" 5514 case "(($ac_try" in 5515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5516 *) ac_try_echo=$ac_try;; 5517 esac 5518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5519 (eval "$ac_compile") 2>conftest.er1 5520 ac_status=$? 5521 grep -v '^ *+' conftest.er1 >conftest.err 5522 rm -f conftest.er1 5523 cat conftest.err >&5 5524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5525 (exit $ac_status); } && { 5526 test -z "$ac_cxx_werror_flag" || 5527 test ! -s conftest.err 5528 } && test -s conftest.$ac_objext; then 5529 ac_compiler_gnu=yes 5530 else 5531 echo "$as_me: failed program was:" >&5 5532 sed 's/^/| /' conftest.$ac_ext >&5 5533 5534 ac_compiler_gnu=no 5535 fi 5536 5537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5538 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 5539 5540 fi 5541 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 5542 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 5543 GXX=`test $ac_compiler_gnu = yes && echo yes` 5544 ac_test_CXXFLAGS=${CXXFLAGS+set} 5545 ac_save_CXXFLAGS=$CXXFLAGS 5546 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 5547 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 5548 if test "${ac_cv_prog_cxx_g+set}" = set; then 5549 echo $ECHO_N "(cached) $ECHO_C" >&6 5550 else 5551 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 5552 ac_cxx_werror_flag=yes 5553 ac_cv_prog_cxx_g=no 5554 CXXFLAGS="-g" 5555 cat >conftest.$ac_ext <<_ACEOF 5556 /* confdefs.h. */ 5557 _ACEOF 5558 cat confdefs.h >>conftest.$ac_ext 5559 cat >>conftest.$ac_ext <<_ACEOF 5560 /* end confdefs.h. */ 5561 5562 int 5563 main () 5564 { 5565 5566 ; 5567 return 0; 5568 } 5569 _ACEOF 5570 rm -f conftest.$ac_objext 5571 if { (ac_try="$ac_compile" 5572 case "(($ac_try" in 5573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5574 *) ac_try_echo=$ac_try;; 5575 esac 5576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5577 (eval "$ac_compile") 2>conftest.er1 5578 ac_status=$? 5579 grep -v '^ *+' conftest.er1 >conftest.err 5580 rm -f conftest.er1 5581 cat conftest.err >&5 5582 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5583 (exit $ac_status); } && { 5584 test -z "$ac_cxx_werror_flag" || 5585 test ! -s conftest.err 5586 } && test -s conftest.$ac_objext; then 5587 ac_cv_prog_cxx_g=yes 5588 else 5589 echo "$as_me: failed program was:" >&5 5590 sed 's/^/| /' conftest.$ac_ext >&5 5591 5592 CXXFLAGS="" 5593 cat >conftest.$ac_ext <<_ACEOF 5594 /* confdefs.h. */ 5595 _ACEOF 5596 cat confdefs.h >>conftest.$ac_ext 5597 cat >>conftest.$ac_ext <<_ACEOF 5598 /* end confdefs.h. */ 5599 5600 int 5601 main () 5602 { 5603 5604 ; 5605 return 0; 5606 } 5607 _ACEOF 5608 rm -f conftest.$ac_objext 5609 if { (ac_try="$ac_compile" 5610 case "(($ac_try" in 5611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5612 *) ac_try_echo=$ac_try;; 5613 esac 5614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5615 (eval "$ac_compile") 2>conftest.er1 5616 ac_status=$? 5617 grep -v '^ *+' conftest.er1 >conftest.err 5618 rm -f conftest.er1 5619 cat conftest.err >&5 5620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5621 (exit $ac_status); } && { 5622 test -z "$ac_cxx_werror_flag" || 5623 test ! -s conftest.err 5624 } && test -s conftest.$ac_objext; then 5625 : 5626 else 5627 echo "$as_me: failed program was:" >&5 5628 sed 's/^/| /' conftest.$ac_ext >&5 5629 5630 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5631 CXXFLAGS="-g" 5632 cat >conftest.$ac_ext <<_ACEOF 5633 /* confdefs.h. */ 5634 _ACEOF 5635 cat confdefs.h >>conftest.$ac_ext 5636 cat >>conftest.$ac_ext <<_ACEOF 5637 /* end confdefs.h. */ 5638 5639 int 5640 main () 5641 { 5642 5643 ; 5644 return 0; 5645 } 5646 _ACEOF 5647 rm -f conftest.$ac_objext 5648 if { (ac_try="$ac_compile" 5649 case "(($ac_try" in 5650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5651 *) ac_try_echo=$ac_try;; 5652 esac 5653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5654 (eval "$ac_compile") 2>conftest.er1 5655 ac_status=$? 5656 grep -v '^ *+' conftest.er1 >conftest.err 5657 rm -f conftest.er1 5658 cat conftest.err >&5 5659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5660 (exit $ac_status); } && { 5661 test -z "$ac_cxx_werror_flag" || 5662 test ! -s conftest.err 5663 } && test -s conftest.$ac_objext; then 5664 ac_cv_prog_cxx_g=yes 5665 else 5666 echo "$as_me: failed program was:" >&5 5667 sed 's/^/| /' conftest.$ac_ext >&5 5668 5669 5670 fi 5671 5672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5673 fi 5674 5675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5676 fi 5677 5678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5679 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5680 fi 5681 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 5682 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 5683 if test "$ac_test_CXXFLAGS" = set; then 5684 CXXFLAGS=$ac_save_CXXFLAGS 5685 elif test $ac_cv_prog_cxx_g = yes; then 5686 if test "$GXX" = yes; then 5687 CXXFLAGS="-g -O2" 5688 else 5689 CXXFLAGS="-g" 5690 fi 5691 else 5692 if test "$GXX" = yes; then 5693 CXXFLAGS="-O2" 5694 else 5695 CXXFLAGS= 5696 fi 5697 fi 5698 ac_ext=cpp 5699 ac_cpp='$CXXCPP $CPPFLAGS' 5700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5703 5704 depcc="$CXX" am_compiler_list= 5705 5706 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 5707 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 5708 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then 5709 echo $ECHO_N "(cached) $ECHO_C" >&6 5710 else 5711 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5712 # We make a subdir and do the tests there. Otherwise we can end up 5713 # making bogus files that we don't know about and never remove. For 5714 # instance it was reported that on HP-UX the gcc test will end up 5715 # making a dummy file named `D' -- because `-MD' means `put the output 5716 # in D'. 5717 mkdir conftest.dir 5718 # Copy depcomp to subdir because otherwise we won't find it if we're 5719 # using a relative directory. 5720 cp "$am_depcomp" conftest.dir 5721 cd conftest.dir 5722 # We will build objects and dependencies in a subdirectory because 5723 # it helps to detect inapplicable dependency modes. For instance 5724 # both Tru64's cc and ICC support -MD to output dependencies as a 5725 # side effect of compilation, but ICC will put the dependencies in 5726 # the current directory while Tru64 will put them in the object 5727 # directory. 5728 mkdir sub 5729 5730 am_cv_CXX_dependencies_compiler_type=none 5731 if test "$am_compiler_list" = ""; then 5732 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5733 fi 5734 for depmode in $am_compiler_list; do 5735 # Setup a source with many dependencies, because some compilers 5736 # like to wrap large dependency lists on column 80 (with \), and 5737 # we should not choose a depcomp mode which is confused by this. 5738 # 5739 # We need to recreate these files for each test, as the compiler may 5740 # overwrite some of them when testing with obscure command lines. 5741 # This happens at least with the AIX C compiler. 5742 : > sub/conftest.c 5743 for i in 1 2 3 4 5 6; do 5744 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5745 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 5746 # Solaris 8's {/usr,}/bin/sh. 5747 touch sub/conftst$i.h 5748 done 5749 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5750 5751 case $depmode in 5752 nosideeffect) 5753 # after this tag, mechanisms are not by side-effect, so they'll 5754 # only be used when explicitly requested 5755 if test "x$enable_dependency_tracking" = xyes; then 5756 continue 5757 else 5758 break 5759 fi 5760 ;; 5761 none) break ;; 5762 esac 5763 # We check with `-c' and `-o' for the sake of the "dashmstdout" 5764 # mode. It turns out that the SunPro C++ compiler does not properly 5765 # handle `-M -o', and we need to detect this. 5766 if depmode=$depmode \ 5767 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 5768 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5769 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 5770 >/dev/null 2>conftest.err && 5771 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5772 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5773 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 5774 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5775 # icc doesn't choke on unknown options, it will just issue warnings 5776 # or remarks (even with -Werror). So we grep stderr for any message 5777 # that says an option was ignored or not supported. 5778 # When given -MP, icc 7.0 and 7.1 complain thusly: 5779 # icc: Command line warning: ignoring option '-M'; no argument required 5780 # The diagnosis changed in icc 8.0: 5781 # icc: Command line remark: option '-MP' not supported 5782 if (grep 'ignoring option' conftest.err || 5783 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5784 am_cv_CXX_dependencies_compiler_type=$depmode 5785 break 5786 fi 5787 fi 5788 done 5789 5790 cd .. 5791 rm -rf conftest.dir 5792 else 5793 am_cv_CXX_dependencies_compiler_type=none 5794 fi 5795 5796 fi 5797 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 5798 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } 5799 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 5800 5801 if 5802 test "x$enable_dependency_tracking" != xno \ 5803 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 5804 am__fastdepCXX_TRUE= 5805 am__fastdepCXX_FALSE='#' 5806 else 5807 am__fastdepCXX_TRUE='#' 5808 am__fastdepCXX_FALSE= 5809 fi 5810 5811 5812 5813 5814 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 5815 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 5816 (test "X$CXX" != "Xg++"))) ; then 5817 ac_ext=cpp 5818 ac_cpp='$CXXCPP $CPPFLAGS' 5819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5822 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 5823 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } 5824 if test -z "$CXXCPP"; then 5825 if test "${ac_cv_prog_CXXCPP+set}" = set; then 5826 echo $ECHO_N "(cached) $ECHO_C" >&6 5827 else 5828 # Double quotes because CXXCPP needs to be expanded 5829 for CXXCPP in "$CXX -E" "/lib/cpp" 5830 do 5831 ac_preproc_ok=false 5832 for ac_cxx_preproc_warn_flag in '' yes 5833 do 5834 # Use a header file that comes with gcc, so configuring glibc 5835 # with a fresh cross-compiler works. 5836 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5837 # <limits.h> exists even on freestanding compilers. 5838 # On the NeXT, cc -E runs the code through the compiler's parser, 5839 # not just through cpp. "Syntax error" is here to catch this case. 5840 cat >conftest.$ac_ext <<_ACEOF 5841 /* confdefs.h. */ 5842 _ACEOF 5843 cat confdefs.h >>conftest.$ac_ext 5844 cat >>conftest.$ac_ext <<_ACEOF 5845 /* end confdefs.h. */ 5846 #ifdef __STDC__ 5847 # include <limits.h> 5848 #else 5849 # include <assert.h> 5850 #endif 5851 Syntax error 5852 _ACEOF 5853 if { (ac_try="$ac_cpp conftest.$ac_ext" 5854 case "(($ac_try" in 5855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5856 *) ac_try_echo=$ac_try;; 5857 esac 5858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5859 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5860 ac_status=$? 5861 grep -v '^ *+' conftest.er1 >conftest.err 5862 rm -f conftest.er1 5863 cat conftest.err >&5 5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5865 (exit $ac_status); } >/dev/null && { 5866 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5867 test ! -s conftest.err 5868 }; then 5869 : 5870 else 5871 echo "$as_me: failed program was:" >&5 5872 sed 's/^/| /' conftest.$ac_ext >&5 5873 5874 # Broken: fails on valid input. 5875 continue 5876 fi 5877 5878 rm -f conftest.err conftest.$ac_ext 5879 5880 # OK, works on sane cases. Now check whether nonexistent headers 5881 # can be detected and how. 5882 cat >conftest.$ac_ext <<_ACEOF 5883 /* confdefs.h. */ 5884 _ACEOF 5885 cat confdefs.h >>conftest.$ac_ext 5886 cat >>conftest.$ac_ext <<_ACEOF 5887 /* end confdefs.h. */ 5888 #include <ac_nonexistent.h> 5889 _ACEOF 5890 if { (ac_try="$ac_cpp conftest.$ac_ext" 5891 case "(($ac_try" in 5892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5893 *) ac_try_echo=$ac_try;; 5894 esac 5895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5896 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5897 ac_status=$? 5898 grep -v '^ *+' conftest.er1 >conftest.err 5899 rm -f conftest.er1 5900 cat conftest.err >&5 5901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5902 (exit $ac_status); } >/dev/null && { 5903 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5904 test ! -s conftest.err 5905 }; then 5906 # Broken: success on invalid input. 5907 continue 5908 else 5909 echo "$as_me: failed program was:" >&5 5910 sed 's/^/| /' conftest.$ac_ext >&5 5911 5912 # Passes both tests. 5913 ac_preproc_ok=: 5914 break 5915 fi 5916 5917 rm -f conftest.err conftest.$ac_ext 5918 5919 done 5920 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5921 rm -f conftest.err conftest.$ac_ext 5922 if $ac_preproc_ok; then 5923 break 5924 fi 5925 5926 done 5927 ac_cv_prog_CXXCPP=$CXXCPP 5928 5929 fi 5930 CXXCPP=$ac_cv_prog_CXXCPP 5931 else 5932 ac_cv_prog_CXXCPP=$CXXCPP 5933 fi 5934 { echo "$as_me:$LINENO: result: $CXXCPP" >&5 5935 echo "${ECHO_T}$CXXCPP" >&6; } 5936 ac_preproc_ok=false 5937 for ac_cxx_preproc_warn_flag in '' yes 5938 do 5939 # Use a header file that comes with gcc, so configuring glibc 5940 # with a fresh cross-compiler works. 5941 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5942 # <limits.h> exists even on freestanding compilers. 5943 # On the NeXT, cc -E runs the code through the compiler's parser, 5944 # not just through cpp. "Syntax error" is here to catch this case. 5945 cat >conftest.$ac_ext <<_ACEOF 5946 /* confdefs.h. */ 5947 _ACEOF 5948 cat confdefs.h >>conftest.$ac_ext 5949 cat >>conftest.$ac_ext <<_ACEOF 5950 /* end confdefs.h. */ 5951 #ifdef __STDC__ 5952 # include <limits.h> 5953 #else 5954 # include <assert.h> 5955 #endif 5956 Syntax error 5957 _ACEOF 5958 if { (ac_try="$ac_cpp conftest.$ac_ext" 5959 case "(($ac_try" in 5960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5961 *) ac_try_echo=$ac_try;; 5962 esac 5963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5964 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5965 ac_status=$? 5966 grep -v '^ *+' conftest.er1 >conftest.err 5967 rm -f conftest.er1 5968 cat conftest.err >&5 5969 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5970 (exit $ac_status); } >/dev/null && { 5971 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5972 test ! -s conftest.err 5973 }; then 5974 : 5975 else 5976 echo "$as_me: failed program was:" >&5 5977 sed 's/^/| /' conftest.$ac_ext >&5 5978 5979 # Broken: fails on valid input. 5980 continue 5981 fi 5982 5983 rm -f conftest.err conftest.$ac_ext 5984 5985 # OK, works on sane cases. Now check whether nonexistent headers 5986 # can be detected and how. 5987 cat >conftest.$ac_ext <<_ACEOF 5988 /* confdefs.h. */ 5989 _ACEOF 5990 cat confdefs.h >>conftest.$ac_ext 5991 cat >>conftest.$ac_ext <<_ACEOF 5992 /* end confdefs.h. */ 5993 #include <ac_nonexistent.h> 5994 _ACEOF 5995 if { (ac_try="$ac_cpp conftest.$ac_ext" 5996 case "(($ac_try" in 5997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5998 *) ac_try_echo=$ac_try;; 5999 esac 6000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6001 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6002 ac_status=$? 6003 grep -v '^ *+' conftest.er1 >conftest.err 6004 rm -f conftest.er1 6005 cat conftest.err >&5 6006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6007 (exit $ac_status); } >/dev/null && { 6008 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6009 test ! -s conftest.err 6010 }; then 6011 # Broken: success on invalid input. 6012 continue 6013 else 6014 echo "$as_me: failed program was:" >&5 6015 sed 's/^/| /' conftest.$ac_ext >&5 6016 6017 # Passes both tests. 6018 ac_preproc_ok=: 6019 break 6020 fi 6021 6022 rm -f conftest.err conftest.$ac_ext 6023 6024 done 6025 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6026 rm -f conftest.err conftest.$ac_ext 6027 if $ac_preproc_ok; then 6028 : 6029 else 6030 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 6031 See \`config.log' for more details." >&5 6032 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 6033 See \`config.log' for more details." >&2;} 6034 { (exit 1); exit 1; }; } 6035 fi 6036 6037 ac_ext=cpp 6038 ac_cpp='$CXXCPP $CPPFLAGS' 6039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6042 6043 fi 6044 6045 6046 ac_ext=f 6047 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 6048 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6049 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 6050 if test -n "$ac_tool_prefix"; then 6051 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn 6052 do 6053 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6054 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6055 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6057 if test "${ac_cv_prog_F77+set}" = set; then 6058 echo $ECHO_N "(cached) $ECHO_C" >&6 6059 else 6060 if test -n "$F77"; then 6061 ac_cv_prog_F77="$F77" # Let the user override the test. 6062 else 6063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6064 for as_dir in $PATH 6065 do 6066 IFS=$as_save_IFS 6067 test -z "$as_dir" && as_dir=. 6068 for ac_exec_ext in '' $ac_executable_extensions; do 6069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6070 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 6071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6072 break 2 6073 fi 6074 done 6075 done 6076 IFS=$as_save_IFS 6077 6078 fi 6079 fi 6080 F77=$ac_cv_prog_F77 6081 if test -n "$F77"; then 6082 { echo "$as_me:$LINENO: result: $F77" >&5 6083 echo "${ECHO_T}$F77" >&6; } 6084 else 6085 { echo "$as_me:$LINENO: result: no" >&5 6086 echo "${ECHO_T}no" >&6; } 6087 fi 6088 6089 6090 test -n "$F77" && break 6091 done 6092 fi 6093 if test -z "$F77"; then 6094 ac_ct_F77=$F77 6095 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn 6096 do 6097 # Extract the first word of "$ac_prog", so it can be a program name with args. 6098 set dummy $ac_prog; ac_word=$2 6099 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6101 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then 6102 echo $ECHO_N "(cached) $ECHO_C" >&6 6103 else 6104 if test -n "$ac_ct_F77"; then 6105 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. 6106 else 6107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6108 for as_dir in $PATH 6109 do 6110 IFS=$as_save_IFS 6111 test -z "$as_dir" && as_dir=. 6112 for ac_exec_ext in '' $ac_executable_extensions; do 6113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6114 ac_cv_prog_ac_ct_F77="$ac_prog" 6115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6116 break 2 6117 fi 6118 done 6119 done 6120 IFS=$as_save_IFS 6121 6122 fi 6123 fi 6124 ac_ct_F77=$ac_cv_prog_ac_ct_F77 6125 if test -n "$ac_ct_F77"; then 6126 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 6127 echo "${ECHO_T}$ac_ct_F77" >&6; } 6128 else 6129 { echo "$as_me:$LINENO: result: no" >&5 6130 echo "${ECHO_T}no" >&6; } 6131 fi 6132 6133 6134 test -n "$ac_ct_F77" && break 6135 done 6136 6137 if test "x$ac_ct_F77" = x; then 6138 F77="" 6139 else 6140 case $cross_compiling:$ac_tool_warned in 6141 yes:) 6142 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 6143 whose name does not start with the host triplet. If you think this 6144 configuration is useful to you, please write to autoconf@gnu.org." >&5 6145 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 6146 whose name does not start with the host triplet. If you think this 6147 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 6148 ac_tool_warned=yes ;; 6149 esac 6150 F77=$ac_ct_F77 6151 fi 6152 fi 6153 6154 6155 # Provide some information about the compiler. 6156 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 6157 ac_compiler=`set X $ac_compile; echo $2` 6158 { (ac_try="$ac_compiler --version >&5" 6159 case "(($ac_try" in 6160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6161 *) ac_try_echo=$ac_try;; 6162 esac 6163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6164 (eval "$ac_compiler --version >&5") 2>&5 6165 ac_status=$? 6166 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6167 (exit $ac_status); } 6168 { (ac_try="$ac_compiler -v >&5" 6169 case "(($ac_try" in 6170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6171 *) ac_try_echo=$ac_try;; 6172 esac 6173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6174 (eval "$ac_compiler -v >&5") 2>&5 6175 ac_status=$? 6176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6177 (exit $ac_status); } 6178 { (ac_try="$ac_compiler -V >&5" 6179 case "(($ac_try" in 6180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6181 *) ac_try_echo=$ac_try;; 6182 esac 6183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6184 (eval "$ac_compiler -V >&5") 2>&5 6185 ac_status=$? 6186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6187 (exit $ac_status); } 6188 rm -f a.out 6189 6190 # If we don't use `.F' as extension, the preprocessor is not run on the 6191 # input file. (Note that this only needs to work for GNU compilers.) 6192 ac_save_ext=$ac_ext 6193 ac_ext=F 6194 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 6195 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; } 6196 if test "${ac_cv_f77_compiler_gnu+set}" = set; then 6197 echo $ECHO_N "(cached) $ECHO_C" >&6 6198 else 6199 cat >conftest.$ac_ext <<_ACEOF 6200 program main 6201 #ifndef __GNUC__ 6202 choke me 6203 #endif 6204 6205 end 6206 _ACEOF 6207 rm -f conftest.$ac_objext 6208 if { (ac_try="$ac_compile" 6209 case "(($ac_try" in 6210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6211 *) ac_try_echo=$ac_try;; 6212 esac 6213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6214 (eval "$ac_compile") 2>conftest.er1 6215 ac_status=$? 6216 grep -v '^ *+' conftest.er1 >conftest.err 6217 rm -f conftest.er1 6218 cat conftest.err >&5 6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6220 (exit $ac_status); } && { 6221 test -z "$ac_f77_werror_flag" || 6222 test ! -s conftest.err 6223 } && test -s conftest.$ac_objext; then 6224 ac_compiler_gnu=yes 6225 else 6226 echo "$as_me: failed program was:" >&5 6227 sed 's/^/| /' conftest.$ac_ext >&5 6228 6229 ac_compiler_gnu=no 6230 fi 6231 6232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6233 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 6234 6235 fi 6236 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 6237 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; } 6238 ac_ext=$ac_save_ext 6239 ac_test_FFLAGS=${FFLAGS+set} 6240 ac_save_FFLAGS=$FFLAGS 6241 FFLAGS= 6242 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 6243 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; } 6244 if test "${ac_cv_prog_f77_g+set}" = set; then 6245 echo $ECHO_N "(cached) $ECHO_C" >&6 6246 else 6247 FFLAGS=-g 6248 cat >conftest.$ac_ext <<_ACEOF 6249 program main 6250 6251 end 6252 _ACEOF 6253 rm -f conftest.$ac_objext 6254 if { (ac_try="$ac_compile" 6255 case "(($ac_try" in 6256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6257 *) ac_try_echo=$ac_try;; 6258 esac 6259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6260 (eval "$ac_compile") 2>conftest.er1 6261 ac_status=$? 6262 grep -v '^ *+' conftest.er1 >conftest.err 6263 rm -f conftest.er1 6264 cat conftest.err >&5 6265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6266 (exit $ac_status); } && { 6267 test -z "$ac_f77_werror_flag" || 6268 test ! -s conftest.err 6269 } && test -s conftest.$ac_objext; then 6270 ac_cv_prog_f77_g=yes 6271 else 6272 echo "$as_me: failed program was:" >&5 6273 sed 's/^/| /' conftest.$ac_ext >&5 6274 6275 ac_cv_prog_f77_g=no 6276 fi 6277 6278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6279 6280 fi 6281 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 6282 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; } 6283 if test "$ac_test_FFLAGS" = set; then 6284 FFLAGS=$ac_save_FFLAGS 6285 elif test $ac_cv_prog_f77_g = yes; then 6286 if test "x$ac_cv_f77_compiler_gnu" = xyes; then 6287 FFLAGS="-g -O2" 6288 else 6289 FFLAGS="-g" 6290 fi 6291 else 6292 if test "x$ac_cv_f77_compiler_gnu" = xyes; then 6293 FFLAGS="-O2" 6294 else 6295 FFLAGS= 6296 fi 6297 fi 6298 6299 G77=`test $ac_compiler_gnu = yes && echo yes` 6300 ac_ext=c 6301 ac_cpp='$CPP $CPPFLAGS' 6302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6304 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6305 6306 6307 6308 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! 6309 6310 # find the maximum length of command line arguments 6311 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 6312 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } 6313 if test "${lt_cv_sys_max_cmd_len+set}" = set; then 6314 echo $ECHO_N "(cached) $ECHO_C" >&6 6315 else 6316 i=0 6317 teststring="ABCD" 6318 6319 case $build_os in 6320 msdosdjgpp*) 6321 # On DJGPP, this test can blow up pretty badly due to problems in libc 6322 # (any single argument exceeding 2000 bytes causes a buffer overrun 6323 # during glob expansion). Even if it were fixed, the result of this 6324 # check would be larger than it should be. 6325 lt_cv_sys_max_cmd_len=12288; # 12K is about right 6326 ;; 6327 6328 gnu*) 6329 # Under GNU Hurd, this test is not required because there is 6330 # no limit to the length of command line arguments. 6331 # Libtool will interpret -1 as no limit whatsoever 6332 lt_cv_sys_max_cmd_len=-1; 6333 ;; 6334 6335 cygwin* | mingw*) 6336 # On Win9x/ME, this test blows up -- it succeeds, but takes 6337 # about 5 minutes as the teststring grows exponentially. 6338 # Worse, since 9x/ME are not pre-emptively multitasking, 6339 # you end up with a "frozen" computer, even though with patience 6340 # the test eventually succeeds (with a max line length of 256k). 6341 # Instead, let's just punt: use the minimum linelength reported by 6342 # all of the supported platforms: 8192 (on NT/2K/XP). 6343 lt_cv_sys_max_cmd_len=8192; 6344 ;; 6345 6346 amigaos*) 6347 # On AmigaOS with pdksh, this test takes hours, literally. 6348 # So we just punt and use a minimum line length of 8192. 6349 lt_cv_sys_max_cmd_len=8192; 6350 ;; 6351 6352 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 6353 # This has been around since 386BSD, at least. Likely further. 6354 if test -x /sbin/sysctl; then 6355 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6356 elif test -x /usr/sbin/sysctl; then 6357 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6358 else 6359 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 6360 fi 6361 # And add a safety zone 6362 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6363 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6364 ;; 6365 6366 interix*) 6367 # We know the value 262144 and hardcode it with a safety zone (like BSD) 6368 lt_cv_sys_max_cmd_len=196608 6369 ;; 6370 6371 osf*) 6372 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 6373 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 6374 # nice to cause kernel panics so lets avoid the loop below. 6375 # First set a reasonable default. 6376 lt_cv_sys_max_cmd_len=16384 6377 # 6378 if test -x /sbin/sysconfig; then 6379 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 6380 *1*) lt_cv_sys_max_cmd_len=-1 ;; 6381 esac 6382 fi 6383 ;; 6384 sco3.2v5*) 6385 lt_cv_sys_max_cmd_len=102400 6386 ;; 6387 sysv5* | sco5v6* | sysv4.2uw2*) 6388 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6389 if test -n "$kargmax"; then 6390 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6391 else 6392 lt_cv_sys_max_cmd_len=32768 6393 fi 6394 ;; 6395 *) 6396 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 6397 if test -n "$lt_cv_sys_max_cmd_len"; then 6398 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6399 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6400 else 6401 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6402 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ 6403 = "XX$teststring") >/dev/null 2>&1 && 6404 new_result=`expr "X$teststring" : ".*" 2>&1` && 6405 lt_cv_sys_max_cmd_len=$new_result && 6406 test $i != 17 # 1/2 MB should be enough 6407 do 6408 i=`expr $i + 1` 6409 teststring=$teststring$teststring 6410 done 6411 teststring= 6412 # Add a significant safety factor because C++ compilers can tack on massive 6413 # amounts of additional arguments before passing them to the linker. 6414 # It appears as though 1/2 is a usable value. 6415 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6416 fi 6417 ;; 6418 esac 6419 6420 fi 6421 6422 if test -n $lt_cv_sys_max_cmd_len ; then 6423 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 6424 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; } 6425 else 6426 { echo "$as_me:$LINENO: result: none" >&5 6427 echo "${ECHO_T}none" >&6; } 6428 fi 6429 6430 6431 6432 6433 6434 # Check for command to grab the raw symbol name followed by C symbol from nm. 6435 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 6436 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; } 6437 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 6438 echo $ECHO_N "(cached) $ECHO_C" >&6 6439 else 6440 6441 # These are sane defaults that work on at least a few old systems. 6442 # [They come from Ultrix. What could be older than Ultrix?!! ;)] 6443 6444 # Character class describing NM global symbol codes. 6445 symcode='[BCDEGRST]' 6446 6447 # Regexp to match symbols that can be accessed directly from C. 6448 sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6449 6450 # Transform an extracted symbol line into a proper C declaration 6451 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" 6452 6453 # Transform an extracted symbol line into symbol name and symbol address 6454 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" 6455 6456 # Define system-specific variables. 6457 case $host_os in 6458 aix*) 6459 symcode='[BCDT]' 6460 ;; 6461 cygwin* | mingw* | pw32*) 6462 symcode='[ABCDGISTW]' 6463 ;;