Parent Directory
|
Revision Log
Load pcre-4.1 into code/trunk.
| 1 | nigel | 41 | #! /bin/sh |
| 2 | # Guess values for system-dependent variables and create Makefiles. | ||
| 3 | nigel | 63 | # Generated by GNU Autoconf 2.57. |
| 4 | nigel | 41 | # |
| 5 | nigel | 63 | # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
| 6 | nigel | 53 | # 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 | nigel | 63 | # Be Bourne compatible |
| 14 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
| 15 | emulate sh | ||
| 16 | NULLCMD=: | ||
| 17 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | ||
| 18 | # is contrary to our usage. Disable this feature. | ||
| 19 | alias -g '${1+"$@"}'='"$@"' | ||
| 20 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | ||
| 21 | set -o posix | ||
| 22 | fi | ||
| 23 | |||
| 24 | # Support unset when possible. | ||
| 25 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | ||
| 26 | as_unset=unset | ||
| 27 | else | ||
| 28 | as_unset=false | ||
| 29 | fi | ||
| 30 | |||
| 31 | |||
| 32 | # Work around bugs in pre-3.0 UWIN ksh. | ||
| 33 | $as_unset ENV MAIL MAILPATH | ||
| 34 | PS1='$ ' | ||
| 35 | PS2='> ' | ||
| 36 | PS4='+ ' | ||
| 37 | |||
| 38 | # NLS nuisances. | ||
| 39 | for as_var in \ | ||
| 40 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | ||
| 41 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | ||
| 42 | LC_TELEPHONE LC_TIME | ||
| 43 | do | ||
| 44 | if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then | ||
| 45 | eval $as_var=C; export $as_var | ||
| 46 | else | ||
| 47 | $as_unset $as_var | ||
| 48 | fi | ||
| 49 | done | ||
| 50 | |||
| 51 | # Required to use basename. | ||
| 52 | if expr a : '\(a\)' >/dev/null 2>&1; then | ||
| 53 | as_expr=expr | ||
| 54 | else | ||
| 55 | as_expr=false | ||
| 56 | fi | ||
| 57 | |||
| 58 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | ||
| 59 | as_basename=basename | ||
| 60 | else | ||
| 61 | as_basename=false | ||
| 62 | fi | ||
| 63 | |||
| 64 | |||
| 65 | # Name of the executable. | ||
| 66 | as_me=`$as_basename "$0" || | ||
| 67 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
| 68 | X"$0" : 'X\(//\)$' \| \ | ||
| 69 | X"$0" : 'X\(/\)$' \| \ | ||
| 70 | . : '\(.\)' 2>/dev/null || | ||
| 71 | echo X/"$0" | | ||
| 72 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | ||
| 73 | /^X\/\(\/\/\)$/{ s//\1/; q; } | ||
| 74 | /^X\/\(\/\).*/{ s//\1/; q; } | ||
| 75 | s/.*/./; q'` | ||
| 76 | |||
| 77 | |||
| 78 | # PATH needs CR, and LINENO needs CR and PATH. | ||
| 79 | # Avoid depending upon Character Ranges. | ||
| 80 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
| 81 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
| 82 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
| 83 | as_cr_digits='0123456789' | ||
| 84 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
| 85 | |||
| 86 | # The user is always right. | ||
| 87 | if test "${PATH_SEPARATOR+set}" != set; then | ||
| 88 | echo "#! /bin/sh" >conf$$.sh | ||
| 89 | echo "exit 0" >>conf$$.sh | ||
| 90 | chmod +x conf$$.sh | ||
| 91 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | ||
| 92 | PATH_SEPARATOR=';' | ||
| 93 | else | ||
| 94 | PATH_SEPARATOR=: | ||
| 95 | fi | ||
| 96 | rm -f conf$$.sh | ||
| 97 | fi | ||
| 98 | |||
| 99 | |||
| 100 | as_lineno_1=$LINENO | ||
| 101 | as_lineno_2=$LINENO | ||
| 102 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
| 103 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
| 104 | test "x$as_lineno_3" = "x$as_lineno_2" || { | ||
| 105 | # Find who we are. Look in the path if we contain no path at all | ||
| 106 | # relative or not. | ||
| 107 | case $0 in | ||
| 108 | *[\\/]* ) as_myself=$0 ;; | ||
| 109 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 110 | for as_dir in $PATH | ||
| 111 | do | ||
| 112 | IFS=$as_save_IFS | ||
| 113 | test -z "$as_dir" && as_dir=. | ||
| 114 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
| 115 | done | ||
| 116 | |||
| 117 | ;; | ||
| 118 | esac | ||
| 119 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
| 120 | # in which case we are not to be found in the path. | ||
| 121 | if test "x$as_myself" = x; then | ||
| 122 | as_myself=$0 | ||
| 123 | fi | ||
| 124 | if test ! -f "$as_myself"; then | ||
| 125 | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | ||
| 126 | { (exit 1); exit 1; }; } | ||
| 127 | fi | ||
| 128 | case $CONFIG_SHELL in | ||
| 129 | '') | ||
| 130 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 131 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
| 132 | do | ||
| 133 | IFS=$as_save_IFS | ||
| 134 | test -z "$as_dir" && as_dir=. | ||
| 135 | for as_base in sh bash ksh sh5; do | ||
| 136 | case $as_dir in | ||
| 137 | /*) | ||
| 138 | if ("$as_dir/$as_base" -c ' | ||
| 139 | as_lineno_1=$LINENO | ||
| 140 | as_lineno_2=$LINENO | ||
| 141 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
| 142 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
| 143 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | ||
| 144 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | ||
| 145 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | ||
| 146 | CONFIG_SHELL=$as_dir/$as_base | ||
| 147 | export CONFIG_SHELL | ||
| 148 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} | ||
| 149 | fi;; | ||
| 150 | esac | ||
| 151 | done | ||
| 152 | done | ||
| 153 | ;; | ||
| 154 | esac | ||
| 155 | |||
| 156 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
| 157 | # uniformly replaced by the line number. The first 'sed' inserts a | ||
| 158 | # line-number line before each line; the second 'sed' does the real | ||
| 159 | # work. The second script uses 'N' to pair each line-number line | ||
| 160 | # with the numbered line, and appends trailing '-' during | ||
| 161 | # substitution so that $LINENO is not a special case at line end. | ||
| 162 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
| 163 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | ||
| 164 | sed '=' <$as_myself | | ||
| 165 | sed ' | ||
| 166 | N | ||
| 167 | s,$,-, | ||
| 168 | : loop | ||
| 169 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | ||
| 170 | t loop | ||
| 171 | s,-$,, | ||
| 172 | s,^['$as_cr_digits']*\n,, | ||
| 173 | ' >$as_me.lineno && | ||
| 174 | chmod +x $as_me.lineno || | ||
| 175 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | ||
| 176 | { (exit 1); exit 1; }; } | ||
| 177 | |||
| 178 | # Don't try to exec as it changes $[0], causing all sort of problems | ||
| 179 | # (the dirname of $[0] is not the place where we might find the | ||
| 180 | # original and so on. Autoconf is especially sensible to this). | ||
| 181 | . ./$as_me.lineno | ||
| 182 | # Exit status is that of the last command. | ||
| 183 | exit | ||
| 184 | } | ||
| 185 | |||
| 186 | |||
| 187 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | ||
| 188 | *c*,-n*) ECHO_N= ECHO_C=' | ||
| 189 | ' ECHO_T=' ' ;; | ||
| 190 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | ||
| 191 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | ||
| 192 | esac | ||
| 193 | |||
| 194 | if expr a : '\(a\)' >/dev/null 2>&1; then | ||
| 195 | as_expr=expr | ||
| 196 | else | ||
| 197 | as_expr=false | ||
| 198 | fi | ||
| 199 | |||
| 200 | rm -f conf$$ conf$$.exe conf$$.file | ||
| 201 | echo >conf$$.file | ||
| 202 | if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
| 203 | # We could just check for DJGPP; but this test a) works b) is more generic | ||
| 204 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | ||
| 205 | if test -f conf$$.exe; then | ||
| 206 | # Don't use ln at all; we don't have any links | ||
| 207 | as_ln_s='cp -p' | ||
| 208 | else | ||
| 209 | as_ln_s='ln -s' | ||
| 210 | fi | ||
| 211 | elif ln conf$$.file conf$$ 2>/dev/null; then | ||
| 212 | as_ln_s=ln | ||
| 213 | else | ||
| 214 | as_ln_s='cp -p' | ||
| 215 | fi | ||
| 216 | rm -f conf$$ conf$$.exe conf$$.file | ||
| 217 | |||
| 218 | if mkdir -p . 2>/dev/null; then | ||
| 219 | as_mkdir_p=: | ||
| 220 | else | ||
| 221 | as_mkdir_p=false | ||
| 222 | fi | ||
| 223 | |||
| 224 | as_executable_p="test -f" | ||
| 225 | |||
| 226 | # Sed expression to map a string onto a valid CPP name. | ||
| 227 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | ||
| 228 | |||
| 229 | # Sed expression to map a string onto a valid variable name. | ||
| 230 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | ||
| 231 | |||
| 232 | |||
| 233 | # IFS | ||
| 234 | # We need space, tab and new line, in precisely that order. | ||
| 235 | as_nl=' | ||
| 236 | ' | ||
| 237 | IFS=" $as_nl" | ||
| 238 | |||
| 239 | # CDPATH. | ||
| 240 | $as_unset CDPATH | ||
| 241 | |||
| 242 | |||
| 243 | nigel | 53 | # Find the correct PATH separator. Usually this is `:', but |
| 244 | # DJGPP uses `;' like DOS. | ||
| 245 | if test "X${PATH_SEPARATOR+set}" != Xset; then | ||
| 246 | UNAME=${UNAME-`uname 2>/dev/null`} | ||
| 247 | case X$UNAME in | ||
| 248 | *-DOS) lt_cv_sys_path_separator=';' ;; | ||
| 249 | *) lt_cv_sys_path_separator=':' ;; | ||
| 250 | esac | ||
| 251 | fi | ||
| 252 | |||
| 253 | nigel | 63 | |
| 254 | nigel | 53 | # Check that we are running under the correct shell. |
| 255 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
| 256 | |||
| 257 | case X$ECHO in | ||
| 258 | X*--fallback-echo) | ||
| 259 | # Remove one level of quotation (which was required for Make). | ||
| 260 | ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` | ||
| 261 | ;; | ||
| 262 | esac | ||
| 263 | |||
| 264 | echo=${ECHO-echo} | ||
| 265 | if test "X$1" = X--no-reexec; then | ||
| 266 | # Discard the --no-reexec flag, and continue. | ||
| 267 | shift | ||
| 268 | elif test "X$1" = X--fallback-echo; then | ||
| 269 | # Avoid inline document here, it may be left over | ||
| 270 | : | ||
| 271 | elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then | ||
| 272 | # Yippee, $echo works! | ||
| 273 | : | ||
| 274 | else | ||
| 275 | # Restart under the correct shell. | ||
| 276 | exec $SHELL "$0" --no-reexec ${1+"$@"} | ||
| 277 | fi | ||
| 278 | |||
| 279 | if test "X$1" = X--fallback-echo; then | ||
| 280 | # used as fallback echo | ||
| 281 | shift | ||
| 282 | cat <<EOF | ||
| 283 | |||
| 284 | EOF | ||
| 285 | exit 0 | ||
| 286 | fi | ||
| 287 | |||
| 288 | # The HP-UX ksh and POSIX shell print the target directory to stdout | ||
| 289 | # if CDPATH is set. | ||
| 290 | if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi | ||
| 291 | |||
| 292 | if test -z "$ECHO"; then | ||
| 293 | if test "X${echo_test_string+set}" != Xset; then | ||
| 294 | # find a string as large as possible, as long as the shell can cope with it | ||
| 295 | for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do | ||
| 296 | # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... | ||
| 297 | if (echo_test_string="`eval $cmd`") 2>/dev/null && | ||
| 298 | echo_test_string="`eval $cmd`" && | ||
| 299 | (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null | ||
| 300 | then | ||
| 301 | break | ||
| 302 | fi | ||
| 303 | done | ||
| 304 | fi | ||
| 305 | |||
| 306 | if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && | ||
| 307 | echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && | ||
| 308 | test "X$echo_testing_string" = "X$echo_test_string"; then | ||
| 309 | : | ||
| 310 | else | ||
| 311 | # The Solaris, AIX, and Digital Unix default echo programs unquote | ||
| 312 | # backslashes. This makes it impossible to quote backslashes using | ||
| 313 | # echo "$something" | sed 's/\\/\\\\/g' | ||
| 314 | # | ||
| 315 | # So, first we look for a working echo in the user's PATH. | ||
| 316 | |||
| 317 | IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}" | ||
| 318 | for dir in $PATH /usr/ucb; do | ||
| 319 | if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && | ||
| 320 | test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && | ||
| 321 | echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && | ||
| 322 | test "X$echo_testing_string" = "X$echo_test_string"; then | ||
| 323 | echo="$dir/echo" | ||
| 324 | break | ||
| 325 | fi | ||
| 326 | done | ||
| 327 | IFS="$save_ifs" | ||
| 328 | |||
| 329 | if test "X$echo" = Xecho; then | ||
| 330 | # We didn't find a better echo, so look for alternatives. | ||
| 331 | if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && | ||
| 332 | echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && | ||
| 333 | test "X$echo_testing_string" = "X$echo_test_string"; then | ||
| 334 | # This shell has a builtin print -r that does the trick. | ||
| 335 | echo='print -r' | ||
| 336 | elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && | ||
| 337 | test "X$CONFIG_SHELL" != X/bin/ksh; then | ||
| 338 | # If we have ksh, try running configure again with it. | ||
| 339 | ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} | ||
| 340 | export ORIGINAL_CONFIG_SHELL | ||
| 341 | CONFIG_SHELL=/bin/ksh | ||
| 342 | export CONFIG_SHELL | ||
| 343 | exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} | ||
| 344 | else | ||
| 345 | # Try using printf. | ||
| 346 | echo='printf %s\n' | ||
| 347 | if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && | ||
| 348 | echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && | ||
| 349 | test "X$echo_testing_string" = "X$echo_test_string"; then | ||
| 350 | # Cool, printf works | ||
| 351 | : | ||
| 352 | elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && | ||
| 353 | test "X$echo_testing_string" = 'X\t' && | ||
| 354 | echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && | ||
| 355 | test "X$echo_testing_string" = "X$echo_test_string"; then | ||
| 356 | CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL | ||
| 357 | export CONFIG_SHELL | ||
| 358 | SHELL="$CONFIG_SHELL" | ||
| 359 | export SHELL | ||
| 360 | echo="$CONFIG_SHELL $0 --fallback-echo" | ||
| 361 | elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && | ||
| 362 | test "X$echo_testing_string" = 'X\t' && | ||
| 363 | echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && | ||
| 364 | test "X$echo_testing_string" = "X$echo_test_string"; then | ||
| 365 | echo="$CONFIG_SHELL $0 --fallback-echo" | ||
| 366 | else | ||
| 367 | # maybe with a smaller string... | ||
| 368 | prev=: | ||
| 369 | |||
| 370 | for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do | ||
| 371 | if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null | ||
| 372 | then | ||
| 373 | break | ||
| 374 | fi | ||
| 375 | prev="$cmd" | ||
| 376 | done | ||
| 377 | |||
| 378 | if test "$prev" != 'sed 50q "$0"'; then | ||
| 379 | echo_test_string=`eval $prev` | ||
| 380 | export echo_test_string | ||
| 381 | exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} | ||
| 382 | else | ||
| 383 | # Oops. We lost completely, so just stick with echo. | ||
| 384 | echo=echo | ||
| 385 | fi | ||
| 386 | fi | ||
| 387 | fi | ||
| 388 | fi | ||
| 389 | fi | ||
| 390 | fi | ||
| 391 | |||
| 392 | # Copy echo and quote the copy suitably for passing to libtool from | ||
| 393 | # the Makefile, instead of quoting the original, which is used later. | ||
| 394 | ECHO=$echo | ||
| 395 | if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then | ||
| 396 | ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" | ||
| 397 | fi | ||
| 398 | |||
| 399 | |||
| 400 | |||
| 401 | # Name of the host. | ||
| 402 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | ||
| 403 | # so uname gets run too. | ||
| 404 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | ||
| 405 | |||
| 406 | exec 6>&1 | ||
| 407 | |||
| 408 | # | ||
| 409 | # Initializations. | ||
| 410 | # | ||
| 411 | nigel | 41 | ac_default_prefix=/usr/local |
| 412 | nigel | 63 | ac_config_libobj_dir=. |
| 413 | nigel | 53 | cross_compiling=no |
| 414 | subdirs= | ||
| 415 | nigel | 63 | MFLAGS= |
| 416 | MAKEFLAGS= | ||
| 417 | nigel | 53 | SHELL=${CONFIG_SHELL-/bin/sh} |
| 418 | nigel | 41 | |
| 419 | nigel | 53 | # Maximum number of lines to put in a shell here document. |
| 420 | # This variable seems obsolete. It should probably be removed, and | ||
| 421 | # only ac_max_sed_lines should be used. | ||
| 422 | : ${ac_max_here_lines=38} | ||
| 423 | |||
| 424 | nigel | 63 | # Identity of this package. |
| 425 | PACKAGE_NAME= | ||
| 426 | PACKAGE_TARNAME= | ||
| 427 | PACKAGE_VERSION= | ||
| 428 | PACKAGE_STRING= | ||
| 429 | PACKAGE_BUGREPORT= | ||
| 430 | nigel | 53 | |
| 431 | ac_unique_file="dftables.c" | ||
| 432 | # Factoring default headers for most tests. | ||
| 433 | ac_includes_default="\ | ||
| 434 | #include <stdio.h> | ||
| 435 | nigel | 63 | #if HAVE_SYS_TYPES_H |
| 436 | # include <sys/types.h> | ||
| 437 | #endif | ||
| 438 | #if HAVE_SYS_STAT_H | ||
| 439 | # include <sys/stat.h> | ||
| 440 | #endif | ||
| 441 | nigel | 53 | #if STDC_HEADERS |
| 442 | # include <stdlib.h> | ||
| 443 | # include <stddef.h> | ||
| 444 | #else | ||
| 445 | # if HAVE_STDLIB_H | ||
| 446 | # include <stdlib.h> | ||
| 447 | # endif | ||
| 448 | #endif | ||
| 449 | #if HAVE_STRING_H | ||
| 450 | # if !STDC_HEADERS && HAVE_MEMORY_H | ||
| 451 | # include <memory.h> | ||
| 452 | # endif | ||
| 453 | # include <string.h> | ||
| 454 | #endif | ||
| 455 | nigel | 63 | #if HAVE_STRINGS_H |
| 456 | # include <strings.h> | ||
| 457 | #endif | ||
| 458 | nigel | 53 | #if HAVE_INTTYPES_H |
| 459 | # include <inttypes.h> | ||
| 460 | nigel | 63 | #else |
| 461 | # if HAVE_STDINT_H | ||
| 462 | # include <stdint.h> | ||
| 463 | # endif | ||
| 464 | nigel | 53 | #endif |
| 465 | #if HAVE_UNISTD_H | ||
| 466 | # include <unistd.h> | ||
| 467 | #endif" | ||
| 468 | |||
| 469 | nigel | 65 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CPP EGREP LIBTOOL CC_FOR_BUILD CFLAGS_FOR_BUILD HAVE_MEMMOVE HAVE_STRERROR LINK_SIZE MATCH_LIMIT NEWLINE PCRE_MAJOR PCRE_MINOR PCRE_DATE PCRE_VERSION PCRE_LIB_VERSION PCRE_POSIXLIB_VERSION POSIX_MALLOC_THRESHOLD UTF8 POSIX_OBJ POSIX_LOBJ POSIX_LIB LIBOBJS LTLIBOBJS' |
| 470 | nigel | 63 | ac_subst_files='' |
| 471 | |||
| 472 | nigel | 41 | # Initialize some variables set by options. |
| 473 | nigel | 53 | ac_init_help= |
| 474 | ac_init_version=false | ||
| 475 | nigel | 41 | # The variables have the same names as the options, with |
| 476 | # dashes changed to underlines. | ||
| 477 | nigel | 53 | cache_file=/dev/null |
| 478 | nigel | 41 | exec_prefix=NONE |
| 479 | no_create= | ||
| 480 | no_recursion= | ||
| 481 | prefix=NONE | ||
| 482 | program_prefix=NONE | ||
| 483 | program_suffix=NONE | ||
| 484 | program_transform_name=s,x,x, | ||
| 485 | silent= | ||
| 486 | site= | ||
| 487 | srcdir= | ||
| 488 | verbose= | ||
| 489 | x_includes=NONE | ||
| 490 | x_libraries=NONE | ||
| 491 | nigel | 53 | |
| 492 | # Installation directory options. | ||
| 493 | # These are left unexpanded so users can "make install exec_prefix=/foo" | ||
| 494 | # and all the variables that are supposed to be based on exec_prefix | ||
| 495 | # by default will actually change. | ||
| 496 | # Use braces instead of parens because sh, perl, etc. also accept them. | ||
| 497 | nigel | 41 | bindir='${exec_prefix}/bin' |
| 498 | sbindir='${exec_prefix}/sbin' | ||
| 499 | libexecdir='${exec_prefix}/libexec' | ||
| 500 | datadir='${prefix}/share' | ||
| 501 | sysconfdir='${prefix}/etc' | ||
| 502 | sharedstatedir='${prefix}/com' | ||
| 503 | localstatedir='${prefix}/var' | ||
| 504 | libdir='${exec_prefix}/lib' | ||
| 505 | includedir='${prefix}/include' | ||
| 506 | oldincludedir='/usr/include' | ||
| 507 | infodir='${prefix}/info' | ||
| 508 | mandir='${prefix}/man' | ||
| 509 | |||
| 510 | ac_prev= | ||
| 511 | for ac_option | ||
| 512 | do | ||
| 513 | # If the previous option needs an argument, assign it. | ||
| 514 | if test -n "$ac_prev"; then | ||
| 515 | eval "$ac_prev=\$ac_option" | ||
| 516 | ac_prev= | ||
| 517 | continue | ||
| 518 | fi | ||
| 519 | |||
| 520 | nigel | 53 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
| 521 | nigel | 41 | |
| 522 | # Accept the important Cygnus configure options, so we can diagnose typos. | ||
| 523 | |||
| 524 | nigel | 53 | case $ac_option in |
| 525 | nigel | 41 | |
| 526 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | ||
| 527 | ac_prev=bindir ;; | ||
| 528 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | ||
| 529 | nigel | 53 | bindir=$ac_optarg ;; |
| 530 | nigel | 41 | |
| 531 | -build | --build | --buil | --bui | --bu) | ||
| 532 | nigel | 53 | ac_prev=build_alias ;; |
| 533 | nigel | 41 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
| 534 | nigel | 53 | build_alias=$ac_optarg ;; |
| 535 | nigel | 41 | |
| 536 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | ||
| 537 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | ||
| 538 | ac_prev=cache_file ;; | ||
| 539 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | ||
| 540 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | ||
| 541 | nigel | 53 | cache_file=$ac_optarg ;; |
| 542 | nigel | 41 | |
| 543 | nigel | 53 | --config-cache | -C) |
| 544 | cache_file=config.cache ;; | ||
| 545 | |||
| 546 | nigel | 41 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
| 547 | ac_prev=datadir ;; | ||
| 548 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | ||
| 549 | | --da=*) | ||
| 550 | nigel | 53 | datadir=$ac_optarg ;; |
| 551 | nigel | 41 | |
| 552 | -disable-* | --disable-*) | ||
| 553 | nigel | 53 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 554 | nigel | 41 | # Reject names that are not valid shell variable names. |
| 555 | nigel | 63 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 556 | nigel | 53 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
| 557 | { (exit 1); exit 1; }; } | ||
| 558 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | ||
| 559 | eval "enable_$ac_feature=no" ;; | ||
| 560 | nigel | 41 | |
| 561 | -enable-* | --enable-*) | ||
| 562 | nigel | 53 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 563 | nigel | 41 | # Reject names that are not valid shell variable names. |
| 564 | nigel | 63 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 565 | nigel | 53 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
| 566 | { (exit 1); exit 1; }; } | ||
| 567 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | ||
| 568 | case $ac_option in | ||
| 569 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | ||
| 570 | nigel | 41 | *) ac_optarg=yes ;; |
| 571 | esac | ||
| 572 | nigel | 53 | eval "enable_$ac_feature='$ac_optarg'" ;; |
| 573 | nigel | 41 | |
| 574 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | ||
| 575 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | ||
| 576 | | --exec | --exe | --ex) | ||
| 577 | ac_prev=exec_prefix ;; | ||
| 578 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | ||
| 579 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | ||
| 580 | | --exec=* | --exe=* | --ex=*) | ||
| 581 | nigel | 53 | exec_prefix=$ac_optarg ;; |
| 582 | nigel | 41 | |
| 583 | -gas | --gas | --ga | --g) | ||
| 584 | # Obsolete; use --with-gas. | ||
| 585 | with_gas=yes ;; | ||
| 586 | |||
| 587 | nigel | 53 | -help | --help | --hel | --he | -h) |
| 588 | ac_init_help=long ;; | ||
| 589 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | ||
| 590 | ac_init_help=recursive ;; | ||
| 591 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | ||
| 592 | ac_init_help=short ;; | ||
| 593 | nigel | 41 | |
| 594 | -host | --host | --hos | --ho) | ||
| 595 | nigel | 53 | ac_prev=host_alias ;; |
| 596 | nigel | 41 | -host=* | --host=* | --hos=* | --ho=*) |
| 597 | nigel | 53 | host_alias=$ac_optarg ;; |
| 598 | nigel | 41 | |
| 599 | -includedir | --includedir | --includedi | --included | --include \ | ||
| 600 | | --includ | --inclu | --incl | --inc) | ||
| 601 | ac_prev=includedir ;; | ||
| 602 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | ||
| 603 | | --includ=* | --inclu=* | --incl=* | --inc=*) | ||
| 604 | nigel | 53 | includedir=$ac_optarg ;; |
| 605 | nigel | 41 | |
| 606 | -infodir | --infodir | --infodi | --infod | --info | --inf) | ||
| 607 | ac_prev=infodir ;; | ||
| 608 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | ||
| 609 | nigel | 53 | infodir=$ac_optarg ;; |
| 610 | nigel | 41 | |
| 611 | -libdir | --libdir | --libdi | --libd) | ||
| 612 | ac_prev=libdir ;; | ||
| 613 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | ||
| 614 | nigel | 53 | libdir=$ac_optarg ;; |
| 615 | nigel | 41 | |
| 616 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | ||
| 617 | | --libexe | --libex | --libe) | ||
| 618 | ac_prev=libexecdir ;; | ||
| 619 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | ||
| 620 | | --libexe=* | --libex=* | --libe=*) | ||
| 621 | nigel | 53 | libexecdir=$ac_optarg ;; |
| 622 | nigel | 41 | |
| 623 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | ||
| 624 | | --localstate | --localstat | --localsta | --localst \ | ||
| 625 | | --locals | --local | --loca | --loc | --lo) | ||
| 626 | ac_prev=localstatedir ;; | ||
| 627 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | ||
| 628 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | ||
| 629 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | ||
| 630 | nigel | 53 | localstatedir=$ac_optarg ;; |
| 631 | nigel | 41 | |
| 632 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | ||
| 633 | ac_prev=mandir ;; | ||
| 634 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | ||
| 635 | nigel | 53 | mandir=$ac_optarg ;; |
| 636 | nigel | 41 | |
| 637 | -nfp | --nfp | --nf) | ||
| 638 | # Obsolete; use --without-fp. | ||
| 639 | with_fp=no ;; | ||
| 640 | |||
| 641 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | ||
| 642 | nigel | 63 | | --no-cr | --no-c | -n) |
| 643 | nigel | 41 | no_create=yes ;; |
| 644 | |||
| 645 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | ||
| 646 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | ||
| 647 | no_recursion=yes ;; | ||
| 648 | |||
| 649 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | ||
| 650 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | ||
| 651 | | --oldin | --oldi | --old | --ol | --o) | ||
| 652 | ac_prev=oldincludedir ;; | ||
| 653 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | ||
| 654 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | ||
| 655 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | ||
| 656 | nigel | 53 | oldincludedir=$ac_optarg ;; |
| 657 | nigel | 41 | |
| 658 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | ||
| 659 | ac_prev=prefix ;; | ||
| 660 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | ||
| 661 | nigel | 53 | prefix=$ac_optarg ;; |
| 662 | nigel | 41 | |
| 663 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | ||
| 664 | | --program-pre | --program-pr | --program-p) | ||
| 665 | ac_prev=program_prefix ;; | ||
| 666 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | ||
| 667 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | ||
| 668 | nigel | 53 | program_prefix=$ac_optarg ;; |
| 669 | nigel | 41 | |
| 670 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | ||
| 671 | | --program-suf | --program-su | --program-s) | ||
| 672 | ac_prev=program_suffix ;; | ||
| 673 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | ||
| 674 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | ||
| 675 | nigel | 53 | program_suffix=$ac_optarg ;; |
| 676 | nigel | 41 | |
| 677 | -program-transform-name | --program-transform-name \ | ||
| 678 | | --program-transform-nam | --program-transform-na \ | ||
| 679 | | --program-transform-n | --program-transform- \ | ||
| 680 | | --program-transform | --program-transfor \ | ||
| 681 | | --program-transfo | --program-transf \ | ||
| 682 | | --program-trans | --program-tran \ | ||
| 683 | | --progr-tra | --program-tr | --program-t) | ||
| 684 | ac_prev=program_transform_name ;; | ||
| 685 | -program-transform-name=* | --program-transform-name=* \ | ||
| 686 | | --program-transform-nam=* | --program-transform-na=* \ | ||
| 687 | | --program-transform-n=* | --program-transform-=* \ | ||
| 688 | | --program-transform=* | --program-transfor=* \ | ||
| 689 | | --program-transfo=* | --program-transf=* \ | ||
| 690 | | --program-trans=* | --program-tran=* \ | ||
| 691 | | --progr-tra=* | --program-tr=* | --program-t=*) | ||
| 692 | nigel | 53 | program_transform_name=$ac_optarg ;; |
| 693 | nigel | 41 | |
| 694 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
| 695 | | -silent | --silent | --silen | --sile | --sil) | ||
| 696 | silent=yes ;; | ||
| 697 | |||
| 698 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | ||
| 699 | ac_prev=sbindir ;; | ||
| 700 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | ||
| 701 | | --sbi=* | --sb=*) | ||
| 702 | nigel | 53 | sbindir=$ac_optarg ;; |
| 703 | nigel | 41 | |
| 704 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | ||
| 705 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | ||
| 706 | | --sharedst | --shareds | --shared | --share | --shar \ | ||
| 707 | | --sha | --sh) | ||
| 708 | ac_prev=sharedstatedir ;; | ||
| 709 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | ||
| 710 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | ||
| 711 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | ||
| 712 | | --sha=* | --sh=*) | ||
| 713 | nigel | 53 | sharedstatedir=$ac_optarg ;; |
| 714 | nigel | 41 | |
| 715 | -site | --site | --sit) | ||
| 716 | ac_prev=site ;; | ||
| 717 | -site=* | --site=* | --sit=*) | ||
| 718 | nigel | 53 | site=$ac_optarg ;; |
| 719 | nigel | 41 | |
| 720 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | ||
| 721 | ac_prev=srcdir ;; | ||
| 722 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | ||
| 723 | nigel | 53 | srcdir=$ac_optarg ;; |
| 724 | nigel | 41 | |
| 725 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | ||
| 726 | | --syscon | --sysco | --sysc | --sys | --sy) | ||
| 727 | ac_prev=sysconfdir ;; | ||
| 728 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | ||
| 729 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | ||
| 730 | nigel | 53 | sysconfdir=$ac_optarg ;; |
| 731 | nigel | 41 | |
| 732 | -target | --target | --targe | --targ | --tar | --ta | --t) | ||
| 733 | nigel | 53 | ac_prev=target_alias ;; |
| 734 | nigel | 41 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
| 735 | nigel | 53 | target_alias=$ac_optarg ;; |
| 736 | nigel | 41 | |
| 737 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | ||
| 738 | verbose=yes ;; | ||
| 739 | |||
| 740 | nigel | 53 | -version | --version | --versio | --versi | --vers | -V) |
| 741 | ac_init_version=: ;; | ||
| 742 | nigel | 41 | |
| 743 | -with-* | --with-*) | ||
| 744 | nigel | 53 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 745 | nigel | 41 | # Reject names that are not valid shell variable names. |
| 746 | nigel | 63 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 747 | nigel | 53 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
| 748 | { (exit 1); exit 1; }; } | ||
| 749 | nigel | 41 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
| 750 | nigel | 53 | case $ac_option in |
| 751 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | ||
| 752 | nigel | 41 | *) ac_optarg=yes ;; |
| 753 | esac | ||
| 754 | nigel | 53 | eval "with_$ac_package='$ac_optarg'" ;; |
| 755 | nigel | 41 | |
| 756 | -without-* | --without-*) | ||
| 757 | nigel | 53 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 758 | nigel | 41 | # Reject names that are not valid shell variable names. |
| 759 | nigel | 63 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 760 | nigel | 53 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
| 761 | { (exit 1); exit 1; }; } | ||
| 762 | ac_package=`echo $ac_package | sed 's/-/_/g'` | ||
| 763 | eval "with_$ac_package=no" ;; | ||
| 764 | nigel | 41 | |
| 765 | --x) | ||
| 766 | # Obsolete; use --with-x. | ||
| 767 | with_x=yes ;; | ||
| 768 | |||
| 769 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | ||
| 770 | | --x-incl | --x-inc | --x-in | --x-i) | ||
| 771 | ac_prev=x_includes ;; | ||
| 772 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | ||
| 773 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | ||
| 774 | nigel | 53 | x_includes=$ac_optarg ;; |
| 775 | nigel | 41 | |
| 776 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | ||
| 777 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | ||
| 778 | ac_prev=x_libraries ;; | ||
| 779 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | ||
| 780 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | ||
| 781 | nigel | 53 | x_libraries=$ac_optarg ;; |
| 782 | nigel | 41 | |
| 783 | nigel | 53 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
| 784 | Try \`$0 --help' for more information." >&2 | ||
| 785 | { (exit 1); exit 1; }; } | ||
| 786 | nigel | 41 | ;; |
| 787 | |||
| 788 | nigel | 53 | *=*) |
| 789 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | ||
| 790 | # Reject names that are not valid shell variable names. | ||
| 791 | nigel | 63 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
| 792 | nigel | 53 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
| 793 | { (exit 1); exit 1; }; } | ||
| 794 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | ||
| 795 | eval "$ac_envvar='$ac_optarg'" | ||
| 796 | export $ac_envvar ;; | ||
| 797 | |||
| 798 | nigel | 41 | *) |
| 799 | nigel | 53 | # FIXME: should be removed in autoconf 3.0. |
| 800 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | ||
| 801 | nigel | 63 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 802 | nigel | 53 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 803 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | ||
| 804 | nigel | 41 | ;; |
| 805 | |||
| 806 | esac | ||
| 807 | done | ||
| 808 | |||
| 809 | if test -n "$ac_prev"; then | ||
| 810 | nigel | 53 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 811 | { echo "$as_me: error: missing argument to $ac_option" >&2 | ||
| 812 | { (exit 1); exit 1; }; } | ||
| 813 | nigel | 41 | fi |
| 814 | |||
| 815 | nigel | 53 | # Be sure to have absolute paths. |
| 816 | nigel | 63 | for ac_var in exec_prefix prefix |
| 817 | do | ||
| 818 | eval ac_val=$`echo $ac_var` | ||
| 819 | case $ac_val in | ||
| 820 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | ||
| 821 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | ||
| 822 | { (exit 1); exit 1; }; };; | ||
| 823 | esac | ||
| 824 | done | ||
| 825 | |||
| 826 | # Be sure to have absolute paths. | ||
| 827 | nigel | 53 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
| 828 | nigel | 63 | localstatedir libdir includedir oldincludedir infodir mandir |
| 829 | nigel | 41 | do |
| 830 | nigel | 53 | eval ac_val=$`echo $ac_var` |
| 831 | case $ac_val in | ||
| 832 | [\\/$]* | ?:[\\/]* ) ;; | ||
| 833 | nigel | 63 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
| 834 | nigel | 53 | { (exit 1); exit 1; }; };; |
| 835 | nigel | 41 | esac |
| 836 | done | ||
| 837 | |||
| 838 | nigel | 53 | # There might be people who depend on the old broken behavior: `$host' |
| 839 | # used to hold the argument of --host etc. | ||
| 840 | nigel | 63 | # FIXME: To remove some day. |
| 841 | nigel | 53 | build=$build_alias |
| 842 | host=$host_alias | ||
| 843 | target=$target_alias | ||
| 844 | nigel | 41 | |
| 845 | nigel | 63 | # FIXME: To remove some day. |
| 846 | nigel | 53 | if test "x$host_alias" != x; then |
| 847 | if test "x$build_alias" = x; then | ||
| 848 | cross_compiling=maybe | ||
| 849 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | ||
| 850 | If a cross compiler is detected then cross compile mode will be used." >&2 | ||
| 851 | elif test "x$build_alias" != "x$host_alias"; then | ||
| 852 | cross_compiling=yes | ||
| 853 | fi | ||
| 854 | fi | ||
| 855 | nigel | 41 | |
| 856 | nigel | 53 | ac_tool_prefix= |
| 857 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | ||
| 858 | nigel | 41 | |
| 859 | nigel | 53 | test "$silent" = yes && exec 6>/dev/null |
| 860 | |||
| 861 | nigel | 63 | |
| 862 | nigel | 41 | # Find the source files, if location was not specified. |
| 863 | if test -z "$srcdir"; then | ||
| 864 | ac_srcdir_defaulted=yes | ||
| 865 | # Try the directory containing this script, then its parent. | ||
| 866 | nigel | 63 | ac_confdir=`(dirname "$0") 2>/dev/null || |
| 867 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 868 | X"$0" : 'X\(//\)[^/]' \| \ | ||
| 869 | X"$0" : 'X\(//\)$' \| \ | ||
| 870 | X"$0" : 'X\(/\)' \| \ | ||
| 871 | . : '\(.\)' 2>/dev/null || | ||
| 872 | echo X"$0" | | ||
| 873 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
| 874 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
| 875 | /^X\(\/\/\)$/{ s//\1/; q; } | ||
| 876 | /^X\(\/\).*/{ s//\1/; q; } | ||
| 877 | s/.*/./; q'` | ||
| 878 | nigel | 41 | srcdir=$ac_confdir |
| 879 | if test ! -r $srcdir/$ac_unique_file; then | ||
| 880 | srcdir=.. | ||
| 881 | fi | ||
| 882 | else | ||
| 883 | ac_srcdir_defaulted=no | ||
| 884 | fi | ||
| 885 | if test ! -r $srcdir/$ac_unique_file; then | ||
| 886 | if test "$ac_srcdir_defaulted" = yes; then | ||
| 887 | nigel | 63 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
| 888 | nigel | 53 | { (exit 1); exit 1; }; } |
| 889 | nigel | 41 | else |
| 890 | nigel | 63 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
| 891 | nigel | 53 | { (exit 1); exit 1; }; } |
| 892 | nigel | 41 | fi |
| 893 | fi | ||
| 894 | nigel | 63 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
| 895 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | ||
| 896 | { (exit 1); exit 1; }; } | ||
| 897 | nigel | 53 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
| 898 | ac_env_build_alias_set=${build_alias+set} | ||
| 899 | ac_env_build_alias_value=$build_alias | ||
| 900 | ac_cv_env_build_alias_set=${build_alias+set} | ||
| 901 | ac_cv_env_build_alias_value=$build_alias | ||
| 902 | ac_env_host_alias_set=${host_alias+set} | ||
| 903 | ac_env_host_alias_value=$host_alias | ||
| 904 | ac_cv_env_host_alias_set=${host_alias+set} | ||
| 905 | ac_cv_env_host_alias_value=$host_alias | ||
| 906 | ac_env_target_alias_set=${target_alias+set} | ||
| 907 | ac_env_target_alias_value=$target_alias | ||
| 908 | ac_cv_env_target_alias_set=${target_alias+set} | ||
| 909 | ac_cv_env_target_alias_value=$target_alias | ||
| 910 | ac_env_CC_set=${CC+set} | ||
| 911 | ac_env_CC_value=$CC | ||
| 912 | ac_cv_env_CC_set=${CC+set} | ||
| 913 | ac_cv_env_CC_value=$CC | ||
| 914 | ac_env_CFLAGS_set=${CFLAGS+set} | ||
| 915 | ac_env_CFLAGS_value=$CFLAGS | ||
| 916 | ac_cv_env_CFLAGS_set=${CFLAGS+set} | ||
| 917 | ac_cv_env_CFLAGS_value=$CFLAGS | ||
| 918 | ac_env_LDFLAGS_set=${LDFLAGS+set} | ||
| 919 | ac_env_LDFLAGS_value=$LDFLAGS | ||
| 920 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | ||
| 921 | ac_cv_env_LDFLAGS_value=$LDFLAGS | ||
| 922 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} | ||
| 923 | ac_env_CPPFLAGS_value=$CPPFLAGS | ||
| 924 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | ||
| 925 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS | ||
| 926 | ac_env_CPP_set=${CPP+set} | ||
| 927 | ac_env_CPP_value=$CPP | ||
| 928 | ac_cv_env_CPP_set=${CPP+set} | ||
| 929 | ac_cv_env_CPP_value=$CPP | ||
| 930 | nigel | 41 | |
| 931 | nigel | 53 | # |
| 932 | # Report the --help message. | ||
| 933 | # | ||
| 934 | if test "$ac_init_help" = "long"; then | ||
| 935 | # Omit some internal or obsolete options to make the list less imposing. | ||
| 936 | # The list generated by autoconf has been trimmed to remove many | ||
| 937 | # options that are totally irrelevant to PCRE (e.g. relating to X), | ||
| 938 | # or are not supported by its Makefile. | ||
| 939 | nigel | 63 | # The list generated by autoconf has been trimmed to remove many |
| 940 | # options that are totally irrelevant to PCRE (e.g. relating to X), | ||
| 941 | # or are not supported by its Makefile. | ||
| 942 | nigel | 53 | # This message is too long to be a string in the A/UX 3.1 sh. |
| 943 | nigel | 63 | cat <<_ACEOF |
| 944 | nigel | 53 | \`configure' configures this package to adapt to many kinds of systems. |
| 945 | |||
| 946 | Usage: $0 [OPTION]... [VAR=VALUE]... | ||
| 947 | |||
| 948 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | ||
| 949 | VAR=VALUE. See below for descriptions of some of the useful variables. | ||
| 950 | |||
| 951 | Defaults for the options are specified in brackets. | ||
| 952 | |||
| 953 | Configuration: | ||
| 954 | -h, --help display this help and exit | ||
| 955 | --help=short display options specific to this package | ||
| 956 | --help=recursive display the short help of all the included packages | ||
| 957 | -V, --version display version information and exit | ||
| 958 | -q, --quiet, --silent do not print \`checking...' messages | ||
| 959 | --cache-file=FILE cache test results in FILE [disabled] | ||
| 960 | -C, --config-cache alias for \`--cache-file=config.cache' | ||
| 961 | -n, --no-create do not create output files | ||
| 962 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | ||
| 963 | |||
| 964 | nigel | 63 | _ACEOF |
| 965 | nigel | 53 | |
| 966 | nigel | 63 | cat <<_ACEOF |
| 967 | nigel | 53 | Installation directories: |
| 968 | --prefix=PREFIX install architecture-independent files in PREFIX | ||
| 969 | [$ac_default_prefix] | ||
| 970 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | ||
| 971 | [PREFIX] | ||
| 972 | |||
| 973 | By default, \`make install' will install all the files in | ||
| 974 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | ||
| 975 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | ||
| 976 | for instance \`--prefix=\$HOME'. | ||
| 977 | |||
| 978 | For better control, use the options below. | ||
| 979 | |||
| 980 | Fine tuning of the installation directories: | ||
| 981 | --bindir=DIR user executables [EPREFIX/bin] | ||
| 982 | --libdir=DIR object code libraries [EPREFIX/lib] | ||
| 983 | --includedir=DIR C header files [PREFIX/include] | ||
| 984 | --mandir=DIR man documentation [PREFIX/man] | ||
| 985 | nigel | 63 | _ACEOF |
| 986 | nigel | 53 | |
| 987 | nigel | 63 | cat <<\_ACEOF |
| 988 | nigel | 53 | |
| 989 | nigel | 63 | _ACEOF |
| 990 | nigel | 53 | fi |
| 991 | |||
| 992 | if test -n "$ac_init_help"; then | ||
| 993 | |||
| 994 | nigel | 63 | cat <<\_ACEOF |
| 995 | nigel | 53 | |
| 996 | Optional Features: | ||
| 997 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | ||
| 998 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | ||
| 999 | --enable-shared build shared libraries default=yes | ||
| 1000 | --enable-static build static libraries default=yes | ||
| 1001 | --enable-fast-install optimize for fast installation default=yes | ||
| 1002 | --disable-libtool-lock avoid locking (might break parallel builds) | ||
| 1003 | nigel | 63 | --enable-utf8 enable UTF8 support |
| 1004 | --enable-newline-is-cr use CR as the newline character | ||
| 1005 | --enable-newline-is-lf use LF as the newline character | ||
| 1006 | nigel | 53 | |
| 1007 | Optional Packages: | ||
| 1008 | --with-gnu-ld assume the C compiler uses GNU ld default=no | ||
| 1009 | --with-pic try to use only PIC/non-PIC objects default=use both | ||
| 1010 | nigel | 63 | --with-posix-malloc-threshold=5 threshold for POSIX malloc usage |
| 1011 | --with-link-size=2 internal link size (2, 3, or 4 allowed) | ||
| 1012 | --with-match-limit=10000000 default limit on internal looping) | ||
| 1013 | nigel | 53 | |
| 1014 | Some influential environment variables: | ||
| 1015 | CC C compiler command | ||
| 1016 | CFLAGS C compiler flags | ||
| 1017 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | ||
| 1018 | nonstandard directory <lib dir> | ||
| 1019 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | ||
| 1020 | headers in a nonstandard directory <include dir> | ||
| 1021 | CPP C preprocessor | ||
| 1022 | |||
| 1023 | Use these variables to override the choices made by `configure' or to help | ||
| 1024 | it to find libraries and programs with nonstandard names/locations. | ||
| 1025 | |||
| 1026 | nigel | 63 | _ACEOF |
| 1027 | nigel | 53 | fi |
| 1028 | |||
| 1029 | if test "$ac_init_help" = "recursive"; then | ||
| 1030 | # If there are subdirs, report their specific --help. | ||
| 1031 | ac_popdir=`pwd` | ||
| 1032 | nigel | 63 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
| 1033 | test -d $ac_dir || continue | ||
| 1034 | ac_builddir=. | ||
| 1035 | nigel | 53 | |
| 1036 | nigel | 63 | if test "$ac_dir" != .; then |
| 1037 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | ||
| 1038 | # A "../" for each directory in $ac_dir_suffix. | ||
| 1039 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | ||
| 1040 | else | ||
| 1041 | ac_dir_suffix= ac_top_builddir= | ||
| 1042 | fi | ||
| 1043 | nigel | 53 | |
| 1044 | nigel | 63 | case $srcdir in |
| 1045 | .) # No --srcdir option. We are building in place. | ||
| 1046 | ac_srcdir=. | ||
| 1047 | if test -z "$ac_top_builddir"; then | ||
| 1048 | ac_top_srcdir=. | ||
| 1049 | else | ||
| 1050 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | ||
| 1051 | fi ;; | ||
| 1052 | [\\/]* | ?:[\\/]* ) # Absolute path. | ||
| 1053 | ac_srcdir=$srcdir$ac_dir_suffix; | ||
| 1054 | ac_top_srcdir=$srcdir ;; | ||
| 1055 | *) # Relative path. | ||
| 1056 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | ||
| 1057 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | ||
| 1058 | esac | ||
| 1059 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | ||
| 1060 | # absolute. | ||
| 1061 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | ||
| 1062 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | ||
| 1063 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | ||
| 1064 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | ||
| 1065 | |||
| 1066 | cd $ac_dir | ||
| 1067 | nigel | 53 | # Check for guested configure; otherwise get Cygnus style configure. |
| 1068 | nigel | 63 | if test -f $ac_srcdir/configure.gnu; then |
| 1069 | nigel | 53 | echo |
| 1070 | nigel | 63 | $SHELL $ac_srcdir/configure.gnu --help=recursive |
| 1071 | elif test -f $ac_srcdir/configure; then | ||
| 1072 | nigel | 53 | echo |
| 1073 | nigel | 63 | $SHELL $ac_srcdir/configure --help=recursive |
| 1074 | elif test -f $ac_srcdir/configure.ac || | ||
| 1075 | test -f $ac_srcdir/configure.in; then | ||
| 1076 | nigel | 53 | echo |
| 1077 | $ac_configure --help | ||
| 1078 | else | ||
| 1079 | nigel | 63 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 1080 | nigel | 53 | fi |
| 1081 | cd $ac_popdir | ||
| 1082 | done | ||
| 1083 | fi | ||
| 1084 | |||
| 1085 | test -n "$ac_init_help" && exit 0 | ||
| 1086 | if $ac_init_version; then | ||
| 1087 | nigel | 63 | cat <<\_ACEOF |
| 1088 | nigel | 53 | |
| 1089 | nigel | 63 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
| 1090 | nigel | 53 | Free Software Foundation, Inc. |
| 1091 | This configure script is free software; the Free Software Foundation | ||
| 1092 | gives unlimited permission to copy, distribute and modify it. | ||
| 1093 | nigel | 63 | _ACEOF |
| 1094 | nigel | 53 | exit 0 |
| 1095 | fi | ||
| 1096 | exec 5>config.log | ||
| 1097 | nigel | 63 | cat >&5 <<_ACEOF |
| 1098 | nigel | 53 | This file contains any messages produced by compilers while |
| 1099 | running configure, to aid debugging if configure makes a mistake. | ||
| 1100 | |||
| 1101 | It was created by $as_me, which was | ||
| 1102 | nigel | 63 | generated by GNU Autoconf 2.57. Invocation command line was |
| 1103 | nigel | 53 | |
| 1104 | $ $0 $@ | ||
| 1105 | |||
| 1106 | nigel | 63 | _ACEOF |
| 1107 | nigel | 53 | { |
| 1108 | cat <<_ASUNAME | ||
| 1109 | nigel | 63 | ## --------- ## |
| 1110 | ## Platform. ## | ||
| 1111 | ## --------- ## | ||
| 1112 | nigel | 53 | |
| 1113 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
| 1114 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | ||
| 1115 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | ||
| 1116 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | ||
| 1117 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | ||
| 1118 | |||
| 1119 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | ||
| 1120 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | ||
| 1121 | |||
| 1122 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | ||
| 1123 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | ||
| 1124 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | ||
| 1125 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | ||
| 1126 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | ||
| 1127 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | ||
| 1128 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | ||
| 1129 | |||
| 1130 | nigel | 63 | _ASUNAME |
| 1131 | nigel | 53 | |
| 1132 | nigel | 63 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1133 | for as_dir in $PATH | ||
| 1134 | do | ||
| 1135 | IFS=$as_save_IFS | ||
| 1136 | test -z "$as_dir" && as_dir=. | ||
| 1137 | echo "PATH: $as_dir" | ||
| 1138 | done | ||
| 1139 | |||
| 1140 | nigel | 53 | } >&5 |
| 1141 | |||
| 1142 | nigel | 63 | cat >&5 <<_ACEOF |
| 1143 | nigel | 53 | |
| 1144 | |||
| 1145 | nigel | 63 | ## ----------- ## |
| 1146 | ## Core tests. ## | ||
| 1147 | ## ----------- ## | ||
| 1148 | |||
| 1149 | _ACEOF | ||
| 1150 | |||
| 1151 | |||
| 1152 | nigel | 53 | # Keep a trace of the command line. |
| 1153 | # Strip out --no-create and --no-recursion so they do not pile up. | ||
| 1154 | nigel | 63 | # Strip out --silent because we don't want to record it for future runs. |
| 1155 | nigel | 53 | # Also quote any args containing shell meta-characters. |
| 1156 | nigel | 63 | # Make two passes to allow for proper duplicate-argument suppression. |
| 1157 | nigel | 53 | ac_configure_args= |
| 1158 | nigel | 63 | ac_configure_args0= |
| 1159 | ac_configure_args1= | ||
| 1160 | nigel | 53 | ac_sep= |
| 1161 | nigel | 63 | ac_must_keep_next=false |
| 1162 | for ac_pass in 1 2 | ||
| 1163 | nigel | 53 | do |
| 1164 | nigel | 63 | for ac_arg |
| 1165 | do | ||
| 1166 | case $ac_arg in | ||
| 1167 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | ||
| 1168 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
| 1169 | | -silent | --silent | --silen | --sile | --sil) | ||
| 1170 | continue ;; | ||
| 1171 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | ||
| 1172 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
| 1173 | esac | ||
| 1174 | case $ac_pass in | ||
| 1175 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | ||
| 1176 | 2) | ||
| 1177 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" | ||
| 1178 | if test $ac_must_keep_next = true; then | ||
| 1179 | ac_must_keep_next=false # Got value, back to normal. | ||
| 1180 | else | ||
| 1181 | case $ac_arg in | ||
| 1182 | *=* | --config-cache | -C | -disable-* | --disable-* \ | ||
| 1183 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | ||
| 1184 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | ||
| 1185 | | -with-* | --with-* | -without-* | --without-* | --x) | ||
| 1186 | case "$ac_configure_args0 " in | ||
| 1187 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | ||
| 1188 | esac | ||
| 1189 | ;; | ||
| 1190 | -* ) ac_must_keep_next=true ;; | ||
| 1191 | esac | ||
| 1192 | fi | ||
| 1193 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | ||
| 1194 | # Get rid of the leading space. | ||
| 1195 | ac_sep=" " | ||
| 1196 | ;; | ||
| 1197 | esac | ||
| 1198 | done | ||
| 1199 | nigel | 53 | done |
| 1200 | nigel | 63 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
| 1201 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | ||
| 1202 | nigel | 53 | |
| 1203 | # When interrupted or exit'd, cleanup temporary files, and complete | ||
| 1204 | # config.log. We remove comments because anyway the quotes in there | ||
| 1205 | # would cause problems or look ugly. | ||
| 1206 | nigel | 63 | # WARNING: Be sure not to use single quotes in there, as some shells, |
| 1207 | # such as our DU 5.0 friend, will then `close' the trap. | ||
| 1208 | nigel | 53 | trap 'exit_status=$? |
| 1209 | # Save into config.log some information that might help in debugging. | ||
| 1210 | nigel | 63 | { |
| 1211 | echo | ||
| 1212 | |||
| 1213 | cat <<\_ASBOX | ||
| 1214 | ## ---------------- ## | ||
| 1215 | ## Cache variables. ## | ||
| 1216 | ## ---------------- ## | ||
| 1217 | _ASBOX | ||
| 1218 | echo | ||
| 1219 | # The following way of writing the cache mishandles newlines in values, | ||
| 1220 | nigel | 53 | { |
| 1221 | (set) 2>&1 | | ||
| 1222 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | ||
| 1223 | *ac_space=\ *) | ||
| 1224 | sed -n \ | ||
| 1225 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | ||
| 1226 | nigel | 63 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
| 1227 | nigel | 53 | ;; |
| 1228 | *) | ||
| 1229 | sed -n \ | ||
| 1230 | nigel | 63 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 1231 | nigel | 53 | ;; |
| 1232 | esac; | ||
| 1233 | nigel | 63 | } |
| 1234 | echo | ||
| 1235 | |||
| 1236 | cat <<\_ASBOX | ||
| 1237 | ## ----------------- ## | ||
| 1238 | ## Output variables. ## | ||
| 1239 | ## ----------------- ## | ||
| 1240 | _ASBOX | ||
| 1241 | echo | ||
| 1242 | for ac_var in $ac_subst_vars | ||
| 1243 | do | ||
| 1244 | eval ac_val=$`echo $ac_var` | ||
| 1245 | echo "$ac_var='"'"'$ac_val'"'"'" | ||
| 1246 | done | sort | ||
| 1247 | echo | ||
| 1248 | |||
| 1249 | if test -n "$ac_subst_files"; then | ||
| 1250 | cat <<\_ASBOX | ||
| 1251 | ## ------------- ## | ||
| 1252 | ## Output files. ## | ||
| 1253 | ## ------------- ## | ||
| 1254 | _ASBOX | ||
| 1255 | echo | ||
| 1256 | for ac_var in $ac_subst_files | ||
| 1257 | do | ||
| 1258 | eval ac_val=$`echo $ac_var` | ||
| 1259 | echo "$ac_var='"'"'$ac_val'"'"'" | ||
| 1260 | done | sort | ||
| 1261 | echo | ||
| 1262 | fi | ||
| 1263 | |||
| 1264 | if test -s confdefs.h; then | ||
| 1265 | cat <<\_ASBOX | ||
| 1266 | ## ----------- ## | ||
| 1267 | ## confdefs.h. ## | ||
| 1268 | ## ----------- ## | ||
| 1269 | _ASBOX | ||
| 1270 | echo | ||
| 1271 | sed "/^$/d" confdefs.h | sort | ||
| 1272 | echo | ||
| 1273 | fi | ||
| 1274 | test "$ac_signal" != 0 && | ||
| 1275 | echo "$as_me: caught signal $ac_signal" | ||
| 1276 | echo "$as_me: exit $exit_status" | ||
| 1277 | } >&5 | ||
| 1278 | rm -f core core.* *.core && | ||
| 1279 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && | ||
| 1280 | nigel | 53 | exit $exit_status |
| 1281 | ' 0 | ||
| 1282 | for ac_signal in 1 2 13 15; do | ||
| 1283 | nigel | 63 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
| 1284 | nigel | 53 | done |
| 1285 | ac_signal=0 | ||
| 1286 | |||
| 1287 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | ||
| 1288 | rm -rf conftest* confdefs.h | ||
| 1289 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | ||
| 1290 | echo >confdefs.h | ||
| 1291 | |||
| 1292 | nigel | 63 | # Predefined preprocessor variables. |
| 1293 | |||
| 1294 | cat >>confdefs.h <<_ACEOF | ||
| 1295 | #define PACKAGE_NAME "$PACKAGE_NAME" | ||
| 1296 | _ACEOF | ||
| 1297 | |||
| 1298 | |||
| 1299 | cat >>confdefs.h <<_ACEOF | ||
| 1300 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | ||
| 1301 | _ACEOF | ||
| 1302 | |||
| 1303 | |||
| 1304 | cat >>confdefs.h <<_ACEOF | ||
| 1305 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | ||
| 1306 | _ACEOF | ||
| 1307 | |||
| 1308 | |||
| 1309 | cat >>confdefs.h <<_ACEOF | ||
| 1310 | #define PACKAGE_STRING "$PACKAGE_STRING" | ||
| 1311 | _ACEOF | ||
| 1312 | |||
| 1313 | |||
| 1314 | cat >>confdefs.h <<_ACEOF | ||
| 1315 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | ||
| 1316 | _ACEOF | ||
| 1317 | |||
| 1318 | |||
| 1319 | nigel | 53 | # Let the site file select an alternate cache file if it wants to. |
| 1320 | nigel | 41 | # Prefer explicitly selected file to automatically selected ones. |
| 1321 | if test -z "$CONFIG_SITE"; then | ||
| 1322 | if test "x$prefix" != xNONE; then | ||
| 1323 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | ||
| 1324 | else | ||
| 1325 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | ||
| 1326 | fi | ||
| 1327 | fi | ||
| 1328 | for ac_site_file in $CONFIG_SITE; do | ||
| 1329 | if test -r "$ac_site_file"; then | ||
| 1330 | nigel | 63 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
| 1331 | nigel | 53 | echo "$as_me: loading site script $ac_site_file" >&6;} |
| 1332 | nigel | 63 | sed 's/^/| /' "$ac_site_file" >&5 |
| 1333 | nigel | 41 | . "$ac_site_file" |
| 1334 | fi | ||
| 1335 | done | ||
| 1336 | |||
| 1337 | if test -r "$cache_file"; then | ||
| 1338 | nigel | 53 | # Some versions of bash will fail to source /dev/null (special |
| 1339 | # files actually), so we avoid doing that. | ||
| 1340 | if test -f "$cache_file"; then | ||
| 1341 | nigel | 63 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
| 1342 | nigel | 53 | echo "$as_me: loading cache $cache_file" >&6;} |
| 1343 | case $cache_file in | ||
| 1344 | [\\/]* | ?:[\\/]* ) . $cache_file;; | ||
| 1345 | *) . ./$cache_file;; | ||
| 1346 | esac | ||
| 1347 | fi | ||
| 1348 | nigel | 41 | else |
| 1349 | nigel | 63 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
| 1350 | nigel | 53 | echo "$as_me: creating cache $cache_file" >&6;} |
| 1351 | >$cache_file | ||
| 1352 | nigel | 41 | fi |
| 1353 | |||
| 1354 | nigel | 53 | # Check that the precious variables saved in the cache have kept the same |
| 1355 | # value. | ||
| 1356 | nigel | 63 | ac_cache_corrupted=false |
| 1357 | nigel | 53 | for ac_var in `(set) 2>&1 | |
| 1358 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | ||
| 1359 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | ||
| 1360 | eval ac_new_set=\$ac_env_${ac_var}_set | ||
| 1361 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" | ||
| 1362 | eval ac_new_val="\$ac_env_${ac_var}_value" | ||
| 1363 | case $ac_old_set,$ac_new_set in | ||
| 1364 | set,) | ||
| 1365 | nigel | 63 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 1366 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | ||
| 1367 | ac_cache_corrupted=: ;; | ||
| 1368 | nigel | 53 | ,set) |
| 1369 | nigel | 63 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
| 1370 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | ||
| 1371 | ac_cache_corrupted=: ;; | ||
| 1372 | nigel | 53 | ,);; |
| 1373 | *) | ||
| 1374 | if test "x$ac_old_val" != "x$ac_new_val"; then | ||
| 1375 | nigel | 63 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
| 1376 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | ||
| 1377 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | ||
| 1378 | echo "$as_me: former value: $ac_old_val" >&2;} | ||
| 1379 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | ||
| 1380 | echo "$as_me: current value: $ac_new_val" >&2;} | ||
| 1381 | ac_cache_corrupted=: | ||
| 1382 | nigel | 53 | fi;; |
| 1383 | esac | ||
| 1384 | nigel | 63 | # Pass precious variables to config.status. |
| 1385 | if test "$ac_new_set" = set; then | ||
| 1386 | case $ac_new_val in | ||
| 1387 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | ||
| 1388 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
| 1389 | *) ac_arg=$ac_var=$ac_new_val ;; | ||
| 1390 | esac | ||
| 1391 | case " $ac_configure_args " in | ||
| 1392 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | ||
| 1393 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | ||
| 1394 | esac | ||
| 1395 | fi | ||
| 1396 | nigel | 53 | done |
| 1397 | nigel | 63 | if $ac_cache_corrupted; then |
| 1398 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | ||
| 1399 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | ||
| 1400 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | ||
| 1401 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | ||
| 1402 | { (exit 1); exit 1; }; } | ||
| 1403 | nigel | 53 | fi |
| 1404 | |||
| 1405 | nigel | 41 | ac_ext=c |
| 1406 | ac_cpp='$CPP $CPPFLAGS' | ||
| 1407 | nigel | 53 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1408 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 1409 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 1410 | nigel | 41 | |
| 1411 | |||
| 1412 | |||
| 1413 | nigel | 63 | |
| 1414 | |||
| 1415 | |||
| 1416 | |||
| 1417 | |||
| 1418 | |||
| 1419 | |||
| 1420 | |||
| 1421 | |||
| 1422 | |||
| 1423 | |||
| 1424 | |||
| 1425 | |||
| 1426 | |||
| 1427 | |||
| 1428 | |||
| 1429 | |||
| 1430 | ac_config_headers="$ac_config_headers config.h:config.in" | ||
| 1431 | |||
| 1432 | |||
| 1433 | |||
| 1434 | PCRE_MAJOR=4 | ||
| 1435 | nigel | 65 | PCRE_MINOR=1 |
| 1436 | PCRE_DATE=12-Mar-2003 | ||
| 1437 | nigel | 43 | PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR} |
| 1438 | |||
| 1439 | nigel | 63 | |
| 1440 | POSIX_MALLOC_THRESHOLD=-DPOSIX_MALLOC_THRESHOLD=10 | ||
| 1441 | |||
| 1442 | |||
| 1443 | nigel | 47 | PCRE_LIB_VERSION=0:1:0 |
| 1444 | nigel | 43 | PCRE_POSIXLIB_VERSION=0:0:0 |
| 1445 | |||
| 1446 | nigel | 63 | |
| 1447 | nigel | 53 | ac_ext=c |
| 1448 | ac_cpp='$CPP $CPPFLAGS' | ||
| 1449 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 1450 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 1451 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 1452 | if test -n "$ac_tool_prefix"; then | ||
| 1453 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | ||
| 1454 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | ||
| 1455 | nigel | 63 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1456 | nigel | 53 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1457 | if test "${ac_cv_prog_CC+set}" = set; then | ||
| 1458 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 1459 | else | ||
| 1460 | if test -n "$CC"; then | ||
| 1461 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
| 1462 | else | ||
| 1463 | nigel | 63 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1464 | for as_dir in $PATH | ||
| 1465 | do | ||
| 1466 | IFS=$as_save_IFS | ||
| 1467 | test -z "$as_dir" && as_dir=. | ||
| 1468 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 1469 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 1470 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | ||
| 1471 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 1472 | break 2 | ||
| 1473 | fi | ||
| 1474 | nigel | 53 | done |
| 1475 | nigel | 63 | done |
| 1476 | nigel | 43 | |
| 1477 | nigel | 53 | fi |
| 1478 | fi | ||
| 1479 | CC=$ac_cv_prog_CC | ||
| 1480 | if test -n "$CC"; then | ||
| 1481 | nigel | 63 | echo "$as_me:$LINENO: result: $CC" >&5 |
| 1482 | nigel | 53 | echo "${ECHO_T}$CC" >&6 |
| 1483 | else | ||
| 1484 | nigel | 63 | echo "$as_me:$LINENO: result: no" >&5 |
| 1485 | nigel | 53 | echo "${ECHO_T}no" >&6 |
| 1486 | fi | ||
| 1487 | |||
| 1488 | fi | ||
| 1489 | if test -z "$ac_cv_prog_CC"; then | ||
| 1490 | ac_ct_CC=$CC | ||
| 1491 | # Extract the first word of "gcc", so it can be a program name with args. | ||
| 1492 | nigel | 41 | set dummy gcc; ac_word=$2 |
| 1493 | nigel | 63 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1494 | nigel | 53 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1495 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
| 1496 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 1497 | nigel | 41 | else |
| 1498 | nigel | 53 | if test -n "$ac_ct_CC"; then |
| 1499 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
| 1500 | else | ||
| 1501 | nigel | 63 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1502 | for as_dir in $PATH | ||
| 1503 | do | ||
| 1504 | IFS=$as_save_IFS | ||
| 1505 | test -z "$as_dir" && as_dir=. | ||
| 1506 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 1507 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 1508 | ac_cv_prog_ac_ct_CC="gcc" | ||
| 1509 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 1510 | break 2 | ||
| 1511 | fi | ||
| 1512 | nigel | 53 | done |
| 1513 | nigel | 63 | done |
| 1514 | nigel | 53 | |
| 1515 | fi | ||
| 1516 | fi | ||
| 1517 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
| 1518 | if test -n "$ac_ct_CC"; then | ||
| 1519 | nigel | 63 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 1520 | nigel | 53 | echo "${ECHO_T}$ac_ct_CC" >&6 |
| 1521 | else | ||
| 1522 | nigel | 63 | echo "$as_me:$LINENO: result: no" >&5 |
| 1523 | nigel | 53 | echo "${ECHO_T}no" >&6 |
| 1524 | fi | ||
| 1525 | |||
| 1526 | CC=$ac_ct_CC | ||
| 1527 | else | ||
| 1528 | CC="$ac_cv_prog_CC" | ||
| 1529 | fi | ||
| 1530 | |||
| 1531 | if test -z "$CC"; then | ||
| 1532 | if test -n "$ac_tool_prefix"; then | ||
| 1533 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | ||
| 1534 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | ||
| 1535 | nigel | 63 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1536 | nigel | 53 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1537 | if test "${ac_cv_prog_CC+set}" = set; then | ||
| 1538 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 1539 | else | ||
| 1540 | nigel | 41 | if test -n "$CC"; then |
| 1541 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
| 1542 | else | ||
| 1543 | nigel | 63 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1544 | for as_dir in $PATH | ||
| 1545 | do | ||
| 1546 | IFS=$as_save_IFS | ||
| 1547 | test -z "$as_dir" && as_dir=. | ||
| 1548 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 1549 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 1550 | ac_cv_prog_CC="${ac_tool_prefix}cc" | ||
| 1551 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 1552 | break 2 | ||
| 1553 | fi | ||
| 1554 | nigel | 53 | done |
| 1555 | nigel | 63 | done |
| 1556 | nigel | 53 | |
| 1557 | nigel | 41 | fi |
| 1558 | fi | ||
| 1559 | nigel | 53 | CC=$ac_cv_prog_CC |
| 1560 | nigel | 41 | if test -n "$CC"; then |
| 1561 | nigel | 63 | echo "$as_me:$LINENO: result: $CC" >&5 |
| 1562 | nigel | 53 | echo "${ECHO_T}$CC" >&6 |
| 1563 | nigel | 41 | else |
| 1564 | nigel | 63 | echo "$as_me:$LINENO: result: no" >&5 |
| 1565 | nigel | 53 | echo "${ECHO_T}no" >&6 |
| 1566 | nigel | 41 | fi |
| 1567 | |||
| 1568 | nigel | 53 | fi |
| 1569 | if test -z "$ac_cv_prog_CC"; then | ||
| 1570 | ac_ct_CC=$CC | ||
| 1571 | # Extract the first word of "cc", so it can be a program name with args. | ||
| 1572 | set dummy cc; ac_word=$2 | ||
| 1573 | nigel | 63 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1574 | nigel | 53 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1575 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
| 1576 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 1577 | else | ||
| 1578 | if test -n "$ac_ct_CC"; then | ||
| 1579 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
| 1580 | else | ||
| 1581 | nigel | 63 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1582 | for as_dir in $PATH | ||
| 1583 | do | ||
| 1584 | IFS=$as_save_IFS | ||
| 1585 | test -z "$as_dir" && as_dir=. | ||
| 1586 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 1587 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 1588 | ac_cv_prog_ac_ct_CC="cc" | ||
| 1589 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 1590 | break 2 | ||
| 1591 | fi | ||
| 1592 | nigel | 53 | done |
| 1593 | nigel | 63 | done |
| 1594 | nigel | 53 | |
| 1595 | fi | ||
| 1596 | fi | ||
| 1597 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
| 1598 | if test -n "$ac_ct_CC"; then | ||
| 1599 | nigel | 63 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 1600 | nigel | 53 | echo "${ECHO_T}$ac_ct_CC" >&6 |
| 1601 | else | ||
| 1602 | nigel | 63 | echo "$as_me:$LINENO: result: no" >&5 |
| 1603 | nigel | 53 | echo "${ECHO_T}no" >&6 |
| 1604 | fi | ||
| 1605 | |||
| 1606 | CC=$ac_ct_CC | ||
| 1607 | else | ||
| 1608 | CC="$ac_cv_prog_CC" | ||
| 1609 | fi | ||
| 1610 | |||
| 1611 | fi | ||
| 1612 | nigel | 41 | if test -z "$CC"; then |
| 1613 | # Extract the first word of "cc", so it can be a program name with args. | ||
| 1614 | set dummy cc; ac_word=$2 | ||
| 1615 | nigel | 63 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1616 | nigel | 53 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1617 | if test "${ac_cv_prog_CC+set}" = set; then | ||
| 1618 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 1619 | nigel | 41 | else |
| 1620 | if test -n "$CC"; then | ||
| 1621 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
| 1622 | else | ||
| 1623 | ac_prog_rejected=no | ||
| 1624 | nigel | 63 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1625 | for as_dir in $PATH | ||
| 1626 | do | ||
| 1627 | IFS=$as_save_IFS | ||
| 1628 | test -z "$as_dir" && as_dir=. | ||
| 1629 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 1630 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 1631 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | ||
| 1632 | ac_prog_rejected=yes | ||
| 1633 | continue | ||
| 1634 | fi | ||
| 1635 | ac_cv_prog_CC="cc" | ||
| 1636 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 1637 | break 2 | ||
| 1638 | fi | ||
| 1639 | nigel | 53 | done |
| 1640 | nigel | 63 | done |
| 1641 | nigel | 53 | |
| 1642 | nigel | 41 | if test $ac_prog_rejected = yes; then |
| 1643 | # We found a bogon in the path, so make sure we never use it. | ||
| 1644 | set dummy $ac_cv_prog_CC | ||
| 1645 | shift | ||
| 1646 | nigel | 53 | if test $# != 0; then |
| 1647 | nigel | 41 | # We chose a different compiler from the bogus one. |
| 1648 | # However, it has the same basename, so the bogon will be chosen | ||
| 1649 | # first if we set CC to just the basename; use the full file name. | ||
| 1650 | shift | ||
| 1651 | nigel | 63 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
| 1652 | nigel | 41 | fi |
| 1653 | fi | ||
| 1654 | fi | ||
| 1655 | fi | ||
| 1656 | nigel | 53 | CC=$ac_cv_prog_CC |
| 1657 | nigel | 41 | if test -n "$CC"; then |
| 1658 | nigel | 63 | echo "$as_me:$LINENO: result: $CC" >&5 |
| 1659 | nigel | 53 | echo "${ECHO_T}$CC" >&6 |
| 1660 | nigel | 41 | else |
| 1661 | nigel | 63 | echo "$as_me:$LINENO: result: no" >&5 |
| 1662 | nigel | 53 | echo "${ECHO_T}no" >&6 |
| 1663 | nigel | 41 | fi |
| 1664 | |||
| 1665 | nigel | 53 | fi |
| 1666 | if test -z "$CC"; then | ||
| 1667 | if test -n "$ac_tool_prefix"; then | ||
| 1668 | for ac_prog in cl | ||
| 1669 | do | ||
| 1670 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | ||
| 1671 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | ||
| 1672 | nigel | 63 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1673 | nigel | 53 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1674 | if test "${ac_cv_prog_CC+set}" = set; then | ||
| 1675 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 1676 | nigel | 41 | else |
| 1677 | if test -n "$CC"; then | ||
| 1678 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
| 1679 | else | ||
| 1680 | nigel | 63 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1681 | for as_dir in $PATH | ||
| 1682 | do | ||
| 1683 | IFS=$as_save_IFS | ||
| 1684 | test -z "$as_dir" && as_dir=. | ||
| 1685 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 1686 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 1687 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | ||
| 1688 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 1689 | break 2 | ||
| 1690 | fi | ||
| 1691 | nigel | 53 | done |
| 1692 | nigel | 63 | done |
| 1693 | nigel | 53 | |
| 1694 | nigel | 41 | fi |
| 1695 | fi | ||
| 1696 | nigel | 53 | CC=$ac_cv_prog_CC |
| 1697 | nigel | 41 | if test -n "$CC"; then |
| 1698 | nigel | 63 | echo "$as_me:$LINENO: result: $CC" >&5 |
| 1699 | nigel | 53 | echo "${ECHO_T}$CC" >&6 |
| 1700 | nigel | 41 | else |
| 1701 | nigel | 63 | echo "$as_me:$LINENO: result: no" >&5 |
| 1702 | nigel | 53 | echo "${ECHO_T}no" >&6 |
| 1703 | nigel | 41 | fi |
| 1704 | nigel | 53 | |
| 1705 | test -n "$CC" && break | ||
| 1706 | done | ||
| 1707 | nigel | 41 | fi |
| 1708 | nigel | 53 | if test -z "$CC"; then |
| 1709 | ac_ct_CC=$CC | ||
| 1710 | for ac_prog in cl | ||
| 1711 | do | ||
| 1712 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
| 1713 | set dummy $ac_prog; ac_word=$2 | ||
| 1714 | nigel | 63 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1715 | nigel | 53 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1716 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
| 1717 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 1718 | else | ||
| 1719 | if test -n "$ac_ct_CC"; then | ||
| 1720 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
| 1721 | else | ||
| 1722 | nigel | 63 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1723 | for as_dir in $PATH | ||
| 1724 | do | ||
| 1725 | IFS=$as_save_IFS | ||
| 1726 | test -z "$as_dir" && as_dir=. | ||
| 1727 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 1728 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 1729 | ac_cv_prog_ac_ct_CC="$ac_prog" | ||
| 1730 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 1731 | break 2 | ||
| 1732 | fi | ||
| 1733 | nigel | 53 | done |
| 1734 | nigel | 63 | done |
| 1735 | nigel | 41 | |
| 1736 | nigel | 53 | fi |
| 1737 | fi | ||
| 1738 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
| 1739 | if test -n "$ac_ct_CC"; then | ||
| 1740 | nigel | 63 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 1741 | nigel | 53 | echo "${ECHO_T}$ac_ct_CC" >&6 |
| 1742 | else | ||
| 1743 | nigel | 63 | echo "$as_me:$LINENO: result: no" >&5 |
| 1744 | nigel | 53 | echo "${ECHO_T}no" >&6 |
| 1745 | fi | ||
| 1746 | nigel | 41 | |
| 1747 | nigel | 53 | test -n "$ac_ct_CC" && break |
| 1748 | done | ||
| 1749 | nigel | 41 | |
| 1750 | nigel | 53 | CC=$ac_ct_CC |
| 1751 | fi | ||
| 1752 | nigel | 41 | |
| 1753 | nigel | 53 | fi |
| 1754 | |||
| 1755 | nigel | 63 | |
| 1756 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | ||
| 1757 | See \`config.log' for more details." >&5 | ||
| 1758 | echo "$as_me: error: no acceptable C compiler found in \$PATH | ||
| 1759 | See \`config.log' for more details." >&2;} | ||
| 1760 | nigel | 53 | { (exit 1); exit 1; }; } |
| 1761 | |||
| 1762 | nigel | 63 | # Provide some information about the compiler. |
| 1763 | echo "$as_me:$LINENO:" \ | ||
| 1764 | "checking for C compiler version" >&5 | ||
| 1765 | ac_compiler=`set X $ac_compile; echo $2` | ||
| 1766 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | ||
| 1767 | (eval $ac_compiler --version </dev/null >&5) 2>&5 | ||
| 1768 | ac_status=$? | ||
| 1769 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1770 | (exit $ac_status); } | ||
| 1771 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | ||
| 1772 | (eval $ac_compiler -v </dev/null >&5) 2>&5 | ||
| 1773 | ac_status=$? | ||
| 1774 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1775 | (exit $ac_status); } | ||
| 1776 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | ||
| 1777 | (eval $ac_compiler -V </dev/null >&5) 2>&5 | ||
| 1778 | ac_status=$? | ||
| 1779 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1780 | (exit $ac_status); } | ||
| 1781 | |||
| 1782 | nigel | 53 | cat >conftest.$ac_ext <<_ACEOF |
| 1783 | nigel | 63 | #line $LINENO "configure" |
| 1784 | /* confdefs.h. */ | ||
| 1785 | _ACEOF | ||
| 1786 | cat confdefs.h >>conftest.$ac_ext | ||
| 1787 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 1788 | /* end confdefs.h. */ | ||
| 1789 | nigel | 41 | |
| 1790 | nigel | 53 | int |
| 1791 | main () | ||
| 1792 | { | ||
| 1793 | |||
| 1794 | ; | ||
| 1795 | return 0; | ||
| 1796 | } | ||
| 1797 | _ACEOF | ||
| 1798 | ac_clean_files_save=$ac_clean_files | ||
| 1799 | nigel | 63 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
| 1800 | nigel | 53 | # Try to create an executable without -o first, disregard a.out. |
| 1801 | nigel | 63 | # It will help us diagnose broken compilers, and finding out an intuition |
| 1802 | nigel | 53 | # of exeext. |
| 1803 | nigel | 63 | echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
| 1804 | nigel | 53 | echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
| 1805 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | ||
| 1806 | nigel | 63 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
| 1807 | nigel | 53 | (eval $ac_link_default) 2>&5 |
| 1808 | ac_status=$? | ||
| 1809 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1810 | nigel | 53 | (exit $ac_status); }; then |
| 1811 | nigel | 63 | # Find the output, starting from the most likely. This scheme is |
| 1812 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | ||
| 1813 | # resort. | ||
| 1814 | |||
| 1815 | # Be careful to initialize this variable, since it used to be cached. | ||
| 1816 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | ||
| 1817 | ac_cv_exeext= | ||
| 1818 | # b.out is created by i960 compilers. | ||
| 1819 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | ||
| 1820 | do | ||
| 1821 | test -f "$ac_file" || continue | ||
| 1822 | nigel | 53 | case $ac_file in |
| 1823 | nigel | 63 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
| 1824 | ;; | ||
| 1825 | conftest.$ac_ext ) | ||
| 1826 | # This is the source file. | ||
| 1827 | ;; | ||
| 1828 | [ab].out ) | ||
| 1829 | # We found the default executable, but exeext='' is most | ||
| 1830 | # certainly right. | ||
| 1831 | break;; | ||
| 1832 | *.* ) | ||
| 1833 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
| 1834 | # FIXME: I believe we export ac_cv_exeext for Libtool, | ||
| 1835 | # but it would be cool to find out if it's true. Does anybody | ||
| 1836 | # maintain Libtool? --akim. | ||
| 1837 | export ac_cv_exeext | ||
| 1838 | break;; | ||
| 1839 | * ) | ||
| 1840 | break;; | ||
| 1841 | nigel | 53 | esac |
| 1842 | done | ||
| 1843 | else | ||
| 1844 | echo "$as_me: failed program was:" >&5 | ||
| 1845 | nigel | 63 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 1846 | |||
| 1847 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables | ||
| 1848 | See \`config.log' for more details." >&5 | ||
| 1849 | echo "$as_me: error: C compiler cannot create executables | ||
| 1850 | See \`config.log' for more details." >&2;} | ||
| 1851 | nigel | 53 | { (exit 77); exit 77; }; } |
| 1852 | fi | ||
| 1853 | |||
| 1854 | ac_exeext=$ac_cv_exeext | ||
| 1855 | nigel | 63 | echo "$as_me:$LINENO: result: $ac_file" >&5 |
| 1856 | nigel | 53 | echo "${ECHO_T}$ac_file" >&6 |
| 1857 | |||
| 1858 | # Check the compiler produces executables we can run. If not, either | ||
| 1859 | # the compiler is broken, or we cross compile. | ||
| 1860 | nigel | 63 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
| 1861 | nigel | 53 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
| 1862 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | ||
| 1863 | # If not cross compiling, check that we can run a simple program. | ||
| 1864 | if test "$cross_compiling" != yes; then | ||
| 1865 | if { ac_try='./$ac_file' | ||
| 1866 | nigel | 63 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 1867 | nigel | 53 | (eval $ac_try) 2>&5 |
| 1868 | ac_status=$? | ||
| 1869 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1870 | nigel | 53 | (exit $ac_status); }; }; then |
| 1871 | cross_compiling=no | ||
| 1872 | nigel | 41 | else |
| 1873 | nigel | 53 | if test "$cross_compiling" = maybe; then |
| 1874 | cross_compiling=yes | ||
| 1875 | else | ||
| 1876 | nigel | 63 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
| 1877 | If you meant to cross compile, use \`--host'. | ||
| 1878 | See \`config.log' for more details." >&5 | ||
| 1879 | nigel | 53 | echo "$as_me: error: cannot run C compiled programs. |
| 1880 | nigel | 63 | If you meant to cross compile, use \`--host'. |
| 1881 | See \`config.log' for more details." >&2;} | ||
| 1882 | nigel | 53 | { (exit 1); exit 1; }; } |
| 1883 | fi | ||
| 1884 | nigel | 41 | fi |
| 1885 | fi | ||
| 1886 | nigel | 63 | echo "$as_me:$LINENO: result: yes" >&5 |
| 1887 | nigel | 53 | echo "${ECHO_T}yes" >&6 |
| 1888 | nigel | 41 | |
| 1889 | nigel | 63 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
| 1890 | nigel | 53 | ac_clean_files=$ac_clean_files_save |
| 1891 | # Check the compiler produces executables we can run. If not, either | ||
| 1892 | # the compiler is broken, or we cross compile. | ||
| 1893 | nigel | 63 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
| 1894 | nigel | 53 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
| 1895 | nigel | 63 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
| 1896 | nigel | 53 | echo "${ECHO_T}$cross_compiling" >&6 |
| 1897 | |||
| 1898 | nigel | 63 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
| 1899 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | ||
| 1900 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
| 1901 | nigel | 53 | (eval $ac_link) 2>&5 |
| 1902 | ac_status=$? | ||
| 1903 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1904 | nigel | 53 | (exit $ac_status); }; then |
| 1905 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | ||
| 1906 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | ||
| 1907 | # work properly (i.e., refer to `conftest.exe'), while it won't with | ||
| 1908 | # `rm'. | ||
| 1909 | nigel | 63 | for ac_file in conftest.exe conftest conftest.*; do |
| 1910 | test -f "$ac_file" || continue | ||
| 1911 | nigel | 53 | case $ac_file in |
| 1912 | nigel | 63 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
| 1913 | nigel | 53 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 1914 | export ac_cv_exeext | ||
| 1915 | break;; | ||
| 1916 | * ) break;; | ||
| 1917 | esac | ||
| 1918 | done | ||
| 1919 | else | ||
| 1920 | nigel | 63 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
| 1921 | See \`config.log' for more details." >&5 | ||
| 1922 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | ||
| 1923 | See \`config.log' for more details." >&2;} | ||
| 1924 | nigel | 53 | { (exit 1); exit 1; }; } |
| 1925 | nigel | 41 | fi |
| 1926 | |||
| 1927 | nigel | 53 | rm -f conftest$ac_cv_exeext |
| 1928 | nigel | 63 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
| 1929 | nigel | 53 | echo "${ECHO_T}$ac_cv_exeext" >&6 |
| 1930 | |||
| 1931 | rm -f conftest.$ac_ext | ||
| 1932 | EXEEXT=$ac_cv_exeext | ||
| 1933 | ac_exeext=$EXEEXT | ||
| 1934 | nigel | 63 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
| 1935 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | ||
| 1936 | nigel | 53 | if test "${ac_cv_objext+set}" = set; then |
| 1937 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 1938 | nigel | 41 | else |
| 1939 | nigel | 53 | cat >conftest.$ac_ext <<_ACEOF |
| 1940 | nigel | 63 | #line $LINENO "configure" |
| 1941 | /* confdefs.h. */ | ||
| 1942 | _ACEOF | ||
| 1943 | cat confdefs.h >>conftest.$ac_ext | ||
| 1944 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 1945 | /* end confdefs.h. */ | ||
| 1946 | nigel | 53 | |
| 1947 | int | ||
| 1948 | main () | ||
| 1949 | { | ||
| 1950 | |||
| 1951 | ; | ||
| 1952 | return 0; | ||
| 1953 | } | ||
| 1954 | _ACEOF | ||
| 1955 | rm -f conftest.o conftest.obj | ||
| 1956 | nigel | 63 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 1957 | nigel | 53 | (eval $ac_compile) 2>&5 |
| 1958 | ac_status=$? | ||
| 1959 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1960 | nigel | 53 | (exit $ac_status); }; then |
| 1961 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | ||
| 1962 | case $ac_file in | ||
| 1963 | nigel | 63 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
| 1964 | nigel | 53 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
| 1965 | break;; | ||
| 1966 | esac | ||
| 1967 | done | ||
| 1968 | nigel | 41 | else |
| 1969 | nigel | 53 | echo "$as_me: failed program was:" >&5 |
| 1970 | nigel | 63 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 1971 | |||
| 1972 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | ||
| 1973 | See \`config.log' for more details." >&5 | ||
| 1974 | echo "$as_me: error: cannot compute suffix of object files: cannot compile | ||
| 1975 | See \`config.log' for more details." >&2;} | ||
| 1976 | nigel | 53 | { (exit 1); exit 1; }; } |
| 1977 | nigel | 41 | fi |
| 1978 | nigel | 53 | |
| 1979 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | ||
| 1980 | nigel | 41 | fi |
| 1981 | nigel | 63 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
| 1982 | nigel | 53 | echo "${ECHO_T}$ac_cv_objext" >&6 |
| 1983 | OBJEXT=$ac_cv_objext | ||
| 1984 | ac_objext=$OBJEXT | ||
| 1985 | nigel | 63 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
| 1986 | nigel | 53 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
| 1987 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | ||
| 1988 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 1989 | else | ||
| 1990 | cat >conftest.$ac_ext <<_ACEOF | ||
| 1991 | nigel | 63 | #line $LINENO "configure" |
| 1992 | /* confdefs.h. */ | ||
| 1993 | _ACEOF | ||
| 1994 | cat confdefs.h >>conftest.$ac_ext | ||
| 1995 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 1996 | /* end confdefs.h. */ | ||
| 1997 | nigel | 41 | |
| 1998 | nigel | 53 | int |
| 1999 | main () | ||
| 2000 | { | ||
| 2001 | #ifndef __GNUC__ | ||
| 2002 | choke me | ||
| 2003 | #endif | ||
| 2004 | nigel | 41 | |
| 2005 | nigel | 53 | ; |
| 2006 | return 0; | ||
| 2007 | } | ||
| 2008 | _ACEOF | ||
| 2009 | rm -f conftest.$ac_objext | ||
| 2010 | nigel | 63 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2011 | nigel | 53 | (eval $ac_compile) 2>&5 |
| 2012 | ac_status=$? | ||
| 2013 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2014 | nigel | 53 | (exit $ac_status); } && |
| 2015 | { ac_try='test -s conftest.$ac_objext' | ||
| 2016 | nigel | 63 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2017 | nigel | 53 | (eval $ac_try) 2>&5 |
| 2018 | ac_status=$? | ||
| 2019 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2020 | nigel | 53 | (exit $ac_status); }; }; then |
| 2021 | ac_compiler_gnu=yes | ||
| 2022 | nigel | 41 | else |
| 2023 | nigel | 53 | echo "$as_me: failed program was:" >&5 |
| 2024 | nigel | 63 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 2025 | |||
| 2026 | nigel | 53 | ac_compiler_gnu=no |
| 2027 | nigel | 41 | fi |
| 2028 | nigel | 53 | rm -f conftest.$ac_objext conftest.$ac_ext |
| 2029 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | ||
| 2030 | nigel | 41 | |
| 2031 | nigel | 53 | fi |
| 2032 | nigel | 63 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
| 2033 | nigel | 53 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
| 2034 | GCC=`test $ac_compiler_gnu = yes && echo yes` | ||
| 2035 | ac_test_CFLAGS=${CFLAGS+set} | ||
| 2036 | ac_save_CFLAGS=$CFLAGS | ||
| 2037 | CFLAGS="-g" | ||
| 2038 | nigel | 63 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
| 2039 | nigel | 53 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
| 2040 | if test "${ac_cv_prog_cc_g+set}" = set; then | ||
| 2041 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2042 | nigel | 41 | else |
| 2043 | nigel | 53 | cat >conftest.$ac_ext <<_ACEOF |
| 2044 | nigel | 63 | #line $LINENO "configure" |
| 2045 | /* confdefs.h. */ | ||
| 2046 | _ACEOF | ||
| 2047 | cat confdefs.h >>conftest.$ac_ext | ||
| 2048 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 2049 | /* end confdefs.h. */ | ||
| 2050 | nigel | 53 | |
| 2051 | int | ||
| 2052 | main () | ||
| 2053 | { | ||
| 2054 | |||
| 2055 | ; | ||
| 2056 | return 0; | ||
| 2057 | } | ||
| 2058 | _ACEOF | ||
| 2059 | rm -f conftest.$ac_objext | ||
| 2060 | nigel | 63 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2061 | nigel | 53 | (eval $ac_compile) 2>&5 |
| 2062 | ac_status=$? | ||
| 2063 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2064 | nigel | 53 | (exit $ac_status); } && |
| 2065 | { ac_try='test -s conftest.$ac_objext' | ||
| 2066 | nigel | 63 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2067 | nigel | 53 | (eval $ac_try) 2>&5 |
| 2068 | ac_status=$? | ||
| 2069 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2070 | nigel | 53 | (exit $ac_status); }; }; then |
| 2071 | nigel | 41 | ac_cv_prog_cc_g=yes |
| 2072 | else | ||
| 2073 | nigel | 53 | echo "$as_me: failed program was:" >&5 |
| 2074 | nigel | 63 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 2075 | |||
| 2076 | nigel | 53 | ac_cv_prog_cc_g=no |
| 2077 | nigel | 41 | fi |
| 2078 | nigel | 53 | rm -f conftest.$ac_objext conftest.$ac_ext |
| 2079 | nigel | 41 | fi |
| 2080 | nigel | 63 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| 2081 | nigel | 53 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
| 2082 | nigel | 41 | if test "$ac_test_CFLAGS" = set; then |
| 2083 | nigel | 53 | CFLAGS=$ac_save_CFLAGS |
| 2084 | nigel | 41 | elif test $ac_cv_prog_cc_g = yes; then |
| 2085 | if test "$GCC" = yes; then | ||
| 2086 | CFLAGS="-g -O2" | ||
| 2087 | else | ||
| 2088 | CFLAGS="-g" | ||
| 2089 | fi | ||
| 2090 | else | ||
| 2091 | if test "$GCC" = yes; then | ||
| 2092 | CFLAGS="-O2" | ||
| 2093 | else | ||
| 2094 | CFLAGS= | ||
| 2095 | fi | ||
| 2096 | fi | ||
| 2097 | nigel | 63 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
| 2098 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | ||
| 2099 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | ||
| 2100 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2101 | else | ||
| 2102 | ac_cv_prog_cc_stdc=no | ||
| 2103 | ac_save_CC=$CC | ||
| 2104 | cat >conftest.$ac_ext <<_ACEOF | ||
| 2105 | #line $LINENO "configure" | ||
| 2106 | /* confdefs.h. */ | ||
| 2107 | _ACEOF | ||
| 2108 | cat confdefs.h >>conftest.$ac_ext | ||
| 2109 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 2110 | /* end confdefs.h. */ | ||
| 2111 | #include <stdarg.h> | ||
| 2112 | #include <stdio.h> | ||
| 2113 | #include <sys/types.h> | ||
| 2114 | #include <sys/stat.h> | ||
| 2115 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | ||
| 2116 | struct buf { int x; }; | ||
| 2117 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | ||
| 2118 | static char *e (p, i) | ||
| 2119 | char **p; | ||
| 2120 | int i; | ||
| 2121 | { | ||
| 2122 | return p[i]; | ||
| 2123 | } | ||
| 2124 | static char *f (char * (*g) (char **, int), char **p, ...) | ||
| 2125 | { | ||
| 2126 | char *s; | ||
| 2127 | va_list v; | ||
| 2128 | va_start (v,p); | ||
| 2129 | s = g (p, va_arg (v,int)); | ||
| 2130 | va_end (v); | ||
| 2131 | return s; | ||
| 2132 | } | ||
| 2133 | int test (int i, double x); | ||
| 2134 | struct s1 {int (*f) (int a);}; | ||
| 2135 | struct s2 {int (*f) (double a);}; | ||
| 2136 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | ||
| 2137 | int argc; | ||
| 2138 | char **argv; | ||
| 2139 | int | ||
| 2140 | main () | ||
| 2141 | { | ||
| 2142 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ||
| 2143 | ; | ||
| 2144 | return 0; | ||
| 2145 | } | ||
| 2146 | _ACEOF | ||
| 2147 | # Don't try gcc -ansi; that turns off useful extensions and | ||
| 2148 | # breaks some systems' header files. | ||
| 2149 | # AIX -qlanglvl=ansi | ||
| 2150 | # Ultrix and OSF/1 -std1 | ||
| 2151 | # HP-UX 10.20 and later -Ae | ||
| 2152 | # HP-UX older versions -Aa -D_HPUX_SOURCE | ||
| 2153 | # SVR4 -Xc -D__EXTENSIONS__ | ||
| 2154 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||
| 2155 | do | ||
| 2156 | CC="$ac_save_CC $ac_arg" | ||
| 2157 | rm -f conftest.$ac_objext | ||
| 2158 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
| 2159 | (eval $ac_compile) 2>&5 | ||
| 2160 | ac_status=$? | ||
| 2161 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 2162 | (exit $ac_status); } && | ||
| 2163 | { ac_try='test -s conftest.$ac_objext' | ||
| 2164 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 2165 | (eval $ac_try) 2>&5 | ||
| 2166 | ac_status=$? | ||
| 2167 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 2168 | (exit $ac_status); }; }; then | ||
| 2169 | ac_cv_prog_cc_stdc=$ac_arg | ||
| 2170 | break | ||
| 2171 | else | ||
| 2172 | echo "$as_me: failed program was:" >&5 | ||
| 2173 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 2174 | |||
| 2175 | fi | ||
| 2176 | rm -f conftest.$ac_objext | ||
| 2177 | done | ||
| 2178 | rm -f conftest.$ac_ext conftest.$ac_objext | ||
| 2179 | CC=$ac_save_CC | ||
| 2180 | |||
| 2181 | fi | ||
| 2182 | |||
| 2183 | case "x$ac_cv_prog_cc_stdc" in | ||
| 2184 | x|xno) | ||
| 2185 | echo "$as_me:$LINENO: result: none needed" >&5 | ||
| 2186 | echo "${ECHO_T}none needed" >&6 ;; | ||
| 2187 | *) | ||
| 2188 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | ||
| 2189 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | ||
| 2190 | CC="$CC $ac_cv_prog_cc_stdc" ;; | ||
| 2191 | esac | ||
| 2192 | |||
| 2193 | nigel | 53 | # Some people use a C++ compiler to compile C. Since we use `exit', |
| 2194 | # in C++ we need to declare it. In case someone uses the same compiler | ||
| 2195 | # for both compiling C and C++ we need to have the C++ compiler decide | ||
| 2196 | # the declaration of exit, since it's the most demanding environment. | ||
| 2197 | cat >conftest.$ac_ext <<_ACEOF | ||
| 2198 | #ifndef __cplusplus | ||
| 2199 | choke me | ||
| 2200 | #endif | ||
| 2201 | _ACEOF | ||
| 2202 | rm -f conftest.$ac_objext | ||
| 2203 | nigel | 63 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2204 | nigel | 53 | (eval $ac_compile) 2>&5 |
| 2205 | ac_status=$? | ||
| 2206 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2207 | nigel | 53 | (exit $ac_status); } && |
| 2208 | { ac_try='test -s conftest.$ac_objext' | ||
| 2209 | nigel | 63 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2210 | nigel | 53 | (eval $ac_try) 2>&5 |
| 2211 | ac_status=$? | ||
| 2212 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2213 | nigel | 53 | (exit $ac_status); }; }; then |
| 2214 | for ac_declaration in \ | ||
| 2215 | ''\ | ||
| 2216 | '#include <stdlib.h>' \ | ||
| 2217 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ | ||
| 2218 | 'extern "C" void std::exit (int); using std::exit;' \ | ||
| 2219 | 'extern "C" void exit (int) throw ();' \ | ||
| 2220 | 'extern "C" void exit (int);' \ | ||
| 2221 | 'void exit (int);' | ||
| 2222 | do | ||
| 2223 | cat >conftest.$ac_ext <<_ACEOF | ||
| 2224 | nigel | 63 | #line $LINENO "configure" |
| 2225 | /* confdefs.h. */ | ||
| 2226 | _ACEOF | ||
| 2227 | cat confdefs.h >>conftest.$ac_ext | ||
| 2228 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 2229 | /* end confdefs.h. */ | ||
| 2230 | nigel | 53 | #include <stdlib.h> |
| 2231 | $ac_declaration | ||
| 2232 | int | ||
| 2233 | main () | ||
| 2234 | { | ||
| 2235 | exit (42); | ||
| 2236 | ; | ||
| 2237 | return 0; | ||
| 2238 | } | ||
| 2239 | _ACEOF | ||
| 2240 | rm -f conftest.$ac_objext | ||
| 2241 | nigel | 63 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2242 | nigel | 53 | (eval $ac_compile) 2>&5 |
| 2243 | ac_status=$? | ||
| 2244 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2245 | nigel | 53 | (exit $ac_status); } && |
| 2246 | { ac_try='test -s conftest.$ac_objext' | ||
| 2247 | nigel | 63 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2248 | nigel | 53 | (eval $ac_try) 2>&5 |
| 2249 | ac_status=$? | ||
| 2250 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2251 | nigel | 53 | (exit $ac_status); }; }; then |
| 2252 | : | ||
| 2253 | else | ||
| 2254 | echo "$as_me: failed program was:" >&5 | ||
| 2255 | nigel | 63 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 2256 | |||
| 2257 | nigel | 53 | continue |
| 2258 | fi | ||
| 2259 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
| 2260 | cat >conftest.$ac_ext <<_ACEOF | ||
| 2261 | nigel | 63 | #line $LINENO "configure" |
| 2262 | /* confdefs.h. */ | ||
| 2263 | _ACEOF | ||
| 2264 | cat confdefs.h >>conftest.$ac_ext | ||
| 2265 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 2266 | /* end confdefs.h. */ | ||
| 2267 | nigel | 53 | $ac_declaration |
| 2268 | int | ||
| 2269 | main () | ||
| 2270 | { | ||
| 2271 | exit (42); | ||
| 2272 | ; | ||
| 2273 | return 0; | ||
| 2274 | } | ||
| 2275 | _ACEOF | ||
| 2276 | rm -f conftest.$ac_objext | ||
| 2277 | nigel | 63 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2278 | nigel | 53 | (eval $ac_compile) 2>&5 |
| 2279 | ac_status=$? | ||
| 2280 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2281 | nigel | 53 | (exit $ac_status); } && |
| 2282 | { ac_try='test -s conftest.$ac_objext' | ||
| 2283 | nigel | 63 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2284 | nigel | 53 | (eval $ac_try) 2>&5 |
| 2285 | ac_status=$? | ||
| 2286 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2287 | nigel | 53 | (exit $ac_status); }; }; then |
| 2288 | break | ||
| 2289 | else | ||
| 2290 | echo "$as_me: failed program was:" >&5 | ||
| 2291 | nigel | 63 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 2292 | |||
| 2293 | nigel | 53 | fi |
| 2294 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
| 2295 | done | ||
| 2296 | nigel | 63 | rm -f conftest* |
| 2297 | if test -n "$ac_declaration"; then | ||
| 2298 | echo '#ifdef __cplusplus' >>confdefs.h | ||
| 2299 | echo $ac_declaration >>confdefs.h | ||
| 2300 | echo '#endif' >>confdefs.h | ||
| 2301 | fi | ||
| 2302 | nigel | 41 | |
| 2303 | else | ||
| 2304 | nigel | 53 | echo "$as_me: failed program was:" >&5 |
| 2305 | nigel | 63 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 2306 | |||
| 2307 | nigel | 53 | fi |
| 2308 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
| 2309 | ac_ext=c | ||
| 2310 | ac_cpp='$CPP $CPPFLAGS' | ||
| 2311 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 2312 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 2313 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 2314 | |||
| 2315 | ac_aux_dir= | ||
| 2316 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | ||
| 2317 | if test -f $ac_dir/install-sh; then | ||
| 2318 | ac_aux_dir=$ac_dir | ||
| 2319 | ac_install_sh="$ac_aux_dir/install-sh -c" | ||
| 2320 | break | ||
| 2321 | elif test -f $ac_dir/install.sh; then | ||
| 2322 | ac_aux_dir=$ac_dir | ||
| 2323 | ac_install_sh="$ac_aux_dir/install.sh -c" | ||
| 2324 | break | ||
| 2325 | elif test -f $ac_dir/shtool; then | ||
| 2326 | ac_aux_dir=$ac_dir | ||
| 2327 | ac_install_sh="$ac_aux_dir/shtool install -c" | ||
| 2328 | break | ||
| 2329 | fi | ||
| 2330 | done | ||
| 2331 | if test -z "$ac_aux_dir"; then | ||
| 2332 | nigel | 63 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
| 2333 | nigel | 53 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
| 2334 | { (exit 1); exit 1; }; } | ||
| 2335 | fi | ||
| 2336 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | ||
| 2337 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | ||
| 2338 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | ||
| 2339 | |||
| 2340 | # Find a good install program. We prefer a C program (faster), | ||
| 2341 | # so one script is as good as another. But avoid the broken or | ||
| 2342 | # incompatible versions: | ||
| 2343 | # SysV /etc/install, /usr/sbin/install | ||
| 2344 | # SunOS /usr/etc/install | ||
| 2345 | # IRIX /sbin/install | ||
| 2346 | # AIX /bin/install | ||
| 2347 | # AmigaOS /C/install, which installs bootblocks on floppy discs | ||
| 2348 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | ||
| 2349 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | ||
| 2350 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||
| 2351 | # ./install, which can be erroneously created by make from ./install.sh. | ||
| 2352 | nigel | 63 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
| 2353 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | ||
| 2354 | nigel | 53 | if test -z "$INSTALL"; then |
| 2355 | if test "${ac_cv_path_install+set}" = set; then | ||
| 2356 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2357 | else | ||
| 2358 | nigel | 63 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2359 | for as_dir in $PATH | ||
| 2360 | do | ||
| 2361 | IFS=$as_save_IFS | ||
| 2362 | test -z "$as_dir" && as_dir=. | ||
| 2363 | # Account for people who put trailing slashes in PATH elements. | ||
| 2364 | case $as_dir/ in | ||
| 2365 | ./ | .// | /cC/* | \ | ||
| 2366 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | ||
| 2367 | /usr/ucb/* ) ;; | ||
| 2368 | *) | ||
| 2369 | # OSF1 and SCO ODT 3.0 have their own names for install. | ||
| 2370 | # Don't use installbsd from OSF since it installs stuff as root | ||
| 2371 | # by default. | ||
| 2372 | for ac_prog in ginstall scoinst install; do | ||
| 2373 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2374 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | ||
| 2375 | if test $ac_prog = install && | ||
| 2376 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
| 2377 | # AIX install. It has an incompatible calling convention. | ||
| 2378 | : | ||
| 2379 | elif test $ac_prog = install && | ||
| 2380 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
| 2381 | # program-specific install script used by HP pwplus--don't use. | ||
| 2382 | : | ||
| 2383 | else | ||
| 2384 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | ||
| 2385 | break 3 | ||
| 2386 | fi | ||
| 2387 | fi | ||
| 2388 | nigel | 53 | done |
| 2389 | nigel | 63 | done |
| 2390 | ;; | ||
| 2391 | esac | ||
| 2392 | done | ||
| 2393 | nigel | 53 | |
| 2394 | nigel | 63 | |
| 2395 | nigel | 53 | fi |
| 2396 | if test "${ac_cv_path_install+set}" = set; then | ||
| 2397 | INSTALL=$ac_cv_path_install | ||
| 2398 | else | ||
| 2399 | # As a last resort, use the slow shell script. We don't cache a | ||
| 2400 | # path for INSTALL within a source directory, because that will | ||
| 2401 | # break other packages using the cache if that directory is | ||
| 2402 | # removed, or if the path is relative. | ||
| 2403 | INSTALL=$ac_install_sh | ||
| 2404 | fi | ||
| 2405 | fi | ||
| 2406 | nigel | 63 | echo "$as_me:$LINENO: result: $INSTALL" >&5 |
| 2407 | nigel | 53 | echo "${ECHO_T}$INSTALL" >&6 |
| 2408 | |||
| 2409 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | ||
| 2410 | # It thinks the first close brace ends the variable substitution. | ||
| 2411 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | ||
| 2412 | |||
| 2413 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | ||
| 2414 | |||
| 2415 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||
| 2416 | |||
| 2417 | |||
| 2418 | # Check whether --enable-shared or --disable-shared was given. | ||
| 2419 | if test "${enable_shared+set}" = set; then | ||
| 2420 | enableval="$enable_shared" | ||
| 2421 | p=${PACKAGE-default} | ||
| 2422 | case $enableval in | ||
| 2423 | yes) enable_shared=yes ;; | ||
| 2424 | no) enable_shared=no ;; | ||
| 2425 | *) | ||
| 2426 | enable_shared=no | ||
| 2427 | # Look at the argument we got. We use all the common list separators. | ||
| 2428 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," | ||
| 2429 | for pkg in $enableval; do | ||
| 2430 | if test "X$pkg" = "X$p"; then | ||
| 2431 | enable_shared=yes | ||
| 2432 | fi | ||
| 2433 | done | ||
| 2434 | IFS="$ac_save_ifs" | ||
| 2435 | ;; | ||
| 2436 | esac | ||
| 2437 | else | ||
| 2438 | enable_shared=yes | ||
| 2439 | fi; | ||
| 2440 | # Check whether --enable-static or --disable-static was given. | ||
| 2441 | if test "${enable_static+set}" = set; then | ||
| 2442 | enableval="$enable_static" | ||
| 2443 | p=${PACKAGE-default} | ||
| 2444 | case $enableval in | ||
| 2445 | yes) enable_static=yes ;; | ||
| 2446 | no) enable_static=no ;; | ||
| 2447 | *) | ||
| 2448 | enable_static=no | ||
| 2449 | # Look at the argument we got. We use all the common list separators. | ||
| 2450 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," | ||
| 2451 | for pkg in $enableval; do | ||
| 2452 | if test "X$pkg" = "X$p"; then | ||
| 2453 | enable_static=yes | ||
| 2454 | fi | ||
| 2455 | done | ||
| 2456 | IFS="$ac_save_ifs" | ||
| 2457 | ;; | ||
| 2458 | esac | ||
| 2459 | else | ||
| 2460 | enable_static=yes | ||
| 2461 | fi; | ||
| 2462 | # Check whether --enable-fast-install or --disable-fast-install was given. | ||
| 2463 | if test "${enable_fast_install+set}" = set; then | ||
| 2464 | enableval="$enable_fast_install" | ||
| 2465 | p=${PACKAGE-default} | ||
| 2466 | case $enableval in | ||
| 2467 | yes) enable_fast_install=yes ;; | ||
| 2468 | no) enable_fast_install=no ;; | ||
| 2469 | *) | ||
| 2470 | enable_fast_install=no | ||
| 2471 | # Look at the argument we got. We use all the common list separators. | ||
| 2472 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," | ||
| 2473 | for pkg in $enableval; do | ||
| 2474 | if test "X$pkg" = "X$p"; then | ||
| 2475 | enable_fast_install=yes | ||
| 2476 | fi | ||
| 2477 | done | ||
| 2478 | IFS="$ac_save_ifs" | ||
| 2479 | ;; | ||
| 2480 | esac | ||
| 2481 | else | ||
| 2482 | enable_fast_install=yes | ||
| 2483 | fi; | ||
| 2484 | # Make sure we can run config.sub. | ||
| 2485 | $ac_config_sub sun4 >/dev/null 2>&1 || | ||
| 2486 | nigel | 63 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
| 2487 | nigel | 53 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
| 2488 | { (exit 1); exit 1; }; } | ||
| 2489 | |||
| 2490 | nigel | 63 | echo "$as_me:$LINENO: checking build system type" >&5 |
| 2491 | nigel | 53 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
| 2492 | if test "${ac_cv_build+set}" = set; then | ||
| 2493 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2494 | else | ||
| 2495 | ac_cv_build_alias=$build_alias | ||
| 2496 | test -z "$ac_cv_build_alias" && | ||
| 2497 | ac_cv_build_alias=`$ac_config_guess` | ||
| 2498 | test -z "$ac_cv_build_alias" && | ||
| 2499 | nigel | 63 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
| 2500 | nigel | 53 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
| 2501 | { (exit 1); exit 1; }; } | ||
| 2502 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | ||
| 2503 | nigel | 63 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
| 2504 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | ||
| 2505 | nigel | 53 | { (exit 1); exit 1; }; } |
| 2506 | |||
| 2507 | fi | ||
| 2508 | nigel | 63 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
| 2509 | nigel | 53 | echo "${ECHO_T}$ac_cv_build" >&6 |
| 2510 | build=$ac_cv_build | ||
| 2511 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||
| 2512 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||
| 2513 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||
| 2514 | |||
| 2515 | nigel | 63 | |
| 2516 | echo "$as_me:$LINENO: checking host system type" >&5 | ||
| 2517 | nigel | 53 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
| 2518 | if test "${ac_cv_host+set}" = set; then | ||
| 2519 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2520 | else | ||
| 2521 | ac_cv_host_alias=$host_alias | ||
| 2522 | test -z "$ac_cv_host_alias" && | ||
| 2523 | ac_cv_host_alias=$ac_cv_build_alias | ||
| 2524 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | ||
| 2525 | nigel | 63 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
| 2526 | nigel | 53 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
| 2527 | { (exit 1); exit 1; }; } | ||
| 2528 | |||
| 2529 | fi | ||
| 2530 | nigel | 63 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
| 2531 | nigel | 53 | echo "${ECHO_T}$ac_cv_host" >&6 |
| 2532 | host=$ac_cv_host | ||
| 2533 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||
| 2534 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||
| 2535 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||
| 2536 | |||
| 2537 | nigel | 63 | |
| 2538 | |||
| 2539 | nigel | 53 | # Check whether --with-gnu-ld or --without-gnu-ld was given. |
| 2540 | if test "${with_gnu_ld+set}" = set; then | ||
| 2541 | withval="$with_gnu_ld" | ||
| 2542 | test "$withval" = no || with_gnu_ld=yes | ||
| 2543 | else | ||
| 2544 | with_gnu_ld=no | ||
| 2545 | fi; | ||
| 2546 | ac_prog=ld | ||
| 2547 | if test "$GCC" = yes; then | ||
| 2548 | # Check if gcc -print-prog-name=ld gives a path. | ||
| 2549 | nigel | 63 | echo "$as_me:$LINENO: checking for ld used by GCC" >&5 |
| 2550 | nigel | 53 | echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 |
| 2551 | case $host in | ||
| 2552 | *-*-mingw*) | ||
| 2553 | # gcc leaves a trailing carriage return which upsets mingw | ||
| 2554 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | ||
| 2555 | *) | ||
| 2556 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | ||
| 2557 | esac | ||
| 2558 | case $ac_prog in | ||
| 2559 | # Accept absolute paths. | ||
| 2560 | [\\/]* | [A-Za-z]:[\\/]*) | ||
| 2561 | re_direlt='/[^/][^/]*/\.\./' | ||
| 2562 | # Canonicalize the path of ld | ||
| 2563 | ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` | ||
| 2564 | while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do | ||
| 2565 | ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` | ||
| 2566 | done | ||
| 2567 | test -z "$LD" && LD="$ac_prog" | ||
| 2568 | ;; | ||
| 2569 | "") | ||
| 2570 | # If it fails, then pretend we aren't using GCC. | ||
| 2571 | ac_prog=ld | ||
| 2572 | ;; | ||
| 2573 | *) | ||
| 2574 | # If it is relative, then search for the first ld in PATH. | ||
| 2575 | with_gnu_ld=unknown | ||
| 2576 | ;; | ||
| 2577 | esac | ||
| 2578 | elif test "$with_gnu_ld" = yes; then | ||
| 2579 | nigel | 63 | echo "$as_me:$LINENO: checking for GNU ld" >&5 |
| 2580 | nigel | 53 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 |
| 2581 | else | ||
| 2582 | nigel | 63 | echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
| 2583 | nigel | 53 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 |
| 2584 | fi | ||
| 2585 | if test "${lt_cv_path_LD+set}" = set; then | ||
| 2586 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2587 | else | ||
| 2588 | if test -z "$LD"; then | ||
| 2589 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" | ||
| 2590 | for ac_dir in $PATH; do | ||
| 2591 | test -z "$ac_dir" && ac_dir=. | ||
| 2592 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | ||
| 2593 | lt_cv_path_LD="$ac_dir/$ac_prog" | ||
| 2594 | # Check to see if the program is GNU ld. I'd rather use --version, | ||
| 2595 | # but apparently some GNU ld's only accept -v. | ||
| 2596 | # Break only if it was the GNU/non-GNU ld that we prefer. | ||
| 2597 | if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then | ||
| 2598 | test "$with_gnu_ld" != no && break | ||
| 2599 | else | ||
| 2600 | test "$with_gnu_ld" != yes && break | ||
| 2601 | fi | ||
| 2602 | fi | ||
| 2603 | done | ||
| 2604 | IFS="$ac_save_ifs" | ||
| 2605 | else | ||
| 2606 | lt_cv_path_LD="$LD" # Let the user override the test with a path. | ||
| 2607 | fi | ||
| 2608 | fi | ||
| 2609 | |||
| 2610 | LD="$lt_cv_path_LD" | ||
| 2611 | if test -n "$LD"; then | ||
| 2612 | nigel | 63 | echo "$as_me:$LINENO: result: $LD" >&5 |
| 2613 | nigel | 53 | echo "${ECHO_T}$LD" >&6 |
| 2614 | else | ||
| 2615 | nigel | 63 | echo "$as_me:$LINENO: result: no" >&5 |
| 2616 | nigel | 53 | echo "${ECHO_T}no" >&6 |
| 2617 | fi | ||
| 2618 | nigel | 63 | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
| 2619 | nigel | 53 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
| 2620 | { (exit 1); exit 1; }; } | ||
| 2621 | nigel | 63 | echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
| 2622 | nigel | 53 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 |
| 2623 | if test "${lt_cv_prog_gnu_ld+set}" = set; then | ||
| 2624 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2625 | else | ||
| 2626 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. | ||
| 2627 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | ||
| 2628 | lt_cv_prog_gnu_ld=yes | ||
| 2629 | else | ||
| 2630 | lt_cv_prog_gnu_ld=no | ||
| 2631 | fi | ||
| 2632 | fi | ||
| 2633 | nigel | 63 | echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
| 2634 | nigel | 53 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 |
| 2635 | with_gnu_ld=$lt_cv_prog_gnu_ld | ||
| 2636 | |||
| 2637 | nigel | 63 | |
| 2638 | echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 | ||
| 2639 | nigel | 53 | echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 |
| 2640 | if test "${lt_cv_ld_reload_flag+set}" = set; then | ||
| 2641 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2642 | else | ||
| 2643 | lt_cv_ld_reload_flag='-r' | ||
| 2644 | fi | ||
| 2645 | nigel | 63 | echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 |
| 2646 | nigel | 53 | echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 |
| 2647 | reload_flag=$lt_cv_ld_reload_flag | ||
| 2648 | test -n "$reload_flag" && reload_flag=" $reload_flag" | ||
| 2649 | |||
| 2650 | nigel | 63 | echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 |
| 2651 | nigel | 53 | echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 |
| 2652 | if test "${lt_cv_path_NM+set}" = set; then | ||
| 2653 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2654 | else | ||
| 2655 | if test -n "$NM"; then | ||
| 2656 | # Let the user override the test. | ||
| 2657 | lt_cv_path_NM="$NM" | ||
| 2658 | else | ||
| 2659 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" | ||
| 2660 | for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do | ||
| 2661 | test -z "$ac_dir" && ac_dir=. | ||
| 2662 | tmp_nm=$ac_dir/${ac_tool_prefix}nm | ||
| 2663 | if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then | ||
| 2664 | # Check to see if the nm accepts a BSD-compat flag. | ||
| 2665 | # Adding the `sed 1q' prevents false positives on HP-UX, which says: | ||
| 2666 | # nm: unknown option "B" ignored | ||
| 2667 | # Tru64's nm complains that /dev/null is an invalid object file | ||
| 2668 | if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then | ||
| 2669 | lt_cv_path_NM="$tmp_nm -B" | ||
| 2670 | break | ||
| 2671 | elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then | ||
| 2672 | lt_cv_path_NM="$tmp_nm -p" | ||
| 2673 | break | ||
| 2674 | else | ||
| 2675 | lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but | ||
| 2676 | continue # so that we can try to find one that supports BSD flags | ||
| 2677 | fi | ||
| 2678 | fi | ||
| 2679 | done | ||
| 2680 | IFS="$ac_save_ifs" | ||
| 2681 | test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm | ||
| 2682 | fi | ||
| 2683 | fi | ||
| 2684 | |||
| 2685 | NM="$lt_cv_path_NM" | ||
| 2686 | nigel | 63 | echo "$as_me:$LINENO: result: $NM" >&5 |
| 2687 | nigel | 53 | echo "${ECHO_T}$NM" >&6 |
| 2688 | |||
| 2689 | nigel | 63 | echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
| 2690 | nigel | 53 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 |
| 2691 | LN_S=$as_ln_s | ||
| 2692 | if test "$LN_S" = "ln -s"; then | ||
| 2693 | nigel | 63 | echo "$as_me:$LINENO: result: yes" >&5 |
| 2694 | nigel | 53 | echo "${ECHO_T}yes" >&6 |
| 2695 | else | ||
| 2696 | nigel | 63 | echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
| 2697 | nigel | 53 | echo "${ECHO_T}no, using $LN_S" >&6 |
| 2698 | fi | ||
| 2699 | |||
| 2700 | nigel | 63 | echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5 |
| 2701 | nigel | 53 | echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 |
| 2702 | if test "${lt_cv_deplibs_check_method+set}" = set; then | ||
| 2703 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2704 | else | ||
| 2705 | lt_cv_file_magic_cmd='$MAGIC_CMD' | ||
| 2706 | lt_cv_file_magic_test_file= | ||
| 2707 | lt_cv_deplibs_check_method='unknown' | ||
| 2708 | # Need to set the preceding variable on all platforms that support | ||
| 2709 | # interlibrary dependencies. | ||
| 2710 | # 'none' -- dependencies not supported. | ||
| 2711 | # `unknown' -- same as none, but documents that we really don't know. | ||
| 2712 | # 'pass_all' -- all dependencies passed with no checks. | ||
| 2713 | # 'test_compile' -- check by making test program. | ||
| 2714 | # ['file_magic [regex]'] -- check by looking for files in library path | ||
| 2715 | # which responds to the $file_magic_cmd with a given egrep regex. | ||
| 2716 | # If you have `file' or equivalent on your system and you're not sure | ||
| 2717 | # whether `pass_all' will *always* work, you probably want this one. | ||
| 2718 | |||
| 2719 | case $host_os in | ||
| 2720 | aix4* | aix5*) | ||
| 2721 | lt_cv_deplibs_check_method=pass_all | ||
| 2722 | ;; | ||
| 2723 | |||
| 2724 | beos*) | ||
| 2725 | lt_cv_deplibs_check_method=pass_all | ||
| 2726 | ;; | ||
| 2727 | |||
| 2728 | bsdi4*) | ||
| 2729 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' | ||
| 2730 | lt_cv_file_magic_cmd='/usr/bin/file -L' | ||
| 2731 | lt_cv_file_magic_test_file=/shlib/libc.so | ||
| 2732 | ;; | ||
| 2733 | |||
| 2734 | cygwin* | mingw* | pw32*) | ||
| 2735 | lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' | ||
| 2736 | lt_cv_file_magic_cmd='$OBJDUMP -f' | ||
| 2737 | ;; | ||
| 2738 | |||
| 2739 | darwin* | rhapsody*) | ||
| 2740 | lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' | ||
| 2741 | lt_cv_file_magic_cmd='/usr/bin/file -L' | ||
| 2742 | case "$host_os" in | ||
| 2743 | rhapsody* | darwin1.012) | ||
| 2744 | lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` | ||
| 2745 | ;; | ||
| 2746 | *) # Darwin 1.3 on | ||
| 2747 | lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' | ||
| 2748 | ;; | ||
| 2749 | esac | ||
| 2750 | ;; | ||
| 2751 | |||
| 2752 | freebsd*) | ||
| 2753 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | ||
| 2754 | case $host_cpu in | ||
| 2755 | i*86 ) | ||
| 2756 | # Not sure whether the presence of OpenBSD here was a mistake. | ||
| 2757 | # Let's accept both of them until this is cleared up. | ||
| 2758 | lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' | ||
| 2759 | lt_cv_file_magic_cmd=/usr/bin/file | ||
| 2760 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | ||
| 2761 | ;; | ||
| 2762 | esac | ||
| 2763 | else | ||
| 2764 | lt_cv_deplibs_check_method=pass_all | ||
| 2765 | fi | ||
| 2766 | ;; | ||
| 2767 | |||
| 2768 | gnu*) | ||
| 2769 | lt_cv_deplibs_check_method=pass_all | ||
| 2770 | ;; | ||
| 2771 | |||
| 2772 | hpux10.20*|hpux11*) | ||
| 2773 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' | ||
| 2774 | lt_cv_file_magic_cmd=/usr/bin/file | ||
| 2775 | lt_cv_file_magic_test_file=/usr/lib/libc.sl | ||
| 2776 | ;; | ||
| 2777 | |||
| 2778 | irix5* | irix6*) | ||
| 2779 | case $host_os in | ||
| 2780 | irix5*) | ||
| 2781 | # this will be overridden with pass_all, but let us keep it just in case | ||
| 2782 | lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" | ||
| 2783 | ;; | ||
| 2784 | *) | ||
| 2785 | case $LD in | ||
| 2786 | *-32|*"-32 ") libmagic=32-bit;; | ||
| 2787 | *-n32|*"-n32 ") libmagic=N32;; | ||
| 2788 | *-64|*"-64 ") libmagic=64-bit;; | ||
| 2789 | *) libmagic=never-match;; | ||
| 2790 | esac | ||
| 2791 | # this will be overridden with pass_all, but let us keep it just in case | ||
| 2792 | lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" | ||
| 2793 | ;; | ||
| 2794 | esac | ||
| 2795 | lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` | ||
| 2796 | lt_cv_deplibs_check_method=pass_all | ||
| 2797 | ;; | ||
| 2798 | |||
| 2799 | # This must be Linux ELF. | ||
| 2800 | linux-gnu*) | ||
| 2801 | case $host_cpu in | ||
| 2802 | alpha* | i*86 | powerpc* | sparc* | ia64* ) | ||
| 2803 | lt_cv_deplibs_check_method=pass_all ;; | ||
| 2804 | *) | ||
| 2805 | # glibc up to 2.1.1 does not perform some relocations on ARM | ||
| 2806 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; | ||
| 2807 | esac | ||
| 2808 | lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | ||
| 2809 | ;; | ||
| 2810 | |||
| 2811 | netbsd*) | ||
| 2812 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | ||
| 2813 | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' | ||
| 2814 | else | ||
| 2815 | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' | ||
| 2816 | fi | ||
| 2817 | ;; | ||
| 2818 | |||
| 2819 | newos6*) | ||
| 2820 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' | ||
| 2821 | lt_cv_file_magic_cmd=/usr/bin/file | ||
| 2822 | lt_cv_file_magic_test_file=/usr/lib/libnls.so | ||
| 2823 | ;; | ||
| 2824 | |||
| 2825 | osf3* | osf4* | osf5*) | ||
| 2826 | # this will be overridden with pass_all, but let us keep it just in case | ||
| 2827 | lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' | ||
| 2828 | lt_cv_file_magic_test_file=/shlib/libc.so | ||
| 2829 | lt_cv_deplibs_check_method=pass_all | ||
| 2830 | ;; | ||
| 2831 | |||
| 2832 | sco3.2v5*) | ||
| 2833 | lt_cv_deplibs_check_method=pass_all | ||
| 2834 | ;; | ||
| 2835 | |||
| 2836 | solaris*) | ||
| 2837 | lt_cv_deplibs_check_method=pass_all | ||
| 2838 | lt_cv_file_magic_test_file=/lib/libc.so | ||
| 2839 | ;; | ||
| 2840 | |||
| 2841 | sysv5uw[78]* | sysv4*uw2*) | ||
| 2842 | lt_cv_deplibs_check_method=pass_all | ||
| 2843 | ;; | ||
| 2844 | |||
| 2845 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | ||
| 2846 | case $host_vendor in | ||
| 2847 | motorola) | ||
| 2848 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' | ||
| 2849 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` | ||
| 2850 | ;; | ||
| 2851 | ncr) | ||
| 2852 | lt_cv_deplibs_check_method=pass_all | ||
| 2853 | ;; | ||
| 2854 | sequent) | ||
| 2855 | lt_cv_file_magic_cmd='/bin/file' | ||
| 2856 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' | ||
| 2857 | ;; | ||
| 2858 | sni) | ||
| 2859 | lt_cv_file_magic_cmd='/bin/file' | ||
| 2860 | lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" | ||
| 2861 | lt_cv_file_magic_test_file=/lib/libc.so | ||
| 2862 | ;; | ||
| 2863 | esac | ||
| 2864 | ;; | ||
| 2865 | esac | ||
| 2866 | |||
| 2867 | fi | ||
| 2868 | nigel | 63 | echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 |
| 2869 | nigel | 53 | echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 |
| 2870 | file_magic_cmd=$lt_cv_file_magic_cmd | ||
| 2871 | deplibs_check_method=$lt_cv_deplibs_check_method | ||
| 2872 | |||
| 2873 | nigel | 63 | |
| 2874 | |||
| 2875 | |||
| 2876 | |||
| 2877 | |||
| 2878 | |||
| 2879 | |||
| 2880 | nigel | 53 | # Check for command to grab the raw symbol name followed by C symbol from nm. |
| 2881 | nigel | 63 | echo "$as_me:$LINENO: checking command to parse $NM output" >&5 |
| 2882 | nigel | 53 | echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 |
| 2883 | if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then | ||
| 2884 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2885 | else | ||
| 2886 | |||
| 2887 | # These are sane defaults that work on at least a few old systems. | ||
| 2888 | # [They come from Ultrix. What could be older than Ultrix?!! ;)] | ||
| 2889 | |||
| 2890 | # Character class describing NM global symbol codes. | ||
| 2891 | symcode='[BCDEGRST]' | ||
| 2892 | |||
| 2893 | # Regexp to match symbols that can be accessed directly from C. | ||
| 2894 | sympat='\([_A-Za-z][_A-Za-z0-9]*\)' | ||
| 2895 | |||
| 2896 | # Transform the above into a raw symbol and a C symbol. | ||
| 2897 | symxfrm='\1 \2\3 \3' | ||
| 2898 | |||
| 2899 | # Transform an extracted symbol line into a proper C declaration | ||
| 2900 | lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" | ||
| 2901 | |||
| 2902 | # Define system-specific variables. | ||
| 2903 | case $host_os in | ||
| 2904 | aix*) | ||
| 2905 | symcode='[BCDT]' | ||
| 2906 | ;; | ||
| 2907 | cygwin* | mingw* | pw32*) | ||
| 2908 | symcode='[ABCDGISTW]' | ||
| 2909 | ;; | ||
| 2910 | hpux*) # Its linker distinguishes data from code symbols | ||
| 2911 | lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" | ||
| 2912 | ;; | ||
| 2913 | irix*) | ||
| 2914 | symcode='[BCDEGRST]' | ||
| 2915 | ;; | ||
| 2916 | solaris* | sysv5*) | ||
| 2917 | symcode='[BDT]' | ||
| 2918 | ;; | ||
| 2919 | sysv4) | ||
| 2920 | symcode='[DFNSTU]' | ||
| 2921 | ;; | ||
| 2922 | esac | ||
| 2923 | |||
| 2924 | # Handle CRLF in mingw tool chain | ||
| 2925 | opt_cr= | ||
| 2926 | case $host_os in | ||
| 2927 | mingw*) | ||
| 2928 | opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp | ||
| 2929 | ;; | ||
| 2930 | esac | ||
| 2931 | |||
| 2932 | # If we're using GNU nm, then use its standard symbol codes. | ||
| 2933 | if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then | ||
| 2934 | symcode='[ABCDGISTW]' | ||
| 2935 | fi | ||
| 2936 | |||
| 2937 | # Try without a prefix undercore, then with it. | ||
| 2938 | for ac_symprfx in "" "_"; do | ||
| 2939 | |||
| 2940 | # Write the raw and C identifiers. | ||
| 2941 | lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" | ||
| 2942 | |||
| 2943 | # Check to see that the pipe works correctly. | ||
| 2944 | pipe_works=no | ||
| 2945 | rm -f conftest* | ||
| 2946 | cat > conftest.$ac_ext <<EOF | ||
| 2947 | #ifdef __cplusplus | ||
| 2948 | extern "C" { | ||
| 2949 | #endif | ||
| 2950 | char nm_test_var; | ||
| 2951 | void nm_test_func(){} | ||
| 2952 | #ifdef __cplusplus | ||
| 2953 | nigel | 41 | } |
| 2954 | nigel | 53 | #endif |
| 2955 | int main(){nm_test_var='a';nm_test_func();return(0);} | ||
| 2956 | EOF | ||
| 2957 | |||
| 2958 | nigel | 63 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2959 | nigel | 53 | (eval $ac_compile) 2>&5 |
| 2960 | ac_status=$? | ||
| 2961 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2962 | nigel | 53 | (exit $ac_status); }; then |
| 2963 | # Now try to grab the symbols. | ||
| 2964 | nlist=conftest.nm | ||
| 2965 | nigel | 63 | if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 |
| 2966 | nigel | 53 | (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 |
| 2967 | ac_status=$? | ||
| 2968 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2969 | nigel | 53 | (exit $ac_status); } && test -s "$nlist"; then |
| 2970 | # Try sorting and uniquifying the output. | ||
| 2971 | if sort "$nlist" | uniq > "$nlist"T; then | ||
| 2972 | mv -f "$nlist"T "$nlist" | ||
| 2973 | else | ||
| 2974 | rm -f "$nlist"T | ||
| 2975 | fi | ||
| 2976 | |||
| 2977 | # Make sure that we snagged all the symbols we need. | ||
| 2978 | if egrep ' nm_test_var$' "$nlist" >/dev/null; then | ||
| 2979 | if egrep ' nm_test_func$' "$nlist" >/dev/null; then | ||
| 2980 | cat <<EOF > conftest.$ac_ext | ||
| 2981 | #ifdef __cplusplus | ||
| 2982 | extern "C" { | ||
| 2983 | #endif | ||
| 2984 | |||
| 2985 | EOF | ||
| 2986 | # Now generate the symbol file. | ||
| 2987 | eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' | ||
| 2988 | |||
| 2989 | cat <<EOF >> conftest.$ac_ext | ||
| 2990 | #if defined (__STDC__) && __STDC__ | ||
| 2991 | # define lt_ptr_t void * | ||
| 2992 | #else | ||
| 2993 | # define lt_ptr_t char * | ||
| 2994 | # define const | ||
| 2995 | #endif | ||
| 2996 | |||
| 2997 | /* The mapping between symbol names and symbols. */ | ||
| 2998 | const struct { | ||
| 2999 | const char *name; | ||
| 3000 | lt_ptr_t address; | ||
| 3001 | nigel | 41 | } |
| 3002 | nigel | 53 | lt_preloaded_symbols[] = |
| 3003 | { | ||
| 3004 | EOF | ||
| 3005 | sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext | ||
| 3006 | cat <<\EOF >> conftest.$ac_ext | ||
| 3007 | {0, (lt_ptr_t) 0} | ||
| 3008 | }; | ||
| 3009 | nigel | 41 | |
| 3010 | nigel | 53 | #ifdef __cplusplus |
| 3011 | } | ||
| 3012 | #endif | ||
| 3013 | nigel | 41 | EOF |
| 3014 | nigel | 53 | # Now try linking the two files. |
| 3015 | mv conftest.$ac_objext conftstm.$ac_objext | ||
| 3016 | save_LIBS="$LIBS" | ||
| 3017 | save_CFLAGS="$CFLAGS" | ||
| 3018 | LIBS="conftstm.$ac_objext" | ||
| 3019 | CFLAGS="$CFLAGS$no_builtin_flag" | ||
| 3020 | nigel | 63 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 3021 | nigel | 53 | (eval $ac_link) 2>&5 |
| 3022 | ac_status=$? | ||
| 3023 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3024 | nigel | 53 | (exit $ac_status); } && test -s conftest; then |
| 3025 | pipe_works=yes | ||
| 3026 | fi | ||
| 3027 | LIBS="$save_LIBS" | ||
| 3028 | CFLAGS="$save_CFLAGS" | ||
| 3029 | else | ||
| 3030 | echo "cannot find nm_test_func in $nlist" >&5 | ||
| 3031 | fi | ||
| 3032 | else | ||
| 3033 | echo "cannot find nm_test_var in $nlist" >&5 | ||
| 3034 | fi | ||
| 3035 | else | ||
| 3036 | echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 | ||
| 3037 | fi | ||
| 3038 | else | ||
| 3039 | echo "$progname: failed program was:" >&5 | ||
| 3040 | cat conftest.$ac_ext >&5 | ||
| 3041 | fi | ||
| 3042 | rm -f conftest* conftst* | ||
| 3043 | |||
| 3044 | # Do not use the global_symbol_pipe unless it works. | ||
| 3045 | if test "$pipe_works" = yes; then | ||
| 3046 | break | ||
| 3047 | else | ||
| 3048 | lt_cv_sys_global_symbol_pipe= | ||
| 3049 | fi | ||
| 3050 | done | ||
| 3051 | |||
| 3052 | fi | ||
| 3053 | |||
| 3054 | global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" | ||
| 3055 | if test -z "$lt_cv_sys_global_symbol_pipe"; then | ||
| 3056 | global_symbol_to_cdecl= | ||
| 3057 | nigel | 41 | else |
| 3058 | nigel | 53 | global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" |
| 3059 | fi | ||
| 3060 | if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then | ||
| 3061 | nigel | 63 | echo "$as_me:$LINENO: result: failed" >&5 |
| 3062 | nigel | 53 | echo "${ECHO_T}failed" >&6 |
| 3063 | else | ||
| 3064 | nigel | 63 | echo "$as_me:$LINENO: result: ok" >&5 |
| 3065 | nigel | 53 | echo "${ECHO_T}ok" >&6 |
| 3066 | fi | ||
| 3067 | |||
| 3068 | nigel | 63 | ac_ext=c |
| 3069 | ac_cpp='$CPP $CPPFLAGS' | ||
| 3070 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 3071 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 3072 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 3073 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | ||
| 3074 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | ||
| 3075 | # On Suns, sometimes $CPP names a directory. | ||
| 3076 | if test -n "$CPP" && test -d "$CPP"; then | ||
| 3077 | CPP= | ||
| 3078 | fi | ||
| 3079 | if test -z "$CPP"; then | ||
| 3080 | if test "${ac_cv_prog_CPP+set}" = set; then | ||
| 3081 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 3082 | else | ||
| 3083 | # Double quotes because CPP needs to be expanded | ||
| 3084 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | ||
| 3085 | do | ||
| 3086 | ac_preproc_ok=false | ||
| 3087 | for ac_c_preproc_warn_flag in '' yes | ||
| 3088 | nigel | 53 | do |
| 3089 | nigel | 63 | # Use a header file that comes with gcc, so configuring glibc |
| 3090 | # with a fresh cross-compiler works. | ||
| 3091 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 3092 | # <limits.h> exists even on freestanding compilers. | ||
| 3093 | # On the NeXT, cc -E runs the code through the compiler's parser, | ||
| 3094 | # not just through cpp. "Syntax error" is here to catch this case. | ||
| 3095 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3096 | #line $LINENO "configure" | ||
| 3097 | /* confdefs.h. */ | ||
| 3098 | _ACEOF | ||
| 3099 | cat confdefs.h >>conftest.$ac_ext | ||
| 3100 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3101 | /* end confdefs.h. */ | ||
| 3102 | #ifdef __STDC__ | ||
| 3103 | # include <limits.h> | ||
| 3104 | #else | ||
| 3105 | # include <assert.h> | ||
| 3106 | #endif | ||
| 3107 | Syntax error | ||
| 3108 | _ACEOF | ||
| 3109 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
| 3110 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
| 3111 | ac_status=$? | ||
| 3112 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3113 | rm -f conftest.er1 | ||
| 3114 | cat conftest.err >&5 | ||
| 3115 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3116 | (exit $ac_status); } >/dev/null; then | ||
| 3117 | if test -s conftest.err; then | ||
| 3118 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
| 3119 | else | ||
| 3120 | ac_cpp_err= | ||
| 3121 | fi | ||
| 3122 | else | ||
| 3123 | ac_cpp_err=yes | ||
| 3124 | fi | ||
| 3125 | if test -z "$ac_cpp_err"; then | ||
| 3126 | : | ||
| 3127 | else | ||
| 3128 | echo "$as_me: failed program was:" >&5 | ||
| 3129 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3130 | |||
| 3131 | # Broken: fails on valid input. | ||
| 3132 | continue | ||
| 3133 | fi | ||
| 3134 | rm -f conftest.err conftest.$ac_ext | ||
| 3135 | |||
| 3136 | # OK, works on sane cases. Now check whether non-existent headers | ||
| 3137 | # can be detected and how. | ||
| 3138 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3139 | #line $LINENO "configure" | ||
| 3140 | /* confdefs.h. */ | ||
| 3141 | _ACEOF | ||
| 3142 | cat confdefs.h >>conftest.$ac_ext | ||
| 3143 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3144 | /* end confdefs.h. */ | ||
| 3145 | #include <ac_nonexistent.h> | ||
| 3146 | _ACEOF | ||
| 3147 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
| 3148 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
| 3149 | ac_status=$? | ||
| 3150 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3151 | rm -f conftest.er1 | ||
| 3152 | cat conftest.err >&5 | ||
| 3153 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3154 | (exit $ac_status); } >/dev/null; then | ||
| 3155 | if test -s conftest.err; then | ||
| 3156 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
| 3157 | else | ||
| 3158 | ac_cpp_err= | ||
| 3159 | fi | ||
| 3160 | else | ||
| 3161 | ac_cpp_err=yes | ||
| 3162 | fi | ||
| 3163 | if test -z "$ac_cpp_err"; then | ||
| 3164 | # Broken: success on invalid input. | ||
| 3165 | continue | ||
| 3166 | else | ||
| 3167 | echo "$as_me: failed program was:" >&5 | ||
| 3168 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3169 | |||
| 3170 | # Passes both tests. | ||
| 3171 | ac_preproc_ok=: | ||
| 3172 | break | ||
| 3173 | fi | ||
| 3174 | rm -f conftest.err conftest.$ac_ext | ||
| 3175 | |||
| 3176 | done | ||
| 3177 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
| 3178 | rm -f conftest.err conftest.$ac_ext | ||
| 3179 | if $ac_preproc_ok; then | ||
| 3180 | break | ||
| 3181 | fi | ||
| 3182 | |||
| 3183 | done | ||
| 3184 | ac_cv_prog_CPP=$CPP | ||
| 3185 | |||
| 3186 | fi | ||
| 3187 | CPP=$ac_cv_prog_CPP | ||
| 3188 | else | ||
| 3189 | ac_cv_prog_CPP=$CPP | ||
| 3190 | fi | ||
| 3191 | echo "$as_me:$LINENO: result: $CPP" >&5 | ||
| 3192 | echo "${ECHO_T}$CPP" >&6 | ||
| 3193 | ac_preproc_ok=false | ||
| 3194 | for ac_c_preproc_warn_flag in '' yes | ||
| 3195 | do | ||
| 3196 | # Use a header file that comes with gcc, so configuring glibc | ||
| 3197 | # with a fresh cross-compiler works. | ||
| 3198 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 3199 | # <limits.h> exists even on freestanding compilers. | ||
| 3200 | # On the NeXT, cc -E runs the code through the compiler's parser, | ||
| 3201 | # not just through cpp. "Syntax error" is here to catch this case. | ||
| 3202 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3203 | #line $LINENO "configure" | ||
| 3204 | /* confdefs.h. */ | ||
| 3205 | _ACEOF | ||
| 3206 | cat confdefs.h >>conftest.$ac_ext | ||
| 3207 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3208 | /* end confdefs.h. */ | ||
| 3209 | #ifdef __STDC__ | ||
| 3210 | # include <limits.h> | ||
| 3211 | #else | ||
| 3212 | # include <assert.h> | ||
| 3213 | #endif | ||
| 3214 | Syntax error | ||
| 3215 | _ACEOF | ||
| 3216 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
| 3217 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
| 3218 | ac_status=$? | ||
| 3219 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3220 | rm -f conftest.er1 | ||
| 3221 | cat conftest.err >&5 | ||
| 3222 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3223 | (exit $ac_status); } >/dev/null; then | ||
| 3224 | if test -s conftest.err; then | ||
| 3225 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
| 3226 | else | ||
| 3227 | ac_cpp_err= | ||
| 3228 | fi | ||
| 3229 | else | ||
| 3230 | ac_cpp_err=yes | ||
| 3231 | fi | ||
| 3232 | if test -z "$ac_cpp_err"; then | ||
| 3233 | : | ||
| 3234 | else | ||
| 3235 | echo "$as_me: failed program was:" >&5 | ||
| 3236 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3237 | |||
| 3238 | # Broken: fails on valid input. | ||
| 3239 | continue | ||
| 3240 | fi | ||
| 3241 | rm -f conftest.err conftest.$ac_ext | ||
| 3242 | |||
| 3243 | # OK, works on sane cases. Now check whether non-existent headers | ||
| 3244 | # can be detected and how. | ||
| 3245 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3246 | #line $LINENO "configure" | ||
| 3247 | /* confdefs.h. */ | ||
| 3248 | _ACEOF | ||
| 3249 | cat confdefs.h >>conftest.$ac_ext | ||
| 3250 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3251 | /* end confdefs.h. */ | ||
| 3252 | #include <ac_nonexistent.h> | ||
| 3253 | _ACEOF | ||
| 3254 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
| 3255 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
| 3256 | ac_status=$? | ||
| 3257 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3258 | rm -f conftest.er1 | ||
| 3259 | cat conftest.err >&5 | ||
| 3260 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3261 | (exit $ac_status); } >/dev/null; then | ||
| 3262 | if test -s conftest.err; then | ||
| 3263 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
| 3264 | else | ||
| 3265 | ac_cpp_err= | ||
| 3266 | fi | ||
| 3267 | else | ||
| 3268 | ac_cpp_err=yes | ||
| 3269 | fi | ||
| 3270 | if test -z "$ac_cpp_err"; then | ||
| 3271 | # Broken: success on invalid input. | ||
| 3272 | continue | ||
| 3273 | else | ||
| 3274 | echo "$as_me: failed program was:" >&5 | ||
| 3275 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3276 | |||
| 3277 | # Passes both tests. | ||
| 3278 | ac_preproc_ok=: | ||
| 3279 | break | ||
| 3280 | fi | ||
| 3281 | rm -f conftest.err conftest.$ac_ext | ||
| 3282 | |||
| 3283 | done | ||
| 3284 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
| 3285 | rm -f conftest.err conftest.$ac_ext | ||
| 3286 | if $ac_preproc_ok; then | ||
| 3287 | : | ||
| 3288 | else | ||
| 3289 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | ||
| 3290 | See \`config.log' for more details." >&5 | ||
| 3291 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | ||
| 3292 | See \`config.log' for more details." >&2;} | ||
| 3293 | { (exit 1); exit 1; }; } | ||
| 3294 | fi | ||
| 3295 | |||
| 3296 | ac_ext=c | ||
| 3297 | ac_cpp='$CPP $CPPFLAGS' | ||
| 3298 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 3299 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 3300 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 3301 | |||
| 3302 | |||
| 3303 | echo "$as_me:$LINENO: checking for egrep" >&5 | ||
| 3304 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | ||
| 3305 | if test "${ac_cv_prog_egrep+set}" = set; then | ||
| 3306 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 3307 | else | ||
| 3308 | if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | ||
| 3309 | then ac_cv_prog_egrep='grep -E' | ||
| 3310 | else ac_cv_prog_egrep='egrep' | ||
| 3311 | fi | ||
| 3312 | fi | ||
| 3313 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | ||
| 3314 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | ||
| 3315 | EGREP=$ac_cv_prog_egrep | ||
| 3316 | |||
| 3317 | |||
| 3318 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | ||
| 3319 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | ||
| 3320 | if test "${ac_cv_header_stdc+set}" = set; then | ||
| 3321 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 3322 | else | ||
| 3323 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3324 | #line $LINENO "configure" | ||
| 3325 | /* confdefs.h. */ | ||
| 3326 | _ACEOF | ||
| 3327 | cat confdefs.h >>conftest.$ac_ext | ||
| 3328 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3329 | /* end confdefs.h. */ | ||
| 3330 | #include <stdlib.h> | ||
| 3331 | #include <stdarg.h> | ||
| 3332 | #include <string.h> | ||
| 3333 | #include <float.h> | ||
| 3334 | |||
| 3335 | int | ||
| 3336 | main () | ||
| 3337 | { | ||
| 3338 | |||
| 3339 | ; | ||
| 3340 | return 0; | ||
| 3341 | } | ||
| 3342 | _ACEOF | ||
| 3343 | rm -f conftest.$ac_objext | ||
| 3344 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
| 3345 | (eval $ac_compile) 2>&5 | ||
| 3346 | ac_status=$? | ||
| 3347 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3348 | (exit $ac_status); } && | ||
| 3349 | { ac_try='test -s conftest.$ac_objext' | ||
| 3350 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 3351 | (eval $ac_try) 2>&5 | ||
| 3352 | ac_status=$? | ||
| 3353 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3354 | (exit $ac_status); }; }; then | ||
| 3355 | ac_cv_header_stdc=yes | ||
| 3356 | else | ||
| 3357 | echo "$as_me: failed program was:" >&5 | ||
| 3358 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3359 | |||
| 3360 | ac_cv_header_stdc=no | ||
| 3361 | fi | ||
| 3362 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
| 3363 | |||
| 3364 | if test $ac_cv_header_stdc = yes; then | ||
| 3365 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | ||
| 3366 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3367 | #line $LINENO "configure" | ||
| 3368 | /* confdefs.h. */ | ||
| 3369 | _ACEOF | ||
| 3370 | cat confdefs.h >>conftest.$ac_ext | ||
| 3371 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3372 | /* end confdefs.h. */ | ||
| 3373 | #include <string.h> | ||
| 3374 | |||
| 3375 | _ACEOF | ||
| 3376 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
| 3377 | $EGREP "memchr" >/dev/null 2>&1; then | ||
| 3378 | : | ||
| 3379 | else | ||
| 3380 | ac_cv_header_stdc=no | ||
| 3381 | fi | ||
| 3382 | rm -f conftest* | ||
| 3383 | |||
| 3384 | fi | ||
| 3385 | |||
| 3386 | if test $ac_cv_header_stdc = yes; then | ||
| 3387 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | ||
| 3388 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3389 | #line $LINENO "configure" | ||
| 3390 | /* confdefs.h. */ | ||
| 3391 | _ACEOF | ||
| 3392 | cat confdefs.h >>conftest.$ac_ext | ||
| 3393 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3394 | /* end confdefs.h. */ | ||
| 3395 | #include <stdlib.h> | ||
| 3396 | |||
| 3397 | _ACEOF | ||
| 3398 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
| 3399 | $EGREP "free" >/dev/null 2>&1; then | ||
| 3400 | : | ||
| 3401 | else | ||
| 3402 | ac_cv_header_stdc=no | ||
| 3403 | fi | ||
| 3404 | rm -f conftest* | ||
| 3405 | |||
| 3406 | fi | ||
| 3407 | |||
| 3408 | if test $ac_cv_header_stdc = yes; then | ||
| 3409 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | ||
| 3410 | if test "$cross_compiling" = yes; then | ||
| 3411 | : | ||
| 3412 | else | ||
| 3413 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3414 | #line $LINENO "configure" | ||
| 3415 | /* confdefs.h. */ | ||
| 3416 | _ACEOF | ||
| 3417 | cat confdefs.h >>conftest.$ac_ext | ||
| 3418 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3419 | /* end confdefs.h. */ | ||
| 3420 | #include <ctype.h> | ||
| 3421 | #if ((' ' & 0x0FF) == 0x020) | ||
| 3422 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | ||
| 3423 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | ||
| 3424 | #else | ||
| 3425 | # define ISLOWER(c) \ | ||
| 3426 | (('a' <= (c) && (c) <= 'i') \ | ||
| 3427 | || ('j' <= (c) && (c) <= 'r') \ | ||
| 3428 | || ('s' <= (c) && (c) <= 'z')) | ||
| 3429 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | ||
| 3430 | #endif | ||
| 3431 | |||
| 3432 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | ||
| 3433 | int | ||
| 3434 | main () | ||
| 3435 | { | ||
| 3436 | int i; | ||
| 3437 | for (i = 0; i < 256; i++) | ||
| 3438 | if (XOR (islower (i), ISLOWER (i)) | ||
| 3439 | || toupper (i) != TOUPPER (i)) | ||
| 3440 | exit(2); | ||
| 3441 | exit (0); | ||
| 3442 | } | ||
| 3443 | _ACEOF | ||
| 3444 | rm -f conftest$ac_exeext | ||
| 3445 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
| 3446 | (eval $ac_link) 2>&5 | ||
| 3447 | ac_status=$? | ||
| 3448 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3449 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 3450 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 3451 | (eval $ac_try) 2>&5 | ||
| 3452 | ac_status=$? | ||
| 3453 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3454 | (exit $ac_status); }; }; then | ||
| 3455 | : | ||
| 3456 | else | ||
| 3457 | echo "$as_me: program exited with status $ac_status" >&5 | ||
| 3458 | echo "$as_me: failed program was:" >&5 | ||
| 3459 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3460 | |||
| 3461 | ( exit $ac_status ) | ||
| 3462 | ac_cv_header_stdc=no | ||
| 3463 | fi | ||
| 3464 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
| 3465 | fi | ||
| 3466 | fi | ||
| 3467 | fi | ||
| 3468 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | ||
| 3469 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | ||
| 3470 | if test $ac_cv_header_stdc = yes; then | ||
| 3471 | |||
| 3472 | cat >>confdefs.h <<\_ACEOF | ||
| 3473 | #define STDC_HEADERS 1 | ||
| 3474 | _ACEOF | ||
| 3475 | |||
| 3476 | fi | ||
| 3477 | |||
| 3478 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | ||
| 3479 | |||
| 3480 | |||
| 3481 | |||
| 3482 | |||
| 3483 | |||
| 3484 | |||
| 3485 | |||
| 3486 | |||
| 3487 | |||
| 3488 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | ||
| 3489 | inttypes.h stdint.h unistd.h | ||
| 3490 | do | ||
| 3491 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 3492 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 3493 | nigel | 53 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 3494 | nigel | 63 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 3495 | nigel | 53 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3496 | else | ||
| 3497 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3498 | nigel | 63 | #line $LINENO "configure" |
| 3499 | /* confdefs.h. */ | ||
| 3500 | _ACEOF | ||
| 3501 | cat confdefs.h >>conftest.$ac_ext | ||
| 3502 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3503 | /* end confdefs.h. */ | ||
| 3504 | $ac_includes_default | ||
| 3505 | |||
| 3506 | nigel | 53 | #include <$ac_header> |
| 3507 | _ACEOF | ||
| 3508 | nigel | 63 | rm -f conftest.$ac_objext |
| 3509 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
| 3510 | (eval $ac_compile) 2>&5 | ||
| 3511 | ac_status=$? | ||
| 3512 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3513 | (exit $ac_status); } && | ||
| 3514 | { ac_try='test -s conftest.$ac_objext' | ||
| 3515 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 3516 | (eval $ac_try) 2>&5 | ||
| 3517 | ac_status=$? | ||
| 3518 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3519 | (exit $ac_status); }; }; then | ||
| 3520 | eval "$as_ac_Header=yes" | ||
| 3521 | else | ||
| 3522 | echo "$as_me: failed program was:" >&5 | ||
| 3523 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3524 | |||
| 3525 | eval "$as_ac_Header=no" | ||
| 3526 | fi | ||
| 3527 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
| 3528 | fi | ||
| 3529 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
| 3530 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
| 3531 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
| 3532 | cat >>confdefs.h <<_ACEOF | ||
| 3533 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
| 3534 | _ACEOF | ||
| 3535 | |||
| 3536 | fi | ||
| 3537 | |||
| 3538 | done | ||
| 3539 | |||
| 3540 | |||
| 3541 | |||
| 3542 | for ac_header in dlfcn.h | ||
| 3543 | do | ||
| 3544 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 3545 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
| 3546 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 3547 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
| 3548 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
| 3549 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 3550 | fi | ||
| 3551 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
| 3552 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
| 3553 | else | ||
| 3554 | # Is the header compilable? | ||
| 3555 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 3556 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | ||
| 3557 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3558 | #line $LINENO "configure" | ||
| 3559 | /* confdefs.h. */ | ||
| 3560 | _ACEOF | ||
| 3561 | cat confdefs.h >>conftest.$ac_ext | ||
| 3562 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3563 | /* end confdefs.h. */ | ||
| 3564 | $ac_includes_default | ||
| 3565 | #include <$ac_header> | ||
| 3566 | _ACEOF | ||
| 3567 | rm -f conftest.$ac_objext | ||
| 3568 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
| 3569 | (eval $ac_compile) 2>&5 | ||
| 3570 | ac_status=$? | ||
| 3571 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3572 | (exit $ac_status); } && | ||
| 3573 | { ac_try='test -s conftest.$ac_objext' | ||
| 3574 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 3575 | (eval $ac_try) 2>&5 | ||
| 3576 | ac_status=$? | ||
| 3577 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3578 | (exit $ac_status); }; }; then | ||
| 3579 | ac_header_compiler=yes | ||
| 3580 | else | ||
| 3581 | echo "$as_me: failed program was:" >&5 | ||
| 3582 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3583 | |||
| 3584 | ac_header_compiler=no | ||
| 3585 | fi | ||
| 3586 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
| 3587 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 3588 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
| 3589 | |||
| 3590 | # Is the header present? | ||
| 3591 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 3592 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | ||
| 3593 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3594 | #line $LINENO "configure" | ||
| 3595 | /* confdefs.h. */ | ||
| 3596 | _ACEOF | ||
| 3597 | cat confdefs.h >>conftest.$ac_ext | ||
| 3598 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3599 | /* end confdefs.h. */ | ||
| 3600 | #include <$ac_header> | ||
| 3601 | _ACEOF | ||
| 3602 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
| 3603 | nigel | 53 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3604 | ac_status=$? | ||
| 3605 | nigel | 63 | grep -v '^ *+' conftest.er1 >conftest.err |
| 3606 | nigel | 53 | rm -f conftest.er1 |
| 3607 | cat conftest.err >&5 | ||
| 3608 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3609 | nigel | 53 | (exit $ac_status); } >/dev/null; then |
| 3610 | if test -s conftest.err; then | ||
| 3611 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
| 3612 | else | ||
| 3613 | ac_cpp_err= | ||
| 3614 | fi | ||
| 3615 | else | ||
| 3616 | ac_cpp_err=yes | ||
| 3617 | fi | ||
| 3618 | if test -z "$ac_cpp_err"; then | ||
| 3619 | nigel | 63 | ac_header_preproc=yes |
| 3620 | nigel | 53 | else |
| 3621 | echo "$as_me: failed program was:" >&5 | ||
| 3622 | nigel | 63 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3623 | |||
| 3624 | ac_header_preproc=no | ||
| 3625 | nigel | 41 | fi |
| 3626 | nigel | 53 | rm -f conftest.err conftest.$ac_ext |
| 3627 | nigel | 63 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 3628 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
| 3629 | |||
| 3630 | # So? What about this header? | ||
| 3631 | case $ac_header_compiler:$ac_header_preproc in | ||
| 3632 | yes:no ) | ||
| 3633 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 3634 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 3635 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 3636 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 3637 | ( | ||
| 3638 | cat <<\_ASBOX | ||
| 3639 | ## ------------------------------------ ## | ||
| 3640 | ## Report this to bug-autoconf@gnu.org. ## | ||
| 3641 | ## ------------------------------------ ## | ||
| 3642 | _ASBOX | ||
| 3643 | ) | | ||
| 3644 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 3645 | ;; | ||
| 3646 | no:yes ) | ||
| 3647 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 3648 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 3649 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 3650 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 3651 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 3652 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 3653 | ( | ||
| 3654 | cat <<\_ASBOX | ||
| 3655 | ## ------------------------------------ ## | ||
| 3656 | ## Report this to bug-autoconf@gnu.org. ## | ||
| 3657 | ## ------------------------------------ ## | ||
| 3658 | _ASBOX | ||
| 3659 | ) | | ||
| 3660 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 3661 | ;; | ||
| 3662 | esac | ||
| 3663 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 3664 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
| 3665 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
| 3666 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 3667 | else | ||
| 3668 | eval "$as_ac_Header=$ac_header_preproc" | ||
| 3669 | nigel | 41 | fi |
| 3670 | nigel | 63 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 3671 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
| 3672 | nigel | 41 | |
| 3673 | nigel | 53 | fi |
| 3674 | nigel | 63 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 3675 | cat >>confdefs.h <<_ACEOF | ||
| 3676 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
| 3677 | _ACEOF | ||
| 3678 | |||
| 3679 | fi | ||
| 3680 | |||
| 3681 | nigel | 53 | done |
| 3682 | |||
| 3683 | nigel | 63 | |
| 3684 | |||
| 3685 | |||
| 3686 | |||
| 3687 | nigel | 53 | # Only perform the check for file, if the check method requires it |
| 3688 | case $deplibs_check_method in | ||
| 3689 | file_magic*) | ||
| 3690 | if test "$file_magic_cmd" = '$MAGIC_CMD'; then | ||
| 3691 | nigel | 63 | echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 |
| 3692 | nigel | 53 | echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 |
| 3693 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then | ||
| 3694 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 3695 | else | ||
| 3696 | case $MAGIC_CMD in | ||
| 3697 | /*) | ||
| 3698 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. | ||
| 3699 | ;; | ||
| 3700 | ?:/*) | ||
| 3701 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. | ||
| 3702 | ;; | ||
| 3703 | *) | ||
| 3704 | ac_save_MAGIC_CMD="$MAGIC_CMD" | ||
| 3705 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | ||
| 3706 | ac_dummy="/usr/bin:$PATH" | ||
| 3707 | for ac_dir in $ac_dummy; do | ||
| 3708 | test -z "$ac_dir" && ac_dir=. | ||
| 3709 | if test -f $ac_dir/${ac_tool_prefix}file; then | ||
| 3710 | lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" | ||
| 3711 | if test -n "$file_magic_test_file"; then | ||
| 3712 | case $deplibs_check_method in | ||
| 3713 | "file_magic "*) | ||
| 3714 | file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" | ||
| 3715 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | ||
| 3716 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | ||
| 3717 | egrep "$file_magic_regex" > /dev/null; then | ||
| 3718 | : | ||
| 3719 | else | ||
| 3720 | cat <<EOF 1>&2 | ||
| 3721 | |||
| 3722 | *** Warning: the command libtool uses to detect shared libraries, | ||
| 3723 | *** $file_magic_cmd, produces output that libtool cannot recognize. | ||
| 3724 | *** The result is that libtool may fail to recognize shared libraries | ||
| 3725 | *** as such. This will affect the creation of libtool libraries that | ||
| 3726 | *** depend on shared libraries, but programs linked with such libtool | ||
| 3727 | *** libraries will work regardless of this problem. Nevertheless, you | ||
| 3728 | *** may want to report the problem to your system manager and/or to | ||
| 3729 | *** bug-libtool@gnu.org | ||
| 3730 | |||
| 3731 | nigel | 41 | EOF |
| 3732 | nigel | 53 | fi ;; |
| 3733 | esac | ||
| 3734 | fi | ||
| 3735 | break | ||
| 3736 | fi | ||
| 3737 | done | ||
| 3738 | IFS="$ac_save_ifs" | ||
| 3739 | MAGIC_CMD="$ac_save_MAGIC_CMD" | ||
| 3740 | ;; | ||
| 3741 | esac | ||
| 3742 | fi | ||
| 3743 | nigel | 41 | |
| 3744 | nigel | 53 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
| 3745 | if test -n "$MAGIC_CMD"; then | ||
| 3746 | nigel | 63 | echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
| 3747 | nigel | 53 | echo "${ECHO_T}$MAGIC_CMD" >&6 |
| 3748 | else | ||
| 3749 | nigel | 63 | echo "$as_me:$LINENO: result: no" >&5 |
| 3750 | nigel | 53 | echo "${ECHO_T}no" >&6 |
| 3751 | nigel | 41 | fi |
| 3752 | |||
| 3753 | nigel | 53 | if test -z "$lt_cv_path_MAGIC_CMD"; then |
| 3754 | if test -n "$ac_tool_prefix"; then | ||
| 3755 | nigel | 63 | echo "$as_me:$LINENO: checking for file" >&5 |
| 3756 | nigel | 53 | echo $ECHO_N "checking for file... $ECHO_C" >&6 |
| 3757 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then | ||
| 3758 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 3759 | nigel | 41 | else |
| 3760 | nigel | 53 | case $MAGIC_CMD in |
| 3761 | /*) | ||
| 3762 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. | ||
| 3763 | ;; | ||
| 3764 | ?:/*) | ||
| 3765 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. | ||
| 3766 | ;; | ||
| 3767 | *) | ||
| 3768 | ac_save_MAGIC_CMD="$MAGIC_CMD" | ||
| 3769 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | ||
| 3770 | ac_dummy="/usr/bin:$PATH" | ||
| 3771 | for ac_dir in $ac_dummy; do | ||
| 3772 | test -z "$ac_dir" && ac_dir=. | ||
| 3773 | if test -f $ac_dir/file; then | ||
| 3774 | lt_cv_path_MAGIC_CMD="$ac_dir/file" | ||
| 3775 | if test -n "$file_magic_test_file"; then | ||
| 3776 | case $deplibs_check_method in | ||
| 3777 | "file_magic "*) | ||
| 3778 | file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" | ||
| 3779 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | ||
| 3780 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | ||
| 3781 | egrep "$file_magic_regex" > /dev/null; then | ||
| 3782 | : | ||
| 3783 | else | ||
| 3784 | cat <<EOF 1>&2 | ||
| 3785 | |||
| 3786 | *** Warning: the command libtool uses to detect shared libraries, | ||
| 3787 | *** $file_magic_cmd, produces output that libtool cannot recognize. | ||
| 3788 | *** The result is that libtool may fail to recognize shared libraries | ||
| 3789 | *** as such. This will affect the creation of libtool libraries that | ||
| 3790 | *** depend on shared libraries, but programs linked with such libtool | ||
| 3791 | *** libraries will work regardless of this problem. Nevertheless, you | ||
| 3792 | *** may want to report the problem to your system manager and/or to | ||
| 3793 | *** bug-libtool@gnu.org | ||
| 3794 | |||
| 3795 | nigel | 41 | EOF |
| 3796 | nigel | 53 | fi ;; |
| 3797 | esac | ||
| 3798 | fi | ||
| 3799 | break | ||
| 3800 | fi | ||
| 3801 | done | ||
| 3802 | IFS="$ac_save_ifs" | ||
| 3803 | MAGIC_CMD="$ac_save_MAGIC_CMD" | ||
| 3804 | ;; | ||
| 3805 | esac | ||
| 3806 | fi | ||
| 3807 | |||
| 3808 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | ||
| 3809 | if test -n "$MAGIC_CMD"; then | ||
| 3810 | nigel | 63 | echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
| 3811 | nigel | 53 | echo "${ECHO_T}$MAGIC_CMD" >&6 |
| 3812 | else | ||
| 3813 | nigel | 63 | echo "$as_me:$LINENO: result: no" >&5 |
| 3814 | nigel | 53 | echo "${ECHO_T}no" >&6 |
| 3815 | fi | ||
| 3816 | |||
| 3817 | else | ||
| 3818 | MAGIC_CMD=: | ||
| 3819 | fi | ||
| 3820 | fi | ||
| 3821 | |||
| 3822 | fi | ||
| 3823 | ;; | ||
| 3824 | esac | ||
| 3825 | |||
| 3826 | if test -n "$ac_tool_prefix"; then | ||
| 3827 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||
| 3828 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||
| 3829 | nigel | 63 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3830 | nigel | 53 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3831 | if test "${ac_cv_prog_RANLIB+set}" = set; then | ||
| 3832 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 3833 | else | ||
| 3834 | if test -n "$RANLIB"; then | ||
| 3835 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | ||
| 3836 | else | ||
| 3837 | nigel | 63 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3838 | for as_dir in $PATH | ||
| 3839 | do | ||
| 3840 | IFS=$as_save_IFS | ||
| 3841 | test -z "$as_dir" && as_dir=. | ||
| 3842 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 3843 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 3844 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | ||
| 3845 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 3846 | break 2 | ||
| 3847 | fi | ||
| 3848 | nigel | 53 | done |
| 3849 | nigel | 63 | done |
| 3850 | nigel | 53 | |
| 3851 | fi | ||
| 3852 | fi | ||
| 3853 | RANLIB=$ac_cv_prog_RANLIB | ||
| 3854 | if test -n "$RANLIB"; then | ||
| 3855 | nigel | 63 | echo "$as_me:$LINENO: result: $RANLIB" >&5 |
| 3856 | nigel | 53 | echo "${ECHO_T}$RANLIB" >&6 |
| 3857 | else | ||
| 3858 | nigel | 63 | echo "$as_me:$LINENO: result: no" >&5 |
| 3859 | nigel | 53 | echo "${ECHO_T}no" >&6 |
| 3860 | fi | ||
| 3861 | |||
| 3862 | fi | ||
| 3863 | if test -z "$ac_cv_prog_RANLIB"; then | ||
| 3864 | ac_ct_RANLIB=$RANLIB | ||
| 3865 | # Extract the first word of "ranlib", so it can be a program name with args. | ||
| 3866 | set dummy ranlib; ac_word=$2 | ||
| 3867 | nigel | 63 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3868 | nigel | 53 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3869 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | ||
| 3870 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 3871 | else | ||
| 3872 | if test -n "$ac_ct_RANLIB"; then | ||
| 3873 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | ||
| 3874 | else | ||
| 3875 | nigel | 63 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3876 | for as_dir in $PATH | ||
| 3877 | do | ||
| 3878 | IFS=$as_save_IFS | ||
| 3879 | test -z "$as_dir" && as_dir=. | ||
| 3880 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 3881 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 3882 | ac_cv_prog_ac_ct_RANLIB="ranlib" | ||
| 3883 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 3884 | break 2 | ||
| 3885 | fi | ||
| 3886 | nigel | 53 | done |
| 3887 | nigel | 63 | done |
| 3888 | nigel | 53 | |
| 3889 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | ||
| 3890 | fi | ||
| 3891 | fi | ||
| 3892 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | ||
| 3893 | if test -n "$ac_ct_RANLIB"; then | ||
| 3894 | nigel | 63 | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
| 3895 | nigel | 53 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
| 3896 | else | ||
| 3897 | nigel | 63 | echo "$as_me:$LINENO: result: no" >&5 |
| 3898 | nigel | 53 | echo "${ECHO_T}no" >&6 |
| 3899 | fi | ||
| 3900 | |||
| 3901 | RANLIB=$ac_ct_RANLIB | ||
| 3902 | else | ||
| 3903 | RANLIB="$ac_cv_prog_RANLIB" | ||
| 3904 | fi | ||
| 3905 | |||
| 3906 | if test -n "$ac_tool_prefix"; then | ||
| 3907 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | ||
| 3908 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | ||
| 3909 | nigel | 63 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3910 | nigel | 53 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3911 | if test "${ac_cv_prog_STRIP+set}" = set; then | ||
| 3912 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 3913 | else | ||
| 3914 | if test -n "$STRIP"; then | ||
| 3915 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | ||
| 3916 | else | ||
| 3917 | nigel | 63 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3918 | for as_dir in $PATH | ||
| 3919 | do | ||
| 3920 | IFS=$as_save_IFS | ||
| 3921 | test -z "$as_dir" && as_dir=. | ||
| 3922 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 3923 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 3924 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" | ||
| 3925 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 3926 | break 2 | ||
| 3927 | fi | ||
| 3928 | nigel | 53 | done |
| 3929 | nigel | 63 | done |
| 3930 | nigel | 53 | |
| 3931 | fi | ||
| 3932 | fi | ||
| 3933 | STRIP=$ac_cv_prog_STRIP | ||
| 3934 | if test -n "$STRIP"; then | ||
| 3935 | nigel | 63 | echo "$as_me:$LINENO: result: $STRIP" >&5 |
| 3936 | nigel | 53 | echo "${ECHO_T}$STRIP" >&6 |
| 3937 | else | ||
| 3938 | nigel | 63 | echo "$as_me:$LINENO: result: no" >&5 |
| 3939 | nigel | 53 | echo "${ECHO_T}no" >&6 |
| 3940 | fi | ||
| 3941 | |||
| 3942 | fi | ||
| 3943 | if test -z "$ac_cv_prog_STRIP"; then | ||
| 3944 | ac_ct_STRIP=$STRIP | ||
| 3945 | # Extract the first word of "strip", so it can be a program name with args. | ||
| 3946 | set dummy strip; ac_word=$2 | ||
| 3947 | nigel | 63 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3948 | nigel | 53 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3949 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | ||
| 3950 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 3951 | else | ||
| 3952 | if test -n "$ac_ct_STRIP"; then | ||
| 3953 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | ||
| 3954 | else | ||
| 3955 | nigel | 63 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3956 | for as_dir in $PATH | ||
| 3957 | do | ||
| 3958 | IFS=$as_save_IFS | ||
| 3959 | test -z "$as_dir" && as_dir=. | ||
| 3960 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 3961 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 3962 | ac_cv_prog_ac_ct_STRIP="strip" | ||
| 3963 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 3964 | break 2 | ||
| 3965 | fi | ||
| 3966 | nigel | 53 | done |
| 3967 | nigel | 63 | done |
| 3968 | nigel | 53 | |
| 3969 | test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" | ||
| 3970 | fi | ||
| 3971 | fi | ||
| 3972 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | ||
| 3973 | if test -n "$ac_ct_STRIP"; then | ||
| 3974 | nigel | 63 | echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
| 3975 | nigel | 53 | echo "${ECHO_T}$ac_ct_STRIP" >&6 |
| 3976 | else | ||
| 3977 | nigel | 63 | echo "$as_me:$LINENO: result: no" >&5 |
| 3978 | nigel | 53 | echo "${ECHO_T}no" >&6 |
| 3979 | fi | ||
| 3980 | |||
| 3981 | STRIP=$ac_ct_STRIP | ||
| 3982 | else | ||
| 3983 | STRIP="$ac_cv_prog_STRIP" | ||
| 3984 | fi | ||
| 3985 | |||
| 3986 | nigel | 63 | |
| 3987 | nigel | 53 | enable_dlopen=no |
| 3988 | enable_win32_dll=no | ||
| 3989 | |||
| 3990 | # Check whether --enable-libtool-lock or --disable-libtool-lock was given. | ||
| 3991 | if test "${enable_libtool_lock+set}" = set; then | ||
| 3992 | enableval="$enable_libtool_lock" | ||
| 3993 | |||
| 3994 | fi; | ||
| 3995 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes | ||
| 3996 | |||
| 3997 | # Some flags need to be propagated to the compiler or linker for good | ||
| 3998 | # libtool support. | ||
| 3999 | case $host in | ||
| 4000 | *-*-irix6*) | ||
| 4001 | # Find out which ABI we are using. | ||
| 4002 | nigel | 65 | echo '#line 4009 "configure"' > conftest.$ac_ext |
| 4003 | nigel | 63 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4004 | nigel | 53 | (eval $ac_compile) 2>&5 |
| 4005 | ac_status=$? | ||
| 4006 | nigel | 63 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4007 | nigel | 53 | (exit $ac_status); }; then |
| 4008 | case `/usr/bin/file conftest.$ac_objext` in | ||
| 4009 | *32-bit*) | ||
| 4010 | LD="${LD-ld} -32" | ||
| 4011 | ;; | ||
| 4012 | *N32*) | ||
| 4013 | LD="${LD-ld} -n32" | ||
| 4014 | ;; | ||
| 4015 | *64-bit*) | ||
| 4016 | LD="${LD-ld} -64" | ||
| 4017 | ;; | ||
| 4018 | esac | ||
| 4019 | fi | ||
| 4020 | nigel | 41 | rm -rf conftest* |
| 4021 | nigel | 53 | ;; |
| 4022 | |||
| 4023 | *-*-sco3.2v5*) | ||
| 4024 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. | ||
| 4025 | SAVE_CFLAGS="$CFLAGS" | ||
| 4026 | CFLAGS="$CFLAGS -belf" | ||
| 4027 | nigel | 63 | echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 |
| 4028 | nigel | 53 | echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 |
| 4029 | if test "${lt_cv_cc_needs_belf+set}" = set; then | ||
| 4030 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 4031 | nigel | 41 | else |
| 4032 | nigel | 53 | |
| 4033 | nigel | 63 | |
| 4034 | nigel | 53 | ac_ext=c |
| 4035 | ac_cpp='$CPP $CPPFLAGS' | ||
| 4036 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 4037 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 4038 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 4039 | |||
| 4040 | cat >conftest.$ac_ext <<_ACEOF | ||
| 4041 | nigel | 63 | #line $LINENO "configure" |
| 4042 | /* confdefs.h. */ | ||
| 4043 | _ACEOF | ||
| 4044 | cat confdefs.h >>conftest.$ac_ext | ||