| 1 | #! /bin/sh
|
|---|
| 2 | # Guess values for system-dependent variables and create Makefiles.
|
|---|
| 3 | # Generated by GNU Autoconf 2.59.
|
|---|
| 4 | #
|
|---|
| 5 | # Copyright (C) 2003 Free Software Foundation, Inc.
|
|---|
| 6 | # This configure script is free software; the Free Software Foundation
|
|---|
| 7 | # 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 | # Name of the host.
|
|---|
| 245 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
|---|
| 246 | # so uname gets run too.
|
|---|
| 247 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
|---|
| 248 |
|
|---|
| 249 | exec 6>&1
|
|---|
| 250 |
|
|---|
| 251 | #
|
|---|
| 252 | # Initializations.
|
|---|
| 253 | #
|
|---|
| 254 | ac_default_prefix=/usr/local
|
|---|
| 255 | ac_config_libobj_dir=.
|
|---|
| 256 | cross_compiling=no
|
|---|
| 257 | subdirs=
|
|---|
| 258 | MFLAGS=
|
|---|
| 259 | MAKEFLAGS=
|
|---|
| 260 | SHELL=${CONFIG_SHELL-/bin/sh}
|
|---|
| 261 |
|
|---|
| 262 | # Maximum number of lines to put in a shell here document.
|
|---|
| 263 | # This variable seems obsolete. It should probably be removed, and
|
|---|
| 264 | # only ac_max_sed_lines should be used.
|
|---|
| 265 | : ${ac_max_here_lines=38}
|
|---|
| 266 |
|
|---|
| 267 | # Identity of this package.
|
|---|
| 268 | PACKAGE_NAME=
|
|---|
| 269 | PACKAGE_TARNAME=
|
|---|
| 270 | PACKAGE_VERSION=
|
|---|
| 271 | PACKAGE_STRING=
|
|---|
| 272 | PACKAGE_BUGREPORT=
|
|---|
| 273 |
|
|---|
| 274 | ac_unique_file="zlib.h"
|
|---|
| 275 | # Factoring default headers for most tests.
|
|---|
| 276 | ac_includes_default="\
|
|---|
| 277 | #include <stdio.h>
|
|---|
| 278 | #if HAVE_SYS_TYPES_H
|
|---|
| 279 | # include <sys/types.h>
|
|---|
| 280 | #endif
|
|---|
| 281 | #if HAVE_SYS_STAT_H
|
|---|
| 282 | # include <sys/stat.h>
|
|---|
| 283 | #endif
|
|---|
| 284 | #if STDC_HEADERS
|
|---|
| 285 | # include <stdlib.h>
|
|---|
| 286 | # include <stddef.h>
|
|---|
| 287 | #else
|
|---|
| 288 | # if HAVE_STDLIB_H
|
|---|
| 289 | # include <stdlib.h>
|
|---|
| 290 | # endif
|
|---|
| 291 | #endif
|
|---|
| 292 | #if HAVE_STRING_H
|
|---|
| 293 | # if !STDC_HEADERS && HAVE_MEMORY_H
|
|---|
| 294 | # include <memory.h>
|
|---|
| 295 | # endif
|
|---|
| 296 | # include <string.h>
|
|---|
| 297 | #endif
|
|---|
| 298 | #if HAVE_STRINGS_H
|
|---|
| 299 | # include <strings.h>
|
|---|
| 300 | #endif
|
|---|
| 301 | #if HAVE_INTTYPES_H
|
|---|
| 302 | # include <inttypes.h>
|
|---|
| 303 | #else
|
|---|
| 304 | # if HAVE_STDINT_H
|
|---|
| 305 | # include <stdint.h>
|
|---|
| 306 | # endif
|
|---|
| 307 | #endif
|
|---|
| 308 | #if HAVE_UNISTD_H
|
|---|
| 309 | # include <unistd.h>
|
|---|
| 310 | #endif"
|
|---|
| 311 |
|
|---|
| 312 | 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 zlib_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os mkinstalldirs INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC LN_S RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP LIBTOOL COMPPATH CPP CPPFLAGS EGREP target_all toolexecdir toolexeclibdir TARGET_LIBRARY_TRUE TARGET_LIBRARY_FALSE LIBOBJS LTLIBOBJS'
|
|---|
| 313 | ac_subst_files=''
|
|---|
| 314 |
|
|---|
| 315 | # Initialize some variables set by options.
|
|---|
| 316 | ac_init_help=
|
|---|
| 317 | ac_init_version=false
|
|---|
| 318 | # The variables have the same names as the options, with
|
|---|
| 319 | # dashes changed to underlines.
|
|---|
| 320 | cache_file=/dev/null
|
|---|
| 321 | exec_prefix=NONE
|
|---|
| 322 | no_create=
|
|---|
| 323 | no_recursion=
|
|---|
| 324 | prefix=NONE
|
|---|
| 325 | program_prefix=NONE
|
|---|
| 326 | program_suffix=NONE
|
|---|
| 327 | program_transform_name=s,x,x,
|
|---|
| 328 | silent=
|
|---|
| 329 | site=
|
|---|
| 330 | srcdir=
|
|---|
| 331 | verbose=
|
|---|
| 332 | x_includes=NONE
|
|---|
| 333 | x_libraries=NONE
|
|---|
| 334 |
|
|---|
| 335 | # Installation directory options.
|
|---|
| 336 | # These are left unexpanded so users can "make install exec_prefix=/foo"
|
|---|
| 337 | # and all the variables that are supposed to be based on exec_prefix
|
|---|
| 338 | # by default will actually change.
|
|---|
| 339 | # Use braces instead of parens because sh, perl, etc. also accept them.
|
|---|
| 340 | bindir='${exec_prefix}/bin'
|
|---|
| 341 | sbindir='${exec_prefix}/sbin'
|
|---|
| 342 | libexecdir='${exec_prefix}/libexec'
|
|---|
| 343 | datadir='${prefix}/share'
|
|---|
| 344 | sysconfdir='${prefix}/etc'
|
|---|
| 345 | sharedstatedir='${prefix}/com'
|
|---|
| 346 | localstatedir='${prefix}/var'
|
|---|
| 347 | libdir='${exec_prefix}/lib'
|
|---|
| 348 | includedir='${prefix}/include'
|
|---|
| 349 | oldincludedir='/usr/include'
|
|---|
| 350 | infodir='${prefix}/info'
|
|---|
| 351 | mandir='${prefix}/man'
|
|---|
| 352 |
|
|---|
| 353 | ac_prev=
|
|---|
| 354 | for ac_option
|
|---|
| 355 | do
|
|---|
| 356 | # If the previous option needs an argument, assign it.
|
|---|
| 357 | if test -n "$ac_prev"; then
|
|---|
| 358 | eval "$ac_prev=\$ac_option"
|
|---|
| 359 | ac_prev=
|
|---|
| 360 | continue
|
|---|
| 361 | fi
|
|---|
| 362 |
|
|---|
| 363 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
|
|---|
| 364 |
|
|---|
| 365 | # Accept the important Cygnus configure options, so we can diagnose typos.
|
|---|
| 366 |
|
|---|
| 367 | case $ac_option in
|
|---|
| 368 |
|
|---|
| 369 | -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
|---|
| 370 | ac_prev=bindir ;;
|
|---|
| 371 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
|---|
| 372 | bindir=$ac_optarg ;;
|
|---|
| 373 |
|
|---|
| 374 | -build | --build | --buil | --bui | --bu)
|
|---|
| 375 | ac_prev=build_alias ;;
|
|---|
| 376 | -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
|---|
| 377 | build_alias=$ac_optarg ;;
|
|---|
| 378 |
|
|---|
| 379 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
|---|
| 380 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
|---|
| 381 | ac_prev=cache_file ;;
|
|---|
| 382 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
|---|
| 383 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
|---|
| 384 | cache_file=$ac_optarg ;;
|
|---|
| 385 |
|
|---|
| 386 | --config-cache | -C)
|
|---|
| 387 | cache_file=config.cache ;;
|
|---|
| 388 |
|
|---|
| 389 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
|---|
| 390 | ac_prev=datadir ;;
|
|---|
| 391 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
|---|
| 392 | | --da=*)
|
|---|
| 393 | datadir=$ac_optarg ;;
|
|---|
| 394 |
|
|---|
| 395 | -disable-* | --disable-*)
|
|---|
| 396 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
|---|
| 397 | # Reject names that are not valid shell variable names.
|
|---|
| 398 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
|---|
| 399 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
|---|
| 400 | { (exit 1); exit 1; }; }
|
|---|
| 401 | ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
|---|
| 402 | eval "enable_$ac_feature=no" ;;
|
|---|
| 403 |
|
|---|
| 404 | -enable-* | --enable-*)
|
|---|
| 405 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
|---|
| 406 | # Reject names that are not valid shell variable names.
|
|---|
| 407 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
|---|
| 408 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
|---|
| 409 | { (exit 1); exit 1; }; }
|
|---|
| 410 | ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
|---|
| 411 | case $ac_option in
|
|---|
| 412 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
|---|
| 413 | *) ac_optarg=yes ;;
|
|---|
| 414 | esac
|
|---|
| 415 | eval "enable_$ac_feature='$ac_optarg'" ;;
|
|---|
| 416 |
|
|---|
| 417 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
|---|
| 418 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
|---|
| 419 | | --exec | --exe | --ex)
|
|---|
| 420 | ac_prev=exec_prefix ;;
|
|---|
| 421 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
|---|
| 422 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
|---|
| 423 | | --exec=* | --exe=* | --ex=*)
|
|---|
| 424 | exec_prefix=$ac_optarg ;;
|
|---|
| 425 |
|
|---|
| 426 | -gas | --gas | --ga | --g)
|
|---|
| 427 | # Obsolete; use --with-gas.
|
|---|
| 428 | with_gas=yes ;;
|
|---|
| 429 |
|
|---|
| 430 | -help | --help | --hel | --he | -h)
|
|---|
| 431 | ac_init_help=long ;;
|
|---|
| 432 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
|---|
| 433 | ac_init_help=recursive ;;
|
|---|
| 434 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
|---|
| 435 | ac_init_help=short ;;
|
|---|
| 436 |
|
|---|
| 437 | -host | --host | --hos | --ho)
|
|---|
| 438 | ac_prev=host_alias ;;
|
|---|
| 439 | -host=* | --host=* | --hos=* | --ho=*)
|
|---|
| 440 | host_alias=$ac_optarg ;;
|
|---|
| 441 |
|
|---|
| 442 | -includedir | --includedir | --includedi | --included | --include \
|
|---|
| 443 | | --includ | --inclu | --incl | --inc)
|
|---|
| 444 | ac_prev=includedir ;;
|
|---|
| 445 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
|---|
| 446 | | --includ=* | --inclu=* | --incl=* | --inc=*)
|
|---|
| 447 | includedir=$ac_optarg ;;
|
|---|
| 448 |
|
|---|
| 449 | -infodir | --infodir | --infodi | --infod | --info | --inf)
|
|---|
| 450 | ac_prev=infodir ;;
|
|---|
| 451 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
|---|
| 452 | infodir=$ac_optarg ;;
|
|---|
| 453 |
|
|---|
| 454 | -libdir | --libdir | --libdi | --libd)
|
|---|
| 455 | ac_prev=libdir ;;
|
|---|
| 456 | -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
|---|
| 457 | libdir=$ac_optarg ;;
|
|---|
| 458 |
|
|---|
| 459 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
|---|
| 460 | | --libexe | --libex | --libe)
|
|---|
| 461 | ac_prev=libexecdir ;;
|
|---|
| 462 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
|---|
| 463 | | --libexe=* | --libex=* | --libe=*)
|
|---|
| 464 | libexecdir=$ac_optarg ;;
|
|---|
| 465 |
|
|---|
| 466 | -localstatedir | --localstatedir | --localstatedi | --localstated \
|
|---|
| 467 | | --localstate | --localstat | --localsta | --localst \
|
|---|
| 468 | | --locals | --local | --loca | --loc | --lo)
|
|---|
| 469 | ac_prev=localstatedir ;;
|
|---|
| 470 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
|---|
| 471 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
|---|
| 472 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
|---|
| 473 | localstatedir=$ac_optarg ;;
|
|---|
| 474 |
|
|---|
| 475 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
|---|
| 476 | ac_prev=mandir ;;
|
|---|
| 477 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
|---|
| 478 | mandir=$ac_optarg ;;
|
|---|
| 479 |
|
|---|
| 480 | -nfp | --nfp | --nf)
|
|---|
| 481 | # Obsolete; use --without-fp.
|
|---|
| 482 | with_fp=no ;;
|
|---|
| 483 |
|
|---|
| 484 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
|---|
| 485 | | --no-cr | --no-c | -n)
|
|---|
| 486 | no_create=yes ;;
|
|---|
| 487 |
|
|---|
| 488 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
|---|
| 489 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
|---|
| 490 | no_recursion=yes ;;
|
|---|
| 491 |
|
|---|
| 492 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
|---|
| 493 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
|---|
| 494 | | --oldin | --oldi | --old | --ol | --o)
|
|---|
| 495 | ac_prev=oldincludedir ;;
|
|---|
| 496 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
|---|
| 497 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
|---|
| 498 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
|---|
| 499 | oldincludedir=$ac_optarg ;;
|
|---|
| 500 |
|
|---|
| 501 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
|---|
| 502 | ac_prev=prefix ;;
|
|---|
| 503 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
|---|
| 504 | prefix=$ac_optarg ;;
|
|---|
| 505 |
|
|---|
| 506 | -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
|---|
| 507 | | --program-pre | --program-pr | --program-p)
|
|---|
| 508 | ac_prev=program_prefix ;;
|
|---|
| 509 | -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
|---|
| 510 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
|---|
| 511 | program_prefix=$ac_optarg ;;
|
|---|
| 512 |
|
|---|
| 513 | -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
|---|
| 514 | | --program-suf | --program-su | --program-s)
|
|---|
| 515 | ac_prev=program_suffix ;;
|
|---|
| 516 | -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
|---|
| 517 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
|---|
| 518 | program_suffix=$ac_optarg ;;
|
|---|
| 519 |
|
|---|
| 520 | -program-transform-name | --program-transform-name \
|
|---|
| 521 | | --program-transform-nam | --program-transform-na \
|
|---|
| 522 | | --program-transform-n | --program-transform- \
|
|---|
| 523 | | --program-transform | --program-transfor \
|
|---|
| 524 | | --program-transfo | --program-transf \
|
|---|
| 525 | | --program-trans | --program-tran \
|
|---|
| 526 | | --progr-tra | --program-tr | --program-t)
|
|---|
| 527 | ac_prev=program_transform_name ;;
|
|---|
| 528 | -program-transform-name=* | --program-transform-name=* \
|
|---|
| 529 | | --program-transform-nam=* | --program-transform-na=* \
|
|---|
| 530 | | --program-transform-n=* | --program-transform-=* \
|
|---|
| 531 | | --program-transform=* | --program-transfor=* \
|
|---|
| 532 | | --program-transfo=* | --program-transf=* \
|
|---|
| 533 | | --program-trans=* | --program-tran=* \
|
|---|
| 534 | | --progr-tra=* | --program-tr=* | --program-t=*)
|
|---|
| 535 | program_transform_name=$ac_optarg ;;
|
|---|
| 536 |
|
|---|
| 537 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|---|
| 538 | | -silent | --silent | --silen | --sile | --sil)
|
|---|
| 539 | silent=yes ;;
|
|---|
| 540 |
|
|---|
| 541 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
|---|
| 542 | ac_prev=sbindir ;;
|
|---|
| 543 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
|---|
| 544 | | --sbi=* | --sb=*)
|
|---|
| 545 | sbindir=$ac_optarg ;;
|
|---|
| 546 |
|
|---|
| 547 | -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
|---|
| 548 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
|---|
| 549 | | --sharedst | --shareds | --shared | --share | --shar \
|
|---|
| 550 | | --sha | --sh)
|
|---|
| 551 | ac_prev=sharedstatedir ;;
|
|---|
| 552 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
|---|
| 553 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
|---|
| 554 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
|---|
| 555 | | --sha=* | --sh=*)
|
|---|
| 556 | sharedstatedir=$ac_optarg ;;
|
|---|
| 557 |
|
|---|
| 558 | -site | --site | --sit)
|
|---|
| 559 | ac_prev=site ;;
|
|---|
| 560 | -site=* | --site=* | --sit=*)
|
|---|
| 561 | site=$ac_optarg ;;
|
|---|
| 562 |
|
|---|
| 563 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
|---|
| 564 | ac_prev=srcdir ;;
|
|---|
| 565 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
|---|
| 566 | srcdir=$ac_optarg ;;
|
|---|
| 567 |
|
|---|
| 568 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
|---|
| 569 | | --syscon | --sysco | --sysc | --sys | --sy)
|
|---|
| 570 | ac_prev=sysconfdir ;;
|
|---|
| 571 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
|---|
| 572 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
|---|
| 573 | sysconfdir=$ac_optarg ;;
|
|---|
| 574 |
|
|---|
| 575 | -target | --target | --targe | --targ | --tar | --ta | --t)
|
|---|
| 576 | ac_prev=target_alias ;;
|
|---|
| 577 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
|---|
| 578 | target_alias=$ac_optarg ;;
|
|---|
| 579 |
|
|---|
| 580 | -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
|---|
| 581 | verbose=yes ;;
|
|---|
| 582 |
|
|---|
| 583 | -version | --version | --versio | --versi | --vers | -V)
|
|---|
| 584 | ac_init_version=: ;;
|
|---|
| 585 |
|
|---|
| 586 | -with-* | --with-*)
|
|---|
| 587 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
|---|
| 588 | # Reject names that are not valid shell variable names.
|
|---|
| 589 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
|---|
| 590 | { echo "$as_me: error: invalid package name: $ac_package" >&2
|
|---|
| 591 | { (exit 1); exit 1; }; }
|
|---|
| 592 | ac_package=`echo $ac_package| sed 's/-/_/g'`
|
|---|
| 593 | case $ac_option in
|
|---|
| 594 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
|---|
| 595 | *) ac_optarg=yes ;;
|
|---|
| 596 | esac
|
|---|
| 597 | eval "with_$ac_package='$ac_optarg'" ;;
|
|---|
| 598 |
|
|---|
| 599 | -without-* | --without-*)
|
|---|
| 600 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
|---|
| 601 | # Reject names that are not valid shell variable names.
|
|---|
| 602 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
|---|
| 603 | { echo "$as_me: error: invalid package name: $ac_package" >&2
|
|---|
| 604 | { (exit 1); exit 1; }; }
|
|---|
| 605 | ac_package=`echo $ac_package | sed 's/-/_/g'`
|
|---|
| 606 | eval "with_$ac_package=no" ;;
|
|---|
| 607 |
|
|---|
| 608 | --x)
|
|---|
| 609 | # Obsolete; use --with-x.
|
|---|
| 610 | with_x=yes ;;
|
|---|
| 611 |
|
|---|
| 612 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
|---|
| 613 | | --x-incl | --x-inc | --x-in | --x-i)
|
|---|
| 614 | ac_prev=x_includes ;;
|
|---|
| 615 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
|---|
| 616 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
|---|
| 617 | x_includes=$ac_optarg ;;
|
|---|
| 618 |
|
|---|
| 619 | -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
|---|
| 620 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
|---|
| 621 | ac_prev=x_libraries ;;
|
|---|
| 622 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
|---|
| 623 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
|---|
| 624 | x_libraries=$ac_optarg ;;
|
|---|
| 625 |
|
|---|
| 626 | -*) { echo "$as_me: error: unrecognized option: $ac_option
|
|---|
| 627 | Try \`$0 --help' for more information." >&2
|
|---|
| 628 | { (exit 1); exit 1; }; }
|
|---|
| 629 | ;;
|
|---|
| 630 |
|
|---|
| 631 | *=*)
|
|---|
| 632 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
|---|
| 633 | # Reject names that are not valid shell variable names.
|
|---|
| 634 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
|---|
| 635 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
|---|
| 636 | { (exit 1); exit 1; }; }
|
|---|
| 637 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
|
|---|
| 638 | eval "$ac_envvar='$ac_optarg'"
|
|---|
| 639 | export $ac_envvar ;;
|
|---|
| 640 |
|
|---|
| 641 | *)
|
|---|
| 642 | # FIXME: should be removed in autoconf 3.0.
|
|---|
| 643 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
|---|
| 644 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
|---|
| 645 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
|---|
| 646 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
|---|
| 647 | ;;
|
|---|
| 648 |
|
|---|
| 649 | esac
|
|---|
| 650 | done
|
|---|
| 651 |
|
|---|
| 652 | if test -n "$ac_prev"; then
|
|---|
| 653 | ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
|---|
| 654 | { echo "$as_me: error: missing argument to $ac_option" >&2
|
|---|
| 655 | { (exit 1); exit 1; }; }
|
|---|
| 656 | fi
|
|---|
| 657 |
|
|---|
| 658 | # Be sure to have absolute paths.
|
|---|
| 659 | for ac_var in exec_prefix prefix
|
|---|
| 660 | do
|
|---|
| 661 | eval ac_val=$`echo $ac_var`
|
|---|
| 662 | case $ac_val in
|
|---|
| 663 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
|
|---|
| 664 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
|---|
| 665 | { (exit 1); exit 1; }; };;
|
|---|
| 666 | esac
|
|---|
| 667 | done
|
|---|
| 668 |
|
|---|
| 669 | # Be sure to have absolute paths.
|
|---|
| 670 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
|---|
| 671 | localstatedir libdir includedir oldincludedir infodir mandir
|
|---|
| 672 | do
|
|---|
| 673 | eval ac_val=$`echo $ac_var`
|
|---|
| 674 | case $ac_val in
|
|---|
| 675 | [\\/$]* | ?:[\\/]* ) ;;
|
|---|
| 676 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
|---|
| 677 | { (exit 1); exit 1; }; };;
|
|---|
| 678 | esac
|
|---|
| 679 | done
|
|---|
| 680 |
|
|---|
| 681 | # There might be people who depend on the old broken behavior: `$host'
|
|---|
| 682 | # used to hold the argument of --host etc.
|
|---|
| 683 | # FIXME: To remove some day.
|
|---|
| 684 | build=$build_alias
|
|---|
| 685 | host=$host_alias
|
|---|
| 686 | target=$target_alias
|
|---|
| 687 |
|
|---|
| 688 | # FIXME: To remove some day.
|
|---|
| 689 | if test "x$host_alias" != x; then
|
|---|
| 690 | if test "x$build_alias" = x; then
|
|---|
| 691 | cross_compiling=maybe
|
|---|
| 692 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
|---|
| 693 | If a cross compiler is detected then cross compile mode will be used." >&2
|
|---|
| 694 | elif test "x$build_alias" != "x$host_alias"; then
|
|---|
| 695 | cross_compiling=yes
|
|---|
| 696 | fi
|
|---|
| 697 | fi
|
|---|
| 698 |
|
|---|
| 699 | ac_tool_prefix=
|
|---|
| 700 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
|---|
| 701 |
|
|---|
| 702 | test "$silent" = yes && exec 6>/dev/null
|
|---|
| 703 |
|
|---|
| 704 |
|
|---|
| 705 | # Find the source files, if location was not specified.
|
|---|
| 706 | if test -z "$srcdir"; then
|
|---|
| 707 | ac_srcdir_defaulted=yes
|
|---|
| 708 | # Try the directory containing this script, then its parent.
|
|---|
| 709 | ac_confdir=`(dirname "$0") 2>/dev/null ||
|
|---|
| 710 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|---|
| 711 | X"$0" : 'X\(//\)[^/]' \| \
|
|---|
| 712 | X"$0" : 'X\(//\)$' \| \
|
|---|
| 713 | X"$0" : 'X\(/\)' \| \
|
|---|
| 714 | . : '\(.\)' 2>/dev/null ||
|
|---|
| 715 | echo X"$0" |
|
|---|
| 716 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|---|
| 717 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|---|
| 718 | /^X\(\/\/\)$/{ s//\1/; q; }
|
|---|
| 719 | /^X\(\/\).*/{ s//\1/; q; }
|
|---|
| 720 | s/.*/./; q'`
|
|---|
| 721 | srcdir=$ac_confdir
|
|---|
| 722 | if test ! -r $srcdir/$ac_unique_file; then
|
|---|
| 723 | srcdir=..
|
|---|
| 724 | fi
|
|---|
| 725 | else
|
|---|
| 726 | ac_srcdir_defaulted=no
|
|---|
| 727 | fi
|
|---|
| 728 | if test ! -r $srcdir/$ac_unique_file; then
|
|---|
| 729 | if test "$ac_srcdir_defaulted" = yes; then
|
|---|
| 730 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
|
|---|
| 731 | { (exit 1); exit 1; }; }
|
|---|
| 732 | else
|
|---|
| 733 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
|---|
| 734 | { (exit 1); exit 1; }; }
|
|---|
| 735 | fi
|
|---|
| 736 | fi
|
|---|
| 737 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
|
|---|
| 738 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
|
|---|
| 739 | { (exit 1); exit 1; }; }
|
|---|
| 740 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
|
|---|
| 741 | ac_env_build_alias_set=${build_alias+set}
|
|---|
| 742 | ac_env_build_alias_value=$build_alias
|
|---|
| 743 | ac_cv_env_build_alias_set=${build_alias+set}
|
|---|
| 744 | ac_cv_env_build_alias_value=$build_alias
|
|---|
| 745 | ac_env_host_alias_set=${host_alias+set}
|
|---|
| 746 | ac_env_host_alias_value=$host_alias
|
|---|
| 747 | ac_cv_env_host_alias_set=${host_alias+set}
|
|---|
| 748 | ac_cv_env_host_alias_value=$host_alias
|
|---|
| 749 | ac_env_target_alias_set=${target_alias+set}
|
|---|
| 750 | ac_env_target_alias_value=$target_alias
|
|---|
| 751 | ac_cv_env_target_alias_set=${target_alias+set}
|
|---|
| 752 | ac_cv_env_target_alias_value=$target_alias
|
|---|
| 753 | ac_env_CPP_set=${CPP+set}
|
|---|
| 754 | ac_env_CPP_value=$CPP
|
|---|
| 755 | ac_cv_env_CPP_set=${CPP+set}
|
|---|
| 756 | ac_cv_env_CPP_value=$CPP
|
|---|
| 757 | ac_env_CPPFLAGS_set=${CPPFLAGS+set}
|
|---|
| 758 | ac_env_CPPFLAGS_value=$CPPFLAGS
|
|---|
| 759 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
|
|---|
| 760 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS
|
|---|
| 761 |
|
|---|
| 762 | #
|
|---|
| 763 | # Report the --help message.
|
|---|
| 764 | #
|
|---|
| 765 | if test "$ac_init_help" = "long"; then
|
|---|
| 766 | # Omit some internal or obsolete options to make the list less imposing.
|
|---|
| 767 | # This message is too long to be a string in the A/UX 3.1 sh.
|
|---|
| 768 | cat <<_ACEOF
|
|---|
| 769 | \`configure' configures this package to adapt to many kinds of systems.
|
|---|
| 770 |
|
|---|
| 771 | Usage: $0 [OPTION]... [VAR=VALUE]...
|
|---|
| 772 |
|
|---|
| 773 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
|---|
| 774 | VAR=VALUE. See below for descriptions of some of the useful variables.
|
|---|
| 775 |
|
|---|
| 776 | Defaults for the options are specified in brackets.
|
|---|
| 777 |
|
|---|
| 778 | Configuration:
|
|---|
| 779 | -h, --help display this help and exit
|
|---|
| 780 | --help=short display options specific to this package
|
|---|
| 781 | --help=recursive display the short help of all the included packages
|
|---|
| 782 | -V, --version display version information and exit
|
|---|
| 783 | -q, --quiet, --silent do not print \`checking...' messages
|
|---|
| 784 | --cache-file=FILE cache test results in FILE [disabled]
|
|---|
| 785 | -C, --config-cache alias for \`--cache-file=config.cache'
|
|---|
| 786 | -n, --no-create do not create output files
|
|---|
| 787 | --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
|---|
| 788 |
|
|---|
| 789 | _ACEOF
|
|---|
| 790 |
|
|---|
| 791 | cat <<_ACEOF
|
|---|
| 792 | Installation directories:
|
|---|
| 793 | --prefix=PREFIX install architecture-independent files in PREFIX
|
|---|
| 794 | [$ac_default_prefix]
|
|---|
| 795 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
|---|
| 796 | [PREFIX]
|
|---|
| 797 |
|
|---|
| 798 | By default, \`make install' will install all the files in
|
|---|
| 799 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
|---|
| 800 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
|---|
| 801 | for instance \`--prefix=\$HOME'.
|
|---|
| 802 |
|
|---|
| 803 | For better control, use the options below.
|
|---|
| 804 |
|
|---|
| 805 | Fine tuning of the installation directories:
|
|---|
| 806 | --bindir=DIR user executables [EPREFIX/bin]
|
|---|
| 807 | --sbindir=DIR system admin executables [EPREFIX/sbin]
|
|---|
| 808 | --libexecdir=DIR program executables [EPREFIX/libexec]
|
|---|
| 809 | --datadir=DIR read-only architecture-independent data [PREFIX/share]
|
|---|
| 810 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
|---|
| 811 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
|---|
| 812 | --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
|---|
| 813 | --libdir=DIR object code libraries [EPREFIX/lib]
|
|---|
| 814 | --includedir=DIR C header files [PREFIX/include]
|
|---|
| 815 | --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
|---|
| 816 | --infodir=DIR info documentation [PREFIX/info]
|
|---|
| 817 | --mandir=DIR man documentation [PREFIX/man]
|
|---|
| 818 | _ACEOF
|
|---|
| 819 |
|
|---|
| 820 | cat <<\_ACEOF
|
|---|
| 821 |
|
|---|
| 822 | Program names:
|
|---|
| 823 | --program-prefix=PREFIX prepend PREFIX to installed program names
|
|---|
| 824 | --program-suffix=SUFFIX append SUFFIX to installed program names
|
|---|
| 825 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
|---|
| 826 |
|
|---|
| 827 | System types:
|
|---|
| 828 | --build=BUILD configure for building on BUILD [guessed]
|
|---|
| 829 | --host=HOST cross-compile to build programs to run on HOST [BUILD]
|
|---|
| 830 | --target=TARGET configure for building compilers for TARGET [HOST]
|
|---|
| 831 | _ACEOF
|
|---|
| 832 | fi
|
|---|
| 833 |
|
|---|
| 834 | if test -n "$ac_init_help"; then
|
|---|
| 835 |
|
|---|
| 836 | cat <<\_ACEOF
|
|---|
| 837 |
|
|---|
| 838 | Optional Features:
|
|---|
| 839 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
|---|
| 840 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
|---|
| 841 | --enable-maintainer-mode enable make rules and dependencies not useful
|
|---|
| 842 | (and sometimes confusing) to the casual installer
|
|---|
| 843 | --enable-multilib build many library versions (default)
|
|---|
| 844 | --enable-shared=PKGS build shared libraries default=yes
|
|---|
| 845 | --enable-static=PKGS build static libraries default=yes
|
|---|
| 846 | --enable-fast-install=PKGS optimize for fast installation default=yes
|
|---|
| 847 | --disable-libtool-lock avoid locking (might break parallel builds)
|
|---|
| 848 |
|
|---|
| 849 | Optional Packages:
|
|---|
| 850 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
|---|
| 851 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
|---|
| 852 | --with-target-subdir=SUBDIR
|
|---|
| 853 | configuring in a subdirectory
|
|---|
| 854 | --with-cross-host=HOST configuring with a cross compiler
|
|---|
| 855 | --with-system-zlib use installed libz
|
|---|
| 856 | --with-gnu-ld assume the C compiler uses GNU ld default=no
|
|---|
| 857 | --with-pic try to use only PIC/non-PIC objects default=use both
|
|---|
| 858 |
|
|---|
| 859 | Some influential environment variables:
|
|---|
| 860 | CPP C preprocessor
|
|---|
| 861 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
|
|---|
| 862 | headers in a nonstandard directory <include dir>
|
|---|
| 863 |
|
|---|
| 864 | Use these variables to override the choices made by `configure' or to help
|
|---|
| 865 | it to find libraries and programs with nonstandard names/locations.
|
|---|
| 866 |
|
|---|
| 867 | _ACEOF
|
|---|
| 868 | fi
|
|---|
| 869 |
|
|---|
| 870 | if test "$ac_init_help" = "recursive"; then
|
|---|
| 871 | # If there are subdirs, report their specific --help.
|
|---|
| 872 | ac_popdir=`pwd`
|
|---|
| 873 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
|---|
| 874 | test -d $ac_dir || continue
|
|---|
| 875 | ac_builddir=.
|
|---|
| 876 |
|
|---|
| 877 | if test "$ac_dir" != .; then
|
|---|
| 878 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
|---|
| 879 | # A "../" for each directory in $ac_dir_suffix.
|
|---|
| 880 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
|---|
| 881 | else
|
|---|
| 882 | ac_dir_suffix= ac_top_builddir=
|
|---|
| 883 | fi
|
|---|
| 884 |
|
|---|
| 885 | case $srcdir in
|
|---|
| 886 | .) # No --srcdir option. We are building in place.
|
|---|
| 887 | ac_srcdir=.
|
|---|
| 888 | if test -z "$ac_top_builddir"; then
|
|---|
| 889 | ac_top_srcdir=.
|
|---|
| 890 | else
|
|---|
| 891 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
|---|
| 892 | fi ;;
|
|---|
| 893 | [\\/]* | ?:[\\/]* ) # Absolute path.
|
|---|
| 894 | ac_srcdir=$srcdir$ac_dir_suffix;
|
|---|
| 895 | ac_top_srcdir=$srcdir ;;
|
|---|
| 896 | *) # Relative path.
|
|---|
| 897 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
|---|
| 898 | ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
|---|
| 899 | esac
|
|---|
| 900 |
|
|---|
| 901 | # Do not use `cd foo && pwd` to compute absolute paths, because
|
|---|
| 902 | # the directories may not exist.
|
|---|
| 903 | case `pwd` in
|
|---|
| 904 | .) ac_abs_builddir="$ac_dir";;
|
|---|
| 905 | *)
|
|---|
| 906 | case "$ac_dir" in
|
|---|
| 907 | .) ac_abs_builddir=`pwd`;;
|
|---|
| 908 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
|---|
| 909 | *) ac_abs_builddir=`pwd`/"$ac_dir";;
|
|---|
| 910 | esac;;
|
|---|
| 911 | esac
|
|---|
| 912 | case $ac_abs_builddir in
|
|---|
| 913 | .) ac_abs_top_builddir=${ac_top_builddir}.;;
|
|---|
| 914 | *)
|
|---|
| 915 | case ${ac_top_builddir}. in
|
|---|
| 916 | .) ac_abs_top_builddir=$ac_abs_builddir;;
|
|---|
| 917 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
|---|
| 918 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
|---|
| 919 | esac;;
|
|---|
| 920 | esac
|
|---|
| 921 | case $ac_abs_builddir in
|
|---|
| 922 | .) ac_abs_srcdir=$ac_srcdir;;
|
|---|
| 923 | *)
|
|---|
| 924 | case $ac_srcdir in
|
|---|
| 925 | .) ac_abs_srcdir=$ac_abs_builddir;;
|
|---|
| 926 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
|---|
| 927 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
|---|
| 928 | esac;;
|
|---|
| 929 | esac
|
|---|
| 930 | case $ac_abs_builddir in
|
|---|
| 931 | .) ac_abs_top_srcdir=$ac_top_srcdir;;
|
|---|
| 932 | *)
|
|---|
| 933 | case $ac_top_srcdir in
|
|---|
| 934 | .) ac_abs_top_srcdir=$ac_abs_builddir;;
|
|---|
| 935 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
|---|
| 936 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
|---|
| 937 | esac;;
|
|---|
| 938 | esac
|
|---|
| 939 |
|
|---|
| 940 | cd $ac_dir
|
|---|
| 941 | # Check for guested configure; otherwise get Cygnus style configure.
|
|---|
| 942 | if test -f $ac_srcdir/configure.gnu; then
|
|---|
| 943 | echo
|
|---|
| 944 | $SHELL $ac_srcdir/configure.gnu --help=recursive
|
|---|
| 945 | elif test -f $ac_srcdir/configure; then
|
|---|
| 946 | echo
|
|---|
| 947 | $SHELL $ac_srcdir/configure --help=recursive
|
|---|
| 948 | elif test -f $ac_srcdir/configure.ac ||
|
|---|
| 949 | test -f $ac_srcdir/configure.in; then
|
|---|
| 950 | echo
|
|---|
| 951 | $ac_configure --help
|
|---|
| 952 | else
|
|---|
| 953 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
|---|
| 954 | fi
|
|---|
| 955 | cd $ac_popdir
|
|---|
| 956 | done
|
|---|
| 957 | fi
|
|---|
| 958 |
|
|---|
| 959 | test -n "$ac_init_help" && exit 0
|
|---|
| 960 | if $ac_init_version; then
|
|---|
| 961 | cat <<\_ACEOF
|
|---|
| 962 |
|
|---|
| 963 | Copyright (C) 2003 Free Software Foundation, Inc.
|
|---|
| 964 | This configure script is free software; the Free Software Foundation
|
|---|
| 965 | gives unlimited permission to copy, distribute and modify it.
|
|---|
| 966 | _ACEOF
|
|---|
| 967 | exit 0
|
|---|
| 968 | fi
|
|---|
| 969 | exec 5>config.log
|
|---|
| 970 | cat >&5 <<_ACEOF
|
|---|
| 971 | This file contains any messages produced by compilers while
|
|---|
| 972 | running configure, to aid debugging if configure makes a mistake.
|
|---|
| 973 |
|
|---|
| 974 | It was created by $as_me, which was
|
|---|
| 975 | generated by GNU Autoconf 2.59. Invocation command line was
|
|---|
| 976 |
|
|---|
| 977 | $ $0 $@
|
|---|
| 978 |
|
|---|
| 979 | _ACEOF
|
|---|
| 980 | {
|
|---|
| 981 | cat <<_ASUNAME
|
|---|
| 982 | ## --------- ##
|
|---|
| 983 | ## Platform. ##
|
|---|
| 984 | ## --------- ##
|
|---|
| 985 |
|
|---|
| 986 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|---|
| 987 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
|---|
| 988 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
|---|
| 989 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
|---|
| 990 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
|---|
| 991 |
|
|---|
| 992 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
|---|
| 993 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
|---|
| 994 |
|
|---|
| 995 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
|---|
| 996 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
|---|
| 997 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
|---|
| 998 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
|---|
| 999 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
|---|
| 1000 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
|---|
| 1001 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
|---|
| 1002 |
|
|---|
| 1003 | _ASUNAME
|
|---|
| 1004 |
|
|---|
| 1005 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|---|
| 1006 | for as_dir in $PATH
|
|---|
| 1007 | do
|
|---|
| 1008 | IFS=$as_save_IFS
|
|---|
| 1009 | test -z "$as_dir" && as_dir=.
|
|---|
| 1010 | echo "PATH: $as_dir"
|
|---|
| 1011 | done
|
|---|
| 1012 |
|
|---|
| 1013 | } >&5
|
|---|
| 1014 |
|
|---|
| 1015 | cat >&5 <<_ACEOF
|
|---|
| 1016 |
|
|---|
| 1017 |
|
|---|
| 1018 | ## ----------- ##
|
|---|
| 1019 | ## Core tests. ##
|
|---|
| 1020 | ## ----------- ##
|
|---|
| 1021 |
|
|---|
| 1022 | _ACEOF
|
|---|
| 1023 |
|
|---|
| 1024 |
|
|---|
| 1025 | # Keep a trace of the command line.
|
|---|
| 1026 | # Strip out --no-create and --no-recursion so they do not pile up.
|
|---|
| 1027 | # Strip out --silent because we don't want to record it for future runs.
|
|---|
| 1028 | # Also quote any args containing shell meta-characters.
|
|---|
| 1029 | # Make two passes to allow for proper duplicate-argument suppression.
|
|---|
| 1030 | ac_configure_args=
|
|---|
| 1031 | ac_configure_args0=
|
|---|
| 1032 | ac_configure_args1=
|
|---|
| 1033 | ac_sep=
|
|---|
| 1034 | ac_must_keep_next=false
|
|---|
| 1035 | for ac_pass in 1 2
|
|---|
| 1036 | do
|
|---|
| 1037 | for ac_arg
|
|---|
| 1038 | do
|
|---|
| 1039 | case $ac_arg in
|
|---|
| 1040 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
|---|
| 1041 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|---|
| 1042 | | -silent | --silent | --silen | --sile | --sil)
|
|---|
| 1043 | continue ;;
|
|---|
| 1044 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
|---|
| 1045 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|---|
| 1046 | esac
|
|---|
| 1047 | case $ac_pass in
|
|---|
| 1048 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
|---|
| 1049 | 2)
|
|---|
| 1050 | ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
|---|
| 1051 | if test $ac_must_keep_next = true; then
|
|---|
| 1052 | ac_must_keep_next=false # Got value, back to normal.
|
|---|
| 1053 | else
|
|---|
| 1054 | case $ac_arg in
|
|---|
| 1055 | *=* | --config-cache | -C | -disable-* | --disable-* \
|
|---|
| 1056 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
|---|
| 1057 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
|---|
| 1058 | | -with-* | --with-* | -without-* | --without-* | --x)
|
|---|
| 1059 | case "$ac_configure_args0 " in
|
|---|
| 1060 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
|---|
| 1061 | esac
|
|---|
| 1062 | ;;
|
|---|
| 1063 | -* ) ac_must_keep_next=true ;;
|
|---|
| 1064 | esac
|
|---|
| 1065 | fi
|
|---|
| 1066 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
|---|
| 1067 | # Get rid of the leading space.
|
|---|
| 1068 | ac_sep=" "
|
|---|
| 1069 | ;;
|
|---|
| 1070 | esac
|
|---|
| 1071 | done
|
|---|
| 1072 | done
|
|---|
| 1073 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
|---|
| 1074 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
|---|
| 1075 |
|
|---|
| 1076 | # When interrupted or exit'd, cleanup temporary files, and complete
|
|---|
| 1077 | # config.log. We remove comments because anyway the quotes in there
|
|---|
| 1078 | # would cause problems or look ugly.
|
|---|
| 1079 | # WARNING: Be sure not to use single quotes in there, as some shells,
|
|---|
| 1080 | # such as our DU 5.0 friend, will then `close' the trap.
|
|---|
| 1081 | trap 'exit_status=$?
|
|---|
| 1082 | # Save into config.log some information that might help in debugging.
|
|---|
| 1083 | {
|
|---|
| 1084 | echo
|
|---|
| 1085 |
|
|---|
| 1086 | cat <<\_ASBOX
|
|---|
| 1087 | ## ---------------- ##
|
|---|
| 1088 | ## Cache variables. ##
|
|---|
| 1089 | ## ---------------- ##
|
|---|
| 1090 | _ASBOX
|
|---|
| 1091 | echo
|
|---|
| 1092 | # The following way of writing the cache mishandles newlines in values,
|
|---|
| 1093 | {
|
|---|
| 1094 | (set) 2>&1 |
|
|---|
| 1095 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
|---|
| 1096 | *ac_space=\ *)
|
|---|
| 1097 | sed -n \
|
|---|
| 1098 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
|---|
| 1099 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
|---|
| 1100 | ;;
|
|---|
| 1101 | *)
|
|---|
| 1102 | sed -n \
|
|---|
| 1103 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
|---|
| 1104 | ;;
|
|---|
| 1105 | esac;
|
|---|
| 1106 | }
|
|---|
| 1107 | echo
|
|---|
| 1108 |
|
|---|
| 1109 | cat <<\_ASBOX
|
|---|
| 1110 | ## ----------------- ##
|
|---|
| 1111 | ## Output variables. ##
|
|---|
| 1112 | ## ----------------- ##
|
|---|
| 1113 | _ASBOX
|
|---|
| 1114 | echo
|
|---|
| 1115 | for ac_var in $ac_subst_vars
|
|---|
| 1116 | do
|
|---|
| 1117 | eval ac_val=$`echo $ac_var`
|
|---|
| 1118 | echo "$ac_var='"'"'$ac_val'"'"'"
|
|---|
| 1119 | done | sort
|
|---|
| 1120 | echo
|
|---|
| 1121 |
|
|---|
| 1122 | if test -n "$ac_subst_files"; then
|
|---|
| 1123 | cat <<\_ASBOX
|
|---|
| 1124 | ## ------------- ##
|
|---|
| 1125 | ## Output files. ##
|
|---|
| 1126 | ## ------------- ##
|
|---|
| 1127 | _ASBOX
|
|---|
| 1128 | echo
|
|---|
| 1129 | for ac_var in $ac_subst_files
|
|---|
| 1130 | do
|
|---|
| 1131 | eval ac_val=$`echo $ac_var`
|
|---|
| 1132 | echo "$ac_var='"'"'$ac_val'"'"'"
|
|---|
| 1133 | done | sort
|
|---|
| 1134 | echo
|
|---|
| 1135 | fi
|
|---|
| 1136 |
|
|---|
| 1137 | if test -s confdefs.h; then
|
|---|
| 1138 | cat <<\_ASBOX
|
|---|
| 1139 | ## ----------- ##
|
|---|
| 1140 | ## confdefs.h. ##
|
|---|
| 1141 | ## ----------- ##
|
|---|
| 1142 | _ASBOX
|
|---|
| 1143 | echo
|
|---|
| 1144 | sed "/^$/d" confdefs.h | sort
|
|---|
| 1145 | echo
|
|---|
| 1146 | fi
|
|---|
| 1147 | test "$ac_signal" != 0 &&
|
|---|
| 1148 | echo "$as_me: caught signal $ac_signal"
|
|---|
| 1149 | echo "$as_me: exit $exit_status"
|
|---|
| 1150 | } >&5
|
|---|
| 1151 | rm -f core *.core &&
|
|---|
| 1152 | rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
|
|---|
| 1153 | exit $exit_status
|
|---|
| 1154 | ' 0
|
|---|
| 1155 | for ac_signal in 1 2 13 15; do
|
|---|
| 1156 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
|---|
| 1157 | done
|
|---|
| 1158 | ac_signal=0
|
|---|
| 1159 |
|
|---|
| 1160 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
|---|
| 1161 | rm -rf conftest* confdefs.h
|
|---|
| 1162 | # AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
|---|
| 1163 | echo >confdefs.h
|
|---|
| 1164 |
|
|---|
| 1165 | # Predefined preprocessor variables.
|
|---|
| 1166 |
|
|---|
| 1167 | cat >>confdefs.h <<_ACEOF
|
|---|
| 1168 | #define PACKAGE_NAME "$PACKAGE_NAME"
|
|---|
| 1169 | _ACEOF
|
|---|
| 1170 |
|
|---|
| 1171 |
|
|---|
| 1172 | cat >>confdefs.h <<_ACEOF
|
|---|
| 1173 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
|---|
| 1174 | _ACEOF
|
|---|
| 1175 |
|
|---|
| 1176 |
|
|---|
| 1177 | cat >>confdefs.h <<_ACEOF
|
|---|
| 1178 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
|---|
| 1179 | _ACEOF
|
|---|
| 1180 |
|
|---|
| 1181 |
|
|---|
| 1182 | cat >>confdefs.h <<_ACEOF
|
|---|
| 1183 | #define PACKAGE_STRING "$PACKAGE_STRING"
|
|---|
| 1184 | _ACEOF
|
|---|
| 1185 |
|
|---|
| 1186 |
|
|---|
| 1187 | cat >>confdefs.h <<_ACEOF
|
|---|
| 1188 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
|---|
| 1189 | _ACEOF
|
|---|
| 1190 |
|
|---|
| 1191 |
|
|---|
| 1192 | # Let the site file select an alternate cache file if it wants to.
|
|---|
| 1193 | # Prefer explicitly selected file to automatically selected ones.
|
|---|
| 1194 | if test -z "$CONFIG_SITE"; then
|
|---|
| 1195 | if test "x$prefix" != xNONE; then
|
|---|
| 1196 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
|---|
| 1197 | else
|
|---|
| 1198 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
|---|
| 1199 | fi
|
|---|
| 1200 | fi
|
|---|
| 1201 | for ac_site_file in $CONFIG_SITE; do
|
|---|
| 1202 | if test -r "$ac_site_file"; then
|
|---|
| 1203 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
|---|
| 1204 | echo "$as_me: loading site script $ac_site_file" >&6;}
|
|---|
| 1205 | sed 's/^/| /' "$ac_site_file" >&5
|
|---|
| 1206 | . "$ac_site_file"
|
|---|
| 1207 | fi
|
|---|
| 1208 | done
|
|---|
| 1209 |
|
|---|
| 1210 | # Backslashes into forward slashes:
|
|---|
| 1211 | # The following OS/2 specific code is performed AFTER config.site
|
|---|
| 1212 | # has been loaded to allow users to change their environment there.
|
|---|
| 1213 | # This strange code is necessary to deal with handling of backslashes by ksh.
|
|---|
| 1214 |
|
|---|
| 1215 | if test "$ac_emxsupport" != "no" -a "$ac_emxsupport" != "NO"; then
|
|---|
| 1216 | ac_save_IFS="$IFS"
|
|---|
| 1217 | IFS="\\"
|
|---|
| 1218 | ac_TEMP_PATH=
|
|---|
| 1219 | for ac_dir in $PATH; do
|
|---|
| 1220 | IFS=$ac_save_IFS
|
|---|
| 1221 | if test -z "$ac_TEMP_PATH"; then
|
|---|
| 1222 | ac_TEMP_PATH="$ac_dir"
|
|---|
| 1223 | else
|
|---|
| 1224 | ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
|
|---|
| 1225 | fi
|
|---|
| 1226 | done
|
|---|
| 1227 | export PATH="$ac_TEMP_PATH"
|
|---|
| 1228 | unset ac_TEMP_PATH
|
|---|
| 1229 | fi
|
|---|
| 1230 |
|
|---|
| 1231 | # set ac_executable_extensions!
|
|---|
| 1232 | if test "$ac_executable_extensions" = ""; then
|
|---|
| 1233 | if ls.exe --version >/dev/null 2>/dev/null; then
|
|---|
| 1234 | { echo "$as_me:$LINENO: WARNING: ac_executable_extensions not set, assuming .exe" >&5
|
|---|
| 1235 | echo "$as_me: WARNING: ac_executable_extensions not set, assuming .exe" >&2;}
|
|---|
| 1236 | ac_executable_extensions=".exe"
|
|---|
| 1237 | export ac_executable_extensions
|
|---|
| 1238 | fi
|
|---|
| 1239 | fi
|
|---|
| 1240 |
|
|---|
| 1241 | if test -r "$cache_file"; then
|
|---|
| 1242 | # Some versions of bash will fail to source /dev/null (special
|
|---|
| 1243 | # files actually), so we avoid doing that.
|
|---|
| 1244 | if test -f "$cache_file"; then
|
|---|
| 1245 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
|---|
| 1246 | echo "$as_me: loading cache $cache_file" >&6;}
|
|---|
| 1247 | case $cache_file in
|
|---|
| 1248 | [\\/]* | ?:[\\/]* ) . $cache_file;;
|
|---|
| 1249 | *) . ./$cache_file;;
|
|---|
| 1250 | esac
|
|---|
| 1251 | fi
|
|---|
| 1252 | else
|
|---|
| 1253 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
|---|
| 1254 | echo "$as_me: creating cache $cache_file" >&6;}
|
|---|
| 1255 | >$cache_file
|
|---|
| 1256 | fi
|
|---|
| 1257 |
|
|---|
| 1258 | # Check that the precious variables saved in the cache have kept the same
|
|---|
| 1259 | # value.
|
|---|
| 1260 | ac_cache_corrupted=false
|
|---|
| 1261 | for ac_var in `(set) 2>&1 |
|
|---|
| 1262 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
|---|
| 1263 | eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
|---|
| 1264 | eval ac_new_set=\$ac_env_${ac_var}_set
|
|---|
| 1265 | eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
|---|
| 1266 | eval ac_new_val="\$ac_env_${ac_var}_value"
|
|---|
| 1267 | case $ac_old_set,$ac_new_set in
|
|---|
| 1268 | set,)
|
|---|
| 1269 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
|---|
| 1270 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
|---|
| 1271 | ac_cache_corrupted=: ;;
|
|---|
| 1272 | ,set)
|
|---|
| 1273 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
|---|
| 1274 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
|---|
| 1275 | ac_cache_corrupted=: ;;
|
|---|
| 1276 | ,);;
|
|---|
| 1277 | *)
|
|---|
| 1278 | if test "x$ac_old_val" != "x$ac_new_val"; then
|
|---|
| 1279 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
|---|
| 1280 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
|---|
| 1281 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
|---|
| 1282 | echo "$as_me: former value: $ac_old_val" >&2;}
|
|---|
| 1283 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
|---|
| 1284 | echo "$as_me: current value: $ac_new_val" >&2;}
|
|---|
| 1285 | ac_cache_corrupted=:
|
|---|
| 1286 | fi;;
|
|---|
| 1287 | esac
|
|---|
| 1288 | # Pass precious variables to config.status.
|
|---|
| 1289 | if test "$ac_new_set" = set; then
|
|---|
| 1290 | case $ac_new_val in
|
|---|
| 1291 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
|---|
| 1292 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|---|
| 1293 | *) ac_arg=$ac_var=$ac_new_val ;;
|
|---|
| 1294 | esac
|
|---|
| 1295 | case " $ac_configure_args " in
|
|---|
| 1296 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
|---|
| 1297 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
|---|
| 1298 | esac
|
|---|
| 1299 | fi
|
|---|
| 1300 | done
|
|---|
| 1301 | if $ac_cache_corrupted; then
|
|---|
| 1302 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
|---|
| 1303 | echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
|---|
| 1304 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
|---|
| 1305 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
|---|
| 1306 | { (exit 1); exit 1; }; }
|
|---|
| 1307 | fi
|
|---|
| 1308 |
|
|---|
| 1309 | ac_ext=c
|
|---|
| 1310 | ac_cpp='$CPP $CPPFLAGS'
|
|---|
| 1311 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|---|
| 1312 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|---|
| 1313 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|---|
| 1314 |
|
|---|
| 1315 |
|
|---|
| 1316 |
|
|---|
| 1317 |
|
|---|
| 1318 |
|
|---|
| 1319 |
|
|---|
| 1320 |
|
|---|
| 1321 |
|
|---|
| 1322 |
|
|---|
| 1323 |
|
|---|
| 1324 |
|
|---|
| 1325 |
|
|---|
| 1326 |
|
|---|
| 1327 |
|
|---|
| 1328 |
|
|---|
| 1329 |
|
|---|
| 1330 |
|
|---|
| 1331 |
|
|---|
| 1332 |
|
|---|
| 1333 |
|
|---|
| 1334 | # This works around the fact that libtool configuration may change LD
|
|---|
| 1335 | # for this particular configuration, but some shells, instead of
|
|---|
| 1336 | # keeping the changes in LD private, export them just because LD is
|
|---|
| 1337 | # exported.
|
|---|
| 1338 | ORIGINAL_LD_FOR_MULTILIBS=$LD
|
|---|
| 1339 |
|
|---|
| 1340 |
|
|---|
| 1341 | if test "x${with_target_subdir}" != x && \
|
|---|
| 1342 | test "${srcdir}" = "."; then
|
|---|
| 1343 | if test "${with_target_subdir}" != "."; then
|
|---|
| 1344 | zlib_basedir="${srcdir}/${with_multisrctop}../"
|
|---|
| 1345 | else
|
|---|
| 1346 | zlib_basedir="${srcdir}/${with_multisrctop}"
|
|---|
| 1347 | fi
|
|---|
| 1348 | else
|
|---|
| 1349 | zlib_basedir="${srcdir}/"
|
|---|
| 1350 | fi
|
|---|
| 1351 |
|
|---|
| 1352 | ac_aux_dir=
|
|---|
| 1353 | for ac_dir in $zlib_basedir.. $srcdir/$zlib_basedir..; do
|
|---|
| 1354 | if test -f $ac_dir/install-sh; then
|
|---|
| 1355 | ac_aux_dir=$ac_dir
|
|---|
| 1356 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
|---|
| 1357 | break
|
|---|
| 1358 | elif test -f $ac_dir/install.sh; then
|
|---|
| 1359 | ac_aux_dir=$ac_dir
|
|---|
| 1360 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
|---|
| 1361 | break
|
|---|
| 1362 | elif test -f $ac_dir/shtool; then
|
|---|
| 1363 | ac_aux_dir=$ac_dir
|
|---|
| 1364 | ac_install_sh="$ac_aux_dir/shtool install -c"
|
|---|
| 1365 | break
|
|---|
| 1366 | fi
|
|---|
| 1367 | done
|
|---|
| 1368 | if test -z "$ac_aux_dir"; then
|
|---|
| 1369 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $zlib_basedir.. $srcdir/$zlib_basedir.." >&5
|
|---|
| 1370 | echo "$as_me: error: cannot find install-sh or install.sh in $zlib_basedir.. $srcdir/$zlib_basedir.." >&2;}
|
|---|
| 1371 | { (exit 1); exit 1; }; }
|
|---|
| 1372 | fi
|
|---|
| 1373 | ac_config_guess="$SHELL $ac_aux_dir/config.guess"
|
|---|
| 1374 | ac_config_sub="$SHELL $ac_aux_dir/config.sub"
|
|---|
| 1375 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
|---|
| 1376 |
|
|---|
| 1377 | if :; then :; else
|
|---|
| 1378 | # This overrides the previous occurrence for automake, but not for
|
|---|
| 1379 | # autoconf, which is exactly what we want.
|
|---|
| 1380 | ac_aux_dir=
|
|---|
| 1381 | for ac_dir in .. $srcdir/..; do
|
|---|
| 1382 | if test -f $ac_dir/install-sh; then
|
|---|
| 1383 | ac_aux_dir=$ac_dir
|
|---|
| 1384 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
|---|
| 1385 | break
|
|---|
| 1386 | elif test -f $ac_dir/install.sh; then
|
|---|
| 1387 | ac_aux_dir=$ac_dir
|
|---|
| 1388 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
|---|
| 1389 | break
|
|---|
| 1390 | elif test -f $ac_dir/shtool; then
|
|---|
| 1391 | ac_aux_dir=$ac_dir
|
|---|
| 1392 | ac_install_sh="$ac_aux_dir/shtool install -c"
|
|---|
| 1393 | break
|
|---|
| 1394 | fi
|
|---|
| 1395 | done
|
|---|
| 1396 | if test -z "$ac_aux_dir"; then
|
|---|
| 1397 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
|
|---|
| 1398 | echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
|
|---|
| 1399 | { (exit 1); exit 1; }; }
|
|---|
| 1400 | fi
|
|---|
| 1401 | ac_config_guess="$SHELL $ac_aux_dir/config.guess"
|
|---|
| 1402 | ac_config_sub="$SHELL $ac_aux_dir/config.sub"
|
|---|
| 1403 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
|---|
| 1404 |
|
|---|
| 1405 | fi
|
|---|
| 1406 |
|
|---|
| 1407 | # Make sure we can run config.sub.
|
|---|
| 1408 | $ac_config_sub sun4 >/dev/null 2>&1 ||
|
|---|
| 1409 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
|
|---|
| 1410 | echo "$as_me: error: cannot run $ac_config_sub" >&2;}
|
|---|
| 1411 | { (exit 1); exit 1; }; }
|
|---|
| 1412 |
|
|---|
| 1413 | echo "$as_me:$LINENO: checking build system type" >&5
|
|---|
| 1414 | echo $ECHO_N "checking build system type... $ECHO_C" >&6
|
|---|
| 1415 | if test "${ac_cv_build+set}" = set; then
|
|---|
| 1416 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 1417 | else
|
|---|
| 1418 | ac_cv_build_alias=$build_alias
|
|---|
| 1419 | test -z "$ac_cv_build_alias" &&
|
|---|
| 1420 | ac_cv_build_alias=`$ac_config_guess`
|
|---|
| 1421 | test -z "$ac_cv_build_alias" &&
|
|---|
| 1422 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
|
|---|
| 1423 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
|---|
| 1424 | { (exit 1); exit 1; }; }
|
|---|
| 1425 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
|
|---|
| 1426 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
|
|---|
| 1427 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
|
|---|
| 1428 | { (exit 1); exit 1; }; }
|
|---|
| 1429 |
|
|---|
| 1430 | fi
|
|---|
| 1431 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5
|
|---|
| 1432 | echo "${ECHO_T}$ac_cv_build" >&6
|
|---|
| 1433 | build=$ac_cv_build
|
|---|
| 1434 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
|---|
| 1435 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
|---|
| 1436 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
|---|
| 1437 |
|
|---|
| 1438 |
|
|---|
| 1439 | echo "$as_me:$LINENO: checking host system type" >&5
|
|---|
| 1440 | echo $ECHO_N "checking host system type... $ECHO_C" >&6
|
|---|
| 1441 | if test "${ac_cv_host+set}" = set; then
|
|---|
| 1442 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 1443 | else
|
|---|
| 1444 | ac_cv_host_alias=$host_alias
|
|---|
| 1445 | test -z "$ac_cv_host_alias" &&
|
|---|
| 1446 | ac_cv_host_alias=$ac_cv_build_alias
|
|---|
| 1447 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
|
|---|
| 1448 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
|
|---|
| 1449 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
|
|---|
| 1450 | { (exit 1); exit 1; }; }
|
|---|
| 1451 |
|
|---|
| 1452 | fi
|
|---|
| 1453 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5
|
|---|
| 1454 | echo "${ECHO_T}$ac_cv_host" >&6
|
|---|
| 1455 | host=$ac_cv_host
|
|---|
| 1456 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
|---|
| 1457 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
|---|
| 1458 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
|---|
| 1459 |
|
|---|
| 1460 |
|
|---|
| 1461 | echo "$as_me:$LINENO: checking target system type" >&5
|
|---|
| 1462 | echo $ECHO_N "checking target system type... $ECHO_C" >&6
|
|---|
| 1463 | if test "${ac_cv_target+set}" = set; then
|
|---|
| 1464 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 1465 | else
|
|---|
| 1466 | ac_cv_target_alias=$target_alias
|
|---|
| 1467 | test "x$ac_cv_target_alias" = "x" &&
|
|---|
| 1468 | ac_cv_target_alias=$ac_cv_host_alias
|
|---|
| 1469 | ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
|
|---|
| 1470 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
|
|---|
| 1471 | echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
|
|---|
| 1472 | { (exit 1); exit 1; }; }
|
|---|
| 1473 |
|
|---|
| 1474 | fi
|
|---|
| 1475 | echo "$as_me:$LINENO: result: $ac_cv_target" >&5
|
|---|
| 1476 | echo "${ECHO_T}$ac_cv_target" >&6
|
|---|
| 1477 | target=$ac_cv_target
|
|---|
| 1478 | target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
|---|
| 1479 | target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
|---|
| 1480 | target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
|---|
| 1481 |
|
|---|
| 1482 |
|
|---|
| 1483 | # The aliases save the names the user supplied, while $host etc.
|
|---|
| 1484 | # will get canonicalized.
|
|---|
| 1485 | test -n "$target_alias" &&
|
|---|
| 1486 | test "$program_prefix$program_suffix$program_transform_name" = \
|
|---|
| 1487 | NONENONEs,x,x, &&
|
|---|
| 1488 | program_prefix=${target_alias}-
|
|---|
| 1489 |
|
|---|
| 1490 | # This works around an automake problem.
|
|---|
| 1491 | mkinstalldirs="`cd $ac_aux_dir && pwd`/mkinstalldirs"
|
|---|
| 1492 |
|
|---|
| 1493 |
|
|---|
| 1494 | # Find a good install program. We prefer a C program (faster),
|
|---|
| 1495 | # so one script is as good as another. But avoid the broken or
|
|---|
| 1496 | # incompatible versions:
|
|---|
| 1497 | # SysV /etc/install, /usr/sbin/install
|
|---|
| 1498 | # SunOS /usr/etc/install
|
|---|
| 1499 | # IRIX /sbin/install
|
|---|
| 1500 | # AIX /bin/install
|
|---|
| 1501 | # AmigaOS /C/install, which installs bootblocks on floppy discs
|
|---|
| 1502 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
|---|
| 1503 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
|---|
| 1504 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|---|
| 1505 | # OS/2's system install, which has a completely different semantic
|
|---|
| 1506 | # ./install, which can be erroneously created by make from ./install.sh.
|
|---|
| 1507 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
|---|
| 1508 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
|
|---|
| 1509 | if test -z "$INSTALL"; then
|
|---|
| 1510 | if test "${ac_cv_path_install+set}" = set; then
|
|---|
| 1511 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 1512 | else
|
|---|
| 1513 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|---|
| 1514 | for as_dir in $PATH
|
|---|
| 1515 | do
|
|---|
| 1516 | IFS=$as_save_IFS
|
|---|
| 1517 | test -z "$as_dir" && as_dir=.
|
|---|
| 1518 | # Account for people who put trailing slashes in PATH elements.
|
|---|
| 1519 | case $as_dir/ in
|
|---|
| 1520 | ./ | .// | /cC/* | \
|
|---|
| 1521 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
|---|
| 1522 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
|---|
| 1523 | /usr/ucb/* ) ;;
|
|---|
| 1524 | *)
|
|---|
| 1525 | # OSF1 and SCO ODT 3.0 have their own names for install.
|
|---|
| 1526 | # Don't use installbsd from OSF since it installs stuff as root
|
|---|
| 1527 | # by default.
|
|---|
| 1528 | for ac_prog in ginstall scoinst install; do
|
|---|
| 1529 | for ac_exec_ext in '' $ac_executable_extensions; do
|
|---|
| 1530 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
|---|
| 1531 | if test $ac_prog = install &&
|
|---|
| 1532 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|---|
| 1533 | # AIX install. It has an incompatible calling convention.
|
|---|
| 1534 | :
|
|---|
| 1535 | elif test $ac_prog = install &&
|
|---|
| 1536 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|---|
| 1537 | # program-specific install script used by HP pwplus--don't use.
|
|---|
| 1538 | :
|
|---|
| 1539 | else
|
|---|
| 1540 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
|---|
| 1541 | break 3
|
|---|
| 1542 | fi
|
|---|
| 1543 | fi
|
|---|
| 1544 | done
|
|---|
| 1545 | done
|
|---|
| 1546 | ;;
|
|---|
| 1547 | esac
|
|---|
| 1548 | done
|
|---|
| 1549 |
|
|---|
| 1550 |
|
|---|
| 1551 | fi
|
|---|
| 1552 | if test "${ac_cv_path_install+set}" = set; then
|
|---|
| 1553 | INSTALL=$ac_cv_path_install
|
|---|
| 1554 | else
|
|---|
| 1555 | # As a last resort, use the slow shell script. We don't cache a
|
|---|
| 1556 | # path for INSTALL within a source directory, because that will
|
|---|
| 1557 | # break other packages using the cache if that directory is
|
|---|
| 1558 | # removed, or if the path is relative.
|
|---|
| 1559 | INSTALL=$ac_install_sh
|
|---|
| 1560 | fi
|
|---|
| 1561 | fi
|
|---|
| 1562 | echo "$as_me:$LINENO: result: $INSTALL" >&5
|
|---|
| 1563 | echo "${ECHO_T}$INSTALL" >&6
|
|---|
| 1564 |
|
|---|
| 1565 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
|---|
| 1566 | # It thinks the first close brace ends the variable substitution.
|
|---|
| 1567 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
|---|
| 1568 |
|
|---|
| 1569 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
|---|
| 1570 |
|
|---|
| 1571 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|---|
| 1572 |
|
|---|
| 1573 | echo "$as_me:$LINENO: checking whether build environment is sane" >&5
|
|---|
| 1574 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
|
|---|
| 1575 | # Just in case
|
|---|
| 1576 | sleep 1
|
|---|
| 1577 | echo timestamp > conftestfile
|
|---|
| 1578 | # Do `set' in a subshell so we don't clobber the current shell's
|
|---|
| 1579 | # arguments. Must try -L first in case configure is actually a
|
|---|
| 1580 | # symlink; some systems play weird games with the mod time of symlinks
|
|---|
| 1581 | # (eg FreeBSD returns the mod time of the symlink's containing
|
|---|
| 1582 | # directory).
|
|---|
| 1583 | if (
|
|---|
| 1584 | set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
|
|---|
| 1585 | if test "$*" = "X"; then
|
|---|
| 1586 | # -L didn't work.
|
|---|
| 1587 | set X `ls -t $srcdir/configure conftestfile`
|
|---|
| 1588 | fi
|
|---|
| 1589 | if test "$*" != "X $srcdir/configure conftestfile" \
|
|---|
| 1590 | && test "$*" != "X conftestfile $srcdir/configure"; then
|
|---|
| 1591 |
|
|---|
| 1592 | # If neither matched, then we have a broken ls. This can happen
|
|---|
| 1593 | # if, for instance, CONFIG_SHELL is bash and it inherits a
|
|---|
| 1594 | # broken ls alias from the environment. This has actually
|
|---|
| 1595 | # happened. Such a system could not be considered "sane".
|
|---|
| 1596 | { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
|
|---|
| 1597 | alias in your environment" >&5
|
|---|
| 1598 | echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
|---|
| 1599 | alias in your environment" >&2;}
|
|---|
| 1600 | { (exit 1); exit 1; }; }
|
|---|
| 1601 | fi
|
|---|
| 1602 |
|
|---|
| 1603 | test "$2" = conftestfile
|
|---|
| 1604 | )
|
|---|
| 1605 | then
|
|---|
| 1606 | # Ok.
|
|---|
| 1607 | :
|
|---|
| 1608 | else
|
|---|
| 1609 | { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
|
|---|
| 1610 | Check your system clock" >&5
|
|---|
| 1611 | echo "$as_me: error: newly created file is older than distributed files!
|
|---|
| 1612 | Check your system clock" >&2;}
|
|---|
| 1613 | { (exit 1); exit 1; }; }
|
|---|
| 1614 | fi
|
|---|
| 1615 | rm -f conftest*
|
|---|
| 1616 | echo "$as_me:$LINENO: result: yes" >&5
|
|---|
| 1617 | echo "${ECHO_T}yes" >&6
|
|---|
| 1618 | test "$program_prefix" != NONE &&
|
|---|
| 1619 | program_transform_name="s,^,$program_prefix,;$program_transform_name"
|
|---|
| 1620 | # Use a double $ so make ignores it.
|
|---|
| 1621 | test "$program_suffix" != NONE &&
|
|---|
| 1622 | program_transform_name="s,\$,$program_suffix,;$program_transform_name"
|
|---|
| 1623 | # Double any \ or $. echo might interpret backslashes.
|
|---|
| 1624 | # By default was `s,x,x', remove it if useless.
|
|---|
| 1625 | cat <<\_ACEOF >conftest.sed
|
|---|
| 1626 | s/[\\$]/&&/g;s/;s,x,x,$//
|
|---|
| 1627 | _ACEOF
|
|---|
| 1628 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
|---|
| 1629 | rm conftest.sed
|
|---|
| 1630 |
|
|---|
| 1631 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
|---|
| 1632 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
|
|---|
| 1633 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
|
|---|
| 1634 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
|
|---|
| 1635 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 1636 | else
|
|---|
| 1637 | cat >conftest.make <<\_ACEOF
|
|---|
| 1638 | all:
|
|---|
| 1639 | @echo 'ac_maketemp="$(MAKE)"'
|
|---|
| 1640 | _ACEOF
|
|---|
| 1641 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
|---|
| 1642 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
|
|---|
| 1643 | if test -n "$ac_maketemp"; then
|
|---|
| 1644 | eval ac_cv_prog_make_${ac_make}_set=yes
|
|---|
| 1645 | else
|
|---|
| 1646 | eval ac_cv_prog_make_${ac_make}_set=no
|
|---|
| 1647 | fi
|
|---|
| 1648 | rm -f conftest.make
|
|---|
| 1649 | fi
|
|---|
| 1650 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
|---|
| 1651 | echo "$as_me:$LINENO: result: yes" >&5
|
|---|
| 1652 | echo "${ECHO_T}yes" >&6
|
|---|
| 1653 | SET_MAKE=
|
|---|
| 1654 | else
|
|---|
| 1655 | echo "$as_me:$LINENO: result: no" >&5
|
|---|
| 1656 | echo "${ECHO_T}no" >&6
|
|---|
| 1657 | SET_MAKE="MAKE=${MAKE-make}"
|
|---|
| 1658 | fi
|
|---|
| 1659 |
|
|---|
| 1660 |
|
|---|
| 1661 | PACKAGE=zlib
|
|---|
| 1662 |
|
|---|
| 1663 | VERSION=1.1.3
|
|---|
| 1664 |
|
|---|
| 1665 | if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
|
|---|
| 1666 | { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
|---|
| 1667 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
|---|
| 1668 | { (exit 1); exit 1; }; }
|
|---|
| 1669 | fi
|
|---|
| 1670 |
|
|---|
| 1671 | cat >>confdefs.h <<_ACEOF
|
|---|
| 1672 | #define PACKAGE "$PACKAGE"
|
|---|
| 1673 | _ACEOF
|
|---|
| 1674 |
|
|---|
| 1675 |
|
|---|
| 1676 | cat >>confdefs.h <<_ACEOF
|
|---|
| 1677 | #define VERSION "$VERSION"
|
|---|
| 1678 | _ACEOF
|
|---|
| 1679 |
|
|---|
| 1680 |
|
|---|
| 1681 |
|
|---|
| 1682 | missing_dir=`cd $ac_aux_dir && pwd`
|
|---|
| 1683 | echo "$as_me:$LINENO: checking for working aclocal" >&5
|
|---|
| 1684 | echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6
|
|---|
| 1685 | # Run test in a subshell; some versions of sh will print an error if
|
|---|
| 1686 | # an executable is not found, even if stderr is redirected.
|
|---|
| 1687 | # Redirect stdin to placate older versions of autoconf. Sigh.
|
|---|
| 1688 | if (aclocal --version) < /dev/null > /dev/null 2>&1; then
|
|---|
| 1689 | ACLOCAL=aclocal
|
|---|
| 1690 | echo "$as_me:$LINENO: result: found" >&5
|
|---|
| 1691 | echo "${ECHO_T}found" >&6
|
|---|
| 1692 | else
|
|---|
| 1693 | ACLOCAL="$missing_dir/missing aclocal"
|
|---|
| 1694 | echo "$as_me:$LINENO: result: missing" >&5
|
|---|
| 1695 | echo "${ECHO_T}missing" >&6
|
|---|
| 1696 | fi
|
|---|
| 1697 |
|
|---|
| 1698 | echo "$as_me:$LINENO: checking for working autoconf" >&5
|
|---|
| 1699 | echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
|
|---|
| 1700 | # Run test in a subshell; some versions of sh will print an error if
|
|---|
| 1701 | # an executable is not found, even if stderr is redirected.
|
|---|
| 1702 | # Redirect stdin to placate older versions of autoconf. Sigh.
|
|---|
| 1703 | if (autoconf --version) < /dev/null > /dev/null 2>&1; then
|
|---|
| 1704 | AUTOCONF=autoconf
|
|---|
| 1705 | echo "$as_me:$LINENO: result: found" >&5
|
|---|
| 1706 | echo "${ECHO_T}found" >&6
|
|---|
| 1707 | else
|
|---|
| 1708 | AUTOCONF="$missing_dir/missing autoconf"
|
|---|
| 1709 | echo "$as_me:$LINENO: result: missing" >&5
|
|---|
| 1710 | echo "${ECHO_T}missing" >&6
|
|---|
| 1711 | fi
|
|---|
| 1712 |
|
|---|
| 1713 | echo "$as_me:$LINENO: checking for working automake" >&5
|
|---|
| 1714 | echo $ECHO_N "checking for working automake... $ECHO_C" >&6
|
|---|
| 1715 | # Run test in a subshell; some versions of sh will print an error if
|
|---|
| 1716 | # an executable is not found, even if stderr is redirected.
|
|---|
| 1717 | # Redirect stdin to placate older versions of autoconf. Sigh.
|
|---|
| 1718 | if (automake --version) < /dev/null > /dev/null 2>&1; then
|
|---|
| 1719 | AUTOMAKE=automake
|
|---|
| 1720 | echo "$as_me:$LINENO: result: found" >&5
|
|---|
| 1721 | echo "${ECHO_T}found" >&6
|
|---|
| 1722 | else
|
|---|
| 1723 | AUTOMAKE="$missing_dir/missing automake"
|
|---|
| 1724 | echo "$as_me:$LINENO: result: missing" >&5
|
|---|
| 1725 | echo "${ECHO_T}missing" >&6
|
|---|
| 1726 | fi
|
|---|
| 1727 |
|
|---|
| 1728 | echo "$as_me:$LINENO: checking for working autoheader" >&5
|
|---|
| 1729 | echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
|
|---|
| 1730 | # Run test in a subshell; some versions of sh will print an error if
|
|---|
| 1731 | # an executable is not found, even if stderr is redirected.
|
|---|
| 1732 | # Redirect stdin to placate older versions of autoconf. Sigh.
|
|---|
| 1733 | if (autoheader --version) < /dev/null > /dev/null 2>&1; then
|
|---|
| 1734 | AUTOHEADER=autoheader
|
|---|
| 1735 | echo "$as_me:$LINENO: result: found" >&5
|
|---|
| 1736 | echo "${ECHO_T}found" >&6
|
|---|
| 1737 | else
|
|---|
| 1738 | AUTOHEADER="$missing_dir/missing autoheader"
|
|---|
| 1739 | echo "$as_me:$LINENO: result: missing" >&5
|
|---|
| 1740 | echo "${ECHO_T}missing" >&6
|
|---|
| 1741 | fi
|
|---|
| 1742 |
|
|---|
| 1743 | echo "$as_me:$LINENO: checking for working makeinfo" >&5
|
|---|
| 1744 | echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
|
|---|
| 1745 | # Run test in a subshell; some versions of sh will print an error if
|
|---|
| 1746 | # an executable is not found, even if stderr is redirected.
|
|---|
| 1747 | # Redirect stdin to placate older versions of autoconf. Sigh.
|
|---|
| 1748 | if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
|
|---|
| 1749 | MAKEINFO=makeinfo
|
|---|
| 1750 | echo "$as_me:$LINENO: result: found" >&5
|
|---|
| 1751 | echo "${ECHO_T}found" >&6
|
|---|
| 1752 | else
|
|---|
| 1753 | MAKEINFO="$missing_dir/missing makeinfo"
|
|---|
| 1754 | echo "$as_me:$LINENO: result: missing" >&5
|
|---|
| 1755 | echo "${ECHO_T}missing" >&6
|
|---|
| 1756 | fi
|
|---|
| 1757 |
|
|---|
| 1758 |
|
|---|
| 1759 |
|
|---|
| 1760 | echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
|---|
| 1761 | echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
|
|---|
| 1762 | # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
|
|---|
| 1763 | if test "${enable_maintainer_mode+set}" = set; then
|
|---|
| 1764 | enableval="$enable_maintainer_mode"
|
|---|
| 1765 | USE_MAINTAINER_MODE=$enableval
|
|---|
| 1766 | else
|
|---|
| 1767 | USE_MAINTAINER_MODE=no
|
|---|
| 1768 | fi;
|
|---|
| 1769 | echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
|
|---|
| 1770 | echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
|
|---|
| 1771 |
|
|---|
| 1772 |
|
|---|
| 1773 | if test $USE_MAINTAINER_MODE = yes; then
|
|---|
| 1774 | MAINTAINER_MODE_TRUE=
|
|---|
| 1775 | MAINTAINER_MODE_FALSE='#'
|
|---|
| 1776 | else
|
|---|
| 1777 | MAINTAINER_MODE_TRUE='#'
|
|---|
| 1778 | MAINTAINER_MODE_FALSE=
|
|---|
| 1779 | fi
|
|---|
| 1780 | MAINT=$MAINTAINER_MODE_TRUE
|
|---|
| 1781 |
|
|---|
| 1782 |
|
|---|
| 1783 |
|
|---|
| 1784 |
|
|---|
| 1785 | # Check whether --with-target-subdir or --without-target-subdir was given.
|
|---|
| 1786 | if test "${with_target_subdir+set}" = set; then
|
|---|
| 1787 | withval="$with_target_subdir"
|
|---|
| 1788 |
|
|---|
| 1789 | fi;
|
|---|
| 1790 |
|
|---|
| 1791 | # Check whether --with-cross-host or --without-cross-host was given.
|
|---|
| 1792 | if test "${with_cross_host+set}" = set; then
|
|---|
| 1793 | withval="$with_cross_host"
|
|---|
| 1794 |
|
|---|
| 1795 | fi;
|
|---|
| 1796 |
|
|---|
| 1797 | # Check whether --enable-multilib or --disable-multilib was given.
|
|---|
| 1798 | if test "${enable_multilib+set}" = set; then
|
|---|
| 1799 | enableval="$enable_multilib"
|
|---|
| 1800 | case "${enableval}" in
|
|---|
| 1801 | yes) multilib=yes ;;
|
|---|
| 1802 | no) multilib=no ;;
|
|---|
| 1803 | *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
|
|---|
| 1804 | echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
|
|---|
| 1805 | { (exit 1); exit 1; }; } ;;
|
|---|
| 1806 | esac
|
|---|
| 1807 | else
|
|---|
| 1808 | test -z "$with_target_subdir" && multilib=no || multilib=yes
|
|---|
| 1809 | fi;
|
|---|
| 1810 |
|
|---|
| 1811 | # Check whether --with-system-zlib or --without-system-zlib was given.
|
|---|
| 1812 | if test "${with_system_zlib+set}" = set; then
|
|---|
| 1813 | withval="$with_system_zlib"
|
|---|
| 1814 |
|
|---|
| 1815 | fi;
|
|---|
| 1816 |
|
|---|
| 1817 |
|
|---|
| 1818 | # Extract the first word of "gcc", so it can be a program name with args.
|
|---|
| 1819 | set dummy gcc; ac_word=$2
|
|---|
| 1820 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|---|
| 1821 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|---|
| 1822 | if test "${ac_cv_prog_CC+set}" = set; then
|
|---|
| 1823 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 1824 | else
|
|---|
| 1825 | if test -n "$CC"; then
|
|---|
| 1826 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
|---|
| 1827 | else
|
|---|
| 1828 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|---|
| 1829 | for as_dir in $PATH
|
|---|
| 1830 | do
|
|---|
| 1831 | IFS=$as_save_IFS
|
|---|
| 1832 | test -z "$as_dir" && as_dir=.
|
|---|
| 1833 | for ac_exec_ext in '' $ac_executable_extensions; do
|
|---|
| 1834 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|---|
| 1835 | ac_cv_prog_CC="gcc"
|
|---|
| 1836 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|---|
| 1837 | break 2
|
|---|
| 1838 | fi
|
|---|
| 1839 | done
|
|---|
| 1840 | done
|
|---|
| 1841 |
|
|---|
| 1842 | fi
|
|---|
| 1843 | fi
|
|---|
| 1844 | CC=$ac_cv_prog_CC
|
|---|
| 1845 | if test -n "$CC"; then
|
|---|
| 1846 | echo "$as_me:$LINENO: result: $CC" >&5
|
|---|
| 1847 | echo "${ECHO_T}$CC" >&6
|
|---|
| 1848 | else
|
|---|
| 1849 | echo "$as_me:$LINENO: result: no" >&5
|
|---|
| 1850 | echo "${ECHO_T}no" >&6
|
|---|
| 1851 | fi
|
|---|
| 1852 |
|
|---|
| 1853 | if test -z "$CC"; then
|
|---|
| 1854 | # Extract the first word of "cc", so it can be a program name with args.
|
|---|
| 1855 | set dummy cc; ac_word=$2
|
|---|
| 1856 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|---|
| 1857 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|---|
| 1858 | if test "${ac_cv_prog_CC+set}" = set; then
|
|---|
| 1859 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 1860 | else
|
|---|
| 1861 | if test -n "$CC"; then
|
|---|
| 1862 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
|---|
| 1863 | else
|
|---|
| 1864 | ac_prog_rejected=no
|
|---|
| 1865 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|---|
| 1866 | for as_dir in $PATH
|
|---|
| 1867 | do
|
|---|
| 1868 | IFS=$as_save_IFS
|
|---|
| 1869 | test -z "$as_dir" && as_dir=.
|
|---|
| 1870 | for ac_exec_ext in '' $ac_executable_extensions; do
|
|---|
| 1871 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|---|
| 1872 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
|---|
| 1873 | ac_prog_rejected=yes
|
|---|
| 1874 | continue
|
|---|
| 1875 | fi
|
|---|
| 1876 | ac_cv_prog_CC="cc"
|
|---|
| 1877 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|---|
| 1878 | break 2
|
|---|
| 1879 | fi
|
|---|
| 1880 | done
|
|---|
| 1881 | done
|
|---|
| 1882 |
|
|---|
| 1883 | if test $ac_prog_rejected = yes; then
|
|---|
| 1884 | # We found a bogon in the path, so make sure we never use it.
|
|---|
| 1885 | set dummy $ac_cv_prog_CC
|
|---|
| 1886 | shift
|
|---|
| 1887 | if test $# != 0; then
|
|---|
| 1888 | # We chose a different compiler from the bogus one.
|
|---|
| 1889 | # However, it has the same basename, so the bogon will be chosen
|
|---|
| 1890 | # first if we set CC to just the basename; use the full file name.
|
|---|
| 1891 | shift
|
|---|
| 1892 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
|---|
| 1893 | fi
|
|---|
| 1894 | fi
|
|---|
| 1895 | fi
|
|---|
| 1896 | fi
|
|---|
| 1897 | CC=$ac_cv_prog_CC
|
|---|
| 1898 | if test -n "$CC"; then
|
|---|
| 1899 | echo "$as_me:$LINENO: result: $CC" >&5
|
|---|
| 1900 | echo "${ECHO_T}$CC" >&6
|
|---|
| 1901 | else
|
|---|
| 1902 | echo "$as_me:$LINENO: result: no" >&5
|
|---|
| 1903 | echo "${ECHO_T}no" >&6
|
|---|
| 1904 | fi
|
|---|
| 1905 |
|
|---|
| 1906 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
|
|---|
| 1907 | echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
|
|---|
| 1908 | { (exit 1); exit 1; }; }
|
|---|
| 1909 | fi
|
|---|
| 1910 |
|
|---|
| 1911 | AC_PROG_CC_GNU
|
|---|
| 1912 |
|
|---|
| 1913 | if test $ac_cv_c_compiler_gnu = yes; then
|
|---|
| 1914 | GCC=yes
|
|---|
| 1915 | ac_test_CFLAGS="${CFLAGS+set}"
|
|---|
| 1916 | ac_save_CFLAGS="$CFLAGS"
|
|---|
| 1917 | CFLAGS=
|
|---|
| 1918 | AC_PROG_CC_G
|
|---|
| 1919 | if test "$ac_test_CFLAGS" = set; then
|
|---|
| 1920 | CFLAGS="$ac_save_CFLAGS"
|
|---|
| 1921 | elif test $ac_cv_prog_cc_g = yes; then
|
|---|
| 1922 | CFLAGS="-g -O2"
|
|---|
| 1923 | else
|
|---|
| 1924 | CFLAGS="-O2"
|
|---|
| 1925 | fi
|
|---|
| 1926 | else
|
|---|
| 1927 | GCC=
|
|---|
| 1928 | test "${CFLAGS+set}" = set || CFLAGS="-g"
|
|---|
| 1929 | fi
|
|---|
| 1930 |
|
|---|
| 1931 | # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
|
|---|
| 1932 | # at least currently, we never actually build a program, so we never
|
|---|
| 1933 | # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
|
|---|
| 1934 | # fails, because we are probably configuring with a cross compiler
|
|---|
| 1935 | # which cant create executables. So we include AC_EXEEXT to keep
|
|---|
| 1936 | # automake happy, but we dont execute it, since we dont care about
|
|---|
| 1937 | # the result.
|
|---|
| 1938 | if false; then
|
|---|
| 1939 | # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
|
|---|
| 1940 | # to nothing, so nothing would remain between `then' and `fi' if it
|
|---|
| 1941 | # were not for the `:' below.
|
|---|
| 1942 | :
|
|---|
| 1943 |
|
|---|
| 1944 | fi
|
|---|
| 1945 | # Check whether --enable-shared or --disable-shared was given.
|
|---|
| 1946 | if test "${enable_shared+set}" = set; then
|
|---|
| 1947 | enableval="$enable_shared"
|
|---|
| 1948 | p=${PACKAGE-default}
|
|---|
| 1949 | case $enableval in
|
|---|
| 1950 | yes) enable_shared=yes ;;
|
|---|
| 1951 | no) enable_shared=no ;;
|
|---|
| 1952 | *)
|
|---|
| 1953 | enable_shared=no
|
|---|
| 1954 | # Look at the argument we got. We use all the common list separators.
|
|---|
| 1955 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
|
|---|
| 1956 | for pkg in $enableval; do
|
|---|
| 1957 | if test "X$pkg" = "X$p"; then
|
|---|
| 1958 | enable_shared=yes
|
|---|
| 1959 | fi
|
|---|
| 1960 | done
|
|---|
| 1961 | IFS="$ac_save_ifs"
|
|---|
| 1962 | ;;
|
|---|
| 1963 | esac
|
|---|
| 1964 | else
|
|---|
| 1965 | enable_shared=yes
|
|---|
| 1966 | fi;
|
|---|
| 1967 | # Check whether --enable-static or --disable-static was given.
|
|---|
| 1968 | if test "${enable_static+set}" = set; then
|
|---|
| 1969 | enableval="$enable_static"
|
|---|
| 1970 | p=${PACKAGE-default}
|
|---|
| 1971 | case $enableval in
|
|---|
| 1972 | yes) enable_static=yes ;;
|
|---|
| 1973 | no) enable_static=no ;;
|
|---|
| 1974 | *)
|
|---|
| 1975 | enable_static=no
|
|---|
| 1976 | # Look at the argument we got. We use all the common list separators.
|
|---|
| 1977 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
|
|---|
| 1978 | for pkg in $enableval; do
|
|---|
| 1979 | if test "X$pkg" = "X$p"; then
|
|---|
| 1980 | enable_static=yes
|
|---|
| 1981 | fi
|
|---|
| 1982 | done
|
|---|
| 1983 | IFS="$ac_save_ifs"
|
|---|
| 1984 | ;;
|
|---|
| 1985 | esac
|
|---|
| 1986 | else
|
|---|
| 1987 | enable_static=yes
|
|---|
| 1988 | fi;
|
|---|
| 1989 | # Check whether --enable-fast-install or --disable-fast-install was given.
|
|---|
| 1990 | if test "${enable_fast_install+set}" = set; then
|
|---|
| 1991 | enableval="$enable_fast_install"
|
|---|
| 1992 | p=${PACKAGE-default}
|
|---|
| 1993 | case $enableval in
|
|---|
| 1994 | yes) enable_fast_install=yes ;;
|
|---|
| 1995 | no) enable_fast_install=no ;;
|
|---|
| 1996 | *)
|
|---|
| 1997 | enable_fast_install=no
|
|---|
| 1998 | # Look at the argument we got. We use all the common list separators.
|
|---|
| 1999 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
|
|---|
| 2000 | for pkg in $enableval; do
|
|---|
| 2001 | if test "X$pkg" = "X$p"; then
|
|---|
| 2002 | enable_fast_install=yes
|
|---|
| 2003 | fi
|
|---|
| 2004 | done
|
|---|
| 2005 | IFS="$ac_save_ifs"
|
|---|
| 2006 | ;;
|
|---|
| 2007 | esac
|
|---|
| 2008 | else
|
|---|
| 2009 | enable_fast_install=yes
|
|---|
| 2010 | fi;
|
|---|
| 2011 |
|
|---|
| 2012 | # Check whether --with-gnu-ld or --without-gnu-ld was given.
|
|---|
| 2013 | if test "${with_gnu_ld+set}" = set; then
|
|---|
| 2014 | withval="$with_gnu_ld"
|
|---|
| 2015 | test "$withval" = no || with_gnu_ld=yes
|
|---|
| 2016 | else
|
|---|
| 2017 | with_gnu_ld=no
|
|---|
| 2018 | fi;
|
|---|
| 2019 | ac_prog=ld
|
|---|
| 2020 | if test "$GCC" = yes; then
|
|---|
| 2021 | # Check if gcc -print-prog-name=ld gives a path.
|
|---|
| 2022 | echo "$as_me:$LINENO: checking for ld used by GCC" >&5
|
|---|
| 2023 | echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
|
|---|
| 2024 | case $host in
|
|---|
| 2025 | *-*-mingw*)
|
|---|
| 2026 | # gcc leaves a trailing carriage return which upsets mingw
|
|---|
| 2027 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
|
|---|
| 2028 | *)
|
|---|
| 2029 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
|
|---|
| 2030 | esac
|
|---|
| 2031 | case $ac_prog in
|
|---|
| 2032 | # Accept absolute paths.
|
|---|
| 2033 | [\\/]* | [A-Za-z]:[\\/]*)
|
|---|
| 2034 | re_direlt='/[^/][^/]*/\.\./'
|
|---|
| 2035 | # Canonicalize the path of ld
|
|---|
| 2036 | ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
|
|---|
| 2037 | while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
|
|---|
| 2038 | ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
|
|---|
| 2039 | done
|
|---|
| 2040 | test -z "$LD" && LD="$ac_prog"
|
|---|
| 2041 | ;;
|
|---|
| 2042 | "")
|
|---|
| 2043 | # If it fails, then pretend we aren't using GCC.
|
|---|
| 2044 | ac_prog=ld
|
|---|
| 2045 | ;;
|
|---|
| 2046 | *)
|
|---|
| 2047 | # If it is relative, then search for the first ld in PATH.
|
|---|
| 2048 | with_gnu_ld=unknown
|
|---|
| 2049 | ;;
|
|---|
| 2050 | esac
|
|---|
| 2051 | elif test "$with_gnu_ld" = yes; then
|
|---|
| 2052 | echo "$as_me:$LINENO: checking for GNU ld" >&5
|
|---|
| 2053 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
|
|---|
| 2054 | else
|
|---|
| 2055 | echo "$as_me:$LINENO: checking for non-GNU ld" >&5
|
|---|
| 2056 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
|
|---|
| 2057 | fi
|
|---|
| 2058 | if test "${lt_cv_path_LD+set}" = set; then
|
|---|
| 2059 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 2060 | else
|
|---|
| 2061 | if test -z "$LD"; then
|
|---|
| 2062 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
|
|---|
| 2063 | for ac_dir in $PATH; do
|
|---|
| 2064 | test -z "$ac_dir" && ac_dir=.
|
|---|
| 2065 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
|
|---|
| 2066 | lt_cv_path_LD="$ac_dir/$ac_prog"
|
|---|
| 2067 | # Check to see if the program is GNU ld. I'd rather use --version,
|
|---|
| 2068 | # but apparently some GNU ld's only accept -v.
|
|---|
| 2069 | # Break only if it was the GNU/non-GNU ld that we prefer.
|
|---|
| 2070 | if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
|
|---|
| 2071 | test "$with_gnu_ld" != no && break
|
|---|
| 2072 | else
|
|---|
| 2073 | test "$with_gnu_ld" != yes && break
|
|---|
| 2074 | fi
|
|---|
| 2075 | fi
|
|---|
| 2076 | done
|
|---|
| 2077 | IFS="$ac_save_ifs"
|
|---|
| 2078 | else
|
|---|
| 2079 | lt_cv_path_LD="$LD" # Let the user override the test with a path.
|
|---|
| 2080 | fi
|
|---|
| 2081 | fi
|
|---|
| 2082 |
|
|---|
| 2083 | LD="$lt_cv_path_LD"
|
|---|
| 2084 | if test -n "$LD"; then
|
|---|
| 2085 | echo "$as_me:$LINENO: result: $LD" >&5
|
|---|
| 2086 | echo "${ECHO_T}$LD" >&6
|
|---|
| 2087 | else
|
|---|
| 2088 | echo "$as_me:$LINENO: result: no" >&5
|
|---|
| 2089 | echo "${ECHO_T}no" >&6
|
|---|
| 2090 | fi
|
|---|
| 2091 | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
|
|---|
| 2092 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
|
|---|
| 2093 | { (exit 1); exit 1; }; }
|
|---|
| 2094 | echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
|
|---|
| 2095 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
|
|---|
| 2096 | if test "${lt_cv_prog_gnu_ld+set}" = set; then
|
|---|
| 2097 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 2098 | else
|
|---|
| 2099 | # I'd rather use --version here, but apparently some GNU ld's only accept -v.
|
|---|
| 2100 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
|
|---|
| 2101 | lt_cv_prog_gnu_ld=yes
|
|---|
| 2102 | else
|
|---|
| 2103 | lt_cv_prog_gnu_ld=no
|
|---|
| 2104 | fi
|
|---|
| 2105 | fi
|
|---|
| 2106 | echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
|
|---|
| 2107 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
|
|---|
| 2108 | with_gnu_ld=$lt_cv_prog_gnu_ld
|
|---|
| 2109 |
|
|---|
| 2110 |
|
|---|
| 2111 | echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
|
|---|
| 2112 | echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
|
|---|
| 2113 | if test "${lt_cv_ld_reload_flag+set}" = set; then
|
|---|
| 2114 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 2115 | else
|
|---|
| 2116 | lt_cv_ld_reload_flag='-r'
|
|---|
| 2117 | fi
|
|---|
| 2118 | echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
|
|---|
| 2119 | echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
|
|---|
| 2120 | reload_flag=$lt_cv_ld_reload_flag
|
|---|
| 2121 | test -n "$reload_flag" && reload_flag=" $reload_flag"
|
|---|
| 2122 |
|
|---|
| 2123 | echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
|
|---|
| 2124 | echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
|
|---|
| 2125 | if test "${lt_cv_path_NM+set}" = set; then
|
|---|
| 2126 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 2127 | else
|
|---|
| 2128 | if test -n "$NM"; then
|
|---|
| 2129 | # Let the user override the test.
|
|---|
| 2130 | lt_cv_path_NM="$NM"
|
|---|
| 2131 | else
|
|---|
| 2132 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
|
|---|
| 2133 | for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
|
|---|
| 2134 | test -z "$ac_dir" && ac_dir=.
|
|---|
| 2135 | tmp_nm=$ac_dir/${ac_tool_prefix}nm
|
|---|
| 2136 | if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
|
|---|
| 2137 | # Check to see if the nm accepts a BSD-compat flag.
|
|---|
| 2138 | # Adding the `sed 1q' prevents false positives on HP-UX, which says:
|
|---|
| 2139 | # nm: unknown option "B" ignored
|
|---|
| 2140 | # Tru64's nm complains that /dev/null is an invalid object file
|
|---|
| 2141 | if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
|
|---|
| 2142 | lt_cv_path_NM="$tmp_nm -B"
|
|---|
| 2143 | break
|
|---|
| 2144 | elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
|
|---|
| 2145 | lt_cv_path_NM="$tmp_nm -p"
|
|---|
| 2146 | break
|
|---|
| 2147 | else
|
|---|
| 2148 | lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
|
|---|
| 2149 | continue # so that we can try to find one that supports BSD flags
|
|---|
| 2150 | fi
|
|---|
| 2151 | fi
|
|---|
| 2152 | done
|
|---|
| 2153 | IFS="$ac_save_ifs"
|
|---|
| 2154 | test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
|
|---|
| 2155 | fi
|
|---|
| 2156 | fi
|
|---|
| 2157 |
|
|---|
| 2158 | NM="$lt_cv_path_NM"
|
|---|
| 2159 | echo "$as_me:$LINENO: result: $NM" >&5
|
|---|
| 2160 | echo "${ECHO_T}$NM" >&6
|
|---|
| 2161 |
|
|---|
| 2162 | echo "$as_me:$LINENO: checking whether ln -s works" >&5
|
|---|
| 2163 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
|
|---|
| 2164 | LN_S=$as_ln_s
|
|---|
| 2165 | if test "$LN_S" = "ln -s"; then
|
|---|
| 2166 | echo "$as_me:$LINENO: result: yes" >&5
|
|---|
| 2167 | echo "${ECHO_T}yes" >&6
|
|---|
| 2168 | else
|
|---|
| 2169 | echo "$as_me:$LINENO: result: no, using $LN_S" >&5
|
|---|
| 2170 | echo "${ECHO_T}no, using $LN_S" >&6
|
|---|
| 2171 | fi
|
|---|
| 2172 |
|
|---|
| 2173 | echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
|
|---|
| 2174 | echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
|
|---|
| 2175 | if test "${lt_cv_deplibs_check_method+set}" = set; then
|
|---|
| 2176 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 2177 | else
|
|---|
| 2178 | lt_cv_file_magic_cmd='$MAGIC_CMD'
|
|---|
| 2179 | lt_cv_file_magic_test_file=
|
|---|
| 2180 | lt_cv_deplibs_check_method='unknown'
|
|---|
| 2181 | # Need to set the preceding variable on all platforms that support
|
|---|
| 2182 | # interlibrary dependencies.
|
|---|
| 2183 | # 'none' -- dependencies not supported.
|
|---|
| 2184 | # `unknown' -- same as none, but documents that we really don't know.
|
|---|
| 2185 | # 'pass_all' -- all dependencies passed with no checks.
|
|---|
| 2186 | # 'test_compile' -- check by making test program.
|
|---|
| 2187 | # 'file_magic [regex]' -- check by looking for files in library path
|
|---|
| 2188 | # which responds to the $file_magic_cmd with a given egrep regex.
|
|---|
| 2189 | # If you have `file' or equivalent on your system and you're not sure
|
|---|
| 2190 | # whether `pass_all' will *always* work, you probably want this one.
|
|---|
| 2191 |
|
|---|
| 2192 | case $host_os in
|
|---|
| 2193 | aix*)
|
|---|
| 2194 | lt_cv_deplibs_check_method=pass_all
|
|---|
| 2195 | ;;
|
|---|
| 2196 |
|
|---|
| 2197 | beos*)
|
|---|
| 2198 | lt_cv_deplibs_check_method=pass_all
|
|---|
| 2199 | ;;
|
|---|
| 2200 |
|
|---|
| 2201 | bsdi4*)
|
|---|
| 2202 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
|
|---|
| 2203 | lt_cv_file_magic_cmd='/usr/bin/file -L'
|
|---|
| 2204 | lt_cv_file_magic_test_file=/shlib/libc.so
|
|---|
| 2205 | ;;
|
|---|
| 2206 |
|
|---|
| 2207 | cygwin* | mingw* |pw32*)
|
|---|
| 2208 | lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
|
|---|
| 2209 | lt_cv_file_magic_cmd='$OBJDUMP -f'
|
|---|
| 2210 | ;;
|
|---|
| 2211 |
|
|---|
| 2212 | darwin* | rhapsody*)
|
|---|
| 2213 | lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
|
|---|
| 2214 | lt_cv_file_magic_cmd='/usr/bin/file -L'
|
|---|
| 2215 | case "$host_os" in
|
|---|
| 2216 | rhapsody* | darwin1.012)
|
|---|
| 2217 | lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
|
|---|
| 2218 | ;;
|
|---|
| 2219 | *) # Darwin 1.3 on
|
|---|
| 2220 | lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
|
|---|
| 2221 | ;;
|
|---|
| 2222 | esac
|
|---|
| 2223 | ;;
|
|---|
| 2224 |
|
|---|
| 2225 | freebsd* )
|
|---|
| 2226 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
|
|---|
| 2227 | case $host_cpu in
|
|---|
| 2228 | i*86 )
|
|---|
| 2229 | # Not sure whether the presence of OpenBSD here was a mistake.
|
|---|
| 2230 | # Let's accept both of them until this is cleared up.
|
|---|
| 2231 | lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
|
|---|
| 2232 | lt_cv_file_magic_cmd=/usr/bin/file
|
|---|
| 2233 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
|
|---|
| 2234 | ;;
|
|---|
| 2235 | esac
|
|---|
| 2236 | else
|
|---|
| 2237 | lt_cv_deplibs_check_method=pass_all
|
|---|
| 2238 | fi
|
|---|
| 2239 | ;;
|
|---|
| 2240 |
|
|---|
| 2241 | gnu*)
|
|---|
| 2242 | lt_cv_deplibs_check_method=pass_all
|
|---|
| 2243 | ;;
|
|---|
| 2244 |
|
|---|
| 2245 | hpux10.20*|hpux11*)
|
|---|
| 2246 | case $host_cpu in
|
|---|
| 2247 | hppa*)
|
|---|
| 2248 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
|
|---|
| 2249 | lt_cv_file_magic_cmd=/usr/bin/file
|
|---|
| 2250 | lt_cv_file_magic_test_file=/usr/lib/libc.sl
|
|---|
| 2251 | ;;
|
|---|
| 2252 | ia64*)
|
|---|
| 2253 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
|
|---|
| 2254 | lt_cv_file_magic_cmd=/usr/bin/file
|
|---|
| 2255 | lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
|
|---|
| 2256 | ;;
|
|---|
| 2257 | esac
|
|---|
| 2258 | ;;
|
|---|
| 2259 |
|
|---|
| 2260 | irix5* | irix6*)
|
|---|
| 2261 | case $host_os in
|
|---|
| 2262 | irix5*)
|
|---|
| 2263 | # this will be overridden with pass_all, but let us keep it just in case
|
|---|
| 2264 | lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
|
|---|
| 2265 | ;;
|
|---|
| 2266 | *)
|
|---|
| 2267 | case $LD in
|
|---|
| 2268 | *-32|*"-32 ") libmagic=32-bit;;
|
|---|
| 2269 | *-n32|*"-n32 ") libmagic=N32;;
|
|---|
| 2270 | *-64|*"-64 ") libmagic=64-bit;;
|
|---|
| 2271 | *) libmagic=never-match;;
|
|---|
| 2272 | esac
|
|---|
| 2273 | # this will be overridden with pass_all, but let us keep it just in case
|
|---|
| 2274 | lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
|
|---|
| 2275 | ;;
|
|---|
| 2276 | esac
|
|---|
| 2277 | lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
|
|---|
| 2278 | lt_cv_deplibs_check_method=pass_all
|
|---|
| 2279 | ;;
|
|---|
| 2280 |
|
|---|
| 2281 | # This must be Linux ELF.
|
|---|
| 2282 | linux-gnu*)
|
|---|
| 2283 | case $host_cpu in
|
|---|
| 2284 | alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
|
|---|
| 2285 | lt_cv_deplibs_check_method=pass_all ;;
|
|---|
| 2286 | *)
|
|---|
| 2287 | # glibc up to 2.1.1 does not perform some relocations on ARM
|
|---|
| 2288 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
|
|---|
| 2289 | esac
|
|---|
| 2290 | lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
|
|---|
| 2291 | ;;
|
|---|
| 2292 |
|
|---|
| 2293 | netbsd*)
|
|---|
| 2294 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
|
|---|
| 2295 | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
|
|---|
| 2296 | else
|
|---|
| 2297 | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
|
|---|
| 2298 | fi
|
|---|
| 2299 | ;;
|
|---|
| 2300 |
|
|---|
| 2301 | newsos6)
|
|---|
| 2302 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
|
|---|
| 2303 | lt_cv_file_magic_cmd=/usr/bin/file
|
|---|
| 2304 | lt_cv_file_magic_test_file=/usr/lib/libnls.so
|
|---|
| 2305 | ;;
|
|---|
| 2306 |
|
|---|
| 2307 | os2*)
|
|---|
| 2308 | lt_cv_deplibs_check_method=pass_all
|
|---|
| 2309 | ;;
|
|---|
| 2310 |
|
|---|
| 2311 | osf3* | osf4* | osf5*)
|
|---|
| 2312 | # this will be overridden with pass_all, but let us keep it just in case
|
|---|
| 2313 | lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
|
|---|
| 2314 | lt_cv_file_magic_test_file=/shlib/libc.so
|
|---|
| 2315 | lt_cv_deplibs_check_method=pass_all
|
|---|
| 2316 | ;;
|
|---|
| 2317 |
|
|---|
| 2318 | sco3.2v5*)
|
|---|
| 2319 | lt_cv_deplibs_check_method=pass_all
|
|---|
| 2320 | ;;
|
|---|
| 2321 |
|
|---|
| 2322 | solaris*)
|
|---|
| 2323 | lt_cv_deplibs_check_method=pass_all
|
|---|
| 2324 | lt_cv_file_magic_test_file=/lib/libc.so
|
|---|
| 2325 | ;;
|
|---|
| 2326 |
|
|---|
| 2327 | sysv5uw[78]* | sysv4*uw2*)
|
|---|
| 2328 | lt_cv_deplibs_check_method=pass_all
|
|---|
| 2329 | ;;
|
|---|
| 2330 |
|
|---|
| 2331 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
|
|---|
| 2332 | case $host_vendor in
|
|---|
| 2333 | ncr)
|
|---|
| 2334 | lt_cv_deplibs_check_method=pass_all
|
|---|
| 2335 | ;;
|
|---|
| 2336 | motorola)
|
|---|
| 2337 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
|
|---|
| 2338 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
|
|---|
| 2339 | ;;
|
|---|
| 2340 | esac
|
|---|
| 2341 | ;;
|
|---|
| 2342 | esac
|
|---|
| 2343 |
|
|---|
| 2344 | fi
|
|---|
| 2345 | echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
|
|---|
| 2346 | echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
|
|---|
| 2347 | file_magic_cmd=$lt_cv_file_magic_cmd
|
|---|
| 2348 | deplibs_check_method=$lt_cv_deplibs_check_method
|
|---|
| 2349 |
|
|---|
| 2350 |
|
|---|
| 2351 |
|
|---|
| 2352 |
|
|---|
| 2353 | # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
|
|---|
| 2354 |
|
|---|
| 2355 | # Only perform the check for file, if the check method requires it
|
|---|
| 2356 | case $deplibs_check_method in
|
|---|
| 2357 | file_magic*)
|
|---|
| 2358 | if test "$file_magic_cmd" = '$MAGIC_CMD'; then
|
|---|
| 2359 | echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
|
|---|
| 2360 | echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
|
|---|
| 2361 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
|
|---|
| 2362 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 2363 | else
|
|---|
| 2364 | case $MAGIC_CMD in
|
|---|
| 2365 | /*)
|
|---|
| 2366 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
|
|---|
| 2367 | ;;
|
|---|
| 2368 | ?:/*)
|
|---|
| 2369 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
|
|---|
| 2370 | ;;
|
|---|
| 2371 | *)
|
|---|
| 2372 | ac_save_MAGIC_CMD="$MAGIC_CMD"
|
|---|
| 2373 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
|---|
| 2374 | ac_dummy="/usr/bin:$PATH"
|
|---|
| 2375 | for ac_dir in $ac_dummy; do
|
|---|
| 2376 | test -z "$ac_dir" && ac_dir=.
|
|---|
| 2377 | if test -f $ac_dir/${ac_tool_prefix}file; then
|
|---|
| 2378 | lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
|
|---|
| 2379 | if test -n "$file_magic_test_file"; then
|
|---|
| 2380 | case $deplibs_check_method in
|
|---|
| 2381 | "file_magic "*)
|
|---|
| 2382 | file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
|
|---|
| 2383 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
|---|
| 2384 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
|
|---|
| 2385 | egrep "$file_magic_regex" > /dev/null; then
|
|---|
| 2386 | :
|
|---|
| 2387 | else
|
|---|
| 2388 | cat <<EOF 1>&2
|
|---|
| 2389 |
|
|---|
| 2390 | *** Warning: the command libtool uses to detect shared libraries,
|
|---|
| 2391 | *** $file_magic_cmd, produces output that libtool cannot recognize.
|
|---|
| 2392 | *** The result is that libtool may fail to recognize shared libraries
|
|---|
| 2393 | *** as such. This will affect the creation of libtool libraries that
|
|---|
| 2394 | *** depend on shared libraries, but programs linked with such libtool
|
|---|
| 2395 | *** libraries will work regardless of this problem. Nevertheless, you
|
|---|
| 2396 | *** may want to report the problem to your system manager and/or to
|
|---|
| 2397 | *** bug-libtool@gnu.org
|
|---|
| 2398 |
|
|---|
| 2399 | EOF
|
|---|
| 2400 | fi ;;
|
|---|
| 2401 | esac
|
|---|
| 2402 | fi
|
|---|
| 2403 | break
|
|---|
| 2404 | fi
|
|---|
| 2405 | done
|
|---|
| 2406 | IFS="$ac_save_ifs"
|
|---|
| 2407 | MAGIC_CMD="$ac_save_MAGIC_CMD"
|
|---|
| 2408 | ;;
|
|---|
| 2409 | esac
|
|---|
| 2410 | fi
|
|---|
| 2411 |
|
|---|
| 2412 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
|---|
| 2413 | if test -n "$MAGIC_CMD"; then
|
|---|
| 2414 | echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
|
|---|
| 2415 | echo "${ECHO_T}$MAGIC_CMD" >&6
|
|---|
| 2416 | else
|
|---|
| 2417 | echo "$as_me:$LINENO: result: no" >&5
|
|---|
| 2418 | echo "${ECHO_T}no" >&6
|
|---|
| 2419 | fi
|
|---|
| 2420 |
|
|---|
| 2421 | if test -z "$lt_cv_path_MAGIC_CMD"; then
|
|---|
| 2422 | if test -n "$ac_tool_prefix"; then
|
|---|
| 2423 | echo "$as_me:$LINENO: checking for file" >&5
|
|---|
| 2424 | echo $ECHO_N "checking for file... $ECHO_C" >&6
|
|---|
| 2425 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
|
|---|
| 2426 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 2427 | else
|
|---|
| 2428 | case $MAGIC_CMD in
|
|---|
| 2429 | /*)
|
|---|
| 2430 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
|
|---|
| 2431 | ;;
|
|---|
| 2432 | ?:/*)
|
|---|
| 2433 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
|
|---|
| 2434 | ;;
|
|---|
| 2435 | *)
|
|---|
| 2436 | ac_save_MAGIC_CMD="$MAGIC_CMD"
|
|---|
| 2437 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
|---|
| 2438 | ac_dummy="/usr/bin:$PATH"
|
|---|
| 2439 | for ac_dir in $ac_dummy; do
|
|---|
| 2440 | test -z "$ac_dir" && ac_dir=.
|
|---|
| 2441 | if test -f $ac_dir/file; then
|
|---|
| 2442 | lt_cv_path_MAGIC_CMD="$ac_dir/file"
|
|---|
| 2443 | if test -n "$file_magic_test_file"; then
|
|---|
| 2444 | case $deplibs_check_method in
|
|---|
| 2445 | "file_magic "*)
|
|---|
| 2446 | file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
|
|---|
| 2447 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
|---|
| 2448 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
|
|---|
| 2449 | egrep "$file_magic_regex" > /dev/null; then
|
|---|
| 2450 | :
|
|---|
| 2451 | else
|
|---|
| 2452 | cat <<EOF 1>&2
|
|---|
| 2453 |
|
|---|
| 2454 | *** Warning: the command libtool uses to detect shared libraries,
|
|---|
| 2455 | *** $file_magic_cmd, produces output that libtool cannot recognize.
|
|---|
| 2456 | *** The result is that libtool may fail to recognize shared libraries
|
|---|
| 2457 | *** as such. This will affect the creation of libtool libraries that
|
|---|
| 2458 | *** depend on shared libraries, but programs linked with such libtool
|
|---|
| 2459 | *** libraries will work regardless of this problem. Nevertheless, you
|
|---|
| 2460 | *** may want to report the problem to your system manager and/or to
|
|---|
| 2461 | *** bug-libtool@gnu.org
|
|---|
| 2462 |
|
|---|
| 2463 | EOF
|
|---|
| 2464 | fi ;;
|
|---|
| 2465 | esac
|
|---|
| 2466 | fi
|
|---|
| 2467 | break
|
|---|
| 2468 | fi
|
|---|
| 2469 | done
|
|---|
| 2470 | IFS="$ac_save_ifs"
|
|---|
| 2471 | MAGIC_CMD="$ac_save_MAGIC_CMD"
|
|---|
| 2472 | ;;
|
|---|
| 2473 | esac
|
|---|
| 2474 | fi
|
|---|
| 2475 |
|
|---|
| 2476 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
|---|
| 2477 | if test -n "$MAGIC_CMD"; then
|
|---|
| 2478 | echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
|
|---|
| 2479 | echo "${ECHO_T}$MAGIC_CMD" >&6
|
|---|
| 2480 | else
|
|---|
| 2481 | echo "$as_me:$LINENO: result: no" >&5
|
|---|
| 2482 | echo "${ECHO_T}no" >&6
|
|---|
| 2483 | fi
|
|---|
| 2484 |
|
|---|
| 2485 | else
|
|---|
| 2486 | MAGIC_CMD=:
|
|---|
| 2487 | fi
|
|---|
| 2488 | fi
|
|---|
| 2489 |
|
|---|
| 2490 | fi
|
|---|
| 2491 | ;;
|
|---|
| 2492 | esac
|
|---|
| 2493 |
|
|---|
| 2494 | if test -n "$ac_tool_prefix"; then
|
|---|
| 2495 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
|---|
| 2496 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
|---|
| 2497 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|---|
| 2498 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|---|
| 2499 | if test "${ac_cv_prog_RANLIB+set}" = set; then
|
|---|
| 2500 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 2501 | else
|
|---|
| 2502 | if test -n "$RANLIB"; then
|
|---|
| 2503 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
|---|
| 2504 | else
|
|---|
| 2505 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|---|
| 2506 | for as_dir in $PATH
|
|---|
| 2507 | do
|
|---|
| 2508 | IFS=$as_save_IFS
|
|---|
| 2509 | test -z "$as_dir" && as_dir=.
|
|---|
| 2510 | for ac_exec_ext in '' $ac_executable_extensions; do
|
|---|
| 2511 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|---|
| 2512 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
|---|
| 2513 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|---|
| 2514 | break 2
|
|---|
| 2515 | fi
|
|---|
| 2516 | done
|
|---|
| 2517 | done
|
|---|
| 2518 |
|
|---|
| 2519 | fi
|
|---|
| 2520 | fi
|
|---|
| 2521 | RANLIB=$ac_cv_prog_RANLIB
|
|---|
| 2522 | if test -n "$RANLIB"; then
|
|---|
| 2523 | echo "$as_me:$LINENO: result: $RANLIB" >&5
|
|---|
| 2524 | echo "${ECHO_T}$RANLIB" >&6
|
|---|
| 2525 | else
|
|---|
| 2526 | echo "$as_me:$LINENO: result: no" >&5
|
|---|
| 2527 | echo "${ECHO_T}no" >&6
|
|---|
| 2528 | fi
|
|---|
| 2529 |
|
|---|
| 2530 | fi
|
|---|
| 2531 | if test -z "$ac_cv_prog_RANLIB"; then
|
|---|
| 2532 | ac_ct_RANLIB=$RANLIB
|
|---|
| 2533 | # Extract the first word of "ranlib", so it can be a program name with args.
|
|---|
| 2534 | set dummy ranlib; ac_word=$2
|
|---|
| 2535 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|---|
| 2536 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|---|
| 2537 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
|---|
| 2538 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 2539 | else
|
|---|
| 2540 | if test -n "$ac_ct_RANLIB"; then
|
|---|
| 2541 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
|---|
| 2542 | else
|
|---|
| 2543 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|---|
| 2544 | for as_dir in $PATH
|
|---|
| 2545 | do
|
|---|
| 2546 | IFS=$as_save_IFS
|
|---|
| 2547 | test -z "$as_dir" && as_dir=.
|
|---|
| 2548 | for ac_exec_ext in '' $ac_executable_extensions; do
|
|---|
| 2549 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|---|
| 2550 | ac_cv_prog_ac_ct_RANLIB="ranlib"
|
|---|
| 2551 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|---|
| 2552 | break 2
|
|---|
| 2553 | fi
|
|---|
| 2554 | done
|
|---|
| 2555 | done
|
|---|
| 2556 |
|
|---|
| 2557 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
|
|---|
| 2558 | fi
|
|---|
| 2559 | fi
|
|---|
| 2560 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
|---|
| 2561 | if test -n "$ac_ct_RANLIB"; then
|
|---|
| 2562 | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
|---|
| 2563 | echo "${ECHO_T}$ac_ct_RANLIB" >&6
|
|---|
| 2564 | else
|
|---|
| 2565 | echo "$as_me:$LINENO: result: no" >&5
|
|---|
| 2566 | echo "${ECHO_T}no" >&6
|
|---|
| 2567 | fi
|
|---|
| 2568 |
|
|---|
| 2569 | RANLIB=$ac_ct_RANLIB
|
|---|
| 2570 | else
|
|---|
| 2571 | RANLIB="$ac_cv_prog_RANLIB"
|
|---|
| 2572 | fi
|
|---|
| 2573 |
|
|---|
| 2574 | if test -n "$ac_tool_prefix"; then
|
|---|
| 2575 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
|---|
| 2576 | set dummy ${ac_tool_prefix}strip; ac_word=$2
|
|---|
| 2577 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|---|
| 2578 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|---|
| 2579 | if test "${ac_cv_prog_STRIP+set}" = set; then
|
|---|
| 2580 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 2581 | else
|
|---|
| 2582 | if test -n "$STRIP"; then
|
|---|
| 2583 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
|---|
| 2584 | else
|
|---|
| 2585 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|---|
| 2586 | for as_dir in $PATH
|
|---|
| 2587 | do
|
|---|
| 2588 | IFS=$as_save_IFS
|
|---|
| 2589 | test -z "$as_dir" && as_dir=.
|
|---|
| 2590 | for ac_exec_ext in '' $ac_executable_extensions; do
|
|---|
| 2591 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|---|
| 2592 | ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
|---|
| 2593 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|---|
| 2594 | break 2
|
|---|
| 2595 | fi
|
|---|
| 2596 | done
|
|---|
| 2597 | done
|
|---|
| 2598 |
|
|---|
| 2599 | fi
|
|---|
| 2600 | fi
|
|---|
| 2601 | STRIP=$ac_cv_prog_STRIP
|
|---|
| 2602 | if test -n "$STRIP"; then
|
|---|
| 2603 | echo "$as_me:$LINENO: result: $STRIP" >&5
|
|---|
| 2604 | echo "${ECHO_T}$STRIP" >&6
|
|---|
| 2605 | else
|
|---|
| 2606 | echo "$as_me:$LINENO: result: no" >&5
|
|---|
| 2607 | echo "${ECHO_T}no" >&6
|
|---|
| 2608 | fi
|
|---|
| 2609 |
|
|---|
| 2610 | fi
|
|---|
| 2611 | if test -z "$ac_cv_prog_STRIP"; then
|
|---|
| 2612 | ac_ct_STRIP=$STRIP
|
|---|
| 2613 | # Extract the first word of "strip", so it can be a program name with args.
|
|---|
| 2614 | set dummy strip; ac_word=$2
|
|---|
| 2615 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|---|
| 2616 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|---|
| 2617 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
|---|
| 2618 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 2619 | else
|
|---|
| 2620 | if test -n "$ac_ct_STRIP"; then
|
|---|
| 2621 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
|---|
| 2622 | else
|
|---|
| 2623 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|---|
| 2624 | for as_dir in $PATH
|
|---|
| 2625 | do
|
|---|
| 2626 | IFS=$as_save_IFS
|
|---|
| 2627 | test -z "$as_dir" && as_dir=.
|
|---|
| 2628 | for ac_exec_ext in '' $ac_executable_extensions; do
|
|---|
| 2629 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|---|
| 2630 | ac_cv_prog_ac_ct_STRIP="strip"
|
|---|
| 2631 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|---|
| 2632 | break 2
|
|---|
| 2633 | fi
|
|---|
| 2634 | done
|
|---|
| 2635 | done
|
|---|
| 2636 |
|
|---|
| 2637 | test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
|
|---|
| 2638 | fi
|
|---|
| 2639 | fi
|
|---|
| 2640 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
|---|
| 2641 | if test -n "$ac_ct_STRIP"; then
|
|---|
| 2642 | echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
|---|
| 2643 | echo "${ECHO_T}$ac_ct_STRIP" >&6
|
|---|
| 2644 | else
|
|---|
| 2645 | echo "$as_me:$LINENO: result: no" >&5
|
|---|
| 2646 | echo "${ECHO_T}no" >&6
|
|---|
| 2647 | fi
|
|---|
| 2648 |
|
|---|
| 2649 | STRIP=$ac_ct_STRIP
|
|---|
| 2650 | else
|
|---|
| 2651 | STRIP="$ac_cv_prog_STRIP"
|
|---|
| 2652 | fi
|
|---|
| 2653 |
|
|---|
| 2654 |
|
|---|
| 2655 | # Check for any special flags to pass to ltconfig.
|
|---|
| 2656 | libtool_flags="--cache-file=$cache_file"
|
|---|
| 2657 | test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
|
|---|
| 2658 | test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
|
|---|
| 2659 | test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
|
|---|
| 2660 | test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
|
|---|
| 2661 | test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
|
|---|
| 2662 |
|
|---|
| 2663 |
|
|---|
| 2664 | # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
|
|---|
| 2665 | if test "${enable_libtool_lock+set}" = set; then
|
|---|
| 2666 | enableval="$enable_libtool_lock"
|
|---|
| 2667 |
|
|---|
| 2668 | fi;
|
|---|
| 2669 | test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
|
|---|
| 2670 | test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
|
|---|
| 2671 |
|
|---|
| 2672 |
|
|---|
| 2673 | # Check whether --with-pic or --without-pic was given.
|
|---|
| 2674 | if test "${with_pic+set}" = set; then
|
|---|
| 2675 | withval="$with_pic"
|
|---|
| 2676 | pic_mode="$withval"
|
|---|
| 2677 | else
|
|---|
| 2678 | pic_mode=default
|
|---|
| 2679 | fi;
|
|---|
| 2680 | test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
|
|---|
| 2681 | test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
|
|---|
| 2682 |
|
|---|
| 2683 | # Some flags need to be propagated to the compiler or linker for good
|
|---|
| 2684 | # libtool support.
|
|---|
| 2685 | case $host in
|
|---|
| 2686 | *-*-irix6*)
|
|---|
| 2687 | # Find out which ABI we are using.
|
|---|
| 2688 | echo '#line 2688 "configure"' > conftest.$ac_ext
|
|---|
| 2689 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|---|
| 2690 | (eval $ac_compile) 2>&5
|
|---|
| 2691 | ac_status=$?
|
|---|
| 2692 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 2693 | (exit $ac_status); }; then
|
|---|
| 2694 | if test "$lt_cv_prog_gnu_ld" = yes; then
|
|---|
| 2695 | case `/usr/bin/file conftest.$ac_objext` in
|
|---|
| 2696 | *32-bit*)
|
|---|
| 2697 | LD="${LD-ld} -melf32bsmip"
|
|---|
| 2698 | ;;
|
|---|
| 2699 | *N32*)
|
|---|
| 2700 | LD="${LD-ld} -melf32bmipn32"
|
|---|
| 2701 | ;;
|
|---|
| 2702 | *64-bit*)
|
|---|
| 2703 | LD="${LD-ld} -melf64bmip"
|
|---|
| 2704 | ;;
|
|---|
| 2705 | esac
|
|---|
| 2706 | else
|
|---|
| 2707 | case `/usr/bin/file conftest.$ac_objext` in
|
|---|
| 2708 | *32-bit*)
|
|---|
| 2709 | LD="${LD-ld} -32"
|
|---|
| 2710 | ;;
|
|---|
| 2711 | *N32*)
|
|---|
| 2712 | LD="${LD-ld} -n32"
|
|---|
| 2713 | ;;
|
|---|
| 2714 | *64-bit*)
|
|---|
| 2715 | LD="${LD-ld} -64"
|
|---|
| 2716 | ;;
|
|---|
| 2717 | esac
|
|---|
| 2718 | fi
|
|---|
| 2719 | fi
|
|---|
| 2720 | rm -rf conftest*
|
|---|
| 2721 | ;;
|
|---|
| 2722 |
|
|---|
| 2723 | ia64-*-hpux*)
|
|---|
| 2724 | # Find out which ABI we are using.
|
|---|
| 2725 | echo 'int i;' > conftest.$ac_ext
|
|---|
| 2726 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|---|
| 2727 | (eval $ac_compile) 2>&5
|
|---|
| 2728 | ac_status=$?
|
|---|
| 2729 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 2730 | (exit $ac_status); }; then
|
|---|
| 2731 | case "`/usr/bin/file conftest.o`" in
|
|---|
| 2732 | *ELF-32*)
|
|---|
| 2733 | HPUX_IA64_MODE="32"
|
|---|
| 2734 | ;;
|
|---|
| 2735 | *ELF-64*)
|
|---|
| 2736 | HPUX_IA64_MODE="64"
|
|---|
| 2737 | ;;
|
|---|
| 2738 | esac
|
|---|
| 2739 | fi
|
|---|
| 2740 | rm -rf conftest*
|
|---|
| 2741 | ;;
|
|---|
| 2742 |
|
|---|
| 2743 | *-*-sco3.2v5*)
|
|---|
| 2744 | # On SCO OpenServer 5, we need -belf to get full-featured binaries.
|
|---|
| 2745 | SAVE_CFLAGS="$CFLAGS"
|
|---|
| 2746 | CFLAGS="$CFLAGS -belf"
|
|---|
| 2747 | echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
|
|---|
| 2748 | echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
|
|---|
| 2749 | if test "${lt_cv_cc_needs_belf+set}" = set; then
|
|---|
| 2750 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 2751 | else
|
|---|
| 2752 |
|
|---|
| 2753 |
|
|---|
| 2754 | ac_ext=c
|
|---|
| 2755 | ac_cpp='$CPP $CPPFLAGS'
|
|---|
| 2756 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|---|
| 2757 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|---|
| 2758 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|---|
| 2759 |
|
|---|
| 2760 | cat >conftest.$ac_ext <<_ACEOF
|
|---|
| 2761 | /* confdefs.h. */
|
|---|
| 2762 | _ACEOF
|
|---|
| 2763 | cat confdefs.h >>conftest.$ac_ext
|
|---|
| 2764 | cat >>conftest.$ac_ext <<_ACEOF
|
|---|
| 2765 | /* end confdefs.h. */
|
|---|
| 2766 |
|
|---|
| 2767 | int
|
|---|
| 2768 | main ()
|
|---|
| 2769 | {
|
|---|
| 2770 |
|
|---|
| 2771 | ;
|
|---|
| 2772 | return 0;
|
|---|
| 2773 | }
|
|---|
| 2774 | _ACEOF
|
|---|
| 2775 | rm -f conftest.$ac_objext conftest$ac_exeext
|
|---|
| 2776 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|---|
| 2777 | (eval $ac_link) 2>conftest.er1
|
|---|
| 2778 | ac_status=$?
|
|---|
| 2779 | grep -v '^ *+' conftest.er1 >conftest.err
|
|---|
| 2780 | rm -f conftest.er1
|
|---|
| 2781 | cat conftest.err >&5
|
|---|
| 2782 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 2783 | (exit $ac_status); } &&
|
|---|
| 2784 | { ac_try='test -z "$ac_c_werror_flag"
|
|---|
| 2785 | || test ! -s conftest.err'
|
|---|
| 2786 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|---|
| 2787 | (eval $ac_try) 2>&5
|
|---|
| 2788 | ac_status=$?
|
|---|
| 2789 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 2790 | (exit $ac_status); }; } &&
|
|---|
| 2791 | { ac_try='test -s conftest$ac_exeext'
|
|---|
| 2792 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|---|
| 2793 | (eval $ac_try) 2>&5
|
|---|
| 2794 | ac_status=$?
|
|---|
| 2795 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 2796 | (exit $ac_status); }; }; then
|
|---|
| 2797 | lt_cv_cc_needs_belf=yes
|
|---|
| 2798 | else
|
|---|
| 2799 | echo "$as_me: failed program was:" >&5
|
|---|
| 2800 | sed 's/^/| /' conftest.$ac_ext >&5
|
|---|
| 2801 |
|
|---|
| 2802 | lt_cv_cc_needs_belf=no
|
|---|
| 2803 | fi
|
|---|
| 2804 | rm -f conftest.err conftest.$ac_objext \
|
|---|
| 2805 | conftest$ac_exeext conftest.$ac_ext
|
|---|
| 2806 | ac_ext=c
|
|---|
| 2807 | ac_cpp='$CPP $CPPFLAGS'
|
|---|
| 2808 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|---|
| 2809 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|---|
| 2810 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|---|
| 2811 |
|
|---|
| 2812 | fi
|
|---|
| 2813 | echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
|
|---|
| 2814 | echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
|
|---|
| 2815 | if test x"$lt_cv_cc_needs_belf" != x"yes"; then
|
|---|
| 2816 | # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
|
|---|
| 2817 | CFLAGS="$SAVE_CFLAGS"
|
|---|
| 2818 | fi
|
|---|
| 2819 | ;;
|
|---|
| 2820 |
|
|---|
| 2821 |
|
|---|
| 2822 | esac
|
|---|
| 2823 |
|
|---|
| 2824 |
|
|---|
| 2825 | # Save cache, so that ltconfig can load it
|
|---|
| 2826 | cat >confcache <<\_ACEOF
|
|---|
| 2827 | # This file is a shell script that caches the results of configure
|
|---|
| 2828 | # tests run on this system so they can be shared between configure
|
|---|
| 2829 | # scripts and configure runs, see configure's option --config-cache.
|
|---|
| 2830 | # It is not useful on other systems. If it contains results you don't
|
|---|
| 2831 | # want to keep, you may remove or edit it.
|
|---|
| 2832 | #
|
|---|
| 2833 | # config.status only pays attention to the cache file if you give it
|
|---|
| 2834 | # the --recheck option to rerun configure.
|
|---|
| 2835 | #
|
|---|
| 2836 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
|---|
| 2837 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
|---|
| 2838 | # following values.
|
|---|
| 2839 |
|
|---|
| 2840 | _ACEOF
|
|---|
| 2841 |
|
|---|
| 2842 | # The following way of writing the cache mishandles newlines in values,
|
|---|
| 2843 | # but we know of no workaround that is simple, portable, and efficient.
|
|---|
| 2844 | # So, don't put newlines in cache variables' values.
|
|---|
| 2845 | # Ultrix sh set writes to stderr and can't be redirected directly,
|
|---|
| 2846 | # and sets the high bit in the cache file unless we assign to the vars.
|
|---|
| 2847 | {
|
|---|
| 2848 | (set) 2>&1 |
|
|---|
| 2849 | case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
|---|
| 2850 | *ac_space=\ *)
|
|---|
| 2851 | # `set' does not quote correctly, so add quotes (double-quote
|
|---|
| 2852 | # substitution turns \\\\ into \\, and sed turns \\ into \).
|
|---|
| 2853 | sed -n \
|
|---|
| 2854 | "s/'/'\\\\''/g;
|
|---|
| 2855 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
|---|
| 2856 | ;;
|
|---|
| 2857 | *)
|
|---|
| 2858 | # `set' quotes correctly as required by POSIX, so do not add quotes.
|
|---|
| 2859 | sed -n \
|
|---|
| 2860 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
|---|
| 2861 | ;;
|
|---|
| 2862 | esac;
|
|---|
| 2863 | } |
|
|---|
| 2864 | sed '
|
|---|
| 2865 | t clear
|
|---|
| 2866 | : clear
|
|---|
| 2867 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
|---|
| 2868 | t end
|
|---|
| 2869 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
|---|
| 2870 | : end' >>confcache
|
|---|
| 2871 | if diff $cache_file confcache >/dev/null 2>&1; then :; else
|
|---|
| 2872 | if test -w $cache_file; then
|
|---|
| 2873 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
|---|
| 2874 | cat confcache >$cache_file
|
|---|
| 2875 | else
|
|---|
| 2876 | echo "not updating unwritable cache $cache_file"
|
|---|
| 2877 | fi
|
|---|
| 2878 | fi
|
|---|
| 2879 | rm -f confcache
|
|---|
| 2880 |
|
|---|
| 2881 | # Actually configure libtool. ac_aux_dir is where install-sh is found.
|
|---|
| 2882 | AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
|
|---|
| 2883 | MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
|
|---|
| 2884 | LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
|
|---|
| 2885 | AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
|
|---|
| 2886 | objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
|
|---|
| 2887 | deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
|
|---|
| 2888 | ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
|
|---|
| 2889 | $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
|
|---|
| 2890 | || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
|
|---|
| 2891 | echo "$as_me: error: libtool configure failed" >&2;}
|
|---|
| 2892 | { (exit 1); exit 1; }; }
|
|---|
| 2893 |
|
|---|
| 2894 | # Reload cache, that may have been modified by ltconfig
|
|---|
| 2895 | if test -r "$cache_file"; then
|
|---|
| 2896 | # Some versions of bash will fail to source /dev/null (special
|
|---|
| 2897 | # files actually), so we avoid doing that.
|
|---|
| 2898 | if test -f "$cache_file"; then
|
|---|
| 2899 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
|---|
| 2900 | echo "$as_me: loading cache $cache_file" >&6;}
|
|---|
| 2901 | case $cache_file in
|
|---|
| 2902 | [\\/]* | ?:[\\/]* ) . $cache_file;;
|
|---|
| 2903 | *) . ./$cache_file;;
|
|---|
| 2904 | esac
|
|---|
| 2905 | fi
|
|---|
| 2906 | else
|
|---|
| 2907 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
|---|
| 2908 | echo "$as_me: creating cache $cache_file" >&6;}
|
|---|
| 2909 | >$cache_file
|
|---|
| 2910 | fi
|
|---|
| 2911 |
|
|---|
| 2912 |
|
|---|
| 2913 | # This can be used to rebuild libtool when needed
|
|---|
| 2914 | LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
|
|---|
| 2915 |
|
|---|
| 2916 | # Always use our own libtool.
|
|---|
| 2917 | LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
|---|
| 2918 |
|
|---|
| 2919 | # Redirect the config.log output again, so that the ltconfig log is not
|
|---|
| 2920 | # clobbered by the next message.
|
|---|
| 2921 | exec 5>>./config.log
|
|---|
| 2922 |
|
|---|
| 2923 |
|
|---|
| 2924 |
|
|---|
| 2925 |
|
|---|
| 2926 |
|
|---|
| 2927 |
|
|---|
| 2928 |
|
|---|
| 2929 | if test -z "$with_target_subdir" || test "$with_target_subdir" = "."; then
|
|---|
| 2930 | COMPPATH=.
|
|---|
| 2931 | else
|
|---|
| 2932 | COMPPATH=..
|
|---|
| 2933 | fi
|
|---|
| 2934 |
|
|---|
| 2935 |
|
|---|
| 2936 | # Find CPP now so that any conditional tests below won't do it and
|
|---|
| 2937 | # thereby make the resulting definitions conditional.
|
|---|
| 2938 | ac_ext=c
|
|---|
| 2939 | ac_cpp='$CPP $CPPFLAGS'
|
|---|
| 2940 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|---|
| 2941 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|---|
| 2942 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|---|
| 2943 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
|---|
| 2944 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
|
|---|
| 2945 | # On Suns, sometimes $CPP names a directory.
|
|---|
| 2946 | if test -n "$CPP" && test -d "$CPP"; then
|
|---|
| 2947 | CPP=
|
|---|
| 2948 | fi
|
|---|
| 2949 | if test -z "$CPP"; then
|
|---|
| 2950 | if test "${ac_cv_prog_CPP+set}" = set; then
|
|---|
| 2951 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 2952 | else
|
|---|
| 2953 | # Double quotes because CPP needs to be expanded
|
|---|
| 2954 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
|---|
| 2955 | do
|
|---|
| 2956 | ac_preproc_ok=false
|
|---|
| 2957 | for ac_c_preproc_warn_flag in '' yes
|
|---|
| 2958 | do
|
|---|
| 2959 | # Use a header file that comes with gcc, so configuring glibc
|
|---|
| 2960 | # with a fresh cross-compiler works.
|
|---|
| 2961 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|---|
| 2962 | # <limits.h> exists even on freestanding compilers.
|
|---|
| 2963 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
|---|
| 2964 | # not just through cpp. "Syntax error" is here to catch this case.
|
|---|
| 2965 | cat >conftest.$ac_ext <<_ACEOF
|
|---|
| 2966 | /* confdefs.h. */
|
|---|
| 2967 | _ACEOF
|
|---|
| 2968 | cat confdefs.h >>conftest.$ac_ext
|
|---|
| 2969 | cat >>conftest.$ac_ext <<_ACEOF
|
|---|
| 2970 | /* end confdefs.h. */
|
|---|
| 2971 | #ifdef __STDC__
|
|---|
| 2972 | # include <limits.h>
|
|---|
| 2973 | #else
|
|---|
| 2974 | # include <assert.h>
|
|---|
| 2975 | #endif
|
|---|
| 2976 | Syntax error
|
|---|
| 2977 | _ACEOF
|
|---|
| 2978 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|---|
| 2979 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|---|
| 2980 | ac_status=$?
|
|---|
| 2981 | grep -v '^ *+' conftest.er1 >conftest.err
|
|---|
| 2982 | rm -f conftest.er1
|
|---|
| 2983 | cat conftest.err >&5
|
|---|
| 2984 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 2985 | (exit $ac_status); } >/dev/null; then
|
|---|
| 2986 | if test -s conftest.err; then
|
|---|
| 2987 | ac_cpp_err=$ac_c_preproc_warn_flag
|
|---|
| 2988 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
|---|
| 2989 | else
|
|---|
| 2990 | ac_cpp_err=
|
|---|
| 2991 | fi
|
|---|
| 2992 | else
|
|---|
| 2993 | ac_cpp_err=yes
|
|---|
| 2994 | fi
|
|---|
| 2995 | if test -z "$ac_cpp_err"; then
|
|---|
| 2996 | :
|
|---|
| 2997 | else
|
|---|
| 2998 | echo "$as_me: failed program was:" >&5
|
|---|
| 2999 | sed 's/^/| /' conftest.$ac_ext >&5
|
|---|
| 3000 |
|
|---|
| 3001 | # Broken: fails on valid input.
|
|---|
| 3002 | continue
|
|---|
| 3003 | fi
|
|---|
| 3004 | rm -f conftest.err conftest.$ac_ext
|
|---|
| 3005 |
|
|---|
| 3006 | # OK, works on sane cases. Now check whether non-existent headers
|
|---|
| 3007 | # can be detected and how.
|
|---|
| 3008 | cat >conftest.$ac_ext <<_ACEOF
|
|---|
| 3009 | /* confdefs.h. */
|
|---|
| 3010 | _ACEOF
|
|---|
| 3011 | cat confdefs.h >>conftest.$ac_ext
|
|---|
| 3012 | cat >>conftest.$ac_ext <<_ACEOF
|
|---|
| 3013 | /* end confdefs.h. */
|
|---|
| 3014 | #include <ac_nonexistent.h>
|
|---|
| 3015 | _ACEOF
|
|---|
| 3016 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|---|
| 3017 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|---|
| 3018 | ac_status=$?
|
|---|
| 3019 | grep -v '^ *+' conftest.er1 >conftest.err
|
|---|
| 3020 | rm -f conftest.er1
|
|---|
| 3021 | cat conftest.err >&5
|
|---|
| 3022 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 3023 | (exit $ac_status); } >/dev/null; then
|
|---|
| 3024 | if test -s conftest.err; then
|
|---|
| 3025 | ac_cpp_err=$ac_c_preproc_warn_flag
|
|---|
| 3026 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
|---|
| 3027 | else
|
|---|
| 3028 | ac_cpp_err=
|
|---|
| 3029 | fi
|
|---|
| 3030 | else
|
|---|
| 3031 | ac_cpp_err=yes
|
|---|
| 3032 | fi
|
|---|
| 3033 | if test -z "$ac_cpp_err"; then
|
|---|
| 3034 | # Broken: success on invalid input.
|
|---|
| 3035 | continue
|
|---|
| 3036 | else
|
|---|
| 3037 | echo "$as_me: failed program was:" >&5
|
|---|
| 3038 | sed 's/^/| /' conftest.$ac_ext >&5
|
|---|
| 3039 |
|
|---|
| 3040 | # Passes both tests.
|
|---|
| 3041 | ac_preproc_ok=:
|
|---|
| 3042 | break
|
|---|
| 3043 | fi
|
|---|
| 3044 | rm -f conftest.err conftest.$ac_ext
|
|---|
| 3045 |
|
|---|
| 3046 | done
|
|---|
| 3047 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|---|
| 3048 | rm -f conftest.err conftest.$ac_ext
|
|---|
| 3049 | if $ac_preproc_ok; then
|
|---|
| 3050 | break
|
|---|
| 3051 | fi
|
|---|
| 3052 |
|
|---|
| 3053 | done
|
|---|
| 3054 | ac_cv_prog_CPP=$CPP
|
|---|
| 3055 |
|
|---|
| 3056 | fi
|
|---|
| 3057 | CPP=$ac_cv_prog_CPP
|
|---|
| 3058 | else
|
|---|
| 3059 | ac_cv_prog_CPP=$CPP
|
|---|
| 3060 | fi
|
|---|
| 3061 | echo "$as_me:$LINENO: result: $CPP" >&5
|
|---|
| 3062 | echo "${ECHO_T}$CPP" >&6
|
|---|
| 3063 | ac_preproc_ok=false
|
|---|
| 3064 | for ac_c_preproc_warn_flag in '' yes
|
|---|
| 3065 | do
|
|---|
| 3066 | # Use a header file that comes with gcc, so configuring glibc
|
|---|
| 3067 | # with a fresh cross-compiler works.
|
|---|
| 3068 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|---|
| 3069 | # <limits.h> exists even on freestanding compilers.
|
|---|
| 3070 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
|---|
| 3071 | # not just through cpp. "Syntax error" is here to catch this case.
|
|---|
| 3072 | cat >conftest.$ac_ext <<_ACEOF
|
|---|
| 3073 | /* confdefs.h. */
|
|---|
| 3074 | _ACEOF
|
|---|
| 3075 | cat confdefs.h >>conftest.$ac_ext
|
|---|
| 3076 | cat >>conftest.$ac_ext <<_ACEOF
|
|---|
| 3077 | /* end confdefs.h. */
|
|---|
| 3078 | #ifdef __STDC__
|
|---|
| 3079 | # include <limits.h>
|
|---|
| 3080 | #else
|
|---|
| 3081 | # include <assert.h>
|
|---|
| 3082 | #endif
|
|---|
| 3083 | Syntax error
|
|---|
| 3084 | _ACEOF
|
|---|
| 3085 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|---|
| 3086 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|---|
| 3087 | ac_status=$?
|
|---|
| 3088 | grep -v '^ *+' conftest.er1 >conftest.err
|
|---|
| 3089 | rm -f conftest.er1
|
|---|
| 3090 | cat conftest.err >&5
|
|---|
| 3091 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 3092 | (exit $ac_status); } >/dev/null; then
|
|---|
| 3093 | if test -s conftest.err; then
|
|---|
| 3094 | ac_cpp_err=$ac_c_preproc_warn_flag
|
|---|
| 3095 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
|---|
| 3096 | else
|
|---|
| 3097 | ac_cpp_err=
|
|---|
| 3098 | fi
|
|---|
| 3099 | else
|
|---|
| 3100 | ac_cpp_err=yes
|
|---|
| 3101 | fi
|
|---|
| 3102 | if test -z "$ac_cpp_err"; then
|
|---|
| 3103 | :
|
|---|
| 3104 | else
|
|---|
| 3105 | echo "$as_me: failed program was:" >&5
|
|---|
| 3106 | sed 's/^/| /' conftest.$ac_ext >&5
|
|---|
| 3107 |
|
|---|
| 3108 | # Broken: fails on valid input.
|
|---|
| 3109 | continue
|
|---|
| 3110 | fi
|
|---|
| 3111 | rm -f conftest.err conftest.$ac_ext
|
|---|
| 3112 |
|
|---|
| 3113 | # OK, works on sane cases. Now check whether non-existent headers
|
|---|
| 3114 | # can be detected and how.
|
|---|
| 3115 | cat >conftest.$ac_ext <<_ACEOF
|
|---|
| 3116 | /* confdefs.h. */
|
|---|
| 3117 | _ACEOF
|
|---|
| 3118 | cat confdefs.h >>conftest.$ac_ext
|
|---|
| 3119 | cat >>conftest.$ac_ext <<_ACEOF
|
|---|
| 3120 | /* end confdefs.h. */
|
|---|
| 3121 | #include <ac_nonexistent.h>
|
|---|
| 3122 | _ACEOF
|
|---|
| 3123 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|---|
| 3124 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|---|
| 3125 | ac_status=$?
|
|---|
| 3126 | grep -v '^ *+' conftest.er1 >conftest.err
|
|---|
| 3127 | rm -f conftest.er1
|
|---|
| 3128 | cat conftest.err >&5
|
|---|
| 3129 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 3130 | (exit $ac_status); } >/dev/null; then
|
|---|
| 3131 | if test -s conftest.err; then
|
|---|
| 3132 | ac_cpp_err=$ac_c_preproc_warn_flag
|
|---|
| 3133 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
|---|
| 3134 | else
|
|---|
| 3135 | ac_cpp_err=
|
|---|
| 3136 | fi
|
|---|
| 3137 | else
|
|---|
| 3138 | ac_cpp_err=yes
|
|---|
| 3139 | fi
|
|---|
| 3140 | if test -z "$ac_cpp_err"; then
|
|---|
| 3141 | # Broken: success on invalid input.
|
|---|
| 3142 | continue
|
|---|
| 3143 | else
|
|---|
| 3144 | echo "$as_me: failed program was:" >&5
|
|---|
| 3145 | sed 's/^/| /' conftest.$ac_ext >&5
|
|---|
| 3146 |
|
|---|
| 3147 | # Passes both tests.
|
|---|
| 3148 | ac_preproc_ok=:
|
|---|
| 3149 | break
|
|---|
| 3150 | fi
|
|---|
| 3151 | rm -f conftest.err conftest.$ac_ext
|
|---|
| 3152 |
|
|---|
| 3153 | done
|
|---|
| 3154 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|---|
| 3155 | rm -f conftest.err conftest.$ac_ext
|
|---|
| 3156 | if $ac_preproc_ok; then
|
|---|
| 3157 | :
|
|---|
| 3158 | else
|
|---|
| 3159 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
|---|
| 3160 | See \`config.log' for more details." >&5
|
|---|
| 3161 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
|---|
| 3162 | See \`config.log' for more details." >&2;}
|
|---|
| 3163 | { (exit 1); exit 1; }; }
|
|---|
| 3164 | fi
|
|---|
| 3165 |
|
|---|
| 3166 | ac_ext=c
|
|---|
| 3167 | ac_cpp='$CPP $CPPFLAGS'
|
|---|
| 3168 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|---|
| 3169 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|---|
| 3170 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|---|
| 3171 |
|
|---|
| 3172 |
|
|---|
| 3173 | if test -n "$with_cross_host"; then
|
|---|
| 3174 | # We are being configured with a cross compiler. AC_REPLACE_FUNCS
|
|---|
| 3175 | # may not work correctly, because the compiler may not be able to
|
|---|
| 3176 | # link executables.
|
|---|
| 3177 |
|
|---|
| 3178 | # We assume newlib. This lets us hard-code the functions we know
|
|---|
| 3179 | # we'll have.
|
|---|
| 3180 | cat >>confdefs.h <<\_ACEOF
|
|---|
| 3181 | #define HAVE_MEMCPY 1
|
|---|
| 3182 | _ACEOF
|
|---|
| 3183 |
|
|---|
| 3184 | cat >>confdefs.h <<\_ACEOF
|
|---|
| 3185 | #define HAVE_STRERROR 1
|
|---|
| 3186 | _ACEOF
|
|---|
| 3187 |
|
|---|
| 3188 |
|
|---|
| 3189 | # We ignore --with-system-zlib in this case.
|
|---|
| 3190 | target_all=libzgcj.la
|
|---|
| 3191 | else
|
|---|
| 3192 |
|
|---|
| 3193 | echo "$as_me:$LINENO: checking for egrep" >&5
|
|---|
| 3194 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6
|
|---|
| 3195 | if test "${ac_cv_prog_egrep+set}" = set; then
|
|---|
| 3196 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 3197 | else
|
|---|
| 3198 | if echo a | (grep -E '(a|b)') >/dev/null 2>&1
|
|---|
| 3199 | then ac_cv_prog_egrep='grep -E'
|
|---|
| 3200 | else ac_cv_prog_egrep='egrep'
|
|---|
| 3201 | fi
|
|---|
| 3202 | fi
|
|---|
| 3203 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
|
|---|
| 3204 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6
|
|---|
| 3205 | EGREP=$ac_cv_prog_egrep
|
|---|
| 3206 |
|
|---|
| 3207 |
|
|---|
| 3208 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
|---|
| 3209 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
|
|---|
| 3210 | if test "${ac_cv_header_stdc+set}" = set; then
|
|---|
| 3211 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 3212 | else
|
|---|
| 3213 | cat >conftest.$ac_ext <<_ACEOF
|
|---|
| 3214 | /* confdefs.h. */
|
|---|
| 3215 | _ACEOF
|
|---|
| 3216 | cat confdefs.h >>conftest.$ac_ext
|
|---|
| 3217 | cat >>conftest.$ac_ext <<_ACEOF
|
|---|
| 3218 | /* end confdefs.h. */
|
|---|
| 3219 | #include <stdlib.h>
|
|---|
| 3220 | #include <stdarg.h>
|
|---|
| 3221 | #include <string.h>
|
|---|
| 3222 | #include <float.h>
|
|---|
| 3223 |
|
|---|
| 3224 | int
|
|---|
| 3225 | main ()
|
|---|
| 3226 | {
|
|---|
| 3227 |
|
|---|
| 3228 | ;
|
|---|
| 3229 | return 0;
|
|---|
| 3230 | }
|
|---|
| 3231 | _ACEOF
|
|---|
| 3232 | rm -f conftest.$ac_objext
|
|---|
| 3233 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|---|
| 3234 | (eval $ac_compile) 2>conftest.er1
|
|---|
| 3235 | ac_status=$?
|
|---|
| 3236 | grep -v '^ *+' conftest.er1 >conftest.err
|
|---|
| 3237 | rm -f conftest.er1
|
|---|
| 3238 | cat conftest.err >&5
|
|---|
| 3239 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 3240 | (exit $ac_status); } &&
|
|---|
| 3241 | { ac_try='test -z "$ac_c_werror_flag"
|
|---|
| 3242 | || test ! -s conftest.err'
|
|---|
| 3243 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|---|
| 3244 | (eval $ac_try) 2>&5
|
|---|
| 3245 | ac_status=$?
|
|---|
| 3246 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 3247 | (exit $ac_status); }; } &&
|
|---|
| 3248 | { ac_try='test -s conftest.$ac_objext'
|
|---|
| 3249 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|---|
| 3250 | (eval $ac_try) 2>&5
|
|---|
| 3251 | ac_status=$?
|
|---|
| 3252 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 3253 | (exit $ac_status); }; }; then
|
|---|
| 3254 | ac_cv_header_stdc=yes
|
|---|
| 3255 | else
|
|---|
| 3256 | echo "$as_me: failed program was:" >&5
|
|---|
| 3257 | sed 's/^/| /' conftest.$ac_ext >&5
|
|---|
| 3258 |
|
|---|
| 3259 | ac_cv_header_stdc=no
|
|---|
| 3260 | fi
|
|---|
| 3261 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|---|
| 3262 |
|
|---|
| 3263 | if test $ac_cv_header_stdc = yes; then
|
|---|
| 3264 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|---|
| 3265 | cat >conftest.$ac_ext <<_ACEOF
|
|---|
| 3266 | /* confdefs.h. */
|
|---|
| 3267 | _ACEOF
|
|---|
| 3268 | cat confdefs.h >>conftest.$ac_ext
|
|---|
| 3269 | cat >>conftest.$ac_ext <<_ACEOF
|
|---|
| 3270 | /* end confdefs.h. */
|
|---|
| 3271 | #include <string.h>
|
|---|
| 3272 |
|
|---|
| 3273 | _ACEOF
|
|---|
| 3274 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|---|
| 3275 | $EGREP "memchr" >/dev/null 2>&1; then
|
|---|
| 3276 | :
|
|---|
| 3277 | else
|
|---|
| 3278 | ac_cv_header_stdc=no
|
|---|
| 3279 | fi
|
|---|
| 3280 | rm -f conftest*
|
|---|
| 3281 |
|
|---|
| 3282 | fi
|
|---|
| 3283 |
|
|---|
| 3284 | if test $ac_cv_header_stdc = yes; then
|
|---|
| 3285 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|---|
| 3286 | cat >conftest.$ac_ext <<_ACEOF
|
|---|
| 3287 | /* confdefs.h. */
|
|---|
| 3288 | _ACEOF
|
|---|
| 3289 | cat confdefs.h >>conftest.$ac_ext
|
|---|
| 3290 | cat >>conftest.$ac_ext <<_ACEOF
|
|---|
| 3291 | /* end confdefs.h. */
|
|---|
| 3292 | #include <stdlib.h>
|
|---|
| 3293 |
|
|---|
| 3294 | _ACEOF
|
|---|
| 3295 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|---|
| 3296 | $EGREP "free" >/dev/null 2>&1; then
|
|---|
| 3297 | :
|
|---|
| 3298 | else
|
|---|
| 3299 | ac_cv_header_stdc=no
|
|---|
| 3300 | fi
|
|---|
| 3301 | rm -f conftest*
|
|---|
| 3302 |
|
|---|
| 3303 | fi
|
|---|
| 3304 |
|
|---|
| 3305 | if test $ac_cv_header_stdc = yes; then
|
|---|
| 3306 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
|---|
| 3307 | if test "$cross_compiling" = yes; then
|
|---|
| 3308 | :
|
|---|
| 3309 | else
|
|---|
| 3310 | cat >conftest.$ac_ext <<_ACEOF
|
|---|
| 3311 | /* confdefs.h. */
|
|---|
| 3312 | _ACEOF
|
|---|
| 3313 | cat confdefs.h >>conftest.$ac_ext
|
|---|
| 3314 | cat >>conftest.$ac_ext <<_ACEOF
|
|---|
| 3315 | /* end confdefs.h. */
|
|---|
| 3316 | #include <ctype.h>
|
|---|
| 3317 | #if ((' ' & 0x0FF) == 0x020)
|
|---|
| 3318 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|---|
| 3319 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|---|
| 3320 | #else
|
|---|
| 3321 | # define ISLOWER(c) \
|
|---|
| 3322 | (('a' <= (c) && (c) <= 'i') \
|
|---|
| 3323 | || ('j' <= (c) && (c) <= 'r') \
|
|---|
| 3324 | || ('s' <= (c) && (c) <= 'z'))
|
|---|
| 3325 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
|---|
| 3326 | #endif
|
|---|
| 3327 |
|
|---|
| 3328 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
|---|
| 3329 | int
|
|---|
| 3330 | main ()
|
|---|
| 3331 | {
|
|---|
| 3332 | int i;
|
|---|
| 3333 | for (i = 0; i < 256; i++)
|
|---|
| 3334 | if (XOR (islower (i), ISLOWER (i))
|
|---|
| 3335 | || toupper (i) != TOUPPER (i))
|
|---|
| 3336 | exit(2);
|
|---|
| 3337 | exit (0);
|
|---|
| 3338 | }
|
|---|
| 3339 | _ACEOF
|
|---|
| 3340 | rm -f conftest$ac_exeext
|
|---|
| 3341 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|---|
| 3342 | (eval $ac_link) 2>&5
|
|---|
| 3343 | ac_status=$?
|
|---|
| 3344 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 3345 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|---|
| 3346 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|---|
| 3347 | (eval $ac_try) 2>&5
|
|---|
| 3348 | ac_status=$?
|
|---|
| 3349 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 3350 | (exit $ac_status); }; }; then
|
|---|
| 3351 | :
|
|---|
| 3352 | else
|
|---|
| 3353 | echo "$as_me: program exited with status $ac_status" >&5
|
|---|
| 3354 | echo "$as_me: failed program was:" >&5
|
|---|
| 3355 | sed 's/^/| /' conftest.$ac_ext >&5
|
|---|
| 3356 |
|
|---|
| 3357 | ( exit $ac_status )
|
|---|
| 3358 | ac_cv_header_stdc=no
|
|---|
| 3359 | fi
|
|---|
| 3360 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|---|
| 3361 | fi
|
|---|
| 3362 | fi
|
|---|
| 3363 | fi
|
|---|
| 3364 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
|---|
| 3365 | echo "${ECHO_T}$ac_cv_header_stdc" >&6
|
|---|
| 3366 | if test $ac_cv_header_stdc = yes; then
|
|---|
| 3367 |
|
|---|
| 3368 | cat >>confdefs.h <<\_ACEOF
|
|---|
| 3369 | #define STDC_HEADERS 1
|
|---|
| 3370 | _ACEOF
|
|---|
| 3371 |
|
|---|
| 3372 | fi
|
|---|
| 3373 |
|
|---|
| 3374 | # On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
|---|
| 3375 |
|
|---|
| 3376 |
|
|---|
| 3377 |
|
|---|
| 3378 |
|
|---|
| 3379 |
|
|---|
| 3380 |
|
|---|
| 3381 |
|
|---|
| 3382 |
|
|---|
| 3383 |
|
|---|
| 3384 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
|---|
| 3385 | inttypes.h stdint.h unistd.h
|
|---|
| 3386 | do
|
|---|
| 3387 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|---|
| 3388 | echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|---|
| 3389 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|---|
| 3390 | if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|---|
| 3391 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 3392 | else
|
|---|
| 3393 | cat >conftest.$ac_ext <<_ACEOF
|
|---|
| 3394 | /* confdefs.h. */
|
|---|
| 3395 | _ACEOF
|
|---|
| 3396 | cat confdefs.h >>conftest.$ac_ext
|
|---|
| 3397 | cat >>conftest.$ac_ext <<_ACEOF
|
|---|
| 3398 | /* end confdefs.h. */
|
|---|
| 3399 | $ac_includes_default
|
|---|
| 3400 |
|
|---|
| 3401 | #include <$ac_header>
|
|---|
| 3402 | _ACEOF
|
|---|
| 3403 | rm -f conftest.$ac_objext
|
|---|
| 3404 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|---|
| 3405 | (eval $ac_compile) 2>conftest.er1
|
|---|
| 3406 | ac_status=$?
|
|---|
| 3407 | grep -v '^ *+' conftest.er1 >conftest.err
|
|---|
| 3408 | rm -f conftest.er1
|
|---|
| 3409 | cat conftest.err >&5
|
|---|
| 3410 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 3411 | (exit $ac_status); } &&
|
|---|
| 3412 | { ac_try='test -z "$ac_c_werror_flag"
|
|---|
| 3413 | || test ! -s conftest.err'
|
|---|
| 3414 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|---|
| 3415 | (eval $ac_try) 2>&5
|
|---|
| 3416 | ac_status=$?
|
|---|
| 3417 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 3418 | (exit $ac_status); }; } &&
|
|---|
| 3419 | { ac_try='test -s conftest.$ac_objext'
|
|---|
| 3420 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|---|
| 3421 | (eval $ac_try) 2>&5
|
|---|
| 3422 | ac_status=$?
|
|---|
| 3423 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 3424 | (exit $ac_status); }; }; then
|
|---|
| 3425 | eval "$as_ac_Header=yes"
|
|---|
| 3426 | else
|
|---|
| 3427 | echo "$as_me: failed program was:" >&5
|
|---|
| 3428 | sed 's/^/| /' conftest.$ac_ext >&5
|
|---|
| 3429 |
|
|---|
| 3430 | eval "$as_ac_Header=no"
|
|---|
| 3431 | fi
|
|---|
| 3432 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|---|
| 3433 | fi
|
|---|
| 3434 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|---|
| 3435 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|---|
| 3436 | if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|---|
| 3437 | cat >>confdefs.h <<_ACEOF
|
|---|
| 3438 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|---|
| 3439 | _ACEOF
|
|---|
| 3440 |
|
|---|
| 3441 | fi
|
|---|
| 3442 |
|
|---|
| 3443 | done
|
|---|
| 3444 |
|
|---|
| 3445 |
|
|---|
| 3446 |
|
|---|
| 3447 |
|
|---|
| 3448 | for ac_header in stdlib.h unistd.h
|
|---|
| 3449 | do
|
|---|
| 3450 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|---|
| 3451 | if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|---|
| 3452 | echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|---|
| 3453 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|---|
| 3454 | if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|---|
| 3455 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 3456 | fi
|
|---|
| 3457 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|---|
| 3458 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|---|
| 3459 | else
|
|---|
| 3460 | # Is the header compilable?
|
|---|
| 3461 | echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|---|
| 3462 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
|---|
| 3463 | cat >conftest.$ac_ext <<_ACEOF
|
|---|
| 3464 | /* confdefs.h. */
|
|---|
| 3465 | _ACEOF
|
|---|
| 3466 | cat confdefs.h >>conftest.$ac_ext
|
|---|
| 3467 | cat >>conftest.$ac_ext <<_ACEOF
|
|---|
| 3468 | /* end confdefs.h. */
|
|---|
| 3469 | $ac_includes_default
|
|---|
| 3470 | #include <$ac_header>
|
|---|
| 3471 | _ACEOF
|
|---|
| 3472 | rm -f conftest.$ac_objext
|
|---|
| 3473 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|---|
| 3474 | (eval $ac_compile) 2>conftest.er1
|
|---|
| 3475 | ac_status=$?
|
|---|
| 3476 | grep -v '^ *+' conftest.er1 >conftest.err
|
|---|
| 3477 | rm -f conftest.er1
|
|---|
| 3478 | cat conftest.err >&5
|
|---|
| 3479 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 3480 | (exit $ac_status); } &&
|
|---|
| 3481 | { ac_try='test -z "$ac_c_werror_flag"
|
|---|
| 3482 | || test ! -s conftest.err'
|
|---|
| 3483 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|---|
| 3484 | (eval $ac_try) 2>&5
|
|---|
| 3485 | ac_status=$?
|
|---|
| 3486 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 3487 | (exit $ac_status); }; } &&
|
|---|
| 3488 | { ac_try='test -s conftest.$ac_objext'
|
|---|
| 3489 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|---|
| 3490 | (eval $ac_try) 2>&5
|
|---|
| 3491 | ac_status=$?
|
|---|
| 3492 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 3493 | (exit $ac_status); }; }; then
|
|---|
| 3494 | ac_header_compiler=yes
|
|---|
| 3495 | else
|
|---|
| 3496 | echo "$as_me: failed program was:" >&5
|
|---|
| 3497 | sed 's/^/| /' conftest.$ac_ext >&5
|
|---|
| 3498 |
|
|---|
| 3499 | ac_header_compiler=no
|
|---|
| 3500 | fi
|
|---|
| 3501 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|---|
| 3502 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|---|
| 3503 | echo "${ECHO_T}$ac_header_compiler" >&6
|
|---|
| 3504 |
|
|---|
| 3505 | # Is the header present?
|
|---|
| 3506 | echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|---|
| 3507 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
|---|
| 3508 | cat >conftest.$ac_ext <<_ACEOF
|
|---|
| 3509 | /* confdefs.h. */
|
|---|
| 3510 | _ACEOF
|
|---|
| 3511 | cat confdefs.h >>conftest.$ac_ext
|
|---|
| 3512 | cat >>conftest.$ac_ext <<_ACEOF
|
|---|
| 3513 | /* end confdefs.h. */
|
|---|
| 3514 | #include <$ac_header>
|
|---|
| 3515 | _ACEOF
|
|---|
| 3516 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|---|
| 3517 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|---|
| 3518 | ac_status=$?
|
|---|
| 3519 | grep -v '^ *+' conftest.er1 >conftest.err
|
|---|
| 3520 | rm -f conftest.er1
|
|---|
| 3521 | cat conftest.err >&5
|
|---|
| 3522 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 3523 | (exit $ac_status); } >/dev/null; then
|
|---|
| 3524 | if test -s conftest.err; then
|
|---|
| 3525 | ac_cpp_err=$ac_c_preproc_warn_flag
|
|---|
| 3526 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
|---|
| 3527 | else
|
|---|
| 3528 | ac_cpp_err=
|
|---|
| 3529 | fi
|
|---|
| 3530 | else
|
|---|
| 3531 | ac_cpp_err=yes
|
|---|
| 3532 | fi
|
|---|
| 3533 | if test -z "$ac_cpp_err"; then
|
|---|
| 3534 | ac_header_preproc=yes
|
|---|
| 3535 | else
|
|---|
| 3536 | echo "$as_me: failed program was:" >&5
|
|---|
| 3537 | sed 's/^/| /' conftest.$ac_ext >&5
|
|---|
| 3538 |
|
|---|
| 3539 | ac_header_preproc=no
|
|---|
| 3540 | fi
|
|---|
| 3541 | rm -f conftest.err conftest.$ac_ext
|
|---|
| 3542 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|---|
| 3543 | echo "${ECHO_T}$ac_header_preproc" >&6
|
|---|
| 3544 |
|
|---|
| 3545 | # So? What about this header?
|
|---|
| 3546 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|---|
| 3547 | yes:no: )
|
|---|
| 3548 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|---|
| 3549 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|---|
| 3550 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
|---|
| 3551 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
|---|
| 3552 | ac_header_preproc=yes
|
|---|
| 3553 | ;;
|
|---|
| 3554 | no:yes:* )
|
|---|
| 3555 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|---|
| 3556 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
|---|
| 3557 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|---|
| 3558 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|---|
| 3559 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
|---|
| 3560 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
|---|
| 3561 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
|---|
| 3562 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
|---|
| 3563 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|---|
| 3564 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|---|
| 3565 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
|---|
| 3566 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
|---|
| 3567 | (
|
|---|
| 3568 | cat <<\_ASBOX
|
|---|
| 3569 | ## ------------------------------------------ ##
|
|---|
| 3570 | ## Report this to the AC_PACKAGE_NAME lists. ##
|
|---|
| 3571 | ## ------------------------------------------ ##
|
|---|
| 3572 | _ASBOX
|
|---|
| 3573 | ) |
|
|---|
| 3574 | sed "s/^/$as_me: WARNING: /" >&2
|
|---|
| 3575 | ;;
|
|---|
| 3576 | esac
|
|---|
| 3577 | echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|---|
| 3578 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|---|
| 3579 | if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|---|
| 3580 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 3581 | else
|
|---|
| 3582 | eval "$as_ac_Header=\$ac_header_preproc"
|
|---|
| 3583 | fi
|
|---|
| 3584 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|---|
| 3585 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|---|
| 3586 |
|
|---|
| 3587 | fi
|
|---|
| 3588 | if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|---|
| 3589 | cat >>confdefs.h <<_ACEOF
|
|---|
| 3590 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|---|
| 3591 | _ACEOF
|
|---|
| 3592 |
|
|---|
| 3593 | fi
|
|---|
| 3594 |
|
|---|
| 3595 | done
|
|---|
| 3596 |
|
|---|
| 3597 |
|
|---|
| 3598 | for ac_func in getpagesize
|
|---|
| 3599 | do
|
|---|
| 3600 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|---|
| 3601 | echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|---|
| 3602 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
|---|
| 3603 | if eval "test \"\${$as_ac_var+set}\" = set"; then
|
|---|
| 3604 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 3605 | else
|
|---|
| 3606 | cat >conftest.$ac_ext <<_ACEOF
|
|---|
| 3607 | /* confdefs.h. */
|
|---|
| 3608 | _ACEOF
|
|---|
| 3609 | cat confdefs.h >>conftest.$ac_ext
|
|---|
| 3610 | cat >>conftest.$ac_ext <<_ACEOF
|
|---|
| 3611 | /* end confdefs.h. */
|
|---|
| 3612 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|---|
| 3613 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|---|
| 3614 | #define $ac_func innocuous_$ac_func
|
|---|
| 3615 |
|
|---|
| 3616 | /* System header to define __stub macros and hopefully few prototypes,
|
|---|
| 3617 | which can conflict with char $ac_func (); below.
|
|---|
| 3618 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|---|
| 3619 | <limits.h> exists even on freestanding compilers. */
|
|---|
| 3620 |
|
|---|
| 3621 | #ifdef __STDC__
|
|---|
| 3622 | # include <limits.h>
|
|---|
| 3623 | #else
|
|---|
| 3624 | # include <assert.h>
|
|---|
| 3625 | #endif
|
|---|
| 3626 |
|
|---|
| 3627 | #undef $ac_func
|
|---|
| 3628 |
|
|---|
| 3629 | /* Override any gcc2 internal prototype to avoid an error. */
|
|---|
| 3630 | #ifdef __cplusplus
|
|---|
| 3631 | extern "C"
|
|---|
| 3632 | {
|
|---|
| 3633 | #endif
|
|---|
| 3634 | /* We use char because int might match the return type of a gcc2
|
|---|
| 3635 | builtin and then its argument prototype would still apply. */
|
|---|
| 3636 | char $ac_func ();
|
|---|
| 3637 | /* The GNU C library defines this for functions which it implements
|
|---|
| 3638 | to always fail with ENOSYS. Some functions are actually named
|
|---|
| 3639 | something starting with __ and the normal name is an alias. */
|
|---|
| 3640 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
|---|
| 3641 | choke me
|
|---|
| 3642 | #else
|
|---|
| 3643 | char (*f) () = $ac_func;
|
|---|
| 3644 | #endif
|
|---|
| 3645 | #ifdef __cplusplus
|
|---|
| 3646 | }
|
|---|
| 3647 | #endif
|
|---|
| 3648 |
|
|---|
| 3649 | int
|
|---|
| 3650 | main ()
|
|---|
| 3651 | {
|
|---|
| 3652 | return f != $ac_func;
|
|---|
| 3653 | ;
|
|---|
| 3654 | return 0;
|
|---|
| 3655 | }
|
|---|
| 3656 | _ACEOF
|
|---|
| 3657 | rm -f conftest.$ac_objext conftest$ac_exeext
|
|---|
| 3658 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|---|
| 3659 | (eval $ac_link) 2>conftest.er1
|
|---|
| 3660 | ac_status=$?
|
|---|
| 3661 | grep -v '^ *+' conftest.er1 >conftest.err
|
|---|
| 3662 | rm -f conftest.er1
|
|---|
| 3663 | cat conftest.err >&5
|
|---|
| 3664 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 3665 | (exit $ac_status); } &&
|
|---|
| 3666 | { ac_try='test -z "$ac_c_werror_flag"
|
|---|
| 3667 | || test ! -s conftest.err'
|
|---|
| 3668 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|---|
| 3669 | (eval $ac_try) 2>&5
|
|---|
| 3670 | ac_status=$?
|
|---|
| 3671 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 3672 | (exit $ac_status); }; } &&
|
|---|
| 3673 | { ac_try='test -s conftest$ac_exeext'
|
|---|
| 3674 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|---|
| 3675 | (eval $ac_try) 2>&5
|
|---|
| 3676 | ac_status=$?
|
|---|
| 3677 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 3678 | (exit $ac_status); }; }; then
|
|---|
| 3679 | eval "$as_ac_var=yes"
|
|---|
| 3680 | else
|
|---|
| 3681 | echo "$as_me: failed program was:" >&5
|
|---|
| 3682 | sed 's/^/| /' conftest.$ac_ext >&5
|
|---|
| 3683 |
|
|---|
| 3684 | eval "$as_ac_var=no"
|
|---|
| 3685 | fi
|
|---|
| 3686 | rm -f conftest.err conftest.$ac_objext \
|
|---|
| 3687 | conftest$ac_exeext conftest.$ac_ext
|
|---|
| 3688 | fi
|
|---|
| 3689 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
|---|
| 3690 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
|---|
| 3691 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
|---|
| 3692 | cat >>confdefs.h <<_ACEOF
|
|---|
| 3693 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|---|
| 3694 | _ACEOF
|
|---|
| 3695 |
|
|---|
| 3696 | fi
|
|---|
| 3697 | done
|
|---|
| 3698 |
|
|---|
| 3699 | echo "$as_me:$LINENO: checking for working mmap" >&5
|
|---|
| 3700 | echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
|
|---|
| 3701 | if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
|
|---|
| 3702 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 3703 | else
|
|---|
| 3704 | if test "$cross_compiling" = yes; then
|
|---|
| 3705 | ac_cv_func_mmap_fixed_mapped=no
|
|---|
| 3706 | else
|
|---|
| 3707 | cat >conftest.$ac_ext <<_ACEOF
|
|---|
| 3708 | /* confdefs.h. */
|
|---|
| 3709 | _ACEOF
|
|---|
| 3710 | cat confdefs.h >>conftest.$ac_ext
|
|---|
| 3711 | cat >>conftest.$ac_ext <<_ACEOF
|
|---|
| 3712 | /* end confdefs.h. */
|
|---|
| 3713 | $ac_includes_default
|
|---|
| 3714 | /* malloc might have been renamed as rpl_malloc. */
|
|---|
| 3715 | #undef malloc
|
|---|
| 3716 |
|
|---|
| 3717 | /* Thanks to Mike Haertel and Jim Avera for this test.
|
|---|
| 3718 | Here is a matrix of mmap possibilities:
|
|---|
| 3719 | mmap private not fixed
|
|---|
| 3720 | mmap private fixed at somewhere currently unmapped
|
|---|
| 3721 | mmap private fixed at somewhere already mapped
|
|---|
| 3722 | mmap shared not fixed
|
|---|
| 3723 | mmap shared fixed at somewhere currently unmapped
|
|---|
| 3724 | mmap shared fixed at somewhere already mapped
|
|---|
| 3725 | For private mappings, we should verify that changes cannot be read()
|
|---|
| 3726 | back from the file, nor mmap's back from the file at a different
|
|---|
| 3727 | address. (There have been systems where private was not correctly
|
|---|
| 3728 | implemented like the infamous i386 svr4.0, and systems where the
|
|---|
| 3729 | VM page cache was not coherent with the file system buffer cache
|
|---|
| 3730 | like early versions of FreeBSD and possibly contemporary NetBSD.)
|
|---|
| 3731 | For shared mappings, we should conversely verify that changes get
|
|---|
| 3732 | propagated back to all the places they're supposed to be.
|
|---|
| 3733 |
|
|---|
| 3734 | Grep wants private fixed already mapped.
|
|---|
| 3735 | The main things grep needs to know about mmap are:
|
|---|
| 3736 | * does it exist and is it safe to write into the mmap'd area
|
|---|
| 3737 | * how to use it (BSD variants) */
|
|---|
| 3738 |
|
|---|
| 3739 | #include <fcntl.h>
|
|---|
| 3740 | #include <sys/mman.h>
|
|---|
| 3741 |
|
|---|
| 3742 | #if !STDC_HEADERS && !HAVE_STDLIB_H
|
|---|
| 3743 | char *malloc ();
|
|---|
| 3744 | #endif
|
|---|
| 3745 |
|
|---|
| 3746 | /* This mess was copied from the GNU getpagesize.h. */
|
|---|
| 3747 | #if !HAVE_GETPAGESIZE
|
|---|
| 3748 | /* Assume that all systems that can run configure have sys/param.h. */
|
|---|
| 3749 | # if !HAVE_SYS_PARAM_H
|
|---|
| 3750 | # define HAVE_SYS_PARAM_H 1
|
|---|
| 3751 | # endif
|
|---|
| 3752 |
|
|---|
| 3753 | # ifdef _SC_PAGESIZE
|
|---|
| 3754 | # define getpagesize() sysconf(_SC_PAGESIZE)
|
|---|
| 3755 | # else /* no _SC_PAGESIZE */
|
|---|
| 3756 | # if HAVE_SYS_PARAM_H
|
|---|
| 3757 | # include <sys/param.h>
|
|---|
| 3758 | # ifdef EXEC_PAGESIZE
|
|---|
| 3759 | # define getpagesize() EXEC_PAGESIZE
|
|---|
| 3760 | # else /* no EXEC_PAGESIZE */
|
|---|
| 3761 | # ifdef NBPG
|
|---|
| 3762 | # define getpagesize() NBPG * CLSIZE
|
|---|
| 3763 | # ifndef CLSIZE
|
|---|
| 3764 | # define CLSIZE 1
|
|---|
| 3765 | # endif /* no CLSIZE */
|
|---|
| 3766 | # else /* no NBPG */
|
|---|
| 3767 | # ifdef NBPC
|
|---|
| 3768 | # define getpagesize() NBPC
|
|---|
| 3769 | # else /* no NBPC */
|
|---|
| 3770 | # ifdef PAGESIZE
|
|---|
| 3771 | # define getpagesize() PAGESIZE
|
|---|
| 3772 | # endif /* PAGESIZE */
|
|---|
| 3773 | # endif /* no NBPC */
|
|---|
| 3774 | # endif /* no NBPG */
|
|---|
| 3775 | # endif /* no EXEC_PAGESIZE */
|
|---|
| 3776 | # else /* no HAVE_SYS_PARAM_H */
|
|---|
| 3777 | # define getpagesize() 8192 /* punt totally */
|
|---|
| 3778 | # endif /* no HAVE_SYS_PARAM_H */
|
|---|
| 3779 | # endif /* no _SC_PAGESIZE */
|
|---|
| 3780 |
|
|---|
| 3781 | #endif /* no HAVE_GETPAGESIZE */
|
|---|
| 3782 |
|
|---|
| 3783 | int
|
|---|
| 3784 | main ()
|
|---|
| 3785 | {
|
|---|
| 3786 | char *data, *data2, *data3;
|
|---|
| 3787 | int i, pagesize;
|
|---|
| 3788 | int fd;
|
|---|
| 3789 |
|
|---|
| 3790 | pagesize = getpagesize ();
|
|---|
| 3791 |
|
|---|
| 3792 | /* First, make a file with some known garbage in it. */
|
|---|
| 3793 | data = (char *) malloc (pagesize);
|
|---|
| 3794 | if (!data)
|
|---|
| 3795 | exit (1);
|
|---|
| 3796 | for (i = 0; i < pagesize; ++i)
|
|---|
| 3797 | *(data + i) = rand ();
|
|---|
| 3798 | umask (0);
|
|---|
| 3799 | fd = creat ("conftest.mmap", 0600);
|
|---|
| 3800 | if (fd < 0)
|
|---|
| 3801 | exit (1);
|
|---|
| 3802 | if (write (fd, data, pagesize) != pagesize)
|
|---|
| 3803 | exit (1);
|
|---|
| 3804 | close (fd);
|
|---|
| 3805 |
|
|---|
| 3806 | /* Next, try to mmap the file at a fixed address which already has
|
|---|
| 3807 | something else allocated at it. If we can, also make sure that
|
|---|
| 3808 | we see the same garbage. */
|
|---|
| 3809 | fd = open ("conftest.mmap", O_RDWR);
|
|---|
| 3810 | if (fd < 0)
|
|---|
| 3811 | exit (1);
|
|---|
| 3812 | data2 = (char *) malloc (2 * pagesize);
|
|---|
| 3813 | if (!data2)
|
|---|
| 3814 | exit (1);
|
|---|
| 3815 | data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
|
|---|
| 3816 | if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
|
|---|
| 3817 | MAP_PRIVATE | MAP_FIXED, fd, 0L))
|
|---|
| 3818 | exit (1);
|
|---|
| 3819 | for (i = 0; i < pagesize; ++i)
|
|---|
| 3820 | if (*(data + i) != *(data2 + i))
|
|---|
| 3821 | exit (1);
|
|---|
| 3822 |
|
|---|
| 3823 | /* Finally, make sure that changes to the mapped area do not
|
|---|
| 3824 | percolate back to the file as seen by read(). (This is a bug on
|
|---|
| 3825 | some variants of i386 svr4.0.) */
|
|---|
| 3826 | for (i = 0; i < pagesize; ++i)
|
|---|
| 3827 | *(data2 + i) = *(data2 + i) + 1;
|
|---|
| 3828 | data3 = (char *) malloc (pagesize);
|
|---|
| 3829 | if (!data3)
|
|---|
| 3830 | exit (1);
|
|---|
| 3831 | if (read (fd, data3, pagesize) != pagesize)
|
|---|
| 3832 | exit (1);
|
|---|
| 3833 | for (i = 0; i < pagesize; ++i)
|
|---|
| 3834 | if (*(data + i) != *(data3 + i))
|
|---|
| 3835 | exit (1);
|
|---|
| 3836 | close (fd);
|
|---|
| 3837 | exit (0);
|
|---|
| 3838 | }
|
|---|
| 3839 | _ACEOF
|
|---|
| 3840 | rm -f conftest$ac_exeext
|
|---|
| 3841 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|---|
| 3842 | (eval $ac_link) 2>&5
|
|---|
| 3843 | ac_status=$?
|
|---|
| 3844 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 3845 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|---|
| 3846 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|---|
| 3847 | (eval $ac_try) 2>&5
|
|---|
| 3848 | ac_status=$?
|
|---|
| 3849 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 3850 | (exit $ac_status); }; }; then
|
|---|
| 3851 | ac_cv_func_mmap_fixed_mapped=yes
|
|---|
| 3852 | else
|
|---|
| 3853 | echo "$as_me: program exited with status $ac_status" >&5
|
|---|
| 3854 | echo "$as_me: failed program was:" >&5
|
|---|
| 3855 | sed 's/^/| /' conftest.$ac_ext >&5
|
|---|
| 3856 |
|
|---|
| 3857 | ( exit $ac_status )
|
|---|
| 3858 | ac_cv_func_mmap_fixed_mapped=no
|
|---|
| 3859 | fi
|
|---|
| 3860 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|---|
| 3861 | fi
|
|---|
| 3862 | fi
|
|---|
| 3863 | echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
|
|---|
| 3864 | echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
|
|---|
| 3865 | if test $ac_cv_func_mmap_fixed_mapped = yes; then
|
|---|
| 3866 |
|
|---|
| 3867 | cat >>confdefs.h <<\_ACEOF
|
|---|
| 3868 | #define HAVE_MMAP 1
|
|---|
| 3869 | _ACEOF
|
|---|
| 3870 |
|
|---|
| 3871 | fi
|
|---|
| 3872 | rm -f conftest.mmap
|
|---|
| 3873 |
|
|---|
| 3874 |
|
|---|
| 3875 |
|
|---|
| 3876 | for ac_func in memcpy strerror
|
|---|
| 3877 | do
|
|---|
| 3878 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|---|
| 3879 | echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|---|
| 3880 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
|---|
| 3881 | if eval "test \"\${$as_ac_var+set}\" = set"; then
|
|---|
| 3882 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 3883 | else
|
|---|
| 3884 | cat >conftest.$ac_ext <<_ACEOF
|
|---|
| 3885 | /* confdefs.h. */
|
|---|
| 3886 | _ACEOF
|
|---|
| 3887 | cat confdefs.h >>conftest.$ac_ext
|
|---|
| 3888 | cat >>conftest.$ac_ext <<_ACEOF
|
|---|
| 3889 | /* end confdefs.h. */
|
|---|
| 3890 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|---|
| 3891 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|---|
| 3892 | #define $ac_func innocuous_$ac_func
|
|---|
| 3893 |
|
|---|
| 3894 | /* System header to define __stub macros and hopefully few prototypes,
|
|---|
| 3895 | which can conflict with char $ac_func (); below.
|
|---|
| 3896 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|---|
| 3897 | <limits.h> exists even on freestanding compilers. */
|
|---|
| 3898 |
|
|---|
| 3899 | #ifdef __STDC__
|
|---|
| 3900 | # include <limits.h>
|
|---|
| 3901 | #else
|
|---|
| 3902 | # include <assert.h>
|
|---|
| 3903 | #endif
|
|---|
| 3904 |
|
|---|
| 3905 | #undef $ac_func
|
|---|
| 3906 |
|
|---|
| 3907 | /* Override any gcc2 internal prototype to avoid an error. */
|
|---|
| 3908 | #ifdef __cplusplus
|
|---|
| 3909 | extern "C"
|
|---|
| 3910 | {
|
|---|
| 3911 | #endif
|
|---|
| 3912 | /* We use char because int might match the return type of a gcc2
|
|---|
| 3913 | builtin and then its argument prototype would still apply. */
|
|---|
| 3914 | char $ac_func ();
|
|---|
| 3915 | /* The GNU C library defines this for functions which it implements
|
|---|
| 3916 | to always fail with ENOSYS. Some functions are actually named
|
|---|
| 3917 | something starting with __ and the normal name is an alias. */
|
|---|
| 3918 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
|---|
| 3919 | choke me
|
|---|
| 3920 | #else
|
|---|
| 3921 | char (*f) () = $ac_func;
|
|---|
| 3922 | #endif
|
|---|
| 3923 | #ifdef __cplusplus
|
|---|
| 3924 | }
|
|---|
| 3925 | #endif
|
|---|
| 3926 |
|
|---|
| 3927 | int
|
|---|
| 3928 | main ()
|
|---|
| 3929 | {
|
|---|
| 3930 | return f != $ac_func;
|
|---|
| 3931 | ;
|
|---|
| 3932 | return 0;
|
|---|
| 3933 | }
|
|---|
| 3934 | _ACEOF
|
|---|
| 3935 | rm -f conftest.$ac_objext conftest$ac_exeext
|
|---|
| 3936 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|---|
| 3937 | (eval $ac_link) 2>conftest.er1
|
|---|
| 3938 | ac_status=$?
|
|---|
| 3939 | grep -v '^ *+' conftest.er1 >conftest.err
|
|---|
| 3940 | rm -f conftest.er1
|
|---|
| 3941 | cat conftest.err >&5
|
|---|
| 3942 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 3943 | (exit $ac_status); } &&
|
|---|
| 3944 | { ac_try='test -z "$ac_c_werror_flag"
|
|---|
| 3945 | || test ! -s conftest.err'
|
|---|
| 3946 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|---|
| 3947 | (eval $ac_try) 2>&5
|
|---|
| 3948 | ac_status=$?
|
|---|
| 3949 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 3950 | (exit $ac_status); }; } &&
|
|---|
| 3951 | { ac_try='test -s conftest$ac_exeext'
|
|---|
| 3952 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|---|
| 3953 | (eval $ac_try) 2>&5
|
|---|
| 3954 | ac_status=$?
|
|---|
| 3955 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 3956 | (exit $ac_status); }; }; then
|
|---|
| 3957 | eval "$as_ac_var=yes"
|
|---|
| 3958 | else
|
|---|
| 3959 | echo "$as_me: failed program was:" >&5
|
|---|
| 3960 | sed 's/^/| /' conftest.$ac_ext >&5
|
|---|
| 3961 |
|
|---|
| 3962 | eval "$as_ac_var=no"
|
|---|
| 3963 | fi
|
|---|
| 3964 | rm -f conftest.err conftest.$ac_objext \
|
|---|
| 3965 | conftest$ac_exeext conftest.$ac_ext
|
|---|
| 3966 | fi
|
|---|
| 3967 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
|---|
| 3968 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
|---|
| 3969 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
|---|
| 3970 | cat >>confdefs.h <<_ACEOF
|
|---|
| 3971 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|---|
| 3972 | _ACEOF
|
|---|
| 3973 |
|
|---|
| 3974 | fi
|
|---|
| 3975 | done
|
|---|
| 3976 |
|
|---|
| 3977 |
|
|---|
| 3978 | if test "$with_system_zlib" = yes; then
|
|---|
| 3979 | echo "$as_me:$LINENO: checking for deflate" >&5
|
|---|
| 3980 | echo $ECHO_N "checking for deflate... $ECHO_C" >&6
|
|---|
| 3981 | if test "${ac_cv_func_deflate+set}" = set; then
|
|---|
| 3982 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 3983 | else
|
|---|
| 3984 | cat >conftest.$ac_ext <<_ACEOF
|
|---|
| 3985 | /* confdefs.h. */
|
|---|
| 3986 | _ACEOF
|
|---|
| 3987 | cat confdefs.h >>conftest.$ac_ext
|
|---|
| 3988 | cat >>conftest.$ac_ext <<_ACEOF
|
|---|
| 3989 | /* end confdefs.h. */
|
|---|
| 3990 | /* Define deflate to an innocuous variant, in case <limits.h> declares deflate.
|
|---|
| 3991 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|---|
| 3992 | #define deflate innocuous_deflate
|
|---|
| 3993 |
|
|---|
| 3994 | /* System header to define __stub macros and hopefully few prototypes,
|
|---|
| 3995 | which can conflict with char deflate (); below.
|
|---|
| 3996 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|---|
| 3997 | <limits.h> exists even on freestanding compilers. */
|
|---|
| 3998 |
|
|---|
| 3999 | #ifdef __STDC__
|
|---|
| 4000 | # include <limits.h>
|
|---|
| 4001 | #else
|
|---|
| 4002 | # include <assert.h>
|
|---|
| 4003 | #endif
|
|---|
| 4004 |
|
|---|
| 4005 | #undef deflate
|
|---|
| 4006 |
|
|---|
| 4007 | /* Override any gcc2 internal prototype to avoid an error. */
|
|---|
| 4008 | #ifdef __cplusplus
|
|---|
| 4009 | extern "C"
|
|---|
| 4010 | {
|
|---|
| 4011 | #endif
|
|---|
| 4012 | /* We use char because int might match the return type of a gcc2
|
|---|
| 4013 | builtin and then its argument prototype would still apply. */
|
|---|
| 4014 | char deflate ();
|
|---|
| 4015 | /* The GNU C library defines this for functions which it implements
|
|---|
| 4016 | to always fail with ENOSYS. Some functions are actually named
|
|---|
| 4017 | something starting with __ and the normal name is an alias. */
|
|---|
| 4018 | #if defined (__stub_deflate) || defined (__stub___deflate)
|
|---|
| 4019 | choke me
|
|---|
| 4020 | #else
|
|---|
| 4021 | char (*f) () = deflate;
|
|---|
| 4022 | #endif
|
|---|
| 4023 | #ifdef __cplusplus
|
|---|
| 4024 | }
|
|---|
| 4025 | #endif
|
|---|
| 4026 |
|
|---|
| 4027 | int
|
|---|
| 4028 | main ()
|
|---|
| 4029 | {
|
|---|
| 4030 | return f != deflate;
|
|---|
| 4031 | ;
|
|---|
| 4032 | return 0;
|
|---|
| 4033 | }
|
|---|
| 4034 | _ACEOF
|
|---|
| 4035 | rm -f conftest.$ac_objext conftest$ac_exeext
|
|---|
| 4036 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|---|
| 4037 | (eval $ac_link) 2>conftest.er1
|
|---|
| 4038 | ac_status=$?
|
|---|
| 4039 | grep -v '^ *+' conftest.er1 >conftest.err
|
|---|
| 4040 | rm -f conftest.er1
|
|---|
| 4041 | cat conftest.err >&5
|
|---|
| 4042 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 4043 | (exit $ac_status); } &&
|
|---|
| 4044 | { ac_try='test -z "$ac_c_werror_flag"
|
|---|
| 4045 | || test ! -s conftest.err'
|
|---|
| 4046 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|---|
| 4047 | (eval $ac_try) 2>&5
|
|---|
| 4048 | ac_status=$?
|
|---|
| 4049 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 4050 | (exit $ac_status); }; } &&
|
|---|
| 4051 | { ac_try='test -s conftest$ac_exeext'
|
|---|
| 4052 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|---|
| 4053 | (eval $ac_try) 2>&5
|
|---|
| 4054 | ac_status=$?
|
|---|
| 4055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 4056 | (exit $ac_status); }; }; then
|
|---|
| 4057 | ac_cv_func_deflate=yes
|
|---|
| 4058 | else
|
|---|
| 4059 | echo "$as_me: failed program was:" >&5
|
|---|
| 4060 | sed 's/^/| /' conftest.$ac_ext >&5
|
|---|
| 4061 |
|
|---|
| 4062 | ac_cv_func_deflate=no
|
|---|
| 4063 | fi
|
|---|
| 4064 | rm -f conftest.err conftest.$ac_objext \
|
|---|
| 4065 | conftest$ac_exeext conftest.$ac_ext
|
|---|
| 4066 | fi
|
|---|
| 4067 | echo "$as_me:$LINENO: result: $ac_cv_func_deflate" >&5
|
|---|
| 4068 | echo "${ECHO_T}$ac_cv_func_deflate" >&6
|
|---|
| 4069 |
|
|---|
| 4070 | echo "$as_me:$LINENO: checking for deflate in -lz" >&5
|
|---|
| 4071 | echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
|
|---|
| 4072 | if test "${ac_cv_lib_z_deflate+set}" = set; then
|
|---|
| 4073 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 4074 | else
|
|---|
| 4075 | ac_check_lib_save_LIBS=$LIBS
|
|---|
| 4076 | LIBS="-lz $LIBS"
|
|---|
| 4077 | if test "$ac_cv_func_deflate" = yes; then
|
|---|
| 4078 | ac_cv_lib_z_deflate=no
|
|---|
| 4079 | else
|
|---|
| 4080 | cat >conftest.$ac_ext <<_ACEOF
|
|---|
| 4081 | /* confdefs.h. */
|
|---|
| 4082 | _ACEOF
|
|---|
| 4083 | cat confdefs.h >>conftest.$ac_ext
|
|---|
| 4084 | cat >>conftest.$ac_ext <<_ACEOF
|
|---|
| 4085 | /* end confdefs.h. */
|
|---|
| 4086 |
|
|---|
| 4087 | /* Override any gcc2 internal prototype to avoid an error. */
|
|---|
| 4088 | #ifdef __cplusplus
|
|---|
| 4089 | extern "C"
|
|---|
| 4090 | #endif
|
|---|
| 4091 | /* We use char because int might match the return type of a gcc2
|
|---|
| 4092 | builtin and then its argument prototype would still apply. */
|
|---|
| 4093 | char deflate ();
|
|---|
| 4094 | int
|
|---|
| 4095 | main ()
|
|---|
| 4096 | {
|
|---|
| 4097 | deflate ();
|
|---|
| 4098 | ;
|
|---|
| 4099 | return 0;
|
|---|
| 4100 | }
|
|---|
| 4101 | _ACEOF
|
|---|
| 4102 | rm -f conftest.$ac_objext conftest$ac_exeext
|
|---|
| 4103 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|---|
| 4104 | (eval $ac_link) 2>conftest.er1
|
|---|
| 4105 | ac_status=$?
|
|---|
| 4106 | grep -v '^ *+' conftest.er1 >conftest.err
|
|---|
| 4107 | rm -f conftest.er1
|
|---|
| 4108 | cat conftest.err >&5
|
|---|
| 4109 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 4110 | (exit $ac_status); } &&
|
|---|
| 4111 | { ac_try='test -z "$ac_c_werror_flag"
|
|---|
| 4112 | || test ! -s conftest.err'
|
|---|
| 4113 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|---|
| 4114 | (eval $ac_try) 2>&5
|
|---|
| 4115 | ac_status=$?
|
|---|
| 4116 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 4117 | (exit $ac_status); }; } &&
|
|---|
| 4118 | { ac_try='test -s conftest$ac_exeext'
|
|---|
| 4119 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|---|
| 4120 | (eval $ac_try) 2>&5
|
|---|
| 4121 | ac_status=$?
|
|---|
| 4122 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 4123 | (exit $ac_status); }; }; then
|
|---|
| 4124 | ac_cv_lib_z_deflate=yes
|
|---|
| 4125 | else
|
|---|
| 4126 | echo "$as_me: failed program was:" >&5
|
|---|
| 4127 | sed 's/^/| /' conftest.$ac_ext >&5
|
|---|
| 4128 |
|
|---|
| 4129 | ac_cv_lib_z_deflate=no
|
|---|
| 4130 | fi
|
|---|
| 4131 | rm -f conftest.err conftest.$ac_objext \
|
|---|
| 4132 | conftest$ac_exeext conftest.$ac_ext
|
|---|
| 4133 | fi
|
|---|
| 4134 | LIBS=$ac_check_lib_save_LIBS
|
|---|
| 4135 | fi
|
|---|
| 4136 | echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
|
|---|
| 4137 | echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
|
|---|
| 4138 | if test $ac_cv_lib_z_deflate = yes; then
|
|---|
| 4139 | target_all=
|
|---|
| 4140 | else
|
|---|
| 4141 | target_all=libzgcj.la
|
|---|
| 4142 | fi
|
|---|
| 4143 |
|
|---|
| 4144 | else
|
|---|
| 4145 | target_all=libzgcj.la
|
|---|
| 4146 | fi
|
|---|
| 4147 | fi
|
|---|
| 4148 |
|
|---|
| 4149 |
|
|---|
| 4150 |
|
|---|
| 4151 |
|
|---|
| 4152 | for ac_header in unistd.h
|
|---|
| 4153 | do
|
|---|
| 4154 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|---|
| 4155 | if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|---|
| 4156 | echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|---|
| 4157 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|---|
| 4158 | if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|---|
| 4159 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 4160 | fi
|
|---|
| 4161 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|---|
| 4162 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|---|
| 4163 | else
|
|---|
| 4164 | # Is the header compilable?
|
|---|
| 4165 | echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|---|
| 4166 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
|---|
| 4167 | cat >conftest.$ac_ext <<_ACEOF
|
|---|
| 4168 | /* confdefs.h. */
|
|---|
| 4169 | _ACEOF
|
|---|
| 4170 | cat confdefs.h >>conftest.$ac_ext
|
|---|
| 4171 | cat >>conftest.$ac_ext <<_ACEOF
|
|---|
| 4172 | /* end confdefs.h. */
|
|---|
| 4173 | $ac_includes_default
|
|---|
| 4174 | #include <$ac_header>
|
|---|
| 4175 | _ACEOF
|
|---|
| 4176 | rm -f conftest.$ac_objext
|
|---|
| 4177 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|---|
| 4178 | (eval $ac_compile) 2>conftest.er1
|
|---|
| 4179 | ac_status=$?
|
|---|
| 4180 | grep -v '^ *+' conftest.er1 >conftest.err
|
|---|
| 4181 | rm -f conftest.er1
|
|---|
| 4182 | cat conftest.err >&5
|
|---|
| 4183 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 4184 | (exit $ac_status); } &&
|
|---|
| 4185 | { ac_try='test -z "$ac_c_werror_flag"
|
|---|
| 4186 | || test ! -s conftest.err'
|
|---|
| 4187 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|---|
| 4188 | (eval $ac_try) 2>&5
|
|---|
| 4189 | ac_status=$?
|
|---|
| 4190 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 4191 | (exit $ac_status); }; } &&
|
|---|
| 4192 | { ac_try='test -s conftest.$ac_objext'
|
|---|
| 4193 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|---|
| 4194 | (eval $ac_try) 2>&5
|
|---|
| 4195 | ac_status=$?
|
|---|
| 4196 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 4197 | (exit $ac_status); }; }; then
|
|---|
| 4198 | ac_header_compiler=yes
|
|---|
| 4199 | else
|
|---|
| 4200 | echo "$as_me: failed program was:" >&5
|
|---|
| 4201 | sed 's/^/| /' conftest.$ac_ext >&5
|
|---|
| 4202 |
|
|---|
| 4203 | ac_header_compiler=no
|
|---|
| 4204 | fi
|
|---|
| 4205 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|---|
| 4206 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|---|
| 4207 | echo "${ECHO_T}$ac_header_compiler" >&6
|
|---|
| 4208 |
|
|---|
| 4209 | # Is the header present?
|
|---|
| 4210 | echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|---|
| 4211 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
|---|
| 4212 | cat >conftest.$ac_ext <<_ACEOF
|
|---|
| 4213 | /* confdefs.h. */
|
|---|
| 4214 | _ACEOF
|
|---|
| 4215 | cat confdefs.h >>conftest.$ac_ext
|
|---|
| 4216 | cat >>conftest.$ac_ext <<_ACEOF
|
|---|
| 4217 | /* end confdefs.h. */
|
|---|
| 4218 | #include <$ac_header>
|
|---|
| 4219 | _ACEOF
|
|---|
| 4220 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|---|
| 4221 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|---|
| 4222 | ac_status=$?
|
|---|
| 4223 | grep -v '^ *+' conftest.er1 >conftest.err
|
|---|
| 4224 | rm -f conftest.er1
|
|---|
| 4225 | cat conftest.err >&5
|
|---|
| 4226 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|---|
| 4227 | (exit $ac_status); } >/dev/null; then
|
|---|
| 4228 | if test -s conftest.err; then
|
|---|
| 4229 | ac_cpp_err=$ac_c_preproc_warn_flag
|
|---|
| 4230 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
|---|
| 4231 | else
|
|---|
| 4232 | ac_cpp_err=
|
|---|
| 4233 | fi
|
|---|
| 4234 | else
|
|---|
| 4235 | ac_cpp_err=yes
|
|---|
| 4236 | fi
|
|---|
| 4237 | if test -z "$ac_cpp_err"; then
|
|---|
| 4238 | ac_header_preproc=yes
|
|---|
| 4239 | else
|
|---|
| 4240 | echo "$as_me: failed program was:" >&5
|
|---|
| 4241 | sed 's/^/| /' conftest.$ac_ext >&5
|
|---|
| 4242 |
|
|---|
| 4243 | ac_header_preproc=no
|
|---|
| 4244 | fi
|
|---|
| 4245 | rm -f conftest.err conftest.$ac_ext
|
|---|
| 4246 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|---|
| 4247 | echo "${ECHO_T}$ac_header_preproc" >&6
|
|---|
| 4248 |
|
|---|
| 4249 | # So? What about this header?
|
|---|
| 4250 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|---|
| 4251 | yes:no: )
|
|---|
| 4252 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|---|
| 4253 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|---|
| 4254 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
|---|
| 4255 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
|---|
| 4256 | ac_header_preproc=yes
|
|---|
| 4257 | ;;
|
|---|
| 4258 | no:yes:* )
|
|---|
| 4259 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|---|
| 4260 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
|---|
| 4261 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|---|
| 4262 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|---|
| 4263 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
|---|
| 4264 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
|---|
| 4265 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
|---|
| 4266 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
|---|
| 4267 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|---|
| 4268 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|---|
| 4269 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
|---|
| 4270 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
|---|
| 4271 | (
|
|---|
| 4272 | cat <<\_ASBOX
|
|---|
| 4273 | ## ------------------------------------------ ##
|
|---|
| 4274 | ## Report this to the AC_PACKAGE_NAME lists. ##
|
|---|
| 4275 | ## ------------------------------------------ ##
|
|---|
| 4276 | _ASBOX
|
|---|
| 4277 | ) |
|
|---|
| 4278 | sed "s/^/$as_me: WARNING: /" >&2
|
|---|
| 4279 | ;;
|
|---|
| 4280 | esac
|
|---|
| 4281 | echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|---|
| 4282 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|---|
| 4283 | if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|---|
| 4284 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
|---|
| 4285 | else
|
|---|
| 4286 | eval "$as_ac_Header=\$ac_header_preproc"
|
|---|
| 4287 | fi
|
|---|
| 4288 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|---|
| 4289 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|---|
| 4290 |
|
|---|
| 4291 | fi
|
|---|
| 4292 | if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|---|
| 4293 | cat >>confdefs.h <<_ACEOF
|
|---|
| 4294 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|---|
| 4295 | _ACEOF
|
|---|
| 4296 |
|
|---|
| 4297 | fi
|
|---|
| 4298 |
|
|---|
| 4299 | done
|
|---|
| 4300 |
|
|---|
| 4301 |
|
|---|
| 4302 | if test -n "$with_cross_host" &&
|
|---|
| 4303 | test x"$with_cross_host" != x"no"; then
|
|---|
| 4304 | toolexecdir='$(exec_prefix)/$(target_alias)'
|
|---|
| 4305 | toolexeclibdir='$(toolexecdir)/lib'
|
|---|
| 4306 | else
|
|---|
| 4307 | toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
|
|---|
| 4308 | toolexeclibdir='$(libdir)'
|
|---|
| 4309 | fi
|
|---|
| 4310 | toolexeclibdir=$toolexeclibdir/`$CC -print-multi-os-directory 2>/dev/null || echo .`
|
|---|
| 4311 |
|
|---|
| 4312 |
|
|---|
| 4313 |
|
|---|
| 4314 |
|
|---|
| 4315 |
|
|---|
| 4316 | if test -n "$with_target_subdir"; then
|
|---|
| 4317 | TARGET_LIBRARY_TRUE=
|
|---|
| 4318 | TARGET_LIBRARY_FALSE='#'
|
|---|
| 4319 | else
|
|---|
| 4320 | TARGET_LIBRARY_TRUE='#'
|
|---|
| 4321 | TARGET_LIBRARY_FALSE=
|
|---|
| 4322 | fi
|
|---|
| 4323 |
|
|---|
| 4324 | if test "${multilib}" = "yes"; then
|
|---|
| 4325 | multilib_arg="--enable-multilib"
|
|---|
| 4326 | else
|
|---|
| 4327 | multilib_arg=
|
|---|
| 4328 | fi
|
|---|
| 4329 |
|
|---|
| 4330 | ac_config_files="$ac_config_files Makefile"
|
|---|
| 4331 | ac_config_commands="$ac_config_commands default"
|
|---|
| 4332 | cat >confcache <<\_ACEOF
|
|---|
| 4333 | # This file is a shell script that caches the results of configure
|
|---|
| 4334 | # tests run on this system so they can be shared between configure
|
|---|
| 4335 | # scripts and configure runs, see configure's option --config-cache.
|
|---|
| 4336 | # It is not useful on other systems. If it contains results you don't
|
|---|
| 4337 | # want to keep, you may remove or edit it.
|
|---|
| 4338 | #
|
|---|
| 4339 | # config.status only pays attention to the cache file if you give it
|
|---|
| 4340 | # the --recheck option to rerun configure.
|
|---|
| 4341 | #
|
|---|
| 4342 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
|---|
| 4343 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
|---|
| 4344 | # following values.
|
|---|
| 4345 |
|
|---|
| 4346 | _ACEOF
|
|---|
| 4347 |
|
|---|
| 4348 | # The following way of writing the cache mishandles newlines in values,
|
|---|
| 4349 | # but we know of no workaround that is simple, portable, and efficient.
|
|---|
| 4350 | # So, don't put newlines in cache variables' values.
|
|---|
| 4351 | # Ultrix sh set writes to stderr and can't be redirected directly,
|
|---|
| 4352 | # and sets the high bit in the cache file unless we assign to the vars.
|
|---|
| 4353 | {
|
|---|
| 4354 | (set) 2>&1 |
|
|---|
| 4355 | case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
|---|
| 4356 | *ac_space=\ *)
|
|---|
| 4357 | # `set' does not quote correctly, so add quotes (double-quote
|
|---|
| 4358 | # substitution turns \\\\ into \\, and sed turns \\ into \).
|
|---|
| 4359 | sed -n \
|
|---|
| 4360 | "s/'/'\\\\''/g;
|
|---|
| 4361 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
|---|
| 4362 | ;;
|
|---|
| 4363 | *)
|
|---|
| 4364 | # `set' quotes correctly as required by POSIX, so do not add quotes.
|
|---|
| 4365 | sed -n \
|
|---|
| 4366 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
|---|
| 4367 | ;;
|
|---|
| 4368 | esac;
|
|---|
| 4369 | } |
|
|---|
| 4370 | sed '
|
|---|
| 4371 | t clear
|
|---|
| 4372 | : clear
|
|---|
| 4373 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
|---|
| 4374 | t end
|
|---|
| 4375 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
|---|
| 4376 | : end' >>confcache
|
|---|
| 4377 | if diff $cache_file confcache >/dev/null 2>&1; then :; else
|
|---|
| 4378 | if test -w $cache_file; then
|
|---|
| 4379 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
|---|
| 4380 | cat confcache >$cache_file
|
|---|
| 4381 | else
|
|---|
| 4382 | echo "not updating unwritable cache $cache_file"
|
|---|
| 4383 | fi
|
|---|
| 4384 | fi
|
|---|
| 4385 | rm -f confcache
|
|---|
| 4386 |
|
|---|
| 4387 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
|---|
| 4388 | # Let make expand exec_prefix.
|
|---|
| 4389 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
|---|
| 4390 |
|
|---|
| 4391 | # VPATH may cause trouble with some makes, so we remove $(srcdir),
|
|---|
| 4392 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
|---|
| 4393 | # trailing colons and then remove the whole line if VPATH becomes empty
|
|---|
| 4394 | # (actually we leave an empty line to preserve line numbers).
|
|---|
| 4395 | if test "x$srcdir" = x.; then
|
|---|
| 4396 | ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
|---|
| 4397 | s/:*\$(srcdir):*/:/;
|
|---|
| 4398 | s/:*\${srcdir}:*/:/;
|
|---|
| 4399 | s/:*@srcdir@:*/:/;
|
|---|
| 4400 | s/^\([^=]*=[ ]*\):*/\1/;
|
|---|
| 4401 | s/:*$//;
|
|---|
| 4402 | s/^[^=]*=[ ]*$//;
|
|---|
| 4403 | }'
|
|---|
| 4404 | fi
|
|---|
| 4405 |
|
|---|
| 4406 | # Transform confdefs.h into DEFS.
|
|---|
| 4407 | # Protect against shell expansion while executing Makefile rules.
|
|---|
| 4408 | # Protect against Makefile macro expansion.
|
|---|
| 4409 | #
|
|---|
| 4410 | # If the first sed substitution is executed (which looks for macros that
|
|---|
| 4411 | # take arguments), then we branch to the quote section. Otherwise,
|
|---|
| 4412 | # look for a macro that doesn't take arguments.
|
|---|
| 4413 | cat >confdef2opt.sed <<\_ACEOF
|
|---|
| 4414 | t clear
|
|---|
| 4415 | : clear
|
|---|
| 4416 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
|
|---|
| 4417 | t quote
|
|---|
| 4418 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
|
|---|
| 4419 | t quote
|
|---|
| 4420 | d
|
|---|
| 4421 | : quote
|
|---|
| 4422 | s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
|
|---|
| 4423 | s,\[,\\&,g
|
|---|
| 4424 | s,\],\\&,g
|
|---|
| 4425 | s,\$,$$,g
|
|---|
| 4426 | p
|
|---|
| 4427 | _ACEOF
|
|---|
| 4428 | # We use echo to avoid assuming a particular line-breaking character.
|
|---|
| 4429 | # The extra dot is to prevent the shell from consuming trailing
|
|---|
| 4430 | # line-breaks from the sub-command output. A line-break within
|
|---|
| 4431 | # single-quotes doesn't work because, if this script is created in a
|
|---|
| 4432 | # platform that uses two characters for line-breaks (e.g., DOS), tr
|
|---|
| 4433 | # would break.
|
|---|
| 4434 | ac_LF_and_DOT=`echo; echo .`
|
|---|
| 4435 | DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
|
|---|
| 4436 | rm -f confdef2opt.sed
|
|---|
| 4437 |
|
|---|
| 4438 |
|
|---|
| 4439 | ac_libobjs=
|
|---|
| 4440 | ac_ltlibobjs=
|
|---|
| 4441 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
|---|
| 4442 | # 1. Remove the extension, and $U if already installed.
|
|---|
| 4443 | ac_i=`echo "$ac_i" |
|
|---|
| 4444 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
|
|---|
| 4445 | # 2. Add them.
|
|---|
| 4446 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
|
|---|
| 4447 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
|
|---|
| 4448 | done
|
|---|
| 4449 | LIBOBJS=$ac_libobjs
|
|---|
| 4450 |
|
|---|
| 4451 | LTLIBOBJS=$ac_ltlibobjs
|
|---|
| 4452 |
|
|---|
| 4453 |
|
|---|
| 4454 |
|
|---|
| 4455 | : ${CONFIG_STATUS=./config.status}
|
|---|
| 4456 | ac_clean_files_save=$ac_clean_files
|
|---|
| 4457 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
|---|
| 4458 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
|---|
| 4459 | echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
|---|
| 4460 | cat >$CONFIG_STATUS <<_ACEOF
|
|---|
| 4461 | #! $SHELL
|
|---|
| 4462 | # Generated by $as_me.
|
|---|
| 4463 | # Run this file to recreate the current configuration.
|
|---|
| 4464 | # Compiler output produced by configure, useful for debugging
|
|---|
| 4465 | # configure, is in config.log if it exists.
|
|---|
| 4466 |
|
|---|
| 4467 | debug=false
|
|---|
| 4468 | ac_cs_recheck=false
|
|---|
| 4469 | ac_cs_silent=false
|
|---|
| 4470 | SHELL=\${CONFIG_SHELL-$SHELL}
|
|---|
| 4471 | _ACEOF
|
|---|
| 4472 |
|
|---|
| 4473 | cat >>$CONFIG_STATUS <<\_ACEOF
|
|---|
| 4474 | ## --------------------- ##
|
|---|
| 4475 | ## M4sh Initialization. ##
|
|---|
| 4476 | ## --------------------- ##
|
|---|
| 4477 |
|
|---|
| 4478 | # Be Bourne compatible
|
|---|
| 4479 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|---|
| 4480 | emulate sh
|
|---|
| 4481 | NULLCMD=:
|
|---|
| 4482 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|---|
| 4483 | # is contrary to our usage. Disable this feature.
|
|---|
| 4484 | alias -g '${1+"$@"}'='"$@"'
|
|---|
| 4485 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
|---|
| 4486 | set -o posix
|
|---|
| 4487 | fi
|
|---|
| 4488 | DUALCASE=1; export DUALCASE # for MKS sh
|
|---|
| 4489 |
|
|---|
| 4490 | # Support unset when possible.
|
|---|
| 4491 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|---|
| 4492 | as_unset=unset
|
|---|
| 4493 | else
|
|---|
| 4494 | as_unset=false
|
|---|
| 4495 | fi
|
|---|
| 4496 |
|
|---|
| 4497 |
|
|---|
| 4498 | # Work around bugs in pre-3.0 UWIN ksh.
|
|---|
| 4499 | $as_unset ENV MAIL MAILPATH
|
|---|
| 4500 | PS1='$ '
|
|---|
| 4501 | PS2='> '
|
|---|
| 4502 | PS4='+ '
|
|---|
| 4503 |
|
|---|
| 4504 | # NLS nuisances.
|
|---|
| 4505 | for as_var in \
|
|---|
| 4506 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
|---|
| 4507 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
|---|
| 4508 | LC_TELEPHONE LC_TIME
|
|---|
| 4509 | do
|
|---|
| 4510 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
|---|
| 4511 | eval $as_var=C; export $as_var
|
|---|
| 4512 | else
|
|---|
| 4513 | $as_unset $as_var
|
|---|
| 4514 | fi
|
|---|
| 4515 | done
|
|---|
| 4516 |
|
|---|
| 4517 | # Required to use basename.
|
|---|
| 4518 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
|---|
| 4519 | as_expr=expr
|
|---|
| 4520 | else
|
|---|
| 4521 | as_expr=false
|
|---|
| 4522 | fi
|
|---|
| 4523 |
|
|---|
| 4524 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
|---|
| 4525 | as_basename=basename
|
|---|
| 4526 | else
|
|---|
| 4527 | as_basename=false
|
|---|
| 4528 | fi
|
|---|
| 4529 |
|
|---|
| 4530 |
|
|---|
| 4531 | # Name of the executable.
|
|---|
| 4532 | as_me=`$as_basename "$0" ||
|
|---|
| 4533 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
|---|
| 4534 | X"$0" : 'X\(//\)$' \| \
|
|---|
| 4535 | X"$0" : 'X\(/\)$' \| \
|
|---|
| 4536 | . : '\(.\)' 2>/dev/null ||
|
|---|
| 4537 | echo X/"$0" |
|
|---|
| 4538 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
|---|
| 4539 | /^X\/\(\/\/\)$/{ s//\1/; q; }
|
|---|
| 4540 | /^X\/\(\/\).*/{ s//\1/; q; }
|
|---|
| 4541 | s/.*/./; q'`
|
|---|
| 4542 |
|
|---|
| 4543 |
|
|---|
| 4544 | # PATH needs CR, and LINENO needs CR and PATH.
|
|---|
| 4545 | # Avoid depending upon Character Ranges.
|
|---|
| 4546 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|---|
| 4547 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|---|
| 4548 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|---|
| 4549 | as_cr_digits='0123456789'
|
|---|
| 4550 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|---|
| 4551 |
|
|---|
| 4552 | # The user is always right.
|
|---|
| 4553 | if test "${PATH_SEPARATOR+set}" != set; then
|
|---|
| 4554 | echo "#! /bin/sh" >conf$$.sh
|
|---|
| 4555 | echo "exit 0" >>conf$$.sh
|
|---|
| 4556 | chmod +x conf$$.sh
|
|---|
| 4557 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
|---|
| 4558 | PATH_SEPARATOR=';'
|
|---|
| 4559 | else
|
|---|
| 4560 | PATH_SEPARATOR=:
|
|---|
| 4561 | fi
|
|---|
| 4562 | rm -f conf$$.sh
|
|---|
| 4563 | fi
|
|---|
| 4564 |
|
|---|
| 4565 |
|
|---|
| 4566 | as_lineno_1=$LINENO
|
|---|
| 4567 | as_lineno_2=$LINENO
|
|---|
| 4568 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
|---|
| 4569 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|---|
| 4570 | test "x$as_lineno_3" = "x$as_lineno_2" || {
|
|---|
| 4571 | # Find who we are. Look in the path if we contain no path at all
|
|---|
| 4572 | # relative or not.
|
|---|
| 4573 | case $0 in
|
|---|
| 4574 | *[\\/]* ) as_myself=$0 ;;
|
|---|
| 4575 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|---|
| 4576 | for as_dir in $PATH
|
|---|
| 4577 | do
|
|---|
| 4578 | IFS=$as_save_IFS
|
|---|
| 4579 | test -z "$as_dir" && as_dir=.
|
|---|
| 4580 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|---|
| 4581 | done
|
|---|
| 4582 |
|
|---|
| 4583 | ;;
|
|---|
| 4584 | esac
|
|---|
| 4585 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
|---|
| 4586 | # in which case we are not to be found in the path.
|
|---|
| 4587 | if test "x$as_myself" = x; then
|
|---|
| 4588 | as_myself=$0
|
|---|
| 4589 | fi
|
|---|
| 4590 | if test ! -f "$as_myself"; then
|
|---|
| 4591 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
|
|---|
| 4592 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
|
|---|
| 4593 | { (exit 1); exit 1; }; }
|
|---|
| 4594 | fi
|
|---|
| 4595 | case $CONFIG_SHELL in
|
|---|
| 4596 | '')
|
|---|
| 4597 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|---|
| 4598 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
|---|
| 4599 | do
|
|---|
| 4600 | IFS=$as_save_IFS
|
|---|
| 4601 | test -z "$as_dir" && as_dir=.
|
|---|
| 4602 | for as_base in sh bash ksh sh5; do
|
|---|
| 4603 | case $as_dir in
|
|---|
| 4604 | /*)
|
|---|
| 4605 | if ("$as_dir/$as_base" -c '
|
|---|
| 4606 | as_lineno_1=$LINENO
|
|---|
| 4607 | as_lineno_2=$LINENO
|
|---|
| 4608 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
|---|
| 4609 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|---|
| 4610 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
|---|
| 4611 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
|---|
| 4612 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
|---|
| 4613 | CONFIG_SHELL=$as_dir/$as_base
|
|---|
| 4614 | export CONFIG_SHELL
|
|---|
| 4615 | exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
|---|
| 4616 | fi;;
|
|---|
| 4617 | esac
|
|---|
| 4618 | done
|
|---|
| 4619 | done
|
|---|
| 4620 | ;;
|
|---|
| 4621 | esac
|
|---|
| 4622 |
|
|---|
| 4623 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
|---|
| 4624 | # uniformly replaced by the line number. The first 'sed' inserts a
|
|---|
| 4625 | # line-number line before each line; the second 'sed' does the real
|
|---|
| 4626 | # work. The second script uses 'N' to pair each line-number line
|
|---|
| 4627 | # with the numbered line, and appends trailing '-' during
|
|---|
| 4628 | # substitution so that $LINENO is not a special case at line end.
|
|---|
| 4629 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
|---|
| 4630 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
|---|
| 4631 | sed '=' <$as_myself |
|
|---|
| 4632 | sed '
|
|---|
| 4633 | N
|
|---|
| 4634 | s,$,-,
|
|---|
| 4635 | : loop
|
|---|
| 4636 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
|---|
| 4637 | t loop
|
|---|
| 4638 | s,-$,,
|
|---|
| 4639 | s,^['$as_cr_digits']*\n,,
|
|---|
| 4640 | ' >$as_me.lineno &&
|
|---|
| 4641 | chmod +x $as_me.lineno ||
|
|---|
| 4642 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
|
|---|
| 4643 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
|
|---|
| 4644 | { (exit 1); exit 1; }; }
|
|---|
| 4645 |
|
|---|
| 4646 | # Don't try to exec as it changes $[0], causing all sort of problems
|
|---|
| 4647 | # (the dirname of $[0] is not the place where we might find the
|
|---|
| 4648 | # original and so on. Autoconf is especially sensible to this).
|
|---|
| 4649 | . ./$as_me.lineno
|
|---|
| 4650 | # Exit status is that of the last command.
|
|---|
| 4651 | exit
|
|---|
| 4652 | }
|
|---|
| 4653 |
|
|---|
| 4654 |
|
|---|
| 4655 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
|---|
| 4656 | *c*,-n*) ECHO_N= ECHO_C='
|
|---|
| 4657 | ' ECHO_T=' ' ;;
|
|---|
| 4658 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
|---|
| 4659 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
|---|
| 4660 | esac
|
|---|
| 4661 |
|
|---|
| 4662 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
|---|
| 4663 | as_expr=expr
|
|---|
| 4664 | else
|
|---|
| 4665 | as_expr=false
|
|---|
| 4666 | fi
|
|---|
| 4667 |
|
|---|
| 4668 | rm -f conf$$ conf$$.exe conf$$.file
|
|---|
| 4669 | echo >conf$$.file
|
|---|
| 4670 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|---|
| 4671 | # We could just check for DJGPP; but this test a) works b) is more generic
|
|---|
| 4672 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
|---|
| 4673 | if test -f conf$$.exe; then
|
|---|
| 4674 | # Don't use ln at all; we don't have any links
|
|---|
| 4675 | as_ln_s='cp -p'
|
|---|
| 4676 | else
|
|---|
| 4677 | as_ln_s='ln -s'
|
|---|
| 4678 | fi
|
|---|
| 4679 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
|---|
| 4680 | as_ln_s=ln
|
|---|
| 4681 | else
|
|---|
| 4682 | as_ln_s='cp -p'
|
|---|
| 4683 | fi
|
|---|
| 4684 | rm -f conf$$ conf$$.exe conf$$.file
|
|---|
| 4685 |
|
|---|
| 4686 | if mkdir -p . 2>/dev/null; then
|
|---|
| 4687 | as_mkdir_p=:
|
|---|
| 4688 | else
|
|---|
| 4689 | test -d ./-p && rmdir ./-p
|
|---|
| 4690 | as_mkdir_p=false
|
|---|
| 4691 | fi
|
|---|
| 4692 |
|
|---|
| 4693 | as_executable_p="test -f"
|
|---|
| 4694 |
|
|---|
| 4695 | # Sed expression to map a string onto a valid CPP name.
|
|---|
| 4696 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|---|
| 4697 |
|
|---|
| 4698 | # Sed expression to map a string onto a valid variable name.
|
|---|
| 4699 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
|---|
| 4700 |
|
|---|
| 4701 |
|
|---|
| 4702 | # IFS
|
|---|
| 4703 | # We need space, tab and new line, in precisely that order.
|
|---|
| 4704 | as_nl='
|
|---|
| 4705 | '
|
|---|
| 4706 | IFS=" $as_nl"
|
|---|
| 4707 |
|
|---|
| 4708 | # CDPATH.
|
|---|
| 4709 | $as_unset CDPATH
|
|---|
| 4710 |
|
|---|
| 4711 | exec 6>&1
|
|---|
| 4712 |
|
|---|
| 4713 | # Open the log real soon, to keep \$[0] and so on meaningful, and to
|
|---|
| 4714 | # report actual input values of CONFIG_FILES etc. instead of their
|
|---|
| 4715 | # values after options handling. Logging --version etc. is OK.
|
|---|
| 4716 | exec 5>>config.log
|
|---|
| 4717 | {
|
|---|
| 4718 | echo
|
|---|
| 4719 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
|---|
| 4720 | ## Running $as_me. ##
|
|---|
| 4721 | _ASBOX
|
|---|
| 4722 | } >&5
|
|---|
| 4723 | cat >&5 <<_CSEOF
|
|---|
| 4724 |
|
|---|
| 4725 | This file was extended by $as_me, which was
|
|---|
| 4726 | generated by GNU Autoconf 2.59. Invocation command line was
|
|---|
| 4727 |
|
|---|
| 4728 | CONFIG_FILES = $CONFIG_FILES
|
|---|
| 4729 | CONFIG_HEADERS = $CONFIG_HEADERS
|
|---|
| 4730 | CONFIG_LINKS = $CONFIG_LINKS
|
|---|
| 4731 | CONFIG_COMMANDS = $CONFIG_COMMANDS
|
|---|
| 4732 | $ $0 $@
|
|---|
| 4733 |
|
|---|
| 4734 | _CSEOF
|
|---|
| 4735 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
|
|---|
| 4736 | echo >&5
|
|---|
| 4737 | _ACEOF
|
|---|
| 4738 |
|
|---|
| 4739 | # Files that config.status was made for.
|
|---|
| 4740 | if test -n "$ac_config_files"; then
|
|---|
| 4741 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
|
|---|
| 4742 | fi
|
|---|
| 4743 |
|
|---|
| 4744 | if test -n "$ac_config_headers"; then
|
|---|
| 4745 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
|
|---|
| 4746 | fi
|
|---|
| 4747 |
|
|---|
| 4748 | if test -n "$ac_config_links"; then
|
|---|
| 4749 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
|
|---|
| 4750 | fi
|
|---|
| 4751 |
|
|---|
| 4752 | if test -n "$ac_config_commands"; then
|
|---|
| 4753 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
|
|---|
| 4754 | fi
|
|---|
| 4755 |
|
|---|
| 4756 | cat >>$CONFIG_STATUS <<\_ACEOF
|
|---|
| 4757 |
|
|---|
| 4758 | ac_cs_usage="\
|
|---|
| 4759 | \`$as_me' instantiates files from templates according to the
|
|---|
| 4760 | current configuration.
|
|---|
| 4761 |
|
|---|
| 4762 | Usage: $0 [OPTIONS] [FILE]...
|
|---|
| 4763 |
|
|---|
| 4764 | -h, --help print this help, then exit
|
|---|
| 4765 | -V, --version print version number, then exit
|
|---|
| 4766 | -q, --quiet do not print progress messages
|
|---|
| 4767 | -d, --debug don't remove temporary files
|
|---|
| 4768 | --recheck update $as_me by reconfiguring in the same conditions
|
|---|
| 4769 | --file=FILE[:TEMPLATE]
|
|---|
| 4770 | instantiate the configuration file FILE
|
|---|
| 4771 |
|
|---|
| 4772 | Configuration files:
|
|---|
| 4773 | $config_files
|
|---|
| 4774 |
|
|---|
| 4775 | Configuration commands:
|
|---|
| 4776 | $config_commands
|
|---|
| 4777 |
|
|---|
| 4778 | Report bugs to <bug-autoconf@gnu.org>."
|
|---|
| 4779 | _ACEOF
|
|---|
| 4780 |
|
|---|
| 4781 | cat >>$CONFIG_STATUS <<_ACEOF
|
|---|
| 4782 | ac_cs_version="\\
|
|---|
| 4783 | config.status
|
|---|
| 4784 | configured by $0, generated by GNU Autoconf 2.59,
|
|---|
| 4785 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
|---|
| 4786 |
|
|---|
| 4787 | Copyright (C) 2003 Free Software Foundation, Inc.
|
|---|
| 4788 | This config.status script is free software; the Free Software Foundation
|
|---|
| 4789 | gives unlimited permission to copy, distribute and modify it."
|
|---|
| 4790 | srcdir=$srcdir
|
|---|
| 4791 | INSTALL="$INSTALL"
|
|---|
| 4792 | _ACEOF
|
|---|
| 4793 |
|
|---|
| 4794 | cat >>$CONFIG_STATUS <<\_ACEOF
|
|---|
| 4795 | # If no file are specified by the user, then we need to provide default
|
|---|
| 4796 | # value. By we need to know if files were specified by the user.
|
|---|
| 4797 | ac_need_defaults=:
|
|---|
| 4798 | while test $# != 0
|
|---|
| 4799 | do
|
|---|
| 4800 | case $1 in
|
|---|
| 4801 | --*=*)
|
|---|
| 4802 | ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
|---|
| 4803 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
|---|
| 4804 | ac_shift=:
|
|---|
| 4805 | ;;
|
|---|
| 4806 | -*)
|
|---|
| 4807 | ac_option=$1
|
|---|
| 4808 | ac_optarg=$2
|
|---|
| 4809 | ac_shift=shift
|
|---|
| 4810 | ;;
|
|---|
| 4811 | *) # This is not an option, so the user has probably given explicit
|
|---|
| 4812 | # arguments.
|
|---|
| 4813 | ac_option=$1
|
|---|
| 4814 | ac_need_defaults=false;;
|
|---|
| 4815 | esac
|
|---|
| 4816 |
|
|---|
| 4817 | case $ac_option in
|
|---|
| 4818 | # Handling of the options.
|
|---|
| 4819 | _ACEOF
|
|---|
| 4820 | cat >>$CONFIG_STATUS <<\_ACEOF
|
|---|
| 4821 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
|---|
| 4822 | ac_cs_recheck=: ;;
|
|---|
| 4823 | --version | --vers* | -V )
|
|---|
| 4824 | echo "$ac_cs_version"; exit 0 ;;
|
|---|
| 4825 | --he | --h)
|
|---|
| 4826 | # Conflict between --help and --header
|
|---|
| 4827 | { { echo "$as_me:$LINENO: error: ambiguous option: $1
|
|---|
| 4828 | Try \`$0 --help' for more information." >&5
|
|---|
| 4829 | echo "$as_me: error: ambiguous option: $1
|
|---|
| 4830 | Try \`$0 --help' for more information." >&2;}
|
|---|
| 4831 | { (exit 1); exit 1; }; };;
|
|---|
| 4832 | --help | --hel | -h )
|
|---|
| 4833 | echo "$ac_cs_usage"; exit 0 ;;
|
|---|
| 4834 | --debug | --d* | -d )
|
|---|
| 4835 | debug=: ;;
|
|---|
| 4836 | --file | --fil | --fi | --f )
|
|---|
| 4837 | $ac_shift
|
|---|
| 4838 | CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
|---|
| 4839 | ac_need_defaults=false;;
|
|---|
| 4840 | --header | --heade | --head | --hea )
|
|---|
| 4841 | $ac_shift
|
|---|
| 4842 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
|---|
| 4843 | ac_need_defaults=false;;
|
|---|
| 4844 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|---|
| 4845 | | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
|---|
| 4846 | ac_cs_silent=: ;;
|
|---|
| 4847 |
|
|---|
| 4848 | # This is an error.
|
|---|
| 4849 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
|
|---|
| 4850 | Try \`$0 --help' for more information." >&5
|
|---|
| 4851 | echo "$as_me: error: unrecognized option: $1
|
|---|
| 4852 | Try \`$0 --help' for more information." >&2;}
|
|---|
| 4853 | { (exit 1); exit 1; }; } ;;
|
|---|
| 4854 |
|
|---|
| 4855 | *) ac_config_targets="$ac_config_targets $1" ;;
|
|---|
| 4856 |
|
|---|
| 4857 | esac
|
|---|
| 4858 | shift
|
|---|
| 4859 | done
|
|---|
| 4860 |
|
|---|
| 4861 | ac_configure_extra_args=
|
|---|
| 4862 |
|
|---|
| 4863 | if $ac_cs_silent; then
|
|---|
| 4864 | exec 6>/dev/null
|
|---|
| 4865 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
|---|
| 4866 | fi
|
|---|
| 4867 |
|
|---|
| 4868 | _ACEOF
|
|---|
| 4869 | cat >>$CONFIG_STATUS <<_ACEOF
|
|---|
| 4870 | if \$ac_cs_recheck; then
|
|---|
| 4871 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
|---|
| 4872 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
|---|
| 4873 | fi
|
|---|
| 4874 |
|
|---|
| 4875 | _ACEOF
|
|---|
| 4876 |
|
|---|
| 4877 | cat >>$CONFIG_STATUS <<_ACEOF
|
|---|
| 4878 | #
|
|---|
| 4879 | # INIT-COMMANDS section.
|
|---|
| 4880 | #
|
|---|
| 4881 |
|
|---|
| 4882 | srcdir=${srcdir}
|
|---|
| 4883 | host=${host}
|
|---|
| 4884 | target=${target}
|
|---|
| 4885 | with_multisubdir=${with_multisubdir}
|
|---|
| 4886 | ac_configure_args="${multilib_arg} ${ac_configure_args}"
|
|---|
| 4887 | CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
|
|---|
| 4888 | zlib_basedir=${zlib_basedir}
|
|---|
| 4889 | CC="${CC}"
|
|---|
| 4890 | CXX="${CXX}"
|
|---|
| 4891 |
|
|---|
| 4892 |
|
|---|
| 4893 | _ACEOF
|
|---|
| 4894 |
|
|---|
| 4895 |
|
|---|
| 4896 |
|
|---|
| 4897 | cat >>$CONFIG_STATUS <<\_ACEOF
|
|---|
| 4898 | for ac_config_target in $ac_config_targets
|
|---|
| 4899 | do
|
|---|
| 4900 | case "$ac_config_target" in
|
|---|
| 4901 | # Handling of arguments.
|
|---|
| 4902 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
|---|
| 4903 | "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
|
|---|
| 4904 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
|---|
| 4905 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
|---|
| 4906 | { (exit 1); exit 1; }; };;
|
|---|
| 4907 | esac
|
|---|
| 4908 | done
|
|---|
| 4909 |
|
|---|
| 4910 | # If the user did not use the arguments to specify the items to instantiate,
|
|---|
| 4911 | # then the envvar interface is used. Set only those that are not.
|
|---|
| 4912 | # We use the long form for the default assignment because of an extremely
|
|---|
| 4913 | # bizarre bug on SunOS 4.1.3.
|
|---|
| 4914 | if $ac_need_defaults; then
|
|---|
| 4915 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
|---|
| 4916 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
|---|
| 4917 | fi
|
|---|
| 4918 |
|
|---|
| 4919 | # Have a temporary directory for convenience. Make it in the build tree
|
|---|
| 4920 | # simply because there is no reason to put it here, and in addition,
|
|---|
| 4921 | # creating and moving files from /tmp can sometimes cause problems.
|
|---|
| 4922 | # Create a temporary directory, and hook for its removal unless debugging.
|
|---|
| 4923 | $debug ||
|
|---|
| 4924 | {
|
|---|
| 4925 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
|---|
| 4926 | trap '{ (exit 1); exit 1; }' 1 2 13 15
|
|---|
| 4927 | }
|
|---|
| 4928 |
|
|---|
| 4929 | # Create a (secure) tmp directory for tmp files.
|
|---|
| 4930 |
|
|---|
| 4931 | {
|
|---|
| 4932 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
|
|---|
| 4933 | test -n "$tmp" && test -d "$tmp"
|
|---|
| 4934 | } ||
|
|---|
| 4935 | {
|
|---|
| 4936 | tmp=./confstat$$-$RANDOM
|
|---|
| 4937 | (umask 077 && mkdir $tmp)
|
|---|
| 4938 | } ||
|
|---|
| 4939 | {
|
|---|
| 4940 | echo "$me: cannot create a temporary directory in ." >&2
|
|---|
| 4941 | { (exit 1); exit 1; }
|
|---|
| 4942 | }
|
|---|
| 4943 |
|
|---|
| 4944 | _ACEOF
|
|---|
| 4945 |
|
|---|
| 4946 | cat >>$CONFIG_STATUS <<_ACEOF
|
|---|
| 4947 |
|
|---|
| 4948 | #
|
|---|
| 4949 | # CONFIG_FILES section.
|
|---|
| 4950 | #
|
|---|
| 4951 |
|
|---|
| 4952 | # No need to generate the scripts if there are no CONFIG_FILES.
|
|---|
| 4953 | # This happens for instance when ./config.status config.h
|
|---|
| 4954 | if test -n "\$CONFIG_FILES"; then
|
|---|
| 4955 | # Protect against being on the right side of a sed subst in config.status.
|
|---|
| 4956 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
|---|
| 4957 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
|
|---|
| 4958 | s,@SHELL@,$SHELL,;t t
|
|---|
| 4959 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
|
|---|
| 4960 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
|
|---|
| 4961 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
|
|---|
| 4962 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
|
|---|
| 4963 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
|
|---|
| 4964 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
|
|---|
| 4965 | s,@exec_prefix@,$exec_prefix,;t t
|
|---|
| 4966 | s,@prefix@,$prefix,;t t
|
|---|
| 4967 | s,@program_transform_name@,$program_transform_name,;t t
|
|---|
| 4968 | s,@bindir@,$bindir,;t t
|
|---|
| 4969 | s,@sbindir@,$sbindir,;t t
|
|---|
| 4970 | s,@libexecdir@,$libexecdir,;t t
|
|---|
| 4971 | s,@datadir@,$datadir,;t t
|
|---|
| 4972 | s,@sysconfdir@,$sysconfdir,;t t
|
|---|
| 4973 | s,@sharedstatedir@,$sharedstatedir,;t t
|
|---|
| 4974 | s,@localstatedir@,$localstatedir,;t t
|
|---|
| 4975 | s,@libdir@,$libdir,;t t
|
|---|
| 4976 | s,@includedir@,$includedir,;t t
|
|---|
| 4977 | s,@oldincludedir@,$oldincludedir,;t t
|
|---|
| 4978 | s,@infodir@,$infodir,;t t
|
|---|
| 4979 | s,@mandir@,$mandir,;t t
|
|---|
| 4980 | s,@build_alias@,$build_alias,;t t
|
|---|
| 4981 | s,@host_alias@,$host_alias,;t t
|
|---|
| 4982 | s,@target_alias@,$target_alias,;t t
|
|---|
| 4983 | s,@DEFS@,$DEFS,;t t
|
|---|
| 4984 | s,@ECHO_C@,$ECHO_C,;t t
|
|---|
| 4985 | s,@ECHO_N@,$ECHO_N,;t t
|
|---|
| 4986 | s,@ECHO_T@,$ECHO_T,;t t
|
|---|
| 4987 | s,@LIBS@,$LIBS,;t t
|
|---|
| 4988 | s,@zlib_basedir@,$zlib_basedir,;t t
|
|---|
| 4989 | s,@build@,$build,;t t
|
|---|
| 4990 | s,@build_cpu@,$build_cpu,;t t
|
|---|
| 4991 | s,@build_vendor@,$build_vendor,;t t
|
|---|
| 4992 | s,@build_os@,$build_os,;t t
|
|---|
| 4993 | s,@host@,$host,;t t
|
|---|
| 4994 | s,@host_cpu@,$host_cpu,;t t
|
|---|
| 4995 | s,@host_vendor@,$host_vendor,;t t
|
|---|
| 4996 | s,@host_os@,$host_os,;t t
|
|---|
| 4997 | s,@target@,$target,;t t
|
|---|
| 4998 | s,@target_cpu@,$target_cpu,;t t
|
|---|
| 4999 | s,@target_vendor@,$target_vendor,;t t
|
|---|
| 5000 | s,@target_os@,$target_os,;t t
|
|---|
| 5001 | s,@mkinstalldirs@,$mkinstalldirs,;t t
|
|---|
| 5002 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
|
|---|
| 5003 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
|
|---|
| 5004 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
|---|
| 5005 | s,@PACKAGE@,$PACKAGE,;t t
|
|---|
| 5006 | s,@VERSION@,$VERSION,;t t
|
|---|
| 5007 | s,@ACLOCAL@,$ACLOCAL,;t t
|
|---|
| 5008 | s,@AUTOCONF@,$AUTOCONF,;t t
|
|---|
| 5009 | s,@AUTOMAKE@,$AUTOMAKE,;t t
|
|---|
| 5010 | s,@AUTOHEADER@,$AUTOHEADER,;t t
|
|---|
| 5011 | s,@MAKEINFO@,$MAKEINFO,;t t
|
|---|
| 5012 | s,@SET_MAKE@,$SET_MAKE,;t t
|
|---|
| 5013 | s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
|
|---|
| 5014 | s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
|
|---|
| 5015 | s,@MAINT@,$MAINT,;t t
|
|---|
| 5016 | s,@CC@,$CC,;t t
|
|---|
| 5017 | s,@LN_S@,$LN_S,;t t
|
|---|
| 5018 | s,@RANLIB@,$RANLIB,;t t
|
|---|
| 5019 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
|
|---|
| 5020 | s,@STRIP@,$STRIP,;t t
|
|---|
| 5021 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
|
|---|
| 5022 | s,@LIBTOOL@,$LIBTOOL,;t t
|
|---|
| 5023 | s,@COMPPATH@,$COMPPATH,;t t
|
|---|
| 5024 | s,@CPP@,$CPP,;t t
|
|---|
| 5025 | s,@CPPFLAGS@,$CPPFLAGS,;t t
|
|---|
| 5026 | s,@EGREP@,$EGREP,;t t
|
|---|
| 5027 | s,@target_all@,$target_all,;t t
|
|---|
| 5028 | s,@toolexecdir@,$toolexecdir,;t t
|
|---|
| 5029 | s,@toolexeclibdir@,$toolexeclibdir,;t t
|
|---|
| 5030 | s,@TARGET_LIBRARY_TRUE@,$TARGET_LIBRARY_TRUE,;t t
|
|---|
| 5031 | s,@TARGET_LIBRARY_FALSE@,$TARGET_LIBRARY_FALSE,;t t
|
|---|
| 5032 | s,@LIBOBJS@,$LIBOBJS,;t t
|
|---|
| 5033 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t
|
|---|
| 5034 | CEOF
|
|---|
| 5035 |
|
|---|
| 5036 | _ACEOF
|
|---|
| 5037 |
|
|---|
| 5038 | cat >>$CONFIG_STATUS <<\_ACEOF
|
|---|
| 5039 | # Split the substitutions into bite-sized pieces for seds with
|
|---|
| 5040 | # small command number limits, like on Digital OSF/1 and HP-UX.
|
|---|
| 5041 | ac_max_sed_lines=48
|
|---|
| 5042 | ac_sed_frag=1 # Number of current file.
|
|---|
| 5043 | ac_beg=1 # First line for current file.
|
|---|
| 5044 | ac_end=$ac_max_sed_lines # Line after last line for current file.
|
|---|
| 5045 | ac_more_lines=:
|
|---|
| 5046 | ac_sed_cmds=
|
|---|
| 5047 | while $ac_more_lines; do
|
|---|
| 5048 | if test $ac_beg -gt 1; then
|
|---|
| 5049 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
|---|
| 5050 | else
|
|---|
| 5051 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
|---|
| 5052 | fi
|
|---|
| 5053 | if test ! -s $tmp/subs.frag; then
|
|---|
| 5054 | ac_more_lines=false
|
|---|
| 5055 | else
|
|---|
| 5056 | # The purpose of the label and of the branching condition is to
|
|---|
| 5057 | # speed up the sed processing (if there are no `@' at all, there
|
|---|
| 5058 | # is no need to browse any of the substitutions).
|
|---|
| 5059 | # These are the two extra sed commands mentioned above.
|
|---|
| 5060 | (echo ':t
|
|---|
| 5061 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
|---|
| 5062 | if test -z "$ac_sed_cmds"; then
|
|---|
| 5063 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
|---|
| 5064 | else
|
|---|
| 5065 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
|---|
| 5066 | fi
|
|---|
| 5067 | ac_sed_frag=`expr $ac_sed_frag + 1`
|
|---|
| 5068 | ac_beg=$ac_end
|
|---|
| 5069 | ac_end=`expr $ac_end + $ac_max_sed_lines`
|
|---|
| 5070 | fi
|
|---|
| 5071 | done
|
|---|
| 5072 | if test -z "$ac_sed_cmds"; then
|
|---|
| 5073 | ac_sed_cmds=cat
|
|---|
| 5074 | fi
|
|---|
| 5075 | fi # test -n "$CONFIG_FILES"
|
|---|
| 5076 |
|
|---|
| 5077 | _ACEOF
|
|---|
| 5078 | cat >>$CONFIG_STATUS <<\_ACEOF
|
|---|
| 5079 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
|---|
| 5080 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
|---|
| 5081 | case $ac_file in
|
|---|
| 5082 | - | *:- | *:-:* ) # input from stdin
|
|---|
| 5083 | cat >$tmp/stdin
|
|---|
| 5084 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
|---|
| 5085 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
|---|
| 5086 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
|---|
| 5087 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
|---|
| 5088 | * ) ac_file_in=$ac_file.in ;;
|
|---|
| 5089 | esac
|
|---|
| 5090 |
|
|---|
| 5091 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
|---|
| 5092 | ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
|---|
| 5093 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|---|
| 5094 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
|---|
| 5095 | X"$ac_file" : 'X\(//\)$' \| \
|
|---|
| 5096 | X"$ac_file" : 'X\(/\)' \| \
|
|---|
| 5097 | . : '\(.\)' 2>/dev/null ||
|
|---|
| 5098 | echo X"$ac_file" |
|
|---|
| 5099 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|---|
| 5100 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|---|
| 5101 | /^X\(\/\/\)$/{ s//\1/; q; }
|
|---|
| 5102 | /^X\(\/\).*/{ s//\1/; q; }
|
|---|
| 5103 | s/.*/./; q'`
|
|---|
| 5104 | { if $as_mkdir_p; then
|
|---|
| 5105 | mkdir -p "$ac_dir"
|
|---|
| 5106 | else
|
|---|
| 5107 | as_dir="$ac_dir"
|
|---|
| 5108 | as_dirs=
|
|---|
| 5109 | while test ! -d "$as_dir"; do
|
|---|
| 5110 | as_dirs="$as_dir $as_dirs"
|
|---|
| 5111 | as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
|---|
| 5112 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|---|
| 5113 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
|---|
| 5114 | X"$as_dir" : 'X\(//\)$' \| \
|
|---|
| 5115 | X"$as_dir" : 'X\(/\)' \| \
|
|---|
| 5116 | . : '\(.\)' 2>/dev/null ||
|
|---|
| 5117 | echo X"$as_dir" |
|
|---|
| 5118 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|---|
| 5119 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|---|
| 5120 | /^X\(\/\/\)$/{ s//\1/; q; }
|
|---|
| 5121 | /^X\(\/\).*/{ s//\1/; q; }
|
|---|
| 5122 | s/.*/./; q'`
|
|---|
| 5123 | done
|
|---|
| 5124 | test ! -n "$as_dirs" || mkdir $as_dirs
|
|---|
| 5125 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
|---|
| 5126 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
|---|
| 5127 | { (exit 1); exit 1; }; }; }
|
|---|
| 5128 |
|
|---|
| 5129 | ac_builddir=.
|
|---|
| 5130 |
|
|---|
| 5131 | if test "$ac_dir" != .; then
|
|---|
| 5132 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
|---|
| 5133 | # A "../" for each directory in $ac_dir_suffix.
|
|---|
| 5134 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
|---|
| 5135 | else
|
|---|
| 5136 | ac_dir_suffix= ac_top_builddir=
|
|---|
| 5137 | fi
|
|---|
| 5138 |
|
|---|
| 5139 | case $srcdir in
|
|---|
| 5140 | .) # No --srcdir option. We are building in place.
|
|---|
| 5141 | ac_srcdir=.
|
|---|
| 5142 | if test -z "$ac_top_builddir"; then
|
|---|
| 5143 | ac_top_srcdir=.
|
|---|
| 5144 | else
|
|---|
| 5145 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
|---|
| 5146 | fi ;;
|
|---|
| 5147 | [\\/]* | ?:[\\/]* ) # Absolute path.
|
|---|
| 5148 | ac_srcdir=$srcdir$ac_dir_suffix;
|
|---|
| 5149 | ac_top_srcdir=$srcdir ;;
|
|---|
| 5150 | *) # Relative path.
|
|---|
| 5151 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
|---|
| 5152 | ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
|---|
| 5153 | esac
|
|---|
| 5154 |
|
|---|
| 5155 | # Do not use `cd foo && pwd` to compute absolute paths, because
|
|---|
| 5156 | # the directories may not exist.
|
|---|
| 5157 | case `pwd` in
|
|---|
| 5158 | .) ac_abs_builddir="$ac_dir";;
|
|---|
| 5159 | *)
|
|---|
| 5160 | case "$ac_dir" in
|
|---|
| 5161 | .) ac_abs_builddir=`pwd`;;
|
|---|
| 5162 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
|---|
| 5163 | *) ac_abs_builddir=`pwd`/"$ac_dir";;
|
|---|
| 5164 | esac;;
|
|---|
| 5165 | esac
|
|---|
| 5166 | case $ac_abs_builddir in
|
|---|
| 5167 | .) ac_abs_top_builddir=${ac_top_builddir}.;;
|
|---|
| 5168 | *)
|
|---|
| 5169 | case ${ac_top_builddir}. in
|
|---|
| 5170 | .) ac_abs_top_builddir=$ac_abs_builddir;;
|
|---|
| 5171 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
|---|
| 5172 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
|---|
| 5173 | esac;;
|
|---|
| 5174 | esac
|
|---|
| 5175 | case $ac_abs_builddir in
|
|---|
| 5176 | .) ac_abs_srcdir=$ac_srcdir;;
|
|---|
| 5177 | *)
|
|---|
| 5178 | case $ac_srcdir in
|
|---|
| 5179 | .) ac_abs_srcdir=$ac_abs_builddir;;
|
|---|
| 5180 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
|---|
| 5181 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
|---|
| 5182 | esac;;
|
|---|
| 5183 | esac
|
|---|
| 5184 | case $ac_abs_builddir in
|
|---|
| 5185 | .) ac_abs_top_srcdir=$ac_top_srcdir;;
|
|---|
| 5186 | *)
|
|---|
| 5187 | case $ac_top_srcdir in
|
|---|
| 5188 | .) ac_abs_top_srcdir=$ac_abs_builddir;;
|
|---|
| 5189 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
|---|
| 5190 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
|---|
| 5191 | esac;;
|
|---|
| 5192 | esac
|
|---|
| 5193 |
|
|---|
| 5194 |
|
|---|
| 5195 | case $INSTALL in
|
|---|
| 5196 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
|---|
| 5197 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
|
|---|
| 5198 | esac
|
|---|
| 5199 |
|
|---|
| 5200 | if test x"$ac_file" != x-; then
|
|---|
| 5201 | { echo "$as_me:$LINENO: creating $ac_file" >&5
|
|---|
| 5202 | echo "$as_me: creating $ac_file" >&6;}
|
|---|
| 5203 | rm -f "$ac_file"
|
|---|
| 5204 | fi
|
|---|
| 5205 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
|---|
| 5206 | # use $as_me), people would be surprised to read:
|
|---|
| 5207 | # /* config.h. Generated by config.status. */
|
|---|
| 5208 | if test x"$ac_file" = x-; then
|
|---|
| 5209 | configure_input=
|
|---|
| 5210 | else
|
|---|
| 5211 | configure_input="$ac_file. "
|
|---|
| 5212 | fi
|
|---|
| 5213 | configure_input=$configure_input"Generated from `echo $ac_file_in |
|
|---|
| 5214 | sed 's,.*/,,'` by configure."
|
|---|
| 5215 |
|
|---|
| 5216 | # First look for the input files in the build tree, otherwise in the
|
|---|
| 5217 | # src tree.
|
|---|
| 5218 | ac_file_inputs=`IFS=:
|
|---|
| 5219 | for f in $ac_file_in; do
|
|---|
| 5220 | case $f in
|
|---|
| 5221 | -) echo $tmp/stdin ;;
|
|---|
| 5222 | [\\/$]*)
|
|---|
| 5223 | # Absolute (can't be DOS-style, as IFS=:)
|
|---|
| 5224 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
|---|
| 5225 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
|---|
| 5226 | { (exit 1); exit 1; }; }
|
|---|
| 5227 | echo "$f";;
|
|---|
| 5228 | *) # Relative
|
|---|
| 5229 | if test -f "$f"; then
|
|---|
| 5230 | # Build tree
|
|---|
| 5231 | echo "$f"
|
|---|
| 5232 | elif test -f "$srcdir/$f"; then
|
|---|
| 5233 | # Source tree
|
|---|
| 5234 | echo "$srcdir/$f"
|
|---|
| 5235 | else
|
|---|
| 5236 | # /dev/null tree
|
|---|
| 5237 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
|---|
| 5238 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
|---|
| 5239 | { (exit 1); exit 1; }; }
|
|---|
| 5240 | fi;;
|
|---|
| 5241 | esac
|
|---|
| 5242 | done` || { (exit 1); exit 1; }
|
|---|
| 5243 | _ACEOF
|
|---|
| 5244 | cat >>$CONFIG_STATUS <<_ACEOF
|
|---|
| 5245 | sed "$ac_vpsub
|
|---|
| 5246 | $extrasub
|
|---|
| 5247 | _ACEOF
|
|---|
| 5248 | cat >>$CONFIG_STATUS <<\_ACEOF
|
|---|
| 5249 | :t
|
|---|
| 5250 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
|---|
| 5251 | s,@configure_input@,$configure_input,;t t
|
|---|
| 5252 | s,@srcdir@,$ac_srcdir,;t t
|
|---|
| 5253 | s,@abs_srcdir@,$ac_abs_srcdir,;t t
|
|---|
| 5254 | s,@top_srcdir@,$ac_top_srcdir,;t t
|
|---|
| 5255 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
|
|---|
| 5256 | s,@builddir@,$ac_builddir,;t t
|
|---|
| 5257 | s,@abs_builddir@,$ac_abs_builddir,;t t
|
|---|
| 5258 | s,@top_builddir@,$ac_top_builddir,;t t
|
|---|
| 5259 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
|
|---|
| 5260 | s,@INSTALL@,$ac_INSTALL,;t t
|
|---|
| 5261 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
|---|
| 5262 | rm -f $tmp/stdin
|
|---|
| 5263 | if test x"$ac_file" != x-; then
|
|---|
| 5264 | mv $tmp/out $ac_file
|
|---|
| 5265 | else
|
|---|
| 5266 | cat $tmp/out
|
|---|
| 5267 | rm -f $tmp/out
|
|---|
| 5268 | fi
|
|---|
| 5269 |
|
|---|
| 5270 | done
|
|---|
| 5271 | _ACEOF
|
|---|
| 5272 | cat >>$CONFIG_STATUS <<\_ACEOF
|
|---|
| 5273 |
|
|---|
| 5274 | #
|
|---|
| 5275 | # CONFIG_COMMANDS section.
|
|---|
| 5276 | #
|
|---|
| 5277 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
|
|---|
| 5278 | ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
|
|---|
| 5279 | ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
|---|
| 5280 | ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
|
|---|
| 5281 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|---|
| 5282 | X"$ac_dest" : 'X\(//\)[^/]' \| \
|
|---|
| 5283 | X"$ac_dest" : 'X\(//\)$' \| \
|
|---|
| 5284 | X"$ac_dest" : 'X\(/\)' \| \
|
|---|
| 5285 | . : '\(.\)' 2>/dev/null ||
|
|---|
| 5286 | echo X"$ac_dest" |
|
|---|
| 5287 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|---|
| 5288 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|---|
| 5289 | /^X\(\/\/\)$/{ s//\1/; q; }
|
|---|
| 5290 | /^X\(\/\).*/{ s//\1/; q; }
|
|---|
| 5291 | s/.*/./; q'`
|
|---|
| 5292 | { if $as_mkdir_p; then
|
|---|
| 5293 | mkdir -p "$ac_dir"
|
|---|
| 5294 | else
|
|---|
| 5295 | as_dir="$ac_dir"
|
|---|
| 5296 | as_dirs=
|
|---|
| 5297 | while test ! -d "$as_dir"; do
|
|---|
| 5298 | as_dirs="$as_dir $as_dirs"
|
|---|
| 5299 | as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
|---|
| 5300 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|---|
| 5301 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
|---|
| 5302 | X"$as_dir" : 'X\(//\)$' \| \
|
|---|
| 5303 | X"$as_dir" : 'X\(/\)' \| \
|
|---|
| 5304 | . : '\(.\)' 2>/dev/null ||
|
|---|
| 5305 | echo X"$as_dir" |
|
|---|
| 5306 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|---|
| 5307 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|---|
| 5308 | /^X\(\/\/\)$/{ s//\1/; q; }
|
|---|
| 5309 | /^X\(\/\).*/{ s//\1/; q; }
|
|---|
| 5310 | s/.*/./; q'`
|
|---|
| 5311 | done
|
|---|
| 5312 | test ! -n "$as_dirs" || mkdir $as_dirs
|
|---|
| 5313 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
|---|
| 5314 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
|---|
| 5315 | { (exit 1); exit 1; }; }; }
|
|---|
| 5316 |
|
|---|
| 5317 | ac_builddir=.
|
|---|
| 5318 |
|
|---|
| 5319 | if test "$ac_dir" != .; then
|
|---|
| 5320 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
|---|
| 5321 | # A "../" for each directory in $ac_dir_suffix.
|
|---|
| 5322 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
|---|
| 5323 | else
|
|---|
| 5324 | ac_dir_suffix= ac_top_builddir=
|
|---|
| 5325 | fi
|
|---|
| 5326 |
|
|---|
| 5327 | case $srcdir in
|
|---|
| 5328 | .) # No --srcdir option. We are building in place.
|
|---|
| 5329 | ac_srcdir=.
|
|---|
| 5330 | if test -z "$ac_top_builddir"; then
|
|---|
| 5331 | ac_top_srcdir=.
|
|---|
| 5332 | else
|
|---|
| 5333 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
|---|
| 5334 | fi ;;
|
|---|
| 5335 | [\\/]* | ?:[\\/]* ) # Absolute path.
|
|---|
| 5336 | ac_srcdir=$srcdir$ac_dir_suffix;
|
|---|
| 5337 | ac_top_srcdir=$srcdir ;;
|
|---|
| 5338 | *) # Relative path.
|
|---|
| 5339 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
|---|
| 5340 | ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
|---|
| 5341 | esac
|
|---|
| 5342 |
|
|---|
| 5343 | # Do not use `cd foo && pwd` to compute absolute paths, because
|
|---|
| 5344 | # the directories may not exist.
|
|---|
| 5345 | case `pwd` in
|
|---|
| 5346 | .) ac_abs_builddir="$ac_dir";;
|
|---|
| 5347 | *)
|
|---|
| 5348 | case "$ac_dir" in
|
|---|
| 5349 | .) ac_abs_builddir=`pwd`;;
|
|---|
| 5350 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
|---|
| 5351 | *) ac_abs_builddir=`pwd`/"$ac_dir";;
|
|---|
| 5352 | esac;;
|
|---|
| 5353 | esac
|
|---|
| 5354 | case $ac_abs_builddir in
|
|---|
| 5355 | .) ac_abs_top_builddir=${ac_top_builddir}.;;
|
|---|
| 5356 | *)
|
|---|
| 5357 | case ${ac_top_builddir}. in
|
|---|
| 5358 | .) ac_abs_top_builddir=$ac_abs_builddir;;
|
|---|
| 5359 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
|---|
| 5360 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
|---|
| 5361 | esac;;
|
|---|
| 5362 | esac
|
|---|
| 5363 | case $ac_abs_builddir in
|
|---|
| 5364 | .) ac_abs_srcdir=$ac_srcdir;;
|
|---|
| 5365 | *)
|
|---|
| 5366 | case $ac_srcdir in
|
|---|
| 5367 | .) ac_abs_srcdir=$ac_abs_builddir;;
|
|---|
| 5368 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
|---|
| 5369 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
|---|
| 5370 | esac;;
|
|---|
| 5371 | esac
|
|---|
| 5372 | case $ac_abs_builddir in
|
|---|
| 5373 | .) ac_abs_top_srcdir=$ac_top_srcdir;;
|
|---|
| 5374 | *)
|
|---|
| 5375 | case $ac_top_srcdir in
|
|---|
| 5376 | .) ac_abs_top_srcdir=$ac_abs_builddir;;
|
|---|
| 5377 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
|---|
| 5378 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
|---|
| 5379 | esac;;
|
|---|
| 5380 | esac
|
|---|
| 5381 |
|
|---|
| 5382 |
|
|---|
| 5383 | { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
|
|---|
| 5384 | echo "$as_me: executing $ac_dest commands" >&6;}
|
|---|
| 5385 | case $ac_dest in
|
|---|
| 5386 | default ) if test -n "$CONFIG_FILES"; then
|
|---|
| 5387 | LD="${ORIGINAL_LD_FOR_MULTILIBS}"
|
|---|
| 5388 | ac_file=Makefile . ${zlib_basedir}/../config-ml.in
|
|---|
| 5389 | fi ;;
|
|---|
| 5390 | esac
|
|---|
| 5391 | done
|
|---|
| 5392 | _ACEOF
|
|---|
| 5393 |
|
|---|
| 5394 | cat >>$CONFIG_STATUS <<\_ACEOF
|
|---|
| 5395 |
|
|---|
| 5396 | { (exit 0); exit 0; }
|
|---|
| 5397 | _ACEOF
|
|---|
| 5398 | chmod +x $CONFIG_STATUS
|
|---|
| 5399 | ac_clean_files=$ac_clean_files_save
|
|---|
| 5400 |
|
|---|
| 5401 |
|
|---|
| 5402 | # configure is writing to config.log, and then calls config.status.
|
|---|
| 5403 | # config.status does its own redirection, appending to config.log.
|
|---|
| 5404 | # Unfortunately, on DOS this fails, as config.log is still kept open
|
|---|
| 5405 | # by configure, so config.status won't be able to write to it; its
|
|---|
| 5406 | # output is simply discarded. So we exec the FD to /dev/null,
|
|---|
| 5407 | # effectively closing config.log, so it can be properly (re)opened and
|
|---|
| 5408 | # appended to by config.status. When coming back to configure, we
|
|---|
| 5409 | # need to make the FD available again.
|
|---|
| 5410 | if test "$no_create" != yes; then
|
|---|
| 5411 | ac_cs_success=:
|
|---|
| 5412 | ac_config_status_args=
|
|---|
| 5413 | test "$silent" = yes &&
|
|---|
| 5414 | ac_config_status_args="$ac_config_status_args --quiet"
|
|---|
| 5415 | exec 5>/dev/null
|
|---|
| 5416 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
|---|
| 5417 | exec 5>>config.log
|
|---|
| 5418 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
|---|
| 5419 | # would make configure fail if this is the last instruction.
|
|---|
| 5420 | $ac_cs_success || { (exit 1); exit 1; }
|
|---|
| 5421 | fi
|
|---|
| 5422 |
|
|---|