[12844] | 1 | #! /bin/sh
|
---|
| 2 | # Guess values for system-dependent variables and create Makefiles.
|
---|
| 3 | # Generated by GNU Autoconf 2.57.
|
---|
| 4 | #
|
---|
| 5 | # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
|
---|
| 6 | # Free Software Foundation, Inc.
|
---|
| 7 | # This configure script is free software; the Free Software Foundation
|
---|
| 8 | # gives unlimited permission to copy, distribute and modify it.
|
---|
| 9 | ## --------------------- ##
|
---|
| 10 | ## M4sh Initialization. ##
|
---|
| 11 | ## --------------------- ##
|
---|
| 12 |
|
---|
| 13 | # Be Bourne compatible
|
---|
| 14 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
| 15 | emulate sh
|
---|
| 16 | NULLCMD=:
|
---|
| 17 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
---|
| 18 | # is contrary to our usage. Disable this feature.
|
---|
| 19 | alias -g '${1+"$@"}'='"$@"'
|
---|
| 20 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
---|
| 21 | set -o posix
|
---|
| 22 | fi
|
---|
| 23 |
|
---|
| 24 | # Support unset when possible.
|
---|
| 25 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
---|
| 26 | as_unset=unset
|
---|
| 27 | else
|
---|
| 28 | as_unset=false
|
---|
| 29 | fi
|
---|
| 30 |
|
---|
| 31 |
|
---|
| 32 | # Work around bugs in pre-3.0 UWIN ksh.
|
---|
| 33 | $as_unset ENV MAIL MAILPATH
|
---|
| 34 | PS1='$ '
|
---|
| 35 | PS2='> '
|
---|
| 36 | PS4='+ '
|
---|
| 37 |
|
---|
| 38 | # NLS nuisances.
|
---|
| 39 | for as_var in \
|
---|
| 40 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
---|
| 41 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
---|
| 42 | LC_TELEPHONE LC_TIME
|
---|
| 43 | do
|
---|
| 44 | if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
---|
| 45 | eval $as_var=C; export $as_var
|
---|
| 46 | else
|
---|
| 47 | $as_unset $as_var
|
---|
| 48 | fi
|
---|
| 49 | done
|
---|
| 50 |
|
---|
| 51 | # Required to use basename.
|
---|
| 52 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
---|
| 53 | as_expr=expr
|
---|
| 54 | else
|
---|
| 55 | as_expr=false
|
---|
| 56 | fi
|
---|
| 57 |
|
---|
| 58 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
---|
| 59 | as_basename=basename
|
---|
| 60 | else
|
---|
| 61 | as_basename=false
|
---|
| 62 | fi
|
---|
| 63 |
|
---|
| 64 |
|
---|
| 65 | # Name of the executable.
|
---|
| 66 | as_me=`$as_basename "$0" ||
|
---|
| 67 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 68 | X"$0" : 'X\(//\)$' \| \
|
---|
| 69 | X"$0" : 'X\(/\)$' \| \
|
---|
| 70 | . : '\(.\)' 2>/dev/null ||
|
---|
| 71 | echo X/"$0" |
|
---|
| 72 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
---|
| 73 | /^X\/\(\/\/\)$/{ s//\1/; q; }
|
---|
| 74 | /^X\/\(\/\).*/{ s//\1/; q; }
|
---|
| 75 | s/.*/./; q'`
|
---|
| 76 |
|
---|
| 77 |
|
---|
| 78 | # PATH needs CR, and LINENO needs CR and PATH.
|
---|
| 79 | # Avoid depending upon Character Ranges.
|
---|
| 80 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
| 81 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 82 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
| 83 | as_cr_digits='0123456789'
|
---|
| 84 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
| 85 |
|
---|
| 86 | # The user is always right.
|
---|
| 87 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
| 88 | echo "#! /bin/sh" >conf$$.sh
|
---|
| 89 | echo "exit 0" >>conf$$.sh
|
---|
| 90 | chmod +x conf$$.sh
|
---|
| 91 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
---|
| 92 | PATH_SEPARATOR=';'
|
---|
| 93 | else
|
---|
| 94 | PATH_SEPARATOR=:
|
---|
| 95 | fi
|
---|
| 96 | rm -f conf$$.sh
|
---|
| 97 | fi
|
---|
| 98 |
|
---|
| 99 |
|
---|
| 100 | as_lineno_1=$LINENO
|
---|
| 101 | as_lineno_2=$LINENO
|
---|
| 102 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
---|
| 103 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
| 104 | test "x$as_lineno_3" = "x$as_lineno_2" || {
|
---|
| 105 | # Find who we are. Look in the path if we contain no path at all
|
---|
| 106 | # relative or not.
|
---|
| 107 | case $0 in
|
---|
| 108 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 109 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 110 | for as_dir in $PATH
|
---|
| 111 | do
|
---|
| 112 | IFS=$as_save_IFS
|
---|
| 113 | test -z "$as_dir" && as_dir=.
|
---|
| 114 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 115 | done
|
---|
| 116 |
|
---|
| 117 | ;;
|
---|
| 118 | esac
|
---|
| 119 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 120 | # in which case we are not to be found in the path.
|
---|
| 121 | if test "x$as_myself" = x; then
|
---|
| 122 | as_myself=$0
|
---|
| 123 | fi
|
---|
| 124 | if test ! -f "$as_myself"; then
|
---|
| 125 | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
|
---|
| 126 | { (exit 1); exit 1; }; }
|
---|
| 127 | fi
|
---|
| 128 | case $CONFIG_SHELL in
|
---|
| 129 | '')
|
---|
| 130 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 131 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
---|
| 132 | do
|
---|
| 133 | IFS=$as_save_IFS
|
---|
| 134 | test -z "$as_dir" && as_dir=.
|
---|
| 135 | for as_base in sh bash ksh sh5; do
|
---|
| 136 | case $as_dir in
|
---|
| 137 | /*)
|
---|
| 138 | if ("$as_dir/$as_base" -c '
|
---|
| 139 | as_lineno_1=$LINENO
|
---|
| 140 | as_lineno_2=$LINENO
|
---|
| 141 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
---|
| 142 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
| 143 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
---|
| 144 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
---|
| 145 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
---|
| 146 | CONFIG_SHELL=$as_dir/$as_base
|
---|
| 147 | export CONFIG_SHELL
|
---|
| 148 | exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
---|
| 149 | fi;;
|
---|
| 150 | esac
|
---|
| 151 | done
|
---|
| 152 | done
|
---|
| 153 | ;;
|
---|
| 154 | esac
|
---|
| 155 |
|
---|
| 156 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
---|
| 157 | # uniformly replaced by the line number. The first 'sed' inserts a
|
---|
| 158 | # line-number line before each line; the second 'sed' does the real
|
---|
| 159 | # work. The second script uses 'N' to pair each line-number line
|
---|
| 160 | # with the numbered line, and appends trailing '-' during
|
---|
| 161 | # substitution so that $LINENO is not a special case at line end.
|
---|
| 162 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
---|
| 163 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
---|
| 164 | sed '=' <$as_myself |
|
---|
| 165 | sed '
|
---|
| 166 | N
|
---|
| 167 | s,$,-,
|
---|
| 168 | : loop
|
---|
| 169 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
---|
| 170 | t loop
|
---|
| 171 | s,-$,,
|
---|
| 172 | s,^['$as_cr_digits']*\n,,
|
---|
| 173 | ' >$as_me.lineno &&
|
---|
| 174 | chmod +x $as_me.lineno ||
|
---|
| 175 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
---|
| 176 | { (exit 1); exit 1; }; }
|
---|
| 177 |
|
---|
| 178 | # Don't try to exec as it changes $[0], causing all sort of problems
|
---|
| 179 | # (the dirname of $[0] is not the place where we might find the
|
---|
| 180 | # original and so on. Autoconf is especially sensible to this).
|
---|
| 181 | . ./$as_me.lineno
|
---|
| 182 | # Exit status is that of the last command.
|
---|
| 183 | exit
|
---|
| 184 | }
|
---|
| 185 |
|
---|
| 186 |
|
---|
| 187 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
---|
| 188 | *c*,-n*) ECHO_N= ECHO_C='
|
---|
| 189 | ' ECHO_T=' ' ;;
|
---|
| 190 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
---|
| 191 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
---|
| 192 | esac
|
---|
| 193 |
|
---|
| 194 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
---|
| 195 | as_expr=expr
|
---|
| 196 | else
|
---|
| 197 | as_expr=false
|
---|
| 198 | fi
|
---|
| 199 |
|
---|
| 200 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 201 | echo >conf$$.file
|
---|
| 202 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
| 203 | # We could just check for DJGPP; but this test a) works b) is more generic
|
---|
| 204 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
---|
| 205 | if test -f conf$$.exe; then
|
---|
| 206 | # Don't use ln at all; we don't have any links
|
---|
| 207 | as_ln_s='cp -p'
|
---|
| 208 | else
|
---|
| 209 | as_ln_s='ln -s'
|
---|
| 210 | fi
|
---|
| 211 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 212 | as_ln_s=ln
|
---|
| 213 | else
|
---|
| 214 | as_ln_s='cp -p'
|
---|
| 215 | fi
|
---|
| 216 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 217 |
|
---|
| 218 | if mkdir -p . 2>/dev/null; then
|
---|
| 219 | as_mkdir_p=:
|
---|
| 220 | else
|
---|
| 221 | as_mkdir_p=false
|
---|
| 222 | fi
|
---|
| 223 |
|
---|
| 224 | as_executable_p="test -f"
|
---|
| 225 |
|
---|
| 226 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 227 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
|
---|
| 228 |
|
---|
| 229 | # Sed expression to map a string onto a valid variable name.
|
---|
| 230 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
|
---|
| 231 |
|
---|
| 232 |
|
---|
| 233 | # IFS
|
---|
| 234 | # We need space, tab and new line, in precisely that order.
|
---|
| 235 | as_nl='
|
---|
| 236 | '
|
---|
| 237 | IFS=" $as_nl"
|
---|
| 238 |
|
---|
| 239 | # CDPATH.
|
---|
| 240 | $as_unset CDPATH
|
---|
| 241 |
|
---|
| 242 |
|
---|
| 243 | # Name of the host.
|
---|
| 244 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
---|
| 245 | # so uname gets run too.
|
---|
| 246 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 247 |
|
---|
| 248 | exec 6>&1
|
---|
| 249 |
|
---|
| 250 | #
|
---|
| 251 | # Initializations.
|
---|
| 252 | #
|
---|
| 253 | ac_default_prefix=/usr/local
|
---|
| 254 | ac_config_libobj_dir=.
|
---|
| 255 | cross_compiling=no
|
---|
| 256 | subdirs=
|
---|
| 257 | MFLAGS=
|
---|
| 258 | MAKEFLAGS=
|
---|
| 259 | SHELL=${CONFIG_SHELL-/bin/sh}
|
---|
| 260 |
|
---|
| 261 | # Maximum number of lines to put in a shell here document.
|
---|
| 262 | # This variable seems obsolete. It should probably be removed, and
|
---|
| 263 | # only ac_max_sed_lines should be used.
|
---|
| 264 | : ${ac_max_here_lines=38}
|
---|
| 265 |
|
---|
| 266 | # Identity of this package.
|
---|
| 267 | PACKAGE_NAME=
|
---|
| 268 | PACKAGE_TARNAME=
|
---|
| 269 | PACKAGE_VERSION=
|
---|
| 270 | PACKAGE_STRING=
|
---|
| 271 | PACKAGE_BUGREPORT=
|
---|
| 272 |
|
---|
| 273 | ac_unique_file="gdbmget.cpp"
|
---|
| 274 | # Factoring default headers for most tests.
|
---|
| 275 | ac_includes_default="\
|
---|
| 276 | #include <stdio.h>
|
---|
| 277 | #if HAVE_SYS_TYPES_H
|
---|
| 278 | # include <sys/types.h>
|
---|
| 279 | #endif
|
---|
| 280 | #if HAVE_SYS_STAT_H
|
---|
| 281 | # include <sys/stat.h>
|
---|
| 282 | #endif
|
---|
| 283 | #if STDC_HEADERS
|
---|
| 284 | # include <stdlib.h>
|
---|
| 285 | # include <stddef.h>
|
---|
| 286 | #else
|
---|
| 287 | # if HAVE_STDLIB_H
|
---|
| 288 | # include <stdlib.h>
|
---|
| 289 | # endif
|
---|
| 290 | #endif
|
---|
| 291 | #if HAVE_STRING_H
|
---|
| 292 | # if !STDC_HEADERS && HAVE_MEMORY_H
|
---|
| 293 | # include <memory.h>
|
---|
| 294 | # endif
|
---|
| 295 | # include <string.h>
|
---|
| 296 | #endif
|
---|
| 297 | #if HAVE_STRINGS_H
|
---|
| 298 | # include <strings.h>
|
---|
| 299 | #endif
|
---|
| 300 | #if HAVE_INTTYPES_H
|
---|
| 301 | # include <inttypes.h>
|
---|
| 302 | #else
|
---|
| 303 | # if HAVE_STDINT_H
|
---|
| 304 | # include <stdint.h>
|
---|
| 305 | # endif
|
---|
| 306 | #endif
|
---|
| 307 | #if HAVE_UNISTD_H
|
---|
| 308 | # include <unistd.h>
|
---|
| 309 | #endif"
|
---|
| 310 |
|
---|
| 311 | 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 PACKAGE VERSION USE_FASTCGI CFLAGS CC LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB CPP EGREP ALLOCA LIBOBJS GDBM_LIBPATH GDBM_INCLUDE gsdlos LTLIBOBJS'
|
---|
| 312 | ac_subst_files=''
|
---|
| 313 |
|
---|
| 314 | # Initialize some variables set by options.
|
---|
| 315 | ac_init_help=
|
---|
| 316 | ac_init_version=false
|
---|
| 317 | # The variables have the same names as the options, with
|
---|
| 318 | # dashes changed to underlines.
|
---|
| 319 | cache_file=/dev/null
|
---|
| 320 | exec_prefix=NONE
|
---|
| 321 | no_create=
|
---|
| 322 | no_recursion=
|
---|
| 323 | prefix=NONE
|
---|
| 324 | program_prefix=NONE
|
---|
| 325 | program_suffix=NONE
|
---|
| 326 | program_transform_name=s,x,x,
|
---|
| 327 | silent=
|
---|
| 328 | site=
|
---|
| 329 | srcdir=
|
---|
| 330 | verbose=
|
---|
| 331 | x_includes=NONE
|
---|
| 332 | x_libraries=NONE
|
---|
| 333 |
|
---|
| 334 | # Installation directory options.
|
---|
| 335 | # These are left unexpanded so users can "make install exec_prefix=/foo"
|
---|
| 336 | # and all the variables that are supposed to be based on exec_prefix
|
---|
| 337 | # by default will actually change.
|
---|
| 338 | # Use braces instead of parens because sh, perl, etc. also accept them.
|
---|
| 339 | bindir='${exec_prefix}/bin'
|
---|
| 340 | sbindir='${exec_prefix}/sbin'
|
---|
| 341 | libexecdir='${exec_prefix}/libexec'
|
---|
| 342 | datadir='${prefix}/share'
|
---|
| 343 | sysconfdir='${prefix}/etc'
|
---|
| 344 | sharedstatedir='${prefix}/com'
|
---|
| 345 | localstatedir='${prefix}/var'
|
---|
| 346 | libdir='${exec_prefix}/lib'
|
---|
| 347 | includedir='${prefix}/include'
|
---|
| 348 | oldincludedir='/usr/include'
|
---|
| 349 | infodir='${prefix}/info'
|
---|
| 350 | mandir='${prefix}/man'
|
---|
| 351 |
|
---|
| 352 | ac_prev=
|
---|
| 353 | for ac_option
|
---|
| 354 | do
|
---|
| 355 | # If the previous option needs an argument, assign it.
|
---|
| 356 | if test -n "$ac_prev"; then
|
---|
| 357 | eval "$ac_prev=\$ac_option"
|
---|
| 358 | ac_prev=
|
---|
| 359 | continue
|
---|
| 360 | fi
|
---|
| 361 |
|
---|
| 362 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
|
---|
| 363 |
|
---|
| 364 | # Accept the important Cygnus configure options, so we can diagnose typos.
|
---|
| 365 |
|
---|
| 366 | case $ac_option in
|
---|
| 367 |
|
---|
| 368 | -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
---|
| 369 | ac_prev=bindir ;;
|
---|
| 370 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
---|
| 371 | bindir=$ac_optarg ;;
|
---|
| 372 |
|
---|
| 373 | -build | --build | --buil | --bui | --bu)
|
---|
| 374 | ac_prev=build_alias ;;
|
---|
| 375 | -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
---|
| 376 | build_alias=$ac_optarg ;;
|
---|
| 377 |
|
---|
| 378 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 379 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 380 | ac_prev=cache_file ;;
|
---|
| 381 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
| 382 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
---|
| 383 | cache_file=$ac_optarg ;;
|
---|
| 384 |
|
---|
| 385 | --config-cache | -C)
|
---|
| 386 | cache_file=config.cache ;;
|
---|
| 387 |
|
---|
| 388 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
---|
| 389 | ac_prev=datadir ;;
|
---|
| 390 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
---|
| 391 | | --da=*)
|
---|
| 392 | datadir=$ac_optarg ;;
|
---|
| 393 |
|
---|
| 394 | -disable-* | --disable-*)
|
---|
| 395 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
---|
| 396 | # Reject names that are not valid shell variable names.
|
---|
| 397 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
---|
| 398 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
---|
| 399 | { (exit 1); exit 1; }; }
|
---|
| 400 | ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
---|
| 401 | eval "enable_$ac_feature=no" ;;
|
---|
| 402 |
|
---|
| 403 | -enable-* | --enable-*)
|
---|
| 404 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
---|
| 405 | # Reject names that are not valid shell variable names.
|
---|
| 406 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
---|
| 407 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
---|
| 408 | { (exit 1); exit 1; }; }
|
---|
| 409 | ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
---|
| 410 | case $ac_option in
|
---|
| 411 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
---|
| 412 | *) ac_optarg=yes ;;
|
---|
| 413 | esac
|
---|
| 414 | eval "enable_$ac_feature='$ac_optarg'" ;;
|
---|
| 415 |
|
---|
| 416 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
---|
| 417 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
---|
| 418 | | --exec | --exe | --ex)
|
---|
| 419 | ac_prev=exec_prefix ;;
|
---|
| 420 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
---|
| 421 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
---|
| 422 | | --exec=* | --exe=* | --ex=*)
|
---|
| 423 | exec_prefix=$ac_optarg ;;
|
---|
| 424 |
|
---|
| 425 | -gas | --gas | --ga | --g)
|
---|
| 426 | # Obsolete; use --with-gas.
|
---|
| 427 | with_gas=yes ;;
|
---|
| 428 |
|
---|
| 429 | -help | --help | --hel | --he | -h)
|
---|
| 430 | ac_init_help=long ;;
|
---|
| 431 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
---|
| 432 | ac_init_help=recursive ;;
|
---|
| 433 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
---|
| 434 | ac_init_help=short ;;
|
---|
| 435 |
|
---|
| 436 | -host | --host | --hos | --ho)
|
---|
| 437 | ac_prev=host_alias ;;
|
---|
| 438 | -host=* | --host=* | --hos=* | --ho=*)
|
---|
| 439 | host_alias=$ac_optarg ;;
|
---|
| 440 |
|
---|
| 441 | -includedir | --includedir | --includedi | --included | --include \
|
---|
| 442 | | --includ | --inclu | --incl | --inc)
|
---|
| 443 | ac_prev=includedir ;;
|
---|
| 444 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
---|
| 445 | | --includ=* | --inclu=* | --incl=* | --inc=*)
|
---|
| 446 | includedir=$ac_optarg ;;
|
---|
| 447 |
|
---|
| 448 | -infodir | --infodir | --infodi | --infod | --info | --inf)
|
---|
| 449 | ac_prev=infodir ;;
|
---|
| 450 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
---|
| 451 | infodir=$ac_optarg ;;
|
---|
| 452 |
|
---|
| 453 | -libdir | --libdir | --libdi | --libd)
|
---|
| 454 | ac_prev=libdir ;;
|
---|
| 455 | -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
---|
| 456 | libdir=$ac_optarg ;;
|
---|
| 457 |
|
---|
| 458 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
---|
| 459 | | --libexe | --libex | --libe)
|
---|
| 460 | ac_prev=libexecdir ;;
|
---|
| 461 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
---|
| 462 | | --libexe=* | --libex=* | --libe=*)
|
---|
| 463 | libexecdir=$ac_optarg ;;
|
---|
| 464 |
|
---|
| 465 | -localstatedir | --localstatedir | --localstatedi | --localstated \
|
---|
| 466 | | --localstate | --localstat | --localsta | --localst \
|
---|
| 467 | | --locals | --local | --loca | --loc | --lo)
|
---|
| 468 | ac_prev=localstatedir ;;
|
---|
| 469 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
---|
| 470 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
---|
| 471 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
---|
| 472 | localstatedir=$ac_optarg ;;
|
---|
| 473 |
|
---|
| 474 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
---|
| 475 | ac_prev=mandir ;;
|
---|
| 476 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
---|
| 477 | mandir=$ac_optarg ;;
|
---|
| 478 |
|
---|
| 479 | -nfp | --nfp | --nf)
|
---|
| 480 | # Obsolete; use --without-fp.
|
---|
| 481 | with_fp=no ;;
|
---|
| 482 |
|
---|
| 483 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
---|
| 484 | | --no-cr | --no-c | -n)
|
---|
| 485 | no_create=yes ;;
|
---|
| 486 |
|
---|
| 487 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
---|
| 488 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
---|
| 489 | no_recursion=yes ;;
|
---|
| 490 |
|
---|
| 491 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
---|
| 492 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
---|
| 493 | | --oldin | --oldi | --old | --ol | --o)
|
---|
| 494 | ac_prev=oldincludedir ;;
|
---|
| 495 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
---|
| 496 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
---|
| 497 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
---|
| 498 | oldincludedir=$ac_optarg ;;
|
---|
| 499 |
|
---|
| 500 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 501 | ac_prev=prefix ;;
|
---|
| 502 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 503 | prefix=$ac_optarg ;;
|
---|
| 504 |
|
---|
| 505 | -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
---|
| 506 | | --program-pre | --program-pr | --program-p)
|
---|
| 507 | ac_prev=program_prefix ;;
|
---|
| 508 | -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
---|
| 509 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
---|
| 510 | program_prefix=$ac_optarg ;;
|
---|
| 511 |
|
---|
| 512 | -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
---|
| 513 | | --program-suf | --program-su | --program-s)
|
---|
| 514 | ac_prev=program_suffix ;;
|
---|
| 515 | -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
---|
| 516 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
---|
| 517 | program_suffix=$ac_optarg ;;
|
---|
| 518 |
|
---|
| 519 | -program-transform-name | --program-transform-name \
|
---|
| 520 | | --program-transform-nam | --program-transform-na \
|
---|
| 521 | | --program-transform-n | --program-transform- \
|
---|
| 522 | | --program-transform | --program-transfor \
|
---|
| 523 | | --program-transfo | --program-transf \
|
---|
| 524 | | --program-trans | --program-tran \
|
---|
| 525 | | --progr-tra | --program-tr | --program-t)
|
---|
| 526 | ac_prev=program_transform_name ;;
|
---|
| 527 | -program-transform-name=* | --program-transform-name=* \
|
---|
| 528 | | --program-transform-nam=* | --program-transform-na=* \
|
---|
| 529 | | --program-transform-n=* | --program-transform-=* \
|
---|
| 530 | | --program-transform=* | --program-transfor=* \
|
---|
| 531 | | --program-transfo=* | --program-transf=* \
|
---|
| 532 | | --program-trans=* | --program-tran=* \
|
---|
| 533 | | --progr-tra=* | --program-tr=* | --program-t=*)
|
---|
| 534 | program_transform_name=$ac_optarg ;;
|
---|
| 535 |
|
---|
| 536 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 537 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 538 | silent=yes ;;
|
---|
| 539 |
|
---|
| 540 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
---|
| 541 | ac_prev=sbindir ;;
|
---|
| 542 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
---|
| 543 | | --sbi=* | --sb=*)
|
---|
| 544 | sbindir=$ac_optarg ;;
|
---|
| 545 |
|
---|
| 546 | -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
---|
| 547 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
---|
| 548 | | --sharedst | --shareds | --shared | --share | --shar \
|
---|
| 549 | | --sha | --sh)
|
---|
| 550 | ac_prev=sharedstatedir ;;
|
---|
| 551 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
---|
| 552 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
---|
| 553 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
---|
| 554 | | --sha=* | --sh=*)
|
---|
| 555 | sharedstatedir=$ac_optarg ;;
|
---|
| 556 |
|
---|
| 557 | -site | --site | --sit)
|
---|
| 558 | ac_prev=site ;;
|
---|
| 559 | -site=* | --site=* | --sit=*)
|
---|
| 560 | site=$ac_optarg ;;
|
---|
| 561 |
|
---|
| 562 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 563 | ac_prev=srcdir ;;
|
---|
| 564 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 565 | srcdir=$ac_optarg ;;
|
---|
| 566 |
|
---|
| 567 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
---|
| 568 | | --syscon | --sysco | --sysc | --sys | --sy)
|
---|
| 569 | ac_prev=sysconfdir ;;
|
---|
| 570 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
---|
| 571 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
---|
| 572 | sysconfdir=$ac_optarg ;;
|
---|
| 573 |
|
---|
| 574 | -target | --target | --targe | --targ | --tar | --ta | --t)
|
---|
| 575 | ac_prev=target_alias ;;
|
---|
| 576 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
---|
| 577 | target_alias=$ac_optarg ;;
|
---|
| 578 |
|
---|
| 579 | -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
---|
| 580 | verbose=yes ;;
|
---|
| 581 |
|
---|
| 582 | -version | --version | --versio | --versi | --vers | -V)
|
---|
| 583 | ac_init_version=: ;;
|
---|
| 584 |
|
---|
| 585 | -with-* | --with-*)
|
---|
| 586 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
---|
| 587 | # Reject names that are not valid shell variable names.
|
---|
| 588 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
---|
| 589 | { echo "$as_me: error: invalid package name: $ac_package" >&2
|
---|
| 590 | { (exit 1); exit 1; }; }
|
---|
| 591 | ac_package=`echo $ac_package| sed 's/-/_/g'`
|
---|
| 592 | case $ac_option in
|
---|
| 593 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
---|
| 594 | *) ac_optarg=yes ;;
|
---|
| 595 | esac
|
---|
| 596 | eval "with_$ac_package='$ac_optarg'" ;;
|
---|
| 597 |
|
---|
| 598 | -without-* | --without-*)
|
---|
| 599 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
---|
| 600 | # Reject names that are not valid shell variable names.
|
---|
| 601 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
---|
| 602 | { echo "$as_me: error: invalid package name: $ac_package" >&2
|
---|
| 603 | { (exit 1); exit 1; }; }
|
---|
| 604 | ac_package=`echo $ac_package | sed 's/-/_/g'`
|
---|
| 605 | eval "with_$ac_package=no" ;;
|
---|
| 606 |
|
---|
| 607 | --x)
|
---|
| 608 | # Obsolete; use --with-x.
|
---|
| 609 | with_x=yes ;;
|
---|
| 610 |
|
---|
| 611 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
---|
| 612 | | --x-incl | --x-inc | --x-in | --x-i)
|
---|
| 613 | ac_prev=x_includes ;;
|
---|
| 614 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
---|
| 615 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
---|
| 616 | x_includes=$ac_optarg ;;
|
---|
| 617 |
|
---|
| 618 | -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
---|
| 619 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
---|
| 620 | ac_prev=x_libraries ;;
|
---|
| 621 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
---|
| 622 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
---|
| 623 | x_libraries=$ac_optarg ;;
|
---|
| 624 |
|
---|
| 625 | -*) { echo "$as_me: error: unrecognized option: $ac_option
|
---|
| 626 | Try \`$0 --help' for more information." >&2
|
---|
| 627 | { (exit 1); exit 1; }; }
|
---|
| 628 | ;;
|
---|
| 629 |
|
---|
| 630 | *=*)
|
---|
| 631 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
---|
| 632 | # Reject names that are not valid shell variable names.
|
---|
| 633 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
---|
| 634 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
---|
| 635 | { (exit 1); exit 1; }; }
|
---|
| 636 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
|
---|
| 637 | eval "$ac_envvar='$ac_optarg'"
|
---|
| 638 | export $ac_envvar ;;
|
---|
| 639 |
|
---|
| 640 | *)
|
---|
| 641 | # FIXME: should be removed in autoconf 3.0.
|
---|
| 642 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
---|
| 643 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
| 644 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
---|
| 645 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
---|
| 646 | ;;
|
---|
| 647 |
|
---|
| 648 | esac
|
---|
| 649 | done
|
---|
| 650 |
|
---|
| 651 | if test -n "$ac_prev"; then
|
---|
| 652 | ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
---|
| 653 | { echo "$as_me: error: missing argument to $ac_option" >&2
|
---|
| 654 | { (exit 1); exit 1; }; }
|
---|
| 655 | fi
|
---|
| 656 |
|
---|
| 657 | # Be sure to have absolute paths.
|
---|
| 658 | for ac_var in exec_prefix prefix
|
---|
| 659 | do
|
---|
| 660 | eval ac_val=$`echo $ac_var`
|
---|
| 661 | case $ac_val in
|
---|
| 662 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
|
---|
| 663 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
---|
| 664 | { (exit 1); exit 1; }; };;
|
---|
| 665 | esac
|
---|
| 666 | done
|
---|
| 667 |
|
---|
| 668 | # Be sure to have absolute paths.
|
---|
| 669 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
---|
| 670 | localstatedir libdir includedir oldincludedir infodir mandir
|
---|
| 671 | do
|
---|
| 672 | eval ac_val=$`echo $ac_var`
|
---|
| 673 | case $ac_val in
|
---|
| 674 | [\\/$]* | ?:[\\/]* ) ;;
|
---|
| 675 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
---|
| 676 | { (exit 1); exit 1; }; };;
|
---|
| 677 | esac
|
---|
| 678 | done
|
---|
| 679 |
|
---|
| 680 | # There might be people who depend on the old broken behavior: `$host'
|
---|
| 681 | # used to hold the argument of --host etc.
|
---|
| 682 | # FIXME: To remove some day.
|
---|
| 683 | build=$build_alias
|
---|
| 684 | host=$host_alias
|
---|
| 685 | target=$target_alias
|
---|
| 686 |
|
---|
| 687 | # FIXME: To remove some day.
|
---|
| 688 | if test "x$host_alias" != x; then
|
---|
| 689 | if test "x$build_alias" = x; then
|
---|
| 690 | cross_compiling=maybe
|
---|
| 691 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
---|
| 692 | If a cross compiler is detected then cross compile mode will be used." >&2
|
---|
| 693 | elif test "x$build_alias" != "x$host_alias"; then
|
---|
| 694 | cross_compiling=yes
|
---|
| 695 | fi
|
---|
| 696 | fi
|
---|
| 697 |
|
---|
| 698 | ac_tool_prefix=
|
---|
| 699 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
---|
| 700 |
|
---|
| 701 | test "$silent" = yes && exec 6>/dev/null
|
---|
| 702 |
|
---|
| 703 |
|
---|
| 704 | # Find the source files, if location was not specified.
|
---|
| 705 | if test -z "$srcdir"; then
|
---|
| 706 | ac_srcdir_defaulted=yes
|
---|
| 707 | # Try the directory containing this script, then its parent.
|
---|
| 708 | ac_confdir=`(dirname "$0") 2>/dev/null ||
|
---|
| 709 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 710 | X"$0" : 'X\(//\)[^/]' \| \
|
---|
| 711 | X"$0" : 'X\(//\)$' \| \
|
---|
| 712 | X"$0" : 'X\(/\)' \| \
|
---|
| 713 | . : '\(.\)' 2>/dev/null ||
|
---|
| 714 | echo X"$0" |
|
---|
| 715 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 716 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 717 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 718 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 719 | s/.*/./; q'`
|
---|
| 720 | srcdir=$ac_confdir
|
---|
| 721 | if test ! -r $srcdir/$ac_unique_file; then
|
---|
| 722 | srcdir=..
|
---|
| 723 | fi
|
---|
| 724 | else
|
---|
| 725 | ac_srcdir_defaulted=no
|
---|
| 726 | fi
|
---|
| 727 | if test ! -r $srcdir/$ac_unique_file; then
|
---|
| 728 | if test "$ac_srcdir_defaulted" = yes; then
|
---|
| 729 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
|
---|
| 730 | { (exit 1); exit 1; }; }
|
---|
| 731 | else
|
---|
| 732 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
---|
| 733 | { (exit 1); exit 1; }; }
|
---|
| 734 | fi
|
---|
| 735 | fi
|
---|
| 736 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
|
---|
| 737 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
|
---|
| 738 | { (exit 1); exit 1; }; }
|
---|
| 739 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
|
---|
| 740 | ac_env_build_alias_set=${build_alias+set}
|
---|
| 741 | ac_env_build_alias_value=$build_alias
|
---|
| 742 | ac_cv_env_build_alias_set=${build_alias+set}
|
---|
| 743 | ac_cv_env_build_alias_value=$build_alias
|
---|
| 744 | ac_env_host_alias_set=${host_alias+set}
|
---|
| 745 | ac_env_host_alias_value=$host_alias
|
---|
| 746 | ac_cv_env_host_alias_set=${host_alias+set}
|
---|
| 747 | ac_cv_env_host_alias_value=$host_alias
|
---|
| 748 | ac_env_target_alias_set=${target_alias+set}
|
---|
| 749 | ac_env_target_alias_value=$target_alias
|
---|
| 750 | ac_cv_env_target_alias_set=${target_alias+set}
|
---|
| 751 | ac_cv_env_target_alias_value=$target_alias
|
---|
| 752 | ac_env_CC_set=${CC+set}
|
---|
| 753 | ac_env_CC_value=$CC
|
---|
| 754 | ac_cv_env_CC_set=${CC+set}
|
---|
| 755 | ac_cv_env_CC_value=$CC
|
---|
| 756 | ac_env_CFLAGS_set=${CFLAGS+set}
|
---|
| 757 | ac_env_CFLAGS_value=$CFLAGS
|
---|
| 758 | ac_cv_env_CFLAGS_set=${CFLAGS+set}
|
---|
| 759 | ac_cv_env_CFLAGS_value=$CFLAGS
|
---|
| 760 | ac_env_LDFLAGS_set=${LDFLAGS+set}
|
---|
| 761 | ac_env_LDFLAGS_value=$LDFLAGS
|
---|
| 762 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
|
---|
| 763 | ac_cv_env_LDFLAGS_value=$LDFLAGS
|
---|
| 764 | ac_env_CPPFLAGS_set=${CPPFLAGS+set}
|
---|
| 765 | ac_env_CPPFLAGS_value=$CPPFLAGS
|
---|
| 766 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
|
---|
| 767 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS
|
---|
| 768 | ac_env_CXX_set=${CXX+set}
|
---|
| 769 | ac_env_CXX_value=$CXX
|
---|
| 770 | ac_cv_env_CXX_set=${CXX+set}
|
---|
| 771 | ac_cv_env_CXX_value=$CXX
|
---|
| 772 | ac_env_CXXFLAGS_set=${CXXFLAGS+set}
|
---|
| 773 | ac_env_CXXFLAGS_value=$CXXFLAGS
|
---|
| 774 | ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
|
---|
| 775 | ac_cv_env_CXXFLAGS_value=$CXXFLAGS
|
---|
| 776 | ac_env_CPP_set=${CPP+set}
|
---|
| 777 | ac_env_CPP_value=$CPP
|
---|
| 778 | ac_cv_env_CPP_set=${CPP+set}
|
---|
| 779 | ac_cv_env_CPP_value=$CPP
|
---|
| 780 |
|
---|
| 781 | #
|
---|
| 782 | # Report the --help message.
|
---|
| 783 | #
|
---|
| 784 | if test "$ac_init_help" = "long"; then
|
---|
| 785 | # Omit some internal or obsolete options to make the list less imposing.
|
---|
| 786 | # This message is too long to be a string in the A/UX 3.1 sh.
|
---|
| 787 | cat <<_ACEOF
|
---|
| 788 | \`configure' configures this package to adapt to many kinds of systems.
|
---|
| 789 |
|
---|
| 790 | Usage: $0 [OPTION]... [VAR=VALUE]...
|
---|
| 791 |
|
---|
| 792 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
---|
| 793 | VAR=VALUE. See below for descriptions of some of the useful variables.
|
---|
| 794 |
|
---|
| 795 | Defaults for the options are specified in brackets.
|
---|
| 796 |
|
---|
| 797 | Configuration:
|
---|
| 798 | -h, --help display this help and exit
|
---|
| 799 | --help=short display options specific to this package
|
---|
| 800 | --help=recursive display the short help of all the included packages
|
---|
| 801 | -V, --version display version information and exit
|
---|
| 802 | -q, --quiet, --silent do not print \`checking...' messages
|
---|
| 803 | --cache-file=FILE cache test results in FILE [disabled]
|
---|
| 804 | -C, --config-cache alias for \`--cache-file=config.cache'
|
---|
| 805 | -n, --no-create do not create output files
|
---|
| 806 | --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
---|
| 807 |
|
---|
| 808 | _ACEOF
|
---|
| 809 |
|
---|
| 810 | cat <<_ACEOF
|
---|
| 811 | Installation directories:
|
---|
| 812 | --prefix=PREFIX install architecture-independent files in PREFIX
|
---|
| 813 | [$ac_default_prefix]
|
---|
| 814 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
---|
| 815 | [PREFIX]
|
---|
| 816 |
|
---|
| 817 | By default, \`make install' will install all the files in
|
---|
| 818 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
---|
| 819 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
---|
| 820 | for instance \`--prefix=\$HOME'.
|
---|
| 821 |
|
---|
| 822 | For better control, use the options below.
|
---|
| 823 |
|
---|
| 824 | Fine tuning of the installation directories:
|
---|
| 825 | --bindir=DIR user executables [EPREFIX/bin]
|
---|
| 826 | --sbindir=DIR system admin executables [EPREFIX/sbin]
|
---|
| 827 | --libexecdir=DIR program executables [EPREFIX/libexec]
|
---|
| 828 | --datadir=DIR read-only architecture-independent data [PREFIX/share]
|
---|
| 829 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
---|
| 830 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
---|
| 831 | --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
---|
| 832 | --libdir=DIR object code libraries [EPREFIX/lib]
|
---|
| 833 | --includedir=DIR C header files [PREFIX/include]
|
---|
| 834 | --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
---|
| 835 | --infodir=DIR info documentation [PREFIX/info]
|
---|
| 836 | --mandir=DIR man documentation [PREFIX/man]
|
---|
| 837 | _ACEOF
|
---|
| 838 |
|
---|
| 839 | cat <<\_ACEOF
|
---|
| 840 |
|
---|
| 841 | Program names:
|
---|
| 842 | --program-prefix=PREFIX prepend PREFIX to installed program names
|
---|
| 843 | --program-suffix=SUFFIX append SUFFIX to installed program names
|
---|
| 844 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
---|
| 845 | _ACEOF
|
---|
| 846 | fi
|
---|
| 847 |
|
---|
| 848 | if test -n "$ac_init_help"; then
|
---|
| 849 |
|
---|
| 850 | cat <<\_ACEOF
|
---|
| 851 |
|
---|
| 852 | Optional Packages:
|
---|
| 853 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
---|
| 854 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
---|
| 855 | --with-gdbm=dir Use local gdbm library and headers
|
---|
| 856 |
|
---|
| 857 | Some influential environment variables:
|
---|
| 858 | CC C compiler command
|
---|
| 859 | CFLAGS C compiler flags
|
---|
| 860 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
---|
| 861 | nonstandard directory <lib dir>
|
---|
| 862 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
|
---|
| 863 | headers in a nonstandard directory <include dir>
|
---|
| 864 | CXX C++ compiler command
|
---|
| 865 | CXXFLAGS C++ compiler flags
|
---|
| 866 | CPP C preprocessor
|
---|
| 867 |
|
---|
| 868 | Use these variables to override the choices made by `configure' or to help
|
---|
| 869 | it to find libraries and programs with nonstandard names/locations.
|
---|
| 870 |
|
---|
| 871 | _ACEOF
|
---|
| 872 | fi
|
---|
| 873 |
|
---|
| 874 | if test "$ac_init_help" = "recursive"; then
|
---|
| 875 | # If there are subdirs, report their specific --help.
|
---|
| 876 | ac_popdir=`pwd`
|
---|
| 877 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
---|
| 878 | test -d $ac_dir || continue
|
---|
| 879 | ac_builddir=.
|
---|
| 880 |
|
---|
| 881 | if test "$ac_dir" != .; then
|
---|
| 882 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
---|
| 883 | # A "../" for each directory in $ac_dir_suffix.
|
---|
| 884 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
---|
| 885 | else
|
---|
| 886 | ac_dir_suffix= ac_top_builddir=
|
---|
| 887 | fi
|
---|
| 888 |
|
---|
| 889 | case $srcdir in
|
---|
| 890 | .) # No --srcdir option. We are building in place.
|
---|
| 891 | ac_srcdir=.
|
---|
| 892 | if test -z "$ac_top_builddir"; then
|
---|
| 893 | ac_top_srcdir=.
|
---|
| 894 | else
|
---|
| 895 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
---|
| 896 | fi ;;
|
---|
| 897 | [\\/]* | ?:[\\/]* ) # Absolute path.
|
---|
| 898 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
| 899 | ac_top_srcdir=$srcdir ;;
|
---|
| 900 | *) # Relative path.
|
---|
| 901 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
---|
| 902 | ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
---|
| 903 | esac
|
---|
| 904 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
|
---|
| 905 | # absolute.
|
---|
| 906 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
|
---|
| 907 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
|
---|
| 908 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
|
---|
| 909 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
|
---|
| 910 |
|
---|
| 911 | cd $ac_dir
|
---|
| 912 | # Check for guested configure; otherwise get Cygnus style configure.
|
---|
| 913 | if test -f $ac_srcdir/configure.gnu; then
|
---|
| 914 | echo
|
---|
| 915 | $SHELL $ac_srcdir/configure.gnu --help=recursive
|
---|
| 916 | elif test -f $ac_srcdir/configure; then
|
---|
| 917 | echo
|
---|
| 918 | $SHELL $ac_srcdir/configure --help=recursive
|
---|
| 919 | elif test -f $ac_srcdir/configure.ac ||
|
---|
| 920 | test -f $ac_srcdir/configure.in; then
|
---|
| 921 | echo
|
---|
| 922 | $ac_configure --help
|
---|
| 923 | else
|
---|
| 924 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
---|
| 925 | fi
|
---|
| 926 | cd $ac_popdir
|
---|
| 927 | done
|
---|
| 928 | fi
|
---|
| 929 |
|
---|
| 930 | test -n "$ac_init_help" && exit 0
|
---|
| 931 | if $ac_init_version; then
|
---|
| 932 | cat <<\_ACEOF
|
---|
| 933 |
|
---|
| 934 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
|
---|
| 935 | Free Software Foundation, Inc.
|
---|
| 936 | This configure script is free software; the Free Software Foundation
|
---|
| 937 | gives unlimited permission to copy, distribute and modify it.
|
---|
| 938 | _ACEOF
|
---|
| 939 | exit 0
|
---|
| 940 | fi
|
---|
| 941 | exec 5>config.log
|
---|
| 942 | cat >&5 <<_ACEOF
|
---|
| 943 | This file contains any messages produced by compilers while
|
---|
| 944 | running configure, to aid debugging if configure makes a mistake.
|
---|
| 945 |
|
---|
| 946 | It was created by $as_me, which was
|
---|
| 947 | generated by GNU Autoconf 2.57. Invocation command line was
|
---|
| 948 |
|
---|
| 949 | $ $0 $@
|
---|
| 950 |
|
---|
| 951 | _ACEOF
|
---|
| 952 | {
|
---|
| 953 | cat <<_ASUNAME
|
---|
| 954 | ## --------- ##
|
---|
| 955 | ## Platform. ##
|
---|
| 956 | ## --------- ##
|
---|
| 957 |
|
---|
| 958 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 959 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
---|
| 960 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
---|
| 961 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
---|
| 962 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
---|
| 963 |
|
---|
| 964 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
---|
| 965 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
---|
| 966 |
|
---|
| 967 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
---|
| 968 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
---|
| 969 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
---|
| 970 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
---|
| 971 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
---|
| 972 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
---|
| 973 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
---|
| 974 |
|
---|
| 975 | _ASUNAME
|
---|
| 976 |
|
---|
| 977 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 978 | for as_dir in $PATH
|
---|
| 979 | do
|
---|
| 980 | IFS=$as_save_IFS
|
---|
| 981 | test -z "$as_dir" && as_dir=.
|
---|
| 982 | echo "PATH: $as_dir"
|
---|
| 983 | done
|
---|
| 984 |
|
---|
| 985 | } >&5
|
---|
| 986 |
|
---|
| 987 | cat >&5 <<_ACEOF
|
---|
| 988 |
|
---|
| 989 |
|
---|
| 990 | ## ----------- ##
|
---|
| 991 | ## Core tests. ##
|
---|
| 992 | ## ----------- ##
|
---|
| 993 |
|
---|
| 994 | _ACEOF
|
---|
| 995 |
|
---|
| 996 |
|
---|
| 997 | # Keep a trace of the command line.
|
---|
| 998 | # Strip out --no-create and --no-recursion so they do not pile up.
|
---|
| 999 | # Strip out --silent because we don't want to record it for future runs.
|
---|
| 1000 | # Also quote any args containing shell meta-characters.
|
---|
| 1001 | # Make two passes to allow for proper duplicate-argument suppression.
|
---|
| 1002 | ac_configure_args=
|
---|
| 1003 | ac_configure_args0=
|
---|
| 1004 | ac_configure_args1=
|
---|
| 1005 | ac_sep=
|
---|
| 1006 | ac_must_keep_next=false
|
---|
| 1007 | for ac_pass in 1 2
|
---|
| 1008 | do
|
---|
| 1009 | for ac_arg
|
---|
| 1010 | do
|
---|
| 1011 | case $ac_arg in
|
---|
| 1012 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
---|
| 1013 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 1014 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 1015 | continue ;;
|
---|
| 1016 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
---|
| 1017 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 1018 | esac
|
---|
| 1019 | case $ac_pass in
|
---|
| 1020 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
---|
| 1021 | 2)
|
---|
| 1022 | ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
---|
| 1023 | if test $ac_must_keep_next = true; then
|
---|
| 1024 | ac_must_keep_next=false # Got value, back to normal.
|
---|
| 1025 | else
|
---|
| 1026 | case $ac_arg in
|
---|
| 1027 | *=* | --config-cache | -C | -disable-* | --disable-* \
|
---|
| 1028 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
---|
| 1029 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
---|
| 1030 | | -with-* | --with-* | -without-* | --without-* | --x)
|
---|
| 1031 | case "$ac_configure_args0 " in
|
---|
| 1032 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
---|
| 1033 | esac
|
---|
| 1034 | ;;
|
---|
| 1035 | -* ) ac_must_keep_next=true ;;
|
---|
| 1036 | esac
|
---|
| 1037 | fi
|
---|
| 1038 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
---|
| 1039 | # Get rid of the leading space.
|
---|
| 1040 | ac_sep=" "
|
---|
| 1041 | ;;
|
---|
| 1042 | esac
|
---|
| 1043 | done
|
---|
| 1044 | done
|
---|
| 1045 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
---|
| 1046 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
---|
| 1047 |
|
---|
| 1048 | # When interrupted or exit'd, cleanup temporary files, and complete
|
---|
| 1049 | # config.log. We remove comments because anyway the quotes in there
|
---|
| 1050 | # would cause problems or look ugly.
|
---|
| 1051 | # WARNING: Be sure not to use single quotes in there, as some shells,
|
---|
| 1052 | # such as our DU 5.0 friend, will then `close' the trap.
|
---|
| 1053 | trap 'exit_status=$?
|
---|
| 1054 | # Save into config.log some information that might help in debugging.
|
---|
| 1055 | {
|
---|
| 1056 | echo
|
---|
| 1057 |
|
---|
| 1058 | cat <<\_ASBOX
|
---|
| 1059 | ## ---------------- ##
|
---|
| 1060 | ## Cache variables. ##
|
---|
| 1061 | ## ---------------- ##
|
---|
| 1062 | _ASBOX
|
---|
| 1063 | echo
|
---|
| 1064 | # The following way of writing the cache mishandles newlines in values,
|
---|
| 1065 | {
|
---|
| 1066 | (set) 2>&1 |
|
---|
| 1067 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
---|
| 1068 | *ac_space=\ *)
|
---|
| 1069 | sed -n \
|
---|
| 1070 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
---|
| 1071 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
---|
| 1072 | ;;
|
---|
| 1073 | *)
|
---|
| 1074 | sed -n \
|
---|
| 1075 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
---|
| 1076 | ;;
|
---|
| 1077 | esac;
|
---|
| 1078 | }
|
---|
| 1079 | echo
|
---|
| 1080 |
|
---|
| 1081 | cat <<\_ASBOX
|
---|
| 1082 | ## ----------------- ##
|
---|
| 1083 | ## Output variables. ##
|
---|
| 1084 | ## ----------------- ##
|
---|
| 1085 | _ASBOX
|
---|
| 1086 | echo
|
---|
| 1087 | for ac_var in $ac_subst_vars
|
---|
| 1088 | do
|
---|
| 1089 | eval ac_val=$`echo $ac_var`
|
---|
| 1090 | echo "$ac_var='"'"'$ac_val'"'"'"
|
---|
| 1091 | done | sort
|
---|
| 1092 | echo
|
---|
| 1093 |
|
---|
| 1094 | if test -n "$ac_subst_files"; then
|
---|
| 1095 | cat <<\_ASBOX
|
---|
| 1096 | ## ------------- ##
|
---|
| 1097 | ## Output files. ##
|
---|
| 1098 | ## ------------- ##
|
---|
| 1099 | _ASBOX
|
---|
| 1100 | echo
|
---|
| 1101 | for ac_var in $ac_subst_files
|
---|
| 1102 | do
|
---|
| 1103 | eval ac_val=$`echo $ac_var`
|
---|
| 1104 | echo "$ac_var='"'"'$ac_val'"'"'"
|
---|
| 1105 | done | sort
|
---|
| 1106 | echo
|
---|
| 1107 | fi
|
---|
| 1108 |
|
---|
| 1109 | if test -s confdefs.h; then
|
---|
| 1110 | cat <<\_ASBOX
|
---|
| 1111 | ## ----------- ##
|
---|
| 1112 | ## confdefs.h. ##
|
---|
| 1113 | ## ----------- ##
|
---|
| 1114 | _ASBOX
|
---|
| 1115 | echo
|
---|
| 1116 | sed "/^$/d" confdefs.h | sort
|
---|
| 1117 | echo
|
---|
| 1118 | fi
|
---|
| 1119 | test "$ac_signal" != 0 &&
|
---|
| 1120 | echo "$as_me: caught signal $ac_signal"
|
---|
| 1121 | echo "$as_me: exit $exit_status"
|
---|
| 1122 | } >&5
|
---|
| 1123 | rm -f core core.* *.core &&
|
---|
| 1124 | rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
|
---|
| 1125 | exit $exit_status
|
---|
| 1126 | ' 0
|
---|
| 1127 | for ac_signal in 1 2 13 15; do
|
---|
| 1128 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
---|
| 1129 | done
|
---|
| 1130 | ac_signal=0
|
---|
| 1131 |
|
---|
| 1132 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
---|
| 1133 | rm -rf conftest* confdefs.h
|
---|
| 1134 | # AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
---|
| 1135 | echo >confdefs.h
|
---|
| 1136 |
|
---|
| 1137 | # Predefined preprocessor variables.
|
---|
| 1138 |
|
---|
| 1139 | cat >>confdefs.h <<_ACEOF
|
---|
| 1140 | #define PACKAGE_NAME "$PACKAGE_NAME"
|
---|
| 1141 | _ACEOF
|
---|
| 1142 |
|
---|
| 1143 |
|
---|
| 1144 | cat >>confdefs.h <<_ACEOF
|
---|
| 1145 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
---|
| 1146 | _ACEOF
|
---|
| 1147 |
|
---|
| 1148 |
|
---|
| 1149 | cat >>confdefs.h <<_ACEOF
|
---|
| 1150 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
---|
| 1151 | _ACEOF
|
---|
| 1152 |
|
---|
| 1153 |
|
---|
| 1154 | cat >>confdefs.h <<_ACEOF
|
---|
| 1155 | #define PACKAGE_STRING "$PACKAGE_STRING"
|
---|
| 1156 | _ACEOF
|
---|
| 1157 |
|
---|
| 1158 |
|
---|
| 1159 | cat >>confdefs.h <<_ACEOF
|
---|
| 1160 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
---|
| 1161 | _ACEOF
|
---|
| 1162 |
|
---|
| 1163 |
|
---|
| 1164 | # Let the site file select an alternate cache file if it wants to.
|
---|
| 1165 | # Prefer explicitly selected file to automatically selected ones.
|
---|
| 1166 | if test -z "$CONFIG_SITE"; then
|
---|
| 1167 | if test "x$prefix" != xNONE; then
|
---|
| 1168 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
---|
| 1169 | else
|
---|
| 1170 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
---|
| 1171 | fi
|
---|
| 1172 | fi
|
---|
| 1173 | for ac_site_file in $CONFIG_SITE; do
|
---|
| 1174 | if test -r "$ac_site_file"; then
|
---|
| 1175 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
---|
| 1176 | echo "$as_me: loading site script $ac_site_file" >&6;}
|
---|
| 1177 | sed 's/^/| /' "$ac_site_file" >&5
|
---|
| 1178 | . "$ac_site_file"
|
---|
| 1179 | fi
|
---|
| 1180 | done
|
---|
| 1181 |
|
---|
| 1182 | if test -r "$cache_file"; then
|
---|
| 1183 | # Some versions of bash will fail to source /dev/null (special
|
---|
| 1184 | # files actually), so we avoid doing that.
|
---|
| 1185 | if test -f "$cache_file"; then
|
---|
| 1186 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
---|
| 1187 | echo "$as_me: loading cache $cache_file" >&6;}
|
---|
| 1188 | case $cache_file in
|
---|
| 1189 | [\\/]* | ?:[\\/]* ) . $cache_file;;
|
---|
| 1190 | *) . ./$cache_file;;
|
---|
| 1191 | esac
|
---|
| 1192 | fi
|
---|
| 1193 | else
|
---|
| 1194 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
---|
| 1195 | echo "$as_me: creating cache $cache_file" >&6;}
|
---|
| 1196 | >$cache_file
|
---|
| 1197 | fi
|
---|
| 1198 |
|
---|
| 1199 | # Check that the precious variables saved in the cache have kept the same
|
---|
| 1200 | # value.
|
---|
| 1201 | ac_cache_corrupted=false
|
---|
| 1202 | for ac_var in `(set) 2>&1 |
|
---|
| 1203 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
---|
| 1204 | eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
---|
| 1205 | eval ac_new_set=\$ac_env_${ac_var}_set
|
---|
| 1206 | eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
---|
| 1207 | eval ac_new_val="\$ac_env_${ac_var}_value"
|
---|
| 1208 | case $ac_old_set,$ac_new_set in
|
---|
| 1209 | set,)
|
---|
| 1210 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
---|
| 1211 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
---|
| 1212 | ac_cache_corrupted=: ;;
|
---|
| 1213 | ,set)
|
---|
| 1214 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
---|
| 1215 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
---|
| 1216 | ac_cache_corrupted=: ;;
|
---|
| 1217 | ,);;
|
---|
| 1218 | *)
|
---|
| 1219 | if test "x$ac_old_val" != "x$ac_new_val"; then
|
---|
| 1220 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
---|
| 1221 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
---|
| 1222 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
---|
| 1223 | echo "$as_me: former value: $ac_old_val" >&2;}
|
---|
| 1224 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
---|
| 1225 | echo "$as_me: current value: $ac_new_val" >&2;}
|
---|
| 1226 | ac_cache_corrupted=:
|
---|
| 1227 | fi;;
|
---|
| 1228 | esac
|
---|
| 1229 | # Pass precious variables to config.status.
|
---|
| 1230 | if test "$ac_new_set" = set; then
|
---|
| 1231 | case $ac_new_val in
|
---|
| 1232 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
---|
| 1233 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 1234 | *) ac_arg=$ac_var=$ac_new_val ;;
|
---|
| 1235 | esac
|
---|
| 1236 | case " $ac_configure_args " in
|
---|
| 1237 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
---|
| 1238 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
---|
| 1239 | esac
|
---|
| 1240 | fi
|
---|
| 1241 | done
|
---|
| 1242 | if $ac_cache_corrupted; then
|
---|
| 1243 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
---|
| 1244 | echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
---|
| 1245 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
---|
| 1246 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
---|
| 1247 | { (exit 1); exit 1; }; }
|
---|
| 1248 | fi
|
---|
| 1249 |
|
---|
| 1250 | ac_ext=c
|
---|
| 1251 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 1252 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 1253 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 1254 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 1255 |
|
---|
| 1256 |
|
---|
| 1257 |
|
---|
| 1258 |
|
---|
| 1259 |
|
---|
| 1260 |
|
---|
| 1261 |
|
---|
| 1262 |
|
---|
| 1263 |
|
---|
| 1264 |
|
---|
| 1265 |
|
---|
| 1266 |
|
---|
| 1267 |
|
---|
| 1268 |
|
---|
| 1269 |
|
---|
| 1270 |
|
---|
| 1271 |
|
---|
| 1272 |
|
---|
| 1273 |
|
---|
| 1274 | ac_config_headers="$ac_config_headers config.h"
|
---|
| 1275 |
|
---|
| 1276 | test "$program_prefix" != NONE &&
|
---|
| 1277 | program_transform_name="s,^,$program_prefix,;$program_transform_name"
|
---|
| 1278 | # Use a double $ so make ignores it.
|
---|
| 1279 | test "$program_suffix" != NONE &&
|
---|
| 1280 | program_transform_name="s,\$,$program_suffix,;$program_transform_name"
|
---|
| 1281 | # Double any \ or $. echo might interpret backslashes.
|
---|
| 1282 | # By default was `s,x,x', remove it if useless.
|
---|
| 1283 | cat <<\_ACEOF >conftest.sed
|
---|
| 1284 | s/[\\$]/&&/g;s/;s,x,x,$//
|
---|
| 1285 | _ACEOF
|
---|
| 1286 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
---|
| 1287 | rm conftest.sed
|
---|
| 1288 |
|
---|
| 1289 |
|
---|
| 1290 | PACKAGE=gsdl
|
---|
| 1291 | VERSION=2.1
|
---|
| 1292 | cat >>confdefs.h <<_ACEOF
|
---|
| 1293 | #define PACKAGE "$PACKAGE"
|
---|
| 1294 | _ACEOF
|
---|
| 1295 |
|
---|
| 1296 | cat >>confdefs.h <<_ACEOF
|
---|
| 1297 | #define VERSION "$VERSION"
|
---|
| 1298 | _ACEOF
|
---|
| 1299 |
|
---|
| 1300 |
|
---|
| 1301 |
|
---|
| 1302 |
|
---|
| 1303 | USE_FASTCGI=0
|
---|
| 1304 | if test USE_FASTCGI = 1; then
|
---|
| 1305 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1306 | #define USE_FASTCGI 1
|
---|
| 1307 | _ACEOF
|
---|
| 1308 |
|
---|
| 1309 |
|
---|
| 1310 | fi
|
---|
| 1311 |
|
---|
| 1312 |
|
---|
| 1313 | # Check whether --with-gdbm or --without-gdbm was given.
|
---|
| 1314 | if test "${with_gdbm+set}" = set; then
|
---|
| 1315 | withval="$with_gdbm"
|
---|
| 1316 | gdbmdir=$withval
|
---|
| 1317 | fi;
|
---|
| 1318 |
|
---|
| 1319 | LDFLAGS=
|
---|
| 1320 | CFLAGS=-O2
|
---|
| 1321 |
|
---|
| 1322 |
|
---|
| 1323 | ac_ext=c
|
---|
| 1324 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 1325 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 1326 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 1327 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 1328 | if test -n "$ac_tool_prefix"; then
|
---|
| 1329 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
---|
| 1330 | set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
---|
| 1331 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1332 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 1333 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
| 1334 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1335 | else
|
---|
| 1336 | if test -n "$CC"; then
|
---|
| 1337 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 1338 | else
|
---|
| 1339 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1340 | for as_dir in $PATH
|
---|
| 1341 | do
|
---|
| 1342 | IFS=$as_save_IFS
|
---|
| 1343 | test -z "$as_dir" && as_dir=.
|
---|
| 1344 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 1345 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 1346 | ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
---|
| 1347 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1348 | break 2
|
---|
| 1349 | fi
|
---|
| 1350 | done
|
---|
| 1351 | done
|
---|
| 1352 |
|
---|
| 1353 | fi
|
---|
| 1354 | fi
|
---|
| 1355 | CC=$ac_cv_prog_CC
|
---|
| 1356 | if test -n "$CC"; then
|
---|
| 1357 | echo "$as_me:$LINENO: result: $CC" >&5
|
---|
| 1358 | echo "${ECHO_T}$CC" >&6
|
---|
| 1359 | else
|
---|
| 1360 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1361 | echo "${ECHO_T}no" >&6
|
---|
| 1362 | fi
|
---|
| 1363 |
|
---|
| 1364 | fi
|
---|
| 1365 | if test -z "$ac_cv_prog_CC"; then
|
---|
| 1366 | ac_ct_CC=$CC
|
---|
| 1367 | # Extract the first word of "gcc", so it can be a program name with args.
|
---|
| 1368 | set dummy gcc; ac_word=$2
|
---|
| 1369 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1370 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 1371 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
---|
| 1372 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1373 | else
|
---|
| 1374 | if test -n "$ac_ct_CC"; then
|
---|
| 1375 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 1376 | else
|
---|
| 1377 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1378 | for as_dir in $PATH
|
---|
| 1379 | do
|
---|
| 1380 | IFS=$as_save_IFS
|
---|
| 1381 | test -z "$as_dir" && as_dir=.
|
---|
| 1382 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 1383 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 1384 | ac_cv_prog_ac_ct_CC="gcc"
|
---|
| 1385 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1386 | break 2
|
---|
| 1387 | fi
|
---|
| 1388 | done
|
---|
| 1389 | done
|
---|
| 1390 |
|
---|
| 1391 | fi
|
---|
| 1392 | fi
|
---|
| 1393 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 1394 | if test -n "$ac_ct_CC"; then
|
---|
| 1395 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
---|
| 1396 | echo "${ECHO_T}$ac_ct_CC" >&6
|
---|
| 1397 | else
|
---|
| 1398 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1399 | echo "${ECHO_T}no" >&6
|
---|
| 1400 | fi
|
---|
| 1401 |
|
---|
| 1402 | CC=$ac_ct_CC
|
---|
| 1403 | else
|
---|
| 1404 | CC="$ac_cv_prog_CC"
|
---|
| 1405 | fi
|
---|
| 1406 |
|
---|
| 1407 | if test -z "$CC"; then
|
---|
| 1408 | if test -n "$ac_tool_prefix"; then
|
---|
| 1409 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
---|
| 1410 | set dummy ${ac_tool_prefix}cc; ac_word=$2
|
---|
| 1411 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1412 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 1413 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
| 1414 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1415 | else
|
---|
| 1416 | if test -n "$CC"; then
|
---|
| 1417 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 1418 | else
|
---|
| 1419 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1420 | for as_dir in $PATH
|
---|
| 1421 | do
|
---|
| 1422 | IFS=$as_save_IFS
|
---|
| 1423 | test -z "$as_dir" && as_dir=.
|
---|
| 1424 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 1425 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 1426 | ac_cv_prog_CC="${ac_tool_prefix}cc"
|
---|
| 1427 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1428 | break 2
|
---|
| 1429 | fi
|
---|
| 1430 | done
|
---|
| 1431 | done
|
---|
| 1432 |
|
---|
| 1433 | fi
|
---|
| 1434 | fi
|
---|
| 1435 | CC=$ac_cv_prog_CC
|
---|
| 1436 | if test -n "$CC"; then
|
---|
| 1437 | echo "$as_me:$LINENO: result: $CC" >&5
|
---|
| 1438 | echo "${ECHO_T}$CC" >&6
|
---|
| 1439 | else
|
---|
| 1440 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1441 | echo "${ECHO_T}no" >&6
|
---|
| 1442 | fi
|
---|
| 1443 |
|
---|
| 1444 | fi
|
---|
| 1445 | if test -z "$ac_cv_prog_CC"; then
|
---|
| 1446 | ac_ct_CC=$CC
|
---|
| 1447 | # Extract the first word of "cc", so it can be a program name with args.
|
---|
| 1448 | set dummy cc; ac_word=$2
|
---|
| 1449 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1450 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 1451 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
---|
| 1452 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1453 | else
|
---|
| 1454 | if test -n "$ac_ct_CC"; then
|
---|
| 1455 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 1456 | else
|
---|
| 1457 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1458 | for as_dir in $PATH
|
---|
| 1459 | do
|
---|
| 1460 | IFS=$as_save_IFS
|
---|
| 1461 | test -z "$as_dir" && as_dir=.
|
---|
| 1462 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 1463 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 1464 | ac_cv_prog_ac_ct_CC="cc"
|
---|
| 1465 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1466 | break 2
|
---|
| 1467 | fi
|
---|
| 1468 | done
|
---|
| 1469 | done
|
---|
| 1470 |
|
---|
| 1471 | fi
|
---|
| 1472 | fi
|
---|
| 1473 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 1474 | if test -n "$ac_ct_CC"; then
|
---|
| 1475 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
---|
| 1476 | echo "${ECHO_T}$ac_ct_CC" >&6
|
---|
| 1477 | else
|
---|
| 1478 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1479 | echo "${ECHO_T}no" >&6
|
---|
| 1480 | fi
|
---|
| 1481 |
|
---|
| 1482 | CC=$ac_ct_CC
|
---|
| 1483 | else
|
---|
| 1484 | CC="$ac_cv_prog_CC"
|
---|
| 1485 | fi
|
---|
| 1486 |
|
---|
| 1487 | fi
|
---|
| 1488 | if test -z "$CC"; then
|
---|
| 1489 | # Extract the first word of "cc", so it can be a program name with args.
|
---|
| 1490 | set dummy cc; ac_word=$2
|
---|
| 1491 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1492 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 1493 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
| 1494 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1495 | else
|
---|
| 1496 | if test -n "$CC"; then
|
---|
| 1497 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 1498 | else
|
---|
| 1499 | ac_prog_rejected=no
|
---|
| 1500 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1501 | for as_dir in $PATH
|
---|
| 1502 | do
|
---|
| 1503 | IFS=$as_save_IFS
|
---|
| 1504 | test -z "$as_dir" && as_dir=.
|
---|
| 1505 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 1506 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 1507 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
---|
| 1508 | ac_prog_rejected=yes
|
---|
| 1509 | continue
|
---|
| 1510 | fi
|
---|
| 1511 | ac_cv_prog_CC="cc"
|
---|
| 1512 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1513 | break 2
|
---|
| 1514 | fi
|
---|
| 1515 | done
|
---|
| 1516 | done
|
---|
| 1517 |
|
---|
| 1518 | if test $ac_prog_rejected = yes; then
|
---|
| 1519 | # We found a bogon in the path, so make sure we never use it.
|
---|
| 1520 | set dummy $ac_cv_prog_CC
|
---|
| 1521 | shift
|
---|
| 1522 | if test $# != 0; then
|
---|
| 1523 | # We chose a different compiler from the bogus one.
|
---|
| 1524 | # However, it has the same basename, so the bogon will be chosen
|
---|
| 1525 | # first if we set CC to just the basename; use the full file name.
|
---|
| 1526 | shift
|
---|
| 1527 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
---|
| 1528 | fi
|
---|
| 1529 | fi
|
---|
| 1530 | fi
|
---|
| 1531 | fi
|
---|
| 1532 | CC=$ac_cv_prog_CC
|
---|
| 1533 | if test -n "$CC"; then
|
---|
| 1534 | echo "$as_me:$LINENO: result: $CC" >&5
|
---|
| 1535 | echo "${ECHO_T}$CC" >&6
|
---|
| 1536 | else
|
---|
| 1537 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1538 | echo "${ECHO_T}no" >&6
|
---|
| 1539 | fi
|
---|
| 1540 |
|
---|
| 1541 | fi
|
---|
| 1542 | if test -z "$CC"; then
|
---|
| 1543 | if test -n "$ac_tool_prefix"; then
|
---|
| 1544 | for ac_prog in cl
|
---|
| 1545 | do
|
---|
| 1546 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 1547 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
| 1548 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1549 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 1550 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
| 1551 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1552 | else
|
---|
| 1553 | if test -n "$CC"; then
|
---|
| 1554 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 1555 | else
|
---|
| 1556 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1557 | for as_dir in $PATH
|
---|
| 1558 | do
|
---|
| 1559 | IFS=$as_save_IFS
|
---|
| 1560 | test -z "$as_dir" && as_dir=.
|
---|
| 1561 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 1562 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 1563 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
---|
| 1564 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1565 | break 2
|
---|
| 1566 | fi
|
---|
| 1567 | done
|
---|
| 1568 | done
|
---|
| 1569 |
|
---|
| 1570 | fi
|
---|
| 1571 | fi
|
---|
| 1572 | CC=$ac_cv_prog_CC
|
---|
| 1573 | if test -n "$CC"; then
|
---|
| 1574 | echo "$as_me:$LINENO: result: $CC" >&5
|
---|
| 1575 | echo "${ECHO_T}$CC" >&6
|
---|
| 1576 | else
|
---|
| 1577 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1578 | echo "${ECHO_T}no" >&6
|
---|
| 1579 | fi
|
---|
| 1580 |
|
---|
| 1581 | test -n "$CC" && break
|
---|
| 1582 | done
|
---|
| 1583 | fi
|
---|
| 1584 | if test -z "$CC"; then
|
---|
| 1585 | ac_ct_CC=$CC
|
---|
| 1586 | for ac_prog in cl
|
---|
| 1587 | do
|
---|
| 1588 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 1589 | set dummy $ac_prog; ac_word=$2
|
---|
| 1590 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1591 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 1592 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
---|
| 1593 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1594 | else
|
---|
| 1595 | if test -n "$ac_ct_CC"; then
|
---|
| 1596 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 1597 | else
|
---|
| 1598 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1599 | for as_dir in $PATH
|
---|
| 1600 | do
|
---|
| 1601 | IFS=$as_save_IFS
|
---|
| 1602 | test -z "$as_dir" && as_dir=.
|
---|
| 1603 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 1604 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 1605 | ac_cv_prog_ac_ct_CC="$ac_prog"
|
---|
| 1606 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1607 | break 2
|
---|
| 1608 | fi
|
---|
| 1609 | done
|
---|
| 1610 | done
|
---|
| 1611 |
|
---|
| 1612 | fi
|
---|
| 1613 | fi
|
---|
| 1614 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 1615 | if test -n "$ac_ct_CC"; then
|
---|
| 1616 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
---|
| 1617 | echo "${ECHO_T}$ac_ct_CC" >&6
|
---|
| 1618 | else
|
---|
| 1619 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1620 | echo "${ECHO_T}no" >&6
|
---|
| 1621 | fi
|
---|
| 1622 |
|
---|
| 1623 | test -n "$ac_ct_CC" && break
|
---|
| 1624 | done
|
---|
| 1625 |
|
---|
| 1626 | CC=$ac_ct_CC
|
---|
| 1627 | fi
|
---|
| 1628 |
|
---|
| 1629 | fi
|
---|
| 1630 |
|
---|
| 1631 |
|
---|
| 1632 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
---|
| 1633 | See \`config.log' for more details." >&5
|
---|
| 1634 | echo "$as_me: error: no acceptable C compiler found in \$PATH
|
---|
| 1635 | See \`config.log' for more details." >&2;}
|
---|
| 1636 | { (exit 1); exit 1; }; }
|
---|
| 1637 |
|
---|
| 1638 | # Provide some information about the compiler.
|
---|
| 1639 | echo "$as_me:$LINENO:" \
|
---|
| 1640 | "checking for C compiler version" >&5
|
---|
| 1641 | ac_compiler=`set X $ac_compile; echo $2`
|
---|
| 1642 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
|
---|
| 1643 | (eval $ac_compiler --version </dev/null >&5) 2>&5
|
---|
| 1644 | ac_status=$?
|
---|
| 1645 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1646 | (exit $ac_status); }
|
---|
| 1647 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
|
---|
| 1648 | (eval $ac_compiler -v </dev/null >&5) 2>&5
|
---|
| 1649 | ac_status=$?
|
---|
| 1650 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1651 | (exit $ac_status); }
|
---|
| 1652 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
|
---|
| 1653 | (eval $ac_compiler -V </dev/null >&5) 2>&5
|
---|
| 1654 | ac_status=$?
|
---|
| 1655 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1656 | (exit $ac_status); }
|
---|
| 1657 |
|
---|
| 1658 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 1659 | #line $LINENO "configure"
|
---|
| 1660 | /* confdefs.h. */
|
---|
| 1661 | _ACEOF
|
---|
| 1662 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 1663 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 1664 | /* end confdefs.h. */
|
---|
| 1665 |
|
---|
| 1666 | int
|
---|
| 1667 | main ()
|
---|
| 1668 | {
|
---|
| 1669 |
|
---|
| 1670 | ;
|
---|
| 1671 | return 0;
|
---|
| 1672 | }
|
---|
| 1673 | _ACEOF
|
---|
| 1674 | ac_clean_files_save=$ac_clean_files
|
---|
| 1675 | ac_clean_files="$ac_clean_files a.out a.exe b.out"
|
---|
| 1676 | # Try to create an executable without -o first, disregard a.out.
|
---|
| 1677 | # It will help us diagnose broken compilers, and finding out an intuition
|
---|
| 1678 | # of exeext.
|
---|
| 1679 | echo "$as_me:$LINENO: checking for C compiler default output" >&5
|
---|
| 1680 | echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
|
---|
| 1681 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
---|
| 1682 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
|
---|
| 1683 | (eval $ac_link_default) 2>&5
|
---|
| 1684 | ac_status=$?
|
---|
| 1685 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1686 | (exit $ac_status); }; then
|
---|
| 1687 | # Find the output, starting from the most likely. This scheme is
|
---|
| 1688 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last
|
---|
| 1689 | # resort.
|
---|
| 1690 |
|
---|
| 1691 | # Be careful to initialize this variable, since it used to be cached.
|
---|
| 1692 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
|
---|
| 1693 | ac_cv_exeext=
|
---|
| 1694 | # b.out is created by i960 compilers.
|
---|
| 1695 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
|
---|
| 1696 | do
|
---|
| 1697 | test -f "$ac_file" || continue
|
---|
| 1698 | case $ac_file in
|
---|
| 1699 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
|
---|
| 1700 | ;;
|
---|
| 1701 | conftest.$ac_ext )
|
---|
| 1702 | # This is the source file.
|
---|
| 1703 | ;;
|
---|
| 1704 | [ab].out )
|
---|
| 1705 | # We found the default executable, but exeext='' is most
|
---|
| 1706 | # certainly right.
|
---|
| 1707 | break;;
|
---|
| 1708 | *.* )
|
---|
| 1709 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 1710 | # FIXME: I believe we export ac_cv_exeext for Libtool,
|
---|
| 1711 | # but it would be cool to find out if it's true. Does anybody
|
---|
| 1712 | # maintain Libtool? --akim.
|
---|
| 1713 | export ac_cv_exeext
|
---|
| 1714 | break;;
|
---|
| 1715 | * )
|
---|
| 1716 | break;;
|
---|
| 1717 | esac
|
---|
| 1718 | done
|
---|
| 1719 | else
|
---|
| 1720 | echo "$as_me: failed program was:" >&5
|
---|
| 1721 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1722 |
|
---|
| 1723 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables
|
---|
| 1724 | See \`config.log' for more details." >&5
|
---|
| 1725 | echo "$as_me: error: C compiler cannot create executables
|
---|
| 1726 | See \`config.log' for more details." >&2;}
|
---|
| 1727 | { (exit 77); exit 77; }; }
|
---|
| 1728 | fi
|
---|
| 1729 |
|
---|
| 1730 | ac_exeext=$ac_cv_exeext
|
---|
| 1731 | echo "$as_me:$LINENO: result: $ac_file" >&5
|
---|
| 1732 | echo "${ECHO_T}$ac_file" >&6
|
---|
| 1733 |
|
---|
| 1734 | # Check the compiler produces executables we can run. If not, either
|
---|
| 1735 | # the compiler is broken, or we cross compile.
|
---|
| 1736 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
---|
| 1737 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
|
---|
| 1738 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
---|
| 1739 | # If not cross compiling, check that we can run a simple program.
|
---|
| 1740 | if test "$cross_compiling" != yes; then
|
---|
| 1741 | if { ac_try='./$ac_file'
|
---|
| 1742 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 1743 | (eval $ac_try) 2>&5
|
---|
| 1744 | ac_status=$?
|
---|
| 1745 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1746 | (exit $ac_status); }; }; then
|
---|
| 1747 | cross_compiling=no
|
---|
| 1748 | else
|
---|
| 1749 | if test "$cross_compiling" = maybe; then
|
---|
| 1750 | cross_compiling=yes
|
---|
| 1751 | else
|
---|
| 1752 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
---|
| 1753 | If you meant to cross compile, use \`--host'.
|
---|
| 1754 | See \`config.log' for more details." >&5
|
---|
| 1755 | echo "$as_me: error: cannot run C compiled programs.
|
---|
| 1756 | If you meant to cross compile, use \`--host'.
|
---|
| 1757 | See \`config.log' for more details." >&2;}
|
---|
| 1758 | { (exit 1); exit 1; }; }
|
---|
| 1759 | fi
|
---|
| 1760 | fi
|
---|
| 1761 | fi
|
---|
| 1762 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 1763 | echo "${ECHO_T}yes" >&6
|
---|
| 1764 |
|
---|
| 1765 | rm -f a.out a.exe conftest$ac_cv_exeext b.out
|
---|
| 1766 | ac_clean_files=$ac_clean_files_save
|
---|
| 1767 | # Check the compiler produces executables we can run. If not, either
|
---|
| 1768 | # the compiler is broken, or we cross compile.
|
---|
| 1769 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
---|
| 1770 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
|
---|
| 1771 | echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
---|
| 1772 | echo "${ECHO_T}$cross_compiling" >&6
|
---|
| 1773 |
|
---|
| 1774 | echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
---|
| 1775 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
|
---|
| 1776 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 1777 | (eval $ac_link) 2>&5
|
---|
| 1778 | ac_status=$?
|
---|
| 1779 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1780 | (exit $ac_status); }; then
|
---|
| 1781 | # If both `conftest.exe' and `conftest' are `present' (well, observable)
|
---|
| 1782 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
---|
| 1783 | # work properly (i.e., refer to `conftest.exe'), while it won't with
|
---|
| 1784 | # `rm'.
|
---|
| 1785 | for ac_file in conftest.exe conftest conftest.*; do
|
---|
| 1786 | test -f "$ac_file" || continue
|
---|
| 1787 | case $ac_file in
|
---|
| 1788 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
|
---|
| 1789 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 1790 | export ac_cv_exeext
|
---|
| 1791 | break;;
|
---|
| 1792 | * ) break;;
|
---|
| 1793 | esac
|
---|
| 1794 | done
|
---|
| 1795 | else
|
---|
| 1796 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
---|
| 1797 | See \`config.log' for more details." >&5
|
---|
| 1798 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
---|
| 1799 | See \`config.log' for more details." >&2;}
|
---|
| 1800 | { (exit 1); exit 1; }; }
|
---|
| 1801 | fi
|
---|
| 1802 |
|
---|
| 1803 | rm -f conftest$ac_cv_exeext
|
---|
| 1804 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
---|
| 1805 | echo "${ECHO_T}$ac_cv_exeext" >&6
|
---|
| 1806 |
|
---|
| 1807 | rm -f conftest.$ac_ext
|
---|
| 1808 | EXEEXT=$ac_cv_exeext
|
---|
| 1809 | ac_exeext=$EXEEXT
|
---|
| 1810 | echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
---|
| 1811 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
|
---|
| 1812 | if test "${ac_cv_objext+set}" = set; then
|
---|
| 1813 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1814 | else
|
---|
| 1815 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 1816 | #line $LINENO "configure"
|
---|
| 1817 | /* confdefs.h. */
|
---|
| 1818 | _ACEOF
|
---|
| 1819 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 1820 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 1821 | /* end confdefs.h. */
|
---|
| 1822 |
|
---|
| 1823 | int
|
---|
| 1824 | main ()
|
---|
| 1825 | {
|
---|
| 1826 |
|
---|
| 1827 | ;
|
---|
| 1828 | return 0;
|
---|
| 1829 | }
|
---|
| 1830 | _ACEOF
|
---|
| 1831 | rm -f conftest.o conftest.obj
|
---|
| 1832 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 1833 | (eval $ac_compile) 2>&5
|
---|
| 1834 | ac_status=$?
|
---|
| 1835 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1836 | (exit $ac_status); }; then
|
---|
| 1837 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
|
---|
| 1838 | case $ac_file in
|
---|
| 1839 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
|
---|
| 1840 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
---|
| 1841 | break;;
|
---|
| 1842 | esac
|
---|
| 1843 | done
|
---|
| 1844 | else
|
---|
| 1845 | echo "$as_me: failed program was:" >&5
|
---|
| 1846 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1847 |
|
---|
| 1848 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
---|
| 1849 | See \`config.log' for more details." >&5
|
---|
| 1850 | echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
---|
| 1851 | See \`config.log' for more details." >&2;}
|
---|
| 1852 | { (exit 1); exit 1; }; }
|
---|
| 1853 | fi
|
---|
| 1854 |
|
---|
| 1855 | rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
---|
| 1856 | fi
|
---|
| 1857 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
---|
| 1858 | echo "${ECHO_T}$ac_cv_objext" >&6
|
---|
| 1859 | OBJEXT=$ac_cv_objext
|
---|
| 1860 | ac_objext=$OBJEXT
|
---|
| 1861 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
---|
| 1862 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
|
---|
| 1863 | if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
---|
| 1864 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1865 | else
|
---|
| 1866 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 1867 | #line $LINENO "configure"
|
---|
| 1868 | /* confdefs.h. */
|
---|
| 1869 | _ACEOF
|
---|
| 1870 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 1871 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 1872 | /* end confdefs.h. */
|
---|
| 1873 |
|
---|
| 1874 | int
|
---|
| 1875 | main ()
|
---|
| 1876 | {
|
---|
| 1877 | #ifndef __GNUC__
|
---|
| 1878 | choke me
|
---|
| 1879 | #endif
|
---|
| 1880 |
|
---|
| 1881 | ;
|
---|
| 1882 | return 0;
|
---|
| 1883 | }
|
---|
| 1884 | _ACEOF
|
---|
| 1885 | rm -f conftest.$ac_objext
|
---|
| 1886 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 1887 | (eval $ac_compile) 2>&5
|
---|
| 1888 | ac_status=$?
|
---|
| 1889 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1890 | (exit $ac_status); } &&
|
---|
| 1891 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 1892 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 1893 | (eval $ac_try) 2>&5
|
---|
| 1894 | ac_status=$?
|
---|
| 1895 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1896 | (exit $ac_status); }; }; then
|
---|
| 1897 | ac_compiler_gnu=yes
|
---|
| 1898 | else
|
---|
| 1899 | echo "$as_me: failed program was:" >&5
|
---|
| 1900 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1901 |
|
---|
| 1902 | ac_compiler_gnu=no
|
---|
| 1903 | fi
|
---|
| 1904 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 1905 | ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
---|
| 1906 |
|
---|
| 1907 | fi
|
---|
| 1908 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
---|
| 1909 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
|
---|
| 1910 | GCC=`test $ac_compiler_gnu = yes && echo yes`
|
---|
| 1911 | ac_test_CFLAGS=${CFLAGS+set}
|
---|
| 1912 | ac_save_CFLAGS=$CFLAGS
|
---|
| 1913 | CFLAGS="-g"
|
---|
| 1914 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
---|
| 1915 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
|
---|
| 1916 | if test "${ac_cv_prog_cc_g+set}" = set; then
|
---|
| 1917 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1918 | else
|
---|
| 1919 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 1920 | #line $LINENO "configure"
|
---|
| 1921 | /* confdefs.h. */
|
---|
| 1922 | _ACEOF
|
---|
| 1923 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 1924 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 1925 | /* end confdefs.h. */
|
---|
| 1926 |
|
---|
| 1927 | int
|
---|
| 1928 | main ()
|
---|
| 1929 | {
|
---|
| 1930 |
|
---|
| 1931 | ;
|
---|
| 1932 | return 0;
|
---|
| 1933 | }
|
---|
| 1934 | _ACEOF
|
---|
| 1935 | rm -f conftest.$ac_objext
|
---|
| 1936 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 1937 | (eval $ac_compile) 2>&5
|
---|
| 1938 | ac_status=$?
|
---|
| 1939 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1940 | (exit $ac_status); } &&
|
---|
| 1941 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 1942 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 1943 | (eval $ac_try) 2>&5
|
---|
| 1944 | ac_status=$?
|
---|
| 1945 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1946 | (exit $ac_status); }; }; then
|
---|
| 1947 | ac_cv_prog_cc_g=yes
|
---|
| 1948 | else
|
---|
| 1949 | echo "$as_me: failed program was:" >&5
|
---|
| 1950 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1951 |
|
---|
| 1952 | ac_cv_prog_cc_g=no
|
---|
| 1953 | fi
|
---|
| 1954 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 1955 | fi
|
---|
| 1956 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
---|
| 1957 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
|
---|
| 1958 | if test "$ac_test_CFLAGS" = set; then
|
---|
| 1959 | CFLAGS=$ac_save_CFLAGS
|
---|
| 1960 | elif test $ac_cv_prog_cc_g = yes; then
|
---|
| 1961 | if test "$GCC" = yes; then
|
---|
| 1962 | CFLAGS="-g -O2"
|
---|
| 1963 | else
|
---|
| 1964 | CFLAGS="-g"
|
---|
| 1965 | fi
|
---|
| 1966 | else
|
---|
| 1967 | if test "$GCC" = yes; then
|
---|
| 1968 | CFLAGS="-O2"
|
---|
| 1969 | else
|
---|
| 1970 | CFLAGS=
|
---|
| 1971 | fi
|
---|
| 1972 | fi
|
---|
| 1973 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
|
---|
| 1974 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
|
---|
| 1975 | if test "${ac_cv_prog_cc_stdc+set}" = set; then
|
---|
| 1976 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1977 | else
|
---|
| 1978 | ac_cv_prog_cc_stdc=no
|
---|
| 1979 | ac_save_CC=$CC
|
---|
| 1980 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 1981 | #line $LINENO "configure"
|
---|
| 1982 | /* confdefs.h. */
|
---|
| 1983 | _ACEOF
|
---|
| 1984 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 1985 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 1986 | /* end confdefs.h. */
|
---|
| 1987 | #include <stdarg.h>
|
---|
| 1988 | #include <stdio.h>
|
---|
| 1989 | #include <sys/types.h>
|
---|
| 1990 | #include <sys/stat.h>
|
---|
| 1991 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
---|
| 1992 | struct buf { int x; };
|
---|
| 1993 | FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
---|
| 1994 | static char *e (p, i)
|
---|
| 1995 | char **p;
|
---|
| 1996 | int i;
|
---|
| 1997 | {
|
---|
| 1998 | return p[i];
|
---|
| 1999 | }
|
---|
| 2000 | static char *f (char * (*g) (char **, int), char **p, ...)
|
---|
| 2001 | {
|
---|
| 2002 | char *s;
|
---|
| 2003 | va_list v;
|
---|
| 2004 | va_start (v,p);
|
---|
| 2005 | s = g (p, va_arg (v,int));
|
---|
| 2006 | va_end (v);
|
---|
| 2007 | return s;
|
---|
| 2008 | }
|
---|
| 2009 | int test (int i, double x);
|
---|
| 2010 | struct s1 {int (*f) (int a);};
|
---|
| 2011 | struct s2 {int (*f) (double a);};
|
---|
| 2012 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
---|
| 2013 | int argc;
|
---|
| 2014 | char **argv;
|
---|
| 2015 | int
|
---|
| 2016 | main ()
|
---|
| 2017 | {
|
---|
| 2018 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
---|
| 2019 | ;
|
---|
| 2020 | return 0;
|
---|
| 2021 | }
|
---|
| 2022 | _ACEOF
|
---|
| 2023 | # Don't try gcc -ansi; that turns off useful extensions and
|
---|
| 2024 | # breaks some systems' header files.
|
---|
| 2025 | # AIX -qlanglvl=ansi
|
---|
| 2026 | # Ultrix and OSF/1 -std1
|
---|
| 2027 | # HP-UX 10.20 and later -Ae
|
---|
| 2028 | # HP-UX older versions -Aa -D_HPUX_SOURCE
|
---|
| 2029 | # SVR4 -Xc -D__EXTENSIONS__
|
---|
| 2030 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
---|
| 2031 | do
|
---|
| 2032 | CC="$ac_save_CC $ac_arg"
|
---|
| 2033 | rm -f conftest.$ac_objext
|
---|
| 2034 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2035 | (eval $ac_compile) 2>&5
|
---|
| 2036 | ac_status=$?
|
---|
| 2037 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2038 | (exit $ac_status); } &&
|
---|
| 2039 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2040 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2041 | (eval $ac_try) 2>&5
|
---|
| 2042 | ac_status=$?
|
---|
| 2043 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2044 | (exit $ac_status); }; }; then
|
---|
| 2045 | ac_cv_prog_cc_stdc=$ac_arg
|
---|
| 2046 | break
|
---|
| 2047 | else
|
---|
| 2048 | echo "$as_me: failed program was:" >&5
|
---|
| 2049 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2050 |
|
---|
| 2051 | fi
|
---|
| 2052 | rm -f conftest.$ac_objext
|
---|
| 2053 | done
|
---|
| 2054 | rm -f conftest.$ac_ext conftest.$ac_objext
|
---|
| 2055 | CC=$ac_save_CC
|
---|
| 2056 |
|
---|
| 2057 | fi
|
---|
| 2058 |
|
---|
| 2059 | case "x$ac_cv_prog_cc_stdc" in
|
---|
| 2060 | x|xno)
|
---|
| 2061 | echo "$as_me:$LINENO: result: none needed" >&5
|
---|
| 2062 | echo "${ECHO_T}none needed" >&6 ;;
|
---|
| 2063 | *)
|
---|
| 2064 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
|
---|
| 2065 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
|
---|
| 2066 | CC="$CC $ac_cv_prog_cc_stdc" ;;
|
---|
| 2067 | esac
|
---|
| 2068 |
|
---|
| 2069 | # Some people use a C++ compiler to compile C. Since we use `exit',
|
---|
| 2070 | # in C++ we need to declare it. In case someone uses the same compiler
|
---|
| 2071 | # for both compiling C and C++ we need to have the C++ compiler decide
|
---|
| 2072 | # the declaration of exit, since it's the most demanding environment.
|
---|
| 2073 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2074 | #ifndef __cplusplus
|
---|
| 2075 | choke me
|
---|
| 2076 | #endif
|
---|
| 2077 | _ACEOF
|
---|
| 2078 | rm -f conftest.$ac_objext
|
---|
| 2079 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2080 | (eval $ac_compile) 2>&5
|
---|
| 2081 | ac_status=$?
|
---|
| 2082 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2083 | (exit $ac_status); } &&
|
---|
| 2084 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2085 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2086 | (eval $ac_try) 2>&5
|
---|
| 2087 | ac_status=$?
|
---|
| 2088 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2089 | (exit $ac_status); }; }; then
|
---|
| 2090 | for ac_declaration in \
|
---|
| 2091 | ''\
|
---|
| 2092 | '#include <stdlib.h>' \
|
---|
| 2093 | 'extern "C" void std::exit (int) throw (); using std::exit;' \
|
---|
| 2094 | 'extern "C" void std::exit (int); using std::exit;' \
|
---|
| 2095 | 'extern "C" void exit (int) throw ();' \
|
---|
| 2096 | 'extern "C" void exit (int);' \
|
---|
| 2097 | 'void exit (int);'
|
---|
| 2098 | do
|
---|
| 2099 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2100 | #line $LINENO "configure"
|
---|
| 2101 | /* confdefs.h. */
|
---|
| 2102 | _ACEOF
|
---|
| 2103 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2104 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2105 | /* end confdefs.h. */
|
---|
| 2106 | #include <stdlib.h>
|
---|
| 2107 | $ac_declaration
|
---|
| 2108 | int
|
---|
| 2109 | main ()
|
---|
| 2110 | {
|
---|
| 2111 | exit (42);
|
---|
| 2112 | ;
|
---|
| 2113 | return 0;
|
---|
| 2114 | }
|
---|
| 2115 | _ACEOF
|
---|
| 2116 | rm -f conftest.$ac_objext
|
---|
| 2117 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2118 | (eval $ac_compile) 2>&5
|
---|
| 2119 | ac_status=$?
|
---|
| 2120 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2121 | (exit $ac_status); } &&
|
---|
| 2122 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2123 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2124 | (eval $ac_try) 2>&5
|
---|
| 2125 | ac_status=$?
|
---|
| 2126 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2127 | (exit $ac_status); }; }; then
|
---|
| 2128 | :
|
---|
| 2129 | else
|
---|
| 2130 | echo "$as_me: failed program was:" >&5
|
---|
| 2131 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2132 |
|
---|
| 2133 | continue
|
---|
| 2134 | fi
|
---|
| 2135 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 2136 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2137 | #line $LINENO "configure"
|
---|
| 2138 | /* confdefs.h. */
|
---|
| 2139 | _ACEOF
|
---|
| 2140 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2141 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2142 | /* end confdefs.h. */
|
---|
| 2143 | $ac_declaration
|
---|
| 2144 | int
|
---|
| 2145 | main ()
|
---|
| 2146 | {
|
---|
| 2147 | exit (42);
|
---|
| 2148 | ;
|
---|
| 2149 | return 0;
|
---|
| 2150 | }
|
---|
| 2151 | _ACEOF
|
---|
| 2152 | rm -f conftest.$ac_objext
|
---|
| 2153 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2154 | (eval $ac_compile) 2>&5
|
---|
| 2155 | ac_status=$?
|
---|
| 2156 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2157 | (exit $ac_status); } &&
|
---|
| 2158 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2159 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2160 | (eval $ac_try) 2>&5
|
---|
| 2161 | ac_status=$?
|
---|
| 2162 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2163 | (exit $ac_status); }; }; then
|
---|
| 2164 | break
|
---|
| 2165 | else
|
---|
| 2166 | echo "$as_me: failed program was:" >&5
|
---|
| 2167 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2168 |
|
---|
| 2169 | fi
|
---|
| 2170 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 2171 | done
|
---|
| 2172 | rm -f conftest*
|
---|
| 2173 | if test -n "$ac_declaration"; then
|
---|
| 2174 | echo '#ifdef __cplusplus' >>confdefs.h
|
---|
| 2175 | echo $ac_declaration >>confdefs.h
|
---|
| 2176 | echo '#endif' >>confdefs.h
|
---|
| 2177 | fi
|
---|
| 2178 |
|
---|
| 2179 | else
|
---|
| 2180 | echo "$as_me: failed program was:" >&5
|
---|
| 2181 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2182 |
|
---|
| 2183 | fi
|
---|
| 2184 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 2185 | ac_ext=c
|
---|
| 2186 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2187 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2188 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2189 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 2190 |
|
---|
| 2191 | ac_ext=cc
|
---|
| 2192 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
| 2193 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2194 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2195 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
| 2196 | if test -n "$ac_tool_prefix"; then
|
---|
| 2197 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
|
---|
| 2198 | do
|
---|
| 2199 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 2200 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
| 2201 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2202 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 2203 | if test "${ac_cv_prog_CXX+set}" = set; then
|
---|
| 2204 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2205 | else
|
---|
| 2206 | if test -n "$CXX"; then
|
---|
| 2207 | ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
---|
| 2208 | else
|
---|
| 2209 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2210 | for as_dir in $PATH
|
---|
| 2211 | do
|
---|
| 2212 | IFS=$as_save_IFS
|
---|
| 2213 | test -z "$as_dir" && as_dir=.
|
---|
| 2214 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2215 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 2216 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
---|
| 2217 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2218 | break 2
|
---|
| 2219 | fi
|
---|
| 2220 | done
|
---|
| 2221 | done
|
---|
| 2222 |
|
---|
| 2223 | fi
|
---|
| 2224 | fi
|
---|
| 2225 | CXX=$ac_cv_prog_CXX
|
---|
| 2226 | if test -n "$CXX"; then
|
---|
| 2227 | echo "$as_me:$LINENO: result: $CXX" >&5
|
---|
| 2228 | echo "${ECHO_T}$CXX" >&6
|
---|
| 2229 | else
|
---|
| 2230 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2231 | echo "${ECHO_T}no" >&6
|
---|
| 2232 | fi
|
---|
| 2233 |
|
---|
| 2234 | test -n "$CXX" && break
|
---|
| 2235 | done
|
---|
| 2236 | fi
|
---|
| 2237 | if test -z "$CXX"; then
|
---|
| 2238 | ac_ct_CXX=$CXX
|
---|
| 2239 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
|
---|
| 2240 | do
|
---|
| 2241 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2242 | set dummy $ac_prog; ac_word=$2
|
---|
| 2243 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2244 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 2245 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
|
---|
| 2246 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2247 | else
|
---|
| 2248 | if test -n "$ac_ct_CXX"; then
|
---|
| 2249 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
---|
| 2250 | else
|
---|
| 2251 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2252 | for as_dir in $PATH
|
---|
| 2253 | do
|
---|
| 2254 | IFS=$as_save_IFS
|
---|
| 2255 | test -z "$as_dir" && as_dir=.
|
---|
| 2256 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2257 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 2258 | ac_cv_prog_ac_ct_CXX="$ac_prog"
|
---|
| 2259 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2260 | break 2
|
---|
| 2261 | fi
|
---|
| 2262 | done
|
---|
| 2263 | done
|
---|
| 2264 |
|
---|
| 2265 | fi
|
---|
| 2266 | fi
|
---|
| 2267 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
---|
| 2268 | if test -n "$ac_ct_CXX"; then
|
---|
| 2269 | echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
|
---|
| 2270 | echo "${ECHO_T}$ac_ct_CXX" >&6
|
---|
| 2271 | else
|
---|
| 2272 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2273 | echo "${ECHO_T}no" >&6
|
---|
| 2274 | fi
|
---|
| 2275 |
|
---|
| 2276 | test -n "$ac_ct_CXX" && break
|
---|
| 2277 | done
|
---|
| 2278 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
|
---|
| 2279 |
|
---|
| 2280 | CXX=$ac_ct_CXX
|
---|
| 2281 | fi
|
---|
| 2282 |
|
---|
| 2283 |
|
---|
| 2284 | # Provide some information about the compiler.
|
---|
| 2285 | echo "$as_me:$LINENO:" \
|
---|
| 2286 | "checking for C++ compiler version" >&5
|
---|
| 2287 | ac_compiler=`set X $ac_compile; echo $2`
|
---|
| 2288 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
|
---|
| 2289 | (eval $ac_compiler --version </dev/null >&5) 2>&5
|
---|
| 2290 | ac_status=$?
|
---|
| 2291 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2292 | (exit $ac_status); }
|
---|
| 2293 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
|
---|
| 2294 | (eval $ac_compiler -v </dev/null >&5) 2>&5
|
---|
| 2295 | ac_status=$?
|
---|
| 2296 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2297 | (exit $ac_status); }
|
---|
| 2298 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
|
---|
| 2299 | (eval $ac_compiler -V </dev/null >&5) 2>&5
|
---|
| 2300 | ac_status=$?
|
---|
| 2301 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2302 | (exit $ac_status); }
|
---|
| 2303 |
|
---|
| 2304 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
|
---|
| 2305 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
|
---|
| 2306 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
|
---|
| 2307 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2308 | else
|
---|
| 2309 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2310 | #line $LINENO "configure"
|
---|
| 2311 | /* confdefs.h. */
|
---|
| 2312 | _ACEOF
|
---|
| 2313 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2314 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2315 | /* end confdefs.h. */
|
---|
| 2316 |
|
---|
| 2317 | int
|
---|
| 2318 | main ()
|
---|
| 2319 | {
|
---|
| 2320 | #ifndef __GNUC__
|
---|
| 2321 | choke me
|
---|
| 2322 | #endif
|
---|
| 2323 |
|
---|
| 2324 | ;
|
---|
| 2325 | return 0;
|
---|
| 2326 | }
|
---|
| 2327 | _ACEOF
|
---|
| 2328 | rm -f conftest.$ac_objext
|
---|
| 2329 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2330 | (eval $ac_compile) 2>&5
|
---|
| 2331 | ac_status=$?
|
---|
| 2332 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2333 | (exit $ac_status); } &&
|
---|
| 2334 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2335 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2336 | (eval $ac_try) 2>&5
|
---|
| 2337 | ac_status=$?
|
---|
| 2338 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2339 | (exit $ac_status); }; }; then
|
---|
| 2340 | ac_compiler_gnu=yes
|
---|
| 2341 | else
|
---|
| 2342 | echo "$as_me: failed program was:" >&5
|
---|
| 2343 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2344 |
|
---|
| 2345 | ac_compiler_gnu=no
|
---|
| 2346 | fi
|
---|
| 2347 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 2348 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
---|
| 2349 |
|
---|
| 2350 | fi
|
---|
| 2351 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
|
---|
| 2352 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
|
---|
| 2353 | GXX=`test $ac_compiler_gnu = yes && echo yes`
|
---|
| 2354 | ac_test_CXXFLAGS=${CXXFLAGS+set}
|
---|
| 2355 | ac_save_CXXFLAGS=$CXXFLAGS
|
---|
| 2356 | CXXFLAGS="-g"
|
---|
| 2357 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
|
---|
| 2358 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
|
---|
| 2359 | if test "${ac_cv_prog_cxx_g+set}" = set; then
|
---|
| 2360 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2361 | else
|
---|
| 2362 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2363 | #line $LINENO "configure"
|
---|
| 2364 | /* confdefs.h. */
|
---|
| 2365 | _ACEOF
|
---|
| 2366 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2367 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2368 | /* end confdefs.h. */
|
---|
| 2369 |
|
---|
| 2370 | int
|
---|
| 2371 | main ()
|
---|
| 2372 | {
|
---|
| 2373 |
|
---|
| 2374 | ;
|
---|
| 2375 | return 0;
|
---|
| 2376 | }
|
---|
| 2377 | _ACEOF
|
---|
| 2378 | rm -f conftest.$ac_objext
|
---|
| 2379 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2380 | (eval $ac_compile) 2>&5
|
---|
| 2381 | ac_status=$?
|
---|
| 2382 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2383 | (exit $ac_status); } &&
|
---|
| 2384 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2385 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2386 | (eval $ac_try) 2>&5
|
---|
| 2387 | ac_status=$?
|
---|
| 2388 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2389 | (exit $ac_status); }; }; then
|
---|
| 2390 | ac_cv_prog_cxx_g=yes
|
---|
| 2391 | else
|
---|
| 2392 | echo "$as_me: failed program was:" >&5
|
---|
| 2393 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2394 |
|
---|
| 2395 | ac_cv_prog_cxx_g=no
|
---|
| 2396 | fi
|
---|
| 2397 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 2398 | fi
|
---|
| 2399 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
|
---|
| 2400 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
|
---|
| 2401 | if test "$ac_test_CXXFLAGS" = set; then
|
---|
| 2402 | CXXFLAGS=$ac_save_CXXFLAGS
|
---|
| 2403 | elif test $ac_cv_prog_cxx_g = yes; then
|
---|
| 2404 | if test "$GXX" = yes; then
|
---|
| 2405 | CXXFLAGS="-g -O2"
|
---|
| 2406 | else
|
---|
| 2407 | CXXFLAGS="-g"
|
---|
| 2408 | fi
|
---|
| 2409 | else
|
---|
| 2410 | if test "$GXX" = yes; then
|
---|
| 2411 | CXXFLAGS="-O2"
|
---|
| 2412 | else
|
---|
| 2413 | CXXFLAGS=
|
---|
| 2414 | fi
|
---|
| 2415 | fi
|
---|
| 2416 | for ac_declaration in \
|
---|
| 2417 | ''\
|
---|
| 2418 | '#include <stdlib.h>' \
|
---|
| 2419 | 'extern "C" void std::exit (int) throw (); using std::exit;' \
|
---|
| 2420 | 'extern "C" void std::exit (int); using std::exit;' \
|
---|
| 2421 | 'extern "C" void exit (int) throw ();' \
|
---|
| 2422 | 'extern "C" void exit (int);' \
|
---|
| 2423 | 'void exit (int);'
|
---|
| 2424 | do
|
---|
| 2425 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2426 | #line $LINENO "configure"
|
---|
| 2427 | /* confdefs.h. */
|
---|
| 2428 | _ACEOF
|
---|
| 2429 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2430 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2431 | /* end confdefs.h. */
|
---|
| 2432 | #include <stdlib.h>
|
---|
| 2433 | $ac_declaration
|
---|
| 2434 | int
|
---|
| 2435 | main ()
|
---|
| 2436 | {
|
---|
| 2437 | exit (42);
|
---|
| 2438 | ;
|
---|
| 2439 | return 0;
|
---|
| 2440 | }
|
---|
| 2441 | _ACEOF
|
---|
| 2442 | rm -f conftest.$ac_objext
|
---|
| 2443 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2444 | (eval $ac_compile) 2>&5
|
---|
| 2445 | ac_status=$?
|
---|
| 2446 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2447 | (exit $ac_status); } &&
|
---|
| 2448 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2449 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2450 | (eval $ac_try) 2>&5
|
---|
| 2451 | ac_status=$?
|
---|
| 2452 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2453 | (exit $ac_status); }; }; then
|
---|
| 2454 | :
|
---|
| 2455 | else
|
---|
| 2456 | echo "$as_me: failed program was:" >&5
|
---|
| 2457 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2458 |
|
---|
| 2459 | continue
|
---|
| 2460 | fi
|
---|
| 2461 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 2462 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2463 | #line $LINENO "configure"
|
---|
| 2464 | /* confdefs.h. */
|
---|
| 2465 | _ACEOF
|
---|
| 2466 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2467 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2468 | /* end confdefs.h. */
|
---|
| 2469 | $ac_declaration
|
---|
| 2470 | int
|
---|
| 2471 | main ()
|
---|
| 2472 | {
|
---|
| 2473 | exit (42);
|
---|
| 2474 | ;
|
---|
| 2475 | return 0;
|
---|
| 2476 | }
|
---|
| 2477 | _ACEOF
|
---|
| 2478 | rm -f conftest.$ac_objext
|
---|
| 2479 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2480 | (eval $ac_compile) 2>&5
|
---|
| 2481 | ac_status=$?
|
---|
| 2482 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2483 | (exit $ac_status); } &&
|
---|
| 2484 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2485 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2486 | (eval $ac_try) 2>&5
|
---|
| 2487 | ac_status=$?
|
---|
| 2488 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2489 | (exit $ac_status); }; }; then
|
---|
| 2490 | break
|
---|
| 2491 | else
|
---|
| 2492 | echo "$as_me: failed program was:" >&5
|
---|
| 2493 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2494 |
|
---|
| 2495 | fi
|
---|
| 2496 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 2497 | done
|
---|
| 2498 | rm -f conftest*
|
---|
| 2499 | if test -n "$ac_declaration"; then
|
---|
| 2500 | echo '#ifdef __cplusplus' >>confdefs.h
|
---|
| 2501 | echo $ac_declaration >>confdefs.h
|
---|
| 2502 | echo '#endif' >>confdefs.h
|
---|
| 2503 | fi
|
---|
| 2504 |
|
---|
| 2505 | ac_ext=c
|
---|
| 2506 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2507 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2508 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2509 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 2510 |
|
---|
| 2511 | for ac_prog in gawk mawk nawk awk
|
---|
| 2512 | do
|
---|
| 2513 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2514 | set dummy $ac_prog; ac_word=$2
|
---|
| 2515 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2516 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 2517 | if test "${ac_cv_prog_AWK+set}" = set; then
|
---|
| 2518 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2519 | else
|
---|
| 2520 | if test -n "$AWK"; then
|
---|
| 2521 | ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
---|
| 2522 | else
|
---|
| 2523 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2524 | for as_dir in $PATH
|
---|
| 2525 | do
|
---|
| 2526 | IFS=$as_save_IFS
|
---|
| 2527 | test -z "$as_dir" && as_dir=.
|
---|
| 2528 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2529 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 2530 | ac_cv_prog_AWK="$ac_prog"
|
---|
| 2531 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2532 | break 2
|
---|
| 2533 | fi
|
---|
| 2534 | done
|
---|
| 2535 | done
|
---|
| 2536 |
|
---|
| 2537 | fi
|
---|
| 2538 | fi
|
---|
| 2539 | AWK=$ac_cv_prog_AWK
|
---|
| 2540 | if test -n "$AWK"; then
|
---|
| 2541 | echo "$as_me:$LINENO: result: $AWK" >&5
|
---|
| 2542 | echo "${ECHO_T}$AWK" >&6
|
---|
| 2543 | else
|
---|
| 2544 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2545 | echo "${ECHO_T}no" >&6
|
---|
| 2546 | fi
|
---|
| 2547 |
|
---|
| 2548 | test -n "$AWK" && break
|
---|
| 2549 | done
|
---|
| 2550 |
|
---|
| 2551 | for ac_prog in 'bison -y' byacc
|
---|
| 2552 | do
|
---|
| 2553 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2554 | set dummy $ac_prog; ac_word=$2
|
---|
| 2555 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2556 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 2557 | if test "${ac_cv_prog_YACC+set}" = set; then
|
---|
| 2558 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2559 | else
|
---|
| 2560 | if test -n "$YACC"; then
|
---|
| 2561 | ac_cv_prog_YACC="$YACC" # Let the user override the test.
|
---|
| 2562 | else
|
---|
| 2563 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2564 | for as_dir in $PATH
|
---|
| 2565 | do
|
---|
| 2566 | IFS=$as_save_IFS
|
---|
| 2567 | test -z "$as_dir" && as_dir=.
|
---|
| 2568 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2569 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 2570 | ac_cv_prog_YACC="$ac_prog"
|
---|
| 2571 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2572 | break 2
|
---|
| 2573 | fi
|
---|
| 2574 | done
|
---|
| 2575 | done
|
---|
| 2576 |
|
---|
| 2577 | fi
|
---|
| 2578 | fi
|
---|
| 2579 | YACC=$ac_cv_prog_YACC
|
---|
| 2580 | if test -n "$YACC"; then
|
---|
| 2581 | echo "$as_me:$LINENO: result: $YACC" >&5
|
---|
| 2582 | echo "${ECHO_T}$YACC" >&6
|
---|
| 2583 | else
|
---|
| 2584 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2585 | echo "${ECHO_T}no" >&6
|
---|
| 2586 | fi
|
---|
| 2587 |
|
---|
| 2588 | test -n "$YACC" && break
|
---|
| 2589 | done
|
---|
| 2590 | test -n "$YACC" || YACC="yacc"
|
---|
| 2591 |
|
---|
| 2592 | ac_aux_dir=
|
---|
| 2593 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
|
---|
| 2594 | if test -f $ac_dir/install-sh; then
|
---|
| 2595 | ac_aux_dir=$ac_dir
|
---|
| 2596 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
---|
| 2597 | break
|
---|
| 2598 | elif test -f $ac_dir/install.sh; then
|
---|
| 2599 | ac_aux_dir=$ac_dir
|
---|
| 2600 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
---|
| 2601 | break
|
---|
| 2602 | elif test -f $ac_dir/shtool; then
|
---|
| 2603 | ac_aux_dir=$ac_dir
|
---|
| 2604 | ac_install_sh="$ac_aux_dir/shtool install -c"
|
---|
| 2605 | break
|
---|
| 2606 | fi
|
---|
| 2607 | done
|
---|
| 2608 | if test -z "$ac_aux_dir"; then
|
---|
| 2609 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
|
---|
| 2610 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
|
---|
| 2611 | { (exit 1); exit 1; }; }
|
---|
| 2612 | fi
|
---|
| 2613 | ac_config_guess="$SHELL $ac_aux_dir/config.guess"
|
---|
| 2614 | ac_config_sub="$SHELL $ac_aux_dir/config.sub"
|
---|
| 2615 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
---|
| 2616 |
|
---|
| 2617 | # Find a good install program. We prefer a C program (faster),
|
---|
| 2618 | # so one script is as good as another. But avoid the broken or
|
---|
| 2619 | # incompatible versions:
|
---|
| 2620 | # SysV /etc/install, /usr/sbin/install
|
---|
| 2621 | # SunOS /usr/etc/install
|
---|
| 2622 | # IRIX /sbin/install
|
---|
| 2623 | # AIX /bin/install
|
---|
| 2624 | # AmigaOS /C/install, which installs bootblocks on floppy discs
|
---|
| 2625 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
---|
| 2626 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
---|
| 2627 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
---|
| 2628 | # ./install, which can be erroneously created by make from ./install.sh.
|
---|
| 2629 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
---|
| 2630 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
|
---|
| 2631 | if test -z "$INSTALL"; then
|
---|
| 2632 | if test "${ac_cv_path_install+set}" = set; then
|
---|
| 2633 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2634 | else
|
---|
| 2635 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2636 | for as_dir in $PATH
|
---|
| 2637 | do
|
---|
| 2638 | IFS=$as_save_IFS
|
---|
| 2639 | test -z "$as_dir" && as_dir=.
|
---|
| 2640 | # Account for people who put trailing slashes in PATH elements.
|
---|
| 2641 | case $as_dir/ in
|
---|
| 2642 | ./ | .// | /cC/* | \
|
---|
| 2643 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
---|
| 2644 | /usr/ucb/* ) ;;
|
---|
| 2645 | *)
|
---|
| 2646 | # OSF1 and SCO ODT 3.0 have their own names for install.
|
---|
| 2647 | # Don't use installbsd from OSF since it installs stuff as root
|
---|
| 2648 | # by default.
|
---|
| 2649 | for ac_prog in ginstall scoinst install; do
|
---|
| 2650 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2651 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
---|
| 2652 | if test $ac_prog = install &&
|
---|
| 2653 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 2654 | # AIX install. It has an incompatible calling convention.
|
---|
| 2655 | :
|
---|
| 2656 | elif test $ac_prog = install &&
|
---|
| 2657 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 2658 | # program-specific install script used by HP pwplus--don't use.
|
---|
| 2659 | :
|
---|
| 2660 | else
|
---|
| 2661 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
---|
| 2662 | break 3
|
---|
| 2663 | fi
|
---|
| 2664 | fi
|
---|
| 2665 | done
|
---|
| 2666 | done
|
---|
| 2667 | ;;
|
---|
| 2668 | esac
|
---|
| 2669 | done
|
---|
| 2670 |
|
---|
| 2671 |
|
---|
| 2672 | fi
|
---|
| 2673 | if test "${ac_cv_path_install+set}" = set; then
|
---|
| 2674 | INSTALL=$ac_cv_path_install
|
---|
| 2675 | else
|
---|
| 2676 | # As a last resort, use the slow shell script. We don't cache a
|
---|
| 2677 | # path for INSTALL within a source directory, because that will
|
---|
| 2678 | # break other packages using the cache if that directory is
|
---|
| 2679 | # removed, or if the path is relative.
|
---|
| 2680 | INSTALL=$ac_install_sh
|
---|
| 2681 | fi
|
---|
| 2682 | fi
|
---|
| 2683 | echo "$as_me:$LINENO: result: $INSTALL" >&5
|
---|
| 2684 | echo "${ECHO_T}$INSTALL" >&6
|
---|
| 2685 |
|
---|
| 2686 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
---|
| 2687 | # It thinks the first close brace ends the variable substitution.
|
---|
| 2688 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
---|
| 2689 |
|
---|
| 2690 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
---|
| 2691 |
|
---|
| 2692 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
---|
| 2693 |
|
---|
| 2694 | echo "$as_me:$LINENO: checking whether ln -s works" >&5
|
---|
| 2695 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
|
---|
| 2696 | LN_S=$as_ln_s
|
---|
| 2697 | if test "$LN_S" = "ln -s"; then
|
---|
| 2698 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 2699 | echo "${ECHO_T}yes" >&6
|
---|
| 2700 | else
|
---|
| 2701 | echo "$as_me:$LINENO: result: no, using $LN_S" >&5
|
---|
| 2702 | echo "${ECHO_T}no, using $LN_S" >&6
|
---|
| 2703 | fi
|
---|
| 2704 |
|
---|
| 2705 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
---|
| 2706 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
|
---|
| 2707 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
|
---|
| 2708 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
|
---|
| 2709 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2710 | else
|
---|
| 2711 | cat >conftest.make <<\_ACEOF
|
---|
| 2712 | all:
|
---|
| 2713 | @echo 'ac_maketemp="$(MAKE)"'
|
---|
| 2714 | _ACEOF
|
---|
| 2715 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
---|
| 2716 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
|
---|
| 2717 | if test -n "$ac_maketemp"; then
|
---|
| 2718 | eval ac_cv_prog_make_${ac_make}_set=yes
|
---|
| 2719 | else
|
---|
| 2720 | eval ac_cv_prog_make_${ac_make}_set=no
|
---|
| 2721 | fi
|
---|
| 2722 | rm -f conftest.make
|
---|
| 2723 | fi
|
---|
| 2724 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
---|
| 2725 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 2726 | echo "${ECHO_T}yes" >&6
|
---|
| 2727 | SET_MAKE=
|
---|
| 2728 | else
|
---|
| 2729 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2730 | echo "${ECHO_T}no" >&6
|
---|
| 2731 | SET_MAKE="MAKE=${MAKE-make}"
|
---|
| 2732 | fi
|
---|
| 2733 |
|
---|
| 2734 | if test -n "$ac_tool_prefix"; then
|
---|
| 2735 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
---|
| 2736 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
---|
| 2737 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2738 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 2739 | if test "${ac_cv_prog_RANLIB+set}" = set; then
|
---|
| 2740 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2741 | else
|
---|
| 2742 | if test -n "$RANLIB"; then
|
---|
| 2743 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
---|
| 2744 | else
|
---|
| 2745 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2746 | for as_dir in $PATH
|
---|
| 2747 | do
|
---|
| 2748 | IFS=$as_save_IFS
|
---|
| 2749 | test -z "$as_dir" && as_dir=.
|
---|
| 2750 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2751 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 2752 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
---|
| 2753 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2754 | break 2
|
---|
| 2755 | fi
|
---|
| 2756 | done
|
---|
| 2757 | done
|
---|
| 2758 |
|
---|
| 2759 | fi
|
---|
| 2760 | fi
|
---|
| 2761 | RANLIB=$ac_cv_prog_RANLIB
|
---|
| 2762 | if test -n "$RANLIB"; then
|
---|
| 2763 | echo "$as_me:$LINENO: result: $RANLIB" >&5
|
---|
| 2764 | echo "${ECHO_T}$RANLIB" >&6
|
---|
| 2765 | else
|
---|
| 2766 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2767 | echo "${ECHO_T}no" >&6
|
---|
| 2768 | fi
|
---|
| 2769 |
|
---|
| 2770 | fi
|
---|
| 2771 | if test -z "$ac_cv_prog_RANLIB"; then
|
---|
| 2772 | ac_ct_RANLIB=$RANLIB
|
---|
| 2773 | # Extract the first word of "ranlib", so it can be a program name with args.
|
---|
| 2774 | set dummy ranlib; ac_word=$2
|
---|
| 2775 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2776 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 2777 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
---|
| 2778 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2779 | else
|
---|
| 2780 | if test -n "$ac_ct_RANLIB"; then
|
---|
| 2781 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
---|
| 2782 | else
|
---|
| 2783 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2784 | for as_dir in $PATH
|
---|
| 2785 | do
|
---|
| 2786 | IFS=$as_save_IFS
|
---|
| 2787 | test -z "$as_dir" && as_dir=.
|
---|
| 2788 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2789 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 2790 | ac_cv_prog_ac_ct_RANLIB="ranlib"
|
---|
| 2791 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2792 | break 2
|
---|
| 2793 | fi
|
---|
| 2794 | done
|
---|
| 2795 | done
|
---|
| 2796 |
|
---|
| 2797 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
|
---|
| 2798 | fi
|
---|
| 2799 | fi
|
---|
| 2800 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
---|
| 2801 | if test -n "$ac_ct_RANLIB"; then
|
---|
| 2802 | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
---|
| 2803 | echo "${ECHO_T}$ac_ct_RANLIB" >&6
|
---|
| 2804 | else
|
---|
| 2805 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2806 | echo "${ECHO_T}no" >&6
|
---|
| 2807 | fi
|
---|
| 2808 |
|
---|
| 2809 | RANLIB=$ac_ct_RANLIB
|
---|
| 2810 | else
|
---|
| 2811 | RANLIB="$ac_cv_prog_RANLIB"
|
---|
| 2812 | fi
|
---|
| 2813 |
|
---|
| 2814 |
|
---|
| 2815 |
|
---|
| 2816 |
|
---|
| 2817 | ac_ext=c
|
---|
| 2818 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2819 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2820 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2821 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 2822 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
---|
| 2823 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
|
---|
| 2824 | # On Suns, sometimes $CPP names a directory.
|
---|
| 2825 | if test -n "$CPP" && test -d "$CPP"; then
|
---|
| 2826 | CPP=
|
---|
| 2827 | fi
|
---|
| 2828 | if test -z "$CPP"; then
|
---|
| 2829 | if test "${ac_cv_prog_CPP+set}" = set; then
|
---|
| 2830 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2831 | else
|
---|
| 2832 | # Double quotes because CPP needs to be expanded
|
---|
| 2833 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
---|
| 2834 | do
|
---|
| 2835 | ac_preproc_ok=false
|
---|
| 2836 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 2837 | do
|
---|
| 2838 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 2839 | # with a fresh cross-compiler works.
|
---|
| 2840 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 2841 | # <limits.h> exists even on freestanding compilers.
|
---|
| 2842 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
| 2843 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
| 2844 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2845 | #line $LINENO "configure"
|
---|
| 2846 | /* confdefs.h. */
|
---|
| 2847 | _ACEOF
|
---|
| 2848 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2849 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2850 | /* end confdefs.h. */
|
---|
| 2851 | #ifdef __STDC__
|
---|
| 2852 | # include <limits.h>
|
---|
| 2853 | #else
|
---|
| 2854 | # include <assert.h>
|
---|
| 2855 | #endif
|
---|
| 2856 | Syntax error
|
---|
| 2857 | _ACEOF
|
---|
| 2858 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
---|
| 2859 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
---|
| 2860 | ac_status=$?
|
---|
| 2861 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2862 | rm -f conftest.er1
|
---|
| 2863 | cat conftest.err >&5
|
---|
| 2864 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2865 | (exit $ac_status); } >/dev/null; then
|
---|
| 2866 | if test -s conftest.err; then
|
---|
| 2867 | ac_cpp_err=$ac_c_preproc_warn_flag
|
---|
| 2868 | else
|
---|
| 2869 | ac_cpp_err=
|
---|
| 2870 | fi
|
---|
| 2871 | else
|
---|
| 2872 | ac_cpp_err=yes
|
---|
| 2873 | fi
|
---|
| 2874 | if test -z "$ac_cpp_err"; then
|
---|
| 2875 | :
|
---|
| 2876 | else
|
---|
| 2877 | echo "$as_me: failed program was:" >&5
|
---|
| 2878 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2879 |
|
---|
| 2880 | # Broken: fails on valid input.
|
---|
| 2881 | continue
|
---|
| 2882 | fi
|
---|
| 2883 | rm -f conftest.err conftest.$ac_ext
|
---|
| 2884 |
|
---|
| 2885 | # OK, works on sane cases. Now check whether non-existent headers
|
---|
| 2886 | # can be detected and how.
|
---|
| 2887 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2888 | #line $LINENO "configure"
|
---|
| 2889 | /* confdefs.h. */
|
---|
| 2890 | _ACEOF
|
---|
| 2891 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2892 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2893 | /* end confdefs.h. */
|
---|
| 2894 | #include <ac_nonexistent.h>
|
---|
| 2895 | _ACEOF
|
---|
| 2896 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
---|
| 2897 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
---|
| 2898 | ac_status=$?
|
---|
| 2899 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2900 | rm -f conftest.er1
|
---|
| 2901 | cat conftest.err >&5
|
---|
| 2902 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2903 | (exit $ac_status); } >/dev/null; then
|
---|
| 2904 | if test -s conftest.err; then
|
---|
| 2905 | ac_cpp_err=$ac_c_preproc_warn_flag
|
---|
| 2906 | else
|
---|
| 2907 | ac_cpp_err=
|
---|
| 2908 | fi
|
---|
| 2909 | else
|
---|
| 2910 | ac_cpp_err=yes
|
---|
| 2911 | fi
|
---|
| 2912 | if test -z "$ac_cpp_err"; then
|
---|
| 2913 | # Broken: success on invalid input.
|
---|
| 2914 | continue
|
---|
| 2915 | else
|
---|
| 2916 | echo "$as_me: failed program was:" >&5
|
---|
| 2917 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2918 |
|
---|
| 2919 | # Passes both tests.
|
---|
| 2920 | ac_preproc_ok=:
|
---|
| 2921 | break
|
---|
| 2922 | fi
|
---|
| 2923 | rm -f conftest.err conftest.$ac_ext
|
---|
| 2924 |
|
---|
| 2925 | done
|
---|
| 2926 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
| 2927 | rm -f conftest.err conftest.$ac_ext
|
---|
| 2928 | if $ac_preproc_ok; then
|
---|
| 2929 | break
|
---|
| 2930 | fi
|
---|
| 2931 |
|
---|
| 2932 | done
|
---|
| 2933 | ac_cv_prog_CPP=$CPP
|
---|
| 2934 |
|
---|
| 2935 | fi
|
---|
| 2936 | CPP=$ac_cv_prog_CPP
|
---|
| 2937 | else
|
---|
| 2938 | ac_cv_prog_CPP=$CPP
|
---|
| 2939 | fi
|
---|
| 2940 | echo "$as_me:$LINENO: result: $CPP" >&5
|
---|
| 2941 | echo "${ECHO_T}$CPP" >&6
|
---|
| 2942 | ac_preproc_ok=false
|
---|
| 2943 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 2944 | do
|
---|
| 2945 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 2946 | # with a fresh cross-compiler works.
|
---|
| 2947 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 2948 | # <limits.h> exists even on freestanding compilers.
|
---|
| 2949 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
| 2950 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
| 2951 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2952 | #line $LINENO "configure"
|
---|
| 2953 | /* confdefs.h. */
|
---|
| 2954 | _ACEOF
|
---|
| 2955 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2956 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2957 | /* end confdefs.h. */
|
---|
| 2958 | #ifdef __STDC__
|
---|
| 2959 | # include <limits.h>
|
---|
| 2960 | #else
|
---|
| 2961 | # include <assert.h>
|
---|
| 2962 | #endif
|
---|
| 2963 | Syntax error
|
---|
| 2964 | _ACEOF
|
---|
| 2965 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
---|
| 2966 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
---|
| 2967 | ac_status=$?
|
---|
| 2968 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2969 | rm -f conftest.er1
|
---|
| 2970 | cat conftest.err >&5
|
---|
| 2971 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2972 | (exit $ac_status); } >/dev/null; then
|
---|
| 2973 | if test -s conftest.err; then
|
---|
| 2974 | ac_cpp_err=$ac_c_preproc_warn_flag
|
---|
| 2975 | else
|
---|
| 2976 | ac_cpp_err=
|
---|
| 2977 | fi
|
---|
| 2978 | else
|
---|
| 2979 | ac_cpp_err=yes
|
---|
| 2980 | fi
|
---|
| 2981 | if test -z "$ac_cpp_err"; then
|
---|
| 2982 | :
|
---|
| 2983 | else
|
---|
| 2984 | echo "$as_me: failed program was:" >&5
|
---|
| 2985 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2986 |
|
---|
| 2987 | # Broken: fails on valid input.
|
---|
| 2988 | continue
|
---|
| 2989 | fi
|
---|
| 2990 | rm -f conftest.err conftest.$ac_ext
|
---|
| 2991 |
|
---|
| 2992 | # OK, works on sane cases. Now check whether non-existent headers
|
---|
| 2993 | # can be detected and how.
|
---|
| 2994 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2995 | #line $LINENO "configure"
|
---|
| 2996 | /* confdefs.h. */
|
---|
| 2997 | _ACEOF
|
---|
| 2998 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2999 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3000 | /* end confdefs.h. */
|
---|
| 3001 | #include <ac_nonexistent.h>
|
---|
| 3002 | _ACEOF
|
---|
| 3003 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
---|
| 3004 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
---|
| 3005 | ac_status=$?
|
---|
| 3006 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3007 | rm -f conftest.er1
|
---|
| 3008 | cat conftest.err >&5
|
---|
| 3009 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3010 | (exit $ac_status); } >/dev/null; then
|
---|
| 3011 | if test -s conftest.err; then
|
---|
| 3012 | ac_cpp_err=$ac_c_preproc_warn_flag
|
---|
| 3013 | else
|
---|
| 3014 | ac_cpp_err=
|
---|
| 3015 | fi
|
---|
| 3016 | else
|
---|
| 3017 | ac_cpp_err=yes
|
---|
| 3018 | fi
|
---|
| 3019 | if test -z "$ac_cpp_err"; then
|
---|
| 3020 | # Broken: success on invalid input.
|
---|
| 3021 | continue
|
---|
| 3022 | else
|
---|
| 3023 | echo "$as_me: failed program was:" >&5
|
---|
| 3024 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3025 |
|
---|
| 3026 | # Passes both tests.
|
---|
| 3027 | ac_preproc_ok=:
|
---|
| 3028 | break
|
---|
| 3029 | fi
|
---|
| 3030 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3031 |
|
---|
| 3032 | done
|
---|
| 3033 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
| 3034 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3035 | if $ac_preproc_ok; then
|
---|
| 3036 | :
|
---|
| 3037 | else
|
---|
| 3038 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
---|
| 3039 | See \`config.log' for more details." >&5
|
---|
| 3040 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
---|
| 3041 | See \`config.log' for more details." >&2;}
|
---|
| 3042 | { (exit 1); exit 1; }; }
|
---|
| 3043 | fi
|
---|
| 3044 |
|
---|
| 3045 | ac_ext=c
|
---|
| 3046 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3047 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3048 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3049 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 3050 |
|
---|
| 3051 |
|
---|
| 3052 | echo "$as_me:$LINENO: checking for egrep" >&5
|
---|
| 3053 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6
|
---|
| 3054 | if test "${ac_cv_prog_egrep+set}" = set; then
|
---|
| 3055 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3056 | else
|
---|
| 3057 | if echo a | (grep -E '(a|b)') >/dev/null 2>&1
|
---|
| 3058 | then ac_cv_prog_egrep='grep -E'
|
---|
| 3059 | else ac_cv_prog_egrep='egrep'
|
---|
| 3060 | fi
|
---|
| 3061 | fi
|
---|
| 3062 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
|
---|
| 3063 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6
|
---|
| 3064 | EGREP=$ac_cv_prog_egrep
|
---|
| 3065 |
|
---|
| 3066 |
|
---|
| 3067 |
|
---|
| 3068 | echo "$as_me:$LINENO: checking for AIX" >&5
|
---|
| 3069 | echo $ECHO_N "checking for AIX... $ECHO_C" >&6
|
---|
| 3070 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3071 | #line $LINENO "configure"
|
---|
| 3072 | /* confdefs.h. */
|
---|
| 3073 | _ACEOF
|
---|
| 3074 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3075 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3076 | /* end confdefs.h. */
|
---|
| 3077 | #ifdef _AIX
|
---|
| 3078 | yes
|
---|
| 3079 | #endif
|
---|
| 3080 |
|
---|
| 3081 | _ACEOF
|
---|
| 3082 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 3083 | $EGREP "yes" >/dev/null 2>&1; then
|
---|
| 3084 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 3085 | echo "${ECHO_T}yes" >&6
|
---|
| 3086 | cat >>confdefs.h <<\_ACEOF
|
---|
| 3087 | #define _ALL_SOURCE 1
|
---|
| 3088 | _ACEOF
|
---|
| 3089 |
|
---|
| 3090 | else
|
---|
| 3091 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3092 | echo "${ECHO_T}no" >&6
|
---|
| 3093 | fi
|
---|
| 3094 | rm -f conftest*
|
---|
| 3095 |
|
---|
| 3096 |
|
---|
| 3097 | echo "$as_me:$LINENO: checking for library containing strerror" >&5
|
---|
| 3098 | echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
|
---|
| 3099 | if test "${ac_cv_search_strerror+set}" = set; then
|
---|
| 3100 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3101 | else
|
---|
| 3102 | ac_func_search_save_LIBS=$LIBS
|
---|
| 3103 | ac_cv_search_strerror=no
|
---|
| 3104 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3105 | #line $LINENO "configure"
|
---|
| 3106 | /* confdefs.h. */
|
---|
| 3107 | _ACEOF
|
---|
| 3108 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3109 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3110 | /* end confdefs.h. */
|
---|
| 3111 |
|
---|
| 3112 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
| 3113 | #ifdef __cplusplus
|
---|
| 3114 | extern "C"
|
---|
| 3115 | #endif
|
---|
| 3116 | /* We use char because int might match the return type of a gcc2
|
---|
| 3117 | builtin and then its argument prototype would still apply. */
|
---|
| 3118 | char strerror ();
|
---|
| 3119 | int
|
---|
| 3120 | main ()
|
---|
| 3121 | {
|
---|
| 3122 | strerror ();
|
---|
| 3123 | ;
|
---|
| 3124 | return 0;
|
---|
| 3125 | }
|
---|
| 3126 | _ACEOF
|
---|
| 3127 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 3128 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 3129 | (eval $ac_link) 2>&5
|
---|
| 3130 | ac_status=$?
|
---|
| 3131 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3132 | (exit $ac_status); } &&
|
---|
| 3133 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 3134 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3135 | (eval $ac_try) 2>&5
|
---|
| 3136 | ac_status=$?
|
---|
| 3137 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3138 | (exit $ac_status); }; }; then
|
---|
| 3139 | ac_cv_search_strerror="none required"
|
---|
| 3140 | else
|
---|
| 3141 | echo "$as_me: failed program was:" >&5
|
---|
| 3142 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3143 |
|
---|
| 3144 | fi
|
---|
| 3145 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
---|
| 3146 | if test "$ac_cv_search_strerror" = no; then
|
---|
| 3147 | for ac_lib in cposix; do
|
---|
| 3148 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 3149 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3150 | #line $LINENO "configure"
|
---|
| 3151 | /* confdefs.h. */
|
---|
| 3152 | _ACEOF
|
---|
| 3153 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3154 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3155 | /* end confdefs.h. */
|
---|
| 3156 |
|
---|
| 3157 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
| 3158 | #ifdef __cplusplus
|
---|
| 3159 | extern "C"
|
---|
| 3160 | #endif
|
---|
| 3161 | /* We use char because int might match the return type of a gcc2
|
---|
| 3162 | builtin and then its argument prototype would still apply. */
|
---|
| 3163 | char strerror ();
|
---|
| 3164 | int
|
---|
| 3165 | main ()
|
---|
| 3166 | {
|
---|
| 3167 | strerror ();
|
---|
| 3168 | ;
|
---|
| 3169 | return 0;
|
---|
| 3170 | }
|
---|
| 3171 | _ACEOF
|
---|
| 3172 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 3173 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 3174 | (eval $ac_link) 2>&5
|
---|
| 3175 | ac_status=$?
|
---|
| 3176 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3177 | (exit $ac_status); } &&
|
---|
| 3178 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 3179 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3180 | (eval $ac_try) 2>&5
|
---|
| 3181 | ac_status=$?
|
---|
| 3182 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3183 | (exit $ac_status); }; }; then
|
---|
| 3184 | ac_cv_search_strerror="-l$ac_lib"
|
---|
| 3185 | break
|
---|
| 3186 | else
|
---|
| 3187 | echo "$as_me: failed program was:" >&5
|
---|
| 3188 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3189 |
|
---|
| 3190 | fi
|
---|
| 3191 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
---|
| 3192 | done
|
---|
| 3193 | fi
|
---|
| 3194 | LIBS=$ac_func_search_save_LIBS
|
---|
| 3195 | fi
|
---|
| 3196 | echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
|
---|
| 3197 | echo "${ECHO_T}$ac_cv_search_strerror" >&6
|
---|
| 3198 | if test "$ac_cv_search_strerror" != no; then
|
---|
| 3199 | test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
|
---|
| 3200 |
|
---|
| 3201 | fi
|
---|
| 3202 |
|
---|
| 3203 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
---|
| 3204 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
|
---|
| 3205 | if test "${ac_cv_header_stdc+set}" = set; then
|
---|
| 3206 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3207 | else
|
---|
| 3208 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3209 | #line $LINENO "configure"
|
---|
| 3210 | /* confdefs.h. */
|
---|
| 3211 | _ACEOF
|
---|
| 3212 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3213 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3214 | /* end confdefs.h. */
|
---|
| 3215 | #include <stdlib.h>
|
---|
| 3216 | #include <stdarg.h>
|
---|
| 3217 | #include <string.h>
|
---|
| 3218 | #include <float.h>
|
---|
| 3219 |
|
---|
| 3220 | int
|
---|
| 3221 | main ()
|
---|
| 3222 | {
|
---|
| 3223 |
|
---|
| 3224 | ;
|
---|
| 3225 | return 0;
|
---|
| 3226 | }
|
---|
| 3227 | _ACEOF
|
---|
| 3228 | rm -f conftest.$ac_objext
|
---|
| 3229 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 3230 | (eval $ac_compile) 2>&5
|
---|
| 3231 | ac_status=$?
|
---|
| 3232 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3233 | (exit $ac_status); } &&
|
---|
| 3234 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 3235 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3236 | (eval $ac_try) 2>&5
|
---|
| 3237 | ac_status=$?
|
---|
| 3238 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3239 | (exit $ac_status); }; }; then
|
---|
| 3240 | ac_cv_header_stdc=yes
|
---|
| 3241 | else
|
---|
| 3242 | echo "$as_me: failed program was:" >&5
|
---|
| 3243 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3244 |
|
---|
| 3245 | ac_cv_header_stdc=no
|
---|
| 3246 | fi
|
---|
| 3247 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 3248 |
|
---|
| 3249 | if test $ac_cv_header_stdc = yes; then
|
---|
| 3250 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
| 3251 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3252 | #line $LINENO "configure"
|
---|
| 3253 | /* confdefs.h. */
|
---|
| 3254 | _ACEOF
|
---|
| 3255 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3256 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3257 | /* end confdefs.h. */
|
---|
| 3258 | #include <string.h>
|
---|
| 3259 |
|
---|
| 3260 | _ACEOF
|
---|
| 3261 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 3262 | $EGREP "memchr" >/dev/null 2>&1; then
|
---|
| 3263 | :
|
---|
| 3264 | else
|
---|
| 3265 | ac_cv_header_stdc=no
|
---|
| 3266 | fi
|
---|
| 3267 | rm -f conftest*
|
---|
| 3268 |
|
---|
| 3269 | fi
|
---|
| 3270 |
|
---|
| 3271 | if test $ac_cv_header_stdc = yes; then
|
---|
| 3272 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
| 3273 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3274 | #line $LINENO "configure"
|
---|
| 3275 | /* confdefs.h. */
|
---|
| 3276 | _ACEOF
|
---|
| 3277 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3278 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3279 | /* end confdefs.h. */
|
---|
| 3280 | #include <stdlib.h>
|
---|
| 3281 |
|
---|
| 3282 | _ACEOF
|
---|
| 3283 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 3284 | $EGREP "free" >/dev/null 2>&1; then
|
---|
| 3285 | :
|
---|
| 3286 | else
|
---|
| 3287 | ac_cv_header_stdc=no
|
---|
| 3288 | fi
|
---|
| 3289 | rm -f conftest*
|
---|
| 3290 |
|
---|
| 3291 | fi
|
---|
| 3292 |
|
---|
| 3293 | if test $ac_cv_header_stdc = yes; then
|
---|
| 3294 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
| 3295 | if test "$cross_compiling" = yes; then
|
---|
| 3296 | :
|
---|
| 3297 | else
|
---|
| 3298 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3299 | #line $LINENO "configure"
|
---|
| 3300 | /* confdefs.h. */
|
---|
| 3301 | _ACEOF
|
---|
| 3302 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3303 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3304 | /* end confdefs.h. */
|
---|
| 3305 | #include <ctype.h>
|
---|
| 3306 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 3307 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 3308 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 3309 | #else
|
---|
| 3310 | # define ISLOWER(c) \
|
---|
| 3311 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 3312 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 3313 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 3314 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 3315 | #endif
|
---|
| 3316 |
|
---|
| 3317 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
| 3318 | int
|
---|
| 3319 | main ()
|
---|
| 3320 | {
|
---|
| 3321 | int i;
|
---|
| 3322 | for (i = 0; i < 256; i++)
|
---|
| 3323 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 3324 | || toupper (i) != TOUPPER (i))
|
---|
| 3325 | exit(2);
|
---|
| 3326 | exit (0);
|
---|
| 3327 | }
|
---|
| 3328 | _ACEOF
|
---|
| 3329 | rm -f conftest$ac_exeext
|
---|
| 3330 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 3331 | (eval $ac_link) 2>&5
|
---|
| 3332 | ac_status=$?
|
---|
| 3333 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3334 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
---|
| 3335 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3336 | (eval $ac_try) 2>&5
|
---|
| 3337 | ac_status=$?
|
---|
| 3338 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3339 | (exit $ac_status); }; }; then
|
---|
| 3340 | :
|
---|
| 3341 | else
|
---|
| 3342 | echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 3343 | echo "$as_me: failed program was:" >&5
|
---|
| 3344 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3345 |
|
---|
| 3346 | ( exit $ac_status )
|
---|
| 3347 | ac_cv_header_stdc=no
|
---|
| 3348 | fi
|
---|
| 3349 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
---|
| 3350 | fi
|
---|
| 3351 | fi
|
---|
| 3352 | fi
|
---|
| 3353 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
---|
| 3354 | echo "${ECHO_T}$ac_cv_header_stdc" >&6
|
---|
| 3355 | if test $ac_cv_header_stdc = yes; then
|
---|
| 3356 |
|
---|
| 3357 | cat >>confdefs.h <<\_ACEOF
|
---|
| 3358 | #define STDC_HEADERS 1
|
---|
| 3359 | _ACEOF
|
---|
| 3360 |
|
---|
| 3361 | fi
|
---|
| 3362 |
|
---|
| 3363 | # On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
---|
| 3364 |
|
---|
| 3365 |
|
---|
| 3366 |
|
---|
| 3367 |
|
---|
| 3368 |
|
---|
| 3369 |
|
---|
| 3370 |
|
---|
| 3371 |
|
---|
| 3372 |
|
---|
| 3373 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
---|
| 3374 | inttypes.h stdint.h unistd.h
|
---|
| 3375 | do
|
---|
| 3376 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
| 3377 | echo "$as_me:$LINENO: checking for $ac_header" >&5
|
---|
| 3378 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
---|
| 3379 | if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
---|
| 3380 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3381 | else
|
---|
| 3382 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3383 | #line $LINENO "configure"
|
---|
| 3384 | /* confdefs.h. */
|
---|
| 3385 | _ACEOF
|
---|
| 3386 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3387 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3388 | /* end confdefs.h. */
|
---|
| 3389 | $ac_includes_default
|
---|
| 3390 |
|
---|
| 3391 | #include <$ac_header>
|
---|
| 3392 | _ACEOF
|
---|
| 3393 | rm -f conftest.$ac_objext
|
---|
| 3394 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 3395 | (eval $ac_compile) 2>&5
|
---|
| 3396 | ac_status=$?
|
---|
| 3397 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3398 | (exit $ac_status); } &&
|
---|
| 3399 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 3400 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3401 | (eval $ac_try) 2>&5
|
---|
| 3402 | ac_status=$?
|
---|
| 3403 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3404 | (exit $ac_status); }; }; then
|
---|
| 3405 | eval "$as_ac_Header=yes"
|
---|
| 3406 | else
|
---|
| 3407 | echo "$as_me: failed program was:" >&5
|
---|
| 3408 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3409 |
|
---|
| 3410 | eval "$as_ac_Header=no"
|
---|
| 3411 | fi
|
---|
| 3412 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 3413 | fi
|
---|
| 3414 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
---|
| 3415 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
---|
| 3416 | if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
---|
| 3417 | cat >>confdefs.h <<_ACEOF
|
---|
| 3418 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
| 3419 | _ACEOF
|
---|
| 3420 |
|
---|
| 3421 | fi
|
---|
| 3422 |
|
---|
| 3423 | done
|
---|
| 3424 |
|
---|
| 3425 |
|
---|
| 3426 | if test "${ac_cv_header_minix_config_h+set}" = set; then
|
---|
| 3427 | echo "$as_me:$LINENO: checking for minix/config.h" >&5
|
---|
| 3428 | echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
|
---|
| 3429 | if test "${ac_cv_header_minix_config_h+set}" = set; then
|
---|
| 3430 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3431 | fi
|
---|
| 3432 | echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
|
---|
| 3433 | echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
|
---|
| 3434 | else
|
---|
| 3435 | # Is the header compilable?
|
---|
| 3436 | echo "$as_me:$LINENO: checking minix/config.h usability" >&5
|
---|
| 3437 | echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
|
---|
| 3438 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3439 | #line $LINENO "configure"
|
---|
| 3440 | /* confdefs.h. */
|
---|
| 3441 | _ACEOF
|
---|
| 3442 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3443 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3444 | /* end confdefs.h. */
|
---|
| 3445 | $ac_includes_default
|
---|
| 3446 | #include <minix/config.h>
|
---|
| 3447 | _ACEOF
|
---|
| 3448 | rm -f conftest.$ac_objext
|
---|
| 3449 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 3450 | (eval $ac_compile) 2>&5
|
---|
| 3451 | ac_status=$?
|
---|
| 3452 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3453 | (exit $ac_status); } &&
|
---|
| 3454 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 3455 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3456 | (eval $ac_try) 2>&5
|
---|
| 3457 | ac_status=$?
|
---|
| 3458 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3459 | (exit $ac_status); }; }; then
|
---|
| 3460 | ac_header_compiler=yes
|
---|
| 3461 | else
|
---|
| 3462 | echo "$as_me: failed program was:" >&5
|
---|
| 3463 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3464 |
|
---|
| 3465 | ac_header_compiler=no
|
---|
| 3466 | fi
|
---|
| 3467 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 3468 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
---|
| 3469 | echo "${ECHO_T}$ac_header_compiler" >&6
|
---|
| 3470 |
|
---|
| 3471 | # Is the header present?
|
---|
| 3472 | echo "$as_me:$LINENO: checking minix/config.h presence" >&5
|
---|
| 3473 | echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
|
---|
| 3474 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3475 | #line $LINENO "configure"
|
---|
| 3476 | /* confdefs.h. */
|
---|
| 3477 | _ACEOF
|
---|
| 3478 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3479 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3480 | /* end confdefs.h. */
|
---|
| 3481 | #include <minix/config.h>
|
---|
| 3482 | _ACEOF
|
---|
| 3483 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
---|
| 3484 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
---|
| 3485 | ac_status=$?
|
---|
| 3486 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3487 | rm -f conftest.er1
|
---|
| 3488 | cat conftest.err >&5
|
---|
| 3489 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3490 | (exit $ac_status); } >/dev/null; then
|
---|
| 3491 | if test -s conftest.err; then
|
---|
| 3492 | ac_cpp_err=$ac_c_preproc_warn_flag
|
---|
| 3493 | else
|
---|
| 3494 | ac_cpp_err=
|
---|
| 3495 | fi
|
---|
| 3496 | else
|
---|
| 3497 | ac_cpp_err=yes
|
---|
| 3498 | fi
|
---|
| 3499 | if test -z "$ac_cpp_err"; then
|
---|
| 3500 | ac_header_preproc=yes
|
---|
| 3501 | else
|
---|
| 3502 | echo "$as_me: failed program was:" >&5
|
---|
| 3503 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3504 |
|
---|
| 3505 | ac_header_preproc=no
|
---|
| 3506 | fi
|
---|
| 3507 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3508 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
---|
| 3509 | echo "${ECHO_T}$ac_header_preproc" >&6
|
---|
| 3510 |
|
---|
| 3511 | # So? What about this header?
|
---|
| 3512 | case $ac_header_compiler:$ac_header_preproc in
|
---|
| 3513 | yes:no )
|
---|
| 3514 | { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
---|
| 3515 | echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
---|
| 3516 | { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
|
---|
| 3517 | echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
|
---|
| 3518 | (
|
---|
| 3519 | cat <<\_ASBOX
|
---|
| 3520 | ## ------------------------------------ ##
|
---|
| 3521 | ## Report this to [email protected]. ##
|
---|
| 3522 | ## ------------------------------------ ##
|
---|
| 3523 | _ASBOX
|
---|
| 3524 | ) |
|
---|
| 3525 | sed "s/^/$as_me: WARNING: /" >&2
|
---|
| 3526 | ;;
|
---|
| 3527 | no:yes )
|
---|
| 3528 | { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
|
---|
| 3529 | echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
|
---|
| 3530 | { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
|
---|
| 3531 | echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
|
---|
| 3532 | { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
|
---|
| 3533 | echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
|
---|
| 3534 | (
|
---|
| 3535 | cat <<\_ASBOX
|
---|
| 3536 | ## ------------------------------------ ##
|
---|
| 3537 | ## Report this to [email protected]. ##
|
---|
| 3538 | ## ------------------------------------ ##
|
---|
| 3539 | _ASBOX
|
---|
| 3540 | ) |
|
---|
| 3541 | sed "s/^/$as_me: WARNING: /" >&2
|
---|
| 3542 | ;;
|
---|
| 3543 | esac
|
---|
| 3544 | echo "$as_me:$LINENO: checking for minix/config.h" >&5
|
---|
| 3545 | echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
|
---|
| 3546 | if test "${ac_cv_header_minix_config_h+set}" = set; then
|
---|
| 3547 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3548 | else
|
---|
| 3549 | ac_cv_header_minix_config_h=$ac_header_preproc
|
---|
| 3550 | fi
|
---|
| 3551 | echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
|
---|
| 3552 | echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
|
---|
| 3553 |
|
---|
| 3554 | fi
|
---|
| 3555 | if test $ac_cv_header_minix_config_h = yes; then
|
---|
| 3556 | MINIX=yes
|
---|
| 3557 | else
|
---|
| 3558 | MINIX=
|
---|
| 3559 | fi
|
---|
| 3560 |
|
---|
| 3561 |
|
---|
| 3562 | if test "$MINIX" = yes; then
|
---|
| 3563 |
|
---|
| 3564 | cat >>confdefs.h <<\_ACEOF
|
---|
| 3565 | #define _POSIX_SOURCE 1
|
---|
| 3566 | _ACEOF
|
---|
| 3567 |
|
---|
| 3568 |
|
---|
| 3569 | cat >>confdefs.h <<\_ACEOF
|
---|
| 3570 | #define _POSIX_1_SOURCE 2
|
---|
| 3571 | _ACEOF
|
---|
| 3572 |
|
---|
| 3573 |
|
---|
| 3574 | cat >>confdefs.h <<\_ACEOF
|
---|
| 3575 | #define _MINIX 1
|
---|
| 3576 | _ACEOF
|
---|
| 3577 |
|
---|
| 3578 | fi
|
---|
| 3579 |
|
---|
| 3580 | fp_C_PROTOTYPES
|
---|
| 3581 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
|
---|
| 3582 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
|
---|
| 3583 | if test "${ac_cv_c_const+set}" = set; then
|
---|
| 3584 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3585 | else
|
---|
| 3586 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3587 | #line $LINENO "configure"
|
---|
| 3588 | /* confdefs.h. */
|
---|
| 3589 | _ACEOF
|
---|
| 3590 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3591 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3592 | /* end confdefs.h. */
|
---|
| 3593 |
|
---|
| 3594 | int
|
---|
| 3595 | main ()
|
---|
| 3596 | {
|
---|
| 3597 | /* FIXME: Include the comments suggested by Paul. */
|
---|
| 3598 | #ifndef __cplusplus
|
---|
| 3599 | /* Ultrix mips cc rejects this. */
|
---|
| 3600 | typedef int charset[2];
|
---|
| 3601 | const charset x;
|
---|
| 3602 | /* SunOS 4.1.1 cc rejects this. */
|
---|
| 3603 | char const *const *ccp;
|
---|
| 3604 | char **p;
|
---|
| 3605 | /* NEC SVR4.0.2 mips cc rejects this. */
|
---|
| 3606 | struct point {int x, y;};
|
---|
| 3607 | static struct point const zero = {0,0};
|
---|
| 3608 | /* AIX XL C 1.02.0.0 rejects this.
|
---|
| 3609 | It does not let you subtract one const X* pointer from another in
|
---|
| 3610 | an arm of an if-expression whose if-part is not a constant
|
---|
| 3611 | expression */
|
---|
| 3612 | const char *g = "string";
|
---|
| 3613 | ccp = &g + (g ? g-g : 0);
|
---|
| 3614 | /* HPUX 7.0 cc rejects these. */
|
---|
| 3615 | ++ccp;
|
---|
| 3616 | p = (char**) ccp;
|
---|
| 3617 | ccp = (char const *const *) p;
|
---|
| 3618 | { /* SCO 3.2v4 cc rejects this. */
|
---|
| 3619 | char *t;
|
---|
| 3620 | char const *s = 0 ? (char *) 0 : (char const *) 0;
|
---|
| 3621 |
|
---|
| 3622 | *t++ = 0;
|
---|
| 3623 | }
|
---|
| 3624 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
---|
| 3625 | int x[] = {25, 17};
|
---|
| 3626 | const int *foo = &x[0];
|
---|
| 3627 | ++foo;
|
---|
| 3628 | }
|
---|
| 3629 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
---|
| 3630 | typedef const int *iptr;
|
---|
| 3631 | iptr p = 0;
|
---|
| 3632 | ++p;
|
---|
| 3633 | }
|
---|
| 3634 | { /* AIX XL C 1.02.0.0 rejects this saying
|
---|
| 3635 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
---|
| 3636 | struct s { int j; const int *ap[3]; };
|
---|
| 3637 | struct s *b; b->j = 5;
|
---|
| 3638 | }
|
---|
| 3639 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
---|
| 3640 | const int foo = 10;
|
---|
| 3641 | }
|
---|
| 3642 | #endif
|
---|
| 3643 |
|
---|
| 3644 | ;
|
---|
| 3645 | return 0;
|
---|
| 3646 | }
|
---|
| 3647 | _ACEOF
|
---|
| 3648 | rm -f conftest.$ac_objext
|
---|
| 3649 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 3650 | (eval $ac_compile) 2>&5
|
---|
| 3651 | ac_status=$?
|
---|
| 3652 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3653 | (exit $ac_status); } &&
|
---|
| 3654 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 3655 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3656 | (eval $ac_try) 2>&5
|
---|
| 3657 | ac_status=$?
|
---|
| 3658 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3659 | (exit $ac_status); }; }; then
|
---|
| 3660 | ac_cv_c_const=yes
|
---|
| 3661 | else
|
---|
| 3662 | echo "$as_me: failed program was:" >&5
|
---|
| 3663 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3664 |
|
---|
| 3665 | ac_cv_c_const=no
|
---|
| 3666 | fi
|
---|
| 3667 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 3668 | fi
|
---|
| 3669 | echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
|
---|
| 3670 | echo "${ECHO_T}$ac_cv_c_const" >&6
|
---|
| 3671 | if test $ac_cv_c_const = no; then
|
---|
| 3672 |
|
---|
| 3673 | cat >>confdefs.h <<\_ACEOF
|
---|
| 3674 | #define const
|
---|
| 3675 | _ACEOF
|
---|
| 3676 |
|
---|
| 3677 | fi
|
---|
| 3678 |
|
---|
| 3679 | echo "$as_me:$LINENO: checking for off_t" >&5
|
---|
| 3680 | echo $ECHO_N "checking for off_t... $ECHO_C" >&6
|
---|
| 3681 | if test "${ac_cv_type_off_t+set}" = set; then
|
---|
| 3682 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3683 | else
|
---|
| 3684 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3685 | #line $LINENO "configure"
|
---|
| 3686 | /* confdefs.h. */
|
---|
| 3687 | _ACEOF
|
---|
| 3688 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3689 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3690 | /* end confdefs.h. */
|
---|
| 3691 | $ac_includes_default
|
---|
| 3692 | int
|
---|
| 3693 | main ()
|
---|
| 3694 | {
|
---|
| 3695 | if ((off_t *) 0)
|
---|
| 3696 | return 0;
|
---|
| 3697 | if (sizeof (off_t))
|
---|
| 3698 | return 0;
|
---|
| 3699 | ;
|
---|
| 3700 | return 0;
|
---|
| 3701 | }
|
---|
| 3702 | _ACEOF
|
---|
| 3703 | rm -f conftest.$ac_objext
|
---|
| 3704 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 3705 | (eval $ac_compile) 2>&5
|
---|
| 3706 | ac_status=$?
|
---|
| 3707 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3708 | (exit $ac_status); } &&
|
---|
| 3709 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 3710 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3711 | (eval $ac_try) 2>&5
|
---|
| 3712 | ac_status=$?
|
---|
| 3713 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3714 | (exit $ac_status); }; }; then
|
---|
| 3715 | ac_cv_type_off_t=yes
|
---|
| 3716 | else
|
---|
| 3717 | echo "$as_me: failed program was:" >&5
|
---|
| 3718 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3719 |
|
---|
| 3720 | ac_cv_type_off_t=no
|
---|
| 3721 | fi
|
---|
| 3722 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 3723 | fi
|
---|
| 3724 | echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
|
---|
| 3725 | echo "${ECHO_T}$ac_cv_type_off_t" >&6
|
---|
| 3726 | if test $ac_cv_type_off_t = yes; then
|
---|
| 3727 | :
|
---|
| 3728 | else
|
---|
| 3729 |
|
---|
| 3730 | cat >>confdefs.h <<_ACEOF
|
---|
| 3731 | #define off_t long
|
---|
| 3732 | _ACEOF
|
---|
| 3733 |
|
---|
| 3734 | fi
|
---|
| 3735 |
|
---|
| 3736 | echo "$as_me:$LINENO: checking for size_t" >&5
|
---|
| 3737 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6
|
---|
| 3738 | if test "${ac_cv_type_size_t+set}" = set; then
|
---|
| 3739 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3740 | else
|
---|
| 3741 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3742 | #line $LINENO "configure"
|
---|
| 3743 | /* confdefs.h. */
|
---|
| 3744 | _ACEOF
|
---|
| 3745 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3746 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3747 | /* end confdefs.h. */
|
---|
| 3748 | $ac_includes_default
|
---|
| 3749 | int
|
---|
| 3750 | main ()
|
---|
| 3751 | {
|
---|
| 3752 | if ((size_t *) 0)
|
---|
| 3753 | return 0;
|
---|
| 3754 | if (sizeof (size_t))
|
---|
| 3755 | return 0;
|
---|
| 3756 | ;
|
---|
| 3757 | return 0;
|
---|
| 3758 | }
|
---|
| 3759 | _ACEOF
|
---|
| 3760 | rm -f conftest.$ac_objext
|
---|
| 3761 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 3762 | (eval $ac_compile) 2>&5
|
---|
| 3763 | ac_status=$?
|
---|
| 3764 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3765 | (exit $ac_status); } &&
|
---|
| 3766 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 3767 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3768 | (eval $ac_try) 2>&5
|
---|
| 3769 | ac_status=$?
|
---|
| 3770 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3771 | (exit $ac_status); }; }; then
|
---|
| 3772 | ac_cv_type_size_t=yes
|
---|
| 3773 | else
|
---|
| 3774 | echo "$as_me: failed program was:" >&5
|
---|
| 3775 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3776 |
|
---|
| 3777 | ac_cv_type_size_t=no
|
---|
| 3778 | fi
|
---|
| 3779 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 3780 | fi
|
---|
| 3781 | echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
|
---|
| 3782 | echo "${ECHO_T}$ac_cv_type_size_t" >&6
|
---|
| 3783 | if test $ac_cv_type_size_t = yes; then
|
---|
| 3784 | :
|
---|
| 3785 | else
|
---|
| 3786 |
|
---|
| 3787 | cat >>confdefs.h <<_ACEOF
|
---|
| 3788 | #define size_t unsigned
|
---|
| 3789 | _ACEOF
|
---|
| 3790 |
|
---|
| 3791 | fi
|
---|
| 3792 |
|
---|
| 3793 | echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
|
---|
| 3794 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
|
---|
| 3795 | if test "${ac_cv_header_time+set}" = set; then
|
---|
| 3796 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3797 | else
|
---|
| 3798 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3799 | #line $LINENO "configure"
|
---|
| 3800 | /* confdefs.h. */
|
---|
| 3801 | _ACEOF
|
---|
| 3802 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3803 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3804 | /* end confdefs.h. */
|
---|
| 3805 | #include <sys/types.h>
|
---|
| 3806 | #include <sys/time.h>
|
---|
| 3807 | #include <time.h>
|
---|
| 3808 |
|
---|
| 3809 | int
|
---|
| 3810 | main ()
|
---|
| 3811 | {
|
---|
| 3812 | if ((struct tm *) 0)
|
---|
| 3813 | return 0;
|
---|
| 3814 | ;
|
---|
| 3815 | return 0;
|
---|
| 3816 | }
|
---|
| 3817 | _ACEOF
|
---|
| 3818 | rm -f conftest.$ac_objext
|
---|
| 3819 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 3820 | (eval $ac_compile) 2>&5
|
---|
| 3821 | ac_status=$?
|
---|
| 3822 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3823 | (exit $ac_status); } &&
|
---|
| 3824 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 3825 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3826 | (eval $ac_try) 2>&5
|
---|
| 3827 | ac_status=$?
|
---|
| 3828 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3829 | (exit $ac_status); }; }; then
|
---|
| 3830 | ac_cv_header_time=yes
|
---|
| 3831 | else
|
---|
| 3832 | echo "$as_me: failed program was:" >&5
|
---|
| 3833 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3834 |
|
---|
| 3835 | ac_cv_header_time=no
|
---|
| 3836 | fi
|
---|
| 3837 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 3838 | fi
|
---|
| 3839 | echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
|
---|
| 3840 | echo "${ECHO_T}$ac_cv_header_time" >&6
|
---|
| 3841 | if test $ac_cv_header_time = yes; then
|
---|
| 3842 |
|
---|
| 3843 | cat >>confdefs.h <<\_ACEOF
|
---|
| 3844 | #define TIME_WITH_SYS_TIME 1
|
---|
| 3845 | _ACEOF
|
---|
| 3846 |
|
---|
| 3847 | fi
|
---|
| 3848 |
|
---|
| 3849 | echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
|
---|
| 3850 | echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
|
---|
| 3851 | if test "${ac_cv_struct_tm+set}" = set; then
|
---|
| 3852 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3853 | else
|
---|
| 3854 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3855 | #line $LINENO "configure"
|
---|
| 3856 | /* confdefs.h. */
|
---|
| 3857 | _ACEOF
|
---|
| 3858 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3859 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3860 | /* end confdefs.h. */
|
---|
| 3861 | #include <sys/types.h>
|
---|
| 3862 | #include <time.h>
|
---|
| 3863 |
|
---|
| 3864 | int
|
---|
| 3865 | main ()
|
---|
| 3866 | {
|
---|
| 3867 | struct tm *tp; tp->tm_sec;
|
---|
| 3868 | ;
|
---|
| 3869 | return 0;
|
---|
| 3870 | }
|
---|
| 3871 | _ACEOF
|
---|
| 3872 | rm -f conftest.$ac_objext
|
---|
| 3873 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 3874 | (eval $ac_compile) 2>&5
|
---|
| 3875 | ac_status=$?
|
---|
| 3876 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3877 | (exit $ac_status); } &&
|
---|
| 3878 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 3879 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3880 | (eval $ac_try) 2>&5
|
---|
| 3881 | ac_status=$?
|
---|
| 3882 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3883 | (exit $ac_status); }; }; then
|
---|
| 3884 | ac_cv_struct_tm=time.h
|
---|
| 3885 | else
|
---|
| 3886 | echo "$as_me: failed program was:" >&5
|
---|
| 3887 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3888 |
|
---|
| 3889 | ac_cv_struct_tm=sys/time.h
|
---|
| 3890 | fi
|
---|
| 3891 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 3892 | fi
|
---|
| 3893 | echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
|
---|
| 3894 | echo "${ECHO_T}$ac_cv_struct_tm" >&6
|
---|
| 3895 | if test $ac_cv_struct_tm = sys/time.h; then
|
---|
| 3896 |
|
---|
| 3897 | cat >>confdefs.h <<\_ACEOF
|
---|
| 3898 | #define TM_IN_SYS_TIME 1
|
---|
| 3899 | _ACEOF
|
---|
| 3900 |
|
---|
| 3901 | fi
|
---|
| 3902 |
|
---|
| 3903 |
|
---|
| 3904 | if test "$ac_cv_prog_cc_stdc" = '-Xc'; then
|
---|
| 3905 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3906 | #line $LINENO "configure"
|
---|
| 3907 | /* confdefs.h. */
|
---|
| 3908 | _ACEOF
|
---|
| 3909 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3910 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3911 | /* end confdefs.h. */
|
---|
| 3912 | #include <stdio.h>
|
---|
| 3913 |
|
---|
| 3914 | int
|
---|
| 3915 | main ()
|
---|
| 3916 | {
|
---|
| 3917 | FILE *rubbish = popen("yes", "r");
|
---|
| 3918 | ;
|
---|
| 3919 | return 0;
|
---|
| 3920 | }
|
---|
| 3921 | _ACEOF
|
---|
| 3922 | rm -f conftest.$ac_objext
|
---|
| 3923 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 3924 | (eval $ac_compile) 2>&5
|
---|
| 3925 | ac_status=$?
|
---|
| 3926 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3927 | (exit $ac_status); } &&
|
---|
| 3928 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 3929 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3930 | (eval $ac_try) 2>&5
|
---|
| 3931 | ac_status=$?
|
---|
| 3932 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3933 | (exit $ac_status); }; }; then
|
---|
| 3934 | :
|
---|
| 3935 | else
|
---|
| 3936 | echo "$as_me: failed program was:" >&5
|
---|
| 3937 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3938 |
|
---|
| 3939 | CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa'
|
---|
| 3940 | fi
|
---|
| 3941 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 3942 | fi
|
---|
| 3943 |
|
---|
| 3944 |
|
---|
| 3945 |
|
---|
| 3946 | echo "$as_me:$LINENO: checking for main in -lg" >&5
|
---|
| 3947 | echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6
|
---|
| 3948 | if test "${ac_cv_lib_g_main+set}" = set; then
|
---|
| 3949 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3950 | else
|
---|
| 3951 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 3952 | LIBS="-lg $LIBS"
|
---|
| 3953 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3954 | #line $LINENO "configure"
|
---|
| 3955 | /* confdefs.h. */
|
---|
| 3956 | _ACEOF
|
---|
| 3957 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3958 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3959 | /* end confdefs.h. */
|
---|
| 3960 |
|
---|
| 3961 |
|
---|
| 3962 | int
|
---|
| 3963 | main ()
|
---|
| 3964 | {
|
---|
| 3965 | main ();
|
---|
| 3966 | ;
|
---|
| 3967 | return 0;
|
---|
| 3968 | }
|
---|
| 3969 | _ACEOF
|
---|
| 3970 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 3971 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 3972 | (eval $ac_link) 2>&5
|
---|
| 3973 | ac_status=$?
|
---|
| 3974 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3975 | (exit $ac_status); } &&
|
---|
| 3976 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 3977 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3978 | (eval $ac_try) 2>&5
|
---|
| 3979 | ac_status=$?
|
---|
| 3980 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3981 | (exit $ac_status); }; }; then
|
---|
| 3982 | ac_cv_lib_g_main=yes
|
---|
| 3983 | else
|
---|
| 3984 | echo "$as_me: failed program was:" >&5
|
---|
| 3985 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3986 |
|
---|
| 3987 | ac_cv_lib_g_main=no
|
---|
| 3988 | fi
|
---|
| 3989 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
---|
| 3990 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 3991 | fi
|
---|
| 3992 | echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
|
---|
| 3993 | echo "${ECHO_T}$ac_cv_lib_g_main" >&6
|
---|
| 3994 | if test $ac_cv_lib_g_main = yes; then
|
---|
| 3995 | cat >>confdefs.h <<_ACEOF
|
---|
| 3996 | #define HAVE_LIBG 1
|
---|
| 3997 | _ACEOF
|
---|
| 3998 |
|
---|
| 3999 | LIBS="-lg $LIBS"
|
---|
| 4000 |
|
---|
| 4001 | fi
|
---|
| 4002 |
|
---|
| 4003 |
|
---|
| 4004 | echo "$as_me:$LINENO: checking for main in -lgdbm" >&5
|
---|
| 4005 | echo $ECHO_N "checking for main in -lgdbm... $ECHO_C" >&6
|
---|
| 4006 | if test "${ac_cv_lib_gdbm_main+set}" = set; then
|
---|
| 4007 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4008 | else
|
---|
| 4009 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 4010 | LIBS="-lgdbm $LIBS"
|
---|
| 4011 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4012 | #line $LINENO "configure"
|
---|
| 4013 | /* confdefs.h. */
|
---|
| 4014 | _ACEOF
|
---|
| 4015 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4016 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4017 | /* end confdefs.h. */
|
---|
| 4018 |
|
---|
| 4019 |
|
---|
| 4020 | int
|
---|
| 4021 | main ()
|
---|
| 4022 | {
|
---|
| 4023 | main ();
|
---|
| 4024 | ;
|
---|
| 4025 | return 0;
|
---|
| 4026 | }
|
---|
| 4027 | _ACEOF
|
---|
| 4028 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 4029 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 4030 | (eval $ac_link) 2>&5
|
---|
| 4031 | ac_status=$?
|
---|
| 4032 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4033 | (exit $ac_status); } &&
|
---|
| 4034 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 4035 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4036 | (eval $ac_try) 2>&5
|
---|
| 4037 | ac_status=$?
|
---|
| 4038 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4039 | (exit $ac_status); }; }; then
|
---|
| 4040 | ac_cv_lib_gdbm_main=yes
|
---|
| 4041 | else
|
---|
| 4042 | echo "$as_me: failed program was:" >&5
|
---|
| 4043 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4044 |
|
---|
| 4045 | ac_cv_lib_gdbm_main=no
|
---|
| 4046 | fi
|
---|
| 4047 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
---|
| 4048 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 4049 | fi
|
---|
| 4050 | echo "$as_me:$LINENO: result: $ac_cv_lib_gdbm_main" >&5
|
---|
| 4051 | echo "${ECHO_T}$ac_cv_lib_gdbm_main" >&6
|
---|
| 4052 | if test $ac_cv_lib_gdbm_main = yes; then
|
---|
| 4053 | cat >>confdefs.h <<_ACEOF
|
---|
| 4054 | #define HAVE_LIBGDBM 1
|
---|
| 4055 | _ACEOF
|
---|
| 4056 |
|
---|
| 4057 | LIBS="-lgdbm $LIBS"
|
---|
| 4058 |
|
---|
| 4059 | fi
|
---|
| 4060 |
|
---|
| 4061 |
|
---|
| 4062 | echo "$as_me:$LINENO: checking for main in -lm" >&5
|
---|
| 4063 | echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
|
---|
| 4064 | if test "${ac_cv_lib_m_main+set}" = set; then
|
---|
| 4065 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4066 | else
|
---|
| 4067 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 4068 | LIBS="-lm $LIBS"
|
---|
| 4069 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4070 | #line $LINENO "configure"
|
---|
| 4071 | /* confdefs.h. */
|
---|
| 4072 | _ACEOF
|
---|
| 4073 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4074 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4075 | /* end confdefs.h. */
|
---|
| 4076 |
|
---|
| 4077 |
|
---|
| 4078 | int
|
---|
| 4079 | main ()
|
---|
| 4080 | {
|
---|
| 4081 | main ();
|
---|
| 4082 | ;
|
---|
| 4083 | return 0;
|
---|
| 4084 | }
|
---|
| 4085 | _ACEOF
|
---|
| 4086 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 4087 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 4088 | (eval $ac_link) 2>&5
|
---|
| 4089 | ac_status=$?
|
---|
| 4090 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4091 | (exit $ac_status); } &&
|
---|
| 4092 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 4093 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4094 | (eval $ac_try) 2>&5
|
---|
| 4095 | ac_status=$?
|
---|
| 4096 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4097 | (exit $ac_status); }; }; then
|
---|
| 4098 | ac_cv_lib_m_main=yes
|
---|
| 4099 | else
|
---|
| 4100 | echo "$as_me: failed program was:" >&5
|
---|
| 4101 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4102 |
|
---|
| 4103 | ac_cv_lib_m_main=no
|
---|
| 4104 | fi
|
---|
| 4105 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
---|
| 4106 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 4107 | fi
|
---|
| 4108 | echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
|
---|
| 4109 | echo "${ECHO_T}$ac_cv_lib_m_main" >&6
|
---|
| 4110 | if test $ac_cv_lib_m_main = yes; then
|
---|
| 4111 | cat >>confdefs.h <<_ACEOF
|
---|
| 4112 | #define HAVE_LIBM 1
|
---|
| 4113 | _ACEOF
|
---|
| 4114 |
|
---|
| 4115 | LIBS="-lm $LIBS"
|
---|
| 4116 |
|
---|
| 4117 | fi
|
---|
| 4118 |
|
---|
| 4119 |
|
---|
| 4120 | echo "$as_me:$LINENO: checking for main in -lstdc++" >&5
|
---|
| 4121 | echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6
|
---|
| 4122 | if test "${ac_cv_lib_stdcpp_main+set}" = set; then
|
---|
| 4123 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4124 | else
|
---|
| 4125 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 4126 | LIBS="-lstdc++ $LIBS"
|
---|
| 4127 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4128 | #line $LINENO "configure"
|
---|
| 4129 | /* confdefs.h. */
|
---|
| 4130 | _ACEOF
|
---|
| 4131 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4132 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4133 | /* end confdefs.h. */
|
---|
| 4134 |
|
---|
| 4135 |
|
---|
| 4136 | int
|
---|
| 4137 | main ()
|
---|
| 4138 | {
|
---|
| 4139 | main ();
|
---|
| 4140 | ;
|
---|
| 4141 | return 0;
|
---|
| 4142 | }
|
---|
| 4143 | _ACEOF
|
---|
| 4144 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 4145 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 4146 | (eval $ac_link) 2>&5
|
---|
| 4147 | ac_status=$?
|
---|
| 4148 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4149 | (exit $ac_status); } &&
|
---|
| 4150 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 4151 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4152 | (eval $ac_try) 2>&5
|
---|
| 4153 | ac_status=$?
|
---|
| 4154 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4155 | (exit $ac_status); }; }; then
|
---|
| 4156 | ac_cv_lib_stdcpp_main=yes
|
---|
| 4157 | else
|
---|
| 4158 | echo "$as_me: failed program was:" >&5
|
---|
| 4159 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4160 |
|
---|
| 4161 | ac_cv_lib_stdcpp_main=no
|
---|
| 4162 | fi
|
---|
| 4163 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
---|
| 4164 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 4165 | fi
|
---|
| 4166 | echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5
|
---|
| 4167 | echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6
|
---|
| 4168 | if test $ac_cv_lib_stdcpp_main = yes; then
|
---|
| 4169 | cat >>confdefs.h <<_ACEOF
|
---|
| 4170 | #define HAVE_LIBSTDC__ 1
|
---|
| 4171 | _ACEOF
|
---|
| 4172 |
|
---|
| 4173 | LIBS="-lstdc++ $LIBS"
|
---|
| 4174 |
|
---|
| 4175 | fi
|
---|
| 4176 |
|
---|
| 4177 |
|
---|
| 4178 | echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
|
---|
| 4179 | echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
|
---|
| 4180 | if test "${ac_cv_lib_crypt_main+set}" = set; then
|
---|
| 4181 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4182 | else
|
---|
| 4183 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 4184 | LIBS="-lcrypt $LIBS"
|
---|
| 4185 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4186 | #line $LINENO "configure"
|
---|
| 4187 | /* confdefs.h. */
|
---|
| 4188 | _ACEOF
|
---|
| 4189 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4190 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4191 | /* end confdefs.h. */
|
---|
| 4192 |
|
---|
| 4193 |
|
---|
| 4194 | int
|
---|
| 4195 | main ()
|
---|
| 4196 | {
|
---|
| 4197 | main ();
|
---|
| 4198 | ;
|
---|
| 4199 | return 0;
|
---|
| 4200 | }
|
---|
| 4201 | _ACEOF
|
---|
| 4202 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 4203 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 4204 | (eval $ac_link) 2>&5
|
---|
| 4205 | ac_status=$?
|
---|
| 4206 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4207 | (exit $ac_status); } &&
|
---|
| 4208 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 4209 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4210 | (eval $ac_try) 2>&5
|
---|
| 4211 | ac_status=$?
|
---|
| 4212 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4213 | (exit $ac_status); }; }; then
|
---|
| 4214 | ac_cv_lib_crypt_main=yes
|
---|
| 4215 | else
|
---|
| 4216 | echo "$as_me: failed program was:" >&5
|
---|
| 4217 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4218 |
|
---|
| 4219 | ac_cv_lib_crypt_main=no
|
---|
| 4220 | fi
|
---|
| 4221 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
---|
| 4222 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 4223 | fi
|
---|
| 4224 | echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
|
---|
| 4225 | echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
|
---|
| 4226 | if test $ac_cv_lib_crypt_main = yes; then
|
---|
| 4227 | cat >>confdefs.h <<_ACEOF
|
---|
| 4228 | #define HAVE_LIBCRYPT 1
|
---|
| 4229 | _ACEOF
|
---|
| 4230 |
|
---|
| 4231 | LIBS="-lcrypt $LIBS"
|
---|
| 4232 |
|
---|
| 4233 | fi
|
---|
| 4234 |
|
---|
| 4235 |
|
---|
| 4236 |
|
---|
| 4237 |
|
---|
| 4238 |
|
---|
| 4239 |
|
---|
| 4240 |
|
---|
| 4241 |
|
---|
| 4242 | ac_header_dirent=no
|
---|
| 4243 | for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
|
---|
| 4244 | as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
|
---|
| 4245 | echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
|
---|
| 4246 | echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
|
---|
| 4247 | if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
---|
| 4248 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4249 | else
|
---|
| 4250 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4251 | #line $LINENO "configure"
|
---|
| 4252 | /* confdefs.h. */
|
---|
| 4253 | _ACEOF
|
---|
| 4254 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4255 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4256 | /* end confdefs.h. */
|
---|
| 4257 | #include <sys/types.h>
|
---|
| 4258 | #include <$ac_hdr>
|
---|
| 4259 |
|
---|
| 4260 | int
|
---|
| 4261 | main ()
|
---|
| 4262 | {
|
---|
| 4263 | if ((DIR *) 0)
|
---|
| 4264 | return 0;
|
---|
| 4265 | ;
|
---|
| 4266 | return 0;
|
---|
| 4267 | }
|
---|
| 4268 | _ACEOF
|
---|
| 4269 | rm -f conftest.$ac_objext
|
---|
| 4270 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 4271 | (eval $ac_compile) 2>&5
|
---|
| 4272 | ac_status=$?
|
---|
| 4273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4274 | (exit $ac_status); } &&
|
---|
| 4275 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 4276 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4277 | (eval $ac_try) 2>&5
|
---|
| 4278 | ac_status=$?
|
---|
| 4279 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4280 | (exit $ac_status); }; }; then
|
---|
| 4281 | eval "$as_ac_Header=yes"
|
---|
| 4282 | else
|
---|
| 4283 | echo "$as_me: failed program was:" >&5
|
---|
| 4284 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4285 |
|
---|
| 4286 | eval "$as_ac_Header=no"
|
---|
| 4287 | fi
|
---|
| 4288 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 4289 | fi
|
---|
| 4290 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
---|
| 4291 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
---|
| 4292 | if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
---|
| 4293 | cat >>confdefs.h <<_ACEOF
|
---|
| 4294 | #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
|
---|
| 4295 | _ACEOF
|
---|
| 4296 |
|
---|
| 4297 | ac_header_dirent=$ac_hdr; break
|
---|
| 4298 | fi
|
---|
| 4299 |
|
---|
| 4300 | done
|
---|
| 4301 | # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
|
---|
| 4302 | if test $ac_header_dirent = dirent.h; then
|
---|
| 4303 | echo "$as_me:$LINENO: checking for library containing opendir" >&5
|
---|
| 4304 | echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
|
---|
| 4305 | if test "${ac_cv_search_opendir+set}" = set; then
|
---|
| 4306 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4307 | else
|
---|
| 4308 | ac_func_search_save_LIBS=$LIBS
|
---|
| 4309 | ac_cv_search_opendir=no
|
---|
| 4310 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4311 | #line $LINENO "configure"
|
---|
| 4312 | /* confdefs.h. */
|
---|
| 4313 | _ACEOF
|
---|
| 4314 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4315 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4316 | /* end confdefs.h. */
|
---|
| 4317 |
|
---|
| 4318 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
| 4319 | #ifdef __cplusplus
|
---|
| 4320 | extern "C"
|
---|
| 4321 | #endif
|
---|
| 4322 | /* We use char because int might match the return type of a gcc2
|
---|
| 4323 | builtin and then its argument prototype would still apply. */
|
---|
| 4324 | char opendir ();
|
---|
| 4325 | int
|
---|
| 4326 | main ()
|
---|
| 4327 | {
|
---|
| 4328 | opendir ();
|
---|
| 4329 | ;
|
---|
| 4330 | return 0;
|
---|
| 4331 | }
|
---|
| 4332 | _ACEOF
|
---|
| 4333 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 4334 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 4335 | (eval $ac_link) 2>&5
|
---|
| 4336 | ac_status=$?
|
---|
| 4337 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4338 | (exit $ac_status); } &&
|
---|
| 4339 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 4340 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4341 | (eval $ac_try) 2>&5
|
---|
| 4342 | ac_status=$?
|
---|
| 4343 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4344 | (exit $ac_status); }; }; then
|
---|
| 4345 | ac_cv_search_opendir="none required"
|
---|
| 4346 | else
|
---|
| 4347 | echo "$as_me: failed program was:" >&5
|
---|
| 4348 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4349 |
|
---|
| 4350 | fi
|
---|
| 4351 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
---|
| 4352 | if test "$ac_cv_search_opendir" = no; then
|
---|
| 4353 | for ac_lib in dir; do
|
---|
| 4354 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 4355 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4356 | #line $LINENO "configure"
|
---|
| 4357 | /* confdefs.h. */
|
---|
| 4358 | _ACEOF
|
---|
| 4359 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4360 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4361 | /* end confdefs.h. */
|
---|
| 4362 |
|
---|
| 4363 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
| 4364 | #ifdef __cplusplus
|
---|
| 4365 | extern "C"
|
---|
| 4366 | #endif
|
---|
| 4367 | /* We use char because int might match the return type of a gcc2
|
---|
| 4368 | builtin and then its argument prototype would still apply. */
|
---|
| 4369 | char opendir ();
|
---|
| 4370 | int
|
---|
| 4371 | main ()
|
---|
| 4372 | {
|
---|
| 4373 | opendir ();
|
---|
| 4374 | ;
|
---|
| 4375 | return 0;
|
---|
| 4376 | }
|
---|
| 4377 | _ACEOF
|
---|
| 4378 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 4379 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 4380 | (eval $ac_link) 2>&5
|
---|
| 4381 | ac_status=$?
|
---|
| 4382 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4383 | (exit $ac_status); } &&
|
---|
| 4384 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 4385 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4386 | (eval $ac_try) 2>&5
|
---|
| 4387 | ac_status=$?
|
---|
| 4388 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4389 | (exit $ac_status); }; }; then
|
---|
| 4390 | ac_cv_search_opendir="-l$ac_lib"
|
---|
| 4391 | break
|
---|
| 4392 | else
|
---|
| 4393 | echo "$as_me: failed program was:" >&5
|
---|
| 4394 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4395 |
|
---|
| 4396 | fi
|
---|
| 4397 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
---|
| 4398 | done
|
---|
| 4399 | fi
|
---|
| 4400 | LIBS=$ac_func_search_save_LIBS
|
---|
| 4401 | fi
|
---|
| 4402 | echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
|
---|
| 4403 | echo "${ECHO_T}$ac_cv_search_opendir" >&6
|
---|
| 4404 | if test "$ac_cv_search_opendir" != no; then
|
---|
| 4405 | test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
|
---|
| 4406 |
|
---|
| 4407 | fi
|
---|
| 4408 |
|
---|
| 4409 | else
|
---|
| 4410 | echo "$as_me:$LINENO: checking for library containing opendir" >&5
|
---|
| 4411 | echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
|
---|
| 4412 | if test "${ac_cv_search_opendir+set}" = set; then
|
---|
| 4413 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4414 | else
|
---|
| 4415 | ac_func_search_save_LIBS=$LIBS
|
---|
| 4416 | ac_cv_search_opendir=no
|
---|
| 4417 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4418 | #line $LINENO "configure"
|
---|
| 4419 | /* confdefs.h. */
|
---|
| 4420 | _ACEOF
|
---|
| 4421 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4422 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4423 | /* end confdefs.h. */
|
---|
| 4424 |
|
---|
| 4425 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
| 4426 | #ifdef __cplusplus
|
---|
| 4427 | extern "C"
|
---|
| 4428 | #endif
|
---|
| 4429 | /* We use char because int might match the return type of a gcc2
|
---|
| 4430 | builtin and then its argument prototype would still apply. */
|
---|
| 4431 | char opendir ();
|
---|
| 4432 | int
|
---|
| 4433 | main ()
|
---|
| 4434 | {
|
---|
| 4435 | opendir ();
|
---|
| 4436 | ;
|
---|
| 4437 | return 0;
|
---|
| 4438 | }
|
---|
| 4439 | _ACEOF
|
---|
| 4440 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 4441 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 4442 | (eval $ac_link) 2>&5
|
---|
| 4443 | ac_status=$?
|
---|
| 4444 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4445 | (exit $ac_status); } &&
|
---|
| 4446 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 4447 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4448 | (eval $ac_try) 2>&5
|
---|
| 4449 | ac_status=$?
|
---|
| 4450 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4451 | (exit $ac_status); }; }; then
|
---|
| 4452 | ac_cv_search_opendir="none required"
|
---|
| 4453 | else
|
---|
| 4454 | echo "$as_me: failed program was:" >&5
|
---|
| 4455 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4456 |
|
---|
| 4457 | fi
|
---|
| 4458 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
---|
| 4459 | if test "$ac_cv_search_opendir" = no; then
|
---|
| 4460 | for ac_lib in x; do
|
---|
| 4461 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 4462 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4463 | #line $LINENO "configure"
|
---|
| 4464 | /* confdefs.h. */
|
---|
| 4465 | _ACEOF
|
---|
| 4466 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4467 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4468 | /* end confdefs.h. */
|
---|
| 4469 |
|
---|
| 4470 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
| 4471 | #ifdef __cplusplus
|
---|
| 4472 | extern "C"
|
---|
| 4473 | #endif
|
---|
| 4474 | /* We use char because int might match the return type of a gcc2
|
---|
| 4475 | builtin and then its argument prototype would still apply. */
|
---|
| 4476 | char opendir ();
|
---|
| 4477 | int
|
---|
| 4478 | main ()
|
---|
| 4479 | {
|
---|
| 4480 | opendir ();
|
---|
| 4481 | ;
|
---|
| 4482 | return 0;
|
---|
| 4483 | }
|
---|
| 4484 | _ACEOF
|
---|
| 4485 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 4486 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 4487 | (eval $ac_link) 2>&5
|
---|
| 4488 | ac_status=$?
|
---|
| 4489 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4490 | (exit $ac_status); } &&
|
---|
| 4491 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 4492 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4493 | (eval $ac_try) 2>&5
|
---|
| 4494 | ac_status=$?
|
---|
| 4495 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4496 | (exit $ac_status); }; }; then
|
---|
| 4497 | ac_cv_search_opendir="-l$ac_lib"
|
---|
| 4498 | break
|
---|
| 4499 | else
|
---|
| 4500 | echo "$as_me: failed program was:" >&5
|
---|
| 4501 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4502 |
|
---|
| 4503 | fi
|
---|
| 4504 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
---|
| 4505 | done
|
---|
| 4506 | fi
|
---|
| 4507 | LIBS=$ac_func_search_save_LIBS
|
---|
| 4508 | fi
|
---|
| 4509 | echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
|
---|
| 4510 | echo "${ECHO_T}$ac_cv_search_opendir" >&6
|
---|
| 4511 | if test "$ac_cv_search_opendir" != no; then
|
---|
| 4512 | test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
|
---|
| 4513 |
|
---|
| 4514 | fi
|
---|
| 4515 |
|
---|
| 4516 | fi
|
---|
| 4517 |
|
---|
| 4518 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
---|
| 4519 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
|
---|
| 4520 | if test "${ac_cv_header_stdc+set}" = set; then
|
---|
| 4521 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4522 | else
|
---|
| 4523 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4524 | #line $LINENO "configure"
|
---|
| 4525 | /* confdefs.h. */
|
---|
| 4526 | _ACEOF
|
---|
| 4527 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4528 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4529 | /* end confdefs.h. */
|
---|
| 4530 | #include <stdlib.h>
|
---|
| 4531 | #include <stdarg.h>
|
---|
| 4532 | #include <string.h>
|
---|
| 4533 | #include <float.h>
|
---|
| 4534 |
|
---|
| 4535 | int
|
---|
| 4536 | main ()
|
---|
| 4537 | {
|
---|
| 4538 |
|
---|
| 4539 | ;
|
---|
| 4540 | return 0;
|
---|
| 4541 | }
|
---|
| 4542 | _ACEOF
|
---|
| 4543 | rm -f conftest.$ac_objext
|
---|
| 4544 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 4545 | (eval $ac_compile) 2>&5
|
---|
| 4546 | ac_status=$?
|
---|
| 4547 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4548 | (exit $ac_status); } &&
|
---|
| 4549 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 4550 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4551 | (eval $ac_try) 2>&5
|
---|
| 4552 | ac_status=$?
|
---|
| 4553 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4554 | (exit $ac_status); }; }; then
|
---|
| 4555 | ac_cv_header_stdc=yes
|
---|
| 4556 | else
|
---|
| 4557 | echo "$as_me: failed program was:" >&5
|
---|
| 4558 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4559 |
|
---|
| 4560 | ac_cv_header_stdc=no
|
---|
| 4561 | fi
|
---|
| 4562 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 4563 |
|
---|
| 4564 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4565 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
| 4566 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4567 | #line $LINENO "configure"
|
---|
| 4568 | /* confdefs.h. */
|
---|
| 4569 | _ACEOF
|
---|
| 4570 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4571 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4572 | /* end confdefs.h. */
|
---|
| 4573 | #include <string.h>
|
---|
| 4574 |
|
---|
| 4575 | _ACEOF
|
---|
| 4576 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 4577 | $EGREP "memchr" >/dev/null 2>&1; then
|
---|
| 4578 | :
|
---|
| 4579 | else
|
---|
| 4580 | ac_cv_header_stdc=no
|
---|
| 4581 | fi
|
---|
| 4582 | rm -f conftest*
|
---|
| 4583 |
|
---|
| 4584 | fi
|
---|
| 4585 |
|
---|
| 4586 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4587 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
| 4588 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4589 | #line $LINENO "configure"
|
---|
| 4590 | /* confdefs.h. */
|
---|
| 4591 | _ACEOF
|
---|
| 4592 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4593 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4594 | /* end confdefs.h. */
|
---|
| 4595 | #include <stdlib.h>
|
---|
| 4596 |
|
---|
| 4597 | _ACEOF
|
---|
| 4598 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 4599 | $EGREP "free" >/dev/null 2>&1; then
|
---|
| 4600 | :
|
---|
| 4601 | else
|
---|
| 4602 | ac_cv_header_stdc=no
|
---|
| 4603 | fi
|
---|
| 4604 | rm -f conftest*
|
---|
| 4605 |
|
---|
| 4606 | fi
|
---|
| 4607 |
|
---|
| 4608 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4609 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
| 4610 | if test "$cross_compiling" = yes; then
|
---|
| 4611 | :
|
---|
| 4612 | else
|
---|
| 4613 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4614 | #line $LINENO "configure"
|
---|
| 4615 | /* confdefs.h. */
|
---|
| 4616 | _ACEOF
|
---|
| 4617 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4618 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4619 | /* end confdefs.h. */
|
---|
| 4620 | #include <ctype.h>
|
---|
| 4621 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 4622 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 4623 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 4624 | #else
|
---|
| 4625 | # define ISLOWER(c) \
|
---|
| 4626 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 4627 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 4628 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 4629 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 4630 | #endif
|
---|
| 4631 |
|
---|
| 4632 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
| 4633 | int
|
---|
| 4634 | main ()
|
---|
| 4635 | {
|
---|
| 4636 | int i;
|
---|
| 4637 | for (i = 0; i < 256; i++)
|
---|
| 4638 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 4639 | || toupper (i) != TOUPPER (i))
|
---|
| 4640 | exit(2);
|
---|
| 4641 | exit (0);
|
---|
| 4642 | }
|
---|
| 4643 | _ACEOF
|
---|
| 4644 | rm -f conftest$ac_exeext
|
---|
| 4645 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 4646 | (eval $ac_link) 2>&5
|
---|
| 4647 | ac_status=$?
|
---|
| 4648 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4649 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
---|
| 4650 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4651 | (eval $ac_try) 2>&5
|
---|
| 4652 | ac_status=$?
|
---|
| 4653 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4654 | (exit $ac_status); }; }; then
|
---|
| 4655 | :
|
---|
| 4656 | else
|
---|
| 4657 | echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 4658 | echo "$as_me: failed program was:" >&5
|
---|
| 4659 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4660 |
|
---|
| 4661 | ( exit $ac_status )
|
---|
| 4662 | ac_cv_header_stdc=no
|
---|
| 4663 | fi
|
---|
| 4664 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
---|
| 4665 | fi
|
---|
| 4666 | fi
|
---|
| 4667 | fi
|
---|
| 4668 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
---|
| 4669 | echo "${ECHO_T}$ac_cv_header_stdc" >&6
|
---|
| 4670 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4671 |
|
---|
| 4672 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4673 | #define STDC_HEADERS 1
|
---|
| 4674 | _ACEOF
|
---|
| 4675 |
|
---|
| 4676 | fi
|
---|
| 4677 |
|
---|
| 4678 |
|
---|
| 4679 |
|
---|
| 4680 |
|
---|
| 4681 |
|
---|
| 4682 |
|
---|
| 4683 |
|
---|
| 4684 |
|
---|
| 4685 |
|
---|
| 4686 | for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h
|
---|
| 4687 | do
|
---|
| 4688 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
| 4689 | if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
---|
| 4690 | echo "$as_me:$LINENO: checking for $ac_header" >&5
|
---|
| 4691 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
---|
| 4692 | if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
---|
| 4693 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4694 | fi
|
---|
| 4695 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
---|
| 4696 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
---|
| 4697 | else
|
---|
| 4698 | # Is the header compilable?
|
---|
| 4699 | echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
---|
| 4700 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
---|
| 4701 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4702 | #line $LINENO "configure"
|
---|
| 4703 | /* confdefs.h. */
|
---|
| 4704 | _ACEOF
|
---|
| 4705 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4706 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4707 | /* end confdefs.h. */
|
---|
| 4708 | $ac_includes_default
|
---|
| 4709 | #include <$ac_header>
|
---|
| 4710 | _ACEOF
|
---|
| 4711 | rm -f conftest.$ac_objext
|
---|
| 4712 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 4713 | (eval $ac_compile) 2>&5
|
---|
| 4714 | ac_status=$?
|
---|
| 4715 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4716 | (exit $ac_status); } &&
|
---|
| 4717 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 4718 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4719 | (eval $ac_try) 2>&5
|
---|
| 4720 | ac_status=$?
|
---|
| 4721 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4722 | (exit $ac_status); }; }; then
|
---|
| 4723 | ac_header_compiler=yes
|
---|
| 4724 | else
|
---|
| 4725 | echo "$as_me: failed program was:" >&5
|
---|
| 4726 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4727 |
|
---|
| 4728 | ac_header_compiler=no
|
---|
| 4729 | fi
|
---|
| 4730 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 4731 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
---|
| 4732 | echo "${ECHO_T}$ac_header_compiler" >&6
|
---|
| 4733 |
|
---|
| 4734 | # Is the header present?
|
---|
| 4735 | echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
---|
| 4736 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
---|
| 4737 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4738 | #line $LINENO "configure"
|
---|
| 4739 | /* confdefs.h. */
|
---|
| 4740 | _ACEOF
|
---|
| 4741 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4742 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4743 | /* end confdefs.h. */
|
---|
| 4744 | #include <$ac_header>
|
---|
| 4745 | _ACEOF
|
---|
| 4746 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
---|
| 4747 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
---|
| 4748 | ac_status=$?
|
---|
| 4749 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4750 | rm -f conftest.er1
|
---|
| 4751 | cat conftest.err >&5
|
---|
| 4752 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4753 | (exit $ac_status); } >/dev/null; then
|
---|
| 4754 | if test -s conftest.err; then
|
---|
| 4755 | ac_cpp_err=$ac_c_preproc_warn_flag
|
---|
| 4756 | else
|
---|
| 4757 | ac_cpp_err=
|
---|
| 4758 | fi
|
---|
| 4759 | else
|
---|
| 4760 | ac_cpp_err=yes
|
---|
| 4761 | fi
|
---|
| 4762 | if test -z "$ac_cpp_err"; then
|
---|
| 4763 | ac_header_preproc=yes
|
---|
| 4764 | else
|
---|
| 4765 | echo "$as_me: failed program was:" >&5
|
---|
| 4766 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4767 |
|
---|
| 4768 | ac_header_preproc=no
|
---|
| 4769 | fi
|
---|
| 4770 | rm -f conftest.err conftest.$ac_ext
|
---|
| 4771 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
---|
| 4772 | echo "${ECHO_T}$ac_header_preproc" >&6
|
---|
| 4773 |
|
---|
| 4774 | # So? What about this header?
|
---|
| 4775 | case $ac_header_compiler:$ac_header_preproc in
|
---|
| 4776 | yes:no )
|
---|
| 4777 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
---|
| 4778 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
---|
| 4779 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
---|
| 4780 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
---|
| 4781 | (
|
---|
| 4782 | cat <<\_ASBOX
|
---|
| 4783 | ## ------------------------------------ ##
|
---|
| 4784 | ## Report this to [email protected]. ##
|
---|
| 4785 | ## ------------------------------------ ##
|
---|
| 4786 | _ASBOX
|
---|
| 4787 | ) |
|
---|
| 4788 | sed "s/^/$as_me: WARNING: /" >&2
|
---|
| 4789 | ;;
|
---|
| 4790 | no:yes )
|
---|
| 4791 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
---|
| 4792 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
---|
| 4793 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
---|
| 4794 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
---|
| 4795 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
---|
| 4796 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
---|
| 4797 | (
|
---|
| 4798 | cat <<\_ASBOX
|
---|
| 4799 | ## ------------------------------------ ##
|
---|
| 4800 | ## Report this to [email protected]. ##
|
---|
| 4801 | ## ------------------------------------ ##
|
---|
| 4802 | _ASBOX
|
---|
| 4803 | ) |
|
---|
| 4804 | sed "s/^/$as_me: WARNING: /" >&2
|
---|
| 4805 | ;;
|
---|
| 4806 | esac
|
---|
| 4807 | echo "$as_me:$LINENO: checking for $ac_header" >&5
|
---|
| 4808 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
---|
| 4809 | if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
---|
| 4810 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4811 | else
|
---|
| 4812 | eval "$as_ac_Header=$ac_header_preproc"
|
---|
| 4813 | fi
|
---|
| 4814 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
---|
| 4815 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
---|
| 4816 |
|
---|
| 4817 | fi
|
---|
| 4818 | if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
---|
| 4819 | cat >>confdefs.h <<_ACEOF
|
---|
| 4820 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
| 4821 | _ACEOF
|
---|
| 4822 |
|
---|
| 4823 | fi
|
---|
| 4824 |
|
---|
| 4825 | done
|
---|
| 4826 |
|
---|
| 4827 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4828 | #line $LINENO "configure"
|
---|
| 4829 | /* confdefs.h. */
|
---|
| 4830 | _ACEOF
|
---|
| 4831 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4832 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4833 | /* end confdefs.h. */
|
---|
| 4834 | #include <stdio.h>
|
---|
| 4835 |
|
---|
| 4836 | _ACEOF
|
---|
| 4837 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 4838 | $EGREP "fread" >/dev/null 2>&1; then
|
---|
| 4839 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4840 | #define HAVE_FREAD_DECL 1
|
---|
| 4841 | _ACEOF
|
---|
| 4842 |
|
---|
| 4843 | fi
|
---|
| 4844 | rm -f conftest*
|
---|
| 4845 |
|
---|
| 4846 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4847 | #line $LINENO "configure"
|
---|
| 4848 | /* confdefs.h. */
|
---|
| 4849 | _ACEOF
|
---|
| 4850 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4851 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4852 | /* end confdefs.h. */
|
---|
| 4853 | #include <stdio.h>
|
---|
| 4854 |
|
---|
| 4855 | _ACEOF
|
---|
| 4856 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 4857 | $EGREP "fgetc" >/dev/null 2>&1; then
|
---|
| 4858 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4859 | #define HAVE_FGETC_DECL 1
|
---|
| 4860 | _ACEOF
|
---|
| 4861 |
|
---|
| 4862 | fi
|
---|
| 4863 | rm -f conftest*
|
---|
| 4864 |
|
---|
| 4865 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4866 | #line $LINENO "configure"
|
---|
| 4867 | /* confdefs.h. */
|
---|
| 4868 | _ACEOF
|
---|
| 4869 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4870 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4871 | /* end confdefs.h. */
|
---|
| 4872 | #include <sys/procfs.h>
|
---|
| 4873 |
|
---|
| 4874 | _ACEOF
|
---|
| 4875 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 4876 | $EGREP "pr_brksize" >/dev/null 2>&1; then
|
---|
| 4877 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4878 | #define HAVE_PR_BRKSIZE 1
|
---|
| 4879 | _ACEOF
|
---|
| 4880 |
|
---|
| 4881 | fi
|
---|
| 4882 | rm -f conftest*
|
---|
| 4883 |
|
---|
| 4884 |
|
---|
| 4885 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
---|
| 4886 | # for constant arguments. Useless!
|
---|
| 4887 | echo "$as_me:$LINENO: checking for working alloca.h" >&5
|
---|
| 4888 | echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
|
---|
| 4889 | if test "${ac_cv_working_alloca_h+set}" = set; then
|
---|
| 4890 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4891 | else
|
---|
| 4892 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4893 | #line $LINENO "configure"
|
---|
| 4894 | /* confdefs.h. */
|
---|
| 4895 | _ACEOF
|
---|
| 4896 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4897 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4898 | /* end confdefs.h. */
|
---|
| 4899 | #include <alloca.h>
|
---|
| 4900 | int
|
---|
| 4901 | main ()
|
---|
| 4902 | {
|
---|
| 4903 | char *p = (char *) alloca (2 * sizeof (int));
|
---|
| 4904 | ;
|
---|
| 4905 | return 0;
|
---|
| 4906 | }
|
---|
| 4907 | _ACEOF
|
---|
| 4908 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 4909 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 4910 | (eval $ac_link) 2>&5
|
---|
| 4911 | ac_status=$?
|
---|
| 4912 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4913 | (exit $ac_status); } &&
|
---|
| 4914 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 4915 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4916 | (eval $ac_try) 2>&5
|
---|
| 4917 | ac_status=$?
|
---|
| 4918 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4919 | (exit $ac_status); }; }; then
|
---|
| 4920 | ac_cv_working_alloca_h=yes
|
---|
| 4921 | else
|
---|
| 4922 | echo "$as_me: failed program was:" >&5
|
---|
| 4923 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4924 |
|
---|
| 4925 | ac_cv_working_alloca_h=no
|
---|
| 4926 | fi
|
---|
| 4927 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
---|
| 4928 | fi
|
---|
| 4929 | echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
|
---|
| 4930 | echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
|
---|
| 4931 | if test $ac_cv_working_alloca_h = yes; then
|
---|
| 4932 |
|
---|
| 4933 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4934 | #define HAVE_ALLOCA_H 1
|
---|
| 4935 | _ACEOF
|
---|
| 4936 |
|
---|
| 4937 | fi
|
---|
| 4938 |
|
---|
| 4939 | echo "$as_me:$LINENO: checking for alloca" >&5
|
---|
| 4940 | echo $ECHO_N "checking for alloca... $ECHO_C" >&6
|
---|
| 4941 | if test "${ac_cv_func_alloca_works+set}" = set; then
|
---|
| 4942 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4943 | else
|
---|
| 4944 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4945 | #line $LINENO "configure"
|
---|
| 4946 | /* confdefs.h. */
|
---|
| 4947 | _ACEOF
|
---|
| 4948 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4949 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4950 | /* end confdefs.h. */
|
---|
| 4951 | #ifdef __GNUC__
|
---|
| 4952 | # define alloca __builtin_alloca
|
---|
| 4953 | #else
|
---|
| 4954 | # ifdef _MSC_VER
|
---|
| 4955 | # include <malloc.h>
|
---|
| 4956 | # define alloca _alloca
|
---|
| 4957 | # else
|
---|
| 4958 | # if HAVE_ALLOCA_H
|
---|
| 4959 | # include <alloca.h>
|
---|
| 4960 | # else
|
---|
| 4961 | # ifdef _AIX
|
---|
| 4962 | #pragma alloca
|
---|
| 4963 | # else
|
---|
| 4964 | # ifndef alloca /* predefined by HP cc +Olibcalls */
|
---|
| 4965 | char *alloca ();
|
---|
| 4966 | # endif
|
---|
| 4967 | # endif
|
---|
| 4968 | # endif
|
---|
| 4969 | # endif
|
---|
| 4970 | #endif
|
---|
| 4971 |
|
---|
| 4972 | int
|
---|
| 4973 | main ()
|
---|
| 4974 | {
|
---|
| 4975 | char *p = (char *) alloca (1);
|
---|
| 4976 | ;
|
---|
| 4977 | return 0;
|
---|
| 4978 | }
|
---|
| 4979 | _ACEOF
|
---|
| 4980 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 4981 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 4982 | (eval $ac_link) 2>&5
|
---|
| 4983 | ac_status=$?
|
---|
| 4984 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4985 | (exit $ac_status); } &&
|
---|
| 4986 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 4987 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 4988 | (eval $ac_try) 2>&5
|
---|
| 4989 | ac_status=$?
|
---|
| 4990 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4991 | (exit $ac_status); }; }; then
|
---|
| 4992 | ac_cv_func_alloca_works=yes
|
---|
| 4993 | else
|
---|
| 4994 | echo "$as_me: failed program was:" >&5
|
---|
| 4995 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4996 |
|
---|
| 4997 | ac_cv_func_alloca_works=no
|
---|
| 4998 | fi
|
---|
| 4999 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
---|
| 5000 | fi
|
---|
| 5001 | echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
|
---|
| 5002 | echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
|
---|
| 5003 |
|
---|
| 5004 | if test $ac_cv_func_alloca_works = yes; then
|
---|
| 5005 |
|
---|
| 5006 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5007 | #define HAVE_ALLOCA 1
|
---|
| 5008 | _ACEOF
|
---|
| 5009 |
|
---|
| 5010 | else
|
---|
| 5011 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions
|
---|
| 5012 | # that cause trouble. Some versions do not even contain alloca or
|
---|
| 5013 | # contain a buggy version. If you still want to use their alloca,
|
---|
| 5014 | # use ar to extract alloca.o from them instead of compiling alloca.c.
|
---|
| 5015 |
|
---|
| 5016 | ALLOCA=alloca.$ac_objext
|
---|
| 5017 |
|
---|
| 5018 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5019 | #define C_ALLOCA 1
|
---|
| 5020 | _ACEOF
|
---|
| 5021 |
|
---|
| 5022 |
|
---|
| 5023 | echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
|
---|
| 5024 | echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
|
---|
| 5025 | if test "${ac_cv_os_cray+set}" = set; then
|
---|
| 5026 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 5027 | else
|
---|
| 5028 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5029 | #line $LINENO "configure"
|
---|
| 5030 | /* confdefs.h. */
|
---|
| 5031 | _ACEOF
|
---|
| 5032 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5033 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5034 | /* end confdefs.h. */
|
---|
| 5035 | #if defined(CRAY) && ! defined(CRAY2)
|
---|
| 5036 | webecray
|
---|
| 5037 | #else
|
---|
| 5038 | wenotbecray
|
---|
| 5039 | #endif
|
---|
| 5040 |
|
---|
| 5041 | _ACEOF
|
---|
| 5042 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 5043 | $EGREP "webecray" >/dev/null 2>&1; then
|
---|
| 5044 | ac_cv_os_cray=yes
|
---|
| 5045 | else
|
---|
| 5046 | ac_cv_os_cray=no
|
---|
| 5047 | fi
|
---|
| 5048 | rm -f conftest*
|
---|
| 5049 |
|
---|
| 5050 | fi
|
---|
| 5051 | echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
|
---|
| 5052 | echo "${ECHO_T}$ac_cv_os_cray" >&6
|
---|
| 5053 | if test $ac_cv_os_cray = yes; then
|
---|
| 5054 | for ac_func in _getb67 GETB67 getb67; do
|
---|
| 5055 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
| 5056 | echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 5057 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
---|
| 5058 | if eval "test \"\${$as_ac_var+set}\" = set"; then
|
---|
| 5059 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 5060 | else
|
---|
| 5061 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5062 | #line $LINENO "configure"
|
---|
| 5063 | /* confdefs.h. */
|
---|
| 5064 | _ACEOF
|
---|
| 5065 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5066 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5067 | /* end confdefs.h. */
|
---|
| 5068 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 5069 | which can conflict with char $ac_func (); below.
|
---|
| 5070 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 5071 | <limits.h> exists even on freestanding compilers. */
|
---|
| 5072 | #ifdef __STDC__
|
---|
| 5073 | # include <limits.h>
|
---|
| 5074 | #else
|
---|
| 5075 | # include <assert.h>
|
---|
| 5076 | #endif
|
---|
| 5077 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
| 5078 | #ifdef __cplusplus
|
---|
| 5079 | extern "C"
|
---|
| 5080 | {
|
---|
| 5081 | #endif
|
---|
| 5082 | /* We use char because int might match the return type of a gcc2
|
---|
| 5083 | builtin and then its argument prototype would still apply. */
|
---|
| 5084 | char $ac_func ();
|
---|
| 5085 | /* The GNU C library defines this for functions which it implements
|
---|
| 5086 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 5087 | something starting with __ and the normal name is an alias. */
|
---|
| 5088 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
---|
| 5089 | choke me
|
---|
| 5090 | #else
|
---|
| 5091 | char (*f) () = $ac_func;
|
---|
| 5092 | #endif
|
---|
| 5093 | #ifdef __cplusplus
|
---|
| 5094 | }
|
---|
| 5095 | #endif
|
---|
| 5096 |
|
---|
| 5097 | int
|
---|
| 5098 | main ()
|
---|
| 5099 | {
|
---|
| 5100 | return f != $ac_func;
|
---|
| 5101 | ;
|
---|
| 5102 | return 0;
|
---|
| 5103 | }
|
---|
| 5104 | _ACEOF
|
---|
| 5105 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 5106 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 5107 | (eval $ac_link) 2>&5
|
---|
| 5108 | ac_status=$?
|
---|
| 5109 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5110 | (exit $ac_status); } &&
|
---|
| 5111 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 5112 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5113 | (eval $ac_try) 2>&5
|
---|
| 5114 | ac_status=$?
|
---|
| 5115 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5116 | (exit $ac_status); }; }; then
|
---|
| 5117 | eval "$as_ac_var=yes"
|
---|
| 5118 | else
|
---|
| 5119 | echo "$as_me: failed program was:" >&5
|
---|
| 5120 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5121 |
|
---|
| 5122 | eval "$as_ac_var=no"
|
---|
| 5123 | fi
|
---|
| 5124 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
---|
| 5125 | fi
|
---|
| 5126 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
---|
| 5127 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
---|
| 5128 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
---|
| 5129 |
|
---|
| 5130 | cat >>confdefs.h <<_ACEOF
|
---|
| 5131 | #define CRAY_STACKSEG_END $ac_func
|
---|
| 5132 | _ACEOF
|
---|
| 5133 |
|
---|
| 5134 | break
|
---|
| 5135 | fi
|
---|
| 5136 |
|
---|
| 5137 | done
|
---|
| 5138 | fi
|
---|
| 5139 |
|
---|
| 5140 | echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
|
---|
| 5141 | echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
|
---|
| 5142 | if test "${ac_cv_c_stack_direction+set}" = set; then
|
---|
| 5143 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 5144 | else
|
---|
| 5145 | if test "$cross_compiling" = yes; then
|
---|
| 5146 | ac_cv_c_stack_direction=0
|
---|
| 5147 | else
|
---|
| 5148 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5149 | #line $LINENO "configure"
|
---|
| 5150 | /* confdefs.h. */
|
---|
| 5151 | _ACEOF
|
---|
| 5152 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5153 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5154 | /* end confdefs.h. */
|
---|
| 5155 | int
|
---|
| 5156 | find_stack_direction ()
|
---|
| 5157 | {
|
---|
| 5158 | static char *addr = 0;
|
---|
| 5159 | auto char dummy;
|
---|
| 5160 | if (addr == 0)
|
---|
| 5161 | {
|
---|
| 5162 | addr = &dummy;
|
---|
| 5163 | return find_stack_direction ();
|
---|
| 5164 | }
|
---|
| 5165 | else
|
---|
| 5166 | return (&dummy > addr) ? 1 : -1;
|
---|
| 5167 | }
|
---|
| 5168 |
|
---|
| 5169 | int
|
---|
| 5170 | main ()
|
---|
| 5171 | {
|
---|
| 5172 | exit (find_stack_direction () < 0);
|
---|
| 5173 | }
|
---|
| 5174 | _ACEOF
|
---|
| 5175 | rm -f conftest$ac_exeext
|
---|
| 5176 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 5177 | (eval $ac_link) 2>&5
|
---|
| 5178 | ac_status=$?
|
---|
| 5179 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5180 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
---|
| 5181 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5182 | (eval $ac_try) 2>&5
|
---|
| 5183 | ac_status=$?
|
---|
| 5184 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5185 | (exit $ac_status); }; }; then
|
---|
| 5186 | ac_cv_c_stack_direction=1
|
---|
| 5187 | else
|
---|
| 5188 | echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 5189 | echo "$as_me: failed program was:" >&5
|
---|
| 5190 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5191 |
|
---|
| 5192 | ( exit $ac_status )
|
---|
| 5193 | ac_cv_c_stack_direction=-1
|
---|
| 5194 | fi
|
---|
| 5195 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
---|
| 5196 | fi
|
---|
| 5197 | fi
|
---|
| 5198 | echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
|
---|
| 5199 | echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
|
---|
| 5200 |
|
---|
| 5201 | cat >>confdefs.h <<_ACEOF
|
---|
| 5202 | #define STACK_DIRECTION $ac_cv_c_stack_direction
|
---|
| 5203 | _ACEOF
|
---|
| 5204 |
|
---|
| 5205 |
|
---|
| 5206 | fi
|
---|
| 5207 |
|
---|
| 5208 | if test $ac_cv_c_compiler_gnu = yes; then
|
---|
| 5209 | echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
|
---|
| 5210 | echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
|
---|
| 5211 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then
|
---|
| 5212 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 5213 | else
|
---|
| 5214 | ac_pattern="Autoconf.*'x'"
|
---|
| 5215 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5216 | #line $LINENO "configure"
|
---|
| 5217 | /* confdefs.h. */
|
---|
| 5218 | _ACEOF
|
---|
| 5219 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5220 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5221 | /* end confdefs.h. */
|
---|
| 5222 | #include <sgtty.h>
|
---|
| 5223 | Autoconf TIOCGETP
|
---|
| 5224 | _ACEOF
|
---|
| 5225 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 5226 | $EGREP "$ac_pattern" >/dev/null 2>&1; then
|
---|
| 5227 | ac_cv_prog_gcc_traditional=yes
|
---|
| 5228 | else
|
---|
| 5229 | ac_cv_prog_gcc_traditional=no
|
---|
| 5230 | fi
|
---|
| 5231 | rm -f conftest*
|
---|
| 5232 |
|
---|
| 5233 |
|
---|
| 5234 | if test $ac_cv_prog_gcc_traditional = no; then
|
---|
| 5235 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5236 | #line $LINENO "configure"
|
---|
| 5237 | /* confdefs.h. */
|
---|
| 5238 | _ACEOF
|
---|
| 5239 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5240 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5241 | /* end confdefs.h. */
|
---|
| 5242 | #include <termio.h>
|
---|
| 5243 | Autoconf TCGETA
|
---|
| 5244 | _ACEOF
|
---|
| 5245 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 5246 | $EGREP "$ac_pattern" >/dev/null 2>&1; then
|
---|
| 5247 | ac_cv_prog_gcc_traditional=yes
|
---|
| 5248 | fi
|
---|
| 5249 | rm -f conftest*
|
---|
| 5250 |
|
---|
| 5251 | fi
|
---|
| 5252 | fi
|
---|
| 5253 | echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
|
---|
| 5254 | echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
|
---|
| 5255 | if test $ac_cv_prog_gcc_traditional = yes; then
|
---|
| 5256 | CC="$CC -traditional"
|
---|
| 5257 | fi
|
---|
| 5258 | fi
|
---|
| 5259 |
|
---|
| 5260 | echo "$as_me:$LINENO: checking return type of signal handlers" >&5
|
---|
| 5261 | echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
|
---|
| 5262 | if test "${ac_cv_type_signal+set}" = set; then
|
---|
| 5263 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 5264 | else
|
---|
| 5265 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5266 | #line $LINENO "configure"
|
---|
| 5267 | /* confdefs.h. */
|
---|
| 5268 | _ACEOF
|
---|
| 5269 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5270 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5271 | /* end confdefs.h. */
|
---|
| 5272 | #include <sys/types.h>
|
---|
| 5273 | #include <signal.h>
|
---|
| 5274 | #ifdef signal
|
---|
| 5275 | # undef signal
|
---|
| 5276 | #endif
|
---|
| 5277 | #ifdef __cplusplus
|
---|
| 5278 | extern "C" void (*signal (int, void (*)(int)))(int);
|
---|
| 5279 | #else
|
---|
| 5280 | void (*signal ()) ();
|
---|
| 5281 | #endif
|
---|
| 5282 |
|
---|
| 5283 | int
|
---|
| 5284 | main ()
|
---|
| 5285 | {
|
---|
| 5286 | int i;
|
---|
| 5287 | ;
|
---|
| 5288 | return 0;
|
---|
| 5289 | }
|
---|
| 5290 | _ACEOF
|
---|
| 5291 | rm -f conftest.$ac_objext
|
---|
| 5292 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 5293 | (eval $ac_compile) 2>&5
|
---|
| 5294 | ac_status=$?
|
---|
| 5295 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5296 | (exit $ac_status); } &&
|
---|
| 5297 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 5298 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5299 | (eval $ac_try) 2>&5
|
---|
| 5300 | ac_status=$?
|
---|
| 5301 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5302 | (exit $ac_status); }; }; then
|
---|
| 5303 | ac_cv_type_signal=void
|
---|
| 5304 | else
|
---|
| 5305 | echo "$as_me: failed program was:" >&5
|
---|
| 5306 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5307 |
|
---|
| 5308 | ac_cv_type_signal=int
|
---|
| 5309 | fi
|
---|
| 5310 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 5311 | fi
|
---|
| 5312 | echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
|
---|
| 5313 | echo "${ECHO_T}$ac_cv_type_signal" >&6
|
---|
| 5314 |
|
---|
| 5315 | cat >>confdefs.h <<_ACEOF
|
---|
| 5316 | #define RETSIGTYPE $ac_cv_type_signal
|
---|
| 5317 | _ACEOF
|
---|
| 5318 |
|
---|
| 5319 |
|
---|
| 5320 |
|
---|
| 5321 | for ac_func in vprintf
|
---|
| 5322 | do
|
---|
| 5323 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
| 5324 | echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 5325 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
---|
| 5326 | if eval "test \"\${$as_ac_var+set}\" = set"; then
|
---|
| 5327 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 5328 | else
|
---|
| 5329 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5330 | #line $LINENO "configure"
|
---|
| 5331 | /* confdefs.h. */
|
---|
| 5332 | _ACEOF
|
---|
| 5333 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5334 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5335 | /* end confdefs.h. */
|
---|
| 5336 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 5337 | which can conflict with char $ac_func (); below.
|
---|
| 5338 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 5339 | <limits.h> exists even on freestanding compilers. */
|
---|
| 5340 | #ifdef __STDC__
|
---|
| 5341 | # include <limits.h>
|
---|
| 5342 | #else
|
---|
| 5343 | # include <assert.h>
|
---|
| 5344 | #endif
|
---|
| 5345 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
| 5346 | #ifdef __cplusplus
|
---|
| 5347 | extern "C"
|
---|
| 5348 | {
|
---|
| 5349 | #endif
|
---|
| 5350 | /* We use char because int might match the return type of a gcc2
|
---|
| 5351 | builtin and then its argument prototype would still apply. */
|
---|
| 5352 | char $ac_func ();
|
---|
| 5353 | /* The GNU C library defines this for functions which it implements
|
---|
| 5354 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 5355 | something starting with __ and the normal name is an alias. */
|
---|
| 5356 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
---|
| 5357 | choke me
|
---|
| 5358 | #else
|
---|
| 5359 | char (*f) () = $ac_func;
|
---|
| 5360 | #endif
|
---|
| 5361 | #ifdef __cplusplus
|
---|
| 5362 | }
|
---|
| 5363 | #endif
|
---|
| 5364 |
|
---|
| 5365 | int
|
---|
| 5366 | main ()
|
---|
| 5367 | {
|
---|
| 5368 | return f != $ac_func;
|
---|
| 5369 | ;
|
---|
| 5370 | return 0;
|
---|
| 5371 | }
|
---|
| 5372 | _ACEOF
|
---|
| 5373 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 5374 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 5375 | (eval $ac_link) 2>&5
|
---|
| 5376 | ac_status=$?
|
---|
| 5377 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5378 | (exit $ac_status); } &&
|
---|
| 5379 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 5380 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5381 | (eval $ac_try) 2>&5
|
---|
| 5382 | ac_status=$?
|
---|
| 5383 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5384 | (exit $ac_status); }; }; then
|
---|
| 5385 | eval "$as_ac_var=yes"
|
---|
| 5386 | else
|
---|
| 5387 | echo "$as_me: failed program was:" >&5
|
---|
| 5388 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5389 |
|
---|
| 5390 | eval "$as_ac_var=no"
|
---|
| 5391 | fi
|
---|
| 5392 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
---|
| 5393 | fi
|
---|
| 5394 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
---|
| 5395 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
---|
| 5396 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
---|
| 5397 | cat >>confdefs.h <<_ACEOF
|
---|
| 5398 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
| 5399 | _ACEOF
|
---|
| 5400 |
|
---|
| 5401 | echo "$as_me:$LINENO: checking for _doprnt" >&5
|
---|
| 5402 | echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
|
---|
| 5403 | if test "${ac_cv_func__doprnt+set}" = set; then
|
---|
| 5404 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 5405 | else
|
---|
| 5406 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5407 | #line $LINENO "configure"
|
---|
| 5408 | /* confdefs.h. */
|
---|
| 5409 | _ACEOF
|
---|
| 5410 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5411 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5412 | /* end confdefs.h. */
|
---|
| 5413 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 5414 | which can conflict with char _doprnt (); below.
|
---|
| 5415 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 5416 | <limits.h> exists even on freestanding compilers. */
|
---|
| 5417 | #ifdef __STDC__
|
---|
| 5418 | # include <limits.h>
|
---|
| 5419 | #else
|
---|
| 5420 | # include <assert.h>
|
---|
| 5421 | #endif
|
---|
| 5422 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
| 5423 | #ifdef __cplusplus
|
---|
| 5424 | extern "C"
|
---|
| 5425 | {
|
---|
| 5426 | #endif
|
---|
| 5427 | /* We use char because int might match the return type of a gcc2
|
---|
| 5428 | builtin and then its argument prototype would still apply. */
|
---|
| 5429 | char _doprnt ();
|
---|
| 5430 | /* The GNU C library defines this for functions which it implements
|
---|
| 5431 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 5432 | something starting with __ and the normal name is an alias. */
|
---|
| 5433 | #if defined (__stub__doprnt) || defined (__stub____doprnt)
|
---|
| 5434 | choke me
|
---|
| 5435 | #else
|
---|
| 5436 | char (*f) () = _doprnt;
|
---|
| 5437 | #endif
|
---|
| 5438 | #ifdef __cplusplus
|
---|
| 5439 | }
|
---|
| 5440 | #endif
|
---|
| 5441 |
|
---|
| 5442 | int
|
---|
| 5443 | main ()
|
---|
| 5444 | {
|
---|
| 5445 | return f != _doprnt;
|
---|
| 5446 | ;
|
---|
| 5447 | return 0;
|
---|
| 5448 | }
|
---|
| 5449 | _ACEOF
|
---|
| 5450 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 5451 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 5452 | (eval $ac_link) 2>&5
|
---|
| 5453 | ac_status=$?
|
---|
| 5454 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5455 | (exit $ac_status); } &&
|
---|
| 5456 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 5457 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5458 | (eval $ac_try) 2>&5
|
---|
| 5459 | ac_status=$?
|
---|
| 5460 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5461 | (exit $ac_status); }; }; then
|
---|
| 5462 | ac_cv_func__doprnt=yes
|
---|
| 5463 | else
|
---|
| 5464 | echo "$as_me: failed program was:" >&5
|
---|
| 5465 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5466 |
|
---|
| 5467 | ac_cv_func__doprnt=no
|
---|
| 5468 | fi
|
---|
| 5469 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
---|
| 5470 | fi
|
---|
| 5471 | echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
|
---|
| 5472 | echo "${ECHO_T}$ac_cv_func__doprnt" >&6
|
---|
| 5473 | if test $ac_cv_func__doprnt = yes; then
|
---|
| 5474 |
|
---|
| 5475 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5476 | #define HAVE_DOPRNT 1
|
---|
| 5477 | _ACEOF
|
---|
| 5478 |
|
---|
| 5479 | fi
|
---|
| 5480 |
|
---|
| 5481 | fi
|
---|
| 5482 | done
|
---|
| 5483 |
|
---|
| 5484 |
|
---|
| 5485 |
|
---|
| 5486 |
|
---|
| 5487 |
|
---|
| 5488 |
|
---|
| 5489 |
|
---|
| 5490 |
|
---|
| 5491 |
|
---|
| 5492 |
|
---|
| 5493 |
|
---|
| 5494 |
|
---|
| 5495 | for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror
|
---|
| 5496 | do
|
---|
| 5497 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
| 5498 | echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 5499 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
---|
| 5500 | if eval "test \"\${$as_ac_var+set}\" = set"; then
|
---|
| 5501 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 5502 | else
|
---|
| 5503 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5504 | #line $LINENO "configure"
|
---|
| 5505 | /* confdefs.h. */
|
---|
| 5506 | _ACEOF
|
---|
| 5507 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5508 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5509 | /* end confdefs.h. */
|
---|
| 5510 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 5511 | which can conflict with char $ac_func (); below.
|
---|
| 5512 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 5513 | <limits.h> exists even on freestanding compilers. */
|
---|
| 5514 | #ifdef __STDC__
|
---|
| 5515 | # include <limits.h>
|
---|
| 5516 | #else
|
---|
| 5517 | # include <assert.h>
|
---|
| 5518 | #endif
|
---|
| 5519 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
| 5520 | #ifdef __cplusplus
|
---|
| 5521 | extern "C"
|
---|
| 5522 | {
|
---|
| 5523 | #endif
|
---|
| 5524 | /* We use char because int might match the return type of a gcc2
|
---|
| 5525 | builtin and then its argument prototype would still apply. */
|
---|
| 5526 | char $ac_func ();
|
---|
| 5527 | /* The GNU C library defines this for functions which it implements
|
---|
| 5528 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 5529 | something starting with __ and the normal name is an alias. */
|
---|
| 5530 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
---|
| 5531 | choke me
|
---|
| 5532 | #else
|
---|
| 5533 | char (*f) () = $ac_func;
|
---|
| 5534 | #endif
|
---|
| 5535 | #ifdef __cplusplus
|
---|
| 5536 | }
|
---|
| 5537 | #endif
|
---|
| 5538 |
|
---|
| 5539 | int
|
---|
| 5540 | main ()
|
---|
| 5541 | {
|
---|
| 5542 | return f != $ac_func;
|
---|
| 5543 | ;
|
---|
| 5544 | return 0;
|
---|
| 5545 | }
|
---|
| 5546 | _ACEOF
|
---|
| 5547 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 5548 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 5549 | (eval $ac_link) 2>&5
|
---|
| 5550 | ac_status=$?
|
---|
| 5551 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5552 | (exit $ac_status); } &&
|
---|
| 5553 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 5554 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5555 | (eval $ac_try) 2>&5
|
---|
| 5556 | ac_status=$?
|
---|
| 5557 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5558 | (exit $ac_status); }; }; then
|
---|
| 5559 | eval "$as_ac_var=yes"
|
---|
| 5560 | else
|
---|
| 5561 | echo "$as_me: failed program was:" >&5
|
---|
| 5562 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5563 |
|
---|
| 5564 | eval "$as_ac_var=no"
|
---|
| 5565 | fi
|
---|
| 5566 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
---|
| 5567 | fi
|
---|
| 5568 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
---|
| 5569 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
---|
| 5570 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
---|
| 5571 | cat >>confdefs.h <<_ACEOF
|
---|
| 5572 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
| 5573 | _ACEOF
|
---|
| 5574 |
|
---|
| 5575 | fi
|
---|
| 5576 | done
|
---|
| 5577 |
|
---|
| 5578 |
|
---|
| 5579 |
|
---|
| 5580 |
|
---|
| 5581 | for ac_func in ftruncate strstr strcasecmp
|
---|
| 5582 | do
|
---|
| 5583 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
| 5584 | echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 5585 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
---|
| 5586 | if eval "test \"\${$as_ac_var+set}\" = set"; then
|
---|
| 5587 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 5588 | else
|
---|
| 5589 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5590 | #line $LINENO "configure"
|
---|
| 5591 | /* confdefs.h. */
|
---|
| 5592 | _ACEOF
|
---|
| 5593 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5594 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5595 | /* end confdefs.h. */
|
---|
| 5596 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 5597 | which can conflict with char $ac_func (); below.
|
---|
| 5598 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 5599 | <limits.h> exists even on freestanding compilers. */
|
---|
| 5600 | #ifdef __STDC__
|
---|
| 5601 | # include <limits.h>
|
---|
| 5602 | #else
|
---|
| 5603 | # include <assert.h>
|
---|
| 5604 | #endif
|
---|
| 5605 | /* Override any gcc2 internal prototype to avoid an error. */
|
---|
| 5606 | #ifdef __cplusplus
|
---|
| 5607 | extern "C"
|
---|
| 5608 | {
|
---|
| 5609 | #endif
|
---|
| 5610 | /* We use char because int might match the return type of a gcc2
|
---|
| 5611 | builtin and then its argument prototype would still apply. */
|
---|
| 5612 | char $ac_func ();
|
---|
| 5613 | /* The GNU C library defines this for functions which it implements
|
---|
| 5614 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 5615 | something starting with __ and the normal name is an alias. */
|
---|
| 5616 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
---|
| 5617 | choke me
|
---|
| 5618 | #else
|
---|
| 5619 | char (*f) () = $ac_func;
|
---|
| 5620 | #endif
|
---|
| 5621 | #ifdef __cplusplus
|
---|
| 5622 | }
|
---|
| 5623 | #endif
|
---|
| 5624 |
|
---|
| 5625 | int
|
---|
| 5626 | main ()
|
---|
| 5627 | {
|
---|
| 5628 | return f != $ac_func;
|
---|
| 5629 | ;
|
---|
| 5630 | return 0;
|
---|
| 5631 | }
|
---|
| 5632 | _ACEOF
|
---|
| 5633 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 5634 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 5635 | (eval $ac_link) 2>&5
|
---|
| 5636 | ac_status=$?
|
---|
| 5637 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5638 | (exit $ac_status); } &&
|
---|
| 5639 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 5640 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5641 | (eval $ac_try) 2>&5
|
---|
| 5642 | ac_status=$?
|
---|
| 5643 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5644 | (exit $ac_status); }; }; then
|
---|
| 5645 | eval "$as_ac_var=yes"
|
---|
| 5646 | else
|
---|
| 5647 | echo "$as_me: failed program was:" >&5
|
---|
| 5648 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5649 |
|
---|
| 5650 | eval "$as_ac_var=no"
|
---|
| 5651 | fi
|
---|
| 5652 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
---|
| 5653 | fi
|
---|
| 5654 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
---|
| 5655 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
---|
| 5656 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
---|
| 5657 | cat >>confdefs.h <<_ACEOF
|
---|
| 5658 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
| 5659 | _ACEOF
|
---|
| 5660 |
|
---|
| 5661 | else
|
---|
| 5662 | LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
|
---|
| 5663 | fi
|
---|
| 5664 | done
|
---|
| 5665 |
|
---|
| 5666 |
|
---|
| 5667 |
|
---|
| 5668 |
|
---|
| 5669 | fp_WITH_DMALLOC
|
---|
| 5670 | fp_WITH_REGEX
|
---|
| 5671 |
|
---|
| 5672 | # ---------------------------------------------------------------------------
|
---|
| 5673 |
|
---|
| 5674 | ac_ext=cc
|
---|
| 5675 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
| 5676 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 5677 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 5678 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
| 5679 |
|
---|
| 5680 |
|
---|
| 5681 |
|
---|
| 5682 | echo "$as_me:$LINENO: checking that the GDBM library is available" >&5
|
---|
| 5683 | echo $ECHO_N "checking that the GDBM library is available... $ECHO_C" >&6
|
---|
| 5684 | if test ! -z "$gdbmdir" ; then
|
---|
| 5685 | # look in given directory for header file
|
---|
| 5686 | if test -r $gdbmdir/include/gdbm.h ; then
|
---|
| 5687 | GDBM_INCLUDE="-I$gdbmdir/include" ;
|
---|
| 5688 | elif test -r $gdbmdir/gdbm.h ; then
|
---|
| 5689 | GDBM_INCLUDE="-I$gdbmdir" ;
|
---|
| 5690 | fi
|
---|
| 5691 |
|
---|
| 5692 | # look in given directory for library
|
---|
| 5693 | if test -r $gdbmdir/libgdbm.a ; then
|
---|
| 5694 | GDBM_LIBPATH="-L$gdbmdir" ;
|
---|
| 5695 | elif test -r $gdbmdir/lib/libgdbm.a ; then
|
---|
| 5696 | GDBM_LIBPATH="-L$gdbmdir/lib" ;
|
---|
| 5697 | elif test -r $gdbmdir/.libs/libgdbm.a ; then
|
---|
| 5698 | GDBM_LIBPATH="-L$gdbmdir/.libs" ;
|
---|
| 5699 | fi
|
---|
| 5700 |
|
---|
| 5701 | if test ! -z "$GDBM_LIBPATH" -a ! -z "$GDBM_INCLUDE" ; then
|
---|
| 5702 | echo "$as_me:$LINENO: result: $gdbmdir" >&5
|
---|
| 5703 | echo "${ECHO_T}$gdbmdir" >&6 ;
|
---|
| 5704 | else
|
---|
| 5705 | echo "$as_me:$LINENO: result: can't find gdbm.h and libgdbm.a in $gdbmdir" >&5
|
---|
| 5706 | echo "${ECHO_T}can't find gdbm.h and libgdbm.a in $gdbmdir" >&6;
|
---|
| 5707 | echo "$as_me:$LINENO: checking looking for GDBM library in default locations" >&5
|
---|
| 5708 | echo $ECHO_N "checking looking for GDBM library in default locations... $ECHO_C" >&6
|
---|
| 5709 | fi
|
---|
| 5710 | fi
|
---|
| 5711 |
|
---|
| 5712 | # look in default path and in /usr/local
|
---|
| 5713 | if test -z "$GDBM_INCLUDE" ; then
|
---|
| 5714 | # try in system directory
|
---|
| 5715 |
|
---|
| 5716 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5717 | #line $LINENO "configure"
|
---|
| 5718 | /* confdefs.h. */
|
---|
| 5719 | _ACEOF
|
---|
| 5720 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5721 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5722 | /* end confdefs.h. */
|
---|
| 5723 | #include <gdbm.h>
|
---|
| 5724 |
|
---|
| 5725 | int
|
---|
| 5726 | main ()
|
---|
| 5727 | {
|
---|
| 5728 |
|
---|
| 5729 | ;
|
---|
| 5730 | return 0;
|
---|
| 5731 | }
|
---|
| 5732 | _ACEOF
|
---|
| 5733 | rm -f conftest.$ac_objext
|
---|
| 5734 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 5735 | (eval $ac_compile) 2>&5
|
---|
| 5736 | ac_status=$?
|
---|
| 5737 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5738 | (exit $ac_status); } &&
|
---|
| 5739 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 5740 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5741 | (eval $ac_try) 2>&5
|
---|
| 5742 | ac_status=$?
|
---|
| 5743 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5744 | (exit $ac_status); }; }; then
|
---|
| 5745 | success=yes
|
---|
| 5746 | else
|
---|
| 5747 | echo "$as_me: failed program was:" >&5
|
---|
| 5748 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5749 |
|
---|
| 5750 | success=no
|
---|
| 5751 |
|
---|
| 5752 | fi
|
---|
| 5753 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 5754 |
|
---|
| 5755 | if test $success = "no"; then
|
---|
| 5756 | # last chance - look in /usr/local (eg FreeBSD)
|
---|
| 5757 | GDBM_LIBPATH=-L/usr/local/lib
|
---|
| 5758 | GDBM_INCLUDE=-I/usr/local/include
|
---|
| 5759 | ac_save_CXXFLAGS="$CXXFLAGS"
|
---|
| 5760 | ac_save_LIBS="$LIBS"
|
---|
| 5761 | CXXFLAGS="$CXXFLAGS -I/usr/local/include"
|
---|
| 5762 | LIBS="$LIBS -L/usr/local/lib -lgdbm"
|
---|
| 5763 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5764 | #line $LINENO "configure"
|
---|
| 5765 | /* confdefs.h. */
|
---|
| 5766 | _ACEOF
|
---|
| 5767 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5768 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5769 | /* end confdefs.h. */
|
---|
| 5770 | #include <gdbm.h>
|
---|
| 5771 | #include <stdio.h>
|
---|
| 5772 |
|
---|
| 5773 | int
|
---|
| 5774 | main ()
|
---|
| 5775 | {
|
---|
| 5776 | printf("%s",gdbm_version);
|
---|
| 5777 | ;
|
---|
| 5778 | return 0;
|
---|
| 5779 | }
|
---|
| 5780 | _ACEOF
|
---|
| 5781 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 5782 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 5783 | (eval $ac_link) 2>&5
|
---|
| 5784 | ac_status=$?
|
---|
| 5785 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5786 | (exit $ac_status); } &&
|
---|
| 5787 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 5788 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5789 | (eval $ac_try) 2>&5
|
---|
| 5790 | ac_status=$?
|
---|
| 5791 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5792 | (exit $ac_status); }; }; then
|
---|
| 5793 | success=/usr/local
|
---|
| 5794 | else
|
---|
| 5795 | echo "$as_me: failed program was:" >&5
|
---|
| 5796 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5797 |
|
---|
| 5798 | success=no
|
---|
| 5799 |
|
---|
| 5800 | fi
|
---|
| 5801 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
---|
| 5802 | CXXFLAGS=$ac_save_CXXFLAGS
|
---|
| 5803 | LIBS=$ac_save_LIBS
|
---|
| 5804 | fi
|
---|
| 5805 |
|
---|
| 5806 | echo "$as_me:$LINENO: result: $success" >&5
|
---|
| 5807 | echo "${ECHO_T}$success" >&6
|
---|
| 5808 | if test $success = "no"; then
|
---|
| 5809 | { { echo "$as_me:$LINENO: error: GDBM Library not available - cannot install" >&5
|
---|
| 5810 | echo "$as_me: error: GDBM Library not available - cannot install" >&2;}
|
---|
| 5811 | { (exit 1); exit 1; }; }
|
---|
| 5812 | fi
|
---|
| 5813 | fi
|
---|
| 5814 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5815 | #define HAVE_LIBGDBM 1
|
---|
| 5816 | _ACEOF
|
---|
| 5817 |
|
---|
| 5818 |
|
---|
| 5819 |
|
---|
| 5820 |
|
---|
| 5821 |
|
---|
| 5822 | echo "$as_me:$LINENO: checking \"that Perl 5 is available\"" >&5
|
---|
| 5823 | echo $ECHO_N "checking \"that Perl 5 is available\"... $ECHO_C" >&6
|
---|
| 5824 | success="no"
|
---|
| 5825 | pl_path="$PATH"
|
---|
| 5826 | IFS="${IFS= }"; pl_save_ifs="$IFS"; IFS=":"
|
---|
| 5827 | for pl_dir in $pl_path; do
|
---|
| 5828 | test -z "$pl_dir" && pl_dir=.
|
---|
| 5829 | if test -x $pl_dir/perl; then
|
---|
| 5830 | success="yes"
|
---|
| 5831 | break
|
---|
| 5832 | fi
|
---|
| 5833 | done
|
---|
| 5834 | IFS="$pl_save_ifs"
|
---|
| 5835 |
|
---|
| 5836 | if test $success = "yes"; then
|
---|
| 5837 | try=`perl configtest.pl` || try="0"
|
---|
| 5838 | try=`expr $try \> 5.000`
|
---|
| 5839 | if test $try = "1"; then
|
---|
| 5840 | echo "$as_me:$LINENO: result: \"yes\"" >&5
|
---|
| 5841 | echo "${ECHO_T}\"yes\"" >&6
|
---|
| 5842 | else
|
---|
| 5843 | success="no"
|
---|
| 5844 | fi
|
---|
| 5845 | fi
|
---|
| 5846 |
|
---|
| 5847 | if test $success = "no"; then
|
---|
| 5848 | echo "$as_me:$LINENO: result: \"no\"" >&5
|
---|
| 5849 | echo "${ECHO_T}\"no\"" >&6
|
---|
| 5850 | { { echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&5
|
---|
| 5851 | echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;}
|
---|
| 5852 | { (exit 1); exit 1; }; }
|
---|
| 5853 | fi
|
---|
| 5854 |
|
---|
| 5855 | success=no
|
---|
| 5856 | echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
|
---|
| 5857 | echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6
|
---|
| 5858 |
|
---|
| 5859 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5860 | #line $LINENO "configure"
|
---|
| 5861 | /* confdefs.h. */
|
---|
| 5862 | _ACEOF
|
---|
| 5863 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5864 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5865 | /* end confdefs.h. */
|
---|
| 5866 | #include <vector>
|
---|
| 5867 |
|
---|
| 5868 | int
|
---|
| 5869 | main ()
|
---|
| 5870 | {
|
---|
| 5871 |
|
---|
| 5872 | ;
|
---|
| 5873 | return 0;
|
---|
| 5874 | }
|
---|
| 5875 | _ACEOF
|
---|
| 5876 | rm -f conftest.$ac_objext
|
---|
| 5877 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 5878 | (eval $ac_compile) 2>&5
|
---|
| 5879 | ac_status=$?
|
---|
| 5880 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5881 | (exit $ac_status); } &&
|
---|
| 5882 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 5883 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5884 | (eval $ac_try) 2>&5
|
---|
| 5885 | ac_status=$?
|
---|
| 5886 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5887 | (exit $ac_status); }; }; then
|
---|
| 5888 | success=yes
|
---|
| 5889 | else
|
---|
| 5890 | echo "$as_me: failed program was:" >&5
|
---|
| 5891 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5892 |
|
---|
| 5893 | fi
|
---|
| 5894 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 5895 |
|
---|
| 5896 | if test $success = "no"; then
|
---|
| 5897 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5898 | #line $LINENO "configure"
|
---|
| 5899 | /* confdefs.h. */
|
---|
| 5900 | _ACEOF
|
---|
| 5901 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5902 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5903 | /* end confdefs.h. */
|
---|
| 5904 | #include <vector.h>
|
---|
| 5905 |
|
---|
| 5906 | int
|
---|
| 5907 | main ()
|
---|
| 5908 | {
|
---|
| 5909 |
|
---|
| 5910 | ;
|
---|
| 5911 | return 0;
|
---|
| 5912 | }
|
---|
| 5913 | _ACEOF
|
---|
| 5914 | rm -f conftest.$ac_objext
|
---|
| 5915 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 5916 | (eval $ac_compile) 2>&5
|
---|
| 5917 | ac_status=$?
|
---|
| 5918 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5919 | (exit $ac_status); } &&
|
---|
| 5920 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 5921 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5922 | (eval $ac_try) 2>&5
|
---|
| 5923 | ac_status=$?
|
---|
| 5924 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5925 | (exit $ac_status); }; }; then
|
---|
| 5926 | success="yes"
|
---|
| 5927 | else
|
---|
| 5928 | echo "$as_me: failed program was:" >&5
|
---|
| 5929 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5930 |
|
---|
| 5931 | fi
|
---|
| 5932 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 5933 | fi
|
---|
| 5934 |
|
---|
| 5935 | if test $success = "no"; then
|
---|
| 5936 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5937 | #line $LINENO "configure"
|
---|
| 5938 | /* confdefs.h. */
|
---|
| 5939 | _ACEOF
|
---|
| 5940 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5941 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5942 | /* end confdefs.h. */
|
---|
| 5943 | #include <ospace\\std\\vector>
|
---|
| 5944 |
|
---|
| 5945 | int
|
---|
| 5946 | main ()
|
---|
| 5947 | {
|
---|
| 5948 |
|
---|
| 5949 | ;
|
---|
| 5950 | return 0;
|
---|
| 5951 | }
|
---|
| 5952 | _ACEOF
|
---|
| 5953 | rm -f conftest.$ac_objext
|
---|
| 5954 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 5955 | (eval $ac_compile) 2>&5
|
---|
| 5956 | ac_status=$?
|
---|
| 5957 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5958 | (exit $ac_status); } &&
|
---|
| 5959 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 5960 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 5961 | (eval $ac_try) 2>&5
|
---|
| 5962 | ac_status=$?
|
---|
| 5963 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5964 | (exit $ac_status); }; }; then
|
---|
| 5965 | success="yes"
|
---|
| 5966 | else
|
---|
| 5967 | echo "$as_me: failed program was:" >&5
|
---|
| 5968 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5969 |
|
---|
| 5970 | fi
|
---|
| 5971 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 5972 | fi
|
---|
| 5973 |
|
---|
| 5974 | if test $success = yes; then
|
---|
| 5975 | echo "$as_me:$LINENO: result: \"no\"" >&5
|
---|
| 5976 | echo "${ECHO_T}\"no\"" >&6
|
---|
| 5977 | else
|
---|
| 5978 | echo "$as_me:$LINENO: result: \"yes\"" >&5
|
---|
| 5979 | echo "${ECHO_T}\"yes\"" >&6
|
---|
| 5980 | { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5
|
---|
| 5981 | echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}
|
---|
| 5982 | { (exit 1); exit 1; }; }
|
---|
| 5983 | fi
|
---|
| 5984 |
|
---|
| 5985 | gsdlos=`uname | tr A-Z a-z`
|
---|
| 5986 |
|
---|
| 5987 |
|
---|
| 5988 | fp_WITH_DMALLOC
|
---|
| 5989 | fp_WITH_REGEX
|
---|
| 5990 |
|
---|
| 5991 | # ---------------------------------------------------------------------------
|
---|
| 5992 |
|
---|
| 5993 | ac_config_files="$ac_config_files Makefile"
|
---|
| 5994 | cat >confcache <<\_ACEOF
|
---|
| 5995 | # This file is a shell script that caches the results of configure
|
---|
| 5996 | # tests run on this system so they can be shared between configure
|
---|
| 5997 | # scripts and configure runs, see configure's option --config-cache.
|
---|
| 5998 | # It is not useful on other systems. If it contains results you don't
|
---|
| 5999 | # want to keep, you may remove or edit it.
|
---|
| 6000 | #
|
---|
| 6001 | # config.status only pays attention to the cache file if you give it
|
---|
| 6002 | # the --recheck option to rerun configure.
|
---|
| 6003 | #
|
---|
| 6004 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
---|
| 6005 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
---|
| 6006 | # following values.
|
---|
| 6007 |
|
---|
| 6008 | _ACEOF
|
---|
| 6009 |
|
---|
| 6010 | # The following way of writing the cache mishandles newlines in values,
|
---|
| 6011 | # but we know of no workaround that is simple, portable, and efficient.
|
---|
| 6012 | # So, don't put newlines in cache variables' values.
|
---|
| 6013 | # Ultrix sh set writes to stderr and can't be redirected directly,
|
---|
| 6014 | # and sets the high bit in the cache file unless we assign to the vars.
|
---|
| 6015 | {
|
---|
| 6016 | (set) 2>&1 |
|
---|
| 6017 | case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
---|
| 6018 | *ac_space=\ *)
|
---|
| 6019 | # `set' does not quote correctly, so add quotes (double-quote
|
---|
| 6020 | # substitution turns \\\\ into \\, and sed turns \\ into \).
|
---|
| 6021 | sed -n \
|
---|
| 6022 | "s/'/'\\\\''/g;
|
---|
| 6023 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
---|
| 6024 | ;;
|
---|
| 6025 | *)
|
---|
| 6026 | # `set' quotes correctly as required by POSIX, so do not add quotes.
|
---|
| 6027 | sed -n \
|
---|
| 6028 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
---|
| 6029 | ;;
|
---|
| 6030 | esac;
|
---|
| 6031 | } |
|
---|
| 6032 | sed '
|
---|
| 6033 | t clear
|
---|
| 6034 | : clear
|
---|
| 6035 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
---|
| 6036 | t end
|
---|
| 6037 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
---|
| 6038 | : end' >>confcache
|
---|
| 6039 | if diff $cache_file confcache >/dev/null 2>&1; then :; else
|
---|
| 6040 | if test -w $cache_file; then
|
---|
| 6041 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
---|
| 6042 | cat confcache >$cache_file
|
---|
| 6043 | else
|
---|
| 6044 | echo "not updating unwritable cache $cache_file"
|
---|
| 6045 | fi
|
---|
| 6046 | fi
|
---|
| 6047 | rm -f confcache
|
---|
| 6048 |
|
---|
| 6049 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
---|
| 6050 | # Let make expand exec_prefix.
|
---|
| 6051 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
---|
| 6052 |
|
---|
| 6053 | # VPATH may cause trouble with some makes, so we remove $(srcdir),
|
---|
| 6054 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
---|
| 6055 | # trailing colons and then remove the whole line if VPATH becomes empty
|
---|
| 6056 | # (actually we leave an empty line to preserve line numbers).
|
---|
| 6057 | if test "x$srcdir" = x.; then
|
---|
| 6058 | ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
---|
| 6059 | s/:*\$(srcdir):*/:/;
|
---|
| 6060 | s/:*\${srcdir}:*/:/;
|
---|
| 6061 | s/:*@srcdir@:*/:/;
|
---|
| 6062 | s/^\([^=]*=[ ]*\):*/\1/;
|
---|
| 6063 | s/:*$//;
|
---|
| 6064 | s/^[^=]*=[ ]*$//;
|
---|
| 6065 | }'
|
---|
| 6066 | fi
|
---|
| 6067 |
|
---|
| 6068 | DEFS=-DHAVE_CONFIG_H
|
---|
| 6069 |
|
---|
| 6070 | ac_libobjs=
|
---|
| 6071 | ac_ltlibobjs=
|
---|
| 6072 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
---|
| 6073 | # 1. Remove the extension, and $U if already installed.
|
---|
| 6074 | ac_i=`echo "$ac_i" |
|
---|
| 6075 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
|
---|
| 6076 | # 2. Add them.
|
---|
| 6077 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
|
---|
| 6078 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
|
---|
| 6079 | done
|
---|
| 6080 | LIBOBJS=$ac_libobjs
|
---|
| 6081 |
|
---|
| 6082 | LTLIBOBJS=$ac_ltlibobjs
|
---|
| 6083 |
|
---|
| 6084 |
|
---|
| 6085 |
|
---|
| 6086 | : ${CONFIG_STATUS=./config.status}
|
---|
| 6087 | ac_clean_files_save=$ac_clean_files
|
---|
| 6088 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
---|
| 6089 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
---|
| 6090 | echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
---|
| 6091 | cat >$CONFIG_STATUS <<_ACEOF
|
---|
| 6092 | #! $SHELL
|
---|
| 6093 | # Generated by $as_me.
|
---|
| 6094 | # Run this file to recreate the current configuration.
|
---|
| 6095 | # Compiler output produced by configure, useful for debugging
|
---|
| 6096 | # configure, is in config.log if it exists.
|
---|
| 6097 |
|
---|
| 6098 | debug=false
|
---|
| 6099 | ac_cs_recheck=false
|
---|
| 6100 | ac_cs_silent=false
|
---|
| 6101 | SHELL=\${CONFIG_SHELL-$SHELL}
|
---|
| 6102 | _ACEOF
|
---|
| 6103 |
|
---|
| 6104 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 6105 | ## --------------------- ##
|
---|
| 6106 | ## M4sh Initialization. ##
|
---|
| 6107 | ## --------------------- ##
|
---|
| 6108 |
|
---|
| 6109 | # Be Bourne compatible
|
---|
| 6110 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
| 6111 | emulate sh
|
---|
| 6112 | NULLCMD=:
|
---|
| 6113 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
---|
| 6114 | # is contrary to our usage. Disable this feature.
|
---|
| 6115 | alias -g '${1+"$@"}'='"$@"'
|
---|
| 6116 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
---|
| 6117 | set -o posix
|
---|
| 6118 | fi
|
---|
| 6119 |
|
---|
| 6120 | # Support unset when possible.
|
---|
| 6121 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
---|
| 6122 | as_unset=unset
|
---|
| 6123 | else
|
---|
| 6124 | as_unset=false
|
---|
| 6125 | fi
|
---|
| 6126 |
|
---|
| 6127 |
|
---|
| 6128 | # Work around bugs in pre-3.0 UWIN ksh.
|
---|
| 6129 | $as_unset ENV MAIL MAILPATH
|
---|
| 6130 | PS1='$ '
|
---|
| 6131 | PS2='> '
|
---|
| 6132 | PS4='+ '
|
---|
| 6133 |
|
---|
| 6134 | # NLS nuisances.
|
---|
| 6135 | for as_var in \
|
---|
| 6136 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
---|
| 6137 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
---|
| 6138 | LC_TELEPHONE LC_TIME
|
---|
| 6139 | do
|
---|
| 6140 | if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
---|
| 6141 | eval $as_var=C; export $as_var
|
---|
| 6142 | else
|
---|
| 6143 | $as_unset $as_var
|
---|
| 6144 | fi
|
---|
| 6145 | done
|
---|
| 6146 |
|
---|
| 6147 | # Required to use basename.
|
---|
| 6148 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
---|
| 6149 | as_expr=expr
|
---|
| 6150 | else
|
---|
| 6151 | as_expr=false
|
---|
| 6152 | fi
|
---|
| 6153 |
|
---|
| 6154 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
---|
| 6155 | as_basename=basename
|
---|
| 6156 | else
|
---|
| 6157 | as_basename=false
|
---|
| 6158 | fi
|
---|
| 6159 |
|
---|
| 6160 |
|
---|
| 6161 | # Name of the executable.
|
---|
| 6162 | as_me=`$as_basename "$0" ||
|
---|
| 6163 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 6164 | X"$0" : 'X\(//\)$' \| \
|
---|
| 6165 | X"$0" : 'X\(/\)$' \| \
|
---|
| 6166 | . : '\(.\)' 2>/dev/null ||
|
---|
| 6167 | echo X/"$0" |
|
---|
| 6168 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
---|
| 6169 | /^X\/\(\/\/\)$/{ s//\1/; q; }
|
---|
| 6170 | /^X\/\(\/\).*/{ s//\1/; q; }
|
---|
| 6171 | s/.*/./; q'`
|
---|
| 6172 |
|
---|
| 6173 |
|
---|
| 6174 | # PATH needs CR, and LINENO needs CR and PATH.
|
---|
| 6175 | # Avoid depending upon Character Ranges.
|
---|
| 6176 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
| 6177 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 6178 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
| 6179 | as_cr_digits='0123456789'
|
---|
| 6180 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
| 6181 |
|
---|
| 6182 | # The user is always right.
|
---|
| 6183 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
| 6184 | echo "#! /bin/sh" >conf$$.sh
|
---|
| 6185 | echo "exit 0" >>conf$$.sh
|
---|
| 6186 | chmod +x conf$$.sh
|
---|
| 6187 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
---|
| 6188 | PATH_SEPARATOR=';'
|
---|
| 6189 | else
|
---|
| 6190 | PATH_SEPARATOR=:
|
---|
| 6191 | fi
|
---|
| 6192 | rm -f conf$$.sh
|
---|
| 6193 | fi
|
---|
| 6194 |
|
---|
| 6195 |
|
---|
| 6196 | as_lineno_1=$LINENO
|
---|
| 6197 | as_lineno_2=$LINENO
|
---|
| 6198 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
---|
| 6199 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
| 6200 | test "x$as_lineno_3" = "x$as_lineno_2" || {
|
---|
| 6201 | # Find who we are. Look in the path if we contain no path at all
|
---|
| 6202 | # relative or not.
|
---|
| 6203 | case $0 in
|
---|
| 6204 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 6205 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 6206 | for as_dir in $PATH
|
---|
| 6207 | do
|
---|
| 6208 | IFS=$as_save_IFS
|
---|
| 6209 | test -z "$as_dir" && as_dir=.
|
---|
| 6210 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 6211 | done
|
---|
| 6212 |
|
---|
| 6213 | ;;
|
---|
| 6214 | esac
|
---|
| 6215 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 6216 | # in which case we are not to be found in the path.
|
---|
| 6217 | if test "x$as_myself" = x; then
|
---|
| 6218 | as_myself=$0
|
---|
| 6219 | fi
|
---|
| 6220 | if test ! -f "$as_myself"; then
|
---|
| 6221 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
|
---|
| 6222 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
|
---|
| 6223 | { (exit 1); exit 1; }; }
|
---|
| 6224 | fi
|
---|
| 6225 | case $CONFIG_SHELL in
|
---|
| 6226 | '')
|
---|
| 6227 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 6228 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
---|
| 6229 | do
|
---|
| 6230 | IFS=$as_save_IFS
|
---|
| 6231 | test -z "$as_dir" && as_dir=.
|
---|
| 6232 | for as_base in sh bash ksh sh5; do
|
---|
| 6233 | case $as_dir in
|
---|
| 6234 | /*)
|
---|
| 6235 | if ("$as_dir/$as_base" -c '
|
---|
| 6236 | as_lineno_1=$LINENO
|
---|
| 6237 | as_lineno_2=$LINENO
|
---|
| 6238 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
---|
| 6239 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
| 6240 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
---|
| 6241 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
---|
| 6242 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
---|
| 6243 | CONFIG_SHELL=$as_dir/$as_base
|
---|
| 6244 | export CONFIG_SHELL
|
---|
| 6245 | exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
---|
| 6246 | fi;;
|
---|
| 6247 | esac
|
---|
| 6248 | done
|
---|
| 6249 | done
|
---|
| 6250 | ;;
|
---|
| 6251 | esac
|
---|
| 6252 |
|
---|
| 6253 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
---|
| 6254 | # uniformly replaced by the line number. The first 'sed' inserts a
|
---|
| 6255 | # line-number line before each line; the second 'sed' does the real
|
---|
| 6256 | # work. The second script uses 'N' to pair each line-number line
|
---|
| 6257 | # with the numbered line, and appends trailing '-' during
|
---|
| 6258 | # substitution so that $LINENO is not a special case at line end.
|
---|
| 6259 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
---|
| 6260 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
---|
| 6261 | sed '=' <$as_myself |
|
---|
| 6262 | sed '
|
---|
| 6263 | N
|
---|
| 6264 | s,$,-,
|
---|
| 6265 | : loop
|
---|
| 6266 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
---|
| 6267 | t loop
|
---|
| 6268 | s,-$,,
|
---|
| 6269 | s,^['$as_cr_digits']*\n,,
|
---|
| 6270 | ' >$as_me.lineno &&
|
---|
| 6271 | chmod +x $as_me.lineno ||
|
---|
| 6272 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
|
---|
| 6273 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
|
---|
| 6274 | { (exit 1); exit 1; }; }
|
---|
| 6275 |
|
---|
| 6276 | # Don't try to exec as it changes $[0], causing all sort of problems
|
---|
| 6277 | # (the dirname of $[0] is not the place where we might find the
|
---|
| 6278 | # original and so on. Autoconf is especially sensible to this).
|
---|
| 6279 | . ./$as_me.lineno
|
---|
| 6280 | # Exit status is that of the last command.
|
---|
| 6281 | exit
|
---|
| 6282 | }
|
---|
| 6283 |
|
---|
| 6284 |
|
---|
| 6285 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
---|
| 6286 | *c*,-n*) ECHO_N= ECHO_C='
|
---|
| 6287 | ' ECHO_T=' ' ;;
|
---|
| 6288 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
---|
| 6289 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
---|
| 6290 | esac
|
---|
| 6291 |
|
---|
| 6292 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
---|
| 6293 | as_expr=expr
|
---|
| 6294 | else
|
---|
| 6295 | as_expr=false
|
---|
| 6296 | fi
|
---|
| 6297 |
|
---|
| 6298 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 6299 | echo >conf$$.file
|
---|
| 6300 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
| 6301 | # We could just check for DJGPP; but this test a) works b) is more generic
|
---|
| 6302 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
---|
| 6303 | if test -f conf$$.exe; then
|
---|
| 6304 | # Don't use ln at all; we don't have any links
|
---|
| 6305 | as_ln_s='cp -p'
|
---|
| 6306 | else
|
---|
| 6307 | as_ln_s='ln -s'
|
---|
| 6308 | fi
|
---|
| 6309 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 6310 | as_ln_s=ln
|
---|
| 6311 | else
|
---|
| 6312 | as_ln_s='cp -p'
|
---|
| 6313 | fi
|
---|
| 6314 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 6315 |
|
---|
| 6316 | if mkdir -p . 2>/dev/null; then
|
---|
| 6317 | as_mkdir_p=:
|
---|
| 6318 | else
|
---|
| 6319 | as_mkdir_p=false
|
---|
| 6320 | fi
|
---|
| 6321 |
|
---|
| 6322 | as_executable_p="test -f"
|
---|
| 6323 |
|
---|
| 6324 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 6325 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
|
---|
| 6326 |
|
---|
| 6327 | # Sed expression to map a string onto a valid variable name.
|
---|
| 6328 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
|
---|
| 6329 |
|
---|
| 6330 |
|
---|
| 6331 | # IFS
|
---|
| 6332 | # We need space, tab and new line, in precisely that order.
|
---|
| 6333 | as_nl='
|
---|
| 6334 | '
|
---|
| 6335 | IFS=" $as_nl"
|
---|
| 6336 |
|
---|
| 6337 | # CDPATH.
|
---|
| 6338 | $as_unset CDPATH
|
---|
| 6339 |
|
---|
| 6340 | exec 6>&1
|
---|
| 6341 |
|
---|
| 6342 | # Open the log real soon, to keep \$[0] and so on meaningful, and to
|
---|
| 6343 | # report actual input values of CONFIG_FILES etc. instead of their
|
---|
| 6344 | # values after options handling. Logging --version etc. is OK.
|
---|
| 6345 | exec 5>>config.log
|
---|
| 6346 | {
|
---|
| 6347 | echo
|
---|
| 6348 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
---|
| 6349 | ## Running $as_me. ##
|
---|
| 6350 | _ASBOX
|
---|
| 6351 | } >&5
|
---|
| 6352 | cat >&5 <<_CSEOF
|
---|
| 6353 |
|
---|
| 6354 | This file was extended by $as_me, which was
|
---|
| 6355 | generated by GNU Autoconf 2.57. Invocation command line was
|
---|
| 6356 |
|
---|
| 6357 | CONFIG_FILES = $CONFIG_FILES
|
---|
| 6358 | CONFIG_HEADERS = $CONFIG_HEADERS
|
---|
| 6359 | CONFIG_LINKS = $CONFIG_LINKS
|
---|
| 6360 | CONFIG_COMMANDS = $CONFIG_COMMANDS
|
---|
| 6361 | $ $0 $@
|
---|
| 6362 |
|
---|
| 6363 | _CSEOF
|
---|
| 6364 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
|
---|
| 6365 | echo >&5
|
---|
| 6366 | _ACEOF
|
---|
| 6367 |
|
---|
| 6368 | # Files that config.status was made for.
|
---|
| 6369 | if test -n "$ac_config_files"; then
|
---|
| 6370 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
|
---|
| 6371 | fi
|
---|
| 6372 |
|
---|
| 6373 | if test -n "$ac_config_headers"; then
|
---|
| 6374 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
|
---|
| 6375 | fi
|
---|
| 6376 |
|
---|
| 6377 | if test -n "$ac_config_links"; then
|
---|
| 6378 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
|
---|
| 6379 | fi
|
---|
| 6380 |
|
---|
| 6381 | if test -n "$ac_config_commands"; then
|
---|
| 6382 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
|
---|
| 6383 | fi
|
---|
| 6384 |
|
---|
| 6385 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 6386 |
|
---|
| 6387 | ac_cs_usage="\
|
---|
| 6388 | \`$as_me' instantiates files from templates according to the
|
---|
| 6389 | current configuration.
|
---|
| 6390 |
|
---|
| 6391 | Usage: $0 [OPTIONS] [FILE]...
|
---|
| 6392 |
|
---|
| 6393 | -h, --help print this help, then exit
|
---|
| 6394 | -V, --version print version number, then exit
|
---|
| 6395 | -q, --quiet do not print progress messages
|
---|
| 6396 | -d, --debug don't remove temporary files
|
---|
| 6397 | --recheck update $as_me by reconfiguring in the same conditions
|
---|
| 6398 | --file=FILE[:TEMPLATE]
|
---|
| 6399 | instantiate the configuration file FILE
|
---|
| 6400 | --header=FILE[:TEMPLATE]
|
---|
| 6401 | instantiate the configuration header FILE
|
---|
| 6402 |
|
---|
| 6403 | Configuration files:
|
---|
| 6404 | $config_files
|
---|
| 6405 |
|
---|
| 6406 | Configuration headers:
|
---|
| 6407 | $config_headers
|
---|
| 6408 |
|
---|
| 6409 | Report bugs to <[email protected]>."
|
---|
| 6410 | _ACEOF
|
---|
| 6411 |
|
---|
| 6412 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 6413 | ac_cs_version="\\
|
---|
| 6414 | config.status
|
---|
| 6415 | configured by $0, generated by GNU Autoconf 2.57,
|
---|
| 6416 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
---|
| 6417 |
|
---|
| 6418 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
---|
| 6419 | Free Software Foundation, Inc.
|
---|
| 6420 | This config.status script is free software; the Free Software Foundation
|
---|
| 6421 | gives unlimited permission to copy, distribute and modify it."
|
---|
| 6422 | srcdir=$srcdir
|
---|
| 6423 | INSTALL="$INSTALL"
|
---|
| 6424 | _ACEOF
|
---|
| 6425 |
|
---|
| 6426 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 6427 | # If no file are specified by the user, then we need to provide default
|
---|
| 6428 | # value. By we need to know if files were specified by the user.
|
---|
| 6429 | ac_need_defaults=:
|
---|
| 6430 | while test $# != 0
|
---|
| 6431 | do
|
---|
| 6432 | case $1 in
|
---|
| 6433 | --*=*)
|
---|
| 6434 | ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
---|
| 6435 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
---|
| 6436 | ac_shift=:
|
---|
| 6437 | ;;
|
---|
| 6438 | -*)
|
---|
| 6439 | ac_option=$1
|
---|
| 6440 | ac_optarg=$2
|
---|
| 6441 | ac_shift=shift
|
---|
| 6442 | ;;
|
---|
| 6443 | *) # This is not an option, so the user has probably given explicit
|
---|
| 6444 | # arguments.
|
---|
| 6445 | ac_option=$1
|
---|
| 6446 | ac_need_defaults=false;;
|
---|
| 6447 | esac
|
---|
| 6448 |
|
---|
| 6449 | case $ac_option in
|
---|
| 6450 | # Handling of the options.
|
---|
| 6451 | _ACEOF
|
---|
| 6452 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 6453 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
---|
| 6454 | ac_cs_recheck=: ;;
|
---|
| 6455 | --version | --vers* | -V )
|
---|
| 6456 | echo "$ac_cs_version"; exit 0 ;;
|
---|
| 6457 | --he | --h)
|
---|
| 6458 | # Conflict between --help and --header
|
---|
| 6459 | { { echo "$as_me:$LINENO: error: ambiguous option: $1
|
---|
| 6460 | Try \`$0 --help' for more information." >&5
|
---|
| 6461 | echo "$as_me: error: ambiguous option: $1
|
---|
| 6462 | Try \`$0 --help' for more information." >&2;}
|
---|
| 6463 | { (exit 1); exit 1; }; };;
|
---|
| 6464 | --help | --hel | -h )
|
---|
| 6465 | echo "$ac_cs_usage"; exit 0 ;;
|
---|
| 6466 | --debug | --d* | -d )
|
---|
| 6467 | debug=: ;;
|
---|
| 6468 | --file | --fil | --fi | --f )
|
---|
| 6469 | $ac_shift
|
---|
| 6470 | CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
---|
| 6471 | ac_need_defaults=false;;
|
---|
| 6472 | --header | --heade | --head | --hea )
|
---|
| 6473 | $ac_shift
|
---|
| 6474 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
---|
| 6475 | ac_need_defaults=false;;
|
---|
| 6476 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 6477 | | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
---|
| 6478 | ac_cs_silent=: ;;
|
---|
| 6479 |
|
---|
| 6480 | # This is an error.
|
---|
| 6481 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
|
---|
| 6482 | Try \`$0 --help' for more information." >&5
|
---|
| 6483 | echo "$as_me: error: unrecognized option: $1
|
---|
| 6484 | Try \`$0 --help' for more information." >&2;}
|
---|
| 6485 | { (exit 1); exit 1; }; } ;;
|
---|
| 6486 |
|
---|
| 6487 | *) ac_config_targets="$ac_config_targets $1" ;;
|
---|
| 6488 |
|
---|
| 6489 | esac
|
---|
| 6490 | shift
|
---|
| 6491 | done
|
---|
| 6492 |
|
---|
| 6493 | ac_configure_extra_args=
|
---|
| 6494 |
|
---|
| 6495 | if $ac_cs_silent; then
|
---|
| 6496 | exec 6>/dev/null
|
---|
| 6497 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
---|
| 6498 | fi
|
---|
| 6499 |
|
---|
| 6500 | _ACEOF
|
---|
| 6501 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 6502 | if \$ac_cs_recheck; then
|
---|
| 6503 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
---|
| 6504 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
---|
| 6505 | fi
|
---|
| 6506 |
|
---|
| 6507 | _ACEOF
|
---|
| 6508 |
|
---|
| 6509 |
|
---|
| 6510 |
|
---|
| 6511 |
|
---|
| 6512 |
|
---|
| 6513 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 6514 | for ac_config_target in $ac_config_targets
|
---|
| 6515 | do
|
---|
| 6516 | case "$ac_config_target" in
|
---|
| 6517 | # Handling of arguments.
|
---|
| 6518 | "src/recpt/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/recpt/Makefile" ;;
|
---|
| 6519 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
---|
| 6520 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
---|
| 6521 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
---|
| 6522 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
---|
| 6523 | { (exit 1); exit 1; }; };;
|
---|
| 6524 | esac
|
---|
| 6525 | done
|
---|
| 6526 |
|
---|
| 6527 | # If the user did not use the arguments to specify the items to instantiate,
|
---|
| 6528 | # then the envvar interface is used. Set only those that are not.
|
---|
| 6529 | # We use the long form for the default assignment because of an extremely
|
---|
| 6530 | # bizarre bug on SunOS 4.1.3.
|
---|
| 6531 | if $ac_need_defaults; then
|
---|
| 6532 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
---|
| 6533 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
---|
| 6534 | fi
|
---|
| 6535 |
|
---|
| 6536 | # Have a temporary directory for convenience. Make it in the build tree
|
---|
| 6537 | # simply because there is no reason to put it here, and in addition,
|
---|
| 6538 | # creating and moving files from /tmp can sometimes cause problems.
|
---|
| 6539 | # Create a temporary directory, and hook for its removal unless debugging.
|
---|
| 6540 | $debug ||
|
---|
| 6541 | {
|
---|
| 6542 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
---|
| 6543 | trap '{ (exit 1); exit 1; }' 1 2 13 15
|
---|
| 6544 | }
|
---|
| 6545 |
|
---|
| 6546 | # Create a (secure) tmp directory for tmp files.
|
---|
| 6547 |
|
---|
| 6548 | {
|
---|
| 6549 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
|
---|
| 6550 | test -n "$tmp" && test -d "$tmp"
|
---|
| 6551 | } ||
|
---|
| 6552 | {
|
---|
| 6553 | tmp=./confstat$$-$RANDOM
|
---|
| 6554 | (umask 077 && mkdir $tmp)
|
---|
| 6555 | } ||
|
---|
| 6556 | {
|
---|
| 6557 | echo "$me: cannot create a temporary directory in ." >&2
|
---|
| 6558 | { (exit 1); exit 1; }
|
---|
| 6559 | }
|
---|
| 6560 |
|
---|
| 6561 | _ACEOF
|
---|
| 6562 |
|
---|
| 6563 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 6564 |
|
---|
| 6565 | #
|
---|
| 6566 | # CONFIG_FILES section.
|
---|
| 6567 | #
|
---|
| 6568 |
|
---|
| 6569 | # No need to generate the scripts if there are no CONFIG_FILES.
|
---|
| 6570 | # This happens for instance when ./config.status config.h
|
---|
| 6571 | if test -n "\$CONFIG_FILES"; then
|
---|
| 6572 | # Protect against being on the right side of a sed subst in config.status.
|
---|
| 6573 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
---|
| 6574 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
|
---|
| 6575 | s,@SHELL@,$SHELL,;t t
|
---|
| 6576 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
|
---|
| 6577 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
|
---|
| 6578 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
|
---|
| 6579 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
|
---|
| 6580 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
|
---|
| 6581 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
|
---|
| 6582 | s,@exec_prefix@,$exec_prefix,;t t
|
---|
| 6583 | s,@prefix@,$prefix,;t t
|
---|
| 6584 | s,@program_transform_name@,$program_transform_name,;t t
|
---|
| 6585 | s,@bindir@,$bindir,;t t
|
---|
| 6586 | s,@sbindir@,$sbindir,;t t
|
---|
| 6587 | s,@libexecdir@,$libexecdir,;t t
|
---|
| 6588 | s,@datadir@,$datadir,;t t
|
---|
| 6589 | s,@sysconfdir@,$sysconfdir,;t t
|
---|
| 6590 | s,@sharedstatedir@,$sharedstatedir,;t t
|
---|
| 6591 | s,@localstatedir@,$localstatedir,;t t
|
---|
| 6592 | s,@libdir@,$libdir,;t t
|
---|
| 6593 | s,@includedir@,$includedir,;t t
|
---|
| 6594 | s,@oldincludedir@,$oldincludedir,;t t
|
---|
| 6595 | s,@infodir@,$infodir,;t t
|
---|
| 6596 | s,@mandir@,$mandir,;t t
|
---|
| 6597 | s,@build_alias@,$build_alias,;t t
|
---|
| 6598 | s,@host_alias@,$host_alias,;t t
|
---|
| 6599 | s,@target_alias@,$target_alias,;t t
|
---|
| 6600 | s,@DEFS@,$DEFS,;t t
|
---|
| 6601 | s,@ECHO_C@,$ECHO_C,;t t
|
---|
| 6602 | s,@ECHO_N@,$ECHO_N,;t t
|
---|
| 6603 | s,@ECHO_T@,$ECHO_T,;t t
|
---|
| 6604 | s,@LIBS@,$LIBS,;t t
|
---|
| 6605 | s,@PACKAGE@,$PACKAGE,;t t
|
---|
| 6606 | s,@VERSION@,$VERSION,;t t
|
---|
| 6607 | s,@USE_FASTCGI@,$USE_FASTCGI,;t t
|
---|
| 6608 | s,@CFLAGS@,$CFLAGS,;t t
|
---|
| 6609 | s,@CC@,$CC,;t t
|
---|
| 6610 | s,@LDFLAGS@,$LDFLAGS,;t t
|
---|
| 6611 | s,@CPPFLAGS@,$CPPFLAGS,;t t
|
---|
| 6612 | s,@ac_ct_CC@,$ac_ct_CC,;t t
|
---|
| 6613 | s,@EXEEXT@,$EXEEXT,;t t
|
---|
| 6614 | s,@OBJEXT@,$OBJEXT,;t t
|
---|
| 6615 | s,@CXX@,$CXX,;t t
|
---|
| 6616 | s,@CXXFLAGS@,$CXXFLAGS,;t t
|
---|
| 6617 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t
|
---|
| 6618 | s,@AWK@,$AWK,;t t
|
---|
| 6619 | s,@YACC@,$YACC,;t t
|
---|
| 6620 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
|
---|
| 6621 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
|
---|
| 6622 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
---|
| 6623 | s,@LN_S@,$LN_S,;t t
|
---|
| 6624 | s,@SET_MAKE@,$SET_MAKE,;t t
|
---|
| 6625 | s,@RANLIB@,$RANLIB,;t t
|
---|
| 6626 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
|
---|
| 6627 | s,@CPP@,$CPP,;t t
|
---|
| 6628 | s,@EGREP@,$EGREP,;t t
|
---|
| 6629 | s,@ALLOCA@,$ALLOCA,;t t
|
---|
| 6630 | s,@LIBOBJS@,$LIBOBJS,;t t
|
---|
| 6631 | s,@GDBM_LIBPATH@,$GDBM_LIBPATH,;t t
|
---|
| 6632 | s,@GDBM_INCLUDE@,$GDBM_INCLUDE,;t t
|
---|
| 6633 | s,@gsdlos@,$gsdlos,;t t
|
---|
| 6634 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t
|
---|
| 6635 | CEOF
|
---|
| 6636 |
|
---|
| 6637 | _ACEOF
|
---|
| 6638 |
|
---|
| 6639 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 6640 | # Split the substitutions into bite-sized pieces for seds with
|
---|
| 6641 | # small command number limits, like on Digital OSF/1 and HP-UX.
|
---|
| 6642 | ac_max_sed_lines=48
|
---|
| 6643 | ac_sed_frag=1 # Number of current file.
|
---|
| 6644 | ac_beg=1 # First line for current file.
|
---|
| 6645 | ac_end=$ac_max_sed_lines # Line after last line for current file.
|
---|
| 6646 | ac_more_lines=:
|
---|
| 6647 | ac_sed_cmds=
|
---|
| 6648 | while $ac_more_lines; do
|
---|
| 6649 | if test $ac_beg -gt 1; then
|
---|
| 6650 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
---|
| 6651 | else
|
---|
| 6652 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
---|
| 6653 | fi
|
---|
| 6654 | if test ! -s $tmp/subs.frag; then
|
---|
| 6655 | ac_more_lines=false
|
---|
| 6656 | else
|
---|
| 6657 | # The purpose of the label and of the branching condition is to
|
---|
| 6658 | # speed up the sed processing (if there are no `@' at all, there
|
---|
| 6659 | # is no need to browse any of the substitutions).
|
---|
| 6660 | # These are the two extra sed commands mentioned above.
|
---|
| 6661 | (echo ':t
|
---|
| 6662 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
---|
| 6663 | if test -z "$ac_sed_cmds"; then
|
---|
| 6664 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
---|
| 6665 | else
|
---|
| 6666 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
---|
| 6667 | fi
|
---|
| 6668 | ac_sed_frag=`expr $ac_sed_frag + 1`
|
---|
| 6669 | ac_beg=$ac_end
|
---|
| 6670 | ac_end=`expr $ac_end + $ac_max_sed_lines`
|
---|
| 6671 | fi
|
---|
| 6672 | done
|
---|
| 6673 | if test -z "$ac_sed_cmds"; then
|
---|
| 6674 | ac_sed_cmds=cat
|
---|
| 6675 | fi
|
---|
| 6676 | fi # test -n "$CONFIG_FILES"
|
---|
| 6677 |
|
---|
| 6678 | _ACEOF
|
---|
| 6679 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 6680 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
---|
| 6681 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
---|
| 6682 | case $ac_file in
|
---|
| 6683 | - | *:- | *:-:* ) # input from stdin
|
---|
| 6684 | cat >$tmp/stdin
|
---|
| 6685 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
| 6686 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
| 6687 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
| 6688 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
| 6689 | * ) ac_file_in=$ac_file.in ;;
|
---|
| 6690 | esac
|
---|
| 6691 |
|
---|
| 6692 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
---|
| 6693 | ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
---|
| 6694 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 6695 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
| 6696 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
| 6697 | X"$ac_file" : 'X\(/\)' \| \
|
---|
| 6698 | . : '\(.\)' 2>/dev/null ||
|
---|
| 6699 | echo X"$ac_file" |
|
---|
| 6700 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 6701 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 6702 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 6703 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 6704 | s/.*/./; q'`
|
---|
| 6705 | { if $as_mkdir_p; then
|
---|
| 6706 | mkdir -p "$ac_dir"
|
---|
| 6707 | else
|
---|
| 6708 | as_dir="$ac_dir"
|
---|
| 6709 | as_dirs=
|
---|
| 6710 | while test ! -d "$as_dir"; do
|
---|
| 6711 | as_dirs="$as_dir $as_dirs"
|
---|
| 6712 | as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
---|
| 6713 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 6714 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 6715 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
| 6716 | X"$as_dir" : 'X\(/\)' \| \
|
---|
| 6717 | . : '\(.\)' 2>/dev/null ||
|
---|
| 6718 | echo X"$as_dir" |
|
---|
| 6719 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 6720 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 6721 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 6722 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 6723 | s/.*/./; q'`
|
---|
| 6724 | done
|
---|
| 6725 | test ! -n "$as_dirs" || mkdir $as_dirs
|
---|
| 6726 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
---|
| 6727 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
---|
| 6728 | { (exit 1); exit 1; }; }; }
|
---|
| 6729 |
|
---|
| 6730 | ac_builddir=.
|
---|
| 6731 |
|
---|
| 6732 | if test "$ac_dir" != .; then
|
---|
| 6733 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
---|
| 6734 | # A "../" for each directory in $ac_dir_suffix.
|
---|
| 6735 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
---|
| 6736 | else
|
---|
| 6737 | ac_dir_suffix= ac_top_builddir=
|
---|
| 6738 | fi
|
---|
| 6739 |
|
---|
| 6740 | case $srcdir in
|
---|
| 6741 | .) # No --srcdir option. We are building in place.
|
---|
| 6742 | ac_srcdir=.
|
---|
| 6743 | if test -z "$ac_top_builddir"; then
|
---|
| 6744 | ac_top_srcdir=.
|
---|
| 6745 | else
|
---|
| 6746 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
---|
| 6747 | fi ;;
|
---|
| 6748 | [\\/]* | ?:[\\/]* ) # Absolute path.
|
---|
| 6749 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
| 6750 | ac_top_srcdir=$srcdir ;;
|
---|
| 6751 | *) # Relative path.
|
---|
| 6752 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
---|
| 6753 | ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
---|
| 6754 | esac
|
---|
| 6755 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
|
---|
| 6756 | # absolute.
|
---|
| 6757 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
|
---|
| 6758 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
|
---|
| 6759 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
|
---|
| 6760 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
|
---|
| 6761 |
|
---|
| 6762 |
|
---|
| 6763 | case $INSTALL in
|
---|
| 6764 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
---|
| 6765 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
|
---|
| 6766 | esac
|
---|
| 6767 |
|
---|
| 6768 | if test x"$ac_file" != x-; then
|
---|
| 6769 | { echo "$as_me:$LINENO: creating $ac_file" >&5
|
---|
| 6770 | echo "$as_me: creating $ac_file" >&6;}
|
---|
| 6771 | rm -f "$ac_file"
|
---|
| 6772 | fi
|
---|
| 6773 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
| 6774 | # use $as_me), people would be surprised to read:
|
---|
| 6775 | # /* config.h. Generated by config.status. */
|
---|
| 6776 | if test x"$ac_file" = x-; then
|
---|
| 6777 | configure_input=
|
---|
| 6778 | else
|
---|
| 6779 | configure_input="$ac_file. "
|
---|
| 6780 | fi
|
---|
| 6781 | configure_input=$configure_input"Generated from `echo $ac_file_in |
|
---|
| 6782 | sed 's,.*/,,'` by configure."
|
---|
| 6783 |
|
---|
| 6784 | # First look for the input files in the build tree, otherwise in the
|
---|
| 6785 | # src tree.
|
---|
| 6786 | ac_file_inputs=`IFS=:
|
---|
| 6787 | for f in $ac_file_in; do
|
---|
| 6788 | case $f in
|
---|
| 6789 | -) echo $tmp/stdin ;;
|
---|
| 6790 | [\\/$]*)
|
---|
| 6791 | # Absolute (can't be DOS-style, as IFS=:)
|
---|
| 6792 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
| 6793 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
| 6794 | { (exit 1); exit 1; }; }
|
---|
| 6795 | echo $f;;
|
---|
| 6796 | *) # Relative
|
---|
| 6797 | if test -f "$f"; then
|
---|
| 6798 | # Build tree
|
---|
| 6799 | echo $f
|
---|
| 6800 | elif test -f "$srcdir/$f"; then
|
---|
| 6801 | # Source tree
|
---|
| 6802 | echo $srcdir/$f
|
---|
| 6803 | else
|
---|
| 6804 | # /dev/null tree
|
---|
| 6805 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
| 6806 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
| 6807 | { (exit 1); exit 1; }; }
|
---|
| 6808 | fi;;
|
---|
| 6809 | esac
|
---|
| 6810 | done` || { (exit 1); exit 1; }
|
---|
| 6811 | _ACEOF
|
---|
| 6812 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 6813 | sed "$ac_vpsub
|
---|
| 6814 | $extrasub
|
---|
| 6815 | _ACEOF
|
---|
| 6816 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 6817 | :t
|
---|
| 6818 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
| 6819 | s,@configure_input@,$configure_input,;t t
|
---|
| 6820 | s,@srcdir@,$ac_srcdir,;t t
|
---|
| 6821 | s,@abs_srcdir@,$ac_abs_srcdir,;t t
|
---|
| 6822 | s,@top_srcdir@,$ac_top_srcdir,;t t
|
---|
| 6823 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
|
---|
| 6824 | s,@builddir@,$ac_builddir,;t t
|
---|
| 6825 | s,@abs_builddir@,$ac_abs_builddir,;t t
|
---|
| 6826 | s,@top_builddir@,$ac_top_builddir,;t t
|
---|
| 6827 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
|
---|
| 6828 | s,@INSTALL@,$ac_INSTALL,;t t
|
---|
| 6829 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
---|
| 6830 | rm -f $tmp/stdin
|
---|
| 6831 | if test x"$ac_file" != x-; then
|
---|
| 6832 | mv $tmp/out $ac_file
|
---|
| 6833 | else
|
---|
| 6834 | cat $tmp/out
|
---|
| 6835 | rm -f $tmp/out
|
---|
| 6836 | fi
|
---|
| 6837 |
|
---|
| 6838 | done
|
---|
| 6839 | _ACEOF
|
---|
| 6840 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 6841 |
|
---|
| 6842 | #
|
---|
| 6843 | # CONFIG_HEADER section.
|
---|
| 6844 | #
|
---|
| 6845 |
|
---|
| 6846 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
|
---|
| 6847 | # NAME is the cpp macro being defined and VALUE is the value it is being given.
|
---|
| 6848 | #
|
---|
| 6849 | # ac_d sets the value in "#define NAME VALUE" lines.
|
---|
| 6850 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
|
---|
| 6851 | ac_dB='[ ].*$,\1#\2'
|
---|
| 6852 | ac_dC=' '
|
---|
| 6853 | ac_dD=',;t'
|
---|
| 6854 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
|
---|
| 6855 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
---|
| 6856 | ac_uB='$,\1#\2define\3'
|
---|
| 6857 | ac_uC=' '
|
---|
| 6858 | ac_uD=',;t'
|
---|
| 6859 |
|
---|
| 6860 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
|
---|
| 6861 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
---|
| 6862 | case $ac_file in
|
---|
| 6863 | - | *:- | *:-:* ) # input from stdin
|
---|
| 6864 | cat >$tmp/stdin
|
---|
| 6865 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
| 6866 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
| 6867 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
| 6868 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
| 6869 | * ) ac_file_in=$ac_file.in ;;
|
---|
| 6870 | esac
|
---|
| 6871 |
|
---|
| 6872 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
|
---|
| 6873 | echo "$as_me: creating $ac_file" >&6;}
|
---|
| 6874 |
|
---|
| 6875 | # First look for the input files in the build tree, otherwise in the
|
---|
| 6876 | # src tree.
|
---|
| 6877 | ac_file_inputs=`IFS=:
|
---|
| 6878 | for f in $ac_file_in; do
|
---|
| 6879 | case $f in
|
---|
| 6880 | -) echo $tmp/stdin ;;
|
---|
| 6881 | [\\/$]*)
|
---|
| 6882 | # Absolute (can't be DOS-style, as IFS=:)
|
---|
| 6883 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
| 6884 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
| 6885 | { (exit 1); exit 1; }; }
|
---|
| 6886 | echo $f;;
|
---|
| 6887 | *) # Relative
|
---|
| 6888 | if test -f "$f"; then
|
---|
| 6889 | # Build tree
|
---|
| 6890 | echo $f
|
---|
| 6891 | elif test -f "$srcdir/$f"; then
|
---|
| 6892 | # Source tree
|
---|
| 6893 | echo $srcdir/$f
|
---|
| 6894 | else
|
---|
| 6895 | # /dev/null tree
|
---|
| 6896 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
| 6897 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
| 6898 | { (exit 1); exit 1; }; }
|
---|
| 6899 | fi;;
|
---|
| 6900 | esac
|
---|
| 6901 | done` || { (exit 1); exit 1; }
|
---|
| 6902 | # Remove the trailing spaces.
|
---|
| 6903 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
|
---|
| 6904 |
|
---|
| 6905 | _ACEOF
|
---|
| 6906 |
|
---|
| 6907 | # Transform confdefs.h into two sed scripts, `conftest.defines' and
|
---|
| 6908 | # `conftest.undefs', that substitutes the proper values into
|
---|
| 6909 | # config.h.in to produce config.h. The first handles `#define'
|
---|
| 6910 | # templates, and the second `#undef' templates.
|
---|
| 6911 | # And first: Protect against being on the right side of a sed subst in
|
---|
| 6912 | # config.status. Protect against being in an unquoted here document
|
---|
| 6913 | # in config.status.
|
---|
| 6914 | rm -f conftest.defines conftest.undefs
|
---|
| 6915 | # Using a here document instead of a string reduces the quoting nightmare.
|
---|
| 6916 | # Putting comments in sed scripts is not portable.
|
---|
| 6917 | #
|
---|
| 6918 | # `end' is used to avoid that the second main sed command (meant for
|
---|
| 6919 | # 0-ary CPP macros) applies to n-ary macro definitions.
|
---|
| 6920 | # See the Autoconf documentation for `clear'.
|
---|
| 6921 | cat >confdef2sed.sed <<\_ACEOF
|
---|
| 6922 | s/[\\&,]/\\&/g
|
---|
| 6923 | s,[\\$`],\\&,g
|
---|
| 6924 | t clear
|
---|
| 6925 | : clear
|
---|
| 6926 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
|
---|
| 6927 | t end
|
---|
| 6928 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
|
---|
| 6929 | : end
|
---|
| 6930 | _ACEOF
|
---|
| 6931 | # If some macros were called several times there might be several times
|
---|
| 6932 | # the same #defines, which is useless. Nevertheless, we may not want to
|
---|
| 6933 | # sort them, since we want the *last* AC-DEFINE to be honored.
|
---|
| 6934 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
|
---|
| 6935 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
|
---|
| 6936 | rm -f confdef2sed.sed
|
---|
| 6937 |
|
---|
| 6938 | # This sed command replaces #undef with comments. This is necessary, for
|
---|
| 6939 | # example, in the case of _POSIX_SOURCE, which is predefined and required
|
---|
| 6940 | # on some systems where configure will not decide to define it.
|
---|
| 6941 | cat >>conftest.undefs <<\_ACEOF
|
---|
| 6942 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
|
---|
| 6943 | _ACEOF
|
---|
| 6944 |
|
---|
| 6945 | # Break up conftest.defines because some shells have a limit on the size
|
---|
| 6946 | # of here documents, and old seds have small limits too (100 cmds).
|
---|
| 6947 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
|
---|
| 6948 | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
|
---|
| 6949 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
|
---|
| 6950 | echo ' :' >>$CONFIG_STATUS
|
---|
| 6951 | rm -f conftest.tail
|
---|
| 6952 | while grep . conftest.defines >/dev/null
|
---|
| 6953 | do
|
---|
| 6954 | # Write a limited-size here document to $tmp/defines.sed.
|
---|
| 6955 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
|
---|
| 6956 | # Speed up: don't consider the non `#define' lines.
|
---|
| 6957 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
|
---|
| 6958 | # Work around the forget-to-reset-the-flag bug.
|
---|
| 6959 | echo 't clr' >>$CONFIG_STATUS
|
---|
| 6960 | echo ': clr' >>$CONFIG_STATUS
|
---|
| 6961 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
|
---|
| 6962 | echo 'CEOF
|
---|
| 6963 | sed -f $tmp/defines.sed $tmp/in >$tmp/out
|
---|
| 6964 | rm -f $tmp/in
|
---|
| 6965 | mv $tmp/out $tmp/in
|
---|
| 6966 | ' >>$CONFIG_STATUS
|
---|
| 6967 | sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
|
---|
| 6968 | rm -f conftest.defines
|
---|
| 6969 | mv conftest.tail conftest.defines
|
---|
| 6970 | done
|
---|
| 6971 | rm -f conftest.defines
|
---|
| 6972 | echo ' fi # grep' >>$CONFIG_STATUS
|
---|
| 6973 | echo >>$CONFIG_STATUS
|
---|
| 6974 |
|
---|
| 6975 | # Break up conftest.undefs because some shells have a limit on the size
|
---|
| 6976 | # of here documents, and old seds have small limits too (100 cmds).
|
---|
| 6977 | echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
|
---|
| 6978 | rm -f conftest.tail
|
---|
| 6979 | while grep . conftest.undefs >/dev/null
|
---|
| 6980 | do
|
---|
| 6981 | # Write a limited-size here document to $tmp/undefs.sed.
|
---|
| 6982 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
|
---|
| 6983 | # Speed up: don't consider the non `#undef'
|
---|
| 6984 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
|
---|
| 6985 | # Work around the forget-to-reset-the-flag bug.
|
---|
| 6986 | echo 't clr' >>$CONFIG_STATUS
|
---|
| 6987 | echo ': clr' >>$CONFIG_STATUS
|
---|
| 6988 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
|
---|
| 6989 | echo 'CEOF
|
---|
| 6990 | sed -f $tmp/undefs.sed $tmp/in >$tmp/out
|
---|
| 6991 | rm -f $tmp/in
|
---|
| 6992 | mv $tmp/out $tmp/in
|
---|
| 6993 | ' >>$CONFIG_STATUS
|
---|
| 6994 | sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
|
---|
| 6995 | rm -f conftest.undefs
|
---|
| 6996 | mv conftest.tail conftest.undefs
|
---|
| 6997 | done
|
---|
| 6998 | rm -f conftest.undefs
|
---|
| 6999 |
|
---|
| 7000 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 7001 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
| 7002 | # use $as_me), people would be surprised to read:
|
---|
| 7003 | # /* config.h. Generated by config.status. */
|
---|
| 7004 | if test x"$ac_file" = x-; then
|
---|
| 7005 | echo "/* Generated by configure. */" >$tmp/config.h
|
---|
| 7006 | else
|
---|
| 7007 | echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
|
---|
| 7008 | fi
|
---|
| 7009 | cat $tmp/in >>$tmp/config.h
|
---|
| 7010 | rm -f $tmp/in
|
---|
| 7011 | if test x"$ac_file" != x-; then
|
---|
| 7012 | if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
|
---|
| 7013 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
---|
| 7014 | echo "$as_me: $ac_file is unchanged" >&6;}
|
---|
| 7015 | else
|
---|
| 7016 | ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
---|
| 7017 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 7018 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
| 7019 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
| 7020 | X"$ac_file" : 'X\(/\)' \| \
|
---|
| 7021 | . : '\(.\)' 2>/dev/null ||
|
---|
| 7022 | echo X"$ac_file" |
|
---|
| 7023 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 7024 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 7025 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 7026 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 7027 | s/.*/./; q'`
|
---|
| 7028 | { if $as_mkdir_p; then
|
---|
| 7029 | mkdir -p "$ac_dir"
|
---|
| 7030 | else
|
---|
| 7031 | as_dir="$ac_dir"
|
---|
| 7032 | as_dirs=
|
---|
| 7033 | while test ! -d "$as_dir"; do
|
---|
| 7034 | as_dirs="$as_dir $as_dirs"
|
---|
| 7035 | as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
---|
| 7036 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 7037 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 7038 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
| 7039 | X"$as_dir" : 'X\(/\)' \| \
|
---|
| 7040 | . : '\(.\)' 2>/dev/null ||
|
---|
| 7041 | echo X"$as_dir" |
|
---|
| 7042 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 7043 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 7044 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 7045 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 7046 | s/.*/./; q'`
|
---|
| 7047 | done
|
---|
| 7048 | test ! -n "$as_dirs" || mkdir $as_dirs
|
---|
| 7049 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
---|
| 7050 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
---|
| 7051 | { (exit 1); exit 1; }; }; }
|
---|
| 7052 |
|
---|
| 7053 | rm -f $ac_file
|
---|
| 7054 | mv $tmp/config.h $ac_file
|
---|
| 7055 | fi
|
---|
| 7056 | else
|
---|
| 7057 | cat $tmp/config.h
|
---|
| 7058 | rm -f $tmp/config.h
|
---|
| 7059 | fi
|
---|
| 7060 | done
|
---|
| 7061 | _ACEOF
|
---|
| 7062 |
|
---|
| 7063 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 7064 |
|
---|
| 7065 | { (exit 0); exit 0; }
|
---|
| 7066 | _ACEOF
|
---|
| 7067 | chmod +x $CONFIG_STATUS
|
---|
| 7068 | ac_clean_files=$ac_clean_files_save
|
---|
| 7069 |
|
---|
| 7070 |
|
---|
| 7071 | # configure is writing to config.log, and then calls config.status.
|
---|
| 7072 | # config.status does its own redirection, appending to config.log.
|
---|
| 7073 | # Unfortunately, on DOS this fails, as config.log is still kept open
|
---|
| 7074 | # by configure, so config.status won't be able to write to it; its
|
---|
| 7075 | # output is simply discarded. So we exec the FD to /dev/null,
|
---|
| 7076 | # effectively closing config.log, so it can be properly (re)opened and
|
---|
| 7077 | # appended to by config.status. When coming back to configure, we
|
---|
| 7078 | # need to make the FD available again.
|
---|
| 7079 | if test "$no_create" != yes; then
|
---|
| 7080 | ac_cs_success=:
|
---|
| 7081 | ac_config_status_args=
|
---|
| 7082 | test "$silent" = yes &&
|
---|
| 7083 | ac_config_status_args="$ac_config_status_args --quiet"
|
---|
| 7084 | exec 5>/dev/null
|
---|
| 7085 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
---|
| 7086 | exec 5>>config.log
|
---|
| 7087 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
---|
| 7088 | # would make configure fail if this is the last instruction.
|
---|
| 7089 | $ac_cs_success || { (exit 1); exit 1; }
|
---|
| 7090 | fi
|
---|
| 7091 |
|
---|
| 7092 |
|
---|
| 7093 |
|
---|