Parent Directory
|
Revision Log
Make the use of dftables optional, and not the default. Further tidies to documentation.
| 1 | nigel | 41 | #! /bin/sh |
| 2 | # Guess values for system-dependent variables and create Makefiles. | ||
| 3 | ph10 | 126 | # Generated by GNU Autoconf 2.61 for PCRE 7.1-RC2. |
| 4 | nigel | 41 | # |
| 5 | nigel | 93 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 6 | # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | ||
| 7 | nigel | 41 | # This configure script is free software; the Free Software Foundation |
| 8 | # gives unlimited permission to copy, distribute and modify it. | ||
| 9 | nigel | 63 | ## --------------------- ## |
| 10 | ## M4sh Initialization. ## | ||
| 11 | ## --------------------- ## | ||
| 12 | nigel | 41 | |
| 13 | ph10 | 98 | # Be more Bourne compatible |
| 14 | DUALCASE=1; export DUALCASE # for MKS sh | ||
| 15 | nigel | 63 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 16 | emulate sh | ||
| 17 | NULLCMD=: | ||
| 18 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | ||
| 19 | # is contrary to our usage. Disable this feature. | ||
| 20 | alias -g '${1+"$@"}'='"$@"' | ||
| 21 | nigel | 93 | setopt NO_GLOB_SUBST |
| 22 | else | ||
| 23 | ph10 | 98 | case `(set -o) 2>/dev/null` in |
| 24 | *posix*) set -o posix ;; | ||
| 25 | esac | ||
| 26 | |||
| 27 | nigel | 63 | fi |
| 28 | |||
| 29 | nigel | 93 | |
| 30 | ph10 | 98 | |
| 31 | |||
| 32 | nigel | 93 | # PATH needs CR |
| 33 | # Avoid depending upon Character Ranges. | ||
| 34 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
| 35 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
| 36 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
| 37 | as_cr_digits='0123456789' | ||
| 38 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
| 39 | |||
| 40 | # The user is always right. | ||
| 41 | if test "${PATH_SEPARATOR+set}" != set; then | ||
| 42 | echo "#! /bin/sh" >conf$$.sh | ||
| 43 | echo "exit 0" >>conf$$.sh | ||
| 44 | chmod +x conf$$.sh | ||
| 45 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | ||
| 46 | PATH_SEPARATOR=';' | ||
| 47 | else | ||
| 48 | PATH_SEPARATOR=: | ||
| 49 | fi | ||
| 50 | rm -f conf$$.sh | ||
| 51 | fi | ||
| 52 | |||
| 53 | nigel | 63 | # Support unset when possible. |
| 54 | nigel | 75 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 55 | nigel | 63 | as_unset=unset |
| 56 | else | ||
| 57 | as_unset=false | ||
| 58 | fi | ||
| 59 | |||
| 60 | |||
| 61 | nigel | 93 | # 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 | ||
| 74 | for as_dir in $PATH | ||
| 75 | do | ||
| 76 | IFS=$as_save_IFS | ||
| 77 | test -z "$as_dir" && as_dir=. | ||
| 78 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
| 79 | done | ||
| 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 | nigel | 63 | # Work around bugs in pre-3.0 UWIN ksh. |
| 95 | nigel | 93 | for as_var in ENV MAIL MAILPATH |
| 96 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
| 97 | done | ||
| 98 | nigel | 63 | 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 | nigel | 75 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 109 | nigel | 63 | eval $as_var=C; export $as_var |
| 110 | else | ||
| 111 | nigel | 93 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 112 | nigel | 63 | fi |
| 113 | done | ||
| 114 | |||
| 115 | # Required to use basename. | ||
| 116 | nigel | 93 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 117 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
| 118 | nigel | 63 | as_expr=expr |
| 119 | else | ||
| 120 | as_expr=false | ||
| 121 | fi | ||
| 122 | |||
| 123 | nigel | 93 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 124 | nigel | 63 | as_basename=basename |
| 125 | else | ||
| 126 | as_basename=false | ||
| 127 | fi | ||
| 128 | |||
| 129 | |||
| 130 | # Name of the executable. | ||
| 131 | nigel | 93 | as_me=`$as_basename -- "$0" || |
| 132 | nigel | 63 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 133 | X"$0" : 'X\(//\)$' \| \ | ||
| 134 | nigel | 93 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 135 | nigel | 63 | echo X/"$0" | |
| 136 | nigel | 93 | 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 | nigel | 63 | |
| 150 | nigel | 93 | # CDPATH. |
| 151 | $as_unset CDPATH | ||
| 152 | nigel | 63 | |
| 153 | |||
| 154 | nigel | 93 | 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 | nigel | 63 | fi |
| 160 | |||
| 161 | nigel | 93 | 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 | nigel | 63 | |
| 178 | nigel | 93 | exitcode=0 |
| 179 | if as_func_success; then | ||
| 180 | : | ||
| 181 | else | ||
| 182 | exitcode=1 | ||
| 183 | echo as_func_success failed. | ||
| 184 | fi | ||
| 185 | nigel | 63 | |
| 186 | nigel | 93 | 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= | ||
| 221 | nigel | 63 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 222 | ph10 | 98 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 223 | nigel | 63 | do |
| 224 | IFS=$as_save_IFS | ||
| 225 | test -z "$as_dir" && as_dir=. | ||
| 226 | nigel | 93 | case $as_dir in |
| 227 | nigel | 63 | /*) |
| 228 | nigel | 93 | 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 | ph10 | 98 | case `(set -o) 2>/dev/null` in |
| 249 | *posix*) set -o posix ;; | ||
| 250 | esac | ||
| 251 | |||
| 252 | nigel | 93 | fi |
| 253 | |||
| 254 | ph10 | 98 | |
| 255 | nigel | 93 | : |
| 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 | ph10 | 98 | case `(set -o) 2>/dev/null` in |
| 270 | *posix*) set -o posix ;; | ||
| 271 | esac | ||
| 272 | |||
| 273 | nigel | 93 | fi |
| 274 | |||
| 275 | ph10 | 98 | |
| 276 | nigel | 93 | : |
| 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 | ( | ||
| 328 | nigel | 63 | as_lineno_1=$LINENO |
| 329 | as_lineno_2=$LINENO | ||
| 330 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
| 331 | nigel | 93 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
| 332 | nigel | 63 | |
| 333 | nigel | 93 | _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" || { | ||
| 427 | |||
| 428 | nigel | 63 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
| 429 | # uniformly replaced by the line number. The first 'sed' inserts a | ||
| 430 | nigel | 93 | # 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. | ||
| 435 | nigel | 63 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
| 436 | nigel | 93 | # 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 | | ||
| 442 | nigel | 63 | sed ' |
| 443 | nigel | 93 | s/[$]LINENO.*/&-/ |
| 444 | t lineno | ||
| 445 | b | ||
| 446 | :lineno | ||
| 447 | nigel | 63 | N |
| 448 | nigel | 93 | :loop |
| 449 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | ||
| 450 | nigel | 63 | t loop |
| 451 | nigel | 93 | s/-\n.*// |
| 452 | nigel | 63 | ' >$as_me.lineno && |
| 453 | nigel | 93 | chmod +x "$as_me.lineno" || |
| 454 | nigel | 63 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
| 455 | { (exit 1); exit 1; }; } | ||
| 456 | |||
| 457 | # Don't try to exec as it changes $[0], causing all sort of problems | ||
| 458 | # (the dirname of $[0] is not the place where we might find the | ||
| 459 | nigel | 93 | # original and so on. Autoconf is especially sensitive to this). |
| 460 | . "./$as_me.lineno" | ||
| 461 | nigel | 63 | # Exit status is that of the last command. |
| 462 | exit | ||
| 463 | } | ||
| 464 | |||
| 465 | |||
| 466 | nigel | 93 | 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';; | ||
| 481 | nigel | 63 | esac |
| 482 | |||
| 483 | nigel | 93 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 484 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
| 485 | nigel | 63 | as_expr=expr |
| 486 | else | ||
| 487 | as_expr=false | ||
| 488 | fi | ||
| 489 | |||
| 490 | rm -f conf$$ conf$$.exe conf$$.file | ||
| 491 | nigel | 93 | 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 | ||
| 497 | nigel | 63 | echo >conf$$.file |
| 498 | if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
| 499 | nigel | 93 | 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 || | ||
| 505 | nigel | 63 | as_ln_s='cp -p' |
| 506 | elif ln conf$$.file conf$$ 2>/dev/null; then | ||
| 507 | as_ln_s=ln | ||
| 508 | else | ||
| 509 | as_ln_s='cp -p' | ||
| 510 | fi | ||
| 511 | nigel | 93 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 512 | rmdir conf$$.dir 2>/dev/null | ||
| 513 | nigel | 63 | |
| 514 | if mkdir -p . 2>/dev/null; then | ||
| 515 | as_mkdir_p=: | ||
| 516 | else | ||
| 517 | nigel | 75 | test -d ./-p && rmdir ./-p |
| 518 | nigel | 63 | as_mkdir_p=false |
| 519 | fi | ||
| 520 | |||
| 521 | ph10 | 98 | if test -x / >/dev/null 2>&1; then |
| 522 | as_test_x='test -x' | ||
| 523 | nigel | 93 | else |
| 524 | ph10 | 98 | 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 | nigel | 93 | fi |
| 542 | ph10 | 98 | as_executable_p=$as_test_x |
| 543 | nigel | 63 | |
| 544 | # Sed expression to map a string onto a valid CPP name. | ||
| 545 | nigel | 75 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 546 | nigel | 63 | |
| 547 | # Sed expression to map a string onto a valid variable name. | ||
| 548 | nigel | 75 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 549 | nigel | 63 | |
| 550 | |||
| 551 | |||
| 552 | |||
| 553 | nigel | 53 | # 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 | nigel | 75 | elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then |
| 571 | nigel | 53 | # 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 | nigel | 75 | $* |
| 583 | nigel | 53 | 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 | nigel | 75 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 590 | nigel | 53 | |
| 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 | nigel | 87 | if (echo_test_string=`eval $cmd`) 2>/dev/null && |
| 597 | echo_test_string=`eval $cmd` && | ||
| 598 | nigel | 53 | (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 | nigel | 75 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
| 617 | nigel | 53 | for dir in $PATH /usr/ucb; do |
| 618 | nigel | 75 | IFS="$lt_save_ifs" |
| 619 | nigel | 53 | 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 | nigel | 75 | IFS="$lt_save_ifs" |
| 628 | nigel | 53 | |
| 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 | nigel | 75 | |
| 702 | tagnames=${tagnames+${tagnames},}CXX | ||
| 703 | |||
| 704 | tagnames=${tagnames+${tagnames},}F77 | ||
| 705 | |||
| 706 | nigel | 93 | exec 7<&0 </dev/null 6>&1 |
| 707 | |||
| 708 | nigel | 53 | # Name of the host. |
| 709 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | ||
| 710 | # so uname gets run too. | ||
| 711 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | ||
| 712 | |||
| 713 | # | ||
| 714 | # Initializations. | ||
| 715 | # | ||
| 716 | nigel | 41 | ac_default_prefix=/usr/local |
| 717 | nigel | 93 | ac_clean_files= |
| 718 | nigel | 63 | ac_config_libobj_dir=. |
| 719 | nigel | 93 | LIBOBJS= |
| 720 | nigel | 53 | cross_compiling=no |
| 721 | subdirs= | ||
| 722 | nigel | 63 | MFLAGS= |
| 723 | MAKEFLAGS= | ||
| 724 | nigel | 53 | SHELL=${CONFIG_SHELL-/bin/sh} |
| 725 | nigel | 41 | |
| 726 | nigel | 63 | # Identity of this package. |
| 727 | ph10 | 98 | PACKAGE_NAME='PCRE' |
| 728 | PACKAGE_TARNAME='pcre' | ||
| 729 | ph10 | 126 | PACKAGE_VERSION='7.1-RC2' |
| 730 | PACKAGE_STRING='PCRE 7.1-RC2' | ||
| 731 | ph10 | 98 | PACKAGE_BUGREPORT='' |
| 732 | nigel | 53 | |
| 733 | ph10 | 98 | ac_unique_file="pcre.h.in" |
| 734 | nigel | 53 | # Factoring default headers for most tests. |
| 735 | ac_includes_default="\ | ||
| 736 | #include <stdio.h> | ||
| 737 | ph10 | 98 | #ifdef HAVE_SYS_TYPES_H |
| 738 | nigel | 63 | # include <sys/types.h> |
| 739 | #endif | ||
| 740 | ph10 | 98 | #ifdef HAVE_SYS_STAT_H |
| 741 | nigel | 63 | # include <sys/stat.h> |
| 742 | #endif | ||
| 743 | ph10 | 98 | #ifdef STDC_HEADERS |
| 744 | nigel | 53 | # include <stdlib.h> |
| 745 | # include <stddef.h> | ||
| 746 | #else | ||
| 747 | ph10 | 98 | # ifdef HAVE_STDLIB_H |
| 748 | nigel | 53 | # include <stdlib.h> |
| 749 | # endif | ||
| 750 | #endif | ||
| 751 | ph10 | 98 | #ifdef HAVE_STRING_H |
| 752 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | ||
| 753 | nigel | 53 | # include <memory.h> |
| 754 | # endif | ||
| 755 | # include <string.h> | ||
| 756 | #endif | ||
| 757 | ph10 | 98 | #ifdef HAVE_STRINGS_H |
| 758 | nigel | 63 | # include <strings.h> |
| 759 | #endif | ||
| 760 | ph10 | 98 | #ifdef HAVE_INTTYPES_H |
| 761 | nigel | 53 | # include <inttypes.h> |
| 762 | #endif | ||
| 763 | ph10 | 98 | #ifdef HAVE_STDINT_H |
| 764 | nigel | 93 | # include <stdint.h> |
| 765 | #endif | ||
| 766 | ph10 | 98 | #ifdef HAVE_UNISTD_H |
| 767 | nigel | 53 | # include <unistd.h> |
| 768 | #endif" | ||
| 769 | |||
| 770 | nigel | 93 | 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 | ph10 | 98 | INSTALL_PROGRAM |
| 808 | INSTALL_SCRIPT | ||
| 809 | INSTALL_DATA | ||
| 810 | am__isrc | ||
| 811 | CYGPATH_W | ||
| 812 | PACKAGE | ||
| 813 | VERSION | ||
| 814 | ACLOCAL | ||
| 815 | AUTOCONF | ||
| 816 | AUTOMAKE | ||
| 817 | AUTOHEADER | ||
| 818 | MAKEINFO | ||
| 819 | install_sh | ||
| 820 | STRIP | ||
| 821 | INSTALL_STRIP_PROGRAM | ||
| 822 | mkdir_p | ||
| 823 | AWK | ||
| 824 | SET_MAKE | ||
| 825 | am__leading_dot | ||
| 826 | AMTAR | ||
| 827 | am__tar | ||
| 828 | am__untar | ||
| 829 | nigel | 93 | CC |
| 830 | CFLAGS | ||
| 831 | LDFLAGS | ||
| 832 | CPPFLAGS | ||
| 833 | ac_ct_CC | ||
| 834 | EXEEXT | ||
| 835 | OBJEXT | ||
| 836 | ph10 | 98 | DEPDIR |
| 837 | am__include | ||
| 838 | am__quote | ||
| 839 | AMDEP_TRUE | ||
| 840 | AMDEP_FALSE | ||
| 841 | AMDEPBACKSLASH | ||
| 842 | CCDEPMODE | ||
| 843 | am__fastdepCC_TRUE | ||
| 844 | am__fastdepCC_FALSE | ||
| 845 | nigel | 93 | CXX |
| 846 | CXXFLAGS | ||
| 847 | ac_ct_CXX | ||
| 848 | ph10 | 98 | CXXDEPMODE |
| 849 | am__fastdepCXX_TRUE | ||
| 850 | am__fastdepCXX_FALSE | ||
| 851 | nigel | 93 | build |
| 852 | build_cpu | ||
| 853 | build_vendor | ||
| 854 | build_os | ||
| 855 | host | ||
| 856 | host_cpu | ||
| 857 | host_vendor | ||
| 858 | host_os | ||
| 859 | GREP | ||
| 860 | EGREP | ||
| 861 | LN_S | ||
| 862 | ECHO | ||
| 863 | AR | ||
| 864 | RANLIB | ||
| 865 | DLLTOOL | ||
| 866 | AS | ||
| 867 | OBJDUMP | ||
| 868 | CPP | ||
| 869 | CXXCPP | ||
| 870 | F77 | ||
| 871 | FFLAGS | ||
| 872 | ac_ct_F77 | ||
| 873 | LIBTOOL | ||
| 874 | ph10 | 98 | PCRE_MAJOR |
| 875 | PCRE_MINOR | ||
| 876 | PCRE_PRERELEASE | ||
| 877 | PCRE_DATE | ||
| 878 | pcre_have_type_traits | ||
| 879 | nigel | 93 | pcre_have_bits_type_traits |
| 880 | ph10 | 98 | WITH_PCRE_CPP_TRUE |
| 881 | WITH_PCRE_CPP_FALSE | ||
| 882 | ph10 | 128 | WITH_REBUILD_CHARTABLES_TRUE |
| 883 | WITH_REBUILD_CHARTABLES_FALSE | ||
| 884 | nigel | 93 | pcre_have_long_long |
| 885 | pcre_have_ulong_long | ||
| 886 | ph10 | 98 | EXTRA_LIBPCRE_LDFLAGS |
| 887 | EXTRA_LIBPCREPOSIX_LDFLAGS | ||
| 888 | EXTRA_LIBPCRECPP_LDFLAGS | ||
| 889 | DISTCHECK_CONFIGURE_FLAGS | ||
| 890 | nigel | 93 | LIBOBJS |
| 891 | LTLIBOBJS' | ||
| 892 | nigel | 63 | ac_subst_files='' |
| 893 | nigel | 93 | ac_precious_vars='build_alias |
| 894 | host_alias | ||
| 895 | target_alias | ||
| 896 | CC | ||
| 897 | CFLAGS | ||
| 898 | LDFLAGS | ||
| 899 | ph10 | 98 | LIBS |
| 900 | nigel | 93 | CPPFLAGS |
| 901 | CXX | ||
| 902 | CXXFLAGS | ||
| 903 | CCC | ||
| 904 | CPP | ||
| 905 | CXXCPP | ||
| 906 | F77 | ||
| 907 | FFLAGS' | ||
| 908 | nigel | 63 | |
| 909 | nigel | 93 | |
| 910 | nigel | 41 | # Initialize some variables set by options. |
| 911 | nigel | 53 | ac_init_help= |
| 912 | ac_init_version=false | ||
| 913 | nigel | 41 | # The variables have the same names as the options, with |
| 914 | # dashes changed to underlines. | ||
| 915 | nigel | 53 | cache_file=/dev/null |
| 916 | nigel | 41 | exec_prefix=NONE |
| 917 | no_create= | ||
| 918 | no_recursion= | ||
| 919 | prefix=NONE | ||
| 920 | program_prefix=NONE | ||
| 921 | program_suffix=NONE | ||
| 922 | program_transform_name=s,x,x, | ||
| 923 | silent= | ||
| 924 | site= | ||
| 925 | srcdir= | ||
| 926 | verbose= | ||
| 927 | x_includes=NONE | ||
| 928 | x_libraries=NONE | ||
| 929 | nigel | 53 | |
| 930 | # Installation directory options. | ||
| 931 | # These are left unexpanded so users can "make install exec_prefix=/foo" | ||
| 932 | # and all the variables that are supposed to be based on exec_prefix | ||
| 933 | # by default will actually change. | ||
| 934 | # Use braces instead of parens because sh, perl, etc. also accept them. | ||
| 935 | nigel | 93 | # (The list follows the same order as the GNU Coding Standards.) |
| 936 | nigel | 41 | bindir='${exec_prefix}/bin' |
| 937 | sbindir='${exec_prefix}/sbin' | ||
| 938 | libexecdir='${exec_prefix}/libexec' | ||
| 939 | nigel | 93 | datarootdir='${prefix}/share' |
| 940 | datadir='${datarootdir}' | ||
| 941 | nigel | 41 | sysconfdir='${prefix}/etc' |
| 942 | sharedstatedir='${prefix}/com' | ||
| 943 | localstatedir='${prefix}/var' | ||
| 944 | includedir='${prefix}/include' | ||
| 945 | oldincludedir='/usr/include' | ||
| 946 | ph10 | 98 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
| 947 | nigel | 93 | infodir='${datarootdir}/info' |
| 948 | htmldir='${docdir}' | ||
| 949 | dvidir='${docdir}' | ||
| 950 | pdfdir='${docdir}' | ||
| 951 | psdir='${docdir}' | ||
| 952 | libdir='${exec_prefix}/lib' | ||
| 953 | localedir='${datarootdir}/locale' | ||
| 954 | mandir='${datarootdir}/man' | ||
| 955 | nigel | 41 | |
| 956 | ac_prev= | ||
| 957 | nigel | 93 | ac_dashdash= |
| 958 | nigel | 41 | for ac_option |
| 959 | do | ||
| 960 | # If the previous option needs an argument, assign it. | ||
| 961 | if test -n "$ac_prev"; then | ||
| 962 | nigel | 93 | eval $ac_prev=\$ac_option |
| 963 | nigel | 41 | ac_prev= |
| 964 | continue | ||
| 965 | fi | ||
| 966 | |||
| 967 | nigel | 93 | case $ac_option in |
| 968 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | ||
| 969 | *) ac_optarg=yes ;; | ||
| 970 | esac | ||
| 971 | nigel | 41 | |
| 972 | # Accept the important Cygnus configure options, so we can diagnose typos. | ||
| 973 | |||
| 974 | nigel | 93 | case $ac_dashdash$ac_option in |
| 975 | --) | ||
| 976 | ac_dashdash=yes ;; | ||
| 977 | nigel | 41 | |
| 978 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | ||
| 979 | ac_prev=bindir ;; | ||
| 980 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | ||
| 981 | nigel | 53 | bindir=$ac_optarg ;; |
| 982 | nigel | 41 | |
| 983 | -build | --build | --buil | --bui | --bu) | ||
| 984 | nigel | 53 | ac_prev=build_alias ;; |
| 985 | nigel | 41 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
| 986 | nigel | 53 | build_alias=$ac_optarg ;; |
| 987 | nigel | 41 | |
| 988 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | ||
| 989 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | ||
| 990 | ac_prev=cache_file ;; | ||
| 991 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | ||
| 992 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | ||
| 993 | nigel | 53 | cache_file=$ac_optarg ;; |
| 994 | nigel | 41 | |
| 995 | nigel | 53 | --config-cache | -C) |
| 996 | cache_file=config.cache ;; | ||
| 997 | |||
| 998 | nigel | 93 | -datadir | --datadir | --datadi | --datad) |
| 999 | nigel | 41 | ac_prev=datadir ;; |
| 1000 | nigel | 93 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
| 1001 | nigel | 53 | datadir=$ac_optarg ;; |
| 1002 | nigel | 41 | |
| 1003 | nigel | 93 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
| 1004 | | --dataroo | --dataro | --datar) | ||
| 1005 | ac_prev=datarootdir ;; | ||
| 1006 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | ||
| 1007 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | ||
| 1008 | datarootdir=$ac_optarg ;; | ||
| 1009 | |||
| 1010 | nigel | 41 | -disable-* | --disable-*) |
| 1011 | nigel | 53 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 1012 | nigel | 41 | # Reject names that are not valid shell variable names. |
| 1013 | ph10 | 98 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1014 | nigel | 53 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
| 1015 | { (exit 1); exit 1; }; } | ||
| 1016 | ph10 | 98 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
| 1017 | nigel | 93 | eval enable_$ac_feature=no ;; |
| 1018 | nigel | 41 | |
| 1019 | nigel | 93 | -docdir | --docdir | --docdi | --doc | --do) |
| 1020 | ac_prev=docdir ;; | ||
| 1021 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | ||
| 1022 | docdir=$ac_optarg ;; | ||
| 1023 | |||
| 1024 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | ||
| 1025 | ac_prev=dvidir ;; | ||
| 1026 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | ||
| 1027 | dvidir=$ac_optarg ;; | ||
| 1028 | |||
| 1029 | nigel | 41 | -enable-* | --enable-*) |
| 1030 | nigel | 53 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 1031 | nigel | 41 | # Reject names that are not valid shell variable names. |
| 1032 | ph10 | 98 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1033 | nigel | 53 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
| 1034 | { (exit 1); exit 1; }; } | ||
| 1035 | ph10 | 98 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
| 1036 | nigel | 93 | eval enable_$ac_feature=\$ac_optarg ;; |
| 1037 | nigel | 41 | |
| 1038 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | ||
| 1039 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | ||
| 1040 | | --exec | --exe | --ex) | ||
| 1041 | ac_prev=exec_prefix ;; | ||
| 1042 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | ||
| 1043 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | ||
| 1044 | | --exec=* | --exe=* | --ex=*) | ||
| 1045 | nigel | 53 | exec_prefix=$ac_optarg ;; |
| 1046 | nigel | 41 | |
| 1047 | -gas | --gas | --ga | --g) | ||
| 1048 | # Obsolete; use --with-gas. | ||
| 1049 | with_gas=yes ;; | ||
| 1050 | |||
| 1051 | nigel | 53 | -help | --help | --hel | --he | -h) |
| 1052 | ac_init_help=long ;; | ||
| 1053 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | ||
| 1054 | ac_init_help=recursive ;; | ||
| 1055 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | ||
| 1056 | ac_init_help=short ;; | ||
| 1057 | nigel | 41 | |
| 1058 | -host | --host | --hos | --ho) | ||
| 1059 | nigel | 53 | ac_prev=host_alias ;; |
| 1060 | nigel | 41 | -host=* | --host=* | --hos=* | --ho=*) |
| 1061 | nigel | 53 | host_alias=$ac_optarg ;; |
| 1062 | nigel | 41 | |
| 1063 | nigel | 93 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
| 1064 | ac_prev=htmldir ;; | ||
| 1065 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | ||
| 1066 | | --ht=*) | ||
| 1067 | htmldir=$ac_optarg ;; | ||
| 1068 | |||
| 1069 | nigel | 41 | -includedir | --includedir | --includedi | --included | --include \ |
| 1070 | | --includ | --inclu | --incl | --inc) | ||
| 1071 | ac_prev=includedir ;; | ||
| 1072 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | ||
| 1073 | | --includ=* | --inclu=* | --incl=* | --inc=*) | ||
| 1074 | nigel | 53 | includedir=$ac_optarg ;; |
| 1075 | nigel | 41 | |
| 1076 | -infodir | --infodir | --infodi | --infod | --info | --inf) | ||
| 1077 | ac_prev=infodir ;; | ||
| 1078 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | ||
| 1079 | nigel | 53 | infodir=$ac_optarg ;; |
| 1080 | nigel | 41 | |
| 1081 | -libdir | --libdir | --libdi | --libd) | ||
| 1082 | ac_prev=libdir ;; | ||
| 1083 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | ||
| 1084 | nigel | 53 | libdir=$ac_optarg ;; |
| 1085 | nigel | 41 | |
| 1086 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | ||
| 1087 | | --libexe | --libex | --libe) | ||
| 1088 | ac_prev=libexecdir ;; | ||
| 1089 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | ||
| 1090 | | --libexe=* | --libex=* | --libe=*) | ||
| 1091 | nigel | 53 | libexecdir=$ac_optarg ;; |
| 1092 | nigel | 41 | |
| 1093 | nigel | 93 | -localedir | --localedir | --localedi | --localed | --locale) |
| 1094 | ac_prev=localedir ;; | ||
| 1095 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | ||
| 1096 | localedir=$ac_optarg ;; | ||
| 1097 | |||
| 1098 | nigel | 41 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
| 1099 | nigel | 93 | | --localstate | --localstat | --localsta | --localst | --locals) |
| 1100 | nigel | 41 | ac_prev=localstatedir ;; |
| 1101 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | ||
| 1102 | nigel | 93 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
| 1103 | nigel | 53 | localstatedir=$ac_optarg ;; |
| 1104 | nigel | 41 | |
| 1105 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | ||
| 1106 | ac_prev=mandir ;; | ||
| 1107 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | ||
| 1108 | nigel | 53 | mandir=$ac_optarg ;; |
| 1109 | nigel | 41 | |
| 1110 | -nfp | --nfp | --nf) | ||
| 1111 | # Obsolete; use --without-fp. | ||
| 1112 | with_fp=no ;; | ||
| 1113 | |||
| 1114 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | ||
| 1115 | nigel | 63 | | --no-cr | --no-c | -n) |
| 1116 | nigel | 41 | no_create=yes ;; |
| 1117 | |||
| 1118 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | ||
| 1119 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | ||
| 1120 | no_recursion=yes ;; | ||
| 1121 | |||
| 1122 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | ||
| 1123 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | ||
| 1124 | | --oldin | --oldi | --old | --ol | --o) | ||
| 1125 | ac_prev=oldincludedir ;; | ||
| 1126 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | ||
| 1127 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | ||
| 1128 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | ||
| 1129 | nigel | 53 | oldincludedir=$ac_optarg ;; |
| 1130 | nigel | 41 | |
| 1131 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | ||
| 1132 | ac_prev=prefix ;; | ||
| 1133 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | ||
| 1134 | nigel | 53 | prefix=$ac_optarg ;; |
| 1135 | nigel | 41 | |
| 1136 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | ||
| 1137 | | --program-pre | --program-pr | --program-p) | ||
| 1138 | ac_prev=program_prefix ;; | ||
| 1139 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | ||
| 1140 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | ||
| 1141 | nigel | 53 | program_prefix=$ac_optarg ;; |
| 1142 | nigel | 41 | |
| 1143 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | ||
| 1144 | | --program-suf | --program-su | --program-s) | ||
| 1145 | ac_prev=program_suffix ;; | ||
| 1146 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | ||
| 1147 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | ||
| 1148 | nigel | 53 | program_suffix=$ac_optarg ;; |
| 1149 | nigel | 41 | |
| 1150 | -program-transform-name | --program-transform-name \ | ||
| 1151 | | --program-transform-nam | --program-transform-na \ | ||
| 1152 | | --program-transform-n | --program-transform- \ | ||
| 1153 | | --program-transform | --program-transfor \ | ||
| 1154 | | --program-transfo | --program-transf \ | ||
| 1155 | | --program-trans | --program-tran \ | ||
| 1156 | | --progr-tra | --program-tr | --program-t) | ||
| 1157 | ac_prev=program_transform_name ;; | ||
| 1158 | -program-transform-name=* | --program-transform-name=* \ | ||
| 1159 | | --program-transform-nam=* | --program-transform-na=* \ | ||
| 1160 | | --program-transform-n=* | --program-transform-=* \ | ||
| 1161 | | --program-transform=* | --program-transfor=* \ | ||
| 1162 | | --program-transfo=* | --program-transf=* \ | ||
| 1163 | | --program-trans=* | --program-tran=* \ | ||
| 1164 | | --progr-tra=* | --program-tr=* | --program-t=*) | ||
| 1165 | nigel | 53 | program_transform_name=$ac_optarg ;; |
| 1166 | nigel | 41 | |
| 1167 | nigel | 93 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
| 1168 | ac_prev=pdfdir ;; | ||
| 1169 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | ||
| 1170 | pdfdir=$ac_optarg ;; | ||
| 1171 | |||
| 1172 | -psdir | --psdir | --psdi | --psd | --ps) | ||
| 1173 | ac_prev=psdir ;; | ||
| 1174 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | ||
| 1175 | psdir=$ac_optarg ;; | ||
| 1176 | |||
| 1177 | nigel | 41 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1178 | | -silent | --silent | --silen | --sile | --sil) | ||
| 1179 | silent=yes ;; | ||
| 1180 | |||
| 1181 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | ||
| 1182 | ac_prev=sbindir ;; | ||
| 1183 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | ||
| 1184 | | --sbi=* | --sb=*) | ||
| 1185 | nigel | 53 | sbindir=$ac_optarg ;; |
| 1186 | nigel | 41 | |
| 1187 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | ||
| 1188 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | ||
| 1189 | | --sharedst | --shareds | --shared | --share | --shar \ | ||
| 1190 | | --sha | --sh) | ||
| 1191 | ac_prev=sharedstatedir ;; | ||
| 1192 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | ||
| 1193 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | ||
| 1194 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | ||
| 1195 | | --sha=* | --sh=*) | ||
| 1196 | nigel | 53 | sharedstatedir=$ac_optarg ;; |
| 1197 | nigel | 41 | |
| 1198 | -site | --site | --sit) | ||
| 1199 | ac_prev=site ;; | ||
| 1200 | -site=* | --site=* | --sit=*) | ||
| 1201 | nigel | 53 | site=$ac_optarg ;; |
| 1202 | nigel | 41 | |
| 1203 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | ||
| 1204 | ac_prev=srcdir ;; | ||
| 1205 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | ||
| 1206 | nigel | 53 | srcdir=$ac_optarg ;; |
| 1207 | nigel | 41 | |
| 1208 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | ||
| 1209 | | --syscon | --sysco | --sysc | --sys | --sy) | ||
| 1210 | ac_prev=sysconfdir ;; | ||
| 1211 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | ||
| 1212 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | ||
| 1213 | nigel | 53 | sysconfdir=$ac_optarg ;; |
| 1214 | nigel | 41 | |
| 1215 | -target | --target | --targe | --targ | --tar | --ta | --t) | ||
| 1216 | nigel | 53 | ac_prev=target_alias ;; |
| 1217 | nigel | 41 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
| 1218 | nigel | 53 | target_alias=$ac_optarg ;; |
| 1219 | nigel | 41 | |
| 1220 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | ||
| 1221 | verbose=yes ;; | ||
| 1222 | |||
| 1223 | nigel | 53 | -version | --version | --versio | --versi | --vers | -V) |
| 1224 | ac_init_version=: ;; | ||
| 1225 | nigel | 41 | |
| 1226 | -with-* | --with-*) | ||
| 1227 | nigel | 53 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1228 | nigel | 41 | # Reject names that are not valid shell variable names. |
| 1229 | ph10 | 98 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1230 | nigel | 53 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
| 1231 | { (exit 1); exit 1; }; } | ||
| 1232 | ph10 | 98 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
| 1233 | nigel | 93 | eval with_$ac_package=\$ac_optarg ;; |
| 1234 | nigel | 41 | |
| 1235 | -without-* | --without-*) | ||
| 1236 | nigel | 53 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 1237 | nigel | 41 | # Reject names that are not valid shell variable names. |
| 1238 | ph10 | 98 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1239 | nigel | 53 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
| 1240 | { (exit 1); exit 1; }; } | ||
| 1241 | ph10 | 98 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
| 1242 | nigel | 93 | eval with_$ac_package=no ;; |
| 1243 | nigel | 41 | |
| 1244 | --x) | ||
| 1245 | # Obsolete; use --with-x. | ||
| 1246 | with_x=yes ;; | ||
| 1247 | |||
| 1248 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | ||
| 1249 | | --x-incl | --x-inc | --x-in | --x-i) | ||
| 1250 | ac_prev=x_includes ;; | ||
| 1251 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | ||
| 1252 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | ||
| 1253 | nigel | 53 | x_includes=$ac_optarg ;; |
| 1254 | nigel | 41 | |
| 1255 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | ||
| 1256 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | ||
| 1257 | ac_prev=x_libraries ;; | ||
| 1258 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | ||
| 1259 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | ||
| 1260 | nigel | 53 | x_libraries=$ac_optarg ;; |
| 1261 | nigel | 41 | |
| 1262 | nigel | 53 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
| 1263 | Try \`$0 --help' for more information." >&2 | ||
| 1264 | { (exit 1); exit 1; }; } | ||
| 1265 | nigel | 41 | ;; |
| 1266 | |||
| 1267 | nigel | 53 | *=*) |
| 1268 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | ||
| 1269 | # Reject names that are not valid shell variable names. | ||
| 1270 | nigel | 63 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
| 1271 | nigel | 53 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
| 1272 | { (exit 1); exit 1; }; } | ||
| 1273 | nigel | 93 | eval $ac_envvar=\$ac_optarg |
| 1274 | nigel | 53 | export $ac_envvar ;; |
| 1275 | |||
| 1276 | nigel | 41 | *) |
| 1277 | nigel | 53 | # FIXME: should be removed in autoconf 3.0. |
| 1278 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | ||
| 1279 | nigel | 63 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1280 | nigel | 53 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 1281 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | ||
| 1282 | nigel | 41 | ;; |
| 1283 | |||
| 1284 | esac | ||
| 1285 | done | ||
| 1286 | |||
| 1287 | if test -n "$ac_prev"; then | ||
| 1288 | nigel | 53 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 1289 | { echo "$as_me: error: missing argument to $ac_option" >&2 | ||
| 1290 | { (exit 1); exit 1; }; } | ||
| 1291 | nigel | 41 | fi |
| 1292 | |||
| 1293 | nigel | 93 | # Be sure to have absolute directory names. |
| 1294 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | ||
| 1295 | datadir sysconfdir sharedstatedir localstatedir includedir \ | ||
| 1296 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | ||
| 1297 | libdir localedir mandir | ||
| 1298 | nigel | 63 | do |
| 1299 | nigel | 93 | eval ac_val=\$$ac_var |
| 1300 | nigel | 63 | case $ac_val in |
| 1301 | nigel | 93 | [\\/$]* | ?:[\\/]* ) continue;; |
| 1302 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | ||
| 1303 | nigel | 63 | esac |
| 1304 | nigel | 93 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
| 1305 | { (exit 1); exit 1; }; } | ||
| 1306 | nigel | 63 | done |
| 1307 | |||
| 1308 | nigel | 53 | # There might be people who depend on the old broken behavior: `$host' |
| 1309 | # used to hold the argument of --host etc. | ||
| 1310 | nigel | 63 | # FIXME: To remove some day. |
| 1311 | nigel | 53 | build=$build_alias |
| 1312 | host=$host_alias | ||
| 1313 | target=$target_alias | ||
| 1314 | nigel | 41 | |
| 1315 | nigel | 63 | # FIXME: To remove some day. |
| 1316 | nigel | 53 | if test "x$host_alias" != x; then |
| 1317 | if test "x$build_alias" = x; then | ||
| 1318 | cross_compiling=maybe | ||
| 1319 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | ||
| 1320 | If a cross compiler is detected then cross compile mode will be used." >&2 | ||
| 1321 | elif test "x$build_alias" != "x$host_alias"; then | ||
| 1322 | cross_compiling=yes | ||
| 1323 | fi | ||
| 1324 | fi | ||
| 1325 | nigel | 41 | |
| 1326 | nigel | 53 | ac_tool_prefix= |
| 1327 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | ||
| 1328 | nigel | 41 | |
| 1329 | nigel | 53 | test "$silent" = yes && exec 6>/dev/null |
| 1330 | |||
| 1331 | nigel | 63 | |
| 1332 | nigel | 93 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 1333 | ac_ls_di=`ls -di .` && | ||
| 1334 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | ||
| 1335 | { echo "$as_me: error: Working directory cannot be determined" >&2 | ||
| 1336 | { (exit 1); exit 1; }; } | ||
| 1337 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | ||
| 1338 | { echo "$as_me: error: pwd does not report name of working directory" >&2 | ||
| 1339 | { (exit 1); exit 1; }; } | ||
| 1340 | |||
| 1341 | |||
| 1342 | nigel | 41 | # Find the source files, if location was not specified. |
| 1343 | if test -z "$srcdir"; then | ||
| 1344 | ac_srcdir_defaulted=yes | ||
| 1345 | nigel | 93 | # Try the directory containing this script, then the parent directory. |
| 1346 | ac_confdir=`$as_dirname -- "$0" || | ||
| 1347 | nigel | 63 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 1348 | nigel | 75 | X"$0" : 'X\(//\)[^/]' \| \ |
| 1349 | X"$0" : 'X\(//\)$' \| \ | ||
| 1350 | nigel | 93 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 1351 | nigel | 63 | echo X"$0" | |
| 1352 | nigel | 93 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 1353 | s//\1/ | ||
| 1354 | q | ||
| 1355 | } | ||
| 1356 | /^X\(\/\/\)[^/].*/{ | ||
| 1357 | s//\1/ | ||
| 1358 | q | ||
| 1359 | } | ||
| 1360 | /^X\(\/\/\)$/{ | ||
| 1361 | s//\1/ | ||
| 1362 | q | ||
| 1363 | } | ||
| 1364 | /^X\(\/\).*/{ | ||
| 1365 | s//\1/ | ||
| 1366 | q | ||
| 1367 | } | ||
| 1368 | s/.*/./; q'` | ||
| 1369 | nigel | 41 | srcdir=$ac_confdir |
| 1370 | nigel | 91 | if test ! -r "$srcdir/$ac_unique_file"; then |
| 1371 | nigel | 41 | srcdir=.. |
| 1372 | fi | ||
| 1373 | else | ||
| 1374 | ac_srcdir_defaulted=no | ||
| 1375 | fi | ||
| 1376 | nigel | 91 | if test ! -r "$srcdir/$ac_unique_file"; then |
| 1377 | nigel | 93 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1378 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | ||
| 1379 | nigel | 53 | { (exit 1); exit 1; }; } |
| 1380 | nigel | 93 | fi |
| 1381 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | ||
| 1382 | ac_abs_confdir=`( | ||
| 1383 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 | ||
| 1384 | nigel | 53 | { (exit 1); exit 1; }; } |
| 1385 | nigel | 93 | pwd)` |
| 1386 | # When building in place, set srcdir=. | ||
| 1387 | if test "$ac_abs_confdir" = "$ac_pwd"; then | ||
| 1388 | srcdir=. | ||
| 1389 | nigel | 41 | fi |
| 1390 | nigel | 93 | # Remove unnecessary trailing slashes from srcdir. |
| 1391 | # Double slashes in file names in object file debugging info | ||
| 1392 | # mess up M-x gdb in Emacs. | ||
| 1393 | case $srcdir in | ||
| 1394 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | ||
| 1395 | esac | ||
| 1396 | for ac_var in $ac_precious_vars; do | ||
| 1397 | eval ac_env_${ac_var}_set=\${${ac_var}+set} | ||
| 1398 | eval ac_env_${ac_var}_value=\$${ac_var} | ||
| 1399 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | ||
| 1400 | eval ac_cv_env_${ac_var}_value=\$${ac_var} | ||
| 1401 | done | ||
| 1402 | nigel | 41 | |
| 1403 | nigel | 53 | # |
| 1404 | # Report the --help message. | ||
| 1405 | # | ||
| 1406 | if test "$ac_init_help" = "long"; then | ||
| 1407 | # Omit some internal or obsolete options to make the list less imposing. | ||
| 1408 | # This message is too long to be a string in the A/UX 3.1 sh. | ||
| 1409 | nigel | 63 | cat <<_ACEOF |
| 1410 | ph10 | 126 | \`configure' configures PCRE 7.1-RC2 to adapt to many kinds of systems. |
| 1411 | nigel | 53 | |
| 1412 | Usage: $0 [OPTION]... [VAR=VALUE]... | ||
| 1413 | |||
| 1414 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | ||
| 1415 | VAR=VALUE. See below for descriptions of some of the useful variables. | ||
| 1416 | |||
| 1417 | Defaults for the options are specified in brackets. | ||
| 1418 | |||
| 1419 | Configuration: | ||
| 1420 | -h, --help display this help and exit | ||
| 1421 | --help=short display options specific to this package | ||
| 1422 | --help=recursive display the short help of all the included packages | ||
| 1423 | -V, --version display version information and exit | ||
| 1424 | -q, --quiet, --silent do not print \`checking...' messages | ||
| 1425 | --cache-file=FILE cache test results in FILE [disabled] | ||
| 1426 | -C, --config-cache alias for \`--cache-file=config.cache' | ||
| 1427 | -n, --no-create do not create output files | ||
| 1428 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | ||
| 1429 | |||
| 1430 | Installation directories: | ||
| 1431 | --prefix=PREFIX install architecture-independent files in PREFIX | ||
| 1432 | nigel | 75 | [$ac_default_prefix] |
| 1433 | nigel | 53 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
| 1434 | nigel | 75 | [PREFIX] |
| 1435 | nigel | 53 | |
| 1436 | By default, \`make install' will install all the files in | ||
| 1437 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | ||
| 1438 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | ||
| 1439 | for instance \`--prefix=\$HOME'. | ||
| 1440 | |||
| 1441 | For better control, use the options below. | ||
| 1442 | |||
| 1443 | Fine tuning of the installation directories: | ||
| 1444 | --bindir=DIR user executables [EPREFIX/bin] | ||
| 1445 | nigel | 77 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
| 1446 | --libexecdir=DIR program executables [EPREFIX/libexec] | ||
| 1447 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | ||
| 1448 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | ||
| 1449 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | ||
| 1450 | nigel | 53 | --libdir=DIR object code libraries [EPREFIX/lib] |
| 1451 | --includedir=DIR C header files [PREFIX/include] | ||
| 1452 | nigel | 77 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
| 1453 | nigel | 93 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
| 1454 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | ||
| 1455 | --infodir=DIR info documentation [DATAROOTDIR/info] | ||
| 1456 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | ||
| 1457 | --mandir=DIR man documentation [DATAROOTDIR/man] | ||
| 1458 | ph10 | 98 | --docdir=DIR documentation root [DATAROOTDIR/doc/pcre] |
| 1459 | nigel | 93 | --htmldir=DIR html documentation [DOCDIR] |
| 1460 | --dvidir=DIR dvi documentation [DOCDIR] | ||
| 1461 | --pdfdir=DIR pdf documentation [DOCDIR] | ||
| 1462 | --psdir=DIR ps documentation [DOCDIR] | ||
| 1463 | nigel | 63 | _ACEOF |
| 1464 | nigel | 53 | |
| 1465 | nigel | 63 | cat <<\_ACEOF |
| 1466 | nigel | 53 | |
| 1467 | ph10 | 98 | Program names: |
| 1468 | --program-prefix=PREFIX prepend PREFIX to installed program names | ||
| 1469 | --program-suffix=SUFFIX append SUFFIX to installed program names | ||
| 1470 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names | ||
| 1471 | |||
| 1472 | nigel | 77 | System types: |
| 1473 | --build=BUILD configure for building on BUILD [guessed] | ||
| 1474 | --host=HOST cross-compile to build programs to run on HOST [BUILD] | ||
| 1475 | nigel | 63 | _ACEOF |
| 1476 | nigel | 53 | fi |
| 1477 | |||
| 1478 | if test -n "$ac_init_help"; then | ||
| 1479 | ph10 | 98 | case $ac_init_help in |
| 1480 | ph10 | 126 | short | recursive ) echo "Configuration of PCRE 7.1-RC2:";; |
| 1481 | ph10 | 98 | esac |
| 1482 | nigel | 63 | cat <<\_ACEOF |
| 1483 | nigel | 53 | |
| 1484 | Optional Features: | ||
| 1485 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | ||
| 1486 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | ||
| 1487 | ph10 | 98 | --disable-dependency-tracking speeds up one-time build |
| 1488 | --enable-dependency-tracking do not reject slow dependency extractors | ||
| 1489 | nigel | 93 | --enable-shared[=PKGS] build shared libraries [default=yes] |
| 1490 | --enable-static[=PKGS] build static libraries [default=yes] | ||
| 1491 | nigel | 77 | --enable-fast-install[=PKGS] |
| 1492 | nigel | 75 | optimize for fast installation [default=yes] |
| 1493 | nigel | 53 | --disable-libtool-lock avoid locking (might break parallel builds) |
| 1494 | ph10 | 98 | --disable-cpp disable C++ support |
| 1495 | ph10 | 128 | --enable-rebuild-chartables |
| 1496 | rebuild character tables in current locale | ||
| 1497 | ph10 | 98 | --enable-utf8 enable UTF-8 support |
| 1498 | --enable-unicode-properties | ||
| 1499 | enable Unicode properties support (implies | ||
| 1500 | --enable-utf8) | ||
| 1501 | --enable-newline-is-cr use CR as newline character | ||
| 1502 | --enable-newline-is-lf use LF as newline character (default) | ||
| 1503 | --enable-newline-is-crlf | ||
| 1504 | use CRLF as newline sequence | ||
| 1505 | --enable-newline-is-any use any valid Unicode newline sequence | ||
| 1506 | ph10 | 128 | --enable-ebcdic assume EBCDIC coding rather than ASCII (implies |
| 1507 | --enable-rebuild-chartables) | ||
| 1508 | ph10 | 98 | --disable-stack-for-recursion |
| 1509 | don't use stack recursion when matching | ||
| 1510 | nigel | 53 | |
| 1511 | Optional Packages: | ||
| 1512 | nigel | 77 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1513 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | ||
| 1514 | nigel | 75 | --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
| 1515 | --with-pic try to use only PIC/non-PIC objects [default=use | ||
| 1516 | both] | ||
| 1517 | nigel | 93 | --with-tags[=TAGS] include additional configurations [automatic] |
| 1518 | ph10 | 98 | --with-posix-malloc-threshold=NBYTES |
| 1519 | threshold for POSIX malloc usage (default=10) | ||
| 1520 | --with-link-size=N internal link size (2, 3, or 4 allowed; default=2) | ||
| 1521 | --with-match-limit=N default limit on internal looping (default=10000000) | ||
| 1522 | --with-match-limit-recursion=N | ||
| 1523 | default limit on internal recursion | ||
| 1524 | (default=MATCH_LIMIT) | ||
| 1525 | nigel | 53 | |
| 1526 | Some influential environment variables: | ||
| 1527 | CC C compiler command | ||
| 1528 | CFLAGS C compiler flags | ||
| 1529 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | ||
| 1530 | nonstandard directory <lib dir> | ||
| 1531 | ph10 | 98 | LIBS libraries to pass to the linker, e.g. -l<library> |
| 1532 | nigel | 93 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
| 1533 | you have headers in a nonstandard directory <include dir> | ||
| 1534 | nigel | 75 | CXX C++ compiler command |
| 1535 | CXXFLAGS C++ compiler flags | ||
| 1536 | nigel | 77 | CPP C preprocessor |
| 1537 | nigel | 75 | CXXCPP C++ preprocessor |
| 1538 | F77 Fortran 77 compiler command | ||
| 1539 | FFLAGS Fortran 77 compiler flags | ||
| 1540 | nigel | 53 | |
| 1541 | Use these variables to override the choices made by `configure' or to help | ||
| 1542 | it to find libraries and programs with nonstandard names/locations. | ||
| 1543 | |||
| 1544 | nigel | 63 | _ACEOF |
| 1545 | nigel | 93 | ac_status=$? |
| 1546 | nigel | 53 | fi |
| 1547 | |||
| 1548 | if test "$ac_init_help" = "recursive"; then | ||
| 1549 | # If there are subdirs, report their specific --help. | ||
| 1550 | nigel | 63 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
| 1551 | nigel | 93 | test -d "$ac_dir" || continue |
| 1552 | nigel | 63 | ac_builddir=. |
| 1553 | nigel | 53 | |
| 1554 | nigel | 93 | case "$ac_dir" in |
| 1555 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
| 1556 | *) | ||
| 1557 | nigel | 63 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
| 1558 | nigel | 93 | # A ".." for each directory in $ac_dir_suffix. |
| 1559 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` | ||
| 1560 | case $ac_top_builddir_sub in | ||
| 1561 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
| 1562 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | ||
| 1563 | esac ;; | ||
| 1564 | esac | ||
| 1565 | ac_abs_top_builddir=$ac_pwd | ||
| 1566 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | ||
| 1567 | # for backward compatibility: | ||
| 1568 | ac_top_builddir=$ac_top_build_prefix | ||
| 1569 | nigel | 53 | |
| 1570 | nigel | 63 | case $srcdir in |
| 1571 | nigel | 93 | .) # We are building in place. |
| 1572 | nigel | 63 | ac_srcdir=. |
| 1573 | nigel | 93 | ac_top_srcdir=$ac_top_builddir_sub |
| 1574 | ac_abs_top_srcdir=$ac_pwd ;; | ||
| 1575 | [\\/]* | ?:[\\/]* ) # Absolute name. | ||
| 1576 | nigel | 63 | ac_srcdir=$srcdir$ac_dir_suffix; |
| 1577 | nigel | 93 | ac_top_srcdir=$srcdir |
| 1578 | ac_abs_top_srcdir=$srcdir ;; | ||
| 1579 | *) # Relative name. | ||
| 1580 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | ||
| 1581 | ac_top_srcdir=$ac_top_build_prefix$srcdir | ||
| 1582 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | ||
| 1583 | nigel | 63 | esac |
| 1584 | nigel | 93 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 1585 | nigel | 63 | |
| 1586 | nigel | 93 | cd "$ac_dir" || { ac_status=$?; continue; } |
| 1587 | # Check for guested configure. | ||
| 1588 | if test -f "$ac_srcdir/configure.gnu"; then | ||
| 1589 | echo && | ||
| 1590 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive | ||
| 1591 | elif test -f "$ac_srcdir/configure"; then | ||
| 1592 | echo && | ||
| 1593 | $SHELL "$ac_srcdir/configure" --help=recursive | ||
| 1594 | nigel | 53 | else |
| 1595 | nigel | 63 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 1596 | nigel | 93 | fi || ac_status=$? |
| 1597 | cd "$ac_pwd" || { ac_status=$?; break; } | ||
| 1598 | nigel | 53 | done |
| 1599 | fi | ||
| 1600 | |||
| 1601 | nigel | 93 | test -n "$ac_init_help" && exit $ac_status |
| 1602 | nigel | 53 | if $ac_init_version; then |
| 1603 | nigel | 63 | cat <<\_ACEOF |
| 1604 | ph10 | 126 | PCRE configure 7.1-RC2 |
| 1605 | ph10 | 98 | generated by GNU Autoconf 2.61 |
| 1606 | nigel | 53 | |
| 1607 | nigel | 93 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 1608 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | ||
| 1609 | nigel | 53 | This configure script is free software; the Free Software Foundation |
| 1610 | gives unlimited permission to copy, distribute and modify it. | ||
| 1611 | nigel | 63 | _ACEOF |
| 1612 | nigel | 93 | exit |
| 1613 | nigel | 53 | fi |
| 1614 | nigel | 93 | cat >config.log <<_ACEOF |
| 1615 | nigel | 53 | This file contains any messages produced by compilers while |
| 1616 | running configure, to aid debugging if configure makes a mistake. | ||
| 1617 | |||
| 1618 | ph10 | 126 | It was created by PCRE $as_me 7.1-RC2, which was |
| 1619 | ph10 | 98 | generated by GNU Autoconf 2.61. Invocation command line was |
| 1620 | nigel | 53 | |
| 1621 | $ $0 $@ | ||
| 1622 | |||
| 1623 | nigel | 63 | _ACEOF |
| 1624 | nigel | 93 | exec 5>>config.log |
| 1625 | nigel | 53 | { |
| 1626 | cat <<_ASUNAME | ||
| 1627 | nigel | 63 | ## --------- ## |
| 1628 | ## Platform. ## | ||
| 1629 | ## --------- ## | ||
| 1630 | nigel | 53 | |
| 1631 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
| 1632 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | ||
| 1633 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | ||
| 1634 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | ||
| 1635 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | ||
| 1636 | |||
| 1637 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | ||
| 1638 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | ||
| 1639 | |||
| 1640 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | ||
| 1641 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | ||
| 1642 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | ||
| 1643 | nigel | 93 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
| 1644 | nigel | 53 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
| 1645 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | ||
| 1646 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | ||
| 1647 | |||
| 1648 | nigel | 63 | _ASUNAME |
| 1649 | nigel | 53 | |
| 1650 | nigel | 63 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1651 | for as_dir in $PATH | ||
| 1652 | do | ||
| 1653 | IFS=$as_save_IFS | ||
| 1654 | test -z "$as_dir" && as_dir=. | ||
| 1655 | echo "PATH: $as_dir" | ||
| 1656 | done | ||
| 1657 | nigel | 93 | IFS=$as_save_IFS |
| 1658 | nigel | 63 | |
| 1659 | nigel | 53 | } >&5 |
| 1660 | |||
| 1661 | nigel | 63 | cat >&5 <<_ACEOF |
| 1662 | nigel | 53 | |
| 1663 | |||
| 1664 | nigel | 63 | ## ----------- ## |
| 1665 | ## Core tests. ## | ||
| 1666 | ## ----------- ## | ||
| 1667 | |||
| 1668 | _ACEOF | ||
| 1669 | |||
| 1670 | |||
| 1671 | nigel | 53 | # Keep a trace of the command line. |
| 1672 | # Strip out --no-create and --no-recursion so they do not pile up. | ||
| 1673 | nigel | 63 | # Strip out --silent because we don't want to record it for future runs. |
| 1674 | nigel | 53 | # Also quote any args containing shell meta-characters. |
| 1675 | nigel | 63 | # Make two passes to allow for proper duplicate-argument suppression. |
| 1676 | nigel | 53 | ac_configure_args= |
| 1677 | nigel | 63 | ac_configure_args0= |
| 1678 | ac_configure_args1= | ||
| 1679 | ac_must_keep_next=false | ||
| 1680 | for ac_pass in 1 2 | ||
| 1681 | nigel | 53 | do |
| 1682 | nigel | 63 | for ac_arg |
| 1683 | do | ||
| 1684 | case $ac_arg in | ||
| 1685 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | ||
| 1686 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
| 1687 | | -silent | --silent | --silen | --sile | --sil) | ||
| 1688 | continue ;; | ||
| 1689 | nigel | 93 | *\'*) |
| 1690 | nigel | 63 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1691 | esac | ||
| 1692 | case $ac_pass in | ||
| 1693 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | ||
| 1694 | 2) | ||
| 1695 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" | ||
| 1696 | if test $ac_must_keep_next = true; then | ||
| 1697 | nigel | 75 | ac_must_keep_next=false # Got value, back to normal. |
| 1698 | nigel | 63 | else |
| 1699 | nigel | 75 | case $ac_arg in |
| 1700 | *=* | --config-cache | -C | -disable-* | --disable-* \ | ||
| 1701 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | ||
| 1702 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | ||
| 1703 | | -with-* | --with-* | -without-* | --without-* | --x) | ||
| 1704 | case "$ac_configure_args0 " in | ||
| 1705 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | ||
| 1706 | esac | ||
| 1707 | ;; | ||
| 1708 | -* ) ac_must_keep_next=true ;; | ||
| 1709 | esac | ||
| 1710 | nigel | 63 | fi |
| 1711 | nigel | 93 | ac_configure_args="$ac_configure_args '$ac_arg'" |
| 1712 | nigel | 63 | ;; |
| 1713 | esac | ||
| 1714 | done | ||
| 1715 | nigel | 53 | done |
| 1716 | nigel | 63 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
| 1717 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | ||
| 1718 | nigel | 53 | |
| 1719 | # When interrupted or exit'd, cleanup temporary files, and complete | ||
| 1720 | # config.log. We remove comments because anyway the quotes in there | ||
| 1721 | # would cause problems or look ugly. | ||
| 1722 | nigel | 93 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
| 1723 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | ||
| 1724 | nigel | 53 | trap 'exit_status=$? |
| 1725 | # Save into config.log some information that might help in debugging. | ||
| 1726 | nigel | 63 | { |
| 1727 | echo | ||
| 1728 | |||
| 1729 | cat <<\_ASBOX | ||
| 1730 | ## ---------------- ## | ||
| 1731 | ## Cache variables. ## | ||
| 1732 | ## ---------------- ## | ||
| 1733 | _ASBOX | ||
| 1734 | echo | ||
| 1735 | # The following way of writing the cache mishandles newlines in values, | ||
| 1736 | nigel | 93 | ( |
| 1737 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | ||
| 1738 | eval ac_val=\$$ac_var | ||
| 1739 | case $ac_val in #( | ||
| 1740 | *${as_nl}*) | ||
| 1741 | case $ac_var in #( | ||
| 1742 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | ||
| 1743 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | ||
| 1744 | esac | ||
| 1745 | case $ac_var in #( | ||
| 1746 | _ | IFS | as_nl) ;; #( | ||
| 1747 | *) $as_unset $ac_var ;; | ||
| 1748 | esac ;; | ||
| 1749 | esac | ||
| 1750 | done | ||
| 1751 | nigel | 53 | (set) 2>&1 | |
| 1752 | nigel | 93 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
| 1753 | *${as_nl}ac_space=\ *) | ||
| 1754 | nigel | 53 | sed -n \ |
| 1755 | nigel | 93 | "s/'\''/'\''\\\\'\'''\''/g; |
| 1756 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | ||
| 1757 | ;; #( | ||
| 1758 | nigel | 53 | *) |
| 1759 | nigel | 93 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 1760 | nigel | 53 | ;; |
| 1761 | nigel | 93 | esac | |
| 1762 | sort | ||
| 1763 | ) | ||
| 1764 | nigel | 63 | echo |
| 1765 | |||
| 1766 | cat <<\_ASBOX | ||
| 1767 | ## ----------------- ## | ||
| 1768 | ## Output variables. ## | ||
| 1769 | ## ----------------- ## | ||
| 1770 | _ASBOX | ||
| 1771 | echo | ||
| 1772 | for ac_var in $ac_subst_vars | ||
| 1773 | do | ||
| 1774 | nigel | 93 | eval ac_val=\$$ac_var |
| 1775 | case $ac_val in | ||
| 1776 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | ||
| 1777 | esac | ||
| 1778 | echo "$ac_var='\''$ac_val'\''" | ||
| 1779 | nigel | 63 | done | sort |
| 1780 | echo | ||
| 1781 | |||
| 1782 | if test -n "$ac_subst_files"; then | ||
| 1783 | cat <<\_ASBOX | ||
| 1784 | nigel | 93 | ## ------------------- ## |
| 1785 | ## File substitutions. ## | ||
| 1786 | ## ------------------- ## | ||
| 1787 | nigel | 63 | _ASBOX |
| 1788 | echo | ||
| 1789 | for ac_var in $ac_subst_files | ||
| 1790 | do | ||
| 1791 | nigel | 93 | eval ac_val=\$$ac_var |
| 1792 | case $ac_val in | ||
| 1793 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | ||
| 1794 | esac | ||
| 1795 | echo "$ac_var='\''$ac_val'\''" | ||
| 1796 | nigel | 63 | done | sort |
| 1797 | echo | ||
| 1798 | fi | ||
| 1799 | |||
| 1800 | if test -s confdefs.h; then | ||
| 1801 | cat <<\_ASBOX | ||
| 1802 | ## ----------- ## | ||
| 1803 | ## confdefs.h. ## | ||
| 1804 | ## ----------- ## | ||
| 1805 | _ASBOX | ||
| 1806 | echo | ||
| 1807 | nigel | 93 | cat confdefs.h |
| 1808 | nigel | 63 | echo |
| 1809 | fi | ||
| 1810 | test "$ac_signal" != 0 && | ||
| 1811 | echo "$as_me: caught signal $ac_signal" | ||
| 1812 | echo "$as_me: exit $exit_status" | ||
| 1813 | } >&5 | ||
| 1814 | nigel | 93 | rm -f core *.core core.conftest.* && |
| 1815 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | ||
| 1816 | nigel | 53 | exit $exit_status |
| 1817 | nigel | 93 | ' 0 |
| 1818 | nigel | 53 | for ac_signal in 1 2 13 15; do |
| 1819 | nigel | 63 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
| 1820 | nigel | 53 | done |
| 1821 | ac_signal=0 | ||
| 1822 | |||
| 1823 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | ||
| 1824 | nigel | 93 | rm -f -r conftest* confdefs.h |
| 1825 | nigel | 53 | |
| 1826 | nigel | 63 | # Predefined preprocessor variables. |
| 1827 | |||
| 1828 | cat >>confdefs.h <<_ACEOF | ||
| 1829 | #define PACKAGE_NAME "$PACKAGE_NAME" | ||
| 1830 | _ACEOF | ||
| 1831 | |||
| 1832 | |||
| 1833 | cat >>confdefs.h <<_ACEOF | ||
| 1834 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | ||
| 1835 | _ACEOF | ||
| 1836 | |||
| 1837 | |||
| 1838 | cat >>confdefs.h <<_ACEOF | ||
| 1839 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | ||
| 1840 | _ACEOF | ||
| 1841 | |||
| 1842 | |||
| 1843 | cat >>confdefs.h <<_ACEOF | ||
| 1844 | #define PACKAGE_STRING "$PACKAGE_STRING" | ||
| 1845 | _ACEOF | ||
| 1846 | |||
| 1847 | |||
| 1848 | cat >>confdefs.h <<_ACEOF | ||
| 1849 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | ||
| 1850 | _ACEOF | ||
| 1851 | |||
| 1852 | |||
| 1853 | nigel | 53 | # Let the site file select an alternate cache file if it wants to. |
| 1854 | nigel | 41 | # Prefer explicitly selected file to automatically selected ones. |
| 1855 | nigel | 93 | if test -n "$CONFIG_SITE"; then |
| 1856 | set x "$CONFIG_SITE" | ||
| 1857 | elif test "x$prefix" != xNONE; then | ||
| 1858 | set x "$prefix/share/config.site" "$prefix/etc/config.site" | ||
| 1859 | else | ||
| 1860 | set x "$ac_default_prefix/share/config.site" \ | ||
| 1861 | "$ac_default_prefix/etc/config.site" | ||
| 1862 | nigel | 41 | fi |
| 1863 | nigel | 93 | shift |
| 1864 | for ac_site_file | ||
| 1865 | do | ||
| 1866 | nigel | 41 | if test -r "$ac_site_file"; then |
| 1867 | nigel | 63 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
| 1868 | nigel | 53 | echo "$as_me: loading site script $ac_site_file" >&6;} |
| 1869 | nigel | 63 | sed 's/^/| /' "$ac_site_file" >&5 |
| 1870 | nigel | 41 | . "$ac_site_file" |
| 1871 | fi | ||
| 1872 | done | ||
| 1873 | |||
| 1874 | if test -r "$cache_file"; then | ||
| 1875 | nigel | 53 | # Some versions of bash will fail to source /dev/null (special |
| 1876 | # files actually), so we avoid doing that. | ||
| 1877 | if test -f "$cache_file"; then | ||
| 1878 | nigel | 63 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
| 1879 | nigel | 53 | echo "$as_me: loading cache $cache_file" >&6;} |
| 1880 | case $cache_file in | ||
| 1881 | nigel | 93 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
| 1882 | *) . "./$cache_file";; | ||
| 1883 | nigel | 53 | esac |
| 1884 | fi | ||
| 1885 | nigel | 41 | else |
| 1886 | nigel | 63 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
| 1887 | nigel | 53 | echo "$as_me: creating cache $cache_file" >&6;} |
| 1888 | >$cache_file | ||
| 1889 | nigel | 41 | fi |
| 1890 | |||
| 1891 | nigel | 53 | # Check that the precious variables saved in the cache have kept the same |
| 1892 | # value. | ||
| 1893 | nigel | 63 | ac_cache_corrupted=false |
| 1894 | nigel | 93 | for ac_var in $ac_precious_vars; do |
| 1895 | nigel | 53 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| 1896 | eval ac_new_set=\$ac_env_${ac_var}_set | ||
| 1897 | nigel | 93 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
| 1898 | eval ac_new_val=\$ac_env_${ac_var}_value | ||
| 1899 | nigel | 53 | case $ac_old_set,$ac_new_set in |
| 1900 | set,) | ||
| 1901 | nigel | 63 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 1902 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | ||
| 1903 | ac_cache_corrupted=: ;; | ||
| 1904 | nigel | 53 | ,set) |
| 1905 | nigel | 63 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
| 1906 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | ||
| 1907 | ac_cache_corrupted=: ;; | ||
| 1908 | nigel | 53 | ,);; |
| 1909 | *) | ||
| 1910 | if test "x$ac_old_val" != "x$ac_new_val"; then | ||
| 1911 | nigel | 75 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
| 1912 | nigel | 63 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 1913 | nigel | 75 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
| 1914 | nigel | 63 | echo "$as_me: former value: $ac_old_val" >&2;} |
| 1915 | nigel | 75 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
| 1916 | nigel | 63 | echo "$as_me: current value: $ac_new_val" >&2;} |
| 1917 | nigel | 75 | ac_cache_corrupted=: |
| 1918 | nigel | 53 | fi;; |
| 1919 | esac | ||
| 1920 | nigel | 63 | # Pass precious variables to config.status. |
| 1921 | if test "$ac_new_set" = set; then | ||
| 1922 | case $ac_new_val in | ||
| 1923 | nigel | 93 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1924 | nigel | 63 | *) ac_arg=$ac_var=$ac_new_val ;; |
| 1925 | esac | ||
| 1926 | case " $ac_configure_args " in | ||
| 1927 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | ||
| 1928 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | ||
| 1929 | esac | ||
| 1930 | fi | ||
| 1931 | nigel | 53 | done |
| 1932 | nigel | 63 | if $ac_cache_corrupted; then |
| 1933 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | ||
| 1934 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | ||
| 1935 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | ||
| 1936 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | ||
| 1937 | { (exit 1); exit 1; }; } | ||
| 1938 | nigel | 53 | fi |
| 1939 | |||
| 1940 | nigel | 41 | |
| 1941 | |||
| 1942 | |||
| 1943 | nigel | 63 | |
| 1944 | |||
| 1945 | |||
| 1946 | |||
| 1947 | |||
| 1948 | |||
| 1949 | |||
| 1950 | |||
| 1951 | |||
| 1952 | |||
| 1953 | |||
| 1954 | |||
| 1955 | |||
| 1956 | ph10 | 98 | |
| 1957 | |||
| 1958 | |||
| 1959 | |||
| 1960 | |||
| 1961 | |||
| 1962 | |||
| 1963 | |||
| 1964 | nigel | 93 | ac_ext=c |
| 1965 | ac_cpp='$CPP $CPPFLAGS' | ||
| 1966 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 1967 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 1968 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 1969 | nigel | 63 | |
| 1970 | |||
| 1971 | |||
| 1972 | ph10 | 98 | am__api_version='1.10' |
| 1973 | nigel | 63 | |
| 1974 | ph10 | 98 | ac_aux_dir= |
| 1975 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | ||
| 1976 | if test -f "$ac_dir/install-sh"; then | ||
| 1977 | ac_aux_dir=$ac_dir | ||
| 1978 | ac_install_sh="$ac_aux_dir/install-sh -c" | ||
| 1979 | break | ||
| 1980 | elif test -f "$ac_dir/install.sh"; then | ||
| 1981 | ac_aux_dir=$ac_dir | ||
| 1982 | ac_install_sh="$ac_aux_dir/install.sh -c" | ||
| 1983 | break | ||
| 1984 | elif test -f "$ac_dir/shtool"; then | ||
| 1985 | ac_aux_dir=$ac_dir | ||
| 1986 | ac_install_sh="$ac_aux_dir/shtool install -c" | ||
| 1987 | break | ||
| 1988 | fi | ||
| 1989 | done | ||
| 1990 | if test -z "$ac_aux_dir"; then | ||
| 1991 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 | ||
| 1992 | echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} | ||
| 1993 | { (exit 1); exit 1; }; } | ||
| 1994 | fi | ||
| 1995 | nigel | 67 | |
| 1996 | ph10 | 98 | # These three variables are undocumented and unsupported, |
| 1997 | # and are intended to be withdrawn in a future Autoconf release. | ||
| 1998 | # They can cause serious problems if a builder's source tree is in a directory | ||
| 1999 | # whose full name contains unusual characters. | ||
| 2000 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | ||
| 2001 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | ||
| 2002 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | ||
| 2003 | nigel | 67 | |
| 2004 | |||
| 2005 | ph10 | 98 | # Find a good install program. We prefer a C program (faster), |
| 2006 | # so one script is as good as another. But avoid the broken or | ||
| 2007 | # incompatible versions: | ||
| 2008 | # SysV /etc/install, /usr/sbin/install | ||
| 2009 | # SunOS /usr/etc/install | ||
| 2010 | # IRIX /sbin/install | ||
| 2011 | # AIX /bin/install | ||
| 2012 | # AmigaOS /C/install, which installs bootblocks on floppy discs | ||
| 2013 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | ||
| 2014 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | ||
| 2015 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||
| 2016 | # OS/2's system install, which has a completely different semantic | ||
| 2017 | # ./install, which can be erroneously created by make from ./install.sh. | ||
| 2018 | { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | ||
| 2019 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } | ||
| 2020 | if test -z "$INSTALL"; then | ||
| 2021 | if test "${ac_cv_path_install+set}" = set; then | ||
| 2022 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2023 | else | ||
| 2024 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2025 | for as_dir in $PATH | ||
| 2026 | do | ||
| 2027 | IFS=$as_save_IFS | ||
| 2028 | test -z "$as_dir" && as_dir=. | ||
| 2029 | # Account for people who put trailing slashes in PATH elements. | ||
| 2030 | case $as_dir/ in | ||
| 2031 | ./ | .// | /cC/* | \ | ||
| 2032 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | ||
| 2033 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | ||
| 2034 | /usr/ucb/* ) ;; | ||
| 2035 | *) | ||
| 2036 | # OSF1 and SCO ODT 3.0 have their own names for install. | ||
| 2037 | # Don't use installbsd from OSF since it installs stuff as root | ||
| 2038 | # by default. | ||
| 2039 | for ac_prog in ginstall scoinst install; do | ||
| 2040 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2041 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | ||
| 2042 | if test $ac_prog = install && | ||
| 2043 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
| 2044 | # AIX install. It has an incompatible calling convention. | ||
| 2045 | : | ||
| 2046 | elif test $ac_prog = install && | ||
| 2047 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
| 2048 | # program-specific install script used by HP pwplus--don't use. | ||
| 2049 | : | ||
| 2050 | else | ||
| 2051 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | ||
| 2052 | break 3 | ||
| 2053 | fi | ||
| 2054 | fi | ||
| 2055 | done | ||
| 2056 | done | ||
| 2057 | ;; | ||
| 2058 | esac | ||
| 2059 | done | ||
| 2060 | IFS=$as_save_IFS | ||
| 2061 | nigel | 89 | |
| 2062 | nigel | 63 | |
| 2063 | ph10 | 98 | fi |
| 2064 | if test "${ac_cv_path_install+set}" = set; then | ||
| 2065 | INSTALL=$ac_cv_path_install | ||
| 2066 | else | ||
| 2067 | # As a last resort, use the slow shell script. Don't cache a | ||
| 2068 | # value for INSTALL within a source directory, because that will | ||
| 2069 | # break other packages using the cache if that directory is | ||
| 2070 | # removed, or if the value is a relative name. | ||
| 2071 | INSTALL=$ac_install_sh | ||
| 2072 | fi | ||
| 2073 | fi | ||
| 2074 | { echo "$as_me:$LINENO: result: $INSTALL" >&5 | ||
| 2075 | echo "${ECHO_T}$INSTALL" >&6; } | ||
| 2076 | nigel | 63 | |
| 2077 | ph10 | 98 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 2078 | # It thinks the first close brace ends the variable substitution. | ||
| 2079 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | ||
| 2080 | nigel | 63 | |
| 2081 | ph10 | 98 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
| 2082 | nigel | 63 | |
| 2083 | ph10 | 98 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 2084 | nigel | 43 | |
| 2085 | ph10 | 98 | { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
| 2086 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } | ||
| 2087 | # Just in case | ||
| 2088 | sleep 1 | ||
| 2089 | echo timestamp > conftest.file | ||
| 2090 | # Do `set' in a subshell so we don't clobber the current shell's | ||
| 2091 | # arguments. Must try -L first in case configure is actually a | ||
| 2092 | # symlink; some systems play weird games with the mod time of symlinks | ||
| 2093 | # (eg FreeBSD returns the mod time of the symlink's containing | ||
| 2094 | # directory). | ||
| 2095 | if ( | ||
| 2096 | set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` | ||
| 2097 | if test "$*" = "X"; then | ||
| 2098 | # -L didn't work. | ||
| 2099 | set X `ls -t $srcdir/configure conftest.file` | ||
| 2100 | fi | ||
| 2101 | rm -f conftest.file | ||
| 2102 | if test "$*" != "X $srcdir/configure conftest.file" \ | ||
| 2103 | && test "$*" != "X conftest.file $srcdir/configure"; then | ||
| 2104 | nigel | 63 | |
| 2105 | ph10 | 98 | # If neither matched, then we have a broken ls. This can happen |
| 2106 | # if, for instance, CONFIG_SHELL is bash and it inherits a | ||
| 2107 | # broken ls alias from the environment. This has actually | ||
| 2108 | # happened. Such a system could not be considered "sane". | ||
| 2109 | { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken | ||
| 2110 | alias in your environment" >&5 | ||
| 2111 | echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken | ||
| 2112 | alias in your environment" >&2;} | ||
| 2113 | { (exit 1); exit 1; }; } | ||
| 2114 | fi | ||
| 2115 | nigel | 87 | |
| 2116 | ph10 | 98 | test "$2" = conftest.file |
| 2117 | ) | ||
| 2118 | then | ||
| 2119 | # Ok. | ||
| 2120 | : | ||
| 2121 | else | ||
| 2122 | { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! | ||
| 2123 | Check your system clock" >&5 | ||
| 2124 | echo "$as_me: error: newly created file is older than distributed files! | ||
| 2125 | Check your system clock" >&2;} | ||
| 2126 | { (exit 1); exit 1; }; } | ||
| 2127 | fi | ||
| 2128 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
| 2129 | echo "${ECHO_T}yes" >&6; } | ||
| 2130 | test "$program_prefix" != NONE && | ||
| 2131 | program_transform_name="s&^&$program_prefix&;$program_transform_name" | ||
| 2132 | # Use a double $ so make ignores it. | ||
| 2133 | test "$program_suffix" != NONE && | ||
| 2134 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" | ||
| 2135 | # Double any \ or $. echo might interpret backslashes. | ||
| 2136 | # By default was `s,x,x', remove it if useless. | ||
| 2137 | cat <<\_ACEOF >conftest.sed | ||
| 2138 | s/[\\$]/&&/g;s/;s,x,x,$// | ||
| 2139 | _ACEOF | ||
| 2140 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` | ||
| 2141 | rm -f conftest.sed | ||
| 2142 | nigel | 87 | |
| 2143 | ph10 | 98 | # expand $ac_aux_dir to an absolute path |
| 2144 | am_aux_dir=`cd $ac_aux_dir && pwd` | ||
| 2145 | |||
| 2146 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" | ||
| 2147 | # Use eval to expand $SHELL | ||
| 2148 | if eval "$MISSING --run true"; then | ||
| 2149 | am_missing_run="$MISSING --run " | ||
| 2150 | nigel | 83 | else |
| 2151 | ph10 | 98 | am_missing_run= |
| 2152 | { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 | ||
| 2153 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | ||
| 2154 | nigel | 93 | fi |
| 2155 | nigel | 83 | |
| 2156 | ph10 | 98 | { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 |
| 2157 | echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } | ||
| 2158 | if test -z "$MKDIR_P"; then | ||
| 2159 | if test "${ac_cv_path_mkdir+set}" = set; then | ||
| 2160 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2161 | else | ||
| 2162 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2163 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | ||
| 2164 | do | ||
| 2165 | IFS=$as_save_IFS | ||
| 2166 | test -z "$as_dir" && as_dir=. | ||
| 2167 | for ac_prog in mkdir gmkdir; do | ||
| 2168 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2169 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue | ||
| 2170 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | ||
| 2171 | 'mkdir (GNU coreutils) '* | \ | ||
| 2172 | 'mkdir (coreutils) '* | \ | ||
| 2173 | 'mkdir (fileutils) '4.1*) | ||
| 2174 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | ||
| 2175 | break 3;; | ||
| 2176 | esac | ||
| 2177 | done | ||
| 2178 | done | ||
| 2179 | done | ||
| 2180 | IFS=$as_save_IFS | ||
| 2181 | nigel | 83 | |
| 2182 | ph10 | 98 | fi |
| 2183 | nigel | 93 | |
| 2184 | ph10 | 98 | if test "${ac_cv_path_mkdir+set}" = set; then |
| 2185 | MKDIR_P="$ac_cv_path_mkdir -p" | ||
| 2186 | else | ||
| 2187 | # As a last resort, use the slow shell script. Don't cache a | ||
| 2188 | # value for MKDIR_P within a source directory, because that will | ||
| 2189 | # break other packages using the cache if that directory is | ||
| 2190 | # removed, or if the value is a relative name. | ||
| 2191 | test -d ./--version && rmdir ./--version | ||
| 2192 | MKDIR_P="$ac_install_sh -d" | ||
| 2193 | fi | ||
| 2194 | fi | ||
| 2195 | { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 | ||
| 2196 | echo "${ECHO_T}$MKDIR_P" >&6; } | ||
| 2197 | |||
| 2198 | mkdir_p="$MKDIR_P" | ||
| 2199 | case $mkdir_p in | ||
| 2200 | [\\/$]* | ?:[\\/]*) ;; | ||
| 2201 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | ||
| 2202 | esac | ||
| 2203 | |||
| 2204 | for ac_prog in gawk mawk nawk awk | ||
| 2205 | do | ||
| 2206 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
| 2207 | set dummy $ac_prog; ac_word=$2 | ||
| 2208 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
| 2209 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | ||
| 2210 | if test "${ac_cv_prog_AWK+set}" = set; then | ||
| 2211 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2212 | else | ||
| 2213 | if test -n "$AWK"; then | ||
| 2214 | ac_cv_prog_AWK="$AWK" # Let the user override the test. | ||
| 2215 | else | ||
| 2216 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2217 | for as_dir in $PATH | ||
| 2218 | do | ||
| 2219 | IFS=$as_save_IFS | ||
| 2220 | test -z "$as_dir" && as_dir=. | ||
| 2221 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2222 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
| 2223 | ac_cv_prog_AWK="$ac_prog" | ||
| 2224 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 2225 | break 2 | ||
| 2226 | fi | ||
| 2227 | done | ||
| 2228 | done | ||
| 2229 | IFS=$as_save_IFS | ||
| 2230 | |||
| 2231 | fi | ||
| 2232 | fi | ||
| 2233 | AWK=$ac_cv_prog_AWK | ||
| 2234 | if test -n "$AWK"; then | ||
| 2235 | { echo "$as_me:$LINENO: result: $AWK" >&5 | ||
| 2236 | echo "${ECHO_T}$AWK" >&6; } | ||
| 2237 | else | ||
| 2238 | { echo "$as_me:$LINENO: result: no" >&5 | ||
| 2239 | echo "${ECHO_T}no" >&6; } | ||
| 2240 | fi | ||
| 2241 | |||
| 2242 | |||
| 2243 | test -n "$AWK" && break | ||
| 2244 | done | ||
| 2245 | |||
| 2246 | { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | ||
| 2247 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } | ||
| 2248 | set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | ||
| 2249 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 2250 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2251 | else | ||
| 2252 | cat >conftest.make <<\_ACEOF | ||
| 2253 | SHELL = /bin/sh | ||
| 2254 | all: | ||
| 2255 | @echo '@@@%%%=$(MAKE)=@@@%%%' | ||
| 2256 | _ACEOF | ||
| 2257 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | ||
| 2258 | case `${MAKE-make} -f conftest.make 2>/dev/null` in | ||
| 2259 | *@@@%%%=?*=@@@%%%*) | ||
| 2260 | eval ac_cv_prog_make_${ac_make}_set=yes;; | ||
| 2261 | *) | ||
| 2262 | eval ac_cv_prog_make_${ac_make}_set=no;; | ||
| 2263 | esac | ||
| 2264 | rm -f conftest.make | ||
| 2265 | fi | ||
| 2266 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | ||
| 2267 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
| 2268 | echo "${ECHO_T}yes" >&6; } | ||
| 2269 | SET_MAKE= | ||
| 2270 | else | ||
| 2271 | { echo "$as_me:$LINENO: result: no" >&5 | ||
| 2272 | echo "${ECHO_T}no" >&6; } | ||
| 2273 | SET_MAKE="MAKE=${MAKE-make}" | ||
| 2274 | fi | ||
| 2275 | |||
| 2276 | rm -rf .tst 2>/dev/null | ||
| 2277 | mkdir .tst 2>/dev/null | ||
| 2278 | if test -d .tst; then | ||
| 2279 | am__leading_dot=. | ||
| 2280 | else | ||
| 2281 | am__leading_dot=_ | ||
| 2282 | fi | ||
| 2283 | rmdir .tst 2>/dev/null | ||
| 2284 | |||
| 2285 | if test "`cd $srcdir && pwd`" != "`pwd`"; then | ||
| 2286 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | ||
| 2287 | # is not polluted with repeated "-I." | ||
| 2288 | am__isrc=' -I$(srcdir)' | ||
| 2289 | # test to see if srcdir already configured | ||
| 2290 | if test -f $srcdir/config.status; then | ||
| 2291 | { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 | ||
| 2292 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} | ||
| 2293 | { (exit 1); exit 1; }; } | ||
| 2294 | fi | ||
| 2295 | fi | ||
| 2296 | |||
| 2297 | # test whether we have cygpath | ||
| 2298 | if test -z "$CYGPATH_W"; then | ||
| 2299 | if (cygpath --version) >/dev/null 2>/dev/null; then | ||
| 2300 | CYGPATH_W='cygpath -w' | ||
| 2301 | else | ||
| 2302 | CYGPATH_W=echo | ||
| 2303 | fi | ||
| 2304 | fi | ||
| 2305 | |||
| 2306 | |||
| 2307 | # Define the identity of the package. | ||
| 2308 | PACKAGE='pcre' | ||
| 2309 | ph10 | 126 | VERSION='7.1-RC2' |
| 2310 | ph10 | 98 | |
| 2311 | |||
| 2312 | cat >>confdefs.h <<_ACEOF | ||
| 2313 | #define PACKAGE "$PACKAGE" | ||
| 2314 | _ACEOF | ||
| 2315 | |||
| 2316 | |||
| 2317 | cat >>confdefs.h <<_ACEOF | ||
| 2318 | #define VERSION "$VERSION" | ||
| 2319 | _ACEOF | ||
| 2320 | |||
| 2321 | # Some tools Automake needs. | ||
| 2322 | |||
| 2323 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | ||
| 2324 | |||
| 2325 | |||
| 2326 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | ||
| 2327 | |||
| 2328 | |||
| 2329 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | ||
| 2330 | |||
| 2331 | |||
| 2332 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | ||
| 2333 | |||
| 2334 | |||
| 2335 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | ||
| 2336 | |||
| 2337 | install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} | ||
| 2338 | |||
| 2339 | # Installed binaries are usually stripped using `strip' when the user | ||
| 2340 | # run `make install-strip'. However `strip' might not be the right | ||
| 2341 | # tool to use in cross-compilation environments, therefore Automake | ||
| 2342 | # will honor the `STRIP' environment variable to overrule this program. | ||
| 2343 | if test "$cross_compiling" != no; then | ||
| 2344 | if test -n "$ac_tool_prefix"; then | ||
| 2345 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | ||
| 2346 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | ||
| 2347 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
| 2348 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | ||
| 2349 | if test "${ac_cv_prog_STRIP+set}" = set; then | ||
| 2350 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2351 | else | ||
| 2352 | if test -n "$STRIP"; then | ||
| 2353 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | ||
| 2354 | else | ||
| 2355 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2356 | for as_dir in $PATH | ||
| 2357 | do | ||
| 2358 | IFS=$as_save_IFS | ||
| 2359 | test -z "$as_dir" && as_dir=. | ||
| 2360 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2361 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
| 2362 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" | ||
| 2363 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 2364 | break 2 | ||
| 2365 | fi | ||
| 2366 | done | ||
| 2367 | done | ||
| 2368 | IFS=$as_save_IFS | ||
| 2369 | |||
| 2370 | fi | ||
| 2371 | fi | ||
| 2372 | STRIP=$ac_cv_prog_STRIP | ||
| 2373 | if test -n "$STRIP"; then | ||
| 2374 | { echo "$as_me:$LINENO: result: $STRIP" >&5 | ||
| 2375 | echo "${ECHO_T}$STRIP" >&6; } | ||
| 2376 | else | ||
| 2377 | { echo "$as_me:$LINENO: result: no" >&5 | ||
| 2378 | echo "${ECHO_T}no" >&6; } | ||
| 2379 | fi | ||
| 2380 | |||
| 2381 | |||
| 2382 | fi | ||
| 2383 | if test -z "$ac_cv_prog_STRIP"; then | ||
| 2384 | ac_ct_STRIP=$STRIP | ||
| 2385 | # Extract the first word of "strip", so it can be a program name with args. | ||
| 2386 | set dummy strip; ac_word=$2 | ||
| 2387 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
| 2388 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | ||
| 2389 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | ||
| 2390 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2391 | else | ||
| 2392 | if test -n "$ac_ct_STRIP"; then | ||
| 2393 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | ||
| 2394 | else | ||
| 2395 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2396 | for as_dir in $PATH | ||
| 2397 | do | ||
| 2398 | IFS=$as_save_IFS | ||
| 2399 | test -z "$as_dir" && as_dir=. | ||
| 2400 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2401 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
| 2402 | ac_cv_prog_ac_ct_STRIP="strip" | ||
| 2403 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 2404 | break 2 | ||
| 2405 | fi | ||
| 2406 | done | ||
| 2407 | done | ||
| 2408 | IFS=$as_save_IFS | ||
| 2409 | |||
| 2410 | fi | ||
| 2411 | fi | ||
| 2412 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | ||
| 2413 | if test -n "$ac_ct_STRIP"; then | ||
| 2414 | { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | ||
| 2415 | echo "${ECHO_T}$ac_ct_STRIP" >&6; } | ||
| 2416 | else | ||
| 2417 | { echo "$as_me:$LINENO: result: no" >&5 | ||
| 2418 | echo "${ECHO_T}no" >&6; } | ||
| 2419 | fi | ||
| 2420 | |||
| 2421 | if test "x$ac_ct_STRIP" = x; then | ||
| 2422 | STRIP=":" | ||
| 2423 | else | ||
| 2424 | case $cross_compiling:$ac_tool_warned in | ||
| 2425 | yes:) | ||
| 2426 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 2427 | whose name does not start with the host triplet. If you think this | ||
| 2428 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
| 2429 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 2430 | whose name does not start with the host triplet. If you think this | ||
| 2431 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
| 2432 | ac_tool_warned=yes ;; | ||
| 2433 | esac | ||
| 2434 | STRIP=$ac_ct_STRIP | ||
| 2435 | fi | ||
| 2436 | else | ||
| 2437 | STRIP="$ac_cv_prog_STRIP" | ||
| 2438 | fi | ||
| 2439 | |||
| 2440 | fi | ||
| 2441 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | ||
| 2442 | |||
| 2443 | # We need awk for the "check" target. The system "awk" is bad on | ||
| 2444 | # some platforms. | ||
| 2445 | # Always define AMTAR for backward compatibility. | ||
| 2446 | |||
| 2447 | AMTAR=${AMTAR-"${am_missing_run}tar"} | ||
| 2448 | |||
| 2449 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | ||
| 2450 | |||
| 2451 | |||
| 2452 | |||
| 2453 | |||
| 2454 | |||
| 2455 | ac_config_headers="$ac_config_headers config.h" | ||
| 2456 | |||
| 2457 | nigel | 53 | ac_ext=c |
| 2458 | ac_cpp='$CPP $CPPFLAGS' | ||
| 2459 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 2460 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 2461 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 2462 | if test -n "$ac_tool_prefix"; then | ||
| 2463 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | ||
| 2464 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | ||
| 2465 | nigel | 93 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2466 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | ||
| 2467 | nigel | 53 | if test "${ac_cv_prog_CC+set}" = set; then |
| 2468 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2469 | else | ||
| 2470 | if test -n "$CC"; then | ||
| 2471 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
| 2472 | else | ||
| 2473 | nigel | 63 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2474 | for as_dir in $PATH | ||
| 2475 | do | ||
| 2476 | IFS=$as_save_IFS | ||
| 2477 | test -z "$as_dir" && as_dir=. | ||
| 2478 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2479 | ph10 | 98 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2480 | nigel | 63 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 2481 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 2482 | break 2 | ||
| 2483 | fi | ||
| 2484 | nigel | 53 | done |
| 2485 | nigel | 63 | done |
| 2486 | nigel | 93 | IFS=$as_save_IFS |
| 2487 | nigel | 43 | |
| 2488 | nigel | 53 | fi |
| 2489 | fi | ||
| 2490 | CC=$ac_cv_prog_CC | ||
| 2491 | if test -n "$CC"; then | ||
| 2492 | nigel | 93 | { echo "$as_me:$LINENO: result: $CC" >&5 |
| 2493 | echo "${ECHO_T}$CC" >&6; } | ||
| 2494 | nigel | 53 | else |
| 2495 | nigel | 93 | { echo "$as_me:$LINENO: result: no" >&5 |
| 2496 | echo "${ECHO_T}no" >&6; } | ||
| 2497 | nigel | 53 | fi |
| 2498 | |||
| 2499 | nigel | 93 | |
| 2500 | nigel | 53 | fi |
| 2501 | if test -z "$ac_cv_prog_CC"; then | ||
| 2502 | ac_ct_CC=$CC | ||
| 2503 | # Extract the first word of "gcc", so it can be a program name with args. | ||
| 2504 | nigel | 41 | set dummy gcc; ac_word=$2 |
| 2505 | nigel | 93 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2506 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | ||
| 2507 | nigel | 53 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 2508 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2509 | nigel | 41 | else |
| 2510 | nigel | 53 | if test -n "$ac_ct_CC"; then |
| 2511 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
| 2512 | else | ||
| 2513 | nigel | 63 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2514 | for as_dir in $PATH | ||
| 2515 | do | ||
| 2516 | IFS=$as_save_IFS | ||
| 2517 | test -z "$as_dir" && as_dir=. | ||
| 2518 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2519 | ph10 | 98 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2520 | nigel | 63 | ac_cv_prog_ac_ct_CC="gcc" |
| 2521 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 2522 | break 2 | ||
| 2523 | fi | ||
| 2524 | nigel | 53 | done |
| 2525 | nigel | 63 | done |
| 2526 | nigel | 93 | IFS=$as_save_IFS |
| 2527 | nigel | 53 | |
| 2528 | fi | ||
| 2529 | fi | ||
| 2530 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
| 2531 | if test -n "$ac_ct_CC"; then | ||
| 2532 | nigel | 93 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 2533 | echo "${ECHO_T}$ac_ct_CC" >&6; } | ||
| 2534 | nigel | 53 | else |
| 2535 | nigel | 93 | { echo "$as_me:$LINENO: result: no" >&5 |
| 2536 | echo "${ECHO_T}no" >&6; } | ||
| 2537 | nigel | 53 | fi |
| 2538 | |||
| 2539 | nigel | 93 | if test "x$ac_ct_CC" = x; then |
| 2540 | CC="" | ||
| 2541 | else | ||
| 2542 | case $cross_compiling:$ac_tool_warned in | ||
| 2543 | yes:) | ||
| 2544 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 2545 | whose name does not start with the host triplet. If you think this | ||
| 2546 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
| 2547 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 2548 | whose name does not start with the host triplet. If you think this | ||
| 2549 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
| 2550 | ac_tool_warned=yes ;; | ||
| 2551 | esac | ||
| 2552 | CC=$ac_ct_CC | ||
| 2553 | fi | ||
| 2554 | nigel | 53 | else |
| 2555 | CC="$ac_cv_prog_CC" | ||
| 2556 | fi | ||
| 2557 | |||
| 2558 | if test -z "$CC"; then | ||
| 2559 | nigel | 93 | if test -n "$ac_tool_prefix"; then |
| 2560 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | ||
| 2561 | nigel | 53 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 2562 | nigel | 93 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2563 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | ||
| 2564 | nigel | 53 | if test "${ac_cv_prog_CC+set}" = set; then |
| 2565 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2566 | else | ||
| 2567 | nigel | 41 | if test -n "$CC"; then |
| 2568 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
| 2569 | else | ||
| 2570 | nigel | 63 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2571 | for as_dir in $PATH | ||
| 2572 | do | ||
| 2573 | IFS=$as_save_IFS | ||
| 2574 | test -z "$as_dir" && as_dir=. | ||
| 2575 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2576 | ph10 | 98 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2577 | nigel | 63 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 2578 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 2579 | break 2 | ||
| 2580 | fi | ||
| 2581 | nigel | 53 | done |
| 2582 | nigel | 63 | done |
| 2583 | nigel | 93 | IFS=$as_save_IFS |
| 2584 | nigel | 53 | |
| 2585 | nigel | 41 | fi |
| 2586 | fi | ||
| 2587 | nigel | 53 | CC=$ac_cv_prog_CC |
| 2588 | nigel | 41 | if test -n "$CC"; then |
| 2589 | nigel | 93 | { echo "$as_me:$LINENO: result: $CC" >&5 |
| 2590 | echo "${ECHO_T}$CC" >&6; } | ||
| 2591 | nigel | 41 | else |
| 2592 | nigel | 93 | { echo "$as_me:$LINENO: result: no" >&5 |
| 2593 | echo "${ECHO_T}no" >&6; } | ||
| 2594 | nigel | 41 | fi |
| 2595 | |||
| 2596 | nigel | 93 | |
| 2597 | nigel | 63 | fi |
| 2598 | nigel | 53 | fi |
| 2599 | nigel | 41 | if test -z "$CC"; then |
| 2600 | # Extract the first word of "cc", so it can be a program name with args. | ||
| 2601 | set dummy cc; ac_word=$2 | ||
| 2602 | nigel | 93 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2603 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | ||
| 2604 | nigel | 53 | if test "${ac_cv_prog_CC+set}" = set; then |
| 2605 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2606 | nigel | 41 | else |
| 2607 | if test -n "$CC"; then | ||
| 2608 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
| 2609 | else | ||
| 2610 | ac_prog_rejected=no | ||
| 2611 | nigel | 63 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2612 | for as_dir in $PATH | ||
| 2613 | do | ||
| 2614 | IFS=$as_save_IFS | ||
| 2615 | test -z "$as_dir" && as_dir=. | ||
| 2616 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2617 | ph10 | 98 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2618 | nigel | 63 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 2619 | ac_prog_rejected=yes | ||
| 2620 | continue | ||
| 2621 | fi | ||
| 2622 | ac_cv_prog_CC="cc" | ||
| 2623 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 2624 | break 2 | ||
| 2625 | fi | ||
| 2626 | nigel | 53 | done |
| 2627 | nigel | 63 | done |
| 2628 | nigel | 93 | IFS=$as_save_IFS |
| 2629 | nigel | 53 | |
| 2630 | nigel | 41 | if test $ac_prog_rejected = yes; then |
| 2631 | # We found a bogon in the path, so make sure we never use it. | ||
| 2632 | set dummy $ac_cv_prog_CC | ||
| 2633 | shift | ||
| 2634 | nigel | 53 | if test $# != 0; then |
| 2635 | nigel | 41 | # We chose a different compiler from the bogus one. |
| 2636 | # However, it has the same basename, so the bogon will be chosen | ||
| 2637 | # first if we set CC to just the basename; use the full file name. | ||
| 2638 | shift | ||
| 2639 | nigel | 63 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
| 2640 | nigel | 41 | fi |
| 2641 | fi | ||
| 2642 | fi | ||
| 2643 | fi | ||
| 2644 | nigel | 53 | CC=$ac_cv_prog_CC |
| 2645 | nigel | 41 | if test -n "$CC"; then |
| 2646 | nigel | 93 | { echo "$as_me:$LINENO: result: $CC" >&5 |
| 2647 | echo "${ECHO_T}$CC" >&6; } | ||
| 2648 | nigel | 41 | else |
| 2649 | nigel | 93 | { echo "$as_me:$LINENO: result: no" >&5 |
| 2650 | echo "${ECHO_T}no" >&6; } | ||
| 2651 | nigel | 41 | fi |
| 2652 | |||
| 2653 | nigel | 93 | |
| 2654 | nigel | 53 | fi |
| 2655 | if test -z "$CC"; then | ||
| 2656 | if test -n "$ac_tool_prefix"; then | ||
| 2657 | nigel | 93 | for ac_prog in cl.exe |
| 2658 | nigel | 53 | do |
| 2659 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | ||
| 2660 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | ||
| 2661 | nigel | 93 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2662 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | ||
| 2663 | nigel | 53 | if test "${ac_cv_prog_CC+set}" = set; then |
| 2664 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2665 | nigel | 41 | else |
| 2666 | if test -n "$CC"; then | ||
| 2667 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
| 2668 | else | ||
| 2669 | nigel | 63 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2670 | for as_dir in $PATH | ||
| 2671 | do | ||
| 2672 | IFS=$as_save_IFS | ||
| 2673 | test -z "$as_dir" && as_dir=. | ||
| 2674 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2675 | ph10 | 98 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2676 | nigel | 63 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 2677 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 2678 | break 2 | ||
| 2679 | fi | ||
| 2680 | nigel | 53 | done |
| 2681 | nigel | 63 | done |
| 2682 | nigel | 93 | IFS=$as_save_IFS |
| 2683 | nigel | 53 | |
| 2684 | nigel | 41 | fi |
| 2685 | fi | ||
| 2686 | nigel | 53 | CC=$ac_cv_prog_CC |
| 2687 | nigel | 41 | if test -n "$CC"; then |
| 2688 | nigel | 93 | { echo "$as_me:$LINENO: result: $CC" >&5 |
| 2689 | echo "${ECHO_T}$CC" >&6; } | ||
| 2690 | nigel | 41 | else |
| 2691 | nigel | 93 | { echo "$as_me:$LINENO: result: no" >&5 |
| 2692 | echo "${ECHO_T}no" >&6; } | ||
| 2693 | nigel | 41 | fi |
| 2694 | nigel | 53 | |
| 2695 | nigel | 93 | |
| 2696 | nigel | 53 | test -n "$CC" && break |
| 2697 | done | ||
| 2698 | nigel | 41 | fi |
| 2699 | nigel | 53 | if test -z "$CC"; then |
| 2700 | ac_ct_CC=$CC | ||
| 2701 | nigel | 93 | for ac_prog in cl.exe |
| 2702 | nigel | 53 | do |
| 2703 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
| 2704 | set dummy $ac_prog; ac_word=$2 | ||
| 2705 | nigel | 93 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2706 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | ||
| 2707 | nigel | 53 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 2708 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2709 | else | ||
| 2710 | if test -n "$ac_ct_CC"; then | ||
| 2711 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
| 2712 | else | ||
| 2713 | nigel | 63 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2714 | for as_dir in $PATH | ||
| 2715 | do | ||
| 2716 | IFS=$as_save_IFS | ||
| 2717 | test -z "$as_dir" && as_dir=. | ||
| 2718 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2719 | ph10 | 98 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2720 | nigel | 63 | ac_cv_prog_ac_ct_CC="$ac_prog" |
| 2721 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 2722 | break 2 | ||
| 2723 | fi | ||
| 2724 | nigel | 53 | done |
| 2725 | nigel | 63 | done |
| 2726 | nigel | 93 | IFS=$as_save_IFS |
| 2727 | nigel | 41 | |
| 2728 | nigel | 53 | fi |
| 2729 | fi | ||
| 2730 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
| 2731 | if test -n "$ac_ct_CC"; then | ||
| 2732 | nigel | 93 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 2733 | echo "${ECHO_T}$ac_ct_CC" >&6; } | ||
| 2734 | nigel | 53 | else |
| 2735 | nigel | 93 | { echo "$as_me:$LINENO: result: no" >&5 |
| 2736 | echo "${ECHO_T}no" >&6; } | ||
| 2737 | nigel | 53 | fi |
| 2738 | nigel | 41 | |
| 2739 | nigel | 93 | |
| 2740 | nigel | 53 | test -n "$ac_ct_CC" && break |
| 2741 | done | ||
| 2742 | nigel | 41 | |
| 2743 | nigel | 93 | if test "x$ac_ct_CC" = x; then |
| 2744 | CC="" | ||
| 2745 | else | ||
| 2746 | case $cross_compiling:$ac_tool_warned in | ||
| 2747 | yes:) | ||
| 2748 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 2749 | whose name does not start with the host triplet. If you think this | ||
| 2750 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
| 2751 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 2752 | whose name does not start with the host triplet. If you think this | ||
| 2753 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
| 2754 | ac_tool_warned=yes ;; | ||
| 2755 | esac | ||
| 2756 | CC=$ac_ct_CC | ||
| 2757 | fi | ||
| 2758 | nigel | 53 | fi |
| 2759 | nigel | 41 | |
| 2760 | nigel | 53 | fi |
| 2761 | |||
| 2762 | nigel | 63 | |
| 2763 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | ||
| 2764 | See \`config.log' for more details." >&5 | ||
| 2765 | echo "$as_me: error: no acceptable C compiler found in \$PATH | ||
| 2766 | See \`config.log' for more details." >&2;} | ||
| 2767 | nigel | 53 | { (exit 1); exit 1; }; } |
| 2768 | |||
| 2769 | nigel | 63 | # Provide some information about the compiler. |
| 2770 | nigel | 93 | echo "$as_me:$LINENO: checking for C compiler version" >&5 |
| 2771 | nigel | 63 | ac_compiler=`set X $ac_compile; echo $2` |
| 2772 | nigel | 93 | { (ac_try="$ac_compiler --version >&5" |
| 2773 | case "(($ac_try" in | ||
| 2774 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 2775 | *) ac_try_echo=$ac_try;; | ||
| 2776 | esac | ||
| 2777 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 2778 | (eval "$ac_compiler --version >&5") 2>&5 | ||
| 2779 | nigel | 63 | ac_status=$? |
| 2780 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 2781 | (exit $ac_status); } | ||
| 2782 | nigel | 93 | { (ac_try="$ac_compiler -v >&5" |
| 2783 | case "(($ac_try" in | ||
| 2784 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 2785 | *) ac_try_echo=$ac_try;; | ||
| 2786 | esac | ||
| 2787 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 2788 | (eval "$ac_compiler -v >&5") 2>&5 | ||
| 2789 | nigel | 63 | ac_status=$? |
| 2790 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 2791 | (exit $ac_status); } | ||
| 2792 | nigel | 93 | { (ac_try="$ac_compiler -V >&5" |
| 2793 | case "(($ac_try" in | ||
| 2794 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 2795 | *) ac_try_echo=$ac_try;; | ||
| 2796 | esac | ||
| 2797 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 2798 | (eval "$ac_compiler -V >&5") 2>&5 | ||
| 2799 | nigel | 63 | ac_status=$? |
| 2800 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 2801 | (exit $ac_status); } | ||
| 2802 | |||
| 2803 | nigel | 53 | cat >conftest.$ac_ext <<_ACEOF |
| 2804 | nigel | 63 | /* confdefs.h. */ |
| 2805 | _ACEOF | ||
| 2806 | cat confdefs.h >>conftest.$ac_ext | ||
| 2807 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 2808 | /* end confdefs.h. */ | ||
| 2809 | nigel | 41 | |
| 2810 | nigel | 53 | int |
| 2811 | main () | ||
| 2812 | { | ||
| 2813 | |||
| 2814 | ; | ||
| 2815 | return 0; | ||
| 2816 | } | ||
| 2817 | _ACEOF | ||
| 2818 | ac_clean_files_save=$ac_clean_files | ||
| 2819 | nigel | 63 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
| 2820 | nigel | 53 | # Try to create an executable without -o first, disregard a.out. |
| 2821 | nigel | 63 | # It will help us diagnose broken compilers, and finding out an intuition |
| 2822 | nigel | 53 | # of exeext. |
| 2823 | nigel | 93 | { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
| 2824 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } | ||
| 2825 | nigel | 53 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 2826 | nigel | 93 | # |
| 2827 | # List of possible output files, starting from the most likely. | ||
| 2828 | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) | ||
| 2829 | # only as a last resort. b.out is created by i960 compilers. | ||
| 2830 | ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' | ||
| 2831 | # | ||
| 2832 | # The IRIX 6 linker writes into existing files which may not be | ||
| 2833 | # executable, retaining their permissions. Remove them first so a | ||
| 2834 | # subsequent execution test works. | ||
| 2835 | ac_rmfiles= | ||
| 2836 | for ac_file in $ac_files | ||
| 2837 | do | ||
| 2838 | case $ac_file in | ||
| 2839 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | ||
| 2840 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | ||
| 2841 | esac | ||
| 2842 | done | ||
| 2843 | rm -f $ac_rmfiles | ||
| 2844 | |||
| 2845 | if { (ac_try="$ac_link_default" | ||
| 2846 | case "(($ac_try" in | ||
| 2847 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 2848 | *) ac_try_echo=$ac_try;; | ||
| 2849 | esac | ||
| 2850 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 2851 | (eval "$ac_link_default") 2>&5 | ||
| 2852 | nigel | 53 | ac_status=$? |
| 2853 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2854 | nigel | 53 | (exit $ac_status); }; then |
| 2855 | nigel | 93 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
| 2856 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | ||
| 2857 | # in a Makefile. We should not override ac_cv_exeext if it was cached, | ||
| 2858 | # so that the user can short-circuit this test for compilers unknown to | ||
| 2859 | # Autoconf. | ||
| 2860 | ph10 | 98 | for ac_file in $ac_files '' |
| 2861 | nigel | 63 | do |
| 2862 | test -f "$ac_file" || continue | ||
| 2863 | nigel | 53 | case $ac_file in |
| 2864 | nigel | 93 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
| 2865 | nigel | 75 | ;; |
| 2866 | nigel | 63 | [ab].out ) |
| 2867 | nigel | 75 | # We found the default executable, but exeext='' is most |
| 2868 | # certainly right. | ||
| 2869 | break;; | ||
| 2870 | nigel | 63 | *.* ) |
| 2871 | nigel | 93 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
| 2872 | then :; else | ||
| 2873 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
| 2874 | fi | ||
| 2875 | # We set ac_cv_exeext here because the later test for it is not | ||
| 2876 | # safe: cross compilers may not add the suffix if given an `-o' | ||
| 2877 | # argument, so we may need to know it at that point already. | ||
| 2878 | # Even if this section looks crufty: it has the advantage of | ||
| 2879 | # actually working. | ||
| 2880 | nigel | 75 | break;; |
| 2881 | nigel | 63 | * ) |
| 2882 | nigel | 75 | break;; |
| 2883 | nigel | 53 | esac |
| 2884 | done | ||
| 2885 | nigel | 93 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
| 2886 | |||
| 2887 | nigel | 53 | else |
| 2888 | ph10 | 98 | ac_file='' |
| 2889 | fi | ||
| 2890 | |||
| 2891 | { echo "$as_me:$LINENO: result: $ac_file" >&5 | ||
| 2892 | echo "${ECHO_T}$ac_file" >&6; } | ||
| 2893 | if test -z "$ac_file"; then | ||
| 2894 | nigel | 53 | echo "$as_me: failed program was:" >&5 |
| 2895 | nigel | 63 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 2896 | |||
| 2897 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables | ||
| 2898 | See \`config.log' for more details." >&5 | ||
| 2899 | echo "$as_me: error: C compiler cannot create executables | ||
| 2900 | See \`config.log' for more details." >&2;} | ||
| 2901 | nigel | 53 | { (exit 77); exit 77; }; } |
| 2902 | fi | ||
| 2903 | |||
| 2904 | ac_exeext=$ac_cv_exeext | ||
| 2905 | |||
| 2906 | nigel | 93 | # Check that the compiler produces executables we can run. If not, either |
| 2907 | nigel | 53 | # the compiler is broken, or we cross compile. |
| 2908 | nigel | 93 | { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
| 2909 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } | ||
| 2910 | nigel | 53 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
| 2911 | # If not cross compiling, check that we can run a simple program. | ||
| 2912 | if test "$cross_compiling" != yes; then | ||
| 2913 | if { ac_try='./$ac_file' | ||
| 2914 | nigel | 93 | { (case "(($ac_try" in |
| 2915 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 2916 | *) ac_try_echo=$ac_try;; | ||
| 2917 | esac | ||
| 2918 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 2919 | (eval "$ac_try") 2>&5 | ||
| 2920 | nigel | 53 | ac_status=$? |
| 2921 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2922 | nigel | 53 | (exit $ac_status); }; }; then |
| 2923 | cross_compiling=no | ||
| 2924 | nigel | 41 | else |
| 2925 | nigel | 53 | if test "$cross_compiling" = maybe; then |
| 2926 | cross_compiling=yes | ||
| 2927 | else | ||
| 2928 | nigel | 63 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
| 2929 | If you meant to cross compile, use \`--host'. | ||
| 2930 | See \`config.log' for more details." >&5 | ||
| 2931 | nigel | 53 | echo "$as_me: error: cannot run C compiled programs. |
| 2932 | nigel | 63 | If you meant to cross compile, use \`--host'. |
| 2933 | See \`config.log' for more details." >&2;} | ||
| 2934 | nigel | 53 | { (exit 1); exit 1; }; } |
| 2935 | fi | ||
| 2936 | nigel | 41 | fi |
| 2937 | fi | ||
| 2938 | nigel | 93 | { echo "$as_me:$LINENO: result: yes" >&5 |
| 2939 | echo "${ECHO_T}yes" >&6; } | ||
| 2940 | nigel | 41 | |
| 2941 | nigel | 63 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
| 2942 | nigel | 53 | ac_clean_files=$ac_clean_files_save |
| 2943 | nigel | 93 | # Check that the compiler produces executables we can run. If not, either |
| 2944 | nigel | 53 | # the compiler is broken, or we cross compile. |
| 2945 | nigel | 93 | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
| 2946 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } | ||
| 2947 | { echo "$as_me:$LINENO: result: $cross_compiling" >&5 | ||
| 2948 | echo "${ECHO_T}$cross_compiling" >&6; } | ||
| 2949 | nigel | 53 | |
| 2950 | nigel | 93 | { echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
| 2951 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } | ||
| 2952 | if { (ac_try="$ac_link" | ||
| 2953 | case "(($ac_try" in | ||
| 2954 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 2955 | *) ac_try_echo=$ac_try;; | ||
| 2956 | esac | ||
| 2957 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 2958 | (eval "$ac_link") 2>&5 | ||
| 2959 | nigel | 53 | ac_status=$? |
| 2960 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2961 | nigel | 53 | (exit $ac_status); }; then |
| 2962 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | ||
| 2963 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | ||
| 2964 | # work properly (i.e., refer to `conftest.exe'), while it won't with | ||
| 2965 | # `rm'. | ||
| 2966 | nigel | 63 | for ac_file in conftest.exe conftest conftest.*; do |
| 2967 | test -f "$ac_file" || continue | ||
| 2968 | nigel | 53 | case $ac_file in |
| 2969 | nigel | 93 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
| 2970 | nigel | 53 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2971 | nigel | 75 | break;; |
| 2972 | nigel | 53 | * ) break;; |
| 2973 | esac | ||
| 2974 | done | ||
| 2975 | else | ||
| 2976 | nigel | 63 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
| 2977 | See \`config.log' for more details." >&5 | ||
| 2978 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | ||
| 2979 | See \`config.log' for more details." >&2;} | ||
| 2980 | nigel | 53 | { (exit 1); exit 1; }; } |
| 2981 | nigel | 41 | fi |
| 2982 | |||
| 2983 | nigel | 53 | rm -f conftest$ac_cv_exeext |
| 2984 | nigel | 93 | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
| 2985 | echo "${ECHO_T}$ac_cv_exeext" >&6; } | ||
| 2986 | nigel | 53 | |
| 2987 | rm -f conftest.$ac_ext | ||
| 2988 | EXEEXT=$ac_cv_exeext | ||
| 2989 | ac_exeext=$EXEEXT | ||
| 2990 | nigel | 93 | { echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
| 2991 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } | ||
| 2992 | nigel | 53 | if test "${ac_cv_objext+set}" = set; then |
| 2993 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2994 | nigel | 41 | else |
| 2995 | nigel | 53 | cat >conftest.$ac_ext <<_ACEOF |
| 2996 | nigel | 63 | /* confdefs.h. */ |
| 2997 | _ACEOF | ||
| 2998 | cat confdefs.h >>conftest.$ac_ext | ||
| 2999 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3000 | /* end confdefs.h. */ | ||
| 3001 | nigel | 53 | |
| 3002 | int | ||
| 3003 | main () | ||
| 3004 | { | ||
| 3005 | |||
| 3006 | ; | ||
| 3007 | return 0; | ||
| 3008 | } | ||
| 3009 | _ACEOF | ||
| 3010 | rm -f conftest.o conftest.obj | ||
| 3011 | nigel | 93 | if { (ac_try="$ac_compile" |
| 3012 | case "(($ac_try" in | ||
| 3013 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3014 | *) ac_try_echo=$ac_try;; | ||
| 3015 | esac | ||
| 3016 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 3017 | (eval "$ac_compile") 2>&5 | ||
| 3018 | nigel | 53 | ac_status=$? |
| 3019 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3020 | nigel | 53 | (exit $ac_status); }; then |
| 3021 | nigel | 93 | for ac_file in conftest.o conftest.obj conftest.*; do |
| 3022 | test -f "$ac_file" || continue; | ||
| 3023 | nigel | 53 | case $ac_file in |
| 3024 | nigel | 93 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
| 3025 | nigel | 53 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
| 3026 | break;; | ||
| 3027 | esac | ||
| 3028 | done | ||
| 3029 | nigel | 41 | else |
| 3030 | nigel | 53 | echo "$as_me: failed program was:" >&5 |
| 3031 | nigel | 63 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3032 | |||
| 3033 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | ||
| 3034 | See \`config.log' for more details." >&5 | ||
| 3035 | echo "$as_me: error: cannot compute suffix of object files: cannot compile | ||
| 3036 | See \`config.log' for more details." >&2;} | ||
| 3037 | nigel | 53 | { (exit 1); exit 1; }; } |
| 3038 | nigel | 41 | fi |
| 3039 | nigel | 53 | |
| 3040 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | ||
| 3041 | nigel | 41 | fi |
| 3042 | nigel | 93 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
| 3043 | echo "${ECHO_T}$ac_cv_objext" >&6; } | ||
| 3044 | nigel | 53 | OBJEXT=$ac_cv_objext |
| 3045 | ac_objext=$OBJEXT | ||
| 3046 | nigel | 93 | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
| 3047 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } | ||
| 3048 | nigel | 53 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
| 3049 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 3050 | else | ||
| 3051 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3052 | nigel | 63 | /* confdefs.h. */ |
| 3053 | _ACEOF | ||
| 3054 | cat confdefs.h >>conftest.$ac_ext | ||
| 3055 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3056 | /* end confdefs.h. */ | ||
| 3057 | nigel | 41 | |
| 3058 | nigel | 53 | int |
| 3059 | main () | ||
| 3060 | { | ||
| 3061 | #ifndef __GNUC__ | ||
| 3062 | choke me | ||
| 3063 | #endif | ||
| 3064 | nigel | 41 | |
| 3065 | nigel | 53 | ; |
| 3066 | return 0; | ||
| 3067 | } | ||
| 3068 | _ACEOF | ||
| 3069 | rm -f conftest.$ac_objext | ||
| 3070 | nigel | 93 | if { (ac_try="$ac_compile" |
| 3071 | case "(($ac_try" in | ||
| 3072 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3073 | *) ac_try_echo=$ac_try;; | ||
| 3074 | esac | ||
| 3075 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 3076 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3077 | nigel | 53 | ac_status=$? |
| 3078 | nigel | 75 | grep -v '^ *+' conftest.er1 >conftest.err |
| 3079 | rm -f conftest.er1 | ||
| 3080 | cat conftest.err >&5 | ||
| 3081 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3082 | ph10 | 98 | (exit $ac_status); } && { |
| 3083 | test -z "$ac_c_werror_flag" || | ||
| 3084 | test ! -s conftest.err | ||
| 3085 | } && test -s conftest.$ac_objext; then | ||
| 3086 | nigel | 53 | ac_compiler_gnu=yes |
| 3087 | nigel | 41 | else |
| 3088 | nigel | 53 | echo "$as_me: failed program was:" >&5 |
| 3089 | nigel | 63 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3090 | |||
| 3091 | nigel | 93 | ac_compiler_gnu=no |
| 3092 | nigel | 41 | fi |
| 3093 | nigel | 93 | |
| 3094 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 3095 | nigel | 53 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 3096 | nigel | 41 | |
| 3097 | nigel | 53 | fi |
| 3098 | nigel | 93 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
| 3099 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } | ||
| 3100 | nigel | 53 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
| 3101 | ac_test_CFLAGS=${CFLAGS+set} | ||
| 3102 | ac_save_CFLAGS=$CFLAGS | ||
| 3103 | nigel | 93 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
| 3104 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } | ||
| 3105 | nigel | 53 | if test "${ac_cv_prog_cc_g+set}" = set; then |
| 3106 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 3107 | nigel | 41 | else |
| 3108 | nigel | 93 | ac_save_c_werror_flag=$ac_c_werror_flag |
| 3109 | ac_c_werror_flag=yes | ||
| 3110 | ac_cv_prog_cc_g=no | ||
| 3111 | CFLAGS="-g" | ||
| 3112 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3113 | nigel | 63 | /* confdefs.h. */ |
| 3114 | _ACEOF | ||
| 3115 | cat confdefs.h >>conftest.$ac_ext | ||
| 3116 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3117 | /* end confdefs.h. */ | ||
| 3118 | nigel | 53 | |
| 3119 | int | ||
| 3120 | main () | ||
| 3121 | { | ||
| 3122 | |||
| 3123 | ; | ||
| 3124 | return 0; | ||
| 3125 | } | ||
| 3126 | _ACEOF | ||
| 3127 | rm -f conftest.$ac_objext | ||
| 3128 | nigel | 93 | if { (ac_try="$ac_compile" |
| 3129 | case "(($ac_try" in | ||
| 3130 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3131 | *) ac_try_echo=$ac_try;; | ||
| 3132 | esac | ||
| 3133 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 3134 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3135 | nigel | 53 | ac_status=$? |
| 3136 | nigel | 75 | grep -v '^ *+' conftest.er1 >conftest.err |
| 3137 | rm -f conftest.er1 | ||
| 3138 | cat conftest.err >&5 | ||
| 3139 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3140 | ph10 | 98 | (exit $ac_status); } && { |
| 3141 | test -z "$ac_c_werror_flag" || | ||
| 3142 | test ! -s conftest.err | ||
| 3143 | } && test -s conftest.$ac_objext; then | ||
| 3144 | nigel | 41 | ac_cv_prog_cc_g=yes |
| 3145 | else | ||
| 3146 | nigel | 53 | echo "$as_me: failed program was:" >&5 |
| 3147 | nigel | 63 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3148 | |||
| 3149 | nigel | 93 | CFLAGS="" |
| 3150 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3151 | /* confdefs.h. */ | ||
| 3152 | _ACEOF | ||
| 3153 | cat confdefs.h >>conftest.$ac_ext | ||
| 3154 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3155 | /* end confdefs.h. */ | ||
| 3156 | |||
| 3157 | int | ||
| 3158 | main () | ||
| 3159 | { | ||
| 3160 | |||
| 3161 | ; | ||
| 3162 | return 0; | ||
| 3163 | } | ||
| 3164 | _ACEOF | ||
| 3165 | rm -f conftest.$ac_objext | ||
| 3166 | if { (ac_try="$ac_compile" | ||
| 3167 | case "(($ac_try" in | ||
| 3168 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3169 | *) ac_try_echo=$ac_try;; | ||
| 3170 | esac | ||
| 3171 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 3172 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3173 | ac_status=$? | ||
| 3174 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3175 | rm -f conftest.er1 | ||
| 3176 | cat conftest.err >&5 | ||
| 3177 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3178 | ph10 | 98 | (exit $ac_status); } && { |
| 3179 | test -z "$ac_c_werror_flag" || | ||
| 3180 | test ! -s conftest.err | ||
| 3181 | } && test -s conftest.$ac_objext; then | ||
| 3182 | nigel | 93 | : |
| 3183 | else | ||
| 3184 | echo "$as_me: failed program was:" >&5 | ||
| 3185 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3186 | |||
| 3187 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
| 3188 | CFLAGS="-g" | ||
| 3189 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3190 | /* confdefs.h. */ | ||
| 3191 | _ACEOF | ||
| 3192 | cat confdefs.h >>conftest.$ac_ext | ||
| 3193 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3194 | /* end confdefs.h. */ | ||
| 3195 | |||
| 3196 | int | ||
| 3197 | main () | ||
| 3198 | { | ||
| 3199 | |||
| 3200 | ; | ||
| 3201 | return 0; | ||
| 3202 | } | ||
| 3203 | _ACEOF | ||
| 3204 | rm -f conftest.$ac_objext | ||
| 3205 | if { (ac_try="$ac_compile" | ||
| 3206 | case "(($ac_try" in | ||
| 3207 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3208 | *) ac_try_echo=$ac_try;; | ||
| 3209 | esac | ||
| 3210 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 3211 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3212 | ac_status=$? | ||
| 3213 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3214 | rm -f conftest.er1 | ||
| 3215 | cat conftest.err >&5 | ||
| 3216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3217 | ph10 | 98 | (exit $ac_status); } && { |
| 3218 | test -z "$ac_c_werror_flag" || | ||
| 3219 | test ! -s conftest.err | ||
| 3220 | } && test -s conftest.$ac_objext; then | ||
| 3221 | nigel | 93 | ac_cv_prog_cc_g=yes |
| 3222 | else | ||
| 3223 | echo "$as_me: failed program was:" >&5 | ||
| 3224 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3225 | |||
| 3226 | |||
| 3227 | nigel | 41 | fi |
| 3228 | nigel | 93 | |
| 3229 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 3230 | nigel | 41 | fi |
| 3231 | nigel | 93 | |
| 3232 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 3233 | fi | ||
| 3234 | |||
| 3235 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 3236 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
| 3237 | fi | ||
| 3238 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | ||
| 3239 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } | ||
| 3240 | nigel | 41 | if test "$ac_test_CFLAGS" = set; then |
| 3241 | nigel | 53 | CFLAGS=$ac_save_CFLAGS |
| 3242 | nigel | 41 | elif test $ac_cv_prog_cc_g = yes; then |
| 3243 | if test "$GCC" = yes; then | ||
| 3244 | CFLAGS="-g -O2" | ||
| 3245 | else | ||
| 3246 | CFLAGS="-g" | ||
| 3247 | fi | ||
| 3248 | else | ||
| 3249 | if test "$GCC" = yes; then | ||
| 3250 | CFLAGS="-O2" | ||
| 3251 | else | ||
| 3252 | CFLAGS= | ||
| 3253 | fi | ||
| 3254 | fi | ||
| 3255 | nigel | 93 | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
| 3256 | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } | ||
| 3257 | if test "${ac_cv_prog_cc_c89+set}" = set; then | ||
| 3258 | nigel | 63 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3259 | else | ||
| 3260 | nigel | 93 | ac_cv_prog_cc_c89=no |
| 3261 | nigel | 63 | ac_save_CC=$CC |
| 3262 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3263 | /* confdefs.h. */ | ||
| 3264 | _ACEOF | ||
| 3265 | cat confdefs.h >>conftest.$ac_ext | ||
| 3266 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3267 | /* end confdefs.h. */ | ||
| 3268 | #include <stdarg.h> | ||
| 3269 | #include <stdio.h> | ||
| 3270 | #include <sys/types.h> | ||
| 3271 | #include <sys/stat.h> | ||
| 3272 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | ||
| 3273 | struct buf { int x; }; | ||
| 3274 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | ||
| 3275 | static char *e (p, i) | ||
| 3276 | char **p; | ||
| 3277 | int i; | ||
| 3278 | { | ||
| 3279 | return p[i]; | ||
| 3280 | } | ||
| 3281 | static char *f (char * (*g) (char **, int), char **p, ...) | ||
| 3282 | { | ||
| 3283 | char *s; | ||
| 3284 | va_list v; | ||
| 3285 | va_start (v,p); | ||
| 3286 | s = g (p, va_arg (v,int)); | ||
| 3287 | va_end (v); | ||
| 3288 | return s; | ||
| 3289 | } | ||
| 3290 | nigel | 75 | |
| 3291 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | ||
| 3292 | function prototypes and stuff, but not '\xHH' hex character constants. | ||
| 3293 | These don't provoke an error unfortunately, instead are silently treated | ||
| 3294 | nigel | 93 | as 'x'. The following induces an error, until -std is added to get |
| 3295 | nigel | 75 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
| 3296 | array size at least. It's necessary to write '\x00'==0 to get something | ||
| 3297 | nigel | 93 | that's true only with -std. */ |
| 3298 | nigel | 75 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
| 3299 | |||
| 3300 | nigel | 93 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
| 3301 | inside strings and character constants. */ | ||
| 3302 | #define FOO(x) 'x' | ||
| 3303 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | ||
| 3304 | |||
| 3305 | nigel | 63 | int test (int i, double x); |
| 3306 | struct s1 {int (*f) (int a);}; | ||
| 3307 | struct s2 {int (*f) (double a);}; | ||
| 3308 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | ||
| 3309 | int argc; | ||
| 3310 | char **argv; | ||
| 3311 | int | ||
| 3312 | main () | ||
| 3313 | { | ||
| 3314 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ||
| 3315 | ; | ||
| 3316 | return 0; | ||
| 3317 | } | ||
| 3318 | _ACEOF | ||
| 3319 | nigel | 93 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
| 3320 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||
| 3321 | nigel | 63 | do |
| 3322 | CC="$ac_save_CC $ac_arg" | ||
| 3323 | rm -f conftest.$ac_objext | ||
| 3324 | nigel | 93 | if { (ac_try="$ac_compile" |
| 3325 | case "(($ac_try" in | ||
| 3326 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3327 | *) ac_try_echo=$ac_try;; | ||
| 3328 | esac | ||
| 3329 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 3330 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3331 | nigel | 63 | ac_status=$? |
| 3332 | nigel | 75 | grep -v '^ *+' conftest.er1 >conftest.err |
| 3333 | rm -f conftest.er1 | ||
| 3334 | cat conftest.err >&5 | ||
| 3335 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3336 | ph10 | 98 | (exit $ac_status); } && { |
| 3337 | test -z "$ac_c_werror_flag" || | ||
| 3338 | test ! -s conftest.err | ||
| 3339 | } && test -s conftest.$ac_objext; then | ||
| 3340 | nigel | 93 | ac_cv_prog_cc_c89=$ac_arg |
| 3341 | nigel | 63 | else |
| 3342 | echo "$as_me: failed program was:" >&5 | ||
| 3343 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3344 | |||
| 3345 | nigel | 93 | |
| 3346 | nigel | 63 | fi |
| 3347 | nigel | 93 | |
| 3348 | rm -f core conftest.err conftest.$ac_objext | ||
| 3349 | test "x$ac_cv_prog_cc_c89" != "xno" && break | ||
| 3350 | nigel | 63 | done |
| 3351 | nigel | 93 | rm -f conftest.$ac_ext |
| 3352 | nigel | 63 | CC=$ac_save_CC |
| 3353 | |||
| 3354 | fi | ||
| 3355 | nigel | 93 | # AC_CACHE_VAL |
| 3356 | case "x$ac_cv_prog_cc_c89" in | ||
| 3357 | x) | ||
| 3358 | { echo "$as_me:$LINENO: result: none needed" >&5 | ||
| 3359 | echo "${ECHO_T}none needed" >&6; } ;; | ||
| 3360 | xno) | ||
| 3361 | { echo "$as_me:$LINENO: result: unsupported" >&5 | ||
| 3362 | echo "${ECHO_T}unsupported" >&6; } ;; | ||
| 3363 | nigel | 63 | *) |
| 3364 | nigel | 93 | CC="$CC $ac_cv_prog_cc_c89" |
| 3365 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 | ||
| 3366 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; | ||
| 3367 | nigel | 63 | esac |
| 3368 | |||
| 3369 | |||
| 3370 | nigel | 53 | ac_ext=c |
| 3371 | ac_cpp='$CPP $CPPFLAGS' | ||
| 3372 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 3373 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 3374 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 3375 | ph10 | 98 | DEPDIR="${am__leading_dot}deps" |
| 3376 | nigel | 53 | |
| 3377 | ph10 | 98 | ac_config_commands="$ac_config_commands depfiles" |
| 3378 | nigel | 75 | |
| 3379 | |||
| 3380 | ph10 | 98 | am_make=${MAKE-make} |
| 3381 | cat > confinc << 'END' | ||
| 3382 | am__doit: | ||
| 3383 | @echo done | ||
| 3384 | .PHONY: am__doit | ||
| 3385 | END | ||
| 3386 | # If we don't find an include directive, just comment out the code. | ||
| 3387 | { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 | ||
| 3388 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } | ||
| 3389 | am__include="#" | ||
| 3390 | am__quote= | ||
| 3391 | _am_result=none | ||
| 3392 | # First try GNU make style include. | ||
| 3393 | echo "include confinc" > confmf | ||
| 3394 | # We grep out `Entering directory' and `Leaving directory' | ||
| 3395 | # messages which can occur if `w' ends up in MAKEFLAGS. | ||
| 3396 | # In particular we don't look at `^make:' because GNU make might | ||
| 3397 | # be invoked under some other name (usually "gmake"), in which | ||
| 3398 | # case it prints its new name instead of `make'. | ||
| 3399 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then | ||
| 3400 | am__include=include | ||
| 3401 | am__quote= | ||
| 3402 | _am_result=GNU | ||
| 3403 | fi | ||
| 3404 | # Now try BSD make style include. | ||
| 3405 | if test "$am__include" = "#"; then | ||
| 3406 | echo '.include "confinc"' > confmf | ||
| 3407 | if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then | ||
| 3408 | am__include=.include | ||
| 3409 | am__quote="\"" | ||
| 3410 | _am_result=BSD | ||
| 3411 | fi | ||
| 3412 | fi | ||
| 3413 | |||
| 3414 | |||
| 3415 | { echo "$as_me:$LINENO: result: $_am_result" >&5 | ||
| 3416 | echo "${ECHO_T}$_am_result" >&6; } | ||
| 3417 | rm -f confinc confmf | ||
| 3418 | |||
| 3419 | # Check whether --enable-dependency-tracking was given. | ||
| 3420 | if test "${enable_dependency_tracking+set}" = set; then | ||
| 3421 | enableval=$enable_dependency_tracking; | ||
| 3422 | fi | ||
| 3423 | |||
| 3424 | if test "x$enable_dependency_tracking" != xno; then | ||
| 3425 | am_depcomp="$ac_aux_dir/depcomp" | ||
| 3426 | AMDEPBACKSLASH='\' | ||
| 3427 | fi | ||
| 3428 | if test "x$enable_dependency_tracking" != xno; then | ||
| 3429 | AMDEP_TRUE= | ||
| 3430 | AMDEP_FALSE='#' | ||
| 3431 | else | ||
| 3432 | AMDEP_TRUE='#' | ||
| 3433 | AMDEP_FALSE= | ||
| 3434 | fi | ||
| 3435 | |||
| 3436 | |||
| 3437 | |||
| 3438 | depcc="$CC" am_compiler_list= | ||
| 3439 | |||
| 3440 | { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | ||
| 3441 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } | ||
| 3442 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then | ||
| 3443 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 3444 | else | ||
| 3445 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | ||
| 3446 | # We make a subdir and do the tests there. Otherwise we can end up | ||
| 3447 | # making bogus files that we don't know about and never remove. For | ||
| 3448 | # instance it was reported that on HP-UX the gcc test will end up | ||
| 3449 | # making a dummy file named `D' -- because `-MD' means `put the output | ||
| 3450 | # in D'. | ||
| 3451 | mkdir conftest.dir | ||
| 3452 | # Copy depcomp to subdir because otherwise we won't find it if we're | ||
| 3453 | # using a relative directory. | ||
| 3454 | cp "$am_depcomp" conftest.dir | ||
| 3455 | cd conftest.dir | ||
| 3456 | # We will build objects and dependencies in a subdirectory because | ||
| 3457 | # it helps to detect inapplicable dependency modes. For instance | ||
| 3458 | # both Tru64's cc and ICC support -MD to output dependencies as a | ||
| 3459 | # side effect of compilation, but ICC will put the dependencies in | ||
| 3460 | # the current directory while Tru64 will put them in the object | ||
| 3461 | # directory. | ||
| 3462 | mkdir sub | ||
| 3463 | |||
| 3464 | am_cv_CC_dependencies_compiler_type=none | ||
| 3465 | if test "$am_compiler_list" = ""; then | ||
| 3466 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | ||
| 3467 | fi | ||
| 3468 | for depmode in $am_compiler_list; do | ||
| 3469 | # Setup a source with many dependencies, because some compilers | ||
| 3470 | # like to wrap large dependency lists on column 80 (with \), and | ||
| 3471 | # we should not choose a depcomp mode which is confused by this. | ||
| 3472 | # | ||
| 3473 | # We need to recreate these files for each test, as the compiler may | ||
| 3474 | # overwrite some of them when testing with obscure command lines. | ||
| 3475 | # This happens at least with the AIX C compiler. | ||
| 3476 | : > sub/conftest.c | ||
| 3477 | for i in 1 2 3 4 5 6; do | ||
| 3478 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | ||
| 3479 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | ||
| 3480 | # Solaris 8's {/usr,}/bin/sh. | ||
| 3481 | touch sub/conftst$i.h | ||
| 3482 | done | ||
| 3483 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | ||
| 3484 | |||
| 3485 | case $depmode in | ||
| 3486 | nosideeffect) | ||
| 3487 | # after this tag, mechanisms are not by side-effect, so they'll | ||
| 3488 | # only be used when explicitly requested | ||
| 3489 | if test "x$enable_dependency_tracking" = xyes; then | ||
| 3490 | continue | ||
| 3491 | else | ||
| 3492 | break | ||
| 3493 | fi | ||
| 3494 | ;; | ||
| 3495 | none) break ;; | ||
| 3496 | esac | ||
| 3497 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | ||
| 3498 | # mode. It turns out that the SunPro C++ compiler does not properly | ||
| 3499 | # handle `-M -o', and we need to detect this. | ||
| 3500 | if depmode=$depmode \ | ||
| 3501 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | ||
| 3502 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | ||
| 3503 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | ||
| 3504 | >/dev/null 2>conftest.err && | ||
| 3505 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | ||
| 3506 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | ||
| 3507 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | ||
| 3508 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | ||
| 3509 | # icc doesn't choke on unknown options, it will just issue warnings | ||
| 3510 | # or remarks (even with -Werror). So we grep stderr for any message | ||
| 3511 | # that says an option was ignored or not supported. | ||
| 3512 | # When given -MP, icc 7.0 and 7.1 complain thusly: | ||
| 3513 | # icc: Command line warning: ignoring option '-M'; no argument required | ||
| 3514 | # The diagnosis changed in icc 8.0: | ||
| 3515 | # icc: Command line remark: option '-MP' not supported | ||
| 3516 | if (grep 'ignoring option' conftest.err || | ||
| 3517 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | ||
| 3518 | am_cv_CC_dependencies_compiler_type=$depmode | ||
| 3519 | break | ||
| 3520 | fi | ||
| 3521 | fi | ||
| 3522 | done | ||
| 3523 | |||
| 3524 | cd .. | ||
| 3525 | rm -rf conftest.dir | ||
| 3526 | else | ||
| 3527 | am_cv_CC_dependencies_compiler_type=none | ||
| 3528 | fi | ||
| 3529 | |||
| 3530 | fi | ||
| 3531 | { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 | ||
| 3532 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } | ||
| 3533 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | ||
| 3534 | |||
| 3535 | if | ||
| 3536 | test "x$enable_dependency_tracking" != xno \ | ||
| 3537 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | ||
| 3538 | am__fastdepCC_TRUE= | ||
| 3539 | am__fastdepCC_FALSE='#' | ||
| 3540 | else | ||
| 3541 | am__fastdepCC_TRUE='#' | ||
| 3542 | am__fastdepCC_FALSE= | ||
| 3543 | fi | ||
| 3544 | |||
| 3545 | |||
| 3546 | nigel | 93 | ac_ext=cpp |
| 3547 | nigel | 77 | ac_cpp='$CXXCPP $CPPFLAGS' |
| 3548 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 3549 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 3550 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | ||
| 3551 | nigel | 93 | if test -z "$CXX"; then |
| 3552 | if test -n "$CCC"; then | ||
| 3553 | CXX=$CCC | ||
| 3554 | else | ||
| 3555 | if test -n "$ac_tool_prefix"; then | ||
| 3556 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | ||
| 3557 | nigel | 77 | do |
| 3558 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | ||
| 3559 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | ||
| 3560 | nigel | 93 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3561 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | ||
| 3562 | nigel | 77 | if test "${ac_cv_prog_CXX+set}" = set; then |
| 3563 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 3564 | else | ||
| 3565 | if test -n "$CXX"; then | ||
| 3566 | ac_cv_prog_CXX="$CXX" # Let the user override the test. | ||
| 3567 | else | ||
| 3568 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 3569 | for as_dir in $PATH | ||
| 3570 | do | ||
| 3571 | IFS=$as_save_IFS | ||
| 3572 | test -z "$as_dir" && as_dir=. | ||
| 3573 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 3574 | ph10 | 98 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3575 | nigel | 77 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
| 3576 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 3577 | break 2 | ||
| 3578 | fi | ||
| 3579 | done | ||
| 3580 | done | ||
| 3581 | nigel | 93 | IFS=$as_save_IFS |
| 3582 | nigel | 77 | |
| 3583 | fi | ||
| 3584 | fi | ||
| 3585 | CXX=$ac_cv_prog_CXX | ||
| 3586 | if test -n "$CXX"; then | ||
| 3587 | nigel | 93 | { echo "$as_me:$LINENO: result: $CXX" >&5 |
| 3588 | echo "${ECHO_T}$CXX" >&6; } | ||
| 3589 | nigel | 77 | else |
| 3590 | nigel | 93 | { echo "$as_me:$LINENO: result: no" >&5 |
| 3591 | echo "${ECHO_T}no" >&6; } | ||
| 3592 | nigel | 77 | fi |
| 3593 | |||
| 3594 | nigel | 93 | |
| 3595 | nigel | 77 | test -n "$CXX" && break |
| 3596 | done | ||
| 3597 | fi | ||
| 3598 | if test -z "$CXX"; then | ||
| 3599 | ac_ct_CXX=$CXX | ||
| 3600 | nigel | 93 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
| 3601 | nigel | 77 | do |
| 3602 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
| 3603 | set dummy $ac_prog; ac_word=$2 | ||
| 3604 | nigel | 93 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3605 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | ||
| 3606 | nigel | 77 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
| 3607 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 3608 | else | ||
| 3609 | if test -n "$ac_ct_CXX"; then | ||
| 3610 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | ||
| 3611 | else | ||
| 3612 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 3613 | for as_dir in $PATH | ||
| 3614 | do | ||
| 3615 | IFS=$as_save_IFS | ||
| 3616 | test -z "$as_dir" && as_dir=. | ||
| 3617 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 3618 | ph10 | 98 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3619 | nigel | 77 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
| 3620 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 3621 | break 2 | ||
| 3622 | fi | ||
| 3623 | done | ||
| 3624 | done | ||
| 3625 | nigel | 93 | IFS=$as_save_IFS |
| 3626 | nigel | 77 | |
| 3627 | fi | ||
| 3628 | fi | ||
| 3629 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | ||
| 3630 | if test -n "$ac_ct_CXX"; then | ||
| 3631 | nigel | 93 | { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
| 3632 | echo "${ECHO_T}$ac_ct_CXX" >&6; } | ||
| 3633 | nigel | 77 | else |
| 3634 | nigel | 93 | { echo "$as_me:$LINENO: result: no" >&5 |
| 3635 | echo "${ECHO_T}no" >&6; } | ||
| 3636 | nigel | 77 | fi |
| 3637 | |||
| 3638 | nigel | 93 | |
| 3639 | nigel | 77 | test -n "$ac_ct_CXX" && break |
| 3640 | done | ||
| 3641 | |||
| 3642 | nigel | 93 | if test "x$ac_ct_CXX" = x; then |
| 3643 | CXX="g++" | ||
| 3644 | else | ||
| 3645 | case $cross_compiling:$ac_tool_warned in | ||
| 3646 | yes:) | ||
| 3647 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 3648 | whose name does not start with the host triplet. If you think this | ||
| 3649 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
| 3650 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 3651 | whose name does not start with the host triplet. If you think this | ||
| 3652 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
| 3653 | ac_tool_warned=yes ;; | ||
| 3654 | esac | ||
| 3655 | CXX=$ac_ct_CXX | ||
| 3656 | fi | ||
| 3657 | nigel | 77 | fi |
| 3658 | |||
| 3659 | nigel | 93 | fi |
| 3660 | fi | ||
| 3661 | nigel | 77 | # Provide some information about the compiler. |
| 3662 | nigel | 93 | echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
| 3663 | nigel | 77 | ac_compiler=`set X $ac_compile; echo $2` |
| 3664 | nigel | 93 | { (ac_try="$ac_compiler --version >&5" |
| 3665 | case "(($ac_try" in | ||
| 3666 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3667 | *) ac_try_echo=$ac_try;; | ||
| 3668 | esac | ||
| 3669 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 3670 | (eval "$ac_compiler --version >&5") 2>&5 | ||
| 3671 | nigel | 77 | ac_status=$? |
| 3672 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3673 | (exit $ac_status); } | ||
| 3674 | nigel | 93 | { (ac_try="$ac_compiler -v >&5" |
| 3675 | case "(($ac_try" in | ||
| 3676 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3677 | *) ac_try_echo=$ac_try;; | ||
| 3678 | esac | ||
| 3679 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 3680 | (eval "$ac_compiler -v >&5") 2>&5 | ||
| 3681 | nigel | 77 | ac_status=$? |
| 3682 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3683 | (exit $ac_status); } | ||
| 3684 | nigel | 93 | { (ac_try="$ac_compiler -V >&5" |
| 3685 | case "(($ac_try" in | ||
| 3686 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3687 | *) ac_try_echo=$ac_try;; | ||
| 3688 | esac | ||
| 3689 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 3690 | (eval "$ac_compiler -V >&5") 2>&5 | ||
| 3691 | nigel | 77 | ac_status=$? |
| 3692 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3693 | (exit $ac_status); } | ||
| 3694 | |||
| 3695 | nigel | 93 | { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
| 3696 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } | ||
| 3697 | nigel | 77 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
| 3698 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 3699 | else | ||
| 3700 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3701 | /* confdefs.h. */ | ||
| 3702 | _ACEOF | ||
| 3703 | cat confdefs.h >>conftest.$ac_ext | ||
| 3704 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3705 | /* end confdefs.h. */ | ||
| 3706 | |||
| 3707 | int | ||
| 3708 | main () | ||
| 3709 | { | ||
| 3710 | #ifndef __GNUC__ | ||
| 3711 | choke me | ||
| 3712 | #endif | ||
| 3713 | |||
| 3714 | ; | ||
| 3715 | return 0; | ||
| 3716 | } | ||
| 3717 | _ACEOF | ||
| 3718 | rm -f conftest.$ac_objext | ||
| 3719 | nigel | 93 | if { (ac_try="$ac_compile" |
| 3720 | case "(($ac_try" in | ||
| 3721 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3722 | *) ac_try_echo=$ac_try;; | ||
| 3723 | esac | ||
| 3724 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 3725 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3726 | nigel | 77 | ac_status=$? |
| 3727 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3728 | rm -f conftest.er1 | ||
| 3729 | cat conftest.err >&5 | ||
| 3730 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3731 | ph10 | 98 | (exit $ac_status); } && { |
| 3732 | test -z "$ac_cxx_werror_flag" || | ||
| 3733 | test ! -s conftest.err | ||
| 3734 | } && test -s conftest.$ac_objext; then | ||
| 3735 | nigel | 77 | ac_compiler_gnu=yes |
| 3736 | else | ||
| 3737 | echo "$as_me: failed program was:" >&5 | ||
| 3738 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3739 | |||
| 3740 | nigel | 93 | ac_compiler_gnu=no |
| 3741 | nigel | 77 | fi |
| 3742 | nigel | 93 | |
| 3743 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 3744 | nigel | 77 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
| 3745 | |||
| 3746 | fi | ||
| 3747 | nigel | 93 | { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
| 3748 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } | ||
| 3749 | nigel | 77 | GXX=`test $ac_compiler_gnu = yes && echo yes` |
| 3750 | ac_test_CXXFLAGS=${CXXFLAGS+set} | ||
| 3751 | ac_save_CXXFLAGS=$CXXFLAGS | ||
| 3752 | nigel | 93 | { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
| 3753 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } | ||
| 3754 | nigel | 77 | if test "${ac_cv_prog_cxx_g+set}" = set; then |
| 3755 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 3756 | else | ||
| 3757 | nigel | 93 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
| 3758 | ac_cxx_werror_flag=yes | ||
| 3759 | ac_cv_prog_cxx_g=no | ||
| 3760 | CXXFLAGS="-g" | ||
| 3761 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3762 | nigel | 77 | /* confdefs.h. */ |
| 3763 | _ACEOF | ||
| 3764 | cat confdefs.h >>conftest.$ac_ext | ||
| 3765 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3766 | /* end confdefs.h. */ | ||
| 3767 | |||
| 3768 | int | ||
| 3769 | main () | ||
| 3770 | { | ||
| 3771 | |||
| 3772 | ; | ||
| 3773 | return 0; | ||
| 3774 | } | ||
| 3775 | _ACEOF | ||
| 3776 | rm -f conftest.$ac_objext | ||
| 3777 | nigel | 93 | if { (ac_try="$ac_compile" |
| 3778 | case "(($ac_try" in | ||
| 3779 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3780 | *) ac_try_echo=$ac_try;; | ||
| 3781 | esac | ||
| 3782 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 3783 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3784 | nigel | 77 | ac_status=$? |
| 3785 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3786 | rm -f conftest.er1 | ||
| 3787 | cat conftest.err >&5 | ||
| 3788 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3789 | ph10 | 98 | (exit $ac_status); } && { |
| 3790 | test -z "$ac_cxx_werror_flag" || | ||
| 3791 | test ! -s conftest.err | ||
| 3792 | } && test -s conftest.$ac_objext; then | ||
| 3793 | nigel | 77 | ac_cv_prog_cxx_g=yes |
| 3794 | else | ||
| 3795 | echo "$as_me: failed program was:" >&5 | ||
| 3796 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3797 | |||
| 3798 | nigel | 93 | CXXFLAGS="" |
| 3799 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3800 | nigel | 77 | /* confdefs.h. */ |
| 3801 | _ACEOF | ||
| 3802 | cat confdefs.h >>conftest.$ac_ext | ||
| 3803 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3804 | /* end confdefs.h. */ | ||
| 3805 | nigel | 93 | |
| 3806 | nigel | 77 | int |
| 3807 | main () | ||
| 3808 | { | ||
| 3809 | nigel | 93 | |
| 3810 | nigel | 77 | ; |
| 3811 | return 0; | ||
| 3812 | } | ||
| 3813 | _ACEOF | ||
| 3814 | rm -f conftest.$ac_objext | ||
| 3815 | nigel | 93 | if { (ac_try="$ac_compile" |
| 3816 | case "(($ac_try" in | ||
| 3817 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3818 | *) ac_try_echo=$ac_try;; | ||
| 3819 | esac | ||
| 3820 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 3821 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3822 | nigel | 77 | ac_status=$? |
| 3823 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3824 | rm -f conftest.er1 | ||
| 3825 | cat conftest.err >&5 | ||
| 3826 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3827 | ph10 | 98 | (exit $ac_status); } && { |
| 3828 | test -z "$ac_cxx_werror_flag" || | ||
| 3829 | test ! -s conftest.err | ||
| 3830 | } && test -s conftest.$ac_objext; then | ||
| 3831 | nigel | 77 | : |
| 3832 | else | ||
| 3833 | echo "$as_me: failed program was:" >&5 | ||
| 3834 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3835 | |||
| 3836 | nigel | 93 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
| 3837 | CXXFLAGS="-g" | ||
| 3838 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3839 | nigel | 77 | /* confdefs.h. */ |
| 3840 | _ACEOF | ||
| 3841 | cat confdefs.h >>conftest.$ac_ext | ||
| 3842 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3843 | /* end confdefs.h. */ | ||
| 3844 | nigel | 93 | |
| 3845 | nigel | 77 | int |
| 3846 | main () | ||
| 3847 | { | ||
| 3848 | nigel | 93 | |
| 3849 | nigel | 77 | ; |
| 3850 | return 0; | ||
| 3851 | } | ||
| 3852 | _ACEOF | ||
| 3853 | rm -f conftest.$ac_objext | ||
| 3854 | nigel | 93 | if { (ac_try="$ac_compile" |
| 3855 | case "(($ac_try" in | ||
| 3856 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3857 | *) ac_try_echo=$ac_try;; | ||
| 3858 | esac | ||
| 3859 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 3860 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3861 | nigel | 77 | ac_status=$? |
| 3862 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3863 | rm -f conftest.er1 | ||
| 3864 | cat conftest.err >&5 | ||
| 3865 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3866 | ph10 | 98 | (exit $ac_status); } && { |
| 3867 | test -z "$ac_cxx_werror_flag" || | ||
| 3868 | test ! -s conftest.err | ||
| 3869 | } && test -s conftest.$ac_objext; then | ||
| 3870 | nigel | 93 | ac_cv_prog_cxx_g=yes |
| 3871 | nigel | 77 | else |
| 3872 | echo "$as_me: failed program was:" >&5 | ||
| 3873 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3874 | |||
| 3875 | nigel | 93 | |
| 3876 | nigel | 77 | fi |
| 3877 | nigel | 93 | |
| 3878 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 3879 | nigel | 77 | fi |
| 3880 | |||
| 3881 | nigel | 93 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3882 | fi | ||
| 3883 | |||
| 3884 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 3885 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag | ||
| 3886 | fi | ||
| 3887 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | ||
| 3888 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } | ||
| 3889 | if test "$ac_test_CXXFLAGS" = set; then | ||
| 3890 | CXXFLAGS=$ac_save_CXXFLAGS | ||
| 3891 | elif test $ac_cv_prog_cxx_g = yes; then | ||
| 3892 | if test "$GXX" = yes; then | ||
| 3893 | CXXFLAGS="-g -O2" | ||
| 3894 | else | ||
| 3895 | CXXFLAGS="-g" | ||
| 3896 | fi | ||
| 3897 | else | ||
| 3898 | if test "$GXX" = yes; then | ||
| 3899 | CXXFLAGS="-O2" | ||
| 3900 | else | ||
| 3901 | CXXFLAGS= | ||
| 3902 | fi | ||
| 3903 | fi | ||
| 3904 | nigel | 77 | ac_ext=c |
| 3905 | ac_cpp='$CPP $CPPFLAGS' | ||
| 3906 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 3907 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 3908 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 3909 |