Parent Directory
|
Revision Log
|
Patch
| revision 47 by nigel, Sat Feb 24 21:39:29 2007 UTC | revision 77 by nigel, Sat Feb 24 21:40:45 2007 UTC | |
|---|---|---|
| # | Line 1 | Line 1 |
| 1 | #! /bin/sh | #! /bin/sh |
| 2 | # Guess values for system-dependent variables and create Makefiles. | # Guess values for system-dependent variables and create Makefiles. |
| 3 | # Generated automatically using autoconf version 2.13 | # Generated by GNU Autoconf 2.59. |
| # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. | ||
| 4 | # | # |
| 5 | # Copyright (C) 2003 Free Software Foundation, Inc. | |
| 6 | # This configure script is free software; the Free Software Foundation | # This configure script is free software; the Free Software Foundation |
| 7 | # gives unlimited permission to copy, distribute and modify it. | # gives unlimited permission to copy, distribute and modify it. |
| 8 | ## --------------------- ## | |
| 9 | ## M4sh Initialization. ## | |
| 10 | ## --------------------- ## | |
| 11 | ||
| 12 | # Be Bourne compatible | |
| 13 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
| 14 | emulate sh | |
| 15 | NULLCMD=: | |
| 16 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
| 17 | # is contrary to our usage. Disable this feature. | |
| 18 | alias -g '${1+"$@"}'='"$@"' | |
| 19 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | |
| 20 | set -o posix | |
| 21 | fi | |
| 22 | DUALCASE=1; export DUALCASE # for MKS sh | |
| 23 | ||
| 24 | # Support unset when possible. | |
| 25 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
| 26 | as_unset=unset | |
| 27 | else | |
| 28 | as_unset=false | |
| 29 | fi | |
| 30 | ||
| 31 | ||
| 32 | # Work around bugs in pre-3.0 UWIN ksh. | |
| 33 | $as_unset ENV MAIL MAILPATH | |
| 34 | PS1='$ ' | |
| 35 | PS2='> ' | |
| 36 | PS4='+ ' | |
| 37 | ||
| 38 | # NLS nuisances. | |
| 39 | for as_var in \ | |
| 40 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | |
| 41 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | |
| 42 | LC_TELEPHONE LC_TIME | |
| 43 | do | |
| 44 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | |
| 45 | eval $as_var=C; export $as_var | |
| 46 | else | |
| 47 | $as_unset $as_var | |
| 48 | fi | |
| 49 | done | |
| 50 | ||
| 51 | # Required to use basename. | |
| 52 | if expr a : '\(a\)' >/dev/null 2>&1; then | |
| 53 | as_expr=expr | |
| 54 | else | |
| 55 | as_expr=false | |
| 56 | fi | |
| 57 | ||
| 58 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | |
| 59 | as_basename=basename | |
| 60 | else | |
| 61 | as_basename=false | |
| 62 | fi | |
| 63 | ||
| 64 | ||
| 65 | # Name of the executable. | |
| 66 | as_me=`$as_basename "$0" || | |
| 67 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
| 68 | X"$0" : 'X\(//\)$' \| \ | |
| 69 | X"$0" : 'X\(/\)$' \| \ | |
| 70 | . : '\(.\)' 2>/dev/null || | |
| 71 | echo X/"$0" | | |
| 72 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | |
| 73 | /^X\/\(\/\/\)$/{ s//\1/; q; } | |
| 74 | /^X\/\(\/\).*/{ s//\1/; q; } | |
| 75 | s/.*/./; q'` | |
| 76 | ||
| 77 | ||
| 78 | # PATH needs CR, and LINENO needs CR and PATH. | |
| 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 | test -d ./-p && rmdir ./-p | |
| 222 | as_mkdir_p=false | |
| 223 | fi | |
| 224 | ||
| 225 | as_executable_p="test -f" | |
| 226 | ||
| 227 | # Sed expression to map a string onto a valid CPP name. | |
| 228 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
| 229 | ||
| 230 | # Sed expression to map a string onto a valid variable name. | |
| 231 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
| 232 | ||
| 233 | ||
| 234 | # IFS | |
| 235 | # We need space, tab and new line, in precisely that order. | |
| 236 | as_nl=' | |
| 237 | ' | |
| 238 | IFS=" $as_nl" | |
| 239 | ||
| 240 | # CDPATH. | |
| 241 | $as_unset CDPATH | |
| 242 | ||
| 243 | ||
| 244 | ||
| 245 | # Check that we are running under the correct shell. | |
| 246 | SHELL=${CONFIG_SHELL-/bin/sh} | |
| 247 | ||
| 248 | case X$ECHO in | |
| 249 | X*--fallback-echo) | |
| 250 | # Remove one level of quotation (which was required for Make). | |
| 251 | ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` | |
| 252 | ;; | |
| 253 | esac | |
| 254 | ||
| 255 | echo=${ECHO-echo} | |
| 256 | if test "X$1" = X--no-reexec; then | |
| 257 | # Discard the --no-reexec flag, and continue. | |
| 258 | shift | |
| 259 | elif test "X$1" = X--fallback-echo; then | |
| 260 | # Avoid inline document here, it may be left over | |
| 261 | : | |
| 262 | elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then | |
| 263 | # Yippee, $echo works! | |
| 264 | : | |
| 265 | else | |
| 266 | # Restart under the correct shell. | |
| 267 | exec $SHELL "$0" --no-reexec ${1+"$@"} | |
| 268 | fi | |
| 269 | ||
| 270 | if test "X$1" = X--fallback-echo; then | |
| 271 | # used as fallback echo | |
| 272 | shift | |
| 273 | cat <<EOF | |
| 274 | $* | |
| 275 | EOF | |
| 276 | exit 0 | |
| 277 | fi | |
| 278 | ||
| 279 | # The HP-UX ksh and POSIX shell print the target directory to stdout | |
| 280 | # if CDPATH is set. | |
| 281 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
| 282 | ||
| 283 | if test -z "$ECHO"; then | |
| 284 | if test "X${echo_test_string+set}" != Xset; then | |
| 285 | # find a string as large as possible, as long as the shell can cope with it | |
| 286 | for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do | |
| 287 | # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... | |
| 288 | if (echo_test_string="`eval $cmd`") 2>/dev/null && | |
| 289 | echo_test_string="`eval $cmd`" && | |
| 290 | (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null | |
| 291 | then | |
| 292 | break | |
| 293 | fi | |
| 294 | done | |
| 295 | fi | |
| 296 | ||
| 297 | if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && | |
| 298 | echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && | |
| 299 | test "X$echo_testing_string" = "X$echo_test_string"; then | |
| 300 | : | |
| 301 | else | |
| 302 | # The Solaris, AIX, and Digital Unix default echo programs unquote | |
| 303 | # backslashes. This makes it impossible to quote backslashes using | |
| 304 | # echo "$something" | sed 's/\\/\\\\/g' | |
| 305 | # | |
| 306 | # So, first we look for a working echo in the user's PATH. | |
| 307 | ||
| 308 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | |
| 309 | for dir in $PATH /usr/ucb; do | |
| 310 | IFS="$lt_save_ifs" | |
| 311 | if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && | |
| 312 | test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && | |
| 313 | echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && | |
| 314 | test "X$echo_testing_string" = "X$echo_test_string"; then | |
| 315 | echo="$dir/echo" | |
| 316 | break | |
| 317 | fi | |
| 318 | done | |
| 319 | IFS="$lt_save_ifs" | |
| 320 | ||
| 321 | if test "X$echo" = Xecho; then | |
| 322 | # We didn't find a better echo, so look for alternatives. | |
| 323 | if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && | |
| 324 | echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && | |
| 325 | test "X$echo_testing_string" = "X$echo_test_string"; then | |
| 326 | # This shell has a builtin print -r that does the trick. | |
| 327 | echo='print -r' | |
| 328 | elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && | |
| 329 | test "X$CONFIG_SHELL" != X/bin/ksh; then | |
| 330 | # If we have ksh, try running configure again with it. | |
| 331 | ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} | |
| 332 | export ORIGINAL_CONFIG_SHELL | |
| 333 | CONFIG_SHELL=/bin/ksh | |
| 334 | export CONFIG_SHELL | |
| 335 | exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} | |
| 336 | else | |
| 337 | # Try using printf. | |
| 338 | echo='printf %s\n' | |
| 339 | if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && | |
| 340 | echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && | |
| 341 | test "X$echo_testing_string" = "X$echo_test_string"; then | |
| 342 | # Cool, printf works | |
| 343 | : | |
| 344 | elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && | |
| 345 | test "X$echo_testing_string" = 'X\t' && | |
| 346 | echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && | |
| 347 | test "X$echo_testing_string" = "X$echo_test_string"; then | |
| 348 | CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL | |
| 349 | export CONFIG_SHELL | |
| 350 | SHELL="$CONFIG_SHELL" | |
| 351 | export SHELL | |
| 352 | echo="$CONFIG_SHELL $0 --fallback-echo" | |
| 353 | elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && | |
| 354 | test "X$echo_testing_string" = 'X\t' && | |
| 355 | echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && | |
| 356 | test "X$echo_testing_string" = "X$echo_test_string"; then | |
| 357 | echo="$CONFIG_SHELL $0 --fallback-echo" | |
| 358 | else | |
| 359 | # maybe with a smaller string... | |
| 360 | prev=: | |
| 361 | ||
| 362 | for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do | |
| 363 | if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null | |
| 364 | then | |
| 365 | break | |
| 366 | fi | |
| 367 | prev="$cmd" | |
| 368 | done | |
| 369 | ||
| 370 | if test "$prev" != 'sed 50q "$0"'; then | |
| 371 | echo_test_string=`eval $prev` | |
| 372 | export echo_test_string | |
| 373 | exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} | |
| 374 | else | |
| 375 | # Oops. We lost completely, so just stick with echo. | |
| 376 | echo=echo | |
| 377 | fi | |
| 378 | fi | |
| 379 | fi | |
| 380 | fi | |
| 381 | fi | |
| 382 | fi | |
| 383 | ||
| 384 | # Copy echo and quote the copy suitably for passing to libtool from | |
| 385 | # the Makefile, instead of quoting the original, which is used later. | |
| 386 | ECHO=$echo | |
| 387 | if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then | |
| 388 | ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" | |
| 389 | fi | |
| 390 | ||
| 391 | ||
| 392 | ||
| 393 | ||
| 394 | tagnames=${tagnames+${tagnames},}CXX | |
| 395 | ||
| 396 | tagnames=${tagnames+${tagnames},}F77 | |
| 397 | ||
| 398 | # Name of the host. | |
| 399 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | |
| 400 | # so uname gets run too. | |
| 401 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
| 402 | ||
| 403 | # Defaults: | exec 6>&1 |
| 404 | ac_help= | |
| 405 | # | |
| 406 | # Initializations. | |
| 407 | # | |
| 408 | ac_default_prefix=/usr/local | ac_default_prefix=/usr/local |
| 409 | # Any additions from configure.in: | ac_config_libobj_dir=. |
| 410 | ac_help="$ac_help | cross_compiling=no |
| 411 | --disable-shared build PCRE as a static library" | subdirs= |
| 412 | MFLAGS= | |
| 413 | MAKEFLAGS= | |
| 414 | SHELL=${CONFIG_SHELL-/bin/sh} | |
| 415 | ||
| 416 | # Maximum number of lines to put in a shell here document. | |
| 417 | # This variable seems obsolete. It should probably be removed, and | |
| 418 | # only ac_max_sed_lines should be used. | |
| 419 | : ${ac_max_here_lines=38} | |
| 420 | ||
| 421 | # Identity of this package. | |
| 422 | PACKAGE_NAME= | |
| 423 | PACKAGE_TARNAME= | |
| 424 | PACKAGE_VERSION= | |
| 425 | PACKAGE_STRING= | |
| 426 | PACKAGE_BUGREPORT= | |
| 427 | ||
| 428 | ac_unique_file="dftables.c" | |
| 429 | # Factoring default headers for most tests. | |
| 430 | ac_includes_default="\ | |
| 431 | #include <stdio.h> | |
| 432 | #if HAVE_SYS_TYPES_H | |
| 433 | # include <sys/types.h> | |
| 434 | #endif | |
| 435 | #if HAVE_SYS_STAT_H | |
| 436 | # include <sys/stat.h> | |
| 437 | #endif | |
| 438 | #if STDC_HEADERS | |
| 439 | # include <stdlib.h> | |
| 440 | # include <stddef.h> | |
| 441 | #else | |
| 442 | # if HAVE_STDLIB_H | |
| 443 | # include <stdlib.h> | |
| 444 | # endif | |
| 445 | #endif | |
| 446 | #if HAVE_STRING_H | |
| 447 | # if !STDC_HEADERS && HAVE_MEMORY_H | |
| 448 | # include <memory.h> | |
| 449 | # endif | |
| 450 | # include <string.h> | |
| 451 | #endif | |
| 452 | #if HAVE_STRINGS_H | |
| 453 | # include <strings.h> | |
| 454 | #endif | |
| 455 | #if HAVE_INTTYPES_H | |
| 456 | # include <inttypes.h> | |
| 457 | #else | |
| 458 | # if HAVE_STDINT_H | |
| 459 | # include <stdint.h> | |
| 460 | # endif | |
| 461 | #endif | |
| 462 | #if HAVE_UNISTD_H | |
| 463 | # include <unistd.h> | |
| 464 | #endif" | |
| 465 | ||
| 466 | 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 CXX CXXFLAGS ac_ct_CXX MAYBE_CPP_TARGETS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL pcre_has_bits_type_traits pcre_has_type_traits pcre_has_long_long pcre_has_ulong_long BUILD_EXEEXT BUILD_OBJEXT CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD EBCDIC HAVE_MEMMOVE HAVE_STRERROR LINK_SIZE MATCH_LIMIT NEWLINE NO_RECURSE PCRE_MAJOR PCRE_MINOR PCRE_DATE PCRE_VERSION PCRE_LIB_VERSION PCRE_POSIXLIB_VERSION PCRE_CPPLIB_VERSION POSIX_MALLOC_THRESHOLD UCP UTF8 WIN_PREFIX ON_WINDOWS NOT_ON_WINDOWS POSIX_OBJ POSIX_LOBJ POSIX_LIB LIBOBJS LTLIBOBJS' | |
| 467 | ac_subst_files='' | |
| 468 | ||
| 469 | # Initialize some variables set by options. | # Initialize some variables set by options. |
| 470 | ac_init_help= | |
| 471 | ac_init_version=false | |
| 472 | # The variables have the same names as the options, with | # The variables have the same names as the options, with |
| 473 | # dashes changed to underlines. | # dashes changed to underlines. |
| 474 | build=NONE | cache_file=/dev/null |
| cache_file=./config.cache | ||
| 475 | exec_prefix=NONE | exec_prefix=NONE |
| host=NONE | ||
| 476 | no_create= | no_create= |
| nonopt=NONE | ||
| 477 | no_recursion= | no_recursion= |
| 478 | prefix=NONE | prefix=NONE |
| 479 | program_prefix=NONE | program_prefix=NONE |
| # | Line 31 program_transform_name=s,x,x, | Line 482 program_transform_name=s,x,x, |
| 482 | silent= | silent= |
| 483 | site= | site= |
| 484 | srcdir= | srcdir= |
| target=NONE | ||
| 485 | verbose= | verbose= |
| 486 | x_includes=NONE | x_includes=NONE |
| 487 | x_libraries=NONE | x_libraries=NONE |
| 488 | ||
| 489 | # Installation directory options. | |
| 490 | # These are left unexpanded so users can "make install exec_prefix=/foo" | |
| 491 | # and all the variables that are supposed to be based on exec_prefix | |
| 492 | # by default will actually change. | |
| 493 | # Use braces instead of parens because sh, perl, etc. also accept them. | |
| 494 | bindir='${exec_prefix}/bin' | bindir='${exec_prefix}/bin' |
| 495 | sbindir='${exec_prefix}/sbin' | sbindir='${exec_prefix}/sbin' |
| 496 | libexecdir='${exec_prefix}/libexec' | libexecdir='${exec_prefix}/libexec' |
| # | Line 48 oldincludedir='/usr/include' | Line 504 oldincludedir='/usr/include' |
| 504 | infodir='${prefix}/info' | infodir='${prefix}/info' |
| 505 | mandir='${prefix}/man' | mandir='${prefix}/man' |
| 506 | ||
| # Initialize some other variables. | ||
| subdirs= | ||
| MFLAGS= MAKEFLAGS= | ||
| SHELL=${CONFIG_SHELL-/bin/sh} | ||
| # Maximum number of lines to put in a shell here document. | ||
| ac_max_here_lines=12 | ||
| 507 | ac_prev= | ac_prev= |
| 508 | for ac_option | for ac_option |
| 509 | do | do |
| 510 | # If the previous option needs an argument, assign it. | # If the previous option needs an argument, assign it. |
| 511 | if test -n "$ac_prev"; then | if test -n "$ac_prev"; then |
| 512 | eval "$ac_prev=\$ac_option" | eval "$ac_prev=\$ac_option" |
| # | Line 66 do | Line 514 do |
| 514 | continue | continue |
| 515 | fi | fi |
| 516 | ||
| 517 | case "$ac_option" in | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
| -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; | ||
| *) ac_optarg= ;; | ||
| esac | ||
| 518 | ||
| 519 | # Accept the important Cygnus configure options, so we can diagnose typos. | # Accept the important Cygnus configure options, so we can diagnose typos. |
| 520 | ||
| 521 | case "$ac_option" in | case $ac_option in |
| 522 | ||
| 523 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
| 524 | ac_prev=bindir ;; | ac_prev=bindir ;; |
| 525 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
| 526 | bindir="$ac_optarg" ;; | bindir=$ac_optarg ;; |
| 527 | ||
| 528 | -build | --build | --buil | --bui | --bu) | -build | --build | --buil | --bui | --bu) |
| 529 | ac_prev=build ;; | ac_prev=build_alias ;; |
| 530 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
| 531 | build="$ac_optarg" ;; | build_alias=$ac_optarg ;; |
| 532 | ||
| 533 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
| 534 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| 535 | ac_prev=cache_file ;; | ac_prev=cache_file ;; |
| 536 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
| 537 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
| 538 | cache_file="$ac_optarg" ;; | cache_file=$ac_optarg ;; |
| 539 | ||
| 540 | --config-cache | -C) | |
| 541 | cache_file=config.cache ;; | |
| 542 | ||
| 543 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
| 544 | ac_prev=datadir ;; | ac_prev=datadir ;; |
| 545 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
| 546 | | --da=*) | | --da=*) |
| 547 | datadir="$ac_optarg" ;; | datadir=$ac_optarg ;; |
| 548 | ||
| 549 | -disable-* | --disable-*) | -disable-* | --disable-*) |
| 550 | ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 551 | # Reject names that are not valid shell variable names. | # Reject names that are not valid shell variable names. |
| 552 | if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 553 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
| 554 | fi | { (exit 1); exit 1; }; } |
| 555 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
| 556 | eval "enable_${ac_feature}=no" ;; | eval "enable_$ac_feature=no" ;; |
| 557 | ||
| 558 | -enable-* | --enable-*) | -enable-* | --enable-*) |
| 559 | ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 560 | # Reject names that are not valid shell variable names. | # Reject names that are not valid shell variable names. |
| 561 | if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 562 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
| 563 | fi | { (exit 1); exit 1; }; } |
| 564 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
| 565 | case "$ac_option" in | case $ac_option in |
| 566 | *=*) ;; | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
| 567 | *) ac_optarg=yes ;; | *) ac_optarg=yes ;; |
| 568 | esac | esac |
| 569 | eval "enable_${ac_feature}='$ac_optarg'" ;; | eval "enable_$ac_feature='$ac_optarg'" ;; |
| 570 | ||
| 571 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| 572 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| # | Line 127 do | Line 575 do |
| 575 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
| 576 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
| 577 | | --exec=* | --exe=* | --ex=*) | | --exec=* | --exe=* | --ex=*) |
| 578 | exec_prefix="$ac_optarg" ;; | exec_prefix=$ac_optarg ;; |
| 579 | ||
| 580 | -gas | --gas | --ga | --g) | -gas | --gas | --ga | --g) |
| 581 | # Obsolete; use --with-gas. | # Obsolete; use --with-gas. |
| 582 | with_gas=yes ;; | with_gas=yes ;; |
| 583 | ||
| 584 | -help | --help | --hel | --he) | -help | --help | --hel | --he | -h) |
| 585 | # Omit some internal or obsolete options to make the list less imposing. | ac_init_help=long ;; |
| 586 | # The list generated by autoconf has been trimmed to remove many | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
| 587 | # options that are totally irrelevant to PCRE (e.g. relating to X), | ac_init_help=recursive ;; |
| 588 | # or are not supported by its Makefile. | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
| 589 | # This message is too long to be a string in the A/UX 3.1 sh. | ac_init_help=short ;; |
| cat << EOF | ||
| Usage: ./configure [options] | ||
| Options: [defaults in brackets after descriptions] | ||
| Configuration: | ||
| --cache-file=FILE cache test results in FILE | ||
| --help print this message | ||
| --no-create do not create output files | ||
| --quiet, --silent do not print \`checking...' messages | ||
| --version print the version of autoconf that created configure | ||
| Directory and file names: | ||
| --prefix=PREFIX install architecture-independent files in PREFIX | ||
| [$ac_default_prefix] | ||
| --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | ||
| [same as prefix] | ||
| --bindir=DIR user executables in DIR [EPREFIX/bin] | ||
| --libdir=DIR object code libraries in DIR [EPREFIX/lib] | ||
| --includedir=DIR C header files in DIR [PREFIX/include] | ||
| --mandir=DIR man documentation in DIR [PREFIX/man] | ||
| EOF | ||
| cat << EOF | ||
| EOF | ||
| if test -n "$ac_help"; then | ||
| echo "--enable and --with options recognized:$ac_help" | ||
| fi | ||
| exit 0 ;; | ||
| 590 | ||
| 591 | -host | --host | --hos | --ho) | -host | --host | --hos | --ho) |
| 592 | ac_prev=host ;; | ac_prev=host_alias ;; |
| 593 | -host=* | --host=* | --hos=* | --ho=*) | -host=* | --host=* | --hos=* | --ho=*) |
| 594 | host="$ac_optarg" ;; | host_alias=$ac_optarg ;; |
| 595 | ||
| 596 | -includedir | --includedir | --includedi | --included | --include \ | -includedir | --includedir | --includedi | --included | --include \ |
| 597 | | --includ | --inclu | --incl | --inc) | | --includ | --inclu | --incl | --inc) |
| 598 | ac_prev=includedir ;; | ac_prev=includedir ;; |
| 599 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
| 600 | | --includ=* | --inclu=* | --incl=* | --inc=*) | | --includ=* | --inclu=* | --incl=* | --inc=*) |
| 601 | includedir="$ac_optarg" ;; | includedir=$ac_optarg ;; |
| 602 | ||
| 603 | -infodir | --infodir | --infodi | --infod | --info | --inf) | -infodir | --infodir | --infodi | --infod | --info | --inf) |
| 604 | ac_prev=infodir ;; | ac_prev=infodir ;; |
| 605 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
| 606 | infodir="$ac_optarg" ;; | infodir=$ac_optarg ;; |
| 607 | ||
| 608 | -libdir | --libdir | --libdi | --libd) | -libdir | --libdir | --libdi | --libd) |
| 609 | ac_prev=libdir ;; | ac_prev=libdir ;; |
| 610 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
| 611 | libdir="$ac_optarg" ;; | libdir=$ac_optarg ;; |
| 612 | ||
| 613 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
| 614 | | --libexe | --libex | --libe) | | --libexe | --libex | --libe) |
| 615 | ac_prev=libexecdir ;; | ac_prev=libexecdir ;; |
| 616 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
| 617 | | --libexe=* | --libex=* | --libe=*) | | --libexe=* | --libex=* | --libe=*) |
| 618 | libexecdir="$ac_optarg" ;; | libexecdir=$ac_optarg ;; |
| 619 | ||
| 620 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
| 621 | | --localstate | --localstat | --localsta | --localst \ | | --localstate | --localstat | --localsta | --localst \ |
| # | Line 201 EOF | Line 624 EOF |
| 624 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| 625 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
| 626 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
| 627 | localstatedir="$ac_optarg" ;; | localstatedir=$ac_optarg ;; |
| 628 | ||
| 629 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| 630 | ac_prev=mandir ;; | ac_prev=mandir ;; |
| 631 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
| 632 | mandir="$ac_optarg" ;; | mandir=$ac_optarg ;; |
| 633 | ||
| 634 | -nfp | --nfp | --nf) | -nfp | --nfp | --nf) |
| 635 | # Obsolete; use --without-fp. | # Obsolete; use --without-fp. |
| 636 | with_fp=no ;; | with_fp=no ;; |
| 637 | ||
| 638 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| 639 | | --no-cr | --no-c) | | --no-cr | --no-c | -n) |
| 640 | no_create=yes ;; | no_create=yes ;; |
| 641 | ||
| 642 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
| # | Line 227 EOF | Line 650 EOF |
| 650 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
| 651 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
| 652 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
| 653 | oldincludedir="$ac_optarg" ;; | oldincludedir=$ac_optarg ;; |
| 654 | ||
| 655 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
| 656 | ac_prev=prefix ;; | ac_prev=prefix ;; |
| 657 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
| 658 | prefix="$ac_optarg" ;; | prefix=$ac_optarg ;; |
| 659 | ||
| 660 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
| 661 | | --program-pre | --program-pr | --program-p) | | --program-pre | --program-pr | --program-p) |
| 662 | ac_prev=program_prefix ;; | ac_prev=program_prefix ;; |
| 663 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
| 664 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
| 665 | program_prefix="$ac_optarg" ;; | program_prefix=$ac_optarg ;; |
| 666 | ||
| 667 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
| 668 | | --program-suf | --program-su | --program-s) | | --program-suf | --program-su | --program-s) |
| 669 | ac_prev=program_suffix ;; | ac_prev=program_suffix ;; |
| 670 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
| 671 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
| 672 | program_suffix="$ac_optarg" ;; | program_suffix=$ac_optarg ;; |
| 673 | ||
| 674 | -program-transform-name | --program-transform-name \ | -program-transform-name | --program-transform-name \ |
| 675 | | --program-transform-nam | --program-transform-na \ | | --program-transform-nam | --program-transform-na \ |
| # | Line 263 EOF | Line 686 EOF |
| 686 | | --program-transfo=* | --program-transf=* \ | | --program-transfo=* | --program-transf=* \ |
| 687 | | --program-trans=* | --program-tran=* \ | | --program-trans=* | --program-tran=* \ |
| 688 | | --progr-tra=* | --program-tr=* | --program-t=*) | | --progr-tra=* | --program-tr=* | --program-t=*) |
| 689 | program_transform_name="$ac_optarg" ;; | program_transform_name=$ac_optarg ;; |
| 690 | ||
| 691 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 692 | | -silent | --silent | --silen | --sile | --sil) | | -silent | --silent | --silen | --sile | --sil) |
| # | Line 273 EOF | Line 696 EOF |
| 696 | ac_prev=sbindir ;; | ac_prev=sbindir ;; |
| 697 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
| 698 | | --sbi=* | --sb=*) | | --sbi=* | --sb=*) |
| 699 | sbindir="$ac_optarg" ;; | sbindir=$ac_optarg ;; |
| 700 | ||
| 701 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
| 702 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
| # | Line 284 EOF | Line 707 EOF |
| 707 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
| 708 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
| 709 | | --sha=* | --sh=*) | | --sha=* | --sh=*) |
| 710 | sharedstatedir="$ac_optarg" ;; | sharedstatedir=$ac_optarg ;; |
| 711 | ||
| 712 | -site | --site | --sit) | -site | --site | --sit) |
| 713 | ac_prev=site ;; | ac_prev=site ;; |
| 714 | -site=* | --site=* | --sit=*) | -site=* | --site=* | --sit=*) |
| 715 | site="$ac_optarg" ;; | site=$ac_optarg ;; |
| 716 | ||
| 717 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
| 718 | ac_prev=srcdir ;; | ac_prev=srcdir ;; |
| 719 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
| 720 | srcdir="$ac_optarg" ;; | srcdir=$ac_optarg ;; |
| 721 | ||
| 722 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
| 723 | | --syscon | --sysco | --sysc | --sys | --sy) | | --syscon | --sysco | --sysc | --sys | --sy) |
| 724 | ac_prev=sysconfdir ;; | ac_prev=sysconfdir ;; |
| 725 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
| 726 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
| 727 | sysconfdir="$ac_optarg" ;; | sysconfdir=$ac_optarg ;; |
| 728 | ||
| 729 | -target | --target | --targe | --targ | --tar | --ta | --t) | -target | --target | --targe | --targ | --tar | --ta | --t) |
| 730 | ac_prev=target ;; | ac_prev=target_alias ;; |
| 731 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
| 732 | target="$ac_optarg" ;; | target_alias=$ac_optarg ;; |
| 733 | ||
| 734 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
| 735 | verbose=yes ;; | verbose=yes ;; |
| 736 | ||
| 737 | -version | --version | --versio | --versi | --vers) | -version | --version | --versio | --versi | --vers | -V) |
| 738 | echo "configure generated by autoconf version 2.13" | ac_init_version=: ;; |
| exit 0 ;; | ||
| 739 | ||
| 740 | -with-* | --with-*) | -with-* | --with-*) |
| 741 | ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 742 | # Reject names that are not valid shell variable names. | # Reject names that are not valid shell variable names. |
| 743 | if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 744 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
| 745 | fi | { (exit 1); exit 1; }; } |
| 746 | ac_package=`echo $ac_package| sed 's/-/_/g'` | ac_package=`echo $ac_package| sed 's/-/_/g'` |
| 747 | case "$ac_option" in | case $ac_option in |
| 748 | *=*) ;; | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
| 749 | *) ac_optarg=yes ;; | *) ac_optarg=yes ;; |
| 750 | esac | esac |
| 751 | eval "with_${ac_package}='$ac_optarg'" ;; | eval "with_$ac_package='$ac_optarg'" ;; |
| 752 | ||
| 753 | -without-* | --without-*) | -without-* | --without-*) |
| 754 | ac_package=`echo $ac_option|sed -e 's/-*without-//'` | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 755 | # Reject names that are not valid shell variable names. | # Reject names that are not valid shell variable names. |
| 756 | if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 757 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
| 758 | fi | { (exit 1); exit 1; }; } |
| 759 | ac_package=`echo $ac_package| sed 's/-/_/g'` | ac_package=`echo $ac_package | sed 's/-/_/g'` |
| 760 | eval "with_${ac_package}=no" ;; | eval "with_$ac_package=no" ;; |
| 761 | ||
| 762 | --x) | --x) |
| 763 | # Obsolete; use --with-x. | # Obsolete; use --with-x. |
| # | Line 346 EOF | Line 768 EOF |
| 768 | ac_prev=x_includes ;; | ac_prev=x_includes ;; |
| 769 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
| 770 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
| 771 | x_includes="$ac_optarg" ;; | x_includes=$ac_optarg ;; |
| 772 | ||
| 773 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
| 774 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
| 775 | ac_prev=x_libraries ;; | ac_prev=x_libraries ;; |
| 776 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
| 777 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 778 | x_libraries="$ac_optarg" ;; | x_libraries=$ac_optarg ;; |
| 779 | ||
| 780 | -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } | -*) { echo "$as_me: error: unrecognized option: $ac_option |
| 781 | Try \`$0 --help' for more information." >&2 | |
| 782 | { (exit 1); exit 1; }; } | |
| 783 | ;; | ;; |
| 784 | ||
| 785 | *=*) | |
| 786 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
| 787 | # Reject names that are not valid shell variable names. | |
| 788 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | |
| 789 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | |
| 790 | { (exit 1); exit 1; }; } | |
| 791 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | |
| 792 | eval "$ac_envvar='$ac_optarg'" | |
| 793 | export $ac_envvar ;; | |
| 794 | ||
| 795 | *) | *) |
| 796 | if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then | # FIXME: should be removed in autoconf 3.0. |
| 797 | echo "configure: warning: $ac_option: invalid host type" 1>&2 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 798 | fi | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 799 | if test "x$nonopt" != xNONE; then | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 800 | { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
| fi | ||
| nonopt="$ac_option" | ||
| 801 | ;; | ;; |
| 802 | ||
| 803 | esac | esac |
| 804 | done | done |
| 805 | ||
| 806 | if test -n "$ac_prev"; then | if test -n "$ac_prev"; then |
| 807 | { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 808 | { echo "$as_me: error: missing argument to $ac_option" >&2 | |
| 809 | { (exit 1); exit 1; }; } | |
| 810 | fi | fi |
| 811 | ||
| 812 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 | # Be sure to have absolute paths. |
| 813 | for ac_var in exec_prefix prefix | |
| 814 | # File descriptor usage: | do |
| 815 | # 0 standard input | eval ac_val=$`echo $ac_var` |
| 816 | # 1 file creation | case $ac_val in |
| 817 | # 2 errors and warnings | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
| 818 | # 3 some systems may open it to /dev/tty | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
| 819 | # 4 used on the Kubota Titan | { (exit 1); exit 1; }; };; |
| 820 | # 6 checking for... messages and results | esac |
| 821 | # 5 compiler messages saved in config.log | done |
| if test "$silent" = yes; then | ||
| exec 6>/dev/null | ||
| else | ||
| exec 6>&1 | ||
| fi | ||
| exec 5>./config.log | ||
| echo "\ | ||
| This file contains any messages produced by compilers while | ||
| running configure, to aid debugging if configure makes a mistake. | ||
| " 1>&5 | ||
| 822 | ||
| 823 | # Strip out --no-create and --no-recursion so they do not pile up. | # Be sure to have absolute paths. |
| 824 | # Also quote any args containing shell metacharacters. | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
| 825 | ac_configure_args= | localstatedir libdir includedir oldincludedir infodir mandir |
| for ac_arg | ||
| 826 | do | do |
| 827 | case "$ac_arg" in | eval ac_val=$`echo $ac_var` |
| 828 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | case $ac_val in |
| 829 | | --no-cr | --no-c) ;; | [\\/$]* | ?:[\\/]* ) ;; |
| 830 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
| 831 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; | { (exit 1); exit 1; }; };; |
| *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) | ||
| ac_configure_args="$ac_configure_args '$ac_arg'" ;; | ||
| *) ac_configure_args="$ac_configure_args $ac_arg" ;; | ||
| 832 | esac | esac |
| 833 | done | done |
| 834 | ||
| 835 | # NLS nuisances. | # There might be people who depend on the old broken behavior: `$host' |
| 836 | # Only set these to C if already set. These must not be set unconditionally | # used to hold the argument of --host etc. |
| 837 | # because not all systems understand e.g. LANG=C (notably SCO). | # FIXME: To remove some day. |
| 838 | # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! | build=$build_alias |
| 839 | # Non-C LC_CTYPE values break the ctype check. | host=$host_alias |
| 840 | if test "${LANG+set}" = set; then LANG=C; export LANG; fi | target=$target_alias |
| 841 | if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi | |
| 842 | if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi | # FIXME: To remove some day. |
| 843 | if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi | if test "x$host_alias" != x; then |
| 844 | if test "x$build_alias" = x; then | |
| 845 | cross_compiling=maybe | |
| 846 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | |
| 847 | If a cross compiler is detected then cross compile mode will be used." >&2 | |
| 848 | elif test "x$build_alias" != "x$host_alias"; then | |
| 849 | cross_compiling=yes | |
| 850 | fi | |
| 851 | fi | |
| 852 | ||
| 853 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | ac_tool_prefix= |
| 854 | rm -rf conftest* confdefs.h | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
| 855 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | |
| 856 | echo > confdefs.h | test "$silent" = yes && exec 6>/dev/null |
| 857 | ||
| # A filename unique to this package, relative to the directory that | ||
| # configure is in, which we can look for to find out if srcdir is correct. | ||
| ac_unique_file=dftables.c | ||
| 858 | ||
| 859 | # Find the source files, if location was not specified. | # Find the source files, if location was not specified. |
| 860 | if test -z "$srcdir"; then | if test -z "$srcdir"; then |
| 861 | ac_srcdir_defaulted=yes | ac_srcdir_defaulted=yes |
| 862 | # Try the directory containing this script, then its parent. | # Try the directory containing this script, then its parent. |
| 863 | ac_prog=$0 | ac_confdir=`(dirname "$0") 2>/dev/null || |
| 864 | ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 865 | test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. | X"$0" : 'X\(//\)[^/]' \| \ |
| 866 | X"$0" : 'X\(//\)$' \| \ | |
| 867 | X"$0" : 'X\(/\)' \| \ | |
| 868 | . : '\(.\)' 2>/dev/null || | |
| 869 | echo X"$0" | | |
| 870 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
| 871 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
| 872 | /^X\(\/\/\)$/{ s//\1/; q; } | |
| 873 | /^X\(\/\).*/{ s//\1/; q; } | |
| 874 | s/.*/./; q'` | |
| 875 | srcdir=$ac_confdir | srcdir=$ac_confdir |
| 876 | if test ! -r $srcdir/$ac_unique_file; then | if test ! -r $srcdir/$ac_unique_file; then |
| 877 | srcdir=.. | srcdir=.. |
| # | Line 448 else | Line 881 else |
| 881 | fi | fi |
| 882 | if test ! -r $srcdir/$ac_unique_file; then | if test ! -r $srcdir/$ac_unique_file; then |
| 883 | if test "$ac_srcdir_defaulted" = yes; then | if test "$ac_srcdir_defaulted" = yes; then |
| 884 | { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
| 885 | { (exit 1); exit 1; }; } | |
| 886 | else | else |
| 887 | { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
| 888 | { (exit 1); exit 1; }; } | |
| 889 | fi | fi |
| 890 | fi | fi |
| 891 | srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
| 892 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | |
| 893 | { (exit 1); exit 1; }; } | |
| 894 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | |
| 895 | ac_env_build_alias_set=${build_alias+set} | |
| 896 | ac_env_build_alias_value=$build_alias | |
| 897 | ac_cv_env_build_alias_set=${build_alias+set} | |
| 898 | ac_cv_env_build_alias_value=$build_alias | |
| 899 | ac_env_host_alias_set=${host_alias+set} | |
| 900 | ac_env_host_alias_value=$host_alias | |
| 901 | ac_cv_env_host_alias_set=${host_alias+set} | |
| 902 | ac_cv_env_host_alias_value=$host_alias | |
| 903 | ac_env_target_alias_set=${target_alias+set} | |
| 904 | ac_env_target_alias_value=$target_alias | |
| 905 | ac_cv_env_target_alias_set=${target_alias+set} | |
| 906 | ac_cv_env_target_alias_value=$target_alias | |
| 907 | ac_env_CC_set=${CC+set} | |
| 908 | ac_env_CC_value=$CC | |
| 909 | ac_cv_env_CC_set=${CC+set} | |
| 910 | ac_cv_env_CC_value=$CC | |
| 911 | ac_env_CFLAGS_set=${CFLAGS+set} | |
| 912 | ac_env_CFLAGS_value=$CFLAGS | |
| 913 | ac_cv_env_CFLAGS_set=${CFLAGS+set} | |
| 914 | ac_cv_env_CFLAGS_value=$CFLAGS | |
| 915 | ac_env_LDFLAGS_set=${LDFLAGS+set} | |
| 916 | ac_env_LDFLAGS_value=$LDFLAGS | |
| 917 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | |
| 918 | ac_cv_env_LDFLAGS_value=$LDFLAGS | |
| 919 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} | |
| 920 | ac_env_CPPFLAGS_value=$CPPFLAGS | |
| 921 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | |
| 922 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS | |
| 923 | ac_env_CXX_set=${CXX+set} | |
| 924 | ac_env_CXX_value=$CXX | |
| 925 | ac_cv_env_CXX_set=${CXX+set} | |
| 926 | ac_cv_env_CXX_value=$CXX | |
| 927 | ac_env_CXXFLAGS_set=${CXXFLAGS+set} | |
| 928 | ac_env_CXXFLAGS_value=$CXXFLAGS | |
| 929 | ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} | |
| 930 | ac_cv_env_CXXFLAGS_value=$CXXFLAGS | |
| 931 | ac_env_CPP_set=${CPP+set} | |
| 932 | ac_env_CPP_value=$CPP | |
| 933 | ac_cv_env_CPP_set=${CPP+set} | |
| 934 | ac_cv_env_CPP_value=$CPP | |
| 935 | ac_env_CXXCPP_set=${CXXCPP+set} | |
| 936 | ac_env_CXXCPP_value=$CXXCPP | |
| 937 | ac_cv_env_CXXCPP_set=${CXXCPP+set} | |
| 938 | ac_cv_env_CXXCPP_value=$CXXCPP | |
| 939 | ac_env_F77_set=${F77+set} | |
| 940 | ac_env_F77_value=$F77 | |
| 941 | ac_cv_env_F77_set=${F77+set} | |
| 942 | ac_cv_env_F77_value=$F77 | |
| 943 | ac_env_FFLAGS_set=${FFLAGS+set} | |
| 944 | ac_env_FFLAGS_value=$FFLAGS | |
| 945 | ac_cv_env_FFLAGS_set=${FFLAGS+set} | |
| 946 | ac_cv_env_FFLAGS_value=$FFLAGS | |
| 947 | ||
| 948 | # | |
| 949 | # Report the --help message. | |
| 950 | # | |
| 951 | if test "$ac_init_help" = "long"; then | |
| 952 | # Omit some internal or obsolete options to make the list less imposing. | |
| 953 | # This message is too long to be a string in the A/UX 3.1 sh. | |
| 954 | cat <<_ACEOF | |
| 955 | \`configure' configures this package to adapt to many kinds of systems. | |
| 956 | ||
| 957 | Usage: $0 [OPTION]... [VAR=VALUE]... | |
| 958 | ||
| 959 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
| 960 | VAR=VALUE. See below for descriptions of some of the useful variables. | |
| 961 | ||
| 962 | Defaults for the options are specified in brackets. | |
| 963 | ||
| 964 | Configuration: | |
| 965 | -h, --help display this help and exit | |
| 966 | --help=short display options specific to this package | |
| 967 | --help=recursive display the short help of all the included packages | |
| 968 | -V, --version display version information and exit | |
| 969 | -q, --quiet, --silent do not print \`checking...' messages | |
| 970 | --cache-file=FILE cache test results in FILE [disabled] | |
| 971 | -C, --config-cache alias for \`--cache-file=config.cache' | |
| 972 | -n, --no-create do not create output files | |
| 973 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
| 974 | ||
| 975 | _ACEOF | |
| 976 | ||
| 977 | cat <<_ACEOF | |
| 978 | Installation directories: | |
| 979 | --prefix=PREFIX install architecture-independent files in PREFIX | |
| 980 | [$ac_default_prefix] | |
| 981 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
| 982 | [PREFIX] | |
| 983 | ||
| 984 | By default, \`make install' will install all the files in | |
| 985 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
| 986 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
| 987 | for instance \`--prefix=\$HOME'. | |
| 988 | ||
| 989 | For better control, use the options below. | |
| 990 | ||
| 991 | Fine tuning of the installation directories: | |
| 992 | --bindir=DIR user executables [EPREFIX/bin] | |
| 993 | --sbindir=DIR system admin executables [EPREFIX/sbin] | |
| 994 | --libexecdir=DIR program executables [EPREFIX/libexec] | |
| 995 | --datadir=DIR read-only architecture-independent data [PREFIX/share] | |
| 996 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
| 997 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
| 998 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
| 999 | --libdir=DIR object code libraries [EPREFIX/lib] | |
| 1000 | --includedir=DIR C header files [PREFIX/include] | |
| 1001 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
| 1002 | --infodir=DIR info documentation [PREFIX/info] | |
| 1003 | --mandir=DIR man documentation [PREFIX/man] | |
| 1004 | _ACEOF | |
| 1005 | ||
| 1006 | cat <<\_ACEOF | |
| 1007 | ||
| 1008 | System types: | |
| 1009 | --build=BUILD configure for building on BUILD [guessed] | |
| 1010 | --host=HOST cross-compile to build programs to run on HOST [BUILD] | |
| 1011 | _ACEOF | |
| 1012 | fi | |
| 1013 | ||
| 1014 | if test -n "$ac_init_help"; then | |
| 1015 | ||
| 1016 | cat <<\_ACEOF | |
| 1017 | ||
| 1018 | Optional Features: | |
| 1019 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
| 1020 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
| 1021 | --enable-shared[=PKGS] | |
| 1022 | build shared libraries [default=yes] | |
| 1023 | --enable-static[=PKGS] | |
| 1024 | build static libraries [default=yes] | |
| 1025 | --enable-fast-install[=PKGS] | |
| 1026 | optimize for fast installation [default=yes] | |
| 1027 | --disable-libtool-lock avoid locking (might break parallel builds) | |
| 1028 | --enable-utf8 enable UTF8 support | |
| 1029 | --enable-unicode-properties enable Unicode properties support | |
| 1030 | --enable-newline-is-cr use CR as the newline character | |
| 1031 | --enable-newline-is-lf use LF as the newline character | |
| 1032 | --enable-ebcdic assume EBCDIC coding rather than ASCII | |
| 1033 | --disable-stack-for-recursion disable use of stack recursion when matching | |
| 1034 | ||
| 1035 | Optional Packages: | |
| 1036 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | |
| 1037 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | |
| 1038 | --with-gnu-ld assume the C compiler uses GNU ld [default=no] | |
| 1039 | --with-pic try to use only PIC/non-PIC objects [default=use | |
| 1040 | both] | |
| 1041 | --with-tags[=TAGS] | |
| 1042 | include additional configurations [automatic] | |
| 1043 | --with-posix-malloc-threshold=5 threshold for POSIX malloc usage | |
| 1044 | --with-link-size=2 internal link size (2, 3, or 4 allowed) | |
| 1045 | --with-match-limit=10000000 default limit on internal looping) | |
| 1046 | ||
| 1047 | Some influential environment variables: | |
| 1048 | CC C compiler command | |
| 1049 | CFLAGS C compiler flags | |
| 1050 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
| 1051 | nonstandard directory <lib dir> | |
| 1052 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | |
| 1053 | headers in a nonstandard directory <include dir> | |
| 1054 | CXX C++ compiler command | |
| 1055 | CXXFLAGS C++ compiler flags | |
| 1056 | CPP C preprocessor | |
| 1057 | CXXCPP C++ preprocessor | |
| 1058 | F77 Fortran 77 compiler command | |
| 1059 | FFLAGS Fortran 77 compiler flags | |
| 1060 | ||
| 1061 | Use these variables to override the choices made by `configure' or to help | |
| 1062 | it to find libraries and programs with nonstandard names/locations. | |
| 1063 | ||
| 1064 | _ACEOF | |
| 1065 | fi | |
| 1066 | ||
| 1067 | if test "$ac_init_help" = "recursive"; then | |
| 1068 | # If there are subdirs, report their specific --help. | |
| 1069 | ac_popdir=`pwd` | |
| 1070 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | |
| 1071 | test -d $ac_dir || continue | |
| 1072 | ac_builddir=. | |
| 1073 | ||
| 1074 | if test "$ac_dir" != .; then | |
| 1075 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | |
| 1076 | # A "../" for each directory in $ac_dir_suffix. | |
| 1077 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | |
| 1078 | else | |
| 1079 | ac_dir_suffix= ac_top_builddir= | |
| 1080 | fi | |
| 1081 | ||
| 1082 | case $srcdir in | |
| 1083 | .) # No --srcdir option. We are building in place. | |
| 1084 | ac_srcdir=. | |
| 1085 | if test -z "$ac_top_builddir"; then | |
| 1086 | ac_top_srcdir=. | |
| 1087 | else | |
| 1088 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
| 1089 | fi ;; | |
| 1090 | [\\/]* | ?:[\\/]* ) # Absolute path. | |
| 1091 | ac_srcdir=$srcdir$ac_dir_suffix; | |
| 1092 | ac_top_srcdir=$srcdir ;; | |
| 1093 | *) # Relative path. | |
| 1094 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | |
| 1095 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | |
| 1096 | esac | |
| 1097 | ||
| 1098 | # Do not use `cd foo && pwd` to compute absolute paths, because | |
| 1099 | # the directories may not exist. | |
| 1100 | case `pwd` in | |
| 1101 | .) ac_abs_builddir="$ac_dir";; | |
| 1102 | *) | |
| 1103 | case "$ac_dir" in | |
| 1104 | .) ac_abs_builddir=`pwd`;; | |
| 1105 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | |
| 1106 | *) ac_abs_builddir=`pwd`/"$ac_dir";; | |
| 1107 | esac;; | |
| 1108 | esac | |
| 1109 | case $ac_abs_builddir in | |
| 1110 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | |
| 1111 | *) | |
| 1112 | case ${ac_top_builddir}. in | |
| 1113 | .) ac_abs_top_builddir=$ac_abs_builddir;; | |
| 1114 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | |
| 1115 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | |
| 1116 | esac;; | |
| 1117 | esac | |
| 1118 | case $ac_abs_builddir in | |
| 1119 | .) ac_abs_srcdir=$ac_srcdir;; | |
| 1120 | *) | |
| 1121 | case $ac_srcdir in | |
| 1122 | .) ac_abs_srcdir=$ac_abs_builddir;; | |
| 1123 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | |
| 1124 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | |
| 1125 | esac;; | |
| 1126 | esac | |
| 1127 | case $ac_abs_builddir in | |
| 1128 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | |
| 1129 | *) | |
| 1130 | case $ac_top_srcdir in | |
| 1131 | .) ac_abs_top_srcdir=$ac_abs_builddir;; | |
| 1132 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | |
| 1133 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | |
| 1134 | esac;; | |
| 1135 | esac | |
| 1136 | ||
| 1137 | cd $ac_dir | |
| 1138 | # Check for guested configure; otherwise get Cygnus style configure. | |
| 1139 | if test -f $ac_srcdir/configure.gnu; then | |
| 1140 | echo | |
| 1141 | $SHELL $ac_srcdir/configure.gnu --help=recursive | |
| 1142 | elif test -f $ac_srcdir/configure; then | |
| 1143 | echo | |
| 1144 | $SHELL $ac_srcdir/configure --help=recursive | |
| 1145 | elif test -f $ac_srcdir/configure.ac || | |
| 1146 | test -f $ac_srcdir/configure.in; then | |
| 1147 | echo | |
| 1148 | $ac_configure --help | |
| 1149 | else | |
| 1150 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
| 1151 | fi | |
| 1152 | cd $ac_popdir | |
| 1153 | done | |
| 1154 | fi | |
| 1155 | ||
| 1156 | test -n "$ac_init_help" && exit 0 | |
| 1157 | if $ac_init_version; then | |
| 1158 | cat <<\_ACEOF | |
| 1159 | ||
| 1160 | Copyright (C) 2003 Free Software Foundation, Inc. | |
| 1161 | This configure script is free software; the Free Software Foundation | |
| 1162 | gives unlimited permission to copy, distribute and modify it. | |
| 1163 | _ACEOF | |
| 1164 | exit 0 | |
| 1165 | fi | |
| 1166 | exec 5>config.log | |
| 1167 | cat >&5 <<_ACEOF | |
| 1168 | This file contains any messages produced by compilers while | |
| 1169 | running configure, to aid debugging if configure makes a mistake. | |
| 1170 | ||
| 1171 | It was created by $as_me, which was | |
| 1172 | generated by GNU Autoconf 2.59. Invocation command line was | |
| 1173 | ||
| 1174 | $ $0 $@ | |
| 1175 | ||
| 1176 | _ACEOF | |
| 1177 | { | |
| 1178 | cat <<_ASUNAME | |
| 1179 | ## --------- ## | |
| 1180 | ## Platform. ## | |
| 1181 | ## --------- ## | |
| 1182 | ||
| 1183 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
| 1184 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
| 1185 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
| 1186 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
| 1187 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
| 1188 | ||
| 1189 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
| 1190 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
| 1191 | ||
| 1192 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
| 1193 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
| 1194 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | |
| 1195 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | |
| 1196 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | |
| 1197 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
| 1198 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
| 1199 | ||
| 1200 | _ASUNAME | |
| 1201 | ||
| 1202 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 1203 | for as_dir in $PATH | |
| 1204 | do | |
| 1205 | IFS=$as_save_IFS | |
| 1206 | test -z "$as_dir" && as_dir=. | |
| 1207 | echo "PATH: $as_dir" | |
| 1208 | done | |
| 1209 | ||
| 1210 | } >&5 | |
| 1211 | ||
| 1212 | cat >&5 <<_ACEOF | |
| 1213 | ||
| 1214 | ||
| 1215 | ## ----------- ## | |
| 1216 | ## Core tests. ## | |
| 1217 | ## ----------- ## | |
| 1218 | ||
| 1219 | _ACEOF | |
| 1220 | ||
| 1221 | ||
| 1222 | # Keep a trace of the command line. | |
| 1223 | # Strip out --no-create and --no-recursion so they do not pile up. | |
| 1224 | # Strip out --silent because we don't want to record it for future runs. | |
| 1225 | # Also quote any args containing shell meta-characters. | |
| 1226 | # Make two passes to allow for proper duplicate-argument suppression. | |
| 1227 | ac_configure_args= | |
| 1228 | ac_configure_args0= | |
| 1229 | ac_configure_args1= | |
| 1230 | ac_sep= | |
| 1231 | ac_must_keep_next=false | |
| 1232 | for ac_pass in 1 2 | |
| 1233 | do | |
| 1234 | for ac_arg | |
| 1235 | do | |
| 1236 | case $ac_arg in | |
| 1237 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | |
| 1238 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
| 1239 | | -silent | --silent | --silen | --sile | --sil) | |
| 1240 | continue ;; | |
| 1241 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | |
| 1242 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 1243 | esac | |
| 1244 | case $ac_pass in | |
| 1245 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | |
| 1246 | 2) | |
| 1247 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" | |
| 1248 | if test $ac_must_keep_next = true; then | |
| 1249 | ac_must_keep_next=false # Got value, back to normal. | |
| 1250 | else | |
| 1251 | case $ac_arg in | |
| 1252 | *=* | --config-cache | -C | -disable-* | --disable-* \ | |
| 1253 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
| 1254 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
| 1255 | | -with-* | --with-* | -without-* | --without-* | --x) | |
| 1256 | case "$ac_configure_args0 " in | |
| 1257 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
| 1258 | esac | |
| 1259 | ;; | |
| 1260 | -* ) ac_must_keep_next=true ;; | |
| 1261 | esac | |
| 1262 | fi | |
| 1263 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | |
| 1264 | # Get rid of the leading space. | |
| 1265 | ac_sep=" " | |
| 1266 | ;; | |
| 1267 | esac | |
| 1268 | done | |
| 1269 | done | |
| 1270 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | |
| 1271 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | |
| 1272 | ||
| 1273 | # When interrupted or exit'd, cleanup temporary files, and complete | |
| 1274 | # config.log. We remove comments because anyway the quotes in there | |
| 1275 | # would cause problems or look ugly. | |
| 1276 | # WARNING: Be sure not to use single quotes in there, as some shells, | |
| 1277 | # such as our DU 5.0 friend, will then `close' the trap. | |
| 1278 | trap 'exit_status=$? | |
| 1279 | # Save into config.log some information that might help in debugging. | |
| 1280 | { | |
| 1281 | echo | |
| 1282 | ||
| 1283 | cat <<\_ASBOX | |
| 1284 | ## ---------------- ## | |
| 1285 | ## Cache variables. ## | |
| 1286 | ## ---------------- ## | |
| 1287 | _ASBOX | |
| 1288 | echo | |
| 1289 | # The following way of writing the cache mishandles newlines in values, | |
| 1290 | { | |
| 1291 | (set) 2>&1 | | |
| 1292 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | |
| 1293 | *ac_space=\ *) | |
| 1294 | sed -n \ | |
| 1295 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | |
| 1296 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | |
| 1297 | ;; | |
| 1298 | *) | |
| 1299 | sed -n \ | |
| 1300 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | |
| 1301 | ;; | |
| 1302 | esac; | |
| 1303 | } | |
| 1304 | echo | |
| 1305 | ||
| 1306 | cat <<\_ASBOX | |
| 1307 | ## ----------------- ## | |
| 1308 | ## Output variables. ## | |
| 1309 | ## ----------------- ## | |
| 1310 | _ASBOX | |
| 1311 | echo | |
| 1312 | for ac_var in $ac_subst_vars | |
| 1313 | do | |
| 1314 | eval ac_val=$`echo $ac_var` | |
| 1315 | echo "$ac_var='"'"'$ac_val'"'"'" | |
| 1316 | done | sort | |
| 1317 | echo | |
| 1318 | ||
| 1319 | if test -n "$ac_subst_files"; then | |
| 1320 | cat <<\_ASBOX | |
| 1321 | ## ------------- ## | |
| 1322 | ## Output files. ## | |
| 1323 | ## ------------- ## | |
| 1324 | _ASBOX | |
| 1325 | echo | |
| 1326 | for ac_var in $ac_subst_files | |
| 1327 | do | |
| 1328 | eval ac_val=$`echo $ac_var` | |
| 1329 | echo "$ac_var='"'"'$ac_val'"'"'" | |
| 1330 | done | sort | |
| 1331 | echo | |
| 1332 | fi | |
| 1333 | ||
| 1334 | if test -s confdefs.h; then | |
| 1335 | cat <<\_ASBOX | |
| 1336 | ## ----------- ## | |
| 1337 | ## confdefs.h. ## | |
| 1338 | ## ----------- ## | |
| 1339 | _ASBOX | |
| 1340 | echo | |
| 1341 | sed "/^$/d" confdefs.h | sort | |
| 1342 | echo | |
| 1343 | fi | |
| 1344 | test "$ac_signal" != 0 && | |
| 1345 | echo "$as_me: caught signal $ac_signal" | |
| 1346 | echo "$as_me: exit $exit_status" | |
| 1347 | } >&5 | |
| 1348 | rm -f core *.core && | |
| 1349 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && | |
| 1350 | exit $exit_status | |
| 1351 | ' 0 | |
| 1352 | for ac_signal in 1 2 13 15; do | |
| 1353 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | |
| 1354 | done | |
| 1355 | ac_signal=0 | |
| 1356 | ||
| 1357 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
| 1358 | rm -rf conftest* confdefs.h | |
| 1359 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | |
| 1360 | echo >confdefs.h | |
| 1361 | ||
| 1362 | # Predefined preprocessor variables. | |
| 1363 | ||
| 1364 | cat >>confdefs.h <<_ACEOF | |
| 1365 | #define PACKAGE_NAME "$PACKAGE_NAME" | |
| 1366 | _ACEOF | |
| 1367 | ||
| 1368 | ||
| 1369 | cat >>confdefs.h <<_ACEOF | |
| 1370 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | |
| 1371 | _ACEOF | |
| 1372 | ||
| 1373 | ||
| 1374 | cat >>confdefs.h <<_ACEOF | |
| 1375 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | |
| 1376 | _ACEOF | |
| 1377 | ||
| 1378 | ||
| 1379 | cat >>confdefs.h <<_ACEOF | |
| 1380 | #define PACKAGE_STRING "$PACKAGE_STRING" | |
| 1381 | _ACEOF | |
| 1382 | ||
| 1383 | ||
| 1384 | cat >>confdefs.h <<_ACEOF | |
| 1385 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | |
| 1386 | _ACEOF | |
| 1387 | ||
| 1388 | ||
| 1389 | # Let the site file select an alternate cache file if it wants to. | |
| 1390 | # Prefer explicitly selected file to automatically selected ones. | # Prefer explicitly selected file to automatically selected ones. |
| 1391 | if test -z "$CONFIG_SITE"; then | if test -z "$CONFIG_SITE"; then |
| 1392 | if test "x$prefix" != xNONE; then | if test "x$prefix" != xNONE; then |
| # | Line 465 if test -z "$CONFIG_SITE"; then | Line 1397 if test -z "$CONFIG_SITE"; then |
| 1397 | fi | fi |
| 1398 | for ac_site_file in $CONFIG_SITE; do | for ac_site_file in $CONFIG_SITE; do |
| 1399 | if test -r "$ac_site_file"; then | if test -r "$ac_site_file"; then |
| 1400 | echo "loading site script $ac_site_file" | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
| 1401 | echo "$as_me: loading site script $ac_site_file" >&6;} | |
| 1402 | sed 's/^/| /' "$ac_site_file" >&5 | |
| 1403 | . "$ac_site_file" | . "$ac_site_file" |
| 1404 | fi | fi |
| 1405 | done | done |
| 1406 | ||
| 1407 | if test -r "$cache_file"; then | if test -r "$cache_file"; then |
| 1408 | echo "loading cache $cache_file" | # Some versions of bash will fail to source /dev/null (special |
| 1409 | . $cache_file | # files actually), so we avoid doing that. |
| 1410 | if test -f "$cache_file"; then | |
| 1411 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | |
| 1412 | echo "$as_me: loading cache $cache_file" >&6;} | |
| 1413 | case $cache_file in | |
| 1414 | [\\/]* | ?:[\\/]* ) . $cache_file;; | |
| 1415 | *) . ./$cache_file;; | |
| 1416 | esac | |
| 1417 | fi | |
| 1418 | else | else |
| 1419 | echo "creating cache $cache_file" | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
| 1420 | > $cache_file | echo "$as_me: creating cache $cache_file" >&6;} |
| 1421 | >$cache_file | |
| 1422 | fi | |
| 1423 | ||
| 1424 | # Check that the precious variables saved in the cache have kept the same | |
| 1425 | # value. | |
| 1426 | ac_cache_corrupted=false | |
| 1427 | for ac_var in `(set) 2>&1 | | |
| 1428 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | |
| 1429 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | |
| 1430 | eval ac_new_set=\$ac_env_${ac_var}_set | |
| 1431 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" | |
| 1432 | eval ac_new_val="\$ac_env_${ac_var}_value" | |
| 1433 | case $ac_old_set,$ac_new_set in | |
| 1434 | set,) | |
| 1435 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | |
| 1436 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | |
| 1437 | ac_cache_corrupted=: ;; | |
| 1438 | ,set) | |
| 1439 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | |
| 1440 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |
| 1441 | ac_cache_corrupted=: ;; | |
| 1442 | ,);; | |
| 1443 | *) | |
| 1444 | if test "x$ac_old_val" != "x$ac_new_val"; then | |
| 1445 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | |
| 1446 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | |
| 1447 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | |
| 1448 | echo "$as_me: former value: $ac_old_val" >&2;} | |
| 1449 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | |
| 1450 | echo "$as_me: current value: $ac_new_val" >&2;} | |
| 1451 | ac_cache_corrupted=: | |
| 1452 | fi;; | |
| 1453 | esac | |
| 1454 | # Pass precious variables to config.status. | |
| 1455 | if test "$ac_new_set" = set; then | |
| 1456 | case $ac_new_val in | |
| 1457 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | |
| 1458 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 1459 | *) ac_arg=$ac_var=$ac_new_val ;; | |
| 1460 | esac | |
| 1461 | case " $ac_configure_args " in | |
| 1462 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | |
| 1463 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | |
| 1464 | esac | |
| 1465 | fi | |
| 1466 | done | |
| 1467 | if $ac_cache_corrupted; then | |
| 1468 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | |
| 1469 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | |
| 1470 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | |
| 1471 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | |
| 1472 | { (exit 1); exit 1; }; } | |
| 1473 | fi | fi |
| 1474 | ||
| 1475 | ac_ext=c | ac_ext=c |
| # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | ||
| 1476 | ac_cpp='$CPP $CPPFLAGS' | ac_cpp='$CPP $CPPFLAGS' |
| 1477 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1478 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 1479 | cross_compiling=$ac_cv_prog_cc_cross | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 1480 | ||
| ac_exeext= | ||
| ac_objext=o | ||
| if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then | ||
| # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. | ||
| if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then | ||
| ac_n= ac_c=' | ||
| ' ac_t=' ' | ||
| else | ||
| ac_n=-n ac_c= ac_t= | ||
| fi | ||
| else | ||
| ac_n= ac_c='\c' ac_t= | ||
| fi | ||
| 1481 | ||
| 1482 | ||
| 1483 | ||
| 1484 | ||
| 1485 | ||
| 1486 | ||
| PCRE_MAJOR=3 | ||
| PCRE_MINOR=2 | ||
| PCRE_DATE=12-May-2000 | ||
| PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR} | ||
| 1487 | ||
| 1488 | ||
| PCRE_LIB_VERSION=0:1:0 | ||
| PCRE_POSIXLIB_VERSION=0:0:0 | ||
| 1489 | ||
| 1490 | ||
| 1491 | # Extract the first word of "gcc", so it can be a program name with args. | |
| 1492 | set dummy gcc; ac_word=$2 | |
| 1493 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| 1494 | echo "configure:544: checking for $ac_word" >&5 | |
| 1495 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | |
| 1496 | echo $ac_n "(cached) $ac_c" 1>&6 | |
| 1497 | else | |
| 1498 | if test -n "$CC"; then | |
| 1499 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 1500 | else | |
| 1501 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| 1502 | ac_dummy="$PATH" | |
| 1503 | for ac_dir in $ac_dummy; do | ac_config_headers="$ac_config_headers config.h:config.in" |
| 1504 | test -z "$ac_dir" && ac_dir=. | |
| 1505 | if test -f $ac_dir/$ac_word; then | |
| 1506 | ac_cv_prog_CC="gcc" | |
| 1507 | break | PCRE_MAJOR=6 |
| 1508 | fi | PCRE_MINOR=0 |
| 1509 | done | PCRE_DATE=07-Jun-2005 |
| 1510 | IFS="$ac_save_ifs" | PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR} |
| 1511 | ||
| 1512 | ||
| 1513 | POSIX_MALLOC_THRESHOLD=-DPOSIX_MALLOC_THRESHOLD=10 | |
| 1514 | ||
| 1515 | ||
| 1516 | PCRE_LIB_VERSION=0:1:0 | |
| 1517 | PCRE_POSIXLIB_VERSION=0:0:0 | |
| 1518 | PCRE_CPPLIB_VERSION=0:0:0 | |
| 1519 | ||
| 1520 | ||
| 1521 | ac_ext=c | |
| 1522 | ac_cpp='$CPP $CPPFLAGS' | |
| 1523 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 1524 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 1525 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 1526 | if test -n "$ac_tool_prefix"; then | |
| 1527 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
| 1528 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
| 1529 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| 1530 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
| 1531 | if test "${ac_cv_prog_CC+set}" = set; then | |
| 1532 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 1533 | else | |
| 1534 | if test -n "$CC"; then | |
| 1535 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 1536 | else | |
| 1537 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 1538 | for as_dir in $PATH | |
| 1539 | do | |
| 1540 | IFS=$as_save_IFS | |
| 1541 | test -z "$as_dir" && as_dir=. | |
| 1542 | for ac_exec_ext in '' $ac_executable_extensions; do | |
| 1543 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 1544 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | |
| 1545 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 1546 | break 2 | |
| 1547 | fi | |
| 1548 | done | |
| 1549 | done | |
| 1550 | ||
| 1551 | fi | |
| 1552 | fi | |
| 1553 | CC=$ac_cv_prog_CC | |
| 1554 | if test -n "$CC"; then | |
| 1555 | echo "$as_me:$LINENO: result: $CC" >&5 | |
| 1556 | echo "${ECHO_T}$CC" >&6 | |
| 1557 | else | |
| 1558 | echo "$as_me:$LINENO: result: no" >&5 | |
| 1559 | echo "${ECHO_T}no" >&6 | |
| 1560 | fi | |
| 1561 | ||
| 1562 | fi | |
| 1563 | if test -z "$ac_cv_prog_CC"; then | |
| 1564 | ac_ct_CC=$CC | |
| 1565 | # Extract the first word of "gcc", so it can be a program name with args. | |
| 1566 | set dummy gcc; ac_word=$2 | |
| 1567 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| 1568 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
| 1569 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
| 1570 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 1571 | else | |
| 1572 | if test -n "$ac_ct_CC"; then | |
| 1573 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
| 1574 | else | |
| 1575 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 1576 | for as_dir in $PATH | |
| 1577 | do | |
| 1578 | IFS=$as_save_IFS | |
| 1579 | test -z "$as_dir" && as_dir=. | |
| 1580 | for ac_exec_ext in '' $ac_executable_extensions; do | |
| 1581 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 1582 | ac_cv_prog_ac_ct_CC="gcc" | |
| 1583 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 1584 | break 2 | |
| 1585 | fi | |
| 1586 | done | |
| 1587 | done | |
| 1588 | ||
| 1589 | fi | |
| 1590 | fi | |
| 1591 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
| 1592 | if test -n "$ac_ct_CC"; then | |
| 1593 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
| 1594 | echo "${ECHO_T}$ac_ct_CC" >&6 | |
| 1595 | else | |
| 1596 | echo "$as_me:$LINENO: result: no" >&5 | |
| 1597 | echo "${ECHO_T}no" >&6 | |
| 1598 | fi | |
| 1599 | ||
| 1600 | CC=$ac_ct_CC | |
| 1601 | else | |
| 1602 | CC="$ac_cv_prog_CC" | |
| 1603 | fi | |
| 1604 | ||
| 1605 | if test -z "$CC"; then | |
| 1606 | if test -n "$ac_tool_prefix"; then | |
| 1607 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | |
| 1608 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | |
| 1609 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| 1610 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
| 1611 | if test "${ac_cv_prog_CC+set}" = set; then | |
| 1612 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 1613 | else | |
| 1614 | if test -n "$CC"; then | |
| 1615 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 1616 | else | |
| 1617 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 1618 | for as_dir in $PATH | |
| 1619 | do | |
| 1620 | IFS=$as_save_IFS | |
| 1621 | test -z "$as_dir" && as_dir=. | |
| 1622 | for ac_exec_ext in '' $ac_executable_extensions; do | |
| 1623 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 1624 | ac_cv_prog_CC="${ac_tool_prefix}cc" | |
| 1625 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 1626 | break 2 | |
| 1627 | fi | |
| 1628 | done | |
| 1629 | done | |
| 1630 | ||
| 1631 | fi | fi |
| 1632 | fi | fi |
| 1633 | CC="$ac_cv_prog_CC" | CC=$ac_cv_prog_CC |
| 1634 | if test -n "$CC"; then | if test -n "$CC"; then |
| 1635 | echo "$ac_t""$CC" 1>&6 | echo "$as_me:$LINENO: result: $CC" >&5 |
| 1636 | echo "${ECHO_T}$CC" >&6 | |
| 1637 | else | |
| 1638 | echo "$as_me:$LINENO: result: no" >&5 | |
| 1639 | echo "${ECHO_T}no" >&6 | |
| 1640 | fi | |
| 1641 | ||
| 1642 | fi | |
| 1643 | if test -z "$ac_cv_prog_CC"; then | |
| 1644 | ac_ct_CC=$CC | |
| 1645 | # Extract the first word of "cc", so it can be a program name with args. | |
| 1646 | set dummy cc; ac_word=$2 | |
| 1647 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| 1648 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
| 1649 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
| 1650 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 1651 | else | |
| 1652 | if test -n "$ac_ct_CC"; then | |
| 1653 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
| 1654 | else | else |
| 1655 | echo "$ac_t""no" 1>&6 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1656 | for as_dir in $PATH | |
| 1657 | do | |
| 1658 | IFS=$as_save_IFS | |
| 1659 | test -z "$as_dir" && as_dir=. | |
| 1660 | for ac_exec_ext in '' $ac_executable_extensions; do | |
| 1661 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 1662 | ac_cv_prog_ac_ct_CC="cc" | |
| 1663 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 1664 | break 2 | |
| 1665 | fi | |
| 1666 | done | |
| 1667 | done | |
| 1668 | ||
| 1669 | fi | |
| 1670 | fi | |
| 1671 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
| 1672 | if test -n "$ac_ct_CC"; then | |
| 1673 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
| 1674 | echo "${ECHO_T}$ac_ct_CC" >&6 | |
| 1675 | else | |
| 1676 | echo "$as_me:$LINENO: result: no" >&5 | |
| 1677 | echo "${ECHO_T}no" >&6 | |
| 1678 | fi | fi |
| 1679 | ||
| 1680 | CC=$ac_ct_CC | |
| 1681 | else | |
| 1682 | CC="$ac_cv_prog_CC" | |
| 1683 | fi | |
| 1684 | ||
| 1685 | fi | |
| 1686 | if test -z "$CC"; then | if test -z "$CC"; then |
| 1687 | # Extract the first word of "cc", so it can be a program name with args. | # Extract the first word of "cc", so it can be a program name with args. |
| 1688 | set dummy cc; ac_word=$2 | set dummy cc; ac_word=$2 |
| 1689 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1690 | echo "configure:574: checking for $ac_word" >&5 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1691 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | if test "${ac_cv_prog_CC+set}" = set; then |
| 1692 | echo $ac_n "(cached) $ac_c" 1>&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1693 | else | else |
| 1694 | if test -n "$CC"; then | if test -n "$CC"; then |
| 1695 | ac_cv_prog_CC="$CC" # Let the user override the test. | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1696 | else | else |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | ||
| 1697 | ac_prog_rejected=no | ac_prog_rejected=no |
| 1698 | ac_dummy="$PATH" | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1699 | for ac_dir in $ac_dummy; do | for as_dir in $PATH |
| 1700 | test -z "$ac_dir" && ac_dir=. | do |
| 1701 | if test -f $ac_dir/$ac_word; then | IFS=$as_save_IFS |
| 1702 | if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | test -z "$as_dir" && as_dir=. |
| 1703 | ac_prog_rejected=yes | for ac_exec_ext in '' $ac_executable_extensions; do |
| 1704 | continue | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1705 | fi | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 1706 | ac_cv_prog_CC="cc" | ac_prog_rejected=yes |
| 1707 | break | continue |
| 1708 | fi | fi |
| 1709 | done | ac_cv_prog_CC="cc" |
| 1710 | IFS="$ac_save_ifs" | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1711 | break 2 | |
| 1712 | fi | |
| 1713 | done | |
| 1714 | done | |
| 1715 | ||
| 1716 | if test $ac_prog_rejected = yes; then | if test $ac_prog_rejected = yes; then |
| 1717 | # We found a bogon in the path, so make sure we never use it. | # We found a bogon in the path, so make sure we never use it. |
| 1718 | set dummy $ac_cv_prog_CC | set dummy $ac_cv_prog_CC |
| 1719 | shift | shift |
| 1720 | if test $# -gt 0; then | if test $# != 0; then |
| 1721 | # We chose a different compiler from the bogus one. | # We chose a different compiler from the bogus one. |
| 1722 | # However, it has the same basename, so the bogon will be chosen | # However, it has the same basename, so the bogon will be chosen |
| 1723 | # first if we set CC to just the basename; use the full file name. | # first if we set CC to just the basename; use the full file name. |
| 1724 | shift | shift |
| 1725 | set dummy "$ac_dir/$ac_word" "$@" | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
| shift | ||
| ac_cv_prog_CC="$@" | ||
| 1726 | fi | fi |
| 1727 | fi | fi |
| 1728 | fi | fi |
| 1729 | fi | fi |
| 1730 | CC="$ac_cv_prog_CC" | CC=$ac_cv_prog_CC |
| 1731 | if test -n "$CC"; then | if test -n "$CC"; then |
| 1732 | echo "$ac_t""$CC" 1>&6 | echo "$as_me:$LINENO: result: $CC" >&5 |
| 1733 | echo "${ECHO_T}$CC" >&6 | |
| 1734 | else | else |
| 1735 | echo "$ac_t""no" 1>&6 | echo "$as_me:$LINENO: result: no" >&5 |
| 1736 | echo "${ECHO_T}no" >&6 | |
| 1737 | fi | fi |
| 1738 | ||
| 1739 | if test -z "$CC"; then | fi |
| 1740 | case "`uname -s`" in | if test -z "$CC"; then |
| 1741 | *win32* | *WIN32*) | if test -n "$ac_tool_prefix"; then |
| 1742 | # Extract the first word of "cl", so it can be a program name with args. | for ac_prog in cl |
| 1743 | set dummy cl; ac_word=$2 | do |
| 1744 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 1745 | echo "configure:625: checking for $ac_word" >&5 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 1746 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1747 | echo $ac_n "(cached) $ac_c" 1>&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1748 | if test "${ac_cv_prog_CC+set}" = set; then | |
| 1749 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 1750 | else | else |
| 1751 | if test -n "$CC"; then | if test -n "$CC"; then |
| 1752 | ac_cv_prog_CC="$CC" # Let the user override the test. | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1753 | else | else |
| 1754 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1755 | ac_dummy="$PATH" | for as_dir in $PATH |
| 1756 | for ac_dir in $ac_dummy; do | do |
| 1757 | test -z "$ac_dir" && ac_dir=. | IFS=$as_save_IFS |
| 1758 | if test -f $ac_dir/$ac_word; then | test -z "$as_dir" && as_dir=. |
| 1759 | ac_cv_prog_CC="cl" | for ac_exec_ext in '' $ac_executable_extensions; do |
| 1760 | break | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1761 | fi | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 1762 | done | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1763 | IFS="$ac_save_ifs" | break 2 |
| 1764 | fi | |
| 1765 | done | |
| 1766 | done | |
| 1767 | ||
| 1768 | fi | fi |
| 1769 | fi | fi |
| 1770 | CC="$ac_cv_prog_CC" | CC=$ac_cv_prog_CC |
| 1771 | if test -n "$CC"; then | if test -n "$CC"; then |
| 1772 | echo "$ac_t""$CC" 1>&6 | echo "$as_me:$LINENO: result: $CC" >&5 |
| 1773 | echo "${ECHO_T}$CC" >&6 | |
| 1774 | else | else |
| 1775 | echo "$ac_t""no" 1>&6 | echo "$as_me:$LINENO: result: no" >&5 |
| 1776 | echo "${ECHO_T}no" >&6 | |
| 1777 | fi | fi |
| 1778 | ;; | |
| 1779 | esac | test -n "$CC" && break |
| 1780 | done | |
| 1781 | fi | |
| 1782 | if test -z "$CC"; then | |
| 1783 | ac_ct_CC=$CC | |
| 1784 | for ac_prog in cl | |
| 1785 | do | |
| 1786 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| 1787 | set dummy $ac_prog; ac_word=$2 | |
| 1788 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| 1789 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
| 1790 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
| 1791 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 1792 | else | |
| 1793 | if test -n "$ac_ct_CC"; then | |
| 1794 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
| 1795 | else | |
| 1796 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 1797 | for as_dir in $PATH | |
| 1798 | do | |
| 1799 | IFS=$as_save_IFS | |
| 1800 | test -z "$as_dir" && as_dir=. | |
| 1801 | for ac_exec_ext in '' $ac_executable_extensions; do | |
| 1802 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 1803 | ac_cv_prog_ac_ct_CC="$ac_prog" | |
| 1804 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 1805 | break 2 | |
| 1806 | fi | fi |
| 1807 | test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | done |
| 1808 | done | |
| 1809 | ||
| 1810 | fi | fi |
| 1811 | fi | |
| 1812 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
| 1813 | if test -n "$ac_ct_CC"; then | |
| 1814 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
| 1815 | echo "${ECHO_T}$ac_ct_CC" >&6 | |
| 1816 | else | |
| 1817 | echo "$as_me:$LINENO: result: no" >&5 | |
| 1818 | echo "${ECHO_T}no" >&6 | |
| 1819 | fi | |
| 1820 | ||
| 1821 | test -n "$ac_ct_CC" && break | |
| 1822 | done | |
| 1823 | ||
| 1824 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | CC=$ac_ct_CC |
| 1825 | echo "configure:657: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | fi |
| 1826 | ||
| 1827 | ac_ext=c | fi |
| # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | ||
| ac_cpp='$CPP $CPPFLAGS' | ||
| ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | ||
| ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | ||
| cross_compiling=$ac_cv_prog_cc_cross | ||
| 1828 | ||
| cat > conftest.$ac_ext << EOF | ||
| 1829 | ||
| 1830 | #line 668 "configure" | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
| 1831 | #include "confdefs.h" | See \`config.log' for more details." >&5 |
| 1832 | echo "$as_me: error: no acceptable C compiler found in \$PATH | |
| 1833 | See \`config.log' for more details." >&2;} | |
| 1834 | { (exit 1); exit 1; }; } | |
| 1835 | ||
| 1836 | # Provide some information about the compiler. | |
| 1837 | echo "$as_me:$LINENO:" \ | |
| 1838 | "checking for C compiler version" >&5 | |
| 1839 | ac_compiler=`set X $ac_compile; echo $2` | |
| 1840 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | |
| 1841 | (eval $ac_compiler --version </dev/null >&5) 2>&5 | |
| 1842 | ac_status=$? | |
| 1843 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 1844 | (exit $ac_status); } | |
| 1845 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | |
| 1846 | (eval $ac_compiler -v </dev/null >&5) 2>&5 | |
| 1847 | ac_status=$? | |
| 1848 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 1849 | (exit $ac_status); } | |
| 1850 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | |
| 1851 | (eval $ac_compiler -V </dev/null >&5) 2>&5 | |
| 1852 | ac_status=$? | |
| 1853 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 1854 | (exit $ac_status); } | |
| 1855 | ||
| 1856 | cat >conftest.$ac_ext <<_ACEOF | |
| 1857 | /* confdefs.h. */ | |
| 1858 | _ACEOF | |
| 1859 | cat confdefs.h >>conftest.$ac_ext | |
| 1860 | cat >>conftest.$ac_ext <<_ACEOF | |
| 1861 | /* end confdefs.h. */ | |
| 1862 | ||
| 1863 | int | |
| 1864 | main () | |
| 1865 | { | |
| 1866 | ||
| 1867 | main(){return(0);} | ; |
| 1868 | EOF | return 0; |
| 1869 | if { (eval echo configure:673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | } |
| 1870 | ac_cv_prog_cc_works=yes | _ACEOF |
| 1871 | # If we can't run a trivial program, we are probably using a cross compiler. | ac_clean_files_save=$ac_clean_files |
| 1872 | if (./conftest; exit) 2>/dev/null; then | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
| 1873 | ac_cv_prog_cc_cross=no | # Try to create an executable without -o first, disregard a.out. |
| 1874 | # It will help us diagnose broken compilers, and finding out an intuition | |
| 1875 | # of exeext. | |
| 1876 | echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | |
| 1877 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 | |
| 1878 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
| 1879 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | |
| 1880 | (eval $ac_link_default) 2>&5 | |
| 1881 | ac_status=$? | |
| 1882 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 1883 | (exit $ac_status); }; then | |
| 1884 | # Find the output, starting from the most likely. This scheme is | |
| 1885 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | |
| 1886 | # resort. | |
| 1887 | ||
| 1888 | # Be careful to initialize this variable, since it used to be cached. | |
| 1889 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | |
| 1890 | ac_cv_exeext= | |
| 1891 | # b.out is created by i960 compilers. | |
| 1892 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | |
| 1893 | do | |
| 1894 | test -f "$ac_file" || continue | |
| 1895 | case $ac_file in | |
| 1896 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | |
| 1897 | ;; | |
| 1898 | conftest.$ac_ext ) | |
| 1899 | # This is the source file. | |
| 1900 | ;; | |
| 1901 | [ab].out ) | |
| 1902 | # We found the default executable, but exeext='' is most | |
| 1903 | # certainly right. | |
| 1904 | break;; | |
| 1905 | *.* ) | |
| 1906 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
| 1907 | # FIXME: I believe we export ac_cv_exeext for Libtool, | |
| 1908 | # but it would be cool to find out if it's true. Does anybody | |
| 1909 | # maintain Libtool? --akim. | |
| 1910 | export ac_cv_exeext | |
| 1911 | break;; | |
| 1912 | * ) | |
| 1913 | break;; | |
| 1914 | esac | |
| 1915 | done | |
| 1916 | else | |
| 1917 | echo "$as_me: failed program was:" >&5 | |
| 1918 | sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1919 | ||
| 1920 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables | |
| 1921 | See \`config.log' for more details." >&5 | |
| 1922 | echo "$as_me: error: C compiler cannot create executables | |
| 1923 | See \`config.log' for more details." >&2;} | |
| 1924 | { (exit 77); exit 77; }; } | |
| 1925 | fi | |
| 1926 | ||
| 1927 | ac_exeext=$ac_cv_exeext | |
| 1928 | echo "$as_me:$LINENO: result: $ac_file" >&5 | |
| 1929 | echo "${ECHO_T}$ac_file" >&6 | |
| 1930 | ||
| 1931 | # Check the compiler produces executables we can run. If not, either | |
| 1932 | # the compiler is broken, or we cross compile. | |
| 1933 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | |
| 1934 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | |
| 1935 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | |
| 1936 | # If not cross compiling, check that we can run a simple program. | |
| 1937 | if test "$cross_compiling" != yes; then | |
| 1938 | if { ac_try='./$ac_file' | |
| 1939 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| 1940 | (eval $ac_try) 2>&5 | |
| 1941 | ac_status=$? | |
| 1942 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 1943 | (exit $ac_status); }; }; then | |
| 1944 | cross_compiling=no | |
| 1945 | else | else |
| 1946 | ac_cv_prog_cc_cross=yes | if test "$cross_compiling" = maybe; then |
| 1947 | cross_compiling=yes | |
| 1948 | else | |
| 1949 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | |
| 1950 | If you meant to cross compile, use \`--host'. | |
| 1951 | See \`config.log' for more details." >&5 | |
| 1952 | echo "$as_me: error: cannot run C compiled programs. | |
| 1953 | If you meant to cross compile, use \`--host'. | |
| 1954 | See \`config.log' for more details." >&2;} | |
| 1955 | { (exit 1); exit 1; }; } | |
| 1956 | fi | |
| 1957 | fi | fi |
| else | ||
| echo "configure: failed program was:" >&5 | ||
| cat conftest.$ac_ext >&5 | ||
| ac_cv_prog_cc_works=no | ||
| 1958 | fi | fi |
| 1959 | rm -fr conftest* | echo "$as_me:$LINENO: result: yes" >&5 |
| 1960 | ac_ext=c | echo "${ECHO_T}yes" >&6 |
| # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | ||
| ac_cpp='$CPP $CPPFLAGS' | ||
| ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | ||
| ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | ||
| cross_compiling=$ac_cv_prog_cc_cross | ||
| 1961 | ||
| 1962 | echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
| 1963 | if test $ac_cv_prog_cc_works = no; then | ac_clean_files=$ac_clean_files_save |
| 1964 | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | # Check the compiler produces executables we can run. If not, either |
| 1965 | # the compiler is broken, or we cross compile. | |
| 1966 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | |
| 1967 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | |
| 1968 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | |
| 1969 | echo "${ECHO_T}$cross_compiling" >&6 | |
| 1970 | ||
| 1971 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | |
| 1972 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | |
| 1973 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
| 1974 | (eval $ac_link) 2>&5 | |
| 1975 | ac_status=$? | |
| 1976 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 1977 | (exit $ac_status); }; then | |
| 1978 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | |
| 1979 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
| 1980 | # work properly (i.e., refer to `conftest.exe'), while it won't with | |
| 1981 | # `rm'. | |
| 1982 | for ac_file in conftest.exe conftest conftest.*; do | |
| 1983 | test -f "$ac_file" || continue | |
| 1984 | case $ac_file in | |
| 1985 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | |
| 1986 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
| 1987 | export ac_cv_exeext | |
| 1988 | break;; | |
| 1989 | * ) break;; | |
| 1990 | esac | |
| 1991 | done | |
| 1992 | else | |
| 1993 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | |
| 1994 | See \`config.log' for more details." >&5 | |
| 1995 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | |
| 1996 | See \`config.log' for more details." >&2;} | |
| 1997 | { (exit 1); exit 1; }; } | |
| 1998 | fi | fi |
| echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | ||
| echo "configure:699: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | ||
| echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | ||
| cross_compiling=$ac_cv_prog_cc_cross | ||
| 1999 | ||
| 2000 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | rm -f conftest$ac_cv_exeext |
| 2001 | echo "configure:704: checking whether we are using GNU C" >&5 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
| 2002 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | echo "${ECHO_T}$ac_cv_exeext" >&6 |
| 2003 | echo $ac_n "(cached) $ac_c" 1>&6 | |
| 2004 | rm -f conftest.$ac_ext | |
| 2005 | EXEEXT=$ac_cv_exeext | |
| 2006 | ac_exeext=$EXEEXT | |
| 2007 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | |
| 2008 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | |
| 2009 | if test "${ac_cv_objext+set}" = set; then | |
| 2010 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2011 | else | else |
| 2012 | cat > conftest.c <<EOF | cat >conftest.$ac_ext <<_ACEOF |
| 2013 | #ifdef __GNUC__ | /* confdefs.h. */ |
| 2014 | yes; | _ACEOF |
| 2015 | #endif | cat confdefs.h >>conftest.$ac_ext |
| 2016 | EOF | cat >>conftest.$ac_ext <<_ACEOF |
| 2017 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | /* end confdefs.h. */ |
| 2018 | ac_cv_prog_gcc=yes | |
| 2019 | int | |
| 2020 | main () | |
| 2021 | { | |
| 2022 | ||
| 2023 | ; | |
| 2024 | return 0; | |
| 2025 | } | |
| 2026 | _ACEOF | |
| 2027 | rm -f conftest.o conftest.obj | |
| 2028 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| 2029 | (eval $ac_compile) 2>&5 | |
| 2030 | ac_status=$? | |
| 2031 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2032 | (exit $ac_status); }; then | |
| 2033 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | |
| 2034 | case $ac_file in | |
| 2035 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | |
| 2036 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | |
| 2037 | break;; | |
| 2038 | esac | |
| 2039 | done | |
| 2040 | else | else |
| 2041 | ac_cv_prog_gcc=no | echo "$as_me: failed program was:" >&5 |
| 2042 | fi | sed 's/^/| /' conftest.$ac_ext >&5 |
| 2043 | ||
| 2044 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | |
| 2045 | See \`config.log' for more details." >&5 | |
| 2046 | echo "$as_me: error: cannot compute suffix of object files: cannot compile | |
| 2047 | See \`config.log' for more details." >&2;} | |
| 2048 | { (exit 1); exit 1; }; } | |
| 2049 | fi | fi |
| 2050 | ||
| 2051 | echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 2052 | fi | |
| 2053 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | |
| 2054 | echo "${ECHO_T}$ac_cv_objext" >&6 | |
| 2055 | OBJEXT=$ac_cv_objext | |
| 2056 | ac_objext=$OBJEXT | |
| 2057 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | |
| 2058 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | |
| 2059 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | |
| 2060 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2061 | else | |
| 2062 | cat >conftest.$ac_ext <<_ACEOF | |
| 2063 | /* confdefs.h. */ | |
| 2064 | _ACEOF | |
| 2065 | cat confdefs.h >>conftest.$ac_ext | |
| 2066 | cat >>conftest.$ac_ext <<_ACEOF | |
| 2067 | /* end confdefs.h. */ | |
| 2068 | ||
| 2069 | int | |
| 2070 | main () | |
| 2071 | { | |
| 2072 | #ifndef __GNUC__ | |
| 2073 | choke me | |
| 2074 | #endif | |
| 2075 | ||
| 2076 | if test $ac_cv_prog_gcc = yes; then | ; |
| 2077 | GCC=yes | return 0; |
| 2078 | } | |
| 2079 | _ACEOF | |
| 2080 | rm -f conftest.$ac_objext | |
| 2081 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| 2082 | (eval $ac_compile) 2>conftest.er1 | |
| 2083 | ac_status=$? | |
| 2084 | grep -v '^ *+' conftest.er1 >conftest.err | |
| 2085 | rm -f conftest.er1 | |
| 2086 | cat conftest.err >&5 | |
| 2087 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2088 | (exit $ac_status); } && | |
| 2089 | { ac_try='test -z "$ac_c_werror_flag" | |
| 2090 | || test ! -s conftest.err' | |
| 2091 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| 2092 | (eval $ac_try) 2>&5 | |
| 2093 | ac_status=$? | |
| 2094 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2095 | (exit $ac_status); }; } && | |
| 2096 | { ac_try='test -s conftest.$ac_objext' | |
| 2097 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| 2098 | (eval $ac_try) 2>&5 | |
| 2099 | ac_status=$? | |
| 2100 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2101 | (exit $ac_status); }; }; then | |
| 2102 | ac_compiler_gnu=yes | |
| 2103 | else | else |
| 2104 | GCC= | echo "$as_me: failed program was:" >&5 |
| 2105 | sed 's/^/| /' conftest.$ac_ext >&5 | |
| 2106 | ||
| 2107 | ac_compiler_gnu=no | |
| 2108 | fi | fi |
| 2109 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2110 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | |
| 2111 | ||
| 2112 | ac_test_CFLAGS="${CFLAGS+set}" | fi |
| 2113 | ac_save_CFLAGS="$CFLAGS" | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
| 2114 | CFLAGS= | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
| 2115 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
| 2116 | echo "configure:732: checking whether ${CC-cc} accepts -g" >&5 | ac_test_CFLAGS=${CFLAGS+set} |
| 2117 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | ac_save_CFLAGS=$CFLAGS |
| 2118 | echo $ac_n "(cached) $ac_c" 1>&6 | CFLAGS="-g" |
| 2119 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | |
| 2120 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | |
| 2121 | if test "${ac_cv_prog_cc_g+set}" = set; then | |
| 2122 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2123 | else | else |
| 2124 | echo 'void f(){}' > conftest.c | cat >conftest.$ac_ext <<_ACEOF |
| 2125 | if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | /* confdefs.h. */ |
| 2126 | _ACEOF | |
| 2127 | cat confdefs.h >>conftest.$ac_ext | |
| 2128 | cat >>conftest.$ac_ext <<_ACEOF | |
| 2129 | /* end confdefs.h. */ | |
| 2130 | ||
| 2131 | int | |
| 2132 | main () | |
| 2133 | { | |
| 2134 | ||
| 2135 | ; | |
| 2136 | return 0; | |
| 2137 | } | |
| 2138 | _ACEOF | |
| 2139 | rm -f conftest.$ac_objext | |
| 2140 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| 2141 | (eval $ac_compile) 2>conftest.er1 | |
| 2142 | ac_status=$? | |
| 2143 | grep -v '^ *+' conftest.er1 >conftest.err | |
| 2144 | rm -f conftest.er1 | |
| 2145 | cat conftest.err >&5 | |
| 2146 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2147 | (exit $ac_status); } && | |
| 2148 | { ac_try='test -z "$ac_c_werror_flag" | |
| 2149 | || test ! -s conftest.err' | |
| 2150 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| 2151 | (eval $ac_try) 2>&5 | |
| 2152 | ac_status=$? | |
| 2153 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2154 | (exit $ac_status); }; } && | |
| 2155 | { ac_try='test -s conftest.$ac_objext' | |
| 2156 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| 2157 | (eval $ac_try) 2>&5 | |
| 2158 | ac_status=$? | |
| 2159 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2160 | (exit $ac_status); }; }; then | |
| 2161 | ac_cv_prog_cc_g=yes | ac_cv_prog_cc_g=yes |
| 2162 | else | else |
| 2163 | ac_cv_prog_cc_g=no | echo "$as_me: failed program was:" >&5 |
| 2164 | fi | sed 's/^/| /' conftest.$ac_ext >&5 |
| rm -f conftest* | ||
| 2165 | ||
| 2166 | ac_cv_prog_cc_g=no | |
| 2167 | fi | fi |
| 2168 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2169 | echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | fi |
| 2170 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | |
| 2171 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | |
| 2172 | if test "$ac_test_CFLAGS" = set; then | if test "$ac_test_CFLAGS" = set; then |
| 2173 | CFLAGS="$ac_save_CFLAGS" | CFLAGS=$ac_save_CFLAGS |
| 2174 | elif test $ac_cv_prog_cc_g = yes; then | elif test $ac_cv_prog_cc_g = yes; then |
| 2175 | if test "$GCC" = yes; then | if test "$GCC" = yes; then |
| 2176 | CFLAGS="-g -O2" | CFLAGS="-g -O2" |
| # | Line 735 else | Line 2184 else |
| 2184 | CFLAGS= | CFLAGS= |
| 2185 | fi | fi |
| 2186 | fi | fi |
| 2187 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | |
| 2188 | # Extract the first word of "ranlib", so it can be a program name with args. | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
| 2189 | set dummy ranlib; ac_word=$2 | if test "${ac_cv_prog_cc_stdc+set}" = set; then |
| 2190 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| echo "configure:766: checking for $ac_word" >&5 | ||
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | ||
| echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 2191 | else | else |
| 2192 | if test -n "$RANLIB"; then | ac_cv_prog_cc_stdc=no |
| 2193 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | ac_save_CC=$CC |
| 2194 | cat >conftest.$ac_ext <<_ACEOF | |
| 2195 | /* confdefs.h. */ | |
| 2196 | _ACEOF | |
| 2197 | cat confdefs.h >>conftest.$ac_ext | |
| 2198 | cat >>conftest.$ac_ext <<_ACEOF | |
| 2199 | /* end confdefs.h. */ | |
| 2200 | #include <stdarg.h> | |
| 2201 | #include <stdio.h> | |
| 2202 | #include <sys/types.h> | |
| 2203 | #include <sys/stat.h> | |
| 2204 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
| 2205 | struct buf { int x; }; | |
| 2206 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
| 2207 | static char *e (p, i) | |
| 2208 | char **p; | |
| 2209 | int i; | |
| 2210 | { | |
| 2211 | return p[i]; | |
| 2212 | } | |
| 2213 | static char *f (char * (*g) (char **, int), char **p, ...) | |
| 2214 | { | |
| 2215 | char *s; | |
| 2216 | va_list v; | |
| 2217 | va_start (v,p); | |
| 2218 | s = g (p, va_arg (v,int)); | |
| 2219 | va_end (v); | |
| 2220 | return s; | |
| 2221 | } | |
| 2222 | ||
| 2223 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
| 2224 | function prototypes and stuff, but not '\xHH' hex character constants. | |
| 2225 | These don't provoke an error unfortunately, instead are silently treated | |
| 2226 | as 'x'. The following induces an error, until -std1 is added to get | |
| 2227 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | |
| 2228 | array size at least. It's necessary to write '\x00'==0 to get something | |
| 2229 | that's true only with -std1. */ | |
| 2230 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | |
| 2231 | ||
| 2232 | int test (int i, double x); | |
| 2233 | struct s1 {int (*f) (int a);}; | |
| 2234 | struct s2 {int (*f) (double a);}; | |
| 2235 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
| 2236 | int argc; | |
| 2237 | char **argv; | |
| 2238 | int | |
| 2239 | main () | |
| 2240 | { | |
| 2241 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
| 2242 | ; | |
| 2243 | return 0; | |
| 2244 | } | |
| 2245 | _ACEOF | |
| 2246 | # Don't try gcc -ansi; that turns off useful extensions and | |
| 2247 | # breaks some systems' header files. | |
| 2248 | # AIX -qlanglvl=ansi | |
| 2249 | # Ultrix and OSF/1 -std1 | |
| 2250 | # HP-UX 10.20 and later -Ae | |
| 2251 | # HP-UX older versions -Aa -D_HPUX_SOURCE | |
| 2252 | # SVR4 -Xc -D__EXTENSIONS__ | |
| 2253 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
| 2254 | do | |
| 2255 | CC="$ac_save_CC $ac_arg" | |
| 2256 | rm -f conftest.$ac_objext | |
| 2257 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| 2258 | (eval $ac_compile) 2>conftest.er1 | |
| 2259 | ac_status=$? | |
| 2260 | grep -v '^ *+' conftest.er1 >conftest.err | |
| 2261 | rm -f conftest.er1 | |
| 2262 | cat conftest.err >&5 | |
| 2263 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2264 | (exit $ac_status); } && | |
| 2265 | { ac_try='test -z "$ac_c_werror_flag" | |
| 2266 | || test ! -s conftest.err' | |
| 2267 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| 2268 | (eval $ac_try) 2>&5 | |
| 2269 | ac_status=$? | |
| 2270 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2271 | (exit $ac_status); }; } && | |
| 2272 | { ac_try='test -s conftest.$ac_objext' | |
| 2273 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| 2274 | (eval $ac_try) 2>&5 | |
| 2275 | ac_status=$? | |
| 2276 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2277 | (exit $ac_status); }; }; then | |
| 2278 | ac_cv_prog_cc_stdc=$ac_arg | |
| 2279 | break | |
| 2280 | else | else |
| 2281 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | echo "$as_me: failed program was:" >&5 |
| 2282 | ac_dummy="$PATH" | sed 's/^/| /' conftest.$ac_ext >&5 |
| 2283 | for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | ||
| if test -f $ac_dir/$ac_word; then | ||
| ac_cv_prog_RANLIB="ranlib" | ||
| break | ||
| fi | ||
| done | ||
| IFS="$ac_save_ifs" | ||
| test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" | ||
| 2284 | fi | fi |
| 2285 | rm -f conftest.err conftest.$ac_objext | |
| 2286 | done | |
| 2287 | rm -f conftest.$ac_ext conftest.$ac_objext | |
| 2288 | CC=$ac_save_CC | |
| 2289 | ||
| 2290 | fi | fi |
| 2291 | RANLIB="$ac_cv_prog_RANLIB" | |
| 2292 | if test -n "$RANLIB"; then | case "x$ac_cv_prog_cc_stdc" in |
| 2293 | echo "$ac_t""$RANLIB" 1>&6 | x|xno) |
| 2294 | echo "$as_me:$LINENO: result: none needed" >&5 | |
| 2295 | echo "${ECHO_T}none needed" >&6 ;; | |
| 2296 | *) | |
| 2297 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | |
| 2298 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | |
| 2299 | CC="$CC $ac_cv_prog_cc_stdc" ;; | |
| 2300 | esac | |
| 2301 | ||
| 2302 | # Some people use a C++ compiler to compile C. Since we use `exit', | |
| 2303 | # in C++ we need to declare it. In case someone uses the same compiler | |
| 2304 | # for both compiling C and C++ we need to have the C++ compiler decide | |
| 2305 | # the declaration of exit, since it's the most demanding environment. | |
| 2306 | cat >conftest.$ac_ext <<_ACEOF | |
| 2307 | #ifndef __cplusplus | |
| 2308 | choke me | |
| 2309 | #endif | |
| 2310 | _ACEOF | |
| 2311 | rm -f conftest.$ac_objext | |
| 2312 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| 2313 | (eval $ac_compile) 2>conftest.er1 | |
| 2314 | ac_status=$? | |
| 2315 | grep -v '^ *+' conftest.er1 >conftest.err | |
| 2316 | rm -f conftest.er1 | |
| 2317 | cat conftest.err >&5 | |
| 2318 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2319 | (exit $ac_status); } && | |
| 2320 | { ac_try='test -z "$ac_c_werror_flag" | |
| 2321 | || test ! -s conftest.err' | |
| 2322 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| 2323 | (eval $ac_try) 2>&5 | |
| 2324 | ac_status=$? | |
| 2325 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2326 | (exit $ac_status); }; } && | |
| 2327 | { ac_try='test -s conftest.$ac_objext' | |
| 2328 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| 2329 | (eval $ac_try) 2>&5 | |
| 2330 | ac_status=$? | |
| 2331 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2332 | (exit $ac_status); }; }; then | |
| 2333 | for ac_declaration in \ | |
| 2334 | '' \ | |
| 2335 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ | |
| 2336 | 'extern "C" void std::exit (int); using std::exit;' \ | |
| 2337 | 'extern "C" void exit (int) throw ();' \ | |
| 2338 | 'extern "C" void exit (int);' \ | |
| 2339 | 'void exit (int);' | |
| 2340 | do | |
| 2341 | cat >conftest.$ac_ext <<_ACEOF | |
| 2342 | /* confdefs.h. */ | |
| 2343 | _ACEOF | |
| 2344 | cat confdefs.h >>conftest.$ac_ext | |
| 2345 | cat >>conftest.$ac_ext <<_ACEOF | |
| 2346 | /* end confdefs.h. */ | |
| 2347 | $ac_declaration | |
| 2348 | #include <stdlib.h> | |
| 2349 | int | |
| 2350 | main () | |
| 2351 | { | |
| 2352 | exit (42); | |
| 2353 | ; | |
| 2354 | return 0; | |
| 2355 | } | |
| 2356 | _ACEOF | |
| 2357 | rm -f conftest.$ac_objext | |
| 2358 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| 2359 | (eval $ac_compile) 2>conftest.er1 | |
| 2360 | ac_status=$? | |
| 2361 | grep -v '^ *+' conftest.er1 >conftest.err | |
| 2362 | rm -f conftest.er1 | |
| 2363 | cat conftest.err >&5 | |
| 2364 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2365 | (exit $ac_status); } && | |
| 2366 | { ac_try='test -z "$ac_c_werror_flag" | |
| 2367 | || test ! -s conftest.err' | |
| 2368 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| 2369 | (eval $ac_try) 2>&5 | |
| 2370 | ac_status=$? | |
| 2371 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2372 | (exit $ac_status); }; } && | |
| 2373 | { ac_try='test -s conftest.$ac_objext' | |
| 2374 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| 2375 | (eval $ac_try) 2>&5 | |
| 2376 | ac_status=$? | |
| 2377 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2378 | (exit $ac_status); }; }; then | |
| 2379 | : | |
| 2380 | else | else |
| 2381 | echo "$ac_t""no" 1>&6 | echo "$as_me: failed program was:" >&5 |
| 2382 | sed 's/^/| /' conftest.$ac_ext >&5 | |
| 2383 | ||
| 2384 | continue | |
| 2385 | fi | fi |
| 2386 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2387 | cat >conftest.$ac_ext <<_ACEOF | |
| 2388 | /* confdefs.h. */ | |
| 2389 | _ACEOF | |
| 2390 | cat confdefs.h >>conftest.$ac_ext | |
| 2391 | cat >>conftest.$ac_ext <<_ACEOF | |
| 2392 | /* end confdefs.h. */ | |
| 2393 | $ac_declaration | |
| 2394 | int | |
| 2395 | main () | |
| 2396 | { | |
| 2397 | exit (42); | |
| 2398 | ; | |
| 2399 | return 0; | |
| 2400 | } | |
| 2401 | _ACEOF | |
| 2402 | rm -f conftest.$ac_objext | |
| 2403 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| 2404 | (eval $ac_compile) 2>conftest.er1 | |
| 2405 | ac_status=$? | |
| 2406 | grep -v '^ *+' conftest.er1 >conftest.err | |
| 2407 | rm -f conftest.er1 | |
| 2408 | cat conftest.err >&5 | |
| 2409 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2410 | (exit $ac_status); } && | |
| 2411 | { ac_try='test -z "$ac_c_werror_flag" | |
| 2412 | || test ! -s conftest.err' | |
| 2413 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| 2414 | (eval $ac_try) 2>&5 | |
| 2415 | ac_status=$? | |
| 2416 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2417 | (exit $ac_status); }; } && | |
| 2418 | { ac_try='test -s conftest.$ac_objext' | |
| 2419 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| 2420 | (eval $ac_try) 2>&5 | |
| 2421 | ac_status=$? | |
| 2422 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2423 | (exit $ac_status); }; }; then | |
| 2424 | break | |
| 2425 | else | |
| 2426 | echo "$as_me: failed program was:" >&5 | |
| 2427 | sed 's/^/| /' conftest.$ac_ext >&5 | |
| 2428 | ||
| 2429 | fi | |
| 2430 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2431 | done | |
| 2432 | rm -f conftest* | |
| 2433 | if test -n "$ac_declaration"; then | |
| 2434 | echo '#ifdef __cplusplus' >>confdefs.h | |
| 2435 | echo $ac_declaration >>confdefs.h | |
| 2436 | echo '#endif' >>confdefs.h | |
| 2437 | fi | |
| 2438 | ||
| 2439 | else | |
| 2440 | echo "$as_me: failed program was:" >&5 | |
| 2441 | sed 's/^/| /' conftest.$ac_ext >&5 | |
| 2442 | ||
| echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | ||
| echo "configure:796: checking how to run the C preprocessor" >&5 | ||
| # On Suns, sometimes $CPP names a directory. | ||
| if test -n "$CPP" && test -d "$CPP"; then | ||
| CPP= | ||
| 2443 | fi | fi |
| 2444 | if test -z "$CPP"; then | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2445 | if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then | ac_ext=c |
| 2446 | echo $ac_n "(cached) $ac_c" 1>&6 | ac_cpp='$CPP $CPPFLAGS' |
| 2447 | else | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2448 | # This must be in double quotes, not single quotes, because CPP may get | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2449 | # substituted into the Makefile and "${CC-cc}" will confuse make. | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2450 | CPP="${CC-cc} -E" | |
| 2451 | # On the NeXT, cc -E runs the code through the compiler's parser, | |
| 2452 | # not just through cpp. | |
| 2453 | cat > conftest.$ac_ext <<EOF | ac_ext=cc |
| 2454 | #line 811 "configure" | ac_cpp='$CXXCPP $CPPFLAGS' |
| 2455 | #include "confdefs.h" | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2456 | #include <assert.h> | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2457 | Syntax Error | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 2458 | EOF | if test -n "$ac_tool_prefix"; then |
| 2459 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
| 2460 | { (eval echo configure:817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | do |
| 2461 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 2462 | if test -z "$ac_err"; then | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 2463 | : | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2464 | else | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2465 | echo "$ac_err" >&5 | if test "${ac_cv_prog_CXX+set}" = set; then |
| 2466 | echo "configure: failed program was:" >&5 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| cat conftest.$ac_ext >&5 | ||
| rm -rf conftest* | ||
| CPP="${CC-cc} -E -traditional-cpp" | ||
| cat > conftest.$ac_ext <<EOF | ||
| #line 828 "configure" | ||
| #include "confdefs.h" | ||
| #include <assert.h> | ||
| Syntax Error | ||
| EOF | ||
| ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ||
| { (eval echo configure:834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | ||
| ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ||
| if test -z "$ac_err"; then | ||
| : | ||
| 2467 | else | else |
| 2468 | echo "$ac_err" >&5 | if test -n "$CXX"; then |
| 2469 | echo "configure: failed program was:" >&5 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
| cat conftest.$ac_ext >&5 | ||
| rm -rf conftest* | ||
| CPP="${CC-cc} -nologo -E" | ||
| cat > conftest.$ac_ext <<EOF | ||
| #line 845 "configure" | ||
| #include "confdefs.h" | ||
| #include <assert.h> | ||
| Syntax Error | ||
| EOF | ||
| ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ||
| { (eval echo configure:851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | ||
| ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ||
| if test -z "$ac_err"; then | ||
| : | ||
| 2470 | else | else |
| 2471 | echo "$ac_err" >&5 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2472 | echo "configure: failed program was:" >&5 | for as_dir in $PATH |
| 2473 | cat conftest.$ac_ext >&5 | do |
| 2474 | rm -rf conftest* | IFS=$as_save_IFS |
| 2475 | CPP=/lib/cpp | test -z "$as_dir" && as_dir=. |
| 2476 | fi | for ac_exec_ext in '' $ac_executable_extensions; do |
| 2477 | rm -f conftest* | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2478 | fi | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
| 2479 | rm -f conftest* | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2480 | break 2 | |
| 2481 | fi | |
| 2482 | done | |
| 2483 | done | |
| 2484 | ||
| 2485 | fi | fi |
| rm -f conftest* | ||
| ac_cv_prog_CPP="$CPP" | ||
| 2486 | fi | fi |
| 2487 | CPP="$ac_cv_prog_CPP" | CXX=$ac_cv_prog_CXX |
| 2488 | if test -n "$CXX"; then | |
| 2489 | echo "$as_me:$LINENO: result: $CXX" >&5 | |
| 2490 | echo "${ECHO_T}$CXX" >&6 | |
| 2491 | else | else |
| 2492 | ac_cv_prog_CPP="$CPP" | echo "$as_me:$LINENO: result: no" >&5 |
| 2493 | echo "${ECHO_T}no" >&6 | |
| 2494 | fi | fi |
| echo "$ac_t""$CPP" 1>&6 | ||
| 2495 | ||
| 2496 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | test -n "$CXX" && break |
| 2497 | echo "configure:876: checking for ANSI C header files" >&5 | done |
| 2498 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | fi |
| 2499 | echo $ac_n "(cached) $ac_c" 1>&6 | if test -z "$CXX"; then |
| 2500 | ac_ct_CXX=$CXX | |
| 2501 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | |
| 2502 | do | |
| 2503 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| 2504 | set dummy $ac_prog; ac_word=$2 | |
| 2505 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| 2506 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
| 2507 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | |
| 2508 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2509 | else | else |
| 2510 | cat > conftest.$ac_ext <<EOF | if test -n "$ac_ct_CXX"; then |
| 2511 | #line 881 "configure" | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
| 2512 | #include "confdefs.h" | else |
| 2513 | #include <stdlib.h> | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2514 | #include <stdarg.h> | for as_dir in $PATH |
| 2515 | #include <string.h> | do |
| 2516 | IFS=$as_save_IFS | |
| 2517 | test -z "$as_dir" && as_dir=. | |
| 2518 | for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2519 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 2520 | ac_cv_prog_ac_ct_CXX="$ac_prog" | |
| 2521 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2522 | break 2 | |
| 2523 | fi | |
| 2524 | done | |
| 2525 | done | |
| 2526 | ||
| 2527 | fi | |
| 2528 | fi | |
| 2529 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | |
| 2530 | if test -n "$ac_ct_CXX"; then | |
| 2531 | echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | |
| 2532 | echo "${ECHO_T}$ac_ct_CXX" >&6 | |
| 2533 | else | |
| 2534 | echo "$as_me:$LINENO: result: no" >&5 | |
| 2535 | echo "${ECHO_T}no" >&6 | |
| 2536 | fi | |
| 2537 | ||
| 2538 | test -n "$ac_ct_CXX" && break | |
| 2539 | done | |
| 2540 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++" | |
| 2541 | ||
| 2542 | CXX=$ac_ct_CXX | |
| 2543 | fi | |
| 2544 | ||
| 2545 | ||
| 2546 | # Provide some information about the compiler. | |
| 2547 | echo "$as_me:$LINENO:" \ | |
| 2548 | "checking for C++ compiler version" >&5 | |
| 2549 | ac_compiler=`set X $ac_compile; echo $2` | |
| 2550 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | |
| 2551 | (eval $ac_compiler --version </dev/null >&5) 2>&5 | |
| 2552 | ac_status=$? | |
| 2553 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2554 | (exit $ac_status); } | |
| 2555 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | |
| 2556 | (eval $ac_compiler -v </dev/null >&5) 2>&5 | |
| 2557 | ac_status=$? | |
| 2558 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2559 | (exit $ac_status); } | |
| 2560 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | |
| 2561 | (eval $ac_compiler -V </dev/null >&5) 2>&5 | |
| 2562 | ac_status=$? | |
| 2563 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2564 | (exit $ac_status); } | |
| 2565 | ||
| 2566 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | |
| 2567 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 | |
| 2568 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | |
| 2569 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2570 | else | |
| 2571 | cat >conftest.$ac_ext <<_ACEOF | |
| 2572 | /* confdefs.h. */ | |
| 2573 | _ACEOF | |
| 2574 | cat confdefs.h >>conftest.$ac_ext | |
| 2575 | cat >>conftest.$ac_ext <<_ACEOF | |
| 2576 | /* end confdefs.h. */ | |
| 2577 | ||
| 2578 | int | |
| 2579 | main () | |
| 2580 | { | |
| 2581 | #ifndef __GNUC__ | |
| 2582 | choke me | |
| 2583 | #endif | |
| 2584 | ||
| 2585 | ; | |
| 2586 | return 0; | |
| 2587 | } | |
| 2588 | _ACEOF | |
| 2589 | rm -f conftest.$ac_objext | |
| 2590 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| 2591 | (eval $ac_compile) 2>conftest.er1 | |
| 2592 | ac_status=$? | |
| 2593 | grep -v '^ *+' conftest.er1 >conftest.err | |
| 2594 | rm -f conftest.er1 | |
| 2595 | cat conftest.err >&5 | |
| 2596 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2597 | (exit $ac_status); } && | |
| 2598 | { ac_try='test -z "$ac_cxx_werror_flag" | |
| 2599 | || test ! -s conftest.err' | |
| 2600 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| 2601 | (eval $ac_try) 2>&5 | |
| 2602 | ac_status=$? | |
| 2603 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2604 | (exit $ac_status); }; } && | |
| 2605 | { ac_try='test -s conftest.$ac_objext' | |
| 2606 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| 2607 | (eval $ac_try) 2>&5 | |
| 2608 | ac_status=$? | |
| 2609 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2610 | (exit $ac_status); }; }; then | |
| 2611 | ac_compiler_gnu=yes | |
| 2612 | else | |
| 2613 | echo "$as_me: failed program was:" >&5 | |
| 2614 | sed 's/^/| /' conftest.$ac_ext >&5 | |
| 2615 | ||
| 2616 | ac_compiler_gnu=no | |
| 2617 | fi | |
| 2618 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2619 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | |
| 2620 | ||
| 2621 | fi | |
| 2622 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | |
| 2623 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 | |
| 2624 | GXX=`test $ac_compiler_gnu = yes && echo yes` | |
| 2625 | ac_test_CXXFLAGS=${CXXFLAGS+set} | |
| 2626 | ac_save_CXXFLAGS=$CXXFLAGS | |
| 2627 | CXXFLAGS="-g" | |
| 2628 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | |
| 2629 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 | |
| 2630 | if test "${ac_cv_prog_cxx_g+set}" = set; then | |
| 2631 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2632 | else | |
| 2633 | cat >conftest.$ac_ext <<_ACEOF | |
| 2634 | /* confdefs.h. */ | |
| 2635 | _ACEOF | |
| 2636 | cat confdefs.h >>conftest.$ac_ext | |
| 2637 | cat >>conftest.$ac_ext <<_ACEOF | |
| 2638 | /* end confdefs.h. */ | |
| 2639 | ||
| 2640 | int | |
| 2641 | main () | |
| 2642 | { | |
| 2643 | ||
| 2644 | ; | |
| 2645 | return 0; | |
| 2646 | } | |
| 2647 | _ACEOF | |
| 2648 | rm -f conftest.$ac_objext | |
| 2649 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| 2650 | (eval $ac_compile) 2>conftest.er1 | |
| 2651 | ac_status=$? | |
| 2652 | grep -v '^ *+' conftest.er1 >conftest.err | |
| 2653 | rm -f conftest.er1 | |
| 2654 | cat conftest.err >&5 | |
| 2655 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2656 | (exit $ac_status); } && | |
| 2657 | { ac_try='test -z "$ac_cxx_werror_flag" | |
| 2658 | || test ! -s conftest.err' | |
| 2659 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| 2660 | (eval $ac_try) 2>&5 | |
| 2661 | ac_status=$? | |
| 2662 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2663 | (exit $ac_status); }; } && | |
| 2664 | { ac_try='test -s conftest.$ac_objext' | |
| 2665 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| 2666 | (eval $ac_try) 2>&5 | |
| 2667 | ac_status=$? | |
| 2668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2669 | (exit $ac_status); }; }; then | |
| 2670 | ac_cv_prog_cxx_g=yes | |
| 2671 | else | |
| 2672 | echo "$as_me: failed program was:" >&5 | |
| 2673 | sed 's/^/| /' conftest.$ac_ext >&5 | |
| 2674 | ||
| 2675 | ac_cv_prog_cxx_g=no | |
| 2676 | fi | |
| 2677 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2678 | fi | |
| 2679 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | |
| 2680 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 | |
| 2681 | if test "$ac_test_CXXFLAGS" = set; then | |
| 2682 | CXXFLAGS=$ac_save_CXXFLAGS | |
| 2683 | elif test $ac_cv_prog_cxx_g = yes; then | |
| 2684 | if test "$GXX" = yes; then | |
| 2685 | CXXFLAGS="-g -O2" | |
| 2686 | else | |
| 2687 | CXXFLAGS="-g" | |
| 2688 | fi | |
| 2689 | else | |
| 2690 | if test "$GXX" = yes; then | |
| 2691 | CXXFLAGS="-O2" | |
| 2692 | else | |
| 2693 | CXXFLAGS= | |
| 2694 | fi | |
| 2695 | fi | |
| 2696 | for ac_declaration in \ | |
| 2697 | '' \ | |
| 2698 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ | |
| 2699 | 'extern "C" void std::exit (int); using std::exit;' \ | |
| 2700 | 'extern "C" void exit (int) throw ();' \ | |
| 2701 | 'extern "C" void exit (int);' \ | |
| 2702 | 'void exit (int);' | |
| 2703 | do | |
| 2704 | cat >conftest.$ac_ext <<_ACEOF | |
| 2705 | /* confdefs.h. */ | |
| 2706 | _ACEOF | |
| 2707 | cat confdefs.h >>conftest.$ac_ext | |
| 2708 | cat >>conftest.$ac_ext <<_ACEOF | |
| 2709 | /* end confdefs.h. */ | |
| 2710 | $ac_declaration | |
| 2711 | #include <stdlib.h> | |
| 2712 | int | |
| 2713 | main () | |
| 2714 | { | |
| 2715 | exit (42); | |
| 2716 | ; | |
| 2717 | return 0; | |
| 2718 | } | |
| 2719 | _ACEOF | |
| 2720 | rm -f conftest.$ac_objext | |
| 2721 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| 2722 | (eval $ac_compile) 2>conftest.er1 | |
| 2723 | ac_status=$? | |
| 2724 | grep -v '^ *+' conftest.er1 >conftest.err | |
| 2725 | rm -f conftest.er1 | |
| 2726 | cat conftest.err >&5 | |
| 2727 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2728 | (exit $ac_status); } && | |
| 2729 | { ac_try='test -z "$ac_cxx_werror_flag" | |
| 2730 | || test ! -s conftest.err' | |
| 2731 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| 2732 | (eval $ac_try) 2>&5 | |
| 2733 | ac_status=$? | |
| 2734 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2735 | (exit $ac_status); }; } && | |
| 2736 | { ac_try='test -s conftest.$ac_objext' | |
| 2737 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| 2738 | (eval $ac_try) 2>&5 | |
| 2739 | ac_status=$? | |
| 2740 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2741 | (exit $ac_status); }; }; then | |
| 2742 | : | |
| 2743 | else | |
| 2744 | echo "$as_me: failed program was:" >&5 | |
| 2745 | sed 's/^/| /' conftest.$ac_ext >&5 | |
| 2746 | ||
| 2747 | continue | |
| 2748 | fi | |
| 2749 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2750 | cat >conftest.$ac_ext <<_ACEOF | |
| 2751 | /* confdefs.h. */ | |
| 2752 | _ACEOF | |
| 2753 | cat confdefs.h >>conftest.$ac_ext | |
| 2754 | cat >>conftest.$ac_ext <<_ACEOF | |
| 2755 | /* end confdefs.h. */ | |
| 2756 | $ac_declaration | |
| 2757 | int | |
| 2758 | main () | |
| 2759 | { | |
| 2760 | exit (42); | |
| 2761 | ; | |
| 2762 | return 0; | |
| 2763 | } | |
| 2764 | _ACEOF | |
| 2765 | rm -f conftest.$ac_objext | |
| 2766 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| 2767 | (eval $ac_compile) 2>conftest.er1 | |
| 2768 | ac_status=$? | |
| 2769 | grep -v '^ *+' conftest.er1 >conftest.err | |
| 2770 | rm -f conftest.er1 | |
| 2771 | cat conftest.err >&5 | |
| 2772 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2773 | (exit $ac_status); } && | |
| 2774 | { ac_try='test -z "$ac_cxx_werror_flag" | |
| 2775 | || test ! -s conftest.err' | |
| 2776 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| 2777 | (eval $ac_try) 2>&5 | |
| 2778 | ac_status=$? | |
| 2779 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2780 | (exit $ac_status); }; } && | |
| 2781 | { ac_try='test -s conftest.$ac_objext' | |
| 2782 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| 2783 | (eval $ac_try) 2>&5 | |
| 2784 | ac_status=$? | |
| 2785 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2786 | (exit $ac_status); }; }; then | |
| 2787 | break | |
| 2788 | else | |
| 2789 | echo "$as_me: failed program was:" >&5 | |
| 2790 | sed 's/^/| /' conftest.$ac_ext >&5 | |
| 2791 | ||
| 2792 | fi | |
| 2793 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2794 | done | |
| 2795 | rm -f conftest* | |
| 2796 | if test -n "$ac_declaration"; then | |
| 2797 | echo '#ifdef __cplusplus' >>confdefs.h | |
| 2798 | echo $ac_declaration >>confdefs.h | |
| 2799 | echo '#endif' >>confdefs.h | |
| 2800 | fi | |
| 2801 | ||
| 2802 | ac_ext=c | |
| 2803 | ac_cpp='$CPP $CPPFLAGS' | |
| 2804 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 2805 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 2806 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 2807 | ||
| 2808 | ||
| 2809 | if test -n "$ac_cv_prog_ac_ct_CXX"; then | |
| 2810 | MAYBE_CPP_TARGETS='$(CPP_TARGETS)' | |
| 2811 | fi | |
| 2812 | echo "Maybe-cpp-targets: '$ac_cv_prog_CXX' '$MAYBE_CPP_TARGETS'" #!! | |
| 2813 | ||
| 2814 | ||
| 2815 | ||
| 2816 | ac_aux_dir= | |
| 2817 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | |
| 2818 | if test -f $ac_dir/install-sh; then | |
| 2819 | ac_aux_dir=$ac_dir | |
| 2820 | ac_install_sh="$ac_aux_dir/install-sh -c" | |
| 2821 | break | |
| 2822 | elif test -f $ac_dir/install.sh; then | |
| 2823 | ac_aux_dir=$ac_dir | |
| 2824 | ac_install_sh="$ac_aux_dir/install.sh -c" | |
| 2825 | break | |
| 2826 | elif test -f $ac_dir/shtool; then | |
| 2827 | ac_aux_dir=$ac_dir | |
| 2828 | ac_install_sh="$ac_aux_dir/shtool install -c" | |
| 2829 | break | |
| 2830 | fi | |
| 2831 | done | |
| 2832 | if test -z "$ac_aux_dir"; then | |
| 2833 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | |
| 2834 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | |
| 2835 | { (exit 1); exit 1; }; } | |
| 2836 | fi | |
| 2837 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | |
| 2838 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | |
| 2839 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | |
| 2840 | ||
| 2841 | # Find a good install program. We prefer a C program (faster), | |
| 2842 | # so one script is as good as another. But avoid the broken or | |
| 2843 | # incompatible versions: | |
| 2844 | # SysV /etc/install, /usr/sbin/install | |
| 2845 | # SunOS /usr/etc/install | |
| 2846 | # IRIX /sbin/install | |
| 2847 | # AIX /bin/install | |
| 2848 | # AmigaOS /C/install, which installs bootblocks on floppy discs | |
| 2849 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
| 2850 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
| 2851 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
| 2852 | # OS/2's system install, which has a completely different semantic | |
| 2853 | # ./install, which can be erroneously created by make from ./install.sh. | |
| 2854 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | |
| 2855 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | |
| 2856 | if test -z "$INSTALL"; then | |
| 2857 | if test "${ac_cv_path_install+set}" = set; then | |
| 2858 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2859 | else | |
| 2860 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2861 | for as_dir in $PATH | |
| 2862 | do | |
| 2863 | IFS=$as_save_IFS | |
| 2864 | test -z "$as_dir" && as_dir=. | |
| 2865 | # Account for people who put trailing slashes in PATH elements. | |
| 2866 | case $as_dir/ in | |
| 2867 | ./ | .// | /cC/* | \ | |
| 2868 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
| 2869 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | |
| 2870 | /usr/ucb/* ) ;; | |
| 2871 | *) | |
| 2872 | # OSF1 and SCO ODT 3.0 have their own names for install. | |
| 2873 | # Don't use installbsd from OSF since it installs stuff as root | |
| 2874 | # by default. | |
| 2875 | for ac_prog in ginstall scoinst install; do | |
| 2876 | for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2877 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | |
| 2878 | if test $ac_prog = install && | |
| 2879 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
| 2880 | # AIX install. It has an incompatible calling convention. | |
| 2881 | : | |
| 2882 | elif test $ac_prog = install && | |
| 2883 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
| 2884 | # program-specific install script used by HP pwplus--don't use. | |
| 2885 | : | |
| 2886 | else | |
| 2887 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
| 2888 | break 3 | |
| 2889 | fi | |
| 2890 | fi | |
| 2891 | done | |
| 2892 | done | |
| 2893 | ;; | |
| 2894 | esac | |
| 2895 | done | |
| 2896 | ||
| 2897 | ||
| 2898 | fi | |
| 2899 | if test "${ac_cv_path_install+set}" = set; then | |
| 2900 | INSTALL=$ac_cv_path_install | |
| 2901 | else | |
| 2902 | # As a last resort, use the slow shell script. We don't cache a | |
| 2903 | # path for INSTALL within a source directory, because that will | |
| 2904 | # break other packages using the cache if that directory is | |
| 2905 | # removed, or if the path is relative. | |
| 2906 | INSTALL=$ac_install_sh | |
| 2907 | fi | |
| 2908 | fi | |
| 2909 | echo "$as_me:$LINENO: result: $INSTALL" >&5 | |
| 2910 | echo "${ECHO_T}$INSTALL" >&6 | |
| 2911 | ||
| 2912 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
| 2913 | # It thinks the first close brace ends the variable substitution. | |
| 2914 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
| 2915 | ||
| 2916 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
| 2917 | ||
| 2918 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
| 2919 | ||
| 2920 | ||
| 2921 | ||
| 2922 | # Check whether --enable-shared or --disable-shared was given. | |
| 2923 | if test "${enable_shared+set}" = set; then | |
| 2924 | enableval="$enable_shared" | |
| 2925 | p=${PACKAGE-default} | |
| 2926 | case $enableval in | |
| 2927 | yes) enable_shared=yes ;; | |
| 2928 | no) enable_shared=no ;; | |
| 2929 | *) | |
| 2930 | enable_shared=no | |
| 2931 | # Look at the argument we got. We use all the common list separators. | |
| 2932 | lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | |
| 2933 | for pkg in $enableval; do | |
| 2934 | IFS="$lt_save_ifs" | |
| 2935 | if test "X$pkg" = "X$p"; then | |
| 2936 | enable_shared=yes | |
| 2937 | fi | |
| 2938 | done | |
| 2939 | IFS="$lt_save_ifs" | |
| 2940 | ;; | |
| 2941 | esac | |
| 2942 | else | |
| 2943 | enable_shared=yes | |
| 2944 | fi; | |
| 2945 | ||
| 2946 | # Check whether --enable-static or --disable-static was given. | |
| 2947 | if test "${enable_static+set}" = set; then | |
| 2948 | enableval="$enable_static" | |
| 2949 | p=${PACKAGE-default} | |
| 2950 | case $enableval in | |
| 2951 | yes) enable_static=yes ;; | |
| 2952 | no) enable_static=no ;; | |
| 2953 | *) | |
| 2954 | enable_static=no | |
| 2955 | # Look at the argument we got. We use all the common list separators. | |
| 2956 | lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | |
| 2957 | for pkg in $enableval; do | |
| 2958 | IFS="$lt_save_ifs" | |
| 2959 | if test "X$pkg" = "X$p"; then | |
| 2960 | enable_static=yes | |
| 2961 | fi | |
| 2962 | done | |
| 2963 | IFS="$lt_save_ifs" | |
| 2964 | ;; | |
| 2965 | esac | |
| 2966 | else | |
| 2967 | enable_static=yes | |
| 2968 | fi; | |
| 2969 | ||
| 2970 | # Check whether --enable-fast-install or --disable-fast-install was given. | |
| 2971 | if test "${enable_fast_install+set}" = set; then | |
| 2972 | enableval="$enable_fast_install" | |
| 2973 | p=${PACKAGE-default} | |
| 2974 | case $enableval in | |
| 2975 | yes) enable_fast_install=yes ;; | |
| 2976 | no) enable_fast_install=no ;; | |
| 2977 | *) | |
| 2978 | enable_fast_install=no | |
| 2979 | # Look at the argument we got. We use all the common list separators. | |
| 2980 | lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | |
| 2981 | for pkg in $enableval; do | |
| 2982 | IFS="$lt_save_ifs" | |
| 2983 | if test "X$pkg" = "X$p"; then | |
| 2984 | enable_fast_install=yes | |
| 2985 | fi | |
| 2986 | done | |
| 2987 | IFS="$lt_save_ifs" | |
| 2988 | ;; | |
| 2989 | esac | |
| 2990 | else | |
| 2991 | enable_fast_install=yes | |
| 2992 | fi; | |
| 2993 | ||
| 2994 | # Make sure we can run config.sub. | |
| 2995 | $ac_config_sub sun4 >/dev/null 2>&1 || | |
| 2996 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | |
| 2997 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | |
| 2998 | { (exit 1); exit 1; }; } | |
| 2999 | ||
| 3000 | echo "$as_me:$LINENO: checking build system type" >&5 | |
| 3001 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | |
| 3002 | if test "${ac_cv_build+set}" = set; then | |
| 3003 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 3004 | else | |
| 3005 | ac_cv_build_alias=$build_alias | |
| 3006 | test -z "$ac_cv_build_alias" && | |
| 3007 | ac_cv_build_alias=`$ac_config_guess` | |
| 3008 | test -z "$ac_cv_build_alias" && | |
| 3009 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | |
| 3010 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | |
| 3011 | { (exit 1); exit 1; }; } | |
| 3012 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | |
| 3013 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | |
| 3014 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | |
| 3015 | { (exit 1); exit 1; }; } | |
| 3016 | ||
| 3017 | fi | |
| 3018 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | |
| 3019 | echo "${ECHO_T}$ac_cv_build" >&6 | |
| 3020 | build=$ac_cv_build | |
| 3021 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
| 3022 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
| 3023 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
| 3024 | ||
| 3025 | ||
| 3026 | echo "$as_me:$LINENO: checking host system type" >&5 | |
| 3027 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | |
| 3028 | if test "${ac_cv_host+set}" = set; then | |
| 3029 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 3030 | else | |
| 3031 | ac_cv_host_alias=$host_alias | |
| 3032 | test -z "$ac_cv_host_alias" && | |
| 3033 | ac_cv_host_alias=$ac_cv_build_alias | |
| 3034 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | |
| 3035 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | |
| 3036 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | |
| 3037 | { (exit 1); exit 1; }; } | |
| 3038 | ||
| 3039 | fi | |
| 3040 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | |
| 3041 | echo "${ECHO_T}$ac_cv_host" >&6 | |
| 3042 | host=$ac_cv_host | |
| 3043 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
| 3044 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
| 3045 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
| 3046 | ||
| 3047 | ||
| 3048 | echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 | |
| 3049 | echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 | |
| 3050 | if test "${lt_cv_path_SED+set}" = set; then | |
| 3051 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 3052 | else | |
| 3053 | # Loop through the user's path and test for sed and gsed. | |
| 3054 | # Then use that list of sed's as ones to test for truncation. | |
| 3055 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3056 | for as_dir in $PATH | |
| 3057 | do | |
| 3058 | IFS=$as_save_IFS | |
| 3059 | test -z "$as_dir" && as_dir=. | |
| 3060 | for lt_ac_prog in sed gsed; do | |
| 3061 | for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3062 | if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then | |
| 3063 | lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" | |
| 3064 | fi | |
| 3065 | done | |
| 3066 | done | |
| 3067 | done | |
| 3068 | lt_ac_max=0 | |
| 3069 | lt_ac_count=0 | |
| 3070 | # Add /usr/xpg4/bin/sed as it is typically found on Solaris | |
| 3071 | # along with /bin/sed that truncates output. | |
| 3072 | for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do | |
| 3073 | test ! -f $lt_ac_sed && break | |
| 3074 | cat /dev/null > conftest.in | |
| 3075 | lt_ac_count=0 | |
| 3076 | echo $ECHO_N "0123456789$ECHO_C" >conftest.in | |
| 3077 | # Check for GNU sed and select it if it is found. | |
| 3078 | if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then | |
| 3079 | lt_cv_path_SED=$lt_ac_sed | |
| 3080 | break | |
| 3081 | fi | |
| 3082 | while true; do | |
| 3083 | cat conftest.in conftest.in >conftest.tmp | |
| 3084 | mv conftest.tmp conftest.in | |
| 3085 | cp conftest.in conftest.nl | |
| 3086 | echo >>conftest.nl | |
| 3087 | $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break | |
| 3088 | cmp -s conftest.out conftest.nl || break | |
| 3089 | # 10000 chars as input seems more than enough | |
| 3090 | test $lt_ac_count -gt 10 && break | |
| 3091 | lt_ac_count=`expr $lt_ac_count + 1` | |
| 3092 | if test $lt_ac_count -gt $lt_ac_max; then | |
| 3093 | lt_ac_max=$lt_ac_count | |
| 3094 | lt_cv_path_SED=$lt_ac_sed | |
| 3095 | fi | |
| 3096 | done | |
| 3097 | done | |
| 3098 | ||
| 3099 | fi | |
| 3100 | ||
| 3101 | SED=$lt_cv_path_SED | |
| 3102 | echo "$as_me:$LINENO: result: $SED" >&5 | |
| 3103 | echo "${ECHO_T}$SED" >&6 | |
| 3104 | ||
| 3105 | echo "$as_me:$LINENO: checking for egrep" >&5 | |
| 3106 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | |
| 3107 | if test "${ac_cv_prog_egrep+set}" = set; then | |
| 3108 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 3109 | else | |
| 3110 | if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | |
| 3111 | then ac_cv_prog_egrep='grep -E' | |
| 3112 | else ac_cv_prog_egrep='egrep' | |
| 3113 | fi | |
| 3114 | fi | |
| 3115 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | |
| 3116 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | |
| 3117 | EGREP=$ac_cv_prog_egrep | |
| 3118 | ||
| 3119 | ||
| 3120 | ||
| 3121 | # Check whether --with-gnu-ld or --without-gnu-ld was given. | |
| 3122 | if test "${with_gnu_ld+set}" = set; then | |
| 3123 | withval="$with_gnu_ld" | |
| 3124 | test "$withval" = no || with_gnu_ld=yes | |
| 3125 | else | |
| 3126 | with_gnu_ld=no | |
| 3127 | fi; | |
| 3128 | ac_prog=ld | |
| 3129 | if test "$GCC" = yes; then | |
| 3130 | # Check if gcc -print-prog-name=ld gives a path. | |
| 3131 | echo "$as_me:$LINENO: checking for ld used by $CC" >&5 | |
| 3132 | echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 | |
| 3133 | case $host in | |
| 3134 | *-*-mingw*) | |
| 3135 | # gcc leaves a trailing carriage return which upsets mingw | |
| 3136 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | |
| 3137 | *) | |
| 3138 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | |
| 3139 | esac | |
| 3140 | case $ac_prog in | |
| 3141 | # Accept absolute paths. | |
| 3142 | [\\/]* | ?:[\\/]*) | |
| 3143 | re_direlt='/[^/][^/]*/\.\./' | |
| 3144 | # Canonicalize the pathname of ld | |
| 3145 | ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` | |
| 3146 | while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do | |
| 3147 | ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` | |
| 3148 | done | |
| 3149 | test -z "$LD" && LD="$ac_prog" | |
| 3150 | ;; | |
| 3151 | "") | |
| 3152 | # If it fails, then pretend we aren't using GCC. | |
| 3153 | ac_prog=ld | |
| 3154 | ;; | |
| 3155 | *) | |
| 3156 | # If it is relative, then search for the first ld in PATH. | |
| 3157 | with_gnu_ld=unknown | |
| 3158 | ;; | |
| 3159 | esac | |
| 3160 | elif test "$with_gnu_ld" = yes; then | |
| 3161 | echo "$as_me:$LINENO: checking for GNU ld" >&5 | |
| 3162 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 | |
| 3163 | else | |
| 3164 | echo "$as_me:$LINENO: checking for non-GNU ld" >&5 | |
| 3165 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 | |
| 3166 | fi | |
| 3167 | if test "${lt_cv_path_LD+set}" = set; then | |
| 3168 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 3169 | else | |
| 3170 | if test -z "$LD"; then | |
| 3171 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | |
| 3172 | for ac_dir in $PATH; do | |
| 3173 | IFS="$lt_save_ifs" | |
| 3174 | test -z "$ac_dir" && ac_dir=. | |
| 3175 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | |
| 3176 | lt_cv_path_LD="$ac_dir/$ac_prog" | |
| 3177 | # Check to see if the program is GNU ld. I'd rather use --version, | |
| 3178 | # but apparently some GNU ld's only accept -v. | |
| 3179 | # Break only if it was the GNU/non-GNU ld that we prefer. | |
| 3180 | case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in | |
| 3181 | *GNU* | *'with BFD'*) | |
| 3182 | test "$with_gnu_ld" != no && break | |
| 3183 | ;; | |
| 3184 | *) | |
| 3185 | test "$with_gnu_ld" != yes && break | |
| 3186 | ;; | |
| 3187 | esac | |
| 3188 | fi | |
| 3189 | done | |
| 3190 | IFS="$lt_save_ifs" | |
| 3191 | else | |
| 3192 | lt_cv_path_LD="$LD" # Let the user override the test with a path. | |
| 3193 | fi | |
| 3194 | fi | |
| 3195 | ||
| 3196 | LD="$lt_cv_path_LD" | |
| 3197 | if test -n "$LD"; then | |
| 3198 | echo "$as_me:$LINENO: result: $LD" >&5 | |
| 3199 | echo "${ECHO_T}$LD" >&6 | |
| 3200 | else | |
| 3201 | echo "$as_me:$LINENO: result: no" >&5 | |
| 3202 | echo "${ECHO_T}no" >&6 | |
| 3203 | fi | |
| 3204 | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 | |
| 3205 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} | |
| 3206 | { (exit 1); exit 1; }; } | |
| 3207 | echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 | |
| 3208 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 | |
| 3209 | if test "${lt_cv_prog_gnu_ld+set}" = set; then | |
| 3210 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 3211 | else | |
| 3212 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. | |
| 3213 | case `$LD -v 2>&1 </dev/null` in | |
| 3214 | *GNU* | *'with BFD'*) | |
| 3215 | lt_cv_prog_gnu_ld=yes | |
| 3216 | ;; | |
| 3217 | *) | |
| 3218 | lt_cv_prog_gnu_ld=no | |
| 3219 | ;; | |
| 3220 | esac | |
| 3221 | fi | |
| 3222 | echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 | |
| 3223 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 | |
| 3224 | with_gnu_ld=$lt_cv_prog_gnu_ld | |
| 3225 | ||
| 3226 | ||
| 3227 | echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 | |
| 3228 | echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 | |
| 3229 | if test "${lt_cv_ld_reload_flag+set}" = set; then | |
| 3230 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 3231 | else | |
| 3232 | lt_cv_ld_reload_flag='-r' | |
| 3233 | fi | |
| 3234 | echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 | |
| 3235 | echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 | |
| 3236 | reload_flag=$lt_cv_ld_reload_flag | |
| 3237 | case $reload_flag in | |
| 3238 | "" | " "*) ;; | |
| 3239 | *) reload_flag=" $reload_flag" ;; | |
| 3240 | esac | |
| 3241 | reload_cmds='$LD$reload_flag -o $output$reload_objs' | |
| 3242 | case $host_os in | |
| 3243 | darwin*) | |
| 3244 | if test "$GCC" = yes; then | |
| 3245 | reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs' | |
| 3246 | else | |
| 3247 | reload_cmds='$LD$reload_flag -o $output$reload_objs' | |
| 3248 | fi | |
| 3249 | ;; | |
| 3250 | esac | |
| 3251 | ||
| 3252 | echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 | |
| 3253 | echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 | |
| 3254 | if test "${lt_cv_path_NM+set}" = set; then | |
| 3255 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 3256 | else | |
| 3257 | if test -n "$NM"; then | |
| 3258 | # Let the user override the test. | |
| 3259 | lt_cv_path_NM="$NM" | |
| 3260 | else | |
| 3261 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | |
| 3262 | for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do | |
| 3263 | IFS="$lt_save_ifs" | |
| 3264 | test -z "$ac_dir" && ac_dir=. | |
| 3265 | tmp_nm="$ac_dir/${ac_tool_prefix}nm" | |
| 3266 | if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then | |
| 3267 | # Check to see if the nm accepts a BSD-compat flag. | |
| 3268 | # Adding the `sed 1q' prevents false positives on HP-UX, which says: | |
| 3269 | # nm: unknown option "B" ignored | |
| 3270 | # Tru64's nm complains that /dev/null is an invalid object file | |
| 3271 | case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in | |
| 3272 | */dev/null* | *'Invalid file or object type'*) | |
| 3273 | lt_cv_path_NM="$tmp_nm -B" | |
| 3274 | break | |
| 3275 | ;; | |
| 3276 | *) | |
| 3277 | case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in | |
| 3278 | */dev/null*) | |
| 3279 | lt_cv_path_NM="$tmp_nm -p" | |
| 3280 | break | |
| 3281 | ;; | |
| 3282 | *) | |
| 3283 | lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but | |
| 3284 | continue # so that we can try to find one that supports BSD flags | |
| 3285 | ;; | |
| 3286 | esac | |
| 3287 | esac | |
| 3288 | fi | |
| 3289 | done | |
| 3290 | IFS="$lt_save_ifs" | |
| 3291 | test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm | |
| 3292 | fi | |
| 3293 | fi | |
| 3294 | echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 | |
| 3295 | echo "${ECHO_T}$lt_cv_path_NM" >&6 | |
| 3296 | NM="$lt_cv_path_NM" | |
| 3297 | ||
| 3298 | echo "$as_me:$LINENO: checking whether ln -s works" >&5 | |
| 3299 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 | |
| 3300 | LN_S=$as_ln_s | |
| 3301 | if test "$LN_S" = "ln -s"; then | |
| 3302 | echo "$as_me:$LINENO: result: yes" >&5 | |
| 3303 | echo "${ECHO_T}yes" >&6 | |
| 3304 | else | |
| 3305 | echo "$as_me:$LINENO: result: no, using $LN_S" >&5 | |
| 3306 | echo "${ECHO_T}no, using $LN_S" >&6 | |
| 3307 | fi | |
| 3308 | ||
| 3309 | echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 | |
| 3310 | echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6 | |
| 3311 | if test "${lt_cv_deplibs_check_method+set}" = set; then | |
| 3312 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 3313 | else | |
| 3314 | lt_cv_file_magic_cmd='$MAGIC_CMD' | |
| 3315 | lt_cv_file_magic_test_file= | |
| 3316 | lt_cv_deplibs_check_method='unknown' | |
| 3317 | # Need to set the preceding variable on all platforms that support | |
| 3318 | # interlibrary dependencies. | |
| 3319 | # 'none' -- dependencies not supported. | |
| 3320 | # `unknown' -- same as none, but documents that we really don't know. | |
| 3321 | # 'pass_all' -- all dependencies passed with no checks. | |
| 3322 | # 'test_compile' -- check by making test program. | |
| 3323 | # 'file_magic [[regex]]' -- check by looking for files in library path | |
| 3324 | # which responds to the $file_magic_cmd with a given extended regex. | |
| 3325 | # If you have `file' or equivalent on your system and you're not sure | |
| 3326 | # whether `pass_all' will *always* work, you probably want this one. | |
| 3327 | ||
| 3328 | case $host_os in | |
| 3329 | aix4* | aix5*) | |
| 3330 | lt_cv_deplibs_check_method=pass_all | |
| 3331 | ;; | |
| 3332 | ||
| 3333 | beos*) | |
| 3334 | lt_cv_deplibs_check_method=pass_all | |
| 3335 | ;; | |
| 3336 | ||
| 3337 | bsdi[45]*) | |
| 3338 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' | |
| 3339 | lt_cv_file_magic_cmd='/usr/bin/file -L' | |
| 3340 | lt_cv_file_magic_test_file=/shlib/libc.so | |
| 3341 | ;; | |
| 3342 | ||
| 3343 | cygwin*) | |
| 3344 | # func_win32_libid is a shell function defined in ltmain.sh | |
| 3345 | lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | |
| 3346 | lt_cv_file_magic_cmd='func_win32_libid' | |
| 3347 | ;; | |
| 3348 | ||
| 3349 | mingw* | pw32*) | |
| 3350 | # Base MSYS/MinGW do not provide the 'file' command needed by | |
| 3351 | # func_win32_libid shell function, so use a weaker test based on 'objdump'. | |
| 3352 | lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' | |
| 3353 | lt_cv_file_magic_cmd='$OBJDUMP -f' | |
| 3354 | ;; | |
| 3355 | ||
| 3356 | darwin* | rhapsody*) | |
| 3357 | lt_cv_deplibs_check_method=pass_all | |
| 3358 | ;; | |
| 3359 | ||
| 3360 | freebsd* | kfreebsd*-gnu) | |
| 3361 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | |
| 3362 | case $host_cpu in | |
| 3363 | i*86 ) | |
| 3364 | # Not sure whether the presence of OpenBSD here was a mistake. | |
| 3365 | # Let's accept both of them until this is cleared up. | |
| 3366 | lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' | |
| 3367 | lt_cv_file_magic_cmd=/usr/bin/file | |
| 3368 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | |
| 3369 | ;; | |
| 3370 | esac | |
| 3371 | else | |
| 3372 | lt_cv_deplibs_check_method=pass_all | |
| 3373 | fi | |
| 3374 | ;; | |
| 3375 | ||
| 3376 | gnu*) | |
| 3377 | lt_cv_deplibs_check_method=pass_all | |
| 3378 | ;; | |
| 3379 | ||
| 3380 | hpux10.20* | hpux11*) | |
| 3381 | lt_cv_file_magic_cmd=/usr/bin/file | |
| 3382 | case "$host_cpu" in | |
| 3383 | ia64*) | |
| 3384 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' | |
| 3385 | lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so | |
| 3386 | ;; | |
| 3387 | hppa*64*) | |
| 3388 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' | |
| 3389 | lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl | |
| 3390 | ;; | |
| 3391 | *) | |
| 3392 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' | |
| 3393 | lt_cv_file_magic_test_file=/usr/lib/libc.sl | |
| 3394 | ;; | |
| 3395 | esac | |
| 3396 | ;; | |
| 3397 | ||
| 3398 | irix5* | irix6* | nonstopux*) | |
| 3399 | case $LD in | |
| 3400 | *-32|*"-32 ") libmagic=32-bit;; | |
| 3401 | *-n32|*"-n32 ") libmagic=N32;; | |
| 3402 | *-64|*"-64 ") libmagic=64-bit;; | |
| 3403 | *) libmagic=never-match;; | |
| 3404 | esac | |
| 3405 | lt_cv_deplibs_check_method=pass_all | |
| 3406 | ;; | |
| 3407 | ||
| 3408 | # This must be Linux ELF. | |
| 3409 | linux*) | |
| 3410 | case $host_cpu in | |
| 3411 | alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*) | |
| 3412 | lt_cv_deplibs_check_method=pass_all ;; | |
| 3413 | *) | |
| 3414 | # glibc up to 2.1.1 does not perform some relocations on ARM | |
| 3415 | # this will be overridden with pass_all, but let us keep it just in case | |
| 3416 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; | |
| 3417 | esac | |
| 3418 | lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | |
| 3419 | lt_cv_deplibs_check_method=pass_all | |
| 3420 | ;; | |
| 3421 | ||
| 3422 | netbsd*) | |
| 3423 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | |
| 3424 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' | |
| 3425 | else | |
| 3426 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' | |
| 3427 | fi | |
| 3428 | ;; | |
| 3429 | ||
| 3430 | newos6*) | |
| 3431 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' | |
| 3432 | lt_cv_file_magic_cmd=/usr/bin/file | |
| 3433 | lt_cv_file_magic_test_file=/usr/lib/libnls.so | |
| 3434 | ;; | |
| 3435 | ||
| 3436 | nto-qnx*) | |
| 3437 |